@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,520 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-ukZKsqqq.js';
2
+ import { v as v4 } from './v4-CK3_k8jD.js';
3
+ import { f as flatpickr } from './index-CH4yJ6Qx.js';
4
+ import { i as isBrowser } from './lifecycle-Dqb1pIRo.js';
5
+
6
+ const Input = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.blurEvent = createEvent(this, "blurEvent", 7);
10
+ this.focusEvent = createEvent(this, "focusEvent", 7);
11
+ this.inputEvent = createEvent(this, "inputEvent", 7);
12
+ this.search = createEvent(this, "search", 7);
13
+ this.valueChange = createEvent(this, "valueChange", 7);
14
+ this.multiline = false;
15
+ this.dateFormat = 'Y-m-d';
16
+ this.timeFormat = '24h';
17
+ this.allowCustomOption = false;
18
+ this.mode = 'single';
19
+ this.accept = '';
20
+ this.multiple = false;
21
+ this.hideTriggerOnSelect = false;
22
+ this.hideFileNames = false;
23
+ this.hideAcceptText = false;
24
+ this.defaultCountry = 'US';
25
+ this.isInternational = true;
26
+ this.ariaLabel = '';
27
+ this.type = 'text';
28
+ this.handleChildValueChange = (event) => {
29
+ event.stopPropagation();
30
+ this.valueChange.emit(event.detail);
31
+ };
32
+ this.valueChanged = (event) => {
33
+ const target = event.target;
34
+ this.valueChange.emit(target.value);
35
+ };
36
+ this.characterCount = 0;
37
+ this.passwordVisible = false;
38
+ this.hasPreSlotContent = false;
39
+ this.handleBlur = (ev) => {
40
+ this.blurEvent.emit(ev);
41
+ };
42
+ this.handleFocus = (ev) => {
43
+ this.focusEvent.emit(ev);
44
+ };
45
+ this.handleInput = (ev) => {
46
+ if (this.multiline) {
47
+ this.updateCharacterCount();
48
+ }
49
+ const { value } = ev.target;
50
+ this.inputEvent.emit(value);
51
+ };
52
+ this.handleSearchBlurForward = (event) => {
53
+ const { detail } = event;
54
+ if (!detail) {
55
+ return;
56
+ }
57
+ event.stopPropagation();
58
+ this.blurEvent.emit(detail);
59
+ };
60
+ this.handleSearchCommit = (event) => {
61
+ event.stopPropagation();
62
+ this.search.emit(event.detail);
63
+ };
64
+ this.handleSearchFocusForward = (event) => {
65
+ const { detail } = event;
66
+ if (!detail) {
67
+ return;
68
+ }
69
+ event.stopPropagation();
70
+ this.focusEvent.emit(detail);
71
+ };
72
+ }
73
+ connectedCallback() {
74
+ this.syncPreSlotContent();
75
+ this.connectPreSlotObserver();
76
+ }
77
+ disconnectedCallback() {
78
+ if (this.preSlotSyncTimeoutId !== undefined) {
79
+ clearTimeout(this.preSlotSyncTimeoutId);
80
+ this.preSlotSyncTimeoutId = undefined;
81
+ }
82
+ this.disconnectPreSlotObserver();
83
+ }
84
+ componentWillLoad() {
85
+ if (this._id === undefined || this._id === null || this._id === '')
86
+ this._id = v4();
87
+ if (this.multiline && this.maxCharacterCount !== undefined) {
88
+ this.characterCount = this.value !== undefined ? this.value.length : 0;
89
+ }
90
+ this.syncPreSlotContent();
91
+ }
92
+ componentWillRender() {
93
+ this.disconnectPreSlotObserver();
94
+ }
95
+ componentDidRender() {
96
+ this.schedulePreSlotSync();
97
+ }
98
+ async setFocus() {
99
+ if (this.type === 'search') {
100
+ await this.searchInputRef?.setFocus();
101
+ return;
102
+ }
103
+ this.input?.focus();
104
+ }
105
+ connectPreSlotObserver() {
106
+ this.disconnectPreSlotObserver();
107
+ if (this.multiline || this.type === 'search' || typeof MutationObserver === 'undefined') {
108
+ return;
109
+ }
110
+ this.preSlotObserver = new MutationObserver(() => {
111
+ this.schedulePreSlotSync();
112
+ });
113
+ this.preSlotObserver.observe(this.el, {
114
+ childList: true,
115
+ subtree: true,
116
+ attributes: true,
117
+ attributeFilter: ['slot'],
118
+ });
119
+ }
120
+ disconnectPreSlotObserver() {
121
+ this.preSlotObserver?.disconnect();
122
+ this.preSlotObserver = undefined;
123
+ }
124
+ schedulePreSlotSync() {
125
+ if (this.preSlotSyncTimeoutId !== undefined) {
126
+ clearTimeout(this.preSlotSyncTimeoutId);
127
+ }
128
+ this.preSlotSyncTimeoutId = setTimeout(() => {
129
+ this.preSlotSyncTimeoutId = undefined;
130
+ if (!this.el.isConnected) {
131
+ return;
132
+ }
133
+ this.syncPreSlotContent();
134
+ this.connectPreSlotObserver();
135
+ }, 0);
136
+ }
137
+ syncPreSlotContent() {
138
+ if (this.multiline || this.type === 'search') {
139
+ return;
140
+ }
141
+ const next = Array.from(this.el.querySelectorAll('[slot="pre"]')).some((node) => node.closest('xpl-input') === this.el);
142
+ if (next !== this.hasPreSlotContent) {
143
+ this.hasPreSlotContent = next;
144
+ }
145
+ }
146
+ updateCharacterCount() {
147
+ this.characterCount = this.input?.value.length ?? 0;
148
+ }
149
+ renderInput() {
150
+ switch (this.type) {
151
+ case 'file':
152
+ return (h("xpl-input-file", { accept: this.accept, disabled: this.disabled, hideAcceptText: this.hideAcceptText, hideFileNames: this.hideFileNames, hideTriggerOnSelect: this.hideTriggerOnSelect, multiple: this.multiple, name: this.name, onInputChange: this.handleChildValueChange, _id: this._id }, h("slot", { name: "trigger" })));
153
+ case 'color':
154
+ return (h("xpl-input-color", { disabled: this.disabled, value: this.value, placeholder: this.placeholder, required: this.required, hideEyeDropper: this.hideEyeDropper, onInputChange: this.handleChildValueChange }));
155
+ case 'date':
156
+ return (h("xpl-input-date", { inputId: this._id, disabled: this.disabled, name: this.name, required: this.required, readonly: this.readonly, value: this.value, placeholder: this.placeholder, post: this.post, pre: this.pre, max: this.max, min: this.min, dateFormat: this.dateFormat, mode: this.mode, onValueChange: this.handleChildValueChange }));
157
+ case 'time':
158
+ return (h("xpl-input-time", { inputId: this._id, disabled: this.disabled, name: this.name, required: this.required, readonly: this.readonly, value: this.value, placeholder: this.placeholder, max: this.max, min: this.min, step: this.step, mode: this.mode, timeFormat: this.timeFormat, allowCustomOption: this.allowCustomOption, onValueChange: this.handleChildValueChange }));
159
+ case 'phone':
160
+ return (h("xpl-input-phone", { inputId: this._id, disabled: this.disabled, error: this.error !== undefined, name: this.name, required: this.required, readonly: this.readonly, value: this.value, placeholder: this.placeholder, defaultCountry: this.defaultCountry, preferredCountries: this.preferredCountries, isInternational: this.isInternational, onValueChange: this.handleChildValueChange }));
161
+ case 'search': {
162
+ const hasVisibleLabel = Boolean((this.label ?? '').trim());
163
+ const hasError = this.error !== undefined;
164
+ const hasErrorMessage = hasError && (this.error?.length ?? 0) > 0;
165
+ return (h("xpl-input-search", { ariaLabel: (this.ariaLabel ?? '').trim() || 'Search', autocomplete: this.autocomplete ?? 'off', disabled: this.disabled, errorMessageId: hasErrorMessage ? `${this._id}-error` : undefined, hasError: hasError, hasVisibleLabel: hasVisibleLabel, inputId: this._id ?? '', name: this.name, onBlurEvent: this.handleSearchBlurForward, onFocusEvent: this.handleSearchFocusForward, onSearch: this.handleSearchCommit, onValueChange: this.handleChildValueChange, placeholder: this.placeholder ?? 'Search', readonly: this.readonly, ref: (el) => {
166
+ this.searchInputRef = el ?? undefined;
167
+ }, required: this.required, shape: this.shape ?? 'rounded', value: this.value ?? '' }));
168
+ }
169
+ default:
170
+ return (h("div", { class: "xpl-input-wrapper" }, !this.multiline && (h("label", { class: {
171
+ 'xpl-input-pre': true,
172
+ 'xpl-input-pre--hidden': !this.pre && !this.hasPreSlotContent,
173
+ }, htmlFor: this._id }, h("slot", { name: "pre" }, this.pre))), !this.multiline ? (h("input", { autocomplete: this.autocomplete, disabled: this.disabled, id: this._id, max: this.max, min: this.min, name: this.name, placeholder: this.placeholder, readonly: this.readonly, ref: (el) => {
174
+ this.input = el ?? undefined;
175
+ }, required: this.required, step: this.step, type: this.type, value: this.value, onChange: this.valueChanged, onFocus: this.handleFocus, onBlur: this.handleBlur, onInput: this.handleInput })) : (h("textarea", { disabled: this.disabled, id: this._id, name: this.name, placeholder: this.placeholder, readonly: this.readonly, ref: (el) => {
176
+ this.input = el ?? undefined;
177
+ }, required: this.required, onChange: this.valueChanged, onFocus: this.handleFocus, onBlur: this.handleBlur, onInput: this.handleInput }, this.value)), this.type === 'password' && (h("button", { "aria-label": "Toggle password visibility", class: "xpl-input-password", onClick: () => {
178
+ this.passwordVisible = !this.passwordVisible;
179
+ }, role: "presentation" }, h("xpl-icon", { icon: this.passwordVisible ? 'eye-closed' : 'eye', size: 24 }))), this.post && !this.multiline && (h("label", { class: "xpl-input-post", htmlFor: this._id }, this.post)), this.multiline && this.maxCharacterCount !== undefined && (h("span", { class: "xpl-input-characters" }, this.characterCount, "/", this.maxCharacterCount))));
180
+ }
181
+ }
182
+ render() {
183
+ let hasError = false;
184
+ if (this.error !== undefined) {
185
+ hasError = true;
186
+ }
187
+ else if (this.multiline &&
188
+ this.maxCharacterCount !== undefined &&
189
+ this.characterCount > this.maxCharacterCount) {
190
+ hasError = true;
191
+ }
192
+ return (h(Host, { key: '94a5e19a36756ac43ebbe6d3996a2ffbf475da24', class: {
193
+ 'xpl-input': true,
194
+ 'xpl-input--disabled': !!this.disabled,
195
+ 'xpl-input--error': hasError,
196
+ 'xpl-input--readonly': !!this.readonly,
197
+ [`xpl-input--${this.type}`]: true,
198
+ } }, this.label && (h("label", { key: 'd41b5e5245483e2ea235c910f85cd6a21b100dec', class: "xpl-input-label", htmlFor: this._id }, this.label, this.description && h("small", { key: 'c9d55823b8b97678b2f5f4374446c3693e6dceaa' }, this.description))), this.renderInput(), (this.error?.length ?? 0) > 0 && (h("label", { key: '20e5a1d2af06e571f0757aa60633438f79a6a17d', class: "xpl-input-error", htmlFor: this._id, id: `${this._id}-error` }, h("xpl-icon", { key: 'a193ee5f1d3e0d8479fa8dfd66ab27edeb400d30', icon: "circle-warning", size: 16 }), h("span", { key: 'acf686fe036d1a1e9cb944ff773dda86e90ff39a' }, this.error)))));
199
+ }
200
+ get el() { return getElement(this); }
201
+ };
202
+
203
+ function isInsideFixedPosition(element) {
204
+ if (!isBrowser()) {
205
+ return false;
206
+ }
207
+ let el = element.parentElement;
208
+ while (el && el !== document.body && el !== document.documentElement) {
209
+ if (getComputedStyle(el).position === 'fixed') {
210
+ return true;
211
+ }
212
+ el = el.parentElement;
213
+ }
214
+ return false;
215
+ }
216
+ function getNearestScrollableAncestor(element) {
217
+ if (!isBrowser()) {
218
+ return undefined;
219
+ }
220
+ let el = element.parentElement;
221
+ while (el && el !== document.body && el !== document.documentElement) {
222
+ const style = getComputedStyle(el);
223
+ const overflow = style.overflow + style.overflowX + style.overflowY;
224
+ if (/auto|scroll/.test(overflow)) {
225
+ return el;
226
+ }
227
+ el = el.parentElement;
228
+ }
229
+ return undefined;
230
+ }
231
+
232
+ const arrowSvg = (rotate = false) => `<svg width="8" height="12" viewBox="0 0 8 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="${rotate
233
+ ? 'M0.557948 5.6813L6.06209 0.132167C6.23831 -0.0440556 6.52327 -0.0440556 6.69949 0.132167L7.44187 0.874551C7.61809 1.05077 7.61809 1.33573 7.44187 1.51195L2.99882 6L7.44187 10.488C7.61809 10.6643 7.61809 10.9492 7.44187 11.1254L6.69949 11.8678C6.52327 12.0441 6.23831 12.0441 6.06209 11.8678L0.557948 6.3187C0.381726 6.14248 0.381726 5.85752 0.557948 5.6813Z'
234
+ : 'M7.44187 6.3187L1.93773 11.8678C1.76151 12.0441 1.47655 12.0441 1.30033 11.8678L0.557948 11.1254C0.381726 10.9492 0.381726 10.6643 0.557948 10.488L5.001 6L0.557948 1.51195C0.381726 1.33573 0.381726 1.05077 0.557948 0.874551L1.30033 0.132167C1.47655 -0.0440556 1.76151 -0.0440556 1.93773 0.132167L7.44187 5.6813C7.6181 5.85752 7.6181 6.14248 7.44187 6.3187Z'}" /></svg>`;
235
+ const InputDate = class {
236
+ constructor(hostRef) {
237
+ registerInstance(this, hostRef);
238
+ this.valueChange = createEvent(this, "valueChange", 7);
239
+ this.hasErrorStateChanged = createEvent(this, "hasErrorStateChanged", 7);
240
+ this.rangeSelected = createEvent(this, "rangeSelected", 7);
241
+ this.dateFormat = 'Y-m-d';
242
+ this.mode = 'single';
243
+ this.flatpickrStaticLayout = false;
244
+ this.valueChanged = (event) => {
245
+ const target = event.target;
246
+ this.valueChange.emit(target.value);
247
+ };
248
+ }
249
+ onHasErrorStateChanged(newValue) {
250
+ this.hasErrorStateChanged.emit(newValue);
251
+ }
252
+ onValueChanged(newValue) {
253
+ this.flatpickrInstance?.setDate(newValue);
254
+ }
255
+ connectedCallback() {
256
+ queueMicrotask(() => this.ensureFlatpickr());
257
+ }
258
+ disconnectedCallback() {
259
+ this.flatpickrInstance?.destroy();
260
+ this.flatpickrInstance = undefined;
261
+ this.flatpickrStaticLayout = false;
262
+ this.unwrapStaleFlatpickrWrapper();
263
+ }
264
+ componentDidRender() {
265
+ this.ensureFlatpickr();
266
+ }
267
+ ensureFlatpickr() {
268
+ if (!isBrowser()) {
269
+ return;
270
+ }
271
+ if (this.flatpickrInstance || !this.input || !this.el.isConnected) {
272
+ return;
273
+ }
274
+ this.unwrapStaleFlatpickrWrapper();
275
+ this.initFlatpickr();
276
+ }
277
+ initFlatpickr() {
278
+ const { input } = this;
279
+ if (!input) {
280
+ return;
281
+ }
282
+ const insideFixed = isInsideFixedPosition(this.el);
283
+ this.flatpickrInstance = flatpickr(input, {
284
+ allowInput: true,
285
+ ...(insideFixed
286
+ ? { static: true }
287
+ : { appendTo: getNearestScrollableAncestor(this.el) }),
288
+ dateFormat: this.dateFormat,
289
+ defaultDate: this.value,
290
+ maxDate: this.max,
291
+ minDate: this.min,
292
+ mode: this.mode,
293
+ nextArrow: arrowSvg(),
294
+ prevArrow: arrowSvg(true),
295
+ onClose: (selectedDates) => {
296
+ const minRequiredDates = !this.required ? 0 : this.mode === 'single' ? 1 : 2;
297
+ this.hasErrorState = selectedDates.length < minRequiredDates ? 'required' : null;
298
+ if (selectedDates.length === 2) {
299
+ const [start, end] = selectedDates;
300
+ this.rangeSelected.emit({
301
+ start,
302
+ end,
303
+ });
304
+ }
305
+ },
306
+ });
307
+ queueMicrotask(() => {
308
+ if (this.flatpickrStaticLayout !== insideFixed) {
309
+ this.flatpickrStaticLayout = insideFixed;
310
+ }
311
+ });
312
+ }
313
+ unwrapStaleFlatpickrWrapper() {
314
+ const { input } = this;
315
+ const wrapper = input?.parentElement;
316
+ if (!wrapper?.classList.contains('flatpickr-wrapper')) {
317
+ return;
318
+ }
319
+ const parent = wrapper.parentElement;
320
+ if (!parent) {
321
+ return;
322
+ }
323
+ while (wrapper.firstChild) {
324
+ parent.insertBefore(wrapper.firstChild, wrapper);
325
+ }
326
+ parent.removeChild(wrapper);
327
+ }
328
+ render() {
329
+ return (h(Host, { key: '768d9bffdb7431a48824590f9ae61f8e77735e98', class: {
330
+ 'xpl-input-date': true,
331
+ [`xpl-input-date--mode-${this.mode}`]: true,
332
+ 'xpl-input-date--error': !!this.hasErrorState,
333
+ 'xpl-input-date--flatpickr-static': this.flatpickrStaticLayout,
334
+ } }, h("div", { key: '5b3421bad3bc8474b3724fc7a4287ccf98bd1ba5', class: "xpl-input-wrapper" }, this.pre && (h("label", { key: 'f0e88d0052247c15decc6de2635db1fb847fdd94', class: "xpl-input-pre", htmlFor: this.inputId }, this.pre)), h("input", { key: '251ddfab7140c7a13fd2ef36d7baefe81ed3e716', type: "date", id: this.inputId, disabled: this.disabled, name: this.name, required: this.required, readonly: this.readonly, placeholder: this.placeholder, max: this.max, min: this.min, ref: (el) => {
335
+ this.input = el ?? undefined;
336
+ }, onChange: (event) => {
337
+ this.valueChanged(event);
338
+ } }), h("xpl-icon", { key: '6828c8024496963a2a480091a40326154e21d1f5', class: "xpl-input-calendar", icon: "calendar", size: 24 }), this.post && (h("label", { key: 'e08267b6ffc0d605b557e69784b54757621182c7', class: "xpl-input-post", htmlFor: this.inputId }, this.post)))));
339
+ }
340
+ get el() { return getElement(this); }
341
+ static get watchers() { return {
342
+ "hasErrorState": [{
343
+ "onHasErrorStateChanged": 0
344
+ }],
345
+ "value": [{
346
+ "onValueChanged": 0
347
+ }]
348
+ }; }
349
+ };
350
+
351
+ const InputFile = class {
352
+ constructor(hostRef) {
353
+ registerInstance(this, hostRef);
354
+ this.inputChange = createEvent(this, "inputChange", 7);
355
+ this.accept = '';
356
+ this.multiple = false;
357
+ this.hideTriggerOnSelect = false;
358
+ this.hideFileNames = false;
359
+ this.hideAcceptText = false;
360
+ this.files = null;
361
+ this.openFileDialog = () => {
362
+ if (this.disabled) {
363
+ return;
364
+ }
365
+ this.fileInput?.click();
366
+ };
367
+ this.handleFileChange = (event) => {
368
+ const target = event.target;
369
+ this.files = target.files ? Array.from(target.files) : null;
370
+ };
371
+ this.onRemoveFileByIndex = (fileIndex) => {
372
+ this.files = (this.files ?? []).filter((_, i) => i !== fileIndex);
373
+ };
374
+ }
375
+ onFilesChange(newFiles) {
376
+ this.inputChange.emit({
377
+ type: 'file',
378
+ value: newFiles,
379
+ });
380
+ }
381
+ async removeFileByIndex(fileIndex) {
382
+ this.onRemoveFileByIndex(fileIndex);
383
+ }
384
+ render() {
385
+ return (h(Host, { key: 'baa52af5a8ee6222ff745cece6e59d9480165af6', class: {
386
+ 'xpl-input-file': true,
387
+ 'xpl-input-file--hide-trigger-on-select': !!this.hideTriggerOnSelect,
388
+ 'xpl-input-file--disabled': !!this.disabled,
389
+ } }, h("span", { key: '802ed05f26bd1e2a618f5e09bea7370fe69a4718', class: {
390
+ 'xpl-input-file__trigger-wrapper': true,
391
+ 'xpl-input-file__trigger-wrapper--hidden': !!this.hideTriggerOnSelect && (this.files?.length ?? 0) > 0,
392
+ }, role: "button", tabIndex: 0, onClick: this.openFileDialog }, h("slot", { key: '487381f2b34d2ad528f1b32f976e5513c1e29c11', name: "trigger" })), (this.files?.length ?? 0) > 0 && !this.hideFileNames && (h("ul", { key: 'fe7b503a89a65af02cbb39b93b518b2dde790a34', class: "xpl-input-file__file-list" }, (this.files ?? []).map((file, fileIndex) => (h("li", { class: "xpl-input-file__file-item" }, h("span", { class: "xpl-input-file__file-name" }, file.name), h("xpl-icon", { icon: "x-circle", size: 24, onClick: (e) => {
393
+ e.preventDefault();
394
+ e.stopPropagation();
395
+ this.onRemoveFileByIndex(fileIndex);
396
+ }, class: "xpl-input-file__remove-icon" })))))), this.accept && !this.hideAcceptText && (h("span", { key: '6e5e54426f2b33858b374d09014ec0096fa43bb4', class: "xpl-input-file__accept" }, "Accepted file types: ", this.accept)), h("input", { key: '81d08e97d8d2c8a59640348e295261f9acd439cc', onChange: this.handleFileChange, type: "file", ref: (el) => {
397
+ this.fileInput = el ?? undefined;
398
+ }, hidden: true, accept: this.accept, multiple: this.multiple, name: this.name })));
399
+ }
400
+ get el() { return getElement(this); }
401
+ static get watchers() { return {
402
+ "files": [{
403
+ "onFilesChange": 0
404
+ }]
405
+ }; }
406
+ };
407
+
408
+ const InputSearch = class {
409
+ constructor(hostRef) {
410
+ registerInstance(this, hostRef);
411
+ this.blurEvent = createEvent(this, "blurEvent", 7);
412
+ this.focusEvent = createEvent(this, "focusEvent", 7);
413
+ this.inputEvent = createEvent(this, "inputEvent", 7);
414
+ this.search = createEvent(this, "search", 7);
415
+ this.valueChange = createEvent(this, "valueChange", 7);
416
+ this.hasAncestorForm = false;
417
+ this.ariaLabel = 'Search';
418
+ this.autocomplete = 'off';
419
+ this.disabled = false;
420
+ this.hasError = false;
421
+ this.hasVisibleLabel = false;
422
+ this.placeholder = 'Search';
423
+ this.readonly = false;
424
+ this.required = false;
425
+ this.shape = 'rounded';
426
+ this.value = '';
427
+ this.handleInnerFormSubmit = (event) => {
428
+ event.preventDefault();
429
+ if (this.disabled || this.readonly) {
430
+ return;
431
+ }
432
+ this.emitSearchCommit(this.value.trim());
433
+ };
434
+ this.handleClear = (event) => {
435
+ event.preventDefault();
436
+ if (this.disabled || this.readonly) {
437
+ return;
438
+ }
439
+ this.value = '';
440
+ this.valueChange.emit('');
441
+ this.inputEvent.emit('');
442
+ this.inputEl?.focus();
443
+ };
444
+ this.handleInput = (event) => {
445
+ const target = event.target;
446
+ this.value = target.value;
447
+ this.valueChange.emit(target.value);
448
+ this.inputEvent.emit(target.value);
449
+ };
450
+ this.handleKeyDown = (event) => {
451
+ if (event.key !== 'Enter')
452
+ return;
453
+ if (this.disabled || this.readonly) {
454
+ return;
455
+ }
456
+ const input = event.target;
457
+ if (input.form) {
458
+ return;
459
+ }
460
+ event.preventDefault();
461
+ this.emitSearchCommit(this.value.trim());
462
+ };
463
+ this.handleFocus = (event) => {
464
+ this.focusEvent.emit(event);
465
+ };
466
+ this.handleBlur = (event) => {
467
+ this.blurEvent.emit(event);
468
+ };
469
+ }
470
+ connectedCallback() {
471
+ this.syncAncestorFormFlag();
472
+ }
473
+ async setFocus() {
474
+ this.inputEl?.focus();
475
+ }
476
+ syncAncestorFormFlag() {
477
+ const root = this.el;
478
+ const next = Boolean(root && typeof root.closest === 'function' && root.closest('form'));
479
+ if (this.hasAncestorForm !== next) {
480
+ this.hasAncestorForm = next;
481
+ }
482
+ }
483
+ get hasValue() {
484
+ return this.value !== undefined && this.value.length > 0;
485
+ }
486
+ get resolvedInputAriaLabel() {
487
+ if (this.hasVisibleLabel) {
488
+ return undefined;
489
+ }
490
+ return (this.ariaLabel ?? '').trim() || 'Search';
491
+ }
492
+ get rendersInnerSearchForm() {
493
+ return !this.hasAncestorForm;
494
+ }
495
+ emitSearchCommit(detail) {
496
+ this.search.emit(detail);
497
+ }
498
+ renderShell() {
499
+ const shell = (h("div", { class: "xpl-input-search__shell" }, h("span", { class: "xpl-input-search__icon", "aria-hidden": "true" }, h("xpl-icon", { icon: "magnifier", size: 20 })), h("input", { "aria-describedby": this.hasError ? this.errorMessageId : undefined, "aria-invalid": this.hasError ? 'true' : undefined, "aria-label": this.resolvedInputAriaLabel, autocomplete: this.autocomplete, class: "xpl-input-search__input", disabled: this.disabled, id: this.inputId, name: this.name, onBlur: this.handleBlur, onFocus: this.handleFocus, onInput: this.handleInput, onKeyDown: this.handleKeyDown, placeholder: this.placeholder, readonly: this.readonly, ref: (el) => {
500
+ this.inputEl = el ?? undefined;
501
+ }, required: this.required, role: "searchbox", type: "text", value: this.value }), h("button", { "aria-hidden": this.hasValue ? undefined : 'true', "aria-label": "Clear search", class: "xpl-input-search__clear", disabled: this.disabled || this.readonly, onClick: this.handleClear, type: "button" }, h("xpl-icon", { icon: "circle-xmark", size: 16 }))));
502
+ if (this.rendersInnerSearchForm) {
503
+ return (h("form", { class: "xpl-input-search__form", onSubmit: this.handleInnerFormSubmit }, shell));
504
+ }
505
+ return shell;
506
+ }
507
+ render() {
508
+ return (h(Host, { key: '4a152d3a8db620391334488e1c6c3cdbe9250ba3', class: {
509
+ 'xpl-input-search': true,
510
+ 'xpl-input-search--disabled': this.disabled,
511
+ 'xpl-input-search--error': this.hasError,
512
+ 'xpl-input-search--has-value': this.hasValue,
513
+ 'xpl-input-search--readonly': this.readonly,
514
+ 'xpl-input-search--shape-box': this.shape === 'box',
515
+ } }, this.renderShell()));
516
+ }
517
+ get el() { return getElement(this); }
518
+ };
519
+
520
+ export { Input as xpl_input, InputDate as xpl_input_date, InputFile as xpl_input_file, InputSearch as xpl_input_search };
@@ -1,8 +1,25 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-CXkZUm1c.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-ukZKsqqq.js';
2
+ import { h as hostHasNamedSlot } from './slot-presence-_r9-FML8.js';
2
3
 
4
+ const GRAPH_CONTENT_SLOT = 'graph-content';
3
5
  const LargeCard = class {
4
6
  constructor(hostRef) {
5
7
  registerInstance(this, hostRef);
8
+ this.graphContentPresent = false;
9
+ }
10
+ connectedCallback() {
11
+ this.syncGraphContentSlot();
12
+ this.connectGraphContentSlotObserver();
13
+ }
14
+ disconnectedCallback() {
15
+ if (this.graphContentSlotSyncTimeoutId !== undefined) {
16
+ clearTimeout(this.graphContentSlotSyncTimeoutId);
17
+ this.graphContentSlotSyncTimeoutId = undefined;
18
+ }
19
+ this.disconnectGraphContentSlotObserver();
20
+ }
21
+ componentWillLoad() {
22
+ this.syncGraphContentSlot();
6
23
  }
7
24
  componentDidLoad() {
8
25
  if (this.link) {
@@ -14,10 +31,52 @@ const LargeCard = class {
14
31
  anchorEl.appendChild(anchorSpan);
15
32
  }
16
33
  }
34
+ componentWillRender() {
35
+ this.disconnectGraphContentSlotObserver();
36
+ }
37
+ componentDidRender() {
38
+ this.scheduleGraphContentSlotSync();
39
+ }
40
+ connectGraphContentSlotObserver() {
41
+ this.disconnectGraphContentSlotObserver();
42
+ if (typeof MutationObserver === 'undefined') {
43
+ return;
44
+ }
45
+ this.graphContentSlotObserver = new MutationObserver(() => {
46
+ this.scheduleGraphContentSlotSync();
47
+ });
48
+ this.graphContentSlotObserver.observe(this.el, {
49
+ childList: true,
50
+ subtree: true,
51
+ attributes: true,
52
+ attributeFilter: ['slot'],
53
+ });
54
+ }
55
+ disconnectGraphContentSlotObserver() {
56
+ this.graphContentSlotObserver?.disconnect();
57
+ this.graphContentSlotObserver = undefined;
58
+ }
59
+ scheduleGraphContentSlotSync() {
60
+ if (this.graphContentSlotSyncTimeoutId !== undefined) {
61
+ clearTimeout(this.graphContentSlotSyncTimeoutId);
62
+ }
63
+ this.graphContentSlotSyncTimeoutId = setTimeout(() => {
64
+ this.graphContentSlotSyncTimeoutId = undefined;
65
+ if (!this.el.isConnected) {
66
+ return;
67
+ }
68
+ this.syncGraphContentSlot();
69
+ this.connectGraphContentSlotObserver();
70
+ }, 0);
71
+ }
72
+ syncGraphContentSlot() {
73
+ const hasGraphContent = hostHasNamedSlot(this.el, GRAPH_CONTENT_SLOT);
74
+ if (hasGraphContent !== this.graphContentPresent) {
75
+ this.graphContentPresent = hasGraphContent;
76
+ }
77
+ }
17
78
  render() {
18
- const contentSlot = 'graph-content';
19
- const hasContentSlot = this.el.querySelector(`[slot="${contentSlot}"]`);
20
- return (h(Host, { key: '30865d2efaf693257afb21c768981e2785c81ad4', role: "group", class: `xpl-large-card ${this.link ? 'xpl-large-card__link' : ''}`, tabindex: "0" }, h("dt", { key: 'bf95f5c52d36b3aa9174222ea2f3bb7e788f5992', class: "xpl-large-card__header" }, h("header", { key: '5a18e7dfe1544b65fa13e9b918d06ca0fdabb9f2' }, h("slot", { key: '94e9bd081a2c1fe5eb57cb8cedd0ab1224bb5bb3', name: "title" }, this.name), this.link && (h("span", { key: '082622ba8e2446dc65fe4f37ee1e15bab1c8785d', class: "xpl-data-card__header-arrow" }, h("xpl-icon", { key: '407180586601126e1ea5fb2c6af006d109067b39', icon: "chevron-right", size: 16 })))), this.description && (h("div", { key: '381711e6390dd685b0951d7dd08faeb6f9ef34f3', class: "xpl-large-card__description" }, this.description))), h("dd", { key: '2cf8a71574bef72aee76720525e26288b92cecc2', class: "xpl-large-card__body" }, hasContentSlot && h("slot", { key: '03a58f57d713de2abad1b815a77c91f340ef1f0a', name: contentSlot }))));
79
+ return (h(Host, { key: '9fdddb5c8d02400545f57499c92af0ee0aa4be67', role: "group", class: `xpl-large-card ${this.link ? 'xpl-large-card__link' : ''}`, tabindex: "0" }, h("dt", { key: '3854e5f89efa2c968f7abeb8284c0ab8e3e31fda', class: "xpl-large-card__header" }, h("header", { key: '0057d377780108f886dae2d9a6a1f3d81748b5fc' }, h("slot", { key: '243d38d7635a2e288a1ec7f7894b772d5005acee', name: "title" }, this.name), this.link && (h("span", { key: 'f2ce2ff09a50471ee255bac8bda406908c272388', class: "xpl-large-card__header-arrow" }, h("xpl-icon", { key: '86233617aaf74a137d84639e1477c311671fad7b', icon: "chevron-right", size: 16 })))), this.description && (h("div", { key: 'ab0c0134a2468d22d122dfe810306d570beee8e8', class: "xpl-large-card__description" }, this.description))), h("dd", { key: '6fb1262327dc91fd0a982bd31ee7deaa94625e12', class: "xpl-large-card__body" }, this.graphContentPresent && h("slot", { key: 'b1e170a19004aad87015786307b926e58d031751', name: GRAPH_CONTENT_SLOT }))));
21
80
  }
22
81
  get el() { return getElement(this); }
23
82
  };