@mesh.ai/rabbit 1.45.2 → 1.46.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
@@ -59,7 +59,7 @@ declare interface AccordionImplMultipleProps extends AccordionImplProps {
59
59
  onValueChange?(value: string[]): void;
60
60
  }
61
61
 
62
- declare interface AccordionImplProps extends PrimitiveDivProps_2 {
62
+ declare interface AccordionImplProps extends PrimitiveDivProps_4 {
63
63
  /**
64
64
  * Whether or not an accordion is disabled from user interaction.
65
65
  *
@@ -74,7 +74,7 @@ declare interface AccordionImplProps extends PrimitiveDivProps_2 {
74
74
  /**
75
75
  * The language read direction.
76
76
  */
77
- dir?: Direction;
77
+ dir?: Direction_2;
78
78
  }
79
79
 
80
80
  declare interface AccordionImplSingleProps extends AccordionImplProps {
@@ -137,8 +137,8 @@ declare namespace AccordionPrimitive {
137
137
  AccordionTriggerProps,
138
138
  Content_2 as Content,
139
139
  Header,
140
- Item,
141
- Root_5 as Root,
140
+ Item_2 as Item,
141
+ Root_6 as Root,
142
142
  Trigger_2 as Trigger,
143
143
  createAccordionScope
144
144
  }
@@ -207,7 +207,7 @@ declare namespace AlertDialog {
207
207
  Description,
208
208
  Overlay,
209
209
  Portal,
210
- Root_6 as Root,
210
+ Root_7 as Root,
211
211
  Title,
212
212
  Trigger_3 as Trigger,
213
213
  createAlertDialogScope
@@ -332,7 +332,7 @@ declare namespace ArrowPrimitive {
332
332
  export {
333
333
  Arrow_3 as Arrow,
334
334
  ArrowProps_2 as ArrowProps,
335
- Root_8 as Root
335
+ Root_9 as Root
336
336
  }
337
337
  }
338
338
 
@@ -371,7 +371,7 @@ export declare const AvatarFallback: React_2.ForwardRefExoticComponent<Omit<Avat
371
371
 
372
372
  declare const AvatarFallback_2: React_2.ForwardRefExoticComponent<AvatarFallbackProps & React_2.RefAttributes<HTMLSpanElement>>;
373
373
 
374
- declare interface AvatarFallbackProps extends PrimitiveSpanProps_3 {
374
+ declare interface AvatarFallbackProps extends PrimitiveSpanProps_4 {
375
375
  delayMs?: number;
376
376
  }
377
377
 
@@ -401,12 +401,12 @@ declare namespace AvatarPrimitive {
401
401
  AvatarProps,
402
402
  Fallback,
403
403
  Image_2 as Image,
404
- Root_7 as Root,
404
+ Root_8 as Root,
405
405
  createAvatarScope
406
406
  }
407
407
  }
408
408
 
409
- declare interface AvatarProps extends PrimitiveSpanProps_3 {
409
+ declare interface AvatarProps extends PrimitiveSpanProps_4 {
410
410
  }
411
411
 
412
412
  declare type AvatarSize = NonNullable<ComponentPropsWithoutRef<typeof Avatar>['size']>;
@@ -977,7 +977,7 @@ declare const DismissableLayer: React_2.ForwardRefExoticComponent<DismissableLay
977
977
 
978
978
  declare type DismissableLayerProps = React_2.ComponentPropsWithoutRef<typeof DismissableLayer>;
979
979
 
980
- declare interface DismissableLayerProps_2 extends PrimitiveDivProps_6 {
980
+ declare interface DismissableLayerProps_2 extends PrimitiveDivProps_8 {
981
981
  /**
982
982
  * When `true`, hover/focus/click interactions will be disabled on elements outside
983
983
  * the `DismissableLayer`. Users will need to click twice on outside elements to
@@ -1282,7 +1282,7 @@ declare const FocusScope: React_2.ForwardRefExoticComponent<FocusScopeProps_2 &
1282
1282
 
1283
1283
  declare type FocusScopeProps = React_2.ComponentPropsWithoutRef<typeof FocusScope>;
1284
1284
 
1285
- declare interface FocusScopeProps_2 extends PrimitiveDivProps_5 {
1285
+ declare interface FocusScopeProps_2 extends PrimitiveDivProps_7 {
1286
1286
  /**
1287
1287
  * When `true`, tabbing from last item will focus first tabbable
1288
1288
  * and shift+tab from first item will focus last tababble.
@@ -1550,9 +1550,9 @@ declare interface InputProps extends React.InputHTMLAttributes<HTMLInputElement>
1550
1550
  className?: string;
1551
1551
  }
1552
1552
 
1553
- declare const Item: React_3.ForwardRefExoticComponent<AccordionItemProps & React_3.RefAttributes<HTMLDivElement>>;
1553
+ declare const Item: React_2.ForwardRefExoticComponent<RovingFocusItemProps & React_2.RefAttributes<HTMLSpanElement>>;
1554
1554
 
1555
- declare const Item_2: React_2.ForwardRefExoticComponent<RovingFocusItemProps & React_2.RefAttributes<HTMLSpanElement>>;
1555
+ declare const Item_2: React_3.ForwardRefExoticComponent<AccordionItemProps & React_3.RefAttributes<HTMLDivElement>>;
1556
1556
 
1557
1557
  declare const Item_3: React_2.ForwardRefExoticComponent<MenuItemProps & React_2.RefAttributes<HTMLDivElement>>;
1558
1558
 
@@ -1803,8 +1803,8 @@ declare interface MenuContentImplProps extends MenuContentImplPrivateProps, Omit
1803
1803
  * Whether keyboard navigation should loop around
1804
1804
  * @defaultValue false
1805
1805
  */
1806
- loop?: RovingFocusGroupProps['loop'];
1807
- onEntryFocus?: RovingFocusGroupProps['onEntryFocus'];
1806
+ loop?: RovingFocusGroupProps_3['loop'];
1807
+ onEntryFocus?: RovingFocusGroupProps_3['onEntryFocus'];
1808
1808
  onEscapeKeyDown?: DismissableLayerProps['onEscapeKeyDown'];
1809
1809
  onPointerDownOutside?: DismissableLayerProps['onPointerDownOutside'];
1810
1810
  onFocusOutside?: DismissableLayerProps['onFocusOutside'];
@@ -1828,14 +1828,14 @@ declare type MenuContentProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPr
1828
1828
 
1829
1829
  declare const MenuGroup: React_2.ForwardRefExoticComponent<MenuGroupProps & React_2.RefAttributes<HTMLDivElement>>;
1830
1830
 
1831
- declare interface MenuGroupProps extends PrimitiveDivProps_4 {
1831
+ declare interface MenuGroupProps extends PrimitiveDivProps_6 {
1832
1832
  }
1833
1833
 
1834
1834
  declare type MenuGroupProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimitive.Group>;
1835
1835
 
1836
1836
  declare const MenuItem: React_2.ForwardRefExoticComponent<MenuItemProps & React_2.RefAttributes<HTMLDivElement>>;
1837
1837
 
1838
- declare interface MenuItemImplProps extends PrimitiveDivProps_4 {
1838
+ declare interface MenuItemImplProps extends PrimitiveDivProps_6 {
1839
1839
  disabled?: boolean;
1840
1840
  textValue?: string;
1841
1841
  }
@@ -1860,7 +1860,7 @@ declare type MenuItemProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimi
1860
1860
 
1861
1861
  declare const MenuLabel: React_2.ForwardRefExoticComponent<MenuLabelProps & React_2.RefAttributes<HTMLDivElement>>;
1862
1862
 
1863
- declare interface MenuLabelProps extends PrimitiveDivProps_4 {
1863
+ declare interface MenuLabelProps extends PrimitiveDivProps_6 {
1864
1864
  }
1865
1865
 
1866
1866
  declare type MenuLabelProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimitive.Label>;
@@ -1966,7 +1966,7 @@ declare interface MenuRootContentTypeProps extends Omit<MenuContentImplProps, ke
1966
1966
 
1967
1967
  declare const MenuSeparator: React_2.ForwardRefExoticComponent<MenuSeparatorProps & React_2.RefAttributes<HTMLDivElement>>;
1968
1968
 
1969
- declare interface MenuSeparatorProps extends PrimitiveDivProps_4 {
1969
+ declare interface MenuSeparatorProps extends PrimitiveDivProps_6 {
1970
1970
  }
1971
1971
 
1972
1972
  declare type MenuSeparatorProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimitive.Separator>;
@@ -2298,7 +2298,7 @@ declare const PopperAnchor: React_2.ForwardRefExoticComponent<PopperAnchorProps_
2298
2298
 
2299
2299
  declare type PopperAnchorProps = React_2.ComponentPropsWithoutRef<typeof PopperPrimitive.Anchor>;
2300
2300
 
2301
- declare interface PopperAnchorProps_2 extends PrimitiveDivProps_3 {
2301
+ declare interface PopperAnchorProps_2 extends PrimitiveDivProps_5 {
2302
2302
  virtualRef?: React_2.RefObject<Measurable>;
2303
2303
  }
2304
2304
 
@@ -2317,7 +2317,7 @@ declare type PopperArrowProps_5 = React_2.ComponentPropsWithoutRef<typeof Popper
2317
2317
 
2318
2318
  declare const PopperContent: React_2.ForwardRefExoticComponent<PopperContentProps & React_2.RefAttributes<HTMLDivElement>>;
2319
2319
 
2320
- declare interface PopperContentProps extends PrimitiveDivProps_3 {
2320
+ declare interface PopperContentProps extends PrimitiveDivProps_5 {
2321
2321
  side?: Side;
2322
2322
  sideOffset?: number;
2323
2323
  align?: Align;
@@ -2354,7 +2354,7 @@ declare namespace PopperPrimitive {
2354
2354
  PopperContent,
2355
2355
  PopperContentProps,
2356
2356
  PopperProps,
2357
- Root_9 as Root,
2357
+ Root_10 as Root,
2358
2358
  SIDE_OPTIONS,
2359
2359
  createPopperScope
2360
2360
  }
@@ -2380,7 +2380,7 @@ declare const Portal_7: React_2.FC<HoverCardPortalProps>;
2380
2380
 
2381
2381
  declare type PortalProps = React_2.ComponentPropsWithoutRef<typeof Portal_2>;
2382
2382
 
2383
- declare interface PortalProps_2 extends PrimitiveDivProps_8 {
2383
+ declare interface PortalProps_2 extends PrimitiveDivProps_9 {
2384
2384
  /**
2385
2385
  * An optional container where the portaled content should be appended.
2386
2386
  */
@@ -2419,13 +2419,13 @@ declare type PrimitiveDivProps = React_2.ComponentPropsWithoutRef<typeof Primiti
2419
2419
 
2420
2420
  declare type PrimitiveDivProps_10 = React_2.ComponentPropsWithoutRef<typeof Primitive.div>;
2421
2421
 
2422
- declare type PrimitiveDivProps_11 = React_3.ComponentPropsWithoutRef<typeof Primitive.div>;
2422
+ declare type PrimitiveDivProps_11 = React_2.ComponentPropsWithoutRef<typeof Primitive.div>;
2423
2423
 
2424
2424
  declare type PrimitiveDivProps_2 = React_3.ComponentPropsWithoutRef<typeof Primitive.div>;
2425
2425
 
2426
2426
  declare type PrimitiveDivProps_3 = React_2.ComponentPropsWithoutRef<typeof Primitive.div>;
2427
2427
 
2428
- declare type PrimitiveDivProps_4 = React_2.ComponentPropsWithoutRef<typeof Primitive.div>;
2428
+ declare type PrimitiveDivProps_4 = React_3.ComponentPropsWithoutRef<typeof Primitive.div>;
2429
2429
 
2430
2430
  declare type PrimitiveDivProps_5 = React_2.ComponentPropsWithoutRef<typeof Primitive.div>;
2431
2431
 
@@ -2694,7 +2694,7 @@ export declare const Role: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
2694
2694
 
2695
2695
  declare const Root: React_2.ForwardRefExoticComponent<CheckboxProps & React_2.RefAttributes<HTMLButtonElement>>;
2696
2696
 
2697
- declare const Root_10: React_2.ForwardRefExoticComponent<RovingFocusGroupProps_2 & React_2.RefAttributes<HTMLDivElement>>;
2697
+ declare const Root_10: React_2.FC<PopperProps>;
2698
2698
 
2699
2699
  declare const Root_11: React_2.FC<MenuProps>;
2700
2700
 
@@ -2714,20 +2714,20 @@ declare const Root_3: React_2.ForwardRefExoticComponent<CollapsibleProps & React
2714
2714
 
2715
2715
  declare const Root_4: React_2.ForwardRefExoticComponent<SwitchProps & React_2.RefAttributes<HTMLButtonElement>>;
2716
2716
 
2717
- declare const Root_5: React_3.ForwardRefExoticComponent<(AccordionSingleProps | AccordionMultipleProps) & React_3.RefAttributes<HTMLDivElement>>;
2717
+ declare const Root_5: React_2.ForwardRefExoticComponent<RovingFocusGroupProps_2 & React_2.RefAttributes<HTMLDivElement>>;
2718
2718
 
2719
- declare const Root_6: React_2.FC<AlertDialogProps>;
2719
+ declare const Root_6: React_3.ForwardRefExoticComponent<(AccordionSingleProps | AccordionMultipleProps) & React_3.RefAttributes<HTMLDivElement>>;
2720
2720
 
2721
- declare const Root_7: React_2.ForwardRefExoticComponent<AvatarProps & React_2.RefAttributes<HTMLSpanElement>>;
2721
+ declare const Root_7: React_2.FC<AlertDialogProps>;
2722
2722
 
2723
- declare const Root_8: React_2.ForwardRefExoticComponent<ArrowProps_2 & React_2.RefAttributes<SVGSVGElement>>;
2723
+ declare const Root_8: React_2.ForwardRefExoticComponent<AvatarProps & React_2.RefAttributes<HTMLSpanElement>>;
2724
2724
 
2725
- declare const Root_9: React_2.FC<PopperProps>;
2725
+ declare const Root_9: React_2.ForwardRefExoticComponent<ArrowProps_2 & React_2.RefAttributes<SVGSVGElement>>;
2726
2726
 
2727
2727
  declare namespace RovingFocusGroup {
2728
2728
  export {
2729
- Item_2 as Item,
2730
- Root_10 as Root,
2729
+ Item,
2730
+ Root_5 as Root,
2731
2731
  RovingFocusGroup_2 as RovingFocusGroup,
2732
2732
  RovingFocusGroupItem,
2733
2733
  RovingFocusGroupProps_2 as RovingFocusGroupProps,
@@ -2738,7 +2738,7 @@ declare namespace RovingFocusGroup {
2738
2738
 
2739
2739
  declare const RovingFocusGroup_2: React_2.ForwardRefExoticComponent<RovingFocusGroupProps_2 & React_2.RefAttributes<HTMLDivElement>>;
2740
2740
 
2741
- declare interface RovingFocusGroupImplProps extends Omit<PrimitiveDivProps_7, 'dir'>, RovingFocusGroupOptions {
2741
+ declare interface RovingFocusGroupImplProps extends Omit<PrimitiveDivProps_3, 'dir'>, RovingFocusGroupOptions {
2742
2742
  currentTabStopId?: string | null;
2743
2743
  defaultCurrentTabStopId?: string;
2744
2744
  onCurrentTabStopIdChange?: (tabStopId: string | null) => void;
@@ -2757,7 +2757,7 @@ declare interface RovingFocusGroupOptions {
2757
2757
  /**
2758
2758
  * The direction of navigation between items.
2759
2759
  */
2760
- dir?: Direction_2;
2760
+ dir?: Direction;
2761
2761
  /**
2762
2762
  * Whether keyboard navigation should loop around
2763
2763
  * @defaultValue false
@@ -2765,16 +2765,16 @@ declare interface RovingFocusGroupOptions {
2765
2765
  loop?: boolean;
2766
2766
  }
2767
2767
 
2768
- declare type RovingFocusGroupProps = React_2.ComponentPropsWithoutRef<typeof RovingFocusGroup.Root>;
2768
+ declare type RovingFocusGroupProps = React_3.ComponentPropsWithoutRef<typeof RovingFocusGroup.Root>;
2769
2769
 
2770
2770
  declare interface RovingFocusGroupProps_2 extends RovingFocusGroupImplProps {
2771
2771
  }
2772
2772
 
2773
2773
  declare type RovingFocusGroupProps_3 = React_2.ComponentPropsWithoutRef<typeof RovingFocusGroup.Root>;
2774
2774
 
2775
- declare type RovingFocusGroupProps_4 = React_3.ComponentPropsWithoutRef<typeof RovingFocusGroup.Root>;
2775
+ declare type RovingFocusGroupProps_4 = React_2.ComponentPropsWithoutRef<typeof RovingFocusGroup.Root>;
2776
2776
 
2777
- declare interface RovingFocusItemProps extends PrimitiveSpanProps_4 {
2777
+ declare interface RovingFocusItemProps extends PrimitiveSpanProps_3 {
2778
2778
  tabStopId?: string;
2779
2779
  focusable?: boolean;
2780
2780
  active?: boolean;
@@ -2852,7 +2852,7 @@ export declare const SelectGroup: ForwardRefExoticComponent<SelectPrimitive.Sele
2852
2852
 
2853
2853
  declare const SelectGroup_2: React_2.ForwardRefExoticComponent<SelectGroupProps & React_2.RefAttributes<HTMLDivElement>>;
2854
2854
 
2855
- declare interface SelectGroupProps extends PrimitiveDivProps_9 {
2855
+ declare interface SelectGroupProps extends PrimitiveDivProps_10 {
2856
2856
  }
2857
2857
 
2858
2858
  declare const SelectIcon: React_2.ForwardRefExoticComponent<SelectIconProps & React_2.RefAttributes<HTMLSpanElement>>;
@@ -2864,7 +2864,7 @@ export declare const SelectItem: ForwardRefExoticComponent<Omit<SelectPrimitive.
2864
2864
 
2865
2865
  declare const SelectItem_2: React_2.ForwardRefExoticComponent<SelectItemProps & React_2.RefAttributes<HTMLDivElement>>;
2866
2866
 
2867
- declare interface SelectItemAlignedPositionProps extends PrimitiveDivProps_9, SelectPopperPrivateProps {
2867
+ declare interface SelectItemAlignedPositionProps extends PrimitiveDivProps_10, SelectPopperPrivateProps {
2868
2868
  }
2869
2869
 
2870
2870
  declare const SelectItemIndicator: React_2.ForwardRefExoticComponent<SelectItemIndicatorProps & React_2.RefAttributes<HTMLSpanElement>>;
@@ -2872,7 +2872,7 @@ declare const SelectItemIndicator: React_2.ForwardRefExoticComponent<SelectItemI
2872
2872
  declare interface SelectItemIndicatorProps extends PrimitiveSpanProps_6 {
2873
2873
  }
2874
2874
 
2875
- declare interface SelectItemProps extends PrimitiveDivProps_9 {
2875
+ declare interface SelectItemProps extends PrimitiveDivProps_10 {
2876
2876
  value: string;
2877
2877
  disabled?: boolean;
2878
2878
  textValue?: string;
@@ -2887,7 +2887,7 @@ export declare const SelectLabel: ForwardRefExoticComponent<Omit<SelectPrimitive
2887
2887
 
2888
2888
  declare const SelectLabel_2: React_2.ForwardRefExoticComponent<SelectLabelProps & React_2.RefAttributes<HTMLDivElement>>;
2889
2889
 
2890
- declare interface SelectLabelProps extends PrimitiveDivProps_9 {
2890
+ declare interface SelectLabelProps extends PrimitiveDivProps_10 {
2891
2891
  }
2892
2892
 
2893
2893
  declare interface SelectPopperPositionProps extends PopperContentProps_3, SelectPopperPrivateProps {
@@ -2977,7 +2977,7 @@ declare interface SelectProps {
2977
2977
  form?: string;
2978
2978
  }
2979
2979
 
2980
- declare interface SelectScrollButtonImplProps extends PrimitiveDivProps_9 {
2980
+ declare interface SelectScrollButtonImplProps extends PrimitiveDivProps_10 {
2981
2981
  onAutoScroll(): void;
2982
2982
  }
2983
2983
 
@@ -2995,7 +2995,7 @@ export declare const SelectSeparator: ForwardRefExoticComponent<Omit<SelectPrimi
2995
2995
 
2996
2996
  declare const SelectSeparator_2: React_2.ForwardRefExoticComponent<SelectSeparatorProps & React_2.RefAttributes<HTMLDivElement>>;
2997
2997
 
2998
- declare interface SelectSeparatorProps extends PrimitiveDivProps_9 {
2998
+ declare interface SelectSeparatorProps extends PrimitiveDivProps_10 {
2999
2999
  }
3000
3000
 
3001
3001
  export declare const SelectTrigger: ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
@@ -3015,7 +3015,7 @@ declare interface SelectValueProps extends Omit<PrimitiveSpanProps_6, 'placehold
3015
3015
 
3016
3016
  declare const SelectViewport: React_2.ForwardRefExoticComponent<SelectViewportProps & React_2.RefAttributes<HTMLDivElement>>;
3017
3017
 
3018
- declare interface SelectViewportProps extends PrimitiveDivProps_9 {
3018
+ declare interface SelectViewportProps extends PrimitiveDivProps_10 {
3019
3019
  nonce?: string;
3020
3020
  }
3021
3021
 
@@ -3196,7 +3196,7 @@ export declare const TabsContent: ForwardRefExoticComponent<Omit<RadixTabs.TabsC
3196
3196
 
3197
3197
  declare const TabsContent_2: React_2.ForwardRefExoticComponent<TabsContentProps & React_2.RefAttributes<HTMLDivElement>>;
3198
3198
 
3199
- declare interface TabsContentProps extends PrimitiveDivProps_10 {
3199
+ declare interface TabsContentProps extends PrimitiveDivProps_11 {
3200
3200
  value: string;
3201
3201
  /**
3202
3202
  * Used to force mounting when more control is needed. Useful when
@@ -3209,11 +3209,11 @@ export declare const TabsList: ForwardRefExoticComponent<Omit<RadixTabs.TabsList
3209
3209
 
3210
3210
  declare const TabsList_2: React_2.ForwardRefExoticComponent<TabsListProps & React_2.RefAttributes<HTMLDivElement>>;
3211
3211
 
3212
- declare interface TabsListProps extends PrimitiveDivProps_10 {
3213
- loop?: RovingFocusGroupProps_3['loop'];
3212
+ declare interface TabsListProps extends PrimitiveDivProps_11 {
3213
+ loop?: RovingFocusGroupProps_4['loop'];
3214
3214
  }
3215
3215
 
3216
- declare interface TabsProps extends PrimitiveDivProps_10 {
3216
+ declare interface TabsProps extends PrimitiveDivProps_11 {
3217
3217
  /** The value for the selected tab, if controlled */
3218
3218
  value?: string;
3219
3219
  /** The value of the tab to select by default, if uncontrolled */
@@ -3225,11 +3225,11 @@ declare interface TabsProps extends PrimitiveDivProps_10 {
3225
3225
  * Mainly so arrow navigation is done accordingly (left & right vs. up & down)
3226
3226
  * @defaultValue horizontal
3227
3227
  */
3228
- orientation?: RovingFocusGroupProps_3['orientation'];
3228
+ orientation?: RovingFocusGroupProps_4['orientation'];
3229
3229
  /**
3230
3230
  * The direction of navigation between toolbar items.
3231
3231
  */
3232
- dir?: RovingFocusGroupProps_3['dir'];
3232
+ dir?: RovingFocusGroupProps_4['dir'];
3233
3233
  /**
3234
3234
  * Whether a tab is activated automatically or manually.
3235
3235
  * @defaultValue automatic
@@ -3419,6 +3419,8 @@ declare type ToastTypes = 'normal' | 'action' | 'success' | 'info' | 'warning' |
3419
3419
 
3420
3420
  declare const Toggle: React_2.ForwardRefExoticComponent<ToggleProps & React_2.RefAttributes<HTMLButtonElement>>;
3421
3421
 
3422
+ export declare const ToggleGroup: ForwardRefExoticComponent<ToggleGroupProps & RefAttributes<HTMLDivElement>>;
3423
+
3422
3424
  declare interface ToggleGroupImplMultipleProps extends ToggleGroupImplProps {
3423
3425
  /**
3424
3426
  * The controlled stateful value of the items that are pressed.
@@ -3435,7 +3437,7 @@ declare interface ToggleGroupImplMultipleProps extends ToggleGroupImplProps {
3435
3437
  onValueChange?(value: string[]): void;
3436
3438
  }
3437
3439
 
3438
- declare interface ToggleGroupImplProps extends PrimitiveDivProps_11 {
3440
+ declare interface ToggleGroupImplProps extends PrimitiveDivProps_2 {
3439
3441
  /**
3440
3442
  * Whether the group is disabled from user interaction.
3441
3443
  * @defaultValue false
@@ -3446,9 +3448,9 @@ declare interface ToggleGroupImplProps extends PrimitiveDivProps_11 {
3446
3448
  * @defaultValue true
3447
3449
  */
3448
3450
  rovingFocus?: boolean;
3449
- loop?: RovingFocusGroupProps_4['loop'];
3450
- orientation?: RovingFocusGroupProps_4['orientation'];
3451
- dir?: RovingFocusGroupProps_4['dir'];
3451
+ loop?: RovingFocusGroupProps['loop'];
3452
+ orientation?: RovingFocusGroupProps['orientation'];
3453
+ dir?: RovingFocusGroupProps['dir'];
3452
3454
  }
3453
3455
 
3454
3456
  declare interface ToggleGroupImplSingleProps extends ToggleGroupImplProps {
@@ -3481,10 +3483,22 @@ declare interface ToggleGroupMultipleProps extends ToggleGroupImplMultipleProps
3481
3483
  type: 'multiple';
3482
3484
  }
3483
3485
 
3486
+ declare interface ToggleGroupProps extends Omit<ToggleGroupSingleProps, 'type'> {
3487
+ options: ToggleOption[];
3488
+ className?: string;
3489
+ required?: boolean;
3490
+ }
3491
+
3484
3492
  declare interface ToggleGroupSingleProps extends ToggleGroupImplSingleProps {
3485
3493
  type: 'single';
3486
3494
  }
3487
3495
 
3496
+ declare interface ToggleOption {
3497
+ value: string;
3498
+ label: string;
3499
+ disabled?: boolean;
3500
+ }
3501
+
3488
3502
  declare interface ToggleProps extends PrimitiveButtonProps_2 {
3489
3503
  /**
3490
3504
  * The controlled state of the toggle.