bsm-design-system 1.16.0 → 1.16.2

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/index.d.mts CHANGED
@@ -90,53 +90,53 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
90
90
  };
91
91
  }, undefined, "inline-flex items-center relative active:scale-95 [&_svg]:text-current cursor-pointer disabled:text-disabled justify-center gap-2 whitespace-nowrap font-normal transition-all disabled:pointer-events-none select-none [&_svg]:pointer-events-none shrink-0 [&_svg]:shrink-0 outline-none focus-visible:ring-offset-ring-offset focus-visible:ring-offset-3 focus-visible:ring-2 focus-visible:ring-ring", unknown, unknown, undefined>>;
92
92
 
93
- type ButtonVariant = keyof typeof buttonVariants.variants.variant;
94
-
95
- type ButtonSize = keyof typeof buttonVariants.variants.size;
96
-
97
- type ButtonColors = "primary" | "error";
98
-
99
- /**
100
- * Primary UI component for user interaction
101
- */
102
- interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
103
- /**
104
- * Button contents
105
- */
106
- children: React.ReactNode;
107
- /**
108
- * Button Trailling Icon
109
- */
110
- traillingIcon?: React.ReactNode;
111
- /**
112
- * Button Variant
113
- */
114
- variant?: ButtonVariant;
115
- /**
116
- * Button Size
117
- */
118
- size?: ButtonSize;
119
- /**
120
- * Button Color
121
- */
122
- color?: ButtonColors;
123
- /**
124
- * Button Loading State
125
- */
126
- loading?: boolean;
127
- /**
128
- /**
129
- * Button Icon Only
130
- */
131
- iconOnly?: boolean;
132
- /**
133
- * Button Icon Only
134
- */
135
- rounded?: boolean;
136
- /**
137
- * Button Click Event
138
- */
139
- onClick?: React.MouseEventHandler<HTMLButtonElement>;
93
+ type ButtonVariant = keyof typeof buttonVariants.variants.variant;
94
+
95
+ type ButtonSize = keyof typeof buttonVariants.variants.size;
96
+
97
+ type ButtonColors = "primary" | "error";
98
+
99
+ /**
100
+ * Primary UI component for user interaction
101
+ */
102
+ interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
103
+ /**
104
+ * Button contents
105
+ */
106
+ children: React.ReactNode;
107
+ /**
108
+ * Button Trailling Icon
109
+ */
110
+ traillingIcon?: React.ReactNode;
111
+ /**
112
+ * Button Variant
113
+ */
114
+ variant?: ButtonVariant;
115
+ /**
116
+ * Button Size
117
+ */
118
+ size?: ButtonSize;
119
+ /**
120
+ * Button Color
121
+ */
122
+ color?: ButtonColors;
123
+ /**
124
+ * Button Loading State
125
+ */
126
+ loading?: boolean;
127
+ /**
128
+ /**
129
+ * Button Icon Only
130
+ */
131
+ iconOnly?: boolean;
132
+ /**
133
+ * Button Icon Only
134
+ */
135
+ rounded?: boolean;
136
+ /**
137
+ * Button Click Event
138
+ */
139
+ onClick?: React.MouseEventHandler<HTMLButtonElement>;
140
140
  }
141
141
 
142
142
  /**
@@ -176,21 +176,21 @@ declare const switchVariants: tailwind_variants.TVReturnType<{
176
176
  };
177
177
  }, undefined, "group cursor-pointer border-2 border-transparent inline-flex shrink-0 items-center rounded-full shadow-xs transition-all outline-none focus-visible:ring-offset-ring-offset focus-visible:ring-offset-3 focus-visible:ring-2 focus-visible:ring-ring", unknown, unknown, undefined>>;
178
178
 
179
- type DefaultType$4 = Omit<
180
- React.ComponentProps<typeof Root>,
181
- "onCheckedChange" | "onChange"
182
- >;
183
-
184
- type SwitchSize = keyof typeof switchVariants.variants.size;
185
-
186
- interface SwitchProps extends DefaultType$4 {
187
- size?: SwitchSize;
188
- iconOn?: React.ReactNode;
189
- iconOff?: React.ReactNode;
190
- /**
191
- * Switch onChange event
192
- */
193
- onChange?: (checked: boolean) => void;
179
+ type DefaultType$4 = Omit<
180
+ React.ComponentProps<typeof Root>,
181
+ "onCheckedChange" | "onChange"
182
+ >;
183
+
184
+ type SwitchSize = keyof typeof switchVariants.variants.size;
185
+
186
+ interface SwitchProps extends DefaultType$4 {
187
+ size?: SwitchSize;
188
+ iconOn?: React.ReactNode;
189
+ iconOff?: React.ReactNode;
190
+ /**
191
+ * Switch onChange event
192
+ */
193
+ onChange?: (checked: boolean) => void;
194
194
  }
195
195
 
196
196
  /**
@@ -242,19 +242,19 @@ declare const radioVariants: tailwind_variants.TVReturnType<{
242
242
  };
243
243
  }, undefined, "grid gap-3", unknown, unknown, undefined>>;
244
244
 
245
- type DefaultType$3 = Omit<
246
- React.ComponentProps<typeof Root$1>,
247
- "onValueChange" | "onChange"
248
- >;
249
-
250
- type RadioSize = keyof typeof radioVariants.variants.size;
251
-
252
- interface RadioProps extends DefaultType$3 {
253
- size?: RadioSize;
254
- /**
255
- * RadioGroup onChange event
256
- */
257
- onChange?: (value: string) => void;
245
+ type DefaultType$3 = Omit<
246
+ React.ComponentProps<typeof Root$1>,
247
+ "onValueChange" | "onChange"
248
+ >;
249
+
250
+ type RadioSize = keyof typeof radioVariants.variants.size;
251
+
252
+ interface RadioProps extends DefaultType$3 {
253
+ size?: RadioSize;
254
+ /**
255
+ * RadioGroup onChange event
256
+ */
257
+ onChange?: (value: string) => void;
258
258
  }
259
259
 
260
260
  declare function RadioGroup({ className, size, disabled, orientation, onChange, ...props }: RadioProps): react_jsx_runtime.JSX.Element;
@@ -294,22 +294,22 @@ declare const checkboxVariants: tailwind_variants.TVReturnType<{
294
294
  };
295
295
  }, undefined, "peer cursor-pointer transition-all shrink-0 rounded-sm border-2 outline-none focus-visible:ring-offset-ring-offset focus-visible:ring-offset-3 focus-visible:ring-2 focus-visible:ring-ring", unknown, unknown, undefined>>;
296
296
 
297
- type DefaultType$2 = Omit<
298
- React.ComponentProps<typeof Root$2>,
299
- "onCheckedChange" | "onChange"
300
- >;
301
-
302
- type CheckboxSize = keyof typeof checkboxVariants.variants.size;
303
-
304
- interface CheckboxProps extends DefaultType$2 {
305
- /**
306
- * Checkbox size
307
- */
308
- size?: CheckboxSize;
309
- /**
310
- * Checkbox onChange event
311
- */
312
- onChange?: (checked: boolean | "indeterminate") => void;
297
+ type DefaultType$2 = Omit<
298
+ React.ComponentProps<typeof Root$2>,
299
+ "onCheckedChange" | "onChange"
300
+ >;
301
+
302
+ type CheckboxSize = keyof typeof checkboxVariants.variants.size;
303
+
304
+ interface CheckboxProps extends DefaultType$2 {
305
+ /**
306
+ * Checkbox size
307
+ */
308
+ size?: CheckboxSize;
309
+ /**
310
+ * Checkbox onChange event
311
+ */
312
+ onChange?: (checked: boolean | "indeterminate") => void;
313
313
  }
314
314
 
315
315
  declare function Checkbox({ className, size, disabled, onChange, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
@@ -337,63 +337,63 @@ declare const inputVariants: tailwind_variants.TVReturnType<{
337
337
  };
338
338
  }, undefined, "w-full min-w-0 flex-1 rounded-none border-0 bg-transparent px-3 text-center shadow-none outline-none focus-visible:ring-0!", unknown, unknown, undefined>>;
339
339
 
340
- type DefaultType$1 = Omit<React.ComponentProps<"input">, "size">;
341
-
342
- type InputSize = keyof typeof inputVariants.variants.size;
343
-
344
- interface InputProps extends DefaultType$1 {
345
- /**
346
- * Input Size
347
- */
348
- size?: InputSize;
349
- /**
350
- * Input label
351
- */
352
- label?: string;
353
- /**
354
- * Input hint
355
- */
356
- hint?: string;
357
- /**
358
- * Input Error State
359
- */
360
- error?: boolean;
361
- /**
362
- * Input Rounded State
363
- */
364
- rounded?: boolean;
365
- /**
366
- * Input Loading State
367
- */
368
- loading?: boolean;
369
- /**
370
- * Input Leading Icon
371
- */
372
- beforeIcon?: React.ReactNode;
373
- /**
374
- * Input Trailling Icon
375
- */
376
- afterIcon?: React.ReactNode;
377
- /**
378
- * Input Action Icon
379
- */
380
- actionIcon?: React.ReactNode;
381
- /**
382
- * Action Buttom Event Handler
383
- */
384
- onActionClick?: () => void;
385
- /**
386
- * Input Prefix Section
387
- */
388
- prefix?: string;
389
- /**
390
- * Input Prefix Section
391
- */
392
- suffix?: string;
393
- /**
394
- * Input helpertext Icon
395
- */
396
- helperText?: string;
340
+ type DefaultType$1 = Omit<React.ComponentProps<"input">, "size">;
341
+
342
+ type InputSize = keyof typeof inputVariants.variants.size;
343
+
344
+ interface InputProps extends DefaultType$1 {
345
+ /**
346
+ * Input Size
347
+ */
348
+ size?: InputSize;
349
+ /**
350
+ * Input label
351
+ */
352
+ label?: string;
353
+ /**
354
+ * Input hint
355
+ */
356
+ hint?: string;
357
+ /**
358
+ * Input Error State
359
+ */
360
+ error?: boolean;
361
+ /**
362
+ * Input Rounded State
363
+ */
364
+ rounded?: boolean;
365
+ /**
366
+ * Input Loading State
367
+ */
368
+ loading?: boolean;
369
+ /**
370
+ * Input Leading Icon
371
+ */
372
+ beforeIcon?: React.ReactNode;
373
+ /**
374
+ * Input Trailling Icon
375
+ */
376
+ afterIcon?: React.ReactNode;
377
+ /**
378
+ * Input Action Icon
379
+ */
380
+ actionIcon?: React.ReactNode;
381
+ /**
382
+ * Action Buttom Event Handler
383
+ */
384
+ onActionClick?: () => void;
385
+ /**
386
+ * Input Prefix Section
387
+ */
388
+ prefix?: string;
389
+ /**
390
+ * Input Prefix Section
391
+ */
392
+ suffix?: string;
393
+ /**
394
+ * Input helpertext Icon
395
+ */
396
+ helperText?: string;
397
397
  }
398
398
 
399
399
  declare function Input({ size, label, error, loading, beforeIcon, afterIcon, actionIcon, className, helperText, prefix, suffix, hint, rounded, onActionClick, ...props }: InputProps): react_jsx_runtime.JSX.Element;
@@ -445,34 +445,34 @@ declare const containerVariants: tailwind_variants.TVReturnType<{
445
445
  };
446
446
  }, undefined, "bg-background-segment inline-flex items-center justify-center p-1 gap-1", unknown, unknown, undefined>>;
447
447
 
448
- type DefaultType = Omit<
449
- React.ComponentProps<typeof TabsPrimitive.Root>,
450
- "onValueChange" | "onChange"
451
- >;
452
-
453
- type SegmentButtonSize = keyof typeof containerVariants.variants.size;
454
-
455
- interface SegmentButtonType extends DefaultType {
456
- /**
457
- * Segment Button Size
458
- */
459
- size?: SegmentButtonSize;
460
- /**
461
- * Segment Button Disabled
462
- */
463
- disabled?: boolean;
464
- /**
465
- * Segment Button Rounded
466
- */
467
- rounded?: boolean;
468
- /**
469
- * Segment Button fullWidth
470
- */
471
- fullWidth?: boolean;
472
- /**
473
- * Segment Button onChange event
474
- */
475
- onChange?: (value: string) => void;
448
+ type DefaultType = Omit<
449
+ React.ComponentProps<typeof TabsPrimitive.Root>,
450
+ "onValueChange" | "onChange"
451
+ >;
452
+
453
+ type SegmentButtonSize = keyof typeof containerVariants.variants.size;
454
+
455
+ interface SegmentButtonType extends DefaultType {
456
+ /**
457
+ * Segment Button Size
458
+ */
459
+ size?: SegmentButtonSize;
460
+ /**
461
+ * Segment Button Disabled
462
+ */
463
+ disabled?: boolean;
464
+ /**
465
+ * Segment Button Rounded
466
+ */
467
+ rounded?: boolean;
468
+ /**
469
+ * Segment Button fullWidth
470
+ */
471
+ fullWidth?: boolean;
472
+ /**
473
+ * Segment Button onChange event
474
+ */
475
+ onChange?: (value: string) => void;
476
476
  }
477
477
 
478
478
  declare function SegmentButton({ className, size, disabled, rounded, fullWidth, children, onChange, ...props }: SegmentButtonType): react_jsx_runtime.JSX.Element;
@@ -518,19 +518,19 @@ declare const contentVariants: tailwind_variants.TVReturnType<{
518
518
  };
519
519
  }, undefined, "bg-background-card data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 \n data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 border-primary-border\n fixed top-[50%] left-[50%] z-50 grid max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] rounded-lg \n border p-4 duration-200 text-text", unknown, unknown, undefined>>;
520
520
 
521
- type DefaulTtype = Omit<
522
- React.ComponentProps<typeof DialogPrimitive.Root>,
523
- "onOpenChange"
524
- >;
525
-
526
- type DialogSize = keyof typeof contentVariants.variants.size;
527
-
528
- type SmartDialogProps = {
529
- open?: boolean;
530
- onClose?: (open: boolean) => void;
531
- trigger?: React.ReactNode;
532
- children?: React.ReactNode;
533
- size?: DialogSize;
521
+ type DefaulTtype = Omit<
522
+ React.ComponentProps<typeof DialogPrimitive.Root>,
523
+ "onOpenChange"
524
+ >;
525
+
526
+ type DialogSize = keyof typeof contentVariants.variants.size;
527
+
528
+ type SmartDialogProps = {
529
+ open?: boolean;
530
+ onClose?: (open: boolean) => void;
531
+ trigger?: React.ReactNode;
532
+ children?: React.ReactNode;
533
+ size?: DialogSize;
534
534
  } & DefaulTtype;
535
535
 
536
536
  declare function DialogFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
@@ -567,43 +567,43 @@ declare namespace SmartSheet {
567
567
  var Footer: typeof SheetFooter;
568
568
  }
569
569
 
570
- type Option = {
571
- label: string;
572
- value: string;
573
- };
574
-
575
- interface BaseSelectProps {
576
- className?: string;
577
- rounded?: boolean;
578
- options: Option[];
579
- onSearch?: (text: string) => void;
580
- placeholder?: string;
581
- emptyText?: string;
582
- searchable?: boolean;
583
- error?: boolean;
584
- loading?: boolean;
585
- disabled?: boolean;
586
- readOnly?: boolean;
587
- asyncSearch?: boolean;
588
- label?: string;
589
- hint?: string;
590
- helperText?: string;
591
- size?: "xs" | "sm" | "md" | "lg";
592
- scrollContent?: boolean;
593
- }
594
-
595
- interface SingleSelectProps extends BaseSelectProps {
596
- mode?: "select"; // default
597
- value: string | null;
598
- onChange: (v: string | null) => void;
599
- }
600
-
601
- interface MultiSelectProps extends BaseSelectProps {
602
- mode: "multi";
603
- value: string[];
604
- onChange: (v: string[]) => void;
605
- }
606
-
570
+ type Option = {
571
+ label: string;
572
+ value: string;
573
+ };
574
+
575
+ interface BaseSelectProps {
576
+ className?: string;
577
+ rounded?: boolean;
578
+ options: Option[];
579
+ onSearch?: (text: string) => void;
580
+ placeholder?: string;
581
+ emptyText?: string;
582
+ searchable?: boolean;
583
+ error?: boolean;
584
+ loading?: boolean;
585
+ disabled?: boolean;
586
+ readOnly?: boolean;
587
+ asyncSearch?: boolean;
588
+ label?: string;
589
+ hint?: string;
590
+ helperText?: string;
591
+ size?: "xs" | "sm" | "md" | "lg";
592
+ scrollContent?: boolean;
593
+ }
594
+
595
+ interface SingleSelectProps extends BaseSelectProps {
596
+ mode?: "select"; // default
597
+ value: string | null;
598
+ onChange: (v: string | null) => void;
599
+ }
600
+
601
+ interface MultiSelectProps extends BaseSelectProps {
602
+ mode: "multi";
603
+ value: string[];
604
+ onChange: (v: string[]) => void;
605
+ }
606
+
607
607
  type SelectProps = SingleSelectProps | MultiSelectProps;
608
608
 
609
609
  declare function Select({ mode, options, value, className, onChange, onSearch, searchable, loading, label, hint, helperText, error, disabled, rounded, readOnly, size, asyncSearch, scrollContent, placeholder, emptyText, }: SelectProps): react_jsx_runtime.JSX.Element;
@@ -650,16 +650,16 @@ declare const AccordionTriggerVariants: tailwind_variants.TVReturnType<{
650
650
  };
651
651
  }, undefined, " text-text flex flex-1 cursor-pointer items-start gap-4 px-4 py-4 text-right text-sm font-medium transition-all outline-none focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180", unknown, unknown, undefined>>;
652
652
 
653
- type AccordionVariant =
654
- keyof typeof AccordionTriggerVariants.variants.variant;
655
-
656
- interface AccordionProps {
657
- separate?: boolean;
658
- variant?: AccordionVariant;
659
- type?: "single" | "multiple";
660
- collapsible?: boolean;
661
- iconPosition?: "start" | "end";
662
- onChange?: (v: string | strin[]) => void;
653
+ type AccordionVariant =
654
+ keyof typeof AccordionTriggerVariants.variants.variant;
655
+
656
+ interface AccordionProps {
657
+ separate?: boolean;
658
+ variant?: AccordionVariant;
659
+ type?: "single" | "multiple";
660
+ collapsible?: boolean;
661
+ iconPosition?: "start" | "end";
662
+ onChange?: (v: string | strin[]) => void;
663
663
  }
664
664
 
665
665
  declare function Accordion({ className, separate, variant, collapsible, type, onChange, iconPosition, ...props }: Omit<React$1.ComponentProps<typeof AccordionPrimitive.Root>, "type" | "onValueChange" | "onChange"> & AccordionProps): react_jsx_runtime.JSX.Element;
@@ -672,16 +672,16 @@ declare function AccordionItem({ className, ...props }: React$1.ComponentProps<t
672
672
  declare function AccordionTrigger({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
673
673
  declare function AccordionContent({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime.JSX.Element;
674
674
 
675
- type PaginationProps = {
676
- className?: string;
677
- totalItems: number;
678
- initialPage?: number;
679
- pageSize?: number;
680
- pageSizeOptions?: number[];
681
- siblings?: number;
682
- onPageChange?: (page: number, pageSize: number) => void;
683
- showPageSizeSelector?: boolean;
684
- showPageInfo?: boolean;
675
+ type PaginationProps = {
676
+ className?: string;
677
+ totalItems: number;
678
+ initialPage?: number;
679
+ pageSize?: number;
680
+ pageSizeOptions?: number[];
681
+ siblings?: number;
682
+ onPageChange?: (page: number, pageSize: number) => void;
683
+ showPageSizeSelector?: boolean;
684
+ showPageInfo?: boolean;
685
685
  };
686
686
 
687
687
  declare function Pagination({ totalItems, initialPage, pageSize, pageSizeOptions, siblings, onPageChange, className, showPageSizeSelector, showPageInfo, }: PaginationProps): react_jsx_runtime.JSX.Element;
@@ -721,17 +721,17 @@ declare const chipsVariants: tailwind_variants.TVReturnType<{
721
721
  };
722
722
  }, undefined, "inline-flex items-center justify-center gap-1 disabled:shadow-none rounded-lg border disabled:border-disabled-border disabled:bg-disabled-tertiary disabled:text-disabled min-w-12 px-2 h-8 text-xs [&_svg:not([class*='size-'])]:size-3 outline-none disabled:pointer-events-none select-none focus-visible:ring-offset-ring-offset focus-visible:ring-offset-3 focus-visible:ring-2 focus-visible:ring-ring", unknown, unknown, undefined>>;
723
723
 
724
- type variant$1 = keyof typeof chipsVariants.variants.variant;
725
-
726
- interface ChipsType {
727
- className?: string;
728
- label?: string;
729
- rounded?: boolean;
730
- disabled?: boolean;
731
- icon?: React.ReactNode;
732
- variant?: variant$1;
733
- onClose?: () => void;
734
- onClick?: () => void;
724
+ type variant$1 = keyof typeof chipsVariants.variants.variant;
725
+
726
+ interface ChipsType {
727
+ className?: string;
728
+ label?: string;
729
+ rounded?: boolean;
730
+ disabled?: boolean;
731
+ icon?: React.ReactNode;
732
+ variant?: variant$1;
733
+ onClose?: () => void;
734
+ onClick?: () => void;
735
735
  }
736
736
 
737
737
  declare function Badge({ label, icon, className, rounded, variant, disabled, onClose, onClick, }: ChipsType): react_jsx_runtime.JSX.Element;
@@ -801,26 +801,27 @@ declare const tagVariants: tailwind_variants.TVReturnType<{
801
801
  };
802
802
  }, undefined, "inline-flex items-center justify-center gap-1 h-6 min-w-11 px-2 rounded-sm border text-xs [&_svg:not([class*='size-'])]:size-3 outline-none select-none", unknown, unknown, undefined>>;
803
803
 
804
- type variant = keyof typeof tagVariants.variants.variant;
805
-
806
- interface TagType {
807
- className?: string;
808
- label?: string;
809
- rounded?: boolean;
810
- borderLess?: boolean;
811
- icon?: React.ReactNode;
812
- variant?: variant;
804
+ type variant = keyof typeof tagVariants.variants.variant;
805
+
806
+ interface TagType {
807
+ className?: string;
808
+ label?: string;
809
+ rounded?: boolean;
810
+ borderLess?: boolean;
811
+ icon?: React.ReactNode;
812
+ variant?: variant;
813
813
  }
814
814
 
815
815
  declare function Tag({ label, icon, className, rounded, variant, borderLess, }: TagType): react_jsx_runtime.JSX.Element;
816
816
 
817
817
  declare function Panel({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
818
818
  declare const Table: {
819
- ({ children, className, align, separate, }: {
819
+ ({ children, className, align, separated, bordered, }: {
820
820
  children: React.ReactNode;
821
821
  className?: string;
822
822
  align?: "right" | "left" | "center";
823
- separate?: boolean;
823
+ separated?: boolean;
824
+ bordered?: boolean;
824
825
  }): react_jsx_runtime.JSX.Element;
825
826
  Row: typeof Row;
826
827
  Header: ({ children, className, }: {
@@ -925,14 +926,14 @@ declare const tabsListVariants: tailwind_variants.TVReturnType<{
925
926
  };
926
927
  }, undefined, "inline-flex items-center", unknown, unknown, undefined>>;
927
928
 
928
- type TabsVariants = keyof typeof tabsListVariants.variants.variant;
929
- type TabsSize = keyof typeof tabsListVariants.variants.size;
930
-
931
- interface TabsType {
932
- onChange?: (value: string) => void;
933
- variant?: TabsVariants;
934
- size?: TabsSize;
935
- fullWidth?: boolean;
929
+ type TabsVariants = keyof typeof tabsListVariants.variants.variant;
930
+ type TabsSize = keyof typeof tabsListVariants.variants.size;
931
+
932
+ interface TabsType {
933
+ onChange?: (value: string) => void;
934
+ variant?: TabsVariants;
935
+ size?: TabsSize;
936
+ fullWidth?: boolean;
936
937
  }
937
938
 
938
939
  declare function Tabs({ className, onChange, variant, size, fullWidth, ...props }: Omit<React$1.ComponentProps<typeof TabsPrimitive.Root>, "onChange" | "onValueChange"> & TabsType): react_jsx_runtime.JSX.Element;