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
@@ -0,0 +1,10 @@
1
+ export const XV_TABLE_TAG = 'xv-table';
2
+ export const XV_TABLE_ROW_TAG = 'xv-table-row';
3
+ export const XV_TABLE_CELL_TAG = 'xv-table-cell';
4
+ export const XV_TABLE_LAYOUT_VERSION = 1;
5
+ /** The floor a resize drag may not cross, when the column names no minWidth. */
6
+ export const XV_TABLE_MIN_COLUMN_WIDTH = 64;
7
+ /** Per visible column, the width below which the table scrolls instead of squeezing. */
8
+ export const XV_TABLE_SCROLL_COLUMN_WIDTH = 120;
9
+ export const XV_TABLE_CONTROL_WIDTH = 48;
10
+ export const XV_TABLE_DEFAULT_PAGE_SIZES = [10, 20, 30, 40, 50, 100];
@@ -0,0 +1,243 @@
1
+ import { XV_SORT_DIR } from "../../types/enum";
2
+ import { XV_TABLE_DEFAULT_PAGE_SIZES, XV_TABLE_LAYOUT_VERSION, XV_TABLE_MIN_COLUMN_WIDTH, XV_TABLE_SCROLL_COLUMN_WIDTH, } from "./xv-table.model";
3
+ const ORDER_BY = /^(asc|desc)\((.+)\)$/;
4
+ /** Array and object props accept their JSON string form so they stay settable from plain markup. */
5
+ export const parseProp = (value, fallback) => {
6
+ if (typeof value !== 'string')
7
+ return value !== null && value !== void 0 ? value : fallback;
8
+ if (!value.trim())
9
+ return fallback;
10
+ try {
11
+ return JSON.parse(value);
12
+ }
13
+ catch (_a) {
14
+ return fallback;
15
+ }
16
+ };
17
+ export const parsePageSizes = (value) => {
18
+ const parsed = typeof value === 'string' && value.includes(',')
19
+ ? value.split(',').map(part => Number(part.trim()))
20
+ : parseProp(value, XV_TABLE_DEFAULT_PAGE_SIZES);
21
+ const sizes = (parsed || []).filter(size => Number.isFinite(size) && size > 0);
22
+ return sizes.length ? sizes : XV_TABLE_DEFAULT_PAGE_SIZES;
23
+ };
24
+ export const parseSortBy = (value) => {
25
+ if (!value)
26
+ return null;
27
+ if (typeof value !== 'string') {
28
+ return value.name ? { name: value.name, direction: value.direction || XV_SORT_DIR.ASC } : null;
29
+ }
30
+ const match = ORDER_BY.exec(value.trim());
31
+ if (!match)
32
+ return null;
33
+ return { name: match[2], direction: match[1] };
34
+ };
35
+ /** The `asc(field)` shape ListStateService already speaks, so an Angular binding needs no adapter. */
36
+ export const formatSortBy = (sort) => sort ? `${sort.direction}(${sort.name})` : '';
37
+ export const nextSortDirection = (current) => current === XV_SORT_DIR.ASC ? XV_SORT_DIR.DESC : XV_SORT_DIR.ASC;
38
+ export const sortName = (column) => column.sortName || column.id;
39
+ export const cellValue = (row, column) => {
40
+ if (typeof column.value === 'function')
41
+ return column.value(row);
42
+ const key = column.value || column.id;
43
+ return row === null || row === void 0 ? void 0 : row[key];
44
+ };
45
+ const isEmpty = (value) => value === null || value === undefined || value === '';
46
+ // Only a date-shaped string is read as a date: an article number must not sort as a year.
47
+ const DATE_LIKE = /^\d{4}-\d{2}-\d{2}([T ]|$)|^\d{1,2}[./-]\d{1,2}[./-]\d{2,4}$/;
48
+ const toComparable = (value) => {
49
+ if (value instanceof Date)
50
+ return value.getTime();
51
+ if (typeof value === 'number' || typeof value === 'boolean')
52
+ return value;
53
+ const text = String(value);
54
+ const asDate = DATE_LIKE.test(text.trim()) ? Date.parse(text) : NaN;
55
+ return Number.isNaN(asDate) ? text : asDate;
56
+ };
57
+ /** Empty values sort last in both directions — a blank cell is not "smallest", it is missing. */
58
+ export const compareValues = (a, b, locale) => {
59
+ if (isEmpty(a) && isEmpty(b))
60
+ return 0;
61
+ if (isEmpty(a))
62
+ return 1;
63
+ if (isEmpty(b))
64
+ return -1;
65
+ if (typeof a === 'number' && typeof b === 'number')
66
+ return a - b;
67
+ const left = toComparable(a);
68
+ const right = toComparable(b);
69
+ if (typeof left === 'string' || typeof right === 'string') {
70
+ return String(left).localeCompare(String(right), locale, { numeric: true, sensitivity: 'base' });
71
+ }
72
+ return Number(left) - Number(right);
73
+ };
74
+ export const sortRows = (rows, column, direction, locale) => {
75
+ if (!column || direction === XV_SORT_DIR.NONE)
76
+ return rows;
77
+ const factor = direction === XV_SORT_DIR.DESC ? -1 : 1;
78
+ // Read each cell once rather than four times per comparison.
79
+ const decorated = rows.map(row => ({ row, key: cellValue(row, column) }));
80
+ decorated.sort((a, b) => {
81
+ const result = compareValues(a.key, b.key, locale);
82
+ // Empty always trails, so it must not be flipped by a descending sort.
83
+ if (isEmpty(a.key) !== isEmpty(b.key))
84
+ return result;
85
+ return result * factor;
86
+ });
87
+ return decorated.map(item => item.row);
88
+ };
89
+ export const totalPages = (total, pageSize) => Math.ceil((total || 0) / (pageSize || 10)) || 1;
90
+ export const clampPage = (page, pages) => Math.min(Math.max(page || 1, 1), Math.max(pages, 1));
91
+ export const pageSlice = (rows, page, pageSize) => {
92
+ const size = pageSize || 10;
93
+ const start = (clampPage(page, totalPages(rows.length, size)) - 1) * size;
94
+ return rows.slice(start, start + size);
95
+ };
96
+ export const visibleColumns = (columns) => columns.filter(column => !column.hidden);
97
+ export const hideableColumns = (columns) => columns.filter(column => column.hideable);
98
+ /** A column may narrow a table-level switch, never widen it. */
99
+ export const columnAllows = (column, table, key) => { var _a; return table && ((_a = column[key]) !== null && _a !== void 0 ? _a : true); };
100
+ export const clampWidth = (width, column) => {
101
+ const min = column.minWidth || XV_TABLE_MIN_COLUMN_WIDTH;
102
+ const max = column.maxWidth || Number.MAX_SAFE_INTEGER;
103
+ return Math.round(Math.min(Math.max(width, min), max));
104
+ };
105
+ /**
106
+ * What the rigid parts of the table actually need. A pixel column needs its width; a percentage
107
+ * column squeezes by definition and asks for nothing; a column that named no width gets the
108
+ * scroll-width guess. Guessing for all of them made a table of narrow columns scroll for nothing.
109
+ */
110
+ export const tableMinWidth = (columns, minWidth, controls = 0) => {
111
+ if (minWidth)
112
+ return minWidth + controls;
113
+ const declared = visibleColumns(columns).reduce((total, column) => {
114
+ if (typeof column.width === 'number')
115
+ return total + column.width;
116
+ return column.width ? total : total + XV_TABLE_SCROLL_COLUMN_WIDTH;
117
+ }, 0);
118
+ return declared + controls;
119
+ };
120
+ /**
121
+ * The grid track list. Resize rewrites this one string on the host, which is a single DOM write
122
+ * per pointermove — a colgroup would need one per `<col>`. One track per control column: a grip
123
+ * and a checkbox are separate cells, so they need separate tracks.
124
+ */
125
+ export const buildColumnTracks = (columns, leading = [], trailing = []) => {
126
+ const shown = visibleColumns(columns);
127
+ // `table-layout: fixed`, which is what these tables were written against: while some column left
128
+ // its width open, a declared width is exact and the open ones take what is left. Once every
129
+ // column has named a width, the widths also become proportions and the table scales up to fit —
130
+ // but never below what was declared, so a narrow column keeps the room its content needs.
131
+ const proportional = shown.length > 0 && shown.every(column => !!column.width);
132
+ return [
133
+ ...leading.map(width => `${width}px`),
134
+ // No space inside minmax(): the track list is indexed as an array during a resize drag.
135
+ ...shown.map(column => {
136
+ if (!column.width)
137
+ return `minmax(${column.minWidth || XV_TABLE_MIN_COLUMN_WIDTH}px,1fr)`;
138
+ if (typeof column.width === 'number') {
139
+ return proportional
140
+ ? `minmax(${column.width}px,${column.width}fr)`
141
+ : `${column.width}px`;
142
+ }
143
+ // A percentage keeps its exact share of the table and squeezes with it, never forcing a scroll.
144
+ const percent = /^([0-9.]+)%$/.test(column.width);
145
+ return percent ? `minmax(0,${column.width})` : column.width;
146
+ }),
147
+ ...trailing.map(width => `${width}px`),
148
+ ];
149
+ };
150
+ export const buildColumnTemplate = (columns, leading = [], trailing = []) => buildColumnTracks(columns, leading, trailing).join(' ');
151
+ export const moveItem = (items, from, to) => {
152
+ const next = [...items];
153
+ next.splice(to, 0, next.splice(from, 1)[0]);
154
+ return next;
155
+ };
156
+ /** Hidden columns keep their absolute slot while the visible ones move around them. */
157
+ export const mergeVisibleOrder = (columns, ordered) => {
158
+ const queue = [...ordered];
159
+ return columns.map(column => (column.hidden ? column : queue.shift() || column));
160
+ };
161
+ /**
162
+ * Only the deviations from the declared columns are stored. An untouched column follows the code,
163
+ * so a later default still reaches everyone who once dragged a column edge.
164
+ */
165
+ export const diffLayout = (columns, declared) => {
166
+ const defaults = new Map(declared.map(column => [column.id, column]));
167
+ const order = columns.map(column => column.id);
168
+ const widths = {};
169
+ const hidden = {};
170
+ columns.forEach(column => {
171
+ const base = defaults.get(column.id);
172
+ // Only a resize writes a width, and a resize always writes pixels: a declared `25%` is not a
173
+ // deviation, and storing it would freeze the layout the next time the code changes.
174
+ if (typeof column.width === 'number' && column.width !== (base === null || base === void 0 ? void 0 : base.width)) {
175
+ widths[column.id] = column.width;
176
+ }
177
+ if (!!column.hidden !== !!(base === null || base === void 0 ? void 0 : base.hidden))
178
+ hidden[column.id] = !!column.hidden;
179
+ });
180
+ return {
181
+ v: XV_TABLE_LAYOUT_VERSION,
182
+ order: order.join() === declared.map(column => column.id).join() ? [] : order,
183
+ widths,
184
+ hidden,
185
+ };
186
+ };
187
+ export const isLayoutChanged = (layout) => !!layout && (!!layout.order.length || !!Object.keys(layout.widths).length || !!Object.keys(layout.hidden).length);
188
+ /** Merges onto clones, so a stored width never writes back into the page's declared preset. */
189
+ export const applyLayout = (declared, layout) => {
190
+ const clones = declared.map(column => (Object.assign({}, column)));
191
+ if (!layout || layout.v !== XV_TABLE_LAYOUT_VERSION)
192
+ return clones;
193
+ const byId = new Map(clones.map(column => [column.id, column]));
194
+ const ordered = layout.order.map(id => byId.get(id)).filter(Boolean);
195
+ clones.forEach((column, index) => {
196
+ if (!ordered.includes(column))
197
+ ordered.splice(Math.min(index, ordered.length), 0, column);
198
+ });
199
+ ordered.forEach(column => {
200
+ const width = layout.widths[column.id];
201
+ if (width)
202
+ column.width = width;
203
+ const hidden = layout.hidden[column.id];
204
+ if (hidden !== undefined && column.hideable)
205
+ column.hidden = hidden;
206
+ });
207
+ return ordered;
208
+ };
209
+ export const formatCell = (value, column, locale) => {
210
+ if (isEmpty(value))
211
+ return '';
212
+ switch (column.format) {
213
+ case 'number':
214
+ return new Intl.NumberFormat(locale).format(Number(value));
215
+ case 'currency':
216
+ return new Intl.NumberFormat(locale, {
217
+ style: 'currency',
218
+ currency: column.formatArg || 'EUR',
219
+ }).format(Number(value));
220
+ case 'date': {
221
+ const date = value instanceof Date ? value : new Date(String(value));
222
+ return Number.isNaN(date.getTime()) ? String(value) : new Intl.DateTimeFormat(locale).format(date);
223
+ }
224
+ case 'period': {
225
+ const [start, end] = Array.isArray(value) ? value : [];
226
+ const part = (input, options) => {
227
+ if (isEmpty(input))
228
+ return '';
229
+ const date = input instanceof Date ? input : new Date(String(input));
230
+ return Number.isNaN(date.getTime()) ? '' : new Intl.DateTimeFormat(locale, options).format(date);
231
+ };
232
+ // A missing end leaves no dangling separator, and the year is only spelled once.
233
+ return [
234
+ part(start, { day: '2-digit', month: '2-digit' }),
235
+ part(end, { day: '2-digit', month: '2-digit', year: '2-digit' }),
236
+ ].filter(Boolean).join(' - ');
237
+ }
238
+ case 'list':
239
+ return Array.isArray(value) ? value.join(column.formatArg || ', ') : String(value);
240
+ default:
241
+ return String(value);
242
+ }
243
+ };
@@ -6,7 +6,7 @@ export class XvTab {
6
6
  this.loading = false;
7
7
  }
8
8
  render() {
9
- return (h(Host, { key: '8dcdf7d006b2e187067bf598828007175d15cae8', disabled: this.disabled, name: this.name }, this.loading ? h("xv-loader-v2", { size: SIZE_VAR.LG }) : h("slot", null)));
9
+ return (h(Host, { key: '7147f87058327e099ad257d3821447dac8e3affb', disabled: this.disabled, name: this.name }, this.loading ? h("xv-loader-v2", { size: SIZE_VAR.LG }) : h("slot", null)));
10
10
  }
11
11
  static get is() { return "xv-tab-v2"; }
12
12
  static get encapsulation() { return "shadow"; }
@@ -151,7 +151,8 @@ export class XvTabs {
151
151
  "TABS_VATIANT_STR": {
152
152
  "location": "import",
153
153
  "path": "./_vars",
154
- "id": "src/components/xv-tabs/_vars.ts::TABS_VATIANT_STR"
154
+ "id": "src/components/xv-tabs/_vars.ts::TABS_VATIANT_STR",
155
+ "referenceLocation": "TABS_VATIANT_STR"
155
156
  }
156
157
  }
157
158
  },
@@ -13,7 +13,7 @@ export class XvTag {
13
13
  this.closeClick.emit(e);
14
14
  }
15
15
  render() {
16
- return (h(Host, { key: '77385d3b4d4d91c3a10b874542a84d8cc0387053', style: { color: this.color, background: this.bg }, class: `xv-tag ${this.disabled ? 'disabled' : ''} ${this.size}` }, h("div", { key: 'aaf0387d916f0956ce14b55157da88c9e395a78b', class: "xv-tag_content", part: "details-content" }, h("slot", { key: '16103821bce77aa4bc9349171e993992063c7b28' })), this.closeable && (h("button", { key: '50b594b2751c2c331bb8eed3c92059318c018290', onClick: this.closeHandler.bind(this), class: "xv-tag_close" }))));
16
+ return (h(Host, { key: '138d2cd5c76589ffd98054c7af17905921725aab', style: { color: this.color, background: this.bg }, class: `xv-tag ${this.disabled ? 'disabled' : ''} ${this.size}` }, h("div", { key: 'd3fe0db007cf464d64a63ed907c60dc0fd61c19c', class: "xv-tag_content", part: "details-content" }, h("slot", { key: 'caaebab8bce651040ac5c3291ffa2668b04cac56' })), this.closeable && (h("button", { key: 'ab6790f6b80906dcf28aee7fc739e375ae774df4', onClick: this.closeHandler.bind(this), class: "xv-tag_close" }))));
17
17
  }
18
18
  static get is() { return "xv-tag-v2"; }
19
19
  static get encapsulation() { return "shadow"; }
@@ -242,12 +242,12 @@ export class XvTagCombobox {
242
242
  const ariaOwns = suggestionsVisible ? `${this.uid}-listbox` : undefined;
243
243
  const activedesc = this.highlighted >= 0 ? this.optionId(this.highlighted) : undefined;
244
244
  const message = resolveFieldMessage({ error: this.error, warning: this.warning, helper: this.helper });
245
- return (h(Host, { key: 'e60929011a37dadc02b6c97074b9ea3597efc69e', class: "xv-combobox", part: "root", size: this.size }, this.label && h("label", { key: '7b50d4e03f1f710d47a331f8a34955f1286c18e2', class: "label" }, this.label), h("div", { key: '496e2f93831c245ff07bfd091df93464a02700e6', class: {
245
+ return (h(Host, { key: '5351ddba9ec53411d14582d3e4c013000f560540', class: "xv-combobox", part: "root", size: this.size }, this.label && h("label", { key: '9072c85cbd926b16e08827dacccd4d7f0a86d411', class: "label" }, this.label), h("div", { key: 'd63f9438b385fc05b53f29be87d5e1cf77a02f88', class: {
246
246
  'control': true,
247
247
  'control--disabled': this.disabled,
248
248
  'control--error': !!this.error,
249
249
  'control--readonly': !!this.readonly,
250
- }, onClick: () => this.blockClick() }, h("div", { key: 'd9d48a15bef226f8fd1b9560033bc2ffe0488ea4', class: "control-chips", role: "list" }, this.selected.map((s, i) => (h("xv-tag-v2", { role: "listitem", part: "chip", "data-value": s.value, size: this.COMPARE_TAG_SIZE[this.size], disabled: this.disabled, bg: (s === null || s === void 0 ? void 0 : s.bg) || 'var(--layer-accent-01, #F7F7F7)', color: (s === null || s === void 0 ? void 0 : s.color) || 'var(--text-primary, #333)', closeable: !this.readonly, onCloseClick: ({ detail }) => this.removeTag(i, detail) }, s.label))), h("input", { key: 'e691b87972ab0ed01b0241b30d34e381d4011d35', ref: (el) => (this.inputEl = el), class: "control-input", readonly: this.readonly, placeholder: this.selected.length ? '' : this.placeholder, value: this.inputValue, onInput: (e) => this.onInput(e), onKeyDown: (e) => this.onKeyDown(e), onFocus: () => { this.onOpen(); this.recomputeFiltered(); }, "aria-autocomplete": "list", "aria-expanded": this.open ? 'true' : 'false', "aria-controls": ariaOwns, "aria-activedescendant": activedesc, disabled: this.disabled })), this.loading && (h("span", { key: '85e296aea064e3a4704d1e436049cd0f17870613', class: "control-loader", part: "loader", "aria-hidden": "true" }, h("xv-loader-v2", { key: '11b47534c6bd60066e996c8554013a04f8bc4a74', size: "sm", variant: "horizontal" })))), message && (h("p", { key: '9cb3dc1d6be3a0bf501a0c4b5138a286057be343', class: { message: true, [message.level]: true } }, message.text)), suggestionsVisible && (h("ul", { key: '48aa3682898fe62d0228f43c4fb11de0b9494710', id: `${this.uid}-listbox`, class: "suggestions", role: "listbox", part: "listbox" }, this.filtered.map((opt, idx) => (h("li", { id: this.optionId(idx), class: { 'suggestions-opt': true, 'suggestions-opt--highlight': idx === this.highlighted }, role: "option", "aria-selected": idx === this.highlighted, onMouseEnter: () => this.onOptionMouseEnter(idx), onMouseDown: (ev) => ev.preventDefault(), onClick: () => this.selectOption(opt) }, h("div", { class: "suggestions-opt-content" }, opt.bg ? h("span", { class: "suggestions-opt-content--color", style: { background: opt.bg } }) : null, h("span", { class: "suggestions-opt-content--label" }, this.highlightLabel(opt.label).map((seg, i) => typeof seg === 'string' ? h("span", { key: i }, seg) : h("strong", { key: i }, seg.match)))))))))));
250
+ }, onClick: () => this.blockClick() }, h("div", { key: 'e303fef8789d9f1df8a9febe667f8fa0d72f4aaa', class: "control-chips", role: "list" }, this.selected.map((s, i) => (h("xv-tag-v2", { role: "listitem", part: "chip", "data-value": s.value, size: this.COMPARE_TAG_SIZE[this.size], disabled: this.disabled, bg: (s === null || s === void 0 ? void 0 : s.bg) || 'var(--layer-accent-01, #F7F7F7)', color: (s === null || s === void 0 ? void 0 : s.color) || 'var(--text-primary, #333)', closeable: !this.readonly, onCloseClick: ({ detail }) => this.removeTag(i, detail) }, s.label))), h("input", { key: '08ec28c65696a36238aa4f2c7f9ba2a89c34e31c', ref: (el) => (this.inputEl = el), class: "control-input", readonly: this.readonly, placeholder: this.selected.length ? '' : this.placeholder, value: this.inputValue, onInput: (e) => this.onInput(e), onKeyDown: (e) => this.onKeyDown(e), onFocus: () => { this.onOpen(); this.recomputeFiltered(); }, "aria-autocomplete": "list", "aria-expanded": this.open ? 'true' : 'false', "aria-controls": ariaOwns, "aria-activedescendant": activedesc, disabled: this.disabled })), this.loading && (h("span", { key: '434666b2391399635cfe9c18320e4e10c0b67abf', class: "control-loader", part: "loader", "aria-hidden": "true" }, h("xv-loader-v2", { key: '66ffdb3f446ee255495d05c9a456a868b208c52a', size: "sm", variant: "horizontal" })))), message && (h("p", { key: '47f10c7a1e7a0eb5f9cfef0a303a667278833673', class: { message: true, [message.level]: true } }, message.text)), suggestionsVisible && (h("ul", { key: 'cba3064999cd0fa1159bb1a5b0967633de6d2e6f', id: `${this.uid}-listbox`, class: "suggestions", role: "listbox", part: "listbox" }, this.filtered.map((opt, idx) => (h("li", { id: this.optionId(idx), class: { 'suggestions-opt': true, 'suggestions-opt--highlight': idx === this.highlighted }, role: "option", "aria-selected": idx === this.highlighted, onMouseEnter: () => this.onOptionMouseEnter(idx), onMouseDown: (ev) => ev.preventDefault(), onClick: () => this.selectOption(opt) }, h("div", { class: "suggestions-opt-content" }, opt.bg ? h("span", { class: "suggestions-opt-content--color", style: { background: opt.bg } }) : null, h("span", { class: "suggestions-opt-content--label" }, this.highlightLabel(opt.label).map((seg, i) => typeof seg === 'string' ? h("span", { key: i }, seg) : h("strong", { key: i }, seg.match)))))))))));
251
251
  }
252
252
  static get is() { return "xv-tag-combobox"; }
253
253
  static get encapsulation() { return "shadow"; }
@@ -273,7 +273,8 @@ export class XvTagCombobox {
273
273
  "TagComboboxOptIn": {
274
274
  "location": "import",
275
275
  "path": "./xv-tag-combobox.config",
276
- "id": "src/components/xv-tag-combobox/xv-tag-combobox.config.ts::TagComboboxOptIn"
276
+ "id": "src/components/xv-tag-combobox/xv-tag-combobox.config.ts::TagComboboxOptIn",
277
+ "referenceLocation": "TagComboboxOptIn"
277
278
  }
278
279
  }
279
280
  },
@@ -317,7 +318,8 @@ export class XvTagCombobox {
317
318
  "SIZE_VAR_STR": {
318
319
  "location": "import",
319
320
  "path": "../../types/enum",
320
- "id": "src/types/enum.ts::SIZE_VAR_STR"
321
+ "id": "src/types/enum.ts::SIZE_VAR_STR",
322
+ "referenceLocation": "SIZE_VAR_STR"
321
323
  }
322
324
  }
323
325
  },
@@ -30,13 +30,13 @@ export class XvTextInput {
30
30
  }
31
31
  render() {
32
32
  const message = resolveFieldMessage({ error: this.error, warning: this.warning, helper: this.helper });
33
- return (h(Host, { key: '43b395b4ae2d9b12b0b6e8c205832b01b444eff9', class: { disabled: !!this.disabled } }, h("label", { key: 'a5a026fc3effb39012c6915b01e4440e89496c13', class: "control" }, this.label && h("span", { key: '9289ff9d91d277e003257766d5bc828d4c0f5998', class: "control_label" }, this.label), h("div", { key: 'ad3217dc73fbddc134fb823a8b66a605bca4c2e7', class: {
33
+ return (h(Host, { key: '9aec75a885d16f416708047095897ac987b9e1ec', class: { disabled: !!this.disabled } }, h("label", { key: '4d6934a4208df6e858277366e7a74da9ec7c0ed3', class: "control" }, this.label && h("span", { key: '57c1974e09512b744aecc18dacfe7cae0bac6921', class: "control_label" }, this.label), h("div", { key: '5b0dd4d878da6e8bfc05a0f704954081e9b8058d', class: {
34
34
  'control_input': true,
35
35
  readonly: !!this.readonly,
36
36
  [this.size]: true,
37
37
  error: !!this.error,
38
38
  warning: !!this.warning,
39
- } }, h("input", { key: 'a4aa380c75e08596012b32915b5801bb31c6af79', autocomplete: this.autocomplete, type: (this.type === 'password' && this.isPasswordVisible && 'text') || this.type, placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, onInput: this.handleInput, name: this.name, value: this.value }), h("div", { key: '35c161e73e8618702d901fb526a5aec4d3bf02d0', class: "control_input__icons" }, this.loading && h("xv-loader-v2", { key: '43592e719837a391dd0b48465146884739d77a6c', size: SIZE_VAR.XS }), this.clearable && this.value && !this.loading && !this.disabled && !this.readonly && (h("button", { key: 'fb8027d93f562377d70252d07cab8440c0554e35', type: "button", class: "status-icon clear", "aria-label": "Clear", onClick: this.handleClear }, "\u00D7")), !!this.error ? (h("span", { class: "status-icon error", "aria-hidden": "true" }, "!")) : !!this.warning ? (h("span", { class: "status-icon warning", "aria-hidden": "true" }, "\u26A0")) : null, this.type === 'password' && (h("button", { key: '620ed023d03e5e8583fdfeb028d49806094f08de', onClick: this.togglePassword, disabled: this.disabled, class: "status-icon" }, h("svg", { key: '77421524e6041b62fe5675daec3dc9e11c5a49e1', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 640 512", width: 16, height: 16 }, this.isPasswordVisible ? (h("path", { fill: "currentColor", d: "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zm151 118.3C226 97.7 269.5 80 320 80c65.2 0 118.8 29.6 159.9 67.7C518.4 183.5 545 226 558.6 256c-12.6 28-36.6 66.8-70.9 100.9l-53.8-42.2c9.1-17.6 14.2-37.5 14.2-58.7c0-70.7-57.3-128-128-128c-32.2 0-61.7 11.9-84.2 31.5l-46.1-36.1zM394.9 284.2l-81.5-63.9c4.2-8.5 6.6-18.2 6.6-28.3c0-5.5-.7-10.9-2-16c.7 0 1.3 0 2 0c44.2 0 80 35.8 80 80c0 9.9-1.8 19.4-5.1 28.2zm9.4 130.3C378.8 425.4 350.7 432 320 432c-65.2 0-118.8-29.6-159.9-67.7C121.6 328.5 95 286 81.4 256c8.3-18.4 21.5-41.5 39.4-64.8L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5l-41.9-33zM192 256c0 70.7 57.3 128 128 128c13.3 0 26.1-2 38.2-5.8L302 334c-23.5-5.4-43.1-21.2-53.7-42.3l-56.1-44.2c-.2 2.8-.3 5.6-.3 8.5z" })) : (h("path", { fill: "currentColor", d: "M288 80c-65.2 0-118.8 29.6-159.9 67.7C89.6 183.5 63 226 49.4 256c13.6 30 40.2 72.5 78.6 108.3C169.2 402.4 222.8 432 288 432s118.8-29.6 159.9-67.7C486.4 328.5 513 286 526.6 256c-13.6-30-40.2-72.5-78.6-108.3C406.8 109.6 353.2 80 288 80zM95.4 112.6C142.5 68.8 207.2 32 288 32s145.5 36.8 192.6 80.6c46.8 43.5 78.1 95.4 93 131.1c3.3 7.9 3.3 16.7 0 24.6c-14.9 35.7-46.2 87.7-93 131.1C433.5 443.2 368.8 480 288 480s-145.5-36.8-192.6-80.6C48.6 356 17.3 304 2.5 268.3c-3.3-7.9-3.3-16.7 0-24.6C17.3 208 48.6 156 95.4 112.6zM288 336c44.2 0 80-35.8 80-80s-35.8-80-80-80c-.7 0-1.3 0-2 0c1.3 5.1 2 10.5 2 16c0 35.3-28.7 64-64 64c-5.5 0-10.9-.7-16-2c0 .7 0 1.3 0 2c0 44.2 35.8 80 80 80zm0-208a128 128 0 1 1 0 256 128 128 0 1 1 0-256z" })))))))), message && (h("p", { key: '6365962d7a21f79f1d705deed078f352ec311b99', class: { message: true, [message.level]: true } }, message.text))));
39
+ } }, h("input", { key: '0a5d8923bbcf54a551618557037a96b2e3c2166f', autocomplete: this.autocomplete, type: (this.type === 'password' && this.isPasswordVisible && 'text') || this.type, placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, onInput: this.handleInput, name: this.name, value: this.value }), h("div", { key: 'a627fa606172a1e8d198b8dc8daadc280d39cfa2', class: "control_input__icons" }, this.loading && h("xv-loader-v2", { key: 'e2e9bb121daf4aedc173909545b80961db442002', size: SIZE_VAR.XS }), this.clearable && this.value && !this.loading && !this.disabled && !this.readonly && (h("button", { key: '45e514e856569d54bb4c98a8ac78a0aedc70ce37', type: "button", class: "status-icon clear", "aria-label": "Clear", onClick: this.handleClear }, "\u00D7")), !!this.error ? (h("span", { class: "status-icon error", "aria-hidden": "true" }, "!")) : !!this.warning ? (h("span", { class: "status-icon warning", "aria-hidden": "true" }, "\u26A0")) : null, this.type === 'password' && (h("button", { key: 'f7ae4b875d4a515e79fa1699d0fe3d4aa8b27586', onClick: this.togglePassword, disabled: this.disabled, class: "status-icon" }, h("svg", { key: '08bf622486f686fba2309004145c4c340faf8cd0', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 640 512", width: 16, height: 16 }, this.isPasswordVisible ? (h("path", { fill: "currentColor", d: "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zm151 118.3C226 97.7 269.5 80 320 80c65.2 0 118.8 29.6 159.9 67.7C518.4 183.5 545 226 558.6 256c-12.6 28-36.6 66.8-70.9 100.9l-53.8-42.2c9.1-17.6 14.2-37.5 14.2-58.7c0-70.7-57.3-128-128-128c-32.2 0-61.7 11.9-84.2 31.5l-46.1-36.1zM394.9 284.2l-81.5-63.9c4.2-8.5 6.6-18.2 6.6-28.3c0-5.5-.7-10.9-2-16c.7 0 1.3 0 2 0c44.2 0 80 35.8 80 80c0 9.9-1.8 19.4-5.1 28.2zm9.4 130.3C378.8 425.4 350.7 432 320 432c-65.2 0-118.8-29.6-159.9-67.7C121.6 328.5 95 286 81.4 256c8.3-18.4 21.5-41.5 39.4-64.8L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5l-41.9-33zM192 256c0 70.7 57.3 128 128 128c13.3 0 26.1-2 38.2-5.8L302 334c-23.5-5.4-43.1-21.2-53.7-42.3l-56.1-44.2c-.2 2.8-.3 5.6-.3 8.5z" })) : (h("path", { fill: "currentColor", d: "M288 80c-65.2 0-118.8 29.6-159.9 67.7C89.6 183.5 63 226 49.4 256c13.6 30 40.2 72.5 78.6 108.3C169.2 402.4 222.8 432 288 432s118.8-29.6 159.9-67.7C486.4 328.5 513 286 526.6 256c-13.6-30-40.2-72.5-78.6-108.3C406.8 109.6 353.2 80 288 80zM95.4 112.6C142.5 68.8 207.2 32 288 32s145.5 36.8 192.6 80.6c46.8 43.5 78.1 95.4 93 131.1c3.3 7.9 3.3 16.7 0 24.6c-14.9 35.7-46.2 87.7-93 131.1C433.5 443.2 368.8 480 288 480s-145.5-36.8-192.6-80.6C48.6 356 17.3 304 2.5 268.3c-3.3-7.9-3.3-16.7 0-24.6C17.3 208 48.6 156 95.4 112.6zM288 336c44.2 0 80-35.8 80-80s-35.8-80-80-80c-.7 0-1.3 0-2 0c1.3 5.1 2 10.5 2 16c0 35.3-28.7 64-64 64c-5.5 0-10.9-.7-16-2c0 .7 0 1.3 0 2c0 44.2 35.8 80 80 80zm0-208a128 128 0 1 1 0 256 128 128 0 1 1 0-256z" })))))))), message && (h("p", { key: '2c1d43925fd56c86e47dfd88c4644b030639f81e', class: { message: true, [message.level]: true } }, message.text))));
40
40
  }
41
41
  static get is() { return "xv-text-input-v2"; }
42
42
  static get encapsulation() { return "shadow"; }
@@ -332,7 +332,8 @@ export class XvTextInput {
332
332
  "SIZE_VAR_STR": {
333
333
  "location": "import",
334
334
  "path": "../../types/enum",
335
- "id": "src/types/enum.ts::SIZE_VAR_STR"
335
+ "id": "src/types/enum.ts::SIZE_VAR_STR",
336
+ "referenceLocation": "SIZE_VAR_STR"
336
337
  }
337
338
  }
338
339
  },
@@ -22,12 +22,12 @@ export class XvTextarea {
22
22
  }
23
23
  render() {
24
24
  const message = resolveFieldMessage({ error: this.error, warning: this.warning, helper: this.helper });
25
- return (h(Host, { key: '32cde85fad74f49fc14a928eb652a59c07e909d0', class: { disabled: !!this.disabled } }, h("label", { key: '3ecb0591842d2ca2ba3099e4cf273a85b96c0339', class: "control" }, (this.label || this.max) && (h("p", { key: '1a624bff259ecc4854da70bf784178165f204d8e', class: "control_label" }, h("span", { key: 'c615f9d6b36a782592619421598650594b5983d0' }, this.label, this.info && h("xv-tooltip-v2", { key: '469dd76f58eeb7c7b4664dd8b5c577597bd308ed', message: this.info })), this.max !== undefined && !this.counterHide && (h("span", { key: 'b35c81ea8ced8f91fb1f2c572bb57ddaa111b434', class: "control_label__count" }, this.value.length || 0, "/", this.max)))), h("div", { key: '3176748cbf9379b92bd1b8cfdae87a860545c326', class: {
25
+ return (h(Host, { key: '8f8a6e5f1886e21e52ffc3e006c4d43b1de420eb', class: { disabled: !!this.disabled } }, h("label", { key: '2097cfb9d893772a0aa1e2aa3aeadd5484ebb48e', class: "control" }, (this.label || this.max) && (h("p", { key: '4a5ce1d5ad1d62ba1ab1249b2f15504eafc727af', class: "control_label" }, h("span", { key: 'f8344446dcf38978181473292c6a748d394538f6' }, this.label, this.info && h("xv-tooltip-v2", { key: 'bf23e43f1b7f0ea94ba9cb376c4893ea413ec5df', message: this.info })), this.max !== undefined && !this.counterHide && (h("span", { key: '7b377f47c6b426428fbaee01746415032b75d0b5', class: "control_label__count" }, this.value.length || 0, "/", this.max)))), h("div", { key: 'b7e1937e704f7493544443d159e7b3c1783a1e45', class: {
26
26
  'control_input': true,
27
27
  readonly: !!this.readonly,
28
28
  error: !!this.error,
29
29
  warning: this.warning !== undefined,
30
- } }, h("textarea", { key: 'ff8584218a0d3702cb2047560404e90d28fd1812', class: { 'no-resize': !!this.noResize }, name: this.name, rows: this.rows, value: this.value, maxLength: this.max, disabled: this.disabled, readOnly: this.readonly, placeholder: this.placeholder, onInput: this.onInput }), h("div", { key: '464cdd3d774d99e3362b7b3c68f7e69f32d51687', class: "control_input__icons" }, this._renderIcon()))), message && (h("p", { key: '832b54de9b533b8f0e39540e27c2e49e27b5556e', class: { message: true, [message.level]: true } }, message.text))));
30
+ } }, h("textarea", { key: '4c09ca41ec313fca1f2df3e4e941d342d6121b6a', class: { 'no-resize': !!this.noResize }, name: this.name, rows: this.rows, value: this.value, maxLength: this.max, disabled: this.disabled, readOnly: this.readonly, placeholder: this.placeholder, onInput: this.onInput }), h("div", { key: '68dcba186158bf977193f908cf2a129452ba904e', class: "control_input__icons" }, this._renderIcon()))), message && (h("p", { key: '150534971f182c93c131fee2b00eae5cc78e7c30', class: { message: true, [message.level]: true } }, message.text))));
31
31
  }
32
32
  _renderIcon() {
33
33
  if (this.loading)
@@ -372,7 +372,8 @@ export class XvTextarea {
372
372
  "SIZE_VAR_STR": {
373
373
  "location": "import",
374
374
  "path": "../../types/enum",
375
- "id": "src/types/enum.ts::SIZE_VAR_STR"
375
+ "id": "src/types/enum.ts::SIZE_VAR_STR",
376
+ "referenceLocation": "SIZE_VAR_STR"
376
377
  }
377
378
  }
378
379
  },
@@ -161,7 +161,7 @@
161
161
  background-color: transparent;
162
162
  }
163
163
  .xv-tile--host .xv-tile_control input[type=checkbox]:checked[readonly]:before, .xv-tile--host .xv-tile_control input[type=checkbox]:checked[readonly]:after {
164
- border-color: var(--text-disabled, rgba(18, 18, 18, 0.25));
164
+ border-color: var(--text-disabled, hsla(0, 0%, 7%, 0.25));
165
165
  }
166
166
  .xv-tile--host .xv-tile_control input[type=radio] {
167
167
  border-radius: 50%;
@@ -29,7 +29,7 @@ export class XvTile {
29
29
  this.checked = !this.checked;
30
30
  }
31
31
  render() {
32
- return (h(Host, { key: '3db56124d26e5331321aaa2d44ced2db9d4f25e2', class: "xv-tile--host" }, h("label", { key: '4f60c98b1d81496beb2fe393cce26c59a02145c6', class: {
32
+ return (h(Host, { key: '7a4262c881da376efbba73e6ecdeef845caefa0e', class: "xv-tile--host" }, h("label", { key: '9e3fcc2f59463c39d61352e84f89c6905b8b6754', class: {
33
33
  [this.el.className]: !!this.el.className,
34
34
  'xv-tile': true,
35
35
  [`xv-tile--variant-${this.variant}`]: !!this.variant,
@@ -37,7 +37,7 @@ export class XvTile {
37
37
  'xv-tile--disabled': !!this.disabled,
38
38
  'selected': !!this.checked,
39
39
  'xv-tile--error': !!this.error,
40
- } }, h("div", { key: '052af1d2271a3c1ab8e054283bd607d451a7907c', class: "xv-tile_content" }, this.label && h("p", { key: 'd8352f828901347e56fd6dabe4dfd4cbff243437', class: "xv-tile_content__title" }, this.label), h("slot", { key: '292b5129abdcdf19267f9f8affa7ae69b3fc3c5e' })), this.variant === 'selectable' && (h("div", { key: '6e80e294fb9b317c395672511db2aceb04a55d95', class: "xv-tile_control" }, this.multiple ? (h("input", { type: "checkbox", disabled: this.disabled || this.readonly, readonly: this.readonly, onChange: this.handleChange, name: this.name, value: this.value, checked: this.checked })) : (h("input", { type: "radio", disabled: this.disabled || this.readonly, readonly: this.readonly, onChange: this.handleChange, name: this.name, value: this.value, checked: this.checked })))), (this.variant === 'clickable' || this.variant === 'expandable') && (h("div", { key: 'c863ad11287f0287b648a90d5bd511febf9298dc', class: "xv-tile_footer" }, h("button", { key: 'f85a61b433ec3e78c7b2b4037ac4afb8084dae80', class: { 'xv-tile_footer__icon': true, [`icon--${this.variant}`]: true, open: this.checked } }))), h("div", { key: '4c77d1362b02c683f57f38cae820a0795e64f0ea', class: { 'xv-tile_expandable': true, open: this.checked } }, h("slot", { key: '3d83e120b16f1cdfb9dd0bcf3158648f3e70df32', name: "expandable" })))));
40
+ } }, h("div", { key: 'aacc76f7706cef6b3f7dc642e07f0aa0ed641368', class: "xv-tile_content" }, this.label && h("p", { key: 'c52856112766b1047581570dadd3ca3daa09e191', class: "xv-tile_content__title" }, this.label), h("slot", { key: 'c23faffc735f62a7007ad6ab25caad10278543d8' })), this.variant === 'selectable' && (h("div", { key: 'c9005b66ccb8feea162b43079762f7e2f8a7c5cf', class: "xv-tile_control" }, this.multiple ? (h("input", { type: "checkbox", disabled: this.disabled || this.readonly, readonly: this.readonly, onChange: this.handleChange, name: this.name, value: this.value, checked: this.checked })) : (h("input", { type: "radio", disabled: this.disabled || this.readonly, readonly: this.readonly, onChange: this.handleChange, name: this.name, value: this.value, checked: this.checked })))), (this.variant === 'clickable' || this.variant === 'expandable') && (h("div", { key: '08d6633d4a19ea03c761d18b20f164ae23002479', class: "xv-tile_footer" }, h("button", { key: 'ff242c00e2dadf564d146a02ac944d1bee7c7ec7', class: { 'xv-tile_footer__icon': true, [`icon--${this.variant}`]: true, open: this.checked } }))), h("div", { key: '27350c54f82cf8c78e49c04fc2b2b4fb0e4bbb96', class: { 'xv-tile_expandable': true, open: this.checked } }, h("slot", { key: '85f9a007a422ca5e7c06239d771cc8ede86a4e21', name: "expandable" })))));
41
41
  }
42
42
  static get is() { return "xv-tile"; }
43
43
  static get originalStyleUrls() {
@@ -15,7 +15,7 @@ export class XvToggle {
15
15
  };
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: '2b31ae2defc4f7d8e1c210b20f4a3fb8af931866', class: { 'xv-toggle': true, disabled: this.disabled, readonly: !!this.readonly, block: !!this.block } }, this.label && h("span", { key: '2f5d7411afbee3f46952075cd89665266504572d', class: "label" }, this.label), h("label", { key: '529a49324f6b2ee05752427ddf1b2018c1282347', class: "control" }, h("slot", { key: 'cebd95dded17d65d550a8fbbc31e4a59f150a9c8', name: "before" }), h("div", { key: '6ae44e937e46f20e3e4b9666bf4ab47c30e26565', class: "control_input" }, h("input", { key: '4bc5cb456d92ebb6c69be10d8811f77a8e683e7d', type: "checkbox", readonly: this.readonly, name: this.name, value: this.value, checked: this.checked, disabled: this.disabled || this.readonly, onChange: this.onChange }), h("span", { key: '67570ef5b308bdfde75de2f2edc5b06ae56a55dd', class: "toggle" })), h("slot", { key: 'adaf4b0186e737b9f3432a6d89eb3cb6062e84ec', name: "after" }))));
18
+ return (h(Host, { key: '752b686c9e361b4ca0a0ad48d61072a2c819373c', class: { 'xv-toggle': true, disabled: this.disabled, readonly: !!this.readonly, block: !!this.block } }, this.label && h("span", { key: 'c99e7d648d7886db04fbfaf16bedf40b982f6b72', class: "label" }, this.label), h("label", { key: 'ff15e59d5b7ace403030f997d8b1ddf3640f0bf6', class: "control" }, h("slot", { key: 'bea4d7593d2c7caca6b69e5cc219c1b8dbb55d09', name: "before" }), h("div", { key: '7ad81dc90a00339c8653605cfeb5468377be366b', class: "control_input" }, h("input", { key: 'ffbcaac266859de781476ba06e9e56069fd11ad4', type: "checkbox", readonly: this.readonly, name: this.name, value: this.value, checked: this.checked, disabled: this.disabled || this.readonly, onChange: this.onChange }), h("span", { key: 'd0b1915cd7ab776eb3b573802f5ee73ec417edde', class: "toggle" })), h("slot", { key: '4de504f5a68a747e097fed0260fe55b4dd93de57', name: "after" }))));
19
19
  }
20
20
  static get is() { return "xv-toggle"; }
21
21
  static get encapsulation() { return "shadow"; }
@@ -159,7 +159,8 @@ export class XvToggle {
159
159
  "SIZE_VAR_STR": {
160
160
  "location": "import",
161
161
  "path": "../../types/enum",
162
- "id": "src/types/enum.ts::SIZE_VAR_STR"
162
+ "id": "src/types/enum.ts::SIZE_VAR_STR",
163
+ "referenceLocation": "SIZE_VAR_STR"
163
164
  }
164
165
  }
165
166
  },
@@ -67,7 +67,7 @@ export class XvToggleTip {
67
67
  }
68
68
  ;
69
69
  render() {
70
- return (h(Host, { key: 'e7954243635bd7420feb8a40d130341ae8849bba', class: "xv-toggle-tip" }, h("div", { key: 'd1fc4e4f61880ab219f4ba1b0f908077a58e5134', class: { 'trigger': true, 'trigger--block': this.block }, role: "button", tabindex: "0", "aria-expanded": this.open ? 'true' : 'false', "aria-controls": "popover", onClick: () => this.setPopover(!this.open), ref: (el) => (this.triggerEl = el) }, h("slot", { key: '1ab4b9c5f21dacd8b82f8e60585076367567216f', name: "trigger" }, h("svg", { key: '72dcf0c9dada11b0c58ecde78a3b0081d6a2d255', class: "trigger_icon", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: 16, height: 16 }, h("path", { key: '610419726f4fca0f6b8793272c7b1f460663e7c1', fill: "currentColor", d: "M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336c-13.3 0-24 10.7-24 24s10.7 24 24 24l80 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-8 0 0-88c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l24 0 0 64-24 0zm40-144a32 32 0 1 0 0-64 32 32 0 1 0 0 64z" })))), h("div", { key: 'ac59c68e89edf7aafa9b3dd2576486a70fcbd4e2', class: { popover: true, autoSize: !!this.autoSize }, role: "tooltip", tabindex: "-1", ref: (el) => (this.popoverEl = el) }, h("div", { key: '9d49318793bf61bfbb64bb4f985ab868bdaf2545', class: "popover-tip", part: "tip", "data-popper-arrow": "" }), h("div", { key: '8c165fbef50d7f2adb8a07d16a01e4346083831a', class: "popover-content" }, h("slot", { key: 'ed871e524e5a0b8c3a2e0d230f8d66b7ab99ccc4', name: "header" }), h("slot", { key: '34824d18b0cd7135fc6cc0e7596c315ee60da19a', name: "body" }), h("slot", { key: '1d1ddfc3c731f54fc1d75214839530f95f0f712d', name: "footer" })))));
70
+ return (h(Host, { key: '355065995790b620e5ed8b5d561b2898f787ac15', class: "xv-toggle-tip" }, h("div", { key: 'ff20f44061ee280105d53176e5c508e0845df871', class: { 'trigger': true, 'trigger--block': this.block }, role: "button", tabindex: "0", "aria-expanded": this.open ? 'true' : 'false', "aria-controls": "popover", onClick: () => this.setPopover(!this.open), ref: (el) => (this.triggerEl = el) }, h("slot", { key: 'd407db9a0df2a9f90b628ed79d6c648eed2c2c70', name: "trigger" }, h("svg", { key: 'f82ed966ca4436d8dde8bf5c2b992466f541224f', class: "trigger_icon", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: 16, height: 16 }, h("path", { key: '6f5187fbf1560ebd7a3f2e529d3fdd15fa80fea0', fill: "currentColor", d: "M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336c-13.3 0-24 10.7-24 24s10.7 24 24 24l80 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-8 0 0-88c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l24 0 0 64-24 0zm40-144a32 32 0 1 0 0-64 32 32 0 1 0 0 64z" })))), h("div", { key: '76fc29909a52ce4701d71e3509c4ebe8d1d32ee2', class: { popover: true, autoSize: !!this.autoSize }, role: "tooltip", tabindex: "-1", ref: (el) => (this.popoverEl = el) }, h("div", { key: 'afabe0c85104f8c5e204677b53f5815f314a5039', class: "popover-tip", part: "tip", "data-popper-arrow": "" }), h("div", { key: 'f274e790046bcf6edc8123b2b0bcda895931772c', class: "popover-content" }, h("slot", { key: '8f28653ab605ae2eee5c7027532b024e914a8c13', name: "header" }), h("slot", { key: '1c26b3cb17db7fc9256fd42f7dcddb51eb182db5', name: "body" }), h("slot", { key: '3b537a669336579f2285784f469d4425d0f1cc31', name: "footer" })))));
71
71
  }
72
72
  disconnectedCallback() {
73
73
  this.destroyPopper();
@@ -156,7 +156,8 @@ export class XvToggleTip {
156
156
  "Placement": {
157
157
  "location": "import",
158
158
  "path": "@popperjs/core",
159
- "id": "node_modules::Placement"
159
+ "id": "node_modules::Placement",
160
+ "referenceLocation": "Placement"
160
161
  }
161
162
  }
162
163
  },
@@ -38,11 +38,11 @@ export class XvTooltip {
38
38
  this.destroyTooltip();
39
39
  }
40
40
  render() {
41
- return (h(Host, { key: 'b97a316c17b604ddf3a58d28a6b2ce49f0f3af48', role: "tooltip", class: {
41
+ return (h(Host, { key: 'a6853dc450f6d063a702a1791297963f1530c003', role: "tooltip", class: {
42
42
  'xv-tooltip-wrapper': true,
43
43
  [`xv-tooltip-wrapper__block`]: !!this.block,
44
44
  [`xv-tooltip-wrapper__dashed`]: !!this.dashed,
45
- } }, h("slot", { key: '5120e6069ff93fd43302833401679c94e3577823' }, h("svg", { key: 'a37d0c7930cf87e1c3c4d67cd8ba74c52f061587', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: 16, height: 16 }, h("path", { key: '8b762af654ad54e41816fa28e155fb09a3534867', fill: "currentColor", d: "M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336c-13.3 0-24 10.7-24 24s10.7 24 24 24l80 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-8 0 0-88c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l24 0 0 64-24 0zm40-144a32 32 0 1 0 0-64 32 32 0 1 0 0 64z" })))));
45
+ } }, h("slot", { key: 'db5ea6da812b85930e8c74dc2ceaf59f8e6197b1' }, h("svg", { key: '7ac24beb22b912f77ec3535309019833f28fd375', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: 16, height: 16 }, h("path", { key: 'b86e5339a9af99e6011fceea6d8b77e89dcd0e19', fill: "currentColor", d: "M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336c-13.3 0-24 10.7-24 24s10.7 24 24 24l80 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-8 0 0-88c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l24 0 0 64-24 0zm40-144a32 32 0 1 0 0-64 32 32 0 1 0 0 64z" })))));
46
46
  }
47
47
  static get is() { return "xv-tooltip-v2"; }
48
48
  static get originalStyleUrls() {
@@ -86,7 +86,8 @@ export class XvTooltip {
86
86
  "Placement": {
87
87
  "location": "import",
88
88
  "path": "@popperjs/core",
89
- "id": "node_modules::Placement"
89
+ "id": "node_modules::Placement",
90
+ "referenceLocation": "Placement"
90
91
  }
91
92
  }
92
93
  },
@@ -8,3 +8,6 @@
8
8
  * to consume components of this package as outlined in the `README.md`.
9
9
  */
10
10
  export { format } from './utils/utils';
11
+ // Re-exported from this package because the transformer is module state inside the
12
+ // Stencil runtime bundled here — a consumer's own @stencil/core would set a different one.
13
+ export { setTagTransformer, transformTag } from '@stencil/core';