@rebnd/ui 0.0.1
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/LICENSE +21 -0
- package/README.md +74 -0
- package/dist/index.d.ts +542 -0
- package/dist/src/App.vue.d.ts +2 -0
- package/dist/src/assets/constants/icons.d.ts +3 -0
- package/dist/src/components/RAccordion/RAccordion.d.ts +27 -0
- package/dist/src/components/RAccordion/utils/accordion.props.d.ts +14 -0
- package/dist/src/components/RAccordion/utils/accordion.style.d.ts +2 -0
- package/dist/src/components/RAvatar/RAvatar.d.ts +48 -0
- package/dist/src/components/RAvatar/utils/avatar.props.d.ts +24 -0
- package/dist/src/components/RAvatar/utils/avatar.style.d.ts +45 -0
- package/dist/src/components/RAvatarGroup/RAvatarGroup.d.ts +27 -0
- package/dist/src/components/RAvatarGroup/utils/avatar-group.props.d.ts +14 -0
- package/dist/src/components/RAvatarGroup/utils/avatar-group.style.d.ts +5 -0
- package/dist/src/components/RBadge/RBadge.d.ts +69 -0
- package/dist/src/components/RBadge/utils/badge.props.d.ts +33 -0
- package/dist/src/components/RBadge/utils/badge.style.d.ts +117 -0
- package/dist/src/components/RBreadcrumb/RBreadcrumb.d.ts +26 -0
- package/dist/src/components/RBreadcrumb/utils/breadcrumb.props.d.ts +13 -0
- package/dist/src/components/RBreadcrumb/utils/breadcrumb.style.d.ts +2 -0
- package/dist/src/components/RButton/RButton.d.ts +51 -0
- package/dist/src/components/RButton/utils/button.props.d.ts +25 -0
- package/dist/src/components/RButton/utils/button.style.d.ts +102 -0
- package/dist/src/components/RCard/RCard.d.ts +16 -0
- package/dist/src/components/RCard/utils/card.props.d.ts +8 -0
- package/dist/src/components/RCard/utils/card.style.d.ts +2 -0
- package/dist/src/components/RCombobox/RCombobox.d.ts +37 -0
- package/dist/src/components/RCombobox/utils/combobox.props.d.ts +15 -0
- package/dist/src/components/RCombobox/utils/combobox.style.d.ts +1 -0
- package/dist/src/components/RDropdown/RDropdown.d.ts +43 -0
- package/dist/src/components/RDropdown/utils/dropdown.props.d.ts +21 -0
- package/dist/src/components/RDropdown/utils/dropdown.style.d.ts +2 -0
- package/dist/src/components/RForm/RForm.d.ts +24 -0
- package/dist/src/components/RForm/utils/form.props.d.ts +13 -0
- package/dist/src/components/RForm/utils/form.style.d.ts +2 -0
- package/dist/src/components/RFormGroup/RFormGroup.d.ts +16 -0
- package/dist/src/components/RFormGroup/utils/form-group.props.d.ts +7 -0
- package/dist/src/components/RFormGroup/utils/form-group.style.d.ts +2 -0
- package/dist/src/components/RIcon/RIcon.d.ts +42 -0
- package/dist/src/components/RIcon/utils/icon.props.d.ts +21 -0
- package/dist/src/components/RIcon/utils/icon.style.d.ts +2 -0
- package/dist/src/components/RInput/RInput.d.ts +27 -0
- package/dist/src/components/RInput/utils/input.props.d.ts +11 -0
- package/dist/src/components/RInput/utils/input.style.d.ts +2 -0
- package/dist/src/components/RLink/RLink.d.ts +16 -0
- package/dist/src/components/RLink/utils/link.props.d.ts +9 -0
- package/dist/src/components/RLink/utils/link.style.d.ts +2 -0
- package/dist/src/components/RTab/RTab.d.ts +24 -0
- package/dist/src/components/RTab/utils/tab.props.d.ts +11 -0
- package/dist/src/components/RTab/utils/tab.style.d.ts +2 -0
- package/dist/src/components/RTabs/RTabs.d.ts +40 -0
- package/dist/src/components/RTabs/utils/tabs.props.d.ts +19 -0
- package/dist/src/components/RTabs/utils/tabs.style.d.ts +37 -0
- package/dist/src/components/RTextArea/RTextArea.d.ts +25 -0
- package/dist/src/components/RTextArea/utils/text-area.props.d.ts +11 -0
- package/dist/src/components/RTextArea/utils/text-area.style.d.ts +2 -0
- package/dist/src/main.d.ts +0 -0
- package/dist/src/theme/animations.d.ts +6 -0
- package/dist/src/theme/colors.d.ts +248 -0
- package/dist/src/theme/global-css.d.ts +2 -0
- package/dist/src/theme/index.d.ts +5 -0
- package/dist/src/theme/keyframes.d.ts +2 -0
- package/dist/src/theme/semantic-tokens.d.ts +133 -0
- package/dist/src/theme/shadows.d.ts +59 -0
- package/dist/src/theme/tokens.d.ts +313 -0
- package/dist/src/types/component.d.ts +26 -0
- package/dist/src/types/form.d.ts +8 -0
- package/dist/src/types/index.d.ts +3 -0
- package/dist/src/utils/components.d.ts +4 -0
- package/dist/src/utils/errorHandler.d.ts +4 -0
- package/dist/src/utils/object.d.ts +2 -0
- package/dist/src/utils/regex.d.ts +5 -0
- package/dist/src/utils/string.d.ts +4 -0
- package/dist/src/utils/test.d.ts +2 -0
- package/dist/styles.css +1886 -0
- package/dist/ui.js +2577 -0
- package/dist/ui.umd.cjs +3 -0
- package/package.json +69 -0
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
animations: {
|
|
3
|
+
shake: {
|
|
4
|
+
value: string;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
colors: {
|
|
8
|
+
blue: {
|
|
9
|
+
50: {
|
|
10
|
+
value: string;
|
|
11
|
+
};
|
|
12
|
+
100: {
|
|
13
|
+
value: string;
|
|
14
|
+
};
|
|
15
|
+
200: {
|
|
16
|
+
value: string;
|
|
17
|
+
};
|
|
18
|
+
300: {
|
|
19
|
+
value: string;
|
|
20
|
+
};
|
|
21
|
+
400: {
|
|
22
|
+
value: string;
|
|
23
|
+
};
|
|
24
|
+
500: {
|
|
25
|
+
value: string;
|
|
26
|
+
};
|
|
27
|
+
600: {
|
|
28
|
+
value: string;
|
|
29
|
+
};
|
|
30
|
+
700: {
|
|
31
|
+
value: string;
|
|
32
|
+
};
|
|
33
|
+
800: {
|
|
34
|
+
value: string;
|
|
35
|
+
};
|
|
36
|
+
900: {
|
|
37
|
+
value: string;
|
|
38
|
+
};
|
|
39
|
+
950: {
|
|
40
|
+
value: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
dash: {
|
|
44
|
+
50: {
|
|
45
|
+
value: string;
|
|
46
|
+
};
|
|
47
|
+
100: {
|
|
48
|
+
value: string;
|
|
49
|
+
};
|
|
50
|
+
200: {
|
|
51
|
+
value: string;
|
|
52
|
+
};
|
|
53
|
+
300: {
|
|
54
|
+
value: string;
|
|
55
|
+
};
|
|
56
|
+
400: {
|
|
57
|
+
value: string;
|
|
58
|
+
};
|
|
59
|
+
500: {
|
|
60
|
+
value: string;
|
|
61
|
+
};
|
|
62
|
+
600: {
|
|
63
|
+
value: string;
|
|
64
|
+
};
|
|
65
|
+
700: {
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
68
|
+
800: {
|
|
69
|
+
value: string;
|
|
70
|
+
};
|
|
71
|
+
900: {
|
|
72
|
+
value: string;
|
|
73
|
+
};
|
|
74
|
+
950: {
|
|
75
|
+
value: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
gray: {
|
|
79
|
+
50: {
|
|
80
|
+
value: string;
|
|
81
|
+
};
|
|
82
|
+
100: {
|
|
83
|
+
value: string;
|
|
84
|
+
};
|
|
85
|
+
200: {
|
|
86
|
+
value: string;
|
|
87
|
+
};
|
|
88
|
+
300: {
|
|
89
|
+
value: string;
|
|
90
|
+
};
|
|
91
|
+
400: {
|
|
92
|
+
value: string;
|
|
93
|
+
};
|
|
94
|
+
500: {
|
|
95
|
+
value: string;
|
|
96
|
+
};
|
|
97
|
+
600: {
|
|
98
|
+
value: string;
|
|
99
|
+
};
|
|
100
|
+
700: {
|
|
101
|
+
value: string;
|
|
102
|
+
};
|
|
103
|
+
800: {
|
|
104
|
+
value: string;
|
|
105
|
+
};
|
|
106
|
+
900: {
|
|
107
|
+
value: string;
|
|
108
|
+
};
|
|
109
|
+
950: {
|
|
110
|
+
value: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
green: {
|
|
114
|
+
50: {
|
|
115
|
+
value: string;
|
|
116
|
+
};
|
|
117
|
+
100: {
|
|
118
|
+
value: string;
|
|
119
|
+
};
|
|
120
|
+
200: {
|
|
121
|
+
value: string;
|
|
122
|
+
};
|
|
123
|
+
300: {
|
|
124
|
+
value: string;
|
|
125
|
+
};
|
|
126
|
+
400: {
|
|
127
|
+
value: string;
|
|
128
|
+
};
|
|
129
|
+
500: {
|
|
130
|
+
value: string;
|
|
131
|
+
};
|
|
132
|
+
600: {
|
|
133
|
+
value: string;
|
|
134
|
+
};
|
|
135
|
+
700: {
|
|
136
|
+
value: string;
|
|
137
|
+
};
|
|
138
|
+
800: {
|
|
139
|
+
value: string;
|
|
140
|
+
};
|
|
141
|
+
900: {
|
|
142
|
+
value: string;
|
|
143
|
+
};
|
|
144
|
+
950: {
|
|
145
|
+
value: string;
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
neutrals: {
|
|
149
|
+
50: {
|
|
150
|
+
value: string;
|
|
151
|
+
};
|
|
152
|
+
100: {
|
|
153
|
+
value: string;
|
|
154
|
+
};
|
|
155
|
+
200: {
|
|
156
|
+
value: string;
|
|
157
|
+
};
|
|
158
|
+
300: {
|
|
159
|
+
value: string;
|
|
160
|
+
};
|
|
161
|
+
400: {
|
|
162
|
+
value: string;
|
|
163
|
+
};
|
|
164
|
+
500: {
|
|
165
|
+
value: string;
|
|
166
|
+
};
|
|
167
|
+
600: {
|
|
168
|
+
value: string;
|
|
169
|
+
};
|
|
170
|
+
700: {
|
|
171
|
+
value: string;
|
|
172
|
+
};
|
|
173
|
+
800: {
|
|
174
|
+
value: string;
|
|
175
|
+
};
|
|
176
|
+
900: {
|
|
177
|
+
value: string;
|
|
178
|
+
};
|
|
179
|
+
950: {
|
|
180
|
+
value: string;
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
red: {
|
|
184
|
+
50: {
|
|
185
|
+
value: string;
|
|
186
|
+
};
|
|
187
|
+
100: {
|
|
188
|
+
value: string;
|
|
189
|
+
};
|
|
190
|
+
200: {
|
|
191
|
+
value: string;
|
|
192
|
+
};
|
|
193
|
+
300: {
|
|
194
|
+
value: string;
|
|
195
|
+
};
|
|
196
|
+
400: {
|
|
197
|
+
value: string;
|
|
198
|
+
};
|
|
199
|
+
500: {
|
|
200
|
+
value: string;
|
|
201
|
+
};
|
|
202
|
+
600: {
|
|
203
|
+
value: string;
|
|
204
|
+
};
|
|
205
|
+
700: {
|
|
206
|
+
value: string;
|
|
207
|
+
};
|
|
208
|
+
800: {
|
|
209
|
+
value: string;
|
|
210
|
+
};
|
|
211
|
+
900: {
|
|
212
|
+
value: string;
|
|
213
|
+
};
|
|
214
|
+
950: {
|
|
215
|
+
value: string;
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
yellow: {
|
|
219
|
+
50: {
|
|
220
|
+
value: string;
|
|
221
|
+
};
|
|
222
|
+
100: {
|
|
223
|
+
value: string;
|
|
224
|
+
};
|
|
225
|
+
200: {
|
|
226
|
+
value: string;
|
|
227
|
+
};
|
|
228
|
+
300: {
|
|
229
|
+
value: string;
|
|
230
|
+
};
|
|
231
|
+
400: {
|
|
232
|
+
value: string;
|
|
233
|
+
};
|
|
234
|
+
500: {
|
|
235
|
+
value: string;
|
|
236
|
+
};
|
|
237
|
+
600: {
|
|
238
|
+
value: string;
|
|
239
|
+
};
|
|
240
|
+
700: {
|
|
241
|
+
value: string;
|
|
242
|
+
};
|
|
243
|
+
800: {
|
|
244
|
+
value: string;
|
|
245
|
+
};
|
|
246
|
+
900: {
|
|
247
|
+
value: string;
|
|
248
|
+
};
|
|
249
|
+
950: {
|
|
250
|
+
value: string;
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
shadows: {
|
|
255
|
+
inset: {
|
|
256
|
+
base: {
|
|
257
|
+
value: string;
|
|
258
|
+
};
|
|
259
|
+
dark: {
|
|
260
|
+
value: string;
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
elevation1: {
|
|
264
|
+
base: {
|
|
265
|
+
value: string[];
|
|
266
|
+
};
|
|
267
|
+
dark: {
|
|
268
|
+
value: string[];
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
elevation2: {
|
|
272
|
+
base: {
|
|
273
|
+
value: string[];
|
|
274
|
+
};
|
|
275
|
+
dark: {
|
|
276
|
+
value: string[];
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
elevation3: {
|
|
280
|
+
base: {
|
|
281
|
+
value: string[];
|
|
282
|
+
};
|
|
283
|
+
dark: {
|
|
284
|
+
value: string[];
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
elevation4: {
|
|
288
|
+
base: {
|
|
289
|
+
value: string[];
|
|
290
|
+
};
|
|
291
|
+
dark: {
|
|
292
|
+
value: string[];
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
elevation5: {
|
|
296
|
+
base: {
|
|
297
|
+
value: string[];
|
|
298
|
+
};
|
|
299
|
+
dark: {
|
|
300
|
+
value: string[];
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
elevation6: {
|
|
304
|
+
base: {
|
|
305
|
+
value: string[];
|
|
306
|
+
};
|
|
307
|
+
dark: {
|
|
308
|
+
value: string[];
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
type AccordionDisclosure = {
|
|
2
|
+
id: string;
|
|
3
|
+
title: string;
|
|
4
|
+
icon?: string;
|
|
5
|
+
defaultOpen?: boolean;
|
|
6
|
+
content: string;
|
|
7
|
+
};
|
|
8
|
+
type Alignment = 'start' | 'end' | 'center';
|
|
9
|
+
type AnchorPosition = 'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end';
|
|
10
|
+
type ButtonType = 'button' | 'reset' | 'submit';
|
|
11
|
+
type Color = 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error';
|
|
12
|
+
type ComponentName = 'RebndAccordion' | 'RebndAvatar' | 'RebndAvatarGroup' | 'RebndBadge' | 'RebndBreadcrumb' | 'RebndButton' | 'RebndCard' | 'RebndCombobox' | 'RebndDropdown' | 'RebndForm' | 'RebndFormGroup' | 'RebndIcon' | 'RebndTabs';
|
|
13
|
+
type DropdownAction = (fn: () => void) => void;
|
|
14
|
+
type Icon = {
|
|
15
|
+
id: IconName;
|
|
16
|
+
template: string;
|
|
17
|
+
};
|
|
18
|
+
type IconName = 'arrow' | 'bar' | 'chevron-up-down' | 'dash' | 'dot' | 'external' | 'horizontal-dots' | 'not-found' | 'search' | 'slash' | 'underscore';
|
|
19
|
+
type LinkRel = 'author' | 'external' | 'help' | 'license' | 'next' | 'nofollow' | 'noopener' | 'noreferrer' | 'noopener noreferrer' | 'nofollow noopener noreferrer';
|
|
20
|
+
type LinkTarget = '_self' | '_blank' | '_parent' | '_top';
|
|
21
|
+
type LinkType = 'a' | 'RouterLink' | 'NuxtLink';
|
|
22
|
+
type Position = 'top' | 'bottom' | 'left' | 'right';
|
|
23
|
+
type Rounded = 'none' | Size | 'full';
|
|
24
|
+
type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
25
|
+
type Variant = 'solid' | 'ghost' | 'outlined';
|
|
26
|
+
export type { AccordionDisclosure, Alignment, AnchorPosition, ButtonType, Color, ComponentName, DropdownAction, Icon, IconName, LinkRel, LinkTarget, LinkType, Position, Rounded, Size, Variant, };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { AccordionDisclosure, Alignment, AnchorPosition, ButtonType, Color, ComponentName, DropdownAction, Icon, IconName, LinkRel, LinkTarget, LinkType, Position, Rounded, Size, Variant } from './component';
|
|
2
|
+
import { FormError, FormSubmitEvent } from './form';
|
|
3
|
+
export type { AccordionDisclosure, Alignment, AnchorPosition, ButtonType, Color, ComponentName, DropdownAction, FormError, FormSubmitEvent, Icon, IconName, LinkRel, LinkTarget, LinkType, Position, Rounded, Size, Variant, };
|