@mesh.ai/rabbit 1.38.1 → 1.39.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 +22925 -16963
- package/dist/@mesh.ai/rabbit.umd.js +52 -46
- package/dist/index.d.ts +471 -762
- package/dist/rabbit.css +1 -0
- package/package.json +1 -1
- package/dist/style.css +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
|
|
3
1
|
import { ButtonHTMLAttributes } from 'react';
|
|
4
2
|
import { ChangeEvent } from 'react';
|
|
5
|
-
import { ComponentPropsWithoutRef
|
|
3
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
6
4
|
import { CSSProperties } from 'react';
|
|
5
|
+
import { default as default_2 } from 'react';
|
|
7
6
|
import { DetailedHTMLProps } from 'react';
|
|
8
7
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
9
8
|
import { EmblaOptionsType } from 'embla-carousel/components/Options';
|
|
@@ -21,7 +20,7 @@ import { RefAttributes } from 'react';
|
|
|
21
20
|
import { SVGProps } from 'react';
|
|
22
21
|
import * as VisuallyHiddenPrimitive from '@radix-ui/react-visually-hidden';
|
|
23
22
|
|
|
24
|
-
export declare const Accordion: ForwardRefExoticComponent<
|
|
23
|
+
export declare const Accordion: ForwardRefExoticComponent<ComponentPropsWithoutRef<ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & RefAttributes<HTMLDivElement>>> & RefAttributes<HTMLDivElement>>;
|
|
25
24
|
|
|
26
25
|
declare const Accordion_2: React_3.ForwardRefExoticComponent<(AccordionSingleProps | AccordionMultipleProps) & React_3.RefAttributes<HTMLDivElement>>;
|
|
27
26
|
|
|
@@ -125,32 +124,23 @@ declare interface AccordionMultipleProps extends AccordionImplMultipleProps {
|
|
|
125
124
|
|
|
126
125
|
declare namespace AccordionPrimitive {
|
|
127
126
|
export {
|
|
128
|
-
Direction,
|
|
129
|
-
createAccordionScope,
|
|
130
|
-
AccordionSingleProps,
|
|
131
|
-
AccordionMultipleProps,
|
|
132
127
|
Accordion_2 as Accordion,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
PrimitiveDivProps_2 as PrimitiveDivProps,
|
|
136
|
-
AccordionImplProps,
|
|
137
|
-
CollapsibleProps_2 as CollapsibleProps,
|
|
138
|
-
AccordionItemProps,
|
|
139
|
-
AccordionItem_2 as AccordionItem,
|
|
140
|
-
PrimitiveHeading3Props,
|
|
141
|
-
AccordionHeaderProps,
|
|
128
|
+
AccordionContent_2 as AccordionContent,
|
|
129
|
+
AccordionContentProps,
|
|
142
130
|
AccordionHeader,
|
|
143
|
-
|
|
144
|
-
|
|
131
|
+
AccordionHeaderProps,
|
|
132
|
+
AccordionItem_2 as AccordionItem,
|
|
133
|
+
AccordionItemProps,
|
|
134
|
+
AccordionMultipleProps,
|
|
135
|
+
AccordionSingleProps,
|
|
145
136
|
AccordionTrigger_2 as AccordionTrigger,
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
AccordionContent_2 as AccordionContent,
|
|
149
|
-
Root_6 as Root,
|
|
150
|
-
Item,
|
|
137
|
+
AccordionTriggerProps,
|
|
138
|
+
Content_2 as Content,
|
|
151
139
|
Header,
|
|
140
|
+
Item,
|
|
141
|
+
Root_5 as Root,
|
|
152
142
|
Trigger_2 as Trigger,
|
|
153
|
-
|
|
143
|
+
createAccordionScope
|
|
154
144
|
}
|
|
155
145
|
}
|
|
156
146
|
|
|
@@ -159,7 +149,7 @@ declare interface AccordionSingleProps extends AccordionImplSingleProps {
|
|
|
159
149
|
}
|
|
160
150
|
|
|
161
151
|
export declare const AccordionTrigger: ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
162
|
-
|
|
152
|
+
icon?: IconType;
|
|
163
153
|
} & RefAttributes<HTMLButtonElement>>;
|
|
164
154
|
|
|
165
155
|
/**
|
|
@@ -173,6 +163,12 @@ declare interface AccordionTriggerProps extends CollapsibleTriggerProps_2 {
|
|
|
173
163
|
|
|
174
164
|
declare const Action: React_2.ForwardRefExoticComponent<AlertDialogActionProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
175
165
|
|
|
166
|
+
declare interface Action_2 {
|
|
167
|
+
label: React_3.ReactNode;
|
|
168
|
+
onClick: (event: React_3.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
169
|
+
actionButtonStyle?: React_3.CSSProperties;
|
|
170
|
+
}
|
|
171
|
+
|
|
176
172
|
export declare const Add: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
177
173
|
|
|
178
174
|
export declare const AddPerson: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
@@ -180,49 +176,41 @@ export declare const AddPerson: (props: SVGProps<SVGSVGElement>) => JSX_2.Elemen
|
|
|
180
176
|
export declare const AICard: ForwardRefExoticComponent<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
181
177
|
|
|
182
178
|
export declare const Alert: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
183
|
-
|
|
179
|
+
variant?: "default" | "warning" | "success" | "error" | null | undefined;
|
|
184
180
|
} & ClassProp) | undefined) => string> & RefAttributes<HTMLDivElement>>;
|
|
185
181
|
|
|
186
182
|
export declare const AlertDescription: ForwardRefExoticComponent<HTMLAttributes<HTMLParagraphElement> & RefAttributes<HTMLParagraphElement>>;
|
|
187
183
|
|
|
188
184
|
declare namespace AlertDialog {
|
|
189
185
|
export {
|
|
190
|
-
|
|
191
|
-
DialogProps,
|
|
192
|
-
AlertDialogProps,
|
|
186
|
+
Action,
|
|
193
187
|
AlertDialog_2 as AlertDialog,
|
|
194
|
-
DialogTriggerProps,
|
|
195
|
-
AlertDialogTriggerProps,
|
|
196
|
-
AlertDialogTrigger_2 as AlertDialogTrigger,
|
|
197
|
-
DialogPortalProps,
|
|
198
|
-
AlertDialogPortalProps,
|
|
199
|
-
AlertDialogPortal_2 as AlertDialogPortal,
|
|
200
|
-
DialogOverlayProps,
|
|
201
|
-
AlertDialogOverlayProps,
|
|
202
|
-
AlertDialogOverlay_2 as AlertDialogOverlay,
|
|
203
|
-
DialogContentProps,
|
|
204
|
-
AlertDialogContentProps,
|
|
205
|
-
AlertDialogContent_2 as AlertDialogContent,
|
|
206
|
-
DialogTitleProps,
|
|
207
|
-
AlertDialogTitleProps,
|
|
208
|
-
AlertDialogTitle_2 as AlertDialogTitle,
|
|
209
|
-
DialogDescriptionProps,
|
|
210
|
-
AlertDialogDescriptionProps,
|
|
211
|
-
AlertDialogDescription_2 as AlertDialogDescription,
|
|
212
|
-
DialogCloseProps,
|
|
213
|
-
AlertDialogActionProps,
|
|
214
188
|
AlertDialogAction_2 as AlertDialogAction,
|
|
215
|
-
|
|
189
|
+
AlertDialogActionProps,
|
|
216
190
|
AlertDialogCancel_2 as AlertDialogCancel,
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
191
|
+
AlertDialogCancelProps,
|
|
192
|
+
AlertDialogContent_2 as AlertDialogContent,
|
|
193
|
+
AlertDialogContentProps,
|
|
194
|
+
AlertDialogDescription_2 as AlertDialogDescription,
|
|
195
|
+
AlertDialogDescriptionProps,
|
|
196
|
+
AlertDialogOverlay_2 as AlertDialogOverlay,
|
|
197
|
+
AlertDialogOverlayProps,
|
|
198
|
+
AlertDialogPortal_2 as AlertDialogPortal,
|
|
199
|
+
AlertDialogPortalProps,
|
|
200
|
+
AlertDialogProps,
|
|
201
|
+
AlertDialogTitle_2 as AlertDialogTitle,
|
|
202
|
+
AlertDialogTitleProps,
|
|
203
|
+
AlertDialogTrigger_2 as AlertDialogTrigger,
|
|
204
|
+
AlertDialogTriggerProps,
|
|
223
205
|
Cancel,
|
|
206
|
+
Content_3 as Content,
|
|
207
|
+
Description,
|
|
208
|
+
Overlay,
|
|
209
|
+
Portal,
|
|
210
|
+
Root_6 as Root,
|
|
224
211
|
Title,
|
|
225
|
-
|
|
212
|
+
Trigger_3 as Trigger,
|
|
213
|
+
createAlertDialogScope
|
|
226
214
|
}
|
|
227
215
|
}
|
|
228
216
|
|
|
@@ -318,27 +306,21 @@ declare interface AlertDialogTriggerProps extends DialogTriggerProps {
|
|
|
318
306
|
|
|
319
307
|
export declare const AlertIcon: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & Omit<IconProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
320
308
|
|
|
321
|
-
declare type Align = typeof ALIGN_OPTIONS[number];
|
|
322
|
-
|
|
323
|
-
declare type Align_2 = (typeof ALIGN_OPTIONS_2)[number];
|
|
309
|
+
declare type Align = (typeof ALIGN_OPTIONS)[number];
|
|
324
310
|
|
|
325
311
|
declare const ALIGN_OPTIONS: readonly ["start", "center", "end"];
|
|
326
312
|
|
|
327
|
-
declare const
|
|
328
|
-
|
|
329
|
-
declare const Anchor: React_2.ForwardRefExoticComponent<PopperAnchorProps_2 & React_2.RefAttributes<HTMLDivElement>>;
|
|
313
|
+
declare const Anchor: React_2.ForwardRefExoticComponent<MenuAnchorProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
330
314
|
|
|
331
|
-
declare const Anchor_2: React_2.ForwardRefExoticComponent<
|
|
315
|
+
declare const Anchor_2: React_2.ForwardRefExoticComponent<PopperAnchorProps_2 & React_2.RefAttributes<HTMLDivElement>>;
|
|
332
316
|
|
|
333
|
-
declare const
|
|
334
|
-
|
|
335
|
-
declare const Arrow: React_2.ForwardRefExoticComponent<ArrowProps_2 & React_2.RefAttributes<SVGSVGElement>>;
|
|
317
|
+
declare const Arrow: React_2.ForwardRefExoticComponent<DropdownMenuArrowProps & React_2.RefAttributes<SVGSVGElement>>;
|
|
336
318
|
|
|
337
319
|
declare const Arrow_2: React_2.ForwardRefExoticComponent<PopperArrowProps & React_2.RefAttributes<SVGSVGElement>>;
|
|
338
320
|
|
|
339
|
-
declare const Arrow_3: React_2.ForwardRefExoticComponent<
|
|
321
|
+
declare const Arrow_3: React_2.ForwardRefExoticComponent<ArrowProps_2 & React_2.RefAttributes<SVGSVGElement>>;
|
|
340
322
|
|
|
341
|
-
declare const Arrow_4: React_2.ForwardRefExoticComponent<
|
|
323
|
+
declare const Arrow_4: React_2.ForwardRefExoticComponent<MenuArrowProps_2 & React_2.RefAttributes<SVGSVGElement>>;
|
|
342
324
|
|
|
343
325
|
declare const Arrow_5: React_2.ForwardRefExoticComponent<SelectArrowProps & React_2.RefAttributes<SVGSVGElement>>;
|
|
344
326
|
|
|
@@ -346,37 +328,19 @@ declare const Arrow_6: React_2.ForwardRefExoticComponent<TooltipArrowProps & Rea
|
|
|
346
328
|
|
|
347
329
|
declare const Arrow_7: React_2.ForwardRefExoticComponent<HoverCardArrowProps & React_2.RefAttributes<SVGSVGElement>>;
|
|
348
330
|
|
|
349
|
-
declare const Arrow_8: React_2.ForwardRefExoticComponent<PopperArrowProps_6 & React_2.RefAttributes<SVGSVGElement>>;
|
|
350
|
-
|
|
351
|
-
declare const Arrow_9: React_2.ForwardRefExoticComponent<ArrowProps_4 & React_2.RefAttributes<SVGSVGElement>>;
|
|
352
|
-
|
|
353
331
|
declare namespace ArrowPrimitive {
|
|
354
332
|
export {
|
|
355
|
-
|
|
333
|
+
Arrow_3 as Arrow,
|
|
356
334
|
ArrowProps_2 as ArrowProps,
|
|
357
|
-
|
|
358
|
-
Root_9 as Root
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
declare namespace ArrowPrimitive_2 {
|
|
363
|
-
export {
|
|
364
|
-
Arrow_9 as Arrow,
|
|
365
|
-
ArrowProps_4 as ArrowProps,
|
|
366
|
-
Root_17 as Root
|
|
335
|
+
Root_8 as Root
|
|
367
336
|
}
|
|
368
337
|
}
|
|
369
338
|
|
|
370
|
-
declare type ArrowProps =
|
|
339
|
+
declare type ArrowProps = React_2.ComponentPropsWithoutRef<typeof ArrowPrimitive.Root>;
|
|
371
340
|
|
|
372
341
|
declare interface ArrowProps_2 extends PrimitiveSvgProps {
|
|
373
342
|
}
|
|
374
343
|
|
|
375
|
-
declare type ArrowProps_3 = React_2.ComponentPropsWithoutRef<typeof ArrowPrimitive_2.Root>;
|
|
376
|
-
|
|
377
|
-
declare interface ArrowProps_4 extends PrimitiveSvgProps_2 {
|
|
378
|
-
}
|
|
379
|
-
|
|
380
344
|
export declare const Avatar: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & VariantProps<(props?: ({
|
|
381
345
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "profile" | null | undefined;
|
|
382
346
|
} & ClassProp) | undefined) => string> & React_2.RefAttributes<HTMLSpanElement>>;
|
|
@@ -389,7 +353,7 @@ export declare interface AvatarBadgeProps {
|
|
|
389
353
|
src?: string;
|
|
390
354
|
badgeLabel?: string;
|
|
391
355
|
userName: string;
|
|
392
|
-
size?: NonNullable<
|
|
356
|
+
size?: NonNullable<ComponentPropsWithoutRef<typeof Avatar>['size']>;
|
|
393
357
|
showDashedOutline?: boolean;
|
|
394
358
|
className?: string;
|
|
395
359
|
avatarImageClassName?: string;
|
|
@@ -429,26 +393,23 @@ declare interface AvatarImageProps extends PrimitiveImageProps {
|
|
|
429
393
|
|
|
430
394
|
declare namespace AvatarPrimitive {
|
|
431
395
|
export {
|
|
432
|
-
createAvatarScope,
|
|
433
|
-
ImageLoadingStatus,
|
|
434
|
-
PrimitiveSpanProps_3 as PrimitiveSpanProps,
|
|
435
|
-
AvatarProps,
|
|
436
396
|
Avatar_2 as Avatar,
|
|
437
|
-
PrimitiveImageProps,
|
|
438
|
-
AvatarImageProps,
|
|
439
|
-
AvatarImage_2 as AvatarImage,
|
|
440
|
-
AvatarFallbackProps,
|
|
441
397
|
AvatarFallback_2 as AvatarFallback,
|
|
442
|
-
|
|
398
|
+
AvatarFallbackProps,
|
|
399
|
+
AvatarImage_2 as AvatarImage,
|
|
400
|
+
AvatarImageProps,
|
|
401
|
+
AvatarProps,
|
|
402
|
+
Fallback,
|
|
443
403
|
Image_2 as Image,
|
|
444
|
-
|
|
404
|
+
Root_7 as Root,
|
|
405
|
+
createAvatarScope
|
|
445
406
|
}
|
|
446
407
|
}
|
|
447
408
|
|
|
448
409
|
declare interface AvatarProps extends PrimitiveSpanProps_3 {
|
|
449
410
|
}
|
|
450
411
|
|
|
451
|
-
declare type AvatarSize = NonNullable<
|
|
412
|
+
declare type AvatarSize = NonNullable<ComponentPropsWithoutRef<typeof Avatar>['size']>;
|
|
452
413
|
|
|
453
414
|
declare interface AxisSymbolType {
|
|
454
415
|
symbol: string;
|
|
@@ -477,8 +438,6 @@ declare interface AxisSymbolType_5 {
|
|
|
477
438
|
|
|
478
439
|
declare type Boundary = Element | null;
|
|
479
440
|
|
|
480
|
-
declare type Boundary_2 = Element | null;
|
|
481
|
-
|
|
482
441
|
declare interface BoxDataBlock {
|
|
483
442
|
color: string;
|
|
484
443
|
count: number;
|
|
@@ -505,14 +464,14 @@ export declare const Breadcrumb: React_2.ForwardRefExoticComponent<Omit<React_2.
|
|
|
505
464
|
} & React_2.RefAttributes<HTMLElement>>;
|
|
506
465
|
|
|
507
466
|
export declare const BreadcrumbEllipsis: {
|
|
508
|
-
({ className, ...props }: React_2.ComponentProps<
|
|
467
|
+
({ className, ...props }: React_2.ComponentProps<"span">): JSX_2.Element;
|
|
509
468
|
displayName: string;
|
|
510
469
|
};
|
|
511
470
|
|
|
512
471
|
export declare const BreadcrumbItem: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React_2.RefAttributes<HTMLLIElement>>;
|
|
513
472
|
|
|
514
473
|
export declare const BreadcrumbLink: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
515
|
-
asChild?: boolean
|
|
474
|
+
asChild?: boolean;
|
|
516
475
|
} & React_2.RefAttributes<HTMLAnchorElement>>;
|
|
517
476
|
|
|
518
477
|
export declare const BreadcrumbList: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React_2.RefAttributes<HTMLOListElement>>;
|
|
@@ -520,7 +479,7 @@ export declare const BreadcrumbList: React_2.ForwardRefExoticComponent<Omit<Reac
|
|
|
520
479
|
export declare const BreadcrumbPage: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
|
|
521
480
|
|
|
522
481
|
export declare const BreadcrumbSeparator: {
|
|
523
|
-
({ children, className, ...props }: React_2.ComponentProps<
|
|
482
|
+
({ children, className, ...props }: React_2.ComponentProps<"li">): JSX_2.Element;
|
|
524
483
|
displayName: string;
|
|
525
484
|
};
|
|
526
485
|
|
|
@@ -607,7 +566,7 @@ export declare function CarouselNextButton({ children, className, containerClass
|
|
|
607
566
|
export declare function CarouselPrevButton({ children, className, containerClassName, ...props }: CarouselButtonsProps): JSX_2.Element;
|
|
608
567
|
|
|
609
568
|
export declare interface CarouselProps extends EmblaOptionsType {
|
|
610
|
-
children:
|
|
569
|
+
children: default_2.ReactNode;
|
|
611
570
|
}
|
|
612
571
|
|
|
613
572
|
export declare const Channel: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
@@ -660,16 +619,14 @@ declare const CheckboxItem_2: React_2.ForwardRefExoticComponent<DropdownMenuChec
|
|
|
660
619
|
|
|
661
620
|
declare namespace CheckboxPrimitive {
|
|
662
621
|
export {
|
|
663
|
-
createCheckboxScope,
|
|
664
|
-
CheckedState,
|
|
665
|
-
PrimitiveButtonProps,
|
|
666
|
-
CheckboxProps,
|
|
667
622
|
Checkbox_2 as Checkbox,
|
|
668
|
-
PrimitiveSpanProps,
|
|
669
|
-
CheckboxIndicatorProps,
|
|
670
623
|
CheckboxIndicator,
|
|
671
|
-
|
|
672
|
-
|
|
624
|
+
CheckboxIndicatorProps,
|
|
625
|
+
CheckboxProps,
|
|
626
|
+
CheckedState,
|
|
627
|
+
Indicator,
|
|
628
|
+
Root,
|
|
629
|
+
createCheckboxScope
|
|
673
630
|
}
|
|
674
631
|
}
|
|
675
632
|
|
|
@@ -750,8 +707,6 @@ declare namespace CLSX {
|
|
|
750
707
|
}
|
|
751
708
|
}
|
|
752
709
|
|
|
753
|
-
declare type CnFunction = (...classes: Array<string | undefined>) => string;
|
|
754
|
-
|
|
755
710
|
declare interface CollapseButtonProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
756
711
|
isCollapsed?: boolean;
|
|
757
712
|
}
|
|
@@ -760,30 +715,27 @@ export declare const CollapseNavigation: (props: SVGProps<SVGSVGElement>) => JSX
|
|
|
760
715
|
|
|
761
716
|
declare namespace Collapsible {
|
|
762
717
|
export {
|
|
763
|
-
createCollapsibleScope,
|
|
764
|
-
PrimitiveDivProps,
|
|
765
|
-
CollapsibleProps,
|
|
766
718
|
Collapsible_2 as Collapsible,
|
|
767
|
-
PrimitiveButtonProps_3 as PrimitiveButtonProps,
|
|
768
|
-
CollapsibleTriggerProps,
|
|
769
|
-
CollapsibleTrigger,
|
|
770
|
-
CollapsibleContentProps,
|
|
771
719
|
CollapsibleContent,
|
|
772
|
-
|
|
773
|
-
|
|
720
|
+
CollapsibleContentProps,
|
|
721
|
+
CollapsibleProps,
|
|
722
|
+
CollapsibleTrigger,
|
|
723
|
+
CollapsibleTriggerProps,
|
|
724
|
+
Content,
|
|
725
|
+
Root_3 as Root,
|
|
774
726
|
Trigger,
|
|
775
|
-
|
|
727
|
+
createCollapsibleScope
|
|
776
728
|
}
|
|
777
729
|
}
|
|
778
730
|
|
|
779
731
|
declare const Collapsible_2: React_2.ForwardRefExoticComponent<CollapsibleProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
780
732
|
|
|
781
|
-
export declare const CollapsibleCard:
|
|
733
|
+
export declare const CollapsibleCard: default_2.ForwardRefExoticComponent<CollapsibleCardProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
782
734
|
|
|
783
735
|
declare interface CollapsibleCardProps extends Collapsible.CollapsibleProps {
|
|
784
736
|
title: string;
|
|
785
|
-
actions?:
|
|
786
|
-
children:
|
|
737
|
+
actions?: default_2.ReactNode;
|
|
738
|
+
children: default_2.ReactNode;
|
|
787
739
|
}
|
|
788
740
|
|
|
789
741
|
declare const CollapsibleContent: React_2.ForwardRefExoticComponent<CollapsibleContentProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -800,7 +752,7 @@ declare interface CollapsibleContentProps extends Omit<CollapsibleContentImplPro
|
|
|
800
752
|
forceMount?: true;
|
|
801
753
|
}
|
|
802
754
|
|
|
803
|
-
declare type CollapsibleContentProps_2 =
|
|
755
|
+
declare type CollapsibleContentProps_2 = React_3.ComponentPropsWithoutRef<typeof Collapsible.Content>;
|
|
804
756
|
|
|
805
757
|
declare interface CollapsibleProps extends PrimitiveDivProps {
|
|
806
758
|
defaultOpen?: boolean;
|
|
@@ -809,14 +761,14 @@ declare interface CollapsibleProps extends PrimitiveDivProps {
|
|
|
809
761
|
onOpenChange?(open: boolean): void;
|
|
810
762
|
}
|
|
811
763
|
|
|
812
|
-
declare type CollapsibleProps_2 =
|
|
764
|
+
declare type CollapsibleProps_2 = React_3.ComponentPropsWithoutRef<typeof Collapsible.Root>;
|
|
813
765
|
|
|
814
766
|
declare const CollapsibleTrigger: React_2.ForwardRefExoticComponent<CollapsibleTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
815
767
|
|
|
816
768
|
declare interface CollapsibleTriggerProps extends PrimitiveButtonProps_3 {
|
|
817
769
|
}
|
|
818
770
|
|
|
819
|
-
declare type CollapsibleTriggerProps_2 =
|
|
771
|
+
declare type CollapsibleTriggerProps_2 = React_3.ComponentPropsWithoutRef<typeof Collapsible.Trigger>;
|
|
820
772
|
|
|
821
773
|
export declare type ColorScheme = 'tag-yellow' | 'tag-green' | 'tag-red' | 'tag-darkGray' | 'tag-lightGray' | 'tag-orange' | 'tag-lightGreen';
|
|
822
774
|
|
|
@@ -835,13 +787,9 @@ export declare const CompanySettings: (props: SVGProps<SVGSVGElement>) => JSX_2.
|
|
|
835
787
|
|
|
836
788
|
export declare const CompetenciesThin: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
837
789
|
|
|
838
|
-
declare type ComponentPropsWithoutRef<T extends React_2.ElementType> = PropsWithoutRef<React_2.ComponentProps<T>>;
|
|
839
|
-
|
|
840
790
|
declare const Content: React_2.ForwardRefExoticComponent<CollapsibleContentProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
841
791
|
|
|
842
|
-
declare const Content_10: React_2.ForwardRefExoticComponent<
|
|
843
|
-
|
|
844
|
-
declare const Content_11: React_2.ForwardRefExoticComponent<HoverCardContentProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
792
|
+
declare const Content_10: React_2.ForwardRefExoticComponent<HoverCardContentProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
845
793
|
|
|
846
794
|
declare const Content_2: React_3.ForwardRefExoticComponent<AccordionContentProps & React_3.RefAttributes<HTMLDivElement>>;
|
|
847
795
|
|
|
@@ -866,55 +814,47 @@ declare interface ControlledNavL2Props extends CommonNavL2Props {
|
|
|
866
814
|
|
|
867
815
|
export declare const Country: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
868
816
|
|
|
869
|
-
declare const createAccordionScope: CreateScope;
|
|
817
|
+
declare const createAccordionScope: _radix_ui_react_context.CreateScope;
|
|
818
|
+
|
|
819
|
+
declare const createAlertDialogScope: _radix_ui_react_context.CreateScope;
|
|
870
820
|
|
|
871
|
-
declare const
|
|
821
|
+
declare const createAvatarScope: _radix_ui_react_context.CreateScope;
|
|
872
822
|
|
|
873
|
-
declare const
|
|
823
|
+
declare const createCheckboxScope: _radix_ui_react_context.CreateScope;
|
|
874
824
|
|
|
875
|
-
declare const
|
|
825
|
+
declare const createCollapsibleScope: _radix_ui_react_context.CreateScope;
|
|
876
826
|
|
|
877
|
-
declare
|
|
827
|
+
declare function createContext<ContextValueType extends object | null>(rootComponentName: string, defaultContext?: ContextValueType): readonly [React_2.FC<ContextValueType & {
|
|
828
|
+
children: React_2.ReactNode;
|
|
829
|
+
}>, (consumerName: string) => ContextValueType];
|
|
878
830
|
|
|
879
|
-
declare
|
|
831
|
+
declare function createContextScope(scopeName: string, createContextScopeDeps?: CreateScope[]): readonly [<ContextValueType extends object | null>(rootComponentName: string, defaultContext?: ContextValueType | undefined) => readonly [React_2.FC<ContextValueType & {
|
|
832
|
+
scope: Scope<ContextValueType>;
|
|
833
|
+
children: React_2.ReactNode;
|
|
834
|
+
}>, (consumerName: string, scope: Scope<ContextValueType | undefined>) => ContextValueType], CreateScope];
|
|
880
835
|
|
|
881
|
-
declare const
|
|
836
|
+
declare const createDropdownMenuScope: _radix_ui_react_context.CreateScope;
|
|
882
837
|
|
|
883
|
-
declare const
|
|
838
|
+
declare const createHoverCardScope: _radix_ui_react_context.CreateScope;
|
|
884
839
|
|
|
885
|
-
declare const
|
|
840
|
+
declare const createMenuScope: _radix_ui_react_context.CreateScope;
|
|
886
841
|
|
|
887
|
-
declare const
|
|
842
|
+
declare const createPopperScope: _radix_ui_react_context.CreateScope;
|
|
888
843
|
|
|
889
|
-
declare const createRovingFocusGroupScope: CreateScope;
|
|
844
|
+
declare const createRovingFocusGroupScope: _radix_ui_react_context.CreateScope;
|
|
890
845
|
|
|
891
846
|
declare interface CreateScope {
|
|
892
847
|
scopeName: string;
|
|
893
848
|
(): ScopeHook;
|
|
894
849
|
}
|
|
895
850
|
|
|
896
|
-
declare
|
|
897
|
-
scopeName: string;
|
|
898
|
-
(): ScopeHook_2;
|
|
899
|
-
}
|
|
900
|
-
|
|
901
|
-
declare interface CreateScope_3 {
|
|
902
|
-
scopeName: string;
|
|
903
|
-
(): ScopeHook_3;
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
declare interface CreateScope_4 {
|
|
907
|
-
scopeName: string;
|
|
908
|
-
(): ScopeHook_4;
|
|
909
|
-
}
|
|
851
|
+
declare const createSelectScope: _radix_ui_react_context.CreateScope;
|
|
910
852
|
|
|
911
|
-
declare const
|
|
853
|
+
declare const createSwitchScope: _radix_ui_react_context.CreateScope;
|
|
912
854
|
|
|
913
|
-
declare const
|
|
855
|
+
declare const createTabsScope: _radix_ui_react_context.CreateScope;
|
|
914
856
|
|
|
915
|
-
declare const
|
|
916
|
-
|
|
917
|
-
declare const createTooltipScope: CreateScope;
|
|
857
|
+
declare const createTooltipScope: _radix_ui_react_context.CreateScope;
|
|
918
858
|
|
|
919
859
|
export declare const Cross: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
920
860
|
|
|
@@ -939,21 +879,21 @@ declare const Description: React_2.ForwardRefExoticComponent<AlertDialogDescript
|
|
|
939
879
|
|
|
940
880
|
export declare const Develop: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
941
881
|
|
|
942
|
-
declare type DialogCloseProps =
|
|
882
|
+
declare type DialogCloseProps = React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Close>;
|
|
943
883
|
|
|
944
|
-
declare type DialogContentProps =
|
|
884
|
+
declare type DialogContentProps = React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>;
|
|
945
885
|
|
|
946
|
-
declare type DialogDescriptionProps =
|
|
886
|
+
declare type DialogDescriptionProps = React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>;
|
|
947
887
|
|
|
948
|
-
declare type DialogOverlayProps =
|
|
888
|
+
declare type DialogOverlayProps = React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>;
|
|
949
889
|
|
|
950
|
-
declare type DialogPortalProps =
|
|
890
|
+
declare type DialogPortalProps = React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Portal>;
|
|
951
891
|
|
|
952
|
-
declare type DialogProps =
|
|
892
|
+
declare type DialogProps = React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Root>;
|
|
953
893
|
|
|
954
|
-
declare type DialogTitleProps =
|
|
894
|
+
declare type DialogTitleProps = React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>;
|
|
955
895
|
|
|
956
|
-
declare type DialogTriggerProps =
|
|
896
|
+
declare type DialogTriggerProps = React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Trigger>;
|
|
957
897
|
|
|
958
898
|
export declare const DirectedLineChart: ForwardRefExoticComponent<DirectedLineChartProps & RefAttributes<DownloadRef>>;
|
|
959
899
|
|
|
@@ -1005,9 +945,7 @@ declare type Direction_6 = 'ltr' | 'rtl';
|
|
|
1005
945
|
|
|
1006
946
|
declare const DismissableLayer: React_2.ForwardRefExoticComponent<DismissableLayerProps_2 & React_2.RefAttributes<HTMLDivElement>>;
|
|
1007
947
|
|
|
1008
|
-
declare
|
|
1009
|
-
|
|
1010
|
-
declare type DismissableLayerProps = Radix.ComponentPropsWithoutRef<typeof DismissableLayer>;
|
|
948
|
+
declare type DismissableLayerProps = React_2.ComponentPropsWithoutRef<typeof DismissableLayer>;
|
|
1011
949
|
|
|
1012
950
|
declare interface DismissableLayerProps_2 extends PrimitiveDivProps_6 {
|
|
1013
951
|
/**
|
|
@@ -1045,83 +983,11 @@ declare interface DismissableLayerProps_2 extends PrimitiveDivProps_6 {
|
|
|
1045
983
|
|
|
1046
984
|
declare type DismissableLayerProps_3 = React_2.ComponentPropsWithoutRef<typeof DismissableLayer>;
|
|
1047
985
|
|
|
1048
|
-
declare type DismissableLayerProps_4 =
|
|
1049
|
-
|
|
1050
|
-
declare type DismissableLayerProps_5 = React_2.ComponentPropsWithoutRef<typeof DismissableLayer_2>;
|
|
1051
|
-
|
|
1052
|
-
declare interface DismissableLayerProps_6 extends PrimitiveDivProps_12 {
|
|
1053
|
-
/**
|
|
1054
|
-
* When `true`, hover/focus/click interactions will be disabled on elements outside
|
|
1055
|
-
* the `DismissableLayer`. Users will need to click twice on outside elements to
|
|
1056
|
-
* interact with them: once to close the `DismissableLayer`, and again to trigger the element.
|
|
1057
|
-
*/
|
|
1058
|
-
disableOutsidePointerEvents?: boolean;
|
|
1059
|
-
/**
|
|
1060
|
-
* Event handler called when the escape key is down.
|
|
1061
|
-
* Can be prevented.
|
|
1062
|
-
*/
|
|
1063
|
-
onEscapeKeyDown?: (event: KeyboardEvent) => void;
|
|
1064
|
-
/**
|
|
1065
|
-
* Event handler called when the a `pointerdown` event happens outside of the `DismissableLayer`.
|
|
1066
|
-
* Can be prevented.
|
|
1067
|
-
*/
|
|
1068
|
-
onPointerDownOutside?: (event: PointerDownOutsideEvent_2) => void;
|
|
1069
|
-
/**
|
|
1070
|
-
* Event handler called when the focus moves outside of the `DismissableLayer`.
|
|
1071
|
-
* Can be prevented.
|
|
1072
|
-
*/
|
|
1073
|
-
onFocusOutside?: (event: FocusOutsideEvent_2) => void;
|
|
1074
|
-
/**
|
|
1075
|
-
* Event handler called when an interaction happens outside the `DismissableLayer`.
|
|
1076
|
-
* Specifically, when a `pointerdown` event happens outside or focus moves outside of it.
|
|
1077
|
-
* Can be prevented.
|
|
1078
|
-
*/
|
|
1079
|
-
onInteractOutside?: (event: PointerDownOutsideEvent_2 | FocusOutsideEvent_2) => void;
|
|
1080
|
-
/**
|
|
1081
|
-
* Handler called when the `DismissableLayer` should be dismissed
|
|
1082
|
-
*/
|
|
1083
|
-
onDismiss?: () => void;
|
|
1084
|
-
}
|
|
986
|
+
declare type DismissableLayerProps_4 = React_2.ComponentPropsWithoutRef<typeof DismissableLayer>;
|
|
1085
987
|
|
|
1086
|
-
declare type
|
|
988
|
+
declare type DismissableLayerProps_5 = React_2.ComponentPropsWithoutRef<typeof DismissableLayer>;
|
|
1087
989
|
|
|
1088
|
-
|
|
1089
|
-
* Flush custom event dispatch
|
|
1090
|
-
* https://github.com/radix-ui/primitives/pull/1378
|
|
1091
|
-
*
|
|
1092
|
-
* React batches *all* event handlers since version 18, this introduces certain considerations when using custom event types.
|
|
1093
|
-
*
|
|
1094
|
-
* Internally, React prioritises events in the following order:
|
|
1095
|
-
* - discrete
|
|
1096
|
-
* - continuous
|
|
1097
|
-
* - default
|
|
1098
|
-
*
|
|
1099
|
-
* https://github.com/facebook/react/blob/a8a4742f1c54493df00da648a3f9d26e3db9c8b5/packages/react-dom/src/events/ReactDOMEventListener.js#L294-L350
|
|
1100
|
-
*
|
|
1101
|
-
* `discrete` is an important distinction as updates within these events are applied immediately.
|
|
1102
|
-
* React however, is not able to infer the priority of custom event types due to how they are detected internally.
|
|
1103
|
-
* Because of this, it's possible for updates from custom events to be unexpectedly batched when
|
|
1104
|
-
* dispatched by another `discrete` event.
|
|
1105
|
-
*
|
|
1106
|
-
* In order to ensure that updates from custom events are applied predictably, we need to manually flush the batch.
|
|
1107
|
-
* This utility should be used when dispatching a custom event from within another `discrete` event, this utility
|
|
1108
|
-
* is not nessesary when dispatching known event types, or if dispatching a custom type inside a non-discrete event.
|
|
1109
|
-
* For example:
|
|
1110
|
-
*
|
|
1111
|
-
* dispatching a known click 👎
|
|
1112
|
-
* target.dispatchEvent(new Event(‘click’))
|
|
1113
|
-
*
|
|
1114
|
-
* dispatching a custom type within a non-discrete event 👎
|
|
1115
|
-
* onScroll={(event) => event.target.dispatchEvent(new CustomEvent(‘customType’))}
|
|
1116
|
-
*
|
|
1117
|
-
* dispatching a custom type within a `discrete` event 👍
|
|
1118
|
-
* onPointerDown={(event) => dispatchDiscreteCustomEvent(event.target, new CustomEvent(‘customType’))}
|
|
1119
|
-
*
|
|
1120
|
-
* Note: though React classifies `focus`, `focusin` and `focusout` events as `discrete`, it's not recommended to use
|
|
1121
|
-
* this utility with them. This is because it's possible for those handlers to be called implicitly during render
|
|
1122
|
-
* e.g. when focus is within a component as it is unmounted, or when managing focus on mount.
|
|
1123
|
-
*/
|
|
1124
|
-
declare function dispatchDiscreteCustomEvent<E extends CustomEvent>(target: E['target'], event: E): void;
|
|
990
|
+
declare type DismissableLayerProps_6 = React_2.ComponentPropsWithoutRef<typeof DismissableLayer>;
|
|
1125
991
|
|
|
1126
992
|
export declare const DisplayName: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
1127
993
|
|
|
@@ -1179,7 +1045,7 @@ declare const DropdownMenu: React_2.FC<DropdownMenuProps>;
|
|
|
1179
1045
|
|
|
1180
1046
|
declare const DropdownMenuArrow: React_2.ForwardRefExoticComponent<DropdownMenuArrowProps & React_2.RefAttributes<SVGSVGElement>>;
|
|
1181
1047
|
|
|
1182
|
-
declare interface DropdownMenuArrowProps extends
|
|
1048
|
+
declare interface DropdownMenuArrowProps extends MenuArrowProps {
|
|
1183
1049
|
}
|
|
1184
1050
|
|
|
1185
1051
|
declare const DropdownMenuCheckboxItem: React_2.ForwardRefExoticComponent<DropdownMenuCheckboxItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -1214,12 +1080,12 @@ declare interface DropdownMenuLabelProps extends MenuLabelProps_2 {
|
|
|
1214
1080
|
|
|
1215
1081
|
declare const DropdownMenuPortal: React_2.FC<DropdownMenuPortalProps>;
|
|
1216
1082
|
|
|
1217
|
-
declare interface DropdownMenuPortalProps extends
|
|
1083
|
+
declare interface DropdownMenuPortalProps extends MenuPortalProps_2 {
|
|
1218
1084
|
}
|
|
1219
1085
|
|
|
1220
1086
|
declare interface DropdownMenuProps {
|
|
1221
1087
|
children?: React_2.ReactNode;
|
|
1222
|
-
dir?:
|
|
1088
|
+
dir?: Direction_4;
|
|
1223
1089
|
open?: boolean;
|
|
1224
1090
|
defaultOpen?: boolean;
|
|
1225
1091
|
onOpenChange?(open: boolean): void;
|
|
@@ -1271,70 +1137,55 @@ export { DropdownPortal as LeftNavItemDropdownPortal }
|
|
|
1271
1137
|
|
|
1272
1138
|
declare namespace DropdownPrimitive {
|
|
1273
1139
|
export {
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1140
|
+
Arrow,
|
|
1141
|
+
CheckboxItem_2 as CheckboxItem,
|
|
1142
|
+
Content_6 as Content,
|
|
1277
1143
|
DropdownMenu,
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
DropdownMenuPortalProps,
|
|
1283
|
-
DropdownMenuPortal,
|
|
1284
|
-
MenuContentProps_2 as MenuContentProps,
|
|
1285
|
-
DropdownMenuContentProps,
|
|
1144
|
+
DropdownMenuArrow,
|
|
1145
|
+
DropdownMenuArrowProps,
|
|
1146
|
+
DropdownMenuCheckboxItem,
|
|
1147
|
+
DropdownMenuCheckboxItemProps,
|
|
1286
1148
|
DropdownMenuContent,
|
|
1287
|
-
|
|
1288
|
-
DropdownMenuGroupProps,
|
|
1149
|
+
DropdownMenuContentProps,
|
|
1289
1150
|
DropdownMenuGroup,
|
|
1290
|
-
|
|
1291
|
-
DropdownMenuLabelProps,
|
|
1292
|
-
DropdownMenuLabel,
|
|
1293
|
-
MenuItemProps_2 as MenuItemProps,
|
|
1294
|
-
DropdownMenuItemProps,
|
|
1151
|
+
DropdownMenuGroupProps,
|
|
1295
1152
|
DropdownMenuItem,
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1153
|
+
DropdownMenuItemIndicator,
|
|
1154
|
+
DropdownMenuItemIndicatorProps,
|
|
1155
|
+
DropdownMenuItemProps,
|
|
1156
|
+
DropdownMenuLabel,
|
|
1157
|
+
DropdownMenuLabelProps,
|
|
1158
|
+
DropdownMenuPortal,
|
|
1159
|
+
DropdownMenuPortalProps,
|
|
1160
|
+
DropdownMenuProps,
|
|
1301
1161
|
DropdownMenuRadioGroup,
|
|
1302
|
-
|
|
1303
|
-
DropdownMenuRadioItemProps,
|
|
1162
|
+
DropdownMenuRadioGroupProps,
|
|
1304
1163
|
DropdownMenuRadioItem,
|
|
1305
|
-
|
|
1306
|
-
DropdownMenuItemIndicatorProps,
|
|
1307
|
-
DropdownMenuItemIndicator,
|
|
1308
|
-
MenuSeparatorProps_2 as MenuSeparatorProps,
|
|
1309
|
-
DropdownMenuSeparatorProps,
|
|
1164
|
+
DropdownMenuRadioItemProps,
|
|
1310
1165
|
DropdownMenuSeparator,
|
|
1311
|
-
|
|
1312
|
-
DropdownMenuArrowProps,
|
|
1313
|
-
DropdownMenuArrow,
|
|
1314
|
-
DropdownMenuSubProps,
|
|
1166
|
+
DropdownMenuSeparatorProps,
|
|
1315
1167
|
DropdownMenuSub,
|
|
1316
|
-
MenuSubTriggerProps_2 as MenuSubTriggerProps,
|
|
1317
|
-
DropdownMenuSubTriggerProps,
|
|
1318
|
-
DropdownMenuSubTrigger,
|
|
1319
|
-
MenuSubContentProps_2 as MenuSubContentProps,
|
|
1320
|
-
DropdownMenuSubContentProps,
|
|
1321
1168
|
DropdownMenuSubContent,
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1169
|
+
DropdownMenuSubContentProps,
|
|
1170
|
+
DropdownMenuSubProps,
|
|
1171
|
+
DropdownMenuSubTrigger,
|
|
1172
|
+
DropdownMenuSubTriggerProps,
|
|
1173
|
+
DropdownMenuTrigger,
|
|
1174
|
+
DropdownMenuTriggerProps,
|
|
1326
1175
|
Group_2 as Group,
|
|
1327
|
-
Label_4 as Label,
|
|
1328
1176
|
Item_4 as Item,
|
|
1329
|
-
|
|
1177
|
+
ItemIndicator_2 as ItemIndicator,
|
|
1178
|
+
Label_4 as Label,
|
|
1179
|
+
Portal_4 as Portal,
|
|
1330
1180
|
RadioGroup_2 as RadioGroup,
|
|
1331
1181
|
RadioItem_2 as RadioItem,
|
|
1332
|
-
|
|
1182
|
+
Root_12 as Root,
|
|
1333
1183
|
Separator_2 as Separator,
|
|
1334
|
-
Arrow_4 as Arrow,
|
|
1335
1184
|
Sub_2 as Sub,
|
|
1185
|
+
SubContent_2 as SubContent,
|
|
1336
1186
|
SubTrigger_2 as SubTrigger,
|
|
1337
|
-
|
|
1187
|
+
Trigger_4 as Trigger,
|
|
1188
|
+
createDropdownMenuScope
|
|
1338
1189
|
}
|
|
1339
1190
|
}
|
|
1340
1191
|
|
|
@@ -1395,15 +1246,11 @@ declare type FocusOutsideEvent = CustomEvent<{
|
|
|
1395
1246
|
originalEvent: FocusEvent;
|
|
1396
1247
|
}>;
|
|
1397
1248
|
|
|
1398
|
-
declare type FocusOutsideEvent_2 = CustomEvent<{
|
|
1399
|
-
originalEvent: FocusEvent;
|
|
1400
|
-
}>;
|
|
1401
|
-
|
|
1402
1249
|
declare type FocusProxyElement = React_2.ElementRef<typeof VisuallyHiddenPrimitive.Root>;
|
|
1403
1250
|
|
|
1404
1251
|
declare const FocusScope: React_2.ForwardRefExoticComponent<FocusScopeProps_2 & React_2.RefAttributes<HTMLDivElement>>;
|
|
1405
1252
|
|
|
1406
|
-
declare type FocusScopeProps =
|
|
1253
|
+
declare type FocusScopeProps = React_2.ComponentPropsWithoutRef<typeof FocusScope>;
|
|
1407
1254
|
|
|
1408
1255
|
declare interface FocusScopeProps_2 extends PrimitiveDivProps_5 {
|
|
1409
1256
|
/**
|
|
@@ -1430,7 +1277,7 @@ declare interface FocusScopeProps_2 extends PrimitiveDivProps_5 {
|
|
|
1430
1277
|
onUnmountAutoFocus?: (event: Event) => void;
|
|
1431
1278
|
}
|
|
1432
1279
|
|
|
1433
|
-
declare type FocusScopeProps_3 =
|
|
1280
|
+
declare type FocusScopeProps_3 = React_2.ComponentPropsWithoutRef<typeof FocusScope>;
|
|
1434
1281
|
|
|
1435
1282
|
export declare const Gear: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
1436
1283
|
|
|
@@ -1444,7 +1291,7 @@ declare type GoalProgress = 'ON_TRACK' | 'OFF_TRACK' | 'AT_RISK' | 'NOT_STARTED'
|
|
|
1444
1291
|
|
|
1445
1292
|
export declare const GoalsCollaborators: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
1446
1293
|
|
|
1447
|
-
export declare const GoalsNudgeData:
|
|
1294
|
+
export declare const GoalsNudgeData: default_2.ForwardRefExoticComponent<GoalsNudgeDataProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
1448
1295
|
|
|
1449
1296
|
export declare interface GoalsNudgeDataProps {
|
|
1450
1297
|
title: string;
|
|
@@ -1456,7 +1303,7 @@ export declare interface GoalsNudgeDataProps {
|
|
|
1456
1303
|
|
|
1457
1304
|
export declare const GoalsThin: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
1458
1305
|
|
|
1459
|
-
export declare const GridChart:
|
|
1306
|
+
export declare const GridChart: default_2.ForwardRefExoticComponent<GridChartProps & default_2.RefAttributes<DownloadRef>>;
|
|
1460
1307
|
|
|
1461
1308
|
declare interface GridChartProps {
|
|
1462
1309
|
rows?: number;
|
|
@@ -1554,7 +1401,7 @@ export declare const HoverCardContent: React_2.ForwardRefExoticComponent<Omit<Ho
|
|
|
1554
1401
|
|
|
1555
1402
|
declare const HoverCardContent_2: React_2.ForwardRefExoticComponent<HoverCardContentProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1556
1403
|
|
|
1557
|
-
declare interface HoverCardContentImplProps extends Omit<
|
|
1404
|
+
declare interface HoverCardContentImplProps extends Omit<PopperContentProps_5, 'onPlaced'> {
|
|
1558
1405
|
/**
|
|
1559
1406
|
* Event handler called when the escape key is down.
|
|
1560
1407
|
* Can be prevented.
|
|
@@ -1606,7 +1453,7 @@ declare interface HoverCardPortalProps {
|
|
|
1606
1453
|
declare namespace HoverCardPrimitive {
|
|
1607
1454
|
export {
|
|
1608
1455
|
Arrow_7 as Arrow,
|
|
1609
|
-
|
|
1456
|
+
Content_10 as Content,
|
|
1610
1457
|
HoverCard_2 as HoverCard,
|
|
1611
1458
|
HoverCardArrow,
|
|
1612
1459
|
HoverCardArrowProps,
|
|
@@ -1617,8 +1464,8 @@ declare namespace HoverCardPrimitive {
|
|
|
1617
1464
|
HoverCardProps,
|
|
1618
1465
|
HoverCardTrigger_2 as HoverCardTrigger,
|
|
1619
1466
|
HoverCardTriggerProps,
|
|
1620
|
-
|
|
1621
|
-
|
|
1467
|
+
Portal_7 as Portal,
|
|
1468
|
+
Root_16 as Root,
|
|
1622
1469
|
Trigger_8 as Trigger,
|
|
1623
1470
|
createHoverCardScope
|
|
1624
1471
|
}
|
|
@@ -1652,7 +1499,7 @@ export declare interface IconProps extends React.SVGProps<SVGSVGElement>, Varian
|
|
|
1652
1499
|
export declare type IconType = typeof Home;
|
|
1653
1500
|
|
|
1654
1501
|
declare const iconVariants: (props?: ({
|
|
1655
|
-
size?: "
|
|
1502
|
+
size?: "default" | "small" | "x-small" | "large" | "x-large" | null | undefined;
|
|
1656
1503
|
} & ClassProp) | undefined) => string;
|
|
1657
1504
|
|
|
1658
1505
|
declare const Image_2: React_2.ForwardRefExoticComponent<AvatarImageProps & React_2.RefAttributes<HTMLImageElement>>;
|
|
@@ -1717,10 +1564,9 @@ declare const Label_5: React_2.ForwardRefExoticComponent<SelectLabelProps & Reac
|
|
|
1717
1564
|
|
|
1718
1565
|
declare namespace LabelPrimitive {
|
|
1719
1566
|
export {
|
|
1720
|
-
PrimitiveLabelProps,
|
|
1721
|
-
LabelProps,
|
|
1722
1567
|
Label_2 as Label,
|
|
1723
|
-
|
|
1568
|
+
LabelProps,
|
|
1569
|
+
Root_2 as Root
|
|
1724
1570
|
}
|
|
1725
1571
|
}
|
|
1726
1572
|
|
|
@@ -1821,27 +1667,27 @@ export declare const ListItemCompAction: ForwardRefExoticComponent<Omit<Detailed
|
|
|
1821
1667
|
|
|
1822
1668
|
export declare const ListItemCompContent: ForwardRefExoticComponent<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1823
1669
|
|
|
1824
|
-
export declare type ListItemCompContentProps =
|
|
1670
|
+
export declare type ListItemCompContentProps = ComponentPropsWithoutRef<'div'>;
|
|
1825
1671
|
|
|
1826
1672
|
export declare const ListItemCompDescription: {
|
|
1827
1673
|
({ children, className, ...props }: ListItemCompDescriptionProps): JSX_2.Element;
|
|
1828
1674
|
displayName: string;
|
|
1829
1675
|
};
|
|
1830
1676
|
|
|
1831
|
-
export declare type ListItemCompDescriptionProps =
|
|
1677
|
+
export declare type ListItemCompDescriptionProps = ComponentPropsWithoutRef<typeof TextBody300>;
|
|
1832
1678
|
|
|
1833
|
-
export declare type ListItemCompIconProps =
|
|
1679
|
+
export declare type ListItemCompIconProps = ComponentPropsWithoutRef<'div'>;
|
|
1834
1680
|
|
|
1835
1681
|
export declare const ListItemCompLeading: ForwardRefExoticComponent<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1836
1682
|
|
|
1837
|
-
export declare type ListItemCompProps =
|
|
1683
|
+
export declare type ListItemCompProps = ComponentPropsWithoutRef<'div'>;
|
|
1838
1684
|
|
|
1839
1685
|
export declare const ListItemCompTitle: {
|
|
1840
1686
|
({ children, className, ...props }: ListItemCompTitleProps): JSX_2.Element;
|
|
1841
1687
|
displayName: string;
|
|
1842
1688
|
};
|
|
1843
1689
|
|
|
1844
|
-
export declare type ListItemCompTitleProps =
|
|
1690
|
+
export declare type ListItemCompTitleProps = ComponentPropsWithoutRef<typeof TextHeading350>;
|
|
1845
1691
|
|
|
1846
1692
|
export declare function ListItemIcon({ icon, iconSize, className, shape }: ListItemIconProps): JSX_2.Element;
|
|
1847
1693
|
|
|
@@ -1878,12 +1724,12 @@ declare const MenuAnchor: React_2.ForwardRefExoticComponent<MenuAnchorProps & Re
|
|
|
1878
1724
|
declare interface MenuAnchorProps extends PopperAnchorProps {
|
|
1879
1725
|
}
|
|
1880
1726
|
|
|
1881
|
-
declare const MenuArrow: React_2.ForwardRefExoticComponent<
|
|
1727
|
+
declare const MenuArrow: React_2.ForwardRefExoticComponent<MenuArrowProps_2 & React_2.RefAttributes<SVGSVGElement>>;
|
|
1882
1728
|
|
|
1883
|
-
declare
|
|
1884
|
-
}
|
|
1729
|
+
declare type MenuArrowProps = React_2.ComponentPropsWithoutRef<typeof MenuPrimitive.Arrow>;
|
|
1885
1730
|
|
|
1886
|
-
declare
|
|
1731
|
+
declare interface MenuArrowProps_2 extends PopperArrowProps_2 {
|
|
1732
|
+
}
|
|
1887
1733
|
|
|
1888
1734
|
declare const MenuCheckboxItem: React_2.ForwardRefExoticComponent<MenuCheckboxItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1889
1735
|
|
|
@@ -1892,7 +1738,7 @@ declare interface MenuCheckboxItemProps extends MenuItemProps {
|
|
|
1892
1738
|
onCheckedChange?: (checked: boolean) => void;
|
|
1893
1739
|
}
|
|
1894
1740
|
|
|
1895
|
-
declare type MenuCheckboxItemProps_2 =
|
|
1741
|
+
declare type MenuCheckboxItemProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimitive.CheckboxItem>;
|
|
1896
1742
|
|
|
1897
1743
|
declare const MenuContent: React_2.ForwardRefExoticComponent<MenuContentProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1898
1744
|
|
|
@@ -1943,18 +1789,18 @@ declare interface MenuContentProps extends MenuRootContentTypeProps {
|
|
|
1943
1789
|
forceMount?: true;
|
|
1944
1790
|
}
|
|
1945
1791
|
|
|
1946
|
-
declare type MenuContentProps_2 =
|
|
1792
|
+
declare type MenuContentProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimitive.Content>;
|
|
1947
1793
|
|
|
1948
1794
|
declare const MenuGroup: React_2.ForwardRefExoticComponent<MenuGroupProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1949
1795
|
|
|
1950
|
-
declare interface MenuGroupProps extends
|
|
1796
|
+
declare interface MenuGroupProps extends PrimitiveDivProps_4 {
|
|
1951
1797
|
}
|
|
1952
1798
|
|
|
1953
|
-
declare type MenuGroupProps_2 =
|
|
1799
|
+
declare type MenuGroupProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimitive.Group>;
|
|
1954
1800
|
|
|
1955
1801
|
declare const MenuItem: React_2.ForwardRefExoticComponent<MenuItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1956
1802
|
|
|
1957
|
-
declare interface MenuItemImplProps extends
|
|
1803
|
+
declare interface MenuItemImplProps extends PrimitiveDivProps_4 {
|
|
1958
1804
|
disabled?: boolean;
|
|
1959
1805
|
textValue?: string;
|
|
1960
1806
|
}
|
|
@@ -1969,26 +1815,24 @@ declare interface MenuItemIndicatorProps extends PrimitiveSpanProps_5 {
|
|
|
1969
1815
|
forceMount?: true;
|
|
1970
1816
|
}
|
|
1971
1817
|
|
|
1972
|
-
declare type MenuItemIndicatorProps_2 =
|
|
1818
|
+
declare type MenuItemIndicatorProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimitive.ItemIndicator>;
|
|
1973
1819
|
|
|
1974
1820
|
declare interface MenuItemProps extends Omit<MenuItemImplProps, 'onSelect'> {
|
|
1975
1821
|
onSelect?: (event: Event) => void;
|
|
1976
1822
|
}
|
|
1977
1823
|
|
|
1978
|
-
declare type MenuItemProps_2 =
|
|
1824
|
+
declare type MenuItemProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimitive.Item>;
|
|
1979
1825
|
|
|
1980
1826
|
declare const MenuLabel: React_2.ForwardRefExoticComponent<MenuLabelProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1981
1827
|
|
|
1982
|
-
declare interface MenuLabelProps extends
|
|
1828
|
+
declare interface MenuLabelProps extends PrimitiveDivProps_4 {
|
|
1983
1829
|
}
|
|
1984
1830
|
|
|
1985
|
-
declare type MenuLabelProps_2 =
|
|
1986
|
-
|
|
1987
|
-
declare const MenuPortal: React_2.FC<MenuPortalProps_2>;
|
|
1831
|
+
declare type MenuLabelProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimitive.Label>;
|
|
1988
1832
|
|
|
1989
|
-
declare
|
|
1833
|
+
declare const MenuPortal: React_2.FC<MenuPortalProps>;
|
|
1990
1834
|
|
|
1991
|
-
declare interface
|
|
1835
|
+
declare interface MenuPortalProps {
|
|
1992
1836
|
children?: React_2.ReactNode;
|
|
1993
1837
|
/**
|
|
1994
1838
|
* Specify a container element to portal the content into.
|
|
@@ -2001,72 +1845,59 @@ declare interface MenuPortalProps_2 {
|
|
|
2001
1845
|
forceMount?: true;
|
|
2002
1846
|
}
|
|
2003
1847
|
|
|
1848
|
+
declare type MenuPortalProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimitive.Portal>;
|
|
1849
|
+
|
|
2004
1850
|
declare namespace MenuPrimitive {
|
|
2005
1851
|
export {
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
1852
|
+
Anchor,
|
|
1853
|
+
Arrow_4 as Arrow,
|
|
1854
|
+
CheckboxItem,
|
|
1855
|
+
Content_5 as Content,
|
|
1856
|
+
Group,
|
|
1857
|
+
Item_3 as Item,
|
|
1858
|
+
ItemIndicator,
|
|
1859
|
+
Label_3 as Label,
|
|
2009
1860
|
Menu,
|
|
2010
|
-
PopperAnchorProps,
|
|
2011
|
-
MenuAnchorProps,
|
|
2012
1861
|
MenuAnchor,
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
MenuContentProps,
|
|
2017
|
-
MenuContent,
|
|
2018
|
-
MenuRootContentTypeProps,
|
|
2019
|
-
FocusScopeProps,
|
|
2020
|
-
DismissableLayerProps,
|
|
2021
|
-
RovingFocusGroupProps,
|
|
2022
|
-
PopperContentProps_2 as PopperContentProps,
|
|
2023
|
-
MenuContentImplPrivateProps,
|
|
2024
|
-
MenuContentImplProps,
|
|
2025
|
-
PrimitiveDivProps_8 as PrimitiveDivProps,
|
|
2026
|
-
MenuGroupProps,
|
|
2027
|
-
MenuGroup,
|
|
2028
|
-
MenuLabelProps,
|
|
2029
|
-
MenuLabel,
|
|
2030
|
-
MenuItemProps,
|
|
2031
|
-
MenuItem,
|
|
2032
|
-
MenuItemImplProps,
|
|
2033
|
-
CheckedState_2 as CheckedState,
|
|
2034
|
-
MenuCheckboxItemProps,
|
|
1862
|
+
MenuAnchorProps,
|
|
1863
|
+
MenuArrow,
|
|
1864
|
+
MenuArrowProps_2 as MenuArrowProps,
|
|
2035
1865
|
MenuCheckboxItem,
|
|
2036
|
-
|
|
1866
|
+
MenuCheckboxItemProps,
|
|
1867
|
+
MenuContent,
|
|
1868
|
+
MenuContentProps,
|
|
1869
|
+
MenuGroup,
|
|
1870
|
+
MenuGroupProps,
|
|
1871
|
+
MenuItem,
|
|
1872
|
+
MenuItemIndicator,
|
|
1873
|
+
MenuItemIndicatorProps,
|
|
1874
|
+
MenuItemProps,
|
|
1875
|
+
MenuLabel,
|
|
1876
|
+
MenuLabelProps,
|
|
1877
|
+
MenuPortal,
|
|
1878
|
+
MenuPortalProps,
|
|
1879
|
+
MenuProps,
|
|
2037
1880
|
MenuRadioGroup,
|
|
2038
|
-
|
|
1881
|
+
MenuRadioGroupProps,
|
|
2039
1882
|
MenuRadioItem,
|
|
2040
|
-
|
|
2041
|
-
MenuItemIndicatorProps,
|
|
2042
|
-
MenuItemIndicator,
|
|
2043
|
-
MenuSeparatorProps,
|
|
1883
|
+
MenuRadioItemProps,
|
|
2044
1884
|
MenuSeparator,
|
|
2045
|
-
|
|
2046
|
-
MenuArrowProps,
|
|
2047
|
-
MenuArrow,
|
|
2048
|
-
MenuSubProps,
|
|
1885
|
+
MenuSeparatorProps,
|
|
2049
1886
|
MenuSub,
|
|
2050
|
-
MenuSubTriggerProps,
|
|
2051
|
-
MenuSubTrigger,
|
|
2052
|
-
MenuSubContentProps,
|
|
2053
1887
|
MenuSubContent,
|
|
2054
|
-
|
|
2055
|
-
|
|
1888
|
+
MenuSubContentProps,
|
|
1889
|
+
MenuSubProps,
|
|
1890
|
+
MenuSubTrigger,
|
|
1891
|
+
MenuSubTriggerProps,
|
|
2056
1892
|
Portal_3 as Portal,
|
|
2057
|
-
Content_5 as Content,
|
|
2058
|
-
Group,
|
|
2059
|
-
Label_3 as Label,
|
|
2060
|
-
Item_3 as Item,
|
|
2061
|
-
CheckboxItem,
|
|
2062
1893
|
RadioGroup,
|
|
2063
1894
|
RadioItem,
|
|
2064
|
-
|
|
1895
|
+
Root_11 as Root,
|
|
2065
1896
|
Separator,
|
|
2066
|
-
Arrow_3 as Arrow,
|
|
2067
1897
|
Sub,
|
|
1898
|
+
SubContent,
|
|
2068
1899
|
SubTrigger,
|
|
2069
|
-
|
|
1900
|
+
createMenuScope
|
|
2070
1901
|
}
|
|
2071
1902
|
}
|
|
2072
1903
|
|
|
@@ -2085,7 +1916,7 @@ declare interface MenuRadioGroupProps extends MenuGroupProps {
|
|
|
2085
1916
|
onValueChange?: (value: string) => void;
|
|
2086
1917
|
}
|
|
2087
1918
|
|
|
2088
|
-
declare type MenuRadioGroupProps_2 =
|
|
1919
|
+
declare type MenuRadioGroupProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimitive.RadioGroup>;
|
|
2089
1920
|
|
|
2090
1921
|
declare const MenuRadioItem: React_2.ForwardRefExoticComponent<MenuRadioItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2091
1922
|
|
|
@@ -2093,17 +1924,17 @@ declare interface MenuRadioItemProps extends MenuItemProps {
|
|
|
2093
1924
|
value: string;
|
|
2094
1925
|
}
|
|
2095
1926
|
|
|
2096
|
-
declare type MenuRadioItemProps_2 =
|
|
1927
|
+
declare type MenuRadioItemProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimitive.RadioItem>;
|
|
2097
1928
|
|
|
2098
1929
|
declare interface MenuRootContentTypeProps extends Omit<MenuContentImplProps, keyof MenuContentImplPrivateProps> {
|
|
2099
1930
|
}
|
|
2100
1931
|
|
|
2101
1932
|
declare const MenuSeparator: React_2.ForwardRefExoticComponent<MenuSeparatorProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2102
1933
|
|
|
2103
|
-
declare interface MenuSeparatorProps extends
|
|
1934
|
+
declare interface MenuSeparatorProps extends PrimitiveDivProps_4 {
|
|
2104
1935
|
}
|
|
2105
1936
|
|
|
2106
|
-
declare type MenuSeparatorProps_2 =
|
|
1937
|
+
declare type MenuSeparatorProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimitive.Separator>;
|
|
2107
1938
|
|
|
2108
1939
|
declare const MenuSub: React_2.FC<MenuSubProps>;
|
|
2109
1940
|
|
|
@@ -2117,7 +1948,7 @@ declare interface MenuSubContentProps extends Omit<MenuContentImplProps, keyof M
|
|
|
2117
1948
|
forceMount?: true;
|
|
2118
1949
|
}
|
|
2119
1950
|
|
|
2120
|
-
declare type MenuSubContentProps_2 =
|
|
1951
|
+
declare type MenuSubContentProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimitive.SubContent>;
|
|
2121
1952
|
|
|
2122
1953
|
declare interface MenuSubProps {
|
|
2123
1954
|
children?: React_2.ReactNode;
|
|
@@ -2130,7 +1961,7 @@ declare const MenuSubTrigger: React_2.ForwardRefExoticComponent<MenuSubTriggerPr
|
|
|
2130
1961
|
declare interface MenuSubTriggerProps extends MenuItemImplProps {
|
|
2131
1962
|
}
|
|
2132
1963
|
|
|
2133
|
-
declare type MenuSubTriggerProps_2 =
|
|
1964
|
+
declare type MenuSubTriggerProps_2 = React_2.ComponentPropsWithoutRef<typeof MenuPrimitive.SubTrigger>;
|
|
2134
1965
|
|
|
2135
1966
|
export declare const MeshLogo: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
2136
1967
|
|
|
@@ -2225,14 +2056,14 @@ declare const navGroupVariants: (props?: ({
|
|
|
2225
2056
|
|
|
2226
2057
|
declare interface NavigationMenuContentImplPrivateProps {
|
|
2227
2058
|
value: string;
|
|
2228
|
-
triggerRef: React_2.RefObject<NavigationMenuTriggerElement>;
|
|
2229
|
-
focusProxyRef: React_2.RefObject<FocusProxyElement>;
|
|
2059
|
+
triggerRef: React_2.RefObject<NavigationMenuTriggerElement | null>;
|
|
2060
|
+
focusProxyRef: React_2.RefObject<FocusProxyElement | null>;
|
|
2230
2061
|
wasEscapeCloseRef: React_2.MutableRefObject<boolean>;
|
|
2231
2062
|
onContentFocusOutside(): void;
|
|
2232
2063
|
onRootContentClose(): void;
|
|
2233
2064
|
}
|
|
2234
2065
|
|
|
2235
|
-
declare interface NavigationMenuContentImplProps extends Omit<
|
|
2066
|
+
declare interface NavigationMenuContentImplProps extends Omit<DismissableLayerProps_6, 'onDismiss' | 'disableOutsidePointerEvents'>, NavigationMenuContentImplPrivateProps {
|
|
2236
2067
|
}
|
|
2237
2068
|
|
|
2238
2069
|
declare interface NavigationMenuContentProps extends Omit<NavigationMenuContentImplProps, keyof NavigationMenuContentImplPrivateProps> {
|
|
@@ -2345,8 +2176,6 @@ declare interface Node_6 {
|
|
|
2345
2176
|
|
|
2346
2177
|
declare const NODES: readonly ["a", "button", "div", "form", "h2", "h3", "img", "input", "label", "li", "nav", "ol", "p", "span", "svg", "ul"];
|
|
2347
2178
|
|
|
2348
|
-
declare const NODES_2: readonly ["a", "button", "div", "form", "h2", "h3", "img", "input", "label", "li", "nav", "ol", "p", "span", "svg", "ul"];
|
|
2349
|
-
|
|
2350
2179
|
export declare const Notifications: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
2351
2180
|
|
|
2352
2181
|
export declare function NudgeAction({ className, orientation, ...buttonProps }: NudgeActionProps): JSX_2.Element;
|
|
@@ -2381,6 +2210,13 @@ export declare interface NudgeKebabMenuProps {
|
|
|
2381
2210
|
|
|
2382
2211
|
export declare const Objective: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
2383
2212
|
|
|
2213
|
+
declare type Offset = {
|
|
2214
|
+
top?: string | number;
|
|
2215
|
+
right?: string | number;
|
|
2216
|
+
bottom?: string | number;
|
|
2217
|
+
left?: string | number;
|
|
2218
|
+
} | string | number;
|
|
2219
|
+
|
|
2384
2220
|
declare type OmitUndefined<T> = T extends undefined ? never : T;
|
|
2385
2221
|
|
|
2386
2222
|
export declare const OneOnOne: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
@@ -2413,10 +2249,6 @@ declare type PointerDownOutsideEvent = CustomEvent<{
|
|
|
2413
2249
|
originalEvent: PointerEvent;
|
|
2414
2250
|
}>;
|
|
2415
2251
|
|
|
2416
|
-
declare type PointerDownOutsideEvent_2 = CustomEvent<{
|
|
2417
|
-
originalEvent: PointerEvent;
|
|
2418
|
-
}>;
|
|
2419
|
-
|
|
2420
2252
|
declare type PointMetaData = {
|
|
2421
2253
|
reviewCycle: {
|
|
2422
2254
|
id: string;
|
|
@@ -2427,44 +2259,29 @@ declare type PointMetaData = {
|
|
|
2427
2259
|
|
|
2428
2260
|
declare const Popper: React_2.FC<PopperProps>;
|
|
2429
2261
|
|
|
2430
|
-
declare const Popper_2: React_2.FC<PopperProps_2>;
|
|
2431
|
-
|
|
2432
2262
|
declare const PopperAnchor: React_2.ForwardRefExoticComponent<PopperAnchorProps_2 & React_2.RefAttributes<HTMLDivElement>>;
|
|
2433
2263
|
|
|
2434
|
-
declare
|
|
2435
|
-
|
|
2436
|
-
declare type PopperAnchorProps = Radix.ComponentPropsWithoutRef<typeof PopperPrimitive.Anchor>;
|
|
2264
|
+
declare type PopperAnchorProps = React_2.ComponentPropsWithoutRef<typeof PopperPrimitive.Anchor>;
|
|
2437
2265
|
|
|
2438
2266
|
declare interface PopperAnchorProps_2 extends PrimitiveDivProps_3 {
|
|
2439
2267
|
virtualRef?: React_2.RefObject<Measurable>;
|
|
2440
2268
|
}
|
|
2441
2269
|
|
|
2442
|
-
declare interface PopperAnchorProps_3 extends PrimitiveDivProps_11 {
|
|
2443
|
-
virtualRef?: React_2.RefObject<Measurable>;
|
|
2444
|
-
}
|
|
2445
|
-
|
|
2446
2270
|
declare const PopperArrow: React_2.ForwardRefExoticComponent<PopperArrowProps & React_2.RefAttributes<SVGSVGElement>>;
|
|
2447
2271
|
|
|
2448
|
-
declare const PopperArrow_2: React_2.ForwardRefExoticComponent<PopperArrowProps_6 & React_2.RefAttributes<SVGSVGElement>>;
|
|
2449
|
-
|
|
2450
2272
|
declare interface PopperArrowProps extends ArrowProps {
|
|
2451
2273
|
}
|
|
2452
2274
|
|
|
2453
|
-
declare type PopperArrowProps_2 =
|
|
2275
|
+
declare type PopperArrowProps_2 = React_2.ComponentPropsWithoutRef<typeof PopperPrimitive.Arrow>;
|
|
2454
2276
|
|
|
2455
|
-
declare type PopperArrowProps_3 =
|
|
2277
|
+
declare type PopperArrowProps_3 = React_2.ComponentPropsWithoutRef<typeof PopperPrimitive.Arrow>;
|
|
2456
2278
|
|
|
2457
|
-
declare type PopperArrowProps_4 =
|
|
2279
|
+
declare type PopperArrowProps_4 = React_2.ComponentPropsWithoutRef<typeof PopperPrimitive.Arrow>;
|
|
2458
2280
|
|
|
2459
|
-
declare type PopperArrowProps_5 = React_2.ComponentPropsWithoutRef<typeof
|
|
2460
|
-
|
|
2461
|
-
declare interface PopperArrowProps_6 extends ArrowProps_3 {
|
|
2462
|
-
}
|
|
2281
|
+
declare type PopperArrowProps_5 = React_2.ComponentPropsWithoutRef<typeof PopperPrimitive.Arrow>;
|
|
2463
2282
|
|
|
2464
2283
|
declare const PopperContent: React_2.ForwardRefExoticComponent<PopperContentProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2465
2284
|
|
|
2466
|
-
declare const PopperContent_2: React_2.ForwardRefExoticComponent<PopperContentProps_5 & React_2.RefAttributes<HTMLDivElement>>;
|
|
2467
|
-
|
|
2468
2285
|
declare interface PopperContentProps extends PrimitiveDivProps_3 {
|
|
2469
2286
|
side?: Side;
|
|
2470
2287
|
sideOffset?: number;
|
|
@@ -2480,71 +2297,31 @@ declare interface PopperContentProps extends PrimitiveDivProps_3 {
|
|
|
2480
2297
|
onPlaced?: () => void;
|
|
2481
2298
|
}
|
|
2482
2299
|
|
|
2483
|
-
declare type PopperContentProps_2 =
|
|
2300
|
+
declare type PopperContentProps_2 = React_2.ComponentPropsWithoutRef<typeof PopperPrimitive.Content>;
|
|
2484
2301
|
|
|
2485
2302
|
declare type PopperContentProps_3 = React_2.ComponentPropsWithoutRef<typeof PopperPrimitive.Content>;
|
|
2486
2303
|
|
|
2487
|
-
declare type PopperContentProps_4 =
|
|
2488
|
-
|
|
2489
|
-
declare interface PopperContentProps_5 extends PrimitiveDivProps_11 {
|
|
2490
|
-
side?: Side_2;
|
|
2491
|
-
sideOffset?: number;
|
|
2492
|
-
align?: Align_2;
|
|
2493
|
-
alignOffset?: number;
|
|
2494
|
-
arrowPadding?: number;
|
|
2495
|
-
avoidCollisions?: boolean;
|
|
2496
|
-
collisionBoundary?: Boundary_2 | Boundary_2[];
|
|
2497
|
-
collisionPadding?: number | Partial<Record<Side_2, number>>;
|
|
2498
|
-
sticky?: 'partial' | 'always';
|
|
2499
|
-
hideWhenDetached?: boolean;
|
|
2500
|
-
updatePositionStrategy?: 'optimized' | 'always';
|
|
2501
|
-
onPlaced?: () => void;
|
|
2502
|
-
}
|
|
2304
|
+
declare type PopperContentProps_4 = React_2.ComponentPropsWithoutRef<typeof PopperPrimitive.Content>;
|
|
2503
2305
|
|
|
2504
|
-
declare type
|
|
2306
|
+
declare type PopperContentProps_5 = React_2.ComponentPropsWithoutRef<typeof PopperPrimitive.Content>;
|
|
2505
2307
|
|
|
2506
2308
|
declare namespace PopperPrimitive {
|
|
2507
2309
|
export {
|
|
2508
|
-
SIDE_OPTIONS,
|
|
2509
2310
|
ALIGN_OPTIONS,
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
PopperProps,
|
|
2311
|
+
Anchor_2 as Anchor,
|
|
2312
|
+
Arrow_2 as Arrow,
|
|
2313
|
+
Content_4 as Content,
|
|
2514
2314
|
Popper,
|
|
2515
|
-
PrimitiveDivProps_3 as PrimitiveDivProps,
|
|
2516
|
-
PopperAnchorProps_2 as PopperAnchorProps,
|
|
2517
2315
|
PopperAnchor,
|
|
2518
|
-
|
|
2519
|
-
PopperContentProps,
|
|
2520
|
-
PopperContent,
|
|
2521
|
-
ArrowProps,
|
|
2522
|
-
PopperArrowProps,
|
|
2316
|
+
PopperAnchorProps_2 as PopperAnchorProps,
|
|
2523
2317
|
PopperArrow,
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
declare namespace PopperPrimitive_2 {
|
|
2532
|
-
export {
|
|
2533
|
-
ALIGN_OPTIONS_2 as ALIGN_OPTIONS,
|
|
2534
|
-
Anchor_3 as Anchor,
|
|
2535
|
-
Arrow_8 as Arrow,
|
|
2536
|
-
Content_10 as Content,
|
|
2537
|
-
Popper_2 as Popper,
|
|
2538
|
-
PopperAnchor_2 as PopperAnchor,
|
|
2539
|
-
PopperAnchorProps_3 as PopperAnchorProps,
|
|
2540
|
-
PopperArrow_2 as PopperArrow,
|
|
2541
|
-
PopperArrowProps_6 as PopperArrowProps,
|
|
2542
|
-
PopperContent_2 as PopperContent,
|
|
2543
|
-
PopperContentProps_5 as PopperContentProps,
|
|
2544
|
-
PopperProps_2 as PopperProps,
|
|
2545
|
-
Root_18 as Root,
|
|
2546
|
-
SIDE_OPTIONS_2 as SIDE_OPTIONS,
|
|
2547
|
-
createPopperScope_2 as createPopperScope
|
|
2318
|
+
PopperArrowProps,
|
|
2319
|
+
PopperContent,
|
|
2320
|
+
PopperContentProps,
|
|
2321
|
+
PopperProps,
|
|
2322
|
+
Root_9 as Root,
|
|
2323
|
+
SIDE_OPTIONS,
|
|
2324
|
+
createPopperScope
|
|
2548
2325
|
}
|
|
2549
2326
|
}
|
|
2550
2327
|
|
|
@@ -2552,15 +2329,11 @@ declare interface PopperProps {
|
|
|
2552
2329
|
children?: React_2.ReactNode;
|
|
2553
2330
|
}
|
|
2554
2331
|
|
|
2555
|
-
declare interface PopperProps_2 {
|
|
2556
|
-
children?: React_2.ReactNode;
|
|
2557
|
-
}
|
|
2558
|
-
|
|
2559
2332
|
declare const Portal: React_2.FC<AlertDialogPortalProps>;
|
|
2560
2333
|
|
|
2561
2334
|
declare const Portal_2: React_2.ForwardRefExoticComponent<PortalProps_2 & React_2.RefAttributes<HTMLDivElement>>;
|
|
2562
2335
|
|
|
2563
|
-
declare const Portal_3: React_2.FC<
|
|
2336
|
+
declare const Portal_3: React_2.FC<MenuPortalProps>;
|
|
2564
2337
|
|
|
2565
2338
|
declare const Portal_4: React_2.FC<DropdownMenuPortalProps>;
|
|
2566
2339
|
|
|
@@ -2568,146 +2341,116 @@ declare const Portal_5: React_2.FC<SelectPortalProps>;
|
|
|
2568
2341
|
|
|
2569
2342
|
declare const Portal_6: React_2.FC<TooltipPortalProps>;
|
|
2570
2343
|
|
|
2571
|
-
declare const Portal_7: React_2.
|
|
2572
|
-
|
|
2573
|
-
declare const Portal_8: React_2.FC<HoverCardPortalProps>;
|
|
2344
|
+
declare const Portal_7: React_2.FC<HoverCardPortalProps>;
|
|
2574
2345
|
|
|
2575
2346
|
declare type PortalProps = React_2.ComponentPropsWithoutRef<typeof Portal_2>;
|
|
2576
2347
|
|
|
2577
|
-
declare interface PortalProps_2 extends
|
|
2348
|
+
declare interface PortalProps_2 extends PrimitiveDivProps_8 {
|
|
2578
2349
|
/**
|
|
2579
2350
|
* An optional container where the portaled content should be appended.
|
|
2580
2351
|
*/
|
|
2581
|
-
container?:
|
|
2352
|
+
container?: Element | DocumentFragment | null;
|
|
2582
2353
|
}
|
|
2583
2354
|
|
|
2584
2355
|
declare type PortalProps_3 = React_2.ComponentPropsWithoutRef<typeof Portal_2>;
|
|
2585
2356
|
|
|
2586
2357
|
declare type PortalProps_4 = React_2.ComponentPropsWithoutRef<typeof Portal_2>;
|
|
2587
2358
|
|
|
2588
|
-
declare type PortalProps_5 = React_2.ComponentPropsWithoutRef<typeof
|
|
2589
|
-
|
|
2590
|
-
declare interface PortalProps_6 extends PrimitiveDivProps_13 {
|
|
2591
|
-
/**
|
|
2592
|
-
* An optional container where the portaled content should be appended.
|
|
2593
|
-
*/
|
|
2594
|
-
container?: Element | null;
|
|
2595
|
-
}
|
|
2359
|
+
declare type PortalProps_5 = React_2.ComponentPropsWithoutRef<typeof Portal_2>;
|
|
2596
2360
|
|
|
2597
2361
|
declare type Position = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top-center' | 'bottom-center';
|
|
2598
2362
|
|
|
2599
2363
|
declare const Primitive: Primitives;
|
|
2600
2364
|
|
|
2601
|
-
declare
|
|
2602
|
-
|
|
2603
|
-
declare type PrimitiveButtonProps = Radix.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
2365
|
+
declare type PrimitiveButtonProps = React_2.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
2604
2366
|
|
|
2605
|
-
declare type PrimitiveButtonProps_2 =
|
|
2367
|
+
declare type PrimitiveButtonProps_2 = React_2.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
2606
2368
|
|
|
2607
|
-
declare type PrimitiveButtonProps_3 =
|
|
2369
|
+
declare type PrimitiveButtonProps_3 = React_2.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
2608
2370
|
|
|
2609
|
-
declare type PrimitiveButtonProps_4 = React_2.ComponentPropsWithoutRef<typeof
|
|
2371
|
+
declare type PrimitiveButtonProps_4 = React_2.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
2610
2372
|
|
|
2611
|
-
declare type PrimitiveButtonProps_5 =
|
|
2373
|
+
declare type PrimitiveButtonProps_5 = React_2.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
2612
2374
|
|
|
2613
|
-
declare type PrimitiveButtonProps_6 =
|
|
2375
|
+
declare type PrimitiveButtonProps_6 = React_2.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
2614
2376
|
|
|
2615
|
-
declare type PrimitiveButtonProps_7 =
|
|
2377
|
+
declare type PrimitiveButtonProps_7 = React_2.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
2616
2378
|
|
|
2617
|
-
declare type PrimitiveButtonProps_8 =
|
|
2379
|
+
declare type PrimitiveButtonProps_8 = React_2.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
2618
2380
|
|
|
2619
|
-
declare type PrimitiveButtonProps_9 =
|
|
2381
|
+
declare type PrimitiveButtonProps_9 = React_2.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
2620
2382
|
|
|
2621
|
-
declare type PrimitiveDivProps =
|
|
2383
|
+
declare type PrimitiveDivProps = React_2.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2622
2384
|
|
|
2623
|
-
declare type PrimitiveDivProps_10 =
|
|
2385
|
+
declare type PrimitiveDivProps_10 = React_2.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2624
2386
|
|
|
2625
|
-
declare type PrimitiveDivProps_11 =
|
|
2387
|
+
declare type PrimitiveDivProps_11 = React_3.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2626
2388
|
|
|
2627
|
-
declare type
|
|
2389
|
+
declare type PrimitiveDivProps_2 = React_3.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2628
2390
|
|
|
2629
|
-
declare type
|
|
2391
|
+
declare type PrimitiveDivProps_3 = React_2.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2630
2392
|
|
|
2631
|
-
declare type
|
|
2393
|
+
declare type PrimitiveDivProps_4 = React_2.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2632
2394
|
|
|
2633
|
-
declare type
|
|
2395
|
+
declare type PrimitiveDivProps_5 = React_2.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2634
2396
|
|
|
2635
|
-
declare type
|
|
2397
|
+
declare type PrimitiveDivProps_6 = React_2.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2636
2398
|
|
|
2637
|
-
declare type
|
|
2399
|
+
declare type PrimitiveDivProps_7 = React_2.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2638
2400
|
|
|
2639
|
-
declare type
|
|
2401
|
+
declare type PrimitiveDivProps_8 = React_2.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2640
2402
|
|
|
2641
|
-
declare type
|
|
2642
|
-
|
|
2643
|
-
declare type PrimitiveDivProps_7 = Radix.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2644
|
-
|
|
2645
|
-
declare type PrimitiveDivProps_8 = Radix.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2646
|
-
|
|
2647
|
-
declare type PrimitiveDivProps_9 = Radix.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2403
|
+
declare type PrimitiveDivProps_9 = React_2.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
2648
2404
|
|
|
2649
2405
|
declare interface PrimitiveForwardRefComponent<E extends React_2.ElementType> extends React_2.ForwardRefExoticComponent<PrimitivePropsWithRef<E>> {
|
|
2650
2406
|
}
|
|
2651
2407
|
|
|
2652
|
-
declare
|
|
2653
|
-
}
|
|
2654
|
-
|
|
2655
|
-
declare type PrimitiveHeading3Props = Radix.ComponentPropsWithoutRef<typeof Primitive.h3>;
|
|
2408
|
+
declare type PrimitiveHeading3Props = React_3.ComponentPropsWithoutRef<typeof Primitive.h3>;
|
|
2656
2409
|
|
|
2657
|
-
declare type PrimitiveImageProps =
|
|
2410
|
+
declare type PrimitiveImageProps = React_2.ComponentPropsWithoutRef<typeof Primitive.img>;
|
|
2658
2411
|
|
|
2659
|
-
declare type PrimitiveLabelProps =
|
|
2412
|
+
declare type PrimitiveLabelProps = React_2.ComponentPropsWithoutRef<typeof Primitive.label>;
|
|
2660
2413
|
|
|
2661
|
-
declare type PrimitiveLinkProps = React_2.ComponentPropsWithoutRef<typeof
|
|
2414
|
+
declare type PrimitiveLinkProps = React_2.ComponentPropsWithoutRef<typeof Primitive.a>;
|
|
2662
2415
|
|
|
2663
|
-
declare type PrimitiveLinkProps_2 =
|
|
2416
|
+
declare type PrimitiveLinkProps_2 = React_2.ComponentPropsWithoutRef<typeof Primitive.a>;
|
|
2664
2417
|
|
|
2665
|
-
declare type PrimitiveNavProps =
|
|
2418
|
+
declare type PrimitiveNavProps = React_2.ComponentPropsWithoutRef<typeof Primitive.nav>;
|
|
2666
2419
|
|
|
2667
2420
|
declare type PrimitivePropsWithRef<E extends React_2.ElementType> = React_2.ComponentPropsWithRef<E> & {
|
|
2668
2421
|
asChild?: boolean;
|
|
2669
2422
|
};
|
|
2670
2423
|
|
|
2671
|
-
declare type PrimitivePropsWithRef_2<E extends React_2.ElementType> = React_2.ComponentPropsWithRef<E> & {
|
|
2672
|
-
asChild?: boolean;
|
|
2673
|
-
};
|
|
2674
|
-
|
|
2675
2424
|
declare type Primitives = {
|
|
2676
|
-
[E in typeof NODES[number]]: PrimitiveForwardRefComponent<E>;
|
|
2677
|
-
};
|
|
2678
|
-
|
|
2679
|
-
declare type Primitives_2 = {
|
|
2680
|
-
[E in (typeof NODES_2)[number]]: PrimitiveForwardRefComponent_2<E>;
|
|
2425
|
+
[E in (typeof NODES)[number]]: PrimitiveForwardRefComponent<E>;
|
|
2681
2426
|
};
|
|
2682
2427
|
|
|
2683
|
-
declare type PrimitiveSpanProps =
|
|
2684
|
-
|
|
2685
|
-
declare type PrimitiveSpanProps_2 = React_2.ComponentPropsWithoutRef<typeof Primitive_2.span>;
|
|
2428
|
+
declare type PrimitiveSpanProps = React_2.ComponentPropsWithoutRef<typeof Primitive.span>;
|
|
2686
2429
|
|
|
2687
|
-
declare type
|
|
2430
|
+
declare type PrimitiveSpanProps_2 = React_2.ComponentPropsWithoutRef<typeof Primitive.span>;
|
|
2688
2431
|
|
|
2689
|
-
declare type
|
|
2432
|
+
declare type PrimitiveSpanProps_3 = React_2.ComponentPropsWithoutRef<typeof Primitive.span>;
|
|
2690
2433
|
|
|
2691
|
-
declare type
|
|
2434
|
+
declare type PrimitiveSpanProps_4 = React_2.ComponentPropsWithoutRef<typeof Primitive.span>;
|
|
2692
2435
|
|
|
2693
|
-
declare type
|
|
2436
|
+
declare type PrimitiveSpanProps_5 = React_2.ComponentPropsWithoutRef<typeof Primitive.span>;
|
|
2694
2437
|
|
|
2695
|
-
declare type
|
|
2438
|
+
declare type PrimitiveSpanProps_6 = React_2.ComponentPropsWithoutRef<typeof Primitive.span>;
|
|
2696
2439
|
|
|
2697
|
-
declare type
|
|
2440
|
+
declare type PrimitiveSvgProps = React_2.ComponentPropsWithoutRef<typeof Primitive.svg>;
|
|
2698
2441
|
|
|
2699
2442
|
export declare const Product: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
2700
2443
|
|
|
2701
2444
|
export declare const ProfileCard: ForwardRefExoticComponent<ProfileCardProps & {
|
|
2702
|
-
|
|
2445
|
+
children?: ReactNode | undefined;
|
|
2703
2446
|
} & RefAttributes<HTMLDivElement>>;
|
|
2704
2447
|
|
|
2705
|
-
export declare const ProfileCardItem: ForwardRefExoticComponent<{
|
|
2706
|
-
|
|
2448
|
+
export declare const ProfileCardItem: ForwardRefExoticComponent< {
|
|
2449
|
+
children?: ReactNode | undefined;
|
|
2707
2450
|
} & RefAttributes<HTMLDivElement>>;
|
|
2708
2451
|
|
|
2709
|
-
export declare const ProfileCardKey: ForwardRefExoticComponent<{
|
|
2710
|
-
|
|
2452
|
+
export declare const ProfileCardKey: ForwardRefExoticComponent< {
|
|
2453
|
+
children?: ReactNode | undefined;
|
|
2711
2454
|
} & RefAttributes<HTMLDivElement>>;
|
|
2712
2455
|
|
|
2713
2456
|
export declare interface ProfileCardProps {
|
|
@@ -2716,14 +2459,14 @@ export declare interface ProfileCardProps {
|
|
|
2716
2459
|
designation?: string;
|
|
2717
2460
|
ctaText?: string;
|
|
2718
2461
|
className?: string;
|
|
2719
|
-
ctaCallback?:
|
|
2462
|
+
ctaCallback?: ComponentPropsWithoutRef<typeof Button>['onClick'];
|
|
2720
2463
|
avatarImageClassName?: string;
|
|
2721
2464
|
showUpdateButton?: boolean;
|
|
2722
2465
|
onFileChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
2723
2466
|
}
|
|
2724
2467
|
|
|
2725
|
-
export declare const ProfileCardValue: ForwardRefExoticComponent<{
|
|
2726
|
-
|
|
2468
|
+
export declare const ProfileCardValue: ForwardRefExoticComponent< {
|
|
2469
|
+
children?: ReactNode | undefined;
|
|
2727
2470
|
} & RefAttributes<HTMLDivElement>>;
|
|
2728
2471
|
|
|
2729
2472
|
export declare function ProgressBar({ progressInPercentage, status }: ProgressBarProps): JSX_2.Element;
|
|
@@ -2777,9 +2520,9 @@ declare interface ProgressSliderProps {
|
|
|
2777
2520
|
|
|
2778
2521
|
declare type PromiseData<ToastData = any> = PromiseExternalToast & {
|
|
2779
2522
|
loading?: string | React_3.ReactNode;
|
|
2780
|
-
success?:
|
|
2781
|
-
error?:
|
|
2782
|
-
description?:
|
|
2523
|
+
success?: PromiseTResult<ToastData>;
|
|
2524
|
+
error?: PromiseTResult;
|
|
2525
|
+
description?: PromiseTResult;
|
|
2783
2526
|
finally?: () => void | Promise<void>;
|
|
2784
2527
|
};
|
|
2785
2528
|
|
|
@@ -2787,7 +2530,7 @@ declare type PromiseExternalToast = Omit<ExternalToast, 'description'>;
|
|
|
2787
2530
|
|
|
2788
2531
|
declare type PromiseT<Data = any> = Promise<Data> | (() => Promise<Data>);
|
|
2789
2532
|
|
|
2790
|
-
declare type
|
|
2533
|
+
declare type PromiseTResult<Data = any> = string | React_3.ReactNode | ((data: Data) => React_3.ReactNode | string | Promise<React_3.ReactNode | string>);
|
|
2791
2534
|
|
|
2792
2535
|
declare const Provider: React_2.FC<TooltipProviderProps>;
|
|
2793
2536
|
|
|
@@ -2844,41 +2587,48 @@ declare const RadioItem: React_2.ForwardRefExoticComponent<MenuRadioItemProps &
|
|
|
2844
2587
|
|
|
2845
2588
|
declare const RadioItem_2: React_2.ForwardRefExoticComponent<DropdownMenuRadioItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2846
2589
|
|
|
2847
|
-
declare namespace
|
|
2590
|
+
declare namespace _radix_ui_react_context {
|
|
2848
2591
|
export {
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
Primitives,
|
|
2854
|
-
PrimitivePropsWithRef,
|
|
2855
|
-
PrimitiveForwardRefComponent,
|
|
2856
|
-
Primitive,
|
|
2857
|
-
Root
|
|
2592
|
+
CreateScope,
|
|
2593
|
+
Scope,
|
|
2594
|
+
createContext,
|
|
2595
|
+
createContextScope
|
|
2858
2596
|
}
|
|
2859
2597
|
}
|
|
2860
2598
|
|
|
2861
2599
|
declare namespace RadixTabs {
|
|
2862
2600
|
export {
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
TabsProps,
|
|
2601
|
+
Content_8 as Content,
|
|
2602
|
+
List,
|
|
2603
|
+
Root_14 as Root,
|
|
2867
2604
|
Tabs_2 as Tabs,
|
|
2868
|
-
|
|
2605
|
+
TabsContent_2 as TabsContent,
|
|
2606
|
+
TabsContentProps,
|
|
2869
2607
|
TabsList_2 as TabsList,
|
|
2870
|
-
|
|
2871
|
-
|
|
2608
|
+
TabsListProps,
|
|
2609
|
+
TabsProps,
|
|
2872
2610
|
TabsTrigger_2 as TabsTrigger,
|
|
2873
|
-
|
|
2874
|
-
TabsContent_2 as TabsContent,
|
|
2875
|
-
Root_15 as Root,
|
|
2876
|
-
List,
|
|
2611
|
+
TabsTriggerProps,
|
|
2877
2612
|
Trigger_6 as Trigger,
|
|
2878
|
-
|
|
2613
|
+
createTabsScope
|
|
2879
2614
|
}
|
|
2880
2615
|
}
|
|
2881
2616
|
|
|
2617
|
+
export declare const Rating: ({ maxRating, initialRating, onRatingChange, variant, customRatings, }: RatingProps) => JSX_2.Element;
|
|
2618
|
+
|
|
2619
|
+
declare type RatingItem = {
|
|
2620
|
+
value: number;
|
|
2621
|
+
svg?: React.ReactNode;
|
|
2622
|
+
};
|
|
2623
|
+
|
|
2624
|
+
declare type RatingProps = {
|
|
2625
|
+
maxRating?: number;
|
|
2626
|
+
initialRating?: number;
|
|
2627
|
+
onRatingChange?: (rating: number) => void;
|
|
2628
|
+
variant?: 'number' | 'star' | 'emoji' | 'rate';
|
|
2629
|
+
customRatings?: RatingItem[];
|
|
2630
|
+
};
|
|
2631
|
+
|
|
2882
2632
|
export declare const RequestedFeedbackNudgeData: ForwardRefExoticComponent<RequestedFeedbackNudgeDataProps & RefAttributes<HTMLDivElement>>;
|
|
2883
2633
|
|
|
2884
2634
|
export declare interface RequestedFeedbackNudgeDataProps {
|
|
@@ -2907,59 +2657,47 @@ export declare interface ReviewsNudgeDataProps {
|
|
|
2907
2657
|
|
|
2908
2658
|
export declare const Role: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
2909
2659
|
|
|
2910
|
-
declare const Root:
|
|
2660
|
+
declare const Root: React_2.ForwardRefExoticComponent<CheckboxProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
2911
2661
|
|
|
2912
|
-
declare const Root_10: React_2.
|
|
2662
|
+
declare const Root_10: React_2.ForwardRefExoticComponent<RovingFocusGroupProps_2 & React_2.RefAttributes<HTMLDivElement>>;
|
|
2913
2663
|
|
|
2914
|
-
declare const Root_11: React_2.
|
|
2664
|
+
declare const Root_11: React_2.FC<MenuProps>;
|
|
2915
2665
|
|
|
2916
|
-
declare const Root_12: React_2.FC<
|
|
2666
|
+
declare const Root_12: React_2.FC<DropdownMenuProps>;
|
|
2917
2667
|
|
|
2918
|
-
declare const Root_13: React_2.FC<
|
|
2668
|
+
declare const Root_13: React_2.FC<SelectProps>;
|
|
2919
2669
|
|
|
2920
|
-
declare const Root_14: React_2.
|
|
2670
|
+
declare const Root_14: React_2.ForwardRefExoticComponent<TabsProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2921
2671
|
|
|
2922
|
-
declare const Root_15: React_2.
|
|
2672
|
+
declare const Root_15: React_2.FC<TooltipProps>;
|
|
2923
2673
|
|
|
2924
|
-
declare const Root_16: React_2.FC<
|
|
2674
|
+
declare const Root_16: React_2.FC<HoverCardProps>;
|
|
2925
2675
|
|
|
2926
|
-
declare const
|
|
2676
|
+
declare const Root_2: React_2.ForwardRefExoticComponent<LabelProps & React_2.RefAttributes<HTMLLabelElement>>;
|
|
2927
2677
|
|
|
2928
|
-
declare const
|
|
2678
|
+
declare const Root_3: React_2.ForwardRefExoticComponent<CollapsibleProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2929
2679
|
|
|
2930
|
-
declare const
|
|
2680
|
+
declare const Root_4: React_2.ForwardRefExoticComponent<SwitchProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
2931
2681
|
|
|
2932
|
-
declare const
|
|
2682
|
+
declare const Root_5: React_3.ForwardRefExoticComponent<(AccordionSingleProps | AccordionMultipleProps) & React_3.RefAttributes<HTMLDivElement>>;
|
|
2933
2683
|
|
|
2934
|
-
declare const
|
|
2684
|
+
declare const Root_6: React_2.FC<AlertDialogProps>;
|
|
2935
2685
|
|
|
2936
|
-
declare const
|
|
2686
|
+
declare const Root_7: React_2.ForwardRefExoticComponent<AvatarProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
2937
2687
|
|
|
2938
|
-
declare const
|
|
2688
|
+
declare const Root_8: React_2.ForwardRefExoticComponent<ArrowProps_2 & React_2.RefAttributes<SVGSVGElement>>;
|
|
2939
2689
|
|
|
2940
|
-
declare const
|
|
2941
|
-
|
|
2942
|
-
declare const Root_7: React_2.FC<AlertDialogProps>;
|
|
2943
|
-
|
|
2944
|
-
declare const Root_8: React_2.ForwardRefExoticComponent<AvatarProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
2945
|
-
|
|
2946
|
-
declare const Root_9: React_2.ForwardRefExoticComponent<ArrowProps_2 & React_2.RefAttributes<SVGSVGElement>>;
|
|
2690
|
+
declare const Root_9: React_2.FC<PopperProps>;
|
|
2947
2691
|
|
|
2948
2692
|
declare namespace RovingFocusGroup {
|
|
2949
2693
|
export {
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
Direction_4 as Direction,
|
|
2953
|
-
RovingFocusGroupOptions,
|
|
2954
|
-
RovingFocusGroupProps_2 as RovingFocusGroupProps,
|
|
2694
|
+
Item_2 as Item,
|
|
2695
|
+
Root_10 as Root,
|
|
2955
2696
|
RovingFocusGroup_2 as RovingFocusGroup,
|
|
2956
|
-
PrimitiveDivProps_7 as PrimitiveDivProps,
|
|
2957
|
-
RovingFocusGroupImplProps,
|
|
2958
|
-
PrimitiveSpanProps_4 as PrimitiveSpanProps,
|
|
2959
|
-
RovingFocusItemProps,
|
|
2960
2697
|
RovingFocusGroupItem,
|
|
2961
|
-
|
|
2962
|
-
|
|
2698
|
+
RovingFocusGroupProps_2 as RovingFocusGroupProps,
|
|
2699
|
+
RovingFocusItemProps,
|
|
2700
|
+
createRovingFocusGroupScope
|
|
2963
2701
|
}
|
|
2964
2702
|
}
|
|
2965
2703
|
|
|
@@ -2970,6 +2708,7 @@ declare interface RovingFocusGroupImplProps extends Omit<PrimitiveDivProps_7, 'd
|
|
|
2970
2708
|
defaultCurrentTabStopId?: string;
|
|
2971
2709
|
onCurrentTabStopIdChange?: (tabStopId: string | null) => void;
|
|
2972
2710
|
onEntryFocus?: (event: Event) => void;
|
|
2711
|
+
preventScrollOnEntryFocus?: boolean;
|
|
2973
2712
|
}
|
|
2974
2713
|
|
|
2975
2714
|
declare const RovingFocusGroupItem: React_2.ForwardRefExoticComponent<RovingFocusItemProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
@@ -2983,7 +2722,7 @@ declare interface RovingFocusGroupOptions {
|
|
|
2983
2722
|
/**
|
|
2984
2723
|
* The direction of navigation between items.
|
|
2985
2724
|
*/
|
|
2986
|
-
dir?:
|
|
2725
|
+
dir?: Direction_2;
|
|
2987
2726
|
/**
|
|
2988
2727
|
* Whether keyboard navigation should loop around
|
|
2989
2728
|
* @defaultValue false
|
|
@@ -2991,14 +2730,14 @@ declare interface RovingFocusGroupOptions {
|
|
|
2991
2730
|
loop?: boolean;
|
|
2992
2731
|
}
|
|
2993
2732
|
|
|
2994
|
-
declare type RovingFocusGroupProps =
|
|
2733
|
+
declare type RovingFocusGroupProps = React_2.ComponentPropsWithoutRef<typeof RovingFocusGroup.Root>;
|
|
2995
2734
|
|
|
2996
2735
|
declare interface RovingFocusGroupProps_2 extends RovingFocusGroupImplProps {
|
|
2997
2736
|
}
|
|
2998
2737
|
|
|
2999
|
-
declare type RovingFocusGroupProps_3 =
|
|
2738
|
+
declare type RovingFocusGroupProps_3 = React_2.ComponentPropsWithoutRef<typeof RovingFocusGroup.Root>;
|
|
3000
2739
|
|
|
3001
|
-
declare type RovingFocusGroupProps_4 =
|
|
2740
|
+
declare type RovingFocusGroupProps_4 = React_3.ComponentPropsWithoutRef<typeof RovingFocusGroup.Root>;
|
|
3002
2741
|
|
|
3003
2742
|
declare interface RovingFocusItemProps extends PrimitiveSpanProps_4 {
|
|
3004
2743
|
tabStopId?: string;
|
|
@@ -3029,34 +2768,10 @@ declare type Scope<C = any> = {
|
|
|
3029
2768
|
[scopeName: string]: React_2.Context<C>[];
|
|
3030
2769
|
} | undefined;
|
|
3031
2770
|
|
|
3032
|
-
declare type Scope_2<C = any> = {
|
|
3033
|
-
[scopeName: string]: React_2.Context<C>[];
|
|
3034
|
-
} | undefined;
|
|
3035
|
-
|
|
3036
|
-
declare type Scope_3<C = any> = {
|
|
3037
|
-
[scopeName: string]: React_2.Context<C>[];
|
|
3038
|
-
} | undefined;
|
|
3039
|
-
|
|
3040
|
-
declare type Scope_4<C = any> = {
|
|
3041
|
-
[scopeName: string]: React_2.Context<C>[];
|
|
3042
|
-
} | undefined;
|
|
3043
|
-
|
|
3044
2771
|
declare type ScopeHook = (scope: Scope) => {
|
|
3045
2772
|
[__scopeProp: string]: Scope;
|
|
3046
2773
|
};
|
|
3047
2774
|
|
|
3048
|
-
declare type ScopeHook_2 = (scope: Scope_2) => {
|
|
3049
|
-
[__scopeProp: string]: Scope_2;
|
|
3050
|
-
};
|
|
3051
|
-
|
|
3052
|
-
declare type ScopeHook_3 = (scope: Scope_3) => {
|
|
3053
|
-
[__scopeProp: string]: Scope_3;
|
|
3054
|
-
};
|
|
3055
|
-
|
|
3056
|
-
declare type ScopeHook_4 = (scope: Scope_4) => {
|
|
3057
|
-
[__scopeProp: string]: Scope_4;
|
|
3058
|
-
};
|
|
3059
|
-
|
|
3060
2775
|
declare const ScrollDownButton: React_2.ForwardRefExoticComponent<SelectScrollDownButtonProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
3061
2776
|
|
|
3062
2777
|
declare const ScrollUpButton: React_2.ForwardRefExoticComponent<SelectScrollUpButtonProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -3159,69 +2874,55 @@ declare interface SelectPortalProps {
|
|
|
3159
2874
|
|
|
3160
2875
|
declare namespace SelectPrimitive {
|
|
3161
2876
|
export {
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
2877
|
+
Arrow_5 as Arrow,
|
|
2878
|
+
Content_7 as Content,
|
|
2879
|
+
Group_3 as Group,
|
|
2880
|
+
Icon_2 as Icon,
|
|
2881
|
+
Item_5 as Item,
|
|
2882
|
+
ItemIndicator_3 as ItemIndicator,
|
|
2883
|
+
ItemText,
|
|
2884
|
+
Label_5 as Label,
|
|
2885
|
+
Portal_5 as Portal,
|
|
2886
|
+
Root_13 as Root,
|
|
2887
|
+
ScrollDownButton,
|
|
2888
|
+
ScrollUpButton,
|
|
3165
2889
|
Select_2 as Select,
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
SelectTrigger_2 as SelectTrigger,
|
|
3169
|
-
PrimitiveSpanProps_6 as PrimitiveSpanProps,
|
|
3170
|
-
SelectValueProps,
|
|
3171
|
-
SelectValue_2 as SelectValue,
|
|
3172
|
-
SelectIconProps,
|
|
3173
|
-
SelectIcon,
|
|
3174
|
-
PortalProps_3 as PortalProps,
|
|
3175
|
-
SelectPortalProps,
|
|
3176
|
-
SelectPortal,
|
|
3177
|
-
SelectContentProps,
|
|
2890
|
+
SelectArrow,
|
|
2891
|
+
SelectArrowProps,
|
|
3178
2892
|
SelectContent_2 as SelectContent,
|
|
3179
|
-
|
|
3180
|
-
FocusScopeProps_3 as FocusScopeProps,
|
|
3181
|
-
SelectPopperPrivateProps,
|
|
3182
|
-
SelectContentImplProps,
|
|
3183
|
-
SelectItemAlignedPositionProps,
|
|
3184
|
-
PopperContentProps_3 as PopperContentProps,
|
|
3185
|
-
SelectPopperPositionProps,
|
|
3186
|
-
PrimitiveDivProps_9 as PrimitiveDivProps,
|
|
3187
|
-
SelectViewportProps,
|
|
3188
|
-
SelectViewport,
|
|
3189
|
-
SelectGroupProps,
|
|
2893
|
+
SelectContentProps,
|
|
3190
2894
|
SelectGroup_2 as SelectGroup,
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
2895
|
+
SelectGroupProps,
|
|
2896
|
+
SelectIcon,
|
|
2897
|
+
SelectIconProps,
|
|
3194
2898
|
SelectItem_2 as SelectItem,
|
|
3195
|
-
SelectItemTextProps,
|
|
3196
|
-
SelectItemText,
|
|
3197
|
-
SelectItemIndicatorProps,
|
|
3198
2899
|
SelectItemIndicator,
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
2900
|
+
SelectItemIndicatorProps,
|
|
2901
|
+
SelectItemProps,
|
|
2902
|
+
SelectItemText,
|
|
2903
|
+
SelectItemTextProps,
|
|
2904
|
+
SelectLabel_2 as SelectLabel,
|
|
2905
|
+
SelectLabelProps,
|
|
2906
|
+
SelectPortal,
|
|
2907
|
+
SelectPortalProps,
|
|
2908
|
+
SelectProps,
|
|
3202
2909
|
SelectScrollDownButton,
|
|
3203
|
-
|
|
3204
|
-
|
|
2910
|
+
SelectScrollDownButtonProps,
|
|
2911
|
+
SelectScrollUpButton,
|
|
2912
|
+
SelectScrollUpButtonProps,
|
|
3205
2913
|
SelectSeparator_2 as SelectSeparator,
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
2914
|
+
SelectSeparatorProps,
|
|
2915
|
+
SelectTrigger_2 as SelectTrigger,
|
|
2916
|
+
SelectTriggerProps,
|
|
2917
|
+
SelectValue_2 as SelectValue,
|
|
2918
|
+
SelectValueProps,
|
|
2919
|
+
SelectViewport,
|
|
2920
|
+
SelectViewportProps,
|
|
2921
|
+
Separator_3 as Separator,
|
|
3210
2922
|
Trigger_5 as Trigger,
|
|
3211
2923
|
Value,
|
|
3212
|
-
Icon_2 as Icon,
|
|
3213
|
-
Portal_5 as Portal,
|
|
3214
|
-
Content_7 as Content,
|
|
3215
2924
|
Viewport,
|
|
3216
|
-
|
|
3217
|
-
Label_5 as Label,
|
|
3218
|
-
Item_5 as Item,
|
|
3219
|
-
ItemText,
|
|
3220
|
-
ItemIndicator_3 as ItemIndicator,
|
|
3221
|
-
ScrollUpButton,
|
|
3222
|
-
ScrollDownButton,
|
|
3223
|
-
Separator_3 as Separator,
|
|
3224
|
-
Arrow_5 as Arrow
|
|
2925
|
+
createSelectScope
|
|
3225
2926
|
}
|
|
3226
2927
|
}
|
|
3227
2928
|
|
|
@@ -3238,6 +2939,7 @@ declare interface SelectProps {
|
|
|
3238
2939
|
autoComplete?: string;
|
|
3239
2940
|
disabled?: boolean;
|
|
3240
2941
|
required?: boolean;
|
|
2942
|
+
form?: string;
|
|
3241
2943
|
}
|
|
3242
2944
|
|
|
3243
2945
|
declare interface SelectScrollButtonImplProps extends PrimitiveDivProps_9 {
|
|
@@ -3279,6 +2981,7 @@ declare interface SelectValueProps extends Omit<PrimitiveSpanProps_6, 'placehold
|
|
|
3279
2981
|
declare const SelectViewport: React_2.ForwardRefExoticComponent<SelectViewportProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
3280
2982
|
|
|
3281
2983
|
declare interface SelectViewportProps extends PrimitiveDivProps_9 {
|
|
2984
|
+
nonce?: string;
|
|
3282
2985
|
}
|
|
3283
2986
|
|
|
3284
2987
|
export declare const SelfScore: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
@@ -3307,7 +3010,7 @@ export declare const SettingsSchedule: (props: SVGProps<SVGSVGElement>) => JSX_2
|
|
|
3307
3010
|
|
|
3308
3011
|
export declare const ShareFeedback: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
3309
3012
|
|
|
3310
|
-
export declare const SharePraiseNudgeData:
|
|
3013
|
+
export declare const SharePraiseNudgeData: default_2.ForwardRefExoticComponent<SharePraiseNudgeDataProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
3311
3014
|
|
|
3312
3015
|
export declare interface SharePraiseNudgeDataProps {
|
|
3313
3016
|
employeeName: string;
|
|
@@ -3317,14 +3020,10 @@ export declare interface SharePraiseNudgeDataProps {
|
|
|
3317
3020
|
truncateExplanation?: boolean;
|
|
3318
3021
|
}
|
|
3319
3022
|
|
|
3320
|
-
declare type Side = typeof SIDE_OPTIONS[number];
|
|
3321
|
-
|
|
3322
|
-
declare type Side_2 = (typeof SIDE_OPTIONS_2)[number];
|
|
3023
|
+
declare type Side = (typeof SIDE_OPTIONS)[number];
|
|
3323
3024
|
|
|
3324
3025
|
declare const SIDE_OPTIONS: readonly ["top", "right", "bottom", "left"];
|
|
3325
3026
|
|
|
3326
|
-
declare const SIDE_OPTIONS_2: readonly ["top", "right", "bottom", "left"];
|
|
3327
|
-
|
|
3328
3027
|
export declare const SliderDrag: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
3329
3028
|
|
|
3330
3029
|
export declare function SplitButton({ children, size, status, variant, ...props }: SplitButtonProps): JSX_2.Element;
|
|
@@ -3416,17 +3115,19 @@ declare const SubTrigger_2: React_2.ForwardRefExoticComponent<DropdownMenuSubTri
|
|
|
3416
3115
|
|
|
3417
3116
|
export declare const Survey: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
|
|
3418
3117
|
|
|
3118
|
+
declare type SwipeDirection = 'top' | 'right' | 'bottom' | 'left';
|
|
3119
|
+
|
|
3419
3120
|
export declare const Switch: React_2.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
3420
|
-
className?: string
|
|
3421
|
-
label?: string
|
|
3422
|
-
id?: string
|
|
3121
|
+
className?: string;
|
|
3122
|
+
label?: string;
|
|
3123
|
+
id?: string;
|
|
3423
3124
|
} & React_2.RefAttributes<HTMLButtonElement>>;
|
|
3424
3125
|
|
|
3425
3126
|
declare const Switch_2: React_2.ForwardRefExoticComponent<SwitchProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
3426
3127
|
|
|
3427
3128
|
declare namespace SwitchPrimitives {
|
|
3428
3129
|
export {
|
|
3429
|
-
|
|
3130
|
+
Root_4 as Root,
|
|
3430
3131
|
Switch_2 as Switch,
|
|
3431
3132
|
SwitchProps,
|
|
3432
3133
|
SwitchThumb,
|
|
@@ -3449,7 +3150,7 @@ declare interface SwitchThumbProps extends PrimitiveSpanProps_2 {
|
|
|
3449
3150
|
}
|
|
3450
3151
|
|
|
3451
3152
|
export declare const Tabs: ForwardRefExoticComponent<Omit<RadixTabs.TabsProps & RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
3452
|
-
|
|
3153
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
3453
3154
|
} & ClassProp) | undefined) => string> & RefAttributes<HTMLDivElement>>;
|
|
3454
3155
|
|
|
3455
3156
|
declare const Tabs_2: React_2.ForwardRefExoticComponent<TabsProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -3543,16 +3244,27 @@ declare const Thumb: React_2.ForwardRefExoticComponent<SwitchThumbProps & React_
|
|
|
3543
3244
|
|
|
3544
3245
|
declare const Title: React_2.ForwardRefExoticComponent<AlertDialogTitleProps & React_2.RefAttributes<HTMLHeadingElement>>;
|
|
3545
3246
|
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3247
|
+
declare type titleT = (() => React_3.ReactNode) | React_3.ReactNode;
|
|
3248
|
+
|
|
3249
|
+
export declare const toast: ((message: titleT, data?: ExternalToast) => string | number) & {
|
|
3250
|
+
success: (message: titleT | React_3.ReactNode, data?: ExternalToast) => string | number;
|
|
3251
|
+
info: (message: titleT | React_3.ReactNode, data?: ExternalToast) => string | number;
|
|
3252
|
+
warning: (message: titleT | React_3.ReactNode, data?: ExternalToast) => string | number;
|
|
3253
|
+
error: (message: titleT | React_3.ReactNode, data?: ExternalToast) => string | number;
|
|
3551
3254
|
custom: (jsx: (id: number | string) => React_3.ReactElement, data?: ExternalToast) => string | number;
|
|
3552
|
-
message: (message:
|
|
3553
|
-
promise: <ToastData>(promise: PromiseT<ToastData>, data?: PromiseData<ToastData>) => string
|
|
3255
|
+
message: (message: titleT | React_3.ReactNode, data?: ExternalToast) => string | number;
|
|
3256
|
+
promise: <ToastData>(promise: PromiseT<ToastData>, data?: PromiseData<ToastData>) => (string & {
|
|
3257
|
+
unwrap: () => Promise<ToastData>;
|
|
3258
|
+
}) | (number & {
|
|
3259
|
+
unwrap: () => Promise<ToastData>;
|
|
3260
|
+
}) | {
|
|
3261
|
+
unwrap: () => Promise<ToastData>;
|
|
3262
|
+
};
|
|
3554
3263
|
dismiss: (id?: number | string) => string | number;
|
|
3555
|
-
loading: (message:
|
|
3264
|
+
loading: (message: titleT | React_3.ReactNode, data?: ExternalToast) => string | number;
|
|
3265
|
+
} & {
|
|
3266
|
+
getHistory: () => (ToastT | ToastToDismiss)[];
|
|
3267
|
+
getToasts: () => (ToastT | ToastToDismiss)[];
|
|
3556
3268
|
};
|
|
3557
3269
|
|
|
3558
3270
|
declare interface ToastClassnames {
|
|
@@ -3569,12 +3281,14 @@ declare interface ToastClassnames {
|
|
|
3569
3281
|
warning?: string;
|
|
3570
3282
|
loading?: string;
|
|
3571
3283
|
default?: string;
|
|
3284
|
+
content?: string;
|
|
3285
|
+
icon?: string;
|
|
3572
3286
|
}
|
|
3573
3287
|
|
|
3574
3288
|
/** Refer https://sonner.emilkowal.ski/toast for more APIs */
|
|
3575
3289
|
export declare const Toaster: ({ ...props }: ToasterProps) => JSX_2.Element;
|
|
3576
3290
|
|
|
3577
|
-
declare const Toaster_2:
|
|
3291
|
+
declare const Toaster_2: React_3.ForwardRefExoticComponent<ToasterProps_2 & React_3.RefAttributes<HTMLElement>>;
|
|
3578
3292
|
|
|
3579
3293
|
declare type ToasterProps = React.ComponentProps<typeof Toaster_2>;
|
|
3580
3294
|
|
|
@@ -3592,8 +3306,10 @@ declare interface ToasterProps_2 {
|
|
|
3592
3306
|
toastOptions?: ToastOptions;
|
|
3593
3307
|
className?: string;
|
|
3594
3308
|
style?: React_3.CSSProperties;
|
|
3595
|
-
offset?:
|
|
3309
|
+
offset?: Offset;
|
|
3310
|
+
mobileOffset?: Offset;
|
|
3596
3311
|
dir?: 'rtl' | 'ltr' | 'auto';
|
|
3312
|
+
swipeDirections?: SwipeDirection[];
|
|
3597
3313
|
/**
|
|
3598
3314
|
* @deprecated Please use the `icons` prop instead:
|
|
3599
3315
|
* ```jsx
|
|
@@ -3606,7 +3322,6 @@ declare interface ToasterProps_2 {
|
|
|
3606
3322
|
icons?: ToastIcons;
|
|
3607
3323
|
containerAriaLabel?: string;
|
|
3608
3324
|
pauseWhenPageIsHidden?: boolean;
|
|
3609
|
-
cn?: CnFunction;
|
|
3610
3325
|
}
|
|
3611
3326
|
|
|
3612
3327
|
declare interface ToastIcons {
|
|
@@ -3615,6 +3330,7 @@ declare interface ToastIcons {
|
|
|
3615
3330
|
warning?: React_3.ReactNode;
|
|
3616
3331
|
error?: React_3.ReactNode;
|
|
3617
3332
|
loading?: React_3.ReactNode;
|
|
3333
|
+
close?: React_3.ReactNode;
|
|
3618
3334
|
}
|
|
3619
3335
|
|
|
3620
3336
|
declare interface ToastOptions {
|
|
@@ -3631,25 +3347,19 @@ declare interface ToastOptions {
|
|
|
3631
3347
|
|
|
3632
3348
|
declare interface ToastT {
|
|
3633
3349
|
id: number | string;
|
|
3634
|
-
title?:
|
|
3350
|
+
title?: (() => React_3.ReactNode) | React_3.ReactNode;
|
|
3635
3351
|
type?: ToastTypes;
|
|
3636
3352
|
icon?: React_3.ReactNode;
|
|
3637
3353
|
jsx?: React_3.ReactNode;
|
|
3354
|
+
richColors?: boolean;
|
|
3638
3355
|
invert?: boolean;
|
|
3639
3356
|
closeButton?: boolean;
|
|
3640
3357
|
dismissible?: boolean;
|
|
3641
|
-
description?: React_3.ReactNode;
|
|
3358
|
+
description?: (() => React_3.ReactNode) | React_3.ReactNode;
|
|
3642
3359
|
duration?: number;
|
|
3643
3360
|
delete?: boolean;
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
label: React_3.ReactNode;
|
|
3647
|
-
onClick: (event: React_3.MouseEvent<HTMLButtonElement>) => void;
|
|
3648
|
-
};
|
|
3649
|
-
cancel?: {
|
|
3650
|
-
label: React_3.ReactNode;
|
|
3651
|
-
onClick?: (event: React_3.MouseEvent<HTMLButtonElement>) => void;
|
|
3652
|
-
};
|
|
3361
|
+
action?: Action_2 | React_3.ReactNode;
|
|
3362
|
+
cancel?: Action_2 | React_3.ReactNode;
|
|
3653
3363
|
onDismiss?: (toast: ToastT) => void;
|
|
3654
3364
|
onAutoClose?: (toast: ToastT) => void;
|
|
3655
3365
|
promise?: PromiseT;
|
|
@@ -3663,6 +3373,11 @@ declare interface ToastT {
|
|
|
3663
3373
|
position?: Position;
|
|
3664
3374
|
}
|
|
3665
3375
|
|
|
3376
|
+
declare interface ToastToDismiss {
|
|
3377
|
+
id: number | string;
|
|
3378
|
+
dismiss: boolean;
|
|
3379
|
+
}
|
|
3380
|
+
|
|
3666
3381
|
declare type ToastTypes = 'normal' | 'action' | 'success' | 'info' | 'warning' | 'error' | 'loading' | 'default';
|
|
3667
3382
|
|
|
3668
3383
|
declare const Toggle: React_2.ForwardRefExoticComponent<ToggleProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
@@ -3683,7 +3398,7 @@ declare interface ToggleGroupImplMultipleProps extends ToggleGroupImplProps {
|
|
|
3683
3398
|
onValueChange?(value: string[]): void;
|
|
3684
3399
|
}
|
|
3685
3400
|
|
|
3686
|
-
declare interface ToggleGroupImplProps extends
|
|
3401
|
+
declare interface ToggleGroupImplProps extends PrimitiveDivProps_11 {
|
|
3687
3402
|
/**
|
|
3688
3403
|
* Whether the group is disabled from user interaction.
|
|
3689
3404
|
* @defaultValue false
|
|
@@ -3750,7 +3465,7 @@ declare interface ToggleProps extends PrimitiveButtonProps_2 {
|
|
|
3750
3465
|
onPressedChange?(pressed: boolean): void;
|
|
3751
3466
|
}
|
|
3752
3467
|
|
|
3753
|
-
declare type ToggleProps_2 =
|
|
3468
|
+
declare type ToggleProps_2 = React_3.ComponentPropsWithoutRef<typeof Toggle>;
|
|
3754
3469
|
|
|
3755
3470
|
export declare const Tooltip: FC<TooltipPrimitive.TooltipProps>;
|
|
3756
3471
|
|
|
@@ -3814,31 +3529,25 @@ declare interface TooltipPortalProps {
|
|
|
3814
3529
|
|
|
3815
3530
|
declare namespace TooltipPrimitive {
|
|
3816
3531
|
export {
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3532
|
+
Arrow_6 as Arrow,
|
|
3533
|
+
Content_9 as Content,
|
|
3534
|
+
Portal_6 as Portal,
|
|
3535
|
+
Provider,
|
|
3536
|
+
Root_15 as Root,
|
|
3821
3537
|
Tooltip_2 as Tooltip,
|
|
3822
|
-
PrimitiveButtonProps_8 as PrimitiveButtonProps,
|
|
3823
|
-
TooltipTriggerProps,
|
|
3824
|
-
TooltipTrigger_2 as TooltipTrigger,
|
|
3825
|
-
PortalProps_4 as PortalProps,
|
|
3826
|
-
TooltipPortalProps,
|
|
3827
|
-
TooltipPortal_2 as TooltipPortal,
|
|
3828
|
-
TooltipContentProps,
|
|
3829
|
-
TooltipContent_2 as TooltipContent,
|
|
3830
|
-
DismissableLayerProps_4 as DismissableLayerProps,
|
|
3831
|
-
PopperContentProps_4 as PopperContentProps,
|
|
3832
|
-
TooltipContentImplProps,
|
|
3833
|
-
PopperArrowProps_4 as PopperArrowProps,
|
|
3834
|
-
TooltipArrowProps,
|
|
3835
3538
|
TooltipArrow,
|
|
3836
|
-
|
|
3837
|
-
|
|
3539
|
+
TooltipArrowProps,
|
|
3540
|
+
TooltipContent_2 as TooltipContent,
|
|
3541
|
+
TooltipContentProps,
|
|
3542
|
+
TooltipPortal_2 as TooltipPortal,
|
|
3543
|
+
TooltipPortalProps,
|
|
3544
|
+
TooltipProps,
|
|
3545
|
+
TooltipProvider_2 as TooltipProvider,
|
|
3546
|
+
TooltipProviderProps,
|
|
3547
|
+
TooltipTrigger_2 as TooltipTrigger,
|
|
3548
|
+
TooltipTriggerProps,
|
|
3838
3549
|
Trigger_7 as Trigger,
|
|
3839
|
-
|
|
3840
|
-
Content_9 as Content,
|
|
3841
|
-
Arrow_6 as Arrow
|
|
3550
|
+
createTooltipScope
|
|
3842
3551
|
}
|
|
3843
3552
|
}
|
|
3844
3553
|
|