@mesh.ai/rabbit 1.25.0 → 1.27.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@mesh.ai/rabbit.es.js +6319 -6150
- package/dist/@mesh.ai/rabbit.umd.js +21 -21
- package/dist/index.d.ts +149 -53
- package/dist/style.css +1 -1
- package/package.json +1 -2
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { ButtonHTMLAttributes } from 'react';
|
|
|
4
4
|
import { ChangeEvent } from 'react';
|
|
5
5
|
import { ComponentPropsWithoutRef as ComponentPropsWithoutRef_2 } from 'react';
|
|
6
6
|
import { CSSProperties } from 'react';
|
|
7
|
+
import { DetailedHTMLProps } from 'react';
|
|
7
8
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
8
9
|
import { EmblaOptionsType } from 'embla-carousel/components/Options';
|
|
9
10
|
import { FC } from 'react';
|
|
@@ -145,7 +146,7 @@ declare namespace AccordionPrimitive {
|
|
|
145
146
|
CollapsibleContentProps_2 as CollapsibleContentProps,
|
|
146
147
|
AccordionContentProps,
|
|
147
148
|
AccordionContent_2 as AccordionContent,
|
|
148
|
-
|
|
149
|
+
Root_6 as Root,
|
|
149
150
|
Item,
|
|
150
151
|
Header,
|
|
151
152
|
Trigger_2 as Trigger,
|
|
@@ -209,7 +210,7 @@ declare namespace AlertDialog {
|
|
|
209
210
|
AlertDialogAction_2 as AlertDialogAction,
|
|
210
211
|
AlertDialogCancelProps,
|
|
211
212
|
AlertDialogCancel_2 as AlertDialogCancel,
|
|
212
|
-
|
|
213
|
+
Root_7 as Root,
|
|
213
214
|
Trigger_3 as Trigger,
|
|
214
215
|
Portal,
|
|
215
216
|
Overlay,
|
|
@@ -350,7 +351,7 @@ declare namespace ArrowPrimitive {
|
|
|
350
351
|
PrimitiveSvgProps,
|
|
351
352
|
ArrowProps_2 as ArrowProps,
|
|
352
353
|
Arrow,
|
|
353
|
-
|
|
354
|
+
Root_9 as Root
|
|
354
355
|
}
|
|
355
356
|
}
|
|
356
357
|
|
|
@@ -358,7 +359,7 @@ declare namespace ArrowPrimitive_2 {
|
|
|
358
359
|
export {
|
|
359
360
|
Arrow_9 as Arrow,
|
|
360
361
|
ArrowProps_4 as ArrowProps,
|
|
361
|
-
|
|
362
|
+
Root_17 as Root
|
|
362
363
|
}
|
|
363
364
|
}
|
|
364
365
|
|
|
@@ -402,7 +403,7 @@ export declare const AvatarFallback: React_2.ForwardRefExoticComponent<Omit<Avat
|
|
|
402
403
|
|
|
403
404
|
declare const AvatarFallback_2: React_2.ForwardRefExoticComponent<AvatarFallbackProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
404
405
|
|
|
405
|
-
declare interface AvatarFallbackProps extends
|
|
406
|
+
declare interface AvatarFallbackProps extends PrimitiveSpanProps_3 {
|
|
406
407
|
delayMs?: number;
|
|
407
408
|
}
|
|
408
409
|
|
|
@@ -426,7 +427,7 @@ declare namespace AvatarPrimitive {
|
|
|
426
427
|
export {
|
|
427
428
|
createAvatarScope,
|
|
428
429
|
ImageLoadingStatus,
|
|
429
|
-
|
|
430
|
+
PrimitiveSpanProps_3 as PrimitiveSpanProps,
|
|
430
431
|
AvatarProps,
|
|
431
432
|
Avatar_2 as Avatar,
|
|
432
433
|
PrimitiveImageProps,
|
|
@@ -434,13 +435,13 @@ declare namespace AvatarPrimitive {
|
|
|
434
435
|
AvatarImage_2 as AvatarImage,
|
|
435
436
|
AvatarFallbackProps,
|
|
436
437
|
AvatarFallback_2 as AvatarFallback,
|
|
437
|
-
|
|
438
|
+
Root_8 as Root,
|
|
438
439
|
Image_2 as Image,
|
|
439
440
|
Fallback
|
|
440
441
|
}
|
|
441
442
|
}
|
|
442
443
|
|
|
443
|
-
declare interface AvatarProps extends
|
|
444
|
+
declare interface AvatarProps extends PrimitiveSpanProps_3 {
|
|
444
445
|
}
|
|
445
446
|
|
|
446
447
|
declare type AvatarSize = NonNullable<ComponentPropsWithoutRef_2<typeof Avatar>['size']>;
|
|
@@ -863,13 +864,13 @@ declare const createCollapsibleScope: CreateScope;
|
|
|
863
864
|
|
|
864
865
|
declare const createDropdownMenuScope: CreateScope;
|
|
865
866
|
|
|
866
|
-
declare const createHoverCardScope:
|
|
867
|
+
declare const createHoverCardScope: CreateScope_4;
|
|
867
868
|
|
|
868
869
|
declare const createMenuScope: CreateScope;
|
|
869
870
|
|
|
870
871
|
declare const createPopperScope: CreateScope;
|
|
871
872
|
|
|
872
|
-
declare const createPopperScope_2:
|
|
873
|
+
declare const createPopperScope_2: CreateScope_3;
|
|
873
874
|
|
|
874
875
|
declare const createRovingFocusGroupScope: CreateScope;
|
|
875
876
|
|
|
@@ -888,8 +889,15 @@ declare interface CreateScope_3 {
|
|
|
888
889
|
(): ScopeHook_3;
|
|
889
890
|
}
|
|
890
891
|
|
|
892
|
+
declare interface CreateScope_4 {
|
|
893
|
+
scopeName: string;
|
|
894
|
+
(): ScopeHook_4;
|
|
895
|
+
}
|
|
896
|
+
|
|
891
897
|
declare const createSelectScope: CreateScope;
|
|
892
898
|
|
|
899
|
+
declare const createSwitchScope: CreateScope_2;
|
|
900
|
+
|
|
893
901
|
declare const createTabsScope: CreateScope;
|
|
894
902
|
|
|
895
903
|
declare const createTooltipScope: CreateScope;
|
|
@@ -1232,7 +1240,7 @@ declare interface DropdownMenuSubTriggerProps extends MenuSubTriggerProps_2 {
|
|
|
1232
1240
|
|
|
1233
1241
|
declare const DropdownMenuTrigger: React_2.ForwardRefExoticComponent<DropdownMenuTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
1234
1242
|
|
|
1235
|
-
declare interface DropdownMenuTriggerProps extends
|
|
1243
|
+
declare interface DropdownMenuTriggerProps extends PrimitiveButtonProps_5 {
|
|
1236
1244
|
}
|
|
1237
1245
|
|
|
1238
1246
|
declare const DropdownPortal: FC<DropdownPrimitive.DropdownMenuPortalProps>;
|
|
@@ -1245,7 +1253,7 @@ declare namespace DropdownPrimitive {
|
|
|
1245
1253
|
createDropdownMenuScope,
|
|
1246
1254
|
DropdownMenuProps,
|
|
1247
1255
|
DropdownMenu,
|
|
1248
|
-
|
|
1256
|
+
PrimitiveButtonProps_5 as PrimitiveButtonProps,
|
|
1249
1257
|
DropdownMenuTriggerProps,
|
|
1250
1258
|
DropdownMenuTrigger,
|
|
1251
1259
|
MenuPortalProps,
|
|
@@ -1289,7 +1297,7 @@ declare namespace DropdownPrimitive {
|
|
|
1289
1297
|
MenuSubContentProps_2 as MenuSubContentProps,
|
|
1290
1298
|
DropdownMenuSubContentProps,
|
|
1291
1299
|
DropdownMenuSubContent,
|
|
1292
|
-
|
|
1300
|
+
Root_13 as Root,
|
|
1293
1301
|
Trigger_4 as Trigger,
|
|
1294
1302
|
Portal_4 as Portal,
|
|
1295
1303
|
Content_6 as Content,
|
|
@@ -1576,7 +1584,7 @@ declare namespace HoverCardPrimitive {
|
|
|
1576
1584
|
HoverCardTrigger_2 as HoverCardTrigger,
|
|
1577
1585
|
HoverCardTriggerProps,
|
|
1578
1586
|
Portal_8 as Portal,
|
|
1579
|
-
|
|
1587
|
+
Root_19 as Root,
|
|
1580
1588
|
Trigger_8 as Trigger,
|
|
1581
1589
|
createHoverCardScope
|
|
1582
1590
|
}
|
|
@@ -1771,6 +1779,34 @@ declare const List: React_2.ForwardRefExoticComponent<TabsListProps & React_2.Re
|
|
|
1771
1779
|
|
|
1772
1780
|
export declare function ListItem({ isActive, isDisabled, className, children, ...props }: ListItemProps): JSX_2.Element;
|
|
1773
1781
|
|
|
1782
|
+
export declare const ListItemComp: ForwardRefExoticComponent<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1783
|
+
|
|
1784
|
+
export declare const ListItemCompAction: ForwardRefExoticComponent<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1785
|
+
|
|
1786
|
+
export declare const ListItemCompContent: ForwardRefExoticComponent<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1787
|
+
|
|
1788
|
+
export declare type ListItemCompContentProps = ComponentPropsWithoutRef_2<'div'>;
|
|
1789
|
+
|
|
1790
|
+
export declare const ListItemCompDescription: {
|
|
1791
|
+
({ children, className, ...props }: ListItemCompDescriptionProps): JSX_2.Element;
|
|
1792
|
+
displayName: string;
|
|
1793
|
+
};
|
|
1794
|
+
|
|
1795
|
+
export declare type ListItemCompDescriptionProps = ComponentPropsWithoutRef_2<typeof TextBody300>;
|
|
1796
|
+
|
|
1797
|
+
export declare type ListItemCompIconProps = ComponentPropsWithoutRef_2<'div'>;
|
|
1798
|
+
|
|
1799
|
+
export declare const ListItemCompLeading: ForwardRefExoticComponent<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1800
|
+
|
|
1801
|
+
export declare type ListItemCompProps = ComponentPropsWithoutRef_2<'div'>;
|
|
1802
|
+
|
|
1803
|
+
export declare const ListItemCompTitle: {
|
|
1804
|
+
({ children, className, ...props }: ListItemCompTitleProps): JSX_2.Element;
|
|
1805
|
+
displayName: string;
|
|
1806
|
+
};
|
|
1807
|
+
|
|
1808
|
+
export declare type ListItemCompTitleProps = ComponentPropsWithoutRef_2<typeof TextHeading350>;
|
|
1809
|
+
|
|
1774
1810
|
export declare function ListItemIcon({ icon, iconSize, className, shape }: ListItemIconProps): JSX_2.Element;
|
|
1775
1811
|
|
|
1776
1812
|
declare interface ListItemIconProps {
|
|
@@ -1887,7 +1923,7 @@ declare interface MenuItemImplProps extends PrimitiveDivProps_8 {
|
|
|
1887
1923
|
|
|
1888
1924
|
declare const MenuItemIndicator: React_2.ForwardRefExoticComponent<MenuItemIndicatorProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
1889
1925
|
|
|
1890
|
-
declare interface MenuItemIndicatorProps extends
|
|
1926
|
+
declare interface MenuItemIndicatorProps extends PrimitiveSpanProps_5 {
|
|
1891
1927
|
/**
|
|
1892
1928
|
* Used to force mounting when more control is needed. Useful when
|
|
1893
1929
|
* controlling animation with React animation libraries.
|
|
@@ -1963,7 +1999,7 @@ declare namespace MenuPrimitive {
|
|
|
1963
1999
|
MenuRadioGroup,
|
|
1964
2000
|
MenuRadioItemProps,
|
|
1965
2001
|
MenuRadioItem,
|
|
1966
|
-
|
|
2002
|
+
PrimitiveSpanProps_5 as PrimitiveSpanProps,
|
|
1967
2003
|
MenuItemIndicatorProps,
|
|
1968
2004
|
MenuItemIndicator,
|
|
1969
2005
|
MenuSeparatorProps,
|
|
@@ -1977,7 +2013,7 @@ declare namespace MenuPrimitive {
|
|
|
1977
2013
|
MenuSubTrigger,
|
|
1978
2014
|
MenuSubContentProps,
|
|
1979
2015
|
MenuSubContent,
|
|
1980
|
-
|
|
2016
|
+
Root_12 as Root,
|
|
1981
2017
|
Anchor_2 as Anchor,
|
|
1982
2018
|
Portal_3 as Portal,
|
|
1983
2019
|
Content_5 as Content,
|
|
@@ -2208,7 +2244,7 @@ declare interface NavigationMenuProviderProps extends NavigationMenuProviderPriv
|
|
|
2208
2244
|
|
|
2209
2245
|
declare type NavigationMenuTriggerElement = React_2.ElementRef<typeof Primitive.button>;
|
|
2210
2246
|
|
|
2211
|
-
declare interface NavigationMenuTriggerProps extends
|
|
2247
|
+
declare interface NavigationMenuTriggerProps extends PrimitiveButtonProps_9 {
|
|
2212
2248
|
}
|
|
2213
2249
|
|
|
2214
2250
|
export declare function NavItemL2({ children, ...props }: NavItemL2Props): JSX_2.Element;
|
|
@@ -2430,7 +2466,7 @@ declare namespace PopperPrimitive {
|
|
|
2430
2466
|
ArrowProps,
|
|
2431
2467
|
PopperArrowProps,
|
|
2432
2468
|
PopperArrow,
|
|
2433
|
-
|
|
2469
|
+
Root_10 as Root,
|
|
2434
2470
|
Anchor,
|
|
2435
2471
|
Content_4 as Content,
|
|
2436
2472
|
Arrow_2 as Arrow
|
|
@@ -2451,7 +2487,7 @@ declare namespace PopperPrimitive_2 {
|
|
|
2451
2487
|
PopperContent_2 as PopperContent,
|
|
2452
2488
|
PopperContentProps_5 as PopperContentProps,
|
|
2453
2489
|
PopperProps_2 as PopperProps,
|
|
2454
|
-
|
|
2490
|
+
Root_18 as Root,
|
|
2455
2491
|
SIDE_OPTIONS_2 as SIDE_OPTIONS,
|
|
2456
2492
|
createPopperScope_2 as createPopperScope
|
|
2457
2493
|
}
|
|
@@ -2515,7 +2551,7 @@ declare type PrimitiveButtonProps_2 = Radix.ComponentPropsWithoutRef<typeof Prim
|
|
|
2515
2551
|
|
|
2516
2552
|
declare type PrimitiveButtonProps_3 = Radix.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
2517
2553
|
|
|
2518
|
-
declare type PrimitiveButtonProps_4 =
|
|
2554
|
+
declare type PrimitiveButtonProps_4 = React_2.ComponentPropsWithoutRef<typeof Primitive_2.button>;
|
|
2519
2555
|
|
|
2520
2556
|
declare type PrimitiveButtonProps_5 = Radix.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
2521
2557
|
|
|
@@ -2525,6 +2561,8 @@ declare type PrimitiveButtonProps_7 = Radix.ComponentPropsWithoutRef<typeof Prim
|
|
|
2525
2561
|
|
|
2526
2562
|
declare type PrimitiveButtonProps_8 = Radix.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
2527
2563
|
|
|
2564
|
+
declare type PrimitiveButtonProps_9 = Radix.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
2565
|
+
|
|
2528
2566
|
declare type PrimitiveDivProps = Radix.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2529
2567
|
|
|
2530
2568
|
declare type PrimitiveDivProps_10 = Radix.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
@@ -2589,7 +2627,7 @@ declare type Primitives_2 = {
|
|
|
2589
2627
|
|
|
2590
2628
|
declare type PrimitiveSpanProps = Radix.ComponentPropsWithoutRef<typeof Primitive.span>;
|
|
2591
2629
|
|
|
2592
|
-
declare type PrimitiveSpanProps_2 =
|
|
2630
|
+
declare type PrimitiveSpanProps_2 = React_2.ComponentPropsWithoutRef<typeof Primitive_2.span>;
|
|
2593
2631
|
|
|
2594
2632
|
declare type PrimitiveSpanProps_3 = Radix.ComponentPropsWithoutRef<typeof Primitive.span>;
|
|
2595
2633
|
|
|
@@ -2597,6 +2635,8 @@ declare type PrimitiveSpanProps_4 = Radix.ComponentPropsWithoutRef<typeof Primit
|
|
|
2597
2635
|
|
|
2598
2636
|
declare type PrimitiveSpanProps_5 = Radix.ComponentPropsWithoutRef<typeof Primitive.span>;
|
|
2599
2637
|
|
|
2638
|
+
declare type PrimitiveSpanProps_6 = Radix.ComponentPropsWithoutRef<typeof Primitive.span>;
|
|
2639
|
+
|
|
2600
2640
|
declare type PrimitiveSvgProps = Radix.ComponentPropsWithoutRef<typeof Primitive.svg>;
|
|
2601
2641
|
|
|
2602
2642
|
declare type PrimitiveSvgProps_2 = React_2.ComponentPropsWithoutRef<typeof Primitive_2.svg>;
|
|
@@ -2772,12 +2812,12 @@ declare namespace RadixTabs {
|
|
|
2772
2812
|
Tabs_2 as Tabs,
|
|
2773
2813
|
TabsListProps,
|
|
2774
2814
|
TabsList_2 as TabsList,
|
|
2775
|
-
|
|
2815
|
+
PrimitiveButtonProps_7 as PrimitiveButtonProps,
|
|
2776
2816
|
TabsTriggerProps,
|
|
2777
2817
|
TabsTrigger_2 as TabsTrigger,
|
|
2778
2818
|
TabsContentProps,
|
|
2779
2819
|
TabsContent_2 as TabsContent,
|
|
2780
|
-
|
|
2820
|
+
Root_15 as Root,
|
|
2781
2821
|
List,
|
|
2782
2822
|
Trigger_6 as Trigger,
|
|
2783
2823
|
Content_8 as Content
|
|
@@ -2812,23 +2852,25 @@ export declare const Role: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
|
2812
2852
|
|
|
2813
2853
|
declare const Root: Primitives;
|
|
2814
2854
|
|
|
2815
|
-
declare const Root_10: React_2.
|
|
2855
|
+
declare const Root_10: React_2.FC<PopperProps>;
|
|
2856
|
+
|
|
2857
|
+
declare const Root_11: React_2.ForwardRefExoticComponent<RovingFocusGroupProps_2 & React_2.RefAttributes<HTMLDivElement>>;
|
|
2816
2858
|
|
|
2817
|
-
declare const
|
|
2859
|
+
declare const Root_12: React_2.FC<MenuProps>;
|
|
2818
2860
|
|
|
2819
|
-
declare const
|
|
2861
|
+
declare const Root_13: React_2.FC<DropdownMenuProps>;
|
|
2820
2862
|
|
|
2821
|
-
declare const
|
|
2863
|
+
declare const Root_14: React_2.FC<SelectProps>;
|
|
2822
2864
|
|
|
2823
|
-
declare const
|
|
2865
|
+
declare const Root_15: React_2.ForwardRefExoticComponent<TabsProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2824
2866
|
|
|
2825
|
-
declare const
|
|
2867
|
+
declare const Root_16: React_2.FC<TooltipProps>;
|
|
2826
2868
|
|
|
2827
|
-
declare const
|
|
2869
|
+
declare const Root_17: React_2.ForwardRefExoticComponent<ArrowProps_4 & React_2.RefAttributes<SVGSVGElement>>;
|
|
2828
2870
|
|
|
2829
|
-
declare const
|
|
2871
|
+
declare const Root_18: React_2.FC<PopperProps_2>;
|
|
2830
2872
|
|
|
2831
|
-
declare const
|
|
2873
|
+
declare const Root_19: React_2.FC<HoverCardProps>;
|
|
2832
2874
|
|
|
2833
2875
|
declare const Root_2: React_2.ForwardRefExoticComponent<CheckboxProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
2834
2876
|
|
|
@@ -2836,15 +2878,15 @@ declare const Root_3: React_2.ForwardRefExoticComponent<LabelProps & React_2.Ref
|
|
|
2836
2878
|
|
|
2837
2879
|
declare const Root_4: React_2.ForwardRefExoticComponent<CollapsibleProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2838
2880
|
|
|
2839
|
-
declare const Root_5:
|
|
2881
|
+
declare const Root_5: React_2.ForwardRefExoticComponent<SwitchProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
2840
2882
|
|
|
2841
|
-
declare const Root_6:
|
|
2883
|
+
declare const Root_6: React_3.ForwardRefExoticComponent<(AccordionSingleProps | AccordionMultipleProps) & React_3.RefAttributes<HTMLDivElement>>;
|
|
2842
2884
|
|
|
2843
|
-
declare const Root_7: React_2.
|
|
2885
|
+
declare const Root_7: React_2.FC<AlertDialogProps>;
|
|
2844
2886
|
|
|
2845
|
-
declare const Root_8: React_2.ForwardRefExoticComponent<
|
|
2887
|
+
declare const Root_8: React_2.ForwardRefExoticComponent<AvatarProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
2846
2888
|
|
|
2847
|
-
declare const Root_9: React_2.
|
|
2889
|
+
declare const Root_9: React_2.ForwardRefExoticComponent<ArrowProps_2 & React_2.RefAttributes<SVGSVGElement>>;
|
|
2848
2890
|
|
|
2849
2891
|
declare namespace RovingFocusGroup {
|
|
2850
2892
|
export {
|
|
@@ -2856,10 +2898,10 @@ declare namespace RovingFocusGroup {
|
|
|
2856
2898
|
RovingFocusGroup_2 as RovingFocusGroup,
|
|
2857
2899
|
PrimitiveDivProps_7 as PrimitiveDivProps,
|
|
2858
2900
|
RovingFocusGroupImplProps,
|
|
2859
|
-
|
|
2901
|
+
PrimitiveSpanProps_4 as PrimitiveSpanProps,
|
|
2860
2902
|
RovingFocusItemProps,
|
|
2861
2903
|
RovingFocusGroupItem,
|
|
2862
|
-
|
|
2904
|
+
Root_11 as Root,
|
|
2863
2905
|
Item_2 as Item
|
|
2864
2906
|
}
|
|
2865
2907
|
}
|
|
@@ -2901,7 +2943,7 @@ declare type RovingFocusGroupProps_3 = Radix.ComponentPropsWithoutRef<typeof Rov
|
|
|
2901
2943
|
|
|
2902
2944
|
declare type RovingFocusGroupProps_4 = Radix.ComponentPropsWithoutRef<typeof RovingFocusGroup.Root>;
|
|
2903
2945
|
|
|
2904
|
-
declare interface RovingFocusItemProps extends
|
|
2946
|
+
declare interface RovingFocusItemProps extends PrimitiveSpanProps_4 {
|
|
2905
2947
|
tabStopId?: string;
|
|
2906
2948
|
focusable?: boolean;
|
|
2907
2949
|
active?: boolean;
|
|
@@ -2938,6 +2980,10 @@ declare type Scope_3<C = any> = {
|
|
|
2938
2980
|
[scopeName: string]: React_2.Context<C>[];
|
|
2939
2981
|
} | undefined;
|
|
2940
2982
|
|
|
2983
|
+
declare type Scope_4<C = any> = {
|
|
2984
|
+
[scopeName: string]: React_2.Context<C>[];
|
|
2985
|
+
} | undefined;
|
|
2986
|
+
|
|
2941
2987
|
declare type ScopeHook = (scope: Scope) => {
|
|
2942
2988
|
[__scopeProp: string]: Scope;
|
|
2943
2989
|
};
|
|
@@ -2950,6 +2996,10 @@ declare type ScopeHook_3 = (scope: Scope_3) => {
|
|
|
2950
2996
|
[__scopeProp: string]: Scope_3;
|
|
2951
2997
|
};
|
|
2952
2998
|
|
|
2999
|
+
declare type ScopeHook_4 = (scope: Scope_4) => {
|
|
3000
|
+
[__scopeProp: string]: Scope_4;
|
|
3001
|
+
};
|
|
3002
|
+
|
|
2953
3003
|
declare const ScrollDownButton: React_2.ForwardRefExoticComponent<SelectScrollDownButtonProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2954
3004
|
|
|
2955
3005
|
declare const ScrollUpButton: React_2.ForwardRefExoticComponent<SelectScrollUpButtonProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -3000,7 +3050,7 @@ declare interface SelectGroupProps extends PrimitiveDivProps_9 {
|
|
|
3000
3050
|
|
|
3001
3051
|
declare const SelectIcon: React_2.ForwardRefExoticComponent<SelectIconProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
3002
3052
|
|
|
3003
|
-
declare interface SelectIconProps extends
|
|
3053
|
+
declare interface SelectIconProps extends PrimitiveSpanProps_6 {
|
|
3004
3054
|
}
|
|
3005
3055
|
|
|
3006
3056
|
export declare const SelectItem: ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
@@ -3012,7 +3062,7 @@ declare interface SelectItemAlignedPositionProps extends PrimitiveDivProps_9, Se
|
|
|
3012
3062
|
|
|
3013
3063
|
declare const SelectItemIndicator: React_2.ForwardRefExoticComponent<SelectItemIndicatorProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
3014
3064
|
|
|
3015
|
-
declare interface SelectItemIndicatorProps extends
|
|
3065
|
+
declare interface SelectItemIndicatorProps extends PrimitiveSpanProps_6 {
|
|
3016
3066
|
}
|
|
3017
3067
|
|
|
3018
3068
|
declare interface SelectItemProps extends PrimitiveDivProps_9 {
|
|
@@ -3023,7 +3073,7 @@ declare interface SelectItemProps extends PrimitiveDivProps_9 {
|
|
|
3023
3073
|
|
|
3024
3074
|
declare const SelectItemText: React_2.ForwardRefExoticComponent<SelectItemTextProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
3025
3075
|
|
|
3026
|
-
declare interface SelectItemTextProps extends
|
|
3076
|
+
declare interface SelectItemTextProps extends PrimitiveSpanProps_6 {
|
|
3027
3077
|
}
|
|
3028
3078
|
|
|
3029
3079
|
export declare const SelectLabel: ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
@@ -3056,10 +3106,10 @@ declare namespace SelectPrimitive {
|
|
|
3056
3106
|
createSelectScope,
|
|
3057
3107
|
SelectProps,
|
|
3058
3108
|
Select_2 as Select,
|
|
3059
|
-
|
|
3109
|
+
PrimitiveButtonProps_6 as PrimitiveButtonProps,
|
|
3060
3110
|
SelectTriggerProps,
|
|
3061
3111
|
SelectTrigger_2 as SelectTrigger,
|
|
3062
|
-
|
|
3112
|
+
PrimitiveSpanProps_6 as PrimitiveSpanProps,
|
|
3063
3113
|
SelectValueProps,
|
|
3064
3114
|
SelectValue_2 as SelectValue,
|
|
3065
3115
|
SelectIconProps,
|
|
@@ -3099,7 +3149,7 @@ declare namespace SelectPrimitive {
|
|
|
3099
3149
|
PopperArrowProps_3 as PopperArrowProps,
|
|
3100
3150
|
SelectArrowProps,
|
|
3101
3151
|
SelectArrow,
|
|
3102
|
-
|
|
3152
|
+
Root_14 as Root,
|
|
3103
3153
|
Trigger_5 as Trigger,
|
|
3104
3154
|
Value,
|
|
3105
3155
|
Icon_2 as Icon,
|
|
@@ -3158,14 +3208,14 @@ export declare const SelectTrigger: ForwardRefExoticComponent<Omit<SelectPrimiti
|
|
|
3158
3208
|
|
|
3159
3209
|
declare const SelectTrigger_2: React_2.ForwardRefExoticComponent<SelectTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
3160
3210
|
|
|
3161
|
-
declare interface SelectTriggerProps extends
|
|
3211
|
+
declare interface SelectTriggerProps extends PrimitiveButtonProps_6 {
|
|
3162
3212
|
}
|
|
3163
3213
|
|
|
3164
3214
|
export declare const SelectValue: ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & RefAttributes<HTMLSpanElement>>;
|
|
3165
3215
|
|
|
3166
3216
|
declare const SelectValue_2: React_2.ForwardRefExoticComponent<SelectValueProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
3167
3217
|
|
|
3168
|
-
declare interface SelectValueProps extends Omit<
|
|
3218
|
+
declare interface SelectValueProps extends Omit<PrimitiveSpanProps_6, 'placeholder'> {
|
|
3169
3219
|
placeholder?: React_2.ReactNode;
|
|
3170
3220
|
}
|
|
3171
3221
|
|
|
@@ -3295,6 +3345,38 @@ declare const SubTrigger_2: React_2.ForwardRefExoticComponent<DropdownMenuSubTri
|
|
|
3295
3345
|
|
|
3296
3346
|
export declare const Survey: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
3297
3347
|
|
|
3348
|
+
export declare const Switch: React_2.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
3349
|
+
className?: string | undefined;
|
|
3350
|
+
label?: string | undefined;
|
|
3351
|
+
id?: string | undefined;
|
|
3352
|
+
} & React_2.RefAttributes<HTMLButtonElement>>;
|
|
3353
|
+
|
|
3354
|
+
declare const Switch_2: React_2.ForwardRefExoticComponent<SwitchProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
3355
|
+
|
|
3356
|
+
declare namespace SwitchPrimitives {
|
|
3357
|
+
export {
|
|
3358
|
+
Root_5 as Root,
|
|
3359
|
+
Switch_2 as Switch,
|
|
3360
|
+
SwitchProps,
|
|
3361
|
+
SwitchThumb,
|
|
3362
|
+
SwitchThumbProps,
|
|
3363
|
+
Thumb,
|
|
3364
|
+
createSwitchScope
|
|
3365
|
+
}
|
|
3366
|
+
}
|
|
3367
|
+
|
|
3368
|
+
declare interface SwitchProps extends PrimitiveButtonProps_4 {
|
|
3369
|
+
checked?: boolean;
|
|
3370
|
+
defaultChecked?: boolean;
|
|
3371
|
+
required?: boolean;
|
|
3372
|
+
onCheckedChange?(checked: boolean): void;
|
|
3373
|
+
}
|
|
3374
|
+
|
|
3375
|
+
declare const SwitchThumb: React_2.ForwardRefExoticComponent<SwitchThumbProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
3376
|
+
|
|
3377
|
+
declare interface SwitchThumbProps extends PrimitiveSpanProps_2 {
|
|
3378
|
+
}
|
|
3379
|
+
|
|
3298
3380
|
export declare const Tabs: ForwardRefExoticComponent<Omit<RadixTabs.TabsProps & RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
3299
3381
|
variant?: "primary" | "secondary" | null | undefined;
|
|
3300
3382
|
} & ClassProp) | undefined) => string> & RefAttributes<HTMLDivElement>>;
|
|
@@ -3350,7 +3432,7 @@ export declare const TabsTrigger: ForwardRefExoticComponent<Omit<RadixTabs.TabsT
|
|
|
3350
3432
|
|
|
3351
3433
|
declare const TabsTrigger_2: React_2.ForwardRefExoticComponent<TabsTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
3352
3434
|
|
|
3353
|
-
declare interface TabsTriggerProps extends
|
|
3435
|
+
declare interface TabsTriggerProps extends PrimitiveButtonProps_7 {
|
|
3354
3436
|
value: string;
|
|
3355
3437
|
}
|
|
3356
3438
|
|
|
@@ -3365,6 +3447,10 @@ export declare interface TagProps {
|
|
|
3365
3447
|
|
|
3366
3448
|
export declare const Team: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
3367
3449
|
|
|
3450
|
+
declare const TextBody300: ({ children, className, ...props }: TextProps_2) => JSX_2.Element;
|
|
3451
|
+
|
|
3452
|
+
declare const TextHeading350: ({ children, className, ...props }: TextProps_2) => JSX_2.Element;
|
|
3453
|
+
|
|
3368
3454
|
declare type TextProps = {
|
|
3369
3455
|
bold?: boolean;
|
|
3370
3456
|
color?: 'text-body-primary' | 'text-font-secondary' | string;
|
|
@@ -3372,6 +3458,16 @@ declare type TextProps = {
|
|
|
3372
3458
|
children: React.ReactNode;
|
|
3373
3459
|
};
|
|
3374
3460
|
|
|
3461
|
+
declare type TextProps_2 = {
|
|
3462
|
+
bold?: boolean;
|
|
3463
|
+
xbold?: boolean;
|
|
3464
|
+
color?: 'text-body-primary' | 'text-font-secondary' | string;
|
|
3465
|
+
className?: string;
|
|
3466
|
+
children: React.ReactNode;
|
|
3467
|
+
};
|
|
3468
|
+
|
|
3469
|
+
declare const Thumb: React_2.ForwardRefExoticComponent<SwitchThumbProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
3470
|
+
|
|
3375
3471
|
declare const Title: React_2.ForwardRefExoticComponent<AlertDialogTitleProps & React_2.RefAttributes<HTMLHeadingElement>>;
|
|
3376
3472
|
|
|
3377
3473
|
export declare const toast: ((message: string | React_3.ReactNode, data?: ExternalToast) => string | number) & {
|
|
@@ -3650,7 +3746,7 @@ declare namespace TooltipPrimitive {
|
|
|
3650
3746
|
TooltipProvider_2 as TooltipProvider,
|
|
3651
3747
|
TooltipProps,
|
|
3652
3748
|
Tooltip_2 as Tooltip,
|
|
3653
|
-
|
|
3749
|
+
PrimitiveButtonProps_8 as PrimitiveButtonProps,
|
|
3654
3750
|
TooltipTriggerProps,
|
|
3655
3751
|
TooltipTrigger_2 as TooltipTrigger,
|
|
3656
3752
|
PortalProps_4 as PortalProps,
|
|
@@ -3665,7 +3761,7 @@ declare namespace TooltipPrimitive {
|
|
|
3665
3761
|
TooltipArrowProps,
|
|
3666
3762
|
TooltipArrow,
|
|
3667
3763
|
Provider,
|
|
3668
|
-
|
|
3764
|
+
Root_16 as Root,
|
|
3669
3765
|
Trigger_7 as Trigger,
|
|
3670
3766
|
Portal_6 as Portal,
|
|
3671
3767
|
Content_9 as Content,
|
|
@@ -3718,7 +3814,7 @@ export declare const TooltipTrigger: ForwardRefExoticComponent<TooltipPrimitive.
|
|
|
3718
3814
|
|
|
3719
3815
|
declare const TooltipTrigger_2: React_2.ForwardRefExoticComponent<TooltipTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
3720
3816
|
|
|
3721
|
-
declare interface TooltipTriggerProps extends
|
|
3817
|
+
declare interface TooltipTriggerProps extends PrimitiveButtonProps_8 {
|
|
3722
3818
|
}
|
|
3723
3819
|
|
|
3724
3820
|
export declare const TrendingDown: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|