@xplortech/apollo-core 2.12.0 → 3.0.0

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 (551) hide show
  1. package/.typings/apollo-components.html-data.json +61 -0
  2. package/AGENTS.md +4 -4
  3. package/README.md +30 -3
  4. package/build/components/modal.css +1 -1
  5. package/build/components/table-body.css +1 -0
  6. package/build/components/table-footer-cell.css +1 -0
  7. package/build/components/table-footer.css +1 -0
  8. package/build/components/table-row.css +1 -0
  9. package/build/components/top-nav.css +1 -1
  10. package/build/components-manifest.json +13 -1
  11. package/build/core.css +1 -1
  12. package/build/style.css +1 -1
  13. package/dist/apollo-core/apollo-core.css +1 -1
  14. package/dist/apollo-core/apollo-core.esm.js +1 -1
  15. package/dist/apollo-core/{p-d37488d4.entry.js → p-0368a1df.entry.js} +1 -1
  16. package/dist/apollo-core/p-056a99e4.entry.js +1 -0
  17. package/dist/apollo-core/p-068e3532.entry.js +1 -0
  18. package/dist/apollo-core/{p-121d1a4b.entry.js → p-06a9a27b.entry.js} +1 -1
  19. package/dist/apollo-core/{p-9747cf43.entry.js → p-0958c719.entry.js} +1 -1
  20. package/dist/apollo-core/p-0a0a6e43.entry.js +1 -0
  21. package/dist/apollo-core/{p-643c8038.entry.js → p-149ddd12.entry.js} +1 -1
  22. package/dist/apollo-core/p-1a94c2d9.entry.js +1 -0
  23. package/dist/apollo-core/{p-efa21ec0.entry.js → p-2139f9f6.entry.js} +1 -1
  24. package/dist/apollo-core/{p-76f64d65.entry.js → p-28bce81a.entry.js} +1 -1
  25. package/dist/apollo-core/{p-1a417191.entry.js → p-2938ab4f.entry.js} +1 -1
  26. package/dist/apollo-core/{p-4e61587f.entry.js → p-2c995d80.entry.js} +1 -1
  27. package/dist/apollo-core/p-2faa7b9c.entry.js +1 -0
  28. package/dist/apollo-core/p-30b1b700.entry.js +1 -0
  29. package/dist/apollo-core/p-32084caf.entry.js +1 -0
  30. package/dist/apollo-core/p-38586952.entry.js +1 -0
  31. package/dist/apollo-core/{p-707b1918.entry.js → p-47bda204.entry.js} +1 -1
  32. package/dist/apollo-core/{p-f199ad66.entry.js → p-4a2323b3.entry.js} +1 -1
  33. package/dist/apollo-core/{p-c25aebe5.entry.js → p-4ad79534.entry.js} +1 -1
  34. package/dist/apollo-core/{p-e4ae3f60.entry.js → p-4d4acd1f.entry.js} +1 -1
  35. package/dist/apollo-core/p-50fae269.entry.js +1 -0
  36. package/dist/apollo-core/{p-7f105d63.entry.js → p-54903322.entry.js} +1 -1
  37. package/dist/apollo-core/{p-8a81ef98.entry.js → p-5730d96c.entry.js} +1 -1
  38. package/dist/apollo-core/{p-46d21684.entry.js → p-581b702c.entry.js} +1 -1
  39. package/dist/apollo-core/{p-853418be.entry.js → p-5d9a593e.entry.js} +1 -1
  40. package/dist/apollo-core/{p-e00ed4f4.entry.js → p-60cb3cfb.entry.js} +1 -1
  41. package/dist/apollo-core/p-722b145a.entry.js +1 -0
  42. package/dist/apollo-core/p-75e5bfe0.entry.js +1 -0
  43. package/dist/apollo-core/p-77fe3cc1.entry.js +1 -0
  44. package/dist/apollo-core/{p-26861d09.entry.js → p-790709c0.entry.js} +1 -1
  45. package/dist/apollo-core/{p-7976cd3b.entry.js → p-82812126.entry.js} +1 -1
  46. package/dist/apollo-core/{p-c427a31d.entry.js → p-83bb7607.entry.js} +1 -1
  47. package/dist/apollo-core/p-8664d88b.entry.js +1 -0
  48. package/dist/apollo-core/{p-3d9c90ee.entry.js → p-9064badb.entry.js} +1 -1
  49. package/dist/apollo-core/{p-5ca18bc1.entry.js → p-91895c40.entry.js} +1 -1
  50. package/dist/apollo-core/p-969d5cca.entry.js +1 -0
  51. package/dist/apollo-core/p-99a79cf4.entry.js +1 -0
  52. package/dist/apollo-core/p-abdf199b.entry.js +1 -0
  53. package/dist/apollo-core/p-ae8a5f66.entry.js +1 -0
  54. package/dist/apollo-core/{p-9b0174b1.entry.js → p-af8ebf49.entry.js} +1 -1
  55. package/dist/apollo-core/p-b29025b2.entry.js +1 -0
  56. package/dist/apollo-core/{p-fd2756d8.entry.js → p-b45179fb.entry.js} +1 -1
  57. package/dist/apollo-core/p-b5a61076.entry.js +1 -0
  58. package/dist/apollo-core/p-bf7d8e18.entry.js +1 -0
  59. package/dist/apollo-core/p-c48e4884.entry.js +1 -0
  60. package/dist/apollo-core/{p-b537f72d.entry.js → p-ca4652b3.entry.js} +1 -1
  61. package/dist/apollo-core/{p-bb22ed2a.entry.js → p-cb5b15c2.entry.js} +1 -1
  62. package/dist/apollo-core/p-cc57f20d.entry.js +1 -0
  63. package/dist/apollo-core/{p-fef6c256.entry.js → p-cdacfcd4.entry.js} +1 -1
  64. package/dist/apollo-core/{p-616c5a32.entry.js → p-cdb5b5c4.entry.js} +1 -1
  65. package/dist/apollo-core/p-d0bc7c45.entry.js +1 -0
  66. package/dist/apollo-core/{p-ff8acf15.entry.js → p-d41b8f46.entry.js} +1 -1
  67. package/dist/apollo-core/{p-9bf2ff9f.entry.js → p-d443291f.entry.js} +1 -1
  68. package/dist/apollo-core/p-d724c419.entry.js +1 -0
  69. package/dist/apollo-core/p-d9070ae5.entry.js +1 -0
  70. package/dist/apollo-core/p-dca48977.entry.js +1 -0
  71. package/dist/apollo-core/p-e1833287.entry.js +1 -0
  72. package/dist/apollo-core/{p-601b3ab5.entry.js → p-e2890eb1.entry.js} +1 -1
  73. package/dist/apollo-core/p-e2b73b60.entry.js +1 -0
  74. package/dist/apollo-core/p-e7e445b0.entry.js +1 -0
  75. package/dist/apollo-core/p-f1c103ff.entry.js +1 -0
  76. package/dist/apollo-core/{p-0463c29f.entry.js → p-f3a2c79b.entry.js} +1 -1
  77. package/dist/apollo-core/p-ffc2f0cf.entry.js +1 -0
  78. package/dist/cjs/apollo-core.cjs.js +1 -1
  79. package/dist/cjs/index-3cBvw409.js +16 -0
  80. package/dist/cjs/loader.cjs.js +1 -1
  81. package/dist/cjs/xpl-accordion.cjs.entry.js +2 -2
  82. package/dist/cjs/xpl-application-shell.cjs.entry.js +1 -1
  83. package/dist/cjs/xpl-avatar_3.cjs.entry.js +5 -4
  84. package/dist/cjs/xpl-backdrop.cjs.entry.js +1 -1
  85. package/dist/cjs/xpl-badge.cjs.entry.js +1 -1
  86. package/dist/cjs/xpl-banner.cjs.entry.js +2 -2
  87. package/dist/cjs/xpl-breadcrumb-item.cjs.entry.js +1 -1
  88. package/dist/cjs/xpl-breadcrumbs.cjs.entry.js +1 -1
  89. package/dist/cjs/xpl-button-row.cjs.entry.js +1 -1
  90. package/dist/cjs/xpl-button.cjs.entry.js +1 -1
  91. package/dist/cjs/xpl-calendar.cjs.entry.js +1 -1
  92. package/dist/cjs/xpl-checkbox.cjs.entry.js +3 -3
  93. package/dist/cjs/xpl-choicelist.cjs.entry.js +1 -1
  94. package/dist/cjs/xpl-content-area.cjs.entry.js +1 -1
  95. package/dist/cjs/xpl-dashboard.cjs.entry.js +1 -1
  96. package/dist/cjs/xpl-data-card.cjs.entry.js +2 -2
  97. package/dist/cjs/xpl-dropdown_4.cjs.entry.js +14 -11
  98. package/dist/cjs/xpl-dynamic-table-cell.cjs.entry.js +2 -2
  99. package/dist/cjs/xpl-dynamic-table-row.cjs.entry.js +2 -2
  100. package/dist/cjs/xpl-dynamic-table.cjs.entry.js +2 -2
  101. package/dist/cjs/xpl-grid-item.cjs.entry.js +1 -1
  102. package/dist/cjs/xpl-grid.cjs.entry.js +1 -1
  103. package/dist/cjs/xpl-header-accordion.cjs.entry.js +1 -1
  104. package/dist/cjs/xpl-icon.cjs.entry.js +2 -2
  105. package/dist/cjs/xpl-input-color.cjs.entry.js +13 -13
  106. package/dist/cjs/xpl-input-phone.cjs.entry.js +5 -5
  107. package/dist/cjs/xpl-input-time.cjs.entry.js +2 -2
  108. package/dist/cjs/xpl-input_4.cjs.entry.js +15 -14
  109. package/dist/cjs/xpl-large-card.cjs.entry.js +1 -1
  110. package/dist/cjs/xpl-list.cjs.entry.js +2 -2
  111. package/dist/cjs/xpl-main-nav.cjs.entry.js +1 -1
  112. package/dist/cjs/xpl-modal.cjs.entry.js +50 -21
  113. package/dist/cjs/xpl-nav-header-menu.cjs.entry.js +2 -2
  114. package/dist/cjs/xpl-nav-item.cjs.entry.js +2 -2
  115. package/dist/cjs/xpl-pagination.cjs.entry.js +4 -4
  116. package/dist/cjs/xpl-panel.cjs.entry.js +2 -2
  117. package/dist/cjs/xpl-popover.cjs.entry.js +4 -4
  118. package/dist/cjs/xpl-progress-bar.cjs.entry.js +2 -2
  119. package/dist/cjs/xpl-progress-indicator.cjs.entry.js +1 -1
  120. package/dist/cjs/xpl-secondary-nav.cjs.entry.js +1 -1
  121. package/dist/cjs/xpl-select_2.cjs.entry.js +8 -8
  122. package/dist/cjs/xpl-side-nav-header-item.cjs.entry.js +2 -2
  123. package/dist/cjs/xpl-side-nav-item.cjs.entry.js +2 -2
  124. package/dist/cjs/xpl-side-nav-section.cjs.entry.js +5 -5
  125. package/dist/cjs/xpl-side-nav.cjs.entry.js +7 -3
  126. package/dist/cjs/xpl-skeleton.cjs.entry.js +1 -1
  127. package/dist/cjs/xpl-slideout.cjs.entry.js +1 -1
  128. package/dist/cjs/xpl-tab-panel.cjs.entry.js +2 -2
  129. package/dist/cjs/xpl-table-body.cjs.entry.js +14 -0
  130. package/dist/cjs/xpl-table-footer-cell.cjs.entry.js +18 -0
  131. package/dist/cjs/xpl-table-footer.cjs.entry.js +14 -0
  132. package/dist/cjs/xpl-table-header.cjs.entry.js +1 -1
  133. package/dist/cjs/xpl-table-row.cjs.entry.js +20 -0
  134. package/dist/cjs/xpl-table.cjs.entry.js +5 -5
  135. package/dist/cjs/xpl-tabs.cjs.entry.js +5 -5
  136. package/dist/cjs/xpl-toast.cjs.entry.js +2 -2
  137. package/dist/cjs/xpl-toggle.cjs.entry.js +3 -3
  138. package/dist/cjs/xpl-toolbar.cjs.entry.js +2 -2
  139. package/dist/cjs/xpl-tooltip.cjs.entry.js +1 -1
  140. package/dist/cjs/xpl-top-nav-item.cjs.entry.js +2 -2
  141. package/dist/cjs/xpl-top-nav-menu.cjs.entry.js +2 -2
  142. package/dist/cjs/xpl-top-nav.cjs.entry.js +5 -5
  143. package/dist/cjs/xpl-utility-bar.cjs.entry.js +1 -1
  144. package/dist/collection/collection-manifest.json +4 -0
  145. package/dist/collection/components/xpl-accordion/xpl-accordion.js +2 -2
  146. package/dist/collection/components/xpl-application-shell/xpl-application-shell.js +1 -1
  147. package/dist/collection/components/xpl-avatar/xpl-avatar.js +1 -0
  148. package/dist/collection/components/xpl-backdrop/xpl-backdrop.js +1 -1
  149. package/dist/collection/components/xpl-badge/xpl-badge.js +1 -1
  150. package/dist/collection/components/xpl-banner/xpl-banner.js +2 -2
  151. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.js +1 -1
  152. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.js +1 -1
  153. package/dist/collection/components/xpl-button/xpl-button.js +1 -1
  154. package/dist/collection/components/xpl-button-row/xpl-button-row.js +1 -1
  155. package/dist/collection/components/xpl-calendar/xpl-calendar.js +1 -1
  156. package/dist/collection/components/xpl-checkbox/xpl-checkbox.js +3 -3
  157. package/dist/collection/components/xpl-choicelist/xpl-choicelist.js +1 -1
  158. package/dist/collection/components/xpl-content-area/xpl-content-area.js +1 -1
  159. package/dist/collection/components/xpl-dashboard/xpl-dashboard.js +1 -1
  160. package/dist/collection/components/xpl-data-card/xpl-data-card.js +2 -2
  161. package/dist/collection/components/xpl-divider/xpl-divider.js +1 -1
  162. package/dist/collection/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.js +1 -1
  163. package/dist/collection/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.js +1 -1
  164. package/dist/collection/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.js +2 -2
  165. package/dist/collection/components/xpl-dropdown/xpl-dropdown.js +10 -7
  166. package/dist/collection/components/xpl-dynamic-table/xpl-dynamic-table.js +2 -2
  167. package/dist/collection/components/xpl-dynamic-table-cell/xpl-dynamic-table-cell.js +2 -2
  168. package/dist/collection/components/xpl-dynamic-table-row/xpl-dynamic-table-row.js +2 -2
  169. package/dist/collection/components/xpl-grid/xpl-grid.js +1 -1
  170. package/dist/collection/components/xpl-grid-item/xpl-grid-item.js +1 -1
  171. package/dist/collection/components/xpl-header-accordion/xpl-header-accordion.js +1 -1
  172. package/dist/collection/components/xpl-icon/xpl-icon.js +2 -2
  173. package/dist/collection/components/xpl-input/xpl-input-color/color-utils.js +5 -5
  174. package/dist/collection/components/xpl-input/xpl-input-color/xpl-input-color.js +8 -8
  175. package/dist/collection/components/xpl-input/xpl-input-date/xpl-input-date.js +3 -3
  176. package/dist/collection/components/xpl-input/xpl-input-file/xpl-input-file.js +4 -4
  177. package/dist/collection/components/xpl-input/xpl-input-phone/xpl-input-phone.js +5 -5
  178. package/dist/collection/components/xpl-input/xpl-input-search/xpl-input-search.js +1 -1
  179. package/dist/collection/components/xpl-input/xpl-input-time/xpl-input-time.js +2 -2
  180. package/dist/collection/components/xpl-input/xpl-input.js +7 -6
  181. package/dist/collection/components/xpl-large-card/xpl-large-card.js +1 -1
  182. package/dist/collection/components/xpl-list/xpl-list.js +2 -2
  183. package/dist/collection/components/xpl-main-nav/xpl-main-nav.js +1 -1
  184. package/dist/collection/components/xpl-modal/xpl-modal.js +50 -21
  185. package/dist/collection/components/xpl-nav-item/xpl-nav-item.js +2 -2
  186. package/dist/collection/components/xpl-pagination/xpl-pagination.js +4 -4
  187. package/dist/collection/components/xpl-panel/xpl-panel.js +2 -2
  188. package/dist/collection/components/xpl-popover/xpl-popover.js +4 -4
  189. package/dist/collection/components/xpl-progress-bar/xpl-progress-bar.js +2 -2
  190. package/dist/collection/components/xpl-progress-indicator/xpl-progress-indicator.js +1 -1
  191. package/dist/collection/components/xpl-radio/xpl-radio.js +3 -3
  192. package/dist/collection/components/xpl-secondary-nav/xpl-secondary-nav.js +1 -1
  193. package/dist/collection/components/xpl-select/select.shared.js +82 -0
  194. package/dist/collection/components/xpl-select/xpl-select.js +6 -6
  195. package/dist/collection/components/xpl-side-nav/xpl-side-nav-header-item/xpl-side-nav-header-item.js +2 -2
  196. package/dist/collection/components/xpl-side-nav/xpl-side-nav-item/xpl-side-nav-item.js +2 -2
  197. package/dist/collection/components/xpl-side-nav/xpl-side-nav-section/xpl-side-nav-section.js +5 -5
  198. package/dist/collection/components/xpl-side-nav/xpl-side-nav.js +8 -4
  199. package/dist/collection/components/xpl-skeleton/xpl-skeleton.js +1 -1
  200. package/dist/collection/components/xpl-slideout/xpl-slideout.js +1 -1
  201. package/dist/collection/components/xpl-tab-panel/xpl-tab-panel.js +2 -2
  202. package/dist/collection/components/xpl-table/xpl-table-body/xpl-table-body.js +7 -0
  203. package/dist/collection/components/xpl-table/xpl-table-footer/xpl-table-footer.js +7 -0
  204. package/dist/collection/components/xpl-table/xpl-table-footer-cell/xpl-table-footer-cell.js +37 -0
  205. package/dist/collection/components/xpl-table/xpl-table-row/xpl-table-row.js +78 -0
  206. package/dist/collection/components/xpl-table/xpl-table.js +5 -5
  207. package/dist/collection/components/xpl-table-header/xpl-table-header.js +1 -1
  208. package/dist/collection/components/xpl-tabs/tabs.shared.js +0 -33
  209. package/dist/collection/components/xpl-tabs/xpl-tabs.js +5 -5
  210. package/dist/collection/components/xpl-tag/xpl-tag.js +2 -2
  211. package/dist/collection/components/xpl-toast/xpl-toast.js +2 -2
  212. package/dist/collection/components/xpl-toggle/xpl-toggle.js +3 -3
  213. package/dist/collection/components/xpl-toolbar/xpl-toolbar.js +2 -2
  214. package/dist/collection/components/xpl-tooltip/xpl-tooltip.js +1 -1
  215. package/dist/collection/components/xpl-top-nav/xpl-nav-header-menu/xpl-nav-header-menu.js +2 -2
  216. package/dist/collection/components/xpl-top-nav/xpl-top-nav-item/xpl-top-nav-item.js +2 -2
  217. package/dist/collection/components/xpl-top-nav/xpl-top-nav-menu/xpl-top-nav-menu.js +2 -2
  218. package/dist/collection/components/xpl-top-nav/xpl-top-nav.js +5 -5
  219. package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +1 -1
  220. package/dist/components/index.d.ts +8 -0
  221. package/dist/components/index.js +1 -1
  222. package/dist/components/p-9VnxPQLs.js +1 -0
  223. package/dist/components/p-B2oLZUDD.js +1 -0
  224. package/dist/components/p-BYYFsuD3.js +1 -0
  225. package/dist/components/p-BZtxVB1R.js +1 -0
  226. package/dist/components/{p-BGqQbjLl.js → p-BdpZR4KO.js} +1 -1
  227. package/dist/components/{p-DywQ3S73.js → p-Chpgh5SL.js} +1 -1
  228. package/dist/components/{p-2jYZ7ACH.js → p-CiHTfk3E.js} +1 -1
  229. package/dist/components/p-CnVGKN63.js +1 -0
  230. package/dist/components/p-Cz7zDaI4.js +1 -0
  231. package/dist/components/{p-CjbPCnPP.js → p-D--kzomA.js} +1 -1
  232. package/dist/components/p-D4rv6CNJ.js +1 -0
  233. package/dist/components/{p-Dzp5p-eh.js → p-DAb-txW3.js} +1 -1
  234. package/dist/components/p-DYmvElhR.js +1 -0
  235. package/dist/components/{p-DsRsm61K.js → p-EfW0v54z.js} +1 -1
  236. package/dist/components/{p-DWUJ_jsx.js → p-JyNpXfDe.js} +1 -1
  237. package/dist/components/{p-DS2Kv5fl.js → p-U0JYwf4c.js} +1 -1
  238. package/dist/components/p-YG9Jza0y.js +1 -0
  239. package/dist/components/{p-imCMp2Nl.js → p-l3EZ-agL.js} +1 -1
  240. package/dist/components/p-oIn1krdu.js +1 -0
  241. package/dist/components/p-wIU7KUhA.js +1 -0
  242. package/dist/components/{p-BnTsRbko.js → p-xFsB212F.js} +1 -1
  243. package/dist/components/p-xtOHikY0.js +1 -0
  244. package/dist/components/xpl-accordion.js +1 -1
  245. package/dist/components/xpl-application-shell.js +1 -1
  246. package/dist/components/xpl-avatar.js +1 -1
  247. package/dist/components/xpl-backdrop.js +1 -1
  248. package/dist/components/xpl-badge.js +1 -1
  249. package/dist/components/xpl-banner.js +1 -1
  250. package/dist/components/xpl-breadcrumb-item.js +1 -1
  251. package/dist/components/xpl-breadcrumbs.js +1 -1
  252. package/dist/components/xpl-button-row.js +1 -1
  253. package/dist/components/xpl-button.js +1 -1
  254. package/dist/components/xpl-calendar.js +1 -1
  255. package/dist/components/xpl-checkbox.js +1 -1
  256. package/dist/components/xpl-choicelist.js +1 -1
  257. package/dist/components/xpl-content-area.js +1 -1
  258. package/dist/components/xpl-dashboard.js +1 -1
  259. package/dist/components/xpl-data-card.js +1 -1
  260. package/dist/components/xpl-divider.js +1 -1
  261. package/dist/components/xpl-dropdown-group.js +1 -1
  262. package/dist/components/xpl-dropdown-heading.js +1 -1
  263. package/dist/components/xpl-dropdown-option.js +1 -1
  264. package/dist/components/xpl-dropdown.js +1 -1
  265. package/dist/components/xpl-dynamic-table-cell.js +1 -1
  266. package/dist/components/xpl-dynamic-table-row.js +1 -1
  267. package/dist/components/xpl-dynamic-table.js +1 -1
  268. package/dist/components/xpl-grid-item.js +1 -1
  269. package/dist/components/xpl-grid.js +1 -1
  270. package/dist/components/xpl-header-accordion.js +1 -1
  271. package/dist/components/xpl-icon.js +1 -1
  272. package/dist/components/xpl-input-color.js +1 -1
  273. package/dist/components/xpl-input-date.js +1 -1
  274. package/dist/components/xpl-input-file.js +1 -1
  275. package/dist/components/xpl-input-phone.js +1 -1
  276. package/dist/components/xpl-input-search.js +1 -1
  277. package/dist/components/xpl-input-time.js +1 -1
  278. package/dist/components/xpl-input.js +1 -1
  279. package/dist/components/xpl-large-card.js +1 -1
  280. package/dist/components/xpl-list-item.js +1 -1
  281. package/dist/components/xpl-list.js +1 -1
  282. package/dist/components/xpl-main-nav.js +1 -1
  283. package/dist/components/xpl-modal.js +1 -1
  284. package/dist/components/xpl-nav-header-menu.js +1 -1
  285. package/dist/components/xpl-nav-item.js +1 -1
  286. package/dist/components/xpl-pagination.js +1 -1
  287. package/dist/components/xpl-panel.js +1 -1
  288. package/dist/components/xpl-popover.js +1 -1
  289. package/dist/components/xpl-progress-bar.js +1 -1
  290. package/dist/components/xpl-progress-indicator.js +1 -1
  291. package/dist/components/xpl-radio.js +1 -1
  292. package/dist/components/xpl-secondary-nav.js +1 -1
  293. package/dist/components/xpl-select.js +1 -1
  294. package/dist/components/xpl-side-nav-header-item.js +1 -1
  295. package/dist/components/xpl-side-nav-item.js +1 -1
  296. package/dist/components/xpl-side-nav-section.js +1 -1
  297. package/dist/components/xpl-side-nav.js +1 -1
  298. package/dist/components/xpl-skeleton.js +1 -1
  299. package/dist/components/xpl-slideout.js +1 -1
  300. package/dist/components/xpl-spotlight.js +1 -1
  301. package/dist/components/xpl-tab-panel.js +1 -1
  302. package/dist/components/xpl-tab.js +1 -1
  303. package/dist/components/xpl-table-body.d.ts +11 -0
  304. package/dist/components/xpl-table-body.js +1 -0
  305. package/dist/components/xpl-table-footer-cell.d.ts +11 -0
  306. package/dist/components/xpl-table-footer-cell.js +1 -0
  307. package/dist/components/xpl-table-footer.d.ts +11 -0
  308. package/dist/components/xpl-table-footer.js +1 -0
  309. package/dist/components/xpl-table-header-cell.js +1 -1
  310. package/dist/components/xpl-table-header.js +1 -1
  311. package/dist/components/xpl-table-row.d.ts +11 -0
  312. package/dist/components/xpl-table-row.js +1 -0
  313. package/dist/components/xpl-table.js +1 -1
  314. package/dist/components/xpl-tabs.js +1 -1
  315. package/dist/components/xpl-tag.js +1 -1
  316. package/dist/components/xpl-toast.js +1 -1
  317. package/dist/components/xpl-toggle.js +1 -1
  318. package/dist/components/xpl-toolbar.js +1 -1
  319. package/dist/components/xpl-tooltip.js +1 -1
  320. package/dist/components/xpl-top-nav-item.js +1 -1
  321. package/dist/components/xpl-top-nav-menu.js +1 -1
  322. package/dist/components/xpl-top-nav.js +1 -1
  323. package/dist/components/xpl-utility-bar.js +1 -1
  324. package/dist/docs/xpl-modal/readme.md +18 -2
  325. package/dist/docs/xpl-table/xpl-table-body/readme.md +16 -0
  326. package/dist/docs/xpl-table/xpl-table-footer/readme.md +16 -0
  327. package/dist/docs/xpl-table/xpl-table-footer-cell/readme.md +31 -0
  328. package/dist/docs/xpl-table/xpl-table-row/readme.md +34 -0
  329. package/dist/docs.json +207 -6
  330. package/dist/esm/apollo-core.js +1 -1
  331. package/dist/esm/index-ukZKsqqq.js +16 -0
  332. package/dist/esm/loader.js +1 -1
  333. package/dist/esm/xpl-accordion.entry.js +2 -2
  334. package/dist/esm/xpl-application-shell.entry.js +1 -1
  335. package/dist/esm/xpl-avatar_3.entry.js +5 -4
  336. package/dist/esm/xpl-backdrop.entry.js +1 -1
  337. package/dist/esm/xpl-badge.entry.js +1 -1
  338. package/dist/esm/xpl-banner.entry.js +2 -2
  339. package/dist/esm/xpl-breadcrumb-item.entry.js +1 -1
  340. package/dist/esm/xpl-breadcrumbs.entry.js +1 -1
  341. package/dist/esm/xpl-button-row.entry.js +1 -1
  342. package/dist/esm/xpl-button.entry.js +1 -1
  343. package/dist/esm/xpl-calendar.entry.js +1 -1
  344. package/dist/esm/xpl-checkbox.entry.js +3 -3
  345. package/dist/esm/xpl-choicelist.entry.js +1 -1
  346. package/dist/esm/xpl-content-area.entry.js +1 -1
  347. package/dist/esm/xpl-dashboard.entry.js +1 -1
  348. package/dist/esm/xpl-data-card.entry.js +2 -2
  349. package/dist/esm/xpl-dropdown_4.entry.js +14 -11
  350. package/dist/esm/xpl-dynamic-table-cell.entry.js +2 -2
  351. package/dist/esm/xpl-dynamic-table-row.entry.js +2 -2
  352. package/dist/esm/xpl-dynamic-table.entry.js +2 -2
  353. package/dist/esm/xpl-grid-item.entry.js +1 -1
  354. package/dist/esm/xpl-grid.entry.js +1 -1
  355. package/dist/esm/xpl-header-accordion.entry.js +1 -1
  356. package/dist/esm/xpl-icon.entry.js +2 -2
  357. package/dist/esm/xpl-input-color.entry.js +13 -13
  358. package/dist/esm/xpl-input-phone.entry.js +5 -5
  359. package/dist/esm/xpl-input-time.entry.js +2 -2
  360. package/dist/esm/xpl-input_4.entry.js +15 -14
  361. package/dist/esm/xpl-large-card.entry.js +1 -1
  362. package/dist/esm/xpl-list.entry.js +2 -2
  363. package/dist/esm/xpl-main-nav.entry.js +1 -1
  364. package/dist/esm/xpl-modal.entry.js +50 -21
  365. package/dist/esm/xpl-nav-header-menu.entry.js +2 -2
  366. package/dist/esm/xpl-nav-item.entry.js +2 -2
  367. package/dist/esm/xpl-pagination.entry.js +4 -4
  368. package/dist/esm/xpl-panel.entry.js +2 -2
  369. package/dist/esm/xpl-popover.entry.js +4 -4
  370. package/dist/esm/xpl-progress-bar.entry.js +2 -2
  371. package/dist/esm/xpl-progress-indicator.entry.js +1 -1
  372. package/dist/esm/xpl-secondary-nav.entry.js +1 -1
  373. package/dist/esm/xpl-select_2.entry.js +8 -8
  374. package/dist/esm/xpl-side-nav-header-item.entry.js +2 -2
  375. package/dist/esm/xpl-side-nav-item.entry.js +2 -2
  376. package/dist/esm/xpl-side-nav-section.entry.js +5 -5
  377. package/dist/esm/xpl-side-nav.entry.js +8 -4
  378. package/dist/esm/xpl-skeleton.entry.js +1 -1
  379. package/dist/esm/xpl-slideout.entry.js +1 -1
  380. package/dist/esm/xpl-tab-panel.entry.js +2 -2
  381. package/dist/esm/xpl-table-body.entry.js +12 -0
  382. package/dist/esm/xpl-table-footer-cell.entry.js +16 -0
  383. package/dist/esm/xpl-table-footer.entry.js +12 -0
  384. package/dist/esm/xpl-table-header.entry.js +1 -1
  385. package/dist/esm/xpl-table-row.entry.js +18 -0
  386. package/dist/esm/xpl-table.entry.js +5 -5
  387. package/dist/esm/xpl-tabs.entry.js +5 -5
  388. package/dist/esm/xpl-toast.entry.js +2 -2
  389. package/dist/esm/xpl-toggle.entry.js +3 -3
  390. package/dist/esm/xpl-toolbar.entry.js +2 -2
  391. package/dist/esm/xpl-tooltip.entry.js +1 -1
  392. package/dist/esm/xpl-top-nav-item.entry.js +2 -2
  393. package/dist/esm/xpl-top-nav-menu.entry.js +2 -2
  394. package/dist/esm/xpl-top-nav.entry.js +5 -5
  395. package/dist/esm/xpl-utility-bar.entry.js +1 -1
  396. package/dist/types/components/xpl-modal/xpl-modal.d.ts +7 -1
  397. package/dist/types/components/xpl-select/select.shared.d.ts +23 -0
  398. package/dist/types/components/xpl-table/xpl-table-body/xpl-table-body.d.ts +3 -0
  399. package/dist/types/components/xpl-table/xpl-table-footer/xpl-table-footer.d.ts +3 -0
  400. package/dist/types/components/xpl-table/xpl-table-footer-cell/xpl-table-footer-cell.d.ts +4 -0
  401. package/dist/types/components/xpl-table/xpl-table-row/xpl-table-row.d.ts +6 -0
  402. package/dist/types/components/xpl-tabs/tabs.shared.d.ts +0 -2
  403. package/dist/types/components.d.ts +98 -0
  404. package/hydrate/index.js +302 -176
  405. package/hydrate/index.mjs +302 -176
  406. package/package.json +42 -46
  407. package/dist/apollo-core/p-0095174c.entry.js +0 -1
  408. package/dist/apollo-core/p-020ecd66.entry.js +0 -1
  409. package/dist/apollo-core/p-091411e3.entry.js +0 -1
  410. package/dist/apollo-core/p-0be4dbb8.entry.js +0 -1
  411. package/dist/apollo-core/p-1139fac0.entry.js +0 -1
  412. package/dist/apollo-core/p-140a96c7.entry.js +0 -1
  413. package/dist/apollo-core/p-26b6a0ed.entry.js +0 -1
  414. package/dist/apollo-core/p-39e71d86.entry.js +0 -1
  415. package/dist/apollo-core/p-3dd1de49.entry.js +0 -1
  416. package/dist/apollo-core/p-4129d971.entry.js +0 -1
  417. package/dist/apollo-core/p-5afc9831.entry.js +0 -1
  418. package/dist/apollo-core/p-5d25a84a.entry.js +0 -1
  419. package/dist/apollo-core/p-5e5c5016.entry.js +0 -1
  420. package/dist/apollo-core/p-638fd9b1.entry.js +0 -1
  421. package/dist/apollo-core/p-724c5038.entry.js +0 -1
  422. package/dist/apollo-core/p-80a11cad.entry.js +0 -1
  423. package/dist/apollo-core/p-875e0eaa.entry.js +0 -1
  424. package/dist/apollo-core/p-8ddbf2e2.entry.js +0 -1
  425. package/dist/apollo-core/p-a33b0943.entry.js +0 -1
  426. package/dist/apollo-core/p-ba41bbd5.entry.js +0 -1
  427. package/dist/apollo-core/p-cde21f72.entry.js +0 -1
  428. package/dist/apollo-core/p-d288c1d1.entry.js +0 -1
  429. package/dist/apollo-core/p-d3f2b8b8.entry.js +0 -1
  430. package/dist/apollo-core/p-dfaba114.entry.js +0 -1
  431. package/dist/apollo-core/p-e2a16242.entry.js +0 -1
  432. package/dist/apollo-core/p-ec488f9c.entry.js +0 -1
  433. package/dist/apollo-core/p-f2bfe6a6.entry.js +0 -1
  434. package/dist/collection/components/xpl-accordion/accordion.stories.js +0 -84
  435. package/dist/collection/components/xpl-application-shell/application-shell.stories.js +0 -755
  436. package/dist/collection/components/xpl-avatar/avatar.stories.js +0 -157
  437. package/dist/collection/components/xpl-backdrop/backdrop.stories.js +0 -38
  438. package/dist/collection/components/xpl-badge/badge.stories.js +0 -104
  439. package/dist/collection/components/xpl-banner/banner.stories.js +0 -69
  440. package/dist/collection/components/xpl-breadcrumbs/breadcrumbs.stories.js +0 -139
  441. package/dist/collection/components/xpl-button/button.stories.js +0 -144
  442. package/dist/collection/components/xpl-button-row/button-row.stories.js +0 -68
  443. package/dist/collection/components/xpl-calendar/calendar.stories.js +0 -71
  444. package/dist/collection/components/xpl-checkbox/checkbox.stories.js +0 -92
  445. package/dist/collection/components/xpl-choicelist/choicelist.stories.js +0 -162
  446. package/dist/collection/components/xpl-content-area/content-area.stories.js +0 -44
  447. package/dist/collection/components/xpl-dashboard/dashboard.stories.js +0 -57
  448. package/dist/collection/components/xpl-data-card/data-card.stories.js +0 -170
  449. package/dist/collection/components/xpl-divider/divider.stories.js +0 -47
  450. package/dist/collection/components/xpl-dropdown/dropdown.stories.js +0 -395
  451. package/dist/collection/components/xpl-dynamic-table/dynamic-table.stories.js +0 -169
  452. package/dist/collection/components/xpl-grid/grid.stories.js +0 -85
  453. package/dist/collection/components/xpl-header-accordion/header-accordion.stories.js +0 -56
  454. package/dist/collection/components/xpl-icon/icons.stories.js +0 -161
  455. package/dist/collection/components/xpl-input/input.stories.js +0 -712
  456. package/dist/collection/components/xpl-large-card/large-card.stories.js +0 -155
  457. package/dist/collection/components/xpl-list/list.stories.js +0 -398
  458. package/dist/collection/components/xpl-main-nav/main-nav.stories.js +0 -312
  459. package/dist/collection/components/xpl-modal/modal.stories.js +0 -100
  460. package/dist/collection/components/xpl-pagination/pagination.stories.js +0 -65
  461. package/dist/collection/components/xpl-panel/panel.stories.js +0 -62
  462. package/dist/collection/components/xpl-popover/popover.stories.js +0 -174
  463. package/dist/collection/components/xpl-progress-bar/progress-bar.stories.js +0 -105
  464. package/dist/collection/components/xpl-progress-indicator/progress-indicator.stories.js +0 -126
  465. package/dist/collection/components/xpl-radio/radio.stories.js +0 -115
  466. package/dist/collection/components/xpl-secondary-nav/secondary-nav.stories.js +0 -83
  467. package/dist/collection/components/xpl-select/select.stories.js +0 -300
  468. package/dist/collection/components/xpl-side-nav/side-nav.stories.js +0 -1070
  469. package/dist/collection/components/xpl-skeleton/skeleton.stories.js +0 -80
  470. package/dist/collection/components/xpl-slideout/slideout.stories.js +0 -122
  471. package/dist/collection/components/xpl-spotlight/spotlight.stories.js +0 -392
  472. package/dist/collection/components/xpl-table/table.stories.js +0 -156
  473. package/dist/collection/components/xpl-table-header/table-header.stories.js +0 -134
  474. package/dist/collection/components/xpl-table-header-cell/table-header-cell.stories.js +0 -83
  475. package/dist/collection/components/xpl-tabs/segment-control.stories.js +0 -40
  476. package/dist/collection/components/xpl-tabs/tabs.stories.js +0 -43
  477. package/dist/collection/components/xpl-tag/tag.stories.js +0 -159
  478. package/dist/collection/components/xpl-toast/toast.stories.js +0 -112
  479. package/dist/collection/components/xpl-toggle/toggle.stories.js +0 -95
  480. package/dist/collection/components/xpl-toolbar/toolbar.stories.js +0 -39
  481. package/dist/collection/components/xpl-tooltip/tooltip.stories.js +0 -67
  482. package/dist/collection/components/xpl-top-nav/top-nav.stories.js +0 -764
  483. package/dist/collection/components/xpl-utility-bar/utility-bar.stories.js +0 -94
  484. package/dist/components/p-Bseq_BgD.js +0 -1
  485. package/dist/components/p-CCgZCY_A.js +0 -1
  486. package/dist/components/p-CJzsLWeV.js +0 -1
  487. package/dist/components/p-CRKY79vL.js +0 -1
  488. package/dist/components/p-Cjxw-qOg.js +0 -1
  489. package/dist/components/p-D6JUVA1x.js +0 -1
  490. package/dist/components/p-DFGw0APN.js +0 -1
  491. package/dist/components/p-DLLQBDCb.js +0 -1
  492. package/dist/components/p-Di1NDy0w.js +0 -1
  493. package/dist/components/p-DkM7jyQB.js +0 -1
  494. package/dist/components/p-Mehog36m.js +0 -1
  495. package/dist/components/p-RYnBuuDE.js +0 -1
  496. package/dist/css/typography.stories.js +0 -153
  497. package/dist/types/components/xpl-accordion/accordion.stories.d.ts +0 -46
  498. package/dist/types/components/xpl-application-shell/application-shell.stories.d.ts +0 -46
  499. package/dist/types/components/xpl-avatar/avatar.stories.d.ts +0 -39
  500. package/dist/types/components/xpl-backdrop/backdrop.stories.d.ts +0 -23
  501. package/dist/types/components/xpl-badge/badge.stories.d.ts +0 -87
  502. package/dist/types/components/xpl-banner/banner.stories.d.ts +0 -79
  503. package/dist/types/components/xpl-breadcrumbs/breadcrumbs.stories.d.ts +0 -40
  504. package/dist/types/components/xpl-button/button.stories.d.ts +0 -136
  505. package/dist/types/components/xpl-button-row/button-row.stories.d.ts +0 -34
  506. package/dist/types/components/xpl-calendar/calendar.stories.d.ts +0 -45
  507. package/dist/types/components/xpl-checkbox/checkbox.stories.d.ts +0 -51
  508. package/dist/types/components/xpl-choicelist/choicelist.stories.d.ts +0 -30
  509. package/dist/types/components/xpl-content-area/content-area.stories.d.ts +0 -19
  510. package/dist/types/components/xpl-dashboard/dashboard.stories.d.ts +0 -22
  511. package/dist/types/components/xpl-data-card/data-card.stories.d.ts +0 -113
  512. package/dist/types/components/xpl-divider/divider.stories.d.ts +0 -28
  513. package/dist/types/components/xpl-dropdown/dropdown.stories.d.ts +0 -177
  514. package/dist/types/components/xpl-dynamic-table/dynamic-table.stories.d.ts +0 -30
  515. package/dist/types/components/xpl-grid/grid.stories.d.ts +0 -109
  516. package/dist/types/components/xpl-header-accordion/header-accordion.stories.d.ts +0 -32
  517. package/dist/types/components/xpl-icon/icons.stories.d.ts +0 -31
  518. package/dist/types/components/xpl-input/input.stories.d.ts +0 -441
  519. package/dist/types/components/xpl-large-card/large-card.stories.d.ts +0 -57
  520. package/dist/types/components/xpl-list/list.stories.d.ts +0 -385
  521. package/dist/types/components/xpl-main-nav/main-nav.stories.d.ts +0 -19
  522. package/dist/types/components/xpl-modal/modal.stories.d.ts +0 -103
  523. package/dist/types/components/xpl-pagination/pagination.stories.d.ts +0 -31
  524. package/dist/types/components/xpl-panel/panel.stories.d.ts +0 -30
  525. package/dist/types/components/xpl-popover/popover.stories.d.ts +0 -21
  526. package/dist/types/components/xpl-progress-bar/progress-bar.stories.d.ts +0 -62
  527. package/dist/types/components/xpl-progress-indicator/progress-indicator.stories.d.ts +0 -64
  528. package/dist/types/components/xpl-radio/radio.stories.d.ts +0 -96
  529. package/dist/types/components/xpl-secondary-nav/secondary-nav.stories.d.ts +0 -8
  530. package/dist/types/components/xpl-select/select.stories.d.ts +0 -158
  531. package/dist/types/components/xpl-side-nav/side-nav.stories.d.ts +0 -173
  532. package/dist/types/components/xpl-skeleton/skeleton.stories.d.ts +0 -36
  533. package/dist/types/components/xpl-slideout/slideout.stories.d.ts +0 -124
  534. package/dist/types/components/xpl-spotlight/spotlight.stories.d.ts +0 -203
  535. package/dist/types/components/xpl-table/table.stories.d.ts +0 -67
  536. package/dist/types/components/xpl-table-header/table-header.stories.d.ts +0 -80
  537. package/dist/types/components/xpl-table-header-cell/table-header-cell.stories.d.ts +0 -36
  538. package/dist/types/components/xpl-tabs/segment-control.stories.d.ts +0 -134
  539. package/dist/types/components/xpl-tabs/tabs.stories.d.ts +0 -107
  540. package/dist/types/components/xpl-tag/tag.stories.d.ts +0 -68
  541. package/dist/types/components/xpl-toast/toast.stories.d.ts +0 -70
  542. package/dist/types/components/xpl-toggle/toggle.stories.d.ts +0 -53
  543. package/dist/types/components/xpl-toolbar/toolbar.stories.d.ts +0 -35
  544. package/dist/types/components/xpl-tooltip/tooltip.stories.d.ts +0 -29
  545. package/dist/types/components/xpl-top-nav/top-nav.stories.d.ts +0 -549
  546. package/dist/types/components/xpl-utility-bar/utility-bar.stories.d.ts +0 -27
  547. package/dist/types/home/runner/work/apollo/apollo/packages/apollo-core/.stencil/.storybook/utils/story-function.d.ts +0 -11
  548. package/dist/types/home/runner/work/apollo/apollo/packages/apollo-core/.stencil/.storybook/utils/wait-for-hydration.d.ts +0 -1
  549. package/dist/types/home/runner/work/apollo/apollo/packages/apollo-core/.stencil/src/css/typography.stories.d.ts +0 -76
  550. /package/dist/types/home/runner/work/apollo/apollo/packages/apollo-core/.stencil/{src/utils → utils}/form-bindings.d.ts +0 -0
  551. /package/dist/types/home/runner/work/apollo/apollo/packages/apollo-core/.stencil/{src/utils → utils}/story-vrt.d.ts +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xplortech/apollo-core",
3
- "version": "2.12.0",
3
+ "version": "3.0.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -86,43 +86,38 @@
86
86
  ],
87
87
  "private": false,
88
88
  "scripts": {
89
- "build": "npm run clean && npm-run-all build:css build:stencil",
90
- "build:css": "cross-env NODE_ENV=production node scripts/build-css.mjs && npm-run-all build-partial:css.*",
91
- "build-partial:css.angular": "cp build/style.css ../apollo-angular/css/apollo.css",
92
- "build-partial:css.react": "cp build/style.css ../apollo-react/css/apollo.css",
93
- "build-partial:css.vue": "cp build/style.css ../apollo-vue/css/apollo.css",
94
- "build:stencil": "node ../../scripts/generate-icon-docs.mjs && stencil build --docs --prod && node ../../scripts/patch-angular-value-accessors.mjs && node ../../scripts/patch-stencil-sourcemaps.mjs",
89
+ "build": "npm run clean && npm-run-all build.css build.stencil",
90
+ "build.css": "cross-env NODE_ENV=production node scripts/build-css.mjs",
91
+ "build.stencil": "node ../../scripts/generate-icon-docs.mjs && stencil build --docs --prod && node ../../scripts/patch-angular-value-accessors.mjs && node ../../scripts/patch-stencil-sourcemaps.mjs",
95
92
  "postbuild": "node ../../scripts/copy-readmes-to-dist.mjs && node ../../scripts/finalize-apollo-core-cjs.mjs",
96
93
  "clean": "rm -rf dist/ hydrate/ loader/ storybook-static/ build/ src/components/components.d.ts",
97
- "dev": "npm run storybook:dev",
98
- "dev:angular-patch": "node ../../scripts/patch-angular-value-accessors.mjs --watch",
99
- "dev:css": "node scripts/build-css.mjs --watch",
100
- "dev:stencil": "stencil build --dev --watch --esm --docs",
101
- "lint:css": "stylelint 'src/**/*.css' --cache --cache-location node_modules/.cache/.stylelintcache",
102
- "lint:css:ci": "stylelint 'src/**/*.css' -q --cache --cache-location node_modules/.cache/.stylelintcache",
103
- "lint:tokens": "node ../../scripts/verify-tokens.mjs",
104
- "test:stylelint": "node --test stylelint/patterns.test.mjs",
105
- "test:unit": "node --test stylelint/patterns.test.mjs scripts/build-css.test.mjs scripts/verify-css-gates.test.mjs",
106
- "test:css-gates": "node scripts/verify-css-gates.mjs --check",
107
- "stylelint:check-legacy": "node stylelint/check-legacy-files.mjs",
108
- "lint": "npm-run-all lint:ts lint:css:ci lint:tokens lint:js lint:prettier-css test:stylelint",
109
- "lint:ts": "eslint \"src/components/**/*{.ts,.tsx}\" --no-warn-ignored --cache --cache-location node_modules/.cache/.eslintcache",
110
- "lint:js": "prettier --check \"*{.js,.json}\" --cache",
111
- "lint:prettier-css": "prettier --check \"src/**/*.css\" --cache",
112
- "format": "npm run lint:css:ci -- --fix && npm run lint:ts -- --fix && prettier --write \"*{.js,.json}\" --cache && prettier --write \"src/**/*.css\" --cache",
94
+ "dev.angular-patch": "node ../../scripts/patch-angular-value-accessors.mjs --watch",
95
+ "dev.css": "node scripts/build-css.mjs --watch",
96
+ "dev.stencil": "stencil build --dev --watch --esm --docs",
97
+ "lint": "npm-run-all lint.ts lint.css.ci lint.tokens lint.js lint.prettier-css test.stylelint",
98
+ "lint.css": "stylelint 'src/**/*.css' --cache --cache-location node_modules/.cache/.stylelintcache",
99
+ "lint.css.ci": "stylelint 'src/**/*.css' -q --cache --cache-location node_modules/.cache/.stylelintcache",
100
+ "lint.tokens": "node ../../scripts/verify-tokens.mjs",
101
+ "lint.ts": "eslint \"src/components/**/*{.ts,.tsx}\" --no-warn-ignored --cache --cache-location node_modules/.cache/.eslintcache",
102
+ "lint.js": "prettier --check \"*{.js,.json}\" --cache",
103
+ "lint.prettier-css": "prettier --check \"src/**/*.css\" --cache",
104
+ "format": "npm run lint.css.ci -- --fix && npm run lint.ts -- --fix && prettier --write \"*{.js,.json}\" --cache && prettier --write \"src/**/*.css\" --cache",
113
105
  "generate:icons": "node ../../scripts/generate-icon-docs.mjs",
114
106
  "test": "vitest run --project spec --project spec-dom",
115
107
  "test.watch": "vitest --project spec --project spec-dom",
116
- "test.e2e": "vitest run --project browser",
117
- "test.ssr": "vitest run --project ssr-smoke",
118
- "test.storybook": "vitest run --project storybook",
119
- "test.storybook:update": "npm run build:css && vitest run --project storybook --update",
120
- "storybook": "npm run storybook:start",
121
- "storybook:start": "storybook dev -p 9009",
122
- "storybook:dev": "run-p dev:stencil dev:css dev:angular-patch storybook:start",
108
+ "test:e2e": "vitest run --project browser",
109
+ "test:ssr": "vitest run --project ssr-smoke",
110
+ "test:storybook": "vitest run --project storybook",
111
+ "test:storybook:update": "npm run build.css && vitest run --project storybook --update",
112
+ "storybook": "storybook dev -p 9009",
113
+ "storybook:dev": "run-p dev.stencil dev.css dev.angular-patch storybook",
123
114
  "build:storybook": "storybook build --config-dir .storybook --output-dir storybook-static && node ../../scripts/copy-storybook-data-assets.mjs",
124
115
  "stencil-generate": "stencil generate",
125
- "typecheck": "tsc --noEmit -p tsconfig.build.json --strict --strictPropertyInitialization false"
116
+ "typecheck": "tsc --noEmit -p tsconfig.build.json --strict --strictPropertyInitialization false",
117
+ "test:unit": "node --test stylelint/patterns.test.mjs scripts/build-css.test.mjs scripts/verify-css-gates.test.mjs",
118
+ "test.stylelint": "node --test stylelint/patterns.test.mjs",
119
+ "test:css-gates": "node scripts/verify-css-gates.mjs --check",
120
+ "stylelint:check-legacy": "node stylelint/check-legacy-files.mjs"
126
121
  },
127
122
  "files": [
128
123
  "AGENTS.md",
@@ -142,19 +137,19 @@
142
137
  "@stencil/react-output-target": "1.6.1",
143
138
  "@stencil/vitest": "^1.14.0",
144
139
  "@stencil/vue-output-target": "^0.14.1",
145
- "@storybook/addon-a11y": "^10.5.5",
140
+ "@storybook/addon-a11y": "^10.5.8",
146
141
  "@storybook/addon-designs": "^11.1.4",
147
- "@storybook/addon-docs": "^10.5.5",
148
- "@storybook/addon-links": "^10.5.5",
149
- "@storybook/addon-themes": "^10.5.5",
150
- "@storybook/addon-vitest": "^10.5.5",
142
+ "@storybook/addon-docs": "^10.5.8",
143
+ "@storybook/addon-links": "^10.5.8",
144
+ "@storybook/addon-themes": "^10.5.8",
145
+ "@storybook/addon-vitest": "^10.5.8",
151
146
  "@storybook/builder-vite": "^10.5.5",
152
- "@storybook/web-components-vite": "^10.5.5",
147
+ "@storybook/web-components-vite": "^10.5.8",
153
148
  "@tailwindcss/postcss": "^4.3.3",
154
149
  "@vitest/browser-playwright": "^4.0.13",
155
150
  "@vitest/coverage-v8": "^4.0.13",
156
151
  "@vueless/storybook-dark-mode": "^10.0.3",
157
- "@xplortech/apollo-icons": "0.4.1",
152
+ "@xplortech/apollo-icons": "0.5.0",
158
153
  "cross-env": "^10.1.0",
159
154
  "eslint-plugin-react": "^7.37.5",
160
155
  "happy-dom": "^20.10.6",
@@ -169,7 +164,7 @@
169
164
  "postcss-nested": "7.0.2",
170
165
  "postcss-pxtorem": "^6.0.0",
171
166
  "prettier": "^3.5.3",
172
- "puppeteer": "^24.8.2",
167
+ "puppeteer": "^25.7.0",
173
168
  "react": "^19.2.8",
174
169
  "react-dom": "^19.2.8",
175
170
  "storybook": "^10.5.5",
@@ -188,7 +183,7 @@
188
183
  "lodash.throttle": "^4.1.1"
189
184
  },
190
185
  "peerDependencies": {
191
- "@xplortech/apollo-foundation": "1.1.0"
186
+ "@xplortech/apollo-foundation": "2.0.0"
192
187
  },
193
188
  "peerDependenciesMeta": {
194
189
  "@xplortech/apollo-foundation": {
@@ -212,7 +207,7 @@
212
207
  "@xplortech/apollo-foundation:build"
213
208
  ]
214
209
  },
215
- "build:css": {
210
+ "build.css": {
216
211
  "dependsOn": [
217
212
  "@xplortech/apollo-foundation:build"
218
213
  ]
@@ -222,7 +217,7 @@
222
217
  "@xplortech/apollo-icons:build"
223
218
  ]
224
219
  },
225
- "test.ssr": {
220
+ "test:ssr": {
226
221
  "dependsOn": [
227
222
  "build",
228
223
  "@xplortech/apollo-icons:build"
@@ -231,6 +226,10 @@
231
226
  "typecheck": {
232
227
  "dependsOn": [
233
228
  "build"
229
+ ],
230
+ "inputs": [
231
+ "production",
232
+ "^production"
234
233
  ]
235
234
  },
236
235
  "build": {
@@ -244,12 +243,9 @@
244
243
  "{projectRoot}/src/components/components.d.ts",
245
244
  "{projectRoot}/src/components/components/**/readme.md",
246
245
  "{workspaceRoot}/packages/apollo-react/src/components/stencil-generated",
247
- "{workspaceRoot}/packages/apollo-react/css/apollo.css",
248
246
  "{workspaceRoot}/packages/apollo-vue/src/components.ts",
249
- "{workspaceRoot}/packages/apollo-vue/css/apollo.css",
250
247
  "{workspaceRoot}/packages/apollo-angular/src/directives/proxies.ts",
251
- "{workspaceRoot}/packages/apollo-angular/src/directives/index.ts",
252
- "{workspaceRoot}/packages/apollo-angular/css/apollo.css"
248
+ "{workspaceRoot}/packages/apollo-angular/src/directives/index.ts"
253
249
  ]
254
250
  },
255
251
  "build:storybook": {
@@ -1 +0,0 @@
1
- import{r as e,c as s,h as a,H as i}from"./p-ukZKsqqq.js";import{v as t}from"./p-CK3_k8jD.js";const d=class{constructor(a){e(this,a),this.checkboxChange=s(this,"checkboxChange",7),this.id=t(),this.ariaLabel="",this.onChange=e=>{this.checkboxChange.emit(e.target.checked)}}render(){return a(i,{key:"fba24f4540febb1d52a143ae8249978820731422",class:{"xpl-checkbox-radio-container":!0,styled:!!this.styled,disabled:!!this.disabled}},a("input",{key:"1663fd03d0f76952ddbe1a8ce87ea7c76c31631c",class:"xpl-checkbox",type:"checkbox","aria-label":(this.ariaLabel??"").trim()||void 0,checked:this.checked,"data-id":this.dataId,disabled:this.disabled,id:this.id,indeterminate:this.indeterminate,onChange:this.onChange,name:this.name,required:this.required,value:this.value}),a("label",{key:"84548eea585da460e834d1e34b24e0b3724a38ea",class:{"xpl-label":!0,"xpl-label--disabled":!!this.disabled},htmlFor:this.id},a("slot",{key:"f9451918bee8abc6dea4fd65acef75bb13b69e4d"}),this.description&&a("small",{key:"02db357e5080d87595bdfd5baac1be2a2bb771d7",class:{"xpl-description":!0,"xpl-description--disabled":!!this.disabled}},this.description)))}};export{d as xpl_checkbox}
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as c,H as i}from"./p-ukZKsqqq.js";const e=class{constructor(c){t(this,c),this.clickPrimary=s(this,"clickPrimary",7),this.clickSecondary=s(this,"clickSecondary",7),this.clickTertiary=s(this,"clickTertiary",7),this.onPrimary=()=>this.clickPrimary.emit(),this.onSecondary=()=>this.clickSecondary.emit(),this.onTertiary=()=>this.clickTertiary.emit()}render(){return c(i,{key:"060eb37a03ab854c56b383cf2ed598915f8b4c6f",class:"xpl-button-row"},c("div",{key:"169e722e0ccb0045680001755943aa1087c70a79",class:"xpl-button-row-inner"},c("div",{key:"8a49375971621161e3c1ad692ef9257b1c4bac43",class:"xpl-button-row__left"},this.secondary&&c("xpl-button",{key:"3cc16072ce7e9b4731b50fbaf647659b842763ad",variant:"secondary",type:"button",onClick:this.onSecondary},this.secondary)),c("div",{key:"e1d248e9b65f241f5eee07d2808ee3cb67b6c867",class:"xpl-button-row__right"},this.tertiary&&c("xpl-button",{key:"827f7c01fb4617bb10acfc79b20a515718c6d539",variant:"subtle",type:"button",onClick:this.onTertiary},this.tertiary),this.secondary&&c("xpl-button",{key:"726167a62d0b3dc6f19b6e38abaa446cb474a07c",variant:"secondary",type:"button",onClick:this.onSecondary},this.secondary),this.primary&&c("xpl-button",{key:"2d7d7fe4e965ce093d969936ff96d224762499e1",class:"xpl-button-row__primary",onClick:this.onPrimary},this.primary))))}};export{e as xpl_button_row}
@@ -1 +0,0 @@
1
- import{r as a,c as e,h as c,H as d}from"./p-ukZKsqqq.js";const f=class{constructor(c){a(this,c),this.navWidth=e(this,"navWidth",7),this.width="default"}navWidthHandler(){this.navWidth.emit(this.width)}connectedCallback(){this.navWidthHandler()}componentDidUpdate(){this.navWidthHandler()}render(){return c(d,{key:"a2bd0e9fc9de814e5522b315dbb6da2672c6da72",class:`xpl-main-nav xpl-main-nav--${this.width}`,"aria-label":"Sidebar"},c("nav",{key:"f6c75ca9ef37747054994457c2bf2b1d44941479"},c("header",{key:"a338af682f79147b22fcb7e72a86fcaab867e19f","aria-label":"Sidebar Header"},c("slot",{key:"7208e18c6bc8202ef709ee9a2c07369aeb3f7a8f",name:"logo"}),c("slot",{key:"189761d3d465c4a8ddbdc8dca05ff81b2f2dc2a4",name:"brand-name"})),c("div",{key:"0c981cfaf3267a82319864185d55b4ffad06d114",class:"xpl-main-nav__main_section"},c("slot",{key:"1301a128dfb5399867527d2afbf350c1e2e92b26",name:"navigation"})),c("footer",{key:"b3010ec6e8773fad12d60abffcb4226dc5ae091b",class:"xpl-main-nav__footer","aria-label":"Sidebar Footer"},c("slot",{key:"a662e627533ec313acc169a1c01093cf8f450c8a",name:"footer"}))))}};export{f as xpl_main_nav}
@@ -1 +0,0 @@
1
- import{r as i,c as t,h as e,H as s}from"./p-ukZKsqqq.js";const a=class{constructor(e){i(this,e),this.action=t(this,"action",7),this.dismiss=t(this,"dismiss",7),this.secondaryAction=t(this,"secondaryAction",7),this.appearance="information",this.hasIcon=!0,this.isDismissible=!0,this.isSection=!1,this.truncateDesc=!1}getIcon(){switch(this.appearance){case"positive":return"circle-check";case"warning":return"triangle-warning";case"error":return"octagon-warning";default:return"circle-info"}}getActionButtonState(){return this.isSection&&"positive"===this.appearance?"success":"error"===this.appearance?"warning":void 0}getActionButtonVariant(){return this.isSection?"subtle":"error"===this.appearance?"primary":"subtle"}getAriaLabel(){return this.isSection?this.heading?.trim()||"Section banner":{information:"Information banner",positive:"Positive banner",warning:"Warning banner",error:"Error banner"}[this.appearance]}render(){const i=!!this.actionText?.trim(),t=!!this.secondaryActionText?.trim(),a=this.getActionButtonVariant(),n=this.getActionButtonState(),r=!!this.heading?.trim(),c=!!this.description?.trim();return e(s,{key:"476c72c3dad23d9d62a8d68a826fb75a93fc88ee",class:{"xpl-banner":!0,"xpl-banner--section":this.isSection,[`xpl-banner--${this.appearance}`]:!0,"xpl-banner--truncate-desc":this.truncateDesc,"xpl-banner--no-icon":this.isSection&&!this.hasIcon},role:"region","aria-label":this.getAriaLabel()},(!this.isSection||this.hasIcon)&&e("div",{key:"b81395caa66c8c56a54535a5ace6fd3a027b0075",class:"xpl-banner__icon","aria-hidden":"true"},e("xpl-icon",{key:"e8dd31a592ba17dd1825630a4f1ba9bc7323891a",icon:this.getIcon(),size:24})),e("div",{key:"034eab05c801635fdbfb7ea549c4472407f3f09f",class:"xpl-banner__body"},r&&e("p",{key:"c9216bd4c11c1d3bda0e1654282d9a713e955968",class:"xpl-banner__heading"},this.heading),c&&e("p",{key:"e67d92d7b71b678b19627741a01d2e4b26ef7093",class:"xpl-banner__description",title:this.truncateDesc?this.description:void 0},this.description)),(i||t)&&e("div",{key:"dd4d7bcae4bde9d16124b27993d7d1b2e96e086e",class:"xpl-banner__actions"},i&&e("xpl-button",{key:"51df92818c4194c76c609776f85aa31c7bffb34b",size:"xs",variant:a,state:n,onClick:()=>this.action.emit()},this.actionText),t&&e("xpl-button",{key:"7f911d3a81190cde339f69a2d93eb0c2518c9036",size:"xs",variant:a,state:n,onClick:()=>this.secondaryAction.emit()},this.secondaryActionText)),this.isDismissible&&e("button",{key:"b9d1b8d15f0adac5b7eaa5c3e287c4b0fe7b987e",class:"xpl-banner__dismiss",type:"button","aria-label":`Dismiss ${this.isSection?"section ":""}banner`,onClick:()=>this.dismiss.emit()},e("xpl-icon",{key:"528fd238ccfb1e52c7fe5c0d093f30a4fa4603bd",icon:"xmark",size:24,"aria-hidden":"true"})))}};export{a as xpl_banner}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as a,H as r}from"./p-ukZKsqqq.js";import{i as s}from"./p-Dqb1pIRo.js";const i=(t,e,a)=>{const r=(a/=100)*(e/=100),s=r*(1-Math.abs(t/60%2-1)),i=a-r;let o=0,n=0,h=0;return t<60?(o=r,n=s,h=0):t<120?(o=s,n=r,h=0):t<180?(o=0,n=r,h=s):t<240?(o=0,n=s,h=r):t<300?(o=s,n=0,h=r):(o=r,n=0,h=s),{r:Math.round(255*(o+i)),g:Math.round(255*(n+i)),b:Math.round(255*(h+i))}},o=(t,e,a)=>[t,e,a].map((t=>t.toString(16).padStart(2,"0"))).join(""),n=t=>{if(t.startsWith("#")){if(!/^#([a-fA-F\d]{6})$/.test(t))throw new Error("Only 6-digit hex format supported (e.g. #aabbcc)");const e=t.toLowerCase().slice(1),a=parseInt(e.slice(0,2),16),r=parseInt(e.slice(2,4),16),s=parseInt(e.slice(4,6),16);return{hex:e,r:a,g:r,b:s,a:1}}if(t.startsWith("rgba")||t.startsWith("rgb")){const e=t.match(/[\d.]+/g)?.map(Number);if(!e||e.length<3)throw new Error("Invalid rgba/rgb format");const[a,r,s,i=1]=e,o=t=>t.toString(16).padStart(2,"0");return{hex:`${o(a)}${o(r)}${o(s)}`.toLowerCase(),r:a,g:r,b:s,a:i}}if(t.startsWith("hsla")||t.startsWith("hsl")){const e=t.match(/[\d.]+/g)?.map(Number);if(!e||e.length<3)throw new Error("Invalid hsla/hsl format");const[a,r,s,i=1]=e,n=((t,e,a,r)=>{a/=100;const s=e=>(e+t/30)%12,i=(e/=100)*Math.min(a,1-a),o=t=>a-i*Math.max(-1,Math.min(s(t)-3,Math.min(9-s(t),1)));return`rgba(${Math.round(255*o(0))}, ${Math.round(255*o(8))}, ${Math.round(255*o(4))}, ${r})`})(a,r,s,i),h=n.match(/[\d.]+/g)?.map(Number);if(!h||h.length<3)throw new Error("Invalid hsla/hsl format");const[c,l,d]=h;return{hex:o(c,l,d).toLowerCase(),r:c,g:l,b:d,a:i}}throw new Error("Unsupported color format")},h=t=>t.a&&1!==t.a?`rgba(${t.r}, ${t.g}, ${t.b}, ${t.a})`:`#${t.hex}`,c={hex:"",r:0,g:0,b:0,a:1},l=class{constructor(a){t(this,a),this.inputChange=e(this,"inputChange",7),this.hasErrorStateChanged=e(this,"hasErrorStateChanged",7),this.placeholder="Select color",this.eyeDropperSupported=!1,this.colorInputElements={},this.handleMove=t=>{const{slGrid:e}=this.colorInputElements;if(!e)return;const a=e.getBoundingClientRect(),r="touches"in t?t.touches[0].clientY:t.clientY,s=Math.max(0,Math.min(("touches"in t?t.touches[0].clientX:t.clientX)-a.left,a.width)),n=Math.max(0,Math.min(r-a.top,a.height)),h=s/a.width,c=n/a.height,l=i(this.hue,100,100),d=(255*(1-h)+h*l.r)*(1-c),p=(255*(1-h)+h*l.g)*(1-c),u=(255*(1-h)+h*l.b)*(1-c),b={r:Math.round(d),g:Math.round(p),b:Math.round(u),hex:o(Math.round(d),Math.round(p),Math.round(u)),a:this.colorValues.a};this.colorValues=b},this.startDrag=t=>{t.preventDefault(),this.handleMove(t),window.addEventListener("mousemove",this.handleMove),window.addEventListener("mouseup",this.stopDrag),window.addEventListener("touchmove",this.handleMove),window.addEventListener("touchend",this.stopDrag)},this.stopDrag=()=>{window.removeEventListener("mousemove",this.handleMove),window.removeEventListener("mouseup",this.stopDrag),window.removeEventListener("touchmove",this.handleMove),window.removeEventListener("touchend",this.stopDrag)},this.onHexInputChange=t=>{const e=t.detail?t.detail.trim().replace(/#/g,""):"";if(e){const[t,a,r]=(t=>{const e=t?.match(/\w\w/g);return e?e.map((t=>parseInt(t,16))):[0,0,0]})(e);this.colorValues={hex:e,r:t,g:a,b:r,a:this.colorValues.a??1}}else this.colorValues={...c}},this.onRgbaInputChange=(t,e)=>{const a=parseFloat(e.detail);if(Number.isNaN(a))return void(this.hasErrorState=`invalid value from ${t.name}: ${a}`);const r={...this.colorValues};switch(t.name){case"color-r-input":r.r=a;break;case"color-g-input":r.g=a;break;case"color-b-input":r.b=a;break;case"color-a-input":r.a=a;break;default:this.hasErrorState=`unhandled input: ${t.name}`}r.hex=o(r.r,r.g,r.b),this.colorValues=r},this.onSliderInputChange=t=>{const e=parseFloat(t.value);if(Number.isNaN(e))this.hasErrorState=`invalid value from ${t.name}: ${e}`;else switch(t.name){case"color-hue-slider":this.colorValues=n(`hsla(${e}, 100%, 50%, 1)`),this.hue=e;break;case"color-alpha-slider":this.colorValues={...this.colorValues,a:e};break;default:this.hasErrorState=`unhandled input: ${t.name}`}}}valueChanged(t){this.hasErrorState=this.required&&!t.hex?"required":null,this.inputChange.emit(t.hex?h(t):"")}onHasErrorStateChanged(t){this.hasErrorStateChanged.emit(t)}onValuePropChange(t){this.syncColorFromValue(t)}syncColorFromValue(t){if(t)try{this.colorValues=n(t),this.hue=(()=>{const t=this.colorValues.r/255,e=this.colorValues.g/255,a=this.colorValues.b/255,r=Math.max(t,e,a),s=Math.min(t,e,a),i=r-s;let o=0,n=0;const h=(r+s)/2;if(0!==i){switch(n=i/(1-Math.abs(2*h-1)),r){case t:o=(e-a)/i%6;break;case e:o=(a-t)/i+2;break;case a:o=(t-e)/i+4}o*=60,o<0&&(o+=360)}return{hue:Math.round(o),saturation:Math.round(100*n),lightness:Math.round(100*h)}})().hue}catch{this.hasErrorState="invalid color format",this.hue=0}else this.colorValues={...c},this.hasErrorState=null,this.hue=0}componentWillLoad(){this.syncColorFromValue(this.value)}componentDidLoad(){s()&&(this.eyeDropperSupported="EyeDropper"in window);const{r:t,g:e,b:a,a:r,hue:i,alpha:o,hex:n}=this.colorInputElements;n?.addEventListener("valueChange",(t=>{this.onHexInputChange(t),t.stopPropagation()})),[t,e,a,r].forEach((t=>{t?.addEventListener("valueChange",(e=>{this.onRgbaInputChange(t,e),e.stopPropagation()}))})),[i,o].forEach((t=>{t?.addEventListener("input",(()=>{this.onSliderInputChange(t)}))}))}async openEyeDropper(){try{const t=window.EyeDropper;if(!t)throw new Error("EyeDropper API is not available");const e=new t,a=await e.open();this.colorValues=n(a.sRGBHex)}catch(t){this.hasErrorState=`eyedropper cancelled or failed: ${t}`}}render(){const{r:t,g:e,b:s,a:o}=this.colorValues,n=i(this.hue,100,100),{x:c,y:l}=((t,e,a,r)=>{const{s,v:i}=((t,e,a,r)=>{t/=255,e/=255,a/=255;const s=Math.max(t,e,a),i=s-Math.min(t,e,a);let o=0;return o=0===i?0:s===t?(e-a)/i%6:s===e?(a-t)/i+2:(t-e)/i+4,o=Math.round(60*o),o<0&&(o+=360),{h:r??o,s:0===s?0:i/s,v:s}})(e.r,e.g,e.b,t);return{x:Math.round(s*a),y:Math.round((1-i)*r)}})(this.hue,{r:t,g:e,b:s},288,160),d={left:`${c}px`,top:`${l}px`,background:`rgb(${t}, ${e}, ${s})`};return a(r,{key:"02aa7baed3d45ad3a2e995f588c0915e3e348bfc",class:"xpl-input-color"},a("xpl-popover",{key:"4739858b3b027f3d436c8fe84d62aa917d06ec5e",disabled:this.disabled,display:"menu"},a("div",{key:"470b4bd07706693748829a25fc8499965581d48b",slot:"trigger"},a("div",{key:"03a100cb1041eaa939c9db7c0574ac53bc639ef7",class:{"xpl-input-color__display":!0,"xpl-input-color__display--disabled":!!this.disabled,"xpl-input-color__display--error":!!this.hasErrorState}},a("span",{key:"61594874f76b2f6da3befd6b7b6ff0136992c5d7",class:"xpl-input-color__color",style:{background:h(this.colorValues)}}),this.colorValues.hex?a("span",{class:"xpl-input-color__value"},h(this.colorValues)):a("span",{class:"xpl-input-color__placeholder"},this.placeholder),this.eyeDropperSupported&&!this.hideEyeDropper&&a("xpl-icon",{key:"e6997616cc18e0cec266b6029cfbee068744967c",size:20,icon:"eye-dropper",class:"xpl-input-color__icon",onClick:t=>{t.stopPropagation(),this.openEyeDropper()}}))),a("div",{key:"7253fbb77364e884b4eca04c705fda8875f16250",class:"xpl-input-color__menu"},a("div",{key:"75a2f6545771354c1d5a6b01ada16a090ceb47e7",class:"xpl-input-color__sl-grid",ref:t=>{this.colorInputElements.slGrid=t??void 0},style:{background:["linear-gradient(to top, #000, #0000)","linear-gradient(to right, #fff, #fff0)",`rgb(${n.r} ${n.g} ${n.b})`].join(", ")},onMouseDown:this.startDrag,onTouchStart:this.startDrag},a("div",{key:"363f0f591d7a9214e808e3374449492d1bb35096",class:"xpl-input-color__sl-thumb",style:d})),a("div",{key:"6c227329fac4c27e60e05fc4635adc9e11149289",class:"xpl-input-color__grid"},a("input",{key:"ae66886dcd2384b01146238ca90144b2aaa7d315",type:"range",min:"0",max:"360",value:this.hue,class:"xpl-input-color__slider xpl-input-color__hue",name:"color-hue-slider",ref:t=>{this.colorInputElements.hue=t??void 0}}),a("input",{key:"fae631f4530dcabcef0e4ba748d7104d7539a573",type:"range",min:"0",max:"1",step:"0.01",value:o,class:"xpl-input-color__slider xpl-input-color__alpha",name:"color-alpha-slider",ref:t=>{this.colorInputElements.alpha=t??void 0},style:{backgroundImage:[`linear-gradient(to right, rgb(${t} ${e} ${s} / 0) 0%, rgb(${t} ${e} ${s} / 1) 100%)`,"linear-gradient(45deg, #ccc 25%, transparent 25%)","linear-gradient(-45deg, #ccc 25%, transparent 25%)","linear-gradient(45deg, transparent 75%, #ccc 75%)","linear-gradient(-45deg, transparent 75%, #ccc 75%)"].join(", ")}}),a("div",{key:"01dcd22dc144e4b8a8288b7e4cde2fc781c4f8f0",class:"xpl-input-color__preview",style:{background:`rgba(${t}, ${e}, ${s}, ${o})`}})),a("div",{key:"64e69fd55e9f7030ca1ee354e4c322d837d41993",class:"xpl-input-color__inputs"},["hex","r","g","b","a"].map((t=>a("xpl-input",{key:t,label:t.toLocaleUpperCase(),name:`color-${t}-input`,placeholder:"hex"===t?"793EF7":"0",value:String(this.colorValues[t]),ref:e=>{this.colorInputElements[t]=e??void 0}})))))))}static get watchers(){return{colorValues:[{valueChanged:0}],hasErrorState:[{onHasErrorStateChanged:0}],value:[{onValuePropChange:0}]}}};export{l as xpl_input_color}
@@ -1 +0,0 @@
1
- import{r as t,h as a,H as s,g as i,c as r}from"./p-ukZKsqqq.js";import{v as e}from"./p-CK3_k8jD.js";const l={active:"green",inactive:"gray",warning:"red"};function d(t){if(!t||!t.trim())return"";const a=t.trim().split(/\s+/).filter(Boolean);return 0===a.length?"":1===a.length?a[0].slice(0,3).toUpperCase():((a[0][0]??"")+(a.length>2?a[1][0]??"":"")+(a[a.length-1][0]??"")).slice(0,3).toUpperCase()}const h=class{constructor(a){t(this,a),this.cachedGroupItems=[],this.cachedSlotContent="",this.disabled=!1}onGroupDataChange(t){this.cachedGroupItems=h.parseGroupData(t)}componentWillLoad(){this.cachedSlotContent=this.el?.textContent?.trim().slice(0,3)??"",this.onGroupDataChange(this.groupData)}static parseGroupData(t){if(null==t)return[];if("string"==typeof t)try{const a=JSON.parse(t);return Array.isArray(a)?a:[]}catch{return[]}return Array.isArray(t)?t:[]}get groupItems(){return this.cachedGroupItems}get statusBadgeVariant(){const t=this.status;if(void 0!==t)return l[t]??t}getPlaceholderText(){return this.cachedSlotContent.length>0?this.cachedSlotContent:d(this.name)}static getSingleAvatarClasses(t,a,s,i){return{"xpl-avatar":!0,[`xpl-avatar--${t}`]:!!t,[`xpl-avatar--${a}`]:!!a,"xpl-avatar--profile":!!s,"xpl-avatar--disabled":!!i}}getAnchorProps(t){return{href:this.href,target:this.target,rel:"_blank"===this.target?"noopener noreferrer":void 0,"aria-label":this.name??"Profile",class:t}}static renderAvatarMedia(t,s,i,r,e=!0){return t?a("img",{alt:s??"",src:t}):a("div",{class:"xpl-avatar__placeholder",role:"img","aria-label":s??r},i||(e?a("slot",null):null))}renderAvatarMediaWithStatusBadge(t){const s=this.getPlaceholderText();return a("div",{...t?{class:t}:{}},h.renderAvatarMedia(this.src,this.name,s,"Profile",!0),this.statusBadgeVariant&&a("xpl-badge",{dotOnly:!0,bordered:!0,variant:this.statusBadgeVariant,"aria-hidden":"true"}))}renderGroupItem(t,s){const i=t.name?d(t.name):"";return a("div",{class:{"xpl-avatar-group__item":!0,"xpl-avatar":!0,[`xpl-avatar--${this.size}`]:!!this.size,[`xpl-avatar--${t.color}`]:!!t.color}},a("div",null,h.renderAvatarMedia(t.src,t.name,i,`Member ${s+1}`,!1)))}renderWithTextContent(){return a("div",{class:"xpl-avatar__with-text-content"},a("div",{class:"xpl-avatar__with-text-name"},this.name),this.subText&&a("div",{class:"xpl-avatar__with-text-sub"},this.subText))}render(){const t=this.variant;if("group"===t){const t=this.groupItems,i=t.slice(0,4),r=t.length-4,e=r>0,l=e?function(t){if(t<=0)return"";if(t<=999)return`+${t}`;const a=500*Math.round(t/500)/1e3;return"+"+(a%1==0?`${a}k`:`${a.toFixed(1)}k`)}(r):"";return a(s,null,a("div",{class:{"xpl-avatar-group":!0,[`xpl-avatar-group--${this.size}`]:!!this.size},role:"group","aria-label":`${t.length} members`},i.map(((t,s)=>a("div",{key:s,class:"xpl-avatar-group__wrap"},this.renderGroupItem(t,s)))),e&&a("div",{class:{"xpl-avatar-group__count":!0,[`xpl-avatar-group__count--${this.size}`]:!!this.size},"aria-label":`${r} more`},l)))}if("with-text"===t){const t=this.renderAvatarMediaWithStatusBadge("xpl-avatar__with-text-avatar"),i={"xpl-avatar":!0,"xpl-avatar--with-text":!0,[`xpl-avatar--${this.color}`]:!!this.color,"xpl-avatar--disabled":!!this.disabled};return a(s,null,this.href&&!this.disabled?a("a",{...this.getAnchorProps("xpl-avatar__with-text-link")},a("div",{class:i},t,this.renderWithTextContent())):a("div",{class:i,"aria-disabled":this.disabled?"true":void 0},t,this.renderWithTextContent()))}const i="profile"===t,r=h.getSingleAvatarClasses(i&&"md"===this.size?void 0:this.size,this.color,i,this.disabled),e=this.renderAvatarMediaWithStatusBadge();return a(s,null,this.href&&!this.disabled?a("a",{...this.getAnchorProps(r)},e):a("div",{class:r,"aria-disabled":this.disabled?"true":void 0},e))}get el(){return i(this)}static get watchers(){return{groupData:[{onGroupDataChange:0}]}}},n=class{constructor(a){t(this,a)}render(){let t="xpl-divider";return t+=` xpl-divider--${this.tier}`,a(s,{key:"61b81934fc56dabb47246db40cd83b9f1dde150a",class:t},a("span",{key:"b81ec769098b9b39fbd4e954e4931bcd580aa7dc"},a("slot",{key:"8410f6c17964a091e9d62ca4db9eda673ab02c46"})))}},o=class{constructor(a){t(this,a),this.radioChange=r(this,"radioChange",7),this.id=e(),this.onChange=t=>{this.radioChange.emit(this.value?this.value:t.target.checked)}}get isChecked(){return void 0!==this.selectedValue&&void 0!==this.value?this.selectedValue===this.value:Boolean(this.checked)}render(){return a(s,{key:"3b69e40977913d82102f8ddad0daaf04c1fdae91",class:{"xpl-checkbox-radio-container":!0,styled:!!this.styled,disabled:!!this.disabled}},a("input",{key:"480a7b9ed8a94630a9e1d31ae39dfa5ca4977869",class:"xpl-radio",type:"radio",checked:this.isChecked,disabled:this.disabled,id:this.id,name:this.name,required:this.required,onChange:this.onChange,value:this.value}),a("label",{key:"aa582808dda2a90ad877ac1267df68df3bce6f38",class:{"xpl-label":!0,"xpl-label--disabled":!!this.disabled},htmlFor:this.id},a("slot",{key:"a75c287415b7d989ba2bfd1a3c4ec122afe345e6"}),this.description&&a("small",{key:"774a273dafdf7e5e82ddd2a99c439cae7f6f9bd1",class:{"xpl-description":!0,"xpl-description--disabled":!!this.disabled}},this.description)))}};export{h as xpl_avatar,n as xpl_divider,o as xpl_radio}
@@ -1 +0,0 @@
1
- import{r as a,h as e,H as c}from"./p-ukZKsqqq.js";const r=class{constructor(e){a(this,e)}render(){return e(c,{key:"ec9689395d536e7018469193ba61c094d79fa004"},e("nav",{key:"ffb0b88d3b331a22d1ae620aeb67ad901c801153",class:"xpl-breadcrumbs","aria-label":"Breadcrumb"},e("ol",{key:"9649caceca01e86584682f4843c30fe080b364e1",role:"list"},e("slot",{key:"68f438d33b5cd458cd0643a4f28c04dd824366c7"}))))}};export{r as xpl_breadcrumbs}
@@ -1 +0,0 @@
1
- import{r as t,h as e,H as s,g as i}from"./p-ukZKsqqq.js";const a=class{constructor(e){t(this,e),this.disabled=!1}componentDidLoad(){this.updateSlottedComponentsWhenDisabled()}componentDidUpdate(){this.updateSlottedComponentsWhenDisabled()}updateSlottedComponentsWhenDisabled(){(this.hostElement?.querySelectorAll("*")??[]).forEach((t=>{"disabled"in t&&(t.disabled=this.disabled)}))}render(){const t=this.el.parentElement?Array.from(this.el.parentElement.children).indexOf(this.el)+1:0;return e(s,{key:"c2cfd05197952dd882bb3cf138dcbbc556e34583",role:"gridcell","aria-colindex":t,class:"xpl-dynamic-table-cell",ref:t=>{this.hostElement=t??void 0}},e("slot",{key:"bb48fdae37888679b567f842e7343091c851318a"}))}get el(){return i(this)}};export{a as xpl_dynamic_table_cell}
@@ -1 +0,0 @@
1
- import{r as e,h as t,H as s,g as c}from"./p-ukZKsqqq.js";const a=class{constructor(t){e(this,t),this.selectedItemCount=0}componentDidLoad(){const e=this.el.querySelector('[slot="actions-right"]');null!==e&&(e.style.marginLeft="auto")}listenToSelectedItemCountChange(e){this.selectedItemCount=e.detail.length}render(){return t(s,{key:"6407dc110234806b694bd78e98920c96db62b678",class:{"xpl-toolbar":!0,dark:!0,hidden:0===this.selectedItemCount}},t("div",{key:"42c9e451f0f796bf8b3ed967699deb4824ae9d76",class:"toolbar"},t("p",{key:"bc5a48dfc2f431a4e88337fa792920413048e059",class:"selected-item-count"},this.selectedItemCount," Selected"),t("div",{key:"ff4caddf1a499b238df37b5ed62543168fe32f4e",class:"actions"},t("slot",{key:"dd8225846c76dd50c943a4adc0e373717dc9c5c2",name:"actions-left"}),t("slot",{key:"066999024eb8cc98be2cfec8077b2afab99e3feb",name:"actions-right"}))))}get el(){return c(this)}};export{a as xpl_toolbar}
@@ -1 +0,0 @@
1
- import{r as e,h as a,H as s}from"./p-ukZKsqqq.js";const n=class{constructor(a){e(this,a),this.accent="none",this.padding="default"}render(){const e="none"!==this.accent;return a(s,{key:"2be99cac0dda8442b54752745f3bf647df334e70",class:{"xpl-panel":!0,[`xpl-panel--accent-${this.accent}`]:e,[`xpl-panel--padding-${this.padding}`]:!0}},e&&a("div",{key:"ff25fa59eff4d886540a5abc3b637478b533b23b","aria-hidden":"true",class:"xpl-panel__accent"}),a("div",{key:"415205b25333615cfe22d41fdfaf4e114547746b",class:"xpl-panel__content"},a("slot",{key:"5573ed5bb1cb102720d2c6e1245656fba8d36b8f"})))}};export{n as xpl_panel}
@@ -1 +0,0 @@
1
- import{r as e,h as s,H as a,g as t}from"./p-ukZKsqqq.js";import{g as l,a as r,t as c}from"./p-BQtbf88X.js";const b=class{constructor(s){e(this,s),this.selected=!1}render(){const e=l(this.el),t=this.target??"",b=r(e,t),p=c(e,t);return s(a,{key:"89c4bb26274f9cd2f317e308d58b03ee48d80ac8","aria-labelledby":p,class:{"xpl-tab-panel":!0,"xpl-tab-panel--selected":this.selected},id:b,role:"tabpanel"},s("slot",{key:"2d8ccc1f14e7415528bbb09fa9ed174e5cea8e00"}))}get el(){return t(this)}};export{b as xpl_tab_panel}
@@ -1 +0,0 @@
1
- import{r as e,h as d,H as s}from"./p-ukZKsqqq.js";const a=class{constructor(d){e(this,d)}render(){return d(s,{key:"3f8c104ae7775cda5f23ff515d8de7013d0ca09c"},d("dl",{key:"f68ec082b0f3587eb9977a03289097d3e838488d",class:"xpl-dashboard"},d("slot",{key:"f67b34cfe1683d3ee2f70be9d3d075603e536559"})))}};export{a as xpl_dashboard}
@@ -1 +0,0 @@
1
- import{r as e,c as s,h as a,H as t}from"./p-ukZKsqqq.js";const c=class{constructor(a){e(this,a),this.navOpen=s(this,"navOpen",7),this.navControl=!1}onNavToggle(){window.innerWidth<=640&&this.navOpen.emit(!1)}render(){return a(t,{key:"ffbe4b34fe5a30cec5bfe506fbc325663db7d02b",class:"xpl-nav-item",role:"listitem",onClick:()=>{this.navControl&&this.onNavToggle()}},a("slot",{key:"c772716a5cac78963468f7e6ae7a34f16dbd2636",name:"link"},a("slot",{key:"0b120ea6bc0e596fee7730459689906e2233521c",name:"icon"}),a("slot",{key:"fd9edd0051e771ba87a37b72245d3bcfa71bd468"})))}};export{c as xpl_nav_item}
@@ -1 +0,0 @@
1
- import{r as s,h as t,H as e}from"./p-ukZKsqqq.js";const i=class{constructor(t){s(this,t),this.xs=6,this.sm=6,this.md=6,this.lg=6}render(){let s="xpl-grid-item";return s+=` xpl-grid-item-xs-${this.xs}`,s+=` xpl-grid-item-sm-${this.sm}`,s+=` xpl-grid-item-md-${this.md}`,s+=` xpl-grid-item-lg-${this.lg}`,t(e,{key:"e0f19711fdc2c90a192335de13f7adaeb65560ef",class:s},t("slot",{key:"f79adf56e33fdf5b4aceee1c2e9b8410d7a43350"}))}};export{i as xpl_grid_item}
@@ -1 +0,0 @@
1
- import{r as e,c as a,h as t,H as s,g as c}from"./p-ukZKsqqq.js";const i=class{constructor(t){e(this,t),this.modalClosed=a(this,"modalClosed",7),this.dialogElement=null,this.isOpen=!1,this.size="medium",this.variant="default",this.handleDialogClose=()=>{this.isOpen=!1,this.modalClosed.emit()},this.handleNativeBackdropClick=e=>{const{dialogElement:a}=this;if(!a||e.target!==a)return;const t=a.getBoundingClientRect();(e.clientX<t.left||e.clientX>t.right||e.clientY<t.top||e.clientY>t.bottom)&&this.handleDialogClose()}}componentDidLoad(){this.dialogElement=this.element.querySelector("dialog"),this.dialogElement&&(this.updateModalState(),this.dialogElement.addEventListener("cancel",this.handleDialogClose),this.dialogElement.addEventListener("click",this.handleNativeBackdropClick))}disconnectedCallback(){this.clearCloseTimer(),this.dialogElement&&(this.dialogElement.removeEventListener("cancel",this.handleDialogClose),this.dialogElement.removeEventListener("click",this.handleNativeBackdropClick))}updateModalState(){this.isOpen?(this.clearCloseTimer(),this.dialogElement?.showModal?.()):this.dialogElement&&"function"==typeof this.dialogElement.close&&(this.clearCloseTimer(),this.closeTimerId=setTimeout((()=>{this.closeTimerId=void 0,this.dialogElement?.close()}),250))}clearCloseTimer(){void 0!==this.closeTimerId&&(clearTimeout(this.closeTimerId),this.closeTimerId=void 0)}render(){return t(s,{key:"f7778c1d428d6a008cfe7731a7cbef692cf0dce8",class:"xpl-modal"},this.isOpen&&t("xpl-backdrop",{key:"764ba9d33983e2c680c732e909226a6295326b85"}),t("dialog",{key:"0d8c01d5dd3c9cb14cd3ca5d6c6a2a466cfbeb7c",class:`xpl-modal__dialog xpl-modal-size--${this.size} xpl-modal--${this.isOpen?"is-open":"is-closed"}`},t("div",{key:"825ee88c897ba15bb75e851481f2f5078b647b6d",class:"xpl-modal__header"},t("div",{key:"7630900b3e13a9fcbe5e73db3cabe3f43efe5cb0",class:"xpl-modal__title"},"warning"===this.variant&&t("xpl-icon",{key:"5f1aadc57fe05727395f6feabbc4c9ce8c83dd61",size:20,icon:"triangle-warning",class:"xpl-modal__alert-icon"}),t("slot",{key:"2735d03fbc4e2520855a5225eed51c4c725c3732",name:"title"}),t("xpl-button",{key:"8c0196cb3d07388308451a050a4becac995cd281",type:"button",class:"xpl-modal__close-button","icon-only":!0,size:"sm",variant:"tertiary",onClick:this.handleDialogClose},t("xpl-icon",{key:"8f1764666f2b86592c0c62b06750edf29cc14a14",icon:"xmark"}))),t("div",{key:"6e4fc6a67288640f8a8ac1f69fb4f44df1c9d229",class:"xpl-modal__subtitle"},t("slot",{key:"ce59d8d14ffd3200e64c65a1ea2bda7918190a1f",name:"subtitle"}))),t("div",{key:"a1e6dd317884149a38863ba97b480f21feaf2657",class:"xpl-modal__body"},t("slot",{key:"43eb4ccf4febe7fe5ae5ed992ce5f6e701231247",name:"body"})),t("div",{key:"a0648d0b989c86ed2592fa15c2c0a06d6b5470e5",class:"xpl-modal__footer"},t("slot",{key:"3f6d0f703cb726d9f603aeeee42cf673dfbbeca6",name:"tertiary"}),t("slot",{key:"98412e5f51a4e86cc68dd3133de2611638deee7e",name:"secondary"}),t("slot",{key:"0121aca5ebaaa738fabf32da32e962deb7920fd5",name:"primary"}))))}get element(){return c(this)}static get watchers(){return{isOpen:[{updateModalState:0}]}}};export{i as xpl_modal}
@@ -1 +0,0 @@
1
- import{r as a,h as e,H as c}from"./p-ukZKsqqq.js";const s=class{constructor(e){a(this,e)}render(){return e(c,{key:"9d5cdbf77eba7913892f083ccaab8f878455c11e",class:"xpl-secondary-nav"},e("nav",{key:"4b56938320beada9e879c71866c3c48d37020f47","aria-label":"Secondary Nav"},e("slot",{key:"613ff6145ce13a4eee2b2dcae31b63eb89a860d0"})))}};export{s as xpl_secondary_nav}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as s,H as i,g as o}from"./p-ukZKsqqq.js";import{a as n,c as a,o as l,f as h,b as r,h as d}from"./p-1M1pu0C2.js";import{i as c}from"./p-Dqb1pIRo.js";const p=4;function u(t){const{offsetPx:e=p,flipFallbackPlacements:s,sizeApply:i}=t;return[l(e),h(s&&s.length>0?{fallbackPlacements:s}:{}),r({apply:i}),d()]}const f={rowHeight:45,overscan:20,virtualizeFrom:200};function m(t,e){const{groupName:i,options:o,subtitle:n,...a}=t;if(i)return s("xpl-dropdown-group",{groupName:i,options:o,...a});const l=void 0!==e;return s("xpl-dropdown-option",{class:l?"xpl-dropdown-option--virtual":void 0,style:l?{transform:`translateY(${e*f.rowHeight}px)`}:void 0,subtitle:n,...a})}const b=class{constructor(s){t(this,s),this.isOpenChange=e(this,"isOpenChange",7),this.virtualEnd=0,this.virtualStart=0,this.isOpen=!1,this.closeOnSelect=!0,this.mode="single",this.anchorToTrigger=!1,this.placement="bottom-start",this.selectOnFocus=!1,this.floating=null,this.virtualScrollRaf=null,this.openAlignmentRaf=null,this.previousOptionCount=0,this.handleClickOutside=({target:t})=>{const{triggerId:e}=this,s=e?document.getElementById(e):null,i=s?.contains(t);this.hostElement.contains(t)||i||!this.isOpen||(this.isOpen=!1)},this.handleKeyDown=t=>{"Escape"===t.key&&this.isOpen&&(this.isOpen=!1)},this.handleVirtualScroll=()=>{null===this.virtualScrollRaf&&(this.virtualScrollRaf=requestAnimationFrame((()=>{this.virtualScrollRaf=null,this.updateVirtualRange()})))},this.setListEl=t=>{t!==this.listEl&&(this.listEl=t,this.listResizeObserver?.disconnect(),t&&"undefined"!=typeof ResizeObserver&&(this.listResizeObserver??(this.listResizeObserver=new ResizeObserver((()=>{this.isVirtualized&&this.handleVirtualScroll()}))),this.listResizeObserver.observe(t)))},this.scheduleOpenAlignment=()=>{null===this.openAlignmentRaf&&(this.openAlignmentRaf=requestAnimationFrame((()=>{this.openAlignmentRaf=null,this.scrollSelectedIntoView(),this.updateVirtualRange()})))}}onOptionsChanged(){const t=this.options?.length??0,e=t!==this.previousOptionCount;if(this.previousOptionCount=t,!this.isVirtualized)return this.virtualStart=0,void(this.virtualEnd=0);const s=this.listEl;if(s){const i=Math.max(0,t*f.rowHeight-s.clientHeight);if(s.scrollTop>i&&(s.scrollTop=i),this.isOpen&&e){const t=this.options?.findIndex((t=>t.isSelected))??-1;t>=0&&(t<this.virtualStart||t>=this.virtualEnd)&&this.scrollSelectedIntoView()}}this.updateVirtualRange()}onAnchorToTriggerChanged(){this.isOpen&&this.startPositioning()}onFlipFallbackPlacementsChanged(){this.isOpen&&this.anchorToTrigger&&this.startPositioning()}onPlacementChanged(){this.isOpen&&this.anchorToTrigger&&this.startPositioning()}onTriggerIdChanged(){this.isOpen&&this.startPositioning()}onSelectedValuesChanged(t,e=!1){if(this.options&&this.options.length>0){this.options.flatMap((t=>t.groupName&&t.options?t.options:[t])).forEach((e=>{const s=e.value||e.label||"";if("single"===this.mode)e.isSelected=s===t;else{const i=Array.isArray(t)?t:[];e.isSelected=i.includes(s)}}));const s=t=>(t.options=t.groupName?t.options?.map(s):void 0,t);this.options=this.options.map(s),this.update&&!e&&this.update(null,{component:this})}}onIsOpenStateChange(t){this.isOpenChange.emit(t),t?(this.startPositioning(),this.alignOnOpen()):(this.stopPositioning(),this.cancelVirtualScroll(),this.virtualStart=0,this.virtualEnd=0)}connectedCallback(){c()&&(document.addEventListener("mousedown",this.handleClickOutside),document.addEventListener("keydown",this.handleKeyDown))}disconnectedCallback(){document.removeEventListener("mousedown",this.handleClickOutside),document.removeEventListener("keydown",this.handleKeyDown),this.stopPositioning(),this.cancelVirtualScroll(),this.listResizeObserver?.disconnect()}componentWillLoad(){this.handleSelect=this.handleSelect.bind(this),this.selectedValues&&this.onSelectedValuesChanged(this.selectedValues,!0),this.previousOptionCount=this.options?.length??0}componentDidLoad(){this.isOpen&&(this.startPositioning(),this.alignOnOpen())}async handleSelect(t,{component:e}){const{hostElement:s,mode:i,options:o,update:n}=this,a="single"===i,l="multi"===i;if(o){const t=e.hostElement.value||e.hostElement.label;if(o.some((t=>t.groupName))){o.flatMap((t=>t.groupName&&t.options?t.options:[t])).forEach((s=>{const i=(s.value||s.label)===t;a?(s.isSelected=i,e.hostElement.isSelected=!0):l&&i&&(s.isSelected=!s.isSelected,e.hostElement.isSelected=s.isSelected)}));const s=t=>(t.options=t.groupName?t.options?.map(s):void 0,t);this.options=o.map(s)}else o.forEach((s=>{const i=(s.value||s.label)===t;a?(s.isSelected=i,i&&(e.hostElement.isSelected=!0)):l&&i&&(s.isSelected=!s.isSelected,e.hostElement.isSelected=s.isSelected)})),this.options=[...o]}else a?Array.from(s.querySelectorAll("xpl-dropdown-option")).forEach((t=>{t.isSelected=t===e.hostElement})):l&&(e.isSelected=!e.isSelected);n&&n(t,{component:this})}startPositioning(){if(!this.anchorToTrigger||!this.triggerId)return;const t=document.getElementById(this.triggerId);t&&(this.stopPositioning(),this.floating=function(t,e,s){if(!c())return{update:async()=>{},stop:()=>{}};const{placement:i,strategy:o,middleware:l,onPosition:h,onReferenceHidden:r,onError:d}=s;let p=0,u=null,f=!0;const m=async()=>{if(!f)return;const s=p;try{const n=await a(t,e,{placement:i,strategy:o,middleware:l});if(!f||s!==p)return;if(n.middlewareData.hide?.referenceHidden&&!0===r?.())return;h(n)}catch(t){if(!f||s!==p)return;d?.(t)}};return u=n(t,e,m),{update:m,stop:()=>{f=!1,p+=1,u&&(u(),u=null)}}}(t,this.hostElement,{placement:this.placement,strategy:"fixed",middleware:u({flipFallbackPlacements:this.flipFallbackPlacements,sizeApply:({availableHeight:t,rects:e})=>{const s=this.hostElement.querySelector(".xpl-dropdown-list");let i=0;if(s){const t=Array.from(this.hostElement.children),e=t.indexOf(s);t.slice(0,e).forEach((t=>{t instanceof HTMLElement&&(i+=t.offsetHeight)}))}const o=getComputedStyle(this.hostElement),n=parseFloat(o.paddingTop)+parseFloat(o.paddingBottom)+parseFloat(o.borderTopWidth)+parseFloat(o.borderBottomWidth),a=s?parseFloat(getComputedStyle(s).getPropertyValue("--xpl-dropdown-list-max-height")):1/0,l=Math.min(a,Math.max(0,t-i-n));Object.assign(this.hostElement.style,{width:`${e.reference.width}px`}),s&&(s.style.maxHeight=`${l}px`)}}),onPosition:({x:t,y:e,placement:s})=>{if(!this.floating)return;const i="top"===s.split("-")[0];Object.assign(this.hostElement.style,{left:`${t}px`,top:`${e}px`}),this.hostElement.classList.toggle("xpl-dropdown--above",i),this.hostElement.classList.toggle("xpl-dropdown--below",!i)},onReferenceHidden:()=>(this.isOpen=!1,!0)}))}stopPositioning(){this.floating?.stop(),this.floating=null,this.hostElement.style.left="",this.hostElement.style.top="",this.hostElement.style.width="",this.hostElement.querySelector(".xpl-dropdown-list")?.style.removeProperty("max-height"),this.hostElement.classList.remove("xpl-dropdown--above","xpl-dropdown--below")}cancelVirtualScroll(){null!==this.virtualScrollRaf&&(cancelAnimationFrame(this.virtualScrollRaf),this.virtualScrollRaf=null),null!==this.openAlignmentRaf&&(cancelAnimationFrame(this.openAlignmentRaf),this.openAlignmentRaf=null)}alignOnOpen(){this.scrollSelectedIntoView(),this.updateVirtualRange(),this.scheduleOpenAlignment()}scrollSelectedIntoView(){const{listEl:t,options:e}=this;if(!t||!e?.length||!this.isVirtualized)return;const s=e.findIndex((t=>t.isSelected));if(s<0)return;const{rowHeight:i}=f,o=s*i-(t.clientHeight-i)/2,n=Math.max(0,e.length*i-t.clientHeight);t.scrollTop=Math.max(0,Math.min(o,n))}updateVirtualRange(){const t=this.listEl,e=this.options?.length??0;if(!t||!e)return;const{rowHeight:s,overscan:i}=f,o=Math.floor(t.scrollTop/s),n=Math.ceil(t.clientHeight/s)||1,a=Math.max(0,o-i),l=Math.min(e,o+n+i);a===this.virtualStart&&l===this.virtualEnd||(this.virtualStart=a,this.virtualEnd=l)}get isVirtualized(){const{options:t}=this;return!!t&&t.length>f.virtualizeFrom&&t.every((t=>!t.groupName&&!t.subtitle))}render(){const{isOpen:t,mode:e,options:o}=this,n=this.isVirtualized;let a;if(o&&o.length)if(n){const{rowHeight:t,overscan:e}=f,i=o.length,n=Math.min(this.virtualStart,i),l=Math.min(i,Math.ceil(300/t)+2*e);a=s("li",{key:"e26d99dc6d29290d64e6408c19b3357b590cffe3",class:"xpl-dropdown__virtual-sizer",style:{height:i*t+"px"}},o.slice(n,this.virtualEnd>n?this.virtualEnd:l).map(((t,e)=>m(t,n+e))))}else a=o.map((t=>m(t)));else a=s("slot",{key:"97760aa46be9b95b750cd5db5453a9229a258182",name:"options"});return s(i,{key:"564b912fee05be97c27e1d791593066793ea5cf4","aria-expanded":t?"true":"false",class:{"xpl-dropdown":!0,"xpl-dropdown--multi":"multi"===e,"xpl-dropdown--open":t,"xpl-dropdown--anchor-to-trigger":this.anchorToTrigger,"xpl-dropdown--virtualized":n},role:"listbox"},s("slot",{key:"1f84f1ce175fc1affae09ad93ed7c2b349b900ba",name:"header"}),s("ul",{key:"933fac0a3585043bf66fcb59525ca1d6874bc2c3",class:"xpl-dropdown-list",ref:t=>{this.setListEl(t)},onScroll:n?this.handleVirtualScroll:void 0},a))}get hostElement(){return o(this)}static get watchers(){return{options:[{onOptionsChanged:0}],anchorToTrigger:[{onAnchorToTriggerChanged:0}],flipFallbackPlacements:[{onFlipFallbackPlacementsChanged:0}],placement:[{onPlacementChanged:0}],triggerId:[{onTriggerIdChanged:0}],selectedValues:[{onSelectedValuesChanged:0}],isOpen:[{onIsOpenStateChange:0}]}}},g=class{constructor(e){t(this,e)}render(){const{groupName:t,options:e}=this,o=e&&e.length&&e.map((({groupName:t,...e})=>t?s("xpl-dropdown-group",{label:t,...e}):s("xpl-dropdown-option",{...e})));return s(i,{key:"6834fa4acc5c15d3256a0289013deb4821d22d57",role:"group","aria-label":t},s("li",{key:"bed8042f619a729e9eb8c4e365e1b87dd1ea93cb",class:"xpl-dropdown-list-item"},s("xpl-dropdown-heading",{key:"7171c8e2dcc007ece292dde758abf27b17cf2a7c",label:t}),s("ul",{key:"a1e2a330759007328ad5b9d7f0ac6f920e5f6eec",class:"xpl-dropdown-list"},o||s("slot",{key:"ea8ea2987afe4decda1e78607d843c68e9285029",name:"options"}))))}},w=class{constructor(e){t(this,e)}render(){return s(i,{key:"71b62b60d09869f77af7a6975a54a58116c002a6",class:{"xpl-dropdown-heading":!0},role:"presentation"},s("span",{key:"ad7614e31b405ff4a9043334716eb1ff546a5c03"},this.label||s("slot",{key:"b0a0d0b2a6f96d9b8b2d16ee5e289bb3592e5d42",name:"heading"})))}},x=class{constructor(e){t(this,e),this.dropdown=null}componentWillLoad(){this.dropdown=this.hostElement.closest("xpl-dropdown")}handleClick(t){if(!this.dropdown)return;const{closeOnSelect:e,mode:s}=this.dropdown;t.x&&t.y&&(this.dropdown.handleSelect(t,{component:this}),"single"===s&&e&&(this.dropdown.isOpen=!1))}handleKeyup(t){if(!this.dropdown)return;const{dropdown:e}=this,{closeOnSelect:s,mode:i,selectOnFocus:o}=this.dropdown;if(o&&["ArrowDown","ArrowLeft","ArrowRight","ArrowUp","Tab"].includes(t.key)){const{activeElement:o}=document,n=o?.closest("xpl-dropdown-option")??null;return e.handleSelect(t,{component:{hostElement:n}}),void("single"===i&&s&&(this.dropdown.isOpen=!1))}["Escape","Enter"].includes(t.key)&&(e.handleSelect(t,{component:this}),("Escape"===t.key||this.dropdown.closeOnSelect&&"Enter"===t.key)&&(this.dropdown.isOpen=!1))}connectedCallback(){this.hostElement.addEventListener("click",this.handleClick.bind(this)),this.hostElement.addEventListener("keyup",this.handleKeyup.bind(this))}disconnectedCallback(){this.hostElement.removeEventListener("click",this.handleClick),this.hostElement.removeEventListener("keyup",this.handleKeyup)}render(){const{label:t,isSelected:e,isDisabled:o,value:n,subtitle:a,icon:l}=this;return s(i,{key:"cfdd7c14ccd6996d9e4e540b3364201d78f68ee8",class:{"xpl-dropdown-option":!0,"xpl-dropdown-option--disabled":!!o,"xpl-dropdown-option--selected":!!e},role:"option","aria-checked":e,"aria-disabled":o,"aria-selected":e,value:n},s("li",{key:"f562da32ddf9725e696659abf6f245d1e9b1f787",class:"xpl-dropdown-list-item"},l&&s("xpl-icon",{key:"10426bcc6a8a88db580eb04b3f83ad5d9316fc73",class:"xpl-dropdown-list-item__icon",icon:l,size:20}),t||s("slot",{key:"5f67b98ef75350ca860e96b5dd0c5375447bf09f",name:"option"}),a&&s("span",{key:"6240790bbe44e43d612245bd052ed2a54fa409e1",class:"xpl-dropdown-list-item__subtitle"},a)))}get hostElement(){return o(this)}};export{b as xpl_dropdown,g as xpl_dropdown_group,w as xpl_dropdown_heading,x as xpl_dropdown_option}
@@ -1 +0,0 @@
1
- import{r as a,h as r,H as s}from"./p-ukZKsqqq.js";const e=class{constructor(r){a(this,r),this.relative=!1}render(){return r(s,{key:"9a815cbf4ec4d4b5f789a8a6fdabeaef90844096",class:{"xpl-backdrop":!0,"xpl-backdrop--fixed":!this.relative,"xpl-backdrop--relative":this.relative},"aria-hidden":"true"})}};export{e as xpl_backdrop}
@@ -1 +0,0 @@
1
- import{r as a,c as t,h as i,H as s}from"./p-ukZKsqqq.js";const l=class{constructor(i){a(this,i),this.navOpen=t(this,"navOpen",7),this.open=!0}onNavToggle(){this.open=!this.open,this.navOpen.emit(this.open)}componentWillLoad(){this.open=void 0!==this.isNavOpenAtStartup?this.isNavOpenAtStartup:this.open}render(){return i(s,{key:"7ad1182d72a730df69cf714b665a6d02eac2e51a"},i("nav",{key:"f0d5ffc31cabc8a075cae2c1ebdaa0e82ca53943","aria-label":"utility navigation bar",class:"xpl-utility-bar"},this.navControl?i("div",null,i("button",{class:"xpl-utility-bar__nav-control",onClick:()=>this.onNavToggle()},i("xpl-icon",{class:"xpl-utility-nav__bars",icon:"three-bars"})),i("slot",{name:"aside"})):i("slot",{name:"aside"}),i("slot",{key:"dfbacf5921308bd6056b8e6d903b31df28613ce0",name:"main"})))}};export{l as xpl_utility_bar}
@@ -1 +0,0 @@
1
- import{r as e,c as a,h as d,H as c,g as s}from"./p-ukZKsqqq.js";const t=class{constructor(d){e(this,d),this.isOpenChange=a(this,"isOpenChange",7),this.isOpen=!1,this.backdrop=!1,this.variant="default",this.showFooter=!0,this.handleClose=()=>{this.isOpen=!1}}watchPropHandler(e){this.isOpen=e,this.isOpenChange.emit(e)}handleScroll(){const e=this.el.querySelector(".content");e&&(e.scrollHeight>e.clientHeight?e.classList.add("has-shadow"):e.classList.remove("has-shadow"))}componentDidLoad(){this.handleScroll()}render(){return d(c,{key:"9f0e122ce05688523e4bc55fbeafb584b0bacaf9",class:"xpl-slideout"},this.backdrop&&this.isOpen&&d("xpl-backdrop",{key:"62f708a14d6e45b9bed40b0d2587186543463a25",onClick:this.handleClose}),d("aside",{key:"cb9499d3295d6cc29f2e007d12fcd80eee2bc794",class:`slideout slideout--${!this.isOpen&&"closed"}`},d("header",{key:"ca191a1c3387e69d4cff95d112d1bf834693316f",class:"header"},d("div",{key:"252035d87faac31b3706a2abd4cae0fbddaaa3e8",class:"title"},d("slot",{key:"a5961cfd192bb02aec2ab6a522bf656487f4083e",name:"title"}),d("xpl-button",{key:"d58b03a81b394dc6b91f86f9db5c756929796df7",class:"close-button","icon-only":!0,size:"sm",variant:"tertiary",onClick:this.handleClose},d("xpl-icon",{key:"4ebb45aa90f5017f0651c190909eb4759a02dfaa",icon:"xmark"}))),d("div",{key:"f67edca86dfc31bb2d69ce00f409610f5010d9a8",class:"subtitle"},d("slot",{key:"390190ad442a301937d9733632fd9fd15416fe6a",name:"subtitle"})),d("div",{key:"8a50eae2c57ac9c1f15643758e75f821feb9c9e5",class:"search"},d("slot",{key:"96ae8ec7a5a630d0e51510cf64c7888241bcfd9a",name:"search"}))),d("xpl-divider",{key:"467308913b114d26438b0eea2ed64642d26286c5",tier:0,class:"divider top"}),d("article",{key:"b0377d229795fc7371665df458765037da1178ad",class:"content",tabIndex:0},d("slot",{key:"bf4c5ee2de34e50b605465ad9f253e54be803d6d",name:"content"})),this.showFooter&&d("footer",{key:"edf941b295e97010fd22b7077ed15f5ca409fe5d"},d("xpl-divider",{key:"57d7514ae797fc4e309fcc3966abfea992f6aecb",tier:0,class:"divider bottom"}),d("div",{key:"df72450ab64fcc163edbbf5514c88b4e17496e51",class:"footer"},d("slot",{key:"2cbb005039f013fdcf76304c470a5dbdfca58d19",name:"tertiary"}),d("slot",{key:"97270ca76edd0d27970f6358b78e834b8140a715",name:"secondary"}),d("slot",{key:"c742e527e1ff5878f6d0fcfeb23b2c32c409e260",name:"primary"})))))}get el(){return s(this)}static get watchers(){return{isOpen:[{watchPropHandler:0}]}}};export{t as xpl_slideout}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,H as e,g as a}from"./p-ukZKsqqq.js";import{i as h}from"./p-Dqb1pIRo.js";const n=class{constructor(s){t(this,s),this.openChange=i(this,"openChange",7),this.drawerClosing=!1,this.hasHeaderSlot=!1,this.open=!1,this.onViewportChange=()=>{this.clearCloseTransition(),this.syncDocKeyDownListener()},this.focusToggleAfterClose=()=>{this.isBelowMdBreakpoint()&&(void 0!==this.toggleFocusTimeoutId&&clearTimeout(this.toggleFocusTimeoutId),this.toggleFocusTimeoutId=setTimeout((()=>{this.toggleFocusTimeoutId=void 0,this.el.querySelector(".xpl-side-nav__toggle button")?.focus()}),0))},this.focusDrawerOnOpen=()=>{this.isBelowMdBreakpoint()&&(void 0!==this.drawerFocusTimeoutId&&clearTimeout(this.drawerFocusTimeoutId),this.drawerFocusTimeoutId=setTimeout((()=>{this.drawerFocusTimeoutId=void 0;const t=this.el.querySelector(".xpl-side-nav__wrapper"),i=t?this.getFocusableElements().find((i=>t.contains(i))):void 0,s=this.el.querySelector(".xpl-side-nav__toggle button");(i??s)?.focus()}),0))},this.onBackdropClick=()=>this.setOpenState(!1),this.onDocKeyDown=t=>{if(this.isMobileDrawerActive()&&!this.shouldYieldFocusToExternalModal())switch(t.key.toLowerCase()){case"escape":if(!this.open)return;if(this.anyDescendantPopoverIsOpen())return;return t.preventDefault(),t.stopPropagation(),void this.setOpenState(!1);case"tab":this.trapTabKey(t)}},this.onToggleClick=()=>this.setOpenState(!this.open)}onOpenChanged(t,i){i&&!t&&this.isBelowMdBreakpoint()?(this.drawerClosing=!0,void 0!==this.closeTransitionTimeoutId&&clearTimeout(this.closeTransitionTimeoutId),this.closeTransitionTimeoutId=setTimeout((()=>{this.closeTransitionTimeoutId=void 0,this.drawerClosing=!1,this.syncDocKeyDownListener()}),600)):this.clearCloseTransition(),this.syncDocKeyDownListener(),i&&!t&&this.focusToggleAfterClose(),!i&&t&&this.focusDrawerOnOpen()}connectedCallback(){h()&&"function"==typeof window.matchMedia&&(this.mobileMq=window.matchMedia("(max-width: 767px)"),this.mobileMq.addEventListener("change",this.onViewportChange)),this.syncDocKeyDownListener(),this.syncHeaderSlot(),this.connectHeaderSlotObserver()}componentWillLoad(){this.syncHeaderSlot()}componentWillRender(){this.disconnectHeaderSlotObserver()}componentDidRender(){this.scheduleHeaderSlotSync()}componentDidLoad(){this.open&&(this.syncDocKeyDownListener(),this.focusDrawerOnOpen())}disconnectedCallback(){void 0!==this.toggleFocusTimeoutId&&(clearTimeout(this.toggleFocusTimeoutId),this.toggleFocusTimeoutId=void 0),void 0!==this.drawerFocusTimeoutId&&(clearTimeout(this.drawerFocusTimeoutId),this.drawerFocusTimeoutId=void 0),this.clearCloseTransition(),this.mobileMq?.removeEventListener("change",this.onViewportChange),this.mobileMq=void 0,this.removeDocKeyDownListener(),void 0!==this.headerSlotSyncTimeoutId&&(clearTimeout(this.headerSlotSyncTimeoutId),this.headerSlotSyncTimeoutId=void 0),this.disconnectHeaderSlotObserver()}async toggle(){this.setOpenState(!this.open)}async setOpen(t){this.setOpenState(t)}removeDocKeyDownListener(){this.el.ownerDocument.removeEventListener("keydown",this.onDocKeyDown,!1)}syncDocKeyDownListener(){this.removeDocKeyDownListener(),this.isMobileDrawerActive()&&this.el.ownerDocument.addEventListener("keydown",this.onDocKeyDown,!1)}isBelowMdBreakpoint(){return this.mobileMq?.matches??!1}isMobileDrawerActive(){return(this.open||this.drawerClosing)&&this.isBelowMdBreakpoint()}clearCloseTransition(){void 0!==this.closeTransitionTimeoutId&&(clearTimeout(this.closeTransitionTimeoutId),this.closeTransitionTimeoutId=void 0),this.drawerClosing=!1}shouldYieldFocusToExternalModal(){const t=this.el.ownerDocument.activeElement;return!(!t||this.el.contains(t))&&null!==t.closest('[aria-modal="true"]')}anyDescendantPopoverIsOpen(){const t=this.el.querySelectorAll("xpl-popover");for(let i=0;i<t.length;i+=1){const s=t[i].querySelector(".xpl-popover");if(s?.classList.contains("xpl-popover--is-open"))return!0}return!1}setOpenState(t){const i=this.open;t!==i&&(this.open=t,this.openChange.emit(t),i&&!t&&this.focusToggleAfterClose())}getFocusableElements(){const t=this.el.ownerDocument.activeElement;return Array.from(this.el.querySelectorAll('button:not([disabled]), a[href]:not([tabindex="-1"]), input:not([disabled]), [tabindex]:not([tabindex="-1"])')).filter((i=>!i.closest("[inert]")&&(null!==i.offsetParent||i===t)))}trapTabKey(t){if(this.shouldYieldFocusToExternalModal())return;const i=this.getFocusableElements();if(0===i.length)return;const s=i[0],e=i[i.length-1],a=this.el.ownerDocument.activeElement;t.shiftKey?a!==s&&this.el.contains(a)||(t.preventDefault(),e.focus()):a!==e&&this.el.contains(a)||(t.preventDefault(),s.focus())}connectHeaderSlotObserver(){this.disconnectHeaderSlotObserver(),"undefined"!=typeof MutationObserver&&(this.headerSlotObserver=new MutationObserver((()=>{this.scheduleHeaderSlotSync()})),this.headerSlotObserver.observe(this.el,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["slot"]}))}disconnectHeaderSlotObserver(){this.headerSlotObserver?.disconnect(),this.headerSlotObserver=void 0}scheduleHeaderSlotSync(){void 0!==this.headerSlotSyncTimeoutId&&clearTimeout(this.headerSlotSyncTimeoutId),this.headerSlotSyncTimeoutId=setTimeout((()=>{this.headerSlotSyncTimeoutId=void 0,this.el.isConnected&&(this.syncHeaderSlot(),this.connectHeaderSlotObserver())}),0)}syncHeaderSlot(){const t=Array.from(this.el.querySelectorAll('[slot="nav-header"]')).some((t=>t.closest("xpl-side-nav")===this.el&&(t.parentElement===this.el||null!==t.closest(".xpl-side-nav__header"))));t!==this.hasHeaderSlot&&(this.hasHeaderSlot=t)}render(){return s(e,{key:"3cb4a93f442dcbdea0acf45159022b06f35af657",class:{"xpl-side-nav":!0,"xpl-side-nav--open":this.open}},s("xpl-button",{key:"e79ef7af139c6ba1321e060713fdf18ab3ea3cd9",class:"xpl-side-nav__toggle",variant:"tertiary",iconOnly:!0,icon:this.open?"sidebar-left-hide":"sidebar-left-show","aria-expanded":this.open?"true":"false","aria-label":this.open?"Close navigation menu":"Open navigation menu",onClick:this.onToggleClick}),s("div",{key:"99858cfceab9a2ac92b4f8a81a987b2a3e80713c",class:"xpl-side-nav__wrapper"},s("nav",{key:"f47e3f61c810d2186d5ba29691b34106a7ca8f3f",class:"xpl-side-nav__content","aria-label":this.label},s("div",{key:"57a14d8b5dd3771134f2f624ae2c781efc2e06e1",class:"xpl-side-nav__scroll-area"},this.hasHeaderSlot&&s("div",{key:"9ab9401928d3dee69d6fb62662ee6b02fc43b149",class:"xpl-side-nav__header"},s("slot",{key:"f1c0014d095bb70b0008d4ded191fae0f31f4395",name:"nav-header"})),s("div",{key:"a68ffd32329d32c19414f0853a6c6b9a011e7d94",class:"xpl-side-nav__section"},s("slot",{key:"897aadd37f865fbea5a2f69b87c6d491b21ca8fd",name:"section"}))),s("div",{key:"a6ef338238ed7b8d083d0553aa7e7b35c842100b",class:"xpl-side-nav__footer"},s("slot",{key:"332d1e28d9567a2293586ad6ab7d1955e533a7c8",name:"nav-footer"})))),s("xpl-backdrop",{key:"d593316822b8d8974a0a94ebf6c9eda84c1d6836",class:"xpl-side-nav__backdrop",onClick:this.onBackdropClick}))}get el(){return a(this)}static get watchers(){return{open:[{onOpenChanged:0}]}}};export{n as xpl_side_nav}
@@ -1 +0,0 @@
1
- import{r as e,h as a,H as c}from"./p-ukZKsqqq.js";const r=class{constructor(a){e(this,a),this.size="wide"}render(){return a(c,{key:"1b43a3fa4173d34533cf7015005b3e37792f0af6"},a("main",{key:"0b0f905db96103b7a7c24cd40af26c448422ce85",class:`xpl-content-area-wrapper xpl-content-area-wrapper__${this.size}`},a("div",{key:"b495ccc07df5e617f147057d7003805c431386d5",class:"xpl-content-area"},a("slot",{key:"093b4b9830e0f6a8bee554bc8bac255d4944784d"}))))}};export{r as xpl_content_area}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,H as e,g as h}from"./p-ukZKsqqq.js";import{v as a}from"./p-CK3_k8jD.js";import{f as r}from"./p-CH4yJ6Qx.js";import{i as n}from"./p-Dqb1pIRo.js";const l=class{constructor(s){t(this,s),this.blurEvent=i(this,"blurEvent",7),this.focusEvent=i(this,"focusEvent",7),this.inputEvent=i(this,"inputEvent",7),this.search=i(this,"search",7),this.valueChange=i(this,"valueChange",7),this.multiline=!1,this.dateFormat="Y-m-d",this.timeFormat="24h",this.allowCustomOption=!1,this.mode="single",this.accept="",this.multiple=!1,this.hideTriggerOnSelect=!1,this.hideFileNames=!1,this.hideAcceptText=!1,this.defaultCountry="US",this.isInternational=!0,this.ariaLabel="",this.type="text",this.handleChildValueChange=t=>{t.stopPropagation(),this.valueChange.emit(t.detail)},this.valueChanged=t=>{this.valueChange.emit(t.target.value)},this.characterCount=0,this.passwordVisible=!1,this.hasPreSlotContent=!1,this.handleBlur=t=>{this.blurEvent.emit(t)},this.handleFocus=t=>{this.focusEvent.emit(t)},this.handleInput=t=>{this.multiline&&this.updateCharacterCount();const{value:i}=t.target;this.inputEvent.emit(i)},this.handleSearchBlurForward=t=>{const{detail:i}=t;i&&(t.stopPropagation(),this.blurEvent.emit(i))},this.handleSearchCommit=t=>{t.stopPropagation(),this.search.emit(t.detail)},this.handleSearchFocusForward=t=>{const{detail:i}=t;i&&(t.stopPropagation(),this.focusEvent.emit(i))}}connectedCallback(){this.syncPreSlotContent(),this.connectPreSlotObserver()}disconnectedCallback(){void 0!==this.preSlotSyncTimeoutId&&(clearTimeout(this.preSlotSyncTimeoutId),this.preSlotSyncTimeoutId=void 0),this.disconnectPreSlotObserver()}componentWillLoad(){null!=this._id&&""!==this._id||(this._id=a()),this.multiline&&void 0!==this.maxCharacterCount&&(this.characterCount=void 0!==this.value?this.value.length:0),this.syncPreSlotContent()}componentWillRender(){this.disconnectPreSlotObserver()}componentDidRender(){this.schedulePreSlotSync()}async setFocus(){"search"!==this.type?this.input?.focus():await(this.searchInputRef?.setFocus())}connectPreSlotObserver(){this.disconnectPreSlotObserver(),this.multiline||"search"===this.type||"undefined"==typeof MutationObserver||(this.preSlotObserver=new MutationObserver((()=>{this.schedulePreSlotSync()})),this.preSlotObserver.observe(this.el,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["slot"]}))}disconnectPreSlotObserver(){this.preSlotObserver?.disconnect(),this.preSlotObserver=void 0}schedulePreSlotSync(){void 0!==this.preSlotSyncTimeoutId&&clearTimeout(this.preSlotSyncTimeoutId),this.preSlotSyncTimeoutId=setTimeout((()=>{this.preSlotSyncTimeoutId=void 0,this.el.isConnected&&(this.syncPreSlotContent(),this.connectPreSlotObserver())}),0)}syncPreSlotContent(){if(this.multiline||"search"===this.type)return;const t=Array.from(this.el.querySelectorAll('[slot="pre"]')).some((t=>t.closest("xpl-input")===this.el));t!==this.hasPreSlotContent&&(this.hasPreSlotContent=t)}updateCharacterCount(){this.characterCount=this.input?.value.length??0}renderInput(){switch(this.type){case"file":return s("xpl-input-file",{accept:this.accept,disabled:this.disabled,hideAcceptText:this.hideAcceptText,hideFileNames:this.hideFileNames,hideTriggerOnSelect:this.hideTriggerOnSelect,multiple:this.multiple,name:this.name,onInputChange:this.handleChildValueChange,_id:this._id},s("slot",{name:"trigger"}));case"color":return s("xpl-input-color",{disabled:this.disabled,value:this.value,placeholder:this.placeholder,required:this.required,hideEyeDropper:this.hideEyeDropper,onInputChange:this.handleChildValueChange});case"date":return s("xpl-input-date",{inputId:this._id,disabled:this.disabled,name:this.name,required:this.required,readonly:this.readonly,value:this.value,placeholder:this.placeholder,post:this.post,pre:this.pre,max:this.max,min:this.min,dateFormat:this.dateFormat,mode:this.mode,onValueChange:this.handleChildValueChange});case"time":return s("xpl-input-time",{inputId:this._id,disabled:this.disabled,name:this.name,required:this.required,readonly:this.readonly,value:this.value,placeholder:this.placeholder,max:this.max,min:this.min,step:this.step,mode:this.mode,timeFormat:this.timeFormat,allowCustomOption:this.allowCustomOption,onValueChange:this.handleChildValueChange});case"phone":return s("xpl-input-phone",{inputId:this._id,disabled:this.disabled,error:!!this.error,name:this.name,required:this.required,readonly:this.readonly,value:this.value,placeholder:this.placeholder,defaultCountry:this.defaultCountry,preferredCountries:this.preferredCountries,isInternational:this.isInternational,onValueChange:this.handleChildValueChange});case"search":{const t=Boolean((this.label??"").trim()),i=Boolean(this.error&&this.error.length>0);return s("xpl-input-search",{ariaLabel:(this.ariaLabel??"").trim()||"Search",autocomplete:this.autocomplete??"off",disabled:this.disabled,errorMessageId:i?`${this._id}-error`:void 0,hasError:i,hasVisibleLabel:t,inputId:this._id??"",name:this.name,onBlurEvent:this.handleSearchBlurForward,onFocusEvent:this.handleSearchFocusForward,onSearch:this.handleSearchCommit,onValueChange:this.handleChildValueChange,placeholder:this.placeholder??"Search",readonly:this.readonly,ref:t=>{this.searchInputRef=t??void 0},required:this.required,shape:this.shape??"rounded",value:this.value??""})}default:return s("div",{class:"xpl-input-wrapper"},!this.multiline&&s("label",{class:{"xpl-input-pre":!0,"xpl-input-pre--hidden":!this.pre&&!this.hasPreSlotContent},htmlFor:this._id},s("slot",{name:"pre"},this.pre)),this.multiline?s("textarea",{disabled:this.disabled,id:this._id,name:this.name,placeholder:this.placeholder,readonly:this.readonly,ref:t=>{this.input=t??void 0},required:this.required,onChange:this.valueChanged,onFocus:this.handleFocus,onBlur:this.handleBlur,onInput:this.handleInput},this.value):s("input",{autocomplete:this.autocomplete,disabled:this.disabled,id:this._id,max:this.max,min:this.min,name:this.name,placeholder:this.placeholder,readonly:this.readonly,ref:t=>{this.input=t??void 0},required:this.required,step:this.step,type:this.type,value:this.value,onChange:this.valueChanged,onFocus:this.handleFocus,onBlur:this.handleBlur,onInput:this.handleInput}),"password"===this.type&&s("button",{"aria-label":"Toggle password visibility",class:"xpl-input-password",onClick:()=>{this.passwordVisible=!this.passwordVisible},role:"presentation"},s("xpl-icon",{icon:this.passwordVisible?"eye-closed":"eye",size:24})),this.post&&!this.multiline&&s("label",{class:"xpl-input-post",htmlFor:this._id},this.post),this.multiline&&void 0!==this.maxCharacterCount&&s("span",{class:"xpl-input-characters"},this.characterCount,"/",this.maxCharacterCount))}}render(){let t=!1;return(this.error||this.multiline&&void 0!==this.maxCharacterCount&&this.characterCount>this.maxCharacterCount)&&(t=!0),s(e,{key:"008387a60d49c0a4d303f7b6254c18ba109138c8",class:{"xpl-input":!0,"xpl-input--disabled":!!this.disabled,"xpl-input--error":t,"xpl-input--readonly":!!this.readonly,[`xpl-input--${this.type}`]:!0}},this.label&&s("label",{key:"73e44138ac4bcd5ab6f96de33d818ae0d0bdb8fb",class:"xpl-input-label",htmlFor:this._id},this.label,this.description&&s("small",{key:"85b33374df5ba7f1c002d1a5555a23013fd5f8f9"},this.description)),this.renderInput(),(this.error?.length??0)>0&&s("label",{key:"802f79003fe348f0d6927701b4becdf086dc207e",class:"xpl-input-error",htmlFor:this._id,id:`${this._id}-error`},s("xpl-icon",{key:"3b43c9816359cfbfc0c11a8874a4b561d04986d1",icon:"circle-warning",size:16}),s("span",{key:"76fe2a5cb424eb17e5d7c9358f81d2ad36775903"},this.error)))}get el(){return h(this)}};function o(t){if(!n())return;let i=t.parentElement;for(;i&&i!==document.body&&i!==document.documentElement;){const t=getComputedStyle(i);if(/auto|scroll/.test(t.overflow+t.overflowX+t.overflowY))return i;i=i.parentElement}}const c=(t=!1)=>`<svg width="8" height="12" viewBox="0 0 8 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="${t?"M0.557948 5.6813L6.06209 0.132167C6.23831 -0.0440556 6.52327 -0.0440556 6.69949 0.132167L7.44187 0.874551C7.61809 1.05077 7.61809 1.33573 7.44187 1.51195L2.99882 6L7.44187 10.488C7.61809 10.6643 7.61809 10.9492 7.44187 11.1254L6.69949 11.8678C6.52327 12.0441 6.23831 12.0441 6.06209 11.8678L0.557948 6.3187C0.381726 6.14248 0.381726 5.85752 0.557948 5.6813Z":"M7.44187 6.3187L1.93773 11.8678C1.76151 12.0441 1.47655 12.0441 1.30033 11.8678L0.557948 11.1254C0.381726 10.9492 0.381726 10.6643 0.557948 10.488L5.001 6L0.557948 1.51195C0.381726 1.33573 0.381726 1.05077 0.557948 0.874551L1.30033 0.132167C1.47655 -0.0440556 1.76151 -0.0440556 1.93773 0.132167L7.44187 5.6813C7.6181 5.85752 7.6181 6.14248 7.44187 6.3187Z"}" /></svg>`,d=class{constructor(s){t(this,s),this.valueChange=i(this,"valueChange",7),this.hasErrorStateChanged=i(this,"hasErrorStateChanged",7),this.rangeSelected=i(this,"rangeSelected",7),this.dateFormat="Y-m-d",this.mode="single",this.flatpickrStaticLayout=!1,this.valueChanged=t=>{this.valueChange.emit(t.target.value)}}onHasErrorStateChanged(t){this.hasErrorStateChanged.emit(t)}onValueChanged(t){this.flatpickrInstance?.setDate(t)}connectedCallback(){queueMicrotask((()=>this.ensureFlatpickr()))}disconnectedCallback(){this.flatpickrInstance?.destroy(),this.flatpickrInstance=void 0,this.flatpickrStaticLayout=!1,this.unwrapStaleFlatpickrWrapper()}componentDidRender(){this.ensureFlatpickr()}ensureFlatpickr(){n()&&!this.flatpickrInstance&&this.input&&this.el.isConnected&&(this.unwrapStaleFlatpickrWrapper(),this.initFlatpickr())}initFlatpickr(){const{input:t}=this;if(!t)return;const i=function(t){if(!n())return!1;let i=t.parentElement;for(;i&&i!==document.body&&i!==document.documentElement;){if("fixed"===getComputedStyle(i).position)return!0;i=i.parentElement}return!1}(this.el);this.flatpickrInstance=r(t,{allowInput:!0,...i?{static:!0}:{appendTo:o(this.el)},dateFormat:this.dateFormat,defaultDate:this.value,maxDate:this.max,minDate:this.min,mode:this.mode,nextArrow:c(),prevArrow:c(!0),onClose:t=>{if(this.hasErrorState=t.length<(this.required?"single"===this.mode?1:2:0)?"required":null,2===t.length){const[i,s]=t;this.rangeSelected.emit({start:i,end:s})}}}),queueMicrotask((()=>{this.flatpickrStaticLayout!==i&&(this.flatpickrStaticLayout=i)}))}unwrapStaleFlatpickrWrapper(){const{input:t}=this,i=t?.parentElement;if(!i?.classList.contains("flatpickr-wrapper"))return;const s=i.parentElement;if(s){for(;i.firstChild;)s.insertBefore(i.firstChild,i);s.removeChild(i)}}render(){return s(e,{key:"ed469d24ccc404df6d361338c6f34b9a902c2a67",class:{"xpl-input-date":!0,[`xpl-input-date--mode-${this.mode}`]:!0,"xpl-input-date--error":!!this.hasErrorState,"xpl-input-date--flatpickr-static":this.flatpickrStaticLayout}},s("div",{key:"ab4798bd6bb4be6495050504eb8a606d80fe84dc",class:"xpl-input-wrapper"},this.pre&&s("label",{key:"4bf483491d4a688564f745ef75b770e741177599",class:"xpl-input-pre",htmlFor:this.inputId},this.pre),s("input",{key:"99030b75c8fe9bb681d9d3c4ea44b16346316c7c",type:"date",id:this.inputId,disabled:this.disabled,name:this.name,required:this.required,readonly:this.readonly,placeholder:this.placeholder,max:this.max,min:this.min,ref:t=>{this.input=t??void 0},onChange:t=>{this.valueChanged(t)}}),s("xpl-icon",{key:"fb4de593bb36664cd8f95518b5da622df545e437",class:"xpl-input-calendar",icon:"calendar",size:24}),this.post&&s("label",{key:"6835c6b4832918efa513e57c62ec5326f63d8c36",class:"xpl-input-post",htmlFor:this.inputId},this.post)))}get el(){return h(this)}static get watchers(){return{hasErrorState:[{onHasErrorStateChanged:0}],value:[{onValueChanged:0}]}}},p=class{constructor(s){t(this,s),this.inputChange=i(this,"inputChange",7),this.accept="",this.multiple=!1,this.hideTriggerOnSelect=!1,this.hideFileNames=!1,this.hideAcceptText=!1,this.files=null,this.openFileDialog=()=>{this.disabled||this.fileInput?.click()},this.handleFileChange=t=>{const i=t.target;this.files=i.files?Array.from(i.files):null},this.onRemoveFileByIndex=t=>{this.files=(this.files??[]).filter(((i,s)=>s!==t))}}onFilesChange(t){this.inputChange.emit({type:"file",value:t})}async removeFileByIndex(t){this.onRemoveFileByIndex(t)}render(){return s(e,{key:"62b134a3517ea8e5d9c0ba8a0f0c0ba56413a05b",class:{"xpl-input-file":!0,"xpl-input-file--hide-trigger-on-select":!!this.hideTriggerOnSelect,"xpl-input-file--disabled":!!this.disabled}},s("span",{key:"8f3aa455cf7fe9f27dbab609969dfac1bf4b1a3a",class:{"xpl-input-file__trigger-wrapper":!0,"xpl-input-file__trigger-wrapper--hidden":!!this.hideTriggerOnSelect&&(this.files?.length??0)>0},role:"button",tabIndex:0,onClick:this.openFileDialog},s("slot",{key:"3d5d42f659cd78b9f54e008113a2ff99ddaa4a03",name:"trigger"})),(this.files?.length??0)>0&&!this.hideFileNames&&s("ul",{key:"d827f178ba04e03d8879b1cf81674226b3f265c7",class:"xpl-input-file__file-list"},(this.files??[]).map(((t,i)=>s("li",{class:"xpl-input-file__file-item"},s("span",{class:"xpl-input-file__file-name"},t.name),s("xpl-icon",{icon:"x-circle",size:24,onClick:t=>{t.preventDefault(),t.stopPropagation(),this.onRemoveFileByIndex(i)},class:"xpl-input-file__remove-icon"}))))),this.accept&&!this.hideAcceptText&&s("span",{key:"3bc1ab3c72d4039a2635b9ceb4a22f4a98875632",class:"xpl-input-file__accept"},"Accepted file types: ",this.accept),s("input",{key:"23f6d50b87fe8e4b315670c73565bc50ca592ed5",onChange:this.handleFileChange,type:"file",ref:t=>{this.fileInput=t??void 0},hidden:!0,accept:this.accept,multiple:this.multiple,name:this.name}))}get el(){return h(this)}static get watchers(){return{files:[{onFilesChange:0}]}}},u=class{constructor(s){t(this,s),this.blurEvent=i(this,"blurEvent",7),this.focusEvent=i(this,"focusEvent",7),this.inputEvent=i(this,"inputEvent",7),this.search=i(this,"search",7),this.valueChange=i(this,"valueChange",7),this.hasAncestorForm=!1,this.ariaLabel="Search",this.autocomplete="off",this.disabled=!1,this.hasError=!1,this.hasVisibleLabel=!1,this.placeholder="Search",this.readonly=!1,this.required=!1,this.shape="rounded",this.value="",this.handleInnerFormSubmit=t=>{t.preventDefault(),this.disabled||this.readonly||this.emitSearchCommit(this.value.trim())},this.handleClear=t=>{t.preventDefault(),this.disabled||this.readonly||(this.value="",this.valueChange.emit(""),this.inputEvent.emit(""),this.inputEl?.focus())},this.handleInput=t=>{const i=t.target;this.value=i.value,this.valueChange.emit(i.value),this.inputEvent.emit(i.value)},this.handleKeyDown=t=>{"Enter"===t.key&&(this.disabled||this.readonly||t.target.form||(t.preventDefault(),this.emitSearchCommit(this.value.trim())))},this.handleFocus=t=>{this.focusEvent.emit(t)},this.handleBlur=t=>{this.blurEvent.emit(t)}}connectedCallback(){this.syncAncestorFormFlag()}async setFocus(){this.inputEl?.focus()}syncAncestorFormFlag(){const t=this.el,i=Boolean(t&&"function"==typeof t.closest&&t.closest("form"));this.hasAncestorForm!==i&&(this.hasAncestorForm=i)}get hasValue(){return void 0!==this.value&&this.value.length>0}get resolvedInputAriaLabel(){if(!this.hasVisibleLabel)return(this.ariaLabel??"").trim()||"Search"}get rendersInnerSearchForm(){return!this.hasAncestorForm}emitSearchCommit(t){this.search.emit(t)}renderShell(){const t=s("div",{class:"xpl-input-search__shell"},s("span",{class:"xpl-input-search__icon","aria-hidden":"true"},s("xpl-icon",{icon:"magnifier",size:20})),s("input",{"aria-describedby":this.hasError?this.errorMessageId:void 0,"aria-invalid":this.hasError?"true":void 0,"aria-label":this.resolvedInputAriaLabel,autocomplete:this.autocomplete,class:"xpl-input-search__input",disabled:this.disabled,id:this.inputId,name:this.name,onBlur:this.handleBlur,onFocus:this.handleFocus,onInput:this.handleInput,onKeyDown:this.handleKeyDown,placeholder:this.placeholder,readonly:this.readonly,ref:t=>{this.inputEl=t??void 0},required:this.required,role:"searchbox",type:"text",value:this.value}),s("button",{"aria-hidden":this.hasValue?void 0:"true","aria-label":"Clear search",class:"xpl-input-search__clear",disabled:this.disabled||this.readonly,onClick:this.handleClear,type:"button"},s("xpl-icon",{icon:"circle-xmark",size:16})));return this.rendersInnerSearchForm?s("form",{class:"xpl-input-search__form",onSubmit:this.handleInnerFormSubmit},t):t}render(){return s(e,{key:"017e5d3958dccf6ca1096cd623ffd49b302a5ab3",class:{"xpl-input-search":!0,"xpl-input-search--disabled":this.disabled,"xpl-input-search--error":this.hasError,"xpl-input-search--has-value":this.hasValue,"xpl-input-search--readonly":this.readonly,"xpl-input-search--shape-box":"box"===this.shape}},this.renderShell())}get el(){return h(this)}};export{l as xpl_input,d as xpl_input_date,p as xpl_input_file,u as xpl_input_search}
@@ -1 +0,0 @@
1
- import{r as a,h as l,H as e}from"./p-ukZKsqqq.js";const i=class{constructor(l){a(this,l),this.withSubnav=!1,this.withUtility=!0,this.navWidth="default",this.navOpen=!0}closeNavOnMobile(){window.innerWidth<=640&&(this.navOpen=!1)}navToggleHandler(){this.navOpen=!this.navOpen}navWithHandler(a){this.navWidth=a.detail}onWindowResize(){this.closeNavOnMobile()}connectedCallback(){this.closeNavOnMobile()}componentWillLoad(){this.navOpen=void 0!==this.isNavOpenAtStartup?this.isNavOpenAtStartup:this.navOpen}render(){let a="xpl-application-shell";this.withUtility&&(a+=" xpl-application-shell--with_utility");let i="xpl-application-shell__nav";return i+=this.navOpen?` xpl-application-shell__nav--${this.navWidth}--open`:` xpl-application-shell__nav--${this.navWidth}`,l(e,{key:"6895a304b435811647b6a0f44f0d2a78d0be43c6",class:a},l("div",{key:"5767a122d4f62d9192c7d842634d568f773780fb",class:i},l("slot",{key:"00b964ddb21516528324510ab7b45769c6a988f0",name:"nav"})),l("div",{key:"55cf42980ad46b4e488e187396da6beb7e6d1233",class:"xpl-application-shell__subnav"},l("slot",{key:"638dfdfa480756bc8e45f3673a909cac7a4a3def",name:"subnav"})),l("div",{key:"b07703d98a000c9fb184b672dd04227640469dea",class:"xpl-application-shell__utility"},l("slot",{key:"224779534adf2572ef39c01ee2e1eb5387da86c2",name:"utility"})),l("div",{key:"c263b693266d46a486c29135df4b594ab1db119b",class:"xpl-application-shell__content"},l("slot",{key:"cd349b0208eb182a20dc423c134cf0f15926effa",name:"content"})),l("xpl-backdrop",{key:"2fe03e892cf9120857eae124994cfb924397da62",onClick:()=>this.navToggleHandler(),class:{"xpl-application-shell__backdrop--open":this.navOpen},relative:!0}))}};export{i as xpl_application_shell}
@@ -1 +0,0 @@
1
- import{h as t,r as a,H as o}from"./p-ukZKsqqq.js";const s=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"13"},t("path",{d:"M0.5 5h15l-7.5 7.5L0.5 5Z",fill:"white",stroke:"none",class:"xpl-tooltip-arrow__fill"}),t("path",{d:"M0.5 5 L8 12.5 L15.5 5",fill:"none",stroke:"black","stroke-width":"1",class:"xpl-tooltip-arrow__stroke"})),l=class{constructor(t){a(this,t),this.position="top-middle",this.hideArrow=!1}render(){return t(o,{key:"1c9ac51c0d216a2822ec5637a02fa133c4055fe6"},t("div",{key:"391476229ce86ce8502c7516d79a755d162c4bbb",class:"xpl-tooltip-container"},t("slot",{key:"66e1f7420b538f6134170cb2ddfaaadb4f788783"}),t("div",{key:"017b59ec94760da135f7f4a00b042be023d7849f",class:`xpl-tooltip xpl-tooltip--${this.position}`},this.text,!this.hideArrow&&t("div",{key:"248aa16bbc3a7945ce6cf57bc5ce832f3676cc91",class:"xpl-tooltip-arrow"},t(s,{key:"ca8a4d517630feb5833509644a335f08fa775b8b"})))))}};export{l as xpl_tooltip}
@@ -1 +0,0 @@
1
- import{r as a,h as e,H as r}from"./p-ukZKsqqq.js";const s=class{constructor(e){a(this,e)}render(){return e(r,{key:"6a9997040f64ebc1ede766230c0310a11fd23fd5",role:"row",class:"xpl-table-header"},e("slot",{key:"b9359ac81366cc2a0790b2268a0a5443867bbadc"}))}};export{s as xpl_table_header}
@@ -1 +0,0 @@
1
- import{r as s,c as t,h as e,H as l}from"./p-ukZKsqqq.js";import{v as a}from"./p-CK3_k8jD.js";const i=class{constructor(e){s(this,e),this.toggleChange=t(this,"toggleChange",7),this.variant="default",this.id=a(),this.onChange=s=>{this.toggleChange.emit(s.target.checked)}}render(){let s="xpl-toggle-container";this.disabled&&(s+=" xpl-toggle-container--disabled");let t="xpl-toggle";return"small"===this.variant&&(t+=" xpl-toggle--small"),e(l,{key:"8088d36a67f046fc7c094b3e1426c8d533c2930e",class:s},(this.heading||this.description)&&e("label",{key:"93f1f01ca1c709f77230bc4245a5a77f0f3b48df",class:{"xpl-label":!0,"xpl-label--disabled":!!this.disabled},htmlFor:this.id},this.heading,this.description&&e("small",{key:"6b39f78fc5991e00d87e792a15f16c60a176a73d",class:{"xpl-description":!0,"xpl-description--disabled":!!this.disabled}},this.description)),e("input",{key:"6d178f3d74d18172f2c25370269a7eb4399dc3aa",class:t,type:"checkbox",checked:this.checked,disabled:this.disabled,id:this.id,name:this.name,onChange:this.onChange}),this.label&&e("label",{key:"2c5310d15e41aedb505a8df32c65aaafc8ffbd70",htmlFor:this.id},this.label))}};export{i as xpl_toggle}
@@ -1,84 +0,0 @@
1
- import { setAutoSnapshotOptions } from "vitest-plugin-vis";
2
- export default {
3
- title: 'Components/Accordion',
4
- component: 'xpl-accordion',
5
- tags: ['beta', 'vrt'],
6
- beforeEach() {
7
- setAutoSnapshotOptions({ enable: true });
8
- },
9
- argTypes: {
10
- header: { type: { name: 'string', required: true } },
11
- description: { type: { name: 'string' } },
12
- borderType: {
13
- options: ['none', 'bottom', 'bordered'],
14
- control: {
15
- type: 'select',
16
- },
17
- },
18
- size: {
19
- options: ['1', '2', '3'],
20
- control: {
21
- type: 'select',
22
- },
23
- },
24
- initialExpanded: { type: { name: 'boolean' } },
25
- },
26
- };
27
- export const Accordion = ({ header, description, borderType, size, initialExpanded, }) => `
28
- <xpl-accordion
29
- header="${header}"
30
- description="${description}"
31
- initial-expanded=${initialExpanded}
32
- border-type="${borderType}"
33
- size="${size}"
34
- >
35
- <div slot="content" class="content">
36
- <strong>Slot Small</strong> Replace me with your content.
37
- </div>
38
- </xpl-accordion>
39
- `;
40
- Accordion.args = {
41
- borderType: 'bottom',
42
- description: 'Accordion Description',
43
- header: 'Accordion Title',
44
- initialExpanded: false,
45
- size: '3',
46
- };
47
- Accordion.parameters = {
48
- 'web-component': {
49
- render: Accordion(Accordion.args),
50
- },
51
- html: {
52
- render: (({ borderType, description, header, initialExpanded, size }) => `
53
- <div
54
- class="xpl-accordion ${{
55
- none: '',
56
- bottom: `xpl-accordion--border-bottom`,
57
- bordered: `xpl-accordion--border-bordered`,
58
- }[borderType]}"
59
- header="${header}"
60
- description="${description}"
61
- initial-expanded="${initialExpanded}"
62
- >
63
- <div class="xpl-accordion">
64
- <button class="xpl-accordion-toggle-area">
65
- <header class="xpl-accordion-header xpl-accordion-header--size-${size}">
66
- ${header}
67
- <xpl-icon class="false xpl-accordion-icon-chevron" icon="chevron-down" size="16"></xpl-icon>
68
- </header>
69
- <span class="xpl-accordion-description">
70
- ${description}
71
- </span>
72
- </button>
73
- </div>
74
- <div role="region" class="xpl-accordion-content--${!initialExpanded ? 'hidden' : 'shown'}">
75
- <strong>Slot Small</strong> Replace me with your content.
76
- </div>
77
- </div>
78
- `)(Accordion.args),
79
- },
80
- design: {
81
- type: 'figma',
82
- url: 'https://www.figma.com/design/MjjYek73MFnHmVNdm45Sd1/Apollo-Web?node-id=19938-18383',
83
- },
84
- };