@nexub/react 2.4.0 → 2.6.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-TSN6HYVY.js → chunk-2B2KOOKJ.js} +2 -2
- package/dist/{chunk-TSBBWYDO.js → chunk-2DGYUQBA.js} +2 -2
- package/dist/{chunk-3LTB6TGN.js → chunk-2DZWTBDL.js} +1 -1
- package/dist/{chunk-2BAXCPQF.js → chunk-2G3XUIQZ.js} +1 -1
- package/dist/{chunk-SZNSQR2B.js → chunk-2L7RW4E7.js} +1 -1
- package/dist/{chunk-G4RLUGE3.js → chunk-2TDXFV45.js} +4 -4
- package/dist/{chunk-DGCAM2UJ.js → chunk-3C4WVTAN.js} +1 -1
- package/dist/{chunk-F7ZA2VA2.js → chunk-45IHDOSM.js} +1 -1
- package/dist/{chunk-5QEARXY3.js → chunk-4ESZQDPB.js} +1 -1
- package/dist/{chunk-3LP2CR7F.js → chunk-4WIUGX5Z.js} +1 -1
- package/dist/{chunk-S2CTBFLN.js → chunk-52CXVN3U.js} +1 -1
- package/dist/{chunk-3QD76BKT.js → chunk-5DHLFPC4.js} +1 -1
- package/dist/{chunk-NYORXEPS.js → chunk-5INQVN5N.js} +1 -1
- package/dist/{chunk-Q4CEJZY6.js → chunk-5MGCYR4G.js} +1 -1
- package/dist/{chunk-TNBBQ7IP.js → chunk-5QWRBJSZ.js} +1 -1
- package/dist/{chunk-PGD246WD.js → chunk-66A6I4OV.js} +2 -2
- package/dist/{chunk-K5FKEAAK.js → chunk-6SPCGCDG.js} +1 -1
- package/dist/{chunk-XQDD76EF.js → chunk-6SWOLUMF.js} +1 -1
- package/dist/{chunk-WHTLXQB6.js → chunk-7EQ2LIYD.js} +1 -1
- package/dist/{chunk-SKIJVVBU.js → chunk-AKS4HV5S.js} +2 -2
- package/dist/{chunk-322WR6EU.js → chunk-AQZHU35H.js} +2 -2
- package/dist/{chunk-WMWX6DPB.js → chunk-AWTSLASB.js} +1 -1
- package/dist/{chunk-QUYOV2ZJ.js → chunk-AYG7HBDZ.js} +1 -1
- package/dist/{chunk-5QZVFW4H.js → chunk-B2LDYTDQ.js} +1 -1
- package/dist/{chunk-WASCNEIQ.js → chunk-B3TDZFNV.js} +3 -3
- package/dist/{chunk-CKFRMCZ7.js → chunk-BIWSXGTZ.js} +1 -1
- package/dist/{chunk-BSS7QNC5.js → chunk-BMUAR6H2.js} +2 -2
- package/dist/{chunk-ZVQYAIOA.js → chunk-BNG3Y5I7.js} +1 -1
- package/dist/{chunk-7MSIOYJZ.js → chunk-BOO4VH3M.js} +1 -1
- package/dist/{chunk-F73DTG2V.js → chunk-CBNN2HYE.js} +1 -1
- package/dist/{chunk-ZGZQZG6S.js → chunk-CEFGILJY.js} +1 -1
- package/dist/{chunk-EA4JBLWK.js → chunk-CQQ5UAO3.js} +5 -1
- package/dist/{chunk-ZUGZRXME.js → chunk-CUCTSWR2.js} +1 -1
- package/dist/{chunk-T7RLPFGX.js → chunk-DOVZNUSH.js} +1 -1
- package/dist/{chunk-NITVUZ4L.js → chunk-E7RLUHG3.js} +1 -1
- package/dist/{chunk-BSKEBC2Q.js → chunk-EAJX4RM6.js} +1 -1
- package/dist/{chunk-DT3QGFXB.js → chunk-EIV37DAQ.js} +1 -1
- package/dist/{chunk-56FERRWW.js → chunk-EPJ4CMZP.js} +1 -1
- package/dist/{chunk-E4JM3HUM.js → chunk-EQ5ASTJM.js} +1 -1
- package/dist/{chunk-BTYDDKRQ.js → chunk-EWW6PWTK.js} +1 -1
- package/dist/{chunk-AT2DSFP3.js → chunk-EYGT5IX4.js} +2 -2
- package/dist/{chunk-6JBQAJJD.js → chunk-F5S2KP3Z.js} +1 -1
- package/dist/{chunk-ZC4MZAEX.js → chunk-FDRAGYDV.js} +1 -1
- package/dist/{chunk-BEOHZKPQ.js → chunk-FXVI4RCJ.js} +1 -1
- package/dist/{chunk-ZLW7IBXK.js → chunk-GV6LPUGS.js} +2 -2
- package/dist/{chunk-A4QLUIFN.js → chunk-GWFIMQBC.js} +1 -1
- package/dist/{chunk-QVTVDL6Y.js → chunk-H2X6MSNY.js} +1 -1
- package/dist/{chunk-22BGPRJZ.js → chunk-H76RJYDW.js} +1 -1
- package/dist/{chunk-EQNETGTV.js → chunk-HOQPHAGW.js} +1 -1
- package/dist/{chunk-PBPUSRTJ.js → chunk-HXNUIIXB.js} +1 -1
- package/dist/{chunk-EILMNNTT.js → chunk-IA2362SO.js} +2 -2
- package/dist/{chunk-ZYR3R36N.js → chunk-IBBICKEZ.js} +2 -2
- package/dist/{chunk-HH7EHNOW.js → chunk-IDPRAXCG.js} +1 -1
- package/dist/{chunk-DFCHCYNT.js → chunk-IQNF3R2J.js} +4 -4
- package/dist/{chunk-I4U36P54.js → chunk-JOOKMCAF.js} +1 -1
- package/dist/{chunk-ZCEUVK2R.js → chunk-JZCZ2SDT.js} +2 -2
- package/dist/{chunk-BU5QD2FS.js → chunk-KA6RZ7VN.js} +1 -1
- package/dist/{chunk-X3B2MTX6.js → chunk-KL55E5PE.js} +1 -1
- package/dist/{chunk-3E7X3YK3.js → chunk-KRIRCSUB.js} +1 -1
- package/dist/{chunk-F3DRJSZL.js → chunk-LASPHHH6.js} +1 -1
- package/dist/{chunk-D6HHYT2S.js → chunk-LR6KNEKL.js} +1 -1
- package/dist/{chunk-NORCPKRD.js → chunk-MPJG4WFP.js} +1 -1
- package/dist/{chunk-I6ELDWZE.js → chunk-MQGBAWSJ.js} +1 -1
- package/dist/{chunk-5HEMUXSR.js → chunk-NAESV7K3.js} +1 -1
- package/dist/{chunk-3TMIZQPR.js → chunk-NMSQDI4A.js} +1 -1
- package/dist/{chunk-DDRYT3SY.js → chunk-NX44VGON.js} +1 -1
- package/dist/{chunk-5NKIGEDZ.js → chunk-OM62PQSE.js} +1 -1
- package/dist/{chunk-R6VLSYXK.js → chunk-OYTX4XI7.js} +1 -1
- package/dist/{chunk-P37ABUFD.js → chunk-P3SAE4T2.js} +1 -1
- package/dist/{chunk-WXE6QRHB.js → chunk-PFDUHXT5.js} +1 -1
- package/dist/{chunk-VF6RWEKX.js → chunk-PPECMYKJ.js} +1 -1
- package/dist/{chunk-W2P2WOAN.js → chunk-PR3CEPFG.js} +2 -2
- package/dist/{chunk-NA5UMOE5.js → chunk-PXISQY4H.js} +5 -1
- package/dist/{chunk-6ALDF3XF.js → chunk-PZL6AJH5.js} +1 -1
- package/dist/{chunk-6BGUZQAX.js → chunk-QCLE5VQW.js} +1 -1
- package/dist/{chunk-Z3HF6XJ3.js → chunk-QQR4PPF3.js} +1 -1
- package/dist/{chunk-IPCB5HU7.js → chunk-RQR65WLG.js} +2 -2
- package/dist/{chunk-NN7SNECM.js → chunk-RSAGQWHO.js} +1 -1
- package/dist/{chunk-4P2JJ2FH.js → chunk-RTVBHXYK.js} +1 -1
- package/dist/{chunk-UCNA2ICU.js → chunk-SEW66BU7.js} +1 -1
- package/dist/{chunk-5JOKHG4L.js → chunk-SQGRT72E.js} +1 -1
- package/dist/{chunk-I6CAF7C5.js → chunk-ST4O3EQ3.js} +1 -1
- package/dist/{chunk-HFTS5AN7.js → chunk-T3RBFJML.js} +1 -1
- package/dist/{chunk-KFU2ENV6.js → chunk-T5WXAVK2.js} +2 -2
- package/dist/{chunk-TXIJMUD5.js → chunk-U422B6UE.js} +1 -1
- package/dist/{chunk-DYWJ7BIK.js → chunk-UOBWHPXG.js} +2 -2
- package/dist/{chunk-6FRG6NMM.js → chunk-UOIQVLDD.js} +2 -2
- package/dist/{chunk-2NJQBJWH.js → chunk-UVQFGKQO.js} +1 -1
- package/dist/{chunk-NNIFOMIH.js → chunk-UYINKNCI.js} +1 -1
- package/dist/{chunk-O2DSTHXA.js → chunk-VCCQ64G7.js} +1 -1
- package/dist/chunk-VLME3JFF.js +20 -0
- package/dist/{chunk-D7HMUIA5.js → chunk-VX56VQMF.js} +1 -1
- package/dist/{chunk-2ZBJOUJ7.js → chunk-WGW7TZOV.js} +1 -1
- package/dist/{chunk-Q7G5WGYV.js → chunk-WRVFNYO3.js} +12 -5
- package/dist/{chunk-7JXJOYM6.js → chunk-X6ULDZ7I.js} +2 -2
- package/dist/{chunk-3FX3FBHE.js → chunk-X7NTWHHW.js} +2 -2
- package/dist/{chunk-77LYWSJW.js → chunk-XIKO5XFW.js} +5 -1
- package/dist/{chunk-FJUVYRNT.js → chunk-XWELMPYD.js} +1 -1
- package/dist/{chunk-VMMZHSZL.js → chunk-YGCJHBFI.js} +2 -2
- package/dist/{chunk-XTATJMY6.js → chunk-YNLXG574.js} +2 -2
- package/dist/{chunk-CUOASXI7.js → chunk-YVCUKIAC.js} +1 -1
- package/dist/{chunk-2DYKENBM.js → chunk-Z46ISXJ6.js} +5 -1
- package/dist/{chunk-M7YB3MSW.js → chunk-ZCHZNGWU.js} +1 -1
- package/dist/{chunk-6ECOCGZG.js → chunk-ZGJF4HAT.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 +3 -3
- package/dist/components/Amount/index.js +3 -3
- 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 +3 -2
- package/dist/components/Box/index.js +2 -2
- package/dist/components/Breadcrumb/index.js +2 -2
- package/dist/components/Button/index.js +2 -2
- package/dist/components/ButtonGroup/index.js +2 -2
- package/dist/components/Callout/index.js +3 -2
- package/dist/components/Card/index.js +2 -2
- package/dist/components/CheckList/index.js +2 -2
- package/dist/components/Checkbox/index.js +2 -2
- package/dist/components/CheckboxCard/index.js +3 -3
- package/dist/components/Chip/index.js +2 -2
- package/dist/components/Citation/index.js +3 -3
- 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 +2 -2
- package/dist/components/Container/index.js +2 -2
- package/dist/components/ContextMenu/index.js +2 -2
- package/dist/components/CountryBadge/index.js +3 -3
- package/dist/components/DataTable/index.js +3 -3
- package/dist/components/DatePicker/index.js +2 -2
- package/dist/components/DateRangePicker/index.js +3 -3
- package/dist/components/Dialog/index.js +2 -2
- package/dist/components/Drawer/index.js +2 -2
- package/dist/components/DropdownMenu/index.js +2 -2
- package/dist/components/EmptyState/index.js +2 -2
- package/dist/components/ErrorState/index.js +2 -2
- package/dist/components/EyebrowChip/index.js +3 -3
- 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 +6 -6
- package/dist/components/GradientDivider/index.js +2 -2
- package/dist/components/Grid/index.js +2 -2
- package/dist/components/Heading/index.js +3 -3
- package/dist/components/HelperText/index.js +3 -3
- package/dist/components/HoverCard/index.js +2 -2
- package/dist/components/IconButton/index.js +2 -2
- package/dist/components/Input/index.js +2 -2
- package/dist/components/Kbd/index.js +2 -2
- package/dist/components/KeyboardShortcut/index.js +3 -3
- package/dist/components/Label/index.js +3 -3
- package/dist/components/Link/index.js +2 -2
- package/dist/components/Logo/index.js +2 -2
- package/dist/components/MediaCard/index.js +2 -2
- package/dist/components/Menubar/index.js +2 -2
- package/dist/components/MessageBubble/index.js +4 -4
- package/dist/components/MoneyInput/index.js +3 -3
- package/dist/components/NavigationMenu/index.js +2 -2
- package/dist/components/NavigationRail/index.js +2 -2
- package/dist/components/NumberInput/index.js +3 -3
- package/dist/components/NumberTicker/index.js +2 -2
- package/dist/components/PageHeader/index.js +2 -2
- package/dist/components/Pagination/index.js +2 -2
- package/dist/components/PasswordInput/index.js +3 -3
- package/dist/components/Popover/index.js +2 -2
- package/dist/components/Progress/index.js +2 -2
- package/dist/components/PromptInput/index.js +3 -3
- package/dist/components/RadioCard/index.js +3 -3
- 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 +3 -3
- package/dist/components/Section/index.js +2 -2
- package/dist/components/SegmentedControl/index.js +2 -2
- package/dist/components/Select/index.js +2 -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 +5 -5
- package/dist/components/Stack/index.js +2 -2
- package/dist/components/StatusPill/index.js +3 -2
- package/dist/components/StreamingText/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 +2 -2
- package/dist/components/Tag/index.js +3 -2
- package/dist/components/Text/index.js +2 -2
- package/dist/components/TextGradient/index.js +2 -2
- package/dist/components/Textarea/index.js +2 -2
- package/dist/components/ThinkingIndicator/index.js +2 -2
- 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 +2 -2
- package/dist/fonts/LICENSE-inter +93 -0
- package/dist/fonts/LICENSE-plus-jakarta-sans +93 -0
- package/dist/fonts/inter-cyrillic-ext-opsz-italic.woff2 +0 -0
- package/dist/fonts/inter-cyrillic-ext-opsz-normal.woff2 +0 -0
- package/dist/fonts/inter-cyrillic-opsz-italic.woff2 +0 -0
- package/dist/fonts/inter-cyrillic-opsz-normal.woff2 +0 -0
- package/dist/fonts/inter-greek-ext-opsz-italic.woff2 +0 -0
- package/dist/fonts/inter-greek-ext-opsz-normal.woff2 +0 -0
- package/dist/fonts/inter-greek-opsz-italic.woff2 +0 -0
- package/dist/fonts/inter-greek-opsz-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-ext-opsz-italic.woff2 +0 -0
- package/dist/fonts/inter-latin-ext-opsz-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-opsz-italic.woff2 +0 -0
- package/dist/fonts/inter-latin-opsz-normal.woff2 +0 -0
- package/dist/fonts/inter-vietnamese-opsz-italic.woff2 +0 -0
- package/dist/fonts/inter-vietnamese-opsz-normal.woff2 +0 -0
- package/dist/fonts/plus-jakarta-sans-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/plus-jakarta-sans-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/plus-jakarta-sans-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/plus-jakarta-sans-vietnamese-wght-italic.woff2 +0 -0
- package/dist/fonts/plus-jakarta-sans-vietnamese-wght-normal.woff2 +0 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +114 -113
- package/dist/styles.css +2 -0
- package/package.json +13 -9
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
DropdownMenu
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GWFIMQBC.js";
|
|
5
5
|
import {
|
|
6
6
|
ButtonGroup
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7EQ2LIYD.js";
|
|
8
8
|
import {
|
|
9
9
|
Button
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-H76RJYDW.js";
|
|
11
11
|
import {
|
|
12
12
|
cn
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WRVFNYO3.js";
|
|
14
14
|
|
|
15
15
|
// src/components/SplitButton/SplitButton.tsx
|
|
16
16
|
import * as React from "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Flag
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HOQPHAGW.js";
|
|
5
5
|
import {
|
|
6
6
|
cn
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WRVFNYO3.js";
|
|
8
8
|
|
|
9
9
|
// src/components/CountryBadge/CountryBadge.tsx
|
|
10
10
|
import * as React from "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Kbd
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OM62PQSE.js";
|
|
5
5
|
import {
|
|
6
6
|
cn
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WRVFNYO3.js";
|
|
8
8
|
|
|
9
9
|
// src/components/KeyboardShortcut/KeyboardShortcut.tsx
|
|
10
10
|
import * as React from "react";
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
|
+
import {
|
|
3
|
+
warnDeprecated
|
|
4
|
+
} from "./chunk-VLME3JFF.js";
|
|
2
5
|
import {
|
|
3
6
|
cn
|
|
4
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WRVFNYO3.js";
|
|
5
8
|
|
|
6
9
|
// src/components/Tag/Tag.tsx
|
|
7
10
|
import * as React from "react";
|
|
@@ -36,6 +39,7 @@ var tagVariants = cva(
|
|
|
36
39
|
);
|
|
37
40
|
var Tag = React.forwardRef(
|
|
38
41
|
({ className, size, tone = "neutral", children, ...props }, ref) => {
|
|
42
|
+
warnDeprecated("Tag", "Badge");
|
|
39
43
|
return /* @__PURE__ */ jsx(
|
|
40
44
|
"span",
|
|
41
45
|
{
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Input
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-45IHDOSM.js";
|
|
5
5
|
import {
|
|
6
6
|
useNexubMessages
|
|
7
7
|
} from "./chunk-VMSWIC3O.js";
|
|
8
8
|
import {
|
|
9
9
|
cn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WRVFNYO3.js";
|
|
11
11
|
|
|
12
12
|
// src/components/SearchInput/SearchInput.tsx
|
|
13
13
|
import * as React from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
useCalendarLocale
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-B2LDYTDQ.js";
|
|
5
5
|
import {
|
|
6
6
|
floatingSurface
|
|
7
7
|
} from "./chunk-5FWJXSXT.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-VMSWIC3O.js";
|
|
15
15
|
import {
|
|
16
16
|
cn
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-WRVFNYO3.js";
|
|
18
18
|
|
|
19
19
|
// src/components/DateRangePicker/DateRangePicker.tsx
|
|
20
20
|
import * as React from "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
toggleVariants
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NMSQDI4A.js";
|
|
5
5
|
import {
|
|
6
6
|
cn
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WRVFNYO3.js";
|
|
8
8
|
|
|
9
9
|
// src/components/ToggleGroup/ToggleGroup.tsx
|
|
10
10
|
import * as React from "react";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-JLUCMNVS.js";
|
|
5
5
|
import {
|
|
6
6
|
Input
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-45IHDOSM.js";
|
|
8
8
|
import {
|
|
9
9
|
currencySymbol,
|
|
10
10
|
formatForDisplay,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-VMSWIC3O.js";
|
|
17
17
|
import {
|
|
18
18
|
cn
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WRVFNYO3.js";
|
|
20
20
|
|
|
21
21
|
// src/components/MoneyInput/MoneyInput.tsx
|
|
22
22
|
import * as React from "react";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
// src/utils/deprecated.ts
|
|
4
|
+
var warned = /* @__PURE__ */ new Set();
|
|
5
|
+
function warnDeprecated(name, replacement) {
|
|
6
|
+
try {
|
|
7
|
+
if (process.env.NODE_ENV === "production") return;
|
|
8
|
+
} catch {
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
if (warned.has(name)) return;
|
|
12
|
+
warned.add(name);
|
|
13
|
+
console.warn(
|
|
14
|
+
`[@nexub/react] ${name} is deprecated and will be removed in 3.0. Use ${replacement} instead.`
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export {
|
|
19
|
+
warnDeprecated
|
|
20
|
+
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
// src/utils/cn.ts
|
|
4
4
|
import { clsx } from "clsx";
|
|
5
|
-
import { extendTailwindMerge } from "tailwind-merge";
|
|
5
|
+
import { extendTailwindMerge, getDefaultConfig } from "tailwind-merge";
|
|
6
6
|
var sizes = ["xs", "sm", "md", "lg", "xl"];
|
|
7
7
|
var typeRoles = ["display", "headline", "title", "body", "label"].flatMap(
|
|
8
8
|
(r) => ["lg", "md", "sm"].map((s) => `${r}-${s}`)
|
|
@@ -10,17 +10,24 @@ var typeRoles = ["display", "headline", "title", "body", "label"].flatMap(
|
|
|
10
10
|
var springs = ["spatial", "effects", "expressive"].flatMap(
|
|
11
11
|
(k) => ["fast", "default", "slow"].map((s) => `${k}-${s}`)
|
|
12
12
|
);
|
|
13
|
+
var outlineWidths = getDefaultConfig().classGroups["outline-w"][0].outline.filter(
|
|
14
|
+
(v) => v !== ""
|
|
15
|
+
);
|
|
13
16
|
var twMerge = extendTailwindMerge({
|
|
17
|
+
override: {
|
|
18
|
+
classGroups: { "outline-w": [{ outline: outlineWidths }] }
|
|
19
|
+
},
|
|
14
20
|
extend: {
|
|
15
21
|
theme: {
|
|
16
22
|
spacing: sizes.map((s) => `control-${s}`),
|
|
17
|
-
|
|
23
|
+
radius: ["control", "field", "container", "overlay", "tooltip", "min"].map((s) => `shape-${s}`),
|
|
24
|
+
text: typeRoles,
|
|
25
|
+
shadow: ["elevation-0", "elevation-1", "elevation-2", "elevation-3"],
|
|
26
|
+
ease: springs
|
|
18
27
|
},
|
|
19
28
|
classGroups: {
|
|
20
|
-
"font-size": [{ text: typeRoles }],
|
|
21
|
-
shadow: [{ shadow: ["elevation-0", "elevation-1", "elevation-2", "elevation-3"] }],
|
|
22
29
|
duration: [{ duration: springs }],
|
|
23
|
-
|
|
30
|
+
"outline-style": [{ outline: [""] }]
|
|
24
31
|
}
|
|
25
32
|
}
|
|
26
33
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
inputWrapperVariants
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-45IHDOSM.js";
|
|
5
5
|
import {
|
|
6
6
|
disabledText
|
|
7
7
|
} from "./chunk-5W3AOOYS.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-VMSWIC3O.js";
|
|
11
11
|
import {
|
|
12
12
|
cn
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WRVFNYO3.js";
|
|
14
14
|
|
|
15
15
|
// src/components/NumberInput/NumberInput.tsx
|
|
16
16
|
import * as React from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Table
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KA6RZ7VN.js";
|
|
5
5
|
import {
|
|
6
6
|
disabledContainer,
|
|
7
7
|
pressable
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-VMSWIC3O.js";
|
|
12
12
|
import {
|
|
13
13
|
cn
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WRVFNYO3.js";
|
|
15
15
|
|
|
16
16
|
// src/components/DataTable/DataTable.tsx
|
|
17
17
|
import * as React from "react";
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
|
+
import {
|
|
3
|
+
warnDeprecated
|
|
4
|
+
} from "./chunk-VLME3JFF.js";
|
|
2
5
|
import {
|
|
3
6
|
cn
|
|
4
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WRVFNYO3.js";
|
|
5
8
|
|
|
6
9
|
// src/components/StatusPill/StatusPill.tsx
|
|
7
10
|
import * as React from "react";
|
|
@@ -42,6 +45,7 @@ var dotColorMap = {
|
|
|
42
45
|
var pulseTones = ["success", "info"];
|
|
43
46
|
var StatusPill = React.forwardRef(
|
|
44
47
|
({ className, tone = "neutral", label, dot = false, ...props }, ref) => {
|
|
48
|
+
warnDeprecated("StatusPill", "Badge");
|
|
45
49
|
const shouldPulse = dot && pulseTones.includes(tone);
|
|
46
50
|
return /* @__PURE__ */ jsxs(
|
|
47
51
|
"span",
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-JLUCMNVS.js";
|
|
8
8
|
import {
|
|
9
9
|
IconButton
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5INQVN5N.js";
|
|
11
11
|
import {
|
|
12
12
|
fieldDisabledWithin,
|
|
13
13
|
fieldFocusWithin
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk-VMSWIC3O.js";
|
|
21
21
|
import {
|
|
22
22
|
cn
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-WRVFNYO3.js";
|
|
24
24
|
|
|
25
25
|
// src/components/PromptInput/PromptInput.tsx
|
|
26
26
|
import * as React from "react";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
SelectableCardContent,
|
|
4
4
|
selectableCardClass,
|
|
5
5
|
useCardIds
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6SPCGCDG.js";
|
|
7
7
|
import {
|
|
8
8
|
cn
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WRVFNYO3.js";
|
|
10
10
|
|
|
11
11
|
// src/components/RadioCard/RadioCard.tsx
|
|
12
12
|
import * as React from "react";
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
|
+
import {
|
|
3
|
+
warnDeprecated
|
|
4
|
+
} from "./chunk-VLME3JFF.js";
|
|
2
5
|
import {
|
|
3
6
|
cn
|
|
4
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WRVFNYO3.js";
|
|
5
8
|
|
|
6
9
|
// src/components/Callout/Callout.tsx
|
|
7
10
|
import * as React from "react";
|
|
@@ -30,6 +33,7 @@ var calloutVariants = cva(
|
|
|
30
33
|
);
|
|
31
34
|
var Callout = React.forwardRef(
|
|
32
35
|
({ className, tone = "neutral", icon, children, ...props }, ref) => {
|
|
36
|
+
warnDeprecated("Callout", "Alert");
|
|
33
37
|
return /* @__PURE__ */ jsxs(
|
|
34
38
|
"div",
|
|
35
39
|
{
|