@rovula/ui 0.0.13 → 0.0.14
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 +227 -16
- package/dist/cjs/bundle.js +3 -3
- package/dist/cjs/bundle.js.map +1 -1
- package/dist/cjs/types/components/ActionButton/ActionButton.d.ts +20 -0
- package/dist/cjs/types/components/ActionButton/ActionButton.stories.d.ts +311 -0
- package/dist/cjs/types/components/ActionButton/ActionButton.styles.d.ts +6 -0
- package/dist/cjs/types/components/Avatar/Avatar.d.ts +32 -0
- package/dist/cjs/types/components/Avatar/Avatar.stories.d.ts +64 -0
- package/dist/cjs/types/components/Avatar/Avatar.styles.d.ts +4 -0
- package/dist/cjs/types/components/Avatar/AvatarBase.d.ts +6 -0
- package/dist/cjs/types/components/Avatar/AvatarGroup.d.ts +11 -0
- package/dist/cjs/types/components/Avatar/AvatarGroup.stories.d.ts +31 -0
- package/dist/cjs/types/components/Input/Input.d.ts +21 -4
- package/dist/cjs/types/components/Input/Input.stories.d.ts +340 -22
- package/dist/cjs/types/components/Input/Input.styles.d.ts +9 -0
- package/dist/cjs/types/components/Label/Label.d.ts +6 -1
- package/dist/cjs/types/components/Label/Label.stories.d.ts +10 -1
- package/dist/cjs/types/components/Label/Label.styles.d.ts +6 -0
- package/dist/cjs/types/components/Navbar/Navbar.d.ts +12 -0
- package/dist/cjs/types/components/Navbar/Navbar.stories.d.ts +35 -0
- package/dist/cjs/types/components/Search/Search.d.ts +2 -0
- package/dist/cjs/types/components/Search/Search.stories.d.ts +21 -0
- package/dist/cjs/types/components/ThemeToggle.d.ts +2 -0
- package/dist/components/ActionButton/ActionButton.js +38 -0
- package/dist/components/ActionButton/ActionButton.stories.js +45 -0
- package/dist/components/ActionButton/ActionButton.styles.js +71 -0
- package/dist/components/Avatar/Avatar.js +22 -0
- package/dist/components/Avatar/Avatar.stories.js +47 -0
- package/dist/components/Avatar/Avatar.styles.js +23 -0
- package/dist/components/Avatar/AvatarBase.js +43 -0
- package/dist/components/Avatar/AvatarGroup.js +21 -0
- package/dist/components/Avatar/AvatarGroup.stories.js +47 -0
- package/dist/components/Button/Button.styles.js +6 -6
- package/dist/components/Input/Input.js +5 -4
- package/dist/components/Input/Input.stories.js +2 -4
- package/dist/components/Input/Input.styles.js +45 -0
- package/dist/components/Label/Label.js +7 -3
- package/dist/components/Label/Label.styles.js +57 -0
- package/dist/components/Navbar/Navbar.js +9 -0
- package/dist/components/Navbar/Navbar.stories.js +41 -0
- package/dist/components/Search/Search.js +19 -0
- package/dist/components/Search/Search.stories.js +36 -0
- package/dist/components/Text/Text.js +2 -1
- package/dist/components/ThemeToggle.js +17 -0
- package/dist/esm/bundle.css +227 -16
- package/dist/esm/bundle.js +3 -3
- package/dist/esm/bundle.js.map +1 -1
- package/dist/esm/types/components/ActionButton/ActionButton.d.ts +20 -0
- package/dist/esm/types/components/ActionButton/ActionButton.stories.d.ts +311 -0
- package/dist/esm/types/components/ActionButton/ActionButton.styles.d.ts +6 -0
- package/dist/esm/types/components/Avatar/Avatar.d.ts +32 -0
- package/dist/esm/types/components/Avatar/Avatar.stories.d.ts +64 -0
- package/dist/esm/types/components/Avatar/Avatar.styles.d.ts +4 -0
- package/dist/esm/types/components/Avatar/AvatarBase.d.ts +6 -0
- package/dist/esm/types/components/Avatar/AvatarGroup.d.ts +11 -0
- package/dist/esm/types/components/Avatar/AvatarGroup.stories.d.ts +31 -0
- package/dist/esm/types/components/Input/Input.d.ts +21 -4
- package/dist/esm/types/components/Input/Input.stories.d.ts +340 -22
- package/dist/esm/types/components/Input/Input.styles.d.ts +9 -0
- package/dist/esm/types/components/Label/Label.d.ts +6 -1
- package/dist/esm/types/components/Label/Label.stories.d.ts +10 -1
- package/dist/esm/types/components/Label/Label.styles.d.ts +6 -0
- package/dist/esm/types/components/Navbar/Navbar.d.ts +12 -0
- package/dist/esm/types/components/Navbar/Navbar.stories.d.ts +35 -0
- package/dist/esm/types/components/Search/Search.d.ts +2 -0
- package/dist/esm/types/components/Search/Search.stories.d.ts +21 -0
- package/dist/esm/types/components/ThemeToggle.d.ts +2 -0
- package/dist/index.d.ts +22 -10
- package/dist/src/theme/global.css +290 -21
- package/dist/theme/global.css +11 -0
- package/dist/theme/presets/colors.js +28 -0
- package/package.json +2 -1
- package/src/components/ActionButton/ActionButton.stories.tsx +176 -0
- package/src/components/ActionButton/ActionButton.styles.ts +79 -0
- package/src/components/ActionButton/ActionButton.tsx +42 -0
- package/src/components/Avatar/Avatar.stories.tsx +107 -0
- package/src/components/Avatar/Avatar.styles.ts +28 -0
- package/src/components/Avatar/Avatar.tsx +88 -0
- package/src/components/Avatar/AvatarBase.tsx +50 -0
- package/src/components/Avatar/AvatarGroup.stories.tsx +77 -0
- package/src/components/Avatar/AvatarGroup.tsx +55 -0
- package/src/components/Button/Button.styles.ts +6 -6
- package/src/components/Input/Input.stories.tsx +8 -6
- package/src/components/Input/Input.styles.tsx +51 -0
- package/src/components/Input/Input.tsx +30 -6
- package/src/components/Label/Label.styles.ts +61 -0
- package/src/components/Label/Label.tsx +13 -7
- package/src/components/Navbar/Navbar.stories.tsx +86 -0
- package/src/components/Navbar/Navbar.tsx +56 -0
- package/src/components/Search/Search.stories.tsx +44 -0
- package/src/components/Search/Search.tsx +25 -0
- package/src/components/Text/Text.tsx +2 -1
- package/src/components/ThemeToggle.tsx +19 -0
- package/src/theme/global.css +11 -0
- package/src/theme/presets/colors.js +28 -0
|
@@ -1,51 +1,356 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: React.ForwardRefExoticComponent<
|
|
4
|
+
component: React.ForwardRefExoticComponent<{
|
|
5
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
6
|
+
rounded?: "none" | "normal" | "full" | undefined;
|
|
7
|
+
variant?: "outline" | "flat" | "underline" | undefined;
|
|
8
|
+
fullwidth?: boolean | undefined;
|
|
9
|
+
disabled?: boolean | undefined;
|
|
10
|
+
error?: boolean | undefined;
|
|
11
|
+
hiddenPlaceholder?: boolean | undefined;
|
|
12
|
+
className?: string | undefined;
|
|
13
|
+
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> & React.RefAttributes<HTMLInputElement>>;
|
|
5
14
|
tags: string[];
|
|
6
15
|
parameters: {
|
|
7
16
|
layout: string;
|
|
8
17
|
};
|
|
9
18
|
decorators: ((Story: import("@storybook/types").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
checked?: boolean | undefined;
|
|
19
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
20
|
+
rounded?: "none" | "normal" | "full" | undefined;
|
|
21
|
+
variant?: "outline" | "flat" | "underline" | undefined;
|
|
22
|
+
fullwidth?: boolean | undefined;
|
|
15
23
|
disabled?: boolean | undefined;
|
|
16
|
-
|
|
24
|
+
error?: boolean | undefined;
|
|
25
|
+
hiddenPlaceholder?: boolean | undefined;
|
|
26
|
+
className?: string | undefined;
|
|
27
|
+
color?: string | undefined;
|
|
28
|
+
title?: string | undefined;
|
|
29
|
+
children?: React.ReactNode;
|
|
17
30
|
form?: string | undefined;
|
|
18
31
|
formAction?: string | undefined;
|
|
19
32
|
formEncType?: string | undefined;
|
|
20
33
|
formMethod?: string | undefined;
|
|
21
34
|
formNoValidate?: boolean | undefined;
|
|
22
35
|
formTarget?: string | undefined;
|
|
23
|
-
|
|
36
|
+
name?: string | undefined;
|
|
37
|
+
type?: React.HTMLInputTypeAttribute | undefined;
|
|
38
|
+
value?: string | number | readonly string[] | undefined;
|
|
39
|
+
defaultChecked?: boolean | undefined;
|
|
40
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
41
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
42
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
43
|
+
accessKey?: string | undefined;
|
|
44
|
+
autoFocus?: boolean | undefined;
|
|
45
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
46
|
+
contextMenu?: string | undefined;
|
|
47
|
+
dir?: string | undefined;
|
|
48
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
49
|
+
hidden?: boolean | undefined;
|
|
50
|
+
id?: string | undefined;
|
|
51
|
+
lang?: string | undefined;
|
|
52
|
+
nonce?: string | undefined;
|
|
53
|
+
slot?: string | undefined;
|
|
54
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
55
|
+
style?: React.CSSProperties | undefined;
|
|
56
|
+
tabIndex?: number | undefined;
|
|
57
|
+
translate?: "yes" | "no" | undefined;
|
|
58
|
+
radioGroup?: string | undefined;
|
|
59
|
+
role?: React.AriaRole | undefined;
|
|
60
|
+
about?: string | undefined;
|
|
61
|
+
content?: string | undefined;
|
|
62
|
+
datatype?: string | undefined;
|
|
63
|
+
inlist?: any;
|
|
64
|
+
prefix?: string | undefined;
|
|
65
|
+
property?: string | undefined;
|
|
66
|
+
rel?: string | undefined;
|
|
67
|
+
resource?: string | undefined;
|
|
68
|
+
rev?: string | undefined;
|
|
69
|
+
typeof?: string | undefined;
|
|
70
|
+
vocab?: string | undefined;
|
|
71
|
+
autoCapitalize?: string | undefined;
|
|
72
|
+
autoCorrect?: string | undefined;
|
|
73
|
+
autoSave?: string | undefined;
|
|
74
|
+
itemProp?: string | undefined;
|
|
75
|
+
itemScope?: boolean | undefined;
|
|
76
|
+
itemType?: string | undefined;
|
|
77
|
+
itemID?: string | undefined;
|
|
78
|
+
itemRef?: string | undefined;
|
|
79
|
+
results?: number | undefined;
|
|
80
|
+
security?: string | undefined;
|
|
81
|
+
unselectable?: "on" | "off" | undefined;
|
|
82
|
+
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
83
|
+
is?: string | undefined;
|
|
84
|
+
"aria-activedescendant"?: string | undefined;
|
|
85
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
86
|
+
"aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
|
|
87
|
+
"aria-braillelabel"?: string | undefined;
|
|
88
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
89
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
90
|
+
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
91
|
+
"aria-colcount"?: number | undefined;
|
|
92
|
+
"aria-colindex"?: number | undefined;
|
|
93
|
+
"aria-colindextext"?: string | undefined;
|
|
94
|
+
"aria-colspan"?: number | undefined;
|
|
95
|
+
"aria-controls"?: string | undefined;
|
|
96
|
+
"aria-current"?: boolean | "true" | "false" | "date" | "time" | "step" | "page" | "location" | undefined;
|
|
97
|
+
"aria-describedby"?: string | undefined;
|
|
98
|
+
"aria-description"?: string | undefined;
|
|
99
|
+
"aria-details"?: string | undefined;
|
|
100
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
101
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
102
|
+
"aria-errormessage"?: string | undefined;
|
|
103
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
104
|
+
"aria-flowto"?: string | undefined;
|
|
105
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
106
|
+
"aria-haspopup"?: boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree" | undefined;
|
|
107
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
108
|
+
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
109
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
110
|
+
"aria-label"?: string | undefined;
|
|
111
|
+
"aria-labelledby"?: string | undefined;
|
|
112
|
+
"aria-level"?: number | undefined;
|
|
113
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
114
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
115
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
116
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
117
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
118
|
+
"aria-owns"?: string | undefined;
|
|
119
|
+
"aria-placeholder"?: string | undefined;
|
|
120
|
+
"aria-posinset"?: number | undefined;
|
|
121
|
+
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
122
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
123
|
+
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
124
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
125
|
+
"aria-roledescription"?: string | undefined;
|
|
126
|
+
"aria-rowcount"?: number | undefined;
|
|
127
|
+
"aria-rowindex"?: number | undefined;
|
|
128
|
+
"aria-rowindextext"?: string | undefined;
|
|
129
|
+
"aria-rowspan"?: number | undefined;
|
|
130
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
131
|
+
"aria-setsize"?: number | undefined;
|
|
132
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
133
|
+
"aria-valuemax"?: number | undefined;
|
|
134
|
+
"aria-valuemin"?: number | undefined;
|
|
135
|
+
"aria-valuenow"?: number | undefined;
|
|
136
|
+
"aria-valuetext"?: string | undefined;
|
|
137
|
+
dangerouslySetInnerHTML?: {
|
|
138
|
+
__html: string | TrustedHTML;
|
|
139
|
+
} | undefined;
|
|
140
|
+
onCopy?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
141
|
+
onCopyCapture?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
142
|
+
onCut?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
143
|
+
onCutCapture?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
144
|
+
onPaste?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
145
|
+
onPasteCapture?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
146
|
+
onCompositionEnd?: React.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
147
|
+
onCompositionEndCapture?: React.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
148
|
+
onCompositionStart?: React.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
149
|
+
onCompositionStartCapture?: React.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
150
|
+
onCompositionUpdate?: React.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
151
|
+
onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
152
|
+
onFocus?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
153
|
+
onFocusCapture?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
154
|
+
onBlur?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
155
|
+
onBlurCapture?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
156
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement> | undefined;
|
|
157
|
+
onChangeCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
158
|
+
onBeforeInput?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
159
|
+
onBeforeInputCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
160
|
+
onInput?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
161
|
+
onInputCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
162
|
+
onReset?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
163
|
+
onResetCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
164
|
+
onSubmit?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
165
|
+
onSubmitCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
166
|
+
onInvalid?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
167
|
+
onInvalidCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
168
|
+
onLoad?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
169
|
+
onLoadCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
170
|
+
onError?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
171
|
+
onErrorCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
172
|
+
onKeyDown?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
173
|
+
onKeyDownCapture?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
174
|
+
onKeyPress?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
175
|
+
onKeyPressCapture?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
176
|
+
onKeyUp?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
177
|
+
onKeyUpCapture?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
178
|
+
onAbort?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
179
|
+
onAbortCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
180
|
+
onCanPlay?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
181
|
+
onCanPlayCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
182
|
+
onCanPlayThrough?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
183
|
+
onCanPlayThroughCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
184
|
+
onDurationChange?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
185
|
+
onDurationChangeCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
186
|
+
onEmptied?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
187
|
+
onEmptiedCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
188
|
+
onEncrypted?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
189
|
+
onEncryptedCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
190
|
+
onEnded?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
191
|
+
onEndedCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
192
|
+
onLoadedData?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
193
|
+
onLoadedDataCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
194
|
+
onLoadedMetadata?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
195
|
+
onLoadedMetadataCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
196
|
+
onLoadStart?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
197
|
+
onLoadStartCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
198
|
+
onPause?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
199
|
+
onPauseCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
200
|
+
onPlay?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
201
|
+
onPlayCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
202
|
+
onPlaying?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
203
|
+
onPlayingCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
204
|
+
onProgress?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
205
|
+
onProgressCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
206
|
+
onRateChange?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
207
|
+
onRateChangeCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
208
|
+
onResize?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
209
|
+
onResizeCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
210
|
+
onSeeked?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
211
|
+
onSeekedCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
212
|
+
onSeeking?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
213
|
+
onSeekingCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
214
|
+
onStalled?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
215
|
+
onStalledCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
216
|
+
onSuspend?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
217
|
+
onSuspendCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
218
|
+
onTimeUpdate?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
219
|
+
onTimeUpdateCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
220
|
+
onVolumeChange?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
221
|
+
onVolumeChangeCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
222
|
+
onWaiting?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
223
|
+
onWaitingCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
224
|
+
onAuxClick?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
225
|
+
onAuxClickCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
226
|
+
onClick?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
227
|
+
onClickCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
228
|
+
onContextMenu?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
229
|
+
onContextMenuCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
230
|
+
onDoubleClick?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
231
|
+
onDoubleClickCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
232
|
+
onDrag?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
233
|
+
onDragCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
234
|
+
onDragEnd?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
235
|
+
onDragEndCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
236
|
+
onDragEnter?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
237
|
+
onDragEnterCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
238
|
+
onDragExit?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
239
|
+
onDragExitCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
240
|
+
onDragLeave?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
241
|
+
onDragLeaveCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
242
|
+
onDragOver?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
243
|
+
onDragOverCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
244
|
+
onDragStart?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
245
|
+
onDragStartCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
246
|
+
onDrop?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
247
|
+
onDropCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
|
|
248
|
+
onMouseDown?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
249
|
+
onMouseDownCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
250
|
+
onMouseEnter?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
251
|
+
onMouseLeave?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
252
|
+
onMouseMove?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
253
|
+
onMouseMoveCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
254
|
+
onMouseOut?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
255
|
+
onMouseOutCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
256
|
+
onMouseOver?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
257
|
+
onMouseOverCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
258
|
+
onMouseUp?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
259
|
+
onMouseUpCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
260
|
+
onSelect?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
261
|
+
onSelectCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
262
|
+
onTouchCancel?: React.TouchEventHandler<HTMLInputElement> | undefined;
|
|
263
|
+
onTouchCancelCapture?: React.TouchEventHandler<HTMLInputElement> | undefined;
|
|
264
|
+
onTouchEnd?: React.TouchEventHandler<HTMLInputElement> | undefined;
|
|
265
|
+
onTouchEndCapture?: React.TouchEventHandler<HTMLInputElement> | undefined;
|
|
266
|
+
onTouchMove?: React.TouchEventHandler<HTMLInputElement> | undefined;
|
|
267
|
+
onTouchMoveCapture?: React.TouchEventHandler<HTMLInputElement> | undefined;
|
|
268
|
+
onTouchStart?: React.TouchEventHandler<HTMLInputElement> | undefined;
|
|
269
|
+
onTouchStartCapture?: React.TouchEventHandler<HTMLInputElement> | undefined;
|
|
270
|
+
onPointerDown?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
271
|
+
onPointerDownCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
272
|
+
onPointerMove?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
273
|
+
onPointerMoveCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
274
|
+
onPointerUp?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
275
|
+
onPointerUpCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
276
|
+
onPointerCancel?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
277
|
+
onPointerCancelCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
278
|
+
onPointerEnter?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
279
|
+
onPointerLeave?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
280
|
+
onPointerOver?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
281
|
+
onPointerOverCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
282
|
+
onPointerOut?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
283
|
+
onPointerOutCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
284
|
+
onGotPointerCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
285
|
+
onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
286
|
+
onLostPointerCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
287
|
+
onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
288
|
+
onScroll?: React.UIEventHandler<HTMLInputElement> | undefined;
|
|
289
|
+
onScrollCapture?: React.UIEventHandler<HTMLInputElement> | undefined;
|
|
290
|
+
onWheel?: React.WheelEventHandler<HTMLInputElement> | undefined;
|
|
291
|
+
onWheelCapture?: React.WheelEventHandler<HTMLInputElement> | undefined;
|
|
292
|
+
onAnimationStart?: React.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
293
|
+
onAnimationStartCapture?: React.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
294
|
+
onAnimationEnd?: React.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
295
|
+
onAnimationEndCapture?: React.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
296
|
+
onAnimationIteration?: React.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
297
|
+
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
298
|
+
onTransitionEnd?: React.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
299
|
+
onTransitionEndCapture?: React.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
24
300
|
list?: string | undefined;
|
|
301
|
+
accept?: string | undefined;
|
|
302
|
+
alt?: string | undefined;
|
|
303
|
+
autoComplete?: React.HTMLInputAutoCompleteAttribute | undefined;
|
|
304
|
+
capture?: boolean | "user" | "environment" | undefined;
|
|
305
|
+
checked?: boolean | undefined;
|
|
306
|
+
enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
|
|
307
|
+
height?: string | number | undefined;
|
|
25
308
|
max?: string | number | undefined;
|
|
26
309
|
maxLength?: number | undefined;
|
|
27
310
|
min?: string | number | undefined;
|
|
28
311
|
minLength?: number | undefined;
|
|
29
312
|
multiple?: boolean | undefined;
|
|
30
|
-
name?: string | undefined;
|
|
31
313
|
pattern?: string | undefined;
|
|
32
314
|
placeholder?: string | undefined;
|
|
33
315
|
readOnly?: boolean | undefined;
|
|
34
316
|
required?: boolean | undefined;
|
|
35
|
-
size?: number | undefined;
|
|
36
317
|
src?: string | undefined;
|
|
37
318
|
step?: string | number | undefined;
|
|
319
|
+
width?: string | number | undefined;
|
|
320
|
+
ref?: React.LegacyRef<HTMLInputElement> | undefined;
|
|
321
|
+
key?: React.Key | null | undefined;
|
|
322
|
+
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
323
|
+
};
|
|
324
|
+
export default meta;
|
|
325
|
+
export declare const Default: {
|
|
326
|
+
args: {};
|
|
327
|
+
render: (args: {
|
|
328
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
329
|
+
rounded?: "none" | "normal" | "full" | undefined;
|
|
330
|
+
variant?: "outline" | "flat" | "underline" | undefined;
|
|
331
|
+
fullwidth?: boolean | undefined;
|
|
332
|
+
disabled?: boolean | undefined;
|
|
333
|
+
error?: boolean | undefined;
|
|
334
|
+
hiddenPlaceholder?: boolean | undefined;
|
|
335
|
+
className?: string | undefined;
|
|
336
|
+
color?: string | undefined;
|
|
337
|
+
title?: string | undefined;
|
|
338
|
+
children?: React.ReactNode;
|
|
339
|
+
form?: string | undefined;
|
|
340
|
+
formAction?: string | undefined;
|
|
341
|
+
formEncType?: string | undefined;
|
|
342
|
+
formMethod?: string | undefined;
|
|
343
|
+
formNoValidate?: boolean | undefined;
|
|
344
|
+
formTarget?: string | undefined;
|
|
345
|
+
name?: string | undefined;
|
|
38
346
|
type?: React.HTMLInputTypeAttribute | undefined;
|
|
39
347
|
value?: string | number | readonly string[] | undefined;
|
|
40
|
-
width?: string | number | undefined;
|
|
41
|
-
onChange?: React.ChangeEventHandler<HTMLInputElement> | undefined;
|
|
42
348
|
defaultChecked?: boolean | undefined;
|
|
43
349
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
44
350
|
suppressContentEditableWarning?: boolean | undefined;
|
|
45
351
|
suppressHydrationWarning?: boolean | undefined;
|
|
46
352
|
accessKey?: string | undefined;
|
|
47
353
|
autoFocus?: boolean | undefined;
|
|
48
|
-
className?: string | undefined;
|
|
49
354
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
50
355
|
contextMenu?: string | undefined;
|
|
51
356
|
dir?: string | undefined;
|
|
@@ -58,7 +363,6 @@ declare const meta: {
|
|
|
58
363
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
59
364
|
style?: React.CSSProperties | undefined;
|
|
60
365
|
tabIndex?: number | undefined;
|
|
61
|
-
title?: string | undefined;
|
|
62
366
|
translate?: "yes" | "no" | undefined;
|
|
63
367
|
radioGroup?: string | undefined;
|
|
64
368
|
role?: React.AriaRole | undefined;
|
|
@@ -76,7 +380,6 @@ declare const meta: {
|
|
|
76
380
|
autoCapitalize?: string | undefined;
|
|
77
381
|
autoCorrect?: string | undefined;
|
|
78
382
|
autoSave?: string | undefined;
|
|
79
|
-
color?: string | undefined;
|
|
80
383
|
itemProp?: string | undefined;
|
|
81
384
|
itemScope?: boolean | undefined;
|
|
82
385
|
itemType?: string | undefined;
|
|
@@ -140,7 +443,6 @@ declare const meta: {
|
|
|
140
443
|
"aria-valuemin"?: number | undefined;
|
|
141
444
|
"aria-valuenow"?: number | undefined;
|
|
142
445
|
"aria-valuetext"?: string | undefined;
|
|
143
|
-
children?: React.ReactNode;
|
|
144
446
|
dangerouslySetInnerHTML?: {
|
|
145
447
|
__html: string | TrustedHTML;
|
|
146
448
|
} | undefined;
|
|
@@ -160,6 +462,7 @@ declare const meta: {
|
|
|
160
462
|
onFocusCapture?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
161
463
|
onBlur?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
162
464
|
onBlurCapture?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
465
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement> | undefined;
|
|
163
466
|
onChangeCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
164
467
|
onBeforeInput?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
165
468
|
onBeforeInputCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
@@ -303,12 +606,27 @@ declare const meta: {
|
|
|
303
606
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
304
607
|
onTransitionEnd?: React.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
305
608
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
609
|
+
list?: string | undefined;
|
|
610
|
+
accept?: string | undefined;
|
|
611
|
+
alt?: string | undefined;
|
|
612
|
+
autoComplete?: React.HTMLInputAutoCompleteAttribute | undefined;
|
|
613
|
+
capture?: boolean | "user" | "environment" | undefined;
|
|
614
|
+
checked?: boolean | undefined;
|
|
615
|
+
enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
|
|
616
|
+
height?: string | number | undefined;
|
|
617
|
+
max?: string | number | undefined;
|
|
618
|
+
maxLength?: number | undefined;
|
|
619
|
+
min?: string | number | undefined;
|
|
620
|
+
minLength?: number | undefined;
|
|
621
|
+
multiple?: boolean | undefined;
|
|
622
|
+
pattern?: string | undefined;
|
|
623
|
+
placeholder?: string | undefined;
|
|
624
|
+
readOnly?: boolean | undefined;
|
|
625
|
+
required?: boolean | undefined;
|
|
626
|
+
src?: string | undefined;
|
|
627
|
+
step?: string | number | undefined;
|
|
628
|
+
width?: string | number | undefined;
|
|
306
629
|
ref?: React.LegacyRef<HTMLInputElement> | undefined;
|
|
307
630
|
key?: React.Key | null | undefined;
|
|
308
|
-
}
|
|
309
|
-
};
|
|
310
|
-
export default meta;
|
|
311
|
-
export declare const Default: {
|
|
312
|
-
args: {};
|
|
313
|
-
render: (args: {}) => import("react/jsx-runtime").JSX.Element;
|
|
631
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
314
632
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const inputVariants: (props?: ({
|
|
2
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
3
|
+
rounded?: "none" | "normal" | "full" | null | undefined;
|
|
4
|
+
variant?: "outline" | "flat" | "underline" | null | undefined;
|
|
5
|
+
hiddenPlaceholder?: boolean | null | undefined;
|
|
6
|
+
fullwidth?: boolean | null | undefined;
|
|
7
|
+
disabled?: boolean | null | undefined;
|
|
8
|
+
error?: boolean | null | undefined;
|
|
9
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
3
3
|
import { type VariantProps } from "class-variance-authority";
|
|
4
|
-
declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?:
|
|
4
|
+
declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: ({
|
|
5
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
6
|
+
disabled?: boolean | null | undefined;
|
|
7
|
+
error?: boolean | null | undefined;
|
|
8
|
+
isFloatable?: boolean | null | undefined;
|
|
9
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
|
|
5
10
|
export { Label };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-label").LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & import("class-variance-authority").VariantProps<(props?:
|
|
4
|
+
component: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-label").LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & import("class-variance-authority").VariantProps<(props?: ({
|
|
5
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
6
|
+
disabled?: boolean | null | undefined;
|
|
7
|
+
error?: boolean | null | undefined;
|
|
8
|
+
isFloatable?: boolean | null | undefined;
|
|
9
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
|
|
5
10
|
tags: string[];
|
|
6
11
|
parameters: {
|
|
7
12
|
layout: string;
|
|
@@ -276,6 +281,10 @@ declare const meta: {
|
|
|
276
281
|
htmlFor?: string | undefined;
|
|
277
282
|
key?: React.Key | null | undefined;
|
|
278
283
|
asChild?: boolean | undefined;
|
|
284
|
+
error?: boolean | null | undefined;
|
|
285
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
286
|
+
disabled?: boolean | null | undefined;
|
|
287
|
+
isFloatable?: boolean | null | undefined;
|
|
279
288
|
ref?: React.LegacyRef<HTMLLabelElement> | undefined;
|
|
280
289
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
281
290
|
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const labelVariant: (props?: ({
|
|
2
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
3
|
+
disabled?: boolean | null | undefined;
|
|
4
|
+
error?: boolean | null | undefined;
|
|
5
|
+
isFloatable?: boolean | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
type NavbarProps = {
|
|
3
|
+
position?: "static" | "sticky";
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
leftNav?: ReactNode;
|
|
6
|
+
rightNav?: ReactNode;
|
|
7
|
+
center?: ReactNode;
|
|
8
|
+
container?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
};
|
|
11
|
+
declare const Navbar: FC<NavbarProps>;
|
|
12
|
+
export default Navbar;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: React.FC<{
|
|
5
|
+
position?: "static" | "sticky" | undefined;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
leftNav?: React.ReactNode;
|
|
8
|
+
rightNav?: React.ReactNode;
|
|
9
|
+
center?: React.ReactNode;
|
|
10
|
+
container?: boolean | undefined;
|
|
11
|
+
className?: string | undefined;
|
|
12
|
+
}>;
|
|
13
|
+
tags: string[];
|
|
14
|
+
parameters: {
|
|
15
|
+
layout: string;
|
|
16
|
+
};
|
|
17
|
+
decorators: ((Story: import("@storybook/types").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
18
|
+
position?: "static" | "sticky" | undefined;
|
|
19
|
+
children?: React.ReactNode;
|
|
20
|
+
leftNav?: React.ReactNode;
|
|
21
|
+
rightNav?: React.ReactNode;
|
|
22
|
+
center?: React.ReactNode;
|
|
23
|
+
container?: boolean | undefined;
|
|
24
|
+
className?: string | undefined;
|
|
25
|
+
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
26
|
+
};
|
|
27
|
+
export default meta;
|
|
28
|
+
export declare const Default: {
|
|
29
|
+
args: {};
|
|
30
|
+
render: (args: {}) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
};
|
|
32
|
+
export declare const Custom: {
|
|
33
|
+
args: {};
|
|
34
|
+
render: (args: {}) => import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Search } from "./Search";
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof Search;
|
|
5
|
+
tags: string[];
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
decorators: ((Story: import("@storybook/types").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
10
|
+
[x: string]: any;
|
|
11
|
+
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
12
|
+
};
|
|
13
|
+
export default meta;
|
|
14
|
+
export declare const Default: {
|
|
15
|
+
args: {
|
|
16
|
+
error: boolean;
|
|
17
|
+
};
|
|
18
|
+
render: (args: {
|
|
19
|
+
[x: string]: any;
|
|
20
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ declare const Button: React__default.ForwardRefExoticComponent<{
|
|
|
35
35
|
endIcon?: React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | undefined;
|
|
36
36
|
} & React__default.ButtonHTMLAttributes<HTMLButtonElement> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
37
37
|
|
|
38
|
-
type InputProps
|
|
38
|
+
type InputProps = {
|
|
39
39
|
id?: string;
|
|
40
40
|
label?: string;
|
|
41
41
|
size?: "sm" | "md" | "lg";
|
|
@@ -122,9 +122,9 @@ type DropdownProps = {
|
|
|
122
122
|
className?: string;
|
|
123
123
|
options: Options[];
|
|
124
124
|
value?: Options;
|
|
125
|
-
onChangeText?: InputProps
|
|
125
|
+
onChangeText?: InputProps["onChange"];
|
|
126
126
|
onSelect?: (value: Options) => void;
|
|
127
|
-
} & Omit<InputProps
|
|
127
|
+
} & Omit<InputProps, "value">;
|
|
128
128
|
declare const Dropdown: React__default.ForwardRefExoticComponent<{
|
|
129
129
|
id?: string | undefined;
|
|
130
130
|
label?: string | undefined;
|
|
@@ -141,17 +141,29 @@ declare const Dropdown: React__default.ForwardRefExoticComponent<{
|
|
|
141
141
|
className?: string | undefined;
|
|
142
142
|
options: Options[];
|
|
143
143
|
value?: Options | undefined;
|
|
144
|
-
onChangeText?: InputProps
|
|
144
|
+
onChangeText?: InputProps["onChange"];
|
|
145
145
|
onSelect?: ((value: Options) => void) | undefined;
|
|
146
|
-
} & Omit<InputProps
|
|
146
|
+
} & Omit<InputProps, "value"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
147
147
|
|
|
148
148
|
declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
149
149
|
|
|
150
|
-
declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?:
|
|
150
|
+
declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: ({
|
|
151
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
152
|
+
disabled?: boolean | null | undefined;
|
|
153
|
+
error?: boolean | null | undefined;
|
|
154
|
+
isFloatable?: boolean | null | undefined;
|
|
155
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
|
|
151
156
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
157
|
+
declare const Input: React__default.ForwardRefExoticComponent<{
|
|
158
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
159
|
+
rounded?: "none" | "normal" | "full" | undefined;
|
|
160
|
+
variant?: "outline" | "flat" | "underline" | undefined;
|
|
161
|
+
fullwidth?: boolean | undefined;
|
|
162
|
+
disabled?: boolean | undefined;
|
|
163
|
+
error?: boolean | undefined;
|
|
164
|
+
hiddenPlaceholder?: boolean | undefined;
|
|
165
|
+
className?: string | undefined;
|
|
166
|
+
} & Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "size"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
155
167
|
|
|
156
168
|
declare const Table: React.ForwardRefExoticComponent<{
|
|
157
169
|
rootRef?: React.LegacyRef<HTMLDivElement> | undefined;
|
|
@@ -219,4 +231,4 @@ declare const getTimestampUTC: (date: Date) => number;
|
|
|
219
231
|
|
|
220
232
|
declare function cn(...inputs: ClassValue[]): string;
|
|
221
233
|
|
|
222
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Button, type ButtonProps, Checkbox, DataTable, type DataTableProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Dropdown, type DropdownProps, Input, type InputProps
|
|
234
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Button, type ButtonProps, Checkbox, DataTable, type DataTableProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Dropdown, type DropdownProps, Input, type InputProps, Label, type Options, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, Text, TextInput, cn, getEndDateOfDay, getStartDateOfDay, getStartEndTimestampOfDay, getTimestampUTC, resloveTimestamp };
|