@datacrest/dcuikit 1.0.13 → 1.0.15
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/build/components/Atom/Button/Button.types.d.ts +1 -1
- package/build/components/Atom/TextArea/utils.d.ts +0 -12
- package/build/components/Molecule/AlertDialog/AlertDialog.stories.d.ts +1 -0
- package/build/components/Molecule/Carousel/Carousel.stories.d.ts +1 -0
- package/build/components/Molecule/Drawer/Drawer.stories.d.ts +1 -0
- package/build/components/Molecule/Message/Message.stories.d.ts +7 -0
- package/build/components/Molecule/Otp/Otp.stories.d.ts +1 -0
- package/build/components/Molecule/Popover/Popover.stories.d.ts +1 -0
- package/build/components/Molecule/ProfileCard/ProfileCard.stories.d.ts +1 -0
- package/build/components/Molecule/Tabs/Tabs.stories.d.ts +1 -0
- package/build/index.css +1 -1
- package/build/index.esm.css +1 -1
- package/build/index.esm.js +9 -9
- package/build/index.esm.js.map +1 -1
- package/build/index.js +8 -8
- package/build/index.js.map +1 -1
- package/build/tsconfig.prod.tsbuildinfo +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
-
export type ButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'danger' | 'warning' | 'link' | 'harford';
|
|
2
|
+
export type ButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'gradient' | 'danger' | 'warning' | 'link' | 'harford';
|
|
3
3
|
export type ButtonDisplayType = 'default' | 'badge';
|
|
4
4
|
export type ButtonStatus = 'accepted' | 'pending';
|
|
5
5
|
export type ButtonSizes = 'small' | 'medium' | 'large';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export interface Prop {
|
|
3
2
|
resize: boolean;
|
|
4
3
|
disabled: boolean;
|
|
@@ -12,15 +11,4 @@ export interface Prop {
|
|
|
12
11
|
value?: string;
|
|
13
12
|
currentValue: string;
|
|
14
13
|
}
|
|
15
|
-
export declare const generateBaseClasses: (resize: boolean) => string;
|
|
16
|
-
export declare const generateContainerClasses: ({ disabled, floatingLabel, isLabelFloated, focused, error, }: Pick<Prop, "disabled" | "floatingLabel" | "isLabelFloated" | "focused" | "error">) => string;
|
|
17
|
-
export declare const generateWrapperClasses: ({ fluid, width, className, }: Pick<Prop, "fluid" | "width" | "className">) => string;
|
|
18
|
-
export declare const generateWrapperStyle: (width?: string) => React.CSSProperties;
|
|
19
14
|
export declare const getCurrentLength: (value?: string, currentValue?: string) => number;
|
|
20
|
-
export declare const generateFloatingLabelClasses: ({ isLabelFloated, focused, error, }: {
|
|
21
|
-
isLabelFloated: boolean;
|
|
22
|
-
focused: boolean;
|
|
23
|
-
error: boolean;
|
|
24
|
-
}) => string;
|
|
25
|
-
export declare const generateBorderClasses: (focused: boolean, error: boolean) => string;
|
|
26
|
-
export declare const generateNotchWidth: (label?: string, required?: boolean) => number;
|
|
@@ -52,6 +52,13 @@ declare const _default: {
|
|
|
52
52
|
description: string;
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
+
tags: string[];
|
|
56
|
+
parameters: {
|
|
57
|
+
design: {
|
|
58
|
+
type: string;
|
|
59
|
+
url: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
55
62
|
};
|
|
56
63
|
export default _default;
|
|
57
64
|
export declare const Message: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Omit<MessageProps, "destroy"> & {
|