@mesh.ai/rabbit 1.62.0 → 1.65.1
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 +10531 -9739
- package/dist/@mesh.ai/rabbit.umd.js +30 -30
- package/dist/index.d.ts +305 -89
- 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_6 {
|
|
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_4 {
|
|
|
74
74
|
/**
|
|
75
75
|
* The language read direction.
|
|
76
76
|
*/
|
|
77
|
-
dir?:
|
|
77
|
+
dir?: Direction_3;
|
|
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
|
-
|
|
141
|
-
|
|
140
|
+
Item_4 as Item,
|
|
141
|
+
Root_8 as Root,
|
|
142
142
|
Trigger_2 as Trigger,
|
|
143
143
|
createAccordionScope
|
|
144
144
|
}
|
|
@@ -189,7 +189,7 @@ export declare const AddPerson: (props: SVGProps<SVGSVGElement>) => JSX_2.Elemen
|
|
|
189
189
|
export declare const AICard: ForwardRefExoticComponent<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
190
190
|
|
|
191
191
|
export declare const Alert: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
192
|
-
variant?: "default" | "
|
|
192
|
+
variant?: "default" | "error" | "warning" | "success" | null | undefined;
|
|
193
193
|
} & ClassProp) | undefined) => string> & RefAttributes<HTMLDivElement>>;
|
|
194
194
|
|
|
195
195
|
export declare const AlertDescription: ForwardRefExoticComponent<HTMLAttributes<HTMLParagraphElement> & RefAttributes<HTMLParagraphElement>>;
|
|
@@ -220,7 +220,7 @@ declare namespace AlertDialog {
|
|
|
220
220
|
Description,
|
|
221
221
|
Overlay,
|
|
222
222
|
Portal,
|
|
223
|
-
|
|
223
|
+
Root_9 as Root,
|
|
224
224
|
Title,
|
|
225
225
|
Trigger_3 as Trigger,
|
|
226
226
|
createAlertDialogScope
|
|
@@ -423,7 +423,7 @@ declare namespace ArrowPrimitive {
|
|
|
423
423
|
export {
|
|
424
424
|
Arrow_3 as Arrow,
|
|
425
425
|
ArrowProps_2 as ArrowProps,
|
|
426
|
-
|
|
426
|
+
Root_11 as Root
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
429
|
|
|
@@ -462,7 +462,7 @@ export declare const AvatarFallback: React_2.ForwardRefExoticComponent<Omit<Avat
|
|
|
462
462
|
|
|
463
463
|
declare const AvatarFallback_2: React_2.ForwardRefExoticComponent<AvatarFallbackProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
464
464
|
|
|
465
|
-
declare interface AvatarFallbackProps extends
|
|
465
|
+
declare interface AvatarFallbackProps extends PrimitiveSpanProps_6 {
|
|
466
466
|
delayMs?: number;
|
|
467
467
|
}
|
|
468
468
|
|
|
@@ -492,12 +492,12 @@ declare namespace AvatarPrimitive {
|
|
|
492
492
|
AvatarProps,
|
|
493
493
|
Fallback,
|
|
494
494
|
Image_2 as Image,
|
|
495
|
-
|
|
495
|
+
Root_10 as Root,
|
|
496
496
|
createAvatarScope
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
|
|
500
|
-
declare interface AvatarProps extends
|
|
500
|
+
declare interface AvatarProps extends PrimitiveSpanProps_6 {
|
|
501
501
|
}
|
|
502
502
|
|
|
503
503
|
declare type AvatarSize = NonNullable<ComponentPropsWithoutRef<typeof Avatar>['size']>;
|
|
@@ -961,11 +961,20 @@ declare function createContext<ContextValueType extends object | null>(rootCompo
|
|
|
961
961
|
children: React_2.ReactNode;
|
|
962
962
|
}>, (consumerName: string) => ContextValueType];
|
|
963
963
|
|
|
964
|
+
declare function createContext_2<ContextValueType extends object | null>(rootComponentName: string, defaultContext?: ContextValueType): readonly [React_2.FC<ContextValueType & {
|
|
965
|
+
children: React_2.ReactNode;
|
|
966
|
+
}>, (consumerName: string) => ContextValueType];
|
|
967
|
+
|
|
964
968
|
declare function createContextScope(scopeName: string, createContextScopeDeps?: CreateScope[]): readonly [<ContextValueType extends object | null>(rootComponentName: string, defaultContext?: ContextValueType | undefined) => readonly [React_2.FC<ContextValueType & {
|
|
965
969
|
scope: Scope<ContextValueType>;
|
|
966
970
|
children: React_2.ReactNode;
|
|
967
971
|
}>, (consumerName: string, scope: Scope<ContextValueType | undefined>) => ContextValueType], CreateScope];
|
|
968
972
|
|
|
973
|
+
declare function createContextScope_2(scopeName: string, createContextScopeDeps?: CreateScope_2[]): readonly [<ContextValueType extends object | null>(rootComponentName: string, defaultContext?: ContextValueType) => readonly [React_2.FC<ContextValueType & {
|
|
974
|
+
scope: Scope_2<ContextValueType>;
|
|
975
|
+
children: React_2.ReactNode;
|
|
976
|
+
}>, (consumerName: string, scope: Scope_2<ContextValueType | undefined>) => ContextValueType], CreateScope_2];
|
|
977
|
+
|
|
969
978
|
declare const createDropdownMenuScope: _radix_ui_react_context.CreateScope;
|
|
970
979
|
|
|
971
980
|
declare const createHoverCardScope: _radix_ui_react_context.CreateScope;
|
|
@@ -974,13 +983,22 @@ declare const createMenuScope: _radix_ui_react_context.CreateScope;
|
|
|
974
983
|
|
|
975
984
|
declare const createPopperScope: _radix_ui_react_context.CreateScope;
|
|
976
985
|
|
|
986
|
+
declare const createRadioGroupScope: _radix_ui_react_context_2.CreateScope;
|
|
987
|
+
|
|
977
988
|
declare const createRovingFocusGroupScope: _radix_ui_react_context.CreateScope;
|
|
978
989
|
|
|
990
|
+
declare const createRovingFocusGroupScope_2: _radix_ui_react_context_2.CreateScope;
|
|
991
|
+
|
|
979
992
|
declare interface CreateScope {
|
|
980
993
|
scopeName: string;
|
|
981
994
|
(): ScopeHook;
|
|
982
995
|
}
|
|
983
996
|
|
|
997
|
+
declare interface CreateScope_2 {
|
|
998
|
+
scopeName: string;
|
|
999
|
+
(): ScopeHook_2;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
984
1002
|
declare const createSelectScope: _radix_ui_react_context.CreateScope;
|
|
985
1003
|
|
|
986
1004
|
declare const createSwitchScope: _radix_ui_react_context.CreateScope;
|
|
@@ -1076,11 +1094,13 @@ declare type Direction_5 = 'ltr' | 'rtl';
|
|
|
1076
1094
|
|
|
1077
1095
|
declare type Direction_6 = 'ltr' | 'rtl';
|
|
1078
1096
|
|
|
1097
|
+
declare type Direction_7 = 'ltr' | 'rtl';
|
|
1098
|
+
|
|
1079
1099
|
declare const DismissableLayer: React_2.ForwardRefExoticComponent<DismissableLayerProps_2 & React_2.RefAttributes<HTMLDivElement>>;
|
|
1080
1100
|
|
|
1081
1101
|
declare type DismissableLayerProps = React_2.ComponentPropsWithoutRef<typeof DismissableLayer>;
|
|
1082
1102
|
|
|
1083
|
-
declare interface DismissableLayerProps_2 extends
|
|
1103
|
+
declare interface DismissableLayerProps_2 extends PrimitiveDivProps_10 {
|
|
1084
1104
|
/**
|
|
1085
1105
|
* When `true`, hover/focus/click interactions will be disabled on elements outside
|
|
1086
1106
|
* the `DismissableLayer`. Users will need to click twice on outside elements to
|
|
@@ -1226,7 +1246,7 @@ declare interface DropdownMenuPortalProps extends MenuPortalProps_2 {
|
|
|
1226
1246
|
|
|
1227
1247
|
declare interface DropdownMenuProps {
|
|
1228
1248
|
children?: React_2.ReactNode;
|
|
1229
|
-
dir?:
|
|
1249
|
+
dir?: Direction_5;
|
|
1230
1250
|
open?: boolean;
|
|
1231
1251
|
defaultOpen?: boolean;
|
|
1232
1252
|
onOpenChange?(open: boolean): void;
|
|
@@ -1269,7 +1289,7 @@ declare interface DropdownMenuSubTriggerProps extends MenuSubTriggerProps_2 {
|
|
|
1269
1289
|
|
|
1270
1290
|
declare const DropdownMenuTrigger: React_2.ForwardRefExoticComponent<DropdownMenuTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
1271
1291
|
|
|
1272
|
-
declare interface DropdownMenuTriggerProps extends
|
|
1292
|
+
declare interface DropdownMenuTriggerProps extends PrimitiveButtonProps_6 {
|
|
1273
1293
|
}
|
|
1274
1294
|
|
|
1275
1295
|
declare const DropdownPortal: FC<DropdownPrimitive.DropdownMenuPortalProps>;
|
|
@@ -1314,13 +1334,13 @@ declare namespace DropdownPrimitive {
|
|
|
1314
1334
|
DropdownMenuTrigger,
|
|
1315
1335
|
DropdownMenuTriggerProps,
|
|
1316
1336
|
Group_2 as Group,
|
|
1317
|
-
|
|
1337
|
+
Item_6 as Item,
|
|
1318
1338
|
ItemIndicator_2 as ItemIndicator,
|
|
1319
1339
|
Label_4 as Label,
|
|
1320
1340
|
Portal_4 as Portal,
|
|
1321
|
-
|
|
1341
|
+
RadioGroup_4 as RadioGroup,
|
|
1322
1342
|
RadioItem_2 as RadioItem,
|
|
1323
|
-
|
|
1343
|
+
Root_14 as Root,
|
|
1324
1344
|
Separator_2 as Separator,
|
|
1325
1345
|
Sub_2 as Sub,
|
|
1326
1346
|
SubContent_2 as SubContent,
|
|
@@ -1395,7 +1415,7 @@ declare const FocusScope: React_2.ForwardRefExoticComponent<FocusScopeProps_2 &
|
|
|
1395
1415
|
|
|
1396
1416
|
declare type FocusScopeProps = React_2.ComponentPropsWithoutRef<typeof FocusScope>;
|
|
1397
1417
|
|
|
1398
|
-
declare interface FocusScopeProps_2 extends
|
|
1418
|
+
declare interface FocusScopeProps_2 extends PrimitiveDivProps_9 {
|
|
1399
1419
|
/**
|
|
1400
1420
|
* When `true`, tabbing from last item will focus first tabbable
|
|
1401
1421
|
* and shift+tab from first item will focus last tababble.
|
|
@@ -1633,7 +1653,7 @@ declare namespace HoverCardPrimitive {
|
|
|
1633
1653
|
HoverCardTrigger_2 as HoverCardTrigger,
|
|
1634
1654
|
HoverCardTriggerProps,
|
|
1635
1655
|
Portal_7 as Portal,
|
|
1636
|
-
|
|
1656
|
+
Root_18 as Root,
|
|
1637
1657
|
Trigger_8 as Trigger,
|
|
1638
1658
|
createHoverCardScope
|
|
1639
1659
|
}
|
|
@@ -1676,6 +1696,8 @@ declare type ImageLoadingStatus = 'idle' | 'loading' | 'loaded' | 'error';
|
|
|
1676
1696
|
|
|
1677
1697
|
declare const Indicator: React_2.ForwardRefExoticComponent<CheckboxIndicatorProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
1678
1698
|
|
|
1699
|
+
declare const Indicator_2: React_2.ForwardRefExoticComponent<RadioGroupIndicatorProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
1700
|
+
|
|
1679
1701
|
export declare const Info: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
1680
1702
|
|
|
1681
1703
|
export declare const InfoWorkZero: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
@@ -1690,13 +1712,17 @@ declare interface InputProps extends React.InputHTMLAttributes<HTMLInputElement>
|
|
|
1690
1712
|
|
|
1691
1713
|
declare const Item: React_2.ForwardRefExoticComponent<RovingFocusItemProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
1692
1714
|
|
|
1693
|
-
declare const Item_2:
|
|
1715
|
+
declare const Item_2: React_2.ForwardRefExoticComponent<RadioGroupItemProps_2 & React_2.RefAttributes<HTMLButtonElement>>;
|
|
1716
|
+
|
|
1717
|
+
declare const Item_3: React_2.ForwardRefExoticComponent<RovingFocusItemProps_2 & React_2.RefAttributes<HTMLSpanElement>>;
|
|
1718
|
+
|
|
1719
|
+
declare const Item_4: React_3.ForwardRefExoticComponent<AccordionItemProps & React_3.RefAttributes<HTMLDivElement>>;
|
|
1694
1720
|
|
|
1695
|
-
declare const
|
|
1721
|
+
declare const Item_5: React_2.ForwardRefExoticComponent<MenuItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1696
1722
|
|
|
1697
|
-
declare const
|
|
1723
|
+
declare const Item_6: React_2.ForwardRefExoticComponent<DropdownMenuItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1698
1724
|
|
|
1699
|
-
declare const
|
|
1725
|
+
declare const Item_7: React_2.ForwardRefExoticComponent<SelectItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1700
1726
|
|
|
1701
1727
|
declare const ItemIndicator: React_2.ForwardRefExoticComponent<MenuItemIndicatorProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
1702
1728
|
|
|
@@ -1941,8 +1967,8 @@ declare interface MenuContentImplProps extends MenuContentImplPrivateProps, Omit
|
|
|
1941
1967
|
* Whether keyboard navigation should loop around
|
|
1942
1968
|
* @defaultValue false
|
|
1943
1969
|
*/
|
|
1944
|
-
loop?:
|
|
1945
|
-
onEntryFocus?:
|
|
1970
|
+
loop?: RovingFocusGroupProps_5['loop'];
|
|
1971
|
+
onEntryFocus?: RovingFocusGroupProps_5['onEntryFocus'];
|
|
1946
1972
|
onEscapeKeyDown?: DismissableLayerProps['onEscapeKeyDown'];
|
|
1947
1973
|
onPointerDownOutside?: DismissableLayerProps['onPointerDownOutside'];
|
|
1948
1974
|
onFocusOutside?: DismissableLayerProps['onFocusOutside'];
|
|
@@ -1966,21 +1992,21 @@ declare type MenuContentProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPr
|
|
|
1966
1992
|
|
|
1967
1993
|
declare const MenuGroup: React_2.ForwardRefExoticComponent<MenuGroupProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1968
1994
|
|
|
1969
|
-
declare interface MenuGroupProps extends
|
|
1995
|
+
declare interface MenuGroupProps extends PrimitiveDivProps_8 {
|
|
1970
1996
|
}
|
|
1971
1997
|
|
|
1972
1998
|
declare type MenuGroupProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimitive.Group>;
|
|
1973
1999
|
|
|
1974
2000
|
declare const MenuItem: React_2.ForwardRefExoticComponent<MenuItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1975
2001
|
|
|
1976
|
-
declare interface MenuItemImplProps extends
|
|
2002
|
+
declare interface MenuItemImplProps extends PrimitiveDivProps_8 {
|
|
1977
2003
|
disabled?: boolean;
|
|
1978
2004
|
textValue?: string;
|
|
1979
2005
|
}
|
|
1980
2006
|
|
|
1981
2007
|
declare const MenuItemIndicator: React_2.ForwardRefExoticComponent<MenuItemIndicatorProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
1982
2008
|
|
|
1983
|
-
declare interface MenuItemIndicatorProps extends
|
|
2009
|
+
declare interface MenuItemIndicatorProps extends PrimitiveSpanProps_7 {
|
|
1984
2010
|
/**
|
|
1985
2011
|
* Used to force mounting when more control is needed. Useful when
|
|
1986
2012
|
* controlling animation with React animation libraries.
|
|
@@ -1998,7 +2024,7 @@ declare type MenuItemProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimi
|
|
|
1998
2024
|
|
|
1999
2025
|
declare const MenuLabel: React_2.ForwardRefExoticComponent<MenuLabelProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2000
2026
|
|
|
2001
|
-
declare interface MenuLabelProps extends
|
|
2027
|
+
declare interface MenuLabelProps extends PrimitiveDivProps_8 {
|
|
2002
2028
|
}
|
|
2003
2029
|
|
|
2004
2030
|
declare type MenuLabelProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimitive.Label>;
|
|
@@ -2027,7 +2053,7 @@ declare namespace MenuPrimitive {
|
|
|
2027
2053
|
CheckboxItem,
|
|
2028
2054
|
Content_5 as Content,
|
|
2029
2055
|
Group,
|
|
2030
|
-
|
|
2056
|
+
Item_5 as Item,
|
|
2031
2057
|
ItemIndicator,
|
|
2032
2058
|
Label_3 as Label,
|
|
2033
2059
|
Menu,
|
|
@@ -2063,9 +2089,9 @@ declare namespace MenuPrimitive {
|
|
|
2063
2089
|
MenuSubTrigger,
|
|
2064
2090
|
MenuSubTriggerProps,
|
|
2065
2091
|
Portal_3 as Portal,
|
|
2066
|
-
RadioGroup,
|
|
2092
|
+
RadioGroup_3 as RadioGroup,
|
|
2067
2093
|
RadioItem,
|
|
2068
|
-
|
|
2094
|
+
Root_13 as Root,
|
|
2069
2095
|
Separator,
|
|
2070
2096
|
Sub,
|
|
2071
2097
|
SubContent,
|
|
@@ -2078,7 +2104,7 @@ declare interface MenuProps {
|
|
|
2078
2104
|
children?: React_2.ReactNode;
|
|
2079
2105
|
open?: boolean;
|
|
2080
2106
|
onOpenChange?(open: boolean): void;
|
|
2081
|
-
dir?:
|
|
2107
|
+
dir?: Direction_4;
|
|
2082
2108
|
modal?: boolean;
|
|
2083
2109
|
}
|
|
2084
2110
|
|
|
@@ -2104,7 +2130,7 @@ declare interface MenuRootContentTypeProps extends Omit<MenuContentImplProps, ke
|
|
|
2104
2130
|
|
|
2105
2131
|
declare const MenuSeparator: React_2.ForwardRefExoticComponent<MenuSeparatorProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2106
2132
|
|
|
2107
|
-
declare interface MenuSeparatorProps extends
|
|
2133
|
+
declare interface MenuSeparatorProps extends PrimitiveDivProps_8 {
|
|
2108
2134
|
}
|
|
2109
2135
|
|
|
2110
2136
|
declare type MenuSeparatorProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimitive.Separator>;
|
|
@@ -2258,8 +2284,8 @@ declare interface NavigationMenuProps extends Omit<NavigationMenuProviderProps,
|
|
|
2258
2284
|
value?: string;
|
|
2259
2285
|
defaultValue?: string;
|
|
2260
2286
|
onValueChange?: (value: string) => void;
|
|
2261
|
-
dir?:
|
|
2262
|
-
orientation?:
|
|
2287
|
+
dir?: Direction_7;
|
|
2288
|
+
orientation?: Orientation_3;
|
|
2263
2289
|
/**
|
|
2264
2290
|
* The duration from when the pointer enters the trigger until the tooltip gets opened.
|
|
2265
2291
|
* @defaultValue 200
|
|
@@ -2276,8 +2302,8 @@ declare interface NavigationMenuProviderPrivateProps {
|
|
|
2276
2302
|
isRootMenu: boolean;
|
|
2277
2303
|
scope: Scope;
|
|
2278
2304
|
children: React_2.ReactNode;
|
|
2279
|
-
orientation:
|
|
2280
|
-
dir:
|
|
2305
|
+
orientation: Orientation_3;
|
|
2306
|
+
dir: Direction_7;
|
|
2281
2307
|
rootNavigationMenu: NavigationMenuElement | null;
|
|
2282
2308
|
value: string;
|
|
2283
2309
|
onTriggerEnter(itemValue: string): void;
|
|
@@ -2293,7 +2319,7 @@ declare interface NavigationMenuProviderProps extends NavigationMenuProviderPriv
|
|
|
2293
2319
|
|
|
2294
2320
|
declare type NavigationMenuTriggerElement = React_2.ElementRef<typeof Primitive.button>;
|
|
2295
2321
|
|
|
2296
|
-
declare interface NavigationMenuTriggerProps extends
|
|
2322
|
+
declare interface NavigationMenuTriggerProps extends PrimitiveButtonProps_10 {
|
|
2297
2323
|
}
|
|
2298
2324
|
|
|
2299
2325
|
export declare function NavItemL2({ children, ...props }: NavItemL2Props): JSX_2.Element;
|
|
@@ -2349,6 +2375,8 @@ declare interface Node_6 {
|
|
|
2349
2375
|
|
|
2350
2376
|
declare const NODES: readonly ["a", "button", "div", "form", "h2", "h3", "img", "input", "label", "li", "nav", "ol", "p", "span", "svg", "ul"];
|
|
2351
2377
|
|
|
2378
|
+
declare const NODES_2: readonly ["a", "button", "div", "form", "h2", "h3", "img", "input", "label", "li", "nav", "ol", "p", "select", "span", "svg", "ul"];
|
|
2379
|
+
|
|
2352
2380
|
export declare const Notifications: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
2353
2381
|
|
|
2354
2382
|
export declare function NudgeAction({ className, orientation, ...buttonProps }: NudgeActionProps): JSX_2.Element;
|
|
@@ -2408,7 +2436,9 @@ declare interface Option_2 {
|
|
|
2408
2436
|
|
|
2409
2437
|
declare type Orientation = React_2.AriaAttributes['aria-orientation'];
|
|
2410
2438
|
|
|
2411
|
-
declare type Orientation_2 = '
|
|
2439
|
+
declare type Orientation_2 = React_2.AriaAttributes['aria-orientation'];
|
|
2440
|
+
|
|
2441
|
+
declare type Orientation_3 = 'vertical' | 'horizontal';
|
|
2412
2442
|
|
|
2413
2443
|
export declare const Overflow: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
2414
2444
|
|
|
@@ -2447,7 +2477,7 @@ declare const PopperAnchor: React_2.ForwardRefExoticComponent<PopperAnchorProps_
|
|
|
2447
2477
|
|
|
2448
2478
|
declare type PopperAnchorProps = React_2.ComponentPropsWithoutRef<typeof PopperPrimitive.Anchor>;
|
|
2449
2479
|
|
|
2450
|
-
declare interface PopperAnchorProps_2 extends
|
|
2480
|
+
declare interface PopperAnchorProps_2 extends PrimitiveDivProps_7 {
|
|
2451
2481
|
virtualRef?: React_2.RefObject<Measurable>;
|
|
2452
2482
|
}
|
|
2453
2483
|
|
|
@@ -2466,7 +2496,7 @@ declare type PopperArrowProps_5 = React_2.ComponentPropsWithoutRef<typeof Popper
|
|
|
2466
2496
|
|
|
2467
2497
|
declare const PopperContent: React_2.ForwardRefExoticComponent<PopperContentProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2468
2498
|
|
|
2469
|
-
declare interface PopperContentProps extends
|
|
2499
|
+
declare interface PopperContentProps extends PrimitiveDivProps_7 {
|
|
2470
2500
|
side?: Side;
|
|
2471
2501
|
sideOffset?: number;
|
|
2472
2502
|
align?: Align;
|
|
@@ -2503,7 +2533,7 @@ declare namespace PopperPrimitive {
|
|
|
2503
2533
|
PopperContent,
|
|
2504
2534
|
PopperContentProps,
|
|
2505
2535
|
PopperProps,
|
|
2506
|
-
|
|
2536
|
+
Root_12 as Root,
|
|
2507
2537
|
SIDE_OPTIONS,
|
|
2508
2538
|
createPopperScope
|
|
2509
2539
|
}
|
|
@@ -2529,7 +2559,7 @@ declare const Portal_7: React_2.FC<HoverCardPortalProps>;
|
|
|
2529
2559
|
|
|
2530
2560
|
declare type PortalProps = React_2.ComponentPropsWithoutRef<typeof Portal_2>;
|
|
2531
2561
|
|
|
2532
|
-
declare interface PortalProps_2 extends
|
|
2562
|
+
declare interface PortalProps_2 extends PrimitiveDivProps_11 {
|
|
2533
2563
|
/**
|
|
2534
2564
|
* An optional container where the portaled content should be appended.
|
|
2535
2565
|
*/
|
|
@@ -2546,15 +2576,19 @@ declare type Position = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right
|
|
|
2546
2576
|
|
|
2547
2577
|
declare const Primitive: Primitives;
|
|
2548
2578
|
|
|
2579
|
+
declare const Primitive_2: Primitives_2;
|
|
2580
|
+
|
|
2549
2581
|
declare type PrimitiveButtonProps = React_2.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
2550
2582
|
|
|
2583
|
+
declare type PrimitiveButtonProps_10 = React_2.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
2584
|
+
|
|
2551
2585
|
declare type PrimitiveButtonProps_2 = React_2.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
2552
2586
|
|
|
2553
2587
|
declare type PrimitiveButtonProps_3 = React_2.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
2554
2588
|
|
|
2555
2589
|
declare type PrimitiveButtonProps_4 = React_2.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
2556
2590
|
|
|
2557
|
-
declare type PrimitiveButtonProps_5 = React_2.ComponentPropsWithoutRef<typeof
|
|
2591
|
+
declare type PrimitiveButtonProps_5 = React_2.ComponentPropsWithoutRef<typeof Primitive_2.button>;
|
|
2558
2592
|
|
|
2559
2593
|
declare type PrimitiveButtonProps_6 = React_2.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
2560
2594
|
|
|
@@ -2570,15 +2604,19 @@ declare type PrimitiveDivProps_10 = React_2.ComponentPropsWithoutRef<typeof Prim
|
|
|
2570
2604
|
|
|
2571
2605
|
declare type PrimitiveDivProps_11 = React_2.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2572
2606
|
|
|
2607
|
+
declare type PrimitiveDivProps_12 = React_2.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2608
|
+
|
|
2609
|
+
declare type PrimitiveDivProps_13 = React_2.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2610
|
+
|
|
2573
2611
|
declare type PrimitiveDivProps_2 = React_3.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2574
2612
|
|
|
2575
2613
|
declare type PrimitiveDivProps_3 = React_2.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2576
2614
|
|
|
2577
|
-
declare type PrimitiveDivProps_4 =
|
|
2615
|
+
declare type PrimitiveDivProps_4 = React_2.ComponentPropsWithoutRef<typeof Primitive_2.div>;
|
|
2578
2616
|
|
|
2579
|
-
declare type PrimitiveDivProps_5 = React_2.ComponentPropsWithoutRef<typeof
|
|
2617
|
+
declare type PrimitiveDivProps_5 = React_2.ComponentPropsWithoutRef<typeof Primitive_2.div>;
|
|
2580
2618
|
|
|
2581
|
-
declare type PrimitiveDivProps_6 =
|
|
2619
|
+
declare type PrimitiveDivProps_6 = React_3.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2582
2620
|
|
|
2583
2621
|
declare type PrimitiveDivProps_7 = React_2.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2584
2622
|
|
|
@@ -2589,6 +2627,9 @@ declare type PrimitiveDivProps_9 = React_2.ComponentPropsWithoutRef<typeof Primi
|
|
|
2589
2627
|
declare interface PrimitiveForwardRefComponent<E extends React_2.ElementType> extends React_2.ForwardRefExoticComponent<PrimitivePropsWithRef<E>> {
|
|
2590
2628
|
}
|
|
2591
2629
|
|
|
2630
|
+
declare interface PrimitiveForwardRefComponent_2<E extends React_2.ElementType> extends React_2.ForwardRefExoticComponent<PrimitivePropsWithRef_2<E>> {
|
|
2631
|
+
}
|
|
2632
|
+
|
|
2592
2633
|
declare type PrimitiveHeading3Props = React_3.ComponentPropsWithoutRef<typeof Primitive.h3>;
|
|
2593
2634
|
|
|
2594
2635
|
declare type PrimitiveImageProps = React_2.ComponentPropsWithoutRef<typeof Primitive.img>;
|
|
@@ -2605,22 +2646,34 @@ declare type PrimitivePropsWithRef<E extends React_2.ElementType> = React_2.Comp
|
|
|
2605
2646
|
asChild?: boolean;
|
|
2606
2647
|
};
|
|
2607
2648
|
|
|
2649
|
+
declare type PrimitivePropsWithRef_2<E extends React_2.ElementType> = React_2.ComponentPropsWithRef<E> & {
|
|
2650
|
+
asChild?: boolean;
|
|
2651
|
+
};
|
|
2652
|
+
|
|
2608
2653
|
declare type Primitives = {
|
|
2609
2654
|
[E in (typeof NODES)[number]]: PrimitiveForwardRefComponent<E>;
|
|
2610
2655
|
};
|
|
2611
2656
|
|
|
2657
|
+
declare type Primitives_2 = {
|
|
2658
|
+
[E in (typeof NODES_2)[number]]: PrimitiveForwardRefComponent_2<E>;
|
|
2659
|
+
};
|
|
2660
|
+
|
|
2612
2661
|
declare type PrimitiveSpanProps = React_2.ComponentPropsWithoutRef<typeof Primitive.span>;
|
|
2613
2662
|
|
|
2614
2663
|
declare type PrimitiveSpanProps_2 = React_2.ComponentPropsWithoutRef<typeof Primitive.span>;
|
|
2615
2664
|
|
|
2616
2665
|
declare type PrimitiveSpanProps_3 = React_2.ComponentPropsWithoutRef<typeof Primitive.span>;
|
|
2617
2666
|
|
|
2618
|
-
declare type PrimitiveSpanProps_4 = React_2.ComponentPropsWithoutRef<typeof
|
|
2667
|
+
declare type PrimitiveSpanProps_4 = React_2.ComponentPropsWithoutRef<typeof Primitive_2.span>;
|
|
2619
2668
|
|
|
2620
|
-
declare type PrimitiveSpanProps_5 = React_2.ComponentPropsWithoutRef<typeof
|
|
2669
|
+
declare type PrimitiveSpanProps_5 = React_2.ComponentPropsWithoutRef<typeof Primitive_2.span>;
|
|
2621
2670
|
|
|
2622
2671
|
declare type PrimitiveSpanProps_6 = React_2.ComponentPropsWithoutRef<typeof Primitive.span>;
|
|
2623
2672
|
|
|
2673
|
+
declare type PrimitiveSpanProps_7 = React_2.ComponentPropsWithoutRef<typeof Primitive.span>;
|
|
2674
|
+
|
|
2675
|
+
declare type PrimitiveSpanProps_8 = React_2.ComponentPropsWithoutRef<typeof Primitive.span>;
|
|
2676
|
+
|
|
2624
2677
|
declare type PrimitiveSvgProps = React_2.ComponentPropsWithoutRef<typeof Primitive.svg>;
|
|
2625
2678
|
|
|
2626
2679
|
export declare const Product: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
@@ -2763,14 +2816,100 @@ declare interface RadarChartProps {
|
|
|
2763
2816
|
levels?: number;
|
|
2764
2817
|
}
|
|
2765
2818
|
|
|
2766
|
-
declare const
|
|
2819
|
+
declare const Radio: React_2.ForwardRefExoticComponent<RadioProps$1 & React_2.RefAttributes<HTMLButtonElement>>;
|
|
2820
|
+
|
|
2821
|
+
export declare const RadioGroup: ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
2822
|
+
|
|
2823
|
+
declare const RadioGroup_2: React_2.ForwardRefExoticComponent<RadioGroupProps_2 & React_2.RefAttributes<HTMLDivElement>>;
|
|
2824
|
+
|
|
2825
|
+
declare const RadioGroup_3: React_2.ForwardRefExoticComponent<MenuRadioGroupProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2826
|
+
|
|
2827
|
+
declare const RadioGroup_4: React_2.ForwardRefExoticComponent<DropdownMenuRadioGroupProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2828
|
+
|
|
2829
|
+
declare type RadioGroupContextValue = {
|
|
2830
|
+
name?: string;
|
|
2831
|
+
required: boolean;
|
|
2832
|
+
disabled: boolean;
|
|
2833
|
+
value: string | null;
|
|
2834
|
+
onValueChange(value: string): void;
|
|
2835
|
+
};
|
|
2836
|
+
|
|
2837
|
+
declare const RadioGroupIndicator: React_2.ForwardRefExoticComponent<RadioGroupIndicatorProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
2838
|
+
|
|
2839
|
+
declare interface RadioGroupIndicatorProps extends RadioIndicatorProps {
|
|
2840
|
+
}
|
|
2841
|
+
|
|
2842
|
+
export declare const RadioGroupItem: ForwardRefExoticComponent<RadioGroupItemProps & RefAttributes<HTMLButtonElement>>;
|
|
2843
|
+
|
|
2844
|
+
declare const RadioGroupItem_2: React_2.ForwardRefExoticComponent<RadioGroupItemProps_2 & React_2.RefAttributes<HTMLButtonElement>>;
|
|
2845
|
+
|
|
2846
|
+
export declare interface RadioGroupItemProps extends ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>, VariantProps<typeof radioItemVariants> {
|
|
2847
|
+
}
|
|
2848
|
+
|
|
2849
|
+
declare interface RadioGroupItemProps_2 extends Omit<RadioProps, 'onCheck' | 'name'> {
|
|
2850
|
+
value: string;
|
|
2851
|
+
}
|
|
2852
|
+
|
|
2853
|
+
declare namespace RadioGroupPrimitive {
|
|
2854
|
+
export {
|
|
2855
|
+
Indicator_2 as Indicator,
|
|
2856
|
+
Item_2 as Item,
|
|
2857
|
+
RadioGroup_2 as RadioGroup,
|
|
2858
|
+
RadioGroupIndicator,
|
|
2859
|
+
RadioGroupIndicatorProps,
|
|
2860
|
+
RadioGroupItem_2 as RadioGroupItem,
|
|
2861
|
+
RadioGroupItemProps_2 as RadioGroupItemProps,
|
|
2862
|
+
RadioGroupProps_2 as RadioGroupProps,
|
|
2863
|
+
Root_7 as Root,
|
|
2864
|
+
createRadioGroupScope
|
|
2865
|
+
}
|
|
2866
|
+
}
|
|
2767
2867
|
|
|
2768
|
-
declare
|
|
2868
|
+
export declare type RadioGroupProps = ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>;
|
|
2869
|
+
|
|
2870
|
+
declare interface RadioGroupProps_2 extends PrimitiveDivProps_4 {
|
|
2871
|
+
name?: RadioGroupContextValue['name'];
|
|
2872
|
+
required?: React_2.ComponentPropsWithoutRef<typeof Radio>['required'];
|
|
2873
|
+
disabled?: React_2.ComponentPropsWithoutRef<typeof Radio>['disabled'];
|
|
2874
|
+
dir?: RovingFocusGroupProps_3['dir'];
|
|
2875
|
+
orientation?: RovingFocusGroupProps_3['orientation'];
|
|
2876
|
+
loop?: RovingFocusGroupProps_3['loop'];
|
|
2877
|
+
defaultValue?: string;
|
|
2878
|
+
value?: string | null;
|
|
2879
|
+
onValueChange?: RadioGroupContextValue['onValueChange'];
|
|
2880
|
+
}
|
|
2881
|
+
|
|
2882
|
+
declare const RadioIndicator: React_2.ForwardRefExoticComponent<RadioIndicatorProps$1 & React_2.RefAttributes<HTMLSpanElement>>;
|
|
2883
|
+
|
|
2884
|
+
declare interface RadioIndicatorProps$1 extends PrimitiveSpanProps_4 {
|
|
2885
|
+
/**
|
|
2886
|
+
* Used to force mounting when more control is needed. Useful when
|
|
2887
|
+
* controlling animation with React animation libraries.
|
|
2888
|
+
*/
|
|
2889
|
+
forceMount?: true;
|
|
2890
|
+
}
|
|
2891
|
+
|
|
2892
|
+
declare type RadioIndicatorProps = React_2.ComponentPropsWithoutRef<typeof RadioIndicator>;
|
|
2769
2893
|
|
|
2770
2894
|
declare const RadioItem: React_2.ForwardRefExoticComponent<MenuRadioItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2771
2895
|
|
|
2772
2896
|
declare const RadioItem_2: React_2.ForwardRefExoticComponent<DropdownMenuRadioItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2773
2897
|
|
|
2898
|
+
declare const radioItemVariants: (props?: ({
|
|
2899
|
+
size?: "small" | "medium" | "extraSmall" | null | undefined;
|
|
2900
|
+
error?: boolean | null | undefined;
|
|
2901
|
+
} & ClassProp) | undefined) => string;
|
|
2902
|
+
|
|
2903
|
+
declare interface RadioProps$1 extends PrimitiveButtonProps_5 {
|
|
2904
|
+
checked?: boolean;
|
|
2905
|
+
required?: boolean;
|
|
2906
|
+
onCheck?(): void;
|
|
2907
|
+
}
|
|
2908
|
+
|
|
2909
|
+
declare type RadioProps = React_2.ComponentPropsWithoutRef<typeof Radio>;
|
|
2910
|
+
|
|
2911
|
+
export declare type RadioSize = NonNullable<VariantProps<typeof radioItemVariants>['size']>;
|
|
2912
|
+
|
|
2774
2913
|
declare namespace _radix_ui_react_context {
|
|
2775
2914
|
export {
|
|
2776
2915
|
CreateScope,
|
|
@@ -2780,11 +2919,20 @@ declare namespace _radix_ui_react_context {
|
|
|
2780
2919
|
}
|
|
2781
2920
|
}
|
|
2782
2921
|
|
|
2922
|
+
declare namespace _radix_ui_react_context_2 {
|
|
2923
|
+
export {
|
|
2924
|
+
CreateScope_2 as CreateScope,
|
|
2925
|
+
Scope_2 as Scope,
|
|
2926
|
+
createContext_2 as createContext,
|
|
2927
|
+
createContextScope_2 as createContextScope
|
|
2928
|
+
}
|
|
2929
|
+
}
|
|
2930
|
+
|
|
2783
2931
|
declare namespace RadixTabs {
|
|
2784
2932
|
export {
|
|
2785
2933
|
Content_8 as Content,
|
|
2786
2934
|
List,
|
|
2787
|
-
|
|
2935
|
+
Root_16 as Root,
|
|
2788
2936
|
Tabs_2 as Tabs,
|
|
2789
2937
|
TabsContent_2 as TabsContent,
|
|
2790
2938
|
TabsContentProps,
|
|
@@ -2864,19 +3012,23 @@ export declare const Role: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
|
2864
3012
|
|
|
2865
3013
|
declare const Root: React_2.ForwardRefExoticComponent<CheckboxProps_2 & React_2.RefAttributes<HTMLButtonElement>>;
|
|
2866
3014
|
|
|
2867
|
-
declare const Root_10: React_2.
|
|
3015
|
+
declare const Root_10: React_2.ForwardRefExoticComponent<AvatarProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
3016
|
+
|
|
3017
|
+
declare const Root_11: React_2.ForwardRefExoticComponent<ArrowProps_2 & React_2.RefAttributes<SVGSVGElement>>;
|
|
2868
3018
|
|
|
2869
|
-
declare const
|
|
3019
|
+
declare const Root_12: React_2.FC<PopperProps>;
|
|
2870
3020
|
|
|
2871
|
-
declare const
|
|
3021
|
+
declare const Root_13: React_2.FC<MenuProps>;
|
|
2872
3022
|
|
|
2873
|
-
declare const
|
|
3023
|
+
declare const Root_14: React_2.FC<DropdownMenuProps>;
|
|
2874
3024
|
|
|
2875
|
-
declare const
|
|
3025
|
+
declare const Root_15: React_2.FC<SelectProps>;
|
|
2876
3026
|
|
|
2877
|
-
declare const
|
|
3027
|
+
declare const Root_16: React_2.ForwardRefExoticComponent<TabsProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2878
3028
|
|
|
2879
|
-
declare const
|
|
3029
|
+
declare const Root_17: React_2.FC<TooltipProps>;
|
|
3030
|
+
|
|
3031
|
+
declare const Root_18: React_2.FC<HoverCardProps>;
|
|
2880
3032
|
|
|
2881
3033
|
declare const Root_2: React_2.ForwardRefExoticComponent<LabelProps & React_2.RefAttributes<HTMLLabelElement>>;
|
|
2882
3034
|
|
|
@@ -2886,13 +3038,13 @@ declare const Root_4: React_2.ForwardRefExoticComponent<SwitchProps & React_2.Re
|
|
|
2886
3038
|
|
|
2887
3039
|
declare const Root_5: React_2.ForwardRefExoticComponent<RovingFocusGroupProps_2 & React_2.RefAttributes<HTMLDivElement>>;
|
|
2888
3040
|
|
|
2889
|
-
declare const Root_6:
|
|
3041
|
+
declare const Root_6: React_2.ForwardRefExoticComponent<RovingFocusGroupProps_4 & React_2.RefAttributes<HTMLDivElement>>;
|
|
2890
3042
|
|
|
2891
|
-
declare const Root_7: React_2.
|
|
3043
|
+
declare const Root_7: React_2.ForwardRefExoticComponent<RadioGroupProps_2 & React_2.RefAttributes<HTMLDivElement>>;
|
|
2892
3044
|
|
|
2893
|
-
declare const Root_8:
|
|
3045
|
+
declare const Root_8: React_3.ForwardRefExoticComponent<(AccordionSingleProps | AccordionMultipleProps) & React_3.RefAttributes<HTMLDivElement>>;
|
|
2894
3046
|
|
|
2895
|
-
declare const Root_9: React_2.
|
|
3047
|
+
declare const Root_9: React_2.FC<AlertDialogProps>;
|
|
2896
3048
|
|
|
2897
3049
|
declare namespace RovingFocusGroup {
|
|
2898
3050
|
export {
|
|
@@ -2908,6 +3060,20 @@ declare namespace RovingFocusGroup {
|
|
|
2908
3060
|
|
|
2909
3061
|
declare const RovingFocusGroup_2: React_2.ForwardRefExoticComponent<RovingFocusGroupProps_2 & React_2.RefAttributes<HTMLDivElement>>;
|
|
2910
3062
|
|
|
3063
|
+
declare namespace RovingFocusGroup_3 {
|
|
3064
|
+
export {
|
|
3065
|
+
Item_3 as Item,
|
|
3066
|
+
Root_6 as Root,
|
|
3067
|
+
RovingFocusGroup_4 as RovingFocusGroup,
|
|
3068
|
+
RovingFocusGroupItem_2 as RovingFocusGroupItem,
|
|
3069
|
+
RovingFocusGroupProps_4 as RovingFocusGroupProps,
|
|
3070
|
+
RovingFocusItemProps_2 as RovingFocusItemProps,
|
|
3071
|
+
createRovingFocusGroupScope_2 as createRovingFocusGroupScope
|
|
3072
|
+
}
|
|
3073
|
+
}
|
|
3074
|
+
|
|
3075
|
+
declare const RovingFocusGroup_4: React_2.ForwardRefExoticComponent<RovingFocusGroupProps_4 & React_2.RefAttributes<HTMLDivElement>>;
|
|
3076
|
+
|
|
2911
3077
|
declare interface RovingFocusGroupImplProps extends Omit<PrimitiveDivProps_3, 'dir'>, RovingFocusGroupOptions {
|
|
2912
3078
|
currentTabStopId?: string | null;
|
|
2913
3079
|
defaultCurrentTabStopId?: string;
|
|
@@ -2916,8 +3082,18 @@ declare interface RovingFocusGroupImplProps extends Omit<PrimitiveDivProps_3, 'd
|
|
|
2916
3082
|
preventScrollOnEntryFocus?: boolean;
|
|
2917
3083
|
}
|
|
2918
3084
|
|
|
3085
|
+
declare interface RovingFocusGroupImplProps_2 extends Omit<PrimitiveDivProps_5, 'dir'>, RovingFocusGroupOptions_2 {
|
|
3086
|
+
currentTabStopId?: string | null;
|
|
3087
|
+
defaultCurrentTabStopId?: string;
|
|
3088
|
+
onCurrentTabStopIdChange?: (tabStopId: string | null) => void;
|
|
3089
|
+
onEntryFocus?: (event: Event) => void;
|
|
3090
|
+
preventScrollOnEntryFocus?: boolean;
|
|
3091
|
+
}
|
|
3092
|
+
|
|
2919
3093
|
declare const RovingFocusGroupItem: React_2.ForwardRefExoticComponent<RovingFocusItemProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
2920
3094
|
|
|
3095
|
+
declare const RovingFocusGroupItem_2: React_2.ForwardRefExoticComponent<RovingFocusItemProps_2 & React_2.RefAttributes<HTMLSpanElement>>;
|
|
3096
|
+
|
|
2921
3097
|
declare interface RovingFocusGroupOptions {
|
|
2922
3098
|
/**
|
|
2923
3099
|
* The orientation of the group.
|
|
@@ -2935,14 +3111,36 @@ declare interface RovingFocusGroupOptions {
|
|
|
2935
3111
|
loop?: boolean;
|
|
2936
3112
|
}
|
|
2937
3113
|
|
|
3114
|
+
declare interface RovingFocusGroupOptions_2 {
|
|
3115
|
+
/**
|
|
3116
|
+
* The orientation of the group.
|
|
3117
|
+
* Mainly so arrow navigation is done accordingly (left & right vs. up & down)
|
|
3118
|
+
*/
|
|
3119
|
+
orientation?: Orientation_2;
|
|
3120
|
+
/**
|
|
3121
|
+
* The direction of navigation between items.
|
|
3122
|
+
*/
|
|
3123
|
+
dir?: Direction_2;
|
|
3124
|
+
/**
|
|
3125
|
+
* Whether keyboard navigation should loop around
|
|
3126
|
+
* @defaultValue false
|
|
3127
|
+
*/
|
|
3128
|
+
loop?: boolean;
|
|
3129
|
+
}
|
|
3130
|
+
|
|
2938
3131
|
declare type RovingFocusGroupProps = React_3.ComponentPropsWithoutRef<typeof RovingFocusGroup.Root>;
|
|
2939
3132
|
|
|
2940
3133
|
declare interface RovingFocusGroupProps_2 extends RovingFocusGroupImplProps {
|
|
2941
3134
|
}
|
|
2942
3135
|
|
|
2943
|
-
declare type RovingFocusGroupProps_3 = React_2.ComponentPropsWithoutRef<typeof
|
|
3136
|
+
declare type RovingFocusGroupProps_3 = React_2.ComponentPropsWithoutRef<typeof RovingFocusGroup_3.Root>;
|
|
2944
3137
|
|
|
2945
|
-
declare
|
|
3138
|
+
declare interface RovingFocusGroupProps_4 extends RovingFocusGroupImplProps_2 {
|
|
3139
|
+
}
|
|
3140
|
+
|
|
3141
|
+
declare type RovingFocusGroupProps_5 = React_2.ComponentPropsWithoutRef<typeof RovingFocusGroup.Root>;
|
|
3142
|
+
|
|
3143
|
+
declare type RovingFocusGroupProps_6 = React_2.ComponentPropsWithoutRef<typeof RovingFocusGroup.Root>;
|
|
2946
3144
|
|
|
2947
3145
|
declare interface RovingFocusItemProps extends PrimitiveSpanProps_3 {
|
|
2948
3146
|
tabStopId?: string;
|
|
@@ -2950,6 +3148,16 @@ declare interface RovingFocusItemProps extends PrimitiveSpanProps_3 {
|
|
|
2950
3148
|
active?: boolean;
|
|
2951
3149
|
}
|
|
2952
3150
|
|
|
3151
|
+
declare interface RovingFocusItemProps_2 extends Omit<PrimitiveSpanProps_5, 'children'> {
|
|
3152
|
+
tabStopId?: string;
|
|
3153
|
+
focusable?: boolean;
|
|
3154
|
+
active?: boolean;
|
|
3155
|
+
children?: React_2.ReactNode | ((props: {
|
|
3156
|
+
hasTabStop: boolean;
|
|
3157
|
+
isCurrentTabStop: boolean;
|
|
3158
|
+
}) => React_2.ReactNode);
|
|
3159
|
+
}
|
|
3160
|
+
|
|
2953
3161
|
export declare const SankeyChart: ForwardRefExoticComponent<Omit<SankeyProps, "height" | "width"> & RefAttributes<DownloadRef>>;
|
|
2954
3162
|
|
|
2955
3163
|
declare interface SankeyProps {
|
|
@@ -2973,10 +3181,18 @@ declare type Scope<C = any> = {
|
|
|
2973
3181
|
[scopeName: string]: React_2.Context<C>[];
|
|
2974
3182
|
} | undefined;
|
|
2975
3183
|
|
|
3184
|
+
declare type Scope_2<C = any> = {
|
|
3185
|
+
[scopeName: string]: React_2.Context<C>[];
|
|
3186
|
+
} | undefined;
|
|
3187
|
+
|
|
2976
3188
|
declare type ScopeHook = (scope: Scope) => {
|
|
2977
3189
|
[__scopeProp: string]: Scope;
|
|
2978
3190
|
};
|
|
2979
3191
|
|
|
3192
|
+
declare type ScopeHook_2 = (scope: Scope_2) => {
|
|
3193
|
+
[__scopeProp: string]: Scope_2;
|
|
3194
|
+
};
|
|
3195
|
+
|
|
2980
3196
|
declare const ScrollDownButton: React_2.ForwardRefExoticComponent<SelectScrollDownButtonProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2981
3197
|
|
|
2982
3198
|
declare const ScrollUpButton: React_2.ForwardRefExoticComponent<SelectScrollUpButtonProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -3022,27 +3238,27 @@ export declare const SelectGroup: ForwardRefExoticComponent<SelectPrimitive.Sele
|
|
|
3022
3238
|
|
|
3023
3239
|
declare const SelectGroup_2: React_2.ForwardRefExoticComponent<SelectGroupProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
3024
3240
|
|
|
3025
|
-
declare interface SelectGroupProps extends
|
|
3241
|
+
declare interface SelectGroupProps extends PrimitiveDivProps_12 {
|
|
3026
3242
|
}
|
|
3027
3243
|
|
|
3028
3244
|
declare const SelectIcon: React_2.ForwardRefExoticComponent<SelectIconProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
3029
3245
|
|
|
3030
|
-
declare interface SelectIconProps extends
|
|
3246
|
+
declare interface SelectIconProps extends PrimitiveSpanProps_8 {
|
|
3031
3247
|
}
|
|
3032
3248
|
|
|
3033
3249
|
export declare const SelectItem: ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
3034
3250
|
|
|
3035
3251
|
declare const SelectItem_2: React_2.ForwardRefExoticComponent<SelectItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
3036
3252
|
|
|
3037
|
-
declare interface SelectItemAlignedPositionProps extends
|
|
3253
|
+
declare interface SelectItemAlignedPositionProps extends PrimitiveDivProps_12, SelectPopperPrivateProps {
|
|
3038
3254
|
}
|
|
3039
3255
|
|
|
3040
3256
|
declare const SelectItemIndicator: React_2.ForwardRefExoticComponent<SelectItemIndicatorProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
3041
3257
|
|
|
3042
|
-
declare interface SelectItemIndicatorProps extends
|
|
3258
|
+
declare interface SelectItemIndicatorProps extends PrimitiveSpanProps_8 {
|
|
3043
3259
|
}
|
|
3044
3260
|
|
|
3045
|
-
declare interface SelectItemProps extends
|
|
3261
|
+
declare interface SelectItemProps extends PrimitiveDivProps_12 {
|
|
3046
3262
|
value: string;
|
|
3047
3263
|
disabled?: boolean;
|
|
3048
3264
|
textValue?: string;
|
|
@@ -3050,14 +3266,14 @@ declare interface SelectItemProps extends PrimitiveDivProps_10 {
|
|
|
3050
3266
|
|
|
3051
3267
|
declare const SelectItemText: React_2.ForwardRefExoticComponent<SelectItemTextProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
3052
3268
|
|
|
3053
|
-
declare interface SelectItemTextProps extends
|
|
3269
|
+
declare interface SelectItemTextProps extends PrimitiveSpanProps_8 {
|
|
3054
3270
|
}
|
|
3055
3271
|
|
|
3056
3272
|
export declare const SelectLabel: ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
3057
3273
|
|
|
3058
3274
|
declare const SelectLabel_2: React_2.ForwardRefExoticComponent<SelectLabelProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
3059
3275
|
|
|
3060
|
-
declare interface SelectLabelProps extends
|
|
3276
|
+
declare interface SelectLabelProps extends PrimitiveDivProps_12 {
|
|
3061
3277
|
}
|
|
3062
3278
|
|
|
3063
3279
|
declare interface SelectPopperPositionProps extends PopperContentProps_3, SelectPopperPrivateProps {
|
|
@@ -3083,12 +3299,12 @@ declare namespace SelectPrimitive {
|
|
|
3083
3299
|
Content_7 as Content,
|
|
3084
3300
|
Group_3 as Group,
|
|
3085
3301
|
Icon_2 as Icon,
|
|
3086
|
-
|
|
3302
|
+
Item_7 as Item,
|
|
3087
3303
|
ItemIndicator_3 as ItemIndicator,
|
|
3088
3304
|
ItemText,
|
|
3089
3305
|
Label_5 as Label,
|
|
3090
3306
|
Portal_5 as Portal,
|
|
3091
|
-
|
|
3307
|
+
Root_15 as Root,
|
|
3092
3308
|
ScrollDownButton,
|
|
3093
3309
|
ScrollUpButton,
|
|
3094
3310
|
Select_2 as Select,
|
|
@@ -3139,7 +3355,7 @@ declare interface SelectProps {
|
|
|
3139
3355
|
open?: boolean;
|
|
3140
3356
|
defaultOpen?: boolean;
|
|
3141
3357
|
onOpenChange?(open: boolean): void;
|
|
3142
|
-
dir?:
|
|
3358
|
+
dir?: Direction_6;
|
|
3143
3359
|
name?: string;
|
|
3144
3360
|
autoComplete?: string;
|
|
3145
3361
|
disabled?: boolean;
|
|
@@ -3147,7 +3363,7 @@ declare interface SelectProps {
|
|
|
3147
3363
|
form?: string;
|
|
3148
3364
|
}
|
|
3149
3365
|
|
|
3150
|
-
declare interface SelectScrollButtonImplProps extends
|
|
3366
|
+
declare interface SelectScrollButtonImplProps extends PrimitiveDivProps_12 {
|
|
3151
3367
|
onAutoScroll(): void;
|
|
3152
3368
|
}
|
|
3153
3369
|
|
|
@@ -3165,7 +3381,7 @@ export declare const SelectSeparator: ForwardRefExoticComponent<Omit<SelectPrimi
|
|
|
3165
3381
|
|
|
3166
3382
|
declare const SelectSeparator_2: React_2.ForwardRefExoticComponent<SelectSeparatorProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
3167
3383
|
|
|
3168
|
-
declare interface SelectSeparatorProps extends
|
|
3384
|
+
declare interface SelectSeparatorProps extends PrimitiveDivProps_12 {
|
|
3169
3385
|
}
|
|
3170
3386
|
|
|
3171
3387
|
export declare const SelectTrigger: ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
@@ -3174,20 +3390,20 @@ isError?: boolean;
|
|
|
3174
3390
|
|
|
3175
3391
|
declare const SelectTrigger_2: React_2.ForwardRefExoticComponent<SelectTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
3176
3392
|
|
|
3177
|
-
declare interface SelectTriggerProps extends
|
|
3393
|
+
declare interface SelectTriggerProps extends PrimitiveButtonProps_7 {
|
|
3178
3394
|
}
|
|
3179
3395
|
|
|
3180
3396
|
export declare const SelectValue: ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & RefAttributes<HTMLSpanElement>>;
|
|
3181
3397
|
|
|
3182
3398
|
declare const SelectValue_2: React_2.ForwardRefExoticComponent<SelectValueProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
3183
3399
|
|
|
3184
|
-
declare interface SelectValueProps extends Omit<
|
|
3400
|
+
declare interface SelectValueProps extends Omit<PrimitiveSpanProps_8, 'placeholder'> {
|
|
3185
3401
|
placeholder?: React_2.ReactNode;
|
|
3186
3402
|
}
|
|
3187
3403
|
|
|
3188
3404
|
declare const SelectViewport: React_2.ForwardRefExoticComponent<SelectViewportProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
3189
3405
|
|
|
3190
|
-
declare interface SelectViewportProps extends
|
|
3406
|
+
declare interface SelectViewportProps extends PrimitiveDivProps_12 {
|
|
3191
3407
|
nonce?: string;
|
|
3192
3408
|
}
|
|
3193
3409
|
|
|
@@ -3384,7 +3600,7 @@ export declare const TabsContent: ForwardRefExoticComponent<Omit<RadixTabs.TabsC
|
|
|
3384
3600
|
|
|
3385
3601
|
declare const TabsContent_2: React_2.ForwardRefExoticComponent<TabsContentProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
3386
3602
|
|
|
3387
|
-
declare interface TabsContentProps extends
|
|
3603
|
+
declare interface TabsContentProps extends PrimitiveDivProps_13 {
|
|
3388
3604
|
value: string;
|
|
3389
3605
|
/**
|
|
3390
3606
|
* Used to force mounting when more control is needed. Useful when
|
|
@@ -3397,11 +3613,11 @@ export declare const TabsList: ForwardRefExoticComponent<Omit<RadixTabs.TabsList
|
|
|
3397
3613
|
|
|
3398
3614
|
declare const TabsList_2: React_2.ForwardRefExoticComponent<TabsListProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
3399
3615
|
|
|
3400
|
-
declare interface TabsListProps extends
|
|
3401
|
-
loop?:
|
|
3616
|
+
declare interface TabsListProps extends PrimitiveDivProps_13 {
|
|
3617
|
+
loop?: RovingFocusGroupProps_6['loop'];
|
|
3402
3618
|
}
|
|
3403
3619
|
|
|
3404
|
-
declare interface TabsProps extends
|
|
3620
|
+
declare interface TabsProps extends PrimitiveDivProps_13 {
|
|
3405
3621
|
/** The value for the selected tab, if controlled */
|
|
3406
3622
|
value?: string;
|
|
3407
3623
|
/** The value of the tab to select by default, if uncontrolled */
|
|
@@ -3413,11 +3629,11 @@ declare interface TabsProps extends PrimitiveDivProps_11 {
|
|
|
3413
3629
|
* Mainly so arrow navigation is done accordingly (left & right vs. up & down)
|
|
3414
3630
|
* @defaultValue horizontal
|
|
3415
3631
|
*/
|
|
3416
|
-
orientation?:
|
|
3632
|
+
orientation?: RovingFocusGroupProps_6['orientation'];
|
|
3417
3633
|
/**
|
|
3418
3634
|
* The direction of navigation between toolbar items.
|
|
3419
3635
|
*/
|
|
3420
|
-
dir?:
|
|
3636
|
+
dir?: RovingFocusGroupProps_6['dir'];
|
|
3421
3637
|
/**
|
|
3422
3638
|
* Whether a tab is activated automatically or manually.
|
|
3423
3639
|
* @defaultValue automatic
|
|
@@ -3429,7 +3645,7 @@ export declare const TabsTrigger: ForwardRefExoticComponent<TabsTriggerProps_2 &
|
|
|
3429
3645
|
|
|
3430
3646
|
declare const TabsTrigger_2: React_2.ForwardRefExoticComponent<TabsTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
3431
3647
|
|
|
3432
|
-
declare interface TabsTriggerProps extends
|
|
3648
|
+
declare interface TabsTriggerProps extends PrimitiveButtonProps_8 {
|
|
3433
3649
|
value: string;
|
|
3434
3650
|
}
|
|
3435
3651
|
|
|
@@ -3784,7 +4000,7 @@ declare namespace TooltipPrimitive {
|
|
|
3784
4000
|
Content_9 as Content,
|
|
3785
4001
|
Portal_6 as Portal,
|
|
3786
4002
|
Provider,
|
|
3787
|
-
|
|
4003
|
+
Root_17 as Root,
|
|
3788
4004
|
Tooltip_2 as Tooltip,
|
|
3789
4005
|
TooltipArrow,
|
|
3790
4006
|
TooltipArrowProps,
|
|
@@ -3847,7 +4063,7 @@ export declare const TooltipTrigger: ForwardRefExoticComponent<TooltipPrimitive.
|
|
|
3847
4063
|
|
|
3848
4064
|
declare const TooltipTrigger_2: React_2.ForwardRefExoticComponent<TooltipTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
3849
4065
|
|
|
3850
|
-
declare interface TooltipTriggerProps extends
|
|
4066
|
+
declare interface TooltipTriggerProps extends PrimitiveButtonProps_9 {
|
|
3851
4067
|
}
|
|
3852
4068
|
|
|
3853
4069
|
export declare const TrendingDown: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|