xv-webcomponents 1.25.1 → 2.0.0-beta.28

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 (379) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +249 -129
  3. package/dist/angular/angular-component-lib/utils.d.ts +9 -0
  4. package/dist/angular/angular-component-lib/utils.js +58 -0
  5. package/dist/angular/index.d.ts +4 -0
  6. package/dist/angular/index.js +56 -0
  7. package/dist/angular/proxies.d.ts +696 -0
  8. package/dist/angular/proxies.js +1642 -0
  9. package/dist/angular/web-components.module.d.ts +7 -0
  10. package/dist/angular/web-components.module.js +168 -0
  11. package/dist/cjs/_vars-DMytunQw.js +26 -0
  12. package/dist/cjs/{index-Cb30DBqk.js → index-DaTpiyaU.js} +2 -0
  13. package/dist/cjs/{index-DpLAFt0R.js → index-Dwhgrew8.js} +401 -1805
  14. package/dist/cjs/index.cjs.js +4 -1
  15. package/dist/cjs/loader.cjs.js +2 -2
  16. package/dist/cjs/maplibre-gl-BIvnXGyX.js +884 -0
  17. package/dist/cjs/{xv-accordion-v2_50.cjs.entry.js → xv-accordion-v2_49.cjs.entry.js} +2046 -694
  18. package/dist/cjs/xv-header-next.cjs.entry.js +10 -89
  19. package/dist/cjs/xv-mega-menu-next.cjs.entry.js +4 -4
  20. package/dist/cjs/xv-webcomponents.cjs.js +3 -3
  21. package/dist/collection/collection-manifest.json +2 -2
  22. package/dist/collection/components/xv-accordion/xv-accordion.js +1 -1
  23. package/dist/collection/components/xv-accordion-item/xv-accordion-item.js +1 -1
  24. package/dist/collection/components/xv-breadcrumbs/xv-breadcrumbs.js +1 -1
  25. package/dist/collection/components/xv-button/xv-button.js +2 -1
  26. package/dist/collection/components/xv-button-group/xv-button-group.js +3 -3
  27. package/dist/collection/components/xv-card/xv-card.js +1 -1
  28. package/dist/collection/components/xv-checkbox/xv-checkbox.js +4 -3
  29. package/dist/collection/components/xv-content-switcher/xv-content-switcher-item/xv-content-switcher-item.js +1 -1
  30. package/dist/collection/components/xv-content-switcher/xv-content-switcher.js +7 -6
  31. package/dist/collection/components/xv-data-table/xv-data-table-cell/xv-data-table-cell.js +5 -3
  32. package/dist/collection/components/xv-data-table/xv-data-table-row/xv-data-table-row.js +4 -3
  33. package/dist/collection/components/xv-data-table/xv-data-table.js +5 -3
  34. package/dist/collection/components/xv-date-picker/xv-date-picker.js +16 -8
  35. package/dist/collection/components/xv-datepicker/xv-datepicker.js +5 -4
  36. package/dist/collection/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.js +9 -5
  37. package/dist/collection/components/xv-dropdown/xv-dropdown.js +9 -5
  38. package/dist/collection/components/xv-file-uploader/xv-file-uploader.css +3 -3
  39. package/dist/collection/components/xv-file-uploader/xv-file-uploader.js +6 -4
  40. package/dist/collection/components/xv-footer/xv-footer.js +1 -1
  41. package/dist/collection/components/xv-geo-map/xv-geo-map.css +43 -67
  42. package/dist/collection/components/xv-geo-map/xv-geo-map.js +10 -10
  43. package/dist/collection/components/xv-header/xv-header.js +7 -88
  44. package/dist/collection/components/xv-header-next/xv-header-next.js +10 -91
  45. package/dist/collection/components/xv-link/xv-link.js +1 -1
  46. package/dist/collection/components/xv-loader/xv-loader.js +2 -1
  47. package/dist/collection/components/xv-login-modal/xv-login-modal.css +7 -7
  48. package/dist/collection/components/xv-mega-menu/xv-mega-menu.js +2 -2
  49. package/dist/collection/components/xv-mega-menu-next/xv-mega-menu-next.js +5 -4
  50. package/dist/collection/components/xv-modal/xv-modal.js +3 -2
  51. package/dist/collection/components/xv-notification/xv-notification.js +3 -2
  52. package/dist/collection/components/xv-number-input/xv-number-input.js +4 -3
  53. package/dist/collection/components/xv-overflow-menu/xv-overflow-menu-item/xv-overflow-menu-item.js +7 -4
  54. package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.js +14 -11
  55. package/dist/collection/components/xv-pagination/xv-pagination.css +2 -2
  56. package/dist/collection/components/xv-pagination/xv-pagination.js +7 -4
  57. package/dist/collection/components/xv-progress-indicator/xv-progress-indicator-item/xv-progress-indicator-item.js +3 -2
  58. package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js +6 -5
  59. package/dist/collection/components/xv-radio/xv-radio.js +4 -3
  60. package/dist/collection/components/xv-slider/xv-slider.js +1 -1
  61. package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.css +129 -61
  62. package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.js +279 -78
  63. package/dist/collection/components/xv-table/xv-table-row/xv-table-row.css +138 -24
  64. package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js +334 -162
  65. package/dist/collection/components/xv-table/xv-table.css +240 -99
  66. package/dist/collection/components/xv-table/xv-table.js +2058 -64
  67. package/dist/collection/components/xv-table/xv-table.model.js +10 -0
  68. package/dist/collection/components/xv-table/xv-table.utils.js +243 -0
  69. package/dist/collection/components/xv-tabs/xv-tab/xv-tab.js +1 -1
  70. package/dist/collection/components/xv-tabs/xv-tabs.js +2 -1
  71. package/dist/collection/components/xv-tag/xv-tag.js +1 -1
  72. package/dist/collection/components/xv-tag-combobox/xv-tag-combobox.js +6 -4
  73. package/dist/collection/components/xv-text-input/xv-text-input.js +4 -3
  74. package/dist/collection/components/xv-textarea/xv-textarea.js +4 -3
  75. package/dist/collection/components/xv-tile/xv-tile.css +1 -1
  76. package/dist/collection/components/xv-tile/xv-tile.js +2 -2
  77. package/dist/collection/components/xv-toggle/xv-toggle.js +3 -2
  78. package/dist/collection/components/xv-toggle-tip/xv-toggle-tip.js +3 -2
  79. package/dist/collection/components/xv-tooltip/xv-tooltip.js +4 -3
  80. package/dist/collection/index.js +3 -0
  81. package/dist/collection/utils/table-layout.js +130 -0
  82. package/dist/components/index.d.ts +35 -0
  83. package/dist/components/index.js +1 -0
  84. package/dist/components/p-A3B7AR96.js +9 -0
  85. package/dist/components/p-B0kwaJ8n.js +1 -0
  86. package/dist/components/p-B9zHwwFm.js +1 -0
  87. package/dist/components/p-BEoh0dZI.js +1 -0
  88. package/dist/components/p-BaZ-srfu.js +1 -0
  89. package/dist/components/p-Bej2l-wN.js +1 -0
  90. package/dist/components/p-BfP9ezJQ.js +1 -0
  91. package/dist/components/p-BfhvpeQh.js +1 -0
  92. package/dist/components/p-BiiqsbVQ.js +1 -0
  93. package/dist/components/p-CSYnNMKb.js +1 -0
  94. package/dist/components/p-CspyoLL9.js +1 -0
  95. package/dist/components/p-CvgDDcjp.js +1 -0
  96. package/dist/components/p-D4FwGeDJ.js +1 -0
  97. package/dist/components/p-DCvH_Br_.js +1 -0
  98. package/dist/components/p-DFe9Mtw_.js +1 -0
  99. package/dist/components/p-DFtMwE-h.js +1 -0
  100. package/dist/components/p-DIvi4fI3.js +1 -0
  101. package/dist/components/p-DNRISLNf.js +1 -0
  102. package/dist/components/p-DPnvoOYj.js +1 -0
  103. package/dist/components/p-Dwbe941A.js +1 -0
  104. package/dist/components/p-HjYAjHna.js +1 -0
  105. package/dist/components/p-JClekcEh.js +1 -0
  106. package/dist/components/p-NoM9oIJn.js +1 -0
  107. package/dist/components/p-SvgdO2VS.js +1 -0
  108. package/dist/components/p-XEk4dHG3.js +1 -0
  109. package/dist/components/p-e0i0f6QA.js +1 -0
  110. package/dist/components/p-i7_81si-.js +1 -0
  111. package/dist/components/p-i82EFiq6.js +1 -0
  112. package/dist/components/p-jD7nSJaM.js +1 -0
  113. package/dist/components/xv-accordion-v2-item.d.ts +11 -0
  114. package/dist/components/xv-accordion-v2-item.js +1 -0
  115. package/dist/components/xv-accordion-v2.d.ts +11 -0
  116. package/dist/components/xv-accordion-v2.js +1 -0
  117. package/dist/components/xv-breadcrumbs-v2.d.ts +11 -0
  118. package/dist/components/xv-breadcrumbs-v2.js +1 -0
  119. package/dist/components/xv-button-group-v2.d.ts +11 -0
  120. package/dist/components/xv-button-group-v2.js +1 -0
  121. package/dist/components/xv-button-v2.d.ts +11 -0
  122. package/dist/components/xv-button-v2.js +1 -0
  123. package/dist/components/xv-card-v2.d.ts +11 -0
  124. package/dist/components/xv-card-v2.js +1 -0
  125. package/dist/components/xv-checkbox-v2.d.ts +11 -0
  126. package/dist/components/xv-checkbox-v2.js +1 -0
  127. package/dist/components/xv-content-switcher-item-v2.d.ts +11 -0
  128. package/dist/components/xv-content-switcher-item-v2.js +1 -0
  129. package/dist/components/xv-content-switcher-v2.d.ts +11 -0
  130. package/dist/components/xv-content-switcher-v2.js +1 -0
  131. package/dist/components/xv-data-table-cell.d.ts +11 -0
  132. package/dist/components/xv-data-table-cell.js +1 -0
  133. package/dist/components/xv-data-table-collapse.d.ts +11 -0
  134. package/dist/components/xv-data-table-collapse.js +1 -0
  135. package/dist/components/xv-data-table-row.d.ts +11 -0
  136. package/dist/components/xv-data-table-row.js +1 -0
  137. package/dist/components/xv-data-table.d.ts +11 -0
  138. package/dist/components/xv-data-table.js +7 -0
  139. package/dist/components/xv-date-picker.d.ts +11 -0
  140. package/dist/components/xv-date-picker.js +1 -0
  141. package/dist/components/xv-datepicker.d.ts +11 -0
  142. package/dist/components/xv-datepicker.js +1 -0
  143. package/dist/components/xv-dropdown-v2-item.d.ts +11 -0
  144. package/dist/components/xv-dropdown-v2-item.js +1 -0
  145. package/dist/components/xv-dropdown-v2.d.ts +11 -0
  146. package/dist/components/xv-dropdown-v2.js +1 -0
  147. package/dist/components/xv-file-uploader.d.ts +11 -0
  148. package/dist/components/xv-file-uploader.js +1 -0
  149. package/dist/components/xv-footer.d.ts +11 -0
  150. package/dist/components/xv-footer.js +1 -0
  151. package/dist/components/xv-geo-map-v2.d.ts +11 -0
  152. package/dist/components/xv-geo-map-v2.js +1 -0
  153. package/dist/components/xv-header-next.d.ts +11 -0
  154. package/dist/components/xv-header-next.js +1 -0
  155. package/dist/components/xv-header.d.ts +11 -0
  156. package/dist/components/xv-header.js +1 -0
  157. package/dist/components/xv-image-viewer.d.ts +11 -0
  158. package/dist/components/xv-image-viewer.js +1 -0
  159. package/dist/components/xv-link-v2.d.ts +11 -0
  160. package/dist/components/xv-link-v2.js +1 -0
  161. package/dist/components/xv-loader-v2.d.ts +11 -0
  162. package/dist/components/xv-loader-v2.js +1 -0
  163. package/dist/components/xv-login-modal.d.ts +11 -0
  164. package/dist/components/xv-login-modal.js +1 -0
  165. package/dist/components/xv-mega-menu-next.d.ts +11 -0
  166. package/dist/components/xv-mega-menu-next.js +1 -0
  167. package/dist/components/xv-mega-menu.d.ts +11 -0
  168. package/dist/components/xv-mega-menu.js +1 -0
  169. package/dist/components/xv-modal-v2.d.ts +11 -0
  170. package/dist/components/xv-modal-v2.js +1 -0
  171. package/dist/components/xv-notification-v2.d.ts +11 -0
  172. package/dist/components/xv-notification-v2.js +1 -0
  173. package/dist/components/xv-number-input-v2.d.ts +11 -0
  174. package/dist/components/xv-number-input-v2.js +1 -0
  175. package/dist/components/xv-overflow-menu-v2-item.d.ts +11 -0
  176. package/dist/components/xv-overflow-menu-v2-item.js +1 -0
  177. package/dist/components/xv-overflow-menu-v2.d.ts +11 -0
  178. package/dist/components/xv-overflow-menu-v2.js +1 -0
  179. package/dist/components/xv-pagination.d.ts +11 -0
  180. package/dist/components/xv-pagination.js +1 -0
  181. package/dist/components/xv-progress-indicator-v2-item.d.ts +11 -0
  182. package/dist/components/xv-progress-indicator-v2-item.js +1 -0
  183. package/dist/components/xv-progress-indicator-v2.d.ts +11 -0
  184. package/dist/components/xv-progress-indicator-v2.js +1 -0
  185. package/dist/components/xv-radio-v2.d.ts +11 -0
  186. package/dist/components/xv-radio-v2.js +1 -0
  187. package/dist/components/xv-slider-v2.d.ts +11 -0
  188. package/dist/components/xv-slider-v2.js +1 -0
  189. package/dist/components/xv-tab-v2.d.ts +11 -0
  190. package/dist/components/xv-tab-v2.js +1 -0
  191. package/dist/components/xv-table-cell.d.ts +11 -0
  192. package/dist/components/xv-table-cell.js +1 -0
  193. package/dist/components/xv-table-row.d.ts +11 -0
  194. package/dist/components/xv-table-row.js +1 -0
  195. package/dist/components/xv-table.d.ts +11 -0
  196. package/dist/components/xv-table.js +1 -0
  197. package/dist/components/xv-tabs-v2.d.ts +11 -0
  198. package/dist/components/xv-tabs-v2.js +1 -0
  199. package/dist/components/xv-tag-combobox.d.ts +11 -0
  200. package/dist/components/xv-tag-combobox.js +1 -0
  201. package/dist/components/xv-tag-v2.d.ts +11 -0
  202. package/dist/components/xv-tag-v2.js +1 -0
  203. package/dist/components/xv-text-input-v2.d.ts +11 -0
  204. package/dist/components/xv-text-input-v2.js +1 -0
  205. package/dist/components/xv-textarea.d.ts +11 -0
  206. package/dist/components/xv-textarea.js +1 -0
  207. package/dist/components/xv-tile.d.ts +11 -0
  208. package/dist/components/xv-tile.js +1 -0
  209. package/dist/components/xv-toggle-tip.d.ts +11 -0
  210. package/dist/components/xv-toggle-tip.js +1 -0
  211. package/dist/components/xv-toggle.d.ts +11 -0
  212. package/dist/components/xv-toggle.js +1 -0
  213. package/dist/components/xv-tooltip-v2.d.ts +11 -0
  214. package/dist/components/xv-tooltip-v2.js +1 -0
  215. package/dist/custom-elements.json +11561 -0
  216. package/dist/docs.d.ts +480 -0
  217. package/dist/docs.json +17181 -0
  218. package/dist/esm/_vars-CDEU4jkD.js +23 -0
  219. package/dist/esm/{index-CQm2sRKT.js → index-ClusqSO5.js} +2 -0
  220. package/dist/esm/{index-DmxA2ysB.js → index-DJC3-dS3.js} +400 -1806
  221. package/dist/esm/index.js +2 -1
  222. package/dist/esm/loader.js +3 -3
  223. package/dist/esm/maplibre-gl-A3B7AR96.js +826 -0
  224. package/dist/esm/maplibre-gl-shared.mjs +2 -2
  225. package/dist/esm/maplibre-gl-worker.mjs +2 -2
  226. package/dist/esm/{xv-accordion-v2_50.entry.js → xv-accordion-v2_49.entry.js} +2044 -691
  227. package/dist/esm/xv-header-next.entry.js +10 -89
  228. package/dist/esm/xv-mega-menu-next.entry.js +4 -4
  229. package/dist/esm/xv-webcomponents.js +4 -4
  230. package/dist/react/components.d.ts +55 -0
  231. package/dist/react/components.js +56 -0
  232. package/dist/react/create-component.d.ts +24 -0
  233. package/dist/react/runtime.d.ts +2 -0
  234. package/dist/react/runtime.js +43 -0
  235. package/dist/react/tag-transformer.d.ts +3 -0
  236. package/dist/react/tag-transformer.js +12 -0
  237. package/dist/react/xv-accordion-v2-item.d.ts +12 -0
  238. package/dist/react/xv-accordion-v2-item.js +14 -0
  239. package/dist/react/xv-accordion-v2.d.ts +15 -0
  240. package/dist/react/xv-accordion-v2.js +14 -0
  241. package/dist/react/xv-breadcrumbs-v2.d.ts +9 -0
  242. package/dist/react/xv-breadcrumbs-v2.js +14 -0
  243. package/dist/react/xv-button-group-v2.d.ts +12 -0
  244. package/dist/react/xv-button-group-v2.js +14 -0
  245. package/dist/react/xv-button-v2.d.ts +9 -0
  246. package/dist/react/xv-button-v2.js +14 -0
  247. package/dist/react/xv-card-v2.d.ts +9 -0
  248. package/dist/react/xv-card-v2.js +14 -0
  249. package/dist/react/xv-checkbox-v2.d.ts +15 -0
  250. package/dist/react/xv-checkbox-v2.js +19 -0
  251. package/dist/react/xv-content-switcher-item-v2.d.ts +9 -0
  252. package/dist/react/xv-content-switcher-item-v2.js +14 -0
  253. package/dist/react/xv-content-switcher-v2.d.ts +12 -0
  254. package/dist/react/xv-content-switcher-v2.js +14 -0
  255. package/dist/react/xv-data-table-cell.d.ts +12 -0
  256. package/dist/react/xv-data-table-cell.js +14 -0
  257. package/dist/react/xv-data-table-collapse.d.ts +12 -0
  258. package/dist/react/xv-data-table-collapse.js +14 -0
  259. package/dist/react/xv-data-table-row.d.ts +12 -0
  260. package/dist/react/xv-data-table-row.js +14 -0
  261. package/dist/react/xv-data-table.d.ts +12 -0
  262. package/dist/react/xv-data-table.js +14 -0
  263. package/dist/react/xv-date-picker.d.ts +14 -0
  264. package/dist/react/xv-date-picker.js +18 -0
  265. package/dist/react/xv-datepicker.d.ts +13 -0
  266. package/dist/react/xv-datepicker.js +17 -0
  267. package/dist/react/xv-dropdown-v2-item.d.ts +12 -0
  268. package/dist/react/xv-dropdown-v2-item.js +14 -0
  269. package/dist/react/xv-dropdown-v2.d.ts +13 -0
  270. package/dist/react/xv-dropdown-v2.js +17 -0
  271. package/dist/react/xv-file-uploader.d.ts +13 -0
  272. package/dist/react/xv-file-uploader.js +17 -0
  273. package/dist/react/xv-footer.d.ts +9 -0
  274. package/dist/react/xv-footer.js +14 -0
  275. package/dist/react/xv-geo-map-v2.d.ts +13 -0
  276. package/dist/react/xv-geo-map-v2.js +17 -0
  277. package/dist/react/xv-header-next.d.ts +12 -0
  278. package/dist/react/xv-header-next.js +14 -0
  279. package/dist/react/xv-header.d.ts +12 -0
  280. package/dist/react/xv-header.js +14 -0
  281. package/dist/react/xv-image-viewer.d.ts +12 -0
  282. package/dist/react/xv-image-viewer.js +14 -0
  283. package/dist/react/xv-link-v2.d.ts +9 -0
  284. package/dist/react/xv-link-v2.js +14 -0
  285. package/dist/react/xv-loader-v2.d.ts +9 -0
  286. package/dist/react/xv-loader-v2.js +14 -0
  287. package/dist/react/xv-login-modal.d.ts +12 -0
  288. package/dist/react/xv-login-modal.js +14 -0
  289. package/dist/react/xv-mega-menu-next.d.ts +12 -0
  290. package/dist/react/xv-mega-menu-next.js +14 -0
  291. package/dist/react/xv-mega-menu.d.ts +12 -0
  292. package/dist/react/xv-mega-menu.js +14 -0
  293. package/dist/react/xv-modal-v2.d.ts +12 -0
  294. package/dist/react/xv-modal-v2.js +14 -0
  295. package/dist/react/xv-notification-v2.d.ts +12 -0
  296. package/dist/react/xv-notification-v2.js +14 -0
  297. package/dist/react/xv-number-input-v2.d.ts +12 -0
  298. package/dist/react/xv-number-input-v2.js +14 -0
  299. package/dist/react/xv-overflow-menu-v2-item.d.ts +12 -0
  300. package/dist/react/xv-overflow-menu-v2-item.js +14 -0
  301. package/dist/react/xv-overflow-menu-v2.d.ts +13 -0
  302. package/dist/react/xv-overflow-menu-v2.js +17 -0
  303. package/dist/react/xv-pagination.d.ts +15 -0
  304. package/dist/react/xv-pagination.js +14 -0
  305. package/dist/react/xv-progress-indicator-v2-item.d.ts +9 -0
  306. package/dist/react/xv-progress-indicator-v2-item.js +14 -0
  307. package/dist/react/xv-progress-indicator-v2.d.ts +9 -0
  308. package/dist/react/xv-progress-indicator-v2.js +14 -0
  309. package/dist/react/xv-radio-v2.d.ts +9 -0
  310. package/dist/react/xv-radio-v2.js +14 -0
  311. package/dist/react/xv-slider-v2.d.ts +12 -0
  312. package/dist/react/xv-slider-v2.js +14 -0
  313. package/dist/react/xv-tab-v2.d.ts +9 -0
  314. package/dist/react/xv-tab-v2.js +14 -0
  315. package/dist/react/xv-table-cell.d.ts +9 -0
  316. package/dist/react/xv-table-cell.js +14 -0
  317. package/dist/react/xv-table-row.d.ts +9 -0
  318. package/dist/react/xv-table-row.js +14 -0
  319. package/dist/react/xv-table.d.ts +18 -0
  320. package/dist/react/xv-table.js +22 -0
  321. package/dist/react/xv-tabs-v2.d.ts +12 -0
  322. package/dist/react/xv-tabs-v2.js +14 -0
  323. package/dist/react/xv-tag-combobox.d.ts +13 -0
  324. package/dist/react/xv-tag-combobox.js +17 -0
  325. package/dist/react/xv-tag-v2.d.ts +12 -0
  326. package/dist/react/xv-tag-v2.js +14 -0
  327. package/dist/react/xv-text-input-v2.d.ts +12 -0
  328. package/dist/react/xv-text-input-v2.js +14 -0
  329. package/dist/react/xv-textarea.d.ts +12 -0
  330. package/dist/react/xv-textarea.js +14 -0
  331. package/dist/react/xv-tile.d.ts +15 -0
  332. package/dist/react/xv-tile.js +14 -0
  333. package/dist/react/xv-toggle-tip.d.ts +12 -0
  334. package/dist/react/xv-toggle-tip.js +14 -0
  335. package/dist/react/xv-toggle.d.ts +12 -0
  336. package/dist/react/xv-toggle.js +14 -0
  337. package/dist/react/xv-tooltip-v2.d.ts +9 -0
  338. package/dist/react/xv-tooltip-v2.js +14 -0
  339. package/dist/types/components/xv-header/xv-header.d.ts +13 -29
  340. package/dist/types/components/xv-header-next/xv-header-next.d.ts +13 -29
  341. package/dist/types/components/xv-table/xv-table-cell/xv-table-cell.d.ts +43 -8
  342. package/dist/types/components/xv-table/xv-table-row/xv-table-row.d.ts +57 -18
  343. package/dist/types/components/xv-table/xv-table.d.ts +298 -9
  344. package/dist/types/components/xv-table/xv-table.model.d.ts +78 -0
  345. package/dist/types/components/xv-table/xv-table.utils.d.ts +47 -0
  346. package/dist/types/components.d.ts +1498 -209
  347. package/dist/types/index.d.ts +1 -0
  348. package/dist/types/stencil-public-runtime.d.ts +126 -57
  349. package/dist/types/utils/table-layout.d.ts +7 -0
  350. package/dist/vscode-data.json +3293 -0
  351. package/dist/xv-webcomponents/index.esm.js +1 -1
  352. package/dist/xv-webcomponents/{p-fe9b38f8.entry.js → p-0c30d09f.entry.js} +1 -1
  353. package/dist/xv-webcomponents/p-6b58979e.entry.js +8 -0
  354. package/dist/xv-webcomponents/p-A3B7AR96.js +9 -0
  355. package/dist/xv-webcomponents/p-CDEU4jkD.js +1 -0
  356. package/dist/xv-webcomponents/p-DJC3-dS3.js +3 -0
  357. package/dist/xv-webcomponents/p-DSFVdw3w.js +1 -0
  358. package/dist/xv-webcomponents/p-c4173686.entry.js +1 -0
  359. package/dist/xv-webcomponents/xv-webcomponents.css +6 -6
  360. package/dist/xv-webcomponents/xv-webcomponents.esm.js +1 -1
  361. package/loader/index.d.ts +1 -1
  362. package/package.json +139 -61
  363. package/dist/cjs/_vars-Cyrk3TAl.js +0 -3423
  364. package/dist/cjs/maplibre-gl-CCZS3Rg5.js +0 -900
  365. package/dist/collection/components/xv-header/_vars.js +0 -51
  366. package/dist/collection/components/xv-table/_vars.js +0 -2
  367. package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.css +0 -58
  368. package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.js +0 -75
  369. package/dist/esm/_vars-BkYBzv3h.js +0 -3413
  370. package/dist/esm/maplibre-gl-CS4Eagm9.js +0 -813
  371. package/dist/types/components/xv-header/_vars.d.ts +0 -47
  372. package/dist/types/components/xv-table/_vars.d.ts +0 -15
  373. package/dist/types/components/xv-table/xv-table-expand/xv-table-expand.d.ts +0 -8
  374. package/dist/xv-webcomponents/p-7832549c.entry.js +0 -8
  375. package/dist/xv-webcomponents/p-BkYBzv3h.js +0 -1
  376. package/dist/xv-webcomponents/p-CQm2sRKT.js +0 -1
  377. package/dist/xv-webcomponents/p-CS4Eagm9.js +0 -10
  378. package/dist/xv-webcomponents/p-DmxA2ysB.js +0 -2
  379. package/dist/xv-webcomponents/p-f46bb687.entry.js +0 -1
@@ -34,12 +34,12 @@ export class XvNumberInput {
34
34
  }
35
35
  render() {
36
36
  const message = resolveFieldMessage({ error: this.error, warning: this.warning, helper: this.helper });
37
- return (h(Host, { key: 'f38ba33135269ebb1f42b09f0632183723e216d3', class: { disabled: !!this.disabled } }, h("label", { key: 'da0b638442125c176889d98df343b3084a015b08', class: "control" }, this.label && h("span", { key: '317e7b66636becf0e7fc620d9f131396a8e6d223', class: "control_label" }, this.label), h("div", { key: 'fda02350022b9bb24e221bb2055d29b6926a7065', class: {
37
+ return (h(Host, { key: 'fd949dbee9a685334744513839474335e97190d3', class: { disabled: !!this.disabled } }, h("label", { key: 'db29ff8f70da55aa973496ee7e7af965d79e7bae', class: "control" }, this.label && h("span", { key: 'caa748ec74ea2effe380a56b0855633ce10e2065', class: "control_label" }, this.label), h("div", { key: '8fe3b2f7905905e7b1d27ba43c571b4eee7593b8', class: {
38
38
  'control_input': true,
39
39
  readonly: !!this.readonly,
40
40
  error: !!this.error,
41
41
  warning: !!this.warning
42
- } }, h("input", { key: '3fda092a38b7998ea0c55814ed6188acb97865b5', type: "number", placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, onInput: this.handleInput, name: this.name, min: this.min, max: this.max, step: this.step, value: this.value }), h("div", { key: '64bbba5f9d3bd029c244f9ab7f6a0121a4aedd58', class: "control_input__icons" }, this.loading ? (h("xv-loader-v2", { size: SIZE_VAR.XS })) : !!this.error ? (h("span", { class: "status-icon error", "aria-hidden": "true" }, "!")) : !!this.warning ? (h("span", { class: "status-icon warning", "aria-hidden": "true" }, "\u26A0")) : null, h("xv-button-v2", { key: 'aa9e83de581f19b936b68b0981888ecaf945bc71', size: this.size, variant: "ghost", disabled: this.disabled || this.readonly, onClick: this.decrement, "aria-label": "Decrease" }, h("span", { key: 'f6d854836f44bd40c37279015308276b147f6b30', slot: "icon-left", class: "status-icon" }, "\u2212")), h("hr", { key: '512d0208bb7bad48f2df1271dd3d2439301abb50' }), h("xv-button-v2", { key: '5e288267dd454d6368ec773aca888bb071fd00fd', size: this.size, variant: "ghost", disabled: this.disabled || this.readonly, onClick: this.increment, "aria-label": "Increase" }, h("span", { key: 'd9e9304ef6ace291bfea30d08057ba48facb9de7', slot: "icon-left", class: "status-icon" }, "+"))))), message && (h("p", { key: 'eb24260824a30ea3b3888fbf7d532d97544152de', class: { message: true, [message.level]: true } }, message.text))));
42
+ } }, h("input", { key: 'ab4b88d4f838ee579c7aaed2b3bbda40f9d5af85', type: "number", placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, onInput: this.handleInput, name: this.name, min: this.min, max: this.max, step: this.step, value: this.value }), h("div", { key: '54c0f3a57ea0453c933007c1c497fb04db93abc6', class: "control_input__icons" }, this.loading ? (h("xv-loader-v2", { size: SIZE_VAR.XS })) : !!this.error ? (h("span", { class: "status-icon error", "aria-hidden": "true" }, "!")) : !!this.warning ? (h("span", { class: "status-icon warning", "aria-hidden": "true" }, "\u26A0")) : null, h("xv-button-v2", { key: '71aa77781a192b7bf256ca2f76758b7b88a585db', size: this.size, variant: "ghost", disabled: this.disabled || this.readonly, onClick: this.decrement, "aria-label": "Decrease" }, h("span", { key: '5dfbf741ac7bd7e3f13fb74e0b3128d42e90792a', slot: "icon-left", class: "status-icon" }, "\u2212")), h("hr", { key: '300df3ef94b8a27ae1a9fac99f7b83bd41212e5b' }), h("xv-button-v2", { key: '54fe63a29a63ba942e0c7f8e57049deef32a0451', size: this.size, variant: "ghost", disabled: this.disabled || this.readonly, onClick: this.increment, "aria-label": "Increase" }, h("span", { key: '0cbbf8c2dd42fe60f5ab60a61c4c33373290cca7', slot: "icon-left", class: "status-icon" }, "+"))))), message && (h("p", { key: 'e8fff1ef532b31dfe97f01e8f92d776e9abd9a94', class: { message: true, [message.level]: true } }, message.text))));
43
43
  }
44
44
  static get is() { return "xv-number-input-v2"; }
45
45
  static get encapsulation() { return "shadow"; }
@@ -334,7 +334,8 @@ export class XvNumberInput {
334
334
  "SIZE_VAR_STR": {
335
335
  "location": "import",
336
336
  "path": "../../types/enum",
337
- "id": "src/types/enum.ts::SIZE_VAR_STR"
337
+ "id": "src/types/enum.ts::SIZE_VAR_STR",
338
+ "referenceLocation": "SIZE_VAR_STR"
338
339
  }
339
340
  }
340
341
  },
@@ -75,7 +75,8 @@ export class XvOverflowMenuItem {
75
75
  "OverflowMenuEvent": {
76
76
  "location": "import",
77
77
  "path": "../_vars",
78
- "id": "src/components/xv-overflow-menu/_vars.ts::OverflowMenuEvent"
78
+ "id": "src/components/xv-overflow-menu/_vars.ts::OverflowMenuEvent",
79
+ "referenceLocation": "OverflowMenuEvent"
79
80
  }
80
81
  }
81
82
  },
@@ -100,7 +101,8 @@ export class XvOverflowMenuItem {
100
101
  "OverflowMenuVariant": {
101
102
  "location": "import",
102
103
  "path": "../_vars",
103
- "id": "src/components/xv-overflow-menu/_vars.ts::OverflowMenuVariant"
104
+ "id": "src/components/xv-overflow-menu/_vars.ts::OverflowMenuVariant",
105
+ "referenceLocation": "OverflowMenuVariant"
104
106
  }
105
107
  }
106
108
  },
@@ -114,7 +116,7 @@ export class XvOverflowMenuItem {
114
116
  "setter": false,
115
117
  "reflect": true,
116
118
  "attribute": "variant",
117
- "defaultValue": "OverflowMenuVariant.DEFAULT"
119
+ "defaultValue": "''"
118
120
  },
119
121
  "clickable": {
120
122
  "type": "boolean",
@@ -220,7 +222,8 @@ export class XvOverflowMenuItem {
220
222
  "OverflowMenuEvent": {
221
223
  "location": "import",
222
224
  "path": "../_vars",
223
- "id": "src/components/xv-overflow-menu/_vars.ts::OverflowMenuEvent"
225
+ "id": "src/components/xv-overflow-menu/_vars.ts::OverflowMenuEvent",
226
+ "referenceLocation": "OverflowMenuEvent"
224
227
  }
225
228
  }
226
229
  }
@@ -21,20 +21,21 @@ export class XvOverflowMenu {
21
21
  document.removeEventListener('click', this.handleClickOutside, { capture: true });
22
22
  };
23
23
  this.handleClickOutside = (ev) => {
24
- var _a, _b, _c;
24
+ var _a, _b;
25
25
  if (!this.open)
26
26
  return;
27
- // A shadow-DOM click retargets ev.target to the host in the browser (covered by el.contains).
28
- // Also check the shadow trigger/list directly so it works when there is no retargeting (jsdom).
29
- const target = ev.target;
30
- if (this.el.contains(target))
27
+ // composedPath is the only check that survives shadow-DOM retargeting: a click inside a menu
28
+ // that lives in another component's shadow root arrives here retargeted to that outer host.
29
+ const path = (_b = (_a = ev.composedPath) === null || _a === void 0 ? void 0 : _a.call(ev)) !== null && _b !== void 0 ? _b : [];
30
+ const inside = (node) => !!node && (path.includes(node) || (path.length === 0 && node.contains(ev.target)));
31
+ if (inside(this.el))
31
32
  return;
32
- if ((_a = this.triggerButtonEl) === null || _a === void 0 ? void 0 : _a.contains(target))
33
+ if (inside(this.triggerButtonEl))
33
34
  return;
34
- if ((_b = this.listEl) === null || _b === void 0 ? void 0 : _b.contains(target))
35
+ if (inside(this.listEl))
35
36
  return;
36
37
  // A click on the anchor is handled by its own listener (toggle) — don't treat it as "outside".
37
- if ((_c = this.anchorEl) === null || _c === void 0 ? void 0 : _c.contains(target))
38
+ if (inside(this.anchorEl))
38
39
  return;
39
40
  this.open = false;
40
41
  };
@@ -397,7 +398,8 @@ export class XvOverflowMenu {
397
398
  "SIZE_VAR_STR": {
398
399
  "location": "import",
399
400
  "path": "../../types/enum",
400
- "id": "src/types/enum.ts::SIZE_VAR_STR"
401
+ "id": "src/types/enum.ts::SIZE_VAR_STR",
402
+ "referenceLocation": "SIZE_VAR_STR"
401
403
  }
402
404
  }
403
405
  },
@@ -449,7 +451,7 @@ export class XvOverflowMenu {
449
451
  "optional": true,
450
452
  "docs": {
451
453
  "tags": [],
452
- "text": "Open the menu from an arbitrary element instead of the built-in trigger button.\nAccepts an element or a CSS selector; a click on it toggles the menu, which is then\npositioned against that element."
454
+ "text": "Open the menu from an arbitrary element instead of the built-in trigger button.\r\nAccepts an element or a CSS selector; a click on it toggles the menu, which is then\r\npositioned against that element."
453
455
  },
454
456
  "getter": false,
455
457
  "setter": false,
@@ -481,7 +483,8 @@ export class XvOverflowMenu {
481
483
  "OverflowMenuEvent": {
482
484
  "location": "import",
483
485
  "path": "./_vars",
484
- "id": "src/components/xv-overflow-menu/_vars.ts::OverflowMenuEvent"
486
+ "id": "src/components/xv-overflow-menu/_vars.ts::OverflowMenuEvent",
487
+ "referenceLocation": "OverflowMenuEvent"
485
488
  }
486
489
  }
487
490
  }
@@ -56,7 +56,7 @@
56
56
  user-select: none;
57
57
  }
58
58
  :host .list .active .list_page {
59
- color: var(--text-on-color-active, #000);
59
+ color: var(--text-primary);
60
60
  font-weight: 700;
61
61
  }
62
62
  :host .list .active .list_page:after {
@@ -66,7 +66,7 @@
66
66
  left: 25%;
67
67
  width: 50%;
68
68
  height: 2px;
69
- background-color: var(--text-on-color-active, #000);
69
+ background-color: var(--border-interactive);
70
70
  }
71
71
  :host .list_dots {
72
72
  position: relative;
@@ -106,7 +106,7 @@ export class XvPagination {
106
106
  this.observer.disconnect();
107
107
  }
108
108
  render() {
109
- return (h(Host, { key: '458da62296b23b8faa2b9180e74c900df5787bad', class: { block: this.block, [this.currentVariant]: true, [this.size]: !!this.size } }, this.currentVariant === 'full' && (h("div", { key: 'caefc70a44e777307d3f00e54b687bf67a401880', class: "block" }, h("select", { key: '2f3bacc6134e4480f064c8f7298e77988fcd2721', class: "options-select", name: "options", onChange: this.handleItemsPerPageChange }, this.pageSizeOptions.map((v) => h("option", { selected: v === this.itemsPerPage, value: v }, v))))), this.currentVariant === 'full' && (h("span", { key: 'e4292a652ee9fcc4df2b6794558b1a0b3e827973', class: "block block_full" }, `${(this.page - 1) * this.itemsPerPage + 1} – ${Math.min(this.page * this.itemsPerPage, this.totalItems)} von ${this.totalItems} Einträgen`)), this.currentVariant === 'full' && (h("div", { key: '3037e4cffe04ed21817cc6a6a359db4142bfa526', class: "block" }, h("select", { key: '827486ab4cc29ce903c3c94a391dc960eee5a34c', class: "options-select", name: "pages", onChange: this.handlePageSelectChange }, Array.from({ length: this.total }, (_, i) => (h("option", { selected: this.page === i + 1, value: i + 1 }, i + 1)))), h("span", { key: 'a2459bb11735308e8eb9f32cd84719f3efdec7ea' }, "von ", this.total, " Seiten"))), this.currentVariant === 'compact' && h("span", { key: 'd5e47168f6f69e72f3dafd07894b398bc5c8be89', class: "block" }, "Seite ", this.page), h("xv-button-v2", { key: '646e9405571a7dccaa9cbeb68713593441018c40', variant: "ghost", size: this.size, onClick: () => this.handlePageChange(this.page - 1), disabled: this.page <= 1 }, h("span", { key: '6da11047987e235f440cfc1cd39ba4d5f2b017af', slot: "icon-left", class: "icon icon_prev" })), this.currentVariant === 'regular' && (h("ul", { key: 'bc306c51b9eedbb3a702ce4255ecce63694d6621', class: "list" }, this.visiblePagesWithDots.map((page) => (h("li", { class: { active: this.page === page } }, page === 'dots-start' ? (h("div", { class: "list_dots" }, h("xv-button-v2", { variant: "ghost", size: this.size, tabindex: -1 }, h("span", { slot: "icon-left", class: "list_dots__icon" }, "...")), h("select", { name: "start", onChange: this.handlePageSelectChange }, Array.from({ length: this.page - 3 }, (_, i) => (h("option", { value: i + 2 }, i + 2)))))) : page === 'dots-end' ? (h("div", { class: "list_dots" }, h("xv-button-v2", { variant: "ghost", size: this.size, tabindex: -1 }, h("span", { slot: "icon-left", class: "list_dots__icon" }, "...")), h("select", { name: "end", onChange: this.handlePageSelectChange }, Array.from({ length: this.total - (this.page + 2) }, (_, i) => (h("option", { value: i + this.page + 2 }, i + this.page + 2)))))) : (h("xv-button-v2", { variant: "ghost", size: this.size, disabled: this.page === page, onClick: () => this.handlePageChange(page) }, h("span", { class: "list_page", slot: "icon-left" }, page)))))))), h("xv-button-v2", { key: 'c9eb42df2f4d8d019ed75db2f4c344f7f81d96c3', variant: "ghost", size: this.size, onClick: () => this.handlePageChange(this.page + 1), disabled: this.page >= this.total }, h("span", { key: '80be70526a9d788752e025708096b3cfdf57c3c9', slot: "icon-left", class: "icon icon_next" }))));
109
+ return (h(Host, { key: 'dfcaec3126bda46a384d2ba0cebb5725b1746974', class: { block: this.block, [this.currentVariant]: true, [this.size]: !!this.size } }, this.currentVariant === 'full' && (h("div", { key: '1f78ed3108ceba63a5642fc7d6461c8bd54b0bfc', class: "block" }, h("select", { key: 'c9094a7d587f8cd20e44e810d45d4d17b542b8b7', class: "options-select", name: "options", onChange: this.handleItemsPerPageChange }, this.pageSizeOptions.map((v) => h("option", { selected: v === this.itemsPerPage, value: v }, v))))), this.currentVariant === 'full' && (h("span", { key: 'e44c9d5b426cee28c774a1882d61cd8dae612b32', class: "block block_full" }, `${(this.page - 1) * this.itemsPerPage + 1} – ${Math.min(this.page * this.itemsPerPage, this.totalItems)} von ${this.totalItems} Einträgen`)), this.currentVariant === 'full' && (h("div", { key: 'facf4962a665a9a46df80e3ccba8b033079abfd5', class: "block" }, h("select", { key: '7f75e81bbfd6e95d680432cd22fa5abff5da4b76', class: "options-select", name: "pages", onChange: this.handlePageSelectChange }, Array.from({ length: this.total }, (_, i) => (h("option", { selected: this.page === i + 1, value: i + 1 }, i + 1)))), h("span", { key: '312c48c90727a800248e1736c314ae0c9d98ba8f' }, "von ", this.total, " Seiten"))), this.currentVariant === 'compact' && h("span", { key: '954f68bfa4e2ab1b0f96a5608fff0f2836d00141', class: "block" }, "Seite ", this.page), h("xv-button-v2", { key: '06d4ba3385b072dd63e097d6d130a3a12707f892', variant: "ghost", size: this.size, onClick: () => this.handlePageChange(this.page - 1), disabled: this.page <= 1 }, h("span", { key: '44351eb65d1bad894b1762a754b29b359b0f4dfc', slot: "icon-left", class: "icon icon_prev" })), this.currentVariant === 'regular' && (h("ul", { key: '541df2de18106ffa2200608edf6880495c6a911a', class: "list" }, this.visiblePagesWithDots.map((page) => (h("li", { class: { active: this.page === page } }, page === 'dots-start' ? (h("div", { class: "list_dots" }, h("xv-button-v2", { variant: "ghost", size: this.size, tabindex: -1 }, h("span", { slot: "icon-left", class: "list_dots__icon" }, "...")), h("select", { name: "start", onChange: this.handlePageSelectChange }, Array.from({ length: this.page - 3 }, (_, i) => (h("option", { value: i + 2 }, i + 2)))))) : page === 'dots-end' ? (h("div", { class: "list_dots" }, h("xv-button-v2", { variant: "ghost", size: this.size, tabindex: -1 }, h("span", { slot: "icon-left", class: "list_dots__icon" }, "...")), h("select", { name: "end", onChange: this.handlePageSelectChange }, Array.from({ length: this.total - (this.page + 2) }, (_, i) => (h("option", { value: i + this.page + 2 }, i + this.page + 2)))))) : (h("xv-button-v2", { variant: "ghost", size: this.size, disabled: this.page === page, onClick: () => this.handlePageChange(page) }, h("span", { class: "list_page", slot: "icon-left" }, page)))))))), h("xv-button-v2", { key: '44a99d1c878dd67ff31ea5a0853082cc908842b8', variant: "ghost", size: this.size, onClick: () => this.handlePageChange(this.page + 1), disabled: this.page >= this.total }, h("span", { key: 'b7abb64c61e86f4f630a7c8314d0b56af236156f', slot: "icon-left", class: "icon icon_next" }))));
110
110
  }
111
111
  static get is() { return "xv-pagination"; }
112
112
  static get encapsulation() { return "shadow"; }
@@ -212,7 +212,8 @@ export class XvPagination {
212
212
  "SIZE_VAR_STR": {
213
213
  "location": "import",
214
214
  "path": "../../types/enum",
215
- "id": "src/types/enum.ts::SIZE_VAR_STR"
215
+ "id": "src/types/enum.ts::SIZE_VAR_STR",
216
+ "referenceLocation": "SIZE_VAR_STR"
216
217
  }
217
218
  }
218
219
  },
@@ -257,7 +258,8 @@ export class XvPagination {
257
258
  "XvPaginationVariant": {
258
259
  "location": "import",
259
260
  "path": "./xv-pagination.model",
260
- "id": "src/components/xv-pagination/xv-pagination.model.ts::XvPaginationVariant"
261
+ "id": "src/components/xv-pagination/xv-pagination.model.ts::XvPaginationVariant",
262
+ "referenceLocation": "XvPaginationVariant"
261
263
  }
262
264
  }
263
265
  },
@@ -291,7 +293,8 @@ export class XvPagination {
291
293
  "XvPaginationVariant": {
292
294
  "location": "import",
293
295
  "path": "./xv-pagination.model",
294
- "id": "src/components/xv-pagination/xv-pagination.model.ts::XvPaginationVariant"
296
+ "id": "src/components/xv-pagination/xv-pagination.model.ts::XvPaginationVariant",
297
+ "referenceLocation": "XvPaginationVariant"
295
298
  }
296
299
  }
297
300
  },
@@ -5,7 +5,7 @@ export class XvProgressIndicatorItem {
5
5
  this.status = PROGRESS_ITEM_STATUS.NO_STARTED;
6
6
  }
7
7
  render() {
8
- return (h(Host, { key: '70a066ed39b26ced1901dcc6cb8869f351042611', status: this.status, class: { 'xv-progress-indicator-item': true } }, h("span", { key: '34ceb1063b044e65c5e21515ff8f72e8efe460cc', class: "line" }), h("span", { key: 'a3aa41c5682ce5b044e87a3452654dc98c16c83c', class: "icon" }, h("svg", { key: '7a35559ad68b93105d28efd94bcd8eb148cd7fa1', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512" }, h("path", { key: 'acbfc059d9bc93cbb62c545eb0946b4c4052416f', fill: "currentColor", d: "M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z" }))), h("p", { key: '1400da29249e2fe61d9c261d10f99567a2b85304', class: "label" }, h("slot", { key: 'e7dc90f2f28c6c4262fbab374d6aee19804a47f8' }))));
8
+ return (h(Host, { key: '095d2a3ab584938764e1ce056f8f4a4e03838b88', status: this.status, class: { 'xv-progress-indicator-item': true } }, h("span", { key: '77ac13565ced65dbc52eda61d15bff0bfe8253b2', class: "line" }), h("span", { key: '104664fce3e8512edaf71c76d5bf76cce7c397e4', class: "icon" }, h("svg", { key: '3d81d279fa5ef3e50ee4a3b315097986ffb57546', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512" }, h("path", { key: 'e109447615213d59eb17539fc0c0d649360c2d64', fill: "currentColor", d: "M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z" }))), h("p", { key: 'd7120219126685f42ab267b60a5397bd69b5d61c', class: "label" }, h("slot", { key: 'f8e873bfa1b913c74e1971fe4445fdd2473b9262' }))));
9
9
  }
10
10
  static get is() { return "xv-progress-indicator-v2-item"; }
11
11
  static get encapsulation() { return "shadow"; }
@@ -31,7 +31,8 @@ export class XvProgressIndicatorItem {
31
31
  "PROGRESS_ITEM_STATUS": {
32
32
  "location": "import",
33
33
  "path": "../_vars",
34
- "id": "src/components/xv-progress-indicator/_vars.ts::PROGRESS_ITEM_STATUS"
34
+ "id": "src/components/xv-progress-indicator/_vars.ts::PROGRESS_ITEM_STATUS",
35
+ "referenceLocation": "PROGRESS_ITEM_STATUS"
35
36
  }
36
37
  }
37
38
  },
@@ -55,7 +55,7 @@ export class XvProgressIndicator {
55
55
  this.updateChildItems();
56
56
  }
57
57
  render() {
58
- return (h(Host, { key: 'ff5c1024d3a111514491a3a12fe20066f6af045a', variant: this.variant, size: this.size, class: { 'xv-progress-indicator': true } }, h("slot", { key: '5f7383500e4d73b1f3859b7ee9ae1a8a80e3be85' })));
58
+ return (h(Host, { key: '48d7968fc2b8d205171b1bd111b04de7c7939979', variant: this.variant, size: this.size, class: { 'xv-progress-indicator': true } }, h("slot", { key: '740f57cea4b36e53d02c42527504003fd188fa45' })));
59
59
  }
60
60
  static get is() { return "xv-progress-indicator-v2"; }
61
61
  static get encapsulation() { return "shadow"; }
@@ -83,7 +83,7 @@ export class XvProgressIndicator {
83
83
  "optional": false,
84
84
  "docs": {
85
85
  "tags": [],
86
- "text": "Current progress\nfrom 0 to 100"
86
+ "text": "Current progress\r\nfrom 0 to 100"
87
87
  },
88
88
  "getter": false,
89
89
  "setter": false,
@@ -103,7 +103,7 @@ export class XvProgressIndicator {
103
103
  "optional": false,
104
104
  "docs": {
105
105
  "tags": [],
106
- "text": "Progress variant\npossible option `horizontal`"
106
+ "text": "Progress variant\r\npossible option `horizontal`"
107
107
  },
108
108
  "getter": false,
109
109
  "setter": false,
@@ -121,7 +121,8 @@ export class XvProgressIndicator {
121
121
  "SIZE_VAR_STR": {
122
122
  "location": "import",
123
123
  "path": "../../types/enum",
124
- "id": "src/types/enum.ts::SIZE_VAR_STR"
124
+ "id": "src/types/enum.ts::SIZE_VAR_STR",
125
+ "referenceLocation": "SIZE_VAR_STR"
125
126
  }
126
127
  }
127
128
  },
@@ -129,7 +130,7 @@ export class XvProgressIndicator {
129
130
  "optional": false,
130
131
  "docs": {
131
132
  "tags": [],
132
- "text": "Size of progress\nenum SIZE_VAR\npossible options `XS | SM | MD | LG | XL`"
133
+ "text": "Size of progress\r\nenum SIZE_VAR\r\npossible options `XS | SM | MD | LG | XL`"
133
134
  },
134
135
  "getter": false,
135
136
  "setter": false,
@@ -25,12 +25,12 @@ export class XvRadio {
25
25
  }
26
26
  render() {
27
27
  const message = resolveFieldMessage({ error: this.error, warning: this.warning, helper: this.helper });
28
- return (h("div", { key: '3ae31a4819b53d18d2bf91e8ed3d9b86c8c1a4af', class: {
28
+ return (h("div", { key: '78a696124ace0194164abfdd9b9cf0dae5663c25', class: {
29
29
  'xv-radio': true,
30
30
  'xv-radio--reverse': this.reverse,
31
31
  'xv-radio--block': this.block,
32
32
  [`xv-radio--size-${this.size}`]: !!this.size,
33
- } }, this.label && h("p", { key: '32b78dba6a4a7852f7ccebf762c5378cb223794c', class: "xv-radio_label" }, this.label), h("label", { key: 'bfbd3de534dc8aafd1226b2fc9bd0d3ab7e696a8', class: { 'xv-radio_container': true, disabled: this.disabled } }, h("div", { key: '12b31d0be2bc7e0353fbdcc5e3b91b44d2612a8e', class: { 'xv-radio_input': true, 'xv-radio_input--error': !!this.error || this.error === '' } }, h("input", { key: 'e2f8d6d7550ba06ae31e4b81516bbbc6c6f38614', ref: el => (this.inputEl = el), type: "radio", name: this.name, value: this.value, checked: this.checked, readonly: this.readonly, disabled: this.disabled }), h("span", { key: '1354ee35781fa030b465b78f4421901c536b5080', class: "xv-radio_input__mark" })), h("span", { key: 'c70b218bfdf1a28d87eb4b86f0a701d734878683', class: "xv-radio_container__label" }, h("slot", { key: '0a14170ef488242d42e24146fff6e139aca38b23' }))), message && (h("span", { key: '4ad2280080995ae826611023015a7953221f8cea', class: `xv-radio_msg xv-radio_msg--${message.level}` }, message.level !== 'helper' && (h("span", { key: 'd22113045df97429450183e54e5616dfe996984b', class: "xv-radio_msg__status", "aria-hidden": "true" }, message.level === 'error' ? '!' : '⚠')), message.text)), h("slot", { key: '770306d1e7aa1a380b90813e94319b6257921536', name: "info" })));
33
+ } }, this.label && h("p", { key: '895d292b60056c47d085942204bda2172f1cb1f9', class: "xv-radio_label" }, this.label), h("label", { key: 'ad104662e82e4e49c79e1c1059f67b9a1dc1b4d0', class: { 'xv-radio_container': true, disabled: this.disabled } }, h("div", { key: '982c57a82e6346926571843e0d82014572eb4f55', class: { 'xv-radio_input': true, 'xv-radio_input--error': !!this.error || this.error === '' } }, h("input", { key: 'd9f0ec401a8d960446d175f9c716125e9a76d23c', ref: el => (this.inputEl = el), type: "radio", name: this.name, value: this.value, checked: this.checked, readonly: this.readonly, disabled: this.disabled }), h("span", { key: '065508427f0788c19fa8ce0b380e6f04c9f3f2d6', class: "xv-radio_input__mark" })), h("span", { key: '3edaf56714cc54403e99f14ad82d9bd65106b4ff', class: "xv-radio_container__label" }, h("slot", { key: '6e4f98fd856b503516870e457b326ba4e592c3e2' }))), message && (h("span", { key: '683f26fc4c9f77e2aef9c716fe7b010276cf911a', class: `xv-radio_msg xv-radio_msg--${message.level}` }, message.level !== 'helper' && (h("span", { key: '77c8e8c5e63f1b99ae92dc9f1b2743f95fd9fecd', class: "xv-radio_msg__status", "aria-hidden": "true" }, message.level === 'error' ? '!' : '⚠')), message.text)), h("slot", { key: '446f5d0c261b225cf86ab53c17b8e80e995237e0', name: "info" })));
34
34
  }
35
35
  connectedCallback() {
36
36
  var _a;
@@ -334,7 +334,8 @@ export class XvRadio {
334
334
  "SIZE_VAR_STR": {
335
335
  "location": "import",
336
336
  "path": "../../types/enum",
337
- "id": "src/types/enum.ts::SIZE_VAR_STR"
337
+ "id": "src/types/enum.ts::SIZE_VAR_STR",
338
+ "referenceLocation": "SIZE_VAR_STR"
338
339
  }
339
340
  }
340
341
  },
@@ -38,7 +38,7 @@ export class XvSlider {
38
38
  this.setValue(this.min);
39
39
  }
40
40
  render() {
41
- return (h(Host, { key: 'f7cf8d660b5ee4b8cdc577d06ddeba3dec2b8b81', class: { disabled: this.disabled, readonly: this.readonly } }, this.label && h("label", { key: '0cb07355af35c598699f71e52c04efc8ee8444d6', class: "label" }, this.label), h("div", { key: 'ecd2a38a628a673750dd445de887b81e4bb44ba6', class: "control" }, h("span", { key: 'af4c82b1e1eb8f10cd7a9f1b6525a4378f8f4b88', class: "control_label" }, this.min), h("input", { key: '98448e2ee6c948361151e0fa5afbb3c3b649971b', type: "range", disabled: this.disabled || this.readonly, readonly: this.readonly, name: this.name, min: this.min, max: this.max, step: this.step, value: this.value, onInput: this.handleInput, style: { backgroundSize: `${((this.value - this.min) * 100) / (this.max - this.min)}% 100%` } }), h("span", { key: 'a522155c7ed3a483a94b0c91f125aac888733f19', class: "control_label" }, this.max), !this.notEditable && (h("input", { key: 'b3b2a7284df92d9b8d6b09ed80203804693e3662', type: "number", disabled: this.disabled, readonly: this.readonly, name: `${this.name}-number-input`, step: this.step, min: this.min, max: this.max, value: this.value, onInput: this.handleNumberInput, onBlur: this.handleNumberBlur })))));
41
+ return (h(Host, { key: 'ed2b742de5bb3b3dc72776e18df4c06a7322acf4', class: { disabled: this.disabled, readonly: this.readonly } }, this.label && h("label", { key: 'b01428e20fc4034f8bf4597ec1b0a05f7c0e3724', class: "label" }, this.label), h("div", { key: 'ea74b08ac9ba4870f8ab1faa6c4ae9bf766967df', class: "control" }, h("span", { key: 'cede2155f4e93ec8ef3ea2fb53e14a26ca7d2ed0', class: "control_label" }, this.min), h("input", { key: 'dc456088e17cde56d99139155f596e7a5587b75c', type: "range", disabled: this.disabled || this.readonly, readonly: this.readonly, name: this.name, min: this.min, max: this.max, step: this.step, value: this.value, onInput: this.handleInput, style: { backgroundSize: `${((this.value - this.min) * 100) / (this.max - this.min)}% 100%` } }), h("span", { key: '04a125979c07e8c83d897ff43ea682a209156c00', class: "control_label" }, this.max), !this.notEditable && (h("input", { key: '3fa69300100cf1784e0e9938d15633d014fab66c', type: "number", disabled: this.disabled, readonly: this.readonly, name: `${this.name}-number-input`, step: this.step, min: this.min, max: this.max, value: this.value, onInput: this.handleNumberInput, onBlur: this.handleNumberBlur })))));
42
42
  }
43
43
  static get is() { return "xv-slider-v2"; }
44
44
  static get encapsulation() { return "shadow"; }
@@ -1,93 +1,161 @@
1
- @charset "UTF-8";
2
1
  :host {
3
- white-space: nowrap;
2
+ /**
3
+ * @prop --xv-table-cell-padding-x: Horizontal padding. Inherited from the table.
4
+ * @prop --xv-table-cell-padding-y: Vertical padding. Inherited from the table.
5
+ * @prop --xv-table-cell-clamp: Lines kept when `overflow` is `clamp`.
6
+ */
7
+ --xv-table-cell-padding-x: var(--xv-table-padding-x, var(--spacing-05));
8
+ --xv-table-cell-padding-y: var(--xv-table-padding-y, var(--spacing-03));
9
+ --xv-table-cell-clamp: 2;
10
+ display: flex;
11
+ align-items: center;
12
+ box-sizing: border-box;
13
+ min-width: 0;
14
+ padding-block: var(--xv-table-cell-padding-y);
15
+ padding-inline: min(var(--xv-table-cell-padding-x), 25%);
16
+ color: var(--text-primary);
17
+ font-family: var(--ff-body);
18
+ font-size: var(--fz-md);
19
+ line-height: 18px;
20
+ letter-spacing: 0.16px;
21
+ }
22
+
23
+ :host([align=center]) {
24
+ justify-content: center;
25
+ text-align: center;
26
+ }
27
+
28
+ :host([align=end]) {
29
+ justify-content: flex-end;
30
+ text-align: right;
31
+ }
32
+
33
+ .content {
34
+ min-width: 0;
35
+ max-width: 100%;
36
+ }
37
+
38
+ [part=tooltip] {
39
+ min-width: 0;
40
+ max-width: 100%;
41
+ }
42
+
43
+ :host([overflow=ellipsis]) .content {
4
44
  overflow: hidden;
45
+ white-space: nowrap;
5
46
  text-overflow: ellipsis;
6
- padding: var(--xv-table-padding-y) var(--xv-table-padding-x);
7
- color: var(--text-primary, #333);
8
- font-family: var(--ff-body, Tahoma);
9
- font-size: 14px;
10
- font-style: normal;
11
- font-weight: 400;
12
- line-height: 1.2;
13
- letter-spacing: 0.16px;
14
- transition: 0.25s ease-in-out background-color;
47
+ }
48
+ :host([overflow=ellipsis]) .content ::slotted(*) {
49
+ min-width: 0;
50
+ max-width: 100%;
15
51
  }
16
52
 
17
- :host([multiline]) {
53
+ :host([overflow=clamp]) .content {
18
54
  display: -webkit-box;
19
- -webkit-line-clamp: 2;
20
55
  -webkit-box-orient: vertical;
21
- white-space: initial;
22
- padding-bottom: 1px;
23
- padding-top: 0;
24
- line-height: 1.2;
56
+ -webkit-line-clamp: var(--xv-table-cell-clamp);
57
+ overflow: hidden;
58
+ }
59
+ :host([overflow=clamp]) .content ::slotted(*) {
60
+ display: inline;
25
61
  }
26
62
 
27
- :host([align=left]) {
28
- text-align: left;
63
+ :host([overflow=wrap]) .content {
64
+ overflow: visible;
65
+ white-space: normal;
29
66
  }
30
67
 
31
- :host([align=right]) {
32
- text-align: right;
68
+ :host([header]) {
69
+ position: relative;
70
+ gap: var(--spacing-02);
71
+ font-weight: 600;
33
72
  }
34
73
 
35
- :host([align=center]) {
36
- text-align: center;
74
+ :host([header]) .content {
75
+ flex: 1;
37
76
  }
38
77
 
39
- :host([sort]) {
40
- position: relative;
78
+ :host([header][align=end]) .sort {
79
+ order: -1;
80
+ }
81
+
82
+ :host([header][sortable]) {
41
83
  cursor: pointer;
42
- user-select: none;
43
84
  }
44
- :host([sort]):before, :host([sort]):after {
45
- font-size: 12px;
46
- line-height: 10px;
47
- display: inline-flex;
48
- flex-direction: column;
49
- align-items: center;
50
- justify-content: center;
51
- position: absolute;
52
- right: 8px;
53
- pointer-events: none;
54
- transition: 350ms ease-in-out opacity;
55
- opacity: 0;
85
+ :host([header][sortable]):hover {
86
+ background: var(--layer-accent-hover-01);
56
87
  }
57
- :host([sort]):before {
58
- content: "▲";
59
- top: 50%;
60
- transform: translateY(calc(-50% - 5px));
88
+ :host([header][sortable]):focus-visible {
89
+ outline: 2px solid var(--focus);
90
+ outline-offset: 0;
61
91
  }
62
- :host([sort])::after {
63
- content: "▼";
64
- top: 50%;
65
- transform: translateY(calc(-50% + 5px));
92
+ :host([header][sortable]):focus-visible {
93
+ outline-offset: -2px;
66
94
  }
67
95
 
68
- :host([sort]:hover) {
69
- background-color: var(--layer-accent-hover-01, #E3E3E3);
96
+ :host([header][sort-direction=asc]),
97
+ :host([header][sort-direction=desc]) {
98
+ background: var(--layer-accent-active-01);
70
99
  }
71
- :host([sort]:hover)::before, :host([sort]:hover)::after {
72
- opacity: 1;
100
+
101
+ .sort {
102
+ flex: none;
103
+ width: 8px;
104
+ height: 8px;
105
+ border-right: 1px solid currentColor;
106
+ border-bottom: 1px solid currentColor;
107
+ opacity: 0;
108
+ transform: rotate(45deg) translate(-2px, -2px);
73
109
  }
74
110
 
75
- :host([sort=asc]) {
76
- background-color: var(--layer-accent-active-01, #D1D1D1);
111
+ :host([header][sortable]:hover) .sort {
112
+ opacity: 0.5;
77
113
  }
78
- :host([sort=asc])::before {
114
+
115
+ :host([header][sort-direction=asc]) .sort,
116
+ :host([header][sort-direction=desc]) .sort {
79
117
  opacity: 1;
80
118
  }
81
- :host([sort=asc])::after {
82
- display: none;
119
+
120
+ :host([header][sort-direction=asc]) .sort {
121
+ transform: rotate(-135deg) translate(-2px, -2px);
83
122
  }
84
123
 
85
- :host([sort=desc]) {
86
- background-color: var(--layer-accent-active-01, #D1D1D1);
124
+ .grip {
125
+ position: absolute;
126
+ top: 50%;
127
+ left: 4px;
128
+ transform: translateY(-50%);
129
+ width: 8px;
130
+ height: 14px;
131
+ opacity: 0;
132
+ cursor: grab;
133
+ background-image: radial-gradient(currentColor 1px, transparent 1px);
134
+ background-size: 4px 4px;
87
135
  }
88
- :host([sort=desc])::before {
89
- display: none;
136
+
137
+ :host([header]:hover) .grip {
138
+ opacity: 0.5;
90
139
  }
91
- :host([sort=desc])::after {
92
- opacity: 1;
140
+
141
+ :host(.drag-over) {
142
+ box-shadow: inset 2px 0 0 0 var(--interactive-01);
143
+ }
144
+
145
+ .resize {
146
+ position: absolute;
147
+ top: 0;
148
+ right: 0;
149
+ z-index: 1;
150
+ width: 6px;
151
+ height: 100%;
152
+ cursor: col-resize;
153
+ touch-action: none;
154
+ }
155
+ .resize:hover, .resize:active {
156
+ background: var(--interactive-01);
157
+ }
158
+
159
+ :host([hidden]) {
160
+ display: none;
93
161
  }