@nexub/react 2.3.1 → 2.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.
@@ -1,10 +1,10 @@
1
1
  'use client';
2
2
  import {
3
3
  FormField
4
- } from "../../chunk-LYOU2D5N.js";
4
+ } from "../../chunk-G4RLUGE3.js";
5
+ import "../../chunk-ZLW7IBXK.js";
5
6
  import "../../chunk-PGD246WD.js";
6
7
  import "../../chunk-QVTVDL6Y.js";
7
- import "../../chunk-ZLW7IBXK.js";
8
8
  import "../../chunk-22BGPRJZ.js";
9
9
  import "../../chunk-5W3AOOYS.js";
10
10
  import "../../chunk-DEIBF3P7.js";
@@ -5,8 +5,8 @@ import {
5
5
  import "../../chunk-JLUCMNVS.js";
6
6
  import "../../chunk-NHUQLIHL.js";
7
7
  import "../../chunk-F7ZA2VA2.js";
8
- import "../../chunk-R3SUPKKI.js";
9
8
  import "../../chunk-5W3AOOYS.js";
9
+ import "../../chunk-R3SUPKKI.js";
10
10
  import "../../chunk-VMSWIC3O.js";
11
11
  import "../../chunk-Q7G5WGYV.js";
12
12
  export {
package/dist/index.d.ts CHANGED
@@ -504,7 +504,7 @@ interface StatusPillProps extends React.HTMLAttributes<HTMLSpanElement>, Variant
504
504
  label: string;
505
505
  dot?: boolean;
506
506
  }
507
- /** @deprecated Use `Badge` instead: `<Badge variant="soft" leadingIcon={dot}>` covers it. Will be removed in 1.0. */
507
+ /** @deprecated Use `Badge` instead: `<Badge variant="soft" leadingIcon={dot}>` covers it. Deprecated since 1.1.0; removal planned in 3.0. */
508
508
  declare const StatusPill: React.ForwardRefExoticComponent<StatusPillProps & React.RefAttributes<HTMLSpanElement>>;
509
509
 
510
510
  interface FilterChipProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
@@ -538,7 +538,7 @@ interface TagProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<t
538
538
  * hover/press affordance on purpose; anything a user toggles, filters by or
539
539
  * removes is a `Chip` (control-shaped, `nx-state-layer`, optional remove button).
540
540
  *
541
- * @deprecated Use `Badge` instead: `<Badge size="sm">` covers it. Will be removed in 1.0.
541
+ * @deprecated Use `Badge` instead: `<Badge size="sm">` covers it. Deprecated since 1.1.0; removal planned in 3.0.
542
542
  */
543
543
  declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLSpanElement>>;
544
544
 
@@ -666,7 +666,7 @@ interface BannerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps
666
666
  action?: React.ReactNode;
667
667
  onClose?: () => void;
668
668
  }
669
- /** @deprecated Use `Alert` instead: `<Alert>` has the same props (tone, title, icon, action, onClose). Will be removed in 1.0. */
669
+ /** @deprecated Use `Alert` instead: `<Alert>` has the same props (tone, title, icon, action, onClose). Deprecated since 1.1.0; removal planned in 3.0. */
670
670
  declare const Banner: React.ForwardRefExoticComponent<BannerProps & React.RefAttributes<HTMLDivElement>>;
671
671
 
672
672
  declare const calloutVariants: (props?: ({
@@ -676,7 +676,7 @@ interface CalloutProps extends React.HTMLAttributes<HTMLDivElement>, VariantProp
676
676
  tone?: ToneValue;
677
677
  icon?: React.ReactNode;
678
678
  }
679
- /** @deprecated Use `Alert` instead: `<Alert>` covers tone + icon. Will be removed in 1.0. */
679
+ /** @deprecated Use `Alert` instead: `<Alert>` covers tone + icon. Deprecated since 1.1.0; removal planned in 3.0. */
680
680
  declare const Callout: React.ForwardRefExoticComponent<CalloutProps & React.RefAttributes<HTMLDivElement>>;
681
681
 
682
682
  declare const skeletonVariants: (props?: ({
package/dist/index.js CHANGED
@@ -1,11 +1,14 @@
1
1
  'use client';
2
+ import {
3
+ TopNav
4
+ } from "./chunk-ZVQYAIOA.js";
2
5
  import {
3
6
  Root
4
7
  } from "./chunk-ZXLACKEB.js";
5
8
  import {
6
- Banner,
7
- bannerVariants
8
- } from "./chunk-EA4JBLWK.js";
9
+ Textarea,
10
+ textareaVariants
11
+ } from "./chunk-BSKEBC2Q.js";
9
12
  import {
10
13
  ThemeProvider,
11
14
  ThemeScript,
@@ -33,8 +36,9 @@ import {
33
36
  } from "./chunk-2ZBJOUJ7.js";
34
37
  import "./chunk-XYXMPHND.js";
35
38
  import {
36
- TopNav
37
- } from "./chunk-ZVQYAIOA.js";
39
+ StatusPill,
40
+ statusPillVariants
41
+ } from "./chunk-77LYWSJW.js";
38
42
  import {
39
43
  StreamingText
40
44
  } from "./chunk-5QEARXY3.js";
@@ -57,27 +61,23 @@ import {
57
61
  TextGradient
58
62
  } from "./chunk-HH7EHNOW.js";
59
63
  import {
60
- Textarea,
61
- textareaVariants
62
- } from "./chunk-BSKEBC2Q.js";
64
+ Select
65
+ } from "./chunk-R6VLSYXK.js";
63
66
  import {
64
67
  Separator,
65
68
  separatorVariants
66
69
  } from "./chunk-CUOASXI7.js";
67
- import {
68
- Sidebar
69
- } from "./chunk-5HEMUXSR.js";
70
70
  import {
71
71
  Skeleton,
72
72
  skeletonVariants
73
73
  } from "./chunk-DGCAM2UJ.js";
74
- import {
75
- Slider
76
- } from "./chunk-TNBBQ7IP.js";
77
74
  import {
78
75
  Spinner,
79
76
  spinnerVariants
80
77
  } from "./chunk-P37ABUFD.js";
78
+ import {
79
+ Slider
80
+ } from "./chunk-TNBBQ7IP.js";
81
81
  import {
82
82
  SplitButton
83
83
  } from "./chunk-DFCHCYNT.js";
@@ -85,9 +85,11 @@ import {
85
85
  Stack
86
86
  } from "./chunk-I6CAF7C5.js";
87
87
  import {
88
- StatusPill,
89
- statusPillVariants
90
- } from "./chunk-77LYWSJW.js";
88
+ Sidebar
89
+ } from "./chunk-5HEMUXSR.js";
90
+ import {
91
+ PromptInput
92
+ } from "./chunk-VMMZHSZL.js";
91
93
  import {
92
94
  RadioCard,
93
95
  RadioCardGroup
@@ -114,8 +116,9 @@ import {
114
116
  } from "./chunk-3E7X3YK3.js";
115
117
  import "./chunk-6UKNUI46.js";
116
118
  import {
117
- Select
118
- } from "./chunk-R6VLSYXK.js";
119
+ useMergedRefs
120
+ } from "./chunk-MNEXMMLM.js";
121
+ import "./chunk-A3O23F2B.js";
119
122
  import {
120
123
  NumberInput
121
124
  } from "./chunk-7JXJOYM6.js";
@@ -138,11 +141,9 @@ import {
138
141
  progressTrackVariants
139
142
  } from "./chunk-PBPUSRTJ.js";
140
143
  import {
141
- PromptInput
142
- } from "./chunk-VMMZHSZL.js";
143
- import {
144
- useMergedRefs
145
- } from "./chunk-MNEXMMLM.js";
144
+ Logo,
145
+ logoVariants
146
+ } from "./chunk-6ECOCGZG.js";
146
147
  import {
147
148
  MediaCard
148
149
  } from "./chunk-3QD76BKT.js";
@@ -183,7 +184,7 @@ import {
183
184
  import {
184
185
  NavigationRail
185
186
  } from "./chunk-Q4CEJZY6.js";
186
- import "./chunk-A3O23F2B.js";
187
+ import "./chunk-PICMOOAZ.js";
187
188
  import "./chunk-ZT3NWE5U.js";
188
189
  import "./chunk-CAOLGXA5.js";
189
190
  import {
@@ -210,9 +211,8 @@ import {
210
211
  linkVariants
211
212
  } from "./chunk-6BGUZQAX.js";
212
213
  import {
213
- Logo,
214
- logoVariants
215
- } from "./chunk-6ECOCGZG.js";
214
+ FilterChip
215
+ } from "./chunk-NN7SNECM.js";
216
216
  import "./chunk-BV3U3ATL.js";
217
217
  import {
218
218
  Flex
@@ -220,7 +220,10 @@ import {
220
220
  import "./chunk-ADO2DB6Q.js";
221
221
  import {
222
222
  FormField
223
- } from "./chunk-LYOU2D5N.js";
223
+ } from "./chunk-G4RLUGE3.js";
224
+ import {
225
+ HelperText
226
+ } from "./chunk-ZLW7IBXK.js";
224
227
  import {
225
228
  Label,
226
229
  labelVariants
@@ -239,10 +242,6 @@ import {
239
242
  Heading,
240
243
  headingVariants
241
244
  } from "./chunk-SKIJVVBU.js";
242
- import "./chunk-PICMOOAZ.js";
243
- import {
244
- HelperText
245
- } from "./chunk-ZLW7IBXK.js";
246
245
  import {
247
246
  Dialog
248
247
  } from "./chunk-ZGZQZG6S.js";
@@ -250,6 +249,9 @@ import {
250
249
  Drawer,
251
250
  Sheet
252
251
  } from "./chunk-6ALDF3XF.js";
252
+ import {
253
+ Collapsible
254
+ } from "./chunk-3LP2CR7F.js";
253
255
  import "./chunk-HI7GBSW2.js";
254
256
  import {
255
257
  DropdownMenu
@@ -266,9 +268,6 @@ import {
266
268
  import {
267
269
  FileUpload
268
270
  } from "./chunk-D6HHYT2S.js";
269
- import {
270
- FilterChip
271
- } from "./chunk-NN7SNECM.js";
272
271
  import "./chunk-HY3JWSG4.js";
273
272
  import {
274
273
  CommandPalette
@@ -300,6 +299,10 @@ import {
300
299
  import {
301
300
  DatePicker
302
301
  } from "./chunk-5QZVFW4H.js";
302
+ import {
303
+ Callout,
304
+ calloutVariants
305
+ } from "./chunk-2DYKENBM.js";
303
306
  import {
304
307
  Card,
305
308
  CardLink,
@@ -313,10 +316,6 @@ import {
313
316
  import {
314
317
  Checkbox
315
318
  } from "./chunk-I4U36P54.js";
316
- import {
317
- CheckboxCard
318
- } from "./chunk-AT2DSFP3.js";
319
- import "./chunk-K5FKEAAK.js";
320
319
  import {
321
320
  Chip,
322
321
  chipVariants
@@ -330,12 +329,13 @@ import {
330
329
  import {
331
330
  HoverCard
332
331
  } from "./chunk-X3B2MTX6.js";
332
+ import {
333
+ CheckboxCard
334
+ } from "./chunk-AT2DSFP3.js";
335
+ import "./chunk-K5FKEAAK.js";
333
336
  import {
334
337
  Code
335
338
  } from "./chunk-DDRYT3SY.js";
336
- import {
337
- Collapsible
338
- } from "./chunk-3LP2CR7F.js";
339
339
  import "./chunk-IZ6ZPEZ2.js";
340
340
  import {
341
341
  AvatarGroup,
@@ -349,6 +349,10 @@ import {
349
349
  Badge,
350
350
  badgeVariants
351
351
  } from "./chunk-4P2JJ2FH.js";
352
+ import {
353
+ Banner,
354
+ bannerVariants
355
+ } from "./chunk-EA4JBLWK.js";
352
356
  import {
353
357
  Box
354
358
  } from "./chunk-M7YB3MSW.js";
@@ -360,10 +364,6 @@ import "./chunk-LVPU7455.js";
360
364
  import {
361
365
  ButtonGroup
362
366
  } from "./chunk-WHTLXQB6.js";
363
- import {
364
- Callout,
365
- calloutVariants
366
- } from "./chunk-2DYKENBM.js";
367
367
  import {
368
368
  Accordion
369
369
  } from "./chunk-T7RLPFGX.js";
@@ -371,13 +371,6 @@ import {
371
371
  Alert,
372
372
  alertVariants
373
373
  } from "./chunk-TXIJMUD5.js";
374
- import {
375
- Amount
376
- } from "./chunk-ZYR3R36N.js";
377
- import {
378
- NumberTicker
379
- } from "./chunk-2BAXCPQF.js";
380
- import "./chunk-R3SUPKKI.js";
381
374
  import {
382
375
  AlertDialog
383
376
  } from "./chunk-TSN6HYVY.js";
@@ -388,6 +381,13 @@ import {
388
381
  } from "./chunk-22BGPRJZ.js";
389
382
  import "./chunk-5W3AOOYS.js";
390
383
  import "./chunk-DEIBF3P7.js";
384
+ import {
385
+ Amount
386
+ } from "./chunk-ZYR3R36N.js";
387
+ import {
388
+ NumberTicker
389
+ } from "./chunk-2BAXCPQF.js";
390
+ import "./chunk-R3SUPKKI.js";
391
391
  import {
392
392
  AppShell
393
393
  } from "./chunk-56FERRWW.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexub/react",
3
- "version": "2.3.1",
3
+ "version": "2.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",
@@ -68,13 +68,13 @@
68
68
  "date-fns": "^4.4.0",
69
69
  "react-day-picker": "^9.14.0",
70
70
  "tailwind-merge": "^2.6.1",
71
- "@nexub/core": "2.3.1",
72
- "@nexub/icons": "2.3.1"
71
+ "@nexub/core": "2.4.0",
72
+ "@nexub/icons": "2.4.0"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "react": ">=18 <20",
76
76
  "react-dom": ">=18 <20",
77
- "@nexub/tokens": "^2.3.1"
77
+ "@nexub/tokens": "^2.4.0"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@playwright/test": "1.64.0",
@@ -99,8 +99,8 @@
99
99
  "vaul": "1.1.2",
100
100
  "vite": "^7.3.7",
101
101
  "vitest": "^5.0.5",
102
- "@nexub/themes": "2.3.1",
103
- "@nexub/tokens": "2.3.1"
102
+ "@nexub/themes": "2.4.0",
103
+ "@nexub/tokens": "2.4.0"
104
104
  },
105
105
  "scripts": {
106
106
  "build": "tsup && node scripts/check-dts.mjs",
@@ -1,13 +1,13 @@
1
1
  'use client';
2
+ import {
3
+ HelperText
4
+ } from "./chunk-ZLW7IBXK.js";
2
5
  import {
3
6
  Label
4
7
  } from "./chunk-PGD246WD.js";
5
8
  import {
6
9
  FormError
7
10
  } from "./chunk-QVTVDL6Y.js";
8
- import {
9
- HelperText
10
- } from "./chunk-ZLW7IBXK.js";
11
11
  import {
12
12
  cn
13
13
  } from "./chunk-Q7G5WGYV.js";