@nexub/react 2.7.0 → 2.9.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,4 +1,7 @@
1
1
  'use client';
2
+ import {
3
+ useControllableState
4
+ } from "./chunk-JLUCMNVS.js";
2
5
  import {
3
6
  Input
4
7
  } from "./chunk-G7VMAWAX.js";
@@ -14,14 +17,18 @@ import * as React from "react";
14
17
  import { Eye, EyeOff } from "@nexub/icons";
15
18
  import { jsx } from "react/jsx-runtime";
16
19
  var PasswordInput = React.forwardRef(
17
- ({ className, ...props }, ref) => {
18
- const [showPassword, setShowPassword] = React.useState(false);
20
+ ({ className, visible, defaultVisible = false, onVisibleChange, ...props }, ref) => {
21
+ const [showPassword = false, setShowPassword] = useControllableState({
22
+ value: visible,
23
+ defaultValue: defaultVisible,
24
+ onChange: onVisibleChange
25
+ });
19
26
  const messages = useNexubMessages();
20
27
  const toggleButton = /* @__PURE__ */ jsx(
21
28
  "button",
22
29
  {
23
30
  type: "button",
24
- onClick: () => setShowPassword((prev) => !prev),
31
+ onClick: () => setShowPassword(!showPassword),
25
32
  "aria-label": showPassword ? messages.hidePassword : messages.showPassword,
26
33
  className: cn(
27
34
  "shrink-0 rounded-full text-[var(--color-on-surface-muted)] hover:text-[var(--color-on-surface)] transition-colors"
@@ -149,7 +149,7 @@ var DatePicker = React.forwardRef(
149
149
  },
150
150
  startMonth: minDate,
151
151
  endMonth: maxDate,
152
- initialFocus: true,
152
+ autoFocus: true,
153
153
  showOutsideDays: true,
154
154
  className: "relative p-3",
155
155
  classNames: calendarClassNames,
@@ -1,4 +1,7 @@
1
1
  'use client';
2
+ import {
3
+ useControllableState
4
+ } from "./chunk-JLUCMNVS.js";
2
5
  import {
3
6
  Input
4
7
  } from "./chunk-G7VMAWAX.js";
@@ -15,19 +18,18 @@ import { Search, X } from "@nexub/icons";
15
18
  import { jsx } from "react/jsx-runtime";
16
19
  var SearchInput = React.forwardRef(
17
20
  ({ value, defaultValue: _defaultValue, onChange, onClear, className, ...props }, ref) => {
18
- const [internalValue, setInternalValue] = React.useState(
19
- _defaultValue ?? ""
20
- );
21
- const controlled = value !== void 0;
22
- const currentValue = controlled ? String(value) : internalValue;
21
+ const [currentValue = "", setValue] = useControllableState({
22
+ value: value === void 0 ? void 0 : String(value),
23
+ defaultValue: _defaultValue
24
+ });
23
25
  const hasValue = currentValue.length > 0;
24
26
  const handleChange = (e) => {
25
- if (!controlled) setInternalValue(e.target.value);
27
+ setValue(e.target.value);
26
28
  onChange?.(e);
27
29
  };
28
30
  const messages = useNexubMessages();
29
31
  const handleClear = () => {
30
- if (!controlled) setInternalValue("");
32
+ setValue("");
31
33
  onClear?.();
32
34
  };
33
35
  const clearButton = hasValue ? /* @__PURE__ */ jsx(
@@ -47,7 +49,7 @@ var SearchInput = React.forwardRef(
47
49
  {
48
50
  ref,
49
51
  type: "search",
50
- value: controlled ? value : internalValue,
52
+ value: currentValue,
51
53
  onChange: handleChange,
52
54
  className,
53
55
  leadingIcon: /* @__PURE__ */ jsx(Search, { className: "h-4 w-4", "aria-hidden": "true" }),
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import {
3
3
  useCalendarLocale
4
- } from "./chunk-V6EYICEY.js";
4
+ } from "./chunk-OY5CWWIM.js";
5
5
  import {
6
6
  floatingSurface
7
7
  } from "./chunk-5FWJXSXT.js";
@@ -125,7 +125,7 @@ var DateRangePicker = React.forwardRef(function DateRangePicker2({
125
125
  numberOfMonths: 2,
126
126
  startMonth: minDate,
127
127
  endMonth: maxDate,
128
- initialFocus: true,
128
+ autoFocus: true,
129
129
  showOutsideDays: false,
130
130
  className: "relative p-3",
131
131
  classNames: calendarClassNames,
@@ -2,9 +2,9 @@
2
2
  import {
3
3
  AvatarGroup,
4
4
  avatarGroupVariants
5
- } from "../../chunk-SE74BBBF.js";
6
- import "../../chunk-VMSWIC3O.js";
5
+ } from "../../chunk-BMUAR6H2.js";
7
6
  import "../../chunk-AYG7HBDZ.js";
7
+ import "../../chunk-VMSWIC3O.js";
8
8
  import "../../chunk-WRVFNYO3.js";
9
9
  export {
10
10
  AvatarGroup,
@@ -2,7 +2,7 @@
2
2
  import "../../chunk-52ZVJPF7.js";
3
3
  import {
4
4
  DatePicker
5
- } from "../../chunk-V6EYICEY.js";
5
+ } from "../../chunk-OY5CWWIM.js";
6
6
  import "../../chunk-5FWJXSXT.js";
7
7
  import "../../chunk-VALIDQXU.js";
8
8
  import "../../chunk-VMSWIC3O.js";
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
  import {
3
3
  DateRangePicker
4
- } from "../../chunk-WRJLWNUO.js";
5
- import "../../chunk-V6EYICEY.js";
4
+ } from "../../chunk-YYAXXJH3.js";
5
+ import "../../chunk-OY5CWWIM.js";
6
6
  import "../../chunk-5FWJXSXT.js";
7
7
  import "../../chunk-VALIDQXU.js";
8
8
  import "../../chunk-VMSWIC3O.js";
@@ -1,10 +1,10 @@
1
1
  'use client';
2
2
  import {
3
3
  FormField
4
- } from "../../chunk-FT73REUG.js";
4
+ } from "../../chunk-FRGFO4DS.js";
5
+ import "../../chunk-QKGQBJ4U.js";
5
6
  import "../../chunk-BM5PGGK2.js";
6
7
  import "../../chunk-H2X6MSNY.js";
7
- import "../../chunk-QKGQBJ4U.js";
8
8
  import "../../chunk-GHLMHKMV.js";
9
9
  import "../../chunk-VALIDQXU.js";
10
10
  import "../../chunk-DEIBF3P7.js";
@@ -1,7 +1,9 @@
1
1
  'use client';
2
2
  import {
3
3
  PasswordInput
4
- } from "../../chunk-47UV6BDO.js";
4
+ } from "../../chunk-OGHOT6XN.js";
5
+ import "../../chunk-JLUCMNVS.js";
6
+ import "../../chunk-NHUQLIHL.js";
5
7
  import "../../chunk-G7VMAWAX.js";
6
8
  import "../../chunk-VALIDQXU.js";
7
9
  import "../../chunk-VMSWIC3O.js";
@@ -1,7 +1,9 @@
1
1
  'use client';
2
2
  import {
3
3
  SearchInput
4
- } from "../../chunk-52A6VSFK.js";
4
+ } from "../../chunk-YVS6AVPD.js";
5
+ import "../../chunk-JLUCMNVS.js";
6
+ import "../../chunk-NHUQLIHL.js";
5
7
  import "../../chunk-G7VMAWAX.js";
6
8
  import "../../chunk-VALIDQXU.js";
7
9
  import "../../chunk-VMSWIC3O.js";
@@ -1,13 +1,13 @@
1
1
  'use client';
2
2
  import {
3
3
  SplitButton
4
- } from "../../chunk-6P5O7HIA.js";
4
+ } from "../../chunk-ILIM4BLN.js";
5
5
  import "../../chunk-GWFIMQBC.js";
6
+ import "../../chunk-7EQ2LIYD.js";
6
7
  import "../../chunk-5FWJXSXT.js";
7
8
  import "../../chunk-GHLMHKMV.js";
8
9
  import "../../chunk-VALIDQXU.js";
9
10
  import "../../chunk-DEIBF3P7.js";
10
- import "../../chunk-7EQ2LIYD.js";
11
11
  import "../../chunk-WRVFNYO3.js";
12
12
  export {
13
13
  SplitButton
package/dist/index.d.ts CHANGED
@@ -34,6 +34,9 @@ export { DateRange } from 'react-day-picker';
34
34
 
35
35
  declare function cn(...inputs: ClassValue[]): string;
36
36
 
37
+ /** The shared size scale. Components with extra steps extend it (`Size | 'display'`). */
38
+ type Size = 'sm' | 'md' | 'lg';
39
+
37
40
  /**
38
41
  * Run a DOM update as a view transition (styles: @nexub/themes/view-transitions).
39
42
  * Where the API is missing, or on the server, the update just runs.
@@ -255,8 +258,8 @@ declare function useLocale(): {
255
258
  };
256
259
 
257
260
  declare const buttonVariants: (props?: ({
258
- variant?: "accent" | "text" | "link" | "outline" | "glass" | "ghost" | "subtle" | "filled" | "tonal" | "outlined" | "primary" | "secondary" | "destructive" | null | undefined;
259
- size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
261
+ variant?: "glass" | "text" | "filled" | "tonal" | "outlined" | "primary" | "secondary" | "subtle" | "outline" | "ghost" | "destructive" | "accent" | "link" | null | undefined;
262
+ size?: "sm" | "md" | "xs" | "lg" | "xl" | null | undefined;
260
263
  fullWidth?: boolean | null | undefined;
261
264
  } & class_variance_authority_types.ClassProp) | undefined) => string;
262
265
  type ButtonStatus = 'idle' | 'loading' | 'success' | 'error';
@@ -301,8 +304,8 @@ interface SplitButtonProps extends Omit<ButtonProps, 'asChild' | 'trailingIcon'
301
304
  declare const SplitButton: React.ForwardRefExoticComponent<SplitButtonProps & React.RefAttributes<HTMLButtonElement>>;
302
305
 
303
306
  declare const iconButtonVariants: (props?: ({
304
- variant?: "outline" | "solid" | "ghost" | "subtle" | null | undefined;
305
- size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
307
+ variant?: "solid" | "subtle" | "outline" | "ghost" | null | undefined;
308
+ size?: "sm" | "md" | "xs" | "lg" | "xl" | null | undefined;
306
309
  } & class_variance_authority_types.ClassProp) | undefined) => string;
307
310
  interface IconButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof iconButtonVariants> {
308
311
  label: string;
@@ -333,7 +336,7 @@ declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttri
333
336
  declare const textareaVariants: (props?: ({
334
337
  size?: "sm" | "md" | "lg" | null | undefined;
335
338
  invalid?: boolean | null | undefined;
336
- resize?: "none" | "both" | "horizontal" | "vertical" | null | undefined;
339
+ resize?: "horizontal" | "vertical" | "none" | "both" | null | undefined;
337
340
  } & class_variance_authority_types.ClassProp) | undefined) => string;
338
341
  interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'size'>, VariantProps<typeof textareaVariants> {
339
342
  invalid?: boolean;
@@ -343,7 +346,7 @@ interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaEl
343
346
  declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
344
347
 
345
348
  interface NumberInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'value' | 'defaultValue' | 'onChange' | 'type' | 'size'> {
346
- size?: 'sm' | 'md' | 'lg';
349
+ size?: Size;
347
350
  min?: number;
348
351
  max?: number;
349
352
  step?: number;
@@ -381,7 +384,7 @@ interface AmountProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, 'child
381
384
  /** BCP 47 locale. Defaults to the user's. */
382
385
  locale?: string;
383
386
  /** `display`: a hero figure in the brand face with a quieter symbol and minor units. */
384
- size?: 'sm' | 'md' | 'lg' | 'display';
387
+ size?: Size | 'display';
385
388
  /** `auto` colours gains success and losses error (use with signDisplay). */
386
389
  tone?: 'neutral' | 'auto';
387
390
  /** e.g. 'exceptZero' to show "+" on gains. */
@@ -421,7 +424,12 @@ interface SearchInputProps extends Omit<InputProps, 'leadingIcon' | 'trailingIco
421
424
  }
422
425
  declare const SearchInput: React.ForwardRefExoticComponent<SearchInputProps & React.RefAttributes<HTMLInputElement>>;
423
426
 
424
- type PasswordInputProps = Omit<InputProps, 'type' | 'trailingIcon'>;
427
+ interface PasswordInputProps extends Omit<InputProps, 'type' | 'trailingIcon'> {
428
+ /** Whether the password is shown as text. Controlled when set. */
429
+ visible?: boolean;
430
+ defaultVisible?: boolean;
431
+ onVisibleChange?: (visible: boolean) => void;
432
+ }
425
433
  declare const PasswordInput: React.ForwardRefExoticComponent<PasswordInputProps & React.RefAttributes<HTMLInputElement>>;
426
434
 
427
435
  declare const labelVariants: (props?: ({
@@ -429,7 +437,7 @@ declare const labelVariants: (props?: ({
429
437
  disabled?: boolean | null | undefined;
430
438
  } & class_variance_authority_types.ClassProp) | undefined) => string;
431
439
  interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement>, VariantProps<typeof labelVariants> {
432
- size?: 'sm' | 'md' | 'lg';
440
+ size?: Size;
433
441
  required?: boolean;
434
442
  disabled?: boolean;
435
443
  tone?: ToneValue;
@@ -488,7 +496,7 @@ declare const FormField: {
488
496
 
489
497
  declare const badgeVariants: (props?: ({
490
498
  size?: "sm" | "md" | "lg" | null | undefined;
491
- variant?: "outline" | "solid" | "soft" | null | undefined;
499
+ variant?: "solid" | "outline" | "soft" | null | undefined;
492
500
  } & class_variance_authority_types.ClassProp) | undefined) => string;
493
501
  interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
494
502
  tone?: ToneValue;
@@ -549,7 +557,7 @@ interface EyebrowChipProps extends React.HTMLAttributes<HTMLSpanElement> {
549
557
  declare const EyebrowChip: React.ForwardRefExoticComponent<EyebrowChipProps & React.RefAttributes<HTMLSpanElement>>;
550
558
 
551
559
  declare const avatarVariants: (props?: ({
552
- size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
560
+ size?: "sm" | "md" | "xs" | "lg" | "xl" | null | undefined;
553
561
  } & class_variance_authority_types.ClassProp) | undefined) => string;
554
562
  interface AvatarProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof avatarVariants> {
555
563
  src?: string;
@@ -571,7 +579,7 @@ interface AvatarGroupProps extends React.HTMLAttributes<HTMLDivElement>, Variant
571
579
  declare const AvatarGroup: React.ForwardRefExoticComponent<AvatarGroupProps & React.RefAttributes<HTMLDivElement>>;
572
580
 
573
581
  declare const cardVariants: (props?: ({
574
- variant?: "flat" | "surface" | "interactive" | null | undefined;
582
+ variant?: "surface" | "flat" | "interactive" | null | undefined;
575
583
  surface?: "solid" | "glass" | null | undefined;
576
584
  } & class_variance_authority_types.ClassProp) | undefined) => string;
577
585
  interface CardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
@@ -693,7 +701,7 @@ interface SkeletonProps extends React.HTMLAttributes<HTMLSpanElement>, VariantPr
693
701
  declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLSpanElement>>;
694
702
 
695
703
  declare const spinnerVariants: (props?: ({
696
- size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
704
+ size?: "sm" | "md" | "xs" | "lg" | "xl" | null | undefined;
697
705
  tone?: "neutral" | "info" | "success" | "warning" | "danger" | "leap" | "bookub" | "payub" | "founderub" | null | undefined;
698
706
  } & class_variance_authority_types.ClassProp) | undefined) => string;
699
707
  interface SpinnerProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof spinnerVariants> {
@@ -789,7 +797,7 @@ declare const Container: React.ForwardRefExoticComponent<ContainerProps & React.
789
797
 
790
798
  declare const sectionVariants: (props?: ({
791
799
  paddingY?: "sm" | "md" | "lg" | null | undefined;
792
- tone?: "default" | "subtle" | "muted" | "inverse" | null | undefined;
800
+ tone?: "subtle" | "default" | "muted" | "inverse" | null | undefined;
793
801
  } & class_variance_authority_types.ClassProp) | undefined) => string;
794
802
  interface SectionProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof sectionVariants> {
795
803
  asChild?: boolean;
@@ -838,7 +846,7 @@ declare const AspectRatio: React.ForwardRefExoticComponent<AspectRatioProps & Re
838
846
 
839
847
  declare const headingVariants: (props?: ({
840
848
  size?: "display" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | null | undefined;
841
- weight?: "bold" | "regular" | "medium" | "semibold" | "extrabold" | null | undefined;
849
+ weight?: "regular" | "medium" | "semibold" | "bold" | "extrabold" | null | undefined;
842
850
  } & class_variance_authority_types.ClassProp) | undefined) => string;
843
851
  type HeadingSize = 'display' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
844
852
  type HeadingWeight = 'regular' | 'medium' | 'semibold' | 'bold' | 'extrabold';
@@ -852,9 +860,9 @@ interface HeadingProps extends React.HTMLAttributes<HTMLHeadingElement> {
852
860
  declare const Heading: React.ForwardRefExoticComponent<HeadingProps & React.RefAttributes<HTMLHeadingElement>>;
853
861
 
854
862
  declare const textVariants: (props?: ({
855
- size?: "body" | "label" | "caption" | "body-lg" | "body-sm" | null | undefined;
856
- tone?: "default" | "subtle" | "secondary" | "muted" | "inverse" | null | undefined;
857
- weight?: "bold" | "regular" | "medium" | "semibold" | null | undefined;
863
+ size?: "label" | "body" | "caption" | "body-lg" | "body-sm" | null | undefined;
864
+ tone?: "secondary" | "subtle" | "default" | "muted" | "inverse" | null | undefined;
865
+ weight?: "regular" | "medium" | "semibold" | "bold" | null | undefined;
858
866
  } & class_variance_authority_types.ClassProp) | undefined) => string;
859
867
  interface TextProps extends React.HTMLAttributes<HTMLParagraphElement>, VariantProps<typeof textVariants> {
860
868
  asChild?: boolean;
@@ -879,14 +887,14 @@ declare const Logo: React.ForwardRefExoticComponent<LogoProps & React.RefAttribu
879
887
 
880
888
  interface FlagProps extends React.HTMLAttributes<HTMLSpanElement> {
881
889
  code: string;
882
- size?: 'sm' | 'md' | 'lg';
890
+ size?: Size;
883
891
  }
884
892
  declare const Flag: React.ForwardRefExoticComponent<FlagProps & React.RefAttributes<HTMLSpanElement>>;
885
893
 
886
894
  interface CountryBadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
887
895
  code: string;
888
896
  label?: string;
889
- size?: 'sm' | 'md' | 'lg';
897
+ size?: Size;
890
898
  }
891
899
  declare const CountryBadge: React.ForwardRefExoticComponent<CountryBadgeProps & React.RefAttributes<HTMLSpanElement>>;
892
900
 
@@ -898,7 +906,7 @@ declare const KeyboardShortcut: React.ForwardRefExoticComponent<KeyboardShortcut
898
906
  type SurfaceValue = 'solid' | 'glass';
899
907
 
900
908
  interface ContentProps extends DialogPrimitive.DialogContentProps {
901
- size?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
909
+ size?: Size | 'xl' | 'full';
902
910
  surface?: SurfaceValue;
903
911
  }
904
912
  declare const Dialog: {
@@ -1146,11 +1154,11 @@ declare const Combobox: {
1146
1154
  disablePointerSelection?: boolean;
1147
1155
  vimBindings?: boolean;
1148
1156
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1149
- Input: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
1157
+ Input: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof React.InputHTMLAttributes<HTMLInputElement> | "key"> & {
1150
1158
  ref?: React.Ref<HTMLInputElement>;
1151
1159
  } & {
1152
1160
  asChild?: boolean;
1153
- }, "asChild" | "key" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "value" | "onChange" | "type"> & {
1161
+ }, "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement> | "key">, "value" | "onChange" | "type"> & {
1154
1162
  value?: string;
1155
1163
  onValueChange?: (search: string) => void;
1156
1164
  } & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
@@ -1244,7 +1252,7 @@ interface SliderProps extends RadixSlider.SliderProps {
1244
1252
  declare const Slider: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<HTMLSpanElement>>;
1245
1253
 
1246
1254
  declare const toggleVariants: (props?: ({
1247
- variant?: "default" | "outline" | null | undefined;
1255
+ variant?: "outline" | "default" | null | undefined;
1248
1256
  size?: "sm" | "md" | "lg" | null | undefined;
1249
1257
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1250
1258
  interface ToggleProps extends RadixToggle.ToggleProps, VariantProps<typeof toggleVariants> {
@@ -1258,13 +1266,13 @@ type RootProps$1 = (RadixToggleGroup.ToggleGroupSingleProps | RadixToggleGroup.T
1258
1266
  declare const ToggleGroup: {
1259
1267
  Root: React.ForwardRefExoticComponent<RootProps$1 & React.RefAttributes<HTMLDivElement>>;
1260
1268
  Item: React.ForwardRefExoticComponent<RadixToggleGroup.ToggleGroupItemProps & VariantProps<(props?: ({
1261
- variant?: "default" | "outline" | null | undefined;
1269
+ variant?: "outline" | "default" | null | undefined;
1262
1270
  size?: "sm" | "md" | "lg" | null | undefined;
1263
1271
  } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
1264
1272
  };
1265
1273
 
1266
1274
  interface SegmentedControlProps extends Omit<RadixToggleGroup.ToggleGroupSingleProps, 'type'> {
1267
- size?: 'sm' | 'md' | 'lg';
1275
+ size?: Size;
1268
1276
  }
1269
1277
  interface SegmentedControlItemProps extends RadixToggleGroup.ToggleGroupItemProps {
1270
1278
  }
@@ -1502,11 +1510,11 @@ interface CommandPaletteRootProps extends DialogPrimitive.DialogProps {
1502
1510
  }
1503
1511
  declare const CommandPalette: {
1504
1512
  Root: React.ForwardRefExoticComponent<CommandPaletteRootProps & React.RefAttributes<HTMLDivElement>>;
1505
- Input: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
1513
+ Input: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof React.InputHTMLAttributes<HTMLInputElement> | "key"> & {
1506
1514
  ref?: React.Ref<HTMLInputElement>;
1507
1515
  } & {
1508
1516
  asChild?: boolean;
1509
- }, "asChild" | "key" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "value" | "onChange" | "type"> & {
1517
+ }, "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement> | "key">, "value" | "onChange" | "type"> & {
1510
1518
  value?: string;
1511
1519
  onValueChange?: (search: string) => void;
1512
1520
  } & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
@@ -1888,4 +1896,5 @@ declare const SkeletonSwap: React.ForwardRefExoticComponent<SkeletonSwapProps &
1888
1896
  /** True when the user asked the OS for reduced motion. False during SSR. */
1889
1897
  declare function usePrefersReducedMotion(): boolean;
1890
1898
 
1891
- export { Accordion, Alert, AlertDialog, type AlertProps, Amount, type AmountProps, AppShell, AspectRatio, type AspectRatioProps, Autocomplete, type AutocompleteOption, type AutocompleteProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, Banner, type BannerProps, Box, type BoxProps, Breadcrumb, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonStatus, Callout, type CalloutProps, Card, CardLink, type CardLinkProps, type CardProps, CheckList, CheckListItem, type CheckListItemProps, type CheckListProps, Checkbox, CheckboxCard, type CheckboxCardProps, type CheckboxProps, Chip, type ChipProps, Citation, type CitationMessages, type CitationProps, type CitationSource, Code, type CodeProps, Collapse, type CollapseProps, Collapsible, Combobox, CommandPalette, type CommandPaletteRootProps, Container, type ContainerProps, ContextMenu, CountryBadge, type CountryBadgeProps, DataTable, type DataTableColumn, type DataTableProps, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, Dialog, Drawer, type DrawerRootProps, DropdownMenu, EmptyState, ErrorState, type ErrorStateProps, EyebrowChip, type EyebrowChipProps, Fade, type FadeProps, type Feedback, FileUpload, type FileUploadRootProps, FilterChip, type FilterChipProps, Flag, type FlagProps, Flex, type FlexProps, FormError, type FormErrorProps, FormField, type FormFieldContextValue, type FormFieldRootProps, GradientDivider, type GradientDividerProps, Grid, type GridProps, Heading, type HeadingProps, HelperText, type HelperTextProps, HoverCard, IconButton, type IconButtonProps, Input, type InputProps, Kbd, type KbdProps, KeyboardShortcut, type KeyboardShortcutProps, Label, type LabelProps, Link, type LinkProps, ListTransition, type ListTransitionProps, Logo, type LogoProps, MediaCard, type MediaCardProps, type MediaCardRatio, Menubar, MessageActions, type MessageActionsProps, MessageBubble, type MessageBubbleProps, type MessageFrom, type MessageStrings, MoneyInput, type MoneyInputProps, type MotionBaseProps, type MotionDuration, type MotionEasing, NavigationMenu, NavigationRail, type NavigationRailItemProps, type NavigationRailRootProps, NexubProvider, type NexubProviderProps, NumberInput, type NumberInputProps, NumberTicker, type NumberTickerPart, type NumberTickerProps, PageHeader, type PageHeaderProps, Pagination, type PaginationProps, PasswordInput, type PasswordInputProps, Popover, Progress, type ProgressProps, PromptInput, type PromptInputMessages, type PromptInputProps, type PromptInputStatus, RadioCard, RadioCardGroup, type RadioCardGroupProps, type RadioCardProps, RadioGroup, Rating, type RatingProps, Scale, type ScaleProps, ScrollArea, type ScrollAreaProps, SearchInput, type SearchInputProps, Section, type SectionProps, SegmentedControl, type SegmentedControlItemProps, type SegmentedControlProps, Select, Separator, type SeparatorProps, Sheet, Sidebar, type SidebarGroupProps, type SidebarHeaderProps, type SidebarItemProps, type SidebarRootProps, Skeleton, type SkeletonProps, SkeletonSwap, type SkeletonSwapProps, Slide, type SlideDirection, type SlideProps, Slider, type SliderProps, SourceChip, type SourceChipProps, SourceList, type SourceListProps, Spinner, type SpinnerProps, SplitButton, type SplitButtonProps, Stack, type StackProps, StatusPill, type StatusPillProps, StreamingText, type StreamingTextProps, Switch, type SwitchProps, Table, type TableRootProps, Tabs, Tag, type TagProps, Text, TextGradient, type TextGradientProps, type TextProps, Textarea, type TextareaProps, type ThemeContextValue, type ThemeMode, ThemeProvider, type ThemeProviderProps, ThemeScript, type ThemeScriptProps, ThinkingIndicator, type ThinkingIndicatorMessages, type ThinkingIndicatorProps, Toast, type ToastItem, Toaster, type ToasterProps, Toggle, ToggleGroup, type ToggleProps, Toolbar, type ToolbarRootProps, Tooltip, Provider$1 as TooltipProvider, TopNav, type TopNavItemProps, type TopNavRootProps, type UndoableToastOptions, addonVariants, alertVariants, avatarGroupVariants, avatarVariants, badgeVariants, bannerVariants, buttonVariants, calloutVariants, cardVariants, chipVariants, cn, containerVariants, defaultMessageStrings, headingVariants, iconButtonVariants, inputVariants, inputWrapperVariants, labelVariants, linkVariants, logoVariants, progressFillVariants, progressTrackVariants, ratingVariants, safeUrl, sectionVariants, separatorVariants, skeletonVariants, spinnerVariants, startViewTransition, statusPillVariants, tagVariants, textVariants, textareaVariants, toast, toggleVariants, useControllableState, useDisclosure, useIsomorphicLayoutEffect, useLocale, useMediaQuery, useMergedRefs, useNexubMessages, usePointerSheen, usePrefersReducedMotion, useTheme, useToastStore };
1899
+ export { Accordion, Alert, AlertDialog, Amount, AppShell, AspectRatio, Autocomplete, Avatar, AvatarGroup, Badge, Banner, Box, Breadcrumb, Button, ButtonGroup, Callout, Card, CardLink, CheckList, CheckListItem, Checkbox, CheckboxCard, Chip, Citation, Code, Collapse, Collapsible, Combobox, CommandPalette, Container, ContextMenu, CountryBadge, DataTable, DatePicker, DateRangePicker, Dialog, Drawer, DropdownMenu, EmptyState, ErrorState, EyebrowChip, Fade, FileUpload, FilterChip, Flag, Flex, FormError, FormField, GradientDivider, Grid, Heading, HelperText, HoverCard, IconButton, Input, Kbd, KeyboardShortcut, Label, Link, ListTransition, Logo, MediaCard, Menubar, MessageActions, MessageBubble, MoneyInput, NavigationMenu, NavigationRail, NexubProvider, NumberInput, NumberTicker, PageHeader, Pagination, PasswordInput, Popover, Progress, PromptInput, RadioCard, RadioCardGroup, RadioGroup, Rating, Scale, ScrollArea, SearchInput, Section, SegmentedControl, Select, Separator, Sheet, Sidebar, Skeleton, SkeletonSwap, Slide, Slider, SourceChip, SourceList, Spinner, SplitButton, Stack, StatusPill, StreamingText, Switch, Table, Tabs, Tag, Text, TextGradient, Textarea, ThemeProvider, ThemeScript, ThinkingIndicator, Toast, Toaster, Toggle, ToggleGroup, Toolbar, Tooltip, Provider$1 as TooltipProvider, TopNav, addonVariants, alertVariants, avatarGroupVariants, avatarVariants, badgeVariants, bannerVariants, buttonVariants, calloutVariants, cardVariants, chipVariants, cn, containerVariants, defaultMessageStrings, headingVariants, iconButtonVariants, inputVariants, inputWrapperVariants, labelVariants, linkVariants, logoVariants, progressFillVariants, progressTrackVariants, ratingVariants, safeUrl, sectionVariants, separatorVariants, skeletonVariants, spinnerVariants, startViewTransition, statusPillVariants, tagVariants, textVariants, textareaVariants, toast, toggleVariants, useControllableState, useDisclosure, useIsomorphicLayoutEffect, useLocale, useMediaQuery, useMergedRefs, useNexubMessages, usePointerSheen, usePrefersReducedMotion, useTheme, useToastStore };
1900
+ export type { AlertProps, AmountProps, AspectRatioProps, AutocompleteOption, AutocompleteProps, AvatarGroupProps, AvatarProps, BadgeProps, BannerProps, BoxProps, ButtonGroupProps, ButtonProps, ButtonStatus, CalloutProps, CardLinkProps, CardProps, CheckListItemProps, CheckListProps, CheckboxCardProps, CheckboxProps, ChipProps, CitationMessages, CitationProps, CitationSource, CodeProps, CollapseProps, CommandPaletteRootProps, ContainerProps, CountryBadgeProps, DataTableColumn, DataTableProps, DatePickerProps, DateRangePickerProps, DrawerRootProps, ErrorStateProps, EyebrowChipProps, FadeProps, Feedback, FileUploadRootProps, FilterChipProps, FlagProps, FlexProps, FormErrorProps, FormFieldContextValue, FormFieldRootProps, GradientDividerProps, GridProps, HeadingProps, HelperTextProps, IconButtonProps, InputProps, KbdProps, KeyboardShortcutProps, LabelProps, LinkProps, ListTransitionProps, LogoProps, MediaCardProps, MediaCardRatio, MessageActionsProps, MessageBubbleProps, MessageFrom, MessageStrings, MoneyInputProps, MotionBaseProps, MotionDuration, MotionEasing, NavigationRailItemProps, NavigationRailRootProps, NexubProviderProps, NumberInputProps, NumberTickerPart, NumberTickerProps, PageHeaderProps, PaginationProps, PasswordInputProps, ProgressProps, PromptInputMessages, PromptInputProps, PromptInputStatus, RadioCardGroupProps, RadioCardProps, RatingProps, ScaleProps, ScrollAreaProps, SearchInputProps, SectionProps, SegmentedControlItemProps, SegmentedControlProps, SeparatorProps, SidebarGroupProps, SidebarHeaderProps, SidebarItemProps, SidebarRootProps, Size, SkeletonProps, SkeletonSwapProps, SlideDirection, SlideProps, SliderProps, SourceChipProps, SourceListProps, SpinnerProps, SplitButtonProps, StackProps, StatusPillProps, StreamingTextProps, SwitchProps, TableRootProps, TagProps, TextGradientProps, TextProps, TextareaProps, ThemeContextValue, ThemeMode, ThemeProviderProps, ThemeScriptProps, ThinkingIndicatorMessages, ThinkingIndicatorProps, ToastItem, ToasterProps, ToggleProps, ToolbarRootProps, TopNavItemProps, TopNavRootProps, UndoableToastOptions };
package/dist/index.js CHANGED
@@ -1,25 +1,29 @@
1
1
  'use client';
2
+ import {
3
+ TopNav
4
+ } from "./chunk-BNG3Y5I7.js";
2
5
  import {
3
6
  Root
4
7
  } from "./chunk-ZXLACKEB.js";
5
8
  import {
6
- AlertDialog
7
- } from "./chunk-PDQTKE2C.js";
9
+ Textarea,
10
+ textareaVariants
11
+ } from "./chunk-HL64PWVQ.js";
12
+ import {
13
+ ThinkingIndicator
14
+ } from "./chunk-VX56VQMF.js";
8
15
  import {
9
16
  ThemeProvider,
10
17
  ThemeScript,
11
18
  useTheme
12
19
  } from "./chunk-ZBRRQHZG.js";
13
- import {
14
- ThinkingIndicator
15
- } from "./chunk-VX56VQMF.js";
20
+ import "./chunk-YJU4ZRQZ.js";
16
21
  import {
17
22
  Toast,
18
23
  Toaster,
19
24
  toast,
20
25
  useToastStore
21
26
  } from "./chunk-MQGBAWSJ.js";
22
- import "./chunk-YJU4ZRQZ.js";
23
27
  import {
24
28
  ToggleGroup
25
29
  } from "./chunk-UOBWHPXG.js";
@@ -32,8 +36,9 @@ import {
32
36
  } from "./chunk-WGW7TZOV.js";
33
37
  import "./chunk-XYXMPHND.js";
34
38
  import {
35
- TopNav
36
- } from "./chunk-BNG3Y5I7.js";
39
+ StatusPill,
40
+ statusPillVariants
41
+ } from "./chunk-XIKO5XFW.js";
37
42
  import {
38
43
  StreamingText
39
44
  } from "./chunk-4ESZQDPB.js";
@@ -44,10 +49,6 @@ import "./chunk-4B4XWDAH.js";
44
49
  import {
45
50
  Tabs
46
51
  } from "./chunk-BIWSXGTZ.js";
47
- import {
48
- Tag,
49
- tagVariants
50
- } from "./chunk-PXISQY4H.js";
51
52
  import {
52
53
  Text,
53
54
  textVariants
@@ -56,9 +57,12 @@ import {
56
57
  TextGradient
57
58
  } from "./chunk-IDPRAXCG.js";
58
59
  import {
59
- Textarea,
60
- textareaVariants
61
- } from "./chunk-HL64PWVQ.js";
60
+ Tag,
61
+ tagVariants
62
+ } from "./chunk-PXISQY4H.js";
63
+ import {
64
+ Select
65
+ } from "./chunk-M5PDVHFN.js";
62
66
  import {
63
67
  Separator,
64
68
  separatorVariants
@@ -79,14 +83,13 @@ import {
79
83
  } from "./chunk-P3SAE4T2.js";
80
84
  import {
81
85
  SplitButton
82
- } from "./chunk-6P5O7HIA.js";
86
+ } from "./chunk-ILIM4BLN.js";
83
87
  import {
84
88
  Stack
85
89
  } from "./chunk-ST4O3EQ3.js";
86
90
  import {
87
- StatusPill,
88
- statusPillVariants
89
- } from "./chunk-XIKO5XFW.js";
91
+ PromptInput
92
+ } from "./chunk-ZUMC7SX5.js";
90
93
  import {
91
94
  RadioCard,
92
95
  RadioCardGroup
@@ -103,7 +106,7 @@ import {
103
106
  } from "./chunk-2DZWTBDL.js";
104
107
  import {
105
108
  SearchInput
106
- } from "./chunk-52A6VSFK.js";
109
+ } from "./chunk-YVS6AVPD.js";
107
110
  import {
108
111
  Section,
109
112
  sectionVariants
@@ -113,8 +116,9 @@ import {
113
116
  } from "./chunk-KRIRCSUB.js";
114
117
  import "./chunk-6UKNUI46.js";
115
118
  import {
116
- Select
117
- } from "./chunk-M5PDVHFN.js";
119
+ useMergedRefs
120
+ } from "./chunk-MNEXMMLM.js";
121
+ import "./chunk-A3O23F2B.js";
118
122
  import {
119
123
  NumberInput
120
124
  } from "./chunk-V3EWVSVI.js";
@@ -127,7 +131,7 @@ import {
127
131
  } from "./chunk-NLVP74RX.js";
128
132
  import {
129
133
  PasswordInput
130
- } from "./chunk-47UV6BDO.js";
134
+ } from "./chunk-OGHOT6XN.js";
131
135
  import {
132
136
  Popover
133
137
  } from "./chunk-MPJG4WFP.js";
@@ -137,11 +141,9 @@ import {
137
141
  progressTrackVariants
138
142
  } from "./chunk-HXNUIIXB.js";
139
143
  import {
140
- PromptInput
141
- } from "./chunk-ZUMC7SX5.js";
142
- import {
143
- useMergedRefs
144
- } from "./chunk-MNEXMMLM.js";
144
+ Logo,
145
+ logoVariants
146
+ } from "./chunk-ZGJF4HAT.js";
145
147
  import {
146
148
  MediaCard
147
149
  } from "./chunk-5DHLFPC4.js";
@@ -182,7 +184,7 @@ import {
182
184
  import {
183
185
  NavigationRail
184
186
  } from "./chunk-5MGCYR4G.js";
185
- import "./chunk-A3O23F2B.js";
187
+ import "./chunk-PICMOOAZ.js";
186
188
  import "./chunk-ZT3NWE5U.js";
187
189
  import "./chunk-CAOLGXA5.js";
188
190
  import {
@@ -209,9 +211,8 @@ import {
209
211
  linkVariants
210
212
  } from "./chunk-QCLE5VQW.js";
211
213
  import {
212
- Logo,
213
- logoVariants
214
- } from "./chunk-ZGJF4HAT.js";
214
+ FilterChip
215
+ } from "./chunk-36QSSD7I.js";
215
216
  import "./chunk-BV3U3ATL.js";
216
217
  import {
217
218
  Flex
@@ -219,7 +220,10 @@ import {
219
220
  import "./chunk-ADO2DB6Q.js";
220
221
  import {
221
222
  FormField
222
- } from "./chunk-FT73REUG.js";
223
+ } from "./chunk-FRGFO4DS.js";
224
+ import {
225
+ HelperText
226
+ } from "./chunk-QKGQBJ4U.js";
223
227
  import {
224
228
  Label,
225
229
  labelVariants
@@ -238,10 +242,12 @@ import {
238
242
  Heading,
239
243
  headingVariants
240
244
  } from "./chunk-Z7OR2LYG.js";
241
- import "./chunk-PICMOOAZ.js";
242
245
  import {
243
- HelperText
244
- } from "./chunk-QKGQBJ4U.js";
246
+ CountryBadge
247
+ } from "./chunk-JZCZ2SDT.js";
248
+ import {
249
+ Flag
250
+ } from "./chunk-HOQPHAGW.js";
245
251
  import {
246
252
  Dialog
247
253
  } from "./chunk-CEFGILJY.js";
@@ -266,8 +272,8 @@ import {
266
272
  FileUpload
267
273
  } from "./chunk-LR6KNEKL.js";
268
274
  import {
269
- FilterChip
270
- } from "./chunk-36QSSD7I.js";
275
+ Collapsible
276
+ } from "./chunk-4WIUGX5Z.js";
271
277
  import "./chunk-HY3JWSG4.js";
272
278
  import {
273
279
  CommandPalette
@@ -280,12 +286,6 @@ import {
280
286
  import {
281
287
  ContextMenu
282
288
  } from "./chunk-CUCTSWR2.js";
283
- import {
284
- CountryBadge
285
- } from "./chunk-JZCZ2SDT.js";
286
- import {
287
- Flag
288
- } from "./chunk-HOQPHAGW.js";
289
289
  import {
290
290
  DataTable
291
291
  } from "./chunk-A7PS3EZO.js";
@@ -295,23 +295,27 @@ import {
295
295
  import "./chunk-52ZVJPF7.js";
296
296
  import {
297
297
  DateRangePicker
298
- } from "./chunk-WRJLWNUO.js";
298
+ } from "./chunk-YYAXXJH3.js";
299
299
  import {
300
300
  DatePicker
301
- } from "./chunk-V6EYICEY.js";
301
+ } from "./chunk-OY5CWWIM.js";
302
+ import {
303
+ Callout,
304
+ calloutVariants
305
+ } from "./chunk-Z46ISXJ6.js";
302
306
  import {
303
307
  Card,
304
308
  CardLink,
305
309
  cardVariants,
306
310
  usePointerSheen
307
311
  } from "./chunk-T466ZB34.js";
312
+ import {
313
+ Checkbox
314
+ } from "./chunk-JOOKMCAF.js";
308
315
  import {
309
316
  CheckList,
310
317
  CheckListItem
311
318
  } from "./chunk-T3RBFJML.js";
312
- import {
313
- Checkbox
314
- } from "./chunk-JOOKMCAF.js";
315
319
  import {
316
320
  CheckboxCard
317
321
  } from "./chunk-EYGT5IX4.js";
@@ -329,17 +333,18 @@ import {
329
333
  import {
330
334
  HoverCard
331
335
  } from "./chunk-KL55E5PE.js";
332
- import "./chunk-5FWJXSXT.js";
333
336
  import {
334
337
  Code
335
338
  } from "./chunk-NX44VGON.js";
336
- import {
337
- Collapsible
338
- } from "./chunk-4WIUGX5Z.js";
339
+ import "./chunk-IZ6ZPEZ2.js";
339
340
  import {
340
341
  AvatarGroup,
341
342
  avatarGroupVariants
342
- } from "./chunk-SE74BBBF.js";
343
+ } from "./chunk-BMUAR6H2.js";
344
+ import {
345
+ Avatar,
346
+ avatarVariants
347
+ } from "./chunk-AYG7HBDZ.js";
343
348
  import {
344
349
  Badge,
345
350
  badgeVariants
@@ -348,6 +353,7 @@ import {
348
353
  Banner,
349
354
  bannerVariants
350
355
  } from "./chunk-CQQ5UAO3.js";
356
+ import "./chunk-VLME3JFF.js";
351
357
  import {
352
358
  Box
353
359
  } from "./chunk-ZCHZNGWU.js";
@@ -355,21 +361,10 @@ import {
355
361
  Breadcrumb
356
362
  } from "./chunk-SQGRT72E.js";
357
363
  import "./chunk-P26VJEIW.js";
358
- import {
359
- Button,
360
- buttonVariants
361
- } from "./chunk-GHLMHKMV.js";
362
- import "./chunk-VALIDQXU.js";
363
- import "./chunk-DEIBF3P7.js";
364
364
  import "./chunk-LVPU7455.js";
365
365
  import {
366
366
  ButtonGroup
367
367
  } from "./chunk-7EQ2LIYD.js";
368
- import {
369
- Callout,
370
- calloutVariants
371
- } from "./chunk-Z46ISXJ6.js";
372
- import "./chunk-VLME3JFF.js";
373
368
  import {
374
369
  Accordion
375
370
  } from "./chunk-DOVZNUSH.js";
@@ -377,6 +372,16 @@ import {
377
372
  Alert,
378
373
  alertVariants
379
374
  } from "./chunk-U422B6UE.js";
375
+ import {
376
+ AlertDialog
377
+ } from "./chunk-PDQTKE2C.js";
378
+ import "./chunk-5FWJXSXT.js";
379
+ import {
380
+ Button,
381
+ buttonVariants
382
+ } from "./chunk-GHLMHKMV.js";
383
+ import "./chunk-VALIDQXU.js";
384
+ import "./chunk-DEIBF3P7.js";
380
385
  import {
381
386
  Amount
382
387
  } from "./chunk-IBBICKEZ.js";
@@ -402,11 +407,6 @@ import {
402
407
  useLocale,
403
408
  useNexubMessages
404
409
  } from "./chunk-VMSWIC3O.js";
405
- import "./chunk-IZ6ZPEZ2.js";
406
- import {
407
- Avatar,
408
- avatarVariants
409
- } from "./chunk-AYG7HBDZ.js";
410
410
  import {
411
411
  cn
412
412
  } from "./chunk-WRVFNYO3.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexub/react",
3
- "version": "2.7.0",
3
+ "version": "2.9.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",
@@ -69,15 +69,15 @@
69
69
  "clsx": "^2.1.1",
70
70
  "cmdk": "^1.1.1",
71
71
  "date-fns": "^4.4.0",
72
- "react-day-picker": "^9.14.0",
72
+ "react-day-picker": "^10.0.2",
73
73
  "tailwind-merge": "^3.7.0",
74
- "@nexub/icons": "2.7.0",
75
- "@nexub/core": "2.7.0"
74
+ "@nexub/core": "2.9.0",
75
+ "@nexub/icons": "2.9.0"
76
76
  },
77
77
  "peerDependencies": {
78
78
  "react": ">=18 <20",
79
79
  "react-dom": ">=18 <20",
80
- "@nexub/tokens": "^2.7.0"
80
+ "@nexub/tokens": "^2.9.0"
81
81
  },
82
82
  "devDependencies": {
83
83
  "@playwright/test": "1.64.0",
@@ -98,13 +98,13 @@
98
98
  "react-dom": "^19.3.1",
99
99
  "storybook": "10.6.3",
100
100
  "tailwindcss": "^4.3.3",
101
- "tsup": "^8.5.1",
102
- "typescript": "^5.9.3",
101
+ "tsup": "^9.0.0",
102
+ "typescript": "~6.0.3",
103
103
  "vaul": "1.1.2",
104
- "vite": "^7.3.7",
104
+ "vite": "^8.3.5",
105
105
  "vitest": "^5.0.5",
106
- "@nexub/themes": "2.7.0",
107
- "@nexub/tokens": "2.7.0"
106
+ "@nexub/themes": "2.9.0",
107
+ "@nexub/tokens": "2.9.0"
108
108
  },
109
109
  "scripts": {
110
110
  "build": "tsup && node scripts/check-dts.mjs && tailwindcss -i src/styles.css -o dist/styles.css --minify && cp -R ../themes/src/fonts dist/fonts",
@@ -1,10 +1,10 @@
1
1
  'use client';
2
- import {
3
- useNexubMessages
4
- } from "./chunk-VMSWIC3O.js";
5
2
  import {
6
3
  avatarVariants
7
4
  } from "./chunk-AYG7HBDZ.js";
5
+ import {
6
+ useNexubMessages
7
+ } from "./chunk-VMSWIC3O.js";
8
8
  import {
9
9
  cn
10
10
  } from "./chunk-WRVFNYO3.js";
@@ -1,13 +1,13 @@
1
1
  'use client';
2
+ import {
3
+ HelperText
4
+ } from "./chunk-QKGQBJ4U.js";
2
5
  import {
3
6
  Label
4
7
  } from "./chunk-BM5PGGK2.js";
5
8
  import {
6
9
  FormError
7
10
  } from "./chunk-H2X6MSNY.js";
8
- import {
9
- HelperText
10
- } from "./chunk-QKGQBJ4U.js";
11
11
  import {
12
12
  cn
13
13
  } from "./chunk-WRVFNYO3.js";
@@ -2,12 +2,12 @@
2
2
  import {
3
3
  DropdownMenu
4
4
  } from "./chunk-GWFIMQBC.js";
5
- import {
6
- Button
7
- } from "./chunk-GHLMHKMV.js";
8
5
  import {
9
6
  ButtonGroup
10
7
  } from "./chunk-7EQ2LIYD.js";
8
+ import {
9
+ Button
10
+ } from "./chunk-GHLMHKMV.js";
11
11
  import {
12
12
  cn
13
13
  } from "./chunk-WRVFNYO3.js";