@4alldigital/foundation-ui--gamma 1.22.1 → 1.24.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/foundation-ui.css +1 -1
- package/dist/index.esm.js +307 -102
- package/dist/index.js +308 -101
- package/dist/types/fui/components/Blockquote/Blockquote.d.ts +2 -3
- package/dist/types/fui/components/Button/Button.d.ts +3 -2
- package/dist/types/fui/components/Button/Button.types.d.ts +20 -4
- package/dist/types/fui/components/Checkbox/Checkbox.d.ts +5 -0
- package/dist/types/fui/components/Checkbox/Checkbox.stories.d.ts +6 -0
- package/dist/types/fui/components/Checkbox/Checkbox.test.d.ts +1 -0
- package/dist/types/fui/components/Checkbox/Checkbox.types.d.ts +12 -0
- package/dist/types/fui/components/Checkbox/index.d.ts +1 -0
- package/dist/types/fui/components/Container/Container.d.ts +3 -2
- package/dist/types/fui/components/Container/Container.types.d.ts +1 -0
- package/dist/types/fui/components/ContentPageLayout/ContentPageLayout.d.ts +5 -1
- package/dist/types/fui/components/ContentRowsLayout/ContentRowsLayout.d.ts +3 -4
- package/dist/types/fui/components/Copy/Copy.d.ts +4 -8
- package/dist/types/fui/components/Copy/Copy.types.d.ts +11 -10
- package/dist/types/fui/components/FileUpload/FileUpload.d.ts +5 -0
- package/dist/types/fui/components/FileUpload/FileUpload.stories.d.ts +6 -0
- package/dist/types/fui/components/FileUpload/FileUpload.test.d.ts +1 -0
- package/dist/types/fui/components/FileUpload/FileUpload.types.d.ts +7 -0
- package/dist/types/fui/components/FileUpload/index.d.ts +1 -0
- package/dist/types/fui/components/Form/Form.d.ts +8 -0
- package/dist/types/fui/components/Form/Form.stories.d.ts +7 -0
- package/dist/types/fui/components/Form/Form.test.d.ts +1 -0
- package/dist/types/fui/components/Form/Form.types.d.ts +27 -0
- package/dist/types/fui/components/Form/index.d.ts +1 -0
- package/dist/types/fui/components/FormField/FormField.d.ts +8 -0
- package/dist/types/fui/components/FormField/FormField.stories.d.ts +7 -0
- package/dist/types/fui/components/FormField/FormField.test.d.ts +1 -0
- package/dist/types/fui/components/FormField/FormField.types.d.ts +34 -0
- package/dist/types/fui/components/FormField/index.d.ts +1 -0
- package/dist/types/fui/components/FormSelect/FormSelect.d.ts +8 -0
- package/dist/types/fui/components/FormSelect/FormSelect.stories.d.ts +6 -0
- package/dist/types/fui/components/FormSelect/FormSelect.test.d.ts +1 -0
- package/dist/types/fui/components/FormSelect/FormSelect.types.d.ts +41 -0
- package/dist/types/fui/components/FormSelect/index.d.ts +1 -0
- package/dist/types/fui/components/Heading/Heading.d.ts +3 -4
- package/dist/types/fui/components/Hr/Hr.d.ts +4 -1
- package/dist/types/fui/components/Icon/Icon.d.ts +3 -4
- package/dist/types/fui/components/Icon/Icon.types.d.ts +2 -1
- package/dist/types/fui/components/Image/Image.d.ts +5 -1
- package/dist/types/fui/components/Label/Label.d.ts +8 -0
- package/dist/types/fui/components/Label/Label.stories.d.ts +6 -0
- package/dist/types/fui/components/Label/Label.test.d.ts +1 -0
- package/dist/types/fui/components/Label/Label.types.d.ts +4 -0
- package/dist/types/fui/components/Label/index.d.ts +1 -0
- package/dist/types/fui/components/Link/Link.d.ts +2 -6
- package/dist/types/fui/components/List/List.d.ts +4 -5
- package/dist/types/fui/components/List/List.types.d.ts +1 -0
- package/dist/types/fui/components/ListItem/ListItem.d.ts +3 -4
- package/dist/types/fui/components/ListItem/ListItem.types.d.ts +1 -0
- package/dist/types/fui/components/Loader/Loader.d.ts +3 -4
- package/dist/types/fui/components/Loader/Loader.types.d.ts +1 -0
- package/dist/types/fui/components/Notice/Notice.d.ts +5 -1
- package/dist/types/fui/components/Radio/Radio.d.ts +5 -0
- package/dist/types/fui/components/Radio/Radio.stories.d.ts +6 -0
- package/dist/types/fui/components/Radio/Radio.test.d.ts +1 -0
- package/dist/types/fui/components/Radio/Radio.types.d.ts +13 -0
- package/dist/types/fui/components/Radio/index.d.ts +1 -0
- package/dist/types/fui/components/Switch/Switch.d.ts +5 -0
- package/dist/types/fui/components/Switch/Switch.stories.d.ts +6 -0
- package/dist/types/fui/components/Switch/Switch.test.d.ts +1 -0
- package/dist/types/fui/components/Switch/Switch.types.d.ts +7 -0
- package/dist/types/fui/components/Switch/index.d.ts +1 -0
- package/dist/types/fui/components/TextInput/TextInput.d.ts +5 -0
- package/dist/types/fui/components/TextInput/TextInput.stories.d.ts +6 -0
- package/dist/types/fui/components/TextInput/TextInput.test.d.ts +1 -0
- package/dist/types/fui/components/TextInput/TextInput.types.d.ts +35 -0
- package/dist/types/fui/components/TextInput/index.d.ts +1 -0
- package/dist/types/fui/components/index.d.ts +2 -0
- package/dist/types/fui/hooks/useTheme.d.ts +1 -0
- package/package.json +2 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Checkbox';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Props } from './Container.types';
|
|
2
2
|
declare const Container: {
|
|
3
|
-
({ children, className, spacing }: Props): React.ReactElement;
|
|
4
|
-
|
|
3
|
+
({ children, className, spacing, padded }: Props): React.ReactElement;
|
|
4
|
+
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
export default Container;
|
|
7
|
+
export type { Props };
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import { Props } from './ContentPageLayout.types';
|
|
2
|
-
declare const ContentPageLayout:
|
|
2
|
+
declare const ContentPageLayout: {
|
|
3
|
+
({ spacing, children, narrow, flush, className, }: Props): React.ReactElement;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
3
6
|
export default ContentPageLayout;
|
|
7
|
+
export type { Props };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { Props
|
|
1
|
+
import { Props } from './ContentRowsLayout.types';
|
|
2
2
|
declare const ContentRowsLayout: {
|
|
3
3
|
({ className, children, size }: Props): React.ReactElement;
|
|
4
|
-
|
|
5
|
-
size: SIZE;
|
|
6
|
-
};
|
|
4
|
+
displayName: string;
|
|
7
5
|
};
|
|
8
6
|
export default ContentRowsLayout;
|
|
7
|
+
export type { Props };
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Props } from './Copy.types';
|
|
2
2
|
declare const Copy: {
|
|
3
|
-
({ children,
|
|
4
|
-
|
|
5
|
-
inverted: boolean;
|
|
6
|
-
maxLength: boolean;
|
|
7
|
-
tag: Tag;
|
|
8
|
-
align: Align;
|
|
9
|
-
};
|
|
3
|
+
({ children, as: Tag, size, align, transform, id, testID, }: Props): React.ReactElement;
|
|
4
|
+
displayName: string;
|
|
10
5
|
};
|
|
11
6
|
export default Copy;
|
|
7
|
+
export type { Props };
|
|
@@ -1,40 +1,41 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare enum
|
|
2
|
+
export declare enum ALIGN {
|
|
3
3
|
LEFT = "left",
|
|
4
4
|
CENTER = "center",
|
|
5
5
|
RIGHT = "right",
|
|
6
6
|
JUSTIFY = "justify",
|
|
7
7
|
NOWRAP = "nowrap"
|
|
8
8
|
}
|
|
9
|
-
export declare enum
|
|
9
|
+
export declare enum TRANSFORM {
|
|
10
10
|
LOWERCASE = "lowercase",
|
|
11
11
|
UPPERCASE = "uppercase",
|
|
12
12
|
CAPITALIZE = "capitalize",
|
|
13
13
|
NORMALCASE = "normal-case"
|
|
14
14
|
}
|
|
15
|
-
export declare enum
|
|
15
|
+
export declare enum CONTEXTUAL {
|
|
16
16
|
INVERTED = "inverted",
|
|
17
17
|
MUTED = "muted"
|
|
18
18
|
}
|
|
19
|
-
export declare enum
|
|
19
|
+
export declare enum SIZE {
|
|
20
20
|
SMALL = "small",
|
|
21
21
|
LARGE = "large",
|
|
22
22
|
INTRO = "intro"
|
|
23
23
|
}
|
|
24
|
-
export declare enum
|
|
24
|
+
export declare enum TAG {
|
|
25
25
|
P = "p",
|
|
26
|
+
SPAN = "span",
|
|
26
27
|
DIV = "div",
|
|
27
28
|
SMALL = "small"
|
|
28
29
|
}
|
|
29
30
|
export interface Props {
|
|
30
31
|
children: string | Array<React.ReactNode> | React.ReactNode;
|
|
31
|
-
align?:
|
|
32
|
-
size?:
|
|
33
|
-
transform?:
|
|
34
|
-
contextual?:
|
|
32
|
+
align?: ALIGN;
|
|
33
|
+
size?: SIZE;
|
|
34
|
+
transform?: TRANSFORM;
|
|
35
|
+
contextual?: CONTEXTUAL;
|
|
35
36
|
inverted?: boolean;
|
|
36
37
|
maxLength?: boolean;
|
|
37
|
-
|
|
38
|
+
as?: TAG;
|
|
38
39
|
id?: string;
|
|
39
40
|
testID?: string;
|
|
40
41
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './FileUpload';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Props } from './Form.types';
|
|
3
|
+
declare const Form: {
|
|
4
|
+
({ children, className, submit, onSubmit, hideSubmit, ariaSubmitLabel, submitID, initialValues, submitVariant, }: Props): React.ReactElement;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default Form;
|
|
8
|
+
export type { Props };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BTN_VARIANTS } from "../Button/Button.types";
|
|
3
|
+
export interface Props {
|
|
4
|
+
/** The form inputs and content. */
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
/** Additional classes. */
|
|
7
|
+
className?: string;
|
|
8
|
+
/** Disable form inputs validation. */
|
|
9
|
+
noValidate?: boolean;
|
|
10
|
+
/** The submit handler that will fire once the form is submitted. */
|
|
11
|
+
onSubmit: (values: {
|
|
12
|
+
[k: string]: FormDataEntryValue;
|
|
13
|
+
}) => void;
|
|
14
|
+
/** The label for the submit button. */
|
|
15
|
+
submit?: string;
|
|
16
|
+
/** Hide submit button. */
|
|
17
|
+
hideSubmit?: boolean;
|
|
18
|
+
/** The aria-label attribute value for the submit button. */
|
|
19
|
+
ariaSubmitLabel?: string;
|
|
20
|
+
/** Unique form submit button id. */
|
|
21
|
+
submitID?: string;
|
|
22
|
+
/** Initial form values. */
|
|
23
|
+
initialValues?: {
|
|
24
|
+
[k: string]: FormDataEntryValue;
|
|
25
|
+
};
|
|
26
|
+
submitVariant?: BTN_VARIANTS;
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Form';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Props } from './FormField.types';
|
|
3
|
+
declare const FormField: {
|
|
4
|
+
({ name, type, label, required, className, icon, options, disabled, description, showPasswordLabel, hidePasswordLabel, }: Props): React.ReactElement;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default FormField;
|
|
8
|
+
export type { Props };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import FormField from '.';
|
|
3
|
+
declare const meta: Meta<typeof FormField>;
|
|
4
|
+
type Story = StoryObj<typeof FormField>;
|
|
5
|
+
export declare const Default: Story;
|
|
6
|
+
export declare const Example: Story;
|
|
7
|
+
export default meta;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare enum FieldTypes {
|
|
2
|
+
TEXT = "text",
|
|
3
|
+
TEXTAREA = "textarea",
|
|
4
|
+
SELECT = "select",
|
|
5
|
+
CHECKBOX = "checkbox",
|
|
6
|
+
RADIO = "radio",
|
|
7
|
+
SWITCH = "switch",
|
|
8
|
+
DATE = "date",
|
|
9
|
+
TIME = "time",
|
|
10
|
+
DATETIME = "datetime",
|
|
11
|
+
FILE = "file",
|
|
12
|
+
PASSWORD = "password",
|
|
13
|
+
EMAIL = "email",
|
|
14
|
+
NUMBER = "number",
|
|
15
|
+
TEL = "tel",
|
|
16
|
+
URL = "url",
|
|
17
|
+
SEARCH = "search"
|
|
18
|
+
}
|
|
19
|
+
export interface Props {
|
|
20
|
+
type: FieldTypes;
|
|
21
|
+
name: string;
|
|
22
|
+
className?: string;
|
|
23
|
+
label?: string;
|
|
24
|
+
required?: boolean;
|
|
25
|
+
icon?: string;
|
|
26
|
+
options?: {
|
|
27
|
+
value: string;
|
|
28
|
+
label: string;
|
|
29
|
+
}[];
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
description?: string;
|
|
32
|
+
showPasswordLabel?: string;
|
|
33
|
+
hidePasswordLabel?: string;
|
|
34
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './FormField';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Props } from './FormSelect.types';
|
|
3
|
+
declare const FormSelect: {
|
|
4
|
+
({ id, name, options, required, className, disabled }: Props): React.ReactElement;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default FormSelect;
|
|
8
|
+
export type { Props };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type OptionsType = {
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
/** The selected option's value. */
|
|
6
|
+
defaultValue?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export interface Props {
|
|
10
|
+
/** The selected option's value. */
|
|
11
|
+
options: Array<OptionsType>;
|
|
12
|
+
/** Unique id for the field, required for a11y. */
|
|
13
|
+
id: string;
|
|
14
|
+
/** The select visible default label value. */
|
|
15
|
+
label?: string;
|
|
16
|
+
/** Is field required. */
|
|
17
|
+
required?: boolean;
|
|
18
|
+
/** Additional classes. */
|
|
19
|
+
className?: string;
|
|
20
|
+
/** Dropdown icon color. */
|
|
21
|
+
iconColor?: string;
|
|
22
|
+
/** Dropdown icon color. */
|
|
23
|
+
itemIcon?: string;
|
|
24
|
+
/** Additional wrapper CSS classes. */
|
|
25
|
+
wrapperStyles?: string;
|
|
26
|
+
/** Select Up Icon. */
|
|
27
|
+
selectIconUp?: string;
|
|
28
|
+
/** Select Down Icon. */
|
|
29
|
+
selectIconDown?: string;
|
|
30
|
+
/** Select Form Item Name. */
|
|
31
|
+
name?: string;
|
|
32
|
+
/** Is field disabled. */
|
|
33
|
+
disabled?: boolean;
|
|
34
|
+
}
|
|
35
|
+
export interface ItemProps {
|
|
36
|
+
children: React.ReactNode;
|
|
37
|
+
value: string;
|
|
38
|
+
itemIcon: string;
|
|
39
|
+
iconColor?: string;
|
|
40
|
+
}
|
|
41
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './FormSelect';
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Props } from './Heading.types';
|
|
2
2
|
declare const Heading: {
|
|
3
3
|
({ children, tag, transform, align, id, testID, flush, className }: Props): React.ReactElement;
|
|
4
|
-
|
|
5
|
-
tag: HeadingTag;
|
|
6
|
-
};
|
|
4
|
+
displayName: string;
|
|
7
5
|
};
|
|
8
6
|
export default Heading;
|
|
7
|
+
export type { Props };
|
|
@@ -4,9 +4,8 @@ import { Props } from './Icon.types';
|
|
|
4
4
|
* List of supported icons can be found at https://icon-sets.iconify.design.
|
|
5
5
|
*/
|
|
6
6
|
declare const Icon: {
|
|
7
|
-
({ name, size, color, id, testID }: Props): React.ReactElement;
|
|
8
|
-
|
|
9
|
-
size: number;
|
|
10
|
-
};
|
|
7
|
+
({ name, size, color, id, className, testID }: Props): React.ReactElement;
|
|
8
|
+
displayName: string;
|
|
11
9
|
};
|
|
12
10
|
export default Icon;
|
|
11
|
+
export type { Props };
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import { Props } from './Image.types';
|
|
2
|
-
declare const Image:
|
|
2
|
+
declare const Image: {
|
|
3
|
+
({ src, alt, title, caption, figure, onLoad, id, className, testID, }: Props): React.ReactElement;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
3
6
|
export default Image;
|
|
7
|
+
export type { Props };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Label';
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import { Props } from './Link.types';
|
|
2
2
|
declare const Link: {
|
|
3
3
|
({ href, children, onClick, history, target, id, testID, className }: Props): React.ReactElement;
|
|
4
|
-
|
|
5
|
-
href: undefined;
|
|
6
|
-
onClick: () => void;
|
|
7
|
-
history: undefined;
|
|
8
|
-
target: undefined;
|
|
9
|
-
};
|
|
4
|
+
displayName: string;
|
|
10
5
|
};
|
|
11
6
|
export default Link;
|
|
7
|
+
export type { Props };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Props } from './List.types';
|
|
2
2
|
declare const List: {
|
|
3
|
-
({ variants, children, as, id, testID, }: Props): React.ReactElement;
|
|
4
|
-
|
|
5
|
-
as: ListTag;
|
|
6
|
-
};
|
|
3
|
+
({ variants, children, as, id, testID, className }: Props): React.ReactElement;
|
|
4
|
+
displayName: string;
|
|
7
5
|
};
|
|
8
6
|
export default List;
|
|
7
|
+
export type { Props };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Props } from './ListItem.types';
|
|
2
2
|
declare const ListItem: {
|
|
3
|
-
({ children, as: Tag, id, testID }: Props): React.ReactElement;
|
|
4
|
-
|
|
5
|
-
as: string;
|
|
6
|
-
};
|
|
3
|
+
({ children, as: Tag, id, testID, className }: Props): React.ReactElement;
|
|
4
|
+
displayName: string;
|
|
7
5
|
};
|
|
8
6
|
export default ListItem;
|
|
7
|
+
export type { Props };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Props } from './Loader.types';
|
|
2
2
|
declare const Loader: {
|
|
3
|
-
({ size }: Props): React.ReactElement;
|
|
4
|
-
|
|
5
|
-
size: number;
|
|
6
|
-
};
|
|
3
|
+
({ color, size, thickness }: Props): React.ReactElement;
|
|
4
|
+
displayName: string;
|
|
7
5
|
};
|
|
8
6
|
export default Loader;
|
|
7
|
+
export type { Props };
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import { Props } from './Notice.types';
|
|
2
|
-
declare const Notice:
|
|
2
|
+
declare const Notice: {
|
|
3
|
+
({ foo, id, testID }: Props): React.ReactElement;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
3
6
|
export default Notice;
|
|
7
|
+
export type { Props };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Radio';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Switch';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare enum InputType {
|
|
3
|
+
TEXT = "text",
|
|
4
|
+
PASSWORD = "password",
|
|
5
|
+
EMAIL = "email",
|
|
6
|
+
NUMBER = "number",
|
|
7
|
+
TEL = "tel",
|
|
8
|
+
URL = "url",
|
|
9
|
+
SEARCH = "search",
|
|
10
|
+
DATE = "date",
|
|
11
|
+
TIME = "time",
|
|
12
|
+
DATETIME = "datetime-local",
|
|
13
|
+
MONTH = "month",
|
|
14
|
+
WEEK = "week",
|
|
15
|
+
FILE = "file",
|
|
16
|
+
TEXTAREA = "textarea"
|
|
17
|
+
}
|
|
18
|
+
export interface Props {
|
|
19
|
+
/** Input type. */
|
|
20
|
+
type?: InputType;
|
|
21
|
+
/** Specify if input is required. */
|
|
22
|
+
required?: boolean;
|
|
23
|
+
/** Custom style attributes. */
|
|
24
|
+
className?: string;
|
|
25
|
+
/** OnChange function handler. */
|
|
26
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
27
|
+
/** Placeholder text. */
|
|
28
|
+
placeholder?: string;
|
|
29
|
+
/** Input name attribute. */
|
|
30
|
+
name?: string;
|
|
31
|
+
/** Input icon value. */
|
|
32
|
+
icon?: string;
|
|
33
|
+
/** Input status. */
|
|
34
|
+
disabled?: boolean;
|
|
35
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './TextInput';
|
|
@@ -13,3 +13,5 @@ export { default as Loader } from './Loader';
|
|
|
13
13
|
export { default as Container } from './Container';
|
|
14
14
|
export { default as ContentPageLayout } from './ContentPageLayout';
|
|
15
15
|
export { default as ContentRowsLayout } from './ContentRowsLayout';
|
|
16
|
+
export { default as Form } from './Form';
|
|
17
|
+
export { default as FormField } from './FormField';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function useTheme(): any;
|