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
@@ -1,30 +1,65 @@
1
- import { Host, h } from "@stencil/core";
2
- import { forEach, uidGenerator } from "../../../utils/utils";
1
+ import { h, Host } from "@stencil/core";
3
2
  import { XV_SORT_DIR } from "../../../types/enum";
3
+ /**
4
+ * One cell of a table row. It holds arbitrary markup — buttons, links, tags, nested components —
5
+ * which is why the table stays composed rather than driven only by data.
6
+ *
7
+ * In a header row it also carries the column affordances: the sort arrow, the drag grip and the
8
+ * resize handle. The table renders this same component in both modes, so a header written as
9
+ * markup can do everything a header built from `columns` can.
10
+ *
11
+ * @slot - The cell content.
12
+ * @part cell - The cell host.
13
+ * @part content - The wrapper the overflow rules are applied to.
14
+ * @part tooltip - The tooltip wrapper, present only when `tooltip` is set.
15
+ * @part grip - The column drag grip, in a header cell.
16
+ * @part resize - The column resize handle, in a header cell.
17
+ */
4
18
  export class XvTableCell {
5
- handleSort() {
6
- if (this.sort === undefined)
7
- return;
8
- let sort = this.sort;
9
- if (this.sort === '')
10
- sort = XV_SORT_DIR.NONE;
11
- this.sort = sort === XV_SORT_DIR.NONE ?
12
- XV_SORT_DIR.ASC : sort === XV_SORT_DIR.ASC ?
13
- XV_SORT_DIR.DESC : XV_SORT_DIR.NONE;
14
- forEach(this.el.parentElement.children, (cell) => {
15
- if (cell !== this.el && cell.hasAttribute('sort')) {
16
- cell.setAttribute('sort', 'none');
17
- }
18
- });
19
- if (!this.name)
20
- this.name = uidGenerator();
21
- this.sortChange.emit({ name: this.name, value: this.sort });
19
+ constructor() {
20
+ /** Column this cell belongs to. Identifies it for sorting, resizing and the stored layout. */
21
+ this.columnId = '';
22
+ /** Horizontal alignment of the content. */
23
+ this.align = 'start';
24
+ /** How content wider than the column behaves. */
25
+ this.overflow = 'ellipsis';
26
+ /** Lines kept before clamping, when `overflow` is `clamp`. */
27
+ this.clampLines = 2;
28
+ /** Tooltip shown on hover. Only a cell that sets it pays for the tooltip component. */
29
+ this.tooltip = '';
30
+ /** Column width. Read off the header row when the table has no `columns`. Any CSS length. */
31
+ this.width = '';
32
+ /** Renders the cell as a column header. Set by the table from the row it sits in. */
33
+ this.header = false;
34
+ /** Offers the sort affordance. A header cell only. */
35
+ this.sortable = false;
36
+ /** Direction currently sorted by; empty when this column is not the active one. */
37
+ this.sortDirection = '';
38
+ /** Lets the column picker hide this column. A header cell only. */
39
+ this.hideable = false;
40
+ /** Offers the resize handle. A header cell only. */
41
+ this.resizable = false;
42
+ /** Offers the drag grip. A header cell only. */
43
+ this.reorderable = false;
44
+ /** Accessible name of the drag grip. */
45
+ this.reorderLabel = 'Drag to reorder';
46
+ }
47
+ get ariaSort() {
48
+ if (!this.header || !this.sortable)
49
+ return null;
50
+ if (this.sortDirection === XV_SORT_DIR.ASC)
51
+ return 'ascending';
52
+ if (this.sortDirection === XV_SORT_DIR.DESC)
53
+ return 'descending';
54
+ return 'none';
22
55
  }
23
- ;
24
56
  render() {
25
- return (h(Host, { key: 'f1ae644f52064308240bda543eb23999a9a6eb8a' }, h("slot", { key: '7ce7b7c7f36cdaa8cf5e31ec5ed028af1c0db625' })));
57
+ const content = (h("div", { key: 'eefd1609b456cdcc9e802c27e524613b64a9ce39', class: "content", part: "content", style: this.overflow === 'clamp' ? { '--xv-table-cell-clamp': `${this.clampLines}` } : undefined }, h("slot", { key: 'a00460b7e2fbf775c7607af68b078a4fcff70c11' })));
58
+ return (h(Host, { key: '54976b9c9740d576bb4a81a15af65aa79a2f0888', role: this.header ? 'columnheader' : 'cell', part: "cell", "aria-sort": this.ariaSort, tabindex: this.header && this.sortable ? 0 : null }, this.header && this.reorderable && h("span", { key: 'f443393d1ea62a0c94bfa59b77c377bf5fc04a66', class: "grip", part: "grip", "aria-label": this.reorderLabel }), this.tooltip ? (
59
+ // Popper puts the panel on document.body, so the scroll container cannot clip it.
60
+ h("xv-tooltip-v2", { part: "tooltip", dashed: true, position: "top-start", message: this.tooltip }, content)) : (content), this.header && this.sortable && h("span", { key: 'c26fa895c0a9a17cbe6c33c68f9e14b05781554e', class: "sort", "aria-hidden": "true" }), this.header && this.resizable && h("span", { key: '37fa59799c363ed83f2dd0052b3203aa3bf01a6c', class: "resize", part: "resize", "aria-hidden": "true" })));
26
61
  }
27
- static get is() { return "xv-table-v2-cell"; }
62
+ static get is() { return "xv-table-cell"; }
28
63
  static get encapsulation() { return "shadow"; }
29
64
  static get originalStyleUrls() {
30
65
  return {
@@ -38,66 +73,183 @@ export class XvTableCell {
38
73
  }
39
74
  static get properties() {
40
75
  return {
41
- "multiline": {
42
- "type": "boolean",
76
+ "columnId": {
77
+ "type": "string",
43
78
  "mutable": false,
44
79
  "complexType": {
45
- "original": "boolean",
46
- "resolved": "boolean",
80
+ "original": "string",
81
+ "resolved": "string",
47
82
  "references": {}
48
83
  },
49
84
  "required": false,
50
- "optional": true,
85
+ "optional": false,
86
+ "docs": {
87
+ "tags": [],
88
+ "text": "Column this cell belongs to. Identifies it for sorting, resizing and the stored layout."
89
+ },
90
+ "getter": false,
91
+ "setter": false,
92
+ "reflect": true,
93
+ "attribute": "column-id",
94
+ "defaultValue": "''"
95
+ },
96
+ "align": {
97
+ "type": "string",
98
+ "mutable": false,
99
+ "complexType": {
100
+ "original": "XvCellAlign",
101
+ "resolved": "\"center\" | \"end\" | \"start\"",
102
+ "references": {
103
+ "XvCellAlign": {
104
+ "location": "import",
105
+ "path": "../xv-table.model",
106
+ "id": "src/components/xv-table/xv-table.model.ts::XvCellAlign",
107
+ "referenceLocation": "XvCellAlign"
108
+ }
109
+ }
110
+ },
111
+ "required": false,
112
+ "optional": false,
113
+ "docs": {
114
+ "tags": [],
115
+ "text": "Horizontal alignment of the content."
116
+ },
117
+ "getter": false,
118
+ "setter": false,
119
+ "reflect": true,
120
+ "attribute": "align",
121
+ "defaultValue": "'start'"
122
+ },
123
+ "overflow": {
124
+ "type": "string",
125
+ "mutable": false,
126
+ "complexType": {
127
+ "original": "XvCellOverflow",
128
+ "resolved": "\"clamp\" | \"ellipsis\" | \"wrap\"",
129
+ "references": {
130
+ "XvCellOverflow": {
131
+ "location": "import",
132
+ "path": "../xv-table.model",
133
+ "id": "src/components/xv-table/xv-table.model.ts::XvCellOverflow",
134
+ "referenceLocation": "XvCellOverflow"
135
+ }
136
+ }
137
+ },
138
+ "required": false,
139
+ "optional": false,
51
140
  "docs": {
52
141
  "tags": [],
53
- "text": ""
142
+ "text": "How content wider than the column behaves."
54
143
  },
55
144
  "getter": false,
56
145
  "setter": false,
57
146
  "reflect": true,
58
- "attribute": "multiline"
147
+ "attribute": "overflow",
148
+ "defaultValue": "'ellipsis'"
59
149
  },
60
- "name": {
150
+ "clampLines": {
151
+ "type": "number",
152
+ "mutable": false,
153
+ "complexType": {
154
+ "original": "number",
155
+ "resolved": "number",
156
+ "references": {}
157
+ },
158
+ "required": false,
159
+ "optional": false,
160
+ "docs": {
161
+ "tags": [],
162
+ "text": "Lines kept before clamping, when `overflow` is `clamp`."
163
+ },
164
+ "getter": false,
165
+ "setter": false,
166
+ "reflect": false,
167
+ "attribute": "clamp-lines",
168
+ "defaultValue": "2"
169
+ },
170
+ "tooltip": {
61
171
  "type": "string",
62
- "mutable": true,
172
+ "mutable": false,
63
173
  "complexType": {
64
174
  "original": "string",
65
175
  "resolved": "string",
66
176
  "references": {}
67
177
  },
68
178
  "required": false,
69
- "optional": true,
179
+ "optional": false,
70
180
  "docs": {
71
181
  "tags": [],
72
- "text": ""
182
+ "text": "Tooltip shown on hover. Only a cell that sets it pays for the tooltip component."
73
183
  },
74
184
  "getter": false,
75
185
  "setter": false,
76
- "reflect": true,
77
- "attribute": "name"
186
+ "reflect": false,
187
+ "attribute": "tooltip",
188
+ "defaultValue": "''"
78
189
  },
79
- "align": {
190
+ "width": {
80
191
  "type": "string",
81
192
  "mutable": false,
82
193
  "complexType": {
83
- "original": "'left' | 'right' | 'center'",
84
- "resolved": "\"center\" | \"left\" | \"right\"",
194
+ "original": "string",
195
+ "resolved": "string",
196
+ "references": {}
197
+ },
198
+ "required": false,
199
+ "optional": false,
200
+ "docs": {
201
+ "tags": [],
202
+ "text": "Column width. Read off the header row when the table has no `columns`. Any CSS length."
203
+ },
204
+ "getter": false,
205
+ "setter": false,
206
+ "reflect": false,
207
+ "attribute": "width",
208
+ "defaultValue": "''"
209
+ },
210
+ "header": {
211
+ "type": "boolean",
212
+ "mutable": false,
213
+ "complexType": {
214
+ "original": "boolean",
215
+ "resolved": "boolean",
216
+ "references": {}
217
+ },
218
+ "required": false,
219
+ "optional": false,
220
+ "docs": {
221
+ "tags": [],
222
+ "text": "Renders the cell as a column header. Set by the table from the row it sits in."
223
+ },
224
+ "getter": false,
225
+ "setter": false,
226
+ "reflect": true,
227
+ "attribute": "header",
228
+ "defaultValue": "false"
229
+ },
230
+ "sortable": {
231
+ "type": "boolean",
232
+ "mutable": false,
233
+ "complexType": {
234
+ "original": "boolean",
235
+ "resolved": "boolean",
85
236
  "references": {}
86
237
  },
87
238
  "required": false,
88
- "optional": true,
239
+ "optional": false,
89
240
  "docs": {
90
241
  "tags": [],
91
- "text": ""
242
+ "text": "Offers the sort affordance. A header cell only."
92
243
  },
93
244
  "getter": false,
94
245
  "setter": false,
95
246
  "reflect": true,
96
- "attribute": "align"
247
+ "attribute": "sortable",
248
+ "defaultValue": "false"
97
249
  },
98
- "sort": {
250
+ "sortDirection": {
99
251
  "type": "string",
100
- "mutable": true,
252
+ "mutable": false,
101
253
  "complexType": {
102
254
  "original": "XV_SORT_DIR | ''",
103
255
  "resolved": "\"\" | XV_SORT_DIR.ASC | XV_SORT_DIR.DESC | XV_SORT_DIR.NONE",
@@ -105,55 +257,104 @@ export class XvTableCell {
105
257
  "XV_SORT_DIR": {
106
258
  "location": "import",
107
259
  "path": "../../../types/enum",
108
- "id": "src/types/enum.ts::XV_SORT_DIR"
260
+ "id": "src/types/enum.ts::XV_SORT_DIR",
261
+ "referenceLocation": "XV_SORT_DIR"
109
262
  }
110
263
  }
111
264
  },
112
265
  "required": false,
113
- "optional": true,
266
+ "optional": false,
114
267
  "docs": {
115
268
  "tags": [],
116
- "text": ""
269
+ "text": "Direction currently sorted by; empty when this column is not the active one."
117
270
  },
118
271
  "getter": false,
119
272
  "setter": false,
120
273
  "reflect": true,
121
- "attribute": "sort"
122
- }
123
- };
124
- }
125
- static get events() {
126
- return [{
127
- "method": "sortChange",
128
- "name": "sortChange",
129
- "bubbles": true,
130
- "cancelable": true,
131
- "composed": true,
274
+ "attribute": "sort-direction",
275
+ "defaultValue": "''"
276
+ },
277
+ "hideable": {
278
+ "type": "boolean",
279
+ "mutable": false,
280
+ "complexType": {
281
+ "original": "boolean",
282
+ "resolved": "boolean",
283
+ "references": {}
284
+ },
285
+ "required": false,
286
+ "optional": false,
132
287
  "docs": {
133
288
  "tags": [],
134
- "text": ""
289
+ "text": "Lets the column picker hide this column. A header cell only."
135
290
  },
291
+ "getter": false,
292
+ "setter": false,
293
+ "reflect": true,
294
+ "attribute": "hideable",
295
+ "defaultValue": "false"
296
+ },
297
+ "resizable": {
298
+ "type": "boolean",
299
+ "mutable": false,
136
300
  "complexType": {
137
- "original": "XVTableSortDto",
138
- "resolved": "XVTableSortDto",
139
- "references": {
140
- "XVTableSortDto": {
141
- "location": "import",
142
- "path": "../_vars",
143
- "id": "src/components/xv-table/_vars.ts::XVTableSortDto"
144
- }
145
- }
146
- }
147
- }];
301
+ "original": "boolean",
302
+ "resolved": "boolean",
303
+ "references": {}
304
+ },
305
+ "required": false,
306
+ "optional": false,
307
+ "docs": {
308
+ "tags": [],
309
+ "text": "Offers the resize handle. A header cell only."
310
+ },
311
+ "getter": false,
312
+ "setter": false,
313
+ "reflect": true,
314
+ "attribute": "resizable",
315
+ "defaultValue": "false"
316
+ },
317
+ "reorderable": {
318
+ "type": "boolean",
319
+ "mutable": false,
320
+ "complexType": {
321
+ "original": "boolean",
322
+ "resolved": "boolean",
323
+ "references": {}
324
+ },
325
+ "required": false,
326
+ "optional": false,
327
+ "docs": {
328
+ "tags": [],
329
+ "text": "Offers the drag grip. A header cell only."
330
+ },
331
+ "getter": false,
332
+ "setter": false,
333
+ "reflect": true,
334
+ "attribute": "reorderable",
335
+ "defaultValue": "false"
336
+ },
337
+ "reorderLabel": {
338
+ "type": "string",
339
+ "mutable": false,
340
+ "complexType": {
341
+ "original": "string",
342
+ "resolved": "string",
343
+ "references": {}
344
+ },
345
+ "required": false,
346
+ "optional": false,
347
+ "docs": {
348
+ "tags": [],
349
+ "text": "Accessible name of the drag grip."
350
+ },
351
+ "getter": false,
352
+ "setter": false,
353
+ "reflect": false,
354
+ "attribute": "reorder-label",
355
+ "defaultValue": "'Drag to reorder'"
356
+ }
357
+ };
148
358
  }
149
359
  static get elementRef() { return "el"; }
150
- static get listeners() {
151
- return [{
152
- "name": "click",
153
- "method": "handleSort",
154
- "target": undefined,
155
- "capture": false,
156
- "passive": false
157
- }];
158
- }
159
360
  }
@@ -1,39 +1,153 @@
1
1
  :host {
2
+ /**
3
+ * @prop --xv-table-row-bg: Row background. Switched by hover, selected and group.
4
+ * @prop --xv-table-row-height: Minimum row height. Inherited from the table's size ladder.
5
+ * @prop --xv-table-row-disabled-opacity: How far a disabled row fades.
6
+ */
7
+ --xv-table-row-bg: var(--layer-02);
8
+ --xv-table-row-height: var(--xv-table-height, 40px);
9
+ --xv-table-row-disabled-opacity: 0.5;
10
+ grid-column: 1/-1;
2
11
  display: grid;
3
- grid-template-columns: var(--xv-table-cols-template, repeat(auto-fit, minmax(0, 1fr)));
4
- border-bottom: 1px solid #E3E3E3;
5
- border-right: 1px solid #E3E3E3;
6
- border-left: 1px solid #E3E3E3;
7
- min-height: var(--xv-table-min-height);
8
- align-items: center;
9
- align-content: center;
10
- transition: 0.25s ease-in-out background-color;
12
+ grid-template-columns: subgrid;
13
+ align-items: stretch;
14
+ min-height: var(--xv-table-row-height);
15
+ background: var(--xv-table-row-bg);
16
+ box-shadow: inset 0 -1px 0 0 var(--border-subtle-00);
11
17
  }
12
- :host .cell-control {
13
- min-height: 20px;
14
- display: flex;
15
- align-items: center;
16
- justify-content: center;
18
+
19
+ @supports not (grid-template-columns: subgrid) {
20
+ :host {
21
+ display: contents;
22
+ }
23
+ }
24
+ :host([hover]:not([disabled]):hover) {
25
+ --xv-table-row-bg: var(--layer-hover-01);
26
+ }
27
+
28
+ :host([selected]) {
29
+ --xv-table-row-bg: var(--layer-selected-01);
30
+ }
31
+
32
+ :host([selected][hover]:hover) {
33
+ --xv-table-row-bg: var(--layer-selected-hover-01);
17
34
  }
18
35
 
19
- :host([variant]) {
20
- grid-template-columns: minmax(47.97px, min-content) var(--xv-table-cols-template, repeat(auto-fit, minmax(0, 1fr)));
36
+ :host([row-reorderable][draggable=true]) {
37
+ cursor: grab;
21
38
  }
22
39
 
23
- :host([hover]:not([header]):hover) {
24
- background-color: var(--layer-hover-01, #E9E9E9);
40
+ :host(.is-dragging) {
41
+ opacity: 0.4;
25
42
  }
26
43
 
27
- :host([checked]) {
28
- background-color: var(--layer-selected-01, #E3E3E3);
44
+ :host(.drop-above) {
45
+ box-shadow: inset 0 2px 0 0 var(--interactive-01);
29
46
  }
30
47
 
31
- :host([checked]:hover) {
32
- background-color: var(--layer-selected-hover-01, #DADADA);
48
+ :host(.drop-below) {
49
+ box-shadow: inset 0 -2px 0 0 var(--interactive-01);
50
+ }
51
+
52
+ :host([group]) {
53
+ --xv-table-row-bg: var(--layer-accent-01);
54
+ font-weight: 600;
55
+ }
56
+
57
+ :host(.has-children) {
58
+ --xv-table-row-bg: var(--layer-accent-01);
59
+ }
60
+
61
+ :host(.has-children[hover]:hover) {
62
+ --xv-table-row-bg: var(--layer-accent-hover-01);
33
63
  }
34
64
 
35
65
  :host([header]) {
36
- background-color: var(--layer-accent-01, #F7F7F7);
37
- box-shadow: 0 0 0 1px #E3E3E3 inset;
38
- border-bottom: none;
66
+ --xv-table-row-bg: var(--xv-table-header-bg, var(--layer-accent-01));
67
+ box-shadow: inset 0 -1px 0 0 var(--border-subtle-01);
68
+ font-weight: 600;
69
+ }
70
+
71
+ :host([disabled]:not([header])) {
72
+ cursor: not-allowed;
73
+ color: var(--text-disabled);
74
+ pointer-events: none;
75
+ opacity: var(--xv-table-row-disabled-opacity);
76
+ }
77
+
78
+ .control {
79
+ display: flex;
80
+ align-items: center;
81
+ justify-content: center;
82
+ padding: 0 var(--spacing-03);
83
+ }
84
+ .control--grip {
85
+ order: -3;
86
+ }
87
+ .control--expand {
88
+ order: -2;
89
+ }
90
+ .control--lead {
91
+ order: -1;
92
+ }
93
+ .control_grip {
94
+ width: 8px;
95
+ height: 14px;
96
+ opacity: 0.4;
97
+ cursor: grab;
98
+ background-image: radial-gradient(currentColor 1px, transparent 1px);
99
+ background-size: 4px 4px;
100
+ }
101
+ .control_grip:active {
102
+ cursor: grabbing;
103
+ }
104
+ .control_expand {
105
+ width: 24px;
106
+ height: 24px;
107
+ padding: 0;
108
+ border: 0;
109
+ background: none;
110
+ color: var(--icon-primary);
111
+ cursor: pointer;
112
+ }
113
+ .control_expand::before {
114
+ content: "";
115
+ display: block;
116
+ width: 8px;
117
+ height: 8px;
118
+ margin: 0 auto;
119
+ border-right: 1px solid currentColor;
120
+ border-bottom: 1px solid currentColor;
121
+ transform: rotate(45deg) translate(-2px, -2px);
122
+ transition: transform 0.15s ease;
123
+ }
124
+ .control_expand.open::before {
125
+ transform: rotate(-135deg) translate(-2px, -2px);
126
+ }
127
+ .control_expand:disabled {
128
+ color: var(--icon-disabled);
129
+ cursor: not-allowed;
130
+ }
131
+ .control_expand:focus-visible {
132
+ outline: 2px solid var(--focus);
133
+ outline-offset: 0;
134
+ }
135
+ .control_expand:focus-visible {
136
+ outline-offset: -2px;
137
+ }
138
+
139
+ .expand {
140
+ order: 10000;
141
+ grid-column: 1/-1;
142
+ padding: var(--spacing-05);
143
+ background: var(--layer-01);
144
+ box-shadow: inset 0 1px 0 0 var(--border-subtle-00);
145
+ }
146
+
147
+ .expand[hidden] {
148
+ display: none;
149
+ }
150
+
151
+ :host([hidden]) {
152
+ display: none;
39
153
  }