xv-webcomponents 0.1.30 → 0.1.32

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 (123) hide show
  1. package/dist/cjs/{index-782b9733.js → index-5ee1b884.js} +43 -2
  2. package/dist/cjs/index-5ee1b884.js.map +1 -0
  3. package/dist/cjs/index.cjs.js +1 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/{utils-aa46f72a.js → utils-22c0eda0.js} +1 -16
  6. package/dist/cjs/utils-22c0eda0.js.map +1 -0
  7. package/dist/cjs/{xv-accordion-v2_28.cjs.entry.js → xv-accordion-v2_26.cjs.entry.js} +191 -440
  8. package/dist/cjs/xv-accordion-v2_26.cjs.entry.js.map +1 -0
  9. package/dist/cjs/xv-breadcrumbs-v2.cjs.entry.js +1 -1
  10. package/dist/cjs/xv-webcomponents.cjs.js +2 -2
  11. package/dist/collection/collection-manifest.json +1 -3
  12. package/dist/collection/components/xv-checkbox/xv-checkbox.css +4 -1
  13. package/dist/collection/components/xv-checkbox/xv-checkbox.js +1 -1
  14. package/dist/collection/components/xv-checkbox/xv-checkbox.js.map +1 -1
  15. package/dist/collection/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.js +1 -1
  16. package/dist/collection/components/xv-dropdown/xv-dropdown.css +1 -1
  17. package/dist/collection/components/xv-dropdown/xv-dropdown.js +41 -11
  18. package/dist/collection/components/xv-dropdown/xv-dropdown.js.map +1 -1
  19. package/dist/collection/components/xv-footer/xv-footer.js +1 -1
  20. package/dist/collection/components/xv-header/xv-header.js +1 -1
  21. package/dist/collection/components/xv-link/xv-link.css +5 -0
  22. package/dist/collection/components/xv-link/xv-link.js +3 -3
  23. package/dist/collection/components/xv-link/xv-link.js.map +1 -1
  24. package/dist/collection/components/xv-modal/xv-modal.css +8 -4
  25. package/dist/collection/components/xv-modal/xv-modal.js +31 -7
  26. package/dist/collection/components/xv-modal/xv-modal.js.map +1 -1
  27. package/dist/collection/components/xv-notification/xv-notification.js +3 -3
  28. package/dist/collection/components/xv-notification/xv-notification.js.map +1 -1
  29. package/dist/collection/components/xv-overflow-menu/xv-overflow-menu-item/xv-overflow-menu-item.js +1 -1
  30. package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.css +3 -0
  31. package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.js +1 -1
  32. package/dist/collection/components/xv-progress-indicator/xv-progress-indicator-item/xv-progress-indicator-item.js +1 -1
  33. package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js +2 -2
  34. package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js.map +1 -1
  35. package/dist/collection/components/xv-table/_vars.js +9 -0
  36. package/dist/collection/components/xv-table/_vars.js.map +1 -0
  37. package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.css +93 -0
  38. package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.js +160 -0
  39. package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.js.map +1 -0
  40. package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.css +55 -114
  41. package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.js +28 -151
  42. package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.js.map +1 -1
  43. package/dist/collection/components/xv-table/xv-table-row/xv-table-row.css +27 -34
  44. package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js +165 -106
  45. package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js.map +1 -1
  46. package/dist/collection/components/xv-table/xv-table.css +101 -141
  47. package/dist/collection/components/xv-table/xv-table.js +70 -196
  48. package/dist/collection/components/xv-table/xv-table.js.map +1 -1
  49. package/dist/collection/components/xv-tabs/xv-tab/xv-tab.css +7 -0
  50. package/dist/collection/components/xv-tabs/xv-tab/xv-tab.js +44 -3
  51. package/dist/collection/components/xv-tabs/xv-tab/xv-tab.js.map +1 -1
  52. package/dist/collection/components/xv-tabs/xv-tabs.css +60 -12
  53. package/dist/collection/components/xv-tabs/xv-tabs.js +97 -48
  54. package/dist/collection/components/xv-tabs/xv-tabs.js.map +1 -1
  55. package/dist/collection/components/xv-tag/xv-tag.js +1 -1
  56. package/dist/collection/components/xv-text-input/xv-text-input.js +53 -10
  57. package/dist/collection/components/xv-text-input/xv-text-input.js.map +1 -1
  58. package/dist/collection/components/xv-tooltip/xv-tooltip.css +6 -1
  59. package/dist/collection/components/xv-tooltip/xv-tooltip.js +22 -3
  60. package/dist/collection/components/xv-tooltip/xv-tooltip.js.map +1 -1
  61. package/dist/esm/{index-83ab73b7.js → index-590eb7d2.js} +43 -3
  62. package/dist/esm/index-590eb7d2.js.map +1 -0
  63. package/dist/esm/index.js +1 -1
  64. package/dist/esm/loader.js +3 -3
  65. package/dist/esm/{utils-0d1c18d5.js → utils-a9c71376.js} +2 -16
  66. package/dist/esm/utils-a9c71376.js.map +1 -0
  67. package/dist/esm/{xv-accordion-v2_28.entry.js → xv-accordion-v2_26.entry.js} +191 -438
  68. package/dist/esm/xv-accordion-v2_26.entry.js.map +1 -0
  69. package/dist/esm/xv-breadcrumbs-v2.entry.js +1 -1
  70. package/dist/esm/xv-webcomponents.js +3 -3
  71. package/dist/types/components/xv-dropdown/xv-dropdown.d.ts +2 -0
  72. package/dist/types/components/xv-link/xv-link.d.ts +1 -1
  73. package/dist/types/components/xv-modal/xv-modal.d.ts +5 -1
  74. package/dist/types/components/xv-table/_vars.d.ts +19 -0
  75. package/dist/types/components/xv-table/xv-table-cell/xv-table-cell.d.ts +12 -0
  76. package/dist/types/components/xv-table/xv-table-expand/xv-table-expand.d.ts +4 -20
  77. package/dist/types/components/xv-table/xv-table-row/xv-table-row.d.ts +16 -46
  78. package/dist/types/components/xv-table/xv-table.d.ts +10 -32
  79. package/dist/types/components/xv-tabs/xv-tab/xv-tab.d.ts +2 -0
  80. package/dist/types/components/xv-tabs/xv-tabs.d.ts +15 -11
  81. package/dist/types/components/xv-text-input/xv-text-input.d.ts +3 -0
  82. package/dist/types/components/xv-tooltip/xv-tooltip.d.ts +1 -0
  83. package/dist/types/components.d.ts +127 -265
  84. package/dist/xv-webcomponents/index.esm.js +1 -1
  85. package/dist/xv-webcomponents/p-51113bf3.entry.js +2 -0
  86. package/dist/xv-webcomponents/p-51113bf3.entry.js.map +1 -0
  87. package/dist/xv-webcomponents/p-612356e6.js +3 -0
  88. package/dist/xv-webcomponents/p-612356e6.js.map +1 -0
  89. package/dist/xv-webcomponents/p-c09a0bfe.entry.js +2 -0
  90. package/dist/xv-webcomponents/p-f98a1845.js +2 -0
  91. package/dist/xv-webcomponents/p-f98a1845.js.map +1 -0
  92. package/dist/xv-webcomponents/xv-webcomponents.esm.js +1 -1
  93. package/dist/xv-webcomponents/xv-webcomponents.esm.js.map +1 -1
  94. package/package.json +1 -1
  95. package/dist/cjs/index-782b9733.js.map +0 -1
  96. package/dist/cjs/utils-aa46f72a.js.map +0 -1
  97. package/dist/cjs/xv-accordion-v2_28.cjs.entry.js.map +0 -1
  98. package/dist/collection/components/xv-table/defs.js +0 -28
  99. package/dist/collection/components/xv-table/defs.js.map +0 -1
  100. package/dist/collection/components/xv-table/xv-table-col/xv-table-col.css +0 -13
  101. package/dist/collection/components/xv-table/xv-table-col/xv-table-col.js +0 -111
  102. package/dist/collection/components/xv-table/xv-table-col/xv-table-col.js.map +0 -1
  103. package/dist/collection/components/xv-table/xv-table-header-row/xv-table-header-row.css +0 -80
  104. package/dist/collection/components/xv-table/xv-table-header-row/xv-table-header-row.js +0 -172
  105. package/dist/collection/components/xv-table/xv-table-header-row/xv-table-header-row.js.map +0 -1
  106. package/dist/collection/components/xv-table/xv-table-toolbar/xv-table-toolbar.css +0 -47
  107. package/dist/collection/components/xv-table/xv-table-toolbar/xv-table-toolbar.js +0 -78
  108. package/dist/collection/components/xv-table/xv-table-toolbar/xv-table-toolbar.js.map +0 -1
  109. package/dist/esm/index-83ab73b7.js.map +0 -1
  110. package/dist/esm/utils-0d1c18d5.js.map +0 -1
  111. package/dist/esm/xv-accordion-v2_28.entry.js.map +0 -1
  112. package/dist/types/components/xv-table/defs.d.ts +0 -38
  113. package/dist/types/components/xv-table/xv-table-col/xv-table-col.d.ts +0 -9
  114. package/dist/types/components/xv-table/xv-table-header-row/xv-table-header-row.d.ts +0 -28
  115. package/dist/types/components/xv-table/xv-table-toolbar/xv-table-toolbar.d.ts +0 -6
  116. package/dist/xv-webcomponents/p-39bf1511.js +0 -2
  117. package/dist/xv-webcomponents/p-39bf1511.js.map +0 -1
  118. package/dist/xv-webcomponents/p-5f18d718.entry.js +0 -2
  119. package/dist/xv-webcomponents/p-840929c5.js +0 -3
  120. package/dist/xv-webcomponents/p-840929c5.js.map +0 -1
  121. package/dist/xv-webcomponents/p-cc83f7ea.entry.js +0 -2
  122. package/dist/xv-webcomponents/p-cc83f7ea.entry.js.map +0 -1
  123. /package/dist/xv-webcomponents/{p-5f18d718.entry.js.map → p-c09a0bfe.entry.js.map} +0 -0
@@ -10,7 +10,7 @@ import { DropdownItemData } from "./components/xv-dropdown/_vars";
10
10
  import { NOTIFICATION_VARIANTS } from "./components/xv-notification/_vars";
11
11
  import { OverflowMenuEvent, OverflowMenuVariant } from "./components/xv-overflow-menu/_vars";
12
12
  import { PROGRESS_ITEM_STATUS, PROGRESS_VARIANTS } from "./components/xv-progress-indicator/_vars";
13
- import { SORT_DIR, TABLE_COLOR_SCHEMA, TABLE_SIZE, TableSelectionEventData, TableSortData } from "./components/xv-table/defs";
13
+ import { SelectRowDto, XV_SORT_DIR, XVTableSortDto } from "./components/xv-table/_vars";
14
14
  import { TABS_VATIANT } from "./components/xv-tabs/_vars";
15
15
  import { TextInputStatus } from "./components/xv-text-input/_vars";
16
16
  export { SIZE_VAR } from "./types/enum";
@@ -18,7 +18,7 @@ export { DropdownItemData } from "./components/xv-dropdown/_vars";
18
18
  export { NOTIFICATION_VARIANTS } from "./components/xv-notification/_vars";
19
19
  export { OverflowMenuEvent, OverflowMenuVariant } from "./components/xv-overflow-menu/_vars";
20
20
  export { PROGRESS_ITEM_STATUS, PROGRESS_VARIANTS } from "./components/xv-progress-indicator/_vars";
21
- export { SORT_DIR, TABLE_COLOR_SCHEMA, TABLE_SIZE, TableSelectionEventData, TableSortData } from "./components/xv-table/defs";
21
+ export { SelectRowDto, XV_SORT_DIR, XVTableSortDto } from "./components/xv-table/_vars";
22
22
  export { TABS_VATIANT } from "./components/xv-tabs/_vars";
23
23
  export { TextInputStatus } from "./components/xv-text-input/_vars";
24
24
  export namespace Components {
@@ -118,6 +118,7 @@ export namespace Components {
118
118
  "error"?: string;
119
119
  "helper"?: string;
120
120
  "label"?: string;
121
+ "loading"?: boolean;
121
122
  "multiple"?: boolean;
122
123
  "open"?: boolean;
123
124
  "placeholder"?: string;
@@ -145,7 +146,7 @@ export namespace Components {
145
146
  "href": string;
146
147
  "size": 'sm' | 'md' | 'lg';
147
148
  "target": '_self' | '_blank' | '_parent' | '_top';
148
- "variant": 'standalone' | 'inline';
149
+ "variant": 'standalone' | 'inline' | 'ghost';
149
150
  }
150
151
  interface XvLoaderV2 {
151
152
  /**
@@ -168,6 +169,10 @@ export namespace Components {
168
169
  */
169
170
  "open": boolean;
170
171
  "openModal": () => Promise<boolean>;
172
+ /**
173
+ * When need scroll modal content
174
+ */
175
+ "overflow": boolean;
171
176
  /**
172
177
  * If true then modal not be closed on backdrop click
173
178
  */
@@ -212,114 +217,62 @@ export namespace Components {
212
217
  interface XvTabV2 {
213
218
  "disabled": boolean;
214
219
  "label": string;
220
+ "loading": boolean;
221
+ "name"?: number | string;
215
222
  }
216
223
  interface XvTableV2 {
217
- /**
218
- * Set current color schema type of enum TABLE_COLOR_SCHEMA Possible options 'zebra'
219
- */
220
- "colorSchema": TABLE_COLOR_SCHEMA;
221
- /**
222
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
223
- */
224
- "color-schema"?: TABLE_COLOR_SCHEMA;
225
- /**
226
- * Table caption description
227
- */
228
- "description": string;
229
- /**
230
- * If table is expandable fields
231
- */
232
- "expandable": boolean;
233
- /**
234
- * Add checkbox selection to the table
235
- */
236
- "selectable": boolean;
237
- /**
238
- * Table size enum TABLE_SIZE
239
- */
240
- "size": TABLE_SIZE;
224
+ "colsSize"?: (string | null)[];
225
+ "hover"?: boolean;
226
+ "loading"?: boolean;
227
+ "size"?: SIZE_VAR;
241
228
  }
242
- interface XvTableV2Col {
243
- "sort"?: SORT_DIR | '';
244
- "sortName"?: string;
245
- /**
246
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
247
- */
248
- "sort-name"?: string;
229
+ interface XvTableV2Cell {
230
+ "align"?: 'left' | 'right' | 'center';
231
+ "multiline"?: boolean;
232
+ "name"?: string;
233
+ "sort"?: XV_SORT_DIR | '';
249
234
  }
250
235
  interface XvTableV2Expand {
251
- "expanded": boolean;
252
- "toggleExpand": (expanded: boolean) => Promise<void>;
253
- }
254
- interface XvTableV2HeaderRow {
255
- /**
256
- * Checkbox row checked
257
- */
258
- "checked": boolean;
259
- /**
260
- * Checkbox row selected partially
261
- */
262
- "partial": boolean;
263
- /**
264
- * Checkbox row name
265
- */
266
- "selectionName"?: string;
267
- /**
268
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
269
- */
270
- "selection-name"?: string;
271
- /**
272
- * Is sort enabled
273
- */
274
- "sortable"?: boolean;
236
+ "disabled": boolean;
237
+ "open": boolean;
275
238
  }
276
239
  interface XvTableV2Row {
240
+ "checked"?: SelectRowDto['checked'];
241
+ "disabled"?: boolean;
242
+ "header"?: boolean;
243
+ "hover"?: boolean;
244
+ "name"?: SelectRowDto['name'];
245
+ "partial"?: SelectRowDto['partial'];
246
+ "readonly"?: boolean;
247
+ "required"?: boolean;
248
+ "value"?: SelectRowDto['value'];
249
+ "variant"?: 'checkbox' | 'radio' | '';
250
+ }
251
+ interface XvTabsV2 {
277
252
  /**
278
- * Checkbox row status
279
- */
280
- "checked"?: boolean;
281
- /**
282
- * Disabled status
283
- */
284
- "disabled": boolean;
285
- /**
286
- * Is row will be expandable If it's true then the next row will be collapsed
253
+ * Index of active tab
287
254
  */
288
- "expandable": boolean;
255
+ "active": number | string;
289
256
  /**
290
- * Default state of expandable
257
+ * Message when have no tabs
291
258
  */
292
- "expanded": boolean;
293
- "groupId"?: string;
259
+ "emptyMessage"?: string;
294
260
  /**
295
261
  * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
296
262
  */
297
- "group-id"?: string;
263
+ "empty-message"?: string;
298
264
  /**
299
- * Checkbox row with minus icon
265
+ * Show loader
300
266
  */
301
- "partial"?: boolean;
267
+ "loading"?: boolean;
302
268
  /**
303
- * Checkbox row name
269
+ * Message when have no tabs
304
270
  */
305
- "selectionName"?: string;
271
+ "showArrows"?: boolean;
306
272
  /**
307
273
  * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
308
274
  */
309
- "selection-name"?: string;
310
- /**
311
- * Checkbox row value
312
- */
313
- "value"?: string;
314
- }
315
- interface XvTableV2Toolbar {
316
- "setSelectedItems": (selected: Map<string, TableSelectionEventData>) => Promise<void>;
317
- }
318
- interface XvTabsV2 {
319
- /**
320
- * Index of active tab
321
- */
322
- "active": number;
275
+ "show-arrows"?: boolean;
323
276
  /**
324
277
  * Variant of tabs from TABS_VATIANT enum
325
278
  */
@@ -341,6 +294,7 @@ export namespace Components {
341
294
  "disabled": boolean;
342
295
  "helper": string;
343
296
  "label"?: string;
297
+ "loading": boolean;
344
298
  "name"?: string;
345
299
  "placeholder"?: string;
346
300
  "readonly": boolean;
@@ -353,6 +307,7 @@ export namespace Components {
353
307
  * Message what will be shown for tooltip *
354
308
  */
355
309
  "message": string;
310
+ "multiline": boolean;
356
311
  /**
357
312
  * Tooltip and arrow position related to element possible options: 'top' | 'top-left' | 'top-right' | 'bottom' | 'bottom-left' | 'bottom-right' | 'left' | 'right'. By default, "top"
358
313
  */
@@ -399,21 +354,9 @@ export interface XvOverflowMenuV2ItemCustomEvent<T> extends CustomEvent<T> {
399
354
  detail: T;
400
355
  target: HTMLXvOverflowMenuV2ItemElement;
401
356
  }
402
- export interface XvTableV2CustomEvent<T> extends CustomEvent<T> {
403
- detail: T;
404
- target: HTMLXvTableV2Element;
405
- }
406
- export interface XvTableV2ColCustomEvent<T> extends CustomEvent<T> {
407
- detail: T;
408
- target: HTMLXvTableV2ColElement;
409
- }
410
- export interface XvTableV2ExpandCustomEvent<T> extends CustomEvent<T> {
411
- detail: T;
412
- target: HTMLXvTableV2ExpandElement;
413
- }
414
- export interface XvTableV2HeaderRowCustomEvent<T> extends CustomEvent<T> {
357
+ export interface XvTableV2CellCustomEvent<T> extends CustomEvent<T> {
415
358
  detail: T;
416
- target: HTMLXvTableV2HeaderRowElement;
359
+ target: HTMLXvTableV2CellElement;
417
360
  }
418
361
  export interface XvTableV2RowCustomEvent<T> extends CustomEvent<T> {
419
362
  detail: T;
@@ -427,6 +370,10 @@ export interface XvTagV2CustomEvent<T> extends CustomEvent<T> {
427
370
  detail: T;
428
371
  target: HTMLXvTagV2Element;
429
372
  }
373
+ export interface XvTextInputV2CustomEvent<T> extends CustomEvent<T> {
374
+ detail: T;
375
+ target: HTMLXvTextInputV2Element;
376
+ }
430
377
  declare global {
431
378
  interface HTMLXvAccordionV2ElementEventMap {
432
379
  "accordionChange": { opened: Set<string>, id: string };
@@ -576,7 +523,7 @@ declare global {
576
523
  new (): HTMLXvLoaderV2Element;
577
524
  };
578
525
  interface HTMLXvModalV2ElementEventMap {
579
- "changeOpen": boolean;
526
+ "openChange": boolean;
580
527
  }
581
528
  interface HTMLXvModalV2Element extends Components.XvModalV2, HTMLStencilElement {
582
529
  addEventListener<K extends keyof HTMLXvModalV2ElementEventMap>(type: K, listener: (this: HTMLXvModalV2Element, ev: XvModalV2CustomEvent<HTMLXvModalV2ElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
@@ -661,77 +608,38 @@ declare global {
661
608
  prototype: HTMLXvTabV2Element;
662
609
  new (): HTMLXvTabV2Element;
663
610
  };
664
- interface HTMLXvTableV2ElementEventMap {
665
- "changeSelection": TableSelectionEventData[];
666
- }
667
611
  interface HTMLXvTableV2Element extends Components.XvTableV2, HTMLStencilElement {
668
- addEventListener<K extends keyof HTMLXvTableV2ElementEventMap>(type: K, listener: (this: HTMLXvTableV2Element, ev: XvTableV2CustomEvent<HTMLXvTableV2ElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
669
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
670
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
671
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
672
- removeEventListener<K extends keyof HTMLXvTableV2ElementEventMap>(type: K, listener: (this: HTMLXvTableV2Element, ev: XvTableV2CustomEvent<HTMLXvTableV2ElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
673
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
674
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
675
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
676
612
  }
677
613
  var HTMLXvTableV2Element: {
678
614
  prototype: HTMLXvTableV2Element;
679
615
  new (): HTMLXvTableV2Element;
680
616
  };
681
- interface HTMLXvTableV2ColElementEventMap {
682
- "sortColChange": TableSortData;
617
+ interface HTMLXvTableV2CellElementEventMap {
618
+ "sortChange": XVTableSortDto;
683
619
  }
684
- interface HTMLXvTableV2ColElement extends Components.XvTableV2Col, HTMLStencilElement {
685
- addEventListener<K extends keyof HTMLXvTableV2ColElementEventMap>(type: K, listener: (this: HTMLXvTableV2ColElement, ev: XvTableV2ColCustomEvent<HTMLXvTableV2ColElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
620
+ interface HTMLXvTableV2CellElement extends Components.XvTableV2Cell, HTMLStencilElement {
621
+ addEventListener<K extends keyof HTMLXvTableV2CellElementEventMap>(type: K, listener: (this: HTMLXvTableV2CellElement, ev: XvTableV2CellCustomEvent<HTMLXvTableV2CellElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
686
622
  addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
687
623
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
688
624
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
689
- removeEventListener<K extends keyof HTMLXvTableV2ColElementEventMap>(type: K, listener: (this: HTMLXvTableV2ColElement, ev: XvTableV2ColCustomEvent<HTMLXvTableV2ColElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
625
+ removeEventListener<K extends keyof HTMLXvTableV2CellElementEventMap>(type: K, listener: (this: HTMLXvTableV2CellElement, ev: XvTableV2CellCustomEvent<HTMLXvTableV2CellElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
690
626
  removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
691
627
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
692
628
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
693
629
  }
694
- var HTMLXvTableV2ColElement: {
695
- prototype: HTMLXvTableV2ColElement;
696
- new (): HTMLXvTableV2ColElement;
630
+ var HTMLXvTableV2CellElement: {
631
+ prototype: HTMLXvTableV2CellElement;
632
+ new (): HTMLXvTableV2CellElement;
697
633
  };
698
- interface HTMLXvTableV2ExpandElementEventMap {
699
- "checkedChange": TableSelectionEventData;
700
- }
701
634
  interface HTMLXvTableV2ExpandElement extends Components.XvTableV2Expand, HTMLStencilElement {
702
- addEventListener<K extends keyof HTMLXvTableV2ExpandElementEventMap>(type: K, listener: (this: HTMLXvTableV2ExpandElement, ev: XvTableV2ExpandCustomEvent<HTMLXvTableV2ExpandElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
703
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
704
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
705
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
706
- removeEventListener<K extends keyof HTMLXvTableV2ExpandElementEventMap>(type: K, listener: (this: HTMLXvTableV2ExpandElement, ev: XvTableV2ExpandCustomEvent<HTMLXvTableV2ExpandElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
707
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
708
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
709
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
710
635
  }
711
636
  var HTMLXvTableV2ExpandElement: {
712
637
  prototype: HTMLXvTableV2ExpandElement;
713
638
  new (): HTMLXvTableV2ExpandElement;
714
639
  };
715
- interface HTMLXvTableV2HeaderRowElementEventMap {
716
- "sortChange": TableSortData;
717
- }
718
- interface HTMLXvTableV2HeaderRowElement extends Components.XvTableV2HeaderRow, HTMLStencilElement {
719
- addEventListener<K extends keyof HTMLXvTableV2HeaderRowElementEventMap>(type: K, listener: (this: HTMLXvTableV2HeaderRowElement, ev: XvTableV2HeaderRowCustomEvent<HTMLXvTableV2HeaderRowElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
720
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
721
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
722
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
723
- removeEventListener<K extends keyof HTMLXvTableV2HeaderRowElementEventMap>(type: K, listener: (this: HTMLXvTableV2HeaderRowElement, ev: XvTableV2HeaderRowCustomEvent<HTMLXvTableV2HeaderRowElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
724
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
725
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
726
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
727
- }
728
- var HTMLXvTableV2HeaderRowElement: {
729
- prototype: HTMLXvTableV2HeaderRowElement;
730
- new (): HTMLXvTableV2HeaderRowElement;
731
- };
732
640
  interface HTMLXvTableV2RowElementEventMap {
733
- "checkedChange": { name: string, value?: string; checked: boolean };
734
- "checkedGroupChange": { name: string, value?: string; checked: boolean };
641
+ "checkedChange": SelectRowDto;
642
+ "selectRow": SelectRowDto;
735
643
  }
736
644
  interface HTMLXvTableV2RowElement extends Components.XvTableV2Row, HTMLStencilElement {
737
645
  addEventListener<K extends keyof HTMLXvTableV2RowElementEventMap>(type: K, listener: (this: HTMLXvTableV2RowElement, ev: XvTableV2RowCustomEvent<HTMLXvTableV2RowElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
@@ -747,14 +655,8 @@ declare global {
747
655
  prototype: HTMLXvTableV2RowElement;
748
656
  new (): HTMLXvTableV2RowElement;
749
657
  };
750
- interface HTMLXvTableV2ToolbarElement extends Components.XvTableV2Toolbar, HTMLStencilElement {
751
- }
752
- var HTMLXvTableV2ToolbarElement: {
753
- prototype: HTMLXvTableV2ToolbarElement;
754
- new (): HTMLXvTableV2ToolbarElement;
755
- };
756
658
  interface HTMLXvTabsV2ElementEventMap {
757
- "tabSelect": number;
659
+ "activeChange": number | string;
758
660
  }
759
661
  interface HTMLXvTabsV2Element extends Components.XvTabsV2, HTMLStencilElement {
760
662
  addEventListener<K extends keyof HTMLXvTabsV2ElementEventMap>(type: K, listener: (this: HTMLXvTabsV2Element, ev: XvTabsV2CustomEvent<HTMLXvTabsV2ElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
@@ -787,12 +689,23 @@ declare global {
787
689
  prototype: HTMLXvTagV2Element;
788
690
  new (): HTMLXvTagV2Element;
789
691
  };
692
+ interface HTMLXvTextInputV2ElementEventMap {
693
+ "valueChange": string;
694
+ }
790
695
  /**
791
696
  * xv-text-input — custom input
792
697
  * ti get data you can use default Input event
793
698
  * Angular - (input), React - (onInput), Pure - addEventListener('input', e => ...)
794
699
  */
795
700
  interface HTMLXvTextInputV2Element extends Components.XvTextInputV2, HTMLStencilElement {
701
+ addEventListener<K extends keyof HTMLXvTextInputV2ElementEventMap>(type: K, listener: (this: HTMLXvTextInputV2Element, ev: XvTextInputV2CustomEvent<HTMLXvTextInputV2ElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
702
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
703
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
704
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
705
+ removeEventListener<K extends keyof HTMLXvTextInputV2ElementEventMap>(type: K, listener: (this: HTMLXvTextInputV2Element, ev: XvTextInputV2CustomEvent<HTMLXvTextInputV2ElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
706
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
707
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
708
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
796
709
  }
797
710
  var HTMLXvTextInputV2Element: {
798
711
  prototype: HTMLXvTextInputV2Element;
@@ -825,11 +738,9 @@ declare global {
825
738
  "xv-progress-indicator-v2-item": HTMLXvProgressIndicatorV2ItemElement;
826
739
  "xv-tab-v2": HTMLXvTabV2Element;
827
740
  "xv-table-v2": HTMLXvTableV2Element;
828
- "xv-table-v2-col": HTMLXvTableV2ColElement;
741
+ "xv-table-v2-cell": HTMLXvTableV2CellElement;
829
742
  "xv-table-v2-expand": HTMLXvTableV2ExpandElement;
830
- "xv-table-v2-header-row": HTMLXvTableV2HeaderRowElement;
831
743
  "xv-table-v2-row": HTMLXvTableV2RowElement;
832
- "xv-table-v2-toolbar": HTMLXvTableV2ToolbarElement;
833
744
  "xv-tabs-v2": HTMLXvTabsV2Element;
834
745
  "xv-tag-v2": HTMLXvTagV2Element;
835
746
  "xv-text-input-v2": HTMLXvTextInputV2Element;
@@ -954,6 +865,7 @@ declare namespace LocalJSX {
954
865
  "error"?: string;
955
866
  "helper"?: string;
956
867
  "label"?: string;
868
+ "loading"?: boolean;
957
869
  "multiple"?: boolean;
958
870
  "onChangeSelection"?: (event: XvDropdownV2CustomEvent<DropdownItemData[]>) => void;
959
871
  "open"?: boolean;
@@ -983,7 +895,7 @@ declare namespace LocalJSX {
983
895
  "href"?: string;
984
896
  "size"?: 'sm' | 'md' | 'lg';
985
897
  "target"?: '_self' | '_blank' | '_parent' | '_top';
986
- "variant"?: 'standalone' | 'inline';
898
+ "variant"?: 'standalone' | 'inline' | 'ghost';
987
899
  }
988
900
  interface XvLoaderV2 {
989
901
  /**
@@ -1000,11 +912,15 @@ declare namespace LocalJSX {
1000
912
  "variant"?: 'vertical' | 'horizontal';
1001
913
  }
1002
914
  interface XvModalV2 {
1003
- "onChangeOpen"?: (event: XvModalV2CustomEvent<boolean>) => void;
915
+ "onOpenChange"?: (event: XvModalV2CustomEvent<boolean>) => void;
1004
916
  /**
1005
917
  * Is modal opened
1006
918
  */
1007
919
  "open"?: boolean;
920
+ /**
921
+ * When need scroll modal content
922
+ */
923
+ "overflow"?: boolean;
1008
924
  /**
1009
925
  * If true then modal not be closed on backdrop click
1010
926
  */
@@ -1052,122 +968,69 @@ declare namespace LocalJSX {
1052
968
  interface XvTabV2 {
1053
969
  "disabled"?: boolean;
1054
970
  "label"?: string;
971
+ "loading"?: boolean;
972
+ "name"?: number | string;
1055
973
  }
1056
974
  interface XvTableV2 {
1057
- /**
1058
- * Set current color schema type of enum TABLE_COLOR_SCHEMA Possible options 'zebra'
1059
- */
1060
- "colorSchema"?: TABLE_COLOR_SCHEMA;
1061
- /**
1062
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1063
- */
1064
- "color-schema"?: TABLE_COLOR_SCHEMA;
1065
- /**
1066
- * Table caption description
1067
- */
1068
- "description"?: string;
1069
- /**
1070
- * If table is expandable fields
1071
- */
1072
- "expandable"?: boolean;
1073
- "onChangeSelection"?: (event: XvTableV2CustomEvent<TableSelectionEventData[]>) => void;
1074
- /**
1075
- * Add checkbox selection to the table
1076
- */
1077
- "selectable"?: boolean;
1078
- /**
1079
- * Table size enum TABLE_SIZE
1080
- */
1081
- "size"?: TABLE_SIZE;
975
+ "colsSize"?: (string | null)[];
976
+ "hover"?: boolean;
977
+ "loading"?: boolean;
978
+ "size"?: SIZE_VAR;
1082
979
  }
1083
- interface XvTableV2Col {
1084
- "onSortColChange"?: (event: XvTableV2ColCustomEvent<TableSortData>) => void;
1085
- "sort"?: SORT_DIR | '';
1086
- "sortName"?: string;
1087
- /**
1088
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1089
- */
1090
- "sort-name"?: string;
980
+ interface XvTableV2Cell {
981
+ "align"?: 'left' | 'right' | 'center';
982
+ "multiline"?: boolean;
983
+ "name"?: string;
984
+ "onSortChange"?: (event: XvTableV2CellCustomEvent<XVTableSortDto>) => void;
985
+ "sort"?: XV_SORT_DIR | '';
1091
986
  }
1092
987
  interface XvTableV2Expand {
1093
- "expanded"?: boolean;
1094
- "onCheckedChange"?: (event: XvTableV2ExpandCustomEvent<TableSelectionEventData>) => void;
1095
- }
1096
- interface XvTableV2HeaderRow {
1097
- /**
1098
- * Checkbox row checked
1099
- */
1100
- "checked"?: boolean;
1101
- "onSortChange"?: (event: XvTableV2HeaderRowCustomEvent<TableSortData>) => void;
1102
- /**
1103
- * Checkbox row selected partially
1104
- */
1105
- "partial"?: boolean;
1106
- /**
1107
- * Checkbox row name
1108
- */
1109
- "selectionName"?: string;
1110
- /**
1111
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1112
- */
1113
- "selection-name"?: string;
1114
- /**
1115
- * Is sort enabled
1116
- */
1117
- "sortable"?: boolean;
988
+ "disabled"?: boolean;
989
+ "open"?: boolean;
1118
990
  }
1119
991
  interface XvTableV2Row {
1120
- /**
1121
- * Checkbox row status
1122
- */
1123
- "checked"?: boolean;
1124
- /**
1125
- * Disabled status
1126
- */
992
+ "checked"?: SelectRowDto['checked'];
1127
993
  "disabled"?: boolean;
994
+ "header"?: boolean;
995
+ "hover"?: boolean;
996
+ "name"?: SelectRowDto['name'];
997
+ "onCheckedChange"?: (event: XvTableV2RowCustomEvent<SelectRowDto>) => void;
998
+ "onSelectRow"?: (event: XvTableV2RowCustomEvent<SelectRowDto>) => void;
999
+ "partial"?: SelectRowDto['partial'];
1000
+ "readonly"?: boolean;
1001
+ "required"?: boolean;
1002
+ "value"?: SelectRowDto['value'];
1003
+ "variant"?: 'checkbox' | 'radio' | '';
1004
+ }
1005
+ interface XvTabsV2 {
1128
1006
  /**
1129
- * Is row will be expandable If it's true then the next row will be collapsed
1007
+ * Index of active tab
1130
1008
  */
1131
- "expandable"?: boolean;
1009
+ "active"?: number | string;
1132
1010
  /**
1133
- * Default state of expandable
1011
+ * Message when have no tabs
1134
1012
  */
1135
- "expanded"?: boolean;
1136
- "groupId"?: string;
1013
+ "emptyMessage"?: string;
1137
1014
  /**
1138
1015
  * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1139
1016
  */
1140
- "group-id"?: string;
1141
- "onCheckedChange"?: (event: XvTableV2RowCustomEvent<{ name: string, value?: string; checked: boolean }>) => void;
1142
- "onCheckedGroupChange"?: (event: XvTableV2RowCustomEvent<{ name: string, value?: string; checked: boolean }>) => void;
1143
- /**
1144
- * Checkbox row with minus icon
1145
- */
1146
- "partial"?: boolean;
1147
- /**
1148
- * Checkbox row name
1149
- */
1150
- "selectionName"?: string;
1017
+ "empty-message"?: string;
1151
1018
  /**
1152
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1019
+ * Show loader
1153
1020
  */
1154
- "selection-name"?: string;
1021
+ "loading"?: boolean;
1155
1022
  /**
1156
- * Checkbox row value
1023
+ * Emit event to outside
1157
1024
  */
1158
- "value"?: string;
1159
- }
1160
- interface XvTableV2Toolbar {
1161
- }
1162
- interface XvTabsV2 {
1025
+ "onActiveChange"?: (event: XvTabsV2CustomEvent<number | string>) => void;
1163
1026
  /**
1164
- * Index of active tab
1027
+ * Message when have no tabs
1165
1028
  */
1166
- "active"?: number;
1029
+ "showArrows"?: boolean;
1167
1030
  /**
1168
- * Emit event to outside
1031
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1169
1032
  */
1170
- "onTabSelect"?: (event: XvTabsV2CustomEvent<number>) => void;
1033
+ "show-arrows"?: boolean;
1171
1034
  /**
1172
1035
  * Variant of tabs from TABS_VATIANT enum
1173
1036
  */
@@ -1190,7 +1053,9 @@ declare namespace LocalJSX {
1190
1053
  "disabled"?: boolean;
1191
1054
  "helper"?: string;
1192
1055
  "label"?: string;
1056
+ "loading"?: boolean;
1193
1057
  "name"?: string;
1058
+ "onValueChange"?: (event: XvTextInputV2CustomEvent<string>) => void;
1194
1059
  "placeholder"?: string;
1195
1060
  "readonly"?: boolean;
1196
1061
  "size"?: SIZE_VAR;
@@ -1202,6 +1067,7 @@ declare namespace LocalJSX {
1202
1067
  * Message what will be shown for tooltip *
1203
1068
  */
1204
1069
  "message"?: string;
1070
+ "multiline"?: boolean;
1205
1071
  /**
1206
1072
  * Tooltip and arrow position related to element possible options: 'top' | 'top-left' | 'top-right' | 'bottom' | 'bottom-left' | 'bottom-right' | 'left' | 'right'. By default, "top"
1207
1073
  */
@@ -1228,11 +1094,9 @@ declare namespace LocalJSX {
1228
1094
  "xv-progress-indicator-v2-item": XvProgressIndicatorV2Item;
1229
1095
  "xv-tab-v2": XvTabV2;
1230
1096
  "xv-table-v2": XvTableV2;
1231
- "xv-table-v2-col": XvTableV2Col;
1097
+ "xv-table-v2-cell": XvTableV2Cell;
1232
1098
  "xv-table-v2-expand": XvTableV2Expand;
1233
- "xv-table-v2-header-row": XvTableV2HeaderRow;
1234
1099
  "xv-table-v2-row": XvTableV2Row;
1235
- "xv-table-v2-toolbar": XvTableV2Toolbar;
1236
1100
  "xv-tabs-v2": XvTabsV2;
1237
1101
  "xv-tag-v2": XvTagV2;
1238
1102
  "xv-text-input-v2": XvTextInputV2;
@@ -1269,11 +1133,9 @@ declare module "@stencil/core" {
1269
1133
  "xv-progress-indicator-v2-item": LocalJSX.XvProgressIndicatorV2Item & JSXBase.HTMLAttributes<HTMLXvProgressIndicatorV2ItemElement>;
1270
1134
  "xv-tab-v2": LocalJSX.XvTabV2 & JSXBase.HTMLAttributes<HTMLXvTabV2Element>;
1271
1135
  "xv-table-v2": LocalJSX.XvTableV2 & JSXBase.HTMLAttributes<HTMLXvTableV2Element>;
1272
- "xv-table-v2-col": LocalJSX.XvTableV2Col & JSXBase.HTMLAttributes<HTMLXvTableV2ColElement>;
1136
+ "xv-table-v2-cell": LocalJSX.XvTableV2Cell & JSXBase.HTMLAttributes<HTMLXvTableV2CellElement>;
1273
1137
  "xv-table-v2-expand": LocalJSX.XvTableV2Expand & JSXBase.HTMLAttributes<HTMLXvTableV2ExpandElement>;
1274
- "xv-table-v2-header-row": LocalJSX.XvTableV2HeaderRow & JSXBase.HTMLAttributes<HTMLXvTableV2HeaderRowElement>;
1275
1138
  "xv-table-v2-row": LocalJSX.XvTableV2Row & JSXBase.HTMLAttributes<HTMLXvTableV2RowElement>;
1276
- "xv-table-v2-toolbar": LocalJSX.XvTableV2Toolbar & JSXBase.HTMLAttributes<HTMLXvTableV2ToolbarElement>;
1277
1139
  "xv-tabs-v2": LocalJSX.XvTabsV2 & JSXBase.HTMLAttributes<HTMLXvTabsV2Element>;
1278
1140
  "xv-tag-v2": LocalJSX.XvTagV2 & JSXBase.HTMLAttributes<HTMLXvTagV2Element>;
1279
1141
  /**
@@ -1,2 +1,2 @@
1
- export{f as format}from"./p-39bf1511.js";
1
+ export{f as format}from"./p-f98a1845.js";
2
2
  //# sourceMappingURL=index.esm.js.map