@20minutes/hela 2.9.3 → 2.9.5
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.es.js +2088 -2050
- package/dist/index.umd.js +2 -2
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- package/dist/scss/abstracts/variables/_variables.scss +1 -1
- package/dist/src/components/atoms/Checkbox/Checkbox.d.ts +2 -0
- package/dist/src/components/atoms/Input/Input.d.ts +2 -0
- package/dist/src/components/atoms/Select/Select.d.ts +2 -0
- package/dist/src/components/atoms/Textarea/Textarea.d.ts +2 -0
- package/dist/src/components/molecules/SearchBanner/SearchBanner.stories.d.ts +2 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -3,5 +3,7 @@ export interface CheckboxProps extends React.InputHTMLAttributes<HTMLInputElemen
|
|
|
3
3
|
label?: string;
|
|
4
4
|
variant?: 'success' | 'error';
|
|
5
5
|
variantLabel?: 'default' | 'error' | 'success';
|
|
6
|
+
hint?: string;
|
|
7
|
+
error?: string;
|
|
6
8
|
}
|
|
7
9
|
export declare const Checkbox: React.FC<CheckboxProps>;
|
|
@@ -12,6 +12,8 @@ export interface InputOptions {
|
|
|
12
12
|
isRounded?: boolean;
|
|
13
13
|
isTransparent?: boolean;
|
|
14
14
|
isLarge?: boolean;
|
|
15
|
+
hint?: string;
|
|
16
|
+
error?: string;
|
|
15
17
|
}
|
|
16
18
|
export type InputProps = InputOptions & Pick<ColorSystemProps, 'color'> & AsProps<'input'>;
|
|
17
19
|
export declare const Input: import('../../../types').ComponentWithAs<"input", InputProps>;
|
|
@@ -13,6 +13,8 @@ export interface SelectOptions {
|
|
|
13
13
|
variant?: 'default' | 'primary';
|
|
14
14
|
icon?: IconNameType;
|
|
15
15
|
isLarge?: boolean;
|
|
16
|
+
hint?: string;
|
|
17
|
+
error?: string;
|
|
16
18
|
}
|
|
17
19
|
export type SelectProps = SelectOptions & PaddingSystemProps & AsProps<'select'>;
|
|
18
20
|
export declare const Select: import('../../../types').ComponentWithAs<"select", SelectProps>;
|
|
@@ -6,6 +6,8 @@ export interface TextareaOptions {
|
|
|
6
6
|
msg?: MessageType[];
|
|
7
7
|
rows?: number;
|
|
8
8
|
containerProps?: FlexProps;
|
|
9
|
+
hint?: string;
|
|
10
|
+
error?: string;
|
|
9
11
|
}
|
|
10
12
|
export type TextareaProps = TextareaOptions & AsProps<'textarea'>;
|
|
11
13
|
export declare const Textarea: import('../../../types').ComponentWithAs<"textarea", TextareaProps>;
|
|
@@ -19,6 +19,8 @@ declare const meta: {
|
|
|
19
19
|
isRounded?: boolean | undefined;
|
|
20
20
|
isTransparent?: boolean | undefined;
|
|
21
21
|
isLarge?: boolean | undefined;
|
|
22
|
+
hint?: string | undefined;
|
|
23
|
+
error?: string | undefined;
|
|
22
24
|
color?: string | undefined;
|
|
23
25
|
form?: string | undefined;
|
|
24
26
|
slot?: string | undefined;
|