@qodo/design-system 0.20.24 → 0.20.26
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/design-system.css +1 -1
- package/dist/index.cjs.js +35 -35
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.esm.js +1741 -1730
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -153,6 +153,9 @@ declare type BaseSelectProps = {
|
|
|
153
153
|
size?: "xs" | "default";
|
|
154
154
|
contentMaxWidth?: string;
|
|
155
155
|
error?: boolean;
|
|
156
|
+
renderFooter?: (props: {
|
|
157
|
+
onClose: () => void;
|
|
158
|
+
}) => ReactNode;
|
|
156
159
|
} & Omit<default_3.HTMLAttributes<HTMLDivElement>, "onSelect">;
|
|
157
160
|
|
|
158
161
|
export declare const borderRadius: {
|
|
@@ -566,6 +569,7 @@ declare const INSIGHT_VARIANTS: {
|
|
|
566
569
|
DEFAULT: string;
|
|
567
570
|
PRIMARY: string;
|
|
568
571
|
ACTIVE: string;
|
|
572
|
+
DESTRUCTIVE: string;
|
|
569
573
|
};
|
|
570
574
|
|
|
571
575
|
export declare function InsightCard({ title, description, caption, additionalContent, titleClassName: propTitleClassName, descriptionClassName: propDescriptionClassName, variant, className, icon, iconClassName: propIconClassName, size, rightContent, }: InsightCardProps): JSX_2.Element;
|
|
@@ -712,7 +716,7 @@ declare const SearchSize: {
|
|
|
712
716
|
LARGE: string;
|
|
713
717
|
};
|
|
714
718
|
|
|
715
|
-
export declare function Select({ value, options, onSelect: propsOnSelect, disabled, readOnly, mode, placeholder, inputPlaceholder, emptyState, triggerClassName, triggerWrapperClassName, badgeClassName, badgeVariant, searchable, toggleIcon, dir, variant, iconPosition, selectionIndicator, onSearchChange, renderValue, size, contentMaxWidth, error, ...rest }: SelectProps): JSX_2.Element;
|
|
719
|
+
export declare function Select({ value, options, onSelect: propsOnSelect, disabled, readOnly, mode, placeholder, inputPlaceholder, emptyState, triggerClassName, triggerWrapperClassName, badgeClassName, badgeVariant, searchable, toggleIcon, dir, variant, iconPosition, selectionIndicator, onSearchChange, renderValue, size, contentMaxWidth, error, renderFooter, ...rest }: SelectProps): JSX_2.Element;
|
|
716
720
|
|
|
717
721
|
declare const SELECT_MODE: {
|
|
718
722
|
SINGLE: string;
|