@zimyo/ui 1.17.2 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts
CHANGED
|
@@ -94,12 +94,14 @@ interface SelectProps extends Omit<Props<Option, boolean, GroupBase<Option>>, 'o
|
|
|
94
94
|
floatingLabel?: boolean;
|
|
95
95
|
maxChipVisible?: number;
|
|
96
96
|
description?: string;
|
|
97
|
+
enableSelectAll?: boolean;
|
|
98
|
+
selectAllLabel?: string;
|
|
97
99
|
options?: Option[];
|
|
98
100
|
loadOptions?: (inputValue: string) => Promise<Option[]>;
|
|
99
101
|
cacheOptions?: boolean;
|
|
100
102
|
defaultOptions?: boolean | Option[];
|
|
101
103
|
}
|
|
102
|
-
declare function Select({ label, error, className, size, required, valueKey, labelKey, isMulti, value, options, loadOptions, cacheOptions, defaultOptions, onChange, searchByID, floatingLabel, maxChipVisible, description, isDisabled, defaultValue, ...props }: SelectProps): react_jsx_runtime.JSX.Element;
|
|
104
|
+
declare function Select({ label, error, className, size, required, valueKey, labelKey, isMulti, value, options, loadOptions, cacheOptions, defaultOptions, onChange, searchByID, floatingLabel, maxChipVisible, description, isDisabled, defaultValue, enableSelectAll, selectAllLabel, ...props }: SelectProps): react_jsx_runtime.JSX.Element;
|
|
103
105
|
|
|
104
106
|
interface AccordionProps extends Omit<AccordionProps$1, 'sx' | 'onChange' | 'expanded'> {
|
|
105
107
|
type?: 'single' | 'multiple';
|
|
@@ -242,7 +244,7 @@ interface BadgeProps extends VariantProps<typeof badgeVariants> {
|
|
|
242
244
|
declare const badgeVariants: (props?: ({
|
|
243
245
|
variant?: "text" | "outlined" | "contained" | null | undefined;
|
|
244
246
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
245
|
-
type?: "default" | "
|
|
247
|
+
type?: "default" | "success" | "error" | "info" | "warning" | null | undefined;
|
|
246
248
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
247
249
|
declare const Badge: ({ label, icon, iconPosition, dot, dotPosition, variant, size, type, color, className, }: BadgeProps) => react_jsx_runtime.JSX.Element;
|
|
248
250
|
|