@mlw-packages/react-components 1.8.2 → 1.8.3
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/index.d.mts +11 -10
- package/dist/index.d.ts +11 -10
- package/dist/index.js +3429 -3425
- package/dist/index.mjs +2903 -2899
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -267,13 +267,14 @@ declare const TooltipTriggerBase: React$1.ForwardRefExoticComponent<Omit<Tooltip
|
|
|
267
267
|
declare const TooltipContentBase: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
268
268
|
|
|
269
269
|
declare const buttonVariantsBase: (props?: ({
|
|
270
|
-
variant?: "
|
|
271
|
-
size?: "
|
|
270
|
+
variant?: "select" | "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
271
|
+
size?: "select" | "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
272
272
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
273
273
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariantsBase> {
|
|
274
274
|
asChild?: boolean;
|
|
275
275
|
testid?: string;
|
|
276
276
|
isLoading?: boolean;
|
|
277
|
+
tooltip?: string;
|
|
277
278
|
}
|
|
278
279
|
declare const ButtonBase: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
279
280
|
interface ButtonGroupProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
@@ -444,7 +445,7 @@ declare const CommandBase: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
444
445
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
445
446
|
} & {
|
|
446
447
|
asChild?: boolean;
|
|
447
|
-
}, "
|
|
448
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
448
449
|
label?: string;
|
|
449
450
|
shouldFilter?: boolean;
|
|
450
451
|
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
@@ -462,7 +463,7 @@ declare const CommandInputBase: React$1.ForwardRefExoticComponent<Omit<Omit<Pick
|
|
|
462
463
|
ref?: React$1.Ref<HTMLInputElement>;
|
|
463
464
|
} & {
|
|
464
465
|
asChild?: boolean;
|
|
465
|
-
}, "
|
|
466
|
+
}, "key" | "asChild" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
|
|
466
467
|
value?: string;
|
|
467
468
|
onValueChange?: (search: string) => void;
|
|
468
469
|
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & {
|
|
@@ -474,7 +475,7 @@ declare const CommandListBase: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
474
475
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
475
476
|
} & {
|
|
476
477
|
asChild?: boolean;
|
|
477
|
-
}, "
|
|
478
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
478
479
|
label?: string;
|
|
479
480
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
480
481
|
testid?: string;
|
|
@@ -485,7 +486,7 @@ declare const CommandEmptyBase: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
485
486
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
486
487
|
} & {
|
|
487
488
|
asChild?: boolean;
|
|
488
|
-
}, "
|
|
489
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
489
490
|
testid?: string;
|
|
490
491
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
491
492
|
declare const CommandGroupBase: React$1.ForwardRefExoticComponent<Omit<{
|
|
@@ -494,7 +495,7 @@ declare const CommandGroupBase: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
494
495
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
495
496
|
} & {
|
|
496
497
|
asChild?: boolean;
|
|
497
|
-
}, "
|
|
498
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild">, "heading" | "value"> & {
|
|
498
499
|
heading?: React$1.ReactNode;
|
|
499
500
|
value?: string;
|
|
500
501
|
forceMount?: boolean;
|
|
@@ -505,7 +506,7 @@ declare const CommandSeparatorBase: React$1.ForwardRefExoticComponent<Omit<Pick<
|
|
|
505
506
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
506
507
|
} & {
|
|
507
508
|
asChild?: boolean;
|
|
508
|
-
}, "
|
|
509
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
509
510
|
alwaysRender?: boolean;
|
|
510
511
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
511
512
|
testid?: string;
|
|
@@ -516,7 +517,7 @@ declare const CommandItemBase: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
516
517
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
517
518
|
} & {
|
|
518
519
|
asChild?: boolean;
|
|
519
|
-
}, "
|
|
520
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
|
|
520
521
|
disabled?: boolean;
|
|
521
522
|
onSelect?: (value: string) => void;
|
|
522
523
|
value?: string;
|
|
@@ -658,7 +659,7 @@ declare const SheetCloseBase: React$1.ForwardRefExoticComponent<DialogPrimitive.
|
|
|
658
659
|
declare const SheetPortalBase: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
659
660
|
declare const SheetOverlayBase: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
660
661
|
declare const sheetVariants: (props?: ({
|
|
661
|
-
side?: "left" | "right" | "
|
|
662
|
+
side?: "left" | "right" | "top" | "bottom" | null | undefined;
|
|
662
663
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
663
664
|
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
664
665
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -267,13 +267,14 @@ declare const TooltipTriggerBase: React$1.ForwardRefExoticComponent<Omit<Tooltip
|
|
|
267
267
|
declare const TooltipContentBase: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
268
268
|
|
|
269
269
|
declare const buttonVariantsBase: (props?: ({
|
|
270
|
-
variant?: "
|
|
271
|
-
size?: "
|
|
270
|
+
variant?: "select" | "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
271
|
+
size?: "select" | "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
272
272
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
273
273
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariantsBase> {
|
|
274
274
|
asChild?: boolean;
|
|
275
275
|
testid?: string;
|
|
276
276
|
isLoading?: boolean;
|
|
277
|
+
tooltip?: string;
|
|
277
278
|
}
|
|
278
279
|
declare const ButtonBase: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
279
280
|
interface ButtonGroupProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
@@ -444,7 +445,7 @@ declare const CommandBase: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
444
445
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
445
446
|
} & {
|
|
446
447
|
asChild?: boolean;
|
|
447
|
-
}, "
|
|
448
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
448
449
|
label?: string;
|
|
449
450
|
shouldFilter?: boolean;
|
|
450
451
|
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
@@ -462,7 +463,7 @@ declare const CommandInputBase: React$1.ForwardRefExoticComponent<Omit<Omit<Pick
|
|
|
462
463
|
ref?: React$1.Ref<HTMLInputElement>;
|
|
463
464
|
} & {
|
|
464
465
|
asChild?: boolean;
|
|
465
|
-
}, "
|
|
466
|
+
}, "key" | "asChild" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
|
|
466
467
|
value?: string;
|
|
467
468
|
onValueChange?: (search: string) => void;
|
|
468
469
|
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & {
|
|
@@ -474,7 +475,7 @@ declare const CommandListBase: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
474
475
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
475
476
|
} & {
|
|
476
477
|
asChild?: boolean;
|
|
477
|
-
}, "
|
|
478
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
478
479
|
label?: string;
|
|
479
480
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
480
481
|
testid?: string;
|
|
@@ -485,7 +486,7 @@ declare const CommandEmptyBase: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
485
486
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
486
487
|
} & {
|
|
487
488
|
asChild?: boolean;
|
|
488
|
-
}, "
|
|
489
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
489
490
|
testid?: string;
|
|
490
491
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
491
492
|
declare const CommandGroupBase: React$1.ForwardRefExoticComponent<Omit<{
|
|
@@ -494,7 +495,7 @@ declare const CommandGroupBase: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
494
495
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
495
496
|
} & {
|
|
496
497
|
asChild?: boolean;
|
|
497
|
-
}, "
|
|
498
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild">, "heading" | "value"> & {
|
|
498
499
|
heading?: React$1.ReactNode;
|
|
499
500
|
value?: string;
|
|
500
501
|
forceMount?: boolean;
|
|
@@ -505,7 +506,7 @@ declare const CommandSeparatorBase: React$1.ForwardRefExoticComponent<Omit<Pick<
|
|
|
505
506
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
506
507
|
} & {
|
|
507
508
|
asChild?: boolean;
|
|
508
|
-
}, "
|
|
509
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
509
510
|
alwaysRender?: boolean;
|
|
510
511
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
511
512
|
testid?: string;
|
|
@@ -516,7 +517,7 @@ declare const CommandItemBase: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
516
517
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
517
518
|
} & {
|
|
518
519
|
asChild?: boolean;
|
|
519
|
-
}, "
|
|
520
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
|
|
520
521
|
disabled?: boolean;
|
|
521
522
|
onSelect?: (value: string) => void;
|
|
522
523
|
value?: string;
|
|
@@ -658,7 +659,7 @@ declare const SheetCloseBase: React$1.ForwardRefExoticComponent<DialogPrimitive.
|
|
|
658
659
|
declare const SheetPortalBase: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
659
660
|
declare const SheetOverlayBase: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
660
661
|
declare const sheetVariants: (props?: ({
|
|
661
|
-
side?: "left" | "right" | "
|
|
662
|
+
side?: "left" | "right" | "top" | "bottom" | null | undefined;
|
|
662
663
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
663
664
|
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
664
665
|
}
|