horizon-design 0.0.16 → 0.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/color-picker/ColorPicker.svelte +2 -2
- package/dist/components/combobox/Combobox.svelte +2 -2
- package/dist/components/context-menu/ContextMenu.svelte +2 -2
- package/dist/components/date-picker/DatePicker.svelte +2 -2
- package/dist/components/hover-card/HoverCard.svelte +2 -2
- package/dist/components/menu/Menu.svelte +2 -2
- package/dist/components/popover/Popover.svelte +2 -2
- package/dist/components/select/Select.svelte +2 -2
- package/dist/components/toggle-tooltip/ToggleTooltip.svelte +2 -2
- package/dist/components/tooltip/Tooltip.svelte +2 -2
- package/package.json +1 -1
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
</ColorPicker.Context>
|
|
44
44
|
</ColorPicker.Trigger>
|
|
45
45
|
</ColorPicker.Control>
|
|
46
|
-
<ColorPicker.Positioner
|
|
46
|
+
<ColorPicker.Positioner>
|
|
47
47
|
<ColorPicker.Content
|
|
48
|
-
class="data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out border-border bg-popover flex w-64 flex-col gap-3 rounded-xl border p-4 shadow-xl backdrop-blur-xl outline-none"
|
|
48
|
+
class="z-50 data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out border-border bg-popover flex w-64 flex-col gap-3 rounded-xl border p-4 shadow-xl backdrop-blur-xl outline-none"
|
|
49
49
|
data-slot="color-picker-content"
|
|
50
50
|
>
|
|
51
51
|
<ColorPicker.Area class="h-36 w-full overflow-hidden rounded-lg">
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
</Combobox.Trigger>
|
|
48
48
|
</Combobox.Control>
|
|
49
49
|
<Portal>
|
|
50
|
-
<Combobox.Positioner
|
|
50
|
+
<Combobox.Positioner>
|
|
51
51
|
<Combobox.Content
|
|
52
|
-
class="data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out border-border bg-popover text-popover-foreground min-w-32 overflow-hidden rounded-xl border p-1 shadow-xl backdrop-blur-xl outline-none"
|
|
52
|
+
class="z-50 data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out border-border bg-popover text-popover-foreground min-w-32 overflow-hidden rounded-xl border p-1 shadow-xl backdrop-blur-xl outline-none"
|
|
53
53
|
data-slot="combobox-content"
|
|
54
54
|
>
|
|
55
55
|
<Combobox.Empty class="text-muted-foreground px-2.5 py-4 text-center text-sm">
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
{/snippet}
|
|
32
32
|
</Menu.ContextTrigger>
|
|
33
33
|
<Portal>
|
|
34
|
-
<Menu.Positioner
|
|
34
|
+
<Menu.Positioner>
|
|
35
35
|
<Menu.Content
|
|
36
|
-
class="data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out border-border bg-popover text-popover-foreground min-w-36 overflow-hidden rounded-xl border p-1 shadow-xl backdrop-blur-xl outline-none"
|
|
36
|
+
class="z-50 data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out border-border bg-popover text-popover-foreground min-w-36 overflow-hidden rounded-xl border p-1 shadow-xl backdrop-blur-xl outline-none"
|
|
37
37
|
data-slot="context-menu-content"
|
|
38
38
|
>
|
|
39
39
|
{#each items as item, i (i)}
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
<MingcuteCalendarLine class="size-4" />
|
|
49
49
|
</DatePicker.Trigger>
|
|
50
50
|
</DatePicker.Control>
|
|
51
|
-
<DatePicker.Positioner
|
|
51
|
+
<DatePicker.Positioner>
|
|
52
52
|
<DatePicker.Content
|
|
53
|
-
class="data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out border-border bg-popover w-fit rounded-xl border p-3 shadow-xl backdrop-blur-xl outline-none"
|
|
53
|
+
class="z-50 data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out border-border bg-popover w-fit rounded-xl border p-3 shadow-xl backdrop-blur-xl outline-none"
|
|
54
54
|
data-slot="date-picker-content"
|
|
55
55
|
>
|
|
56
56
|
<DatePicker.View view="day">
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
</HoverCard.Trigger>
|
|
27
27
|
{/if}
|
|
28
28
|
<Portal>
|
|
29
|
-
<HoverCard.Positioner
|
|
29
|
+
<HoverCard.Positioner>
|
|
30
30
|
<HoverCard.Content
|
|
31
31
|
class={cn(
|
|
32
|
-
'data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out border-border bg-popover text-popover-foreground w-64 rounded-xl border p-4 shadow-xl backdrop-blur-xl outline-none',
|
|
32
|
+
'z-50 data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out border-border bg-popover text-popover-foreground w-64 rounded-xl border p-4 shadow-xl backdrop-blur-xl outline-none',
|
|
33
33
|
contentClass
|
|
34
34
|
)}
|
|
35
35
|
data-slot="hover-card-content"
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
</Menu.Trigger>
|
|
29
29
|
{/if}
|
|
30
30
|
<Portal>
|
|
31
|
-
<Menu.Positioner
|
|
31
|
+
<Menu.Positioner>
|
|
32
32
|
<Menu.Content
|
|
33
33
|
class={cn(
|
|
34
|
-
'data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out border-border bg-popover text-popover-foreground min-w-32 overflow-hidden rounded-xl border p-1 shadow-xl backdrop-blur-xl outline-none',
|
|
34
|
+
'z-50 data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out border-border bg-popover text-popover-foreground min-w-32 overflow-hidden rounded-xl border p-1 shadow-xl backdrop-blur-xl outline-none',
|
|
35
35
|
contentClass
|
|
36
36
|
)}
|
|
37
37
|
data-slot="menu-content"
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
</Popover.Trigger>
|
|
39
39
|
{/if}
|
|
40
40
|
<Portal>
|
|
41
|
-
<Popover.Positioner
|
|
41
|
+
<Popover.Positioner>
|
|
42
42
|
<Popover.Content
|
|
43
43
|
class={cn(
|
|
44
|
-
'data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out border-border text-popover-foreground bg-popover w-72 rounded-xl border shadow-xl backdrop-blur-xl outline-none',
|
|
44
|
+
'z-50 data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out border-border text-popover-foreground bg-popover w-72 rounded-xl border shadow-xl backdrop-blur-xl outline-none',
|
|
45
45
|
contentClass
|
|
46
46
|
)}
|
|
47
47
|
data-slot="popover-content"
|
|
@@ -55,10 +55,10 @@
|
|
|
55
55
|
</Select.Trigger>
|
|
56
56
|
</Select.Control>
|
|
57
57
|
<Portal>
|
|
58
|
-
<Select.Positioner
|
|
58
|
+
<Select.Positioner>
|
|
59
59
|
<Select.Content
|
|
60
60
|
class={cn(
|
|
61
|
-
'data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out border-border text-popover-foreground bg-popover min-w-(--reference-width) rounded-xl border p-1 shadow-xl backdrop-blur-xl outline-none',
|
|
61
|
+
'z-50 data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out border-border text-popover-foreground bg-popover min-w-(--reference-width) rounded-xl border p-1 shadow-xl backdrop-blur-xl outline-none',
|
|
62
62
|
contentClass
|
|
63
63
|
)}
|
|
64
64
|
data-slot="select-content"
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
{@render children?.()}
|
|
30
30
|
</Tooltip.Trigger>
|
|
31
31
|
{#if label}
|
|
32
|
-
<Tooltip.Positioner
|
|
32
|
+
<Tooltip.Positioner>
|
|
33
33
|
<Tooltip.Content
|
|
34
|
-
class="data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out border-border bg-popover text-popover-foreground rounded-md border px-2.5 py-1 text-xs font-medium shadow-md backdrop-blur-xl"
|
|
34
|
+
class="z-50 data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out border-border bg-popover text-popover-foreground rounded-md border px-2.5 py-1 text-xs font-medium shadow-md backdrop-blur-xl"
|
|
35
35
|
>
|
|
36
36
|
{label}
|
|
37
37
|
</Tooltip.Content>
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
{/snippet}
|
|
35
35
|
</Tooltip.Trigger>
|
|
36
36
|
<Portal>
|
|
37
|
-
<Tooltip.Positioner
|
|
37
|
+
<Tooltip.Positioner>
|
|
38
38
|
<Tooltip.Content
|
|
39
39
|
class={cn(
|
|
40
|
-
'animate-fade-in border-border bg-popover text-popover-foreground rounded-lg border px-3 py-1.5 text-xs shadow-xl backdrop-blur-xl',
|
|
40
|
+
'z-50 animate-fade-in border-border bg-popover text-popover-foreground rounded-lg border px-3 py-1.5 text-xs shadow-xl backdrop-blur-xl',
|
|
41
41
|
contentClass
|
|
42
42
|
)}
|
|
43
43
|
data-slot="tooltip-content"
|