@xplortech/apollo-core 2.12.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (551) hide show
  1. package/.typings/apollo-components.html-data.json +61 -0
  2. package/AGENTS.md +4 -4
  3. package/README.md +30 -3
  4. package/build/components/modal.css +1 -1
  5. package/build/components/table-body.css +1 -0
  6. package/build/components/table-footer-cell.css +1 -0
  7. package/build/components/table-footer.css +1 -0
  8. package/build/components/table-row.css +1 -0
  9. package/build/components/top-nav.css +1 -1
  10. package/build/components-manifest.json +13 -1
  11. package/build/core.css +1 -1
  12. package/build/style.css +1 -1
  13. package/dist/apollo-core/apollo-core.css +1 -1
  14. package/dist/apollo-core/apollo-core.esm.js +1 -1
  15. package/dist/apollo-core/{p-d37488d4.entry.js → p-0368a1df.entry.js} +1 -1
  16. package/dist/apollo-core/p-056a99e4.entry.js +1 -0
  17. package/dist/apollo-core/p-068e3532.entry.js +1 -0
  18. package/dist/apollo-core/{p-121d1a4b.entry.js → p-06a9a27b.entry.js} +1 -1
  19. package/dist/apollo-core/{p-9747cf43.entry.js → p-0958c719.entry.js} +1 -1
  20. package/dist/apollo-core/p-0a0a6e43.entry.js +1 -0
  21. package/dist/apollo-core/{p-643c8038.entry.js → p-149ddd12.entry.js} +1 -1
  22. package/dist/apollo-core/p-1a94c2d9.entry.js +1 -0
  23. package/dist/apollo-core/{p-efa21ec0.entry.js → p-2139f9f6.entry.js} +1 -1
  24. package/dist/apollo-core/{p-76f64d65.entry.js → p-28bce81a.entry.js} +1 -1
  25. package/dist/apollo-core/{p-1a417191.entry.js → p-2938ab4f.entry.js} +1 -1
  26. package/dist/apollo-core/{p-4e61587f.entry.js → p-2c995d80.entry.js} +1 -1
  27. package/dist/apollo-core/p-2faa7b9c.entry.js +1 -0
  28. package/dist/apollo-core/p-30b1b700.entry.js +1 -0
  29. package/dist/apollo-core/p-32084caf.entry.js +1 -0
  30. package/dist/apollo-core/p-38586952.entry.js +1 -0
  31. package/dist/apollo-core/{p-707b1918.entry.js → p-47bda204.entry.js} +1 -1
  32. package/dist/apollo-core/{p-f199ad66.entry.js → p-4a2323b3.entry.js} +1 -1
  33. package/dist/apollo-core/{p-c25aebe5.entry.js → p-4ad79534.entry.js} +1 -1
  34. package/dist/apollo-core/{p-e4ae3f60.entry.js → p-4d4acd1f.entry.js} +1 -1
  35. package/dist/apollo-core/p-50fae269.entry.js +1 -0
  36. package/dist/apollo-core/{p-7f105d63.entry.js → p-54903322.entry.js} +1 -1
  37. package/dist/apollo-core/{p-8a81ef98.entry.js → p-5730d96c.entry.js} +1 -1
  38. package/dist/apollo-core/{p-46d21684.entry.js → p-581b702c.entry.js} +1 -1
  39. package/dist/apollo-core/{p-853418be.entry.js → p-5d9a593e.entry.js} +1 -1
  40. package/dist/apollo-core/{p-e00ed4f4.entry.js → p-60cb3cfb.entry.js} +1 -1
  41. package/dist/apollo-core/p-722b145a.entry.js +1 -0
  42. package/dist/apollo-core/p-75e5bfe0.entry.js +1 -0
  43. package/dist/apollo-core/p-77fe3cc1.entry.js +1 -0
  44. package/dist/apollo-core/{p-26861d09.entry.js → p-790709c0.entry.js} +1 -1
  45. package/dist/apollo-core/{p-7976cd3b.entry.js → p-82812126.entry.js} +1 -1
  46. package/dist/apollo-core/{p-c427a31d.entry.js → p-83bb7607.entry.js} +1 -1
  47. package/dist/apollo-core/p-8664d88b.entry.js +1 -0
  48. package/dist/apollo-core/{p-3d9c90ee.entry.js → p-9064badb.entry.js} +1 -1
  49. package/dist/apollo-core/{p-5ca18bc1.entry.js → p-91895c40.entry.js} +1 -1
  50. package/dist/apollo-core/p-969d5cca.entry.js +1 -0
  51. package/dist/apollo-core/p-99a79cf4.entry.js +1 -0
  52. package/dist/apollo-core/p-abdf199b.entry.js +1 -0
  53. package/dist/apollo-core/p-ae8a5f66.entry.js +1 -0
  54. package/dist/apollo-core/{p-9b0174b1.entry.js → p-af8ebf49.entry.js} +1 -1
  55. package/dist/apollo-core/p-b29025b2.entry.js +1 -0
  56. package/dist/apollo-core/{p-fd2756d8.entry.js → p-b45179fb.entry.js} +1 -1
  57. package/dist/apollo-core/p-b5a61076.entry.js +1 -0
  58. package/dist/apollo-core/p-bf7d8e18.entry.js +1 -0
  59. package/dist/apollo-core/p-c48e4884.entry.js +1 -0
  60. package/dist/apollo-core/{p-b537f72d.entry.js → p-ca4652b3.entry.js} +1 -1
  61. package/dist/apollo-core/{p-bb22ed2a.entry.js → p-cb5b15c2.entry.js} +1 -1
  62. package/dist/apollo-core/p-cc57f20d.entry.js +1 -0
  63. package/dist/apollo-core/{p-fef6c256.entry.js → p-cdacfcd4.entry.js} +1 -1
  64. package/dist/apollo-core/{p-616c5a32.entry.js → p-cdb5b5c4.entry.js} +1 -1
  65. package/dist/apollo-core/p-d0bc7c45.entry.js +1 -0
  66. package/dist/apollo-core/{p-ff8acf15.entry.js → p-d41b8f46.entry.js} +1 -1
  67. package/dist/apollo-core/{p-9bf2ff9f.entry.js → p-d443291f.entry.js} +1 -1
  68. package/dist/apollo-core/p-d724c419.entry.js +1 -0
  69. package/dist/apollo-core/p-d9070ae5.entry.js +1 -0
  70. package/dist/apollo-core/p-dca48977.entry.js +1 -0
  71. package/dist/apollo-core/p-e1833287.entry.js +1 -0
  72. package/dist/apollo-core/{p-601b3ab5.entry.js → p-e2890eb1.entry.js} +1 -1
  73. package/dist/apollo-core/p-e2b73b60.entry.js +1 -0
  74. package/dist/apollo-core/p-e7e445b0.entry.js +1 -0
  75. package/dist/apollo-core/p-f1c103ff.entry.js +1 -0
  76. package/dist/apollo-core/{p-0463c29f.entry.js → p-f3a2c79b.entry.js} +1 -1
  77. package/dist/apollo-core/p-ffc2f0cf.entry.js +1 -0
  78. package/dist/cjs/apollo-core.cjs.js +1 -1
  79. package/dist/cjs/index-3cBvw409.js +16 -0
  80. package/dist/cjs/loader.cjs.js +1 -1
  81. package/dist/cjs/xpl-accordion.cjs.entry.js +2 -2
  82. package/dist/cjs/xpl-application-shell.cjs.entry.js +1 -1
  83. package/dist/cjs/xpl-avatar_3.cjs.entry.js +5 -4
  84. package/dist/cjs/xpl-backdrop.cjs.entry.js +1 -1
  85. package/dist/cjs/xpl-badge.cjs.entry.js +1 -1
  86. package/dist/cjs/xpl-banner.cjs.entry.js +2 -2
  87. package/dist/cjs/xpl-breadcrumb-item.cjs.entry.js +1 -1
  88. package/dist/cjs/xpl-breadcrumbs.cjs.entry.js +1 -1
  89. package/dist/cjs/xpl-button-row.cjs.entry.js +1 -1
  90. package/dist/cjs/xpl-button.cjs.entry.js +1 -1
  91. package/dist/cjs/xpl-calendar.cjs.entry.js +1 -1
  92. package/dist/cjs/xpl-checkbox.cjs.entry.js +3 -3
  93. package/dist/cjs/xpl-choicelist.cjs.entry.js +1 -1
  94. package/dist/cjs/xpl-content-area.cjs.entry.js +1 -1
  95. package/dist/cjs/xpl-dashboard.cjs.entry.js +1 -1
  96. package/dist/cjs/xpl-data-card.cjs.entry.js +2 -2
  97. package/dist/cjs/xpl-dropdown_4.cjs.entry.js +14 -11
  98. package/dist/cjs/xpl-dynamic-table-cell.cjs.entry.js +2 -2
  99. package/dist/cjs/xpl-dynamic-table-row.cjs.entry.js +2 -2
  100. package/dist/cjs/xpl-dynamic-table.cjs.entry.js +2 -2
  101. package/dist/cjs/xpl-grid-item.cjs.entry.js +1 -1
  102. package/dist/cjs/xpl-grid.cjs.entry.js +1 -1
  103. package/dist/cjs/xpl-header-accordion.cjs.entry.js +1 -1
  104. package/dist/cjs/xpl-icon.cjs.entry.js +2 -2
  105. package/dist/cjs/xpl-input-color.cjs.entry.js +13 -13
  106. package/dist/cjs/xpl-input-phone.cjs.entry.js +5 -5
  107. package/dist/cjs/xpl-input-time.cjs.entry.js +2 -2
  108. package/dist/cjs/xpl-input_4.cjs.entry.js +15 -14
  109. package/dist/cjs/xpl-large-card.cjs.entry.js +1 -1
  110. package/dist/cjs/xpl-list.cjs.entry.js +2 -2
  111. package/dist/cjs/xpl-main-nav.cjs.entry.js +1 -1
  112. package/dist/cjs/xpl-modal.cjs.entry.js +50 -21
  113. package/dist/cjs/xpl-nav-header-menu.cjs.entry.js +2 -2
  114. package/dist/cjs/xpl-nav-item.cjs.entry.js +2 -2
  115. package/dist/cjs/xpl-pagination.cjs.entry.js +4 -4
  116. package/dist/cjs/xpl-panel.cjs.entry.js +2 -2
  117. package/dist/cjs/xpl-popover.cjs.entry.js +4 -4
  118. package/dist/cjs/xpl-progress-bar.cjs.entry.js +2 -2
  119. package/dist/cjs/xpl-progress-indicator.cjs.entry.js +1 -1
  120. package/dist/cjs/xpl-secondary-nav.cjs.entry.js +1 -1
  121. package/dist/cjs/xpl-select_2.cjs.entry.js +8 -8
  122. package/dist/cjs/xpl-side-nav-header-item.cjs.entry.js +2 -2
  123. package/dist/cjs/xpl-side-nav-item.cjs.entry.js +2 -2
  124. package/dist/cjs/xpl-side-nav-section.cjs.entry.js +5 -5
  125. package/dist/cjs/xpl-side-nav.cjs.entry.js +7 -3
  126. package/dist/cjs/xpl-skeleton.cjs.entry.js +1 -1
  127. package/dist/cjs/xpl-slideout.cjs.entry.js +1 -1
  128. package/dist/cjs/xpl-tab-panel.cjs.entry.js +2 -2
  129. package/dist/cjs/xpl-table-body.cjs.entry.js +14 -0
  130. package/dist/cjs/xpl-table-footer-cell.cjs.entry.js +18 -0
  131. package/dist/cjs/xpl-table-footer.cjs.entry.js +14 -0
  132. package/dist/cjs/xpl-table-header.cjs.entry.js +1 -1
  133. package/dist/cjs/xpl-table-row.cjs.entry.js +20 -0
  134. package/dist/cjs/xpl-table.cjs.entry.js +5 -5
  135. package/dist/cjs/xpl-tabs.cjs.entry.js +5 -5
  136. package/dist/cjs/xpl-toast.cjs.entry.js +2 -2
  137. package/dist/cjs/xpl-toggle.cjs.entry.js +3 -3
  138. package/dist/cjs/xpl-toolbar.cjs.entry.js +2 -2
  139. package/dist/cjs/xpl-tooltip.cjs.entry.js +1 -1
  140. package/dist/cjs/xpl-top-nav-item.cjs.entry.js +2 -2
  141. package/dist/cjs/xpl-top-nav-menu.cjs.entry.js +2 -2
  142. package/dist/cjs/xpl-top-nav.cjs.entry.js +5 -5
  143. package/dist/cjs/xpl-utility-bar.cjs.entry.js +1 -1
  144. package/dist/collection/collection-manifest.json +4 -0
  145. package/dist/collection/components/xpl-accordion/xpl-accordion.js +2 -2
  146. package/dist/collection/components/xpl-application-shell/xpl-application-shell.js +1 -1
  147. package/dist/collection/components/xpl-avatar/xpl-avatar.js +1 -0
  148. package/dist/collection/components/xpl-backdrop/xpl-backdrop.js +1 -1
  149. package/dist/collection/components/xpl-badge/xpl-badge.js +1 -1
  150. package/dist/collection/components/xpl-banner/xpl-banner.js +2 -2
  151. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.js +1 -1
  152. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.js +1 -1
  153. package/dist/collection/components/xpl-button/xpl-button.js +1 -1
  154. package/dist/collection/components/xpl-button-row/xpl-button-row.js +1 -1
  155. package/dist/collection/components/xpl-calendar/xpl-calendar.js +1 -1
  156. package/dist/collection/components/xpl-checkbox/xpl-checkbox.js +3 -3
  157. package/dist/collection/components/xpl-choicelist/xpl-choicelist.js +1 -1
  158. package/dist/collection/components/xpl-content-area/xpl-content-area.js +1 -1
  159. package/dist/collection/components/xpl-dashboard/xpl-dashboard.js +1 -1
  160. package/dist/collection/components/xpl-data-card/xpl-data-card.js +2 -2
  161. package/dist/collection/components/xpl-divider/xpl-divider.js +1 -1
  162. package/dist/collection/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.js +1 -1
  163. package/dist/collection/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.js +1 -1
  164. package/dist/collection/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.js +2 -2
  165. package/dist/collection/components/xpl-dropdown/xpl-dropdown.js +10 -7
  166. package/dist/collection/components/xpl-dynamic-table/xpl-dynamic-table.js +2 -2
  167. package/dist/collection/components/xpl-dynamic-table-cell/xpl-dynamic-table-cell.js +2 -2
  168. package/dist/collection/components/xpl-dynamic-table-row/xpl-dynamic-table-row.js +2 -2
  169. package/dist/collection/components/xpl-grid/xpl-grid.js +1 -1
  170. package/dist/collection/components/xpl-grid-item/xpl-grid-item.js +1 -1
  171. package/dist/collection/components/xpl-header-accordion/xpl-header-accordion.js +1 -1
  172. package/dist/collection/components/xpl-icon/xpl-icon.js +2 -2
  173. package/dist/collection/components/xpl-input/xpl-input-color/color-utils.js +5 -5
  174. package/dist/collection/components/xpl-input/xpl-input-color/xpl-input-color.js +8 -8
  175. package/dist/collection/components/xpl-input/xpl-input-date/xpl-input-date.js +3 -3
  176. package/dist/collection/components/xpl-input/xpl-input-file/xpl-input-file.js +4 -4
  177. package/dist/collection/components/xpl-input/xpl-input-phone/xpl-input-phone.js +5 -5
  178. package/dist/collection/components/xpl-input/xpl-input-search/xpl-input-search.js +1 -1
  179. package/dist/collection/components/xpl-input/xpl-input-time/xpl-input-time.js +2 -2
  180. package/dist/collection/components/xpl-input/xpl-input.js +7 -6
  181. package/dist/collection/components/xpl-large-card/xpl-large-card.js +1 -1
  182. package/dist/collection/components/xpl-list/xpl-list.js +2 -2
  183. package/dist/collection/components/xpl-main-nav/xpl-main-nav.js +1 -1
  184. package/dist/collection/components/xpl-modal/xpl-modal.js +50 -21
  185. package/dist/collection/components/xpl-nav-item/xpl-nav-item.js +2 -2
  186. package/dist/collection/components/xpl-pagination/xpl-pagination.js +4 -4
  187. package/dist/collection/components/xpl-panel/xpl-panel.js +2 -2
  188. package/dist/collection/components/xpl-popover/xpl-popover.js +4 -4
  189. package/dist/collection/components/xpl-progress-bar/xpl-progress-bar.js +2 -2
  190. package/dist/collection/components/xpl-progress-indicator/xpl-progress-indicator.js +1 -1
  191. package/dist/collection/components/xpl-radio/xpl-radio.js +3 -3
  192. package/dist/collection/components/xpl-secondary-nav/xpl-secondary-nav.js +1 -1
  193. package/dist/collection/components/xpl-select/select.shared.js +82 -0
  194. package/dist/collection/components/xpl-select/xpl-select.js +6 -6
  195. package/dist/collection/components/xpl-side-nav/xpl-side-nav-header-item/xpl-side-nav-header-item.js +2 -2
  196. package/dist/collection/components/xpl-side-nav/xpl-side-nav-item/xpl-side-nav-item.js +2 -2
  197. package/dist/collection/components/xpl-side-nav/xpl-side-nav-section/xpl-side-nav-section.js +5 -5
  198. package/dist/collection/components/xpl-side-nav/xpl-side-nav.js +8 -4
  199. package/dist/collection/components/xpl-skeleton/xpl-skeleton.js +1 -1
  200. package/dist/collection/components/xpl-slideout/xpl-slideout.js +1 -1
  201. package/dist/collection/components/xpl-tab-panel/xpl-tab-panel.js +2 -2
  202. package/dist/collection/components/xpl-table/xpl-table-body/xpl-table-body.js +7 -0
  203. package/dist/collection/components/xpl-table/xpl-table-footer/xpl-table-footer.js +7 -0
  204. package/dist/collection/components/xpl-table/xpl-table-footer-cell/xpl-table-footer-cell.js +37 -0
  205. package/dist/collection/components/xpl-table/xpl-table-row/xpl-table-row.js +78 -0
  206. package/dist/collection/components/xpl-table/xpl-table.js +5 -5
  207. package/dist/collection/components/xpl-table-header/xpl-table-header.js +1 -1
  208. package/dist/collection/components/xpl-tabs/tabs.shared.js +0 -33
  209. package/dist/collection/components/xpl-tabs/xpl-tabs.js +5 -5
  210. package/dist/collection/components/xpl-tag/xpl-tag.js +2 -2
  211. package/dist/collection/components/xpl-toast/xpl-toast.js +2 -2
  212. package/dist/collection/components/xpl-toggle/xpl-toggle.js +3 -3
  213. package/dist/collection/components/xpl-toolbar/xpl-toolbar.js +2 -2
  214. package/dist/collection/components/xpl-tooltip/xpl-tooltip.js +1 -1
  215. package/dist/collection/components/xpl-top-nav/xpl-nav-header-menu/xpl-nav-header-menu.js +2 -2
  216. package/dist/collection/components/xpl-top-nav/xpl-top-nav-item/xpl-top-nav-item.js +2 -2
  217. package/dist/collection/components/xpl-top-nav/xpl-top-nav-menu/xpl-top-nav-menu.js +2 -2
  218. package/dist/collection/components/xpl-top-nav/xpl-top-nav.js +5 -5
  219. package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +1 -1
  220. package/dist/components/index.d.ts +8 -0
  221. package/dist/components/index.js +1 -1
  222. package/dist/components/p-9VnxPQLs.js +1 -0
  223. package/dist/components/p-B2oLZUDD.js +1 -0
  224. package/dist/components/p-BYYFsuD3.js +1 -0
  225. package/dist/components/p-BZtxVB1R.js +1 -0
  226. package/dist/components/{p-BGqQbjLl.js → p-BdpZR4KO.js} +1 -1
  227. package/dist/components/{p-DywQ3S73.js → p-Chpgh5SL.js} +1 -1
  228. package/dist/components/{p-2jYZ7ACH.js → p-CiHTfk3E.js} +1 -1
  229. package/dist/components/p-CnVGKN63.js +1 -0
  230. package/dist/components/p-Cz7zDaI4.js +1 -0
  231. package/dist/components/{p-CjbPCnPP.js → p-D--kzomA.js} +1 -1
  232. package/dist/components/p-D4rv6CNJ.js +1 -0
  233. package/dist/components/{p-Dzp5p-eh.js → p-DAb-txW3.js} +1 -1
  234. package/dist/components/p-DYmvElhR.js +1 -0
  235. package/dist/components/{p-DsRsm61K.js → p-EfW0v54z.js} +1 -1
  236. package/dist/components/{p-DWUJ_jsx.js → p-JyNpXfDe.js} +1 -1
  237. package/dist/components/{p-DS2Kv5fl.js → p-U0JYwf4c.js} +1 -1
  238. package/dist/components/p-YG9Jza0y.js +1 -0
  239. package/dist/components/{p-imCMp2Nl.js → p-l3EZ-agL.js} +1 -1
  240. package/dist/components/p-oIn1krdu.js +1 -0
  241. package/dist/components/p-wIU7KUhA.js +1 -0
  242. package/dist/components/{p-BnTsRbko.js → p-xFsB212F.js} +1 -1
  243. package/dist/components/p-xtOHikY0.js +1 -0
  244. package/dist/components/xpl-accordion.js +1 -1
  245. package/dist/components/xpl-application-shell.js +1 -1
  246. package/dist/components/xpl-avatar.js +1 -1
  247. package/dist/components/xpl-backdrop.js +1 -1
  248. package/dist/components/xpl-badge.js +1 -1
  249. package/dist/components/xpl-banner.js +1 -1
  250. package/dist/components/xpl-breadcrumb-item.js +1 -1
  251. package/dist/components/xpl-breadcrumbs.js +1 -1
  252. package/dist/components/xpl-button-row.js +1 -1
  253. package/dist/components/xpl-button.js +1 -1
  254. package/dist/components/xpl-calendar.js +1 -1
  255. package/dist/components/xpl-checkbox.js +1 -1
  256. package/dist/components/xpl-choicelist.js +1 -1
  257. package/dist/components/xpl-content-area.js +1 -1
  258. package/dist/components/xpl-dashboard.js +1 -1
  259. package/dist/components/xpl-data-card.js +1 -1
  260. package/dist/components/xpl-divider.js +1 -1
  261. package/dist/components/xpl-dropdown-group.js +1 -1
  262. package/dist/components/xpl-dropdown-heading.js +1 -1
  263. package/dist/components/xpl-dropdown-option.js +1 -1
  264. package/dist/components/xpl-dropdown.js +1 -1
  265. package/dist/components/xpl-dynamic-table-cell.js +1 -1
  266. package/dist/components/xpl-dynamic-table-row.js +1 -1
  267. package/dist/components/xpl-dynamic-table.js +1 -1
  268. package/dist/components/xpl-grid-item.js +1 -1
  269. package/dist/components/xpl-grid.js +1 -1
  270. package/dist/components/xpl-header-accordion.js +1 -1
  271. package/dist/components/xpl-icon.js +1 -1
  272. package/dist/components/xpl-input-color.js +1 -1
  273. package/dist/components/xpl-input-date.js +1 -1
  274. package/dist/components/xpl-input-file.js +1 -1
  275. package/dist/components/xpl-input-phone.js +1 -1
  276. package/dist/components/xpl-input-search.js +1 -1
  277. package/dist/components/xpl-input-time.js +1 -1
  278. package/dist/components/xpl-input.js +1 -1
  279. package/dist/components/xpl-large-card.js +1 -1
  280. package/dist/components/xpl-list-item.js +1 -1
  281. package/dist/components/xpl-list.js +1 -1
  282. package/dist/components/xpl-main-nav.js +1 -1
  283. package/dist/components/xpl-modal.js +1 -1
  284. package/dist/components/xpl-nav-header-menu.js +1 -1
  285. package/dist/components/xpl-nav-item.js +1 -1
  286. package/dist/components/xpl-pagination.js +1 -1
  287. package/dist/components/xpl-panel.js +1 -1
  288. package/dist/components/xpl-popover.js +1 -1
  289. package/dist/components/xpl-progress-bar.js +1 -1
  290. package/dist/components/xpl-progress-indicator.js +1 -1
  291. package/dist/components/xpl-radio.js +1 -1
  292. package/dist/components/xpl-secondary-nav.js +1 -1
  293. package/dist/components/xpl-select.js +1 -1
  294. package/dist/components/xpl-side-nav-header-item.js +1 -1
  295. package/dist/components/xpl-side-nav-item.js +1 -1
  296. package/dist/components/xpl-side-nav-section.js +1 -1
  297. package/dist/components/xpl-side-nav.js +1 -1
  298. package/dist/components/xpl-skeleton.js +1 -1
  299. package/dist/components/xpl-slideout.js +1 -1
  300. package/dist/components/xpl-spotlight.js +1 -1
  301. package/dist/components/xpl-tab-panel.js +1 -1
  302. package/dist/components/xpl-tab.js +1 -1
  303. package/dist/components/xpl-table-body.d.ts +11 -0
  304. package/dist/components/xpl-table-body.js +1 -0
  305. package/dist/components/xpl-table-footer-cell.d.ts +11 -0
  306. package/dist/components/xpl-table-footer-cell.js +1 -0
  307. package/dist/components/xpl-table-footer.d.ts +11 -0
  308. package/dist/components/xpl-table-footer.js +1 -0
  309. package/dist/components/xpl-table-header-cell.js +1 -1
  310. package/dist/components/xpl-table-header.js +1 -1
  311. package/dist/components/xpl-table-row.d.ts +11 -0
  312. package/dist/components/xpl-table-row.js +1 -0
  313. package/dist/components/xpl-table.js +1 -1
  314. package/dist/components/xpl-tabs.js +1 -1
  315. package/dist/components/xpl-tag.js +1 -1
  316. package/dist/components/xpl-toast.js +1 -1
  317. package/dist/components/xpl-toggle.js +1 -1
  318. package/dist/components/xpl-toolbar.js +1 -1
  319. package/dist/components/xpl-tooltip.js +1 -1
  320. package/dist/components/xpl-top-nav-item.js +1 -1
  321. package/dist/components/xpl-top-nav-menu.js +1 -1
  322. package/dist/components/xpl-top-nav.js +1 -1
  323. package/dist/components/xpl-utility-bar.js +1 -1
  324. package/dist/docs/xpl-modal/readme.md +18 -2
  325. package/dist/docs/xpl-table/xpl-table-body/readme.md +16 -0
  326. package/dist/docs/xpl-table/xpl-table-footer/readme.md +16 -0
  327. package/dist/docs/xpl-table/xpl-table-footer-cell/readme.md +31 -0
  328. package/dist/docs/xpl-table/xpl-table-row/readme.md +34 -0
  329. package/dist/docs.json +207 -6
  330. package/dist/esm/apollo-core.js +1 -1
  331. package/dist/esm/index-ukZKsqqq.js +16 -0
  332. package/dist/esm/loader.js +1 -1
  333. package/dist/esm/xpl-accordion.entry.js +2 -2
  334. package/dist/esm/xpl-application-shell.entry.js +1 -1
  335. package/dist/esm/xpl-avatar_3.entry.js +5 -4
  336. package/dist/esm/xpl-backdrop.entry.js +1 -1
  337. package/dist/esm/xpl-badge.entry.js +1 -1
  338. package/dist/esm/xpl-banner.entry.js +2 -2
  339. package/dist/esm/xpl-breadcrumb-item.entry.js +1 -1
  340. package/dist/esm/xpl-breadcrumbs.entry.js +1 -1
  341. package/dist/esm/xpl-button-row.entry.js +1 -1
  342. package/dist/esm/xpl-button.entry.js +1 -1
  343. package/dist/esm/xpl-calendar.entry.js +1 -1
  344. package/dist/esm/xpl-checkbox.entry.js +3 -3
  345. package/dist/esm/xpl-choicelist.entry.js +1 -1
  346. package/dist/esm/xpl-content-area.entry.js +1 -1
  347. package/dist/esm/xpl-dashboard.entry.js +1 -1
  348. package/dist/esm/xpl-data-card.entry.js +2 -2
  349. package/dist/esm/xpl-dropdown_4.entry.js +14 -11
  350. package/dist/esm/xpl-dynamic-table-cell.entry.js +2 -2
  351. package/dist/esm/xpl-dynamic-table-row.entry.js +2 -2
  352. package/dist/esm/xpl-dynamic-table.entry.js +2 -2
  353. package/dist/esm/xpl-grid-item.entry.js +1 -1
  354. package/dist/esm/xpl-grid.entry.js +1 -1
  355. package/dist/esm/xpl-header-accordion.entry.js +1 -1
  356. package/dist/esm/xpl-icon.entry.js +2 -2
  357. package/dist/esm/xpl-input-color.entry.js +13 -13
  358. package/dist/esm/xpl-input-phone.entry.js +5 -5
  359. package/dist/esm/xpl-input-time.entry.js +2 -2
  360. package/dist/esm/xpl-input_4.entry.js +15 -14
  361. package/dist/esm/xpl-large-card.entry.js +1 -1
  362. package/dist/esm/xpl-list.entry.js +2 -2
  363. package/dist/esm/xpl-main-nav.entry.js +1 -1
  364. package/dist/esm/xpl-modal.entry.js +50 -21
  365. package/dist/esm/xpl-nav-header-menu.entry.js +2 -2
  366. package/dist/esm/xpl-nav-item.entry.js +2 -2
  367. package/dist/esm/xpl-pagination.entry.js +4 -4
  368. package/dist/esm/xpl-panel.entry.js +2 -2
  369. package/dist/esm/xpl-popover.entry.js +4 -4
  370. package/dist/esm/xpl-progress-bar.entry.js +2 -2
  371. package/dist/esm/xpl-progress-indicator.entry.js +1 -1
  372. package/dist/esm/xpl-secondary-nav.entry.js +1 -1
  373. package/dist/esm/xpl-select_2.entry.js +8 -8
  374. package/dist/esm/xpl-side-nav-header-item.entry.js +2 -2
  375. package/dist/esm/xpl-side-nav-item.entry.js +2 -2
  376. package/dist/esm/xpl-side-nav-section.entry.js +5 -5
  377. package/dist/esm/xpl-side-nav.entry.js +8 -4
  378. package/dist/esm/xpl-skeleton.entry.js +1 -1
  379. package/dist/esm/xpl-slideout.entry.js +1 -1
  380. package/dist/esm/xpl-tab-panel.entry.js +2 -2
  381. package/dist/esm/xpl-table-body.entry.js +12 -0
  382. package/dist/esm/xpl-table-footer-cell.entry.js +16 -0
  383. package/dist/esm/xpl-table-footer.entry.js +12 -0
  384. package/dist/esm/xpl-table-header.entry.js +1 -1
  385. package/dist/esm/xpl-table-row.entry.js +18 -0
  386. package/dist/esm/xpl-table.entry.js +5 -5
  387. package/dist/esm/xpl-tabs.entry.js +5 -5
  388. package/dist/esm/xpl-toast.entry.js +2 -2
  389. package/dist/esm/xpl-toggle.entry.js +3 -3
  390. package/dist/esm/xpl-toolbar.entry.js +2 -2
  391. package/dist/esm/xpl-tooltip.entry.js +1 -1
  392. package/dist/esm/xpl-top-nav-item.entry.js +2 -2
  393. package/dist/esm/xpl-top-nav-menu.entry.js +2 -2
  394. package/dist/esm/xpl-top-nav.entry.js +5 -5
  395. package/dist/esm/xpl-utility-bar.entry.js +1 -1
  396. package/dist/types/components/xpl-modal/xpl-modal.d.ts +7 -1
  397. package/dist/types/components/xpl-select/select.shared.d.ts +23 -0
  398. package/dist/types/components/xpl-table/xpl-table-body/xpl-table-body.d.ts +3 -0
  399. package/dist/types/components/xpl-table/xpl-table-footer/xpl-table-footer.d.ts +3 -0
  400. package/dist/types/components/xpl-table/xpl-table-footer-cell/xpl-table-footer-cell.d.ts +4 -0
  401. package/dist/types/components/xpl-table/xpl-table-row/xpl-table-row.d.ts +6 -0
  402. package/dist/types/components/xpl-tabs/tabs.shared.d.ts +0 -2
  403. package/dist/types/components.d.ts +98 -0
  404. package/hydrate/index.js +302 -176
  405. package/hydrate/index.mjs +302 -176
  406. package/package.json +42 -46
  407. package/dist/apollo-core/p-0095174c.entry.js +0 -1
  408. package/dist/apollo-core/p-020ecd66.entry.js +0 -1
  409. package/dist/apollo-core/p-091411e3.entry.js +0 -1
  410. package/dist/apollo-core/p-0be4dbb8.entry.js +0 -1
  411. package/dist/apollo-core/p-1139fac0.entry.js +0 -1
  412. package/dist/apollo-core/p-140a96c7.entry.js +0 -1
  413. package/dist/apollo-core/p-26b6a0ed.entry.js +0 -1
  414. package/dist/apollo-core/p-39e71d86.entry.js +0 -1
  415. package/dist/apollo-core/p-3dd1de49.entry.js +0 -1
  416. package/dist/apollo-core/p-4129d971.entry.js +0 -1
  417. package/dist/apollo-core/p-5afc9831.entry.js +0 -1
  418. package/dist/apollo-core/p-5d25a84a.entry.js +0 -1
  419. package/dist/apollo-core/p-5e5c5016.entry.js +0 -1
  420. package/dist/apollo-core/p-638fd9b1.entry.js +0 -1
  421. package/dist/apollo-core/p-724c5038.entry.js +0 -1
  422. package/dist/apollo-core/p-80a11cad.entry.js +0 -1
  423. package/dist/apollo-core/p-875e0eaa.entry.js +0 -1
  424. package/dist/apollo-core/p-8ddbf2e2.entry.js +0 -1
  425. package/dist/apollo-core/p-a33b0943.entry.js +0 -1
  426. package/dist/apollo-core/p-ba41bbd5.entry.js +0 -1
  427. package/dist/apollo-core/p-cde21f72.entry.js +0 -1
  428. package/dist/apollo-core/p-d288c1d1.entry.js +0 -1
  429. package/dist/apollo-core/p-d3f2b8b8.entry.js +0 -1
  430. package/dist/apollo-core/p-dfaba114.entry.js +0 -1
  431. package/dist/apollo-core/p-e2a16242.entry.js +0 -1
  432. package/dist/apollo-core/p-ec488f9c.entry.js +0 -1
  433. package/dist/apollo-core/p-f2bfe6a6.entry.js +0 -1
  434. package/dist/collection/components/xpl-accordion/accordion.stories.js +0 -84
  435. package/dist/collection/components/xpl-application-shell/application-shell.stories.js +0 -755
  436. package/dist/collection/components/xpl-avatar/avatar.stories.js +0 -157
  437. package/dist/collection/components/xpl-backdrop/backdrop.stories.js +0 -38
  438. package/dist/collection/components/xpl-badge/badge.stories.js +0 -104
  439. package/dist/collection/components/xpl-banner/banner.stories.js +0 -69
  440. package/dist/collection/components/xpl-breadcrumbs/breadcrumbs.stories.js +0 -139
  441. package/dist/collection/components/xpl-button/button.stories.js +0 -144
  442. package/dist/collection/components/xpl-button-row/button-row.stories.js +0 -68
  443. package/dist/collection/components/xpl-calendar/calendar.stories.js +0 -71
  444. package/dist/collection/components/xpl-checkbox/checkbox.stories.js +0 -92
  445. package/dist/collection/components/xpl-choicelist/choicelist.stories.js +0 -162
  446. package/dist/collection/components/xpl-content-area/content-area.stories.js +0 -44
  447. package/dist/collection/components/xpl-dashboard/dashboard.stories.js +0 -57
  448. package/dist/collection/components/xpl-data-card/data-card.stories.js +0 -170
  449. package/dist/collection/components/xpl-divider/divider.stories.js +0 -47
  450. package/dist/collection/components/xpl-dropdown/dropdown.stories.js +0 -395
  451. package/dist/collection/components/xpl-dynamic-table/dynamic-table.stories.js +0 -169
  452. package/dist/collection/components/xpl-grid/grid.stories.js +0 -85
  453. package/dist/collection/components/xpl-header-accordion/header-accordion.stories.js +0 -56
  454. package/dist/collection/components/xpl-icon/icons.stories.js +0 -161
  455. package/dist/collection/components/xpl-input/input.stories.js +0 -712
  456. package/dist/collection/components/xpl-large-card/large-card.stories.js +0 -155
  457. package/dist/collection/components/xpl-list/list.stories.js +0 -398
  458. package/dist/collection/components/xpl-main-nav/main-nav.stories.js +0 -312
  459. package/dist/collection/components/xpl-modal/modal.stories.js +0 -100
  460. package/dist/collection/components/xpl-pagination/pagination.stories.js +0 -65
  461. package/dist/collection/components/xpl-panel/panel.stories.js +0 -62
  462. package/dist/collection/components/xpl-popover/popover.stories.js +0 -174
  463. package/dist/collection/components/xpl-progress-bar/progress-bar.stories.js +0 -105
  464. package/dist/collection/components/xpl-progress-indicator/progress-indicator.stories.js +0 -126
  465. package/dist/collection/components/xpl-radio/radio.stories.js +0 -115
  466. package/dist/collection/components/xpl-secondary-nav/secondary-nav.stories.js +0 -83
  467. package/dist/collection/components/xpl-select/select.stories.js +0 -300
  468. package/dist/collection/components/xpl-side-nav/side-nav.stories.js +0 -1070
  469. package/dist/collection/components/xpl-skeleton/skeleton.stories.js +0 -80
  470. package/dist/collection/components/xpl-slideout/slideout.stories.js +0 -122
  471. package/dist/collection/components/xpl-spotlight/spotlight.stories.js +0 -392
  472. package/dist/collection/components/xpl-table/table.stories.js +0 -156
  473. package/dist/collection/components/xpl-table-header/table-header.stories.js +0 -134
  474. package/dist/collection/components/xpl-table-header-cell/table-header-cell.stories.js +0 -83
  475. package/dist/collection/components/xpl-tabs/segment-control.stories.js +0 -40
  476. package/dist/collection/components/xpl-tabs/tabs.stories.js +0 -43
  477. package/dist/collection/components/xpl-tag/tag.stories.js +0 -159
  478. package/dist/collection/components/xpl-toast/toast.stories.js +0 -112
  479. package/dist/collection/components/xpl-toggle/toggle.stories.js +0 -95
  480. package/dist/collection/components/xpl-toolbar/toolbar.stories.js +0 -39
  481. package/dist/collection/components/xpl-tooltip/tooltip.stories.js +0 -67
  482. package/dist/collection/components/xpl-top-nav/top-nav.stories.js +0 -764
  483. package/dist/collection/components/xpl-utility-bar/utility-bar.stories.js +0 -94
  484. package/dist/components/p-Bseq_BgD.js +0 -1
  485. package/dist/components/p-CCgZCY_A.js +0 -1
  486. package/dist/components/p-CJzsLWeV.js +0 -1
  487. package/dist/components/p-CRKY79vL.js +0 -1
  488. package/dist/components/p-Cjxw-qOg.js +0 -1
  489. package/dist/components/p-D6JUVA1x.js +0 -1
  490. package/dist/components/p-DFGw0APN.js +0 -1
  491. package/dist/components/p-DLLQBDCb.js +0 -1
  492. package/dist/components/p-Di1NDy0w.js +0 -1
  493. package/dist/components/p-DkM7jyQB.js +0 -1
  494. package/dist/components/p-Mehog36m.js +0 -1
  495. package/dist/components/p-RYnBuuDE.js +0 -1
  496. package/dist/css/typography.stories.js +0 -153
  497. package/dist/types/components/xpl-accordion/accordion.stories.d.ts +0 -46
  498. package/dist/types/components/xpl-application-shell/application-shell.stories.d.ts +0 -46
  499. package/dist/types/components/xpl-avatar/avatar.stories.d.ts +0 -39
  500. package/dist/types/components/xpl-backdrop/backdrop.stories.d.ts +0 -23
  501. package/dist/types/components/xpl-badge/badge.stories.d.ts +0 -87
  502. package/dist/types/components/xpl-banner/banner.stories.d.ts +0 -79
  503. package/dist/types/components/xpl-breadcrumbs/breadcrumbs.stories.d.ts +0 -40
  504. package/dist/types/components/xpl-button/button.stories.d.ts +0 -136
  505. package/dist/types/components/xpl-button-row/button-row.stories.d.ts +0 -34
  506. package/dist/types/components/xpl-calendar/calendar.stories.d.ts +0 -45
  507. package/dist/types/components/xpl-checkbox/checkbox.stories.d.ts +0 -51
  508. package/dist/types/components/xpl-choicelist/choicelist.stories.d.ts +0 -30
  509. package/dist/types/components/xpl-content-area/content-area.stories.d.ts +0 -19
  510. package/dist/types/components/xpl-dashboard/dashboard.stories.d.ts +0 -22
  511. package/dist/types/components/xpl-data-card/data-card.stories.d.ts +0 -113
  512. package/dist/types/components/xpl-divider/divider.stories.d.ts +0 -28
  513. package/dist/types/components/xpl-dropdown/dropdown.stories.d.ts +0 -177
  514. package/dist/types/components/xpl-dynamic-table/dynamic-table.stories.d.ts +0 -30
  515. package/dist/types/components/xpl-grid/grid.stories.d.ts +0 -109
  516. package/dist/types/components/xpl-header-accordion/header-accordion.stories.d.ts +0 -32
  517. package/dist/types/components/xpl-icon/icons.stories.d.ts +0 -31
  518. package/dist/types/components/xpl-input/input.stories.d.ts +0 -441
  519. package/dist/types/components/xpl-large-card/large-card.stories.d.ts +0 -57
  520. package/dist/types/components/xpl-list/list.stories.d.ts +0 -385
  521. package/dist/types/components/xpl-main-nav/main-nav.stories.d.ts +0 -19
  522. package/dist/types/components/xpl-modal/modal.stories.d.ts +0 -103
  523. package/dist/types/components/xpl-pagination/pagination.stories.d.ts +0 -31
  524. package/dist/types/components/xpl-panel/panel.stories.d.ts +0 -30
  525. package/dist/types/components/xpl-popover/popover.stories.d.ts +0 -21
  526. package/dist/types/components/xpl-progress-bar/progress-bar.stories.d.ts +0 -62
  527. package/dist/types/components/xpl-progress-indicator/progress-indicator.stories.d.ts +0 -64
  528. package/dist/types/components/xpl-radio/radio.stories.d.ts +0 -96
  529. package/dist/types/components/xpl-secondary-nav/secondary-nav.stories.d.ts +0 -8
  530. package/dist/types/components/xpl-select/select.stories.d.ts +0 -158
  531. package/dist/types/components/xpl-side-nav/side-nav.stories.d.ts +0 -173
  532. package/dist/types/components/xpl-skeleton/skeleton.stories.d.ts +0 -36
  533. package/dist/types/components/xpl-slideout/slideout.stories.d.ts +0 -124
  534. package/dist/types/components/xpl-spotlight/spotlight.stories.d.ts +0 -203
  535. package/dist/types/components/xpl-table/table.stories.d.ts +0 -67
  536. package/dist/types/components/xpl-table-header/table-header.stories.d.ts +0 -80
  537. package/dist/types/components/xpl-table-header-cell/table-header-cell.stories.d.ts +0 -36
  538. package/dist/types/components/xpl-tabs/segment-control.stories.d.ts +0 -134
  539. package/dist/types/components/xpl-tabs/tabs.stories.d.ts +0 -107
  540. package/dist/types/components/xpl-tag/tag.stories.d.ts +0 -68
  541. package/dist/types/components/xpl-toast/toast.stories.d.ts +0 -70
  542. package/dist/types/components/xpl-toggle/toggle.stories.d.ts +0 -53
  543. package/dist/types/components/xpl-toolbar/toolbar.stories.d.ts +0 -35
  544. package/dist/types/components/xpl-tooltip/tooltip.stories.d.ts +0 -29
  545. package/dist/types/components/xpl-top-nav/top-nav.stories.d.ts +0 -549
  546. package/dist/types/components/xpl-utility-bar/utility-bar.stories.d.ts +0 -27
  547. package/dist/types/home/runner/work/apollo/apollo/packages/apollo-core/.stencil/.storybook/utils/story-function.d.ts +0 -11
  548. package/dist/types/home/runner/work/apollo/apollo/packages/apollo-core/.stencil/.storybook/utils/wait-for-hydration.d.ts +0 -1
  549. package/dist/types/home/runner/work/apollo/apollo/packages/apollo-core/.stencil/src/css/typography.stories.d.ts +0 -76
  550. /package/dist/types/home/runner/work/apollo/apollo/packages/apollo-core/.stencil/{src/utils → utils}/form-bindings.d.ts +0 -0
  551. /package/dist/types/home/runner/work/apollo/apollo/packages/apollo-core/.stencil/{src/utils → utils}/story-vrt.d.ts +0 -0
@@ -1,312 +0,0 @@
1
- import { setAutoSnapshotOptions } from "vitest-plugin-vis";
2
- export default {
3
- title: 'Components/Navigation/Main Nav',
4
- tags: ['vrt'],
5
- beforeEach() {
6
- setAutoSnapshotOptions({ enable: true });
7
- },
8
- argTypes: {
9
- width: {
10
- options: ['default', 'sm', 'md'],
11
- control: {
12
- type: 'select',
13
- },
14
- },
15
- },
16
- };
17
- export const MainNav = ({ width }) => `
18
- <xpl-main-nav width="${width}">
19
- <svg
20
- slot="logo"
21
- width="42"
22
- height="42"
23
- viewBox="0 0 42 42"
24
- fill="none"
25
- xmlns="http://www.w3.org/2000/svg"
26
- >
27
- <path
28
- d="M0 4C0 1.79086 1.79086 0 4 0H38C40.2091 0 42 1.79086 42 4V38C42 40.2091 40.2091 42 38 42H4C1.79086 42 0 40.2091 0 38V4Z"
29
- fill="white"
30
- />
31
- <g clip-path="url(#clip0_1237:41953)">
32
- <path
33
- d="M33.6029 8.55469C26.4683 8.88391 19.9116 12.5273 15.9331 18.3875C13.266 17.9266 10.5321 18.5851 8.39844 20.2092V21.7895C14.9107 21.7895 20.1783 26.9913 20.2005 33.4002V33.4221H21.8008C23.4455 31.3151 24.1345 28.6154 23.6456 25.9816C29.5799 22.0748 33.2695 15.6001 33.6029 8.55469ZM22.3564 16.8731C22.3564 15.3367 23.6233 14.0857 25.1792 14.0857C26.735 14.0857 28.0019 15.3367 28.0019 16.8731C28.0019 18.4095 26.735 19.6605 25.1792 19.6605C23.6233 19.6605 22.3564 18.4095 22.3564 16.8731Z"
34
- fill="#F44E27"
35
- />
36
- <path
37
- d="M12.3762 27.431C10.7314 26.9701 8.9978 27.8919 8.53105 29.538C8.44215 29.8014 8.41992 30.0867 8.41992 30.3721V33.4448H11.5316C11.7983 33.4448 12.0428 33.4229 12.2873 33.357C13.9542 32.94 14.9544 31.2719 14.5321 29.6258C14.2432 28.5503 13.4208 27.7383 12.3762 27.431Z"
38
- fill="#F44E27"
39
- />
40
- </g>
41
- <defs>
42
- <clipPath id="clip0_1237:41953">
43
- <rect
44
- width="25.3165"
45
- height="25"
46
- fill="white"
47
- transform="translate(8.3418 8.5)"
48
- />
49
- </clipPath>
50
- </defs>
51
- </svg>
52
- <p slot="brand-name">Client Name</p>
53
- <ul slot="navigation">
54
- <xpl-nav-item>
55
- <a slot="link" href="javascript:;">
56
- <svg
57
- slot="icon"
58
- viewBox="0 0 16 16"
59
- xmlns="http://www.w3.org/2000/svg"
60
- >
61
- <path
62
- d="M13.8795 7.82083L12.6661 6.82312V4.83311C12.6661 4.7889 12.6486 4.74651 12.6173 4.71525C12.5861 4.684 12.5437 4.66644 12.4995 4.66644H11.8328C11.7892 4.66671 11.7474 4.68404 11.7165 4.71473C11.6855 4.74542 11.6678 4.78702 11.6672 4.83061V6.00186L8.74673 3.60393C8.5369 3.42922 8.27248 3.33356 7.99944 3.33356C7.72639 3.33356 7.46198 3.42922 7.25214 3.60393L2.1194 7.82083C2.08583 7.84893 2.05812 7.88336 2.03786 7.92217C2.01759 7.96097 2.00517 8.00339 2.0013 8.047C1.99744 8.0906 2.00219 8.13454 2.01531 8.17631C2.02842 8.21808 2.04963 8.25685 2.07773 8.29042L2.29107 8.54667C2.3478 8.61441 2.42912 8.65685 2.51713 8.66466C2.60515 8.67248 2.69266 8.64502 2.76045 8.58834L3.33274 8.11833V11.9998C3.33324 12.1765 3.40363 12.3458 3.52855 12.4707C3.65347 12.5956 3.82275 12.666 3.99941 12.6665H6.66609C6.84275 12.666 7.01204 12.5956 7.13696 12.4707C7.26187 12.3458 7.33227 12.1765 7.33277 11.9998V9.83314H8.66611V11.9998C8.6666 12.1765 8.737 12.3458 8.86192 12.4707C8.98683 12.5956 9.15612 12.666 9.33278 12.6665H11.9995C12.1753 12.6661 12.3439 12.5964 12.4687 12.4726C12.5935 12.3487 12.6644 12.1806 12.6661 12.0048V8.11792L13.2397 8.58917C13.3075 8.64586 13.395 8.67331 13.483 8.6655C13.571 8.65768 13.6523 8.61524 13.7091 8.5475L13.9222 8.29146C13.9504 8.2578 13.9717 8.2189 13.9848 8.17699C13.9979 8.13509 14.0026 8.091 13.9986 8.04727C13.9947 8.00354 13.9821 7.96102 13.9616 7.92216C13.9412 7.8833 13.9133 7.84887 13.8795 7.82083V7.82083ZM11.663 11.6665H9.66611V9.4998C9.66562 9.32314 9.59522 9.15386 9.4703 9.02894C9.34539 8.90402 9.1761 8.83363 8.99944 8.83313H6.99943C6.82277 8.83363 6.65349 8.90402 6.52857 9.02894C6.40365 9.15386 6.33325 9.32314 6.33276 9.4998V11.6665H4.33275V7.29708L7.99944 4.28414L11.6661 7.29583L11.663 11.6665Z"
63
- />
64
- </svg>
65
- <p>Dashboard</p>
66
- </a>
67
- </xpl-nav-item>
68
- <xpl-nav-item>
69
- <a slot="link" href="javascript:;">
70
- <svg
71
- slot="icon"
72
- viewBox="0 0 16 16"
73
- xmlns="http://www.w3.org/2000/svg"
74
- >
75
- <path
76
- d="M13.4375 4.25H11.1875C10.877 4.25 10.625 4.50172 10.625 4.8125V7.0625C10.625 7.37305 10.877 7.625 11.1875 7.625H13.4375C13.748 7.625 14 7.37305 14 7.0625V4.8125C14 4.50172 13.748 4.25 13.4375 4.25ZM12.875 6.5H11.75V5.375H12.875V6.5ZM13.4375 8.375H11.1875C10.877 8.375 10.625 8.62672 10.625 8.9375V11.1875C10.625 11.498 10.877 11.75 11.1875 11.75H13.4375C13.748 11.75 14 11.498 14 11.1875V8.9375C14 8.62672 13.748 8.375 13.4375 8.375ZM12.875 10.625H11.75V9.5H12.875V10.625ZM4.8125 4.25H2.5625C2.25195 4.25 2 4.50172 2 4.8125V7.0625C2 7.37305 2.25195 7.625 2.5625 7.625H4.8125C5.12305 7.625 5.375 7.37305 5.375 7.0625V4.8125C5.375 4.50172 5.12305 4.25 4.8125 4.25ZM4.25 6.5H3.125V5.375H4.25V6.5ZM4.8125 8.375H2.5625C2.25195 8.375 2 8.62672 2 8.9375V11.1875C2 11.498 2.25195 11.75 2.5625 11.75H4.8125C5.12305 11.75 5.375 11.498 5.375 11.1875V8.9375C5.375 8.62672 5.12305 8.375 4.8125 8.375ZM4.25 10.625H3.125V9.5H4.25V10.625ZM9.125 4.25H6.875C6.56445 4.25 6.3125 4.50172 6.3125 4.8125V7.0625C6.3125 7.37305 6.56445 7.625 6.875 7.625H9.125C9.43555 7.625 9.6875 7.37305 9.6875 7.0625V4.8125C9.6875 4.50172 9.43555 4.25 9.125 4.25ZM8.5625 6.5H7.4375V5.375H8.5625V6.5ZM9.125 8.375H6.875C6.56445 8.375 6.3125 8.62672 6.3125 8.9375V11.1875C6.3125 11.498 6.56445 11.75 6.875 11.75H9.125C9.43555 11.75 9.6875 11.498 9.6875 11.1875V8.9375C9.6875 8.62672 9.43555 8.375 9.125 8.375ZM8.5625 10.625H7.4375V9.5H8.5625V10.625Z"
77
- />
78
- </svg>
79
- <p>Classes</p>
80
- </a>
81
- </xpl-nav-item>
82
- <xpl-nav-item>
83
- <a slot="link" href="javascript:;" class="active">
84
- <svg
85
- slot="icon"
86
- viewBox="0 0 16 16"
87
- xmlns="http://www.w3.org/2000/svg"
88
- >
89
- <path
90
- d="M8 2C5.51335 2 3.5 4.01595 3.5 6.5C3.5 8.16681 4.06229 8.68768 7.04542 13.4709C7.48569 14.1768 8.51481 14.176 8.95457 13.4709C11.9393 8.68518 12.5 8.16648 12.5 6.5C12.5 4.01335 10.4841 2 8 2ZM8 12.875C5.0135 8.08639 4.625 7.7841 4.625 6.5C4.625 4.63604 6.13604 3.125 8 3.125C9.86396 3.125 11.375 4.63604 11.375 6.5C11.375 7.77859 11.0196 8.0334 8 12.875ZM6.125 6.5C6.125 5.46446 6.96446 4.625 8 4.625C9.03554 4.625 9.875 5.46446 9.875 6.5C9.875 7.53554 9.03554 8.375 8 8.375C6.96446 8.375 6.125 7.53554 6.125 6.5Z"
91
- />
92
- </svg>
93
-
94
- <p>Locations</p>
95
- </a>
96
- </xpl-nav-item>
97
- <xpl-nav-item>
98
- <a slot="link" href="javascript:;">
99
- <svg
100
- slot="icon"
101
- viewBox="0 0 16 16"
102
- xmlns="http://www.w3.org/2000/svg"
103
- >
104
- <path
105
- d="M12.125 3.5H11V2.28125C11 2.12656 10.8734 2 10.7188 2H9.78125C9.62656 2 9.5 2.12656 9.5 2.28125V3.5H6.5V2.28125C6.5 2.12656 6.37344 2 6.21875 2H5.28125C5.12656 2 5 2.12656 5 2.28125V3.5H3.875C3.25391 3.5 2.75 4.00391 2.75 4.625V12.875C2.75 13.4961 3.25391 14 3.875 14H12.125C12.7461 14 13.25 13.4961 13.25 12.875V4.625C13.25 4.00391 12.7461 3.5 12.125 3.5ZM11.9844 12.875H4.01562C3.93828 12.875 3.875 12.8117 3.875 12.7344V5.75H12.125V12.7344C12.125 12.8117 12.0617 12.875 11.9844 12.875Z"
106
- />
107
- </svg>
108
-
109
- <p>Schedule</p>
110
- </a>
111
- </xpl-nav-item>
112
- <xpl-nav-item>
113
- <a slot="link" href="javascript:;">
114
- <svg
115
- slot="icon"
116
- viewBox="0 0 16 16"
117
- fill="none"
118
- xmlns="http://www.w3.org/2000/svg"
119
- >
120
- <path
121
- d="M11.3 10.25H11.825C11.975 10.25 12.125 10.1 12.125 9.95V4.55C12.125 4.4 11.975 4.25 11.825 4.25H11.3C11.15 4.25 11 4.4 11 4.55V9.95C11 10.1 11.15 10.25 11.3 10.25ZM6.8 10.25H7.325C7.475 10.25 7.625 10.1 7.625 9.95V5.3C7.625 5.15 7.475 5 7.325 5H6.8C6.65 5 6.5 5.15 6.5 5.3V9.95C6.5 10.1 6.65 10.25 6.8 10.25ZM9.05 10.25H9.575C9.725 10.25 9.875 10.1 9.875 9.95V6.8C9.875 6.65 9.725 6.5 9.575 6.5H9.05C8.9 6.5 8.75 6.65 8.75 6.8V9.95C8.75 10.1 8.9 10.25 9.05 10.25ZM13.625 11.375H3.125V3.875C3.125 3.66781 2.95719 3.5 2.75 3.5H2.375C2.16781 3.5 2 3.66781 2 3.875V11.75C2 12.1641 2.33586 12.5 2.75 12.5H13.625C13.8322 12.5 14 12.3322 14 12.125V11.75C14 11.5428 13.8322 11.375 13.625 11.375ZM4.55 10.25H5.075C5.225 10.25 5.375 10.1 5.375 9.95V8.3C5.375 8.15 5.225 8 5.075 8H4.55C4.4 8 4.25 8.15 4.25 8.3V9.95C4.25 10.1 4.4 10.25 4.55 10.25Z"
122
- />
123
- </svg>
124
- <p>Reports</p>
125
- </a>
126
- </xpl-nav-item>
127
- <xpl-nav-item>
128
- <a slot="link" href="javascript:;">
129
- <svg
130
- slot="icon"
131
- viewBox="0 0 16 16"
132
- xmlns="http://www.w3.org/2000/svg"
133
- >
134
- <path
135
- d="M10.6667 5.33329C10.4825 5.33329 10.3333 5.48246 10.3333 5.66663C10.3333 5.85079 10.4825 5.99996 10.6667 5.99996C10.8508 5.99996 11 5.85079 11 5.66663C11 5.48246 10.8508 5.33329 10.6667 5.33329ZM13.4069 2.75308C13.2789 2.69608 13.1403 2.66662 13.0002 2.66663C12.7577 2.66663 12.5183 2.75475 12.331 2.92329L11.5052 3.66663H11.1617L10.3358 2.92329C10.1921 2.79401 10.014 2.70913 9.82301 2.67892C9.63205 2.64872 9.43642 2.67447 9.25979 2.75308C8.89917 2.91392 8.66667 3.27163 8.66667 3.66663V5.99996C8.66667 6.08829 8.68438 6.17163 8.69271 6.25788L7.71354 6.40621C6.30771 6.61933 5.11729 7.37288 4.33333 8.43788V6.49996C4.33333 5.48892 3.51104 4.66663 2.5 4.66663C2.22396 4.66663 2 4.89058 2 5.16663C2 5.44725 2.23167 5.67433 2.51417 5.66642C2.97958 5.6535 3.33333 6.09517 3.33333 6.56079V10.9854C3.33333 12.5148 4.15417 13.3333 5.16667 13.3333H9C9.18417 13.3333 9.33333 13.1841 9.33333 13C9.33333 12.6318 9.03479 12.3333 8.66667 12.3333H8.33042C8.32812 12.1798 8.31417 12.0285 8.29188 11.8789L10 10.8739V12.6666C10 13.0348 10.2985 13.3333 10.6667 13.3333H12C12.3681 13.3333 12.6667 13.0348 12.6667 12.6666V8.29579C13.4598 7.83329 14 6.98267 14 6.00017V3.66663C14 3.27183 13.7675 2.91392 13.4069 2.75308ZM11.6667 12.3333H11V10.2912C11 10.0527 10.8717 9.831 10.6648 9.71267C10.4583 9.59413 10.2019 9.59558 9.99563 9.71663L7.98833 10.8975C7.73667 10.377 7.35854 9.92079 6.87479 9.58267C6.71813 9.47308 6.49833 9.53663 6.40542 9.70371L6.25042 9.98267C6.16771 10.1316 6.19729 10.3262 6.33521 10.4262C6.94396 10.8673 7.31167 11.5729 7.3275 12.3333H5.16667C4.70708 12.3333 4.33333 11.9595 4.33333 11.5C4.33333 9.43163 5.81771 7.70496 7.86333 7.39517L8.97938 7.226C9.425 8.07788 10.3073 8.66663 11.3333 8.66663C11.4475 8.66663 11.5563 8.64683 11.6667 8.63288V12.3333ZM13 5.99996C13 6.92038 12.2537 7.66663 11.3333 7.66663C10.4129 7.66663 9.66667 6.92038 9.66667 5.99996V3.66663L10.7777 4.66663H11.8888L13 3.66663V5.99996ZM11.6667 5.66663C11.6667 5.85079 11.8158 5.99996 12 5.99996C12.1842 5.99996 12.3333 5.85079 12.3333 5.66663C12.3333 5.48246 12.1842 5.33329 12 5.33329C11.8158 5.33329 11.6667 5.48246 11.6667 5.66663Z"
136
- />
137
- </svg>
138
- <p>Cats</p>
139
- </a>
140
- </xpl-nav-item>
141
- </ul>
142
- <ul slot="footer">
143
- <xpl-nav-item>
144
- <a slot="link" href="javascript:;">
145
- <xpl-avatar name="Jean-Luc Picard">JP</xpl-avatar>
146
- <div>
147
- <p>Jean-Luc Picard</p>
148
- <p>jl@picard.space</p>
149
- </div>
150
- </a>
151
- </xpl-nav-item>
152
- </ul>
153
- </xpl-main-nav>
154
- `;
155
- const HtmlMainNav = ({ width }) => `
156
- <div class="xpl-main-nav xpl-main-nav--${width}">
157
- <nav aria-label="Sidebar">
158
- <header aria-label="Sidebar Header">
159
- <svg
160
- slot="logo"
161
- width="42"
162
- height="42"
163
- viewBox="0 0 42 42"
164
- fill="none"
165
- xmlns="http://www.w3.org/2000/svg"
166
- >
167
- <path
168
- d="M0 4C0 1.79086 1.79086 0 4 0H38C40.2091 0 42 1.79086 42 4V38C42 40.2091 40.2091 42 38 42H4C1.79086 42 0 40.2091 0 38V4Z"
169
- fill="white"
170
- />
171
- <g clip-path="url(#clip0_1237:41953)">
172
- <path
173
- d="M33.6029 8.55469C26.4683 8.88391 19.9116 12.5273 15.9331 18.3875C13.266 17.9266 10.5321 18.5851 8.39844 20.2092V21.7895C14.9107 21.7895 20.1783 26.9913 20.2005 33.4002V33.4221H21.8008C23.4455 31.3151 24.1345 28.6154 23.6456 25.9816C29.5799 22.0748 33.2695 15.6001 33.6029 8.55469ZM22.3564 16.8731C22.3564 15.3367 23.6233 14.0857 25.1792 14.0857C26.735 14.0857 28.0019 15.3367 28.0019 16.8731C28.0019 18.4095 26.735 19.6605 25.1792 19.6605C23.6233 19.6605 22.3564 18.4095 22.3564 16.8731Z"
174
- fill="#F44E27"
175
- />
176
- <path
177
- d="M12.3762 27.431C10.7314 26.9701 8.9978 27.8919 8.53105 29.538C8.44215 29.8014 8.41992 30.0867 8.41992 30.3721V33.4448H11.5316C11.7983 33.4448 12.0428 33.4229 12.2873 33.357C13.9542 32.94 14.9544 31.2719 14.5321 29.6258C14.2432 28.5503 13.4208 27.7383 12.3762 27.431Z"
178
- fill="#F44E27"
179
- />
180
- </g>
181
- <defs>
182
- <clipPath id="clip0_1237:41953">
183
- <rect
184
- width="25.3165"
185
- height="25"
186
- fill="white"
187
- transform="translate(8.3418 8.5)"
188
- />
189
- </clipPath>
190
- </defs>
191
- </svg>
192
- <p slot="brand-name">Client Name</p>
193
- </header>
194
- <ul>
195
- <li class="xpl-nav-item">
196
- <a slot="link" href="javascript:;">
197
- <svg
198
- slot="icon"
199
- viewBox="0 0 16 16"
200
- xmlns="http://www.w3.org/2000/svg"
201
- >
202
- <path
203
- d="M13.8795 7.82083L12.6661 6.82312V4.83311C12.6661 4.7889 12.6486 4.74651 12.6173 4.71525C12.5861 4.684 12.5437 4.66644 12.4995 4.66644H11.8328C11.7892 4.66671 11.7474 4.68404 11.7165 4.71473C11.6855 4.74542 11.6678 4.78702 11.6672 4.83061V6.00186L8.74673 3.60393C8.5369 3.42922 8.27248 3.33356 7.99944 3.33356C7.72639 3.33356 7.46198 3.42922 7.25214 3.60393L2.1194 7.82083C2.08583 7.84893 2.05812 7.88336 2.03786 7.92217C2.01759 7.96097 2.00517 8.00339 2.0013 8.047C1.99744 8.0906 2.00219 8.13454 2.01531 8.17631C2.02842 8.21808 2.04963 8.25685 2.07773 8.29042L2.29107 8.54667C2.3478 8.61441 2.42912 8.65685 2.51713 8.66466C2.60515 8.67248 2.69266 8.64502 2.76045 8.58834L3.33274 8.11833V11.9998C3.33324 12.1765 3.40363 12.3458 3.52855 12.4707C3.65347 12.5956 3.82275 12.666 3.99941 12.6665H6.66609C6.84275 12.666 7.01204 12.5956 7.13696 12.4707C7.26187 12.3458 7.33227 12.1765 7.33277 11.9998V9.83314H8.66611V11.9998C8.6666 12.1765 8.737 12.3458 8.86192 12.4707C8.98683 12.5956 9.15612 12.666 9.33278 12.6665H11.9995C12.1753 12.6661 12.3439 12.5964 12.4687 12.4726C12.5935 12.3487 12.6644 12.1806 12.6661 12.0048V8.11792L13.2397 8.58917C13.3075 8.64586 13.395 8.67331 13.483 8.6655C13.571 8.65768 13.6523 8.61524 13.7091 8.5475L13.9222 8.29146C13.9504 8.2578 13.9717 8.2189 13.9848 8.17699C13.9979 8.13509 14.0026 8.091 13.9986 8.04727C13.9947 8.00354 13.9821 7.96102 13.9616 7.92216C13.9412 7.8833 13.9133 7.84887 13.8795 7.82083V7.82083ZM11.663 11.6665H9.66611V9.4998C9.66562 9.32314 9.59522 9.15386 9.4703 9.02894C9.34539 8.90402 9.1761 8.83363 8.99944 8.83313H6.99943C6.82277 8.83363 6.65349 8.90402 6.52857 9.02894C6.40365 9.15386 6.33325 9.32314 6.33276 9.4998V11.6665H4.33275V7.29708L7.99944 4.28414L11.6661 7.29583L11.663 11.6665Z"
204
- />
205
- </svg>
206
- <p>Dashboard</p>
207
- </a>
208
- </li>
209
- <li class="xpl-nav-item">
210
- <a slot="link" href="javascript:;">
211
- <svg
212
- slot="icon"
213
- viewBox="0 0 16 16"
214
- xmlns="http://www.w3.org/2000/svg"
215
- >
216
- <path
217
- d="M13.4375 4.25H11.1875C10.877 4.25 10.625 4.50172 10.625 4.8125V7.0625C10.625 7.37305 10.877 7.625 11.1875 7.625H13.4375C13.748 7.625 14 7.37305 14 7.0625V4.8125C14 4.50172 13.748 4.25 13.4375 4.25ZM12.875 6.5H11.75V5.375H12.875V6.5ZM13.4375 8.375H11.1875C10.877 8.375 10.625 8.62672 10.625 8.9375V11.1875C10.625 11.498 10.877 11.75 11.1875 11.75H13.4375C13.748 11.75 14 11.498 14 11.1875V8.9375C14 8.62672 13.748 8.375 13.4375 8.375ZM12.875 10.625H11.75V9.5H12.875V10.625ZM4.8125 4.25H2.5625C2.25195 4.25 2 4.50172 2 4.8125V7.0625C2 7.37305 2.25195 7.625 2.5625 7.625H4.8125C5.12305 7.625 5.375 7.37305 5.375 7.0625V4.8125C5.375 4.50172 5.12305 4.25 4.8125 4.25ZM4.25 6.5H3.125V5.375H4.25V6.5ZM4.8125 8.375H2.5625C2.25195 8.375 2 8.62672 2 8.9375V11.1875C2 11.498 2.25195 11.75 2.5625 11.75H4.8125C5.12305 11.75 5.375 11.498 5.375 11.1875V8.9375C5.375 8.62672 5.12305 8.375 4.8125 8.375ZM4.25 10.625H3.125V9.5H4.25V10.625ZM9.125 4.25H6.875C6.56445 4.25 6.3125 4.50172 6.3125 4.8125V7.0625C6.3125 7.37305 6.56445 7.625 6.875 7.625H9.125C9.43555 7.625 9.6875 7.37305 9.6875 7.0625V4.8125C9.6875 4.50172 9.43555 4.25 9.125 4.25ZM8.5625 6.5H7.4375V5.375H8.5625V6.5ZM9.125 8.375H6.875C6.56445 8.375 6.3125 8.62672 6.3125 8.9375V11.1875C6.3125 11.498 6.56445 11.75 6.875 11.75H9.125C9.43555 11.75 9.6875 11.498 9.6875 11.1875V8.9375C9.6875 8.62672 9.43555 8.375 9.125 8.375ZM8.5625 10.625H7.4375V9.5H8.5625V10.625Z"
218
- />
219
- </svg>
220
-
221
- <p>Classes</p>
222
- </a>
223
- </li>
224
- <li class="xpl-nav-item">
225
- <a slot="link" href="javascript:;" class="active">
226
- <svg
227
- slot="icon"
228
- viewBox="0 0 16 16"
229
- xmlns="http://www.w3.org/2000/svg"
230
- >
231
- <path
232
- d="M8 2C5.51335 2 3.5 4.01595 3.5 6.5C3.5 8.16681 4.06229 8.68768 7.04542 13.4709C7.48569 14.1768 8.51481 14.176 8.95457 13.4709C11.9393 8.68518 12.5 8.16648 12.5 6.5C12.5 4.01335 10.4841 2 8 2ZM8 12.875C5.0135 8.08639 4.625 7.7841 4.625 6.5C4.625 4.63604 6.13604 3.125 8 3.125C9.86396 3.125 11.375 4.63604 11.375 6.5C11.375 7.77859 11.0196 8.0334 8 12.875ZM6.125 6.5C6.125 5.46446 6.96446 4.625 8 4.625C9.03554 4.625 9.875 5.46446 9.875 6.5C9.875 7.53554 9.03554 8.375 8 8.375C6.96446 8.375 6.125 7.53554 6.125 6.5Z"
233
- />
234
- </svg>
235
-
236
- <p>Locations</p>
237
- </a>
238
- </li>
239
- <li class="xpl-nav-item">
240
- <a slot="link" href="javascript:;">
241
- <svg
242
- slot="icon"
243
- viewBox="0 0 16 16"
244
- xmlns="http://www.w3.org/2000/svg"
245
- >
246
- <path
247
- d="M12.125 3.5H11V2.28125C11 2.12656 10.8734 2 10.7188 2H9.78125C9.62656 2 9.5 2.12656 9.5 2.28125V3.5H6.5V2.28125C6.5 2.12656 6.37344 2 6.21875 2H5.28125C5.12656 2 5 2.12656 5 2.28125V3.5H3.875C3.25391 3.5 2.75 4.00391 2.75 4.625V12.875C2.75 13.4961 3.25391 14 3.875 14H12.125C12.7461 14 13.25 13.4961 13.25 12.875V4.625C13.25 4.00391 12.7461 3.5 12.125 3.5ZM11.9844 12.875H4.01562C3.93828 12.875 3.875 12.8117 3.875 12.7344V5.75H12.125V12.7344C12.125 12.8117 12.0617 12.875 11.9844 12.875Z"
248
- />
249
- </svg>
250
-
251
- <p>Schedule</p>
252
- </a>
253
- </li>
254
- <li class="xpl-nav-item">
255
- <a slot="link" href="javascript:;">
256
- <svg
257
- slot="icon"
258
- viewBox="0 0 16 16"
259
- fill="none"
260
- xmlns="http://www.w3.org/2000/svg"
261
- >
262
- <path
263
- d="M11.3 10.25H11.825C11.975 10.25 12.125 10.1 12.125 9.95V4.55C12.125 4.4 11.975 4.25 11.825 4.25H11.3C11.15 4.25 11 4.4 11 4.55V9.95C11 10.1 11.15 10.25 11.3 10.25ZM6.8 10.25H7.325C7.475 10.25 7.625 10.1 7.625 9.95V5.3C7.625 5.15 7.475 5 7.325 5H6.8C6.65 5 6.5 5.15 6.5 5.3V9.95C6.5 10.1 6.65 10.25 6.8 10.25ZM9.05 10.25H9.575C9.725 10.25 9.875 10.1 9.875 9.95V6.8C9.875 6.65 9.725 6.5 9.575 6.5H9.05C8.9 6.5 8.75 6.65 8.75 6.8V9.95C8.75 10.1 8.9 10.25 9.05 10.25ZM13.625 11.375H3.125V3.875C3.125 3.66781 2.95719 3.5 2.75 3.5H2.375C2.16781 3.5 2 3.66781 2 3.875V11.75C2 12.1641 2.33586 12.5 2.75 12.5H13.625C13.8322 12.5 14 12.3322 14 12.125V11.75C14 11.5428 13.8322 11.375 13.625 11.375ZM4.55 10.25H5.075C5.225 10.25 5.375 10.1 5.375 9.95V8.3C5.375 8.15 5.225 8 5.075 8H4.55C4.4 8 4.25 8.15 4.25 8.3V9.95C4.25 10.1 4.4 10.25 4.55 10.25Z"
264
- />
265
- </svg>
266
- <p>Reports</p>
267
- </a>
268
- </li>
269
- <li class="xpl-nav-item">
270
- <a slot="link" href="javascript:;">
271
- <svg
272
- slot="icon"
273
- viewBox="0 0 16 16"
274
- xmlns="http://www.w3.org/2000/svg"
275
- >
276
- <path
277
- d="M10.6667 5.33329C10.4825 5.33329 10.3333 5.48246 10.3333 5.66663C10.3333 5.85079 10.4825 5.99996 10.6667 5.99996C10.8508 5.99996 11 5.85079 11 5.66663C11 5.48246 10.8508 5.33329 10.6667 5.33329ZM13.4069 2.75308C13.2789 2.69608 13.1403 2.66662 13.0002 2.66663C12.7577 2.66663 12.5183 2.75475 12.331 2.92329L11.5052 3.66663H11.1617L10.3358 2.92329C10.1921 2.79401 10.014 2.70913 9.82301 2.67892C9.63205 2.64872 9.43642 2.67447 9.25979 2.75308C8.89917 2.91392 8.66667 3.27163 8.66667 3.66663V5.99996C8.66667 6.08829 8.68438 6.17163 8.69271 6.25788L7.71354 6.40621C6.30771 6.61933 5.11729 7.37288 4.33333 8.43788V6.49996C4.33333 5.48892 3.51104 4.66663 2.5 4.66663C2.22396 4.66663 2 4.89058 2 5.16663C2 5.44725 2.23167 5.67433 2.51417 5.66642C2.97958 5.6535 3.33333 6.09517 3.33333 6.56079V10.9854C3.33333 12.5148 4.15417 13.3333 5.16667 13.3333H9C9.18417 13.3333 9.33333 13.1841 9.33333 13C9.33333 12.6318 9.03479 12.3333 8.66667 12.3333H8.33042C8.32812 12.1798 8.31417 12.0285 8.29188 11.8789L10 10.8739V12.6666C10 13.0348 10.2985 13.3333 10.6667 13.3333H12C12.3681 13.3333 12.6667 13.0348 12.6667 12.6666V8.29579C13.4598 7.83329 14 6.98267 14 6.00017V3.66663C14 3.27183 13.7675 2.91392 13.4069 2.75308ZM11.6667 12.3333H11V10.2912C11 10.0527 10.8717 9.831 10.6648 9.71267C10.4583 9.59413 10.2019 9.59558 9.99563 9.71663L7.98833 10.8975C7.73667 10.377 7.35854 9.92079 6.87479 9.58267C6.71813 9.47308 6.49833 9.53663 6.40542 9.70371L6.25042 9.98267C6.16771 10.1316 6.19729 10.3262 6.33521 10.4262C6.94396 10.8673 7.31167 11.5729 7.3275 12.3333H5.16667C4.70708 12.3333 4.33333 11.9595 4.33333 11.5C4.33333 9.43163 5.81771 7.70496 7.86333 7.39517L8.97938 7.226C9.425 8.07788 10.3073 8.66663 11.3333 8.66663C11.4475 8.66663 11.5563 8.64683 11.6667 8.63288V12.3333ZM13 5.99996C13 6.92038 12.2537 7.66663 11.3333 7.66663C10.4129 7.66663 9.66667 6.92038 9.66667 5.99996V3.66663L10.7777 4.66663H11.8888L13 3.66663V5.99996ZM11.6667 5.66663C11.6667 5.85079 11.8158 5.99996 12 5.99996C12.1842 5.99996 12.3333 5.85079 12.3333 5.66663C12.3333 5.48246 12.1842 5.33329 12 5.33329C11.8158 5.33329 11.6667 5.48246 11.6667 5.66663Z"
278
- />
279
- </svg>
280
-
281
- <p>Cats</p>
282
- </a>
283
- </li>
284
- </ul>
285
- </nav>
286
- <footer aria-label="Sidebar Header">
287
- <ul>
288
- <div class="xpl-nav-item">
289
- <a slot="link" href="javascript:;">
290
- <xpl-avatar name="Jean-Luc Picard">JP</xpl-avatar>
291
- <div>
292
- <p>Jean-Luc Picard</p>
293
- <p>jlp@enterprise.space</p>
294
- </div>
295
- </a>
296
- </div>
297
- </ul>
298
- </footer>
299
- </div>
300
- `;
301
- MainNav.args = {
302
- width: 'default',
303
- };
304
- MainNav.parameters = {
305
- layout: 'centered',
306
- 'web-component': {
307
- render: MainNav(MainNav.args),
308
- },
309
- html: {
310
- render: HtmlMainNav(MainNav.args),
311
- },
312
- };
@@ -1,100 +0,0 @@
1
- import { setAutoSnapshotOptions } from "vitest-plugin-vis";
2
- import { waitForComponentsRender } from "../../../../src/utils/story-vrt";
3
- export default {
4
- title: 'Components/Modal',
5
- component: 'xpl-modal',
6
- tags: ['vrt'],
7
- beforeEach() {
8
- setAutoSnapshotOptions({
9
- enable: true,
10
- failureThreshold: 1,
11
- failureThresholdType: 'percent',
12
- });
13
- },
14
- play: async ({ canvasElement }) => {
15
- await waitForComponentsRender(canvasElement);
16
- },
17
- argTypes: {
18
- isOpen: {
19
- control: {
20
- type: 'boolean',
21
- },
22
- },
23
- title: {
24
- type: { name: 'string', required: true },
25
- },
26
- subtitle: {
27
- type: { name: 'string', required: false },
28
- },
29
- body: {
30
- type: { name: 'string', required: false },
31
- },
32
- actions: {
33
- options: [1, 2, 3],
34
- control: {
35
- type: 'select',
36
- },
37
- },
38
- primaryButtonText: {
39
- type: { name: 'string', required: true },
40
- },
41
- secondaryButtonText: {
42
- type: { name: 'string', required: false },
43
- },
44
- tertiaryButtonText: {
45
- type: { name: 'string', required: false },
46
- },
47
- size: {
48
- options: ['small', 'medium', 'large'],
49
- control: {
50
- type: 'select',
51
- },
52
- },
53
- variant: {
54
- options: ['default', 'warning'],
55
- control: {
56
- type: 'select',
57
- },
58
- },
59
- },
60
- };
61
- export const Modal = ({ isOpen, title, subtitle, body, actions, primaryButtonText, secondaryButtonText, tertiaryButtonText, size, variant, }) => {
62
- const renderButtons = () => {
63
- const buttons = [];
64
- buttons.push(`<xpl-button slot="primary" variant=${variant === 'warning' ? 'warning' : 'primary'}>${primaryButtonText}</xpl-button>`);
65
- if (actions >= 2) {
66
- buttons.push(`<xpl-button slot="secondary" variant="secondary">${secondaryButtonText}</xpl-button>`);
67
- }
68
- if (actions === 3) {
69
- buttons.push(`<xpl-button slot="tertiary" variant="secondary">${tertiaryButtonText}</xpl-button>`);
70
- }
71
- return buttons;
72
- };
73
- return `
74
- <xpl-modal size=${size} is-open=${isOpen} variant=${variant}>
75
- <div slot="title">${title}</div>
76
- <div slot="subtitle">${subtitle}</div>
77
- <div slot="body">${body}</div>
78
- ${renderButtons().join('\n')}
79
- </xpl-modal>
80
- `;
81
- };
82
- Modal.args = {
83
- isOpen: true,
84
- title: 'Modal Title',
85
- subtitle: 'Optional modal subtitle',
86
- body: 'Main content of the modal',
87
- actions: 1,
88
- primaryButtonText: 'Primary',
89
- secondaryButtonText: 'Secondary',
90
- tertiaryButtonText: 'Tertiary',
91
- size: 'large',
92
- variant: 'default',
93
- };
94
- Modal.parameters = {
95
- layout: 'centered',
96
- design: {
97
- type: 'figma',
98
- url: 'https://www.figma.com/design/MjjYek73MFnHmVNdm45Sd1/Apollo-Web?node-id=12849-6374&p=f&t=01tbTrRZyfvVafsA-11',
99
- },
100
- };
@@ -1,65 +0,0 @@
1
- import { setAutoSnapshotOptions } from "vitest-plugin-vis";
2
- import { waitForHydration } from "../../../../.storybook/utils/wait-for-hydration";
3
- export default {
4
- title: 'Components/Pagination',
5
- parameters: {
6
- actions: {
7
- handles: ['pageChange', 'rowsPerPageChange'],
8
- },
9
- },
10
- tags: ['beta', 'vrt'],
11
- beforeEach() {
12
- setAutoSnapshotOptions({ enable: true });
13
- },
14
- async play({ canvasElement }) {
15
- await waitForHydration(canvasElement);
16
- },
17
- argTypes: {
18
- totalPages: {
19
- control: {
20
- type: 'number',
21
- },
22
- },
23
- withPageControl: {
24
- control: {
25
- type: 'boolean',
26
- },
27
- },
28
- },
29
- };
30
- export const Pagination = (args) => {
31
- const { totalPages, withPageControl } = args;
32
- return `<xpl-pagination total-pages="${totalPages}" with-page-control="${withPageControl}"></xpl-pagination>`;
33
- };
34
- Pagination.args = {
35
- totalPages: 5,
36
- withPageControl: false,
37
- };
38
- Pagination.parameters = {
39
- layout: 'centered',
40
- 'web-component': {
41
- render: Pagination(Pagination.args),
42
- },
43
- design: {
44
- type: 'figma',
45
- url: 'https://www.figma.com/design/MjjYek73MFnHmVNdm45Sd1/Apollo-Web?node-id=9-1407&p=f&t=01tbTrRZyfvVafsA-11',
46
- },
47
- };
48
- export const PaginationWithPageControl = (args) => {
49
- const { totalPages, withPageControl } = args;
50
- return `
51
- <div style="display: flex; align-items: flex-end; padding: 24px;">
52
- <xpl-pagination total-pages="${totalPages}" with-page-control="${withPageControl}"></xpl-pagination>
53
- </div>
54
- `;
55
- };
56
- PaginationWithPageControl.args = {
57
- totalPages: 5,
58
- withPageControl: true,
59
- };
60
- PaginationWithPageControl.parameters = {
61
- layout: 'fullscreen',
62
- 'web-component': {
63
- render: PaginationWithPageControl(PaginationWithPageControl.args),
64
- },
65
- };
@@ -1,62 +0,0 @@
1
- import { setAutoSnapshotOptions } from "vitest-plugin-vis";
2
- import { waitForHydration } from "../../../../.storybook/utils/wait-for-hydration";
3
- export default {
4
- tags: ['vrt'],
5
- beforeEach() {
6
- setAutoSnapshotOptions({ enable: true });
7
- },
8
- async play({ canvasElement }) {
9
- await waitForHydration(canvasElement);
10
- },
11
- title: 'Components/Panel',
12
- component: 'xpl-panel',
13
- argTypes: {
14
- accent: {
15
- description: 'Top accent bar color. `none` hides the bar.',
16
- options: ['none', 'primary', 'secondary', 'positive', 'negative', 'highlight'],
17
- control: {
18
- type: 'select',
19
- },
20
- },
21
- padding: {
22
- description: 'Content padding density; responsive steps for default/tight/loose (see readme).',
23
- options: ['default', 'tight', 'loose'],
24
- control: {
25
- type: 'select',
26
- },
27
- },
28
- },
29
- };
30
- export const Panel = ({ accent, padding }) => `
31
- <xpl-panel accent="${accent}" padding="${padding}" style="max-width: 800px">
32
- <p style="margin: 0" class="xpl-text-body">Panel content goes here. Compose other Apollo components within this slot.</p>
33
- </xpl-panel>
34
- `;
35
- Panel.args = {
36
- accent: 'none',
37
- padding: 'default',
38
- };
39
- Panel.parameters = {
40
- layout: 'padded',
41
- 'web-component': {
42
- render: Panel(Panel.args),
43
- },
44
- html: {
45
- render: (({ accent, padding }) => {
46
- const accentClass = accent !== 'none' ? ` xpl-panel--accent-${accent}` : '';
47
- const accentBar = accent !== 'none' ? '<div aria-hidden="true" class="xpl-panel__accent"></div>' : '';
48
- return `
49
- <div class="xpl-panel${accentClass} xpl-panel--padding-${padding}" style="max-width: 800px">
50
- ${accentBar}
51
- <div class="xpl-panel__content">
52
- <p class="xpl-text-body" style="margin: 0">Panel content goes here. Compose other Apollo components within this slot.</p>
53
- </div>
54
- </div>
55
- `;
56
- })(Panel.args),
57
- },
58
- design: {
59
- type: 'figma',
60
- url: 'https://www.figma.com/design/MjjYek73MFnHmVNdm45Sd1/Apollo-Web?node-id=1546-136120&p=f&t=SMeY3LnfDOiNmx1p-11',
61
- },
62
- };