suus-component-library 0.1.5 → 0.1.7
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/README.md +2 -64
- package/dist/components/form/button/Button.d.ts +17 -0
- package/dist/components/form/button/Button.d.ts.map +1 -0
- package/dist/components/form/{buttons/input-button/InputButton.stories.d.ts → button/Button.stories.d.ts} +3 -3
- package/dist/components/form/button/Button.stories.d.ts.map +1 -0
- package/dist/components/form/button/index.d.ts +3 -0
- package/dist/components/form/button/index.d.ts.map +1 -0
- package/dist/components/form/checkbox/Checkbox.d.ts +9 -0
- package/dist/components/form/checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/form/checkbox/Checkbox.stories.d.ts +25 -0
- package/dist/components/form/checkbox/Checkbox.stories.d.ts.map +1 -0
- package/dist/components/form/checkbox/index.d.ts +3 -0
- package/dist/components/form/checkbox/index.d.ts.map +1 -0
- package/dist/components/form/chip/Chip.d.ts +24 -0
- package/dist/components/form/chip/Chip.d.ts.map +1 -0
- package/dist/components/form/chip/Chip.stories.d.ts +37 -0
- package/dist/components/form/chip/Chip.stories.d.ts.map +1 -0
- package/dist/components/form/chip/index.d.ts +3 -0
- package/dist/components/form/chip/index.d.ts.map +1 -0
- package/dist/components/form/date-picker/DatePicker.d.ts +46 -0
- package/dist/components/form/date-picker/DatePicker.d.ts.map +1 -0
- package/dist/components/form/date-picker/DatePicker.stories.d.ts +389 -0
- package/dist/components/form/date-picker/DatePicker.stories.d.ts.map +1 -0
- package/dist/components/form/date-picker/index.d.ts +3 -0
- package/dist/components/form/date-picker/index.d.ts.map +1 -0
- package/dist/components/form/dropdown/Dropdown.d.ts +33 -0
- package/dist/components/form/dropdown/Dropdown.d.ts.map +1 -0
- package/dist/components/form/dropdown/Dropdown.stories.d.ts +370 -0
- package/dist/components/form/dropdown/Dropdown.stories.d.ts.map +1 -0
- package/dist/components/form/dropdown/index.d.ts +3 -0
- package/dist/components/form/dropdown/index.d.ts.map +1 -0
- package/dist/components/form/link/Link.d.ts +35 -0
- package/dist/components/form/link/Link.d.ts.map +1 -0
- package/dist/components/form/link/Link.stories.d.ts +56 -0
- package/dist/components/form/link/Link.stories.d.ts.map +1 -0
- package/dist/components/form/link/index.d.ts +3 -0
- package/dist/components/form/link/index.d.ts.map +1 -0
- package/dist/components/form/password/Password.d.ts +24 -0
- package/dist/components/form/password/Password.d.ts.map +1 -0
- package/dist/components/form/password/Password.stories.d.ts +73 -0
- package/dist/components/form/password/Password.stories.d.ts.map +1 -0
- package/dist/components/form/password/index.d.ts +3 -0
- package/dist/components/form/password/index.d.ts.map +1 -0
- package/dist/components/form/postal-code/PostalCode.d.ts +64 -0
- package/dist/components/form/postal-code/PostalCode.d.ts.map +1 -0
- package/dist/components/form/postal-code/PostalCode.stories.d.ts +384 -0
- package/dist/components/form/postal-code/PostalCode.stories.d.ts.map +1 -0
- package/dist/components/form/postal-code/index.d.ts +3 -0
- package/dist/components/form/postal-code/index.d.ts.map +1 -0
- package/dist/components/form/radiobutton/RadioButton.d.ts +34 -0
- package/dist/components/form/radiobutton/RadioButton.d.ts.map +1 -0
- package/dist/components/form/radiobutton/RadioButton.stories.d.ts +74 -0
- package/dist/components/form/radiobutton/RadioButton.stories.d.ts.map +1 -0
- package/dist/components/form/radiobutton/index.d.ts +3 -0
- package/dist/components/form/radiobutton/index.d.ts.map +1 -0
- package/dist/components/form/switch/Switch.d.ts +28 -0
- package/dist/components/form/switch/Switch.d.ts.map +1 -0
- package/dist/components/form/switch/Switch.stories.d.ts +62 -0
- package/dist/components/form/switch/Switch.stories.d.ts.map +1 -0
- package/dist/components/form/switch/index.d.ts +3 -0
- package/dist/components/form/switch/index.d.ts.map +1 -0
- package/dist/components/form/textfield/TextField.d.ts +23 -0
- package/dist/components/form/textfield/TextField.d.ts.map +1 -0
- package/dist/components/form/textfield/TextField.stories.d.ts +59 -0
- package/dist/components/form/textfield/TextField.stories.d.ts.map +1 -0
- package/dist/components/form/textfield/index.d.ts +3 -0
- package/dist/components/form/textfield/index.d.ts.map +1 -0
- package/dist/components/form/upload/Upload.d.ts +37 -0
- package/dist/components/form/upload/Upload.d.ts.map +1 -0
- package/dist/components/form/upload/Upload.stories.d.ts +389 -0
- package/dist/components/form/upload/Upload.stories.d.ts.map +1 -0
- package/dist/components/form/upload/index.d.ts +3 -0
- package/dist/components/form/upload/index.d.ts.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/suus-component-library.css +1 -1
- package/dist/suus-component-library.js +2 -2
- package/dist/suus-component-library.umd.cjs +1 -1
- package/package.json +8 -4
- package/dist/components/form/buttons/input-button/InputButton.d.ts +0 -14
- package/dist/components/form/buttons/input-button/InputButton.d.ts.map +0 -1
- package/dist/components/form/buttons/input-button/InputButton.stories.d.ts.map +0 -1
- package/dist/components/form/buttons/input-button/index.d.ts +0 -3
- package/dist/components/form/buttons/input-button/index.d.ts.map +0 -1
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as Switch } from './Switch';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof Switch;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
argTypes: {
|
|
11
|
+
name: {
|
|
12
|
+
control: "text";
|
|
13
|
+
};
|
|
14
|
+
label: {
|
|
15
|
+
control: "text";
|
|
16
|
+
};
|
|
17
|
+
variant: {
|
|
18
|
+
control: "select";
|
|
19
|
+
options: string[];
|
|
20
|
+
};
|
|
21
|
+
checked: {
|
|
22
|
+
control: "boolean";
|
|
23
|
+
};
|
|
24
|
+
defaultChecked: {
|
|
25
|
+
control: "boolean";
|
|
26
|
+
};
|
|
27
|
+
disabled: {
|
|
28
|
+
control: "boolean";
|
|
29
|
+
};
|
|
30
|
+
required: {
|
|
31
|
+
control: "boolean";
|
|
32
|
+
};
|
|
33
|
+
error: {
|
|
34
|
+
control: "text";
|
|
35
|
+
};
|
|
36
|
+
onChange: {
|
|
37
|
+
action: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
args: {
|
|
41
|
+
name: string;
|
|
42
|
+
label: string;
|
|
43
|
+
variant: "default";
|
|
44
|
+
disabled: false;
|
|
45
|
+
required: false;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export default meta;
|
|
49
|
+
type Story = StoryObj<typeof meta>;
|
|
50
|
+
export declare const Default: Story;
|
|
51
|
+
export declare const Checked: Story;
|
|
52
|
+
export declare const Disabled: Story;
|
|
53
|
+
export declare const DisabledChecked: Story;
|
|
54
|
+
export declare const Error: Story;
|
|
55
|
+
export declare const WithoutLabel: Story;
|
|
56
|
+
export declare const Glassy: Story;
|
|
57
|
+
export declare const GlassyChecked: Story;
|
|
58
|
+
export declare const GlassyDisabled: Story;
|
|
59
|
+
export declare const GlassyDisabledChecked: Story;
|
|
60
|
+
export declare const GlassyError: Story;
|
|
61
|
+
export declare const Controlled: Story;
|
|
62
|
+
//# sourceMappingURL=Switch.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Switch.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/form/switch/Switch.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CqB,CAAC;AAEhC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAOtB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAQ7B,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAOnB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAK1B,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAWpB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAY3B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAY5B,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,KAanC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAYzB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KA8BxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/form/switch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { InputHTMLAttributes, Ref } from 'react';
|
|
2
|
+
export type TextFieldProps = {
|
|
3
|
+
label: string;
|
|
4
|
+
name: string;
|
|
5
|
+
error?: string;
|
|
6
|
+
variant?: "glassy" | "default";
|
|
7
|
+
ref?: Ref<HTMLInputElement>;
|
|
8
|
+
} & InputHTMLAttributes<HTMLInputElement>;
|
|
9
|
+
/**
|
|
10
|
+
* A reusable TextField component that can be used across the application.
|
|
11
|
+
*
|
|
12
|
+
* How to use it in your application:
|
|
13
|
+
*
|
|
14
|
+
* <TextField
|
|
15
|
+
* label="E-Mail"
|
|
16
|
+
* placeholder="deine@email.ch"
|
|
17
|
+
* variant="glassy"
|
|
18
|
+
* error={errors.email?.message}
|
|
19
|
+
* {...register("email")}
|
|
20
|
+
* />
|
|
21
|
+
*/
|
|
22
|
+
export default function TextField({ label, name, error, placeholder, variant, className, ref, ...rest }: TextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
//# sourceMappingURL=TextField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../src/components/form/textfield/TextField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,mBAAmB,EAAE,GAAG,EAAC,MAAM,OAAO,CAAC;AAGpD,MAAM,MAAM,cAAc,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC/B,GAAG,CAAC,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAAC;CAC/B,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EACI,KAAK,EACL,IAAI,EACJ,KAAK,EACL,WAAW,EACX,OAAmB,EACnB,SAAS,EACT,GAAG,EACH,GAAG,IAAI,EACV,EAAE,cAAc,2CAwClD"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as TextField } from './TextField';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof TextField;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
argTypes: {
|
|
11
|
+
variant: {
|
|
12
|
+
control: "select";
|
|
13
|
+
options: string[];
|
|
14
|
+
};
|
|
15
|
+
disabled: {
|
|
16
|
+
control: "boolean";
|
|
17
|
+
};
|
|
18
|
+
required: {
|
|
19
|
+
control: "boolean";
|
|
20
|
+
};
|
|
21
|
+
label: {
|
|
22
|
+
control: "text";
|
|
23
|
+
};
|
|
24
|
+
name: {
|
|
25
|
+
control: "text";
|
|
26
|
+
};
|
|
27
|
+
placeholder: {
|
|
28
|
+
control: "text";
|
|
29
|
+
};
|
|
30
|
+
error: {
|
|
31
|
+
control: "text";
|
|
32
|
+
};
|
|
33
|
+
type: {
|
|
34
|
+
control: "select";
|
|
35
|
+
options: string[];
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
args: {
|
|
39
|
+
name: string;
|
|
40
|
+
label: string;
|
|
41
|
+
placeholder: string;
|
|
42
|
+
type: "text";
|
|
43
|
+
variant: "default";
|
|
44
|
+
disabled: false;
|
|
45
|
+
required: false;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export default meta;
|
|
49
|
+
type Story = StoryObj<typeof meta>;
|
|
50
|
+
export declare const Default: Story;
|
|
51
|
+
export declare const DefaultWithValue: Story;
|
|
52
|
+
export declare const DefaultRequired: Story;
|
|
53
|
+
export declare const DefaultError: Story;
|
|
54
|
+
export declare const DefaultDisabled: Story;
|
|
55
|
+
export declare const Glassy: Story;
|
|
56
|
+
export declare const GlassyWithValue: Story;
|
|
57
|
+
export declare const GlassyError: Story;
|
|
58
|
+
export declare const GlassyDisabled: Story;
|
|
59
|
+
//# sourceMappingURL=TextField.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextField.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/form/textfield/TextField.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CwB,CAAC;AAEnC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAQ9B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAQ7B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAQ1B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAQ7B,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAYpB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAa7B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAazB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAa5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/form/textfield/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { InputHTMLAttributes } from 'react';
|
|
2
|
+
export type UploadProps = {
|
|
3
|
+
label: string;
|
|
4
|
+
name: string;
|
|
5
|
+
file?: File | null;
|
|
6
|
+
error?: string;
|
|
7
|
+
variant?: "glassy" | "default";
|
|
8
|
+
maxSizeBytes?: number;
|
|
9
|
+
onFileChange?: (file: File | null) => void;
|
|
10
|
+
} & Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "value">;
|
|
11
|
+
/**
|
|
12
|
+
* A reusable Upload component that can be used across the application.
|
|
13
|
+
*
|
|
14
|
+
* Usage with react-hook-form:
|
|
15
|
+
*
|
|
16
|
+
* <Upload
|
|
17
|
+
* label="Avatar hochladen"
|
|
18
|
+
* error={errors.avatar?.message}
|
|
19
|
+
* {...register("avatar")}
|
|
20
|
+
* />
|
|
21
|
+
*
|
|
22
|
+
* Usage with local file preview:
|
|
23
|
+
*
|
|
24
|
+
* const [avatarFile, setAvatarFile] = useState<File | null>(null);
|
|
25
|
+
*
|
|
26
|
+
* <Upload
|
|
27
|
+
* name="avatar"
|
|
28
|
+
* label="Avatar hochladen"
|
|
29
|
+
* file={avatarFile}
|
|
30
|
+
* onFileChange={setAvatarFile}
|
|
31
|
+
* error={errors.avatar?.message}
|
|
32
|
+
* accept="image/*"
|
|
33
|
+
* maxSizeBytes={5 * 1024 * 1024}
|
|
34
|
+
* />
|
|
35
|
+
*/
|
|
36
|
+
export default function Upload({ label, name, id, file, error, variant, accept, maxSizeBytes, disabled, className, onChange, onFileChange, ...rest }: UploadProps): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
//# sourceMappingURL=Upload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Upload.d.ts","sourceRoot":"","sources":["../../../../src/components/form/upload/Upload.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOH,KAAK,mBAAmB,EAC3B,MAAM,OAAO,CAAC;AAGf,MAAM,MAAM,WAAW,GAAG;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;CAC9C,GAAG,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC;AAElE;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EACI,KAAK,EACL,IAAI,EACJ,EAAE,EACF,IAAI,EACJ,KAAK,EACL,OAAmB,EACnB,MAAkB,EAClB,YAA8B,EAC9B,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,GAAG,IAAI,EACV,EAAE,WAAW,2CAyM5C"}
|
|
@@ -0,0 +1,389 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as Upload } from './Upload';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof Upload;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
argTypes: {
|
|
11
|
+
label: {
|
|
12
|
+
control: "text";
|
|
13
|
+
};
|
|
14
|
+
name: {
|
|
15
|
+
control: "text";
|
|
16
|
+
};
|
|
17
|
+
variant: {
|
|
18
|
+
control: "select";
|
|
19
|
+
options: string[];
|
|
20
|
+
};
|
|
21
|
+
accept: {
|
|
22
|
+
control: "text";
|
|
23
|
+
};
|
|
24
|
+
maxSizeBytes: {
|
|
25
|
+
control: "number";
|
|
26
|
+
};
|
|
27
|
+
disabled: {
|
|
28
|
+
control: "boolean";
|
|
29
|
+
};
|
|
30
|
+
required: {
|
|
31
|
+
control: "boolean";
|
|
32
|
+
};
|
|
33
|
+
error: {
|
|
34
|
+
control: "text";
|
|
35
|
+
};
|
|
36
|
+
file: {
|
|
37
|
+
table: {
|
|
38
|
+
disable: true;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
onFileChange: {
|
|
42
|
+
action: string;
|
|
43
|
+
};
|
|
44
|
+
onChange: {
|
|
45
|
+
action: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
args: {
|
|
49
|
+
label: string;
|
|
50
|
+
name: string;
|
|
51
|
+
variant: "default";
|
|
52
|
+
accept: string;
|
|
53
|
+
maxSizeBytes: number;
|
|
54
|
+
disabled: false;
|
|
55
|
+
required: false;
|
|
56
|
+
};
|
|
57
|
+
decorators: ((Story: import('storybook/internal/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
58
|
+
label: string;
|
|
59
|
+
name: string;
|
|
60
|
+
file?: (File | null) | undefined;
|
|
61
|
+
error?: string | undefined;
|
|
62
|
+
variant?: "glassy" | "default" | undefined;
|
|
63
|
+
maxSizeBytes?: number | undefined;
|
|
64
|
+
onFileChange?: ((file: File | null) => void) | undefined;
|
|
65
|
+
onClick?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
66
|
+
disabled?: boolean | undefined | undefined;
|
|
67
|
+
form?: string | undefined | undefined;
|
|
68
|
+
formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
|
|
69
|
+
formEncType?: string | undefined | undefined;
|
|
70
|
+
formMethod?: string | undefined | undefined;
|
|
71
|
+
formNoValidate?: boolean | undefined | undefined;
|
|
72
|
+
formTarget?: string | undefined | undefined;
|
|
73
|
+
defaultChecked?: boolean | undefined | undefined;
|
|
74
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
75
|
+
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
76
|
+
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
77
|
+
accessKey?: string | undefined | undefined;
|
|
78
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
79
|
+
autoFocus?: boolean | undefined | undefined;
|
|
80
|
+
className?: string | undefined | undefined;
|
|
81
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
82
|
+
contextMenu?: string | undefined | undefined;
|
|
83
|
+
dir?: string | undefined | undefined;
|
|
84
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
85
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
86
|
+
hidden?: boolean | undefined | undefined;
|
|
87
|
+
id?: string | undefined | undefined;
|
|
88
|
+
lang?: string | undefined | undefined;
|
|
89
|
+
nonce?: string | undefined | undefined;
|
|
90
|
+
slot?: string | undefined | undefined;
|
|
91
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
92
|
+
style?: import('react').CSSProperties | undefined;
|
|
93
|
+
tabIndex?: number | undefined | undefined;
|
|
94
|
+
title?: string | undefined | undefined;
|
|
95
|
+
translate?: "yes" | "no" | undefined | undefined;
|
|
96
|
+
radioGroup?: string | undefined | undefined;
|
|
97
|
+
role?: import('react').AriaRole | undefined;
|
|
98
|
+
about?: string | undefined | undefined;
|
|
99
|
+
content?: string | undefined | undefined;
|
|
100
|
+
datatype?: string | undefined | undefined;
|
|
101
|
+
inlist?: any;
|
|
102
|
+
prefix?: string | undefined | undefined;
|
|
103
|
+
property?: string | undefined | undefined;
|
|
104
|
+
rel?: string | undefined | undefined;
|
|
105
|
+
resource?: string | undefined | undefined;
|
|
106
|
+
rev?: string | undefined | undefined;
|
|
107
|
+
typeof?: string | undefined | undefined;
|
|
108
|
+
vocab?: string | undefined | undefined;
|
|
109
|
+
autoCorrect?: string | undefined | undefined;
|
|
110
|
+
autoSave?: string | undefined | undefined;
|
|
111
|
+
color?: string | undefined | undefined;
|
|
112
|
+
itemProp?: string | undefined | undefined;
|
|
113
|
+
itemScope?: boolean | undefined | undefined;
|
|
114
|
+
itemType?: string | undefined | undefined;
|
|
115
|
+
itemID?: string | undefined | undefined;
|
|
116
|
+
itemRef?: string | undefined | undefined;
|
|
117
|
+
results?: number | undefined | undefined;
|
|
118
|
+
security?: string | undefined | undefined;
|
|
119
|
+
unselectable?: "on" | "off" | undefined | undefined;
|
|
120
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
121
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
122
|
+
popoverTarget?: string | undefined | undefined;
|
|
123
|
+
inert?: boolean | undefined | undefined;
|
|
124
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
125
|
+
is?: string | undefined | undefined;
|
|
126
|
+
exportparts?: string | undefined | undefined;
|
|
127
|
+
part?: string | undefined | undefined;
|
|
128
|
+
"aria-activedescendant"?: string | undefined | undefined;
|
|
129
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
130
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
131
|
+
"aria-braillelabel"?: string | undefined | undefined;
|
|
132
|
+
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
133
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
134
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
135
|
+
"aria-colcount"?: number | undefined | undefined;
|
|
136
|
+
"aria-colindex"?: number | undefined | undefined;
|
|
137
|
+
"aria-colindextext"?: string | undefined | undefined;
|
|
138
|
+
"aria-colspan"?: number | undefined | undefined;
|
|
139
|
+
"aria-controls"?: string | undefined | undefined;
|
|
140
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
|
|
141
|
+
"aria-describedby"?: string | undefined | undefined;
|
|
142
|
+
"aria-description"?: string | undefined | undefined;
|
|
143
|
+
"aria-details"?: string | undefined | undefined;
|
|
144
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
145
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
146
|
+
"aria-errormessage"?: string | undefined | undefined;
|
|
147
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
148
|
+
"aria-flowto"?: string | undefined | undefined;
|
|
149
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
150
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
151
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
152
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
153
|
+
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
154
|
+
"aria-label"?: string | undefined | undefined;
|
|
155
|
+
"aria-labelledby"?: string | undefined | undefined;
|
|
156
|
+
"aria-level"?: number | undefined | undefined;
|
|
157
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
158
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
159
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
160
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
161
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
162
|
+
"aria-owns"?: string | undefined | undefined;
|
|
163
|
+
"aria-placeholder"?: string | undefined | undefined;
|
|
164
|
+
"aria-posinset"?: number | undefined | undefined;
|
|
165
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
166
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
167
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
168
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
169
|
+
"aria-roledescription"?: string | undefined | undefined;
|
|
170
|
+
"aria-rowcount"?: number | undefined | undefined;
|
|
171
|
+
"aria-rowindex"?: number | undefined | undefined;
|
|
172
|
+
"aria-rowindextext"?: string | undefined | undefined;
|
|
173
|
+
"aria-rowspan"?: number | undefined | undefined;
|
|
174
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
175
|
+
"aria-setsize"?: number | undefined | undefined;
|
|
176
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
177
|
+
"aria-valuemax"?: number | undefined | undefined;
|
|
178
|
+
"aria-valuemin"?: number | undefined | undefined;
|
|
179
|
+
"aria-valuenow"?: number | undefined | undefined;
|
|
180
|
+
"aria-valuetext"?: string | undefined | undefined;
|
|
181
|
+
children?: import('react').ReactNode;
|
|
182
|
+
dangerouslySetInnerHTML?: {
|
|
183
|
+
__html: string | TrustedHTML;
|
|
184
|
+
} | undefined | undefined;
|
|
185
|
+
onCopy?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
186
|
+
onCopyCapture?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
187
|
+
onCut?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
188
|
+
onCutCapture?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
189
|
+
onPaste?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
190
|
+
onPasteCapture?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
191
|
+
onCompositionEnd?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
|
|
192
|
+
onCompositionEndCapture?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
|
|
193
|
+
onCompositionStart?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
|
|
194
|
+
onCompositionStartCapture?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
|
|
195
|
+
onCompositionUpdate?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
|
|
196
|
+
onCompositionUpdateCapture?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
|
|
197
|
+
onFocus?: import('react').FocusEventHandler<HTMLInputElement> | undefined;
|
|
198
|
+
onFocusCapture?: import('react').FocusEventHandler<HTMLInputElement> | undefined;
|
|
199
|
+
onBlur?: import('react').FocusEventHandler<HTMLInputElement> | undefined;
|
|
200
|
+
onBlurCapture?: import('react').FocusEventHandler<HTMLInputElement> | undefined;
|
|
201
|
+
onChange?: import('react').ChangeEventHandler<HTMLInputElement, HTMLInputElement> | undefined;
|
|
202
|
+
onChangeCapture?: import('react').ChangeEventHandler<HTMLInputElement, Element> | undefined;
|
|
203
|
+
onBeforeInput?: import('react').InputEventHandler<HTMLInputElement> | undefined;
|
|
204
|
+
onBeforeInputCapture?: import('react').InputEventHandler<HTMLInputElement> | undefined;
|
|
205
|
+
onInput?: import('react').InputEventHandler<HTMLInputElement> | undefined;
|
|
206
|
+
onInputCapture?: import('react').InputEventHandler<HTMLInputElement> | undefined;
|
|
207
|
+
onReset?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
208
|
+
onResetCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
209
|
+
onSubmit?: import('react').SubmitEventHandler<HTMLInputElement> | undefined;
|
|
210
|
+
onSubmitCapture?: import('react').SubmitEventHandler<HTMLInputElement> | undefined;
|
|
211
|
+
onInvalid?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
212
|
+
onInvalidCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
213
|
+
onLoad?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
214
|
+
onLoadCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
215
|
+
onError?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
216
|
+
onErrorCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
217
|
+
onKeyDown?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
218
|
+
onKeyDownCapture?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
219
|
+
onKeyPress?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
220
|
+
onKeyPressCapture?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
221
|
+
onKeyUp?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
222
|
+
onKeyUpCapture?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
223
|
+
onAbort?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
224
|
+
onAbortCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
225
|
+
onCanPlay?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
226
|
+
onCanPlayCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
227
|
+
onCanPlayThrough?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
228
|
+
onCanPlayThroughCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
229
|
+
onDurationChange?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
230
|
+
onDurationChangeCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
231
|
+
onEmptied?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
232
|
+
onEmptiedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
233
|
+
onEncrypted?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
234
|
+
onEncryptedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
235
|
+
onEnded?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
236
|
+
onEndedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
237
|
+
onLoadedData?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
238
|
+
onLoadedDataCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
239
|
+
onLoadedMetadata?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
240
|
+
onLoadedMetadataCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
241
|
+
onLoadStart?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
242
|
+
onLoadStartCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
243
|
+
onPause?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
244
|
+
onPauseCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
245
|
+
onPlay?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
246
|
+
onPlayCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
247
|
+
onPlaying?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
248
|
+
onPlayingCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
249
|
+
onProgress?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
250
|
+
onProgressCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
251
|
+
onRateChange?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
252
|
+
onRateChangeCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
253
|
+
onSeeked?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
254
|
+
onSeekedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
255
|
+
onSeeking?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
256
|
+
onSeekingCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
257
|
+
onStalled?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
258
|
+
onStalledCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
259
|
+
onSuspend?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
260
|
+
onSuspendCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
261
|
+
onTimeUpdate?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
262
|
+
onTimeUpdateCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
263
|
+
onVolumeChange?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
264
|
+
onVolumeChangeCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
265
|
+
onWaiting?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
266
|
+
onWaitingCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
267
|
+
onAuxClick?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
268
|
+
onAuxClickCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
269
|
+
onClickCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
270
|
+
onContextMenu?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
271
|
+
onContextMenuCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
272
|
+
onDoubleClick?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
273
|
+
onDoubleClickCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
274
|
+
onDrag?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
275
|
+
onDragCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
276
|
+
onDragEnd?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
277
|
+
onDragEndCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
278
|
+
onDragEnter?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
279
|
+
onDragEnterCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
280
|
+
onDragExit?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
281
|
+
onDragExitCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
282
|
+
onDragLeave?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
283
|
+
onDragLeaveCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
284
|
+
onDragOver?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
285
|
+
onDragOverCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
286
|
+
onDragStart?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
287
|
+
onDragStartCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
288
|
+
onDrop?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
289
|
+
onDropCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
290
|
+
onMouseDown?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
291
|
+
onMouseDownCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
292
|
+
onMouseEnter?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
293
|
+
onMouseLeave?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
294
|
+
onMouseMove?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
295
|
+
onMouseMoveCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
296
|
+
onMouseOut?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
297
|
+
onMouseOutCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
298
|
+
onMouseOver?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
299
|
+
onMouseOverCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
300
|
+
onMouseUp?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
301
|
+
onMouseUpCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
302
|
+
onSelect?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
303
|
+
onSelectCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
304
|
+
onTouchCancel?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
|
305
|
+
onTouchCancelCapture?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
|
306
|
+
onTouchEnd?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
|
307
|
+
onTouchEndCapture?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
|
308
|
+
onTouchMove?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
|
309
|
+
onTouchMoveCapture?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
|
310
|
+
onTouchStart?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
|
311
|
+
onTouchStartCapture?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
|
312
|
+
onPointerDown?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
313
|
+
onPointerDownCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
314
|
+
onPointerMove?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
315
|
+
onPointerMoveCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
316
|
+
onPointerUp?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
317
|
+
onPointerUpCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
318
|
+
onPointerCancel?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
319
|
+
onPointerCancelCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
320
|
+
onPointerEnter?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
321
|
+
onPointerLeave?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
322
|
+
onPointerOver?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
323
|
+
onPointerOverCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
324
|
+
onPointerOut?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
325
|
+
onPointerOutCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
326
|
+
onGotPointerCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
327
|
+
onGotPointerCaptureCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
328
|
+
onLostPointerCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
329
|
+
onLostPointerCaptureCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
330
|
+
onScroll?: import('react').UIEventHandler<HTMLInputElement> | undefined;
|
|
331
|
+
onScrollCapture?: import('react').UIEventHandler<HTMLInputElement> | undefined;
|
|
332
|
+
onScrollEnd?: import('react').UIEventHandler<HTMLInputElement> | undefined;
|
|
333
|
+
onScrollEndCapture?: import('react').UIEventHandler<HTMLInputElement> | undefined;
|
|
334
|
+
onWheel?: import('react').WheelEventHandler<HTMLInputElement> | undefined;
|
|
335
|
+
onWheelCapture?: import('react').WheelEventHandler<HTMLInputElement> | undefined;
|
|
336
|
+
onAnimationStart?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
|
|
337
|
+
onAnimationStartCapture?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
|
|
338
|
+
onAnimationEnd?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
|
|
339
|
+
onAnimationEndCapture?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
|
|
340
|
+
onAnimationIteration?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
|
|
341
|
+
onAnimationIterationCapture?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
|
|
342
|
+
onToggle?: import('react').ToggleEventHandler<HTMLInputElement> | undefined;
|
|
343
|
+
onBeforeToggle?: import('react').ToggleEventHandler<HTMLInputElement> | undefined;
|
|
344
|
+
onTransitionCancel?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
|
|
345
|
+
onTransitionCancelCapture?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
|
|
346
|
+
onTransitionEnd?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
|
|
347
|
+
onTransitionEndCapture?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
|
|
348
|
+
onTransitionRun?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
|
|
349
|
+
onTransitionRunCapture?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
|
|
350
|
+
onTransitionStart?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
|
|
351
|
+
onTransitionStartCapture?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
|
|
352
|
+
list?: string | undefined | undefined;
|
|
353
|
+
step?: number | string | undefined | undefined;
|
|
354
|
+
accept?: string | undefined | undefined;
|
|
355
|
+
alt?: string | undefined | undefined;
|
|
356
|
+
autoComplete?: import('react').HTMLInputAutoCompleteAttribute | undefined;
|
|
357
|
+
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
358
|
+
checked?: boolean | undefined | undefined;
|
|
359
|
+
height?: number | string | undefined | undefined;
|
|
360
|
+
max?: number | string | undefined | undefined;
|
|
361
|
+
maxLength?: number | undefined | undefined;
|
|
362
|
+
min?: number | string | undefined | undefined;
|
|
363
|
+
minLength?: number | undefined | undefined;
|
|
364
|
+
multiple?: boolean | undefined | undefined;
|
|
365
|
+
pattern?: string | undefined | undefined;
|
|
366
|
+
placeholder?: string | undefined | undefined;
|
|
367
|
+
readOnly?: boolean | undefined | undefined;
|
|
368
|
+
required?: boolean | undefined | undefined;
|
|
369
|
+
size?: number | undefined | undefined;
|
|
370
|
+
src?: string | undefined | undefined;
|
|
371
|
+
width?: number | string | undefined | undefined;
|
|
372
|
+
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
373
|
+
};
|
|
374
|
+
export default meta;
|
|
375
|
+
type Story = StoryObj<typeof meta>;
|
|
376
|
+
export declare const Default: Story;
|
|
377
|
+
export declare const ImageOnly: Story;
|
|
378
|
+
export declare const PdfOnly: Story;
|
|
379
|
+
export declare const Error: Story;
|
|
380
|
+
export declare const Disabled: Story;
|
|
381
|
+
export declare const WithSelectedImage: Story;
|
|
382
|
+
export declare const WithSelectedPdf: Story;
|
|
383
|
+
export declare const Glassy: Story;
|
|
384
|
+
export declare const GlassyError: Story;
|
|
385
|
+
export declare const GlassyDisabled: Story;
|
|
386
|
+
export declare const GlassyWithSelectedImage: Story;
|
|
387
|
+
export declare const Controlled: Story;
|
|
388
|
+
export declare const ControlledGlassy: Story;
|
|
389
|
+
//# sourceMappingURL=Upload.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Upload.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/form/upload/Upload.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,MAAM,MAAM,UAAU,CAAC;AAsB9B,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DqB,CAAC;AAEhC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAQvB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KASnB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAQtB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAQ/B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAQ7B,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAapB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAazB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAa5B,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,KAarC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAgCxB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAsC9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/form/upload/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as
|
|
2
|
-
export type { ButtonProps,
|
|
1
|
+
export { default as Button } from './components/form/button/Button';
|
|
2
|
+
export type { ButtonProps, ColorToken } from './components/form/button/Button';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,oBAAoB,CAAC;AAI5B,OAAO,EAAE,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,oBAAoB,CAAC;AAI5B,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,iCAAiC,CAAC;AACpE,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC"}
|