smartsell-ui-kit 0.1.1 → 0.1.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.cjs +1284 -1574
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +1241 -1530
- package/dist/index.js.map +1 -1
- package/package.json +11 -5
package/dist/index.d.cts
CHANGED
|
@@ -34,7 +34,7 @@ interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'dan
|
|
|
34
34
|
leadingIcon?: ReactNode;
|
|
35
35
|
trailingIcon?: ReactNode;
|
|
36
36
|
}
|
|
37
|
-
declare function Button({ variant, size, leadingIcon, trailingIcon, children, disabled, style, type,
|
|
37
|
+
declare function Button({ variant, size, leadingIcon, trailingIcon, children, disabled, className, style, type, ...rest }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
38
38
|
|
|
39
39
|
interface CardProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'dangerouslySetInnerHTML' | 'title'> {
|
|
40
40
|
children: ReactNode;
|
|
@@ -43,7 +43,7 @@ interface CardProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'd
|
|
|
43
43
|
action?: ReactNode;
|
|
44
44
|
padded?: boolean;
|
|
45
45
|
}
|
|
46
|
-
declare function Card({ children, eyebrow, title, action, padded,
|
|
46
|
+
declare function Card({ children, eyebrow, title, action, padded, className, ...rest }: CardProps): react_jsx_runtime.JSX.Element;
|
|
47
47
|
|
|
48
48
|
interface CardSmallProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'dangerouslySetInnerHTML' | 'title' | 'color'> {
|
|
49
49
|
title?: ReactNode;
|
|
@@ -51,7 +51,7 @@ interface CardSmallProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'
|
|
|
51
51
|
icon?: ReactNode;
|
|
52
52
|
color?: CSSProperties['color'];
|
|
53
53
|
}
|
|
54
|
-
declare function CardSmall({ title, value, icon, color, style, ...rest }: CardSmallProps): react_jsx_runtime.JSX.Element;
|
|
54
|
+
declare function CardSmall({ title, value, icon, color, className, style, ...rest }: CardSmallProps): react_jsx_runtime.JSX.Element;
|
|
55
55
|
|
|
56
56
|
interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'dangerouslySetInnerHTML' | 'size' | 'type'> {
|
|
57
57
|
label?: ReactNode;
|
|
@@ -149,7 +149,7 @@ interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'danger
|
|
|
149
149
|
showPasswordToggle?: boolean;
|
|
150
150
|
fileButtonLabel?: ReactNode;
|
|
151
151
|
}
|
|
152
|
-
declare function Input({ label, hint, error, controlSize, showPasswordToggle, fileButtonLabel, id, disabled, placeholder, onChange, style, type, ...rest }: InputProps): react_jsx_runtime.JSX.Element;
|
|
152
|
+
declare function Input({ label, hint, error, controlSize, className, showPasswordToggle, fileButtonLabel, id, disabled, placeholder, onChange, style, type, ...rest }: InputProps): react_jsx_runtime.JSX.Element;
|
|
153
153
|
|
|
154
154
|
type ModalActionAppearance = 'text' | 'outlined' | 'contained' | 'link';
|
|
155
155
|
type ModalThemeColors = {
|
|
@@ -210,7 +210,7 @@ interface SeparatorProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'
|
|
|
210
210
|
color?: CSSProperties['backgroundColor'];
|
|
211
211
|
size?: CSSProperties['width'];
|
|
212
212
|
}
|
|
213
|
-
declare function Separator({ orientation, color, size, style, ...rest }: SeparatorProps): react_jsx_runtime.JSX.Element;
|
|
213
|
+
declare function Separator({ orientation, color, size, className, style, ...rest }: SeparatorProps): react_jsx_runtime.JSX.Element;
|
|
214
214
|
|
|
215
215
|
interface SharedSelectProps extends Omit<SelectHTMLAttributes<HTMLSelectElement>, 'dangerouslySetInnerHTML' | 'size'> {
|
|
216
216
|
label?: ReactNode;
|
package/dist/index.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'dan
|
|
|
34
34
|
leadingIcon?: ReactNode;
|
|
35
35
|
trailingIcon?: ReactNode;
|
|
36
36
|
}
|
|
37
|
-
declare function Button({ variant, size, leadingIcon, trailingIcon, children, disabled, style, type,
|
|
37
|
+
declare function Button({ variant, size, leadingIcon, trailingIcon, children, disabled, className, style, type, ...rest }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
38
38
|
|
|
39
39
|
interface CardProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'dangerouslySetInnerHTML' | 'title'> {
|
|
40
40
|
children: ReactNode;
|
|
@@ -43,7 +43,7 @@ interface CardProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'd
|
|
|
43
43
|
action?: ReactNode;
|
|
44
44
|
padded?: boolean;
|
|
45
45
|
}
|
|
46
|
-
declare function Card({ children, eyebrow, title, action, padded,
|
|
46
|
+
declare function Card({ children, eyebrow, title, action, padded, className, ...rest }: CardProps): react_jsx_runtime.JSX.Element;
|
|
47
47
|
|
|
48
48
|
interface CardSmallProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'dangerouslySetInnerHTML' | 'title' | 'color'> {
|
|
49
49
|
title?: ReactNode;
|
|
@@ -51,7 +51,7 @@ interface CardSmallProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'
|
|
|
51
51
|
icon?: ReactNode;
|
|
52
52
|
color?: CSSProperties['color'];
|
|
53
53
|
}
|
|
54
|
-
declare function CardSmall({ title, value, icon, color, style, ...rest }: CardSmallProps): react_jsx_runtime.JSX.Element;
|
|
54
|
+
declare function CardSmall({ title, value, icon, color, className, style, ...rest }: CardSmallProps): react_jsx_runtime.JSX.Element;
|
|
55
55
|
|
|
56
56
|
interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'dangerouslySetInnerHTML' | 'size' | 'type'> {
|
|
57
57
|
label?: ReactNode;
|
|
@@ -149,7 +149,7 @@ interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'danger
|
|
|
149
149
|
showPasswordToggle?: boolean;
|
|
150
150
|
fileButtonLabel?: ReactNode;
|
|
151
151
|
}
|
|
152
|
-
declare function Input({ label, hint, error, controlSize, showPasswordToggle, fileButtonLabel, id, disabled, placeholder, onChange, style, type, ...rest }: InputProps): react_jsx_runtime.JSX.Element;
|
|
152
|
+
declare function Input({ label, hint, error, controlSize, className, showPasswordToggle, fileButtonLabel, id, disabled, placeholder, onChange, style, type, ...rest }: InputProps): react_jsx_runtime.JSX.Element;
|
|
153
153
|
|
|
154
154
|
type ModalActionAppearance = 'text' | 'outlined' | 'contained' | 'link';
|
|
155
155
|
type ModalThemeColors = {
|
|
@@ -210,7 +210,7 @@ interface SeparatorProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'
|
|
|
210
210
|
color?: CSSProperties['backgroundColor'];
|
|
211
211
|
size?: CSSProperties['width'];
|
|
212
212
|
}
|
|
213
|
-
declare function Separator({ orientation, color, size, style, ...rest }: SeparatorProps): react_jsx_runtime.JSX.Element;
|
|
213
|
+
declare function Separator({ orientation, color, size, className, style, ...rest }: SeparatorProps): react_jsx_runtime.JSX.Element;
|
|
214
214
|
|
|
215
215
|
interface SharedSelectProps extends Omit<SelectHTMLAttributes<HTMLSelectElement>, 'dangerouslySetInnerHTML' | 'size'> {
|
|
216
216
|
label?: ReactNode;
|