@xplortech/apollo-core 2.11.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 (753) hide show
  1. package/.typings/apollo-components.html-data.json +160 -10
  2. package/AGENTS.md +29 -5
  3. package/README.md +42 -3
  4. package/build/components/accordion.css +1 -0
  5. package/build/components/application-shell.css +1 -0
  6. package/build/components/avatar.css +1 -0
  7. package/build/components/backdrop.css +1 -0
  8. package/build/components/badge.css +1 -0
  9. package/build/components/banner.css +1 -0
  10. package/build/components/breadcrumbs.css +1 -0
  11. package/build/components/button-row.css +1 -0
  12. package/build/components/button.css +1 -0
  13. package/build/components/calendar.css +1 -0
  14. package/build/components/checkbox-radio.css +1 -0
  15. package/build/components/choicelist.css +1 -0
  16. package/build/components/content-area.css +1 -0
  17. package/build/components/dashboard.css +1 -0
  18. package/build/components/data-card.css +1 -0
  19. package/build/components/divider.css +1 -0
  20. package/build/components/dropdown.css +1 -0
  21. package/build/components/dynamic-table-cell.css +1 -0
  22. package/build/components/dynamic-table-row.css +1 -0
  23. package/build/components/dynamic-table.css +1 -0
  24. package/build/components/grid.css +1 -0
  25. package/build/components/header-accordion.css +1 -0
  26. package/build/components/icon.css +1 -0
  27. package/build/components/input-color.css +1 -0
  28. package/build/components/input-date.css +1 -0
  29. package/build/components/input-file.css +1 -0
  30. package/build/components/input-phone.css +1 -0
  31. package/build/components/input-search.css +1 -0
  32. package/build/components/input-time.css +1 -0
  33. package/build/components/input.css +1 -0
  34. package/build/components/label.css +1 -0
  35. package/build/components/large-card.css +1 -0
  36. package/build/components/list-action.css +1 -0
  37. package/build/components/list-item.css +1 -0
  38. package/build/components/list.css +1 -0
  39. package/build/components/main-nav.css +1 -0
  40. package/build/components/modal.css +1 -0
  41. package/build/components/nav-item.css +1 -0
  42. package/build/components/pagination.css +1 -0
  43. package/build/components/panel.css +1 -0
  44. package/build/components/popover.css +1 -0
  45. package/build/components/progress-bar.css +1 -0
  46. package/build/components/progress-indicator.css +1 -0
  47. package/build/components/secondary-nav.css +1 -0
  48. package/build/components/select.css +1 -0
  49. package/build/components/side-nav.css +1 -0
  50. package/build/components/skeleton.css +1 -0
  51. package/build/components/slideout.css +1 -0
  52. package/build/components/spotlight.css +1 -0
  53. package/build/components/table-body.css +1 -0
  54. package/build/components/table-footer-cell.css +1 -0
  55. package/build/components/table-footer.css +1 -0
  56. package/build/components/table-header-cell.css +1 -0
  57. package/build/components/table-header.css +1 -0
  58. package/build/components/table-row.css +1 -0
  59. package/build/components/table.css +1 -0
  60. package/build/components/tabs.css +1 -0
  61. package/build/components/tag.css +1 -0
  62. package/build/components/toast.css +1 -0
  63. package/build/components/toggle.css +1 -0
  64. package/build/components/toolbar.css +1 -0
  65. package/build/components/tooltip.css +1 -0
  66. package/build/components/top-nav.css +1 -0
  67. package/build/components/utility-bar.css +1 -0
  68. package/build/components-manifest.json +232 -0
  69. package/build/core.css +2 -0
  70. package/build/reset.css +394 -0
  71. package/build/style.css +2 -13345
  72. package/build/tailwind-theme.css +2 -0
  73. package/build/typography.css +1 -0
  74. package/build/variables/apollo.css +779 -0
  75. package/build/variables/field-edge.css +554 -0
  76. package/build/vendor/flatpickr.css +1 -0
  77. package/dist/apollo-core/apollo-core.css +2 -55
  78. package/dist/apollo-core/apollo-core.esm.js +1 -1
  79. package/dist/apollo-core/p-0368a1df.entry.js +1 -0
  80. package/dist/apollo-core/p-056a99e4.entry.js +1 -0
  81. package/dist/apollo-core/p-068e3532.entry.js +1 -0
  82. package/dist/apollo-core/p-06a9a27b.entry.js +1 -0
  83. package/dist/apollo-core/p-0958c719.entry.js +1 -0
  84. package/dist/apollo-core/p-0a0a6e43.entry.js +1 -0
  85. package/dist/apollo-core/p-149ddd12.entry.js +1 -0
  86. package/dist/apollo-core/p-1M1pu0C2.js +1 -0
  87. package/dist/apollo-core/p-1a94c2d9.entry.js +1 -0
  88. package/dist/apollo-core/p-2139f9f6.entry.js +1 -0
  89. package/dist/apollo-core/p-256ece8b.entry.js +1 -0
  90. package/dist/apollo-core/p-28bce81a.entry.js +1 -0
  91. package/dist/apollo-core/p-2938ab4f.entry.js +1 -0
  92. package/dist/apollo-core/p-2c995d80.entry.js +1 -0
  93. package/dist/apollo-core/p-2faa7b9c.entry.js +1 -0
  94. package/dist/apollo-core/p-30b1b700.entry.js +1 -0
  95. package/dist/apollo-core/p-32084caf.entry.js +1 -0
  96. package/dist/apollo-core/p-38586952.entry.js +1 -0
  97. package/dist/apollo-core/p-47bda204.entry.js +1 -0
  98. package/dist/apollo-core/p-4a2323b3.entry.js +1 -0
  99. package/dist/apollo-core/p-4ad79534.entry.js +1 -0
  100. package/dist/apollo-core/p-4d4acd1f.entry.js +1 -0
  101. package/dist/apollo-core/p-50fae269.entry.js +1 -0
  102. package/dist/apollo-core/p-54903322.entry.js +1 -0
  103. package/dist/apollo-core/p-5730d96c.entry.js +1 -0
  104. package/dist/apollo-core/p-581b702c.entry.js +1 -0
  105. package/dist/apollo-core/p-5d9a593e.entry.js +1 -0
  106. package/dist/apollo-core/p-60cb3cfb.entry.js +1 -0
  107. package/dist/apollo-core/p-722b145a.entry.js +1 -0
  108. package/dist/apollo-core/p-75e5bfe0.entry.js +1 -0
  109. package/dist/apollo-core/p-77fe3cc1.entry.js +1 -0
  110. package/dist/apollo-core/p-790709c0.entry.js +1 -0
  111. package/dist/apollo-core/p-82812126.entry.js +1 -0
  112. package/dist/apollo-core/p-83bb7607.entry.js +1 -0
  113. package/dist/apollo-core/p-8664d88b.entry.js +1 -0
  114. package/dist/apollo-core/p-8845106f.entry.js +1 -0
  115. package/dist/apollo-core/p-8a925e9d.entry.js +1 -0
  116. package/dist/apollo-core/p-9064badb.entry.js +1 -0
  117. package/dist/apollo-core/p-91895c40.entry.js +1 -0
  118. package/dist/apollo-core/p-969d5cca.entry.js +1 -0
  119. package/dist/apollo-core/p-99a79cf4.entry.js +1 -0
  120. package/dist/apollo-core/p-BFTU3MAI.js +1 -0
  121. package/dist/apollo-core/p-BQtbf88X.js +1 -0
  122. package/dist/apollo-core/p-CWdQxaaX.js +1 -0
  123. package/dist/apollo-core/p-C_PEOQWj.js +1 -0
  124. package/dist/apollo-core/p-CzwViN3U.js +1 -0
  125. package/dist/apollo-core/p-DkqlawVY.js +1 -0
  126. package/dist/apollo-core/p-Dqb1pIRo.js +1 -0
  127. package/dist/apollo-core/p-_r9-FML8.js +1 -0
  128. package/dist/apollo-core/p-a0d3b7f8.entry.js +1 -0
  129. package/dist/apollo-core/p-abdf199b.entry.js +1 -0
  130. package/dist/apollo-core/p-ae8a5f66.entry.js +1 -0
  131. package/dist/apollo-core/p-af8ebf49.entry.js +1 -0
  132. package/dist/apollo-core/p-b29025b2.entry.js +1 -0
  133. package/dist/apollo-core/p-b45179fb.entry.js +1 -0
  134. package/dist/apollo-core/p-b5a61076.entry.js +1 -0
  135. package/dist/apollo-core/p-bf7d8e18.entry.js +1 -0
  136. package/dist/apollo-core/p-c48e4884.entry.js +1 -0
  137. package/dist/apollo-core/p-ca4652b3.entry.js +1 -0
  138. package/dist/apollo-core/p-cb5b15c2.entry.js +1 -0
  139. package/dist/apollo-core/p-cc57f20d.entry.js +1 -0
  140. package/dist/apollo-core/p-cdacfcd4.entry.js +1 -0
  141. package/dist/apollo-core/p-cdb5b5c4.entry.js +1 -0
  142. package/dist/apollo-core/p-d0bc7c45.entry.js +1 -0
  143. package/dist/apollo-core/p-d41b8f46.entry.js +1 -0
  144. package/dist/apollo-core/p-d443291f.entry.js +1 -0
  145. package/dist/apollo-core/p-d724c419.entry.js +1 -0
  146. package/dist/apollo-core/p-d9070ae5.entry.js +1 -0
  147. package/dist/apollo-core/p-dca48977.entry.js +1 -0
  148. package/dist/apollo-core/p-e1833287.entry.js +1 -0
  149. package/dist/apollo-core/p-e2890eb1.entry.js +1 -0
  150. package/dist/apollo-core/p-e2b73b60.entry.js +1 -0
  151. package/dist/apollo-core/p-e7e445b0.entry.js +1 -0
  152. package/dist/apollo-core/p-f1c103ff.entry.js +1 -0
  153. package/dist/apollo-core/p-f3a2c79b.entry.js +1 -0
  154. package/dist/apollo-core/p-ffc2f0cf.entry.js +1 -0
  155. package/dist/apollo-core/p-ukZKsqqq.js +2 -0
  156. package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +10 -0
  157. package/dist/cjs/apollo-core.cjs.js +2 -2
  158. package/dist/cjs/floating-ui.dom-DuvGwvW-.js +1710 -0
  159. package/dist/cjs/{index-BaXVr8ux.js → index-3cBvw409.js} +772 -9
  160. package/dist/cjs/index-DP4JWqOH.js +456 -0
  161. package/dist/cjs/{lifecycle-Bf3QwiVa.js → lifecycle-DeSsFfQZ.js} +4 -0
  162. package/dist/cjs/light-dom-slots-CS8Q9rRZ.js +19 -0
  163. package/dist/cjs/loader.cjs.js +2 -2
  164. package/dist/cjs/side-nav-slot-utils-DMog5BVN.js +41 -0
  165. package/dist/cjs/slot-presence-HmQUW2Ba.js +10 -0
  166. package/dist/cjs/tab-a11y-ids--A4ZoXEj.js +27 -0
  167. package/dist/cjs/top-nav-constants-DckvgAo7.js +5 -0
  168. package/dist/cjs/xpl-accordion.cjs.entry.js +5 -3
  169. package/dist/cjs/xpl-application-shell.cjs.entry.js +2 -2
  170. package/dist/cjs/xpl-avatar_3.cjs.entry.js +211 -0
  171. package/dist/cjs/xpl-backdrop.cjs.entry.js +19 -0
  172. package/dist/cjs/xpl-badge.cjs.entry.js +37 -0
  173. package/dist/cjs/xpl-banner.cjs.entry.js +74 -0
  174. package/dist/cjs/xpl-breadcrumb-item.cjs.entry.js +18 -0
  175. package/dist/cjs/xpl-breadcrumbs.cjs.entry.js +14 -0
  176. package/dist/cjs/xpl-button-row.cjs.entry.js +2 -2
  177. package/dist/cjs/xpl-button.cjs.entry.js +81 -0
  178. package/dist/cjs/xpl-calendar.cjs.entry.js +10 -6
  179. package/dist/cjs/xpl-checkbox.cjs.entry.js +32 -0
  180. package/dist/cjs/xpl-choicelist.cjs.entry.js +68 -0
  181. package/dist/cjs/xpl-content-area.cjs.entry.js +15 -0
  182. package/dist/cjs/xpl-dashboard.cjs.entry.js +14 -0
  183. package/dist/cjs/xpl-data-card.cjs.entry.js +111 -0
  184. package/dist/cjs/xpl-dropdown_4.cjs.entry.js +580 -0
  185. package/dist/cjs/xpl-dynamic-table-cell.cjs.entry.js +8 -6
  186. package/dist/cjs/xpl-dynamic-table-row.cjs.entry.js +5 -5
  187. package/dist/cjs/xpl-dynamic-table.cjs.entry.js +11 -18
  188. package/dist/cjs/xpl-grid-item.cjs.entry.js +2 -2
  189. package/dist/cjs/xpl-grid.cjs.entry.js +6 -6
  190. package/dist/cjs/xpl-header-accordion.cjs.entry.js +69 -0
  191. package/dist/cjs/{xpl-avatar_54.cjs.entry.js → xpl-icon.cjs.entry.js} +1174 -10592
  192. package/dist/cjs/xpl-input-color.cjs.entry.js +435 -0
  193. package/dist/cjs/xpl-input-phone.cjs.entry.js +509 -0
  194. package/dist/cjs/xpl-input-time.cjs.entry.js +196 -0
  195. package/dist/cjs/xpl-input_4.cjs.entry.js +525 -0
  196. package/dist/cjs/xpl-large-card.cjs.entry.js +63 -4
  197. package/dist/cjs/xpl-list-item.cjs.entry.js +460 -0
  198. package/dist/cjs/xpl-list.cjs.entry.js +396 -0
  199. package/dist/cjs/xpl-main-nav.cjs.entry.js +2 -2
  200. package/dist/cjs/xpl-modal.cjs.entry.js +107 -0
  201. package/dist/cjs/xpl-nav-header-menu.cjs.entry.js +86 -0
  202. package/dist/cjs/xpl-nav-item.cjs.entry.js +25 -0
  203. package/dist/cjs/xpl-pagination.cjs.entry.js +112 -0
  204. package/dist/cjs/xpl-panel.cjs.entry.js +21 -0
  205. package/dist/cjs/xpl-popover.cjs.entry.js +265 -0
  206. package/dist/cjs/xpl-progress-bar.cjs.entry.js +41 -0
  207. package/dist/cjs/xpl-progress-indicator.cjs.entry.js +74 -0
  208. package/dist/cjs/xpl-secondary-nav.cjs.entry.js +14 -0
  209. package/dist/cjs/xpl-select_2.cjs.entry.js +493 -0
  210. package/dist/cjs/xpl-side-nav-header-item.cjs.entry.js +101 -0
  211. package/dist/cjs/xpl-side-nav-item.cjs.entry.js +130 -0
  212. package/dist/cjs/xpl-side-nav-section.cjs.entry.js +105 -0
  213. package/dist/cjs/xpl-side-nav.cjs.entry.js +276 -0
  214. package/dist/cjs/xpl-skeleton.cjs.entry.js +26 -0
  215. package/dist/cjs/xpl-slideout.cjs.entry.js +47 -0
  216. package/dist/cjs/xpl-spotlight.cjs.entry.js +722 -0
  217. package/dist/cjs/xpl-tab-panel.cjs.entry.js +24 -0
  218. package/dist/cjs/xpl-tab.cjs.entry.js +87 -0
  219. package/dist/cjs/xpl-table-body.cjs.entry.js +14 -0
  220. package/dist/cjs/xpl-table-footer-cell.cjs.entry.js +18 -0
  221. package/dist/cjs/xpl-table-footer.cjs.entry.js +14 -0
  222. package/dist/cjs/xpl-table-header-cell.cjs.entry.js +5 -3
  223. package/dist/cjs/xpl-table-header.cjs.entry.js +2 -2
  224. package/dist/cjs/xpl-table-row.cjs.entry.js +20 -0
  225. package/dist/cjs/xpl-table.cjs.entry.js +185 -0
  226. package/dist/cjs/xpl-tabs.cjs.entry.js +373 -0
  227. package/dist/cjs/xpl-toast.cjs.entry.js +91 -0
  228. package/dist/cjs/xpl-toggle.cjs.entry.js +6 -6
  229. package/dist/cjs/xpl-toolbar.cjs.entry.js +3 -3
  230. package/dist/cjs/xpl-tooltip.cjs.entry.js +18 -0
  231. package/dist/cjs/xpl-top-nav-item.cjs.entry.js +435 -0
  232. package/dist/cjs/xpl-top-nav-menu.cjs.entry.js +16 -22
  233. package/dist/cjs/xpl-top-nav.cjs.entry.js +342 -0
  234. package/dist/cjs/xpl-utility-bar.cjs.entry.js +23 -0
  235. package/dist/collection/collection-manifest.json +7 -1
  236. package/dist/collection/components/xpl-accordion/xpl-accordion.js +4 -2
  237. package/dist/collection/components/xpl-application-shell/xpl-application-shell.js +1 -1
  238. package/dist/collection/components/xpl-avatar/xpl-avatar.js +13 -16
  239. package/dist/collection/components/xpl-backdrop/xpl-backdrop.js +1 -1
  240. package/dist/collection/components/xpl-badge/xpl-badge.js +4 -5
  241. package/dist/collection/components/xpl-banner/xpl-banner.js +7 -9
  242. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.js +1 -1
  243. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.js +1 -1
  244. package/dist/collection/components/xpl-button/xpl-button.js +17 -14
  245. package/dist/collection/components/xpl-button-row/xpl-button-row.js +1 -1
  246. package/dist/collection/components/xpl-calendar/xpl-calendar.js +9 -5
  247. package/dist/collection/components/xpl-checkbox/xpl-checkbox.js +7 -8
  248. package/dist/collection/components/xpl-choicelist/xpl-choicelist.js +6 -6
  249. package/dist/collection/components/xpl-content-area/xpl-content-area.js +1 -1
  250. package/dist/collection/components/xpl-dashboard/xpl-dashboard.js +1 -1
  251. package/dist/collection/components/xpl-data-card/xpl-data-card.js +69 -5
  252. package/dist/collection/components/xpl-divider/xpl-divider.js +1 -1
  253. package/dist/collection/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.js +2 -17
  254. package/dist/collection/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.js +1 -1
  255. package/dist/collection/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.js +9 -5
  256. package/dist/collection/components/xpl-dropdown/xpl-dropdown.js +113 -118
  257. package/dist/collection/components/xpl-dynamic-table/xpl-dynamic-table.js +13 -19
  258. package/dist/collection/components/xpl-dynamic-table-cell/xpl-dynamic-table-cell.js +7 -5
  259. package/dist/collection/components/xpl-dynamic-table-row/xpl-dynamic-table-row.js +4 -4
  260. package/dist/collection/components/xpl-grid/xpl-grid.js +5 -5
  261. package/dist/collection/components/xpl-grid-item/xpl-grid-item.js +1 -1
  262. package/dist/collection/components/xpl-header-accordion/xpl-header-accordion.js +7 -23
  263. package/dist/collection/components/xpl-icon/xpl-icon.js +2 -3
  264. package/dist/collection/components/xpl-input/xpl-input-color/color-utils.js +16 -10
  265. package/dist/collection/components/xpl-input/xpl-input-color/xpl-input-color.js +47 -38
  266. package/dist/collection/components/xpl-input/xpl-input-date/xpl-input-date.js +31 -14
  267. package/dist/collection/components/xpl-input/xpl-input-file/xpl-input-file.js +11 -13
  268. package/dist/collection/components/xpl-input/xpl-input-phone/xpl-input-phone.js +38 -41
  269. package/dist/collection/components/xpl-input/xpl-input-search/xpl-input-search.js +5 -8
  270. package/dist/collection/components/xpl-input/xpl-input-time/xpl-input-time.js +11 -10
  271. package/dist/collection/components/xpl-input/xpl-input.js +73 -40
  272. package/dist/collection/components/xpl-large-card/xpl-large-card.js +69 -3
  273. package/dist/collection/components/xpl-list/xpl-list-item/xpl-list-item.js +29 -31
  274. package/dist/collection/components/xpl-list/xpl-list.js +21 -26
  275. package/dist/collection/components/xpl-main-nav/xpl-main-nav.js +1 -1
  276. package/dist/collection/components/xpl-modal/xpl-modal.js +61 -19
  277. package/dist/collection/components/xpl-nav-item/xpl-nav-item.js +2 -2
  278. package/dist/collection/components/xpl-pagination/xpl-pagination.js +10 -12
  279. package/dist/collection/components/xpl-panel/xpl-panel.js +2 -2
  280. package/dist/collection/components/xpl-popover/xpl-popover.js +36 -8
  281. package/dist/collection/components/xpl-progress-bar/xpl-progress-bar.js +2 -2
  282. package/dist/collection/components/xpl-progress-indicator/xpl-progress-indicator.js +1 -1
  283. package/dist/collection/components/xpl-radio/xpl-radio.js +7 -7
  284. package/dist/collection/components/xpl-secondary-nav/xpl-secondary-nav.js +1 -1
  285. package/dist/collection/components/xpl-select/select.shared.js +82 -0
  286. package/dist/collection/components/xpl-select/xpl-select.js +91 -49
  287. package/dist/collection/components/xpl-side-nav/side-nav-slot-utils.js +35 -0
  288. package/dist/collection/components/xpl-side-nav/xpl-side-nav-header-item/xpl-side-nav-header-item.js +201 -0
  289. package/dist/collection/components/xpl-side-nav/xpl-side-nav-item/xpl-side-nav-item.js +10 -11
  290. package/dist/collection/components/xpl-side-nav/xpl-side-nav-section/xpl-side-nav-section.js +186 -0
  291. package/dist/collection/components/xpl-side-nav/xpl-side-nav.js +80 -13
  292. package/dist/collection/components/xpl-skeleton/xpl-skeleton.js +3 -3
  293. package/dist/collection/components/xpl-slideout/xpl-slideout.js +4 -1
  294. package/dist/collection/components/xpl-spotlight/xpl-spotlight.js +44 -49
  295. package/dist/collection/components/xpl-tab/xpl-tab.js +63 -8
  296. package/dist/collection/components/xpl-tab-panel/xpl-tab-panel.js +3 -4
  297. package/dist/collection/components/xpl-table/xpl-table-body/xpl-table-body.js +7 -0
  298. package/dist/collection/components/xpl-table/xpl-table-footer/xpl-table-footer.js +7 -0
  299. package/dist/collection/components/xpl-table/xpl-table-footer-cell/xpl-table-footer-cell.js +37 -0
  300. package/dist/collection/components/xpl-table/xpl-table-row/xpl-table-row.js +78 -0
  301. package/dist/collection/components/xpl-table/xpl-table.js +52 -36
  302. package/dist/collection/components/xpl-table-header/xpl-table-header.js +1 -1
  303. package/dist/collection/components/xpl-table-header-cell/xpl-table-header-cell.js +4 -2
  304. package/dist/collection/components/xpl-tabs/tabs.shared.js +75 -50
  305. package/dist/collection/components/xpl-tabs/xpl-tabs.js +29 -25
  306. package/dist/collection/components/xpl-tag/xpl-tag.js +5 -7
  307. package/dist/collection/components/xpl-toast/xpl-toast.js +107 -56
  308. package/dist/collection/components/xpl-toggle/xpl-toggle.js +5 -5
  309. package/dist/collection/components/xpl-toolbar/xpl-toolbar.js +2 -2
  310. package/dist/collection/components/xpl-tooltip/xpl-tooltip.js +1 -1
  311. package/dist/collection/components/xpl-top-nav/xpl-nav-header-menu/xpl-nav-header-menu.js +11 -5
  312. package/dist/collection/components/xpl-top-nav/xpl-top-nav-item/xpl-top-nav-item.js +50 -32
  313. package/dist/collection/components/xpl-top-nav/xpl-top-nav-menu/xpl-top-nav-menu.js +13 -18
  314. package/dist/collection/components/xpl-top-nav/xpl-top-nav.js +96 -34
  315. package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +1 -1
  316. package/dist/collection/utils/floating.js +69 -0
  317. package/dist/collection/utils/layout-ancestors.js +7 -0
  318. package/dist/collection/utils/lifecycle.js +13 -10
  319. package/dist/collection/utils/light-dom-slots.js +15 -0
  320. package/dist/collection/utils/slot-presence.js +6 -0
  321. package/dist/collection/utils/ssr-known-mismatches.js +50 -0
  322. package/dist/collection/utils/tab-a11y-ids.js +1 -2
  323. package/dist/components/index.d.ts +12 -0
  324. package/dist/components/index.js +1 -1
  325. package/dist/components/p-1M1pu0C2.js +1 -0
  326. package/dist/components/{p-BxHFEnPN.js → p-9VnxPQLs.js} +1 -1
  327. package/dist/components/p-B2oLZUDD.js +1 -0
  328. package/dist/components/p-BQtbf88X.js +1 -0
  329. package/dist/components/p-BSHdGbmH.js +1 -0
  330. package/dist/components/p-BYYFsuD3.js +1 -0
  331. package/dist/components/p-BZtxVB1R.js +1 -0
  332. package/dist/components/p-BdpZR4KO.js +1 -0
  333. package/dist/components/p-C_PEOQWj.js +1 -0
  334. package/dist/components/p-Chpgh5SL.js +1 -0
  335. package/dist/components/p-CiHTfk3E.js +1 -0
  336. package/dist/components/p-CnVGKN63.js +1 -0
  337. package/dist/components/p-Cz7zDaI4.js +1 -0
  338. package/dist/components/p-D--kzomA.js +1 -0
  339. package/dist/components/p-D4rv6CNJ.js +1 -0
  340. package/dist/components/p-DAb-txW3.js +1 -0
  341. package/dist/components/p-DYmvElhR.js +1 -0
  342. package/dist/components/p-DkqlawVY.js +1 -0
  343. package/dist/components/p-Dqb1pIRo.js +1 -0
  344. package/dist/components/p-EfW0v54z.js +1 -0
  345. package/dist/components/p-JyNpXfDe.js +1 -0
  346. package/dist/components/p-U0JYwf4c.js +1 -0
  347. package/dist/components/p-YG9Jza0y.js +1 -0
  348. package/dist/components/p-_r9-FML8.js +1 -0
  349. package/dist/components/{p-ByJRw26d.js → p-l3EZ-agL.js} +1 -1
  350. package/dist/components/p-oIn1krdu.js +1 -0
  351. package/dist/components/p-wIU7KUhA.js +1 -0
  352. package/dist/components/p-xFsB212F.js +1 -0
  353. package/dist/components/p-xtOHikY0.js +1 -0
  354. package/dist/components/xpl-accordion.js +1 -1
  355. package/dist/components/xpl-application-shell.js +1 -1
  356. package/dist/components/xpl-avatar.js +1 -1
  357. package/dist/components/xpl-backdrop.js +1 -1
  358. package/dist/components/xpl-badge.js +1 -1
  359. package/dist/components/xpl-banner.js +1 -1
  360. package/dist/components/xpl-breadcrumb-item.js +1 -1
  361. package/dist/components/xpl-breadcrumbs.js +1 -1
  362. package/dist/components/xpl-button-row.js +1 -1
  363. package/dist/components/xpl-button.js +1 -1
  364. package/dist/components/xpl-calendar.js +1 -1
  365. package/dist/components/xpl-checkbox.js +1 -1
  366. package/dist/components/xpl-choicelist.js +1 -1
  367. package/dist/components/xpl-content-area.js +1 -1
  368. package/dist/components/xpl-dashboard.js +1 -1
  369. package/dist/components/xpl-data-card.js +1 -1
  370. package/dist/components/xpl-divider.js +1 -1
  371. package/dist/components/xpl-dropdown-group.js +1 -1
  372. package/dist/components/xpl-dropdown-heading.js +1 -1
  373. package/dist/components/xpl-dropdown-option.js +1 -1
  374. package/dist/components/xpl-dropdown.js +1 -1
  375. package/dist/components/xpl-dynamic-table-cell.js +1 -1
  376. package/dist/components/xpl-dynamic-table-row.js +1 -1
  377. package/dist/components/xpl-dynamic-table.js +1 -1
  378. package/dist/components/xpl-grid-item.js +1 -1
  379. package/dist/components/xpl-grid.js +1 -1
  380. package/dist/components/xpl-header-accordion.js +1 -1
  381. package/dist/components/xpl-icon.js +1 -1
  382. package/dist/components/xpl-input-color.js +1 -1
  383. package/dist/components/xpl-input-date.js +1 -1
  384. package/dist/components/xpl-input-file.js +1 -1
  385. package/dist/components/xpl-input-phone.js +1 -1
  386. package/dist/components/xpl-input-search.js +1 -1
  387. package/dist/components/xpl-input-time.js +1 -1
  388. package/dist/components/xpl-input.js +1 -1
  389. package/dist/components/xpl-large-card.js +1 -1
  390. package/dist/components/xpl-list-item.js +1 -1
  391. package/dist/components/xpl-list.js +1 -1
  392. package/dist/components/xpl-main-nav.js +1 -1
  393. package/dist/components/xpl-modal.js +1 -1
  394. package/dist/components/xpl-nav-header-menu.js +1 -1
  395. package/dist/components/xpl-nav-item.js +1 -1
  396. package/dist/components/xpl-pagination.js +1 -1
  397. package/dist/components/xpl-panel.js +1 -1
  398. package/dist/components/xpl-popover.js +1 -1
  399. package/dist/components/xpl-progress-bar.js +1 -1
  400. package/dist/components/xpl-progress-indicator.js +1 -1
  401. package/dist/components/xpl-radio.js +1 -1
  402. package/dist/components/xpl-secondary-nav.js +1 -1
  403. package/dist/components/xpl-select.js +1 -1
  404. package/dist/components/xpl-side-nav-header-item.d.ts +11 -0
  405. package/dist/components/xpl-side-nav-header-item.js +1 -0
  406. package/dist/components/xpl-side-nav-item.js +1 -1
  407. package/dist/components/xpl-side-nav-section.d.ts +11 -0
  408. package/dist/components/xpl-side-nav-section.js +1 -0
  409. package/dist/components/xpl-side-nav.js +1 -1
  410. package/dist/components/xpl-skeleton.js +1 -1
  411. package/dist/components/xpl-slideout.js +1 -1
  412. package/dist/components/xpl-spotlight.js +1 -1
  413. package/dist/components/xpl-tab-panel.js +1 -1
  414. package/dist/components/xpl-tab.js +1 -1
  415. package/dist/components/xpl-table-body.d.ts +11 -0
  416. package/dist/components/xpl-table-body.js +1 -0
  417. package/dist/components/xpl-table-footer-cell.d.ts +11 -0
  418. package/dist/components/xpl-table-footer-cell.js +1 -0
  419. package/dist/components/xpl-table-footer.d.ts +11 -0
  420. package/dist/components/xpl-table-footer.js +1 -0
  421. package/dist/components/xpl-table-header-cell.js +1 -1
  422. package/dist/components/xpl-table-header.js +1 -1
  423. package/dist/components/xpl-table-row.d.ts +11 -0
  424. package/dist/components/xpl-table-row.js +1 -0
  425. package/dist/components/xpl-table.js +1 -1
  426. package/dist/components/xpl-tabs.js +1 -1
  427. package/dist/components/xpl-tag.js +1 -1
  428. package/dist/components/xpl-toast.js +1 -1
  429. package/dist/components/xpl-toggle.js +1 -1
  430. package/dist/components/xpl-toolbar.js +1 -1
  431. package/dist/components/xpl-tooltip.js +1 -1
  432. package/dist/components/xpl-top-nav-item.js +1 -1
  433. package/dist/components/xpl-top-nav-menu.js +1 -1
  434. package/dist/components/xpl-top-nav.js +1 -1
  435. package/dist/components/xpl-utility-bar.js +1 -1
  436. package/dist/docs/xpl-application-shell/readme.md +33 -0
  437. package/dist/docs/xpl-backdrop/readme.md +7 -0
  438. package/dist/docs/xpl-badge/readme.md +2 -0
  439. package/dist/docs/xpl-breadcrumbs/xpl-breadcrumbs/readme.md +9 -0
  440. package/dist/docs/xpl-button/readme.md +4 -2
  441. package/dist/docs/xpl-checkbox/readme.md +12 -0
  442. package/dist/docs/xpl-choicelist/readme.md +21 -0
  443. package/dist/docs/xpl-content-area/readme.md +8 -0
  444. package/dist/docs/xpl-data-card/readme.md +26 -0
  445. package/dist/docs/xpl-dropdown/readme.md +32 -6
  446. package/dist/docs/xpl-dynamic-table/readme.md +35 -0
  447. package/dist/docs/xpl-header-accordion/readme.md +18 -0
  448. package/dist/docs/xpl-icon/readme.md +21 -0
  449. package/dist/docs/xpl-input/xpl-input-color/readme.md +18 -0
  450. package/dist/docs/xpl-input/xpl-input-file/readme.md +13 -0
  451. package/dist/docs/xpl-input/xpl-input-time/readme.md +9 -0
  452. package/dist/docs/xpl-large-card/readme.md +18 -0
  453. package/dist/docs/xpl-list/readme.md +2 -2
  454. package/dist/docs/xpl-list/xpl-list-item/readme.md +3 -3
  455. package/dist/docs/xpl-main-nav/readme.md +16 -0
  456. package/dist/docs/xpl-modal/readme.md +38 -2
  457. package/dist/docs/xpl-nav-item/readme.md +14 -0
  458. package/dist/docs/xpl-pagination/readme.md +29 -0
  459. package/dist/docs/xpl-radio/readme.md +12 -0
  460. package/dist/docs/xpl-secondary-nav/readme.md +25 -0
  461. package/dist/docs/xpl-select/readme.md +13 -0
  462. package/dist/docs/xpl-side-nav/readme.md +12 -7
  463. package/dist/docs/xpl-side-nav/xpl-side-nav-header-item/readme.md +155 -0
  464. package/dist/docs/xpl-side-nav/xpl-side-nav-item/readme.md +16 -6
  465. package/dist/docs/xpl-side-nav/xpl-side-nav-section/readme.md +126 -0
  466. package/dist/docs/xpl-slideout/readme.md +23 -0
  467. package/dist/docs/xpl-tab/readme.md +14 -8
  468. package/dist/docs/xpl-table/readme.md +4 -4
  469. package/dist/docs/xpl-table/xpl-table-body/readme.md +16 -0
  470. package/dist/docs/xpl-table/xpl-table-footer/readme.md +16 -0
  471. package/dist/docs/xpl-table/xpl-table-footer-cell/readme.md +31 -0
  472. package/dist/docs/xpl-table/xpl-table-row/readme.md +34 -0
  473. package/dist/docs/xpl-toast/readme.md +90 -7
  474. package/dist/docs/xpl-toggle/readme.md +46 -0
  475. package/dist/docs/xpl-toolbar/readme.md +19 -0
  476. package/dist/docs/xpl-top-nav/readme.md +2 -1
  477. package/dist/docs/xpl-top-nav/xpl-top-nav-item/readme.md +5 -5
  478. package/dist/docs/xpl-utility-bar/readme.md +12 -0
  479. package/dist/docs.d.ts +480 -0
  480. package/dist/docs.json +16642 -0
  481. package/dist/esm/_commonjsHelpers-BFTU3MAI.js +7 -0
  482. package/dist/esm/apollo-core.js +3 -3
  483. package/dist/esm/floating-ui.dom-1M1pu0C2.js +1702 -0
  484. package/dist/esm/index-BhYfWG18.js +454 -0
  485. package/dist/esm/{index-CXkZUm1c.js → index-ukZKsqqq.js} +772 -9
  486. package/dist/esm/{lifecycle-BUgtURvw.js → lifecycle-Dqb1pIRo.js} +4 -1
  487. package/dist/esm/light-dom-slots-DkqlawVY.js +17 -0
  488. package/dist/esm/loader.js +3 -3
  489. package/dist/esm/side-nav-slot-utils-C_PEOQWj.js +37 -0
  490. package/dist/esm/slot-presence-_r9-FML8.js +8 -0
  491. package/dist/esm/tab-a11y-ids-BQtbf88X.js +23 -0
  492. package/dist/esm/top-nav-constants-CWdQxaaX.js +3 -0
  493. package/dist/esm/xpl-accordion.entry.js +5 -3
  494. package/dist/esm/xpl-application-shell.entry.js +2 -2
  495. package/dist/esm/xpl-avatar_3.entry.js +207 -0
  496. package/dist/esm/xpl-backdrop.entry.js +17 -0
  497. package/dist/esm/xpl-badge.entry.js +35 -0
  498. package/dist/esm/xpl-banner.entry.js +72 -0
  499. package/dist/esm/xpl-breadcrumb-item.entry.js +16 -0
  500. package/dist/esm/xpl-breadcrumbs.entry.js +12 -0
  501. package/dist/esm/xpl-button-row.entry.js +2 -2
  502. package/dist/esm/xpl-button.entry.js +79 -0
  503. package/dist/esm/xpl-calendar.entry.js +10 -6
  504. package/dist/esm/xpl-checkbox.entry.js +30 -0
  505. package/dist/esm/xpl-choicelist.entry.js +66 -0
  506. package/dist/esm/xpl-content-area.entry.js +13 -0
  507. package/dist/esm/xpl-dashboard.entry.js +12 -0
  508. package/dist/esm/xpl-data-card.entry.js +109 -0
  509. package/dist/esm/xpl-dropdown_4.entry.js +575 -0
  510. package/dist/esm/xpl-dynamic-table-cell.entry.js +8 -6
  511. package/dist/esm/xpl-dynamic-table-row.entry.js +5 -5
  512. package/dist/esm/xpl-dynamic-table.entry.js +11 -18
  513. package/dist/esm/xpl-grid-item.entry.js +2 -2
  514. package/dist/esm/xpl-grid.entry.js +6 -6
  515. package/dist/esm/xpl-header-accordion.entry.js +67 -0
  516. package/dist/esm/{xpl-avatar_54.entry.js → xpl-icon.entry.js} +1174 -10539
  517. package/dist/esm/xpl-input-color.entry.js +433 -0
  518. package/dist/esm/xpl-input-phone.entry.js +507 -0
  519. package/dist/esm/xpl-input-time.entry.js +194 -0
  520. package/dist/esm/xpl-input_4.entry.js +520 -0
  521. package/dist/esm/xpl-large-card.entry.js +63 -4
  522. package/dist/esm/xpl-list-item.entry.js +458 -0
  523. package/dist/esm/xpl-list.entry.js +394 -0
  524. package/dist/esm/xpl-main-nav.entry.js +2 -2
  525. package/dist/esm/xpl-modal.entry.js +105 -0
  526. package/dist/esm/xpl-nav-header-menu.entry.js +84 -0
  527. package/dist/esm/xpl-nav-item.entry.js +23 -0
  528. package/dist/esm/xpl-pagination.entry.js +110 -0
  529. package/dist/esm/xpl-panel.entry.js +19 -0
  530. package/dist/esm/xpl-popover.entry.js +263 -0
  531. package/dist/esm/xpl-progress-bar.entry.js +39 -0
  532. package/dist/esm/xpl-progress-indicator.entry.js +72 -0
  533. package/dist/esm/xpl-secondary-nav.entry.js +12 -0
  534. package/dist/esm/xpl-select_2.entry.js +490 -0
  535. package/dist/esm/xpl-side-nav-header-item.entry.js +99 -0
  536. package/dist/esm/xpl-side-nav-item.entry.js +128 -0
  537. package/dist/esm/xpl-side-nav-section.entry.js +103 -0
  538. package/dist/esm/xpl-side-nav.entry.js +274 -0
  539. package/dist/esm/xpl-skeleton.entry.js +24 -0
  540. package/dist/esm/xpl-slideout.entry.js +45 -0
  541. package/dist/esm/xpl-spotlight.entry.js +720 -0
  542. package/dist/esm/xpl-tab-panel.entry.js +22 -0
  543. package/dist/esm/xpl-tab.entry.js +85 -0
  544. package/dist/esm/xpl-table-body.entry.js +12 -0
  545. package/dist/esm/xpl-table-footer-cell.entry.js +16 -0
  546. package/dist/esm/xpl-table-footer.entry.js +12 -0
  547. package/dist/esm/xpl-table-header-cell.entry.js +5 -3
  548. package/dist/esm/xpl-table-header.entry.js +2 -2
  549. package/dist/esm/xpl-table-row.entry.js +18 -0
  550. package/dist/esm/xpl-table.entry.js +183 -0
  551. package/dist/esm/xpl-tabs.entry.js +371 -0
  552. package/dist/esm/xpl-toast.entry.js +89 -0
  553. package/dist/esm/xpl-toggle.entry.js +6 -6
  554. package/dist/esm/xpl-toolbar.entry.js +3 -3
  555. package/dist/esm/xpl-tooltip.entry.js +16 -0
  556. package/dist/esm/xpl-top-nav-item.entry.js +433 -0
  557. package/dist/esm/xpl-top-nav-menu.entry.js +15 -21
  558. package/dist/esm/xpl-top-nav.entry.js +340 -0
  559. package/dist/esm/xpl-utility-bar.entry.js +21 -0
  560. package/dist/types/components/xpl-application-shell/xpl-application-shell.d.ts +1 -1
  561. package/dist/types/components/xpl-data-card/xpl-data-card.d.ts +12 -0
  562. package/dist/types/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.d.ts +1 -1
  563. package/dist/types/components/xpl-dropdown/xpl-dropdown.d.ts +7 -9
  564. package/dist/types/components/xpl-dynamic-table/xpl-dynamic-table.d.ts +2 -1
  565. package/dist/types/components/xpl-header-accordion/xpl-header-accordion.d.ts +0 -2
  566. package/dist/types/components/xpl-input/xpl-input-date/xpl-input-date.d.ts +1 -1
  567. package/dist/types/components/xpl-input/xpl-input-file/xpl-input-file.d.ts +1 -1
  568. package/dist/types/components/xpl-input/xpl-input-phone/xpl-input-phone.d.ts +2 -2
  569. package/dist/types/components/xpl-input/xpl-input-time/time-utils.d.ts +1 -1
  570. package/dist/types/components/xpl-input/xpl-input-time/xpl-input-time.d.ts +1 -1
  571. package/dist/types/components/xpl-input/xpl-input.d.ts +11 -6
  572. package/dist/types/components/xpl-large-card/xpl-large-card.d.ts +12 -0
  573. package/dist/types/components/xpl-list/listitem.d.ts +5 -0
  574. package/dist/types/components/xpl-list/xpl-list-item/xpl-list-item.d.ts +0 -1
  575. package/dist/types/components/xpl-modal/xpl-modal.d.ts +10 -2
  576. package/dist/types/components/xpl-popover/xpl-popover.d.ts +4 -2
  577. package/dist/types/components/xpl-select/select.shared.d.ts +23 -0
  578. package/dist/types/components/xpl-select/xpl-select.d.ts +1 -0
  579. package/dist/types/components/xpl-side-nav/side-nav-slot-utils.d.ts +3 -0
  580. package/dist/types/components/xpl-side-nav/xpl-side-nav-header-item/xpl-side-nav-header-item.d.ts +24 -0
  581. package/dist/types/components/xpl-side-nav/xpl-side-nav-item/xpl-side-nav-item.d.ts +1 -1
  582. package/dist/types/components/xpl-side-nav/xpl-side-nav-section/xpl-side-nav-section.d.ts +24 -0
  583. package/dist/types/components/xpl-side-nav/xpl-side-nav.d.ts +10 -0
  584. package/dist/types/components/xpl-spotlight/xpl-spotlight.d.ts +1 -0
  585. package/dist/types/components/xpl-tab/xpl-tab.d.ts +5 -0
  586. package/dist/types/components/xpl-table/xpl-table-body/xpl-table-body.d.ts +3 -0
  587. package/dist/types/components/xpl-table/xpl-table-footer/xpl-table-footer.d.ts +3 -0
  588. package/dist/types/components/xpl-table/xpl-table-footer-cell/xpl-table-footer-cell.d.ts +4 -0
  589. package/dist/types/components/xpl-table/xpl-table-row/xpl-table-row.d.ts +6 -0
  590. package/dist/types/components/xpl-table/xpl-table.d.ts +8 -8
  591. package/dist/types/components/xpl-tabs/tabs.shared.d.ts +34 -2
  592. package/dist/types/components/xpl-toast/xpl-toast.d.ts +13 -4
  593. package/dist/types/components/xpl-top-nav/xpl-top-nav-item/xpl-top-nav-item.d.ts +3 -0
  594. package/dist/types/components/xpl-top-nav/xpl-top-nav.d.ts +7 -2
  595. package/dist/types/components.d.ts +1109 -51
  596. package/dist/types/home/runner/work/apollo/apollo/packages/apollo-core/.stencil/utils/form-bindings.d.ts +4 -0
  597. package/dist/types/home/runner/work/apollo/apollo/packages/apollo-core/.stencil/utils/story-vrt.d.ts +1 -0
  598. package/dist/types/third-party.d.ts +20 -0
  599. package/dist/types/utils/floating.d.ts +26 -0
  600. package/dist/types/utils/lifecycle.d.ts +1 -1
  601. package/dist/types/utils/light-dom-slots.d.ts +6 -0
  602. package/dist/types/utils/slot-presence.d.ts +1 -0
  603. package/dist/types/utils/ssr-known-mismatches.d.ts +16 -0
  604. package/dist/utils/form-bindings.js +64 -0
  605. package/dist/utils/story-vrt.js +48 -0
  606. package/hydrate/index.d.ts +287 -0
  607. package/hydrate/index.js +51795 -0
  608. package/hydrate/index.mjs +51785 -0
  609. package/hydrate/package.json +12 -0
  610. package/package.json +112 -59
  611. package/dist/apollo-core/p-048fdde0.entry.js +0 -1
  612. package/dist/apollo-core/p-0abc496e.entry.js +0 -1
  613. package/dist/apollo-core/p-1442c052.entry.js +0 -1
  614. package/dist/apollo-core/p-1e498763.entry.js +0 -1
  615. package/dist/apollo-core/p-26c3a508.entry.js +0 -1
  616. package/dist/apollo-core/p-3b8639b7.entry.js +0 -1
  617. package/dist/apollo-core/p-4ce52107.entry.js +0 -1
  618. package/dist/apollo-core/p-6710fb29.entry.js +0 -1
  619. package/dist/apollo-core/p-7e622809.entry.js +0 -1
  620. package/dist/apollo-core/p-87068144.entry.js +0 -1
  621. package/dist/apollo-core/p-BUgtURvw.js +0 -1
  622. package/dist/apollo-core/p-CXkZUm1c.js +0 -2
  623. package/dist/apollo-core/p-a3b4820a.entry.js +0 -1
  624. package/dist/apollo-core/p-b2d6dd0e.entry.js +0 -1
  625. package/dist/apollo-core/p-bd2249ef.entry.js +0 -1
  626. package/dist/apollo-core/p-c96b7957.entry.js +0 -1
  627. package/dist/apollo-core/p-d6be63cd.entry.js +0 -1
  628. package/dist/apollo-core/p-ddf76cee.entry.js +0 -1
  629. package/dist/apollo-core/p-f0554edd.entry.js +0 -1
  630. package/dist/collection/components/xpl-accordion/accordion.stories.js +0 -80
  631. package/dist/collection/components/xpl-application-shell/application-shell.stories.js +0 -737
  632. package/dist/collection/components/xpl-avatar/avatar.stories.js +0 -147
  633. package/dist/collection/components/xpl-backdrop/backdrop.stories.js +0 -24
  634. package/dist/collection/components/xpl-badge/badge.stories.js +0 -91
  635. package/dist/collection/components/xpl-banner/banner.stories.js +0 -69
  636. package/dist/collection/components/xpl-breadcrumbs/breadcrumbs.stories.js +0 -134
  637. package/dist/collection/components/xpl-button/button.stories.js +0 -142
  638. package/dist/collection/components/xpl-button-row/button-row.stories.js +0 -59
  639. package/dist/collection/components/xpl-calendar/calendar.stories.js +0 -63
  640. package/dist/collection/components/xpl-checkbox/checkbox.stories.js +0 -83
  641. package/dist/collection/components/xpl-choicelist/choicelist.stories.js +0 -138
  642. package/dist/collection/components/xpl-content-area/content-area.stories.js +0 -55
  643. package/dist/collection/components/xpl-dashboard/dashboard.stories.js +0 -48
  644. package/dist/collection/components/xpl-data-card/data-card.stories.js +0 -115
  645. package/dist/collection/components/xpl-divider/divider.stories.js +0 -36
  646. package/dist/collection/components/xpl-dropdown/dropdown.stories.js +0 -387
  647. package/dist/collection/components/xpl-dynamic-table/dynamic-table.stories.js +0 -165
  648. package/dist/collection/components/xpl-grid/grid.stories.js +0 -76
  649. package/dist/collection/components/xpl-header-accordion/header-accordion.stories.js +0 -52
  650. package/dist/collection/components/xpl-icon/icons.stories.js +0 -142
  651. package/dist/collection/components/xpl-input/input.stories.js +0 -696
  652. package/dist/collection/components/xpl-large-card/large-card.stories.js +0 -131
  653. package/dist/collection/components/xpl-list/list.stories.js +0 -389
  654. package/dist/collection/components/xpl-main-nav/main-nav.stories.js +0 -307
  655. package/dist/collection/components/xpl-modal/modal.stories.js +0 -91
  656. package/dist/collection/components/xpl-pagination/pagination.stories.js +0 -57
  657. package/dist/collection/components/xpl-panel/panel.stories.js +0 -53
  658. package/dist/collection/components/xpl-popover/popover.stories.js +0 -164
  659. package/dist/collection/components/xpl-progress-bar/progress-bar.stories.js +0 -96
  660. package/dist/collection/components/xpl-progress-indicator/progress-indicator.stories.js +0 -118
  661. package/dist/collection/components/xpl-radio/radio.stories.js +0 -106
  662. package/dist/collection/components/xpl-secondary-nav/secondary-nav.stories.js +0 -78
  663. package/dist/collection/components/xpl-select/select.stories.js +0 -297
  664. package/dist/collection/components/xpl-side-nav/side-nav.stories.js +0 -634
  665. package/dist/collection/components/xpl-skeleton/skeleton.stories.js +0 -71
  666. package/dist/collection/components/xpl-slideout/slideout.stories.js +0 -109
  667. package/dist/collection/components/xpl-spotlight/spotlight.stories.js +0 -385
  668. package/dist/collection/components/xpl-table/table.stories.js +0 -147
  669. package/dist/collection/components/xpl-table-header/table-header.stories.js +0 -126
  670. package/dist/collection/components/xpl-table-header-cell/table-header-cell.stories.js +0 -75
  671. package/dist/collection/components/xpl-tabs/segment-control.stories.js +0 -31
  672. package/dist/collection/components/xpl-tabs/tabs.stories.js +0 -31
  673. package/dist/collection/components/xpl-tag/tag.stories.js +0 -153
  674. package/dist/collection/components/xpl-toast/toast.stories.js +0 -86
  675. package/dist/collection/components/xpl-toggle/toggle.stories.js +0 -88
  676. package/dist/collection/components/xpl-tooltip/tooltip.stories.js +0 -58
  677. package/dist/collection/components/xpl-top-nav/top-nav.stories.js +0 -745
  678. package/dist/collection/components/xpl-utility-bar/utility-bar.stories.js +0 -87
  679. package/dist/components/p-2xGSxBGa.js +0 -1
  680. package/dist/components/p-B8RYNiz-.js +0 -1
  681. package/dist/components/p-BDWXBWGE.js +0 -1
  682. package/dist/components/p-BJqNuBZr.js +0 -1
  683. package/dist/components/p-BT_Lq3Vd.js +0 -1
  684. package/dist/components/p-BUgtURvw.js +0 -1
  685. package/dist/components/p-B_sq_SAX.js +0 -1
  686. package/dist/components/p-Bsy-VVS5.js +0 -1
  687. package/dist/components/p-C5_Yo0ZP.js +0 -1
  688. package/dist/components/p-C8rmEAx6.js +0 -1
  689. package/dist/components/p-CF_YTx16.js +0 -1
  690. package/dist/components/p-CFpsSZyr.js +0 -1
  691. package/dist/components/p-CUYkG-PB.js +0 -1
  692. package/dist/components/p-CaW0fL0P.js +0 -1
  693. package/dist/components/p-CuisR8WP.js +0 -1
  694. package/dist/components/p-D2SFagIb.js +0 -1
  695. package/dist/components/p-DKUNbsb0.js +0 -1
  696. package/dist/components/p-DcXL24UI.js +0 -1
  697. package/dist/components/p-Dp3H99Yc.js +0 -1
  698. package/dist/components/p-M900WO1C.js +0 -1
  699. package/dist/components/p-Yj_QFaRn.js +0 -1
  700. package/dist/components/p-ZTFt9sBy.js +0 -1
  701. package/dist/components/p-gfb3l9Pr.js +0 -1
  702. package/dist/components/p-h1Gbk5lO.js +0 -1
  703. package/dist/css/typography.stories.js +0 -144
  704. package/dist/types/components/xpl-accordion/accordion.stories.d.ts +0 -37
  705. package/dist/types/components/xpl-application-shell/application-shell.stories.d.ts +0 -64
  706. package/dist/types/components/xpl-avatar/avatar.stories.d.ts +0 -138
  707. package/dist/types/components/xpl-backdrop/backdrop.stories.d.ts +0 -21
  708. package/dist/types/components/xpl-badge/badge.stories.d.ts +0 -80
  709. package/dist/types/components/xpl-banner/banner.stories.d.ts +0 -79
  710. package/dist/types/components/xpl-breadcrumbs/breadcrumbs.stories.d.ts +0 -57
  711. package/dist/types/components/xpl-button/button.stories.d.ts +0 -132
  712. package/dist/types/components/xpl-button-row/button-row.stories.d.ts +0 -45
  713. package/dist/types/components/xpl-calendar/calendar.stories.d.ts +0 -62
  714. package/dist/types/components/xpl-checkbox/checkbox.stories.d.ts +0 -69
  715. package/dist/types/components/xpl-choicelist/choicelist.stories.d.ts +0 -44
  716. package/dist/types/components/xpl-content-area/content-area.stories.d.ts +0 -13
  717. package/dist/types/components/xpl-dashboard/dashboard.stories.d.ts +0 -31
  718. package/dist/types/components/xpl-data-card/data-card.stories.d.ts +0 -118
  719. package/dist/types/components/xpl-divider/divider.stories.d.ts +0 -41
  720. package/dist/types/components/xpl-dropdown/dropdown.stories.d.ts +0 -25
  721. package/dist/types/components/xpl-dynamic-table/dynamic-table.stories.d.ts +0 -45
  722. package/dist/types/components/xpl-grid/grid.stories.d.ts +0 -133
  723. package/dist/types/components/xpl-header-accordion/header-accordion.stories.d.ts +0 -48
  724. package/dist/types/components/xpl-icon/icons.stories.d.ts +0 -54
  725. package/dist/types/components/xpl-input/input.stories.d.ts +0 -240
  726. package/dist/types/components/xpl-large-card/large-card.stories.d.ts +0 -75
  727. package/dist/types/components/xpl-list/list.stories.d.ts +0 -353
  728. package/dist/types/components/xpl-main-nav/main-nav.stories.d.ts +0 -13
  729. package/dist/types/components/xpl-modal/modal.stories.d.ts +0 -103
  730. package/dist/types/components/xpl-pagination/pagination.stories.d.ts +0 -52
  731. package/dist/types/components/xpl-panel/panel.stories.d.ts +0 -22
  732. package/dist/types/components/xpl-popover/popover.stories.d.ts +0 -12
  733. package/dist/types/components/xpl-progress-bar/progress-bar.stories.d.ts +0 -73
  734. package/dist/types/components/xpl-progress-indicator/progress-indicator.stories.d.ts +0 -62
  735. package/dist/types/components/xpl-radio/radio.stories.d.ts +0 -93
  736. package/dist/types/components/xpl-secondary-nav/secondary-nav.stories.d.ts +0 -5
  737. package/dist/types/components/xpl-select/select.stories.d.ts +0 -168
  738. package/dist/types/components/xpl-side-nav/side-nav.stories.d.ts +0 -101
  739. package/dist/types/components/xpl-skeleton/skeleton.stories.d.ts +0 -26
  740. package/dist/types/components/xpl-slideout/slideout.stories.d.ts +0 -120
  741. package/dist/types/components/xpl-spotlight/spotlight.stories.d.ts +0 -197
  742. package/dist/types/components/xpl-table/table.stories.d.ts +0 -88
  743. package/dist/types/components/xpl-table-header/table-header.stories.d.ts +0 -107
  744. package/dist/types/components/xpl-table-header-cell/table-header-cell.stories.d.ts +0 -59
  745. package/dist/types/components/xpl-tabs/segment-control.stories.d.ts +0 -112
  746. package/dist/types/components/xpl-tabs/tabs.stories.d.ts +0 -97
  747. package/dist/types/components/xpl-tag/tag.stories.d.ts +0 -65
  748. package/dist/types/components/xpl-toast/toast.stories.d.ts +0 -66
  749. package/dist/types/components/xpl-toggle/toggle.stories.d.ts +0 -71
  750. package/dist/types/components/xpl-tooltip/tooltip.stories.d.ts +0 -43
  751. package/dist/types/components/xpl-top-nav/top-nav.stories.d.ts +0 -540
  752. package/dist/types/components/xpl-utility-bar/utility-bar.stories.d.ts +0 -20
  753. package/dist/types/home/runner/work/apollo/apollo/packages/apollo-core/.stencil/css/typography.stories.d.ts +0 -90
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as i,H as e,g as a}from"./p-ukZKsqqq.js";import{g as l,t as n,a as r}from"./p-BQtbf88X.js";const h=class{constructor(i){t(this,i),this.tabChange=s(this,"tabChange",7),this.badgeVariant="purple",this.disabled=!1,this.fullWidth=!1,this.groupDisabled=!1,this.iconPosition="start",this.selected=!1,this.variant="tabs",this.handleTabClick=()=>{this.effectivelyDisabled||this.tabChange.emit(this.target)}}async getFocusableElement(){return this.el.querySelector(this.isSegment?"xpl-button button":".xpl-tab__button")}async setTabIndex(t){const s=await this.getFocusableElement();s&&(s.tabIndex=t)}async focusTrigger(){const t=await this.getFocusableElement();t?.focus()}get a11yIds(){const t=l(this.el),s=this.target??"";return{panelId:r(t,s),triggerId:n(t,s)}}get effectivelyDisabled(){return this.disabled||this.groupDisabled}get isSegment(){return"segment"===this.variant}get hasBadge(){return null!=this.badge&&this.badge.length>0}renderBadge(){return this.hasBadge?i("xpl-badge",{class:"xpl-tab__badge",dotOnly:!0,variant:this.badgeVariant},this.badge):null}render(){const t=this.isSegment,{panelId:s,triggerId:a}=this.a11yIds,l=this.selected?"true":"false",n={"xpl-tab":!0,"xpl-tab--selected":this.selected,"xpl-tab--segment":t,"xpl-tab--disabled":this.effectivelyDisabled};if(t)return i(e,{class:n},i("xpl-button",{controlAttrs:{id:a,role:"tab","aria-controls":s,"aria-selected":l},disabled:this.effectivelyDisabled,fullWidth:this.fullWidth,icon:this.icon??"",iconPosition:this.iconPosition,onClick:this.handleTabClick,size:"sm",type:"button",variant:this.selected?"primary":"tertiary"},i("slot",null),this.renderBadge()));const r=this.icon?i("xpl-icon",{class:"xpl-tab__icon",icon:this.icon,size:16}):null;return i(e,{class:n},i("button",{"aria-controls":s,"aria-selected":l,class:"xpl-tab__button",disabled:this.effectivelyDisabled,id:a,onClick:this.handleTabClick,role:"tab",type:"button"},"start"===this.iconPosition?r:null,i("slot",null),"end"===this.iconPosition?r:null,this.renderBadge()))}get el(){return a(this)}};export{h as xpl_tab}
@@ -0,0 +1 @@
1
+ import{r as s,c as t,h as e,H as r,g as i}from"./p-ukZKsqqq.js";const o=class{constructor(e){s(this,e),this.sortChanged=t(this,"sortChanged",7),this.sortable=!1,this.label="",this.type="label",this.sortDirection="none"}toggleSort(){this.sortDirection="asc"===this.sortDirection?"desc":"desc"===this.sortDirection?"none":"asc",this.sortChanged.emit(this.sortDirection)}render(){const s=this.el.parentElement?Array.from(this.el.parentElement.children).indexOf(this.el)+1:0,t=()=>{switch(this.type){case"label":return e("span",null,this.label);case"checkbox":return e("xpl-checkbox",null);case"icon":return this.icon?e("xpl-icon",{icon:this.icon,size:20}):null;default:return""}};return e(r,{role:"columnheader","aria-colindex":s,class:"xpl-table-header-cell "+(this.sortable?"sortable":"non-sortable"),style:{width:`${this.width}px`}},this.sortable?e("button",{onClick:()=>this.toggleSort()},t(),(()=>{switch(this.sortDirection){case"none":return e("xpl-icon",{class:"sort-icon",icon:"arrow-down",size:16});case"asc":return e("xpl-icon",{class:"sort-icon sort-icon--sorted",icon:"arrow-up",size:16});case"desc":return e("xpl-icon",{class:"sort-icon sort-icon--sorted",icon:"arrow-down",size:16});default:return""}})()):t())}get el(){return i(this)}};export{o as xpl_table_header_cell}
@@ -0,0 +1 @@
1
+ import{r as t,h as s,H as e}from"./p-ukZKsqqq.js";const a=class{constructor(s){t(this,s),this.disabled=!1,this.selected=!1,this.isDisabled=!1}componentWillLoad(){this.isDisabled=this.disabled}componentDidLoad(){this.updateRowCellsDisabledState()}componentDidUpdate(){this.updateRowCellsDisabledState()}updateRowCellsDisabledState(){(this.hostElement?.querySelectorAll("xpl-dynamic-table-cell")??[]).forEach((t=>{t.disabled=this.isDisabled}))}render(){return s(e,{key:"4b0e558771154ca42ab57235d9b38861831d7eeb",role:"row",class:`xpl-dynamic-table-row\n ${this.isDisabled?"disabled":""}\n ${this.selected?"selected":""}`,ref:t=>{this.hostElement=t??void 0}},s("slot",{key:"8b2b1a78d797c9a5fcaa8b31db2a41f57335b683"}))}};export{a as xpl_dynamic_table_row}
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as s,H as e}from"./p-ukZKsqqq.js";function h(t){const[i,s]=t.split(":"),e=Number(i)>=12?"PM":"AM";return[(Number(i)%12||12).toString(),s,e]}const n=class{constructor(s){t(this,s),this.valueChange=i(this,"valueChange",7),this.hasErrorStateChanged=i(this,"hasErrorStateChanged",7),this.max="23:59",this.min="00:00",this.step=30,this.mode="single",this.timeFormat="24h",this.allowCustomOption=!1,this.showOptions=!1,this.options=[],this.handleInput=t=>{const i=t.target,s=i.value?.replace(/[^0-9:apmAPM]/g,"");this.value=s},this.handleFocus=()=>{this.showOptions=!0},this.handleBlur=()=>{const t=function(t){if(!t||""===t.trim()||0===t.replace(/[^0-9]/g,"").length)return null;let i=t.trim().toLowerCase();i=i.replace(/(\d)\s+(am|pm)/g,"$1$2"),/^\d{1,2}(am|pm)?$/.test(i)&&(i=i.replace(/(am|pm)?$/,":00$1")),/^\d{1,2}$/.test(i)&&(i=`${i}:00`),/^\d{1,2}:\d{1}$/.test(i)&&(i=`${i}0`);const[s,e]=i.split(":"),h=e.replace(/[^0-9]/g,""),n=i.includes("am");return i.includes("pm")||n?n?`${(Number(s)%12).toString().padStart(2,"0")}:${h}`:`${Number(s)%12+12}:${h}`:`${s.padStart(2,"0")}:${h}`}(this.value??"");this.value=t??void 0},this.handleClick=()=>{this.showOptions=!0}}onValueChange(t){this.valueChange.emit(t),this.updateState(t)}updateState(t){this.formattedValue=this.formatDisplayedTime(t),this.amPm=this.formatDisplayedAmPm(t),this.validateValue()}formatDisplayedTime(t){if(!t)return"";if("12h"===this.timeFormat&&t.includes(":")){const[i,s]=h(t);return`${i}:${s}`}return t}formatDisplayedAmPm(t){if(!t||"12h"!==this.timeFormat)return"";const[,,i]=h(t);return i}validateValue(){if(!this.value)return void(this.hasErrorState=this.required?"required":null);if(!this.value.includes(":")||this.value.trim().length<4||this.value.trim().length>5)return void(this.hasErrorState="Invalid time format, must be HH:MM");const t=String(this.min??"00:00"),i=String(this.max??"23:59");this.hasErrorState=this.value<t||this.value>i?"Out of range":this.allowCustomOption||this.options.some((t=>t.value===this.value))?null:"Invalid option"}onHasErrorStateChanged(t){this.hasErrorStateChanged.emit(t)}componentDidLoad(){"range"===this.mode&&console.warn("Range mode is not supported for time inputs at this time."),this.dropdown?.addEventListener("isOpenChange",(t=>{this.showOptions=t.detail}))}componentWillLoad(){this.options=this.getOptions(),this.value&&this.updateState(this.value)}getOptions(){return function(t,i,s,e){const n=t=>{const[i,s]=t.split(":").map(Number);return 60*i+s},r=n(i.toString()),a=n(s.toString()),o=[];for(let i=r;i<=a;i+=t)o.push((u=i,`${Math.floor(u/60).toString().padStart(2,"0")}:${(u%60).toString().padStart(2,"0")}`));var u;return o.map((t=>({label:"12h"===e?function(t){const[i,s,e]=h(t);return`${i}:${s} ${e}`}(t):t,value:t})))}(this.step,String(this.min??"00:00"),String(this.max??"23:59"),this.timeFormat??"24h").map((({label:t,value:i})=>({label:t,value:i,onClick:()=>{this.value=i,this.showOptions=!1}})))}render(){return s(e,{key:"5494cc0a537152b9d8dfa03e5281b21e6bb6eee2",class:{"xpl-input-time":!0,[`xpl-input-time--mode-${this.mode}`]:!0,"xpl-input-time--error":!!this.hasErrorState}},s("xpl-input",{key:"0d32784cd9fc8acacae1854a966bb426fa135fb5",pre:s("xpl-icon",{class:"xpl-input-time__clock-icon",icon:"clock",size:24}),post:"12h"===this.timeFormat?this.amPm||"AM":void 0,type:"text",_id:this.inputId,disabled:this.disabled,name:this.name,required:this.required,readonly:this.readonly,placeholder:this.placeholder,max:this.max,min:this.min,onInput:this.handleInput,value:this.formattedValue,onFocusEvent:this.handleFocus,onBlurEvent:this.handleBlur,onClick:this.handleClick}),!this.readonly&&!this.disabled&&s("xpl-dropdown",{key:"206c668ca8ee29ceffaf14f14acd90fb076fc0ae",options:this.options,isOpen:this.showOptions,ref:t=>{this.dropdown=t??void 0},class:"xpl-input-time__dropdown"}))}static get watchers(){return{value:[{onValueChange:0}],hasErrorState:[{onHasErrorStateChanged:0}]}}};export{n as xpl_input_time}
@@ -0,0 +1 @@
1
+ import{r as t,c as a,h as e,H as r}from"./p-ukZKsqqq.js";import{i as s}from"./p-Dqb1pIRo.js";const i=(t,a,e)=>{const r=(e/=100)*(a/=100),s=r*(1-Math.abs(t/60%2-1)),i=e-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,a,e)=>[t,a,e].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("xpl-input-color: Only 6-digit hex format supported (e.g. #aabbcc)");const a=t.toLowerCase().slice(1),e=parseInt(a.slice(0,2),16),r=parseInt(a.slice(2,4),16),s=parseInt(a.slice(4,6),16);return{hex:a,r:e,g:r,b:s,a:1}}if(t.startsWith("rgba")||t.startsWith("rgb")){const a=t.match(/[\d.]+/g)?.map(Number);if(!a||a.length<3)throw new Error("xpl-input-color: Invalid rgba/rgb format");const[e,r,s,i=1]=a,o=t=>t.toString(16).padStart(2,"0");return{hex:`${o(e)}${o(r)}${o(s)}`.toLowerCase(),r:e,g:r,b:s,a:i}}if(t.startsWith("hsla")||t.startsWith("hsl")){const a=t.match(/[\d.]+/g)?.map(Number);if(!a||a.length<3)throw new Error("xpl-input-color: Invalid hsla/hsl format");const[e,r,s,i=1]=a,n=((t,a,e,r)=>{e/=100;const s=a=>(a+t/30)%12,i=(a/=100)*Math.min(e,1-e),o=t=>e-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})`})(e,r,s,i),h=n.match(/[\d.]+/g)?.map(Number);if(!h||h.length<3)throw new Error("xpl-input-color: Invalid hsla/hsl format");const[l,c,d]=h;return{hex:o(l,c,d).toLowerCase(),r:l,g:c,b:d,a:i}}throw new Error("xpl-input-color: Unsupported color format")},h=t=>t.a&&1!==t.a?`rgba(${t.r}, ${t.g}, ${t.b}, ${t.a})`:`#${t.hex}`,l={hex:"",r:0,g:0,b:0,a:1},c=class{constructor(e){t(this,e),this.inputChange=a(this,"inputChange",7),this.hasErrorStateChanged=a(this,"hasErrorStateChanged",7),this.placeholder="Select color",this.eyeDropperSupported=!1,this.colorInputElements={},this.handleMove=t=>{const{slGrid:a}=this.colorInputElements;if(!a)return;const e=a.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)-e.left,e.width)),n=Math.max(0,Math.min(r-e.top,e.height)),h=s/e.width,l=n/e.height,c=i(this.hue,100,100),d=(255*(1-h)+h*c.r)*(1-l),p=(255*(1-h)+h*c.g)*(1-l),u=(255*(1-h)+h*c.b)*(1-l),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 a=t.detail?t.detail.trim().replace(/#/g,""):"";if(a){const[t,e,r]=(t=>{const a=t?.match(/\w\w/g);return a?a.map((t=>parseInt(t,16))):[0,0,0]})(a);this.colorValues={hex:a,r:t,g:e,b:r,a:this.colorValues.a??1}}else this.colorValues={...l}},this.onRgbaInputChange=(t,a)=>{const e=parseFloat(a.detail);if(Number.isNaN(e))return void(this.hasErrorState=`invalid value from ${t.name}: ${e}`);const r={...this.colorValues};switch(t.name){case"color-r-input":r.r=e;break;case"color-g-input":r.g=e;break;case"color-b-input":r.b=e;break;case"color-a-input":r.a=e;break;default:this.hasErrorState=`unhandled input: ${t.name}`}r.hex=o(r.r,r.g,r.b),this.colorValues=r},this.onSliderInputChange=t=>{const a=parseFloat(t.value);if(Number.isNaN(a))this.hasErrorState=`invalid value from ${t.name}: ${a}`;else switch(t.name){case"color-hue-slider":this.colorValues=n(`hsla(${a}, 100%, 50%, 1)`),this.hue=a;break;case"color-alpha-slider":this.colorValues={...this.colorValues,a};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,a=this.colorValues.g/255,e=this.colorValues.b/255,r=Math.max(t,a,e),s=Math.min(t,a,e),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=(a-e)/i%6;break;case a:o=(e-t)/i+2;break;case e:o=(t-a)/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={...l},this.hasErrorState=null,this.hue=0}componentWillLoad(){this.syncColorFromValue(this.value)}componentDidLoad(){s()&&(this.eyeDropperSupported="EyeDropper"in window);const{r:t,g:a,b:e,a:r,hue:i,alpha:o,hex:n}=this.colorInputElements;n?.addEventListener("valueChange",(t=>{this.onHexInputChange(t),t.stopPropagation()})),[t,a,e,r].forEach((t=>{t?.addEventListener("valueChange",(a=>{this.onRgbaInputChange(t,a),a.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 a=new t,e=await a.open();this.colorValues=n(e.sRGBHex)}catch(t){this.hasErrorState=`eyedropper cancelled or failed: ${t}`}}render(){const{r:t,g:a,b:s,a:o}=this.colorValues,n=i(this.hue,100,100),{x:l,y:c}=((t,a,e,r)=>{const{s,v:i}=((t,a,e,r)=>{t/=255,a/=255,e/=255;const s=Math.max(t,a,e),i=s-Math.min(t,a,e);let o=0;return o=0===i?0:s===t?(a-e)/i%6:s===a?(e-t)/i+2:(t-a)/i+4,o=Math.round(60*o),o<0&&(o+=360),{h:r??o,s:0===s?0:i/s,v:s}})(a.r,a.g,a.b,t);return{x:Math.round(s*e),y:Math.round((1-i)*r)}})(this.hue,{r:t,g:a,b:s},288,160),d={left:`${l}px`,top:`${c}px`,background:`rgb(${t}, ${a}, ${s})`};return e(r,{key:"2c4bff1c1b56afdc1b4192a2d7c1e0a1f5ebc073",class:"xpl-input-color"},e("xpl-popover",{key:"ba545a5022a532ef2fde8c795bee19f2680514c1",disabled:this.disabled,display:"menu"},e("div",{key:"180e066079da1a97ba31bcaf66d443df8a0c48ca",slot:"trigger"},e("div",{key:"c3cc0cb1484c4111b60b736b750571552437d0cf",class:{"xpl-input-color__display":!0,"xpl-input-color__display--disabled":!!this.disabled,"xpl-input-color__display--error":!!this.hasErrorState}},e("span",{key:"72aaff4e9a54da1f766d1de85bd58216c866a4b7",class:"xpl-input-color__color",style:{background:h(this.colorValues)}}),this.colorValues.hex?e("span",{class:"xpl-input-color__value"},h(this.colorValues)):e("span",{class:"xpl-input-color__placeholder"},this.placeholder),this.eyeDropperSupported&&!this.hideEyeDropper&&e("xpl-icon",{key:"f55cfde9a119e9f0de379bc1bfb5b5d4b53aa992",size:20,icon:"eye-dropper",class:"xpl-input-color__icon",onClick:t=>{t.stopPropagation(),this.openEyeDropper()}}))),e("div",{key:"f80f215000d3a906d65f7f6673c6d8eaabe3fc6d",class:"xpl-input-color__menu"},e("div",{key:"4701c99f8a528900c34005b7c26d9fa544b664d8",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},e("div",{key:"3e0ec5c0821dfed35190053f5e4f147cb7b55eb0",class:"xpl-input-color__sl-thumb",style:d})),e("div",{key:"1b278a13c88aa663a2b8217fbc3524ee213e0f3b",class:"xpl-input-color__grid"},e("input",{key:"5e35bdd6e7776848a2d2eb32a00deb3ec349c21d",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}}),e("input",{key:"1119341201878e5c8511fa3e241afba15eab6d9b",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} ${a} ${s} / 0) 0%, rgb(${t} ${a} ${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(", ")}}),e("div",{key:"3804928b107e92bddbc3afa3fa883caafddbd06b",class:"xpl-input-color__preview",style:{background:`rgba(${t}, ${a}, ${s}, ${o})`}})),e("div",{key:"86961ee31d82724a76f6598bd547c8e650e27f24",class:"xpl-input-color__inputs"},["hex","r","g","b","a"].map((t=>e("xpl-input",{key:t,label:t.toLocaleUpperCase(),name:`color-${t}-input`,placeholder:"hex"===t?"793EF7":"0",value:String(this.colorValues[t]),ref:a=>{this.colorInputElements[t]=a??void 0}})))))))}static get watchers(){return{colorValues:[{valueChanged:0}],hasErrorState:[{onHasErrorStateChanged:0}],value:[{onValuePropChange:0}]}}};export{c as xpl_input_color}
@@ -0,0 +1 @@
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"})),e=class{constructor(t){a(this,t),this.position="top-middle",this.hideArrow=!1}render(){return t(o,{key:"834ba80f410bd7ed079b674b6f1d110235aaf826"},t("div",{key:"e45a7048339ce835ecabf5ef832a5ef2df6ded70",class:"xpl-tooltip-container"},t("slot",{key:"f56272df982aa6dc72ba2bf9776017235223de95"}),t("div",{key:"c5b1054301d08e1b83da61b565f0116f83f395c7",class:`xpl-tooltip xpl-tooltip--${this.position}`},this.text,!this.hideArrow&&t("div",{key:"e6a833629cf409644969d9c4da461a2016f2986b",class:"xpl-tooltip-arrow"},t(s,{key:"7a5893a25978635864ada200aea48660ca90d33c"})))))}};export{e as xpl_tooltip}
@@ -0,0 +1 @@
1
+ var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}export{e as c,n as g}
@@ -0,0 +1 @@
1
+ function n(n){const t=n.trim();if(!t)return"unnamed";let a=t.replace(/[^a-zA-Z0-9_-]/g,"-").replace(/-+/g,"-");return/^[0-9-]/.test(a)&&(a=`t-${a}`),a}function t(n){const t=n.closest("xpl-tabs");return t?.getAttribute("data-tabs-instance-id")??"xpl-tg-orphan"}function a(t,a){return`${t}-tab-${n(a)}`}function r(t,a){return`${t}-panel-${n(a)}`}export{r as a,t as g,a as t}
@@ -0,0 +1 @@
1
+ const t="(max-width: 767px)";export{t as T}
@@ -0,0 +1 @@
1
+ function n(n,t,r){const e=Array.from(n.children).filter((n=>n.getAttribute("slot")===t));if(e.length>0)return e;const o=Array.from(n.querySelectorAll(`[slot="${t}"]`)).filter((t=>t.closest(r)===n));if(o.length>0)return o;const i=Array.from(n.querySelectorAll(`slot[name="${t}"]`)).find((t=>t.closest(r)===n));return i&&"function"==typeof i.assignedNodes?i.assignedNodes({flatten:!0}).filter((n=>n.nodeType===Node.ELEMENT_NODE)):[]}function t(t,r,e){return n(t,r,e).length>0}let r=0;function e(n,t){if(t)return t;const e=n.querySelector(".xpl-side-nav-section__children")?.id;return e||(n.id?`${n.id}-children`:(r+=1,`xpl-side-nav-section-children-${r}`))}export{e,n as g,t as h}
@@ -0,0 +1 @@
1
+ import{c as t,g as n}from"./p-BFTU3MAI.js";var r,i,e=n(function(){if(i)return r;i=1;var n="Expected a function",e=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,f=/^0o[0-7]+$/i,c=parseInt,a="object"==typeof self&&self&&self.Object===Object&&self,v="object"==typeof t&&t&&t.Object===Object&&t||a||Function("return this")(),s=Object.prototype.toString,p=Math.max,y=Math.min,b=function(){return v.Date.now()};function d(t){var n=typeof t;return!!t&&("object"==n||"function"==n)}function l(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==s.call(t)}(t))return NaN;if(d(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=d(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(e,"");var r=u.test(t);return r||f.test(t)?c(t.slice(2),r?2:8):o.test(t)?NaN:+t}return r=function(t,r,i){var e=!0,o=!0;if("function"!=typeof t)throw new TypeError(n);return d(i)&&(e="leading"in i?!!i.leading:e,o="trailing"in i?!!i.trailing:o),function(t,r,i){var e,o,u,f,c,a,v=0,s=!1,m=!1,j=!0;if("function"!=typeof t)throw new TypeError(n);function g(n){var r=e,i=o;return e=o=void 0,v=n,f=t.apply(i,r)}function T(t){var n=t-a;return void 0===a||n>=r||n<0||m&&t-v>=u}function h(){var t=b();if(T(t))return x(t);c=setTimeout(h,function(t){var n=r-(t-a);return m?y(n,u-(t-v)):n}(t))}function x(t){return c=void 0,j&&e?g(t):(e=o=void 0,f)}function w(){var t=b(),n=T(t);if(e=arguments,o=this,a=t,n){if(void 0===c)return function(t){return v=t,c=setTimeout(h,r),s?g(t):f}(a);if(m)return c=setTimeout(h,r),g(a)}return void 0===c&&(c=setTimeout(h,r)),f}return r=l(r)||0,d(i)&&(s=!!i.leading,u=(m="maxWait"in i)?p(l(i.maxWait)||0,r):u,j="trailing"in i?!!i.trailing:j),w.cancel=function(){void 0!==c&&clearTimeout(c),v=0,e=a=o=c=void 0},w.flush=function(){return void 0===c?f:x(b())},w}(t,r,{leading:e,maxWait:r,trailing:o})}}());export{e as t}
@@ -0,0 +1 @@
1
+ function e(e,o,{hostTag:l,projectionRegionSelectors:n,excludedRegionSelectors:r}){return Array.from(e.querySelectorAll(`[slot="${o}"]`)).some((o=>!!(o=>o.closest(l)===e)(o)&&(o.parentElement===e||!r?.some((e=>null!==o.closest(e)))&&n.some((e=>null!==o.closest(e))))))}export{e as h}
@@ -0,0 +1 @@
1
+ class t{constructor(){this.timeouts=new Set,this.intervals=new Set,this.rafs=new Set,this.coalesced=new Map}setTimeout(t,e){const i=setTimeout((()=>{this.timeouts.delete(i),t()}),e);return this.timeouts.add(i),i}clearTimeout(t){clearTimeout(t),this.timeouts.delete(t)}setInterval(t,e){const i=setInterval(t,e);return this.intervals.add(i),i}clearInterval(t){clearInterval(t),this.intervals.delete(t)}requestAnimationFrame(t){const e=requestAnimationFrame((i=>{this.rafs.delete(e),t(i)}));return this.rafs.add(e),e}cancelAnimationFrame(t){cancelAnimationFrame(t),this.rafs.delete(t)}scheduleCoalesced(t,e,i=0){this.clearCoalesced(t);const s=setTimeout((()=>{this.coalesced.delete(t),e()}),i);this.coalesced.set(t,s)}clearCoalesced(t){const e=this.coalesced.get(t);void 0!==e&&(clearTimeout(e),this.coalesced.delete(t))}dispose(){this.timeouts.forEach((t=>clearTimeout(t))),this.timeouts.clear(),this.intervals.forEach((t=>clearInterval(t))),this.intervals.clear(),this.rafs.forEach((t=>cancelAnimationFrame(t))),this.rafs.clear(),this.coalesced.forEach((t=>clearTimeout(t))),this.coalesced.clear()}}function e(){return"undefined"!=typeof window&&"undefined"!=typeof document}export{t as T,e as i}
@@ -0,0 +1 @@
1
+ function r(r,t){return!!Array.from(r.children).some((r=>r.getAttribute("slot")===t))||null!=r.querySelector(`[slot="${t}"]`)}export{r as h}
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as e,H as s,F as a,g as l}from"./p-ukZKsqqq.js";const r=class{constructor(e){t(this,e),this.itemDragEnd=i(this,"itemDragEnd",7),this.itemDragStart=i(this,"itemDragStart",7),this.itemDrop=i(this,"itemDrop",7),this.itemSelect=i(this,"itemSelect",7),this.dragFromHandle=!1,this.slotPresence={actions:!1,avatar:!1,badges:!1,details:!1,errorText:!1,metadata:!1,stackedExtra1:!1,stackedExtra2:!1,stackedExtra3:!1,titleBadge:!1,title:!1},this.isKeyboardMode=!1,this.disabled=!1,this.error=!1,this.hidden=!1,this.keyboardActive=!1,this.reorderable=!1,this.selectable=!1,this.selected=!1,this.showDivider=!1,this.handleDragStart=t=>{if(this.disabled)return void t.preventDefault();if(!this.dragFromHandle)return void t.preventDefault();this.detachDragHandlePointerReleaseListeners(),t.dataTransfer&&(t.dataTransfer.effectAllowed="move",t.dataTransfer.setData("text/plain",this.itemId||this.el.id||""));const i=this.el.querySelector(".xpl-list-item__wrapper");i?.classList.add("dragging"),this.itemDragStart.emit({itemId:this.itemId,item:this.el})},this.handleDrop=t=>{this.disabled||(t.preventDefault(),this.detachDragHandlePointerReleaseListeners(),this.dragFromHandle=!1,this.itemDrop.emit({itemId:this.itemId,item:this.el}))},this.handleDragOver=t=>{this.disabled||(t.preventDefault(),t.dataTransfer&&this.reorderable&&(t.dataTransfer.dropEffect="move"))},this.handleDragEnter=t=>{if(this.disabled)return;t.preventDefault();const i=this.el.querySelector(".xpl-list-item__wrapper");i?.classList.add("drag-over")},this.handleDragLeave=t=>{if(this.disabled)return;const i=this.el.querySelector(".xpl-list-item__wrapper");i&&!i.contains(t.relatedTarget)&&i.classList.remove("drag-over")},this.handleDragEnd=()=>{this.detachDragHandlePointerReleaseListeners(),this.dragFromHandle=!1;const t=this.el.querySelector(".xpl-list-item__wrapper");t?.classList.remove("dragging","drag-over");const i=this.el.parentElement;i&&Array.from(i.children).forEach((t=>{if("xpl-list-item"!==t.tagName.toLowerCase())return;const i=t.querySelector(".xpl-list-item__wrapper");i?.classList.remove("drag-over")})),this.itemDragEnd.emit({itemId:this.itemId,item:this.el})},this.handleDragHandleMouseDown=()=>{if(this.disabled)return;this.detachDragHandlePointerReleaseListeners(),this.dragFromHandle=!0;const t=()=>{this.detachDragHandlePointerReleaseListeners(),this.dragFromHandle=!1};document.addEventListener("pointerup",t,!0),document.addEventListener("pointercancel",t,!0),this.dragHandlePointerReleaseCleanup=()=>{document.removeEventListener("pointerup",t,!0),document.removeEventListener("pointercancel",t,!0)},this.el.dispatchEvent(new CustomEvent("xplListItemReorder",{bubbles:!0,composed:!0,detail:{exitKeyboardMode:!0}}))},this.preventRowLinkNavigation=t=>{this.href&&(t.preventDefault(),t.stopPropagation())},this.handleMouseDown=()=>{this.isKeyboardMode&&this.el.dispatchEvent(new CustomEvent("xplListItemReorder",{bubbles:!0,composed:!0,detail:{itemId:this.itemId,exitKeyboardMode:!0}}))},this.handleDragHandleKeyDown=t=>{this.disabled?"Escape"===t.key&&this.isKeyboardMode&&(t.preventDefault(),this.el.dispatchEvent(new CustomEvent("xplListItemReorder",{bubbles:!0,composed:!0,detail:{itemId:this.itemId,exitKeyboardMode:!0}}))):"Escape"!==t.key?this.isKeyboardMode?"ArrowUp"!==t.key&&"ArrowDown"!==t.key||(t.preventDefault(),this.el.dispatchEvent(new CustomEvent("xplListItemReorder",{bubbles:!0,composed:!0,detail:{direction:"ArrowUp"===t.key?"up":"down",item:this.el,itemId:this.itemId,keyboardMode:!0}}))):"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.el.dispatchEvent(new CustomEvent("xplListItemReorder",{bubbles:!0,composed:!0,detail:{item:this.el,itemId:this.itemId,keyboardMode:!0}}))):this.isKeyboardMode&&(t.preventDefault(),this.el.dispatchEvent(new CustomEvent("xplListItemReorder",{bubbles:!0,composed:!0,detail:{itemId:this.itemId,exitKeyboardMode:!0}})))},this.handleRadioChange=()=>{this.disabled||this.itemSelect.emit({itemId:this.itemId})},this.handleRadioClick=t=>{this.href&&t.stopPropagation()}}handleItemChange(){this.updateSlotPresence()}handleKeyboardActiveChange(t){this.isKeyboardMode=t}handleSelectedChange(t){const i=this.el.querySelector('.xpl-list-item__selectable input[type="radio"]');i instanceof HTMLInputElement&&i.checked!==t&&(i.checked=t)}handleTitleBadgeVariantChange(){this.updateSlotPresence()}connectedCallback(){this.el.addEventListener("mousedown",this.handleMouseDown,!0)}disconnectedCallback(){this.el.removeEventListener("mousedown",this.handleMouseDown,!0),this.detachDragHandlePointerReleaseListeners()}componentWillLoad(){this.updateSlotPresence(),this.isKeyboardMode=!!this.keyboardActive;const t=this.el.getAttribute("item-id");t&&!this.itemId&&(this.itemId=t),this.el.id&&!this.itemId&&(this.itemId=this.el.id)}componentDidRender(){this.syncReorderDragHandleA11y()}handleSlotChange(){this.updateSlotPresence()}updateSlotPresence(){const t=this.el.getAttribute("title-badge-variant")||this.el.getAttribute("titlebadgevariant");this.slotPresence={actions:this.hasSlot("actions"),avatar:this.hasSlot("avatar"),badges:this.hasSlot("badges"),details:this.hasSlot("details"),errorText:this.hasSlot("error-text"),metadata:this.hasSlot("metadata"),stackedExtra1:this.hasSlot("stacked-extra-1"),stackedExtra2:this.hasSlot("stacked-extra-2"),stackedExtra3:this.hasSlot("stacked-extra-3"),title:this.hasSlot("title"),titleBadge:!!(this.titleBadgeVariant&&String(this.titleBadgeVariant).length>0||t&&t.length>0)}}detachDragHandlePointerReleaseListeners(){this.dragHandlePointerReleaseCleanup&&(this.dragHandlePointerReleaseCleanup(),this.dragHandlePointerReleaseCleanup=void 0)}hasSlot(t){if(Array.from(this.el.children).some((i=>i.getAttribute("slot")===t)))return!0;const i=Array.from(this.el.querySelectorAll(`slot[name="${t}"]`)).find((t=>t.closest("xpl-list-item")===this.el));return!(!i||"function"!=typeof i.assignedNodes)&&i.assignedNodes({flatten:!0}).length>0}getTitleSlotAccessibleText(){const t=Array.from(this.el.children).find((t=>"title"===t.getAttribute("slot")));if(t)return t.textContent??void 0;const i=Array.from(this.el.querySelectorAll('slot[name="title"]')).find((t=>t.closest("xpl-list-item")===this.el));return i&&"function"==typeof i.assignedNodes&&i.assignedNodes({flatten:!0}).map((t=>t.nodeType===Node.TEXT_NODE||t.nodeType===Node.ELEMENT_NODE?t.textContent??"":"")).join("").trim()||void 0}getRowIdForAccessibleLabel(){const t=this.itemId?.trim();if(t)return t;const i=this.el.getAttribute("item-id")?.trim();if(i)return i;const e=this.el.id?.trim();return e||""}getSelectableRadioLabel(){const t=this.getRowIdForAccessibleLabel();if(this.slotPresence.title){const i=this.getTitleSlotAccessibleText()?.trim();return i||(t?`Select ${t}`:"Select list item")}return t?`Select ${t}`:"Select list item"}renderPropBasedItem(){const{item:t}=this;if(!t)return null;const i=t.avatars||t.badges||t.subtext,a=t.href?"a":"div",l=t.href?{href:t.href}:{};return e(s,{role:"listitem",class:{"xpl-list-item":!0,"xpl-list-item--error":!!this.error,"xpl-list-item--disabled":!!this.disabled},hidden:this.hidden},function(t){return t.avatar&&"string"==typeof t.avatar?"/"===t.avatar.slice(0,1)||"http"===t.avatar.slice(0,4)?e("xpl-avatar",{src:t.avatar,name:t.title}):e("xpl-avatar",{name:t.title},t.avatar):null}(t),e(a,{class:"xpl-list-item-content",...l},e("div",{class:"xpl-list-left"},e("div",null,e("h4",null,t.title),t.metadata&&e("ul",{class:"xpl-list-item-metadata"},t.metadata.map((t=>"string"==typeof t?e("li",null,t):e("li",null,e("xpl-icon",{icon:t.icon})," ",t.text)))))),i&&e("div",{class:"xpl-list-right"},t.subtext&&e("div",{class:"xpl-list-item-subtext"},t.subtext),t.avatars&&e("div",{class:"xpl-avatar-group xpl-avatar-group--s"},t.avatars.map((t=>e("img",{src:t,alt:""})))),t.badges&&t.badges.map((t=>"string"==typeof t?e("xpl-badge",null,t):e("xpl-badge",{dot:t.dot,variant:t.variant},t.text)))),t.href?e("span",{class:"xpl-list-item__link-chevron","aria-hidden":"true"},e("xpl-icon",{icon:"chevron-right",size:12})):null))}renderTitleBadge(){if(!this.slotPresence.titleBadge)return null;const t=this.titleBadgeVariant||this.el.getAttribute("title-badge-variant")||this.el.getAttribute("titlebadgevariant")||"purple";return e("div",{class:"xpl-list-item__title-badge"},e("xpl-badge",{dotOnly:!0,size:"small",variant:t}))}renderSlotBasedItem(){const t=this.slotPresence.details||this.slotPresence.badges||this.slotPresence.actions,i=this.slotPresence.title||this.slotPresence.metadata||this.slotPresence.stackedExtra1||this.slotPresence.stackedExtra2||this.slotPresence.stackedExtra3,l=this.radioName||this.el.getAttribute("radio-name")||"",r=this.reorderable&&!this.disabled,h="xpl-list-item__wrapper",n={draggable:r,onDragStart:this.handleDragStart,onDragOver:this.handleDragOver,onDragEnter:this.handleDragEnter,onDragLeave:this.handleDragLeave,onDrop:this.handleDrop,onDragEnd:this.handleDragEnd},o=e(a,null,r&&e("div",{class:"xpl-list-item__reorderable"},e("xpl-button",{class:{"xpl-list-item__drag-handle":!0,"xpl-list-item__drag-handle--keyboard-mode":this.isKeyboardMode},type:"button",variant:"tertiary",sentiment:"neutral",iconOnly:!0,icon:this.isKeyboardMode?"caret-expand-y":"grip-dots-vertical",disabled:this.disabled,onClick:this.preventRowLinkNavigation,onMouseDown:this.handleDragHandleMouseDown,onKeyDown:this.handleDragHandleKeyDown})),this.selectable&&l?e("div",{class:"xpl-list-item__selectable",onClick:this.handleRadioClick},e("xpl-radio",{checked:this.selected,disabled:this.disabled,name:l,value:this.itemId??"",onRadioChange:this.handleRadioChange},this.getSelectableRadioLabel())):null,this.slotPresence.avatar&&e("div",{class:"xpl-list-item__avatar",onClick:this.preventRowLinkNavigation},e("slot",{name:"avatar"})),i&&e("div",{class:"xpl-list-item__stacked"},(this.slotPresence.title||this.slotPresence.titleBadge)&&e("div",{class:"xpl-list-item__title-row"},e("div",{class:"xpl-list-item__title-wrapper"},this.renderTitleBadge(),e("slot",{name:"title"}))),this.showDivider&&e("xpl-divider",null),this.slotPresence.metadata&&e("div",{class:"xpl-list-item__metadata-row"},e("slot",{name:"metadata"})),this.slotPresence.stackedExtra1&&e("div",{class:"xpl-list-item__stacked-extra-1"},e("slot",{name:"stacked-extra-1"})),this.slotPresence.stackedExtra2&&e("div",{class:"xpl-list-item__stacked-extra-2"},e("slot",{name:"stacked-extra-2"})),this.slotPresence.stackedExtra3&&e("div",{class:"xpl-list-item__stacked-extra-3"},e("slot",{name:"stacked-extra-3"}))),t&&e("div",{class:"xpl-list-item__right"},this.slotPresence.details&&e("div",{class:"xpl-list-item__details"},e("slot",{name:"details"})),this.slotPresence.badges&&e("div",{class:"xpl-list-item__badges"},e("slot",{name:"badges"})),this.slotPresence.actions&&e("div",{class:"xpl-list-item__actions",onClick:this.preventRowLinkNavigation},e("slot",{name:"actions"}))),this.href?e("span",{class:"xpl-list-item__link-chevron","aria-hidden":"true"},e("xpl-icon",{icon:"chevron-right",size:12})):null);return e(s,{class:{"xpl-list-item":!0,"xpl-list-item--error":!(!this.error&&!this.slotPresence.errorText),"xpl-list-item--disabled":!!this.disabled,"xpl-list-item--slot-based":!0,"xpl-list-item--selected":!!this.selected},hidden:this.hidden},this.href?e("div",{role:"listitem",class:"xpl-list-item__listitem-shell"},e("a",{class:h,href:this.href,...n},o)):e("div",{role:"listitem",class:h,...n},o),this.slotPresence.errorText&&e("div",{class:"xpl-list-item__error-text"},e("xpl-icon",{icon:"circle-warning",size:16}),e("slot",{name:"error-text"})))}syncReorderDragHandleA11y(){if(!this.reorderable||this.disabled)return;const t=this.el.querySelector("xpl-button.xpl-list-item__drag-handle"),i=t?.querySelector("button");i&&(i.setAttribute("aria-label",this.isKeyboardMode?"Press arrow up or down to reorder, Escape to exit":"Press Enter or Space to activate keyboard reorder mode, or drag to reorder"),i.setAttribute("aria-pressed",this.isKeyboardMode?"true":"false"))}render(){return this.hidden?e(s,{hidden:!0}):this.item?this.renderPropBasedItem():this.renderSlotBasedItem()}get el(){return l(this)}static get watchers(){return{item:[{handleItemChange:0}],keyboardActive:[{handleKeyboardActiveChange:0}],selected:[{handleSelectedChange:0}],titleBadgeVariant:[{handleTitleBadgeVariantChange:0}]}}};export{r as xpl_list_item}
@@ -0,0 +1 @@
1
+ import{r as e,h as t,H as s,g as a}from"./p-ukZKsqqq.js";const i=class{constructor(t){e(this,t),this.disabled=!1}componentDidLoad(){this.updateSlottedComponentsWhenDisabled()}componentDidUpdate(){this.updateSlottedComponentsWhenDisabled()}updateSlottedComponentsWhenDisabled(){(this.hostElement?.querySelectorAll("*")??[]).forEach((e=>{"disabled"in e&&(e.disabled=this.disabled)}))}render(){const e=this.el.parentElement?Array.from(this.el.parentElement.children).indexOf(this.el)+1:0;return t(s,{key:"6a4eea3dcf826a18c24068acea56dc63261220f4",role:"gridcell","aria-colindex":e,class:"xpl-dynamic-table-cell",ref:e=>{this.hostElement=e??void 0}},t("slot",{key:"138598bb74c49c32b649f0955a53cb8ea479e04f"}))}get el(){return a(this)}};export{i as xpl_dynamic_table_cell}
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as s,H as a}from"./p-ukZKsqqq.js";const l=class{constructor(s){t(this,s),this.navOpen=i(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 s(a,{key:"3ed4e8e9214075b9062b221a05f1b27aa0b0bfbf"},s("nav",{key:"c809f6f649965d0b60d35c2bda31f721d67ccca1","aria-label":"utility navigation bar",class:"xpl-utility-bar"},this.navControl?s("div",null,s("button",{class:"xpl-utility-bar__nav-control",onClick:()=>this.onNavToggle()},s("xpl-icon",{class:"xpl-utility-nav__bars",icon:"three-bars"})),s("slot",{name:"aside"})):s("slot",{name:"aside"}),s("slot",{key:"99e22823c94e66c5dce24815485c7513b11e9267",name:"main"})))}};export{l as xpl_utility_bar}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as e,H as i,g as h}from"./p-ukZKsqqq.js";const a=class{constructor(e){t(this,e),this.tableSelect=s(this,"tableSelect",7),this.sortChanged=s(this,"sortChanged",3),this.selectedValues=[],this.isSortable=!1,this.sortableColumns=[],this.areAllSelected=!1,this.hasScrolled=!1,this.sortTypeArray=[],this.selectAll=t=>{const s=t.detail;this.areAllSelected=s,this.selected=this.selectedValues.length>0?Array.from(this.el.querySelectorAll("tbody td:first-child xpl-checkbox")).map((t=>s?t.value??s:s)):this.selected.map((()=>s)),this.onChange()},this.selectOne=(t,s)=>{const e=t.detail,{value:i}=t.target;this.selected=this.selected.map(((t,h)=>h!==s?t:this.selectedValues.length>0&&e?i??e:e)),this.areAllSelected=this.selected.every((t=>!!t)),this.onChange()},this.onChange=()=>{this.tableSelect.emit({selected:this.selected,areAllSelected:this.areAllSelected})},this.onScroll=()=>{this.hasScrolled=this.container.scrollLeft>0},this.sortBy=(t,s)=>{const e=(s,e)=>s[t].toLocaleLowerCase()<e[t].toLocaleLowerCase()?-1:s[t].toLocaleLowerCase()>e[t].toLocaleLowerCase()?1:0;switch(s[t]){case"asc":this.rowData.sort(((t,s)=>e(t,s)));break;case"desc":this.rowData.sort(((t,s)=>e(s,t)));break;default:this.rowData=this.data?Array.from(this.data):[],this.sortTypeArray[t]=null}this.rowData=Array.from(this.rowData)},this.setData=()=>{this.rowData=void 0!==this.data?Array.from(this.data):[]}}handleSort(t,s,e,i){t.preventDefault(),t.stopPropagation(),s&&(this.sortTypeArray=this.sortTypeArray.map(((t,s)=>{if(s!==e)return null;switch(t){case"asc":return"desc";case"desc":return null;default:return"asc"}})),this.sortChanged.emit({colNum:e,colName:i,sortTypeArr:this.sortTypeArray}).defaultPrevented||this.sortBy(e,this.sortTypeArray))}watchData(){this.setData()}watchColumns(){this.sortTypeArray=this.columns?this.columns.map((()=>null)):[]}componentWillLoad(){this.ensureSelectAllValue(),this.areAllSelected=!1,this.setData(),this.selected=new Array(this.rowData.length).fill(!1),this.ensureSortTypeArray()}ensureSelectAllValue(){if(void 0!==this.selectAllValue)return;const t=this.el.id?.trim();if(t)return void(this.selectAllValue=`${t}-select-all`);const s=this.el.getAttribute("data-select-all-value");s?this.selectAllValue=s:(a.selectAllSeq+=1,this.selectAllValue=`select-all-${a.selectAllSeq}`,this.el.setAttribute("data-select-all-value",this.selectAllValue))}ensureSortTypeArray(){!this.columns||this.sortTypeArray&&this.sortTypeArray.length===this.columns.length?this.columns||(this.sortTypeArray=[]):this.sortTypeArray=this.columns.map((()=>null))}render(){const t=void 0!==this.footer?Array.from(this.footer):[];return e(i,{key:"1e6bf436320a44e1e22e8590a881bc90c4a091d5"},e("div",{key:"3d2e5361fbe615a6ae8ebe916ce07e00f82c444c",class:"xpl-table-container",onScroll:this.onScroll,ref:t=>{t&&(this.container=t)}},e("table",{key:"036672b3ba45a90a42f906c155ce3d59e33c8a7a",class:{"xpl-table":!0,"xpl-table--striped":!!this.striped,"xpl-table--freeze":!!this.freeze,"xpl-table--has-scrolled":this.hasScrolled}},this.columns&&e("thead",{key:"bf0d5a808624234ba985c1c32064f1dab11bfefa"},this.columns.map(((t,s)=>{const i=(t=>{switch(t){case"asc":return"arrow-up";case"desc":return"arrow-down";default:return"dash"}})(this.sortTypeArray?.[s]),h=!(!this.isSortable||!this.sortableColumns[s]);return e("th",null,e("label",{onClick:e=>this.handleSort(e,h,s,t.replace(/ /g,"-").toLowerCase()),class:h?"cursor-pointer":""},this.multiselect&&0===s&&e("xpl-checkbox",{checked:this.areAllSelected,indeterminate:!this.areAllSelected&&this.selected.some((t=>t)),onClick:t=>t.stopPropagation(),onCheckboxChange:t=>this.selectAll(t),value:this.selectAllValue,"aria-label":"Select all rows"}),t,h&&!!this.sortTypeArray[s]&&e("xpl-icon",{icon:i,size:16})))}))),e("tbody",{key:"7915dbfbf1a9b68719c4168e09c5f0e3ab7fa35a"},this.rowData.map(((t,s)=>e("tr",{class:this.selected&&this.selected[s]?"xpl-table-row-selected":""},t.map(((t,i)=>e("td",null,this.multiselect&&0===i?e("label",null,e("xpl-checkbox",{checked:!!this.selected[s],onCheckboxChange:t=>this.selectOne(t,s),value:this.selectedValues.length>0?this.selectedValues[s]:`xpl-table-checkbox-${s}`,"aria-label":`Select row ${s+1}`}),e("div",{innerHTML:t})):e("div",{innerHTML:t})))))))),t.length>0&&e("tfoot",{key:"78ee72f80c77e61c6234be9500770780952ca669"},t.map((t=>e("tr",null,t.map((t=>e("td",null,e("div",{innerHTML:t})))))))))))}get el(){return h(this)}static get watchers(){return{data:[{watchData:0}],columns:[{watchColumns:0}]}}};a.selectAllSeq=0;export{a as xpl_table}
@@ -0,0 +1 @@
1
+ import{r as a,c as e,h as d,H as c}from"./p-ukZKsqqq.js";const n=class{constructor(d){a(this,d),this.navWidth=e(this,"navWidth",7),this.width="default"}navWidthHandler(){this.navWidth.emit(this.width)}connectedCallback(){this.navWidthHandler()}componentDidUpdate(){this.navWidthHandler()}render(){return d(c,{key:"936e7393a8037c6c78c7a6d5d284d9c37be2f866",class:`xpl-main-nav xpl-main-nav--${this.width}`,"aria-label":"Sidebar"},d("nav",{key:"45fd74c979b53bbd8080ca92ea15e3135d0d49ae"},d("header",{key:"cb692d0e90aa70bce5e09af43e54d864849f4800","aria-label":"Sidebar Header"},d("slot",{key:"778c33ef024895ca44616ef9655843330e3c563b",name:"logo"}),d("slot",{key:"7728db09b46999e708c46d10d5de56c65ab9a9fa",name:"brand-name"})),d("div",{key:"0376fefe7921b061f3f2fdc972aa381ed7d124a2",class:"xpl-main-nav__main_section"},d("slot",{key:"12a61a53d6c93695d38c70d9a953fe4e37438178",name:"navigation"})),d("footer",{key:"8cd0e32231e155324c78878dcaad955ab7b3e4fb",class:"xpl-main-nav__footer","aria-label":"Sidebar Footer"},d("slot",{key:"cdaf0bec22d3d8229441e7e036c3fcbcb244c32f",name:"footer"}))))}};export{n as xpl_main_nav}
@@ -0,0 +1 @@
1
+ import{r as s,h as t,H as r}from"./p-ukZKsqqq.js";const e=class{constructor(t){s(this,t),this.currentStep=0,this.layout="horizontal",this.showLabels=!0,this.showNumbers=!0}validateCurrentStep(){if(!this.steps||0===this.steps.length)return;const s=this.steps.length;this.currentStep<0?this.currentStep=0:this.currentStep>s&&(this.currentStep=s)}renderStepContent(s,r){return r?t("xpl-icon",{icon:"check-2",size:20,class:"xpl-progress-indicator-step-checkmark"}):this.showNumbers?t("span",{class:"xpl-progress-indicator-step-number"},s+1):t("span",{class:"xpl-progress-indicator-step-dot"})}renderStep(s,r){const e=this.currentStep>r,i=this.currentStep===r,o="horizontal"===this.layout,a=t("div",{class:"xpl-progress-indicator-step-circle"},this.renderStepContent(r,e)),p=this.showLabels&&t("div",{class:"xpl-progress-indicator-step-text"},s),c=o?t("div",{class:"xpl-progress-indicator-step-content"},a,p):[a,p];return t("div",{class:{"xpl-progress-indicator-step":!0,"xpl-progress-indicator-step-active":i,"xpl-progress-indicator-step-finished":e},role:"listitem","aria-label":`${s}, ${e?"completed":i?"current":"upcoming"}`,"aria-current":i?"step":void 0},c)}render(){const s=this.steps||[],e={"xpl-progress-indicator":!0,"xpl-progress-indicator-horizontal":"horizontal"===this.layout,"xpl-progress-indicator-vertical":"vertical"===this.layout,"xpl-progress-indicator-no-labels":!this.showLabels},i=s.length,o=this.currentStep>=i,a=Math.min(this.currentStep+1,i);return t(r,{key:"2fa8128b81b665f0733e3c905cb99eaa1917e719",class:e,role:"group","aria-label":i>0?o?`Progress: all ${i} ${1===i?"step":"steps"} complete`:`Progress: step ${a} of ${i}`:"Progress"},t("div",{key:"279079d456f72748c77ac9f06281c838307ba092",class:"xpl-progress-indicator-container",role:"list"},s.map(((s,t)=>this.renderStep(s,t)))))}static get watchers(){return{steps:[{validateCurrentStep:0}],currentStep:[{validateCurrentStep:0}]}}};export{e as xpl_progress_indicator}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as e,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 c}from"./p-1M1pu0C2.js";import{i as d}from"./p-Dqb1pIRo.js";const p=4;function u(t){const{offsetPx:s=p,flipFallbackPlacements:e,sizeApply:i}=t;return[l(s),h(e&&e.length>0?{fallbackPlacements:e}:{}),r({apply:i}),c()]}const f={rowHeight:45,overscan:20,virtualizeFrom:200};function b(t,s){const{groupName:i,options:o,subtitle:n,...a}=t;if(i)return e("xpl-dropdown-group",{groupName:i,options:o,...a});const l=void 0!==s;return e("xpl-dropdown-option",{class:l?"xpl-dropdown-option--virtual":void 0,style:l?{transform:`translateY(${s*f.rowHeight}px)`}:void 0,subtitle:n,...a})}const m=class{constructor(e){t(this,e),this.isOpenChange=s(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:s}=this,e=t,i=s?document.getElementById(s):null,o=i?.contains(e),n=this.hostElement.contains(e),a=e?.closest("label"),l=!!a&&!!s&&a.getAttribute("for")===s;n||o||l||!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,s=t!==this.previousOptionCount;if(this.previousOptionCount=t,!this.isVirtualized)return this.virtualStart=0,void(this.virtualEnd=0);const e=this.listEl;if(e){const i=Math.max(0,t*f.rowHeight-e.clientHeight);if(e.scrollTop>i&&(e.scrollTop=i),this.isOpen&&s){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,s=!1){if(this.options&&this.options.length>0){this.options.flatMap((t=>t.groupName&&t.options?t.options:[t])).forEach((s=>{const e=s.value||s.label||"";if("single"===this.mode)s.isSelected=e===t;else{const i=Array.isArray(t)?t:[];s.isSelected=i.includes(e)}}));const e=t=>(t.options=t.groupName?t.options?.map(e):void 0,t);this.options=this.options.map(e),this.update&&!s&&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(){d()&&(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:s}){const{hostElement:e,mode:i,options:o,update:n}=this,a="single"===i,l="multi"===i;if(o){const t=s.hostElement.value||s.hostElement.label;if(o.some((t=>t.groupName))){o.flatMap((t=>t.groupName&&t.options?t.options:[t])).forEach((e=>{const i=(e.value||e.label)===t;a?(e.isSelected=i,s.hostElement.isSelected=!0):l&&i&&(e.isSelected=!e.isSelected,s.hostElement.isSelected=e.isSelected)}));const e=t=>(t.options=t.groupName?t.options?.map(e):void 0,t);this.options=o.map(e)}else o.forEach((e=>{const i=(e.value||e.label)===t;a?(e.isSelected=i,i&&(s.hostElement.isSelected=!0)):l&&i&&(e.isSelected=!e.isSelected,s.hostElement.isSelected=e.isSelected)})),this.options=[...o]}else a?Array.from(e.querySelectorAll("xpl-dropdown-option")).forEach((t=>{t.isSelected=t===s.hostElement})):l&&(s.isSelected=!s.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,s,e){if(!d())return{update:async()=>{},stop:()=>{}};const{placement:i,strategy:o,middleware:l,onPosition:h,onReferenceHidden:r,onError:c}=e;let p=0,u=null,f=!0;const b=async()=>{if(!f)return;const e=p;try{const n=await a(t,s,{placement:i,strategy:o,middleware:l});if(!f||e!==p)return;if(n.middlewareData.hide?.referenceHidden&&!0===r?.())return;h(n)}catch(t){if(!f||e!==p)return;c?.(t)}};return u=n(t,s,b),{update:b,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:s})=>{const e=this.hostElement.querySelector(".xpl-dropdown-list");let i=0;if(e){const t=Array.from(this.hostElement.children),s=t.indexOf(e);t.slice(0,s).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=e?parseFloat(getComputedStyle(e).getPropertyValue("--xpl-dropdown-list-max-height")):1/0,l=Math.min(a,Math.max(0,t-i-n));Object.assign(this.hostElement.style,{width:`${s.reference.width}px`}),e&&(e.style.maxHeight=`${l}px`)}}),onPosition:({x:t,y:s,placement:e})=>{if(!this.floating)return;const i="top"===e.split("-")[0];Object.assign(this.hostElement.style,{left:`${t}px`,top:`${s}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:s}=this;if(!t||!s?.length||!this.isVirtualized)return;const e=s.findIndex((t=>t.isSelected));if(e<0)return;const{rowHeight:i}=f,o=e*i-(t.clientHeight-i)/2,n=Math.max(0,s.length*i-t.clientHeight);t.scrollTop=Math.max(0,Math.min(o,n))}updateVirtualRange(){const t=this.listEl,s=this.options?.length??0;if(!t||!s)return;const{rowHeight:e,overscan:i}=f,o=Math.floor(t.scrollTop/e),n=Math.ceil(t.clientHeight/e)||1,a=Math.max(0,o-i),l=Math.min(s,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:s,options:o}=this,n=this.isVirtualized;let a;if(o&&o.length)if(n){const{rowHeight:t,overscan:s}=f,i=o.length,n=Math.min(this.virtualStart,i),l=Math.min(i,Math.ceil(300/t)+2*s);a=e("li",{key:"94094d9464c2f4ded9714f7ed16ca2b426c19794",class:"xpl-dropdown__virtual-sizer",style:{height:i*t+"px"}},o.slice(n,this.virtualEnd>n?this.virtualEnd:l).map(((t,s)=>b(t,n+s))))}else a=o.map((t=>b(t)));else a=e("slot",{key:"1673c7d33d7dc1d16bf56081df85976ed389a38f",name:"options"});return e(i,{key:"6e2fe2b904530c7966a23b3715485ea9ed415880","aria-expanded":t?"true":"false",class:{"xpl-dropdown":!0,"xpl-dropdown--multi":"multi"===s,"xpl-dropdown--open":t,"xpl-dropdown--anchor-to-trigger":this.anchorToTrigger,"xpl-dropdown--virtualized":n},role:"listbox"},e("slot",{key:"b9c87382e07b23b326fab22b8423021f8c4a83f8",name:"header"}),e("ul",{key:"3824b650e2bbcb09fdea7f25ab19afa9a7dd8abe",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(s){t(this,s)}render(){const{groupName:t,options:s}=this,o=s&&s.length&&s.map((({groupName:t,...s})=>t?e("xpl-dropdown-group",{label:t,...s}):e("xpl-dropdown-option",{...s})));return e(i,{key:"232eccef872d6563c056b3b709d3a741473de2b0",role:"group","aria-label":t},e("li",{key:"2185c7b55139ab7b144290c94ab53675a6224b46",class:"xpl-dropdown-list-item"},e("xpl-dropdown-heading",{key:"26c0d13d0742fd34eb629c668bd929e5541fffb8",label:t}),e("ul",{key:"0f13b81deda008bf0588393ff1a4102a5c7a171d",class:"xpl-dropdown-list"},o||e("slot",{key:"70cf6f662d1471c815f5e7c747080d7558efe407",name:"options"}))))}},w=class{constructor(s){t(this,s)}render(){return e(i,{key:"04265224adcc5b65f53d2e35d0cfef470931ce41",class:{"xpl-dropdown-heading":!0},role:"presentation"},e("span",{key:"27293255cdfe35d207f3f0155beae3dc4b737e0d"},this.label||e("slot",{key:"b5bbee144360b2e5da681864e3dae6c2cafd2552",name:"heading"})))}},x=class{constructor(s){t(this,s),this.dropdown=null}componentWillLoad(){this.dropdown=this.hostElement.closest("xpl-dropdown")}handleClick(t){if(!this.dropdown)return;const{closeOnSelect:s,mode:e}=this.dropdown;t.x&&t.y&&(this.dropdown.handleSelect(t,{component:this}),"single"===e&&s&&(this.dropdown.isOpen=!1))}handleKeyup(t){if(!this.dropdown)return;const{dropdown:s}=this,{closeOnSelect:e,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 s.handleSelect(t,{component:{hostElement:n}}),void("single"===i&&e&&(this.dropdown.isOpen=!1))}["Escape","Enter"].includes(t.key)&&(s.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:s,isDisabled:o,value:n,subtitle:a,icon:l}=this;return e(i,{key:"f4fa4b0a3150fafd4b1c259aa140925219487898",class:{"xpl-dropdown-option":!0,"xpl-dropdown-option--disabled":!!o,"xpl-dropdown-option--selected":!!s},role:"option","aria-checked":s,"aria-disabled":o,"aria-selected":s,value:n},e("li",{key:"417af38233cd4765cc54a0cc4541bb5caeaf10ab",class:"xpl-dropdown-list-item"},l&&e("xpl-icon",{key:"48cbe69b056142ce5ef5cd6c608a99f1defd2e9f",class:"xpl-dropdown-list-item__icon",icon:l,size:20}),t||e("slot",{key:"14b86d61bab431487cdef906a0a9b138d6ab4bbb",name:"option"}),a&&e("span",{key:"c7ff5ee61b08f7a94d107183127c0b9cff0b49b5",class:"xpl-dropdown-list-item__subtitle"},a)))}get hostElement(){return o(this)}};export{m as xpl_dropdown,g as xpl_dropdown_group,w as xpl_dropdown_heading,x as xpl_dropdown_option}
@@ -0,0 +1 @@
1
+ import{r as e,h as a,H as c}from"./p-ukZKsqqq.js";const s=class{constructor(a){e(this,a)}render(){return a(c,{key:"6fd3db4309ecb98fb1739fd69d964297a77a46eb",class:"xpl-secondary-nav"},a("nav",{key:"c08a1df306cee05760b6761409ebfb4ba87c2e4f","aria-label":"Secondary Nav"},a("slot",{key:"9d5d0657bdd581bce000f1ace49be8c1d018fe47"})))}};export{s as xpl_secondary_nav}
@@ -0,0 +1 @@
1
+ import{r as s,c as e,h as i,H as c}from"./p-ukZKsqqq.js";import{v as t}from"./p-CK3_k8jD.js";const a=class{constructor(i){s(this,i),this.checkboxChange=e(this,"checkboxChange",7),this.id=t(),this.ariaLabel="",this.onChange=s=>{this.checkboxChange.emit(s.target.checked)}}render(){return i(c,{key:"d16058b571f7af6d2a83cbdce15b12bccadf0036",class:{"xpl-checkbox-radio-container":!0,styled:!!this.styled,disabled:!!this.disabled}},i("input",{key:"1001a243623e338fc4fefc9f58f251439c2fb74f",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}),i("label",{key:"37e85b721cef98c8ccc448e08dbf9d9c968bd0a6",class:{"xpl-label":!0,"xpl-label--disabled":!!this.disabled},htmlFor:this.id},i("slot",{key:"ef36d317d97e26098396b1131a1acce6bce5ae8f"}),this.description&&i("small",{key:"9d710e4fa3f366965307908ca2e216ac46310f30",class:{"xpl-description":!0,"xpl-description--disabled":!!this.disabled}},this.description)))}};export{a as xpl_checkbox}
@@ -0,0 +1 @@
1
+ import{r as s,h as r,H as e}from"./p-ukZKsqqq.js";const a=class{constructor(r){s(this,r),this.max=100,this.size="lg",this.value=0,this.variant="default"}get clampedValue(){return Math.max(0,Math.min(this.max,this.value))}get isComplete(){return this.value>=this.max&&"default"===this.variant}get isError(){return"error"===this.variant}get isSuccess(){return"success"===this.variant||this.isComplete}get showStatusIcon(){return this.isSuccess||this.isError}get isIndeterminate(){return"indeterminate"===this.variant}render(){return r(e,{key:"7c374a5f2f89aed6b0c3a0daa4cc843efea8d262",class:{"xpl-progress-bar":!0,[`xpl-progress-bar--${this.size}`]:!0,[`xpl-progress-bar--${this.variant}`]:!0,"xpl-progress-bar--complete":this.isComplete}},r("div",{key:"f1be4a82fbb87ffac27bb2b8d0f479ad36aae340",class:"xpl-progress-bar__wrapper"},(this.label||this.showStatusIcon)&&r("div",{key:"d415f09b3d0d237bc348b33470162d2b44048856",class:"xpl-progress-bar__header"},this.label&&r("div",{key:"48bc06b81c4445d811e6cd5f3ac086192cbcb392",class:"xpl-progress-bar__label"},this.label),this.showStatusIcon&&r("div",{key:"d31ccfc3ed1f956fdc89e01ca262b606219bb78e",class:"xpl-progress-bar__icon"},r("xpl-icon",this.isError?{icon:"circle-xmark-1"}:{icon:"circle-check-1"}))),r("div",{key:"5c97c6193a2ebb0626052953f1a11c9afc258da8",class:"xpl-progress-bar__row"},this.isIndeterminate?r("div",{class:"xpl-progress-bar__track xpl-progress-bar__track--indeterminate",role:"progressbar","aria-label":this.label||"Progress"},r("div",{class:"xpl-progress-bar__indeterminate"})):r("progress",{class:"xpl-progress-bar__progress",value:this.clampedValue,max:this.max,"aria-label":this.label||"Progress"})),this.helperText&&r("div",{key:"8e78ed094ab41425272b1818cc004a9094c3632d",class:"xpl-progress-bar__helper"},this.helperText)))}};export{a as xpl_progress_bar}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as i,F as e,H as h,g as n}from"./p-ukZKsqqq.js";import{t as a}from"./p-CzwViN3U.js";import{i as l}from"./p-Dqb1pIRo.js";import{v as o}from"./p-CK3_k8jD.js";import"./p-BFTU3MAI.js";let c;function r(t){return t.label||t.value||""}function d(t){return t.value||t.label||""}function p(t){return t.flatMap((t=>t.groupName&&t.options?t.options:[t]))}const g=class{constructor(i){t(this,i),this.selectChange=s(this,"selectChange",7),this.changeEvent=s(this,"changeEvent",7),this.dropdownStateChange=s(this,"dropdownStateChange",7),this.triggerDropdown=s(this,"triggerDropdown",7),this.choices=[],this.selectIcon="chevron-down",this.dropdownPlacement="bottom-start",this.mode="single",this.truncate=!0,this.active=!1,this.id=o(),this.keepFocus=!1,this.visibleChoices=1/0,this.choicesState=[],this.value=this.calculateValue(),this.dropdownOpenState=!1,this.container=null,this.dropdown=null,this.handleResizeThrottled=a((()=>{this.maybeTruncateChoices()}),250),this.handleTabKeyDown=t=>{"Tab"===t.key&&(this.keepFocus=!0)},this.handleTagRemove=t=>{const s=s=>t?.value&&s.value===t.value||t?.label&&s.label===t.label;this.choicesState=this.choicesState.map((t=>({...t,isSelected:!s(t)&&t.isSelected,options:t.options?.map((t=>({...t,isSelected:!s(t)&&t.isSelected})))})))},this.handleDropdownScroll=t=>{const s=this.dropdown?.querySelector(".xpl-dropdown-list");if(!s)return;const{scrollTop:i,scrollHeight:e,clientHeight:h}=s;(0===i&&t.deltaY<0||i+h>=e&&t.deltaY>0)&&t.preventDefault()}}onChoicesPropChanged(t){this.choicesState=this.initializeChoicesState()}onSelectedValuesPropChanged(){this.choicesState=this.initializeChoicesState()}onChoicesStateChanged(){this.update()}handleValueStateChange(t){this.selectChange.emit(t),this.changeEvent.emit("single"===this.mode?t:t?.length?t.split("|"):[]),this.customDisplayValue&&null!==this.container&&(this.container.querySelectorAll(".custom-display-value").forEach((s=>{s.classList.toggle("display-active",t.length>0),s.classList.toggle("display-inactive",0===t.length)})),this.container.querySelectorAll(".placeholder").forEach((s=>{s.classList.toggle("placeholder-hidden",t.length>0)})))}onDropdownOpenStateChanged(t){this.dropdownStateChange.emit(t)}initializeChoicesState(){return(this.choices??[]).map((t=>{const s="string"==typeof this.selectedValues?[this.selectedValues]:this.selectedValues;return{...t,isSelected:t.isSelected||!0===s?.includes(d(t)),options:t.options?.map((t=>({...t,isSelected:t.isSelected||!0===s?.includes(d(t))})))}}))}maybeTruncateChoices(){if(!l())return;if("single"===this.mode||!this.truncate)return;const t=this.container?.getBoundingClientRect().width;let s=0,i=0;const e=p(this.choicesState)?.filter((t=>t.isSelected));if(!e.length)return;const h=e.length;e.forEach(((h,n)=>(i+=function(t){const s=l()?(void 0===c&&(c=document.createElement("canvas").getContext("2d"),c&&(c.font="14px apple-system, system-ui, 'Segoe UI', Arial, Helvetica, Roboto, sans-serif")),c):null;return s?s.measureText(t).width+44:0}(r(e[n])),i>(t??0)-140||(s+=1),null))),s>=h&&(s=1/0),s<1&&(s=1),this.visibleChoices=s}closeDropdown(){this.dropdown?.isOpen&&(this.dropdown.isOpen=!1,this.active=!1)}calculateValue(){const t=p(this.choicesState).filter((t=>t.isSelected));return t.length?"single"===this.mode?d(t[0]):t.map((t=>d(t))).join("|"):""}update(){this.value=this.calculateValue(),this.maybeTruncateChoices()}renderLabel(){return this.label||this.description?i("label",{class:{"xpl-label":!0,"xpl-label--disabled":!!this.disabled},htmlFor:this.id},this.label,this.description&&i("small",{class:{"xpl-description":!0,"xpl-description--disabled":!!this.disabled}},this.description)):null}renderSelectedTags(){let t=0;const s=p(this.choicesState).filter((t=>t.isSelected));return s.length?s.map(((e,h)=>t>=this.visibleChoices?null:(t+=1,i("xpl-tag",{onClose:()=>this.handleTagRemove(s[h])},r(s[h]))))):null}renderError(){return this.error?i("label",{class:"xpl-input-error",htmlFor:this.id},i("xpl-icon",{icon:"circle-warning"}),this.error):null}componentWillLoad(){this.choicesState=this.initializeChoicesState()}handleClickEvent(t){const s=t.target.closest(".xpl-select");null!==s&&s===this.container||this.closeDropdown()}handleKeyDown(t){"Escape"===t.key&&(this.active||this.container?.contains(document.activeElement))&&this.closeDropdown()}handleResize(){this.handleResizeThrottled()}componentDidLoad(){void 0!==this.truncateRafId&&cancelAnimationFrame(this.truncateRafId),this.truncateRafId=requestAnimationFrame((()=>{this.truncateRafId=void 0,this.maybeTruncateChoices()}))}disconnectedCallback(){this.handleResizeThrottled?.cancel(),void 0!==this.truncateRafId&&(cancelAnimationFrame(this.truncateRafId),this.truncateRafId=void 0)}handleDropdownTrigger(){if(this.disabled)return;const t=this.dropdown?.isOpen??!1,s=!t;this.triggerDropdown.emit({prevState:t,nextState:s}).defaultPrevented||(this.dropdownOpenState=s,this.dropdown&&(this.dropdown.isOpen=s))}async reset(){this.closeDropdown(),this.choicesState=this.choicesState.map((t=>({...t,isSelected:!1,options:t.options?.map((t=>({...t,isSelected:!1})))})))}render(){const t=p(this.choicesState).filter((t=>t.isSelected)),s=t[0]?.label||t[0]?.value,n=t.length>1&&this.visibleChoices<1/0&&this.truncate&&!this.customDisplayValue,a=`+ ${Math.abs(this.choicesState.filter((t=>t.isSelected)).length-this.visibleChoices)} more`;return i(h,{key:"b080c68630c2c0c6bfeffb6ce27c9b9363898ecc",class:{"xpl-select":!0,"xpl-select--disabled":!!this.disabled,"xpl-select--no-truncate":!this.truncate,[this.classNames??""]:!!this.classNames},onKeyDown:this.handleTabKeyDown,ref:t=>{this.container=t}},this.renderLabel(),i("div",{key:"c2913a9da7988d4e24fd788718637bcebd93fcb6",class:{"xpl-input":!0,"xpl-input--disabled":!!this.disabled,"xpl-input--error":void 0!==this.error}},i("div",{key:"58ea7fdb31c591b2726258d786ca5550219bcd89",class:"xpl-input-wrapper"},i("button",{key:"c4c2b2f0a90cd4ef407b8797fd65b86062387678",class:"xpl-select__trigger",disabled:this.disabled,id:this.id,onKeyDown:this.handleTabKeyDown,onClick:t=>{t.preventDefault(),this.handleDropdownTrigger()},type:"button"},i("div",{key:"7ddc58167d4363991c92d90ee6e0881f04bc725f",class:{"xpl-select-value":!0,"xpl-select-value--active":"multi"===this.mode&&this.value.length>0,"has-value":this.value.length>0}},(()=>this.customDisplayValue?i(e,null,i("div",{class:{"custom-display-value":!0,"custom-display-value--inactive":0===this.value.length}},i("slot",{name:"custom-display-value"})),i("span",{class:{"xpl-placeholder--hidden":this.value.length>0}},this.placeholder)):"single"===this.mode?s||this.placeholder:this.value.length>0?this.renderSelectedTags():this.placeholder)(),n&&a),i("xpl-icon",{key:"8640f1e46263c802edf0e9b18f53d2eb6b2a78a3",class:"xpl-select__chevron-down",icon:this.selectIcon??"chevron-down"}))),!this.disabled&&i("xpl-dropdown",{key:"6fb8d97e175894715a6dbc6ed17bc5b15829ed13",ref:t=>{this.dropdown=t??null},isOpen:this.dropdownOpenState,options:this.choicesState,selectedValues:this.selectedValues,mode:this.mode,triggerId:this.id,update:(t,{component:s})=>{const{options:i}=s;i&&i.length>0&&(this.choicesState=i)},onIsOpenChange:t=>{this.dropdownOpenState=t.detail},onWheel:this.handleDropdownScroll,anchorToTrigger:!0,flipFallbackPlacements:this.dropdownFlipFallbackPlacements,placement:this.dropdownPlacement}),this.renderError()),i("input",{key:"734ef739b61de3320ce777994853cb90ab8271d2",type:"hidden",name:this.name,value:this.value}))}static get watchers(){return{choices:[{onChoicesPropChanged:0}],selectedValues:[{onSelectedValuesPropChanged:0}],choicesState:[{onChoicesStateChanged:0}],value:[{handleValueStateChange:0}],dropdownOpenState:[{onDropdownOpenStateChanged:0}]}}},u=class{constructor(i){t(this,i),this.close=s(this,"close",7),this.tagDragEnd=s(this,"tagDragEnd",7),this.tagDragStart=s(this,"tagDragStart",7),this.tagRemove=s(this,"tagRemove",7),this.dismissAriaLabelSuffix="tag",this.isDragging=!1,this.disabled=!1,this.dismissible=!0,this.isDraggable=!1,this.size="default",this.handleTagClick=()=>{this.disabled||this.isDraggable||this.close.emit()},this.setDragPreviewToHost=t=>{if(t.dataTransfer)try{const s=this.el.getBoundingClientRect(),i=Math.max(0,t.clientX-s.left),e=Math.max(0,t.clientY-s.top);t.dataTransfer.setDragImage(this.el,i,e)}catch{}},this.handleContentKeyDown=t=>{this.disabled||"Enter"!==t.key&&" "!==t.key||t.preventDefault()},this.handleDismissClick=t=>{t.stopPropagation(),this.disabled||(this.close.emit(),this.tagRemove.emit())},this.handleDragStart=t=>{this.isDragging=!0,t.dataTransfer&&(t.dataTransfer.effectAllowed="move",this.setDragPreviewToHost(t),this.tagId&&t.dataTransfer.setData("application/x-tag-id",this.tagId),t.dataTransfer.setData("text/plain",this.getContentLabelText())),this.tagDragStart.emit({tagId:this.tagId,content:this.getContentLabelText(),originalEvent:t})},this.handleDragEnd=t=>{this.isDragging=!1,this.tagDragEnd.emit({tagId:this.tagId,dropped:"move"===t.dataTransfer?.dropEffect,originalEvent:t})},this.handleDragOver=t=>{!this.disabled&&this.isDraggable&&(t.preventDefault(),t.dataTransfer&&(t.dataTransfer.dropEffect="move"))},this.handleDragEnter=t=>{!this.disabled&&this.isDraggable&&t.preventDefault()},this.handleHostDragStart=t=>{t.target===this.el&&this.isDraggable&&t.preventDefault()}}onDisabledChange(t){t&&this.isDragging&&(this.isDragging=!1)}onIsDraggableChange(t){!t&&this.isDragging&&(this.isDragging=!1)}componentDidRender(){queueMicrotask((()=>this.syncDismissAriaLabelSuffix()))}getContentLabelText(){return(this.el.querySelector(".xpl-tag__content")?.textContent??"").trim()}syncDismissAriaLabelSuffix(){if(!this.el.isConnected)return;const t=this.getContentLabelText(),s=""===t?"tag":t;s!==this.dismissAriaLabelSuffix&&(this.dismissAriaLabelSuffix=s)}render(){const t=this.isDraggable&&!this.disabled;return i(h,{key:"4129a867a9581efc82985d11549810860a2c6f87",class:{"xpl-tag":!0,"xpl-tag-container":!0,"xpl-tag--disabled":this.disabled,"xpl-tag--dismissible":this.dismissible,"xpl-tag--dragging":this.isDragging,"xpl-tag--draggable":t,"xpl-tag--sm":"sm"===this.size},onDragOver:t?this.handleDragOver:void 0,onDragEnter:t?this.handleDragEnter:void 0,onDragStart:this.isDraggable?this.handleHostDragStart:void 0},t?i("div",{class:"xpl-tag__content xpl-tag",role:"button",tabIndex:0,draggable:!0,"aria-grabbed":String(this.isDragging),onClick:this.handleTagClick,onKeyDown:this.handleContentKeyDown,onDragStart:this.handleDragStart,onDragEnd:this.handleDragEnd},i("slot",null)):i("button",{class:"xpl-tag__content xpl-tag",type:"button",disabled:this.disabled,onClick:this.handleTagClick},i("slot",null)),this.dismissible&&i("button",{key:"fb10e5fe87053ff4c00f584d887e1f5c29b2dc74",class:"xpl-tag__dismiss xpl-tag__close",type:"button",draggable:!1,disabled:this.disabled,"aria-label":`Dismiss ${this.dismissAriaLabelSuffix}`,onClick:this.handleDismissClick},i("xpl-icon",{key:"e8afb0b6fbf1a942cce78cf6a26b420445094f30",icon:"xmark",size:10})))}get el(){return n(this)}static get watchers(){return{disabled:[{onDisabledChange:0}],isDraggable:[{onIsDraggableChange:0}]}}};export{g as xpl_select,u as xpl_tag}
@@ -0,0 +1 @@
1
+ import{r as a,h as l,H as e}from"./p-ukZKsqqq.js";const c=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 c="xpl-application-shell__nav";return c+=this.navOpen?` xpl-application-shell__nav--${this.navWidth}--open`:` xpl-application-shell__nav--${this.navWidth}`,l(e,{key:"be149a4700553c66898f5d7fa27f68896631c717",class:a},l("div",{key:"5fe0df88f9b5a19104b189ba68a8bfeea3b6afe7",class:c},l("slot",{key:"040596fdc502c23694d6f7bd036c85840d264d2d",name:"nav"})),l("div",{key:"6208807949de1949c8d2c1ff6fc6c9a775212d92",class:"xpl-application-shell__subnav"},l("slot",{key:"e194c31283abc0bcbac3db876d0acb1503d9cc12",name:"subnav"})),l("div",{key:"1cb4caa932297cd858f82d78077c10868a5af323",class:"xpl-application-shell__utility"},l("slot",{key:"cea302c27a7e067c8244ed6f33d17392c06451e5",name:"utility"})),l("div",{key:"4546be74ec501036b7113519c4a65973fb896866",class:"xpl-application-shell__content"},l("slot",{key:"8078f31fe1add42efcd65cabd5137d50dec207d6",name:"content"})),l("xpl-backdrop",{key:"cd07a3093eb1c48fce03f49241905bb2881e472a",onClick:()=>this.navToggleHandler(),class:{"xpl-application-shell__backdrop--open":this.navOpen},relative:!0}))}};export{c as xpl_application_shell}
@@ -0,0 +1 @@
1
+ import{r,h as s,H as t,g as e}from"./p-ukZKsqqq.js";const i=class{constructor(s){r(this,s)}componentDidLoad(){const r=Array.from(this.container.querySelectorAll(".xpl-grid-item"));let s=0,t=0,e=0,i=0;r.forEach((r=>{s+=Number(r.getAttribute("lg"))||6,t+=Number(r.getAttribute("md"))||6,e+=Number(r.getAttribute("sm"))||6,i+=Number(r.getAttribute("xs"))||6,s%6==0&&r.classList.add("xpl-grid-item-lg-last"),t%6==0&&r.classList.add("xpl-grid-item-md-last"),e%6==0&&r.classList.add("xpl-grid-item-sm-last"),i%6==0&&r.classList.add("xpl-grid-item-xs-last")}))}render(){return s(t,{key:"94440d9d2f50c8712e7e4599409101da361f66d8",class:"xpl-grid"})}get container(){return e(this)}};export{i as xpl_grid}
@@ -0,0 +1 @@
1
+ import{r as s,c as e,h as i,H as t,g as a}from"./p-ukZKsqqq.js";import{e as n,g as c,h}from"./p-C_PEOQWj.js";const d=class{constructor(i){s(this,i),this.expandedChange=e(this,"expandedChange",7),this.hasBadgeSlot=!1,this.hasNamedBadgeSlot=!1,this.collapsible=!0,this.expanded=!1,this.handleHeaderClick=()=>{this.collapsible&&(this.expanded=!this.expanded,this.expandedChange.emit(this.expanded))}}connectedCallback(){this.syncBadgeSlot(),this.connectBadgeSlotObserver()}disconnectedCallback(){void 0!==this.badgeSlotSyncTimeoutId&&(clearTimeout(this.badgeSlotSyncTimeoutId),this.badgeSlotSyncTimeoutId=void 0),this.disconnectBadgeSlotObserver()}componentWillLoad(){this.childrenId=n(this.el,this.childrenId),this.syncBadgeSlot()}componentWillRender(){this.disconnectBadgeSlotObserver()}componentDidRender(){this.scheduleBadgeSlotSync()}connectBadgeSlotObserver(){this.disconnectBadgeSlotObserver(),"undefined"!=typeof MutationObserver&&(this.badgeSlotObserver=new MutationObserver((()=>{this.scheduleBadgeSlotSync()})),this.badgeSlotObserver.observe(this.el,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["slot"]}))}disconnectBadgeSlotObserver(){this.badgeSlotObserver?.disconnect(),this.badgeSlotObserver=void 0}scheduleBadgeSlotSync(){void 0!==this.badgeSlotSyncTimeoutId&&clearTimeout(this.badgeSlotSyncTimeoutId),this.badgeSlotSyncTimeoutId=setTimeout((()=>{this.badgeSlotSyncTimeoutId=void 0,this.el.isConnected&&(this.syncBadgeSlot(),this.connectBadgeSlotObserver())}),0)}syncBadgeSlot(){const s=c(this.el,"badge","xpl-side-nav-section"),e=h(this.el,"badge","xpl-side-nav-section"),i=s.some((s=>s.textContent?.trim()||s.getAttribute("aria-label")?.trim()));e!==this.hasBadgeSlot&&(this.hasBadgeSlot=e),i!==this.hasNamedBadgeSlot&&(this.hasNamedBadgeSlot=i)}render(){const s=!this.collapsible||this.expanded,e=!!this.heading?.trim(),a=this.childrenId??n(this.el,this.childrenId),c=[i("span",{key:"c3a19938fa87b21552b5fdff800baf2ee97c186c",class:"xpl-side-nav-section__title"},this.heading??""),i("span",{key:"9303238b226f336cbf0527ef91c2c5d8bce7771c",class:"xpl-side-nav-section__badge",hidden:!this.hasBadgeSlot},i("slot",{key:"40921f618390e462b0ac69adc0206acd82b884ca",name:"badge"})),this.collapsible?i("span",{class:"xpl-side-nav-section__chevron","aria-hidden":"true"},i("xpl-icon",{icon:this.expanded?"chevron-down":"chevron-right",size:16})):null];return i(t,{key:"fae9c5e2d179a174aae5114a21a442fa787269ad",class:{"xpl-side-nav-section":!0,"xpl-side-nav-section--static":!this.collapsible}},this.collapsible?i("button",{type:"button",class:"xpl-side-nav-section__header","aria-expanded":this.expanded?"true":"false","aria-controls":a,"aria-label":e||this.hasNamedBadgeSlot?void 0:"Toggle section",onClick:this.handleHeaderClick},c):i("div",{class:"xpl-side-nav-section__header"},c),i("div",{key:"c33a5478f2c226b915fddf006802312eb7de29e9",id:a,class:{"xpl-side-nav-section__children":!0,expanded:s},inert:!s||void 0},i("div",{key:"ed7de4040c1e5677ad3b74eb65fc4f6357bab3b6",class:"xpl-side-nav-section__children-inner"},i("slot",{key:"3f8434e92bb7fcdd7c8a825481a12ef24ba1da28"}))))}get el(){return a(this)}};export{d as xpl_side_nav_section}
@@ -0,0 +1 @@
1
+ import{r as t,h as a,H as s,g as r,c as i}from"./p-ukZKsqqq.js";import{v as e}from"./p-CK3_k8jD.js";const l={active:"green",inactive:"gray",warning:"red"};function h(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 n=class{constructor(a){t(this,a),this.cachedGroupItems=[],this.cachedSlotContent="",this.disabled=!1}onGroupDataChange(t){this.cachedGroupItems=n.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 console.warn("[Apollo] xpl-avatar: groupData is not valid JSON; rendering no group items"),[]}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:h(this.name)}static getSingleAvatarClasses(t,a,s,r){return{"xpl-avatar":!0,[`xpl-avatar--${t}`]:!!t,[`xpl-avatar--${a}`]:!!a,"xpl-avatar--profile":!!s,"xpl-avatar--disabled":!!r}}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,r,i,e=!0){return t?a("img",{alt:s??"",src:t}):a("div",{class:"xpl-avatar__placeholder",role:"img","aria-label":s??i},r||(e?a("slot",null):null))}renderAvatarMediaWithStatusBadge(t){const s=this.getPlaceholderText();return a("div",{...t?{class:t}:{}},n.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 r=t.name?h(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,n.renderAvatarMedia(t.src,t.name,r,`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,r=t.slice(0,4),i=t.length-4,e=i>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`)}(i):"";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`},r.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":`${i} more`},l)))}if("with-text"===t){const t=this.renderAvatarMediaWithStatusBadge("xpl-avatar__with-text-avatar"),r={"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:r},t,this.renderWithTextContent())):a("div",{class:r,"aria-disabled":this.disabled?"true":void 0},t,this.renderWithTextContent()))}const r="profile"===t,i=n.getSingleAvatarClasses(r&&"md"===this.size?void 0:this.size,this.color,r,this.disabled),e=this.renderAvatarMediaWithStatusBadge();return a(s,null,this.href&&!this.disabled?a("a",{...this.getAnchorProps(i)},e):a("div",{class:i,"aria-disabled":this.disabled?"true":void 0},e))}get el(){return r(this)}static get watchers(){return{groupData:[{onGroupDataChange:0}]}}},o=class{constructor(a){t(this,a)}render(){let t="xpl-divider";return t+=` xpl-divider--${this.tier}`,a(s,{key:"942681efa6bd2c3806109240a5ac5c179b112551",class:t},a("span",{key:"ce0b0ada57e7a51319260c88c10e411e3aaf2992"},a("slot",{key:"da50f574acdf87def6ff77ef743bf38cc8717a79"})))}},d=class{constructor(a){t(this,a),this.radioChange=i(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:"e3626967beb86dee46de974dd2a3c8993314d2d0",class:{"xpl-checkbox-radio-container":!0,styled:!!this.styled,disabled:!!this.disabled}},a("input",{key:"cdc8d7968dd78031f33b4f72024698f7afec27cf",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:"5bb2243b7fe42b219d3fa3696c92321b116f8c72",class:{"xpl-label":!0,"xpl-label--disabled":!!this.disabled},htmlFor:this.id},a("slot",{key:"85f1bf2c73111b8f5c0b0ae26343f590c8a50faf"}),this.description&&a("small",{key:"6452b050fe0df584373a45d105434fe31a8a82ba",class:{"xpl-description":!0,"xpl-description--disabled":!!this.disabled}},this.description)))}};export{n as xpl_avatar,o as xpl_divider,d as xpl_radio}