@nexub/react 2.3.0 → 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.
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
@@ -67,26 +67,26 @@ import {
67
67
  Separator,
68
68
  separatorVariants
69
69
  } from "./chunk-CUOASXI7.js";
70
- import {
71
- Sidebar
72
- } from "./chunk-5HEMUXSR.js";
73
70
  import {
74
71
  Skeleton,
75
72
  skeletonVariants
76
73
  } from "./chunk-DGCAM2UJ.js";
77
- import {
78
- Slider
79
- } from "./chunk-TNBBQ7IP.js";
80
74
  import {
81
75
  Spinner,
82
76
  spinnerVariants
83
77
  } from "./chunk-P37ABUFD.js";
78
+ import {
79
+ Slider
80
+ } from "./chunk-TNBBQ7IP.js";
84
81
  import {
85
82
  SplitButton
86
83
  } from "./chunk-DFCHCYNT.js";
87
84
  import {
88
85
  Stack
89
86
  } from "./chunk-I6CAF7C5.js";
87
+ import {
88
+ Sidebar
89
+ } from "./chunk-5HEMUXSR.js";
90
90
  import {
91
91
  PromptInput
92
92
  } from "./chunk-VMMZHSZL.js";
@@ -242,9 +242,6 @@ import {
242
242
  Heading,
243
243
  headingVariants
244
244
  } from "./chunk-SKIJVVBU.js";
245
- import {
246
- DateRangePicker
247
- } from "./chunk-KFU2ENV6.js";
248
245
  import {
249
246
  Dialog
250
247
  } from "./chunk-ZGZQZG6S.js";
@@ -252,6 +249,9 @@ import {
252
249
  Drawer,
253
250
  Sheet
254
251
  } from "./chunk-6ALDF3XF.js";
252
+ import {
253
+ Collapsible
254
+ } from "./chunk-3LP2CR7F.js";
255
255
  import "./chunk-HI7GBSW2.js";
256
256
  import {
257
257
  DropdownMenu
@@ -268,9 +268,6 @@ import {
268
268
  import {
269
269
  FileUpload
270
270
  } from "./chunk-D6HHYT2S.js";
271
- import {
272
- Collapsible
273
- } from "./chunk-3LP2CR7F.js";
274
271
  import "./chunk-HY3JWSG4.js";
275
272
  import {
276
273
  CommandPalette
@@ -296,6 +293,9 @@ import {
296
293
  Table
297
294
  } from "./chunk-BU5QD2FS.js";
298
295
  import "./chunk-52ZVJPF7.js";
296
+ import {
297
+ DateRangePicker
298
+ } from "./chunk-KFU2ENV6.js";
299
299
  import {
300
300
  DatePicker
301
301
  } from "./chunk-5QZVFW4H.js";
@@ -316,10 +316,6 @@ import {
316
316
  import {
317
317
  Checkbox
318
318
  } from "./chunk-I4U36P54.js";
319
- import {
320
- CheckboxCard
321
- } from "./chunk-AT2DSFP3.js";
322
- import "./chunk-K5FKEAAK.js";
323
319
  import {
324
320
  Chip,
325
321
  chipVariants
@@ -333,6 +329,10 @@ import {
333
329
  import {
334
330
  HoverCard
335
331
  } from "./chunk-X3B2MTX6.js";
332
+ import {
333
+ CheckboxCard
334
+ } from "./chunk-AT2DSFP3.js";
335
+ import "./chunk-K5FKEAAK.js";
336
336
  import {
337
337
  Code
338
338
  } from "./chunk-DDRYT3SY.js";
@@ -367,6 +367,10 @@ import {
367
367
  import {
368
368
  Accordion
369
369
  } from "./chunk-T7RLPFGX.js";
370
+ import {
371
+ Alert,
372
+ alertVariants
373
+ } from "./chunk-TXIJMUD5.js";
370
374
  import {
371
375
  AlertDialog
372
376
  } from "./chunk-TSN6HYVY.js";
@@ -387,10 +391,6 @@ import "./chunk-R3SUPKKI.js";
387
391
  import {
388
392
  AppShell
389
393
  } from "./chunk-56FERRWW.js";
390
- import {
391
- Alert,
392
- alertVariants
393
- } from "./chunk-TXIJMUD5.js";
394
394
  import {
395
395
  AspectRatio
396
396
  } from "./chunk-S2CTBFLN.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexub/react",
3
- "version": "2.3.0",
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.0",
72
- "@nexub/icons": "2.3.0"
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.0"
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.0",
103
- "@nexub/tokens": "2.3.0"
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",