@nexub/react 1.3.0 → 1.5.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-OZPPL76D.js → chunk-2ZBJOUJ7.js} +17 -20
- 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-5O34ZNC3.js +70 -0
- package/dist/{chunk-YUNWZAAD.js → chunk-5URGARPH.js} +8 -3
- package/dist/{chunk-QF7GUDOE.js → chunk-63DPMUMR.js} +1 -1
- package/dist/chunk-64JDZWCV.js +47 -0
- 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-SZKUSLHI.js → chunk-7L3CGIRA.js} +21 -11
- 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-E3QPDCEV.js → chunk-AEBYQKLS.js} +34 -7
- package/dist/chunk-AHT35UWY.js +92 -0
- package/dist/chunk-AXOKFS4K.js +48 -0
- package/dist/chunk-B54WADL4.js +103 -0
- package/dist/{chunk-CMYEVLQT.js → chunk-BFRX6X4O.js} +9 -7
- package/dist/{chunk-KBB7M6WO.js → chunk-BTRTORKU.js} +1 -1
- package/dist/{chunk-TCTFQYLH.js → chunk-CHGPGRML.js} +1 -1
- package/dist/chunk-CIQHFMF6.js +44 -0
- 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-HI7GBSW2.js +1 -0
- package/dist/{chunk-DEH2Z27F.js → chunk-HJERFB7J.js} +1 -1
- package/dist/{chunk-UTBUIBEP.js → chunk-I4BHRVRL.js} +3 -30
- 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-JLUCMNVS.js +32 -0
- 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-MV7WMQI4.js → chunk-LDYD7WL3.js} +1 -1
- package/dist/{chunk-QURKXXNS.js → chunk-LGQ737BP.js} +6 -12
- package/dist/{chunk-DOHXBNOP.js → chunk-LH3BSAIS.js} +1 -1
- package/dist/chunk-LMPGHWUA.js +114 -0
- package/dist/chunk-LVPU7455.js +1 -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-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-6MYVXJPJ.js → chunk-SY6V3HAK.js} +17 -23
- 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-V3TETH4J.js +146 -0
- 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-YPHNHQYQ.js +61 -0
- 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/Amount/index.js +9 -0
- 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 +3 -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 +4 -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/MoneyInput/index.js +13 -0
- package/dist/components/NavigationMenu/index.js +3 -2
- package/dist/components/NavigationRail/index.js +8 -0
- 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 +3 -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/SplitButton/index.js +14 -0
- 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 +1 -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 +3 -2
- package/dist/components/Tooltip/index.js +2 -2
- package/dist/components/TopNav/index.js +3 -3
- package/dist/index.d.ts +128 -21
- package/dist/index.js +162 -152
- package/package.json +8 -5
- 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
|
@@ -1,335 +1,359 @@
|
|
|
1
1
|
'use client';
|
|
2
|
+
import {
|
|
3
|
+
ToggleGroup
|
|
4
|
+
} from "./chunk-DYWJ7BIK.js";
|
|
2
5
|
import {
|
|
3
6
|
Toolbar
|
|
4
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2ZBJOUJ7.js";
|
|
5
8
|
import {
|
|
6
9
|
Provider,
|
|
7
10
|
Tooltip
|
|
8
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KA2J5OBA.js";
|
|
9
12
|
import {
|
|
10
13
|
TopNav
|
|
11
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GRB6T2TT.js";
|
|
12
15
|
import {
|
|
13
16
|
Root
|
|
14
17
|
} from "./chunk-ZXLACKEB.js";
|
|
18
|
+
import "./chunk-IZ6ZPEZ2.js";
|
|
15
19
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./chunk-
|
|
20
|
+
Container,
|
|
21
|
+
containerVariants
|
|
22
|
+
} from "./chunk-E4JM3HUM.js";
|
|
23
|
+
import {
|
|
24
|
+
ContextMenu
|
|
25
|
+
} from "./chunk-6QLLH6ID.js";
|
|
26
|
+
import {
|
|
27
|
+
Tabs
|
|
28
|
+
} from "./chunk-OJ2TLWYD.js";
|
|
19
29
|
import {
|
|
20
30
|
Tag,
|
|
21
31
|
tagVariants
|
|
22
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-P44EROBX.js";
|
|
33
|
+
import {
|
|
34
|
+
Text,
|
|
35
|
+
textVariants
|
|
36
|
+
} from "./chunk-7Q7ZF6BY.js";
|
|
23
37
|
import {
|
|
24
38
|
TextGradient
|
|
25
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-RB4CVS22.js";
|
|
26
40
|
import {
|
|
27
41
|
Textarea,
|
|
28
42
|
textareaVariants
|
|
29
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-7ZWBHHRK.js";
|
|
30
44
|
import {
|
|
31
45
|
ThemeProvider,
|
|
32
46
|
ThemeScript,
|
|
33
47
|
useTheme
|
|
34
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-AEBYQKLS.js";
|
|
35
49
|
import {
|
|
36
50
|
Toast,
|
|
37
51
|
Toaster,
|
|
38
52
|
toast,
|
|
39
53
|
useToastStore
|
|
40
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-TYTW4F3B.js";
|
|
41
55
|
import "./chunk-YJU4ZRQZ.js";
|
|
42
|
-
import {
|
|
43
|
-
ToggleGroup
|
|
44
|
-
} from "./chunk-K7CUCLLI.js";
|
|
45
56
|
import {
|
|
46
57
|
Toggle,
|
|
47
58
|
toggleVariants
|
|
48
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-3TMIZQPR.js";
|
|
49
60
|
import {
|
|
50
61
|
Skeleton,
|
|
51
62
|
skeletonVariants
|
|
52
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-63DPMUMR.js";
|
|
53
64
|
import {
|
|
54
65
|
Slider
|
|
55
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-TNBBQ7IP.js";
|
|
56
67
|
import {
|
|
57
68
|
Spinner,
|
|
58
69
|
spinnerVariants
|
|
59
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-RLE5RN3T.js";
|
|
71
|
+
import {
|
|
72
|
+
SplitButton
|
|
73
|
+
} from "./chunk-64JDZWCV.js";
|
|
60
74
|
import {
|
|
61
75
|
Stack
|
|
62
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-BTRTORKU.js";
|
|
63
77
|
import {
|
|
64
78
|
StatusPill,
|
|
65
79
|
statusPillVariants
|
|
66
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-J2T4GFFS.js";
|
|
67
81
|
import {
|
|
68
82
|
Switch
|
|
69
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-GHCV6UXG.js";
|
|
70
84
|
import {
|
|
71
85
|
Table
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import {
|
|
74
|
-
Tabs
|
|
75
|
-
} from "./chunk-EVCTOIRS.js";
|
|
86
|
+
} from "./chunk-JSD3H7WV.js";
|
|
76
87
|
import {
|
|
77
88
|
Rating,
|
|
78
|
-
ratingVariants
|
|
79
|
-
|
|
80
|
-
} from "./chunk-UTBUIBEP.js";
|
|
81
|
-
import {
|
|
82
|
-
useIsomorphicLayoutEffect
|
|
83
|
-
} from "./chunk-NHUQLIHL.js";
|
|
89
|
+
ratingVariants
|
|
90
|
+
} from "./chunk-I4BHRVRL.js";
|
|
84
91
|
import {
|
|
85
92
|
ScrollArea
|
|
86
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-EZ23IA3H.js";
|
|
87
94
|
import {
|
|
88
95
|
SearchInput
|
|
89
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-TJCHA3OI.js";
|
|
90
97
|
import {
|
|
91
98
|
Section,
|
|
92
99
|
sectionVariants
|
|
93
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-FD7YU53N.js";
|
|
94
101
|
import {
|
|
95
102
|
SegmentedControl
|
|
96
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-CWS37T3K.js";
|
|
104
|
+
import {
|
|
105
|
+
useMergedRefs
|
|
106
|
+
} from "./chunk-YRDCY6BI.js";
|
|
97
107
|
import {
|
|
98
108
|
Select
|
|
99
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-RTDUTWJ4.js";
|
|
100
110
|
import {
|
|
101
111
|
Separator,
|
|
102
112
|
separatorVariants
|
|
103
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-6RBNM5RO.js";
|
|
104
114
|
import {
|
|
105
115
|
Sidebar
|
|
106
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-BFRX6X4O.js";
|
|
107
117
|
import {
|
|
108
|
-
|
|
109
|
-
} from "./chunk-
|
|
118
|
+
NavigationRail
|
|
119
|
+
} from "./chunk-5O34ZNC3.js";
|
|
110
120
|
import {
|
|
111
121
|
NumberInput
|
|
112
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-PQ6GU7SG.js";
|
|
113
123
|
import {
|
|
114
124
|
PageHeader
|
|
115
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-PVTACENM.js";
|
|
116
126
|
import {
|
|
117
127
|
Pagination
|
|
118
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-J6TU45KP.js";
|
|
119
129
|
import {
|
|
120
130
|
PasswordInput
|
|
121
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-WESZPFBZ.js";
|
|
122
132
|
import {
|
|
123
133
|
Popover
|
|
124
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-GIGOTRXX.js";
|
|
125
135
|
import {
|
|
126
136
|
Progress,
|
|
127
137
|
progressFillVariants,
|
|
128
138
|
progressTrackVariants
|
|
129
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-2555JXCP.js";
|
|
130
140
|
import {
|
|
131
141
|
RadioGroup
|
|
132
|
-
} from "./chunk-
|
|
133
|
-
import "./chunk-NZ7UK3G6.js";
|
|
134
|
-
import {
|
|
135
|
-
Input,
|
|
136
|
-
addonVariants,
|
|
137
|
-
inputVariants,
|
|
138
|
-
inputWrapperVariants
|
|
139
|
-
} from "./chunk-CVBAWKNG.js";
|
|
140
|
-
import "./chunk-KLTQJZOX.js";
|
|
142
|
+
} from "./chunk-6SJPVQQW.js";
|
|
141
143
|
import {
|
|
142
144
|
KeyboardShortcut
|
|
143
|
-
} from "./chunk-
|
|
144
|
-
import {
|
|
145
|
-
Kbd
|
|
146
|
-
} from "./chunk-PER3O4FD.js";
|
|
145
|
+
} from "./chunk-HG6HTUWU.js";
|
|
147
146
|
import "./chunk-EV43I5J6.js";
|
|
148
147
|
import {
|
|
149
148
|
Link,
|
|
150
149
|
linkVariants
|
|
151
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-CNNJFWFA.js";
|
|
152
151
|
import {
|
|
153
152
|
Logo,
|
|
154
153
|
logoVariants
|
|
155
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-LDYD7WL3.js";
|
|
156
155
|
import {
|
|
157
156
|
Menubar
|
|
158
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-OJRSPDNJ.js";
|
|
158
|
+
import {
|
|
159
|
+
MoneyInput
|
|
160
|
+
} from "./chunk-YPHNHQYQ.js";
|
|
161
|
+
import {
|
|
162
|
+
useControllableState
|
|
163
|
+
} from "./chunk-JLUCMNVS.js";
|
|
164
|
+
import {
|
|
165
|
+
useIsomorphicLayoutEffect
|
|
166
|
+
} from "./chunk-NHUQLIHL.js";
|
|
159
167
|
import {
|
|
160
168
|
Collapse,
|
|
161
169
|
Fade,
|
|
162
170
|
Scale,
|
|
163
171
|
Slide
|
|
164
172
|
} from "./chunk-FS4XKWFA.js";
|
|
165
|
-
import "./chunk-ADO2DB6Q.js";
|
|
166
|
-
import {
|
|
167
|
-
FormField
|
|
168
|
-
} from "./chunk-IU76LV3W.js";
|
|
169
|
-
import {
|
|
170
|
-
Label,
|
|
171
|
-
labelVariants
|
|
172
|
-
} from "./chunk-JKTZMWWC.js";
|
|
173
173
|
import {
|
|
174
|
-
|
|
175
|
-
} from "./chunk-
|
|
174
|
+
NavigationMenu
|
|
175
|
+
} from "./chunk-QD7H3WV3.js";
|
|
176
176
|
import {
|
|
177
177
|
GradientDivider
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-I4URNMI7.js";
|
|
179
179
|
import {
|
|
180
180
|
Grid
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-3AXIMXDU.js";
|
|
182
182
|
import {
|
|
183
183
|
Heading,
|
|
184
184
|
headingVariants
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-SVQCINRE.js";
|
|
186
186
|
import "./chunk-PICMOOAZ.js";
|
|
187
|
-
import {
|
|
188
|
-
HelperText
|
|
189
|
-
} from "./chunk-T4IVMVMQ.js";
|
|
190
187
|
import {
|
|
191
188
|
HoverCard
|
|
192
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-5URGARPH.js";
|
|
193
190
|
import {
|
|
194
191
|
IconButton,
|
|
195
192
|
iconButtonVariants
|
|
196
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-LZB3KTSH.js";
|
|
194
|
+
import "./chunk-NZ7UK3G6.js";
|
|
197
195
|
import {
|
|
198
|
-
|
|
199
|
-
|
|
196
|
+
Input,
|
|
197
|
+
addonVariants,
|
|
198
|
+
inputVariants,
|
|
199
|
+
inputWrapperVariants
|
|
200
|
+
} from "./chunk-IK23Q2OF.js";
|
|
201
|
+
import "./chunk-KLTQJZOX.js";
|
|
200
202
|
import {
|
|
201
|
-
|
|
202
|
-
} from "./chunk-
|
|
203
|
+
Kbd
|
|
204
|
+
} from "./chunk-A4IMFAZX.js";
|
|
203
205
|
import {
|
|
204
206
|
ErrorState
|
|
205
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-72I7EVOL.js";
|
|
206
208
|
import {
|
|
207
209
|
EyebrowChip
|
|
208
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-YJ3JQYAN.js";
|
|
209
211
|
import {
|
|
210
212
|
FileUpload
|
|
211
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-H2W7IYVY.js";
|
|
212
214
|
import {
|
|
213
215
|
FilterChip
|
|
214
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-S46W2QER.js";
|
|
215
217
|
import "./chunk-BV3U3ATL.js";
|
|
216
218
|
import {
|
|
217
219
|
Flex
|
|
218
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-NCRFKPA4.js";
|
|
221
|
+
import "./chunk-ADO2DB6Q.js";
|
|
219
222
|
import {
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
} from "./chunk-6Y734SXN.js";
|
|
223
|
+
FormField
|
|
224
|
+
} from "./chunk-OASFXI27.js";
|
|
223
225
|
import {
|
|
224
|
-
|
|
225
|
-
|
|
226
|
+
Label,
|
|
227
|
+
labelVariants
|
|
228
|
+
} from "./chunk-NIX4SEKM.js";
|
|
229
|
+
import {
|
|
230
|
+
HelperText
|
|
231
|
+
} from "./chunk-UMC64NCT.js";
|
|
232
|
+
import {
|
|
233
|
+
FormError
|
|
234
|
+
} from "./chunk-KM6Z3VTI.js";
|
|
226
235
|
import {
|
|
227
236
|
CountryBadge
|
|
228
|
-
} from "./chunk-
|
|
237
|
+
} from "./chunk-PWBPHGM3.js";
|
|
229
238
|
import {
|
|
230
239
|
Flag
|
|
231
|
-
} from "./chunk-
|
|
240
|
+
} from "./chunk-EQNETGTV.js";
|
|
232
241
|
import {
|
|
233
242
|
DataTable
|
|
234
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-6J3QTWKC.js";
|
|
235
244
|
import {
|
|
236
245
|
DatePicker
|
|
237
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-LH3BSAIS.js";
|
|
238
247
|
import {
|
|
239
248
|
DateRangePicker
|
|
240
|
-
} from "./chunk-
|
|
249
|
+
} from "./chunk-CHGPGRML.js";
|
|
241
250
|
import {
|
|
242
251
|
Dialog
|
|
243
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-DJZZ3FIP.js";
|
|
244
253
|
import {
|
|
245
254
|
Drawer,
|
|
246
255
|
Sheet
|
|
247
|
-
} from "./chunk-
|
|
256
|
+
} from "./chunk-SY6V3HAK.js";
|
|
257
|
+
import "./chunk-HI7GBSW2.js";
|
|
258
|
+
import {
|
|
259
|
+
DropdownMenu
|
|
260
|
+
} from "./chunk-7L3CGIRA.js";
|
|
261
|
+
import {
|
|
262
|
+
EmptyState
|
|
263
|
+
} from "./chunk-2FCSWBSM.js";
|
|
248
264
|
import {
|
|
249
265
|
Card,
|
|
250
266
|
cardVariants
|
|
251
|
-
} from "./chunk-
|
|
252
|
-
import "./chunk-ROZVVWPV.js";
|
|
267
|
+
} from "./chunk-NMH5WSZG.js";
|
|
253
268
|
import {
|
|
254
269
|
CheckList,
|
|
255
270
|
CheckListItem
|
|
256
|
-
} from "./chunk-
|
|
271
|
+
} from "./chunk-4I5ULCYG.js";
|
|
257
272
|
import {
|
|
258
273
|
Checkbox
|
|
259
|
-
} from "./chunk-
|
|
274
|
+
} from "./chunk-GUB7YKG2.js";
|
|
260
275
|
import {
|
|
261
276
|
Chip,
|
|
262
277
|
chipVariants
|
|
263
|
-
} from "./chunk-
|
|
278
|
+
} from "./chunk-AHT35UWY.js";
|
|
264
279
|
import {
|
|
265
280
|
Code
|
|
266
|
-
} from "./chunk-
|
|
281
|
+
} from "./chunk-HJERFB7J.js";
|
|
267
282
|
import {
|
|
268
283
|
Collapsible
|
|
269
|
-
} from "./chunk-
|
|
284
|
+
} from "./chunk-3LP2CR7F.js";
|
|
270
285
|
import "./chunk-HY3JWSG4.js";
|
|
271
286
|
import {
|
|
272
287
|
CommandPalette
|
|
273
|
-
} from "./chunk-
|
|
288
|
+
} from "./chunk-V3TETH4J.js";
|
|
289
|
+
import "./chunk-47UGX37F.js";
|
|
274
290
|
import {
|
|
275
291
|
AvatarGroup,
|
|
276
292
|
avatarGroupVariants
|
|
277
|
-
} from "./chunk-
|
|
293
|
+
} from "./chunk-QCNLE27O.js";
|
|
294
|
+
import {
|
|
295
|
+
Avatar,
|
|
296
|
+
avatarVariants
|
|
297
|
+
} from "./chunk-FHFVBOF3.js";
|
|
278
298
|
import {
|
|
279
299
|
Badge,
|
|
280
300
|
badgeVariants
|
|
281
|
-
} from "./chunk-
|
|
301
|
+
} from "./chunk-B54WADL4.js";
|
|
282
302
|
import {
|
|
283
303
|
Banner,
|
|
284
304
|
bannerVariants
|
|
285
|
-
} from "./chunk-
|
|
305
|
+
} from "./chunk-NQVRF4RB.js";
|
|
286
306
|
import {
|
|
287
307
|
Box
|
|
288
|
-
} from "./chunk-
|
|
308
|
+
} from "./chunk-M7YB3MSW.js";
|
|
289
309
|
import {
|
|
290
310
|
Breadcrumb
|
|
291
|
-
} from "./chunk-
|
|
292
|
-
import
|
|
293
|
-
|
|
294
|
-
buttonVariants
|
|
295
|
-
} from "./chunk-N2GIMMTF.js";
|
|
311
|
+
} from "./chunk-4SSUM4CL.js";
|
|
312
|
+
import "./chunk-P26VJEIW.js";
|
|
313
|
+
import "./chunk-LVPU7455.js";
|
|
296
314
|
import {
|
|
297
315
|
ButtonGroup
|
|
298
|
-
} from "./chunk-
|
|
316
|
+
} from "./chunk-LGQ737BP.js";
|
|
299
317
|
import {
|
|
300
318
|
Callout,
|
|
301
319
|
calloutVariants
|
|
302
|
-
} from "./chunk-
|
|
320
|
+
} from "./chunk-XR4NBY54.js";
|
|
303
321
|
import {
|
|
304
322
|
Accordion
|
|
305
|
-
} from "./chunk-
|
|
323
|
+
} from "./chunk-W2NEXOTG.js";
|
|
324
|
+
import {
|
|
325
|
+
AlertDialog
|
|
326
|
+
} from "./chunk-RHOYF7MO.js";
|
|
327
|
+
import "./chunk-KQPLFVFR.js";
|
|
328
|
+
import {
|
|
329
|
+
Button,
|
|
330
|
+
buttonVariants
|
|
331
|
+
} from "./chunk-LMPGHWUA.js";
|
|
332
|
+
import "./chunk-7SXR4PGO.js";
|
|
333
|
+
import "./chunk-DEIBF3P7.js";
|
|
306
334
|
import {
|
|
307
335
|
Alert,
|
|
308
336
|
alertVariants
|
|
309
|
-
} from "./chunk-
|
|
337
|
+
} from "./chunk-IIPYF6ZQ.js";
|
|
310
338
|
import {
|
|
311
|
-
|
|
312
|
-
} from "./chunk-
|
|
339
|
+
Amount
|
|
340
|
+
} from "./chunk-AXOKFS4K.js";
|
|
341
|
+
import "./chunk-CIQHFMF6.js";
|
|
313
342
|
import {
|
|
314
343
|
AppShell
|
|
315
|
-
} from "./chunk-
|
|
344
|
+
} from "./chunk-56FERRWW.js";
|
|
316
345
|
import {
|
|
317
346
|
AspectRatio
|
|
318
|
-
} from "./chunk-
|
|
347
|
+
} from "./chunk-ZV3AF5CL.js";
|
|
319
348
|
import {
|
|
320
349
|
Autocomplete
|
|
321
|
-
} from "./chunk-
|
|
350
|
+
} from "./chunk-TEOLG3N2.js";
|
|
322
351
|
import {
|
|
323
352
|
Combobox
|
|
324
|
-
} from "./chunk-
|
|
325
|
-
import "./chunk-IZ6ZPEZ2.js";
|
|
326
|
-
import {
|
|
327
|
-
Avatar,
|
|
328
|
-
avatarVariants
|
|
329
|
-
} from "./chunk-CPV367VS.js";
|
|
353
|
+
} from "./chunk-Z3IG5WRA.js";
|
|
330
354
|
import {
|
|
331
355
|
cn
|
|
332
|
-
} from "./chunk-
|
|
356
|
+
} from "./chunk-Q7G5WGYV.js";
|
|
333
357
|
|
|
334
358
|
// src/hooks/useDisclosure.ts
|
|
335
359
|
import { useState, useCallback } from "react";
|
|
@@ -355,28 +379,11 @@ function useMediaQuery(query) {
|
|
|
355
379
|
}, [query]);
|
|
356
380
|
return matches;
|
|
357
381
|
}
|
|
358
|
-
|
|
359
|
-
// src/hooks/useMergedRefs.ts
|
|
360
|
-
import { useCallback as useCallback2, useRef } from "react";
|
|
361
|
-
function setRef(ref, value) {
|
|
362
|
-
if (!ref) return;
|
|
363
|
-
if (typeof ref === "function") {
|
|
364
|
-
ref(value);
|
|
365
|
-
} else {
|
|
366
|
-
ref.current = value;
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
function useMergedRefs(...refs) {
|
|
370
|
-
const refsRef = useRef(refs);
|
|
371
|
-
refsRef.current = refs;
|
|
372
|
-
return useCallback2((node) => {
|
|
373
|
-
for (const ref of refsRef.current) setRef(ref, node);
|
|
374
|
-
}, []);
|
|
375
|
-
}
|
|
376
382
|
export {
|
|
377
383
|
Accordion,
|
|
378
384
|
Alert,
|
|
379
385
|
AlertDialog,
|
|
386
|
+
Amount,
|
|
380
387
|
AppShell,
|
|
381
388
|
AspectRatio,
|
|
382
389
|
Autocomplete,
|
|
@@ -431,7 +438,9 @@ export {
|
|
|
431
438
|
Link,
|
|
432
439
|
Logo,
|
|
433
440
|
Menubar,
|
|
441
|
+
MoneyInput,
|
|
434
442
|
NavigationMenu,
|
|
443
|
+
NavigationRail,
|
|
435
444
|
NumberInput,
|
|
436
445
|
PageHeader,
|
|
437
446
|
Pagination,
|
|
@@ -453,6 +462,7 @@ export {
|
|
|
453
462
|
Slide,
|
|
454
463
|
Slider,
|
|
455
464
|
Spinner,
|
|
465
|
+
SplitButton,
|
|
456
466
|
Stack,
|
|
457
467
|
StatusPill,
|
|
458
468
|
Switch,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexub/react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.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.5.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.5.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",
|
|
@@ -95,8 +96,8 @@
|
|
|
95
96
|
"typescript": "^5.6.3",
|
|
96
97
|
"vaul": "1.1.2",
|
|
97
98
|
"vitest": "^2.1.8",
|
|
98
|
-
"@nexub/themes": "1.
|
|
99
|
-
"@nexub/tokens": "1.
|
|
99
|
+
"@nexub/themes": "1.5.0",
|
|
100
|
+
"@nexub/tokens": "1.5.0"
|
|
100
101
|
},
|
|
101
102
|
"scripts": {
|
|
102
103
|
"build": "tsup && node scripts/check-dts.mjs",
|
|
@@ -106,6 +107,8 @@
|
|
|
106
107
|
"test": "vitest run",
|
|
107
108
|
"storybook": "storybook dev -p 6006",
|
|
108
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",
|
|
109
112
|
"lint": "eslint src"
|
|
110
113
|
}
|
|
111
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
|
-
};
|