@nexub/react 1.2.0 → 1.4.0
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/{chunk-BYF223HT.js → chunk-2555JXCP.js} +1 -1
- package/dist/{chunk-6AZP6VBM.js → chunk-2FCSWBSM.js} +1 -1
- package/dist/{chunk-YJD66LTV.js → chunk-3AXIMXDU.js} +1 -1
- package/dist/{chunk-H4MXRAXP.js → chunk-3LP2CR7F.js} +1 -1
- package/dist/chunk-3TMIZQPR.js +49 -0
- package/dist/chunk-47UGX37F.js +21 -0
- package/dist/{chunk-PANDAMD2.js → chunk-4I5ULCYG.js} +1 -1
- package/dist/{chunk-3U54QLYB.js → chunk-4SSUM4CL.js} +1 -1
- package/dist/{chunk-KZW37FQZ.js → chunk-56FERRWW.js} +1 -1
- package/dist/{chunk-YUNWZAAD.js → chunk-5URGARPH.js} +8 -3
- package/dist/{chunk-QF7GUDOE.js → chunk-63DPMUMR.js} +1 -1
- package/dist/{chunk-BMVAZIAJ.js → chunk-6J3QTWKC.js} +1 -1
- package/dist/{chunk-2RLSIOGB.js → chunk-6QLLH6ID.js} +21 -11
- package/dist/{chunk-KWWV3CM3.js → chunk-6RBNM5RO.js} +1 -1
- package/dist/{chunk-WPPNDU2E.js → chunk-6SJPVQQW.js} +7 -6
- package/dist/{chunk-NAIZ7R2L.js → chunk-72I7EVOL.js} +1 -1
- package/dist/{chunk-UWWL5FPC.js → chunk-7Q7ZF6BY.js} +1 -1
- package/dist/chunk-7SXR4PGO.js +31 -0
- package/dist/{chunk-W4IEXUD4.js → chunk-7ZWBHHRK.js} +14 -11
- package/dist/{chunk-PER3O4FD.js → chunk-A4IMFAZX.js} +1 -1
- package/dist/{chunk-YAGVMERC.js → chunk-AEBYQKLS.js} +47 -4
- package/dist/chunk-AHT35UWY.js +92 -0
- package/dist/chunk-B54WADL4.js +103 -0
- package/dist/{chunk-4NGB7XIM.js → chunk-BFRX6X4O.js} +29 -7
- package/dist/{chunk-KBB7M6WO.js → chunk-BTRTORKU.js} +1 -1
- package/dist/{chunk-TCTFQYLH.js → chunk-CHGPGRML.js} +1 -1
- package/dist/{chunk-U3AEA4BZ.js → chunk-CNNJFWFA.js} +1 -1
- package/dist/chunk-CWS37T3K.js +80 -0
- package/dist/chunk-DEIBF3P7.js +8 -0
- package/dist/{chunk-RIDDJUPA.js → chunk-DJZZ3FIP.js} +13 -4
- package/dist/{chunk-K7CUCLLI.js → chunk-DYWJ7BIK.js} +2 -2
- package/dist/{chunk-6Y734SXN.js → chunk-E4JM3HUM.js} +1 -1
- package/dist/{chunk-POFKKYHY.js → chunk-EQNETGTV.js} +1 -1
- package/dist/{chunk-BBVOB4EC.js → chunk-EZ23IA3H.js} +1 -1
- package/dist/{chunk-LOP63AVE.js → chunk-FD7YU53N.js} +1 -1
- package/dist/{chunk-CPV367VS.js → chunk-FHFVBOF3.js} +1 -1
- package/dist/chunk-GHCV6UXG.js +57 -0
- package/dist/{chunk-UALYS4XI.js → chunk-GIGOTRXX.js} +9 -4
- package/dist/{chunk-BTZW34TX.js → chunk-GRB6T2TT.js} +7 -6
- package/dist/chunk-GUB7YKG2.js +35 -0
- package/dist/{chunk-POBSY7EZ.js → chunk-H2W7IYVY.js} +1 -1
- package/dist/{chunk-I5Z3A7N3.js → chunk-HG6HTUWU.js} +2 -2
- package/dist/{chunk-DEH2Z27F.js → chunk-HJERFB7J.js} +1 -1
- package/dist/{chunk-FUJOSPNQ.js → chunk-I4URNMI7.js} +1 -1
- package/dist/{chunk-24CZFBTG.js → chunk-IIPYF6ZQ.js} +1 -1
- package/dist/{chunk-CVBAWKNG.js → chunk-IK23Q2OF.js} +32 -27
- package/dist/{chunk-4OCXGNP3.js → chunk-J2T4GFFS.js} +1 -1
- package/dist/{chunk-BJKW3G2L.js → chunk-J6TU45KP.js} +1 -1
- package/dist/{chunk-ELC2NBGH.js → chunk-JSD3H7WV.js} +1 -1
- package/dist/{chunk-46CFSBEO.js → chunk-KA2J5OBA.js} +3 -2
- package/dist/{chunk-OUBBOOZE.js → chunk-KM6Z3VTI.js} +1 -1
- package/dist/chunk-KQPLFVFR.js +27 -0
- package/dist/{chunk-DGJE5MX5.js → chunk-LDYD7WL3.js} +5 -4
- package/dist/{chunk-DOHXBNOP.js → chunk-LH3BSAIS.js} +1 -1
- package/dist/chunk-LMPGHWUA.js +114 -0
- package/dist/chunk-LZB3KTSH.js +61 -0
- package/dist/{chunk-BUBYXAJK.js → chunk-M7YB3MSW.js} +1 -1
- package/dist/{chunk-V3FZHIEB.js → chunk-NCRFKPA4.js} +1 -1
- package/dist/{chunk-QURKXXNS.js → chunk-NDCNVQ47.js} +1 -1
- package/dist/{chunk-JKTZMWWC.js → chunk-NIX4SEKM.js} +1 -1
- package/dist/{chunk-PBLEGOLM.js → chunk-NMH5WSZG.js} +6 -5
- package/dist/{chunk-ZFVBFCYV.js → chunk-NQVRF4RB.js} +1 -1
- package/dist/{chunk-IU76LV3W.js → chunk-OASFXI27.js} +6 -6
- package/dist/chunk-OJ2TLWYD.js +89 -0
- package/dist/{chunk-MY6XUJ5P.js → chunk-OJRSPDNJ.js} +21 -14
- package/dist/chunk-P26VJEIW.js +1 -0
- package/dist/{chunk-IBCYG6HR.js → chunk-P44EROBX.js} +1 -1
- package/dist/{chunk-52KTX5A7.js → chunk-PQ6GU7SG.js} +2 -2
- package/dist/{chunk-CZUNTABW.js → chunk-PVTACENM.js} +1 -1
- package/dist/{chunk-Y45JAJKW.js → chunk-PWBPHGM3.js} +2 -2
- package/dist/chunk-Q7G5WGYV.js +33 -0
- package/dist/{chunk-BYCTJHXY.js → chunk-QCNLE27O.js} +2 -2
- package/dist/{chunk-7W2YDJ5W.js → chunk-QD7H3WV3.js} +10 -7
- package/dist/{chunk-HW3I7I3R.js → chunk-RB4CVS22.js} +1 -1
- package/dist/{chunk-ZLSUVZM2.js → chunk-RHOYF7MO.js} +17 -11
- package/dist/{chunk-QHJ43Q2T.js → chunk-RLE5RN3T.js} +1 -1
- package/dist/{chunk-7B4FS7VQ.js → chunk-RTDUTWJ4.js} +31 -14
- package/dist/{chunk-DR2Y3PIT.js → chunk-S46W2QER.js} +1 -1
- package/dist/{chunk-LAWZQ6R6.js → chunk-SVQCINRE.js} +1 -1
- package/dist/{chunk-WCJNZ5ME.js → chunk-SY6V3HAK.js} +60 -20
- package/dist/{chunk-OZPPL76D.js → chunk-T5BS4OIV.js} +1 -1
- package/dist/{chunk-VT7RKY46.js → chunk-TEOLG3N2.js} +1 -1
- package/dist/{chunk-A7L75YXY.js → chunk-TJCHA3OI.js} +2 -2
- package/dist/chunk-TNBBQ7IP.js +43 -0
- package/dist/{chunk-IHW2L532.js → chunk-TYTW4F3B.js} +12 -9
- package/dist/{chunk-T4IVMVMQ.js → chunk-UMC64NCT.js} +1 -1
- package/dist/{chunk-UTBUIBEP.js → chunk-UVWCZHLD.js} +1 -1
- package/dist/chunk-V3TETH4J.js +146 -0
- package/dist/{chunk-SZKUSLHI.js → chunk-VTL3GJJG.js} +21 -11
- package/dist/{chunk-JQDLCN5D.js → chunk-W2NEXOTG.js} +1 -1
- package/dist/{chunk-XNDCVVNE.js → chunk-WESZPFBZ.js} +2 -2
- package/dist/{chunk-DD6XCW6R.js → chunk-XR4NBY54.js} +1 -1
- package/dist/{chunk-YGOR3KT7.js → chunk-YJ3JQYAN.js} +1 -1
- package/dist/chunk-YRDCY6BI.js +55 -0
- package/dist/{chunk-2VDP2ML4.js → chunk-Z3IG5WRA.js} +10 -9
- package/dist/{chunk-YUFCNHZF.js → chunk-ZV3AF5CL.js} +1 -1
- package/dist/components/Accordion/index.js +2 -2
- package/dist/components/Alert/index.js +2 -2
- package/dist/components/AlertDialog/index.js +6 -2
- package/dist/components/AppShell/index.js +2 -2
- package/dist/components/AspectRatio/index.js +2 -2
- package/dist/components/Autocomplete/index.js +3 -3
- package/dist/components/Avatar/index.js +2 -2
- package/dist/components/AvatarGroup/index.js +3 -3
- package/dist/components/Badge/index.js +2 -2
- package/dist/components/Banner/index.js +2 -2
- package/dist/components/Box/index.js +2 -2
- package/dist/components/Breadcrumb/index.js +2 -2
- package/dist/components/Button/index.js +5 -2
- package/dist/components/ButtonGroup/index.js +2 -2
- package/dist/components/Callout/index.js +2 -2
- package/dist/components/Card/index.js +3 -3
- package/dist/components/CheckList/index.js +2 -2
- package/dist/components/Checkbox/index.js +2 -2
- package/dist/components/Chip/index.js +2 -2
- package/dist/components/Code/index.js +2 -2
- package/dist/components/Collapsible/index.js +2 -2
- package/dist/components/Combobox/index.js +2 -2
- package/dist/components/CommandPalette/index.js +4 -2
- package/dist/components/Container/index.js +2 -2
- package/dist/components/ContextMenu/index.js +3 -2
- package/dist/components/CountryBadge/index.js +3 -3
- package/dist/components/DataTable/index.js +2 -2
- package/dist/components/DatePicker/index.js +2 -2
- package/dist/components/DateRangePicker/index.js +2 -2
- package/dist/components/Dialog/index.js +4 -3
- package/dist/components/Drawer/index.js +5 -3
- package/dist/components/DropdownMenu/index.js +3 -2
- package/dist/components/EmptyState/index.js +2 -2
- package/dist/components/ErrorState/index.js +2 -2
- package/dist/components/EyebrowChip/index.js +2 -2
- package/dist/components/FileUpload/index.js +2 -2
- package/dist/components/FilterChip/index.js +2 -2
- package/dist/components/Flag/index.js +2 -2
- package/dist/components/Flex/index.js +2 -2
- package/dist/components/FormError/index.js +2 -2
- package/dist/components/FormField/index.js +5 -5
- package/dist/components/GradientDivider/index.js +2 -2
- package/dist/components/Grid/index.js +2 -2
- package/dist/components/Heading/index.js +2 -2
- package/dist/components/HelperText/index.js +2 -2
- package/dist/components/HoverCard/index.js +3 -2
- package/dist/components/IconButton/index.js +3 -2
- package/dist/components/Input/index.js +3 -2
- package/dist/components/Kbd/index.js +2 -2
- package/dist/components/KeyboardShortcut/index.js +3 -3
- package/dist/components/Label/index.js +2 -2
- package/dist/components/Link/index.js +2 -2
- package/dist/components/Logo/index.js +2 -2
- package/dist/components/Menubar/index.js +3 -2
- package/dist/components/NavigationMenu/index.js +3 -2
- package/dist/components/NumberInput/index.js +4 -3
- package/dist/components/PageHeader/index.js +2 -2
- package/dist/components/Pagination/index.js +2 -2
- package/dist/components/PasswordInput/index.js +4 -3
- package/dist/components/Popover/index.js +4 -3
- package/dist/components/Progress/index.js +2 -2
- package/dist/components/RadioGroup/index.js +2 -2
- package/dist/components/Rating/index.js +2 -2
- package/dist/components/ScrollArea/index.js +2 -2
- package/dist/components/SearchInput/index.js +4 -3
- package/dist/components/Section/index.js +2 -2
- package/dist/components/SegmentedControl/index.js +4 -2
- package/dist/components/Select/index.js +4 -2
- package/dist/components/Separator/index.js +2 -2
- package/dist/components/Sidebar/index.js +2 -2
- package/dist/components/Skeleton/index.js +2 -2
- package/dist/components/Slider/index.js +2 -2
- package/dist/components/Spinner/index.js +2 -2
- package/dist/components/Stack/index.js +2 -2
- package/dist/components/StatusPill/index.js +2 -2
- package/dist/components/Switch/index.js +2 -2
- package/dist/components/Table/index.js +2 -2
- package/dist/components/Tabs/index.js +4 -2
- package/dist/components/Tag/index.js +2 -2
- package/dist/components/Text/index.js +2 -2
- package/dist/components/TextGradient/index.js +2 -2
- package/dist/components/Textarea/index.js +3 -2
- package/dist/components/ThemeProvider/index.js +3 -1
- package/dist/components/Toast/index.js +2 -2
- package/dist/components/Toggle/index.js +2 -2
- package/dist/components/ToggleGroup/index.js +3 -3
- package/dist/components/Toolbar/index.js +2 -2
- package/dist/components/Tooltip/index.js +2 -2
- package/dist/components/TopNav/index.js +3 -3
- package/dist/index.d.ts +147 -42
- package/dist/index.js +144 -153
- package/package.json +10 -6
- package/dist/chunk-3CSKW56L.js +0 -44
- package/dist/chunk-AT6RPKU3.js +0 -12
- package/dist/chunk-BGY23Y5O.js +0 -104
- package/dist/chunk-DAXDAFNG.js +0 -92
- package/dist/chunk-EVCTOIRS.js +0 -66
- package/dist/chunk-GTQIA62H.js +0 -60
- package/dist/chunk-JCUVWDUC.js +0 -57
- package/dist/chunk-N2GIMMTF.js +0 -98
- package/dist/chunk-P6BZNFVU.js +0 -38
- package/dist/chunk-QRZV2FLW.js +0 -106
- package/dist/chunk-ROZVVWPV.js +0 -8
- package/dist/chunk-U3EGB3JL.js +0 -43
- package/dist/chunk-VPZCQFVY.js +0 -33
package/dist/index.js
CHANGED
|
@@ -2,333 +2,341 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Provider,
|
|
4
4
|
Tooltip
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import {
|
|
7
|
-
Toolbar
|
|
8
|
-
} from "./chunk-OZPPL76D.js";
|
|
5
|
+
} from "./chunk-KA2J5OBA.js";
|
|
9
6
|
import {
|
|
10
7
|
TopNav
|
|
11
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GRB6T2TT.js";
|
|
12
9
|
import {
|
|
13
10
|
Root
|
|
14
11
|
} from "./chunk-ZXLACKEB.js";
|
|
15
12
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./chunk-IBCYG6HR.js";
|
|
13
|
+
ButtonGroup
|
|
14
|
+
} from "./chunk-NDCNVQ47.js";
|
|
19
15
|
import {
|
|
20
16
|
Text,
|
|
21
17
|
textVariants
|
|
22
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7Q7ZF6BY.js";
|
|
23
19
|
import {
|
|
24
20
|
TextGradient
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import {
|
|
27
|
-
ThemeProvider,
|
|
28
|
-
useTheme
|
|
29
|
-
} from "./chunk-YAGVMERC.js";
|
|
21
|
+
} from "./chunk-RB4CVS22.js";
|
|
30
22
|
import {
|
|
31
23
|
Textarea,
|
|
32
24
|
textareaVariants
|
|
33
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-7ZWBHHRK.js";
|
|
26
|
+
import {
|
|
27
|
+
ThemeProvider,
|
|
28
|
+
ThemeScript,
|
|
29
|
+
useTheme
|
|
30
|
+
} from "./chunk-AEBYQKLS.js";
|
|
34
31
|
import {
|
|
35
32
|
Toast,
|
|
36
33
|
Toaster,
|
|
37
34
|
toast,
|
|
38
35
|
useToastStore
|
|
39
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-TYTW4F3B.js";
|
|
37
|
+
import "./chunk-YJU4ZRQZ.js";
|
|
40
38
|
import {
|
|
41
39
|
ToggleGroup
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import "./chunk-YJU4ZRQZ.js";
|
|
40
|
+
} from "./chunk-DYWJ7BIK.js";
|
|
44
41
|
import {
|
|
45
42
|
Toggle,
|
|
46
43
|
toggleVariants
|
|
47
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-3TMIZQPR.js";
|
|
48
45
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./chunk-QF7GUDOE.js";
|
|
46
|
+
Toolbar
|
|
47
|
+
} from "./chunk-T5BS4OIV.js";
|
|
52
48
|
import {
|
|
53
49
|
Slider
|
|
54
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-TNBBQ7IP.js";
|
|
55
51
|
import {
|
|
56
52
|
Spinner,
|
|
57
53
|
spinnerVariants
|
|
58
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-RLE5RN3T.js";
|
|
59
55
|
import {
|
|
60
56
|
Stack
|
|
61
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-BTRTORKU.js";
|
|
62
58
|
import {
|
|
63
59
|
StatusPill,
|
|
64
60
|
statusPillVariants
|
|
65
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-J2T4GFFS.js";
|
|
66
62
|
import {
|
|
67
63
|
Switch
|
|
68
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-GHCV6UXG.js";
|
|
69
65
|
import {
|
|
70
66
|
Table
|
|
71
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-JSD3H7WV.js";
|
|
72
68
|
import {
|
|
73
69
|
Tabs
|
|
74
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-OJ2TLWYD.js";
|
|
75
71
|
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./chunk-UTBUIBEP.js";
|
|
80
|
-
import {
|
|
81
|
-
useIsomorphicLayoutEffect
|
|
82
|
-
} from "./chunk-NHUQLIHL.js";
|
|
72
|
+
Tag,
|
|
73
|
+
tagVariants
|
|
74
|
+
} from "./chunk-P44EROBX.js";
|
|
83
75
|
import {
|
|
84
76
|
ScrollArea
|
|
85
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-EZ23IA3H.js";
|
|
86
78
|
import {
|
|
87
79
|
SearchInput
|
|
88
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-TJCHA3OI.js";
|
|
89
81
|
import {
|
|
90
82
|
Section,
|
|
91
83
|
sectionVariants
|
|
92
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-FD7YU53N.js";
|
|
93
85
|
import {
|
|
94
86
|
SegmentedControl
|
|
95
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-CWS37T3K.js";
|
|
88
|
+
import {
|
|
89
|
+
useMergedRefs
|
|
90
|
+
} from "./chunk-YRDCY6BI.js";
|
|
96
91
|
import {
|
|
97
92
|
Select
|
|
98
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-RTDUTWJ4.js";
|
|
99
94
|
import {
|
|
100
95
|
Separator,
|
|
101
96
|
separatorVariants
|
|
102
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-6RBNM5RO.js";
|
|
103
98
|
import {
|
|
104
99
|
Sidebar
|
|
105
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-BFRX6X4O.js";
|
|
106
101
|
import {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
Slide
|
|
111
|
-
} from "./chunk-FS4XKWFA.js";
|
|
102
|
+
Skeleton,
|
|
103
|
+
skeletonVariants
|
|
104
|
+
} from "./chunk-63DPMUMR.js";
|
|
112
105
|
import {
|
|
113
106
|
NumberInput
|
|
114
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-PQ6GU7SG.js";
|
|
115
108
|
import {
|
|
116
109
|
PageHeader
|
|
117
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-PVTACENM.js";
|
|
118
111
|
import {
|
|
119
112
|
Pagination
|
|
120
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-J6TU45KP.js";
|
|
121
114
|
import {
|
|
122
115
|
PasswordInput
|
|
123
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-WESZPFBZ.js";
|
|
117
|
+
import {
|
|
118
|
+
Popover
|
|
119
|
+
} from "./chunk-GIGOTRXX.js";
|
|
124
120
|
import {
|
|
125
121
|
Progress,
|
|
126
122
|
progressFillVariants,
|
|
127
123
|
progressTrackVariants
|
|
128
|
-
} from "./chunk-
|
|
129
|
-
import {
|
|
130
|
-
Popover
|
|
131
|
-
} from "./chunk-UALYS4XI.js";
|
|
124
|
+
} from "./chunk-2555JXCP.js";
|
|
132
125
|
import {
|
|
133
126
|
RadioGroup
|
|
134
|
-
} from "./chunk-
|
|
135
|
-
import "./chunk-NZ7UK3G6.js";
|
|
127
|
+
} from "./chunk-6SJPVQQW.js";
|
|
136
128
|
import {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
129
|
+
Rating,
|
|
130
|
+
ratingVariants,
|
|
131
|
+
useControllableState
|
|
132
|
+
} from "./chunk-UVWCZHLD.js";
|
|
133
|
+
import {
|
|
134
|
+
useIsomorphicLayoutEffect
|
|
135
|
+
} from "./chunk-NHUQLIHL.js";
|
|
142
136
|
import "./chunk-KLTQJZOX.js";
|
|
143
|
-
import "./chunk-EV43I5J6.js";
|
|
144
137
|
import {
|
|
145
138
|
KeyboardShortcut
|
|
146
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-HG6HTUWU.js";
|
|
147
140
|
import {
|
|
148
141
|
Kbd
|
|
149
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-A4IMFAZX.js";
|
|
143
|
+
import "./chunk-EV43I5J6.js";
|
|
150
144
|
import {
|
|
151
145
|
Link,
|
|
152
146
|
linkVariants
|
|
153
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-CNNJFWFA.js";
|
|
154
148
|
import {
|
|
155
149
|
Logo,
|
|
156
150
|
logoVariants
|
|
157
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-LDYD7WL3.js";
|
|
158
152
|
import {
|
|
159
153
|
Menubar
|
|
160
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-OJRSPDNJ.js";
|
|
155
|
+
import {
|
|
156
|
+
Collapse,
|
|
157
|
+
Fade,
|
|
158
|
+
Scale,
|
|
159
|
+
Slide
|
|
160
|
+
} from "./chunk-FS4XKWFA.js";
|
|
161
161
|
import {
|
|
162
162
|
NavigationMenu
|
|
163
|
-
} from "./chunk-
|
|
164
|
-
import "./chunk-ADO2DB6Q.js";
|
|
163
|
+
} from "./chunk-QD7H3WV3.js";
|
|
165
164
|
import {
|
|
166
165
|
FormField
|
|
167
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-OASFXI27.js";
|
|
168
167
|
import {
|
|
169
168
|
Label,
|
|
170
169
|
labelVariants
|
|
171
|
-
} from "./chunk-
|
|
172
|
-
import {
|
|
173
|
-
FormError
|
|
174
|
-
} from "./chunk-OUBBOOZE.js";
|
|
170
|
+
} from "./chunk-NIX4SEKM.js";
|
|
175
171
|
import {
|
|
176
172
|
GradientDivider
|
|
177
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-I4URNMI7.js";
|
|
178
174
|
import {
|
|
179
175
|
Grid
|
|
180
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-3AXIMXDU.js";
|
|
181
177
|
import {
|
|
182
178
|
Heading,
|
|
183
179
|
headingVariants
|
|
184
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-SVQCINRE.js";
|
|
185
181
|
import "./chunk-PICMOOAZ.js";
|
|
186
182
|
import {
|
|
187
183
|
HelperText
|
|
188
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-UMC64NCT.js";
|
|
189
185
|
import {
|
|
190
186
|
HoverCard
|
|
191
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-5URGARPH.js";
|
|
192
188
|
import {
|
|
193
189
|
IconButton,
|
|
194
190
|
iconButtonVariants
|
|
195
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-LZB3KTSH.js";
|
|
192
|
+
import "./chunk-NZ7UK3G6.js";
|
|
196
193
|
import {
|
|
197
|
-
|
|
198
|
-
|
|
194
|
+
Input,
|
|
195
|
+
addonVariants,
|
|
196
|
+
inputVariants,
|
|
197
|
+
inputWrapperVariants
|
|
198
|
+
} from "./chunk-IK23Q2OF.js";
|
|
199
199
|
import {
|
|
200
200
|
EmptyState
|
|
201
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-2FCSWBSM.js";
|
|
202
202
|
import {
|
|
203
203
|
ErrorState
|
|
204
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-72I7EVOL.js";
|
|
205
205
|
import {
|
|
206
206
|
EyebrowChip
|
|
207
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-YJ3JQYAN.js";
|
|
208
208
|
import {
|
|
209
209
|
FileUpload
|
|
210
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-H2W7IYVY.js";
|
|
211
211
|
import {
|
|
212
212
|
FilterChip
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-S46W2QER.js";
|
|
214
214
|
import "./chunk-BV3U3ATL.js";
|
|
215
215
|
import {
|
|
216
216
|
Flex
|
|
217
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-NCRFKPA4.js";
|
|
218
|
+
import "./chunk-ADO2DB6Q.js";
|
|
218
219
|
import {
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
} from "./chunk-6Y734SXN.js";
|
|
220
|
+
FormError
|
|
221
|
+
} from "./chunk-KM6Z3VTI.js";
|
|
222
222
|
import {
|
|
223
223
|
ContextMenu
|
|
224
|
-
} from "./chunk-
|
|
224
|
+
} from "./chunk-6QLLH6ID.js";
|
|
225
225
|
import {
|
|
226
226
|
CountryBadge
|
|
227
|
-
} from "./chunk-
|
|
227
|
+
} from "./chunk-PWBPHGM3.js";
|
|
228
228
|
import {
|
|
229
229
|
Flag
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-EQNETGTV.js";
|
|
231
231
|
import {
|
|
232
232
|
DataTable
|
|
233
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-6J3QTWKC.js";
|
|
234
234
|
import {
|
|
235
235
|
DatePicker
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-LH3BSAIS.js";
|
|
237
237
|
import {
|
|
238
238
|
DateRangePicker
|
|
239
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-CHGPGRML.js";
|
|
240
240
|
import {
|
|
241
241
|
Dialog
|
|
242
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-DJZZ3FIP.js";
|
|
243
243
|
import {
|
|
244
244
|
Drawer,
|
|
245
245
|
Sheet
|
|
246
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-SY6V3HAK.js";
|
|
247
247
|
import {
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
} from "./chunk-PBLEGOLM.js";
|
|
251
|
-
import "./chunk-ROZVVWPV.js";
|
|
248
|
+
DropdownMenu
|
|
249
|
+
} from "./chunk-VTL3GJJG.js";
|
|
252
250
|
import {
|
|
253
251
|
CheckList,
|
|
254
252
|
CheckListItem
|
|
255
|
-
} from "./chunk-
|
|
253
|
+
} from "./chunk-4I5ULCYG.js";
|
|
254
|
+
import {
|
|
255
|
+
Checkbox
|
|
256
|
+
} from "./chunk-GUB7YKG2.js";
|
|
256
257
|
import {
|
|
257
258
|
Chip,
|
|
258
259
|
chipVariants
|
|
259
|
-
} from "./chunk-
|
|
260
|
-
import {
|
|
261
|
-
Checkbox
|
|
262
|
-
} from "./chunk-VPZCQFVY.js";
|
|
260
|
+
} from "./chunk-AHT35UWY.js";
|
|
263
261
|
import {
|
|
264
262
|
Code
|
|
265
|
-
} from "./chunk-
|
|
263
|
+
} from "./chunk-HJERFB7J.js";
|
|
266
264
|
import {
|
|
267
265
|
Collapsible
|
|
268
|
-
} from "./chunk-
|
|
266
|
+
} from "./chunk-3LP2CR7F.js";
|
|
269
267
|
import "./chunk-HY3JWSG4.js";
|
|
270
268
|
import {
|
|
271
269
|
CommandPalette
|
|
272
|
-
} from "./chunk-
|
|
270
|
+
} from "./chunk-V3TETH4J.js";
|
|
271
|
+
import "./chunk-47UGX37F.js";
|
|
272
|
+
import {
|
|
273
|
+
Container,
|
|
274
|
+
containerVariants
|
|
275
|
+
} from "./chunk-E4JM3HUM.js";
|
|
273
276
|
import {
|
|
274
277
|
AvatarGroup,
|
|
275
278
|
avatarGroupVariants
|
|
276
|
-
} from "./chunk-
|
|
279
|
+
} from "./chunk-QCNLE27O.js";
|
|
277
280
|
import {
|
|
278
281
|
Badge,
|
|
279
282
|
badgeVariants
|
|
280
|
-
} from "./chunk-
|
|
283
|
+
} from "./chunk-B54WADL4.js";
|
|
281
284
|
import {
|
|
282
285
|
Banner,
|
|
283
286
|
bannerVariants
|
|
284
|
-
} from "./chunk-
|
|
287
|
+
} from "./chunk-NQVRF4RB.js";
|
|
285
288
|
import {
|
|
286
289
|
Box
|
|
287
|
-
} from "./chunk-
|
|
290
|
+
} from "./chunk-M7YB3MSW.js";
|
|
288
291
|
import {
|
|
289
292
|
Breadcrumb
|
|
290
|
-
} from "./chunk-
|
|
291
|
-
import
|
|
292
|
-
Button,
|
|
293
|
-
buttonVariants
|
|
294
|
-
} from "./chunk-N2GIMMTF.js";
|
|
295
|
-
import {
|
|
296
|
-
ButtonGroup
|
|
297
|
-
} from "./chunk-QURKXXNS.js";
|
|
293
|
+
} from "./chunk-4SSUM4CL.js";
|
|
294
|
+
import "./chunk-P26VJEIW.js";
|
|
298
295
|
import {
|
|
299
296
|
Callout,
|
|
300
297
|
calloutVariants
|
|
301
|
-
} from "./chunk-
|
|
298
|
+
} from "./chunk-XR4NBY54.js";
|
|
299
|
+
import {
|
|
300
|
+
Card,
|
|
301
|
+
cardVariants
|
|
302
|
+
} from "./chunk-NMH5WSZG.js";
|
|
302
303
|
import {
|
|
303
304
|
Accordion
|
|
304
|
-
} from "./chunk-
|
|
305
|
+
} from "./chunk-W2NEXOTG.js";
|
|
305
306
|
import {
|
|
306
307
|
Alert,
|
|
307
308
|
alertVariants
|
|
308
|
-
} from "./chunk-
|
|
309
|
+
} from "./chunk-IIPYF6ZQ.js";
|
|
309
310
|
import {
|
|
310
311
|
AlertDialog
|
|
311
|
-
} from "./chunk-
|
|
312
|
+
} from "./chunk-RHOYF7MO.js";
|
|
313
|
+
import "./chunk-KQPLFVFR.js";
|
|
314
|
+
import {
|
|
315
|
+
Button,
|
|
316
|
+
buttonVariants
|
|
317
|
+
} from "./chunk-LMPGHWUA.js";
|
|
318
|
+
import "./chunk-7SXR4PGO.js";
|
|
319
|
+
import "./chunk-DEIBF3P7.js";
|
|
312
320
|
import {
|
|
313
321
|
AppShell
|
|
314
|
-
} from "./chunk-
|
|
322
|
+
} from "./chunk-56FERRWW.js";
|
|
315
323
|
import {
|
|
316
324
|
AspectRatio
|
|
317
|
-
} from "./chunk-
|
|
325
|
+
} from "./chunk-ZV3AF5CL.js";
|
|
318
326
|
import {
|
|
319
327
|
Autocomplete
|
|
320
|
-
} from "./chunk-
|
|
328
|
+
} from "./chunk-TEOLG3N2.js";
|
|
321
329
|
import {
|
|
322
330
|
Combobox
|
|
323
|
-
} from "./chunk-
|
|
331
|
+
} from "./chunk-Z3IG5WRA.js";
|
|
324
332
|
import "./chunk-IZ6ZPEZ2.js";
|
|
325
333
|
import {
|
|
326
334
|
Avatar,
|
|
327
335
|
avatarVariants
|
|
328
|
-
} from "./chunk-
|
|
336
|
+
} from "./chunk-FHFVBOF3.js";
|
|
329
337
|
import {
|
|
330
338
|
cn
|
|
331
|
-
} from "./chunk-
|
|
339
|
+
} from "./chunk-Q7G5WGYV.js";
|
|
332
340
|
|
|
333
341
|
// src/hooks/useDisclosure.ts
|
|
334
342
|
import { useState, useCallback } from "react";
|
|
@@ -354,24 +362,6 @@ function useMediaQuery(query) {
|
|
|
354
362
|
}, [query]);
|
|
355
363
|
return matches;
|
|
356
364
|
}
|
|
357
|
-
|
|
358
|
-
// src/hooks/useMergedRefs.ts
|
|
359
|
-
import { useCallback as useCallback2, useRef } from "react";
|
|
360
|
-
function setRef(ref, value) {
|
|
361
|
-
if (!ref) return;
|
|
362
|
-
if (typeof ref === "function") {
|
|
363
|
-
ref(value);
|
|
364
|
-
} else {
|
|
365
|
-
ref.current = value;
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
function useMergedRefs(...refs) {
|
|
369
|
-
const refsRef = useRef(refs);
|
|
370
|
-
refsRef.current = refs;
|
|
371
|
-
return useCallback2((node) => {
|
|
372
|
-
for (const ref of refsRef.current) setRef(ref, node);
|
|
373
|
-
}, []);
|
|
374
|
-
}
|
|
375
365
|
export {
|
|
376
366
|
Accordion,
|
|
377
367
|
Alert,
|
|
@@ -462,6 +452,7 @@ export {
|
|
|
462
452
|
TextGradient,
|
|
463
453
|
Textarea,
|
|
464
454
|
ThemeProvider,
|
|
455
|
+
ThemeScript,
|
|
465
456
|
Toast,
|
|
466
457
|
Toaster,
|
|
467
458
|
Toggle,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexub/react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "React component library for Nexub Design System — 90+ accessible, themeable UI components built on Radix UI primitives.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -67,14 +67,15 @@
|
|
|
67
67
|
"date-fns": "^4.1.0",
|
|
68
68
|
"react-day-picker": "^9.14.0",
|
|
69
69
|
"tailwind-merge": "^2.5.4",
|
|
70
|
-
"@nexub/icons": "1.
|
|
70
|
+
"@nexub/icons": "1.4.0"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"react": ">=18 <20",
|
|
74
74
|
"react-dom": ">=18 <20",
|
|
75
|
-
"@nexub/tokens": "^1.
|
|
75
|
+
"@nexub/tokens": "^1.4.0"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
+
"@playwright/test": "1.64.0",
|
|
78
79
|
"@storybook/addon-essentials": "8.6.14",
|
|
79
80
|
"@storybook/react": "8.6.14",
|
|
80
81
|
"@storybook/react-vite": "8.6.14",
|
|
@@ -84,6 +85,7 @@
|
|
|
84
85
|
"@types/react": "^19.0.0",
|
|
85
86
|
"@types/react-dom": "^19.0.0",
|
|
86
87
|
"autoprefixer": "^10.4.20",
|
|
88
|
+
"axe-core": "^4.11.3",
|
|
87
89
|
"jsdom": "^25.0.1",
|
|
88
90
|
"postcss": "^8.4.49",
|
|
89
91
|
"react": "^19.0.0",
|
|
@@ -94,17 +96,19 @@
|
|
|
94
96
|
"typescript": "^5.6.3",
|
|
95
97
|
"vaul": "1.1.2",
|
|
96
98
|
"vitest": "^2.1.8",
|
|
97
|
-
"@nexub/themes": "1.
|
|
98
|
-
"@nexub/tokens": "1.
|
|
99
|
+
"@nexub/themes": "1.4.0",
|
|
100
|
+
"@nexub/tokens": "1.4.0"
|
|
99
101
|
},
|
|
100
102
|
"scripts": {
|
|
101
|
-
"build": "tsup",
|
|
103
|
+
"build": "tsup && node scripts/check-dts.mjs",
|
|
102
104
|
"dev": "tsup --watch",
|
|
103
105
|
"clean": "rm -rf dist",
|
|
104
106
|
"typecheck": "tsc --noEmit",
|
|
105
107
|
"test": "vitest run",
|
|
106
108
|
"storybook": "storybook dev -p 6006",
|
|
107
109
|
"build-storybook": "storybook build",
|
|
110
|
+
"test:visual": "playwright test -c visual",
|
|
111
|
+
"test:visual:docker": "docker run --rm --ipc=host -v \"$PWD/../..\":/work -w /work/packages/react mcr.microsoft.com/playwright:v1.64.0-noble npx playwright test -c visual",
|
|
108
112
|
"lint": "eslint src"
|
|
109
113
|
}
|
|
110
114
|
}
|
package/dist/chunk-3CSKW56L.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import {
|
|
3
|
-
cn
|
|
4
|
-
} from "./chunk-AT6RPKU3.js";
|
|
5
|
-
|
|
6
|
-
// src/components/Switch/Switch.tsx
|
|
7
|
-
import * as React from "react";
|
|
8
|
-
import * as RadixSwitch from "@radix-ui/react-switch";
|
|
9
|
-
import { cva } from "class-variance-authority";
|
|
10
|
-
import { jsx } from "react/jsx-runtime";
|
|
11
|
-
var switchVariants = cva(
|
|
12
|
-
"peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-ring-default)] focus-visible:ring-offset-2 ring-offset-[var(--color-ring-offset)] disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-[var(--color-brand-primary-500)] data-[state=unchecked]:bg-[var(--color-border-default)]",
|
|
13
|
-
{
|
|
14
|
-
variants: {
|
|
15
|
-
size: {
|
|
16
|
-
sm: "h-4 w-7",
|
|
17
|
-
md: "h-5 w-9",
|
|
18
|
-
lg: "h-6 w-11"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
defaultVariants: { size: "md" }
|
|
22
|
-
}
|
|
23
|
-
);
|
|
24
|
-
var thumbVariants = cva(
|
|
25
|
-
"pointer-events-none block rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=unchecked]:translate-x-0",
|
|
26
|
-
{
|
|
27
|
-
variants: {
|
|
28
|
-
size: {
|
|
29
|
-
sm: "h-3 w-3 data-[state=checked]:translate-x-3",
|
|
30
|
-
md: "h-4 w-4 data-[state=checked]:translate-x-4",
|
|
31
|
-
lg: "h-5 w-5 data-[state=checked]:translate-x-5"
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
defaultVariants: { size: "md" }
|
|
35
|
-
}
|
|
36
|
-
);
|
|
37
|
-
var Switch = React.forwardRef(
|
|
38
|
-
({ className, size, ...props }, ref) => /* @__PURE__ */ jsx(RadixSwitch.Root, { ref, className: cn(switchVariants({ size }), className), ...props, children: /* @__PURE__ */ jsx(RadixSwitch.Thumb, { className: cn(thumbVariants({ size })) }) })
|
|
39
|
-
);
|
|
40
|
-
Switch.displayName = "Switch";
|
|
41
|
-
|
|
42
|
-
export {
|
|
43
|
-
Switch
|
|
44
|
-
};
|