@mesh.ai/rabbit 1.45.2 → 1.47.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/@mesh.ai/rabbit.es.js +5776 -5710
- package/dist/@mesh.ai/rabbit.umd.js +29 -29
- package/dist/index.d.ts +85 -55
- package/dist/rabbit.css +1 -1
- package/package.json +1 -1
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
|
|
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?:
|
|
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
|
-
|
|
140
|
+
Item_2 as Item,
|
|
141
|
+
Root_6 as Root,
|
|
142
142
|
Trigger_2 as Trigger,
|
|
143
143
|
createAccordionScope
|
|
144
144
|
}
|
|
@@ -149,7 +149,15 @@ declare interface AccordionSingleProps extends AccordionImplSingleProps {
|
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
export declare const AccordionTrigger: ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
152
|
+
/**
|
|
153
|
+
* Optional override for the icon SVG component.
|
|
154
|
+
*/
|
|
152
155
|
icon?: IconType;
|
|
156
|
+
/**
|
|
157
|
+
* Tailwind / CSS classes applied to the Icon wrapper. If omitted a default design token color is used.
|
|
158
|
+
* Pass an empty string to remove the default color class entirely.
|
|
159
|
+
*/
|
|
160
|
+
iconClassName?: string;
|
|
153
161
|
} & RefAttributes<HTMLButtonElement>>;
|
|
154
162
|
|
|
155
163
|
/**
|
|
@@ -207,7 +215,7 @@ declare namespace AlertDialog {
|
|
|
207
215
|
Description,
|
|
208
216
|
Overlay,
|
|
209
217
|
Portal,
|
|
210
|
-
|
|
218
|
+
Root_7 as Root,
|
|
211
219
|
Title,
|
|
212
220
|
Trigger_3 as Trigger,
|
|
213
221
|
createAlertDialogScope
|
|
@@ -332,7 +340,7 @@ declare namespace ArrowPrimitive {
|
|
|
332
340
|
export {
|
|
333
341
|
Arrow_3 as Arrow,
|
|
334
342
|
ArrowProps_2 as ArrowProps,
|
|
335
|
-
|
|
343
|
+
Root_9 as Root
|
|
336
344
|
}
|
|
337
345
|
}
|
|
338
346
|
|
|
@@ -371,7 +379,7 @@ export declare const AvatarFallback: React_2.ForwardRefExoticComponent<Omit<Avat
|
|
|
371
379
|
|
|
372
380
|
declare const AvatarFallback_2: React_2.ForwardRefExoticComponent<AvatarFallbackProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
373
381
|
|
|
374
|
-
declare interface AvatarFallbackProps extends
|
|
382
|
+
declare interface AvatarFallbackProps extends PrimitiveSpanProps_4 {
|
|
375
383
|
delayMs?: number;
|
|
376
384
|
}
|
|
377
385
|
|
|
@@ -401,12 +409,12 @@ declare namespace AvatarPrimitive {
|
|
|
401
409
|
AvatarProps,
|
|
402
410
|
Fallback,
|
|
403
411
|
Image_2 as Image,
|
|
404
|
-
|
|
412
|
+
Root_8 as Root,
|
|
405
413
|
createAvatarScope
|
|
406
414
|
}
|
|
407
415
|
}
|
|
408
416
|
|
|
409
|
-
declare interface AvatarProps extends
|
|
417
|
+
declare interface AvatarProps extends PrimitiveSpanProps_4 {
|
|
410
418
|
}
|
|
411
419
|
|
|
412
420
|
declare type AvatarSize = NonNullable<ComponentPropsWithoutRef<typeof Avatar>['size']>;
|
|
@@ -977,7 +985,7 @@ declare const DismissableLayer: React_2.ForwardRefExoticComponent<DismissableLay
|
|
|
977
985
|
|
|
978
986
|
declare type DismissableLayerProps = React_2.ComponentPropsWithoutRef<typeof DismissableLayer>;
|
|
979
987
|
|
|
980
|
-
declare interface DismissableLayerProps_2 extends
|
|
988
|
+
declare interface DismissableLayerProps_2 extends PrimitiveDivProps_8 {
|
|
981
989
|
/**
|
|
982
990
|
* When `true`, hover/focus/click interactions will be disabled on elements outside
|
|
983
991
|
* the `DismissableLayer`. Users will need to click twice on outside elements to
|
|
@@ -1282,7 +1290,7 @@ declare const FocusScope: React_2.ForwardRefExoticComponent<FocusScopeProps_2 &
|
|
|
1282
1290
|
|
|
1283
1291
|
declare type FocusScopeProps = React_2.ComponentPropsWithoutRef<typeof FocusScope>;
|
|
1284
1292
|
|
|
1285
|
-
declare interface FocusScopeProps_2 extends
|
|
1293
|
+
declare interface FocusScopeProps_2 extends PrimitiveDivProps_7 {
|
|
1286
1294
|
/**
|
|
1287
1295
|
* When `true`, tabbing from last item will focus first tabbable
|
|
1288
1296
|
* and shift+tab from first item will focus last tababble.
|
|
@@ -1550,9 +1558,9 @@ declare interface InputProps extends React.InputHTMLAttributes<HTMLInputElement>
|
|
|
1550
1558
|
className?: string;
|
|
1551
1559
|
}
|
|
1552
1560
|
|
|
1553
|
-
declare const Item:
|
|
1561
|
+
declare const Item: React_2.ForwardRefExoticComponent<RovingFocusItemProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
1554
1562
|
|
|
1555
|
-
declare const Item_2:
|
|
1563
|
+
declare const Item_2: React_3.ForwardRefExoticComponent<AccordionItemProps & React_3.RefAttributes<HTMLDivElement>>;
|
|
1556
1564
|
|
|
1557
1565
|
declare const Item_3: React_2.ForwardRefExoticComponent<MenuItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1558
1566
|
|
|
@@ -1803,8 +1811,8 @@ declare interface MenuContentImplProps extends MenuContentImplPrivateProps, Omit
|
|
|
1803
1811
|
* Whether keyboard navigation should loop around
|
|
1804
1812
|
* @defaultValue false
|
|
1805
1813
|
*/
|
|
1806
|
-
loop?:
|
|
1807
|
-
onEntryFocus?:
|
|
1814
|
+
loop?: RovingFocusGroupProps_3['loop'];
|
|
1815
|
+
onEntryFocus?: RovingFocusGroupProps_3['onEntryFocus'];
|
|
1808
1816
|
onEscapeKeyDown?: DismissableLayerProps['onEscapeKeyDown'];
|
|
1809
1817
|
onPointerDownOutside?: DismissableLayerProps['onPointerDownOutside'];
|
|
1810
1818
|
onFocusOutside?: DismissableLayerProps['onFocusOutside'];
|
|
@@ -1828,14 +1836,14 @@ declare type MenuContentProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPr
|
|
|
1828
1836
|
|
|
1829
1837
|
declare const MenuGroup: React_2.ForwardRefExoticComponent<MenuGroupProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1830
1838
|
|
|
1831
|
-
declare interface MenuGroupProps extends
|
|
1839
|
+
declare interface MenuGroupProps extends PrimitiveDivProps_6 {
|
|
1832
1840
|
}
|
|
1833
1841
|
|
|
1834
1842
|
declare type MenuGroupProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimitive.Group>;
|
|
1835
1843
|
|
|
1836
1844
|
declare const MenuItem: React_2.ForwardRefExoticComponent<MenuItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1837
1845
|
|
|
1838
|
-
declare interface MenuItemImplProps extends
|
|
1846
|
+
declare interface MenuItemImplProps extends PrimitiveDivProps_6 {
|
|
1839
1847
|
disabled?: boolean;
|
|
1840
1848
|
textValue?: string;
|
|
1841
1849
|
}
|
|
@@ -1860,7 +1868,7 @@ declare type MenuItemProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimi
|
|
|
1860
1868
|
|
|
1861
1869
|
declare const MenuLabel: React_2.ForwardRefExoticComponent<MenuLabelProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1862
1870
|
|
|
1863
|
-
declare interface MenuLabelProps extends
|
|
1871
|
+
declare interface MenuLabelProps extends PrimitiveDivProps_6 {
|
|
1864
1872
|
}
|
|
1865
1873
|
|
|
1866
1874
|
declare type MenuLabelProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimitive.Label>;
|
|
@@ -1966,7 +1974,7 @@ declare interface MenuRootContentTypeProps extends Omit<MenuContentImplProps, ke
|
|
|
1966
1974
|
|
|
1967
1975
|
declare const MenuSeparator: React_2.ForwardRefExoticComponent<MenuSeparatorProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1968
1976
|
|
|
1969
|
-
declare interface MenuSeparatorProps extends
|
|
1977
|
+
declare interface MenuSeparatorProps extends PrimitiveDivProps_6 {
|
|
1970
1978
|
}
|
|
1971
1979
|
|
|
1972
1980
|
declare type MenuSeparatorProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimitive.Separator>;
|
|
@@ -2298,7 +2306,7 @@ declare const PopperAnchor: React_2.ForwardRefExoticComponent<PopperAnchorProps_
|
|
|
2298
2306
|
|
|
2299
2307
|
declare type PopperAnchorProps = React_2.ComponentPropsWithoutRef<typeof PopperPrimitive.Anchor>;
|
|
2300
2308
|
|
|
2301
|
-
declare interface PopperAnchorProps_2 extends
|
|
2309
|
+
declare interface PopperAnchorProps_2 extends PrimitiveDivProps_5 {
|
|
2302
2310
|
virtualRef?: React_2.RefObject<Measurable>;
|
|
2303
2311
|
}
|
|
2304
2312
|
|
|
@@ -2317,7 +2325,7 @@ declare type PopperArrowProps_5 = React_2.ComponentPropsWithoutRef<typeof Popper
|
|
|
2317
2325
|
|
|
2318
2326
|
declare const PopperContent: React_2.ForwardRefExoticComponent<PopperContentProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2319
2327
|
|
|
2320
|
-
declare interface PopperContentProps extends
|
|
2328
|
+
declare interface PopperContentProps extends PrimitiveDivProps_5 {
|
|
2321
2329
|
side?: Side;
|
|
2322
2330
|
sideOffset?: number;
|
|
2323
2331
|
align?: Align;
|
|
@@ -2354,7 +2362,7 @@ declare namespace PopperPrimitive {
|
|
|
2354
2362
|
PopperContent,
|
|
2355
2363
|
PopperContentProps,
|
|
2356
2364
|
PopperProps,
|
|
2357
|
-
|
|
2365
|
+
Root_10 as Root,
|
|
2358
2366
|
SIDE_OPTIONS,
|
|
2359
2367
|
createPopperScope
|
|
2360
2368
|
}
|
|
@@ -2380,7 +2388,7 @@ declare const Portal_7: React_2.FC<HoverCardPortalProps>;
|
|
|
2380
2388
|
|
|
2381
2389
|
declare type PortalProps = React_2.ComponentPropsWithoutRef<typeof Portal_2>;
|
|
2382
2390
|
|
|
2383
|
-
declare interface PortalProps_2 extends
|
|
2391
|
+
declare interface PortalProps_2 extends PrimitiveDivProps_9 {
|
|
2384
2392
|
/**
|
|
2385
2393
|
* An optional container where the portaled content should be appended.
|
|
2386
2394
|
*/
|
|
@@ -2419,13 +2427,13 @@ declare type PrimitiveDivProps = React_2.ComponentPropsWithoutRef<typeof Primiti
|
|
|
2419
2427
|
|
|
2420
2428
|
declare type PrimitiveDivProps_10 = React_2.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2421
2429
|
|
|
2422
|
-
declare type PrimitiveDivProps_11 =
|
|
2430
|
+
declare type PrimitiveDivProps_11 = React_2.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2423
2431
|
|
|
2424
2432
|
declare type PrimitiveDivProps_2 = React_3.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2425
2433
|
|
|
2426
2434
|
declare type PrimitiveDivProps_3 = React_2.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2427
2435
|
|
|
2428
|
-
declare type PrimitiveDivProps_4 =
|
|
2436
|
+
declare type PrimitiveDivProps_4 = React_3.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2429
2437
|
|
|
2430
2438
|
declare type PrimitiveDivProps_5 = React_2.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2431
2439
|
|
|
@@ -2694,7 +2702,7 @@ export declare const Role: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
|
2694
2702
|
|
|
2695
2703
|
declare const Root: React_2.ForwardRefExoticComponent<CheckboxProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
2696
2704
|
|
|
2697
|
-
declare const Root_10: React_2.
|
|
2705
|
+
declare const Root_10: React_2.FC<PopperProps>;
|
|
2698
2706
|
|
|
2699
2707
|
declare const Root_11: React_2.FC<MenuProps>;
|
|
2700
2708
|
|
|
@@ -2714,20 +2722,20 @@ declare const Root_3: React_2.ForwardRefExoticComponent<CollapsibleProps & React
|
|
|
2714
2722
|
|
|
2715
2723
|
declare const Root_4: React_2.ForwardRefExoticComponent<SwitchProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
2716
2724
|
|
|
2717
|
-
declare const Root_5:
|
|
2725
|
+
declare const Root_5: React_2.ForwardRefExoticComponent<RovingFocusGroupProps_2 & React_2.RefAttributes<HTMLDivElement>>;
|
|
2718
2726
|
|
|
2719
|
-
declare const Root_6:
|
|
2727
|
+
declare const Root_6: React_3.ForwardRefExoticComponent<(AccordionSingleProps | AccordionMultipleProps) & React_3.RefAttributes<HTMLDivElement>>;
|
|
2720
2728
|
|
|
2721
|
-
declare const Root_7: React_2.
|
|
2729
|
+
declare const Root_7: React_2.FC<AlertDialogProps>;
|
|
2722
2730
|
|
|
2723
|
-
declare const Root_8: React_2.ForwardRefExoticComponent<
|
|
2731
|
+
declare const Root_8: React_2.ForwardRefExoticComponent<AvatarProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
2724
2732
|
|
|
2725
|
-
declare const Root_9: React_2.
|
|
2733
|
+
declare const Root_9: React_2.ForwardRefExoticComponent<ArrowProps_2 & React_2.RefAttributes<SVGSVGElement>>;
|
|
2726
2734
|
|
|
2727
2735
|
declare namespace RovingFocusGroup {
|
|
2728
2736
|
export {
|
|
2729
|
-
|
|
2730
|
-
|
|
2737
|
+
Item,
|
|
2738
|
+
Root_5 as Root,
|
|
2731
2739
|
RovingFocusGroup_2 as RovingFocusGroup,
|
|
2732
2740
|
RovingFocusGroupItem,
|
|
2733
2741
|
RovingFocusGroupProps_2 as RovingFocusGroupProps,
|
|
@@ -2738,7 +2746,7 @@ declare namespace RovingFocusGroup {
|
|
|
2738
2746
|
|
|
2739
2747
|
declare const RovingFocusGroup_2: React_2.ForwardRefExoticComponent<RovingFocusGroupProps_2 & React_2.RefAttributes<HTMLDivElement>>;
|
|
2740
2748
|
|
|
2741
|
-
declare interface RovingFocusGroupImplProps extends Omit<
|
|
2749
|
+
declare interface RovingFocusGroupImplProps extends Omit<PrimitiveDivProps_3, 'dir'>, RovingFocusGroupOptions {
|
|
2742
2750
|
currentTabStopId?: string | null;
|
|
2743
2751
|
defaultCurrentTabStopId?: string;
|
|
2744
2752
|
onCurrentTabStopIdChange?: (tabStopId: string | null) => void;
|
|
@@ -2757,7 +2765,7 @@ declare interface RovingFocusGroupOptions {
|
|
|
2757
2765
|
/**
|
|
2758
2766
|
* The direction of navigation between items.
|
|
2759
2767
|
*/
|
|
2760
|
-
dir?:
|
|
2768
|
+
dir?: Direction;
|
|
2761
2769
|
/**
|
|
2762
2770
|
* Whether keyboard navigation should loop around
|
|
2763
2771
|
* @defaultValue false
|
|
@@ -2765,16 +2773,16 @@ declare interface RovingFocusGroupOptions {
|
|
|
2765
2773
|
loop?: boolean;
|
|
2766
2774
|
}
|
|
2767
2775
|
|
|
2768
|
-
declare type RovingFocusGroupProps =
|
|
2776
|
+
declare type RovingFocusGroupProps = React_3.ComponentPropsWithoutRef<typeof RovingFocusGroup.Root>;
|
|
2769
2777
|
|
|
2770
2778
|
declare interface RovingFocusGroupProps_2 extends RovingFocusGroupImplProps {
|
|
2771
2779
|
}
|
|
2772
2780
|
|
|
2773
2781
|
declare type RovingFocusGroupProps_3 = React_2.ComponentPropsWithoutRef<typeof RovingFocusGroup.Root>;
|
|
2774
2782
|
|
|
2775
|
-
declare type RovingFocusGroupProps_4 =
|
|
2783
|
+
declare type RovingFocusGroupProps_4 = React_2.ComponentPropsWithoutRef<typeof RovingFocusGroup.Root>;
|
|
2776
2784
|
|
|
2777
|
-
declare interface RovingFocusItemProps extends
|
|
2785
|
+
declare interface RovingFocusItemProps extends PrimitiveSpanProps_3 {
|
|
2778
2786
|
tabStopId?: string;
|
|
2779
2787
|
focusable?: boolean;
|
|
2780
2788
|
active?: boolean;
|
|
@@ -2852,7 +2860,7 @@ export declare const SelectGroup: ForwardRefExoticComponent<SelectPrimitive.Sele
|
|
|
2852
2860
|
|
|
2853
2861
|
declare const SelectGroup_2: React_2.ForwardRefExoticComponent<SelectGroupProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2854
2862
|
|
|
2855
|
-
declare interface SelectGroupProps extends
|
|
2863
|
+
declare interface SelectGroupProps extends PrimitiveDivProps_10 {
|
|
2856
2864
|
}
|
|
2857
2865
|
|
|
2858
2866
|
declare const SelectIcon: React_2.ForwardRefExoticComponent<SelectIconProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
@@ -2864,7 +2872,7 @@ export declare const SelectItem: ForwardRefExoticComponent<Omit<SelectPrimitive.
|
|
|
2864
2872
|
|
|
2865
2873
|
declare const SelectItem_2: React_2.ForwardRefExoticComponent<SelectItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2866
2874
|
|
|
2867
|
-
declare interface SelectItemAlignedPositionProps extends
|
|
2875
|
+
declare interface SelectItemAlignedPositionProps extends PrimitiveDivProps_10, SelectPopperPrivateProps {
|
|
2868
2876
|
}
|
|
2869
2877
|
|
|
2870
2878
|
declare const SelectItemIndicator: React_2.ForwardRefExoticComponent<SelectItemIndicatorProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
@@ -2872,7 +2880,7 @@ declare const SelectItemIndicator: React_2.ForwardRefExoticComponent<SelectItemI
|
|
|
2872
2880
|
declare interface SelectItemIndicatorProps extends PrimitiveSpanProps_6 {
|
|
2873
2881
|
}
|
|
2874
2882
|
|
|
2875
|
-
declare interface SelectItemProps extends
|
|
2883
|
+
declare interface SelectItemProps extends PrimitiveDivProps_10 {
|
|
2876
2884
|
value: string;
|
|
2877
2885
|
disabled?: boolean;
|
|
2878
2886
|
textValue?: string;
|
|
@@ -2887,7 +2895,7 @@ export declare const SelectLabel: ForwardRefExoticComponent<Omit<SelectPrimitive
|
|
|
2887
2895
|
|
|
2888
2896
|
declare const SelectLabel_2: React_2.ForwardRefExoticComponent<SelectLabelProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2889
2897
|
|
|
2890
|
-
declare interface SelectLabelProps extends
|
|
2898
|
+
declare interface SelectLabelProps extends PrimitiveDivProps_10 {
|
|
2891
2899
|
}
|
|
2892
2900
|
|
|
2893
2901
|
declare interface SelectPopperPositionProps extends PopperContentProps_3, SelectPopperPrivateProps {
|
|
@@ -2977,7 +2985,7 @@ declare interface SelectProps {
|
|
|
2977
2985
|
form?: string;
|
|
2978
2986
|
}
|
|
2979
2987
|
|
|
2980
|
-
declare interface SelectScrollButtonImplProps extends
|
|
2988
|
+
declare interface SelectScrollButtonImplProps extends PrimitiveDivProps_10 {
|
|
2981
2989
|
onAutoScroll(): void;
|
|
2982
2990
|
}
|
|
2983
2991
|
|
|
@@ -2995,7 +3003,7 @@ export declare const SelectSeparator: ForwardRefExoticComponent<Omit<SelectPrimi
|
|
|
2995
3003
|
|
|
2996
3004
|
declare const SelectSeparator_2: React_2.ForwardRefExoticComponent<SelectSeparatorProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2997
3005
|
|
|
2998
|
-
declare interface SelectSeparatorProps extends
|
|
3006
|
+
declare interface SelectSeparatorProps extends PrimitiveDivProps_10 {
|
|
2999
3007
|
}
|
|
3000
3008
|
|
|
3001
3009
|
export declare const SelectTrigger: ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
@@ -3015,7 +3023,7 @@ declare interface SelectValueProps extends Omit<PrimitiveSpanProps_6, 'placehold
|
|
|
3015
3023
|
|
|
3016
3024
|
declare const SelectViewport: React_2.ForwardRefExoticComponent<SelectViewportProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
3017
3025
|
|
|
3018
|
-
declare interface SelectViewportProps extends
|
|
3026
|
+
declare interface SelectViewportProps extends PrimitiveDivProps_10 {
|
|
3019
3027
|
nonce?: string;
|
|
3020
3028
|
}
|
|
3021
3029
|
|
|
@@ -3196,7 +3204,7 @@ export declare const TabsContent: ForwardRefExoticComponent<Omit<RadixTabs.TabsC
|
|
|
3196
3204
|
|
|
3197
3205
|
declare const TabsContent_2: React_2.ForwardRefExoticComponent<TabsContentProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
3198
3206
|
|
|
3199
|
-
declare interface TabsContentProps extends
|
|
3207
|
+
declare interface TabsContentProps extends PrimitiveDivProps_11 {
|
|
3200
3208
|
value: string;
|
|
3201
3209
|
/**
|
|
3202
3210
|
* Used to force mounting when more control is needed. Useful when
|
|
@@ -3209,11 +3217,11 @@ export declare const TabsList: ForwardRefExoticComponent<Omit<RadixTabs.TabsList
|
|
|
3209
3217
|
|
|
3210
3218
|
declare const TabsList_2: React_2.ForwardRefExoticComponent<TabsListProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
3211
3219
|
|
|
3212
|
-
declare interface TabsListProps extends
|
|
3213
|
-
loop?:
|
|
3220
|
+
declare interface TabsListProps extends PrimitiveDivProps_11 {
|
|
3221
|
+
loop?: RovingFocusGroupProps_4['loop'];
|
|
3214
3222
|
}
|
|
3215
3223
|
|
|
3216
|
-
declare interface TabsProps extends
|
|
3224
|
+
declare interface TabsProps extends PrimitiveDivProps_11 {
|
|
3217
3225
|
/** The value for the selected tab, if controlled */
|
|
3218
3226
|
value?: string;
|
|
3219
3227
|
/** The value of the tab to select by default, if uncontrolled */
|
|
@@ -3225,11 +3233,11 @@ declare interface TabsProps extends PrimitiveDivProps_10 {
|
|
|
3225
3233
|
* Mainly so arrow navigation is done accordingly (left & right vs. up & down)
|
|
3226
3234
|
* @defaultValue horizontal
|
|
3227
3235
|
*/
|
|
3228
|
-
orientation?:
|
|
3236
|
+
orientation?: RovingFocusGroupProps_4['orientation'];
|
|
3229
3237
|
/**
|
|
3230
3238
|
* The direction of navigation between toolbar items.
|
|
3231
3239
|
*/
|
|
3232
|
-
dir?:
|
|
3240
|
+
dir?: RovingFocusGroupProps_4['dir'];
|
|
3233
3241
|
/**
|
|
3234
3242
|
* Whether a tab is activated automatically or manually.
|
|
3235
3243
|
* @defaultValue automatic
|
|
@@ -3269,6 +3277,14 @@ declare type TextProps = {
|
|
|
3269
3277
|
children: React.ReactNode;
|
|
3270
3278
|
};
|
|
3271
3279
|
|
|
3280
|
+
/**
|
|
3281
|
+
* Typography component for consistent text styling
|
|
3282
|
+
* @param bold - Apply semibold font weight
|
|
3283
|
+
* @param xbold - Apply bold font weight (overrides bold)
|
|
3284
|
+
* @param color - Text color variant
|
|
3285
|
+
* @param className - Additional CSS classes
|
|
3286
|
+
* @param children - Content to render
|
|
3287
|
+
*/
|
|
3272
3288
|
declare type TextProps_2 = {
|
|
3273
3289
|
bold?: boolean;
|
|
3274
3290
|
xbold?: boolean;
|
|
@@ -3419,6 +3435,8 @@ declare type ToastTypes = 'normal' | 'action' | 'success' | 'info' | 'warning' |
|
|
|
3419
3435
|
|
|
3420
3436
|
declare const Toggle: React_2.ForwardRefExoticComponent<ToggleProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
3421
3437
|
|
|
3438
|
+
export declare const ToggleGroup: ForwardRefExoticComponent<ToggleGroupProps & RefAttributes<HTMLDivElement>>;
|
|
3439
|
+
|
|
3422
3440
|
declare interface ToggleGroupImplMultipleProps extends ToggleGroupImplProps {
|
|
3423
3441
|
/**
|
|
3424
3442
|
* The controlled stateful value of the items that are pressed.
|
|
@@ -3435,7 +3453,7 @@ declare interface ToggleGroupImplMultipleProps extends ToggleGroupImplProps {
|
|
|
3435
3453
|
onValueChange?(value: string[]): void;
|
|
3436
3454
|
}
|
|
3437
3455
|
|
|
3438
|
-
declare interface ToggleGroupImplProps extends
|
|
3456
|
+
declare interface ToggleGroupImplProps extends PrimitiveDivProps_2 {
|
|
3439
3457
|
/**
|
|
3440
3458
|
* Whether the group is disabled from user interaction.
|
|
3441
3459
|
* @defaultValue false
|
|
@@ -3446,9 +3464,9 @@ declare interface ToggleGroupImplProps extends PrimitiveDivProps_11 {
|
|
|
3446
3464
|
* @defaultValue true
|
|
3447
3465
|
*/
|
|
3448
3466
|
rovingFocus?: boolean;
|
|
3449
|
-
loop?:
|
|
3450
|
-
orientation?:
|
|
3451
|
-
dir?:
|
|
3467
|
+
loop?: RovingFocusGroupProps['loop'];
|
|
3468
|
+
orientation?: RovingFocusGroupProps['orientation'];
|
|
3469
|
+
dir?: RovingFocusGroupProps['dir'];
|
|
3452
3470
|
}
|
|
3453
3471
|
|
|
3454
3472
|
declare interface ToggleGroupImplSingleProps extends ToggleGroupImplProps {
|
|
@@ -3481,10 +3499,22 @@ declare interface ToggleGroupMultipleProps extends ToggleGroupImplMultipleProps
|
|
|
3481
3499
|
type: 'multiple';
|
|
3482
3500
|
}
|
|
3483
3501
|
|
|
3502
|
+
declare interface ToggleGroupProps extends Omit<ToggleGroupSingleProps, 'type'> {
|
|
3503
|
+
options: ToggleOption[];
|
|
3504
|
+
className?: string;
|
|
3505
|
+
required?: boolean;
|
|
3506
|
+
}
|
|
3507
|
+
|
|
3484
3508
|
declare interface ToggleGroupSingleProps extends ToggleGroupImplSingleProps {
|
|
3485
3509
|
type: 'single';
|
|
3486
3510
|
}
|
|
3487
3511
|
|
|
3512
|
+
declare interface ToggleOption {
|
|
3513
|
+
value: string;
|
|
3514
|
+
label: string;
|
|
3515
|
+
disabled?: boolean;
|
|
3516
|
+
}
|
|
3517
|
+
|
|
3488
3518
|
declare interface ToggleProps extends PrimitiveButtonProps_2 {
|
|
3489
3519
|
/**
|
|
3490
3520
|
* The controlled state of the toggle.
|