@mesh.ai/rabbit 1.61.0 → 1.65.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 +10550 -9718
- package/dist/@mesh.ai/rabbit.umd.js +30 -30
- package/dist/index.d.ts +323 -90
- 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.
|
|
@@ -1446,6 +1466,23 @@ export declare interface GoalsNudgeDataProps {
|
|
|
1446
1466
|
|
|
1447
1467
|
export declare const GoalsThin: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
1448
1468
|
|
|
1469
|
+
export declare function GradientProgressBar({ value, total, variant, 'aria-label': ariaLabel, className, }: GradientProgressBarProps): JSX_2.Element;
|
|
1470
|
+
|
|
1471
|
+
declare interface GradientProgressBarProps {
|
|
1472
|
+
/** Current value. Fill = value / total, clamped to 0–total. */
|
|
1473
|
+
value: number;
|
|
1474
|
+
/** Maximum scale. Defaults to 100. If 0 or negative, renders empty bar. */
|
|
1475
|
+
total?: number;
|
|
1476
|
+
/** Gradient color scheme. Defaults to 'turquoise'. */
|
|
1477
|
+
variant?: GradientVariant;
|
|
1478
|
+
/** Screen reader label. Falls back to "Progress bar". */
|
|
1479
|
+
'aria-label'?: string;
|
|
1480
|
+
/** Merged onto the root element via cn(). For margin/layout overrides. */
|
|
1481
|
+
className?: string;
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
declare type GradientVariant = 'turquoise' | 'green' | 'yellow' | 'red';
|
|
1485
|
+
|
|
1449
1486
|
export declare const GridChart: default_2.ForwardRefExoticComponent<GridChartProps & default_2.RefAttributes<DownloadRef>>;
|
|
1450
1487
|
|
|
1451
1488
|
declare interface GridChartProps {
|
|
@@ -1616,7 +1653,7 @@ declare namespace HoverCardPrimitive {
|
|
|
1616
1653
|
HoverCardTrigger_2 as HoverCardTrigger,
|
|
1617
1654
|
HoverCardTriggerProps,
|
|
1618
1655
|
Portal_7 as Portal,
|
|
1619
|
-
|
|
1656
|
+
Root_18 as Root,
|
|
1620
1657
|
Trigger_8 as Trigger,
|
|
1621
1658
|
createHoverCardScope
|
|
1622
1659
|
}
|
|
@@ -1659,6 +1696,8 @@ declare type ImageLoadingStatus = 'idle' | 'loading' | 'loaded' | 'error';
|
|
|
1659
1696
|
|
|
1660
1697
|
declare const Indicator: React_2.ForwardRefExoticComponent<CheckboxIndicatorProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
1661
1698
|
|
|
1699
|
+
declare const Indicator_2: React_2.ForwardRefExoticComponent<RadioGroupIndicatorProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
1700
|
+
|
|
1662
1701
|
export declare const Info: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
1663
1702
|
|
|
1664
1703
|
export declare const InfoWorkZero: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
@@ -1673,13 +1712,17 @@ declare interface InputProps extends React.InputHTMLAttributes<HTMLInputElement>
|
|
|
1673
1712
|
|
|
1674
1713
|
declare const Item: React_2.ForwardRefExoticComponent<RovingFocusItemProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
1675
1714
|
|
|
1676
|
-
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>>;
|
|
1677
1720
|
|
|
1678
|
-
declare const
|
|
1721
|
+
declare const Item_5: React_2.ForwardRefExoticComponent<MenuItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1679
1722
|
|
|
1680
|
-
declare const
|
|
1723
|
+
declare const Item_6: React_2.ForwardRefExoticComponent<DropdownMenuItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1681
1724
|
|
|
1682
|
-
declare const
|
|
1725
|
+
declare const Item_7: React_2.ForwardRefExoticComponent<SelectItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1683
1726
|
|
|
1684
1727
|
declare const ItemIndicator: React_2.ForwardRefExoticComponent<MenuItemIndicatorProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
1685
1728
|
|
|
@@ -1924,8 +1967,8 @@ declare interface MenuContentImplProps extends MenuContentImplPrivateProps, Omit
|
|
|
1924
1967
|
* Whether keyboard navigation should loop around
|
|
1925
1968
|
* @defaultValue false
|
|
1926
1969
|
*/
|
|
1927
|
-
loop?:
|
|
1928
|
-
onEntryFocus?:
|
|
1970
|
+
loop?: RovingFocusGroupProps_5['loop'];
|
|
1971
|
+
onEntryFocus?: RovingFocusGroupProps_5['onEntryFocus'];
|
|
1929
1972
|
onEscapeKeyDown?: DismissableLayerProps['onEscapeKeyDown'];
|
|
1930
1973
|
onPointerDownOutside?: DismissableLayerProps['onPointerDownOutside'];
|
|
1931
1974
|
onFocusOutside?: DismissableLayerProps['onFocusOutside'];
|
|
@@ -1949,21 +1992,21 @@ declare type MenuContentProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPr
|
|
|
1949
1992
|
|
|
1950
1993
|
declare const MenuGroup: React_2.ForwardRefExoticComponent<MenuGroupProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1951
1994
|
|
|
1952
|
-
declare interface MenuGroupProps extends
|
|
1995
|
+
declare interface MenuGroupProps extends PrimitiveDivProps_8 {
|
|
1953
1996
|
}
|
|
1954
1997
|
|
|
1955
1998
|
declare type MenuGroupProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimitive.Group>;
|
|
1956
1999
|
|
|
1957
2000
|
declare const MenuItem: React_2.ForwardRefExoticComponent<MenuItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1958
2001
|
|
|
1959
|
-
declare interface MenuItemImplProps extends
|
|
2002
|
+
declare interface MenuItemImplProps extends PrimitiveDivProps_8 {
|
|
1960
2003
|
disabled?: boolean;
|
|
1961
2004
|
textValue?: string;
|
|
1962
2005
|
}
|
|
1963
2006
|
|
|
1964
2007
|
declare const MenuItemIndicator: React_2.ForwardRefExoticComponent<MenuItemIndicatorProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
1965
2008
|
|
|
1966
|
-
declare interface MenuItemIndicatorProps extends
|
|
2009
|
+
declare interface MenuItemIndicatorProps extends PrimitiveSpanProps_7 {
|
|
1967
2010
|
/**
|
|
1968
2011
|
* Used to force mounting when more control is needed. Useful when
|
|
1969
2012
|
* controlling animation with React animation libraries.
|
|
@@ -1981,7 +2024,7 @@ declare type MenuItemProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimi
|
|
|
1981
2024
|
|
|
1982
2025
|
declare const MenuLabel: React_2.ForwardRefExoticComponent<MenuLabelProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1983
2026
|
|
|
1984
|
-
declare interface MenuLabelProps extends
|
|
2027
|
+
declare interface MenuLabelProps extends PrimitiveDivProps_8 {
|
|
1985
2028
|
}
|
|
1986
2029
|
|
|
1987
2030
|
declare type MenuLabelProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimitive.Label>;
|
|
@@ -2010,7 +2053,7 @@ declare namespace MenuPrimitive {
|
|
|
2010
2053
|
CheckboxItem,
|
|
2011
2054
|
Content_5 as Content,
|
|
2012
2055
|
Group,
|
|
2013
|
-
|
|
2056
|
+
Item_5 as Item,
|
|
2014
2057
|
ItemIndicator,
|
|
2015
2058
|
Label_3 as Label,
|
|
2016
2059
|
Menu,
|
|
@@ -2046,9 +2089,9 @@ declare namespace MenuPrimitive {
|
|
|
2046
2089
|
MenuSubTrigger,
|
|
2047
2090
|
MenuSubTriggerProps,
|
|
2048
2091
|
Portal_3 as Portal,
|
|
2049
|
-
RadioGroup,
|
|
2092
|
+
RadioGroup_3 as RadioGroup,
|
|
2050
2093
|
RadioItem,
|
|
2051
|
-
|
|
2094
|
+
Root_13 as Root,
|
|
2052
2095
|
Separator,
|
|
2053
2096
|
Sub,
|
|
2054
2097
|
SubContent,
|
|
@@ -2061,7 +2104,7 @@ declare interface MenuProps {
|
|
|
2061
2104
|
children?: React_2.ReactNode;
|
|
2062
2105
|
open?: boolean;
|
|
2063
2106
|
onOpenChange?(open: boolean): void;
|
|
2064
|
-
dir?:
|
|
2107
|
+
dir?: Direction_4;
|
|
2065
2108
|
modal?: boolean;
|
|
2066
2109
|
}
|
|
2067
2110
|
|
|
@@ -2087,7 +2130,7 @@ declare interface MenuRootContentTypeProps extends Omit<MenuContentImplProps, ke
|
|
|
2087
2130
|
|
|
2088
2131
|
declare const MenuSeparator: React_2.ForwardRefExoticComponent<MenuSeparatorProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2089
2132
|
|
|
2090
|
-
declare interface MenuSeparatorProps extends
|
|
2133
|
+
declare interface MenuSeparatorProps extends PrimitiveDivProps_8 {
|
|
2091
2134
|
}
|
|
2092
2135
|
|
|
2093
2136
|
declare type MenuSeparatorProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimitive.Separator>;
|
|
@@ -2206,7 +2249,7 @@ declare interface NavGroupTitleL2Props {
|
|
|
2206
2249
|
}
|
|
2207
2250
|
|
|
2208
2251
|
declare const navGroupVariants: (props?: ({
|
|
2209
|
-
variant?: "
|
|
2252
|
+
variant?: "bottom" | "top" | null | undefined;
|
|
2210
2253
|
defaultVariant?: "variant" | null | undefined;
|
|
2211
2254
|
} & ClassProp) | undefined) => string;
|
|
2212
2255
|
|
|
@@ -2241,8 +2284,8 @@ declare interface NavigationMenuProps extends Omit<NavigationMenuProviderProps,
|
|
|
2241
2284
|
value?: string;
|
|
2242
2285
|
defaultValue?: string;
|
|
2243
2286
|
onValueChange?: (value: string) => void;
|
|
2244
|
-
dir?:
|
|
2245
|
-
orientation?:
|
|
2287
|
+
dir?: Direction_7;
|
|
2288
|
+
orientation?: Orientation_3;
|
|
2246
2289
|
/**
|
|
2247
2290
|
* The duration from when the pointer enters the trigger until the tooltip gets opened.
|
|
2248
2291
|
* @defaultValue 200
|
|
@@ -2259,8 +2302,8 @@ declare interface NavigationMenuProviderPrivateProps {
|
|
|
2259
2302
|
isRootMenu: boolean;
|
|
2260
2303
|
scope: Scope;
|
|
2261
2304
|
children: React_2.ReactNode;
|
|
2262
|
-
orientation:
|
|
2263
|
-
dir:
|
|
2305
|
+
orientation: Orientation_3;
|
|
2306
|
+
dir: Direction_7;
|
|
2264
2307
|
rootNavigationMenu: NavigationMenuElement | null;
|
|
2265
2308
|
value: string;
|
|
2266
2309
|
onTriggerEnter(itemValue: string): void;
|
|
@@ -2276,7 +2319,7 @@ declare interface NavigationMenuProviderProps extends NavigationMenuProviderPriv
|
|
|
2276
2319
|
|
|
2277
2320
|
declare type NavigationMenuTriggerElement = React_2.ElementRef<typeof Primitive.button>;
|
|
2278
2321
|
|
|
2279
|
-
declare interface NavigationMenuTriggerProps extends
|
|
2322
|
+
declare interface NavigationMenuTriggerProps extends PrimitiveButtonProps_10 {
|
|
2280
2323
|
}
|
|
2281
2324
|
|
|
2282
2325
|
export declare function NavItemL2({ children, ...props }: NavItemL2Props): JSX_2.Element;
|
|
@@ -2332,6 +2375,8 @@ declare interface Node_6 {
|
|
|
2332
2375
|
|
|
2333
2376
|
declare const NODES: readonly ["a", "button", "div", "form", "h2", "h3", "img", "input", "label", "li", "nav", "ol", "p", "span", "svg", "ul"];
|
|
2334
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
|
+
|
|
2335
2380
|
export declare const Notifications: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
2336
2381
|
|
|
2337
2382
|
export declare function NudgeAction({ className, orientation, ...buttonProps }: NudgeActionProps): JSX_2.Element;
|
|
@@ -2391,7 +2436,9 @@ declare interface Option_2 {
|
|
|
2391
2436
|
|
|
2392
2437
|
declare type Orientation = React_2.AriaAttributes['aria-orientation'];
|
|
2393
2438
|
|
|
2394
|
-
declare type Orientation_2 = '
|
|
2439
|
+
declare type Orientation_2 = React_2.AriaAttributes['aria-orientation'];
|
|
2440
|
+
|
|
2441
|
+
declare type Orientation_3 = 'vertical' | 'horizontal';
|
|
2395
2442
|
|
|
2396
2443
|
export declare const Overflow: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
2397
2444
|
|
|
@@ -2430,7 +2477,7 @@ declare const PopperAnchor: React_2.ForwardRefExoticComponent<PopperAnchorProps_
|
|
|
2430
2477
|
|
|
2431
2478
|
declare type PopperAnchorProps = React_2.ComponentPropsWithoutRef<typeof PopperPrimitive.Anchor>;
|
|
2432
2479
|
|
|
2433
|
-
declare interface PopperAnchorProps_2 extends
|
|
2480
|
+
declare interface PopperAnchorProps_2 extends PrimitiveDivProps_7 {
|
|
2434
2481
|
virtualRef?: React_2.RefObject<Measurable>;
|
|
2435
2482
|
}
|
|
2436
2483
|
|
|
@@ -2449,7 +2496,7 @@ declare type PopperArrowProps_5 = React_2.ComponentPropsWithoutRef<typeof Popper
|
|
|
2449
2496
|
|
|
2450
2497
|
declare const PopperContent: React_2.ForwardRefExoticComponent<PopperContentProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2451
2498
|
|
|
2452
|
-
declare interface PopperContentProps extends
|
|
2499
|
+
declare interface PopperContentProps extends PrimitiveDivProps_7 {
|
|
2453
2500
|
side?: Side;
|
|
2454
2501
|
sideOffset?: number;
|
|
2455
2502
|
align?: Align;
|
|
@@ -2486,7 +2533,7 @@ declare namespace PopperPrimitive {
|
|
|
2486
2533
|
PopperContent,
|
|
2487
2534
|
PopperContentProps,
|
|
2488
2535
|
PopperProps,
|
|
2489
|
-
|
|
2536
|
+
Root_12 as Root,
|
|
2490
2537
|
SIDE_OPTIONS,
|
|
2491
2538
|
createPopperScope
|
|
2492
2539
|
}
|
|
@@ -2512,7 +2559,7 @@ declare const Portal_7: React_2.FC<HoverCardPortalProps>;
|
|
|
2512
2559
|
|
|
2513
2560
|
declare type PortalProps = React_2.ComponentPropsWithoutRef<typeof Portal_2>;
|
|
2514
2561
|
|
|
2515
|
-
declare interface PortalProps_2 extends
|
|
2562
|
+
declare interface PortalProps_2 extends PrimitiveDivProps_11 {
|
|
2516
2563
|
/**
|
|
2517
2564
|
* An optional container where the portaled content should be appended.
|
|
2518
2565
|
*/
|
|
@@ -2529,15 +2576,19 @@ declare type Position = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right
|
|
|
2529
2576
|
|
|
2530
2577
|
declare const Primitive: Primitives;
|
|
2531
2578
|
|
|
2579
|
+
declare const Primitive_2: Primitives_2;
|
|
2580
|
+
|
|
2532
2581
|
declare type PrimitiveButtonProps = React_2.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
2533
2582
|
|
|
2583
|
+
declare type PrimitiveButtonProps_10 = React_2.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
2584
|
+
|
|
2534
2585
|
declare type PrimitiveButtonProps_2 = React_2.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
2535
2586
|
|
|
2536
2587
|
declare type PrimitiveButtonProps_3 = React_2.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
2537
2588
|
|
|
2538
2589
|
declare type PrimitiveButtonProps_4 = React_2.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
2539
2590
|
|
|
2540
|
-
declare type PrimitiveButtonProps_5 = React_2.ComponentPropsWithoutRef<typeof
|
|
2591
|
+
declare type PrimitiveButtonProps_5 = React_2.ComponentPropsWithoutRef<typeof Primitive_2.button>;
|
|
2541
2592
|
|
|
2542
2593
|
declare type PrimitiveButtonProps_6 = React_2.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
2543
2594
|
|
|
@@ -2553,15 +2604,19 @@ declare type PrimitiveDivProps_10 = React_2.ComponentPropsWithoutRef<typeof Prim
|
|
|
2553
2604
|
|
|
2554
2605
|
declare type PrimitiveDivProps_11 = React_2.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2555
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
|
+
|
|
2556
2611
|
declare type PrimitiveDivProps_2 = React_3.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2557
2612
|
|
|
2558
2613
|
declare type PrimitiveDivProps_3 = React_2.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2559
2614
|
|
|
2560
|
-
declare type PrimitiveDivProps_4 =
|
|
2615
|
+
declare type PrimitiveDivProps_4 = React_2.ComponentPropsWithoutRef<typeof Primitive_2.div>;
|
|
2561
2616
|
|
|
2562
|
-
declare type PrimitiveDivProps_5 = React_2.ComponentPropsWithoutRef<typeof
|
|
2617
|
+
declare type PrimitiveDivProps_5 = React_2.ComponentPropsWithoutRef<typeof Primitive_2.div>;
|
|
2563
2618
|
|
|
2564
|
-
declare type PrimitiveDivProps_6 =
|
|
2619
|
+
declare type PrimitiveDivProps_6 = React_3.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2565
2620
|
|
|
2566
2621
|
declare type PrimitiveDivProps_7 = React_2.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2567
2622
|
|
|
@@ -2572,6 +2627,9 @@ declare type PrimitiveDivProps_9 = React_2.ComponentPropsWithoutRef<typeof Primi
|
|
|
2572
2627
|
declare interface PrimitiveForwardRefComponent<E extends React_2.ElementType> extends React_2.ForwardRefExoticComponent<PrimitivePropsWithRef<E>> {
|
|
2573
2628
|
}
|
|
2574
2629
|
|
|
2630
|
+
declare interface PrimitiveForwardRefComponent_2<E extends React_2.ElementType> extends React_2.ForwardRefExoticComponent<PrimitivePropsWithRef_2<E>> {
|
|
2631
|
+
}
|
|
2632
|
+
|
|
2575
2633
|
declare type PrimitiveHeading3Props = React_3.ComponentPropsWithoutRef<typeof Primitive.h3>;
|
|
2576
2634
|
|
|
2577
2635
|
declare type PrimitiveImageProps = React_2.ComponentPropsWithoutRef<typeof Primitive.img>;
|
|
@@ -2588,22 +2646,34 @@ declare type PrimitivePropsWithRef<E extends React_2.ElementType> = React_2.Comp
|
|
|
2588
2646
|
asChild?: boolean;
|
|
2589
2647
|
};
|
|
2590
2648
|
|
|
2649
|
+
declare type PrimitivePropsWithRef_2<E extends React_2.ElementType> = React_2.ComponentPropsWithRef<E> & {
|
|
2650
|
+
asChild?: boolean;
|
|
2651
|
+
};
|
|
2652
|
+
|
|
2591
2653
|
declare type Primitives = {
|
|
2592
2654
|
[E in (typeof NODES)[number]]: PrimitiveForwardRefComponent<E>;
|
|
2593
2655
|
};
|
|
2594
2656
|
|
|
2657
|
+
declare type Primitives_2 = {
|
|
2658
|
+
[E in (typeof NODES_2)[number]]: PrimitiveForwardRefComponent_2<E>;
|
|
2659
|
+
};
|
|
2660
|
+
|
|
2595
2661
|
declare type PrimitiveSpanProps = React_2.ComponentPropsWithoutRef<typeof Primitive.span>;
|
|
2596
2662
|
|
|
2597
2663
|
declare type PrimitiveSpanProps_2 = React_2.ComponentPropsWithoutRef<typeof Primitive.span>;
|
|
2598
2664
|
|
|
2599
2665
|
declare type PrimitiveSpanProps_3 = React_2.ComponentPropsWithoutRef<typeof Primitive.span>;
|
|
2600
2666
|
|
|
2601
|
-
declare type PrimitiveSpanProps_4 = React_2.ComponentPropsWithoutRef<typeof
|
|
2667
|
+
declare type PrimitiveSpanProps_4 = React_2.ComponentPropsWithoutRef<typeof Primitive_2.span>;
|
|
2602
2668
|
|
|
2603
|
-
declare type PrimitiveSpanProps_5 = React_2.ComponentPropsWithoutRef<typeof
|
|
2669
|
+
declare type PrimitiveSpanProps_5 = React_2.ComponentPropsWithoutRef<typeof Primitive_2.span>;
|
|
2604
2670
|
|
|
2605
2671
|
declare type PrimitiveSpanProps_6 = React_2.ComponentPropsWithoutRef<typeof Primitive.span>;
|
|
2606
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
|
+
|
|
2607
2677
|
declare type PrimitiveSvgProps = React_2.ComponentPropsWithoutRef<typeof Primitive.svg>;
|
|
2608
2678
|
|
|
2609
2679
|
export declare const Product: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
@@ -2746,14 +2816,100 @@ declare interface RadarChartProps {
|
|
|
2746
2816
|
levels?: number;
|
|
2747
2817
|
}
|
|
2748
2818
|
|
|
2749
|
-
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
|
+
}
|
|
2867
|
+
|
|
2868
|
+
export declare type RadioGroupProps = ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>;
|
|
2750
2869
|
|
|
2751
|
-
declare
|
|
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>;
|
|
2752
2893
|
|
|
2753
2894
|
declare const RadioItem: React_2.ForwardRefExoticComponent<MenuRadioItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2754
2895
|
|
|
2755
2896
|
declare const RadioItem_2: React_2.ForwardRefExoticComponent<DropdownMenuRadioItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2756
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
|
+
|
|
2757
2913
|
declare namespace _radix_ui_react_context {
|
|
2758
2914
|
export {
|
|
2759
2915
|
CreateScope,
|
|
@@ -2763,11 +2919,20 @@ declare namespace _radix_ui_react_context {
|
|
|
2763
2919
|
}
|
|
2764
2920
|
}
|
|
2765
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
|
+
|
|
2766
2931
|
declare namespace RadixTabs {
|
|
2767
2932
|
export {
|
|
2768
2933
|
Content_8 as Content,
|
|
2769
2934
|
List,
|
|
2770
|
-
|
|
2935
|
+
Root_16 as Root,
|
|
2771
2936
|
Tabs_2 as Tabs,
|
|
2772
2937
|
TabsContent_2 as TabsContent,
|
|
2773
2938
|
TabsContentProps,
|
|
@@ -2847,19 +3012,23 @@ export declare const Role: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
|
2847
3012
|
|
|
2848
3013
|
declare const Root: React_2.ForwardRefExoticComponent<CheckboxProps_2 & React_2.RefAttributes<HTMLButtonElement>>;
|
|
2849
3014
|
|
|
2850
|
-
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>>;
|
|
2851
3018
|
|
|
2852
|
-
declare const
|
|
3019
|
+
declare const Root_12: React_2.FC<PopperProps>;
|
|
2853
3020
|
|
|
2854
|
-
declare const
|
|
3021
|
+
declare const Root_13: React_2.FC<MenuProps>;
|
|
2855
3022
|
|
|
2856
|
-
declare const
|
|
3023
|
+
declare const Root_14: React_2.FC<DropdownMenuProps>;
|
|
2857
3024
|
|
|
2858
|
-
declare const
|
|
3025
|
+
declare const Root_15: React_2.FC<SelectProps>;
|
|
2859
3026
|
|
|
2860
|
-
declare const
|
|
3027
|
+
declare const Root_16: React_2.ForwardRefExoticComponent<TabsProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2861
3028
|
|
|
2862
|
-
declare const
|
|
3029
|
+
declare const Root_17: React_2.FC<TooltipProps>;
|
|
3030
|
+
|
|
3031
|
+
declare const Root_18: React_2.FC<HoverCardProps>;
|
|
2863
3032
|
|
|
2864
3033
|
declare const Root_2: React_2.ForwardRefExoticComponent<LabelProps & React_2.RefAttributes<HTMLLabelElement>>;
|
|
2865
3034
|
|
|
@@ -2869,13 +3038,13 @@ declare const Root_4: React_2.ForwardRefExoticComponent<SwitchProps & React_2.Re
|
|
|
2869
3038
|
|
|
2870
3039
|
declare const Root_5: React_2.ForwardRefExoticComponent<RovingFocusGroupProps_2 & React_2.RefAttributes<HTMLDivElement>>;
|
|
2871
3040
|
|
|
2872
|
-
declare const Root_6:
|
|
3041
|
+
declare const Root_6: React_2.ForwardRefExoticComponent<RovingFocusGroupProps_4 & React_2.RefAttributes<HTMLDivElement>>;
|
|
2873
3042
|
|
|
2874
|
-
declare const Root_7: React_2.
|
|
3043
|
+
declare const Root_7: React_2.ForwardRefExoticComponent<RadioGroupProps_2 & React_2.RefAttributes<HTMLDivElement>>;
|
|
2875
3044
|
|
|
2876
|
-
declare const Root_8:
|
|
3045
|
+
declare const Root_8: React_3.ForwardRefExoticComponent<(AccordionSingleProps | AccordionMultipleProps) & React_3.RefAttributes<HTMLDivElement>>;
|
|
2877
3046
|
|
|
2878
|
-
declare const Root_9: React_2.
|
|
3047
|
+
declare const Root_9: React_2.FC<AlertDialogProps>;
|
|
2879
3048
|
|
|
2880
3049
|
declare namespace RovingFocusGroup {
|
|
2881
3050
|
export {
|
|
@@ -2891,6 +3060,20 @@ declare namespace RovingFocusGroup {
|
|
|
2891
3060
|
|
|
2892
3061
|
declare const RovingFocusGroup_2: React_2.ForwardRefExoticComponent<RovingFocusGroupProps_2 & React_2.RefAttributes<HTMLDivElement>>;
|
|
2893
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
|
+
|
|
2894
3077
|
declare interface RovingFocusGroupImplProps extends Omit<PrimitiveDivProps_3, 'dir'>, RovingFocusGroupOptions {
|
|
2895
3078
|
currentTabStopId?: string | null;
|
|
2896
3079
|
defaultCurrentTabStopId?: string;
|
|
@@ -2899,8 +3082,18 @@ declare interface RovingFocusGroupImplProps extends Omit<PrimitiveDivProps_3, 'd
|
|
|
2899
3082
|
preventScrollOnEntryFocus?: boolean;
|
|
2900
3083
|
}
|
|
2901
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
|
+
|
|
2902
3093
|
declare const RovingFocusGroupItem: React_2.ForwardRefExoticComponent<RovingFocusItemProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
2903
3094
|
|
|
3095
|
+
declare const RovingFocusGroupItem_2: React_2.ForwardRefExoticComponent<RovingFocusItemProps_2 & React_2.RefAttributes<HTMLSpanElement>>;
|
|
3096
|
+
|
|
2904
3097
|
declare interface RovingFocusGroupOptions {
|
|
2905
3098
|
/**
|
|
2906
3099
|
* The orientation of the group.
|
|
@@ -2918,14 +3111,36 @@ declare interface RovingFocusGroupOptions {
|
|
|
2918
3111
|
loop?: boolean;
|
|
2919
3112
|
}
|
|
2920
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
|
+
|
|
2921
3131
|
declare type RovingFocusGroupProps = React_3.ComponentPropsWithoutRef<typeof RovingFocusGroup.Root>;
|
|
2922
3132
|
|
|
2923
3133
|
declare interface RovingFocusGroupProps_2 extends RovingFocusGroupImplProps {
|
|
2924
3134
|
}
|
|
2925
3135
|
|
|
2926
|
-
declare type RovingFocusGroupProps_3 = React_2.ComponentPropsWithoutRef<typeof
|
|
3136
|
+
declare type RovingFocusGroupProps_3 = React_2.ComponentPropsWithoutRef<typeof RovingFocusGroup_3.Root>;
|
|
3137
|
+
|
|
3138
|
+
declare interface RovingFocusGroupProps_4 extends RovingFocusGroupImplProps_2 {
|
|
3139
|
+
}
|
|
2927
3140
|
|
|
2928
|
-
declare type
|
|
3141
|
+
declare type RovingFocusGroupProps_5 = React_2.ComponentPropsWithoutRef<typeof RovingFocusGroup.Root>;
|
|
3142
|
+
|
|
3143
|
+
declare type RovingFocusGroupProps_6 = React_2.ComponentPropsWithoutRef<typeof RovingFocusGroup.Root>;
|
|
2929
3144
|
|
|
2930
3145
|
declare interface RovingFocusItemProps extends PrimitiveSpanProps_3 {
|
|
2931
3146
|
tabStopId?: string;
|
|
@@ -2933,6 +3148,16 @@ declare interface RovingFocusItemProps extends PrimitiveSpanProps_3 {
|
|
|
2933
3148
|
active?: boolean;
|
|
2934
3149
|
}
|
|
2935
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
|
+
|
|
2936
3161
|
export declare const SankeyChart: ForwardRefExoticComponent<Omit<SankeyProps, "height" | "width"> & RefAttributes<DownloadRef>>;
|
|
2937
3162
|
|
|
2938
3163
|
declare interface SankeyProps {
|
|
@@ -2956,10 +3181,18 @@ declare type Scope<C = any> = {
|
|
|
2956
3181
|
[scopeName: string]: React_2.Context<C>[];
|
|
2957
3182
|
} | undefined;
|
|
2958
3183
|
|
|
3184
|
+
declare type Scope_2<C = any> = {
|
|
3185
|
+
[scopeName: string]: React_2.Context<C>[];
|
|
3186
|
+
} | undefined;
|
|
3187
|
+
|
|
2959
3188
|
declare type ScopeHook = (scope: Scope) => {
|
|
2960
3189
|
[__scopeProp: string]: Scope;
|
|
2961
3190
|
};
|
|
2962
3191
|
|
|
3192
|
+
declare type ScopeHook_2 = (scope: Scope_2) => {
|
|
3193
|
+
[__scopeProp: string]: Scope_2;
|
|
3194
|
+
};
|
|
3195
|
+
|
|
2963
3196
|
declare const ScrollDownButton: React_2.ForwardRefExoticComponent<SelectScrollDownButtonProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2964
3197
|
|
|
2965
3198
|
declare const ScrollUpButton: React_2.ForwardRefExoticComponent<SelectScrollUpButtonProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -3005,27 +3238,27 @@ export declare const SelectGroup: ForwardRefExoticComponent<SelectPrimitive.Sele
|
|
|
3005
3238
|
|
|
3006
3239
|
declare const SelectGroup_2: React_2.ForwardRefExoticComponent<SelectGroupProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
3007
3240
|
|
|
3008
|
-
declare interface SelectGroupProps extends
|
|
3241
|
+
declare interface SelectGroupProps extends PrimitiveDivProps_12 {
|
|
3009
3242
|
}
|
|
3010
3243
|
|
|
3011
3244
|
declare const SelectIcon: React_2.ForwardRefExoticComponent<SelectIconProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
3012
3245
|
|
|
3013
|
-
declare interface SelectIconProps extends
|
|
3246
|
+
declare interface SelectIconProps extends PrimitiveSpanProps_8 {
|
|
3014
3247
|
}
|
|
3015
3248
|
|
|
3016
3249
|
export declare const SelectItem: ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
3017
3250
|
|
|
3018
3251
|
declare const SelectItem_2: React_2.ForwardRefExoticComponent<SelectItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
3019
3252
|
|
|
3020
|
-
declare interface SelectItemAlignedPositionProps extends
|
|
3253
|
+
declare interface SelectItemAlignedPositionProps extends PrimitiveDivProps_12, SelectPopperPrivateProps {
|
|
3021
3254
|
}
|
|
3022
3255
|
|
|
3023
3256
|
declare const SelectItemIndicator: React_2.ForwardRefExoticComponent<SelectItemIndicatorProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
3024
3257
|
|
|
3025
|
-
declare interface SelectItemIndicatorProps extends
|
|
3258
|
+
declare interface SelectItemIndicatorProps extends PrimitiveSpanProps_8 {
|
|
3026
3259
|
}
|
|
3027
3260
|
|
|
3028
|
-
declare interface SelectItemProps extends
|
|
3261
|
+
declare interface SelectItemProps extends PrimitiveDivProps_12 {
|
|
3029
3262
|
value: string;
|
|
3030
3263
|
disabled?: boolean;
|
|
3031
3264
|
textValue?: string;
|
|
@@ -3033,14 +3266,14 @@ declare interface SelectItemProps extends PrimitiveDivProps_10 {
|
|
|
3033
3266
|
|
|
3034
3267
|
declare const SelectItemText: React_2.ForwardRefExoticComponent<SelectItemTextProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
3035
3268
|
|
|
3036
|
-
declare interface SelectItemTextProps extends
|
|
3269
|
+
declare interface SelectItemTextProps extends PrimitiveSpanProps_8 {
|
|
3037
3270
|
}
|
|
3038
3271
|
|
|
3039
3272
|
export declare const SelectLabel: ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
3040
3273
|
|
|
3041
3274
|
declare const SelectLabel_2: React_2.ForwardRefExoticComponent<SelectLabelProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
3042
3275
|
|
|
3043
|
-
declare interface SelectLabelProps extends
|
|
3276
|
+
declare interface SelectLabelProps extends PrimitiveDivProps_12 {
|
|
3044
3277
|
}
|
|
3045
3278
|
|
|
3046
3279
|
declare interface SelectPopperPositionProps extends PopperContentProps_3, SelectPopperPrivateProps {
|
|
@@ -3066,12 +3299,12 @@ declare namespace SelectPrimitive {
|
|
|
3066
3299
|
Content_7 as Content,
|
|
3067
3300
|
Group_3 as Group,
|
|
3068
3301
|
Icon_2 as Icon,
|
|
3069
|
-
|
|
3302
|
+
Item_7 as Item,
|
|
3070
3303
|
ItemIndicator_3 as ItemIndicator,
|
|
3071
3304
|
ItemText,
|
|
3072
3305
|
Label_5 as Label,
|
|
3073
3306
|
Portal_5 as Portal,
|
|
3074
|
-
|
|
3307
|
+
Root_15 as Root,
|
|
3075
3308
|
ScrollDownButton,
|
|
3076
3309
|
ScrollUpButton,
|
|
3077
3310
|
Select_2 as Select,
|
|
@@ -3122,7 +3355,7 @@ declare interface SelectProps {
|
|
|
3122
3355
|
open?: boolean;
|
|
3123
3356
|
defaultOpen?: boolean;
|
|
3124
3357
|
onOpenChange?(open: boolean): void;
|
|
3125
|
-
dir?:
|
|
3358
|
+
dir?: Direction_6;
|
|
3126
3359
|
name?: string;
|
|
3127
3360
|
autoComplete?: string;
|
|
3128
3361
|
disabled?: boolean;
|
|
@@ -3130,7 +3363,7 @@ declare interface SelectProps {
|
|
|
3130
3363
|
form?: string;
|
|
3131
3364
|
}
|
|
3132
3365
|
|
|
3133
|
-
declare interface SelectScrollButtonImplProps extends
|
|
3366
|
+
declare interface SelectScrollButtonImplProps extends PrimitiveDivProps_12 {
|
|
3134
3367
|
onAutoScroll(): void;
|
|
3135
3368
|
}
|
|
3136
3369
|
|
|
@@ -3148,7 +3381,7 @@ export declare const SelectSeparator: ForwardRefExoticComponent<Omit<SelectPrimi
|
|
|
3148
3381
|
|
|
3149
3382
|
declare const SelectSeparator_2: React_2.ForwardRefExoticComponent<SelectSeparatorProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
3150
3383
|
|
|
3151
|
-
declare interface SelectSeparatorProps extends
|
|
3384
|
+
declare interface SelectSeparatorProps extends PrimitiveDivProps_12 {
|
|
3152
3385
|
}
|
|
3153
3386
|
|
|
3154
3387
|
export declare const SelectTrigger: ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
@@ -3157,20 +3390,20 @@ isError?: boolean;
|
|
|
3157
3390
|
|
|
3158
3391
|
declare const SelectTrigger_2: React_2.ForwardRefExoticComponent<SelectTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
3159
3392
|
|
|
3160
|
-
declare interface SelectTriggerProps extends
|
|
3393
|
+
declare interface SelectTriggerProps extends PrimitiveButtonProps_7 {
|
|
3161
3394
|
}
|
|
3162
3395
|
|
|
3163
3396
|
export declare const SelectValue: ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & RefAttributes<HTMLSpanElement>>;
|
|
3164
3397
|
|
|
3165
3398
|
declare const SelectValue_2: React_2.ForwardRefExoticComponent<SelectValueProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
3166
3399
|
|
|
3167
|
-
declare interface SelectValueProps extends Omit<
|
|
3400
|
+
declare interface SelectValueProps extends Omit<PrimitiveSpanProps_8, 'placeholder'> {
|
|
3168
3401
|
placeholder?: React_2.ReactNode;
|
|
3169
3402
|
}
|
|
3170
3403
|
|
|
3171
3404
|
declare const SelectViewport: React_2.ForwardRefExoticComponent<SelectViewportProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
3172
3405
|
|
|
3173
|
-
declare interface SelectViewportProps extends
|
|
3406
|
+
declare interface SelectViewportProps extends PrimitiveDivProps_12 {
|
|
3174
3407
|
nonce?: string;
|
|
3175
3408
|
}
|
|
3176
3409
|
|
|
@@ -3367,7 +3600,7 @@ export declare const TabsContent: ForwardRefExoticComponent<Omit<RadixTabs.TabsC
|
|
|
3367
3600
|
|
|
3368
3601
|
declare const TabsContent_2: React_2.ForwardRefExoticComponent<TabsContentProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
3369
3602
|
|
|
3370
|
-
declare interface TabsContentProps extends
|
|
3603
|
+
declare interface TabsContentProps extends PrimitiveDivProps_13 {
|
|
3371
3604
|
value: string;
|
|
3372
3605
|
/**
|
|
3373
3606
|
* Used to force mounting when more control is needed. Useful when
|
|
@@ -3380,11 +3613,11 @@ export declare const TabsList: ForwardRefExoticComponent<Omit<RadixTabs.TabsList
|
|
|
3380
3613
|
|
|
3381
3614
|
declare const TabsList_2: React_2.ForwardRefExoticComponent<TabsListProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
3382
3615
|
|
|
3383
|
-
declare interface TabsListProps extends
|
|
3384
|
-
loop?:
|
|
3616
|
+
declare interface TabsListProps extends PrimitiveDivProps_13 {
|
|
3617
|
+
loop?: RovingFocusGroupProps_6['loop'];
|
|
3385
3618
|
}
|
|
3386
3619
|
|
|
3387
|
-
declare interface TabsProps extends
|
|
3620
|
+
declare interface TabsProps extends PrimitiveDivProps_13 {
|
|
3388
3621
|
/** The value for the selected tab, if controlled */
|
|
3389
3622
|
value?: string;
|
|
3390
3623
|
/** The value of the tab to select by default, if uncontrolled */
|
|
@@ -3396,11 +3629,11 @@ declare interface TabsProps extends PrimitiveDivProps_11 {
|
|
|
3396
3629
|
* Mainly so arrow navigation is done accordingly (left & right vs. up & down)
|
|
3397
3630
|
* @defaultValue horizontal
|
|
3398
3631
|
*/
|
|
3399
|
-
orientation?:
|
|
3632
|
+
orientation?: RovingFocusGroupProps_6['orientation'];
|
|
3400
3633
|
/**
|
|
3401
3634
|
* The direction of navigation between toolbar items.
|
|
3402
3635
|
*/
|
|
3403
|
-
dir?:
|
|
3636
|
+
dir?: RovingFocusGroupProps_6['dir'];
|
|
3404
3637
|
/**
|
|
3405
3638
|
* Whether a tab is activated automatically or manually.
|
|
3406
3639
|
* @defaultValue automatic
|
|
@@ -3412,7 +3645,7 @@ export declare const TabsTrigger: ForwardRefExoticComponent<TabsTriggerProps_2 &
|
|
|
3412
3645
|
|
|
3413
3646
|
declare const TabsTrigger_2: React_2.ForwardRefExoticComponent<TabsTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
3414
3647
|
|
|
3415
|
-
declare interface TabsTriggerProps extends
|
|
3648
|
+
declare interface TabsTriggerProps extends PrimitiveButtonProps_8 {
|
|
3416
3649
|
value: string;
|
|
3417
3650
|
}
|
|
3418
3651
|
|
|
@@ -3767,7 +4000,7 @@ declare namespace TooltipPrimitive {
|
|
|
3767
4000
|
Content_9 as Content,
|
|
3768
4001
|
Portal_6 as Portal,
|
|
3769
4002
|
Provider,
|
|
3770
|
-
|
|
4003
|
+
Root_17 as Root,
|
|
3771
4004
|
Tooltip_2 as Tooltip,
|
|
3772
4005
|
TooltipArrow,
|
|
3773
4006
|
TooltipArrowProps,
|
|
@@ -3830,7 +4063,7 @@ export declare const TooltipTrigger: ForwardRefExoticComponent<TooltipPrimitive.
|
|
|
3830
4063
|
|
|
3831
4064
|
declare const TooltipTrigger_2: React_2.ForwardRefExoticComponent<TooltipTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
3832
4065
|
|
|
3833
|
-
declare interface TooltipTriggerProps extends
|
|
4066
|
+
declare interface TooltipTriggerProps extends PrimitiveButtonProps_9 {
|
|
3834
4067
|
}
|
|
3835
4068
|
|
|
3836
4069
|
export declare const TrendingDown: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|