voa-ds-vue 1.0.4 → 1.0.5
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/components.ts +1 -1
- package/dist/index.ts +5 -2
- package/package.json +30 -19
- package/src/components.ts +348 -348
- package/src/index.ts +5 -2
package/dist/components.ts
CHANGED
package/dist/index.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import '
|
|
1
|
+
import 'voa-ds-core/styles';
|
|
2
|
+
import { defineCustomElements } from 'voa-ds-core/loader';
|
|
3
|
+
|
|
4
|
+
// Auto-register custom elements
|
|
5
|
+
defineCustomElements();
|
|
2
6
|
|
|
3
7
|
export * from './components';
|
|
4
|
-
export { applyPolyfills, defineCustomElements } from '@voa-ds/core/loader';
|
package/package.json
CHANGED
|
@@ -1,19 +1,30 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "voa-ds-vue",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"main": "dist/index.ts",
|
|
5
|
-
"types": "dist/index.ts",
|
|
6
|
-
"files": [
|
|
7
|
-
"dist/",
|
|
8
|
-
"src/"
|
|
9
|
-
],
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "voa-ds-vue",
|
|
3
|
+
"version": "1.0.5",
|
|
4
|
+
"main": "dist/index.ts",
|
|
5
|
+
"types": "dist/index.ts",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist/",
|
|
8
|
+
"src/"
|
|
9
|
+
],
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"import": "./dist/index.ts",
|
|
13
|
+
"require": "./dist/index.ts",
|
|
14
|
+
"types": "./dist/index.ts"
|
|
15
|
+
},
|
|
16
|
+
"./styles": "voa-ds-core/styles"
|
|
17
|
+
},
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "node -e \"require('fs').cpSync('src', 'dist', {recursive: true})\""
|
|
20
|
+
},
|
|
21
|
+
"peerDependencies": {
|
|
22
|
+
"voa-ds-core": "^1.0.0"
|
|
23
|
+
},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"typescript": "^5.0.0"
|
|
26
|
+
},
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"registry": "https://proget-npm.aguiabranca.com.br/npm/npm-private/"
|
|
29
|
+
}
|
|
30
|
+
}
|
package/src/components.ts
CHANGED
|
@@ -1,348 +1,348 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* auto-generated vue proxies */
|
|
4
|
-
import { defineContainer } from './vue-component-lib/utils';
|
|
5
|
-
|
|
6
|
-
import type { JSX } from '
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export const VoaAccordion = /*@__PURE__*/ defineContainer<JSX.VoaAccordion>('voa-accordion', undefined, [
|
|
12
|
-
'open',
|
|
13
|
-
'size',
|
|
14
|
-
'divider',
|
|
15
|
-
'voaToggle'
|
|
16
|
-
]);
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
export const VoaAlert = /*@__PURE__*/ defineContainer<JSX.VoaAlert>('voa-alert', undefined, [
|
|
20
|
-
'variant',
|
|
21
|
-
'type',
|
|
22
|
-
'closable',
|
|
23
|
-
'closeButtonLabel',
|
|
24
|
-
'alertTitle',
|
|
25
|
-
'description',
|
|
26
|
-
'showButtons',
|
|
27
|
-
'primaryButtonText',
|
|
28
|
-
'secondaryButtonText',
|
|
29
|
-
'voaDismiss',
|
|
30
|
-
'voaPrimaryClick',
|
|
31
|
-
'voaSecondaryClick'
|
|
32
|
-
]);
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
export const VoaAvatar = /*@__PURE__*/ defineContainer<JSX.VoaAvatar>('voa-avatar', undefined, [
|
|
36
|
-
'type',
|
|
37
|
-
'size',
|
|
38
|
-
'initials',
|
|
39
|
-
'src',
|
|
40
|
-
'alt'
|
|
41
|
-
]);
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
export const VoaBadge = /*@__PURE__*/ defineContainer<JSX.VoaBadge>('voa-badge', undefined, [
|
|
45
|
-
'label',
|
|
46
|
-
'count',
|
|
47
|
-
'icon',
|
|
48
|
-
'variant',
|
|
49
|
-
'shape',
|
|
50
|
-
'size'
|
|
51
|
-
]);
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
export const VoaBreadcrumbs = /*@__PURE__*/ defineContainer<JSX.VoaBreadcrumbs>('voa-breadcrumbs', undefined, [
|
|
55
|
-
'type'
|
|
56
|
-
]);
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
export const VoaBreadcrumbsDivider = /*@__PURE__*/ defineContainer<JSX.VoaBreadcrumbsDivider>('voa-breadcrumbs-divider', undefined, [
|
|
60
|
-
'icon'
|
|
61
|
-
]);
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
export const VoaBreadcrumbsItem = /*@__PURE__*/ defineContainer<JSX.VoaBreadcrumbsItem>('voa-breadcrumbs-item', undefined, [
|
|
65
|
-
'href',
|
|
66
|
-
'target',
|
|
67
|
-
'active'
|
|
68
|
-
]);
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
export const VoaButton = /*@__PURE__*/ defineContainer<JSX.VoaButton>('voa-button', undefined, [
|
|
72
|
-
'variant',
|
|
73
|
-
'size',
|
|
74
|
-
'disabled',
|
|
75
|
-
'loading',
|
|
76
|
-
'label',
|
|
77
|
-
'ariaLabel',
|
|
78
|
-
'type',
|
|
79
|
-
'dsClick'
|
|
80
|
-
]);
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
export const VoaCard = /*@__PURE__*/ defineContainer<JSX.VoaCard>('voa-card', undefined);
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
export const VoaCheckbox = /*@__PURE__*/ defineContainer<JSX.VoaCheckbox>('voa-checkbox', undefined, [
|
|
87
|
-
'state',
|
|
88
|
-
'disabled',
|
|
89
|
-
'showLabel',
|
|
90
|
-
'name',
|
|
91
|
-
'value',
|
|
92
|
-
'dsChange'
|
|
93
|
-
]);
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
export const VoaContainerMultiSelect = /*@__PURE__*/ defineContainer<JSX.VoaContainerMultiSelect>('voa-container-multi-select', undefined, [
|
|
97
|
-
'items',
|
|
98
|
-
'disabled',
|
|
99
|
-
'placeholder',
|
|
100
|
-
'voaSelectionChange'
|
|
101
|
-
]);
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
export const VoaDatepicker = /*@__PURE__*/ defineContainer<JSX.VoaDatepicker>('voa-datepicker', undefined, [
|
|
105
|
-
'value'
|
|
106
|
-
]);
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
export const VoaDrawer = /*@__PURE__*/ defineContainer<JSX.VoaDrawer>('voa-drawer', undefined, [
|
|
110
|
-
'open'
|
|
111
|
-
]);
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
export const VoaDropdown = /*@__PURE__*/ defineContainer<JSX.VoaDropdown>('voa-dropdown', undefined, [
|
|
115
|
-
'options'
|
|
116
|
-
]);
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
export const VoaInput = /*@__PURE__*/ defineContainer<JSX.VoaInput>('voa-input', undefined, [
|
|
120
|
-
'inputId',
|
|
121
|
-
'type',
|
|
122
|
-
'name',
|
|
123
|
-
'value',
|
|
124
|
-
'placeholder',
|
|
125
|
-
'label',
|
|
126
|
-
'helperText',
|
|
127
|
-
'error',
|
|
128
|
-
'valid',
|
|
129
|
-
'warning',
|
|
130
|
-
'disabled',
|
|
131
|
-
'readonly',
|
|
132
|
-
'required',
|
|
133
|
-
'fill',
|
|
134
|
-
'size',
|
|
135
|
-
'showInfoIcon',
|
|
136
|
-
'dsChange',
|
|
137
|
-
'dsInput',
|
|
138
|
-
'dsFocus',
|
|
139
|
-
'dsBlur'
|
|
140
|
-
]);
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
export const VoaInputAddon = /*@__PURE__*/ defineContainer<JSX.VoaInputAddon>('voa-input-addon', undefined, [
|
|
144
|
-
'variant',
|
|
145
|
-
'prependContent',
|
|
146
|
-
'countryCode',
|
|
147
|
-
'buttonLabel',
|
|
148
|
-
'currency',
|
|
149
|
-
'currencyName',
|
|
150
|
-
'shortcut',
|
|
151
|
-
'platform',
|
|
152
|
-
'dsClick'
|
|
153
|
-
]);
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
export const VoaKeybinding = /*@__PURE__*/ defineContainer<JSX.VoaKeybinding>('voa-keybinding', undefined, [
|
|
157
|
-
'shortcut',
|
|
158
|
-
'platform'
|
|
159
|
-
]);
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
export const VoaLink = /*@__PURE__*/ defineContainer<JSX.VoaLink>('voa-link', undefined, [
|
|
163
|
-
'href',
|
|
164
|
-
'target'
|
|
165
|
-
]);
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
export const VoaList = /*@__PURE__*/ defineContainer<JSX.VoaList>('voa-list', undefined, [
|
|
169
|
-
'items'
|
|
170
|
-
]);
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
export const VoaModal = /*@__PURE__*/ defineContainer<JSX.VoaModal>('voa-modal', undefined, [
|
|
174
|
-
'open'
|
|
175
|
-
]);
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
export const VoaOption = /*@__PURE__*/ defineContainer<JSX.VoaOption>('voa-option', undefined, [
|
|
179
|
-
'checked',
|
|
180
|
-
'disabled',
|
|
181
|
-
'label',
|
|
182
|
-
'name',
|
|
183
|
-
'value',
|
|
184
|
-
'dsChange'
|
|
185
|
-
]);
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
export const VoaPagination = /*@__PURE__*/ defineContainer<JSX.VoaPagination>('voa-pagination', undefined, [
|
|
189
|
-
'currentPage',
|
|
190
|
-
'totalPages',
|
|
191
|
-
'siblingCount',
|
|
192
|
-
'voaPageChange'
|
|
193
|
-
]);
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
export const VoaPaginationItem = /*@__PURE__*/ defineContainer<JSX.VoaPaginationItem>('voa-pagination-item', undefined, [
|
|
197
|
-
'type',
|
|
198
|
-
'active',
|
|
199
|
-
'disabled',
|
|
200
|
-
'itemClick'
|
|
201
|
-
]);
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
export const VoaProgress = /*@__PURE__*/ defineContainer<JSX.VoaProgress>('voa-progress', undefined, [
|
|
205
|
-
'value'
|
|
206
|
-
]);
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
export const VoaRadio = /*@__PURE__*/ defineContainer<JSX.VoaRadio>('voa-radio', undefined, [
|
|
210
|
-
'checked',
|
|
211
|
-
'disabled',
|
|
212
|
-
'name',
|
|
213
|
-
'value',
|
|
214
|
-
'radioChange',
|
|
215
|
-
'radioFocus',
|
|
216
|
-
'radioBlur'
|
|
217
|
-
]);
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
export const VoaSelect = /*@__PURE__*/ defineContainer<JSX.VoaSelect>('voa-select', undefined, [
|
|
221
|
-
'type',
|
|
222
|
-
'label',
|
|
223
|
-
'showLabel',
|
|
224
|
-
'info',
|
|
225
|
-
'infoMessage',
|
|
226
|
-
'error',
|
|
227
|
-
'errorMessage',
|
|
228
|
-
'placeholder',
|
|
229
|
-
'value',
|
|
230
|
-
'options',
|
|
231
|
-
'disabled',
|
|
232
|
-
'voaSelectChange'
|
|
233
|
-
]);
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
export const VoaSelectBase = /*@__PURE__*/ defineContainer<JSX.VoaSelectBase>('voa-select-base', undefined, [
|
|
237
|
-
'options',
|
|
238
|
-
'placeholder',
|
|
239
|
-
'disabled',
|
|
240
|
-
'error',
|
|
241
|
-
'value',
|
|
242
|
-
'voaChange'
|
|
243
|
-
]);
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
export const VoaSkeleton = /*@__PURE__*/ defineContainer<JSX.VoaSkeleton>('voa-skeleton', undefined, [
|
|
247
|
-
'width',
|
|
248
|
-
'height',
|
|
249
|
-
'variant'
|
|
250
|
-
]);
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
export const VoaStepper = /*@__PURE__*/ defineContainer<JSX.VoaStepper>('voa-stepper', undefined, [
|
|
254
|
-
'steps',
|
|
255
|
-
'currentStep',
|
|
256
|
-
'stepChanged'
|
|
257
|
-
]);
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
export const VoaSwitch = /*@__PURE__*/ defineContainer<JSX.VoaSwitch>('voa-switch', undefined, [
|
|
261
|
-
'checked',
|
|
262
|
-
'disabled',
|
|
263
|
-
'showLabel',
|
|
264
|
-
'name',
|
|
265
|
-
'value',
|
|
266
|
-
'dsChange'
|
|
267
|
-
]);
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
export const VoaTab = /*@__PURE__*/ defineContainer<JSX.VoaTab>('voa-tab', undefined, [
|
|
271
|
-
'direction',
|
|
272
|
-
'activeIndex',
|
|
273
|
-
'dsTabChange'
|
|
274
|
-
]);
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
export const VoaTabItem = /*@__PURE__*/ defineContainer<JSX.VoaTabItem>('voa-tab-item', undefined, [
|
|
278
|
-
'state',
|
|
279
|
-
'position',
|
|
280
|
-
'showBadge',
|
|
281
|
-
'badgeCount',
|
|
282
|
-
'disabled',
|
|
283
|
-
'itemIndex',
|
|
284
|
-
'tabClick'
|
|
285
|
-
]);
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
export const VoaTable = /*@__PURE__*/ defineContainer<JSX.VoaTable>('voa-table', undefined, [
|
|
289
|
-
'data',
|
|
290
|
-
'columns'
|
|
291
|
-
]);
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
export const VoaTag = /*@__PURE__*/ defineContainer<JSX.VoaTag>('voa-tag', undefined, [
|
|
295
|
-
'label',
|
|
296
|
-
'variant',
|
|
297
|
-
'shape',
|
|
298
|
-
'size',
|
|
299
|
-
'iconLeft',
|
|
300
|
-
'iconRight'
|
|
301
|
-
]);
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
export const VoaTextArea = /*@__PURE__*/ defineContainer<JSX.VoaTextArea>('voa-text-area', undefined, [
|
|
305
|
-
'textareaId',
|
|
306
|
-
'name',
|
|
307
|
-
'label',
|
|
308
|
-
'info',
|
|
309
|
-
'infoText',
|
|
310
|
-
'placeholder',
|
|
311
|
-
'value',
|
|
312
|
-
'maxLength',
|
|
313
|
-
'disabled',
|
|
314
|
-
'readonly',
|
|
315
|
-
'required',
|
|
316
|
-
'rows',
|
|
317
|
-
'cols',
|
|
318
|
-
'errorMessage',
|
|
319
|
-
'hasError',
|
|
320
|
-
'voaChange',
|
|
321
|
-
'voaInput',
|
|
322
|
-
'voaFocus',
|
|
323
|
-
'voaBlur'
|
|
324
|
-
]);
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
export const VoaTimepicker = /*@__PURE__*/ defineContainer<JSX.VoaTimepicker>('voa-timepicker', undefined, [
|
|
328
|
-
'value'
|
|
329
|
-
]);
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
export const VoaTooltip = /*@__PURE__*/ defineContainer<JSX.VoaTooltip>('voa-tooltip', undefined, [
|
|
333
|
-
'position',
|
|
334
|
-
'theme',
|
|
335
|
-
'icon',
|
|
336
|
-
'text',
|
|
337
|
-
'ariaLabel'
|
|
338
|
-
]);
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
export const VoaTooltipArrow = /*@__PURE__*/ defineContainer<JSX.VoaTooltipArrow>('voa-tooltip-arrow', undefined, [
|
|
342
|
-
'position',
|
|
343
|
-
'theme'
|
|
344
|
-
]);
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
export const VoaUpload = /*@__PURE__*/ defineContainer<JSX.VoaUpload>('voa-upload', undefined);
|
|
348
|
-
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* auto-generated vue proxies */
|
|
4
|
+
import { defineContainer } from './vue-component-lib/utils';
|
|
5
|
+
|
|
6
|
+
import type { JSX } from 'voa-ds-core';
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export const VoaAccordion = /*@__PURE__*/ defineContainer<JSX.VoaAccordion>('voa-accordion', undefined, [
|
|
12
|
+
'open',
|
|
13
|
+
'size',
|
|
14
|
+
'divider',
|
|
15
|
+
'voaToggle'
|
|
16
|
+
]);
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
export const VoaAlert = /*@__PURE__*/ defineContainer<JSX.VoaAlert>('voa-alert', undefined, [
|
|
20
|
+
'variant',
|
|
21
|
+
'type',
|
|
22
|
+
'closable',
|
|
23
|
+
'closeButtonLabel',
|
|
24
|
+
'alertTitle',
|
|
25
|
+
'description',
|
|
26
|
+
'showButtons',
|
|
27
|
+
'primaryButtonText',
|
|
28
|
+
'secondaryButtonText',
|
|
29
|
+
'voaDismiss',
|
|
30
|
+
'voaPrimaryClick',
|
|
31
|
+
'voaSecondaryClick'
|
|
32
|
+
]);
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
export const VoaAvatar = /*@__PURE__*/ defineContainer<JSX.VoaAvatar>('voa-avatar', undefined, [
|
|
36
|
+
'type',
|
|
37
|
+
'size',
|
|
38
|
+
'initials',
|
|
39
|
+
'src',
|
|
40
|
+
'alt'
|
|
41
|
+
]);
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
export const VoaBadge = /*@__PURE__*/ defineContainer<JSX.VoaBadge>('voa-badge', undefined, [
|
|
45
|
+
'label',
|
|
46
|
+
'count',
|
|
47
|
+
'icon',
|
|
48
|
+
'variant',
|
|
49
|
+
'shape',
|
|
50
|
+
'size'
|
|
51
|
+
]);
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
export const VoaBreadcrumbs = /*@__PURE__*/ defineContainer<JSX.VoaBreadcrumbs>('voa-breadcrumbs', undefined, [
|
|
55
|
+
'type'
|
|
56
|
+
]);
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
export const VoaBreadcrumbsDivider = /*@__PURE__*/ defineContainer<JSX.VoaBreadcrumbsDivider>('voa-breadcrumbs-divider', undefined, [
|
|
60
|
+
'icon'
|
|
61
|
+
]);
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
export const VoaBreadcrumbsItem = /*@__PURE__*/ defineContainer<JSX.VoaBreadcrumbsItem>('voa-breadcrumbs-item', undefined, [
|
|
65
|
+
'href',
|
|
66
|
+
'target',
|
|
67
|
+
'active'
|
|
68
|
+
]);
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
export const VoaButton = /*@__PURE__*/ defineContainer<JSX.VoaButton>('voa-button', undefined, [
|
|
72
|
+
'variant',
|
|
73
|
+
'size',
|
|
74
|
+
'disabled',
|
|
75
|
+
'loading',
|
|
76
|
+
'label',
|
|
77
|
+
'ariaLabel',
|
|
78
|
+
'type',
|
|
79
|
+
'dsClick'
|
|
80
|
+
]);
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
export const VoaCard = /*@__PURE__*/ defineContainer<JSX.VoaCard>('voa-card', undefined);
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
export const VoaCheckbox = /*@__PURE__*/ defineContainer<JSX.VoaCheckbox>('voa-checkbox', undefined, [
|
|
87
|
+
'state',
|
|
88
|
+
'disabled',
|
|
89
|
+
'showLabel',
|
|
90
|
+
'name',
|
|
91
|
+
'value',
|
|
92
|
+
'dsChange'
|
|
93
|
+
]);
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
export const VoaContainerMultiSelect = /*@__PURE__*/ defineContainer<JSX.VoaContainerMultiSelect>('voa-container-multi-select', undefined, [
|
|
97
|
+
'items',
|
|
98
|
+
'disabled',
|
|
99
|
+
'placeholder',
|
|
100
|
+
'voaSelectionChange'
|
|
101
|
+
]);
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
export const VoaDatepicker = /*@__PURE__*/ defineContainer<JSX.VoaDatepicker>('voa-datepicker', undefined, [
|
|
105
|
+
'value'
|
|
106
|
+
]);
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
export const VoaDrawer = /*@__PURE__*/ defineContainer<JSX.VoaDrawer>('voa-drawer', undefined, [
|
|
110
|
+
'open'
|
|
111
|
+
]);
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
export const VoaDropdown = /*@__PURE__*/ defineContainer<JSX.VoaDropdown>('voa-dropdown', undefined, [
|
|
115
|
+
'options'
|
|
116
|
+
]);
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
export const VoaInput = /*@__PURE__*/ defineContainer<JSX.VoaInput>('voa-input', undefined, [
|
|
120
|
+
'inputId',
|
|
121
|
+
'type',
|
|
122
|
+
'name',
|
|
123
|
+
'value',
|
|
124
|
+
'placeholder',
|
|
125
|
+
'label',
|
|
126
|
+
'helperText',
|
|
127
|
+
'error',
|
|
128
|
+
'valid',
|
|
129
|
+
'warning',
|
|
130
|
+
'disabled',
|
|
131
|
+
'readonly',
|
|
132
|
+
'required',
|
|
133
|
+
'fill',
|
|
134
|
+
'size',
|
|
135
|
+
'showInfoIcon',
|
|
136
|
+
'dsChange',
|
|
137
|
+
'dsInput',
|
|
138
|
+
'dsFocus',
|
|
139
|
+
'dsBlur'
|
|
140
|
+
]);
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
export const VoaInputAddon = /*@__PURE__*/ defineContainer<JSX.VoaInputAddon>('voa-input-addon', undefined, [
|
|
144
|
+
'variant',
|
|
145
|
+
'prependContent',
|
|
146
|
+
'countryCode',
|
|
147
|
+
'buttonLabel',
|
|
148
|
+
'currency',
|
|
149
|
+
'currencyName',
|
|
150
|
+
'shortcut',
|
|
151
|
+
'platform',
|
|
152
|
+
'dsClick'
|
|
153
|
+
]);
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
export const VoaKeybinding = /*@__PURE__*/ defineContainer<JSX.VoaKeybinding>('voa-keybinding', undefined, [
|
|
157
|
+
'shortcut',
|
|
158
|
+
'platform'
|
|
159
|
+
]);
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
export const VoaLink = /*@__PURE__*/ defineContainer<JSX.VoaLink>('voa-link', undefined, [
|
|
163
|
+
'href',
|
|
164
|
+
'target'
|
|
165
|
+
]);
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
export const VoaList = /*@__PURE__*/ defineContainer<JSX.VoaList>('voa-list', undefined, [
|
|
169
|
+
'items'
|
|
170
|
+
]);
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
export const VoaModal = /*@__PURE__*/ defineContainer<JSX.VoaModal>('voa-modal', undefined, [
|
|
174
|
+
'open'
|
|
175
|
+
]);
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
export const VoaOption = /*@__PURE__*/ defineContainer<JSX.VoaOption>('voa-option', undefined, [
|
|
179
|
+
'checked',
|
|
180
|
+
'disabled',
|
|
181
|
+
'label',
|
|
182
|
+
'name',
|
|
183
|
+
'value',
|
|
184
|
+
'dsChange'
|
|
185
|
+
]);
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
export const VoaPagination = /*@__PURE__*/ defineContainer<JSX.VoaPagination>('voa-pagination', undefined, [
|
|
189
|
+
'currentPage',
|
|
190
|
+
'totalPages',
|
|
191
|
+
'siblingCount',
|
|
192
|
+
'voaPageChange'
|
|
193
|
+
]);
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
export const VoaPaginationItem = /*@__PURE__*/ defineContainer<JSX.VoaPaginationItem>('voa-pagination-item', undefined, [
|
|
197
|
+
'type',
|
|
198
|
+
'active',
|
|
199
|
+
'disabled',
|
|
200
|
+
'itemClick'
|
|
201
|
+
]);
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
export const VoaProgress = /*@__PURE__*/ defineContainer<JSX.VoaProgress>('voa-progress', undefined, [
|
|
205
|
+
'value'
|
|
206
|
+
]);
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
export const VoaRadio = /*@__PURE__*/ defineContainer<JSX.VoaRadio>('voa-radio', undefined, [
|
|
210
|
+
'checked',
|
|
211
|
+
'disabled',
|
|
212
|
+
'name',
|
|
213
|
+
'value',
|
|
214
|
+
'radioChange',
|
|
215
|
+
'radioFocus',
|
|
216
|
+
'radioBlur'
|
|
217
|
+
]);
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
export const VoaSelect = /*@__PURE__*/ defineContainer<JSX.VoaSelect>('voa-select', undefined, [
|
|
221
|
+
'type',
|
|
222
|
+
'label',
|
|
223
|
+
'showLabel',
|
|
224
|
+
'info',
|
|
225
|
+
'infoMessage',
|
|
226
|
+
'error',
|
|
227
|
+
'errorMessage',
|
|
228
|
+
'placeholder',
|
|
229
|
+
'value',
|
|
230
|
+
'options',
|
|
231
|
+
'disabled',
|
|
232
|
+
'voaSelectChange'
|
|
233
|
+
]);
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
export const VoaSelectBase = /*@__PURE__*/ defineContainer<JSX.VoaSelectBase>('voa-select-base', undefined, [
|
|
237
|
+
'options',
|
|
238
|
+
'placeholder',
|
|
239
|
+
'disabled',
|
|
240
|
+
'error',
|
|
241
|
+
'value',
|
|
242
|
+
'voaChange'
|
|
243
|
+
]);
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
export const VoaSkeleton = /*@__PURE__*/ defineContainer<JSX.VoaSkeleton>('voa-skeleton', undefined, [
|
|
247
|
+
'width',
|
|
248
|
+
'height',
|
|
249
|
+
'variant'
|
|
250
|
+
]);
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
export const VoaStepper = /*@__PURE__*/ defineContainer<JSX.VoaStepper>('voa-stepper', undefined, [
|
|
254
|
+
'steps',
|
|
255
|
+
'currentStep',
|
|
256
|
+
'stepChanged'
|
|
257
|
+
]);
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
export const VoaSwitch = /*@__PURE__*/ defineContainer<JSX.VoaSwitch>('voa-switch', undefined, [
|
|
261
|
+
'checked',
|
|
262
|
+
'disabled',
|
|
263
|
+
'showLabel',
|
|
264
|
+
'name',
|
|
265
|
+
'value',
|
|
266
|
+
'dsChange'
|
|
267
|
+
]);
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
export const VoaTab = /*@__PURE__*/ defineContainer<JSX.VoaTab>('voa-tab', undefined, [
|
|
271
|
+
'direction',
|
|
272
|
+
'activeIndex',
|
|
273
|
+
'dsTabChange'
|
|
274
|
+
]);
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
export const VoaTabItem = /*@__PURE__*/ defineContainer<JSX.VoaTabItem>('voa-tab-item', undefined, [
|
|
278
|
+
'state',
|
|
279
|
+
'position',
|
|
280
|
+
'showBadge',
|
|
281
|
+
'badgeCount',
|
|
282
|
+
'disabled',
|
|
283
|
+
'itemIndex',
|
|
284
|
+
'tabClick'
|
|
285
|
+
]);
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
export const VoaTable = /*@__PURE__*/ defineContainer<JSX.VoaTable>('voa-table', undefined, [
|
|
289
|
+
'data',
|
|
290
|
+
'columns'
|
|
291
|
+
]);
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
export const VoaTag = /*@__PURE__*/ defineContainer<JSX.VoaTag>('voa-tag', undefined, [
|
|
295
|
+
'label',
|
|
296
|
+
'variant',
|
|
297
|
+
'shape',
|
|
298
|
+
'size',
|
|
299
|
+
'iconLeft',
|
|
300
|
+
'iconRight'
|
|
301
|
+
]);
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
export const VoaTextArea = /*@__PURE__*/ defineContainer<JSX.VoaTextArea>('voa-text-area', undefined, [
|
|
305
|
+
'textareaId',
|
|
306
|
+
'name',
|
|
307
|
+
'label',
|
|
308
|
+
'info',
|
|
309
|
+
'infoText',
|
|
310
|
+
'placeholder',
|
|
311
|
+
'value',
|
|
312
|
+
'maxLength',
|
|
313
|
+
'disabled',
|
|
314
|
+
'readonly',
|
|
315
|
+
'required',
|
|
316
|
+
'rows',
|
|
317
|
+
'cols',
|
|
318
|
+
'errorMessage',
|
|
319
|
+
'hasError',
|
|
320
|
+
'voaChange',
|
|
321
|
+
'voaInput',
|
|
322
|
+
'voaFocus',
|
|
323
|
+
'voaBlur'
|
|
324
|
+
]);
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
export const VoaTimepicker = /*@__PURE__*/ defineContainer<JSX.VoaTimepicker>('voa-timepicker', undefined, [
|
|
328
|
+
'value'
|
|
329
|
+
]);
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
export const VoaTooltip = /*@__PURE__*/ defineContainer<JSX.VoaTooltip>('voa-tooltip', undefined, [
|
|
333
|
+
'position',
|
|
334
|
+
'theme',
|
|
335
|
+
'icon',
|
|
336
|
+
'text',
|
|
337
|
+
'ariaLabel'
|
|
338
|
+
]);
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
export const VoaTooltipArrow = /*@__PURE__*/ defineContainer<JSX.VoaTooltipArrow>('voa-tooltip-arrow', undefined, [
|
|
342
|
+
'position',
|
|
343
|
+
'theme'
|
|
344
|
+
]);
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
export const VoaUpload = /*@__PURE__*/ defineContainer<JSX.VoaUpload>('voa-upload', undefined);
|
|
348
|
+
|
package/src/index.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import '
|
|
1
|
+
import 'voa-ds-core/styles';
|
|
2
|
+
import { defineCustomElements } from 'voa-ds-core/loader';
|
|
3
|
+
|
|
4
|
+
// Auto-register custom elements
|
|
5
|
+
defineCustomElements();
|
|
2
6
|
|
|
3
7
|
export * from './components';
|
|
4
|
-
export { applyPolyfills, defineCustomElements } from '@voa-ds/core/loader';
|