feat: establish color slider geometry and picker composition

This commit is contained in:
maoyingjie
2026-10-25 14:37:48 +08:00
parent e59d1bea8b
commit 712b6c6037
28 changed files with 1760 additions and 7 deletions
+6
View File
@@ -7,6 +7,8 @@
@apply origin-(--reka-popper-transform-origin) bg-overlay p-0 text-sm;
border-radius: min(32px, var(--radius-3xl));
box-shadow: var(--overlay-shadow);
/* React Aria supplies this constraint inline; Reka exposes the available size. */
max-height: var(--reka-popover-content-available-height);
/* Entering animations */
&[data-entering="true"] {
@@ -51,6 +53,10 @@
/* Popover dialog */
.hv-popover__dialog {
@apply p-4 outline-none;
/* Keep arrows outside the surface visible; scroll the dialog's content instead. */
max-height: inherit;
overflow-y: auto;
overscroll-behavior: contain;
}
/* Popover heading */