@momo-webplatform/mobase 0.2.69 → 0.2.71
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/cjs/index.cjs +13 -13
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +9 -5
- package/dist/esm/index.d.ts +9 -5
- package/dist/esm/index.js +15 -15
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.d.cts
CHANGED
|
@@ -509,9 +509,13 @@ interface DateSelectProps {
|
|
|
509
509
|
* The earliest year to start the month navigation.
|
|
510
510
|
*/
|
|
511
511
|
toYear?: number;
|
|
512
|
+
/**
|
|
513
|
+
* disable unselect date
|
|
514
|
+
*/
|
|
515
|
+
disableUnselect?: boolean;
|
|
512
516
|
}
|
|
513
517
|
|
|
514
|
-
declare const DateSelect: ({ label, selected, onSelect, size, message, isError, disabled, dateFormat, lang, fromYear, toYear, }: DateSelectProps) => react_jsx_runtime.JSX.Element;
|
|
518
|
+
declare const DateSelect: ({ label, selected, onSelect, size, message, isError, disabled, dateFormat, lang, fromYear, toYear, disableUnselect, }: DateSelectProps) => react_jsx_runtime.JSX.Element;
|
|
515
519
|
|
|
516
520
|
declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
517
521
|
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -812,7 +816,7 @@ interface TextAreaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
|
812
816
|
declare const TextArea: React$1.ForwardRefExoticComponent<TextAreaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
813
817
|
|
|
814
818
|
declare const Toast$1: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React$1.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
815
|
-
variant?: "error" | "
|
|
819
|
+
variant?: "error" | "success" | "warning" | null | undefined;
|
|
816
820
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLLIElement>>;
|
|
817
821
|
declare const ToastAction: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
818
822
|
type ToastProps = React$1.ComponentPropsWithoutRef<typeof Toast$1>;
|
|
@@ -1102,10 +1106,10 @@ interface CalloutProps {
|
|
|
1102
1106
|
icon?: React.ReactNode;
|
|
1103
1107
|
}
|
|
1104
1108
|
declare const Callout: React$1.ForwardRefExoticComponent<CalloutProps & VariantProps<(props?: ({
|
|
1105
|
-
typeDiv?: "error" | "
|
|
1109
|
+
typeDiv?: "error" | "success" | "warning" | "neutral" | "info" | null | undefined;
|
|
1106
1110
|
disabled?: boolean | null | undefined;
|
|
1107
1111
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & VariantProps<(props?: ({
|
|
1108
|
-
typeIcon?: "error" | "
|
|
1112
|
+
typeIcon?: "error" | "success" | "warning" | "neutral" | "info" | null | undefined;
|
|
1109
1113
|
disabled?: boolean | null | undefined;
|
|
1110
1114
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1111
1115
|
|
|
@@ -1563,7 +1567,7 @@ interface TestimonialData {
|
|
|
1563
1567
|
*/
|
|
1564
1568
|
description?: string;
|
|
1565
1569
|
/**
|
|
1566
|
-
* Rating of the testimonial. value from
|
|
1570
|
+
* Rating of the testimonial. value from 0 to 5. If value is 0, rating will be hidden.
|
|
1567
1571
|
*/
|
|
1568
1572
|
rating?: number;
|
|
1569
1573
|
/**
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -509,9 +509,13 @@ interface DateSelectProps {
|
|
|
509
509
|
* The earliest year to start the month navigation.
|
|
510
510
|
*/
|
|
511
511
|
toYear?: number;
|
|
512
|
+
/**
|
|
513
|
+
* disable unselect date
|
|
514
|
+
*/
|
|
515
|
+
disableUnselect?: boolean;
|
|
512
516
|
}
|
|
513
517
|
|
|
514
|
-
declare const DateSelect: ({ label, selected, onSelect, size, message, isError, disabled, dateFormat, lang, fromYear, toYear, }: DateSelectProps) => react_jsx_runtime.JSX.Element;
|
|
518
|
+
declare const DateSelect: ({ label, selected, onSelect, size, message, isError, disabled, dateFormat, lang, fromYear, toYear, disableUnselect, }: DateSelectProps) => react_jsx_runtime.JSX.Element;
|
|
515
519
|
|
|
516
520
|
declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
517
521
|
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -812,7 +816,7 @@ interface TextAreaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
|
812
816
|
declare const TextArea: React$1.ForwardRefExoticComponent<TextAreaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
813
817
|
|
|
814
818
|
declare const Toast$1: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React$1.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
815
|
-
variant?: "error" | "
|
|
819
|
+
variant?: "error" | "success" | "warning" | null | undefined;
|
|
816
820
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLLIElement>>;
|
|
817
821
|
declare const ToastAction: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
818
822
|
type ToastProps = React$1.ComponentPropsWithoutRef<typeof Toast$1>;
|
|
@@ -1102,10 +1106,10 @@ interface CalloutProps {
|
|
|
1102
1106
|
icon?: React.ReactNode;
|
|
1103
1107
|
}
|
|
1104
1108
|
declare const Callout: React$1.ForwardRefExoticComponent<CalloutProps & VariantProps<(props?: ({
|
|
1105
|
-
typeDiv?: "error" | "
|
|
1109
|
+
typeDiv?: "error" | "success" | "warning" | "neutral" | "info" | null | undefined;
|
|
1106
1110
|
disabled?: boolean | null | undefined;
|
|
1107
1111
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & VariantProps<(props?: ({
|
|
1108
|
-
typeIcon?: "error" | "
|
|
1112
|
+
typeIcon?: "error" | "success" | "warning" | "neutral" | "info" | null | undefined;
|
|
1109
1113
|
disabled?: boolean | null | undefined;
|
|
1110
1114
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1111
1115
|
|
|
@@ -1563,7 +1567,7 @@ interface TestimonialData {
|
|
|
1563
1567
|
*/
|
|
1564
1568
|
description?: string;
|
|
1565
1569
|
/**
|
|
1566
|
-
* Rating of the testimonial. value from
|
|
1570
|
+
* Rating of the testimonial. value from 0 to 5. If value is 0, rating will be hidden.
|
|
1567
1571
|
*/
|
|
1568
1572
|
rating?: number;
|
|
1569
1573
|
/**
|