@rovula/ui 0.0.19 → 0.0.21
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/cjs/bundle.css +3220 -1382
- package/dist/cjs/bundle.js +3 -3
- package/dist/cjs/bundle.js.map +1 -1
- package/dist/cjs/types/components/ActionButton/ActionButton.stories.d.ts +4 -4
- package/dist/cjs/types/components/ActionButton/ActionButton.styles copy.d.ts +6 -0
- package/dist/cjs/types/components/Button/Button.styles copy.d.ts +7 -0
- package/dist/cjs/types/components/Button/Button.styles.d.ts +1 -0
- package/dist/cjs/types/components/Button/Buttons.stories.d.ts +12 -4
- package/dist/cjs/types/components/Calendar/Calendar.d.ts +0 -1
- package/dist/cjs/types/components/Calendar/Calendar.stories.d.ts +7 -7
- package/dist/cjs/types/components/Checkbox/Checkbox.stories.d.ts +6 -6
- package/dist/cjs/types/components/DatePicker/DatePicker.d.ts +2 -0
- package/dist/cjs/types/components/DatePicker/DatePicker.stories.d.ts +2 -0
- package/dist/cjs/types/components/Dropdown/Dropdown.stories.d.ts +8 -6
- package/dist/cjs/types/components/Input/Input.stories.d.ts +12 -12
- package/dist/cjs/types/components/Label/Label.stories.d.ts +6 -6
- package/dist/cjs/types/components/Loading/Loading.d.ts +14 -0
- package/dist/cjs/types/components/Loading/Loading.stories.d.ts +35 -0
- package/dist/cjs/types/components/ProgressBar/ProgressBar.d.ts +13 -0
- package/dist/cjs/types/components/ProgressBar/ProgressBar.stories.d.ts +37 -0
- package/dist/cjs/types/components/RadioGroup/RadioGroup.stories.d.ts +5 -5
- package/dist/cjs/types/components/Search/Search.d.ts +22 -1
- package/dist/cjs/types/components/Search/Search.stories.d.ts +338 -7
- package/dist/cjs/types/components/Table/Table.stories.d.ts +4 -4
- package/dist/cjs/types/components/Text/Text.d.ts +1 -1
- package/dist/cjs/types/components/Text/Text.stories.d.ts +1 -1
- package/dist/cjs/types/components/TextInput/TextInput.d.ts +4 -0
- package/dist/cjs/types/components/TextInput/TextInput.stories.d.ts +11 -6
- package/dist/cjs/types/components/TextInput/TextInput.styles.d.ts +8 -0
- package/dist/cjs/types/index.d.ts +3 -0
- package/dist/cjs/types/stories/ColorGroupPreview.d.ts +1 -0
- package/dist/cjs/types/stories/ColorPreview.d.ts +5 -0
- package/dist/components/ActionButton/ActionButton.js +1 -1
- package/dist/components/ActionButton/ActionButton.stories.js +1 -1
- package/dist/components/ActionButton/ActionButton.styles copy.js +90 -0
- package/dist/components/ActionButton/ActionButton.styles.js +54 -15
- package/dist/components/AlertDialog/AlertDialog.js +2 -2
- package/dist/components/Avatar/Avatar.styles.js +1 -1
- package/dist/components/Button/Button.js +3 -2
- package/dist/components/Button/Button.styles copy.js +210 -0
- package/dist/components/Button/Button.styles.js +203 -43
- package/dist/components/Button/Buttons.stories.js +9 -1
- package/dist/components/Calendar/Calendar.js +39 -2
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/Collapsible/Collapsible.styles.js +6 -3
- package/dist/components/DatePicker/DatePicker.js +13 -2
- package/dist/components/Dialog/Dialog.js +4 -4
- package/dist/components/Dropdown/Dropdown.js +9 -7
- package/dist/components/Dropdown/Dropdown.styles.js +1 -1
- package/dist/components/Input/Input.js +8 -1
- package/dist/components/Input/Input.stories.js +3 -2
- package/dist/components/Input/Input.styles.js +13 -5
- package/dist/components/Loading/Loading.js +23 -0
- package/dist/components/Loading/Loading.stories.js +37 -0
- package/dist/components/Popover/Popover.js +1 -1
- package/dist/components/ProgressBar/ProgressBar.js +22 -0
- package/dist/components/ProgressBar/ProgressBar.stories.js +52 -0
- package/dist/components/RadioGroup/RadioGroup.js +2 -2
- package/dist/components/Search/Search.js +6 -7
- package/dist/components/Search/Search.stories.js +8 -5
- package/dist/components/Text/Text.js +17 -2
- package/dist/components/Text/Text.stories.js +5 -1
- package/dist/components/TextInput/TextInput.js +14 -5
- package/dist/components/TextInput/TextInput.stories.js +3 -2
- package/dist/components/TextInput/TextInput.styles.js +120 -18
- package/dist/esm/bundle.css +3220 -1382
- package/dist/esm/bundle.js +3 -3
- package/dist/esm/bundle.js.map +1 -1
- package/dist/esm/types/components/ActionButton/ActionButton.stories.d.ts +4 -4
- package/dist/esm/types/components/ActionButton/ActionButton.styles copy.d.ts +6 -0
- package/dist/esm/types/components/Button/Button.styles copy.d.ts +7 -0
- package/dist/esm/types/components/Button/Button.styles.d.ts +1 -0
- package/dist/esm/types/components/Button/Buttons.stories.d.ts +12 -4
- package/dist/esm/types/components/Calendar/Calendar.d.ts +0 -1
- package/dist/esm/types/components/Calendar/Calendar.stories.d.ts +7 -7
- package/dist/esm/types/components/Checkbox/Checkbox.stories.d.ts +6 -6
- package/dist/esm/types/components/DatePicker/DatePicker.d.ts +2 -0
- package/dist/esm/types/components/DatePicker/DatePicker.stories.d.ts +2 -0
- package/dist/esm/types/components/Dropdown/Dropdown.stories.d.ts +8 -6
- package/dist/esm/types/components/Input/Input.stories.d.ts +12 -12
- package/dist/esm/types/components/Label/Label.stories.d.ts +6 -6
- package/dist/esm/types/components/Loading/Loading.d.ts +14 -0
- package/dist/esm/types/components/Loading/Loading.stories.d.ts +35 -0
- package/dist/esm/types/components/ProgressBar/ProgressBar.d.ts +13 -0
- package/dist/esm/types/components/ProgressBar/ProgressBar.stories.d.ts +37 -0
- package/dist/esm/types/components/RadioGroup/RadioGroup.stories.d.ts +5 -5
- package/dist/esm/types/components/Search/Search.d.ts +22 -1
- package/dist/esm/types/components/Search/Search.stories.d.ts +338 -7
- package/dist/esm/types/components/Table/Table.stories.d.ts +4 -4
- package/dist/esm/types/components/Text/Text.d.ts +1 -1
- package/dist/esm/types/components/Text/Text.stories.d.ts +1 -1
- package/dist/esm/types/components/TextInput/TextInput.d.ts +4 -0
- package/dist/esm/types/components/TextInput/TextInput.stories.d.ts +11 -6
- package/dist/esm/types/components/TextInput/TextInput.styles.d.ts +8 -0
- package/dist/esm/types/index.d.ts +3 -0
- package/dist/esm/types/stories/ColorGroupPreview.d.ts +1 -0
- package/dist/esm/types/stories/ColorPreview.d.ts +5 -0
- package/dist/index.d.ts +53 -2
- package/dist/index.js +3 -0
- package/dist/src/theme/global.css +5078 -918
- package/dist/stories/ColorGroupPreview.js +478 -0
- package/dist/stories/ColorPreview.js +8 -0
- package/dist/theme/global.css +7 -227
- package/dist/theme/main-preset.js +131 -67
- package/dist/theme/plugins/utilities/typography.js +12 -0
- package/dist/theme/presets/colors.js +101 -220
- package/dist/theme/theme.d.ts +69 -0
- package/dist/theme/themes/xspector/baseline.css +7 -0
- package/dist/theme/themes/xspector/color.css +67 -0
- package/dist/theme/themes/xspector/components/action-button.css +98 -0
- package/dist/theme/themes/xspector/components/loading.css +11 -0
- package/dist/theme/themes/xspector/palette.css +122 -0
- package/dist/theme/themes/xspector/state.css +89 -0
- package/dist/theme/themes/xspector/transparent.css +68 -0
- package/dist/theme/themes/xspector/typography.css +27 -0
- package/dist/theme/tokens/baseline.css +10 -0
- package/dist/theme/tokens/color.css +63 -0
- package/dist/theme/tokens/components/action-button.css +127 -0
- package/dist/theme/tokens/components/button.css +512 -0
- package/dist/theme/tokens/components/loading.css +11 -0
- package/dist/theme/tokens/components/navbar.css +8 -0
- package/dist/theme/tokens/components/progress-bar.css +8 -0
- package/dist/theme/tokens/palette.css +122 -0
- package/dist/theme/tokens/state.css +82 -0
- package/dist/theme/tokens/transparent.css +68 -0
- package/dist/theme/tokens/typography.css +178 -0
- package/dist/theme/tokens/variables.css +28 -0
- package/dist/theme/utils.js +98 -0
- package/package.json +1 -1
- package/src/_theme/global copy.css +761 -0
- package/src/_theme/global.css +39 -0
- package/src/_theme/main-preset.js +239 -0
- package/src/_theme/plugins/utilities/typography.js +81 -0
- package/src/_theme/presets/colors copy 2.js +319 -0
- package/src/_theme/presets/colors copy.js +229 -0
- package/src/_theme/presets/colors.js +94 -0
- package/src/_theme/theme.d.ts +69 -0
- package/src/_theme/variables/base/button.css +334 -0
- package/src/_theme/variables/base/components copy.css +19 -0
- package/src/_theme/variables/default/colors.css +292 -0
- package/src/_theme/variables/default/typography.css +178 -0
- package/src/_theme/variables/xspector/colors.css +468 -0
- package/src/_theme/variables/xspector/typography.css +178 -0
- package/src/components/ActionButton/ActionButton.stories.tsx +1 -1
- package/src/components/ActionButton/ActionButton.styles copy.ts +95 -0
- package/src/components/ActionButton/ActionButton.styles.ts +54 -19
- package/src/components/ActionButton/ActionButton.tsx +1 -1
- package/src/components/AlertDialog/AlertDialog.tsx +2 -2
- package/src/components/Avatar/Avatar.styles.ts +1 -1
- package/src/components/Button/Button.styles copy.ts +214 -0
- package/src/components/Button/Button.styles.ts +203 -47
- package/src/components/Button/Button.tsx +4 -0
- package/src/components/Button/Buttons.stories.tsx +9 -1
- package/src/components/Calendar/Calendar.tsx +49 -7
- package/src/components/Checkbox/Checkbox.tsx +1 -1
- package/src/components/Collapsible/Collapsible.styles.ts +6 -3
- package/src/components/DatePicker/DatePicker.tsx +8 -2
- package/src/components/Dialog/Dialog.tsx +5 -5
- package/src/components/Dropdown/Dropdown.styles.ts +1 -1
- package/src/components/Dropdown/Dropdown.tsx +14 -12
- package/src/components/Input/Input.stories.tsx +3 -2
- package/src/components/Input/Input.styles.tsx +13 -6
- package/src/components/Input/Input.tsx +8 -1
- package/src/components/Loading/Loading.stories.tsx +43 -0
- package/src/components/Loading/Loading.tsx +72 -0
- package/src/components/Popover/Popover.tsx +1 -1
- package/src/components/ProgressBar/ProgressBar.stories.tsx +78 -0
- package/src/components/ProgressBar/ProgressBar.tsx +62 -0
- package/src/components/RadioGroup/RadioGroup.tsx +2 -2
- package/src/components/Search/Search.stories.tsx +13 -13
- package/src/components/Search/Search.tsx +14 -19
- package/src/components/Text/Text.stories.tsx +6 -4
- package/src/components/Text/Text.tsx +27 -3
- package/src/components/TextInput/TextInput.stories.tsx +3 -2
- package/src/components/TextInput/TextInput.styles.ts +124 -19
- package/src/components/TextInput/TextInput.tsx +34 -4
- package/src/index.ts +3 -0
- package/src/stories/ColorGroupPreview.tsx +494 -0
- package/src/stories/ColorPreview.tsx +45 -0
- package/src/stories/Colors.mdx +14 -0
- package/src/stories/Typography.mdx +7 -151
- package/src/theme/global.css +7 -227
- package/src/theme/main-preset.js +131 -67
- package/src/theme/plugins/utilities/typography.js +12 -0
- package/src/theme/presets/colors.js +101 -220
- package/src/theme/theme.d.ts +69 -0
- package/src/theme/themes/xspector/baseline.css +7 -0
- package/src/theme/themes/xspector/color.css +67 -0
- package/src/theme/themes/xspector/components/action-button.css +98 -0
- package/src/theme/themes/xspector/components/loading.css +11 -0
- package/src/theme/themes/xspector/palette.css +122 -0
- package/src/theme/themes/xspector/state.css +89 -0
- package/src/theme/themes/xspector/transparent.css +68 -0
- package/src/theme/themes/xspector/typography.css +27 -0
- package/src/theme/tokens/baseline.css +10 -0
- package/src/theme/tokens/color.css +63 -0
- package/src/theme/tokens/components/action-button.css +127 -0
- package/src/theme/tokens/components/button.css +512 -0
- package/src/theme/tokens/components/loading.css +11 -0
- package/src/theme/tokens/components/navbar.css +8 -0
- package/src/theme/tokens/components/progress-bar.css +8 -0
- package/src/theme/tokens/palette.css +122 -0
- package/src/theme/tokens/state.css +82 -0
- package/src/theme/tokens/transparent.css +68 -0
- package/src/theme/tokens/typography.css +178 -0
- package/src/theme/tokens/variables.css +28 -0
- package/src/theme/utils.js +98 -0
|
@@ -1,2 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { DropdownProps } from "../Dropdown/Dropdown";
|
|
3
|
+
export type SearchProps = DropdownProps;
|
|
4
|
+
declare const Search: React.ForwardRefExoticComponent<{
|
|
5
|
+
id?: string | undefined;
|
|
6
|
+
label?: string | undefined;
|
|
7
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
8
|
+
rounded?: "none" | "normal" | "full" | undefined;
|
|
9
|
+
variant?: "outline" | "flat" | "underline" | undefined;
|
|
10
|
+
helperText?: string | undefined;
|
|
11
|
+
errorMessage?: string | undefined;
|
|
12
|
+
filterMode?: boolean | undefined;
|
|
13
|
+
fullwidth?: boolean | undefined;
|
|
14
|
+
disabled?: boolean | undefined;
|
|
15
|
+
error?: boolean | undefined;
|
|
16
|
+
required?: boolean | undefined;
|
|
17
|
+
className?: string | undefined;
|
|
18
|
+
options: import("../Dropdown/Dropdown").Options[];
|
|
19
|
+
value?: import("../Dropdown/Dropdown").Options | undefined;
|
|
20
|
+
onChangeText?: React.ChangeEventHandler<HTMLInputElement> | undefined;
|
|
21
|
+
onSelect?: ((value: import("../Dropdown/Dropdown").Options) => void) | undefined;
|
|
22
|
+
} & Omit<import("../..").InputProps, "value"> & React.RefAttributes<HTMLInputElement>>;
|
|
2
23
|
export { Search };
|
|
@@ -1,21 +1,352 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Options } from "../Dropdown/Dropdown";
|
|
2
3
|
declare const meta: {
|
|
3
4
|
title: string;
|
|
4
|
-
component:
|
|
5
|
+
component: React.ForwardRefExoticComponent<{
|
|
6
|
+
id?: string | undefined;
|
|
7
|
+
label?: string | undefined;
|
|
8
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
9
|
+
rounded?: "none" | "normal" | "full" | undefined;
|
|
10
|
+
variant?: "outline" | "flat" | "underline" | undefined;
|
|
11
|
+
helperText?: string | undefined;
|
|
12
|
+
errorMessage?: string | undefined;
|
|
13
|
+
filterMode?: boolean | undefined;
|
|
14
|
+
fullwidth?: boolean | undefined;
|
|
15
|
+
disabled?: boolean | undefined;
|
|
16
|
+
error?: boolean | undefined;
|
|
17
|
+
required?: boolean | undefined;
|
|
18
|
+
className?: string | undefined;
|
|
19
|
+
options: Options[];
|
|
20
|
+
value?: Options | undefined;
|
|
21
|
+
onChangeText?: React.ChangeEventHandler<HTMLInputElement> | undefined;
|
|
22
|
+
onSelect?: ((value: Options) => void) | undefined;
|
|
23
|
+
} & Omit<import("../..").InputProps, "value"> & React.RefAttributes<HTMLInputElement>>;
|
|
5
24
|
tags: string[];
|
|
6
25
|
parameters: {
|
|
7
26
|
layout: string;
|
|
8
27
|
};
|
|
9
28
|
decorators: ((Story: import("@storybook/types").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
10
|
-
|
|
29
|
+
id?: string | undefined;
|
|
30
|
+
label?: string | undefined;
|
|
31
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
32
|
+
rounded?: "none" | "normal" | "full" | undefined;
|
|
33
|
+
variant?: "outline" | "flat" | "underline" | undefined;
|
|
34
|
+
helperText?: string | undefined;
|
|
35
|
+
errorMessage?: string | undefined;
|
|
36
|
+
filterMode?: boolean | undefined;
|
|
37
|
+
fullwidth?: boolean | undefined;
|
|
38
|
+
disabled?: boolean | undefined;
|
|
39
|
+
error?: boolean | undefined;
|
|
40
|
+
required?: boolean | undefined;
|
|
41
|
+
className?: string | undefined;
|
|
42
|
+
options: Options[];
|
|
43
|
+
value?: Options | undefined;
|
|
44
|
+
onChangeText?: React.ChangeEventHandler<HTMLInputElement> | undefined;
|
|
45
|
+
onSelect?: (((value: Options) => void) & React.ReactEventHandler<HTMLInputElement>) | undefined;
|
|
46
|
+
color?: string | undefined;
|
|
47
|
+
form?: string | undefined;
|
|
48
|
+
list?: string | undefined;
|
|
49
|
+
title?: string | undefined;
|
|
50
|
+
children?: React.ReactNode;
|
|
51
|
+
startIcon?: React.ReactNode;
|
|
52
|
+
endIcon?: React.ReactNode;
|
|
53
|
+
formAction?: string | undefined;
|
|
54
|
+
formEncType?: string | undefined;
|
|
55
|
+
formMethod?: string | undefined;
|
|
56
|
+
formNoValidate?: boolean | undefined;
|
|
57
|
+
formTarget?: string | undefined;
|
|
58
|
+
name?: string | undefined;
|
|
59
|
+
type?: React.HTMLInputTypeAttribute | undefined;
|
|
60
|
+
defaultChecked?: boolean | undefined;
|
|
61
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
62
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
63
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
64
|
+
accessKey?: string | undefined;
|
|
65
|
+
autoFocus?: boolean | undefined;
|
|
66
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
67
|
+
contextMenu?: string | undefined;
|
|
68
|
+
dir?: string | undefined;
|
|
69
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
70
|
+
hidden?: boolean | undefined;
|
|
71
|
+
lang?: string | undefined;
|
|
72
|
+
nonce?: string | undefined;
|
|
73
|
+
slot?: string | undefined;
|
|
74
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
75
|
+
style?: React.CSSProperties | undefined;
|
|
76
|
+
tabIndex?: number | undefined;
|
|
77
|
+
translate?: "yes" | "no" | undefined;
|
|
78
|
+
radioGroup?: string | undefined;
|
|
79
|
+
role?: React.AriaRole | undefined;
|
|
80
|
+
about?: string | undefined;
|
|
81
|
+
content?: string | undefined;
|
|
82
|
+
datatype?: string | undefined;
|
|
83
|
+
inlist?: any;
|
|
84
|
+
prefix?: string | undefined;
|
|
85
|
+
property?: string | undefined;
|
|
86
|
+
rel?: string | undefined;
|
|
87
|
+
resource?: string | undefined;
|
|
88
|
+
rev?: string | undefined;
|
|
89
|
+
typeof?: string | undefined;
|
|
90
|
+
vocab?: string | undefined;
|
|
91
|
+
autoCapitalize?: string | undefined;
|
|
92
|
+
autoCorrect?: string | undefined;
|
|
93
|
+
autoSave?: string | undefined;
|
|
94
|
+
itemProp?: string | undefined;
|
|
95
|
+
itemScope?: boolean | undefined;
|
|
96
|
+
itemType?: string | undefined;
|
|
97
|
+
itemID?: string | undefined;
|
|
98
|
+
itemRef?: string | undefined;
|
|
99
|
+
results?: number | undefined;
|
|
100
|
+
security?: string | undefined;
|
|
101
|
+
unselectable?: "off" | "on" | undefined;
|
|
102
|
+
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
103
|
+
is?: string | undefined;
|
|
104
|
+
"aria-activedescendant"?: string | undefined;
|
|
105
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
106
|
+
"aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
|
|
107
|
+
"aria-braillelabel"?: string | undefined;
|
|
108
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
109
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
110
|
+
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
111
|
+
"aria-colcount"?: number | undefined;
|
|
112
|
+
"aria-colindex"?: number | undefined;
|
|
113
|
+
"aria-colindextext"?: string | undefined;
|
|
114
|
+
"aria-colspan"?: number | undefined;
|
|
115
|
+
"aria-controls"?: string | undefined;
|
|
116
|
+
"aria-current"?: boolean | "true" | "false" | "date" | "time" | "step" | "page" | "location" | undefined;
|
|
117
|
+
"aria-describedby"?: string | undefined;
|
|
118
|
+
"aria-description"?: string | undefined;
|
|
119
|
+
"aria-details"?: string | undefined;
|
|
120
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
121
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
122
|
+
"aria-errormessage"?: string | undefined;
|
|
123
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
124
|
+
"aria-flowto"?: string | undefined;
|
|
125
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
126
|
+
"aria-haspopup"?: boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree" | undefined;
|
|
127
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
128
|
+
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
129
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
130
|
+
"aria-label"?: string | undefined;
|
|
131
|
+
"aria-labelledby"?: string | undefined;
|
|
132
|
+
"aria-level"?: number | undefined;
|
|
133
|
+
"aria-live"?: "polite" | "off" | "assertive" | undefined;
|
|
134
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
135
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
136
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
137
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
138
|
+
"aria-owns"?: string | undefined;
|
|
139
|
+
"aria-placeholder"?: string | undefined;
|
|
140
|
+
"aria-posinset"?: number | undefined;
|
|
141
|
+
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
142
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
143
|
+
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
144
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
145
|
+
"aria-roledescription"?: string | undefined;
|
|
146
|
+
"aria-rowcount"?: number | undefined;
|
|
147
|
+
"aria-rowindex"?: number | undefined;
|
|
148
|
+
"aria-rowindextext"?: string | undefined;
|
|
149
|
+
"aria-rowspan"?: number | undefined;
|
|
150
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
151
|
+
"aria-setsize"?: number | undefined;
|
|
152
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
153
|
+
"aria-valuemax"?: number | undefined;
|
|
154
|
+
"aria-valuemin"?: number | undefined;
|
|
155
|
+
"aria-valuenow"?: number | undefined;
|
|
156
|
+
"aria-valuetext"?: string | undefined;
|
|
157
|
+
dangerouslySetInnerHTML?: {
|
|
158
|
+
__html: string | TrustedHTML;
|
|
159
|
+
} | undefined;
|
|
160
|
+
onCopy?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
161
|
+
onCopyCapture?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
162
|
+
onCut?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
163
|
+
onCutCapture?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
164
|
+
onPaste?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
165
|
+
onPasteCapture?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
166
|
+
onCompositionEnd?: React.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
167
|
+
onCompositionEndCapture?: React.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
168
|
+
onCompositionStart?: React.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
169
|
+
onCompositionStartCapture?: React.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
170
|
+
onCompositionUpdate?: React.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
171
|
+
onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
172
|
+
onFocus?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
173
|
+
onFocusCapture?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
174
|
+
onBlur?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
175
|
+
onBlurCapture?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
176
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement> | undefined;
|
|
177
|
+
onChangeCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
178
|
+
onBeforeInput?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
179
|
+
onBeforeInputCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
180
|
+
onInput?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
181
|
+
onInputCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
182
|
+
onReset?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
183
|
+
onResetCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
184
|
+
onSubmit?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
185
|
+
onSubmitCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
186
|
+
onInvalid?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
187
|
+
onInvalidCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
188
|
+
onLoad?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
189
|
+
onLoadCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
190
|
+
onError?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
191
|
+
onErrorCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
192
|
+
onKeyDown?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
193
|
+
onKeyDownCapture?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
194
|
+
onKeyPress?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
195
|
+
onKeyPressCapture?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
196
|
+
onKeyUp?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
197
|
+
onKeyUpCapture?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
198
|
+
onAbort?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
199
|
+
onAbortCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
200
|
+
onCanPlay?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
201
|
+
onCanPlayCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
202
|
+
onCanPlayThrough?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
203
|
+
onCanPlayThroughCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
204
|
+
onDurationChange?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
205
|
+
onDurationChangeCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
206
|
+
onEmptied?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
207
|
+
onEmptiedCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
208
|
+
onEncrypted?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
209
|
+
onEncryptedCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
210
|
+
onEnded?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
211
|
+
onEndedCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
212
|
+
onLoadedData?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
213
|
+
onLoadedDataCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
214
|
+
onLoadedMetadata?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
215
|
+
onLoadedMetadataCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
216
|
+
onLoadStart?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
217
|
+
onLoadStartCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
218
|
+
onPause?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
219
|
+
onPauseCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
220
|
+
onPlay?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
221
|
+
onPlayCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
222
|
+
onPlaying?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
223
|
+
onPlayingCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
224
|
+
onProgress?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
225
|
+
onProgressCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
226
|
+
onRateChange?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
227
|
+
onRateChangeCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
228
|
+
onResize?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
229
|
+
onResizeCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
230
|
+
onSeeked?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
231
|
+
onSeekedCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
232
|
+
onSeeking?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
233
|
+
onSeekingCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
234
|
+
onStalled?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
235
|
+
onStalledCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
236
|
+
onSuspend?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
237
|
+
onSuspendCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
238
|
+
onTimeUpdate?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
239
|
+
onTimeUpdateCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
240
|
+
onVolumeChange?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
241
|
+
onVolumeChangeCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
242
|
+
onWaiting?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
243
|
+
onWaitingCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
244
|
+
onAuxClick?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
245
|
+
onAuxClickCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
246
|
+
onClick?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
247
|
+
onClickCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
248
|
+
onContextMenu?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
249
|
+
onContextMenuCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
250
|
+
onDoubleClick?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
251
|
+
onDoubleClickCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
252
|
+
onDrag?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
253
|
+
onDragCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
254
|
+
onDragEnd?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
255
|
+
onDragEndCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
256
|
+
onDragEnter?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
257
|
+
onDragEnterCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
258
|
+
onDragExit?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
259
|
+
onDragExitCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
260
|
+
onDragLeave?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
261
|
+
onDragLeaveCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
262
|
+
onDragOver?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
263
|
+
onDragOverCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
264
|
+
onDragStart?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
265
|
+
onDragStartCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
266
|
+
onDrop?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
267
|
+
onDropCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
268
|
+
onMouseDown?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
269
|
+
onMouseDownCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
270
|
+
onMouseEnter?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
271
|
+
onMouseLeave?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
272
|
+
onMouseMove?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
273
|
+
onMouseMoveCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
274
|
+
onMouseOut?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
275
|
+
onMouseOutCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
276
|
+
onMouseOver?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
277
|
+
onMouseOverCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
278
|
+
onMouseUp?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
279
|
+
onMouseUpCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
280
|
+
onSelectCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
281
|
+
onTouchCancel?: React.TouchEventHandler<HTMLInputElement> | undefined;
|
|
282
|
+
onTouchCancelCapture?: React.TouchEventHandler<HTMLInputElement> | undefined;
|
|
283
|
+
onTouchEnd?: React.TouchEventHandler<HTMLInputElement> | undefined;
|
|
284
|
+
onTouchEndCapture?: React.TouchEventHandler<HTMLInputElement> | undefined;
|
|
285
|
+
onTouchMove?: React.TouchEventHandler<HTMLInputElement> | undefined;
|
|
286
|
+
onTouchMoveCapture?: React.TouchEventHandler<HTMLInputElement> | undefined;
|
|
287
|
+
onTouchStart?: React.TouchEventHandler<HTMLInputElement> | undefined;
|
|
288
|
+
onTouchStartCapture?: React.TouchEventHandler<HTMLInputElement> | undefined;
|
|
289
|
+
onPointerDown?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
290
|
+
onPointerDownCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
291
|
+
onPointerMove?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
292
|
+
onPointerMoveCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
293
|
+
onPointerUp?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
294
|
+
onPointerUpCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
295
|
+
onPointerCancel?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
296
|
+
onPointerCancelCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
297
|
+
onPointerEnter?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
298
|
+
onPointerLeave?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
299
|
+
onPointerOver?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
300
|
+
onPointerOverCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
301
|
+
onPointerOut?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
302
|
+
onPointerOutCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
303
|
+
onGotPointerCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
304
|
+
onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
305
|
+
onLostPointerCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
306
|
+
onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
307
|
+
onScroll?: React.UIEventHandler<HTMLInputElement> | undefined;
|
|
308
|
+
onScrollCapture?: React.UIEventHandler<HTMLInputElement> | undefined;
|
|
309
|
+
onWheel?: React.WheelEventHandler<HTMLInputElement> | undefined;
|
|
310
|
+
onWheelCapture?: React.WheelEventHandler<HTMLInputElement> | undefined;
|
|
311
|
+
onAnimationStart?: React.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
312
|
+
onAnimationStartCapture?: React.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
313
|
+
onAnimationEnd?: React.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
314
|
+
onAnimationEndCapture?: React.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
315
|
+
onAnimationIteration?: React.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
316
|
+
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
317
|
+
onTransitionEnd?: React.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
318
|
+
onTransitionEndCapture?: React.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
319
|
+
hasClearIcon?: boolean | undefined;
|
|
320
|
+
hasSearchIcon?: boolean | undefined;
|
|
321
|
+
accept?: string | undefined;
|
|
322
|
+
alt?: string | undefined;
|
|
323
|
+
autoComplete?: React.HTMLInputAutoCompleteAttribute | undefined;
|
|
324
|
+
capture?: boolean | "user" | "environment" | undefined;
|
|
325
|
+
checked?: boolean | undefined;
|
|
326
|
+
enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
|
|
327
|
+
height?: string | number | undefined;
|
|
328
|
+
max?: string | number | undefined;
|
|
329
|
+
maxLength?: number | undefined;
|
|
330
|
+
min?: string | number | undefined;
|
|
331
|
+
minLength?: number | undefined;
|
|
332
|
+
multiple?: boolean | undefined;
|
|
333
|
+
pattern?: string | undefined;
|
|
334
|
+
placeholder?: string | undefined;
|
|
335
|
+
readOnly?: boolean | undefined;
|
|
336
|
+
src?: string | undefined;
|
|
337
|
+
step?: string | number | undefined;
|
|
338
|
+
width?: string | number | undefined;
|
|
339
|
+
labelClassName?: string | undefined;
|
|
340
|
+
ref?: React.LegacyRef<HTMLInputElement> | undefined;
|
|
341
|
+
key?: React.Key | null | undefined;
|
|
11
342
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
12
343
|
};
|
|
13
344
|
export default meta;
|
|
14
345
|
export declare const Default: {
|
|
15
346
|
args: {
|
|
16
|
-
|
|
347
|
+
label: string;
|
|
348
|
+
fullwidth: boolean;
|
|
349
|
+
options: Options[];
|
|
17
350
|
};
|
|
18
|
-
render: (args: {
|
|
19
|
-
[x: string]: any;
|
|
20
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
351
|
+
render: (args: {}) => import("react/jsx-runtime").JSX.Element;
|
|
21
352
|
};
|
|
@@ -17,7 +17,7 @@ declare const meta: {
|
|
|
17
17
|
accessKey?: string | undefined;
|
|
18
18
|
autoFocus?: boolean | undefined;
|
|
19
19
|
className?: string | undefined;
|
|
20
|
-
contentEditable?: (boolean | "true" | "false") | "
|
|
20
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
21
21
|
contextMenu?: string | undefined;
|
|
22
22
|
dir?: string | undefined;
|
|
23
23
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
@@ -55,12 +55,12 @@ declare const meta: {
|
|
|
55
55
|
itemRef?: string | undefined;
|
|
56
56
|
results?: number | undefined;
|
|
57
57
|
security?: string | undefined;
|
|
58
|
-
unselectable?: "
|
|
58
|
+
unselectable?: "off" | "on" | undefined;
|
|
59
59
|
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
60
60
|
is?: string | undefined;
|
|
61
61
|
"aria-activedescendant"?: string | undefined;
|
|
62
62
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
63
|
-
"aria-autocomplete"?: "
|
|
63
|
+
"aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
|
|
64
64
|
"aria-braillelabel"?: string | undefined;
|
|
65
65
|
"aria-brailleroledescription"?: string | undefined;
|
|
66
66
|
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
@@ -87,7 +87,7 @@ declare const meta: {
|
|
|
87
87
|
"aria-label"?: string | undefined;
|
|
88
88
|
"aria-labelledby"?: string | undefined;
|
|
89
89
|
"aria-level"?: number | undefined;
|
|
90
|
-
"aria-live"?: "
|
|
90
|
+
"aria-live"?: "polite" | "off" | "assertive" | undefined;
|
|
91
91
|
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
92
92
|
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
93
93
|
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
export type TextProps = {
|
|
3
|
-
variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitile1" | "subtitile2" | "subtitile3" | "subtitile4" | "subtitile5" | "subtitile6" | "body1" | "body2" | "body3" | "body4" | "small1" | "small2" | "small3" | "label1" | "label2";
|
|
3
|
+
variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitile1" | "subtitile2" | "subtitile3" | "subtitile4" | "subtitile5" | "subtitile6" | "body1" | "body2" | "body3" | "body4" | "small1" | "small2" | "small3" | "small4" | "small5" | "label1" | "label2" | "buttonL" | "buttonMS";
|
|
4
4
|
color?: "primary" | "secondary" | "success" | "tertiary" | "info" | "warning" | "error";
|
|
5
5
|
children?: React.ReactNode;
|
|
6
6
|
className?: string;
|
|
@@ -7,7 +7,7 @@ declare const meta: {
|
|
|
7
7
|
layout: string;
|
|
8
8
|
};
|
|
9
9
|
decorators: ((Story: import("@storybook/types").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
10
|
-
variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitile1" | "subtitile2" | "subtitile3" | "subtitile4" | "subtitile5" | "subtitile6" | "body1" | "body2" | "body3" | "body4" | "small1" | "small2" | "small3" | "label1" | "label2" | undefined;
|
|
10
|
+
variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitile1" | "subtitile2" | "subtitile3" | "subtitile4" | "subtitile5" | "subtitile6" | "body1" | "body2" | "body3" | "body4" | "small1" | "small2" | "small3" | "small4" | "small5" | "label1" | "label2" | "buttonL" | "buttonMS" | undefined;
|
|
11
11
|
color?: "primary" | "secondary" | "tertiary" | "success" | "info" | "warning" | "error" | undefined;
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
className?: string | undefined;
|
|
@@ -13,6 +13,8 @@ export type InputProps = {
|
|
|
13
13
|
error?: boolean;
|
|
14
14
|
required?: boolean;
|
|
15
15
|
hasClearIcon?: boolean;
|
|
16
|
+
hasSearchIcon?: boolean;
|
|
17
|
+
startIcon?: ReactNode;
|
|
16
18
|
endIcon?: ReactNode;
|
|
17
19
|
className?: string;
|
|
18
20
|
labelClassName?: string;
|
|
@@ -31,6 +33,8 @@ export declare const TextInput: React.ForwardRefExoticComponent<{
|
|
|
31
33
|
error?: boolean | undefined;
|
|
32
34
|
required?: boolean | undefined;
|
|
33
35
|
hasClearIcon?: boolean | undefined;
|
|
36
|
+
hasSearchIcon?: boolean | undefined;
|
|
37
|
+
startIcon?: ReactNode;
|
|
34
38
|
endIcon?: ReactNode;
|
|
35
39
|
className?: string | undefined;
|
|
36
40
|
labelClassName?: string | undefined;
|
|
@@ -15,6 +15,8 @@ declare const meta: {
|
|
|
15
15
|
error?: boolean | undefined;
|
|
16
16
|
required?: boolean | undefined;
|
|
17
17
|
hasClearIcon?: boolean | undefined;
|
|
18
|
+
hasSearchIcon?: boolean | undefined;
|
|
19
|
+
startIcon?: React.ReactNode;
|
|
18
20
|
endIcon?: React.ReactNode;
|
|
19
21
|
className?: string | undefined;
|
|
20
22
|
labelClassName?: string | undefined;
|
|
@@ -37,13 +39,16 @@ declare const meta: {
|
|
|
37
39
|
error?: boolean | undefined;
|
|
38
40
|
required?: boolean | undefined;
|
|
39
41
|
hasClearIcon?: boolean | undefined;
|
|
42
|
+
hasSearchIcon?: boolean | undefined;
|
|
43
|
+
startIcon?: React.ReactNode;
|
|
40
44
|
endIcon?: React.ReactNode;
|
|
41
45
|
className?: string | undefined;
|
|
42
46
|
labelClassName?: string | undefined;
|
|
43
47
|
color?: string | undefined;
|
|
48
|
+
form?: string | undefined;
|
|
49
|
+
list?: string | undefined;
|
|
44
50
|
title?: string | undefined;
|
|
45
51
|
children?: React.ReactNode;
|
|
46
|
-
form?: string | undefined;
|
|
47
52
|
formAction?: string | undefined;
|
|
48
53
|
formEncType?: string | undefined;
|
|
49
54
|
formMethod?: string | undefined;
|
|
@@ -57,7 +62,7 @@ declare const meta: {
|
|
|
57
62
|
suppressHydrationWarning?: boolean | undefined;
|
|
58
63
|
accessKey?: string | undefined;
|
|
59
64
|
autoFocus?: boolean | undefined;
|
|
60
|
-
contentEditable?: (boolean | "true" | "false") | "
|
|
65
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
61
66
|
contextMenu?: string | undefined;
|
|
62
67
|
dir?: string | undefined;
|
|
63
68
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
@@ -92,12 +97,12 @@ declare const meta: {
|
|
|
92
97
|
itemRef?: string | undefined;
|
|
93
98
|
results?: number | undefined;
|
|
94
99
|
security?: string | undefined;
|
|
95
|
-
unselectable?: "
|
|
100
|
+
unselectable?: "off" | "on" | undefined;
|
|
96
101
|
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
97
102
|
is?: string | undefined;
|
|
98
103
|
"aria-activedescendant"?: string | undefined;
|
|
99
104
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
100
|
-
"aria-autocomplete"?: "
|
|
105
|
+
"aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
|
|
101
106
|
"aria-braillelabel"?: string | undefined;
|
|
102
107
|
"aria-brailleroledescription"?: string | undefined;
|
|
103
108
|
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
@@ -124,7 +129,7 @@ declare const meta: {
|
|
|
124
129
|
"aria-label"?: string | undefined;
|
|
125
130
|
"aria-labelledby"?: string | undefined;
|
|
126
131
|
"aria-level"?: number | undefined;
|
|
127
|
-
"aria-live"?: "
|
|
132
|
+
"aria-live"?: "polite" | "off" | "assertive" | undefined;
|
|
128
133
|
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
129
134
|
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
130
135
|
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
@@ -311,7 +316,6 @@ declare const meta: {
|
|
|
311
316
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
312
317
|
onTransitionEnd?: React.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
313
318
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
314
|
-
list?: string | undefined;
|
|
315
319
|
accept?: string | undefined;
|
|
316
320
|
alt?: string | undefined;
|
|
317
321
|
autoComplete?: React.HTMLInputAutoCompleteAttribute | undefined;
|
|
@@ -352,6 +356,7 @@ export declare const CustomLabel: {
|
|
|
352
356
|
export declare const FuctionInput: {
|
|
353
357
|
args: {
|
|
354
358
|
label: string;
|
|
359
|
+
value: string;
|
|
355
360
|
disabled: boolean;
|
|
356
361
|
};
|
|
357
362
|
render: (args: {}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,12 +6,15 @@ export declare const inputVariant: (props?: ({
|
|
|
6
6
|
disabled?: boolean | null | undefined;
|
|
7
7
|
error?: boolean | null | undefined;
|
|
8
8
|
hasClearIcon?: boolean | null | undefined;
|
|
9
|
+
hasSearchIcon?: boolean | null | undefined;
|
|
10
|
+
leftSectionIcon?: boolean | null | undefined;
|
|
9
11
|
rightSectionIcon?: boolean | null | undefined;
|
|
10
12
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
11
13
|
export declare const labelVariant: (props?: ({
|
|
12
14
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
13
15
|
disabled?: boolean | null | undefined;
|
|
14
16
|
error?: boolean | null | undefined;
|
|
17
|
+
hasSearchIcon?: boolean | null | undefined;
|
|
15
18
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
16
19
|
export declare const helperTextVariant: (props?: ({
|
|
17
20
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
@@ -21,10 +24,15 @@ export declare const helperTextVariant: (props?: ({
|
|
|
21
24
|
export declare const iconWrapperVariant: (props?: ({
|
|
22
25
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
23
26
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
27
|
+
export declare const iconSearchWrapperVariant: (props?: ({
|
|
28
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
29
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
24
30
|
export declare const iconVariant: (props?: ({
|
|
25
31
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
26
32
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
27
33
|
export declare const sectionIconWrapperVariant: (props?: ({
|
|
28
34
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
29
35
|
rounded?: "none" | "normal" | "full" | null | undefined;
|
|
36
|
+
error?: boolean | null | undefined;
|
|
37
|
+
position?: "start" | "end" | null | undefined;
|
|
30
38
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
@@ -14,10 +14,13 @@ export { Collapsible } from "./components/Collapsible";
|
|
|
14
14
|
export { Calendar } from "./components/Calendar";
|
|
15
15
|
export { default as DatePicker } from "./components/DatePicker/DatePicker";
|
|
16
16
|
export { Popover, PopoverTrigger, PopoverContent, } from "./components/Popover/Popover";
|
|
17
|
+
export { default as Loading } from "./components/Loading/Loading";
|
|
18
|
+
export { default as ProgressBar } from "./components/ProgressBar/ProgressBar";
|
|
17
19
|
export * from "./components/Table/Table";
|
|
18
20
|
export * from "./components/DataTable/DataTable";
|
|
19
21
|
export * from "./components/Dialog/Dialog";
|
|
20
22
|
export * from "./components/AlertDialog/AlertDialog";
|
|
23
|
+
export * from "./components/Search/Search";
|
|
21
24
|
export type { ButtonProps } from "./components/Button/Button";
|
|
22
25
|
export type { InputProps } from "./components/TextInput/TextInput";
|
|
23
26
|
export type { DropdownProps, Options } from "./components/Dropdown/Dropdown";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function ColorGroupPreview(): import("react/jsx-runtime").JSX.Element;
|