mimir-ui-kit 0.0.1 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/fonts/11d5bc9f0cad36d1.woff2 +0 -0
- package/dist/assets/fonts/1a738bfdbc1e4d9d.woff +0 -0
- package/dist/assets/fonts/242d04bef81519ae.woff2 +0 -0
- package/dist/assets/fonts/3b9f59412b17ff93.woff +0 -0
- package/dist/assets/fonts/3cdd7fabbe89d2b9.woff +0 -0
- package/dist/assets/fonts/43b748f250df0f08.woff +0 -0
- package/dist/assets/fonts/585d10920d676fcd.woff2 +0 -0
- package/dist/assets/fonts/63611593e008a77c.woff2 +0 -0
- package/dist/assets/fonts/badaa6d1837432de.woff +0 -0
- package/dist/assets/fonts/cac2ba46e8c8adc9.woff2 +0 -0
- package/dist/assets/fonts/d080ae18fd04e52c.woff2 +0 -0
- package/dist/assets/fonts/e51d2feb30084bc2.woff2 +0 -0
- package/dist/assets/fonts/ee3db32f0aadef5d.woff2 +0 -0
- package/dist/assets/fonts/f4d681a788c6d497.woff2 +0 -0
- package/dist/assets/styles/index.css +1 -0
- package/dist/components/Button/Button.stories.d.ts +33 -0
- package/dist/components/Button/constants.d.ts +16 -0
- package/dist/components/Button/constants.js +5 -0
- package/dist/components/Button/index.d.ts +29 -0
- package/dist/components/Button/index.js +30 -0
- package/dist/components/Input/Input.stories.d.ts +329 -0
- package/dist/components/Input/constants.d.ts +10 -0
- package/dist/components/Input/constants.js +5 -0
- package/dist/components/Input/index.d.ts +77 -0
- package/dist/components/Input/index.js +84 -0
- package/dist/components/InputPhoneNumber/Input.stories.d.ts +325 -0
- package/dist/components/InputPhoneNumber/index.d.ts +309 -0
- package/dist/components/InputPhoneNumber/index.js +28 -0
- package/dist/components/InputPhoneNumber/utils.d.ts +2 -0
- package/dist/components/InputPhoneNumber/utils.js +9 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +8 -0
- package/dist/hooks/index.d.ts +0 -0
- package/dist/hooks/index.js +1 -0
- package/dist/index-DIxK0V-G.js +44 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +10 -0
- package/dist/index2.css +1 -0
- package/dist/utils/getLog.d.ts +1 -0
- package/dist/utils/getLog.js +4 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +4 -0
- package/package.json +91 -15
- package/README.md +0 -1
- package/index.js +0 -9
@@ -0,0 +1,84 @@
|
|
1
|
+
import { jsxs as l, jsx as n } from "react/jsx-runtime";
|
2
|
+
import { memo as g, forwardRef as y, useState as N, useEffect as A } from "react";
|
3
|
+
import { c as _ } from "../../index-DIxK0V-G.js";
|
4
|
+
import '../../index.css';const x = "_inputWrapper_1cv22_1", B = "_withOutLabel_1cv22_11", O = "_label_1cv22_15", W = "_inputBody_1cv22_24", F = "_xs_1cv22_36", I = "_s_1cv22_44", j = "_m_1cv22_52", z = "_l_1cv22_15", E = "_addonLeft_1cv22_68", P = "_addonRight_1cv22_69", S = "_withAddonLeft_1cv22_73", k = "_withAddonRight_1cv22_77", q = "_input_1cv22_1", t = {
|
5
|
+
inputWrapper: x,
|
6
|
+
withOutLabel: B,
|
7
|
+
label: O,
|
8
|
+
inputBody: W,
|
9
|
+
xs: F,
|
10
|
+
s: I,
|
11
|
+
m: j,
|
12
|
+
l: z,
|
13
|
+
addonLeft: E,
|
14
|
+
addonRight: P,
|
15
|
+
withAddonLeft: S,
|
16
|
+
withAddonRight: k,
|
17
|
+
input: q
|
18
|
+
}, C = g(
|
19
|
+
y((p, r) => {
|
20
|
+
const {
|
21
|
+
className: u,
|
22
|
+
status: h = "default",
|
23
|
+
type: m = "text",
|
24
|
+
placeholder: f,
|
25
|
+
autofocus: o,
|
26
|
+
readonly: c,
|
27
|
+
addonLeft: s,
|
28
|
+
addonRight: e,
|
29
|
+
label: a,
|
30
|
+
size: i = "m",
|
31
|
+
...v
|
32
|
+
} = p, [w, d] = N(o);
|
33
|
+
A(() => {
|
34
|
+
o && d(!0);
|
35
|
+
}, [o]);
|
36
|
+
const L = () => {
|
37
|
+
d(!1);
|
38
|
+
}, b = () => {
|
39
|
+
d(!0);
|
40
|
+
}, R = {
|
41
|
+
[t.readonly]: c,
|
42
|
+
[t.focused]: w,
|
43
|
+
[t.withAddonLeft]: !!s,
|
44
|
+
[t.withAddonRight]: !!e
|
45
|
+
};
|
46
|
+
return /* @__PURE__ */ l(
|
47
|
+
"label",
|
48
|
+
{
|
49
|
+
className: _(
|
50
|
+
t.inputWrapper,
|
51
|
+
u,
|
52
|
+
{
|
53
|
+
[t.withOutLabel]: !a
|
54
|
+
},
|
55
|
+
[t[i]]
|
56
|
+
),
|
57
|
+
children: [
|
58
|
+
a && /* @__PURE__ */ n("span", { className: t.label, children: a }),
|
59
|
+
/* @__PURE__ */ l("div", { className: _(t.inputBody, R, [t[h], t[i]]), children: [
|
60
|
+
s && /* @__PURE__ */ n("span", { className: t.addonLeft, children: s }),
|
61
|
+
/* @__PURE__ */ n(
|
62
|
+
"input",
|
63
|
+
{
|
64
|
+
...v,
|
65
|
+
ref: r,
|
66
|
+
type: m,
|
67
|
+
className: t.input,
|
68
|
+
onFocus: b,
|
69
|
+
onBlur: L,
|
70
|
+
readOnly: c,
|
71
|
+
placeholder: f
|
72
|
+
}
|
73
|
+
),
|
74
|
+
e && /* @__PURE__ */ n("span", { className: t.addonRight, children: e })
|
75
|
+
] })
|
76
|
+
]
|
77
|
+
}
|
78
|
+
);
|
79
|
+
})
|
80
|
+
);
|
81
|
+
C.displayName = "Input";
|
82
|
+
export {
|
83
|
+
C as Input
|
84
|
+
};
|
@@ -0,0 +1,325 @@
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
2
|
+
import { EInputSize, EInputStatus } from '../Input/constants';
|
3
|
+
|
4
|
+
declare const meta: {
|
5
|
+
title: string;
|
6
|
+
component: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<{
|
7
|
+
form?: string | undefined;
|
8
|
+
slot?: string | undefined;
|
9
|
+
style?: import('react').CSSProperties | undefined;
|
10
|
+
title?: string | undefined;
|
11
|
+
pattern?: string | undefined;
|
12
|
+
disabled?: boolean | undefined;
|
13
|
+
formAction?: string | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
|
14
|
+
formEncType?: string | undefined;
|
15
|
+
formMethod?: string | undefined;
|
16
|
+
formNoValidate?: boolean | undefined;
|
17
|
+
formTarget?: string | undefined;
|
18
|
+
name?: string | undefined;
|
19
|
+
type?: import('react').HTMLInputTypeAttribute | undefined;
|
20
|
+
value?: string | readonly string[] | number | undefined;
|
21
|
+
defaultChecked?: boolean | undefined;
|
22
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
23
|
+
suppressContentEditableWarning?: boolean | undefined;
|
24
|
+
suppressHydrationWarning?: boolean | undefined;
|
25
|
+
accessKey?: string | undefined;
|
26
|
+
autoFocus?: boolean | undefined;
|
27
|
+
className?: string | undefined;
|
28
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
29
|
+
contextMenu?: string | undefined;
|
30
|
+
dir?: string | undefined;
|
31
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
32
|
+
hidden?: boolean | undefined;
|
33
|
+
id?: string | undefined;
|
34
|
+
lang?: string | undefined;
|
35
|
+
nonce?: string | undefined;
|
36
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
37
|
+
tabIndex?: number | undefined;
|
38
|
+
translate?: "yes" | "no" | undefined;
|
39
|
+
radioGroup?: string | undefined;
|
40
|
+
role?: import('react').AriaRole | undefined;
|
41
|
+
about?: string | undefined;
|
42
|
+
content?: string | undefined;
|
43
|
+
datatype?: string | undefined;
|
44
|
+
inlist?: any;
|
45
|
+
prefix?: string | undefined;
|
46
|
+
property?: string | undefined;
|
47
|
+
rel?: string | undefined;
|
48
|
+
resource?: string | undefined;
|
49
|
+
rev?: string | undefined;
|
50
|
+
typeof?: string | undefined;
|
51
|
+
vocab?: string | undefined;
|
52
|
+
autoCapitalize?: string | undefined;
|
53
|
+
autoCorrect?: string | undefined;
|
54
|
+
autoSave?: string | undefined;
|
55
|
+
color?: string | undefined;
|
56
|
+
itemProp?: string | undefined;
|
57
|
+
itemScope?: boolean | undefined;
|
58
|
+
itemType?: string | undefined;
|
59
|
+
itemID?: string | undefined;
|
60
|
+
itemRef?: string | undefined;
|
61
|
+
results?: number | undefined;
|
62
|
+
security?: string | undefined;
|
63
|
+
unselectable?: "on" | "off" | undefined;
|
64
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
65
|
+
is?: string | undefined;
|
66
|
+
"aria-activedescendant"?: string | undefined;
|
67
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
68
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
69
|
+
"aria-braillelabel"?: string | undefined;
|
70
|
+
"aria-brailleroledescription"?: string | undefined;
|
71
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
72
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
73
|
+
"aria-colcount"?: number | undefined;
|
74
|
+
"aria-colindex"?: number | undefined;
|
75
|
+
"aria-colindextext"?: string | undefined;
|
76
|
+
"aria-colspan"?: number | undefined;
|
77
|
+
"aria-controls"?: string | undefined;
|
78
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
79
|
+
"aria-describedby"?: string | undefined;
|
80
|
+
"aria-description"?: string | undefined;
|
81
|
+
"aria-details"?: string | undefined;
|
82
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
83
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
84
|
+
"aria-errormessage"?: string | undefined;
|
85
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
86
|
+
"aria-flowto"?: string | undefined;
|
87
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
88
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
89
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
90
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
91
|
+
"aria-keyshortcuts"?: string | undefined;
|
92
|
+
"aria-label"?: string | undefined;
|
93
|
+
"aria-labelledby"?: string | undefined;
|
94
|
+
"aria-level"?: number | undefined;
|
95
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
96
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
97
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
98
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
99
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
100
|
+
"aria-owns"?: string | undefined;
|
101
|
+
"aria-placeholder"?: string | undefined;
|
102
|
+
"aria-posinset"?: number | undefined;
|
103
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
104
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
105
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
106
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
107
|
+
"aria-roledescription"?: string | undefined;
|
108
|
+
"aria-rowcount"?: number | undefined;
|
109
|
+
"aria-rowindex"?: number | undefined;
|
110
|
+
"aria-rowindextext"?: string | undefined;
|
111
|
+
"aria-rowspan"?: number | undefined;
|
112
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
113
|
+
"aria-setsize"?: number | undefined;
|
114
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
115
|
+
"aria-valuemax"?: number | undefined;
|
116
|
+
"aria-valuemin"?: number | undefined;
|
117
|
+
"aria-valuenow"?: number | undefined;
|
118
|
+
"aria-valuetext"?: string | undefined;
|
119
|
+
children?: import('react').ReactNode | undefined;
|
120
|
+
dangerouslySetInnerHTML?: {
|
121
|
+
__html: string | TrustedHTML;
|
122
|
+
} | undefined;
|
123
|
+
onCopy?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
|
124
|
+
onCopyCapture?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
|
125
|
+
onCut?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
|
126
|
+
onCutCapture?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
|
127
|
+
onPaste?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
|
128
|
+
onPasteCapture?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
|
129
|
+
onCompositionEnd?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
|
130
|
+
onCompositionEndCapture?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
|
131
|
+
onCompositionStart?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
|
132
|
+
onCompositionStartCapture?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
|
133
|
+
onCompositionUpdate?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
|
134
|
+
onCompositionUpdateCapture?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
|
135
|
+
onFocus?: import('react').FocusEventHandler<HTMLInputElement> | undefined;
|
136
|
+
onFocusCapture?: import('react').FocusEventHandler<HTMLInputElement> | undefined;
|
137
|
+
onBlur?: import('react').FocusEventHandler<HTMLInputElement> | undefined;
|
138
|
+
onBlurCapture?: import('react').FocusEventHandler<HTMLInputElement> | undefined;
|
139
|
+
onChange?: import('react').ChangeEventHandler<HTMLInputElement> | undefined;
|
140
|
+
onChangeCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
141
|
+
onBeforeInput?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
142
|
+
onBeforeInputCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
143
|
+
onInput?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
144
|
+
onInputCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
145
|
+
onReset?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
146
|
+
onResetCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
147
|
+
onSubmit?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
148
|
+
onSubmitCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
149
|
+
onInvalid?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
150
|
+
onInvalidCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
151
|
+
onLoad?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
152
|
+
onLoadCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
153
|
+
onError?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
154
|
+
onErrorCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
155
|
+
onKeyDown?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
|
156
|
+
onKeyDownCapture?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
|
157
|
+
onKeyPress?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
|
158
|
+
onKeyPressCapture?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
|
159
|
+
onKeyUp?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
|
160
|
+
onKeyUpCapture?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
|
161
|
+
onAbort?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
162
|
+
onAbortCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
163
|
+
onCanPlay?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
164
|
+
onCanPlayCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
165
|
+
onCanPlayThrough?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
166
|
+
onCanPlayThroughCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
167
|
+
onDurationChange?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
168
|
+
onDurationChangeCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
169
|
+
onEmptied?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
170
|
+
onEmptiedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
171
|
+
onEncrypted?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
172
|
+
onEncryptedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
173
|
+
onEnded?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
174
|
+
onEndedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
175
|
+
onLoadedData?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
176
|
+
onLoadedDataCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
177
|
+
onLoadedMetadata?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
178
|
+
onLoadedMetadataCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
179
|
+
onLoadStart?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
180
|
+
onLoadStartCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
181
|
+
onPause?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
182
|
+
onPauseCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
183
|
+
onPlay?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
184
|
+
onPlayCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
185
|
+
onPlaying?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
186
|
+
onPlayingCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
187
|
+
onProgress?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
188
|
+
onProgressCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
189
|
+
onRateChange?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
190
|
+
onRateChangeCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
191
|
+
onResize?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
192
|
+
onResizeCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
193
|
+
onSeeked?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
194
|
+
onSeekedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
195
|
+
onSeeking?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
196
|
+
onSeekingCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
197
|
+
onStalled?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
198
|
+
onStalledCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
199
|
+
onSuspend?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
200
|
+
onSuspendCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
201
|
+
onTimeUpdate?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
202
|
+
onTimeUpdateCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
203
|
+
onVolumeChange?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
204
|
+
onVolumeChangeCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
205
|
+
onWaiting?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
206
|
+
onWaitingCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
207
|
+
onAuxClick?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
208
|
+
onAuxClickCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
209
|
+
onClick?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
210
|
+
onClickCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
211
|
+
onContextMenu?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
212
|
+
onContextMenuCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
213
|
+
onDoubleClick?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
214
|
+
onDoubleClickCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
215
|
+
onDrag?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
216
|
+
onDragCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
217
|
+
onDragEnd?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
218
|
+
onDragEndCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
219
|
+
onDragEnter?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
220
|
+
onDragEnterCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
221
|
+
onDragExit?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
222
|
+
onDragExitCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
223
|
+
onDragLeave?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
224
|
+
onDragLeaveCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
225
|
+
onDragOver?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
226
|
+
onDragOverCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
227
|
+
onDragStart?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
228
|
+
onDragStartCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
229
|
+
onDrop?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
230
|
+
onDropCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
231
|
+
onMouseDown?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
232
|
+
onMouseDownCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
233
|
+
onMouseEnter?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
234
|
+
onMouseLeave?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
235
|
+
onMouseMove?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
236
|
+
onMouseMoveCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
237
|
+
onMouseOut?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
238
|
+
onMouseOutCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
239
|
+
onMouseOver?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
240
|
+
onMouseOverCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
241
|
+
onMouseUp?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
242
|
+
onMouseUpCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
243
|
+
onSelect?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
244
|
+
onSelectCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
245
|
+
onTouchCancel?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
246
|
+
onTouchCancelCapture?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
247
|
+
onTouchEnd?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
248
|
+
onTouchEndCapture?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
249
|
+
onTouchMove?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
250
|
+
onTouchMoveCapture?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
251
|
+
onTouchStart?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
252
|
+
onTouchStartCapture?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
253
|
+
onPointerDown?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
254
|
+
onPointerDownCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
255
|
+
onPointerMove?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
256
|
+
onPointerMoveCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
257
|
+
onPointerUp?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
258
|
+
onPointerUpCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
259
|
+
onPointerCancel?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
260
|
+
onPointerCancelCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
261
|
+
onPointerEnter?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
262
|
+
onPointerLeave?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
263
|
+
onPointerOver?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
264
|
+
onPointerOverCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
265
|
+
onPointerOut?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
266
|
+
onPointerOutCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
267
|
+
onGotPointerCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
268
|
+
onGotPointerCaptureCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
269
|
+
onLostPointerCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
270
|
+
onLostPointerCaptureCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
271
|
+
onScroll?: import('react').UIEventHandler<HTMLInputElement> | undefined;
|
272
|
+
onScrollCapture?: import('react').UIEventHandler<HTMLInputElement> | undefined;
|
273
|
+
onWheel?: import('react').WheelEventHandler<HTMLInputElement> | undefined;
|
274
|
+
onWheelCapture?: import('react').WheelEventHandler<HTMLInputElement> | undefined;
|
275
|
+
onAnimationStart?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
|
276
|
+
onAnimationStartCapture?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
|
277
|
+
onAnimationEnd?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
|
278
|
+
onAnimationEndCapture?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
|
279
|
+
onAnimationIteration?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
|
280
|
+
onAnimationIterationCapture?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
|
281
|
+
onTransitionEnd?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
|
282
|
+
onTransitionEndCapture?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
|
283
|
+
list?: string | undefined;
|
284
|
+
accept?: string | undefined;
|
285
|
+
alt?: string | undefined;
|
286
|
+
autoComplete?: import('react').HTMLInputAutoCompleteAttribute | undefined;
|
287
|
+
capture?: boolean | "user" | "environment" | undefined;
|
288
|
+
checked?: boolean | undefined;
|
289
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
290
|
+
height?: number | string | undefined;
|
291
|
+
max?: number | string | undefined;
|
292
|
+
maxLength?: number | undefined;
|
293
|
+
min?: number | string | undefined;
|
294
|
+
minLength?: number | undefined;
|
295
|
+
multiple?: boolean | undefined;
|
296
|
+
placeholder?: string | undefined;
|
297
|
+
required?: boolean | undefined;
|
298
|
+
src?: string | undefined;
|
299
|
+
step?: number | string | undefined;
|
300
|
+
width?: number | string | undefined;
|
301
|
+
} & {
|
302
|
+
className?: string;
|
303
|
+
label?: string;
|
304
|
+
status?: EInputStatus | `${EInputStatus}`;
|
305
|
+
caption?: string;
|
306
|
+
autofocus?: boolean;
|
307
|
+
readonly?: boolean;
|
308
|
+
addonLeft?: import('react').ReactNode;
|
309
|
+
addonRight?: import('react').ReactNode;
|
310
|
+
size?: EInputSize | `${EInputSize}`;
|
311
|
+
} & import('react').RefAttributes<HTMLInputElement>>>;
|
312
|
+
parameters: {
|
313
|
+
layout: string;
|
314
|
+
};
|
315
|
+
tags: string[];
|
316
|
+
argTypes: {};
|
317
|
+
args: {
|
318
|
+
onClick: import('@vitest/spy').Mock<[event: import('react').MouseEvent<HTMLInputElement, MouseEvent>], void>;
|
319
|
+
size: EInputSize.L;
|
320
|
+
status: EInputStatus.Alert;
|
321
|
+
};
|
322
|
+
};
|
323
|
+
export default meta;
|
324
|
+
type Story = StoryObj<typeof meta>;
|
325
|
+
export declare const Primary: Story;
|