@vertz/ui-primitives 0.2.16 → 0.2.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/shared/chunk-18y8gfk0.js +308 -0
- package/dist/shared/chunk-4085nbdq.js +196 -0
- package/dist/shared/chunk-4da5zksy.js +46 -0
- package/dist/shared/chunk-7ffg0caj.js +265 -0
- package/dist/shared/{chunk-w06tst6x.js → chunk-7kpsyjd7.js} +9 -5
- package/dist/shared/chunk-7krvqrwq.js +177 -0
- package/dist/shared/chunk-8ak7vdk1.js +151 -0
- package/dist/shared/chunk-8nk0ya7a.js +163 -0
- package/dist/shared/chunk-8tvzqry6.js +218 -0
- package/dist/shared/{chunk-qpfqyrc5.js → chunk-96d9nr7y.js} +1 -1
- package/dist/shared/chunk-9hj9p7s2.js +95 -0
- package/dist/shared/chunk-avxcmmk6.js +178 -0
- package/dist/shared/chunk-bew4bjgf.js +165 -0
- package/dist/shared/chunk-dpsgb1xw.js +18 -0
- package/dist/shared/chunk-g9qvd20g.js +133 -0
- package/dist/shared/chunk-gkddsbmh.js +73 -0
- package/dist/shared/chunk-gt0wth9h.js +128 -0
- package/dist/shared/chunk-hr9hx58m.js +71 -0
- package/dist/shared/{chunk-n92bvn5d.js → chunk-j4cm8avr.js} +85 -59
- package/dist/shared/chunk-jz0s6srh.js +161 -0
- package/dist/shared/chunk-kg27s15c.js +282 -0
- package/dist/shared/chunk-m1ptgp1s.js +142 -0
- package/dist/shared/{chunk-9cqe2q6e.js → chunk-n9nwx58j.js} +9 -5
- package/dist/shared/chunk-ppcv3ehd.js +85 -0
- package/dist/shared/{chunk-vq9tfzh8.js → chunk-rnjm61t0.js} +5 -1
- package/dist/shared/chunk-sqs8kyb2.js +288 -0
- package/dist/shared/chunk-tfyg0qrp.js +117 -0
- package/dist/shared/chunk-ttsyf6ma.js +239 -0
- package/dist/shared/chunk-x0we8gcy.js +219 -0
- package/dist/shared/{chunk-6pnjrst7.js → chunk-x2hz98qn.js} +2 -2
- package/dist/shared/chunk-yr9yzpvq.js +107 -0
- package/dist/src/accordion/accordion.d.ts +14 -2
- package/dist/src/accordion/accordion.js +2 -1
- package/dist/src/badge/badge.d.ts +13 -1
- package/dist/src/badge/badge.js +2 -1
- package/dist/src/button/button.d.ts +16 -14
- package/dist/src/button/button.js +2 -2
- package/dist/src/calendar/calendar.d.ts +14 -2
- package/dist/src/calendar/calendar.js +2 -1
- package/dist/src/carousel/carousel.d.ts +14 -2
- package/dist/src/carousel/carousel.js +2 -1
- package/dist/src/checkbox/checkbox.d.ts +15 -13
- package/dist/src/checkbox/checkbox.js +2 -2
- package/dist/src/collapsible/collapsible.d.ts +14 -2
- package/dist/src/collapsible/collapsible.js +2 -1
- package/dist/src/combobox/combobox.d.ts +14 -2
- package/dist/src/combobox/combobox.js +2 -1
- package/dist/src/command/command.d.ts +14 -2
- package/dist/src/command/command.js +2 -1
- package/dist/src/context-menu/context-menu.d.ts +14 -2
- package/dist/src/context-menu/context-menu.js +2 -1
- package/dist/src/date-picker/date-picker.js +4 -3
- package/dist/src/dialog/dialog.d.ts +14 -2
- package/dist/src/dialog/dialog.js +2 -1
- package/dist/src/dropdown-menu/dropdown-menu.d.ts +13 -1
- package/dist/src/dropdown-menu/dropdown-menu.js +3 -2
- package/dist/src/hover-card/hover-card.d.ts +14 -2
- package/dist/src/hover-card/hover-card.js +2 -1
- package/dist/src/index.d.ts +132 -140
- package/dist/src/index.js +31 -30
- package/dist/src/menu/menu.d.ts +14 -2
- package/dist/src/menu/menu.js +2 -1
- package/dist/src/menubar/menubar.d.ts +14 -2
- package/dist/src/menubar/menubar.js +2 -1
- package/dist/src/navigation-menu/navigation-menu.d.ts +14 -2
- package/dist/src/navigation-menu/navigation-menu.js +2 -1
- package/dist/src/popover/popover.d.ts +14 -2
- package/dist/src/popover/popover.js +2 -1
- package/dist/src/progress/progress.d.ts +14 -2
- package/dist/src/progress/progress.js +2 -1
- package/dist/src/radio/radio.d.ts +14 -2
- package/dist/src/radio/radio.js +2 -1
- package/dist/src/resizable-panel/resizable-panel.d.ts +14 -2
- package/dist/src/resizable-panel/resizable-panel.js +2 -1
- package/dist/src/scroll-area/scroll-area.d.ts +14 -2
- package/dist/src/scroll-area/scroll-area.js +2 -1
- package/dist/src/select/select.d.ts +14 -2
- package/dist/src/select/select.js +2 -1
- package/dist/src/slider/slider.d.ts +14 -2
- package/dist/src/slider/slider.js +2 -1
- package/dist/src/switch/switch.d.ts +13 -1
- package/dist/src/switch/switch.js +2 -1
- package/dist/src/tabs/tabs.d.ts +14 -2
- package/dist/src/tabs/tabs.js +2 -1
- package/dist/src/toast/toast.d.ts +14 -2
- package/dist/src/toast/toast.js +2 -1
- package/dist/src/toggle/toggle.d.ts +13 -1
- package/dist/src/toggle/toggle.js +2 -1
- package/dist/src/toggle-group/toggle-group.d.ts +14 -2
- package/dist/src/toggle-group/toggle-group.js +2 -1
- package/dist/src/tooltip/tooltip.d.ts +14 -2
- package/dist/src/tooltip/tooltip.js +2 -1
- package/package.json +3 -3
- package/dist/shared/chunk-2h5qpc00.js +0 -98
- package/dist/shared/chunk-31yptvbf.js +0 -151
- package/dist/shared/chunk-3pantb0p.js +0 -108
- package/dist/shared/chunk-3s6s6f06.js +0 -61
- package/dist/shared/chunk-48v8j0vh.js +0 -267
- package/dist/shared/chunk-6dmt4513.js +0 -78
- package/dist/shared/chunk-6sqwjfg8.js +0 -169
- package/dist/shared/chunk-8qfeqrrz.js +0 -179
- package/dist/shared/chunk-bcfzteh0.js +0 -148
- package/dist/shared/chunk-cr9sbwns.js +0 -235
- package/dist/shared/chunk-cvbf1js1.js +0 -52
- package/dist/shared/chunk-dkhst4wv.js +0 -97
- package/dist/shared/chunk-e3aj5yw4.js +0 -115
- package/dist/shared/chunk-fv1y77tn.js +0 -225
- package/dist/shared/chunk-h42bk324.js +0 -58
- package/dist/shared/chunk-h9m9x5my.js +0 -119
- package/dist/shared/chunk-qq0e0gym.js +0 -73
- package/dist/shared/chunk-tk1k1bet.js +0 -93
- package/dist/shared/chunk-tvpgeswh.js +0 -216
- package/dist/shared/chunk-vcp10kne.js +0 -175
- package/dist/shared/chunk-ve006hmy.js +0 -51
- package/dist/shared/chunk-vx1ajy2z.js +0 -115
- package/dist/shared/chunk-wnttq0gv.js +0 -49
- package/dist/shared/chunk-x6qzr3g6.js +0 -100
package/dist/src/index.js
CHANGED
|
@@ -1,104 +1,105 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Switch
|
|
3
|
-
} from "../shared/chunk-
|
|
3
|
+
} from "../shared/chunk-7kpsyjd7.js";
|
|
4
4
|
import {
|
|
5
5
|
Button
|
|
6
|
-
} from "../shared/chunk-
|
|
6
|
+
} from "../shared/chunk-4da5zksy.js";
|
|
7
7
|
import {
|
|
8
8
|
HoverCard
|
|
9
|
-
} from "../shared/chunk-
|
|
9
|
+
} from "../shared/chunk-bew4bjgf.js";
|
|
10
10
|
import {
|
|
11
11
|
ResizablePanel
|
|
12
|
-
} from "../shared/chunk-
|
|
12
|
+
} from "../shared/chunk-j4cm8avr.js";
|
|
13
13
|
import {
|
|
14
14
|
Tabs
|
|
15
|
-
} from "../shared/chunk-
|
|
15
|
+
} from "../shared/chunk-8nk0ya7a.js";
|
|
16
16
|
import {
|
|
17
17
|
Checkbox
|
|
18
|
-
} from "../shared/chunk-
|
|
18
|
+
} from "../shared/chunk-hr9hx58m.js";
|
|
19
19
|
import {
|
|
20
20
|
Command
|
|
21
|
-
} from "../shared/chunk-
|
|
21
|
+
} from "../shared/chunk-ttsyf6ma.js";
|
|
22
22
|
import {
|
|
23
23
|
DropdownMenu
|
|
24
|
-
} from "../shared/chunk-
|
|
24
|
+
} from "../shared/chunk-96d9nr7y.js";
|
|
25
25
|
import {
|
|
26
26
|
Menu
|
|
27
|
-
} from "../shared/chunk-
|
|
27
|
+
} from "../shared/chunk-7ffg0caj.js";
|
|
28
28
|
import {
|
|
29
29
|
Collapsible
|
|
30
|
-
} from "../shared/chunk-
|
|
30
|
+
} from "../shared/chunk-tfyg0qrp.js";
|
|
31
31
|
import {
|
|
32
32
|
Toggle
|
|
33
|
-
} from "../shared/chunk-
|
|
33
|
+
} from "../shared/chunk-n9nwx58j.js";
|
|
34
34
|
import {
|
|
35
35
|
Dialog
|
|
36
|
-
} from "../shared/chunk-
|
|
36
|
+
} from "../shared/chunk-7krvqrwq.js";
|
|
37
37
|
import {
|
|
38
38
|
Select
|
|
39
|
-
} from "../shared/chunk-
|
|
39
|
+
} from "../shared/chunk-kg27s15c.js";
|
|
40
40
|
import {
|
|
41
41
|
AlertDialog
|
|
42
42
|
} from "../shared/chunk-34yfm2b0.js";
|
|
43
43
|
import {
|
|
44
44
|
ToggleGroup
|
|
45
|
-
} from "../shared/chunk-
|
|
45
|
+
} from "../shared/chunk-gt0wth9h.js";
|
|
46
46
|
import {
|
|
47
47
|
ContextMenu
|
|
48
|
-
} from "../shared/chunk-
|
|
48
|
+
} from "../shared/chunk-x0we8gcy.js";
|
|
49
49
|
import {
|
|
50
50
|
Sheet
|
|
51
51
|
} from "../shared/chunk-t1vkvsz2.js";
|
|
52
52
|
import {
|
|
53
53
|
NavigationMenu
|
|
54
|
-
} from "../shared/chunk-
|
|
54
|
+
} from "../shared/chunk-8tvzqry6.js";
|
|
55
55
|
import {
|
|
56
56
|
Radio
|
|
57
|
-
} from "../shared/chunk-
|
|
57
|
+
} from "../shared/chunk-yr9yzpvq.js";
|
|
58
58
|
import {
|
|
59
59
|
Tooltip
|
|
60
|
-
} from "../shared/chunk-
|
|
60
|
+
} from "../shared/chunk-9hj9p7s2.js";
|
|
61
61
|
import {
|
|
62
62
|
Menubar
|
|
63
|
-
} from "../shared/chunk-
|
|
63
|
+
} from "../shared/chunk-sqs8kyb2.js";
|
|
64
64
|
import {
|
|
65
65
|
ScrollArea
|
|
66
|
-
} from "../shared/chunk-
|
|
66
|
+
} from "../shared/chunk-jz0s6srh.js";
|
|
67
67
|
import {
|
|
68
68
|
Progress
|
|
69
|
-
} from "../shared/chunk-
|
|
69
|
+
} from "../shared/chunk-ppcv3ehd.js";
|
|
70
70
|
import {
|
|
71
71
|
Carousel
|
|
72
|
-
} from "../shared/chunk-
|
|
72
|
+
} from "../shared/chunk-g9qvd20g.js";
|
|
73
73
|
import {
|
|
74
74
|
Toast
|
|
75
|
-
} from "../shared/chunk-
|
|
75
|
+
} from "../shared/chunk-gkddsbmh.js";
|
|
76
76
|
import {
|
|
77
77
|
DatePicker
|
|
78
|
-
} from "../shared/chunk-
|
|
78
|
+
} from "../shared/chunk-x2hz98qn.js";
|
|
79
79
|
import {
|
|
80
80
|
Calendar
|
|
81
|
-
} from "../shared/chunk-
|
|
81
|
+
} from "../shared/chunk-18y8gfk0.js";
|
|
82
82
|
import {
|
|
83
83
|
Popover
|
|
84
|
-
} from "../shared/chunk-
|
|
84
|
+
} from "../shared/chunk-m1ptgp1s.js";
|
|
85
85
|
import"../shared/chunk-a6wp8c32.js";
|
|
86
86
|
import"../shared/chunk-e2v1c9ex.js";
|
|
87
87
|
import"../shared/chunk-0mcr52hc.js";
|
|
88
88
|
import {
|
|
89
89
|
Slider
|
|
90
|
-
} from "../shared/chunk-
|
|
90
|
+
} from "../shared/chunk-8ak7vdk1.js";
|
|
91
91
|
import {
|
|
92
92
|
Combobox
|
|
93
|
-
} from "../shared/chunk-
|
|
93
|
+
} from "../shared/chunk-4085nbdq.js";
|
|
94
94
|
import {
|
|
95
95
|
Accordion
|
|
96
|
-
} from "../shared/chunk-
|
|
96
|
+
} from "../shared/chunk-avxcmmk6.js";
|
|
97
97
|
import"../shared/chunk-jctqs9m4.js";
|
|
98
98
|
import"../shared/chunk-vvjyx7fe.js";
|
|
99
99
|
import {
|
|
100
100
|
Badge
|
|
101
|
-
} from "../shared/chunk-
|
|
101
|
+
} from "../shared/chunk-rnjm61t0.js";
|
|
102
|
+
import"../shared/chunk-dpsgb1xw.js";
|
|
102
103
|
import"../shared/chunk-8y1jf6xr.js";
|
|
103
104
|
export {
|
|
104
105
|
Tooltip,
|
package/dist/src/menu/menu.d.ts
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
import { Signal } from "@vertz/ui";
|
|
2
|
+
interface ElementAttrs {
|
|
3
|
+
class?: string;
|
|
4
|
+
id?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
role?: string;
|
|
8
|
+
tabindex?: number | string;
|
|
9
|
+
hidden?: boolean | string;
|
|
10
|
+
autofocus?: boolean;
|
|
11
|
+
[key: `data-${string}`]: string | undefined;
|
|
12
|
+
[key: `aria-${string}`]: string | undefined;
|
|
13
|
+
}
|
|
2
14
|
import { Middleware, Placement, Strategy } from "@floating-ui/dom";
|
|
3
15
|
interface FloatingOptions {
|
|
4
16
|
placement?: Placement;
|
|
@@ -12,7 +24,7 @@ interface FloatingOptions {
|
|
|
12
24
|
/** Override the reference element used for positioning (e.g., a custom trigger wrapping the primitive trigger). */
|
|
13
25
|
referenceElement?: HTMLElement;
|
|
14
26
|
}
|
|
15
|
-
interface MenuOptions {
|
|
27
|
+
interface MenuOptions extends ElementAttrs {
|
|
16
28
|
onSelect?: (value: string) => void;
|
|
17
29
|
positioning?: FloatingOptions;
|
|
18
30
|
}
|
|
@@ -25,7 +37,7 @@ interface MenuElements {
|
|
|
25
37
|
content: HTMLDivElement;
|
|
26
38
|
}
|
|
27
39
|
declare const Menu: {
|
|
28
|
-
Root(options?: MenuOptions)
|
|
40
|
+
Root: (options?: MenuOptions) => MenuElements & {
|
|
29
41
|
state: MenuState;
|
|
30
42
|
Item: (value: string, label?: string) => HTMLDivElement;
|
|
31
43
|
Group: (label: string) => {
|
package/dist/src/menu/menu.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Menu
|
|
3
|
-
} from "../../shared/chunk-
|
|
3
|
+
} from "../../shared/chunk-7ffg0caj.js";
|
|
4
4
|
import"../../shared/chunk-a6wp8c32.js";
|
|
5
5
|
import"../../shared/chunk-0mcr52hc.js";
|
|
6
6
|
import"../../shared/chunk-jctqs9m4.js";
|
|
7
7
|
import"../../shared/chunk-vvjyx7fe.js";
|
|
8
|
+
import"../../shared/chunk-dpsgb1xw.js";
|
|
8
9
|
import"../../shared/chunk-8y1jf6xr.js";
|
|
9
10
|
export {
|
|
10
11
|
Menu
|
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
import { Signal } from "@vertz/ui";
|
|
2
|
+
interface ElementAttrs {
|
|
3
|
+
class?: string;
|
|
4
|
+
id?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
role?: string;
|
|
8
|
+
tabindex?: number | string;
|
|
9
|
+
hidden?: boolean | string;
|
|
10
|
+
autofocus?: boolean;
|
|
11
|
+
[key: `data-${string}`]: string | undefined;
|
|
12
|
+
[key: `aria-${string}`]: string | undefined;
|
|
13
|
+
}
|
|
2
14
|
import { Middleware, Placement, Strategy } from "@floating-ui/dom";
|
|
3
15
|
interface FloatingOptions {
|
|
4
16
|
placement?: Placement;
|
|
@@ -12,7 +24,7 @@ interface FloatingOptions {
|
|
|
12
24
|
/** Override the reference element used for positioning (e.g., a custom trigger wrapping the primitive trigger). */
|
|
13
25
|
referenceElement?: HTMLElement;
|
|
14
26
|
}
|
|
15
|
-
interface MenubarOptions {
|
|
27
|
+
interface MenubarOptions extends ElementAttrs {
|
|
16
28
|
onSelect?: (value: string) => void;
|
|
17
29
|
positioning?: FloatingOptions;
|
|
18
30
|
}
|
|
@@ -23,7 +35,7 @@ interface MenubarElements {
|
|
|
23
35
|
root: HTMLDivElement;
|
|
24
36
|
}
|
|
25
37
|
declare const Menubar: {
|
|
26
|
-
Root(options?: MenubarOptions)
|
|
38
|
+
Root: (options?: MenubarOptions) => MenubarElements & {
|
|
27
39
|
state: MenubarState;
|
|
28
40
|
Menu: (value: string, label?: string) => {
|
|
29
41
|
trigger: HTMLButtonElement;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Menubar
|
|
3
|
-
} from "../../shared/chunk-
|
|
3
|
+
} from "../../shared/chunk-sqs8kyb2.js";
|
|
4
4
|
import"../../shared/chunk-a6wp8c32.js";
|
|
5
5
|
import"../../shared/chunk-e2v1c9ex.js";
|
|
6
6
|
import"../../shared/chunk-0mcr52hc.js";
|
|
7
7
|
import"../../shared/chunk-jctqs9m4.js";
|
|
8
8
|
import"../../shared/chunk-vvjyx7fe.js";
|
|
9
|
+
import"../../shared/chunk-dpsgb1xw.js";
|
|
9
10
|
import"../../shared/chunk-8y1jf6xr.js";
|
|
10
11
|
export {
|
|
11
12
|
Menubar
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { Signal } from "@vertz/ui";
|
|
2
|
-
interface
|
|
2
|
+
interface ElementAttrs {
|
|
3
|
+
class?: string;
|
|
4
|
+
id?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
role?: string;
|
|
8
|
+
tabindex?: number | string;
|
|
9
|
+
hidden?: boolean | string;
|
|
10
|
+
autofocus?: boolean;
|
|
11
|
+
[key: `data-${string}`]: string | undefined;
|
|
12
|
+
[key: `aria-${string}`]: string | undefined;
|
|
13
|
+
}
|
|
14
|
+
interface NavigationMenuOptions extends ElementAttrs {
|
|
3
15
|
orientation?: "horizontal" | "vertical";
|
|
4
16
|
delayOpen?: number;
|
|
5
17
|
delayClose?: number;
|
|
@@ -13,7 +25,7 @@ interface NavigationMenuElements {
|
|
|
13
25
|
viewport: HTMLDivElement;
|
|
14
26
|
}
|
|
15
27
|
declare const NavigationMenu: {
|
|
16
|
-
Root(options?: NavigationMenuOptions)
|
|
28
|
+
Root: (options?: NavigationMenuOptions) => NavigationMenuElements & {
|
|
17
29
|
state: NavigationMenuState;
|
|
18
30
|
Item: (value: string, label?: string) => {
|
|
19
31
|
trigger: HTMLButtonElement;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NavigationMenu
|
|
3
|
-
} from "../../shared/chunk-
|
|
3
|
+
} from "../../shared/chunk-8tvzqry6.js";
|
|
4
4
|
import"../../shared/chunk-e2v1c9ex.js";
|
|
5
5
|
import"../../shared/chunk-jctqs9m4.js";
|
|
6
6
|
import"../../shared/chunk-vvjyx7fe.js";
|
|
7
|
+
import"../../shared/chunk-dpsgb1xw.js";
|
|
7
8
|
import"../../shared/chunk-8y1jf6xr.js";
|
|
8
9
|
export {
|
|
9
10
|
NavigationMenu
|
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
import { Signal } from "@vertz/ui";
|
|
2
|
+
interface ElementAttrs {
|
|
3
|
+
class?: string;
|
|
4
|
+
id?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
role?: string;
|
|
8
|
+
tabindex?: number | string;
|
|
9
|
+
hidden?: boolean | string;
|
|
10
|
+
autofocus?: boolean;
|
|
11
|
+
[key: `data-${string}`]: string | undefined;
|
|
12
|
+
[key: `aria-${string}`]: string | undefined;
|
|
13
|
+
}
|
|
2
14
|
import { Middleware, Placement, Strategy } from "@floating-ui/dom";
|
|
3
15
|
interface FloatingOptions {
|
|
4
16
|
placement?: Placement;
|
|
@@ -12,7 +24,7 @@ interface FloatingOptions {
|
|
|
12
24
|
/** Override the reference element used for positioning (e.g., a custom trigger wrapping the primitive trigger). */
|
|
13
25
|
referenceElement?: HTMLElement;
|
|
14
26
|
}
|
|
15
|
-
interface PopoverOptions {
|
|
27
|
+
interface PopoverOptions extends ElementAttrs {
|
|
16
28
|
defaultOpen?: boolean;
|
|
17
29
|
onOpenChange?: (open: boolean) => void;
|
|
18
30
|
positioning?: FloatingOptions;
|
|
@@ -25,7 +37,7 @@ interface PopoverElements {
|
|
|
25
37
|
content: HTMLDivElement;
|
|
26
38
|
}
|
|
27
39
|
declare const Popover: {
|
|
28
|
-
Root(options?: PopoverOptions)
|
|
40
|
+
Root: (options?: PopoverOptions) => PopoverElements & {
|
|
29
41
|
state: PopoverState;
|
|
30
42
|
};
|
|
31
43
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Popover
|
|
3
|
-
} from "../../shared/chunk-
|
|
3
|
+
} from "../../shared/chunk-m1ptgp1s.js";
|
|
4
4
|
import"../../shared/chunk-a6wp8c32.js";
|
|
5
5
|
import"../../shared/chunk-e2v1c9ex.js";
|
|
6
6
|
import"../../shared/chunk-0mcr52hc.js";
|
|
7
7
|
import"../../shared/chunk-jctqs9m4.js";
|
|
8
8
|
import"../../shared/chunk-vvjyx7fe.js";
|
|
9
|
+
import"../../shared/chunk-dpsgb1xw.js";
|
|
9
10
|
import"../../shared/chunk-8y1jf6xr.js";
|
|
10
11
|
export {
|
|
11
12
|
Popover
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { Signal } from "@vertz/ui";
|
|
2
|
-
interface
|
|
2
|
+
interface ElementAttrs {
|
|
3
|
+
class?: string;
|
|
4
|
+
id?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
role?: string;
|
|
8
|
+
tabindex?: number | string;
|
|
9
|
+
hidden?: boolean | string;
|
|
10
|
+
autofocus?: boolean;
|
|
11
|
+
[key: `data-${string}`]: string | undefined;
|
|
12
|
+
[key: `aria-${string}`]: string | undefined;
|
|
13
|
+
}
|
|
14
|
+
interface ProgressOptions extends ElementAttrs {
|
|
3
15
|
defaultValue?: number;
|
|
4
16
|
min?: number;
|
|
5
17
|
max?: number;
|
|
@@ -12,7 +24,7 @@ interface ProgressElements {
|
|
|
12
24
|
indicator: HTMLDivElement;
|
|
13
25
|
}
|
|
14
26
|
declare const Progress: {
|
|
15
|
-
Root(options?: ProgressOptions)
|
|
27
|
+
Root: (options?: ProgressOptions) => ProgressElements & {
|
|
16
28
|
state: ProgressState;
|
|
17
29
|
setValue: (value: number) => void;
|
|
18
30
|
};
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { Signal } from "@vertz/ui";
|
|
2
|
-
interface
|
|
2
|
+
interface ElementAttrs {
|
|
3
|
+
class?: string;
|
|
4
|
+
id?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
role?: string;
|
|
8
|
+
tabindex?: number | string;
|
|
9
|
+
hidden?: boolean | string;
|
|
10
|
+
autofocus?: boolean;
|
|
11
|
+
[key: `data-${string}`]: string | undefined;
|
|
12
|
+
[key: `aria-${string}`]: string | undefined;
|
|
13
|
+
}
|
|
14
|
+
interface RadioOptions extends ElementAttrs {
|
|
3
15
|
defaultValue?: string;
|
|
4
16
|
onValueChange?: (value: string) => void;
|
|
5
17
|
}
|
|
@@ -10,7 +22,7 @@ interface RadioElements {
|
|
|
10
22
|
root: HTMLDivElement;
|
|
11
23
|
}
|
|
12
24
|
declare const Radio: {
|
|
13
|
-
Root(options?: RadioOptions)
|
|
25
|
+
Root: (options?: RadioOptions) => RadioElements & {
|
|
14
26
|
state: RadioState;
|
|
15
27
|
Item: (value: string, label?: string) => HTMLDivElement;
|
|
16
28
|
};
|
package/dist/src/radio/radio.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Radio
|
|
3
|
-
} from "../../shared/chunk-
|
|
3
|
+
} from "../../shared/chunk-yr9yzpvq.js";
|
|
4
4
|
import"../../shared/chunk-e2v1c9ex.js";
|
|
5
5
|
import"../../shared/chunk-jctqs9m4.js";
|
|
6
6
|
import"../../shared/chunk-vvjyx7fe.js";
|
|
7
|
+
import"../../shared/chunk-dpsgb1xw.js";
|
|
7
8
|
import"../../shared/chunk-8y1jf6xr.js";
|
|
8
9
|
export {
|
|
9
10
|
Radio
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { Signal } from "@vertz/ui";
|
|
2
|
-
interface
|
|
2
|
+
interface ElementAttrs {
|
|
3
|
+
class?: string;
|
|
4
|
+
id?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
role?: string;
|
|
8
|
+
tabindex?: number | string;
|
|
9
|
+
hidden?: boolean | string;
|
|
10
|
+
autofocus?: boolean;
|
|
11
|
+
[key: `data-${string}`]: string | undefined;
|
|
12
|
+
[key: `aria-${string}`]: string | undefined;
|
|
13
|
+
}
|
|
14
|
+
interface ResizablePanelOptions extends ElementAttrs {
|
|
3
15
|
orientation?: "horizontal" | "vertical";
|
|
4
16
|
onResize?: (sizes: number[]) => void;
|
|
5
17
|
}
|
|
@@ -15,7 +27,7 @@ interface ResizablePanelElements {
|
|
|
15
27
|
root: HTMLDivElement;
|
|
16
28
|
}
|
|
17
29
|
declare const ResizablePanel: {
|
|
18
|
-
Root(options?: ResizablePanelOptions)
|
|
30
|
+
Root: (options?: ResizablePanelOptions) => ResizablePanelElements & {
|
|
19
31
|
state: ResizablePanelState;
|
|
20
32
|
Panel: (panelOptions?: PanelOptions) => HTMLDivElement;
|
|
21
33
|
Handle: () => HTMLDivElement;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ResizablePanel
|
|
3
|
-
} from "../../shared/chunk-
|
|
3
|
+
} from "../../shared/chunk-j4cm8avr.js";
|
|
4
4
|
import"../../shared/chunk-jctqs9m4.js";
|
|
5
5
|
import"../../shared/chunk-vvjyx7fe.js";
|
|
6
|
+
import"../../shared/chunk-dpsgb1xw.js";
|
|
6
7
|
export {
|
|
7
8
|
ResizablePanel
|
|
8
9
|
};
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { Signal } from "@vertz/ui";
|
|
2
|
-
interface
|
|
2
|
+
interface ElementAttrs {
|
|
3
|
+
class?: string;
|
|
4
|
+
id?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
role?: string;
|
|
8
|
+
tabindex?: number | string;
|
|
9
|
+
hidden?: boolean | string;
|
|
10
|
+
autofocus?: boolean;
|
|
11
|
+
[key: `data-${string}`]: string | undefined;
|
|
12
|
+
[key: `aria-${string}`]: string | undefined;
|
|
13
|
+
}
|
|
14
|
+
interface ScrollAreaOptions extends ElementAttrs {
|
|
3
15
|
orientation?: "vertical" | "horizontal" | "both";
|
|
4
16
|
type?: "auto" | "always" | "hover" | "scroll";
|
|
5
17
|
}
|
|
@@ -17,7 +29,7 @@ interface ScrollAreaElements {
|
|
|
17
29
|
thumbX: HTMLDivElement;
|
|
18
30
|
}
|
|
19
31
|
declare const ScrollArea: {
|
|
20
|
-
Root(options?: ScrollAreaOptions)
|
|
32
|
+
Root: (options?: ScrollAreaOptions) => ScrollAreaElements & {
|
|
21
33
|
state: ScrollAreaState;
|
|
22
34
|
update: () => void;
|
|
23
35
|
};
|
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
import { Signal } from "@vertz/ui";
|
|
2
|
+
interface ElementAttrs {
|
|
3
|
+
class?: string;
|
|
4
|
+
id?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
role?: string;
|
|
8
|
+
tabindex?: number | string;
|
|
9
|
+
hidden?: boolean | string;
|
|
10
|
+
autofocus?: boolean;
|
|
11
|
+
[key: `data-${string}`]: string | undefined;
|
|
12
|
+
[key: `aria-${string}`]: string | undefined;
|
|
13
|
+
}
|
|
2
14
|
import { Middleware, Placement, Strategy } from "@floating-ui/dom";
|
|
3
15
|
interface FloatingOptions {
|
|
4
16
|
placement?: Placement;
|
|
@@ -12,7 +24,7 @@ interface FloatingOptions {
|
|
|
12
24
|
/** Override the reference element used for positioning (e.g., a custom trigger wrapping the primitive trigger). */
|
|
13
25
|
referenceElement?: HTMLElement;
|
|
14
26
|
}
|
|
15
|
-
interface SelectOptions {
|
|
27
|
+
interface SelectOptions extends ElementAttrs {
|
|
16
28
|
defaultValue?: string;
|
|
17
29
|
placeholder?: string;
|
|
18
30
|
onValueChange?: (value: string) => void;
|
|
@@ -28,7 +40,7 @@ interface SelectElements {
|
|
|
28
40
|
content: HTMLDivElement;
|
|
29
41
|
}
|
|
30
42
|
declare const Select: {
|
|
31
|
-
Root(options?: SelectOptions)
|
|
43
|
+
Root: (options?: SelectOptions) => SelectElements & {
|
|
32
44
|
state: SelectState;
|
|
33
45
|
Item: (value: string, label?: string) => HTMLDivElement;
|
|
34
46
|
Group: (label: string) => {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Select
|
|
3
|
-
} from "../../shared/chunk-
|
|
3
|
+
} from "../../shared/chunk-kg27s15c.js";
|
|
4
4
|
import"../../shared/chunk-a6wp8c32.js";
|
|
5
5
|
import"../../shared/chunk-0mcr52hc.js";
|
|
6
6
|
import"../../shared/chunk-jctqs9m4.js";
|
|
7
7
|
import"../../shared/chunk-vvjyx7fe.js";
|
|
8
|
+
import"../../shared/chunk-dpsgb1xw.js";
|
|
8
9
|
import"../../shared/chunk-8y1jf6xr.js";
|
|
9
10
|
export {
|
|
10
11
|
Select
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { Signal } from "@vertz/ui";
|
|
2
|
-
interface
|
|
2
|
+
interface ElementAttrs {
|
|
3
|
+
class?: string;
|
|
4
|
+
id?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
role?: string;
|
|
8
|
+
tabindex?: number | string;
|
|
9
|
+
hidden?: boolean | string;
|
|
10
|
+
autofocus?: boolean;
|
|
11
|
+
[key: `data-${string}`]: string | undefined;
|
|
12
|
+
[key: `aria-${string}`]: string | undefined;
|
|
13
|
+
}
|
|
14
|
+
interface SliderOptions extends ElementAttrs {
|
|
3
15
|
defaultValue?: number;
|
|
4
16
|
min?: number;
|
|
5
17
|
max?: number;
|
|
@@ -17,7 +29,7 @@ interface SliderElements {
|
|
|
17
29
|
track: HTMLDivElement;
|
|
18
30
|
}
|
|
19
31
|
declare const Slider: {
|
|
20
|
-
Root(options?: SliderOptions)
|
|
32
|
+
Root: (options?: SliderOptions) => SliderElements & {
|
|
21
33
|
state: SliderState;
|
|
22
34
|
};
|
|
23
35
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Slider
|
|
3
|
-
} from "../../shared/chunk-
|
|
3
|
+
} from "../../shared/chunk-8ak7vdk1.js";
|
|
4
4
|
import"../../shared/chunk-jctqs9m4.js";
|
|
5
5
|
import"../../shared/chunk-vvjyx7fe.js";
|
|
6
|
+
import"../../shared/chunk-dpsgb1xw.js";
|
|
6
7
|
import"../../shared/chunk-8y1jf6xr.js";
|
|
7
8
|
export {
|
|
8
9
|
Slider
|
|
@@ -1,4 +1,16 @@
|
|
|
1
|
-
interface
|
|
1
|
+
interface ElementAttrs {
|
|
2
|
+
class?: string;
|
|
3
|
+
id?: string;
|
|
4
|
+
style?: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
role?: string;
|
|
7
|
+
tabindex?: number | string;
|
|
8
|
+
hidden?: boolean | string;
|
|
9
|
+
autofocus?: boolean;
|
|
10
|
+
[key: `data-${string}`]: string | undefined;
|
|
11
|
+
[key: `aria-${string}`]: string | undefined;
|
|
12
|
+
}
|
|
13
|
+
interface SwitchOptions extends ElementAttrs {
|
|
2
14
|
defaultChecked?: boolean;
|
|
3
15
|
disabled?: boolean;
|
|
4
16
|
onCheckedChange?: (checked: boolean) => void;
|
package/dist/src/tabs/tabs.d.ts
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { Signal } from "@vertz/ui";
|
|
2
|
-
interface
|
|
2
|
+
interface ElementAttrs {
|
|
3
|
+
class?: string;
|
|
4
|
+
id?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
role?: string;
|
|
8
|
+
tabindex?: number | string;
|
|
9
|
+
hidden?: boolean | string;
|
|
10
|
+
autofocus?: boolean;
|
|
11
|
+
[key: `data-${string}`]: string | undefined;
|
|
12
|
+
[key: `aria-${string}`]: string | undefined;
|
|
13
|
+
}
|
|
14
|
+
interface TabsOptions extends ElementAttrs {
|
|
3
15
|
defaultValue?: string;
|
|
4
16
|
orientation?: "horizontal" | "vertical";
|
|
5
17
|
onValueChange?: (value: string) => void;
|
|
@@ -12,7 +24,7 @@ interface TabsElements {
|
|
|
12
24
|
list: HTMLDivElement;
|
|
13
25
|
}
|
|
14
26
|
declare const Tabs: {
|
|
15
|
-
Root(options?: TabsOptions)
|
|
27
|
+
Root: (options?: TabsOptions) => TabsElements & {
|
|
16
28
|
state: TabsState;
|
|
17
29
|
Tab: (value: string, label?: string) => {
|
|
18
30
|
trigger: HTMLButtonElement;
|
package/dist/src/tabs/tabs.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Tabs
|
|
3
|
-
} from "../../shared/chunk-
|
|
3
|
+
} from "../../shared/chunk-8nk0ya7a.js";
|
|
4
4
|
import"../../shared/chunk-e2v1c9ex.js";
|
|
5
5
|
import"../../shared/chunk-jctqs9m4.js";
|
|
6
6
|
import"../../shared/chunk-vvjyx7fe.js";
|
|
7
|
+
import"../../shared/chunk-dpsgb1xw.js";
|
|
7
8
|
import"../../shared/chunk-8y1jf6xr.js";
|
|
8
9
|
export {
|
|
9
10
|
Tabs
|