xv-webcomponents 0.1.20 → 0.1.22

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.
Files changed (70) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +129 -129
  3. package/package.json +51 -51
  4. package/dist/types/components/xv-accordion/xv-accordion.d.ts +0 -20
  5. package/dist/types/components/xv-accordion-item/xv-accordion-item.d.ts +0 -15
  6. package/dist/types/components/xv-breadcrumbs/xv-breadcrumbs.d.ts +0 -3
  7. package/dist/types/components/xv-button/xv-button.d.ts +0 -16
  8. package/dist/types/components/xv-card/xv-card.d.ts +0 -8
  9. package/dist/types/components/xv-checkbox/xv-checkbox.d.ts +0 -70
  10. package/dist/types/components/xv-link/xv-link.d.ts +0 -9
  11. package/dist/types/components/xv-progress-indicator/xv-progress-indicator.d.ts +0 -7
  12. package/dist/types/components/xv-progress-indicator-item/xv-progress-indicator-item.d.ts +0 -5
  13. package/dist/types/components/xv-table/defs.d.ts +0 -16
  14. package/dist/types/components/xv-table/xv-table-col/xv-table-col.d.ts +0 -3
  15. package/dist/types/components/xv-table/xv-table-header-row/xv-table-header-row.d.ts +0 -25
  16. package/dist/types/components/xv-table/xv-table-row/xv-table-row.d.ts +0 -59
  17. package/dist/types/components/xv-table/xv-table.d.ts +0 -40
  18. package/dist/types/components/xv-tag/xv-tag.d.ts +0 -11
  19. package/dist/types/components/xv-tooltip/xv-tooltip.d.ts +0 -11
  20. package/dist/types/components.d.ts +0 -679
  21. package/dist/types/index.d.ts +0 -11
  22. package/dist/types/stencil-public-runtime.d.ts +0 -1680
  23. package/dist/types/types/enum.d.ts +0 -7
  24. package/dist/types/utils/utils.d.ts +0 -9
  25. package/dist/xv-webcomponents/app-globals-0f993ce5.js +0 -5
  26. package/dist/xv-webcomponents/app-globals-0f993ce5.js.map +0 -1
  27. package/dist/xv-webcomponents/index-90b82796.js +0 -3971
  28. package/dist/xv-webcomponents/index-90b82796.js.map +0 -1
  29. package/dist/xv-webcomponents/index.esm.js +0 -13
  30. package/dist/xv-webcomponents/index.esm.js.map +0 -1
  31. package/dist/xv-webcomponents/utils-e6dc0550.js +0 -17
  32. package/dist/xv-webcomponents/utils-e6dc0550.js.map +0 -1
  33. package/dist/xv-webcomponents/xv-accordion-v2-item.entry.js +0 -35
  34. package/dist/xv-webcomponents/xv-accordion-v2-item.entry.js.map +0 -1
  35. package/dist/xv-webcomponents/xv-accordion-v2.entry.js +0 -40
  36. package/dist/xv-webcomponents/xv-accordion-v2.entry.js.map +0 -1
  37. package/dist/xv-webcomponents/xv-breadcrumbs-v2.entry.js +0 -17
  38. package/dist/xv-webcomponents/xv-breadcrumbs-v2.entry.js.map +0 -1
  39. package/dist/xv-webcomponents/xv-button-v2.entry.js +0 -33
  40. package/dist/xv-webcomponents/xv-button-v2.entry.js.map +0 -1
  41. package/dist/xv-webcomponents/xv-card-v2.entry.js +0 -18
  42. package/dist/xv-webcomponents/xv-card-v2.entry.js.map +0 -1
  43. package/dist/xv-webcomponents/xv-checkbox-v2.entry.js +0 -99
  44. package/dist/xv-webcomponents/xv-checkbox-v2.entry.js.map +0 -1
  45. package/dist/xv-webcomponents/xv-link-v2.entry.js +0 -26
  46. package/dist/xv-webcomponents/xv-link-v2.entry.js.map +0 -1
  47. package/dist/xv-webcomponents/xv-progress-indicator-v2-item.entry.js +0 -19
  48. package/dist/xv-webcomponents/xv-progress-indicator-v2-item.entry.js.map +0 -1
  49. package/dist/xv-webcomponents/xv-progress-indicator-v2.entry.js +0 -39
  50. package/dist/xv-webcomponents/xv-progress-indicator-v2.entry.js.map +0 -1
  51. package/dist/xv-webcomponents/xv-table-v2-col.entry.js +0 -17
  52. package/dist/xv-webcomponents/xv-table-v2-col.entry.js.map +0 -1
  53. package/dist/xv-webcomponents/xv-table-v2-header-row.entry.js +0 -34
  54. package/dist/xv-webcomponents/xv-table-v2-header-row.entry.js.map +0 -1
  55. package/dist/xv-webcomponents/xv-table-v2-row.entry.js +0 -112
  56. package/dist/xv-webcomponents/xv-table-v2-row.entry.js.map +0 -1
  57. package/dist/xv-webcomponents/xv-table-v2.entry.js +0 -114
  58. package/dist/xv-webcomponents/xv-table-v2.entry.js.map +0 -1
  59. package/dist/xv-webcomponents/xv-tag-v2.entry.js +0 -28
  60. package/dist/xv-webcomponents/xv-tag-v2.entry.js.map +0 -1
  61. package/dist/xv-webcomponents/xv-tooltip-v2.entry.js +0 -23
  62. package/dist/xv-webcomponents/xv-tooltip-v2.entry.js.map +0 -1
  63. package/dist/xv-webcomponents/xv-webcomponents.esm.js +0 -49
  64. package/dist/xv-webcomponents/xv-webcomponents.esm.js.map +0 -1
  65. package/loader/cdn.js +0 -1
  66. package/loader/index.cjs.js +0 -1
  67. package/loader/index.d.ts +0 -24
  68. package/loader/index.es2017.js +0 -1
  69. package/loader/index.js +0 -2
  70. package/loader/package.json +0 -11
@@ -1,679 +0,0 @@
1
- /* eslint-disable */
2
- /* tslint:disable */
3
- /**
4
- * This is an autogenerated file created by the Stencil compiler.
5
- * It contains typing information for all components that exist in this project.
6
- */
7
- import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
- import { SIZE_VAR } from "./types/enum";
9
- import { TABLE_COLOR_SCHEMA, TABLE_SIZE } from "./components/xv-table/defs";
10
- export { SIZE_VAR } from "./types/enum";
11
- export { TABLE_COLOR_SCHEMA, TABLE_SIZE } from "./components/xv-table/defs";
12
- export namespace Components {
13
- interface XvAccordionV2 {
14
- "multiple": boolean;
15
- "toggleItem": (value: string) => Promise<{ opened: Set<string>; id: string; }>;
16
- "value": string;
17
- "xvId": string;
18
- /**
19
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
20
- */
21
- "xv-id"?: string;
22
- }
23
- interface XvAccordionV2Item {
24
- "disabled": boolean;
25
- "label": string;
26
- "value": string;
27
- }
28
- interface XvBreadcrumbsV2 {
29
- }
30
- interface XvButtonV2 {
31
- /**
32
- * Container width Button
33
- */
34
- "block": boolean;
35
- /**
36
- * Disabled state
37
- */
38
- "disabled": boolean;
39
- /**
40
- * Button label
41
- */
42
- "label": string;
43
- /**
44
- * Variant
45
- */
46
- "variant": 'accent' | 'primary' | 'secondary' | 'tertiary' | 'ghost';
47
- }
48
- interface XvCardV2 {
49
- "body": string;
50
- "footer": string;
51
- "header": string;
52
- "media": string;
53
- "variant": 'horizontal' | 'vertical';
54
- }
55
- interface XvCheckboxV2 {
56
- /**
57
- * Default checked status
58
- */
59
- "checked": boolean;
60
- /**
61
- * Disabled status
62
- */
63
- "disabled": boolean;
64
- "error"?: string | boolean;
65
- /**
66
- * Using for forms
67
- */
68
- "indeterminate": boolean;
69
- /**
70
- * Can be used like property or like slot
71
- */
72
- "label": string;
73
- /**
74
- * Input name
75
- */
76
- "name": string;
77
- /**
78
- * Change checkmark icon to minus
79
- */
80
- "partial": boolean;
81
- /**
82
- * The same like default checkbox prop
83
- */
84
- "required": boolean;
85
- "size"?: SIZE_VAR;
86
- /**
87
- * Input value
88
- */
89
- "value": string;
90
- }
91
- interface XvLinkV2 {
92
- "disabled": boolean;
93
- "href": string;
94
- "size": 'sm' | 'md' | 'lg';
95
- "target": '_self' | '_blank' | '_parent' | '_top';
96
- "variant": 'standalone' | 'inline';
97
- }
98
- interface XvProgressIndicatorV2 {
99
- "progress": number;
100
- }
101
- interface XvProgressIndicatorV2Item {
102
- "done": boolean;
103
- }
104
- interface XvTableV2 {
105
- /**
106
- * Set current color schema type of enum TABLE_COLOR_SCHEMA Possible options 'zebra'
107
- */
108
- "colorSchema": TABLE_COLOR_SCHEMA;
109
- /**
110
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
111
- */
112
- "color-schema"?: TABLE_COLOR_SCHEMA;
113
- /**
114
- * Table caption description
115
- */
116
- "description": string;
117
- /**
118
- * If table is expandable fields
119
- */
120
- "expandable": boolean;
121
- /**
122
- * Add checkbox selection to the table
123
- */
124
- "selectable": boolean;
125
- /**
126
- * Table size enum TABLE_SIZE
127
- */
128
- "size": TABLE_SIZE;
129
- }
130
- interface XvTableV2Col {
131
- }
132
- interface XvTableV2HeaderRow {
133
- /**
134
- * Checkbox row checked
135
- */
136
- "checked"?: boolean;
137
- /**
138
- * Checkbox row selected partially
139
- */
140
- "partial"?: boolean;
141
- /**
142
- * Checkbox row name
143
- */
144
- "selectionName"?: string;
145
- /**
146
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
147
- */
148
- "selection-name"?: string;
149
- }
150
- interface XvTableV2Row {
151
- /**
152
- * Checkbox row status
153
- */
154
- "checked"?: boolean;
155
- /**
156
- * Is row will be expandable If it's true then the next row will be collapsed
157
- */
158
- "expandable": boolean;
159
- /**
160
- * Default state of expandable
161
- */
162
- "expanded": boolean;
163
- /**
164
- * Checkbox row name
165
- */
166
- "selectionName"?: string;
167
- /**
168
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
169
- */
170
- "selection-name"?: string;
171
- /**
172
- * Called from outside (From expandable row)
173
- */
174
- "setExpandRelation": (id?: string, expanded?: boolean) => Promise<boolean>;
175
- /**
176
- * Called from outside (From expandable row) to change then expand or collapse
177
- */
178
- "toggleExpand": (id?: string, expanded?: boolean) => Promise<void>;
179
- /**
180
- * Checkbox row value
181
- */
182
- "value"?: string;
183
- }
184
- interface XvTagV2 {
185
- "bg": string;
186
- "closeable": boolean;
187
- "color": string;
188
- "disabled": boolean;
189
- "size": 'sm' | 'md' | 'lg';
190
- }
191
- interface XvTooltipV2 {
192
- /**
193
- * Message what will be shown for tooltip *
194
- */
195
- "message": string;
196
- /**
197
- * Tooltip and arrow position related to element possible options: 'top' | 'top-left' | 'top-right' | 'bottom' | 'bottom-left' | 'bottom-right' | 'left' | 'right'. By default, "top"
198
- */
199
- "position": 'top' | 'top-left' | 'top-right' | 'bottom' | 'bottom-left' | 'bottom-right' | 'left' | 'right';
200
- }
201
- }
202
- export interface XvAccordionV2CustomEvent<T> extends CustomEvent<T> {
203
- detail: T;
204
- target: HTMLXvAccordionV2Element;
205
- }
206
- export interface XvAccordionV2ItemCustomEvent<T> extends CustomEvent<T> {
207
- detail: T;
208
- target: HTMLXvAccordionV2ItemElement;
209
- }
210
- export interface XvButtonV2CustomEvent<T> extends CustomEvent<T> {
211
- detail: T;
212
- target: HTMLXvButtonV2Element;
213
- }
214
- export interface XvCheckboxV2CustomEvent<T> extends CustomEvent<T> {
215
- detail: T;
216
- target: HTMLXvCheckboxV2Element;
217
- }
218
- export interface XvTableV2CustomEvent<T> extends CustomEvent<T> {
219
- detail: T;
220
- target: HTMLXvTableV2Element;
221
- }
222
- export interface XvTableV2HeaderRowCustomEvent<T> extends CustomEvent<T> {
223
- detail: T;
224
- target: HTMLXvTableV2HeaderRowElement;
225
- }
226
- export interface XvTableV2RowCustomEvent<T> extends CustomEvent<T> {
227
- detail: T;
228
- target: HTMLXvTableV2RowElement;
229
- }
230
- export interface XvTagV2CustomEvent<T> extends CustomEvent<T> {
231
- detail: T;
232
- target: HTMLXvTagV2Element;
233
- }
234
- declare global {
235
- interface HTMLXvAccordionV2ElementEventMap {
236
- "accordionChange": { opened: Set<string>, id: string };
237
- }
238
- interface HTMLXvAccordionV2Element extends Components.XvAccordionV2, HTMLStencilElement {
239
- addEventListener<K extends keyof HTMLXvAccordionV2ElementEventMap>(type: K, listener: (this: HTMLXvAccordionV2Element, ev: XvAccordionV2CustomEvent<HTMLXvAccordionV2ElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
240
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
241
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
242
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
243
- removeEventListener<K extends keyof HTMLXvAccordionV2ElementEventMap>(type: K, listener: (this: HTMLXvAccordionV2Element, ev: XvAccordionV2CustomEvent<HTMLXvAccordionV2ElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
244
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
245
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
246
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
247
- }
248
- var HTMLXvAccordionV2Element: {
249
- prototype: HTMLXvAccordionV2Element;
250
- new (): HTMLXvAccordionV2Element;
251
- };
252
- interface HTMLXvAccordionV2ItemElementEventMap {
253
- "itemToggle": any;
254
- }
255
- interface HTMLXvAccordionV2ItemElement extends Components.XvAccordionV2Item, HTMLStencilElement {
256
- addEventListener<K extends keyof HTMLXvAccordionV2ItemElementEventMap>(type: K, listener: (this: HTMLXvAccordionV2ItemElement, ev: XvAccordionV2ItemCustomEvent<HTMLXvAccordionV2ItemElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
257
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
258
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
259
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
260
- removeEventListener<K extends keyof HTMLXvAccordionV2ItemElementEventMap>(type: K, listener: (this: HTMLXvAccordionV2ItemElement, ev: XvAccordionV2ItemCustomEvent<HTMLXvAccordionV2ItemElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
261
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
262
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
263
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
264
- }
265
- var HTMLXvAccordionV2ItemElement: {
266
- prototype: HTMLXvAccordionV2ItemElement;
267
- new (): HTMLXvAccordionV2ItemElement;
268
- };
269
- interface HTMLXvBreadcrumbsV2Element extends Components.XvBreadcrumbsV2, HTMLStencilElement {
270
- }
271
- var HTMLXvBreadcrumbsV2Element: {
272
- prototype: HTMLXvBreadcrumbsV2Element;
273
- new (): HTMLXvBreadcrumbsV2Element;
274
- };
275
- interface HTMLXvButtonV2ElementEventMap {
276
- "buttonClick": void;
277
- }
278
- interface HTMLXvButtonV2Element extends Components.XvButtonV2, HTMLStencilElement {
279
- addEventListener<K extends keyof HTMLXvButtonV2ElementEventMap>(type: K, listener: (this: HTMLXvButtonV2Element, ev: XvButtonV2CustomEvent<HTMLXvButtonV2ElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
280
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
281
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
282
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
283
- removeEventListener<K extends keyof HTMLXvButtonV2ElementEventMap>(type: K, listener: (this: HTMLXvButtonV2Element, ev: XvButtonV2CustomEvent<HTMLXvButtonV2ElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
284
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
285
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
286
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
287
- }
288
- var HTMLXvButtonV2Element: {
289
- prototype: HTMLXvButtonV2Element;
290
- new (): HTMLXvButtonV2Element;
291
- };
292
- interface HTMLXvCardV2Element extends Components.XvCardV2, HTMLStencilElement {
293
- }
294
- var HTMLXvCardV2Element: {
295
- prototype: HTMLXvCardV2Element;
296
- new (): HTMLXvCardV2Element;
297
- };
298
- interface HTMLXvCheckboxV2ElementEventMap {
299
- "eventChange": boolean;
300
- "eventInput": boolean;
301
- "eventFocus": void;
302
- "eventBlur": void;
303
- }
304
- interface HTMLXvCheckboxV2Element extends Components.XvCheckboxV2, HTMLStencilElement {
305
- addEventListener<K extends keyof HTMLXvCheckboxV2ElementEventMap>(type: K, listener: (this: HTMLXvCheckboxV2Element, ev: XvCheckboxV2CustomEvent<HTMLXvCheckboxV2ElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
306
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
307
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
308
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
309
- removeEventListener<K extends keyof HTMLXvCheckboxV2ElementEventMap>(type: K, listener: (this: HTMLXvCheckboxV2Element, ev: XvCheckboxV2CustomEvent<HTMLXvCheckboxV2ElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
310
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
311
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
312
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
313
- }
314
- var HTMLXvCheckboxV2Element: {
315
- prototype: HTMLXvCheckboxV2Element;
316
- new (): HTMLXvCheckboxV2Element;
317
- };
318
- interface HTMLXvLinkV2Element extends Components.XvLinkV2, HTMLStencilElement {
319
- }
320
- var HTMLXvLinkV2Element: {
321
- prototype: HTMLXvLinkV2Element;
322
- new (): HTMLXvLinkV2Element;
323
- };
324
- interface HTMLXvProgressIndicatorV2Element extends Components.XvProgressIndicatorV2, HTMLStencilElement {
325
- }
326
- var HTMLXvProgressIndicatorV2Element: {
327
- prototype: HTMLXvProgressIndicatorV2Element;
328
- new (): HTMLXvProgressIndicatorV2Element;
329
- };
330
- interface HTMLXvProgressIndicatorV2ItemElement extends Components.XvProgressIndicatorV2Item, HTMLStencilElement {
331
- }
332
- var HTMLXvProgressIndicatorV2ItemElement: {
333
- prototype: HTMLXvProgressIndicatorV2ItemElement;
334
- new (): HTMLXvProgressIndicatorV2ItemElement;
335
- };
336
- interface HTMLXvTableV2ElementEventMap {
337
- "changeSelection": { name: string, value?: any }[];
338
- }
339
- interface HTMLXvTableV2Element extends Components.XvTableV2, HTMLStencilElement {
340
- addEventListener<K extends keyof HTMLXvTableV2ElementEventMap>(type: K, listener: (this: HTMLXvTableV2Element, ev: XvTableV2CustomEvent<HTMLXvTableV2ElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
341
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
342
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
343
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
344
- removeEventListener<K extends keyof HTMLXvTableV2ElementEventMap>(type: K, listener: (this: HTMLXvTableV2Element, ev: XvTableV2CustomEvent<HTMLXvTableV2ElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
345
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
346
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
347
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
348
- }
349
- var HTMLXvTableV2Element: {
350
- prototype: HTMLXvTableV2Element;
351
- new (): HTMLXvTableV2Element;
352
- };
353
- interface HTMLXvTableV2ColElement extends Components.XvTableV2Col, HTMLStencilElement {
354
- }
355
- var HTMLXvTableV2ColElement: {
356
- prototype: HTMLXvTableV2ColElement;
357
- new (): HTMLXvTableV2ColElement;
358
- };
359
- interface HTMLXvTableV2HeaderRowElementEventMap {
360
- "checkedChange": { name: string, value?: string; checked: boolean };
361
- }
362
- interface HTMLXvTableV2HeaderRowElement extends Components.XvTableV2HeaderRow, HTMLStencilElement {
363
- addEventListener<K extends keyof HTMLXvTableV2HeaderRowElementEventMap>(type: K, listener: (this: HTMLXvTableV2HeaderRowElement, ev: XvTableV2HeaderRowCustomEvent<HTMLXvTableV2HeaderRowElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
364
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
365
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
366
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
367
- removeEventListener<K extends keyof HTMLXvTableV2HeaderRowElementEventMap>(type: K, listener: (this: HTMLXvTableV2HeaderRowElement, ev: XvTableV2HeaderRowCustomEvent<HTMLXvTableV2HeaderRowElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
368
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
369
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
370
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
371
- }
372
- var HTMLXvTableV2HeaderRowElement: {
373
- prototype: HTMLXvTableV2HeaderRowElement;
374
- new (): HTMLXvTableV2HeaderRowElement;
375
- };
376
- interface HTMLXvTableV2RowElementEventMap {
377
- "checkedChange": { name: string, value?: string; checked: boolean };
378
- }
379
- interface HTMLXvTableV2RowElement extends Components.XvTableV2Row, HTMLStencilElement {
380
- addEventListener<K extends keyof HTMLXvTableV2RowElementEventMap>(type: K, listener: (this: HTMLXvTableV2RowElement, ev: XvTableV2RowCustomEvent<HTMLXvTableV2RowElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
381
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
382
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
383
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
384
- removeEventListener<K extends keyof HTMLXvTableV2RowElementEventMap>(type: K, listener: (this: HTMLXvTableV2RowElement, ev: XvTableV2RowCustomEvent<HTMLXvTableV2RowElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
385
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
386
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
387
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
388
- }
389
- var HTMLXvTableV2RowElement: {
390
- prototype: HTMLXvTableV2RowElement;
391
- new (): HTMLXvTableV2RowElement;
392
- };
393
- interface HTMLXvTagV2ElementEventMap {
394
- "closeClick": PointerEvent;
395
- }
396
- interface HTMLXvTagV2Element extends Components.XvTagV2, HTMLStencilElement {
397
- addEventListener<K extends keyof HTMLXvTagV2ElementEventMap>(type: K, listener: (this: HTMLXvTagV2Element, ev: XvTagV2CustomEvent<HTMLXvTagV2ElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
398
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
399
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
400
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
401
- removeEventListener<K extends keyof HTMLXvTagV2ElementEventMap>(type: K, listener: (this: HTMLXvTagV2Element, ev: XvTagV2CustomEvent<HTMLXvTagV2ElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
402
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
403
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
404
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
405
- }
406
- var HTMLXvTagV2Element: {
407
- prototype: HTMLXvTagV2Element;
408
- new (): HTMLXvTagV2Element;
409
- };
410
- interface HTMLXvTooltipV2Element extends Components.XvTooltipV2, HTMLStencilElement {
411
- }
412
- var HTMLXvTooltipV2Element: {
413
- prototype: HTMLXvTooltipV2Element;
414
- new (): HTMLXvTooltipV2Element;
415
- };
416
- interface HTMLElementTagNameMap {
417
- "xv-accordion-v2": HTMLXvAccordionV2Element;
418
- "xv-accordion-v2-item": HTMLXvAccordionV2ItemElement;
419
- "xv-breadcrumbs-v2": HTMLXvBreadcrumbsV2Element;
420
- "xv-button-v2": HTMLXvButtonV2Element;
421
- "xv-card-v2": HTMLXvCardV2Element;
422
- "xv-checkbox-v2": HTMLXvCheckboxV2Element;
423
- "xv-link-v2": HTMLXvLinkV2Element;
424
- "xv-progress-indicator-v2": HTMLXvProgressIndicatorV2Element;
425
- "xv-progress-indicator-v2-item": HTMLXvProgressIndicatorV2ItemElement;
426
- "xv-table-v2": HTMLXvTableV2Element;
427
- "xv-table-v2-col": HTMLXvTableV2ColElement;
428
- "xv-table-v2-header-row": HTMLXvTableV2HeaderRowElement;
429
- "xv-table-v2-row": HTMLXvTableV2RowElement;
430
- "xv-tag-v2": HTMLXvTagV2Element;
431
- "xv-tooltip-v2": HTMLXvTooltipV2Element;
432
- }
433
- }
434
- declare namespace LocalJSX {
435
- interface XvAccordionV2 {
436
- "multiple"?: boolean;
437
- "onAccordionChange"?: (event: XvAccordionV2CustomEvent<{ opened: Set<string>, id: string }>) => void;
438
- "value"?: string;
439
- "xvId"?: string;
440
- /**
441
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
442
- */
443
- "xv-id"?: string;
444
- }
445
- interface XvAccordionV2Item {
446
- "disabled"?: boolean;
447
- "label"?: string;
448
- "onItemToggle"?: (event: XvAccordionV2ItemCustomEvent<any>) => void;
449
- "value"?: string;
450
- }
451
- interface XvBreadcrumbsV2 {
452
- }
453
- interface XvButtonV2 {
454
- /**
455
- * Container width Button
456
- */
457
- "block"?: boolean;
458
- /**
459
- * Disabled state
460
- */
461
- "disabled"?: boolean;
462
- /**
463
- * Button label
464
- */
465
- "label"?: string;
466
- /**
467
- * Emits when the button is clicked
468
- */
469
- "onButtonClick"?: (event: XvButtonV2CustomEvent<void>) => void;
470
- /**
471
- * Variant
472
- */
473
- "variant"?: 'accent' | 'primary' | 'secondary' | 'tertiary' | 'ghost';
474
- }
475
- interface XvCardV2 {
476
- "body"?: string;
477
- "footer"?: string;
478
- "header"?: string;
479
- "media"?: string;
480
- "variant"?: 'horizontal' | 'vertical';
481
- }
482
- interface XvCheckboxV2 {
483
- /**
484
- * Default checked status
485
- */
486
- "checked"?: boolean;
487
- /**
488
- * Disabled status
489
- */
490
- "disabled"?: boolean;
491
- "error"?: string | boolean;
492
- /**
493
- * Using for forms
494
- */
495
- "indeterminate"?: boolean;
496
- /**
497
- * Can be used like property or like slot
498
- */
499
- "label"?: string;
500
- /**
501
- * Input name
502
- */
503
- "name"?: string;
504
- /**
505
- * event 'onEventBlur'
506
- */
507
- "onEventBlur"?: (event: XvCheckboxV2CustomEvent<void>) => void;
508
- /**
509
- * event 'onEventChange'
510
- */
511
- "onEventChange"?: (event: XvCheckboxV2CustomEvent<boolean>) => void;
512
- /**
513
- * event 'onEventFocus'
514
- */
515
- "onEventFocus"?: (event: XvCheckboxV2CustomEvent<void>) => void;
516
- /**
517
- * event 'onEventInput'
518
- */
519
- "onEventInput"?: (event: XvCheckboxV2CustomEvent<boolean>) => void;
520
- /**
521
- * Change checkmark icon to minus
522
- */
523
- "partial"?: boolean;
524
- /**
525
- * The same like default checkbox prop
526
- */
527
- "required"?: boolean;
528
- "size"?: SIZE_VAR;
529
- /**
530
- * Input value
531
- */
532
- "value"?: string;
533
- }
534
- interface XvLinkV2 {
535
- "disabled"?: boolean;
536
- "href"?: string;
537
- "size"?: 'sm' | 'md' | 'lg';
538
- "target"?: '_self' | '_blank' | '_parent' | '_top';
539
- "variant"?: 'standalone' | 'inline';
540
- }
541
- interface XvProgressIndicatorV2 {
542
- "progress"?: number;
543
- }
544
- interface XvProgressIndicatorV2Item {
545
- "done"?: boolean;
546
- }
547
- interface XvTableV2 {
548
- /**
549
- * Set current color schema type of enum TABLE_COLOR_SCHEMA Possible options 'zebra'
550
- */
551
- "colorSchema"?: TABLE_COLOR_SCHEMA;
552
- /**
553
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
554
- */
555
- "color-schema"?: TABLE_COLOR_SCHEMA;
556
- /**
557
- * Table caption description
558
- */
559
- "description"?: string;
560
- /**
561
- * If table is expandable fields
562
- */
563
- "expandable"?: boolean;
564
- "onChangeSelection"?: (event: XvTableV2CustomEvent<{ name: string, value?: any }[]>) => void;
565
- /**
566
- * Add checkbox selection to the table
567
- */
568
- "selectable"?: boolean;
569
- /**
570
- * Table size enum TABLE_SIZE
571
- */
572
- "size"?: TABLE_SIZE;
573
- }
574
- interface XvTableV2Col {
575
- }
576
- interface XvTableV2HeaderRow {
577
- /**
578
- * Checkbox row checked
579
- */
580
- "checked"?: boolean;
581
- "onCheckedChange"?: (event: XvTableV2HeaderRowCustomEvent<{ name: string, value?: string; checked: boolean }>) => void;
582
- /**
583
- * Checkbox row selected partially
584
- */
585
- "partial"?: boolean;
586
- /**
587
- * Checkbox row name
588
- */
589
- "selectionName"?: string;
590
- /**
591
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
592
- */
593
- "selection-name"?: string;
594
- }
595
- interface XvTableV2Row {
596
- /**
597
- * Checkbox row status
598
- */
599
- "checked"?: boolean;
600
- /**
601
- * Is row will be expandable If it's true then the next row will be collapsed
602
- */
603
- "expandable"?: boolean;
604
- /**
605
- * Default state of expandable
606
- */
607
- "expanded"?: boolean;
608
- "onCheckedChange"?: (event: XvTableV2RowCustomEvent<{ name: string, value?: string; checked: boolean }>) => void;
609
- /**
610
- * Checkbox row name
611
- */
612
- "selectionName"?: string;
613
- /**
614
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
615
- */
616
- "selection-name"?: string;
617
- /**
618
- * Checkbox row value
619
- */
620
- "value"?: string;
621
- }
622
- interface XvTagV2 {
623
- "bg"?: string;
624
- "closeable"?: boolean;
625
- "color"?: string;
626
- "disabled"?: boolean;
627
- "onCloseClick"?: (event: XvTagV2CustomEvent<PointerEvent>) => void;
628
- "size"?: 'sm' | 'md' | 'lg';
629
- }
630
- interface XvTooltipV2 {
631
- /**
632
- * Message what will be shown for tooltip *
633
- */
634
- "message"?: string;
635
- /**
636
- * Tooltip and arrow position related to element possible options: 'top' | 'top-left' | 'top-right' | 'bottom' | 'bottom-left' | 'bottom-right' | 'left' | 'right'. By default, "top"
637
- */
638
- "position"?: 'top' | 'top-left' | 'top-right' | 'bottom' | 'bottom-left' | 'bottom-right' | 'left' | 'right';
639
- }
640
- interface IntrinsicElements {
641
- "xv-accordion-v2": XvAccordionV2;
642
- "xv-accordion-v2-item": XvAccordionV2Item;
643
- "xv-breadcrumbs-v2": XvBreadcrumbsV2;
644
- "xv-button-v2": XvButtonV2;
645
- "xv-card-v2": XvCardV2;
646
- "xv-checkbox-v2": XvCheckboxV2;
647
- "xv-link-v2": XvLinkV2;
648
- "xv-progress-indicator-v2": XvProgressIndicatorV2;
649
- "xv-progress-indicator-v2-item": XvProgressIndicatorV2Item;
650
- "xv-table-v2": XvTableV2;
651
- "xv-table-v2-col": XvTableV2Col;
652
- "xv-table-v2-header-row": XvTableV2HeaderRow;
653
- "xv-table-v2-row": XvTableV2Row;
654
- "xv-tag-v2": XvTagV2;
655
- "xv-tooltip-v2": XvTooltipV2;
656
- }
657
- }
658
- export { LocalJSX as JSX };
659
- declare module "@stencil/core" {
660
- export namespace JSX {
661
- interface IntrinsicElements {
662
- "xv-accordion-v2": LocalJSX.XvAccordionV2 & JSXBase.HTMLAttributes<HTMLXvAccordionV2Element>;
663
- "xv-accordion-v2-item": LocalJSX.XvAccordionV2Item & JSXBase.HTMLAttributes<HTMLXvAccordionV2ItemElement>;
664
- "xv-breadcrumbs-v2": LocalJSX.XvBreadcrumbsV2 & JSXBase.HTMLAttributes<HTMLXvBreadcrumbsV2Element>;
665
- "xv-button-v2": LocalJSX.XvButtonV2 & JSXBase.HTMLAttributes<HTMLXvButtonV2Element>;
666
- "xv-card-v2": LocalJSX.XvCardV2 & JSXBase.HTMLAttributes<HTMLXvCardV2Element>;
667
- "xv-checkbox-v2": LocalJSX.XvCheckboxV2 & JSXBase.HTMLAttributes<HTMLXvCheckboxV2Element>;
668
- "xv-link-v2": LocalJSX.XvLinkV2 & JSXBase.HTMLAttributes<HTMLXvLinkV2Element>;
669
- "xv-progress-indicator-v2": LocalJSX.XvProgressIndicatorV2 & JSXBase.HTMLAttributes<HTMLXvProgressIndicatorV2Element>;
670
- "xv-progress-indicator-v2-item": LocalJSX.XvProgressIndicatorV2Item & JSXBase.HTMLAttributes<HTMLXvProgressIndicatorV2ItemElement>;
671
- "xv-table-v2": LocalJSX.XvTableV2 & JSXBase.HTMLAttributes<HTMLXvTableV2Element>;
672
- "xv-table-v2-col": LocalJSX.XvTableV2Col & JSXBase.HTMLAttributes<HTMLXvTableV2ColElement>;
673
- "xv-table-v2-header-row": LocalJSX.XvTableV2HeaderRow & JSXBase.HTMLAttributes<HTMLXvTableV2HeaderRowElement>;
674
- "xv-table-v2-row": LocalJSX.XvTableV2Row & JSXBase.HTMLAttributes<HTMLXvTableV2RowElement>;
675
- "xv-tag-v2": LocalJSX.XvTagV2 & JSXBase.HTMLAttributes<HTMLXvTagV2Element>;
676
- "xv-tooltip-v2": LocalJSX.XvTooltipV2 & JSXBase.HTMLAttributes<HTMLXvTooltipV2Element>;
677
- }
678
- }
679
- }