@xplortech/apollo-core 2.4.3 → 2.6.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 (438) hide show
  1. package/.typings/apollo-components.html-data.json +1257 -3360
  2. package/build/style.css +4227 -1019
  3. package/dist/apollo-core/apollo-core.css +18 -27
  4. package/dist/apollo-core/apollo-core.esm.js +1 -1
  5. package/dist/apollo-core/p-02167464.entry.js +1 -0
  6. package/dist/apollo-core/p-0bce3874.entry.js +1 -0
  7. package/dist/apollo-core/{p-8c1f73ea.entry.js → p-1fd3dc87.entry.js} +1 -1
  8. package/dist/apollo-core/{p-0ac33b3a.entry.js → p-42016063.entry.js} +1 -1
  9. package/dist/apollo-core/{p-31461db7.entry.js → p-5549756c.entry.js} +1 -1
  10. package/dist/apollo-core/p-56fa4941.entry.js +1 -0
  11. package/dist/apollo-core/p-76c324da.entry.js +1 -0
  12. package/dist/apollo-core/p-7a3224b4.entry.js +1 -0
  13. package/dist/apollo-core/p-7e924697.entry.js +1 -0
  14. package/dist/apollo-core/{p-b1f4604d.entry.js → p-8a1affce.entry.js} +1 -1
  15. package/dist/apollo-core/p-9efca9e1.entry.js +1 -0
  16. package/dist/apollo-core/p-C_Z2nG0p.js +2 -0
  17. package/dist/apollo-core/p-b252b380.entry.js +1 -0
  18. package/dist/apollo-core/p-c91daac1.entry.js +1 -0
  19. package/dist/apollo-core/p-d9b62508.entry.js +1 -0
  20. package/dist/apollo-core/p-eaea16d1.entry.js +1 -0
  21. package/dist/apollo-core/p-eed13bca.entry.js +1 -0
  22. package/dist/apollo-core/{p-4fab8172.entry.js → p-f5af9539.entry.js} +1 -1
  23. package/dist/cjs/apollo-core.cjs.js +3 -3
  24. package/dist/cjs/{index-D__N_vw2.js → index-DH6pgWru.js} +137 -87
  25. package/dist/cjs/loader.cjs.js +2 -2
  26. package/dist/cjs/xpl-accordion.cjs.entry.js +5 -5
  27. package/dist/cjs/xpl-application-shell.cjs.entry.js +4 -4
  28. package/dist/cjs/xpl-avatar_47.cjs.entry.js +18618 -0
  29. package/dist/cjs/xpl-button-row.cjs.entry.js +4 -4
  30. package/dist/cjs/xpl-calendar.cjs.entry.js +4 -4
  31. package/dist/cjs/xpl-dynamic-table-cell.cjs.entry.js +5 -5
  32. package/dist/cjs/xpl-dynamic-table-row.cjs.entry.js +5 -5
  33. package/dist/cjs/xpl-dynamic-table.cjs.entry.js +4 -4
  34. package/dist/cjs/xpl-grid-item.cjs.entry.js +4 -4
  35. package/dist/cjs/xpl-grid.cjs.entry.js +4 -4
  36. package/dist/cjs/xpl-large-card.cjs.entry.js +4 -4
  37. package/dist/cjs/xpl-list.cjs.entry.js +4 -4
  38. package/dist/cjs/xpl-main-nav.cjs.entry.js +4 -4
  39. package/dist/cjs/xpl-table-header-cell.cjs.entry.js +3 -3
  40. package/dist/cjs/xpl-table-header.cjs.entry.js +4 -4
  41. package/dist/cjs/xpl-toggle.cjs.entry.js +6 -6
  42. package/dist/cjs/xpl-toolbar.cjs.entry.js +5 -5
  43. package/dist/collection/collection-manifest.json +10 -3
  44. package/dist/collection/components/xpl-accordion/accordion.stories.js +4 -0
  45. package/dist/collection/components/xpl-accordion/xpl-accordion.js +3 -3
  46. package/dist/collection/components/xpl-application-shell/application-shell.stories.js +4 -0
  47. package/dist/collection/components/xpl-application-shell/xpl-application-shell.js +2 -2
  48. package/dist/collection/components/xpl-avatar/avatar.stories.js +4 -0
  49. package/dist/collection/components/xpl-avatar/xpl-avatar.js +3 -3
  50. package/dist/collection/components/xpl-backdrop/backdrop.stories.js +4 -0
  51. package/dist/collection/components/xpl-backdrop/xpl-backdrop.js +2 -2
  52. package/dist/collection/components/xpl-badge/badge.stories.js +108 -33
  53. package/dist/collection/components/xpl-badge/xpl-badge.js +122 -14
  54. package/dist/collection/components/xpl-banner/banner.stories.js +64 -0
  55. package/dist/collection/components/xpl-banner/xpl-banner.js +295 -0
  56. package/dist/collection/components/xpl-breadcrumbs/breadcrumbs.stories.js +4 -0
  57. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.js +2 -2
  58. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.js +2 -2
  59. package/dist/collection/components/xpl-button/button.stories.js +102 -98
  60. package/dist/collection/components/xpl-button/xpl-button.js +183 -93
  61. package/dist/collection/components/xpl-button-row/xpl-button-row.js +2 -2
  62. package/dist/collection/components/xpl-calendar/calendar.stories.js +4 -0
  63. package/dist/collection/components/xpl-calendar/xpl-calendar.js +2 -2
  64. package/dist/collection/components/xpl-checkbox/checkbox.stories.js +4 -0
  65. package/dist/collection/components/xpl-checkbox/xpl-checkbox.js +4 -4
  66. package/dist/collection/components/xpl-choicelist/choicelist.stories.js +4 -0
  67. package/dist/collection/components/xpl-choicelist/xpl-choicelist.js +2 -2
  68. package/dist/collection/components/xpl-content-area/xpl-content-area.js +2 -2
  69. package/dist/collection/components/xpl-dashboard/xpl-dashboard.js +2 -2
  70. package/dist/collection/components/xpl-data-card/data-card.stories.js +4 -0
  71. package/dist/collection/components/xpl-data-card/xpl-data-card.js +12 -26
  72. package/dist/collection/components/xpl-divider/divider.stories.js +4 -0
  73. package/dist/collection/components/xpl-divider/xpl-divider.js +2 -2
  74. package/dist/collection/components/xpl-dropdown/dropdown.stories.js +4 -0
  75. package/dist/collection/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.js +2 -2
  76. package/dist/collection/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.js +2 -2
  77. package/dist/collection/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.js +29 -4
  78. package/dist/collection/components/xpl-dropdown/xpl-dropdown.js +120 -79
  79. package/dist/collection/components/xpl-dynamic-table/dynamic-table.stories.js +4 -0
  80. package/dist/collection/components/xpl-dynamic-table/xpl-dynamic-table.js +2 -2
  81. package/dist/collection/components/xpl-dynamic-table-cell/xpl-dynamic-table-cell.js +3 -3
  82. package/dist/collection/components/xpl-dynamic-table-row/xpl-dynamic-table-row.js +3 -3
  83. package/dist/collection/components/xpl-grid/xpl-grid.js +2 -2
  84. package/dist/collection/components/xpl-grid-item/xpl-grid-item.js +2 -2
  85. package/dist/collection/components/xpl-header-accordion/header-accordion.stories.js +4 -0
  86. package/dist/collection/components/xpl-header-accordion/xpl-header-accordion.js +2 -2
  87. package/dist/collection/components/xpl-icon/icon-types.js +1 -0
  88. package/dist/collection/components/xpl-icon/icons.stories.js +47 -12
  89. package/dist/collection/components/xpl-icon/xpl-icon.js +14 -16
  90. package/dist/collection/components/xpl-input/input.stories.js +79 -9
  91. package/dist/collection/components/xpl-input/xpl-input-color/xpl-input-color.js +9 -9
  92. package/dist/collection/components/xpl-input/xpl-input-date/xpl-input-date.js +55 -17
  93. package/dist/collection/components/xpl-input/xpl-input-file/xpl-input-file.js +5 -5
  94. package/dist/collection/components/xpl-input/xpl-input-phone/phone-country-data.js +58 -0
  95. package/dist/collection/components/xpl-input/xpl-input-phone/phone-format.js +219 -0
  96. package/dist/collection/components/xpl-input/xpl-input-phone/xpl-input-phone.js +469 -0
  97. package/dist/collection/components/xpl-input/xpl-input-time/xpl-input-time.js +3 -3
  98. package/dist/collection/components/xpl-input/xpl-input.js +101 -7
  99. package/dist/collection/components/xpl-large-card/large-card.stories.js +4 -0
  100. package/dist/collection/components/xpl-large-card/xpl-large-card.js +2 -2
  101. package/dist/collection/components/xpl-list/list.stories.js +4 -0
  102. package/dist/collection/components/xpl-list/xpl-list.js +2 -2
  103. package/dist/collection/components/xpl-main-nav/xpl-main-nav.js +2 -2
  104. package/dist/collection/components/xpl-modal/modal.stories.js +4 -0
  105. package/dist/collection/components/xpl-modal/xpl-modal.js +2 -2
  106. package/dist/collection/components/xpl-nav-item/xpl-nav-item.js +3 -3
  107. package/dist/collection/components/xpl-pagination/pagination.stories.js +4 -0
  108. package/dist/collection/components/xpl-pagination/xpl-pagination.js +4 -4
  109. package/dist/collection/components/xpl-panel/panel.stories.js +51 -0
  110. package/dist/collection/components/xpl-panel/xpl-panel.js +60 -0
  111. package/dist/collection/components/xpl-popover/popover.stories.js +4 -0
  112. package/dist/collection/components/xpl-popover/xpl-popover.js +5 -5
  113. package/dist/collection/components/xpl-progress/progress.stories.js +4 -0
  114. package/dist/collection/components/xpl-progress/xpl-progress.js +2 -2
  115. package/dist/collection/components/xpl-progress-bar/progress-bar.stories.js +96 -0
  116. package/dist/collection/components/xpl-progress-bar/xpl-progress-bar.js +158 -0
  117. package/dist/collection/components/xpl-radio/radio.stories.js +4 -0
  118. package/dist/collection/components/xpl-radio/xpl-radio.js +4 -4
  119. package/dist/collection/components/xpl-secondary-nav/xpl-secondary-nav.js +2 -2
  120. package/dist/collection/components/xpl-select/select.stories.js +4 -0
  121. package/dist/collection/components/xpl-select/xpl-select.js +11 -17
  122. package/dist/collection/components/xpl-side-nav/side-nav.stories.js +519 -0
  123. package/dist/collection/components/xpl-side-nav/xpl-side-nav-item/xpl-side-nav-item.js +259 -0
  124. package/dist/collection/components/xpl-side-nav/xpl-side-nav.js +32 -0
  125. package/dist/collection/components/xpl-skeleton/skeleton.stories.js +4 -0
  126. package/dist/collection/components/xpl-skeleton/xpl-skeleton.js +2 -2
  127. package/dist/collection/components/xpl-slideout/slideout.stories.js +6 -0
  128. package/dist/collection/components/xpl-slideout/xpl-slideout.js +2 -2
  129. package/dist/collection/components/xpl-tab/xpl-tab.js +3 -3
  130. package/dist/collection/components/xpl-tab-panel/xpl-tab-panel.js +3 -3
  131. package/dist/collection/components/xpl-table/table.stories.js +4 -0
  132. package/dist/collection/components/xpl-table/xpl-table.js +6 -6
  133. package/dist/collection/components/xpl-table-header/table-header.stories.js +4 -0
  134. package/dist/collection/components/xpl-table-header/xpl-table-header.js +2 -2
  135. package/dist/collection/components/xpl-table-header-cell/table-header-cell.stories.js +4 -0
  136. package/dist/collection/components/xpl-table-header-cell/xpl-table-header-cell.js +6 -16
  137. package/dist/collection/components/xpl-tabs/tabs.stories.js +4 -0
  138. package/dist/collection/components/xpl-tabs/xpl-tabs.js +6 -6
  139. package/dist/collection/components/xpl-tag/xpl-tag.js +3 -3
  140. package/dist/collection/components/xpl-toast/toast.stories.js +4 -0
  141. package/dist/collection/components/xpl-toast/xpl-toast.js +3 -3
  142. package/dist/collection/components/xpl-toggle/toggle.stories.js +4 -0
  143. package/dist/collection/components/xpl-toggle/xpl-toggle.js +4 -4
  144. package/dist/collection/components/xpl-toolbar/xpl-toolbar.js +3 -3
  145. package/dist/collection/components/xpl-tooltip/tooltip.stories.js +4 -0
  146. package/dist/collection/components/xpl-tooltip/xpl-tooltip.js +2 -2
  147. package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +2 -2
  148. package/dist/collection/utils/layout-ancestors.js +22 -0
  149. package/dist/components/index.js +1 -1
  150. package/dist/components/xpl-accordion.js +1 -1
  151. package/dist/components/xpl-application-shell.js +1 -1
  152. package/dist/components/xpl-avatar.js +1 -1
  153. package/dist/components/xpl-avatar2.js +1 -1
  154. package/dist/components/xpl-backdrop.js +1 -1
  155. package/dist/components/xpl-backdrop2.js +1 -1
  156. package/dist/components/xpl-badge.js +1 -1
  157. package/dist/components/xpl-badge2.js +1 -1
  158. package/dist/components/xpl-banner.d.ts +11 -0
  159. package/dist/components/xpl-banner.js +1 -0
  160. package/dist/components/xpl-breadcrumb-item.js +1 -1
  161. package/dist/components/xpl-breadcrumbs.js +1 -1
  162. package/dist/components/xpl-button-row.js +1 -1
  163. package/dist/components/xpl-button.js +1 -1
  164. package/dist/components/xpl-button2.js +1 -1
  165. package/dist/components/xpl-calendar.js +1 -1
  166. package/dist/components/xpl-checkbox.js +1 -1
  167. package/dist/components/xpl-checkbox2.js +1 -1
  168. package/dist/components/xpl-choicelist.js +1 -1
  169. package/dist/components/xpl-content-area.js +1 -1
  170. package/dist/components/xpl-dashboard.js +1 -1
  171. package/dist/components/xpl-data-card.js +1 -1
  172. package/dist/components/xpl-divider.js +1 -1
  173. package/dist/components/xpl-divider2.js +1 -1
  174. package/dist/components/xpl-dropdown-group.js +1 -1
  175. package/dist/components/xpl-dropdown-group2.js +1 -1
  176. package/dist/components/xpl-dropdown-heading.js +1 -1
  177. package/dist/components/xpl-dropdown-heading2.js +1 -1
  178. package/dist/components/xpl-dropdown-option.js +1 -1
  179. package/dist/components/xpl-dropdown-option2.js +1 -1
  180. package/dist/components/xpl-dropdown.js +1 -1
  181. package/dist/components/xpl-dropdown2.js +1 -1
  182. package/dist/components/xpl-dynamic-table-cell.js +1 -1
  183. package/dist/components/xpl-dynamic-table-row.js +1 -1
  184. package/dist/components/xpl-dynamic-table.js +1 -1
  185. package/dist/components/xpl-grid-item.js +1 -1
  186. package/dist/components/xpl-grid.js +1 -1
  187. package/dist/components/xpl-header-accordion.js +1 -1
  188. package/dist/components/xpl-icon.js +1 -1
  189. package/dist/components/xpl-icon2.js +1 -6
  190. package/dist/components/xpl-input-date.js +1 -1
  191. package/dist/components/xpl-input-date2.js +1 -1
  192. package/dist/components/xpl-input-file.js +1 -1
  193. package/dist/components/xpl-input-file2.js +1 -1
  194. package/dist/components/xpl-input-phone.d.ts +11 -0
  195. package/dist/components/xpl-input-phone.js +1 -0
  196. package/dist/components/xpl-input-time.js +1 -1
  197. package/dist/components/xpl-input.js +1 -1
  198. package/dist/components/xpl-input2.js +1 -1
  199. package/dist/components/xpl-large-card.js +1 -1
  200. package/dist/components/xpl-list.js +1 -1
  201. package/dist/components/xpl-main-nav.js +1 -1
  202. package/dist/components/xpl-modal.js +1 -1
  203. package/dist/components/xpl-nav-item.js +1 -1
  204. package/dist/components/xpl-pagination.js +1 -1
  205. package/dist/components/xpl-panel.d.ts +11 -0
  206. package/dist/components/xpl-panel.js +1 -0
  207. package/dist/components/xpl-popover.js +1 -1
  208. package/dist/components/xpl-popover2.js +1 -1
  209. package/dist/components/xpl-progress-bar.d.ts +11 -0
  210. package/dist/components/xpl-progress-bar.js +1 -0
  211. package/dist/components/xpl-progress.js +1 -1
  212. package/dist/components/xpl-radio.js +1 -1
  213. package/dist/components/xpl-radio2.js +1 -1
  214. package/dist/components/xpl-secondary-nav.js +1 -1
  215. package/dist/components/xpl-select.js +1 -1
  216. package/dist/components/xpl-select2.js +1 -1
  217. package/dist/components/xpl-side-nav-item.d.ts +11 -0
  218. package/dist/components/xpl-side-nav-item.js +1 -0
  219. package/dist/components/xpl-side-nav.d.ts +11 -0
  220. package/dist/components/xpl-side-nav.js +1 -0
  221. package/dist/components/xpl-skeleton.js +1 -1
  222. package/dist/components/xpl-slideout.js +1 -1
  223. package/dist/components/xpl-tab-panel.js +1 -1
  224. package/dist/components/xpl-tab.js +1 -1
  225. package/dist/components/xpl-table-header.js +1 -1
  226. package/dist/components/xpl-table.js +1 -1
  227. package/dist/components/xpl-tabs.js +1 -1
  228. package/dist/components/xpl-tag.js +1 -1
  229. package/dist/components/xpl-tag2.js +1 -1
  230. package/dist/components/xpl-toast.js +1 -1
  231. package/dist/components/xpl-toggle.js +1 -1
  232. package/dist/components/xpl-toolbar.js +1 -1
  233. package/dist/components/xpl-tooltip.js +1 -1
  234. package/dist/components/xpl-tooltip2.js +1 -1
  235. package/dist/components/xpl-utility-bar.js +1 -1
  236. package/dist/docs/xpl-accordion/readme.md +66 -0
  237. package/dist/docs/xpl-application-shell/readme.md +33 -0
  238. package/dist/docs/xpl-avatar/readme.md +40 -0
  239. package/dist/docs/xpl-backdrop/readme.md +34 -0
  240. package/dist/docs/xpl-badge/readme.md +122 -0
  241. package/dist/docs/xpl-banner/readme.md +166 -0
  242. package/dist/docs/xpl-breadcrumbs/xpl-breadcrumb-item/readme.md +19 -0
  243. package/dist/docs/xpl-breadcrumbs/xpl-breadcrumbs/readme.md +22 -0
  244. package/dist/docs/xpl-button/readme.md +181 -0
  245. package/dist/docs/xpl-button-row/readme.md +42 -0
  246. package/dist/docs/xpl-calendar/readme.md +49 -0
  247. package/dist/docs/xpl-checkbox/readme.md +49 -0
  248. package/dist/docs/xpl-choicelist/readme.md +44 -0
  249. package/dist/docs/xpl-content-area/readme.md +17 -0
  250. package/dist/docs/xpl-dashboard/readme.md +10 -0
  251. package/dist/docs/xpl-data-card/readme.md +54 -0
  252. package/dist/docs/xpl-divider/readme.md +30 -0
  253. package/dist/docs/xpl-dropdown/readme.md +83 -0
  254. package/dist/docs/xpl-dropdown/xpl-dropdown-group/readme.md +40 -0
  255. package/dist/docs/xpl-dropdown/xpl-dropdown-heading/readme.md +30 -0
  256. package/dist/docs/xpl-dropdown/xpl-dropdown-option/readme.md +42 -0
  257. package/dist/docs/xpl-dynamic-table/readme.md +19 -0
  258. package/dist/docs/xpl-dynamic-table-cell/readme.md +18 -0
  259. package/dist/docs/xpl-dynamic-table-row/readme.md +19 -0
  260. package/dist/docs/xpl-grid/readme.md +10 -0
  261. package/dist/docs/xpl-grid-item/readme.md +20 -0
  262. package/dist/docs/xpl-header-accordion/readme.md +39 -0
  263. package/dist/docs/xpl-icon/readme.md +92 -0
  264. package/dist/docs/xpl-input/readme.md +100 -0
  265. package/dist/docs/xpl-input/xpl-input-color/readme.md +65 -0
  266. package/dist/docs/xpl-input/xpl-input-date/readme.md +56 -0
  267. package/dist/docs/xpl-input/xpl-input-file/readme.md +79 -0
  268. package/dist/docs/xpl-input/xpl-input-phone/readme.md +167 -0
  269. package/dist/docs/xpl-input/xpl-input-time/readme.md +73 -0
  270. package/dist/docs/xpl-large-card/readme.md +40 -0
  271. package/dist/docs/xpl-list/readme.md +34 -0
  272. package/dist/docs/xpl-main-nav/readme.md +28 -0
  273. package/dist/docs/xpl-modal/readme.md +58 -0
  274. package/dist/docs/xpl-nav-item/readme.md +24 -0
  275. package/dist/docs/xpl-pagination/readme.md +55 -0
  276. package/dist/docs/xpl-panel/readme.md +83 -0
  277. package/dist/docs/xpl-popover/readme.md +48 -0
  278. package/dist/docs/xpl-progress/readme.md +22 -0
  279. package/dist/docs/xpl-progress-bar/readme.md +145 -0
  280. package/dist/docs/xpl-radio/readme.md +43 -0
  281. package/dist/docs/xpl-secondary-nav/readme.md +10 -0
  282. package/dist/docs/xpl-select/readme.md +89 -0
  283. package/dist/docs/xpl-side-nav/readme.md +71 -0
  284. package/dist/docs/xpl-side-nav/xpl-side-nav-item/readme.md +115 -0
  285. package/dist/docs/xpl-skeleton/readme.md +31 -0
  286. package/dist/docs/xpl-slideout/readme.md +47 -0
  287. package/dist/docs/xpl-tab/readme.md +25 -0
  288. package/dist/docs/xpl-tab-panel/readme.md +18 -0
  289. package/dist/docs/xpl-table/readme.md +46 -0
  290. package/dist/docs/xpl-table-header/readme.md +13 -0
  291. package/dist/docs/xpl-table-header-cell/readme.md +47 -0
  292. package/dist/docs/xpl-tabs/readme.md +55 -0
  293. package/dist/docs/xpl-tag/readme.md +30 -0
  294. package/dist/docs/xpl-toast/readme.md +97 -0
  295. package/dist/docs/xpl-toggle/readme.md +23 -0
  296. package/dist/docs/xpl-toolbar/readme.md +18 -0
  297. package/dist/docs/xpl-tooltip/readme.md +35 -0
  298. package/dist/docs/xpl-utility-bar/readme.md +55 -0
  299. package/dist/esm/apollo-core.js +4 -4
  300. package/dist/esm/{index-DhZas3eX.js → index-C_Z2nG0p.js} +137 -87
  301. package/dist/esm/loader.js +3 -3
  302. package/dist/esm/xpl-accordion.entry.js +5 -5
  303. package/dist/esm/xpl-application-shell.entry.js +4 -4
  304. package/dist/esm/xpl-avatar_47.entry.js +18570 -0
  305. package/dist/esm/xpl-button-row.entry.js +4 -4
  306. package/dist/esm/xpl-calendar.entry.js +4 -4
  307. package/dist/esm/xpl-dynamic-table-cell.entry.js +5 -5
  308. package/dist/esm/xpl-dynamic-table-row.entry.js +5 -5
  309. package/dist/esm/xpl-dynamic-table.entry.js +4 -4
  310. package/dist/esm/xpl-grid-item.entry.js +4 -4
  311. package/dist/esm/xpl-grid.entry.js +4 -4
  312. package/dist/esm/xpl-large-card.entry.js +4 -4
  313. package/dist/esm/xpl-list.entry.js +4 -4
  314. package/dist/esm/xpl-main-nav.entry.js +4 -4
  315. package/dist/esm/xpl-table-header-cell.entry.js +3 -3
  316. package/dist/esm/xpl-table-header.entry.js +4 -4
  317. package/dist/esm/xpl-toggle.entry.js +6 -6
  318. package/dist/esm/xpl-toolbar.entry.js +5 -5
  319. package/dist/types/components/xpl-accordion/xpl-accordion.d.ts +1 -1
  320. package/dist/types/components/xpl-application-shell/application-shell.stories.d.ts +4 -0
  321. package/dist/types/components/xpl-application-shell/xpl-application-shell.d.ts +1 -1
  322. package/dist/types/components/xpl-avatar/avatar.stories.d.ts +4 -0
  323. package/dist/types/components/xpl-avatar/xpl-avatar.d.ts +1 -1
  324. package/dist/types/components/xpl-backdrop/backdrop.stories.d.ts +4 -0
  325. package/dist/types/components/xpl-backdrop/xpl-backdrop.d.ts +1 -1
  326. package/dist/types/components/xpl-badge/badge.stories.d.ts +66 -11
  327. package/dist/types/components/xpl-badge/xpl-badge.d.ts +9 -2
  328. package/dist/types/components/xpl-banner/banner.stories.d.ts +77 -0
  329. package/dist/types/components/xpl-banner/xpl-banner.d.ts +20 -0
  330. package/dist/types/components/xpl-breadcrumbs/breadcrumbs.stories.d.ts +4 -0
  331. package/dist/types/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.d.ts +1 -1
  332. package/dist/types/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.d.ts +1 -1
  333. package/dist/types/components/xpl-button/button.stories.d.ts +68 -30
  334. package/dist/types/components/xpl-button/xpl-button.d.ts +14 -8
  335. package/dist/types/components/xpl-button-row/xpl-button-row.d.ts +1 -1
  336. package/dist/types/components/xpl-calendar/calendar.stories.d.ts +4 -0
  337. package/dist/types/components/xpl-calendar/xpl-calendar.d.ts +1 -1
  338. package/dist/types/components/xpl-checkbox/checkbox.stories.d.ts +4 -0
  339. package/dist/types/components/xpl-checkbox/xpl-checkbox.d.ts +1 -1
  340. package/dist/types/components/xpl-choicelist/choicelist.stories.d.ts +4 -0
  341. package/dist/types/components/xpl-choicelist/xpl-choicelist.d.ts +1 -1
  342. package/dist/types/components/xpl-content-area/xpl-content-area.d.ts +1 -1
  343. package/dist/types/components/xpl-dashboard/xpl-dashboard.d.ts +1 -1
  344. package/dist/types/components/xpl-data-card/data-card.stories.d.ts +4 -0
  345. package/dist/types/components/xpl-data-card/xpl-data-card.d.ts +3 -4
  346. package/dist/types/components/xpl-divider/divider.stories.d.ts +4 -0
  347. package/dist/types/components/xpl-divider/xpl-divider.d.ts +1 -1
  348. package/dist/types/components/xpl-dropdown/dropdown-option.d.ts +1 -0
  349. package/dist/types/components/xpl-dropdown/dropdown.stories.d.ts +1 -1
  350. package/dist/types/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.d.ts +1 -1
  351. package/dist/types/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.d.ts +1 -1
  352. package/dist/types/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.d.ts +3 -2
  353. package/dist/types/components/xpl-dropdown/xpl-dropdown.d.ts +11 -8
  354. package/dist/types/components/xpl-dynamic-table/dynamic-table.stories.d.ts +4 -0
  355. package/dist/types/components/xpl-dynamic-table/xpl-dynamic-table.d.ts +1 -1
  356. package/dist/types/components/xpl-dynamic-table-cell/xpl-dynamic-table-cell.d.ts +1 -1
  357. package/dist/types/components/xpl-dynamic-table-row/xpl-dynamic-table-row.d.ts +1 -1
  358. package/dist/types/components/xpl-grid/xpl-grid.d.ts +1 -1
  359. package/dist/types/components/xpl-grid-item/xpl-grid-item.d.ts +1 -1
  360. package/dist/types/components/xpl-header-accordion/header-accordion.stories.d.ts +4 -0
  361. package/dist/types/components/xpl-header-accordion/xpl-header-accordion.d.ts +1 -1
  362. package/dist/types/components/xpl-icon/icon-types.d.ts +2 -0
  363. package/dist/types/components/xpl-icon/xpl-icon.d.ts +2 -4
  364. package/dist/types/components/xpl-input/input.stories.d.ts +40 -7
  365. package/dist/types/components/xpl-input/xpl-input-color/xpl-input-color.d.ts +1 -1
  366. package/dist/types/components/xpl-input/xpl-input-date/xpl-input-date.d.ts +10 -3
  367. package/dist/types/components/xpl-input/xpl-input-file/xpl-input-file.d.ts +1 -1
  368. package/dist/types/components/xpl-input/xpl-input-phone/phone-country-data.d.ts +13 -0
  369. package/dist/types/components/xpl-input/xpl-input-phone/phone-format.d.ts +5 -0
  370. package/dist/types/components/xpl-input/xpl-input-phone/xpl-input-phone.d.ts +48 -0
  371. package/dist/types/components/xpl-input/xpl-input-time/xpl-input-time.d.ts +1 -1
  372. package/dist/types/components/xpl-input/xpl-input.d.ts +12 -2
  373. package/dist/types/components/xpl-large-card/large-card.stories.d.ts +4 -0
  374. package/dist/types/components/xpl-large-card/xpl-large-card.d.ts +1 -1
  375. package/dist/types/components/xpl-list/list.stories.d.ts +4 -0
  376. package/dist/types/components/xpl-list/xpl-list.d.ts +1 -1
  377. package/dist/types/components/xpl-main-nav/xpl-main-nav.d.ts +1 -1
  378. package/dist/types/components/xpl-modal/modal.stories.d.ts +4 -0
  379. package/dist/types/components/xpl-modal/xpl-modal.d.ts +1 -1
  380. package/dist/types/components/xpl-nav-item/xpl-nav-item.d.ts +1 -1
  381. package/dist/types/components/xpl-pagination/pagination.stories.d.ts +4 -0
  382. package/dist/types/components/xpl-pagination/xpl-pagination.d.ts +1 -1
  383. package/dist/types/components/xpl-panel/panel.stories.d.ts +20 -0
  384. package/dist/types/components/xpl-panel/xpl-panel.d.ts +5 -0
  385. package/dist/types/components/xpl-popover/xpl-popover.d.ts +1 -1
  386. package/dist/types/components/xpl-progress/progress.stories.d.ts +4 -0
  387. package/dist/types/components/xpl-progress/xpl-progress.d.ts +1 -1
  388. package/dist/types/components/xpl-progress-bar/progress-bar.stories.d.ts +73 -0
  389. package/dist/types/components/xpl-progress-bar/xpl-progress-bar.d.ts +15 -0
  390. package/dist/types/components/xpl-radio/radio.stories.d.ts +4 -0
  391. package/dist/types/components/xpl-radio/xpl-radio.d.ts +1 -1
  392. package/dist/types/components/xpl-secondary-nav/xpl-secondary-nav.d.ts +1 -1
  393. package/dist/types/components/xpl-select/select.stories.d.ts +4 -0
  394. package/dist/types/components/xpl-select/xpl-select.d.ts +2 -4
  395. package/dist/types/components/xpl-side-nav/side-nav.stories.d.ts +80 -0
  396. package/dist/types/components/xpl-side-nav/xpl-side-nav-item/xpl-side-nav-item.d.ts +20 -0
  397. package/dist/types/components/xpl-side-nav/xpl-side-nav.d.ts +4 -0
  398. package/dist/types/components/xpl-skeleton/xpl-skeleton.d.ts +1 -1
  399. package/dist/types/components/xpl-slideout/slideout.stories.d.ts +6 -0
  400. package/dist/types/components/xpl-slideout/xpl-slideout.d.ts +1 -1
  401. package/dist/types/components/xpl-tab/xpl-tab.d.ts +1 -1
  402. package/dist/types/components/xpl-tab-panel/xpl-tab-panel.d.ts +1 -1
  403. package/dist/types/components/xpl-table/table.stories.d.ts +4 -0
  404. package/dist/types/components/xpl-table/xpl-table.d.ts +1 -1
  405. package/dist/types/components/xpl-table-header/table-header.stories.d.ts +4 -0
  406. package/dist/types/components/xpl-table-header/xpl-table-header.d.ts +1 -1
  407. package/dist/types/components/xpl-table-header-cell/table-header-cell.stories.d.ts +4 -0
  408. package/dist/types/components/xpl-table-header-cell/xpl-table-header-cell.d.ts +2 -3
  409. package/dist/types/components/xpl-tabs/tabs.stories.d.ts +4 -0
  410. package/dist/types/components/xpl-tabs/xpl-tabs.d.ts +2 -2
  411. package/dist/types/components/xpl-tag/xpl-tag.d.ts +1 -1
  412. package/dist/types/components/xpl-toast/toast.stories.d.ts +4 -0
  413. package/dist/types/components/xpl-toast/xpl-toast.d.ts +1 -1
  414. package/dist/types/components/xpl-toggle/toggle.stories.d.ts +4 -0
  415. package/dist/types/components/xpl-toggle/xpl-toggle.d.ts +1 -1
  416. package/dist/types/components/xpl-toolbar/xpl-toolbar.d.ts +1 -1
  417. package/dist/types/components/xpl-tooltip/tooltip.stories.d.ts +4 -0
  418. package/dist/types/components/xpl-tooltip/xpl-tooltip.d.ts +1 -1
  419. package/dist/types/components/xpl-utility-bar/xpl-utility-bar.d.ts +1 -1
  420. package/dist/types/components.d.ts +1210 -173
  421. package/dist/types/stencil-public-runtime.d.ts +23 -2
  422. package/dist/types/utils/layout-ancestors.d.ts +2 -0
  423. package/package.json +45 -28
  424. package/dist/apollo-core/p-3b5f8989.entry.js +0 -1
  425. package/dist/apollo-core/p-576ce90f.entry.js +0 -1
  426. package/dist/apollo-core/p-5c0236db.entry.js +0 -6
  427. package/dist/apollo-core/p-5ec45742.entry.js +0 -1
  428. package/dist/apollo-core/p-7b7db57a.entry.js +0 -1
  429. package/dist/apollo-core/p-7f8e5cd0.entry.js +0 -1
  430. package/dist/apollo-core/p-812bb0e4.entry.js +0 -1
  431. package/dist/apollo-core/p-845eef0d.entry.js +0 -1
  432. package/dist/apollo-core/p-94209785.entry.js +0 -1
  433. package/dist/apollo-core/p-9853028c.entry.js +0 -1
  434. package/dist/apollo-core/p-9d65ece7.entry.js +0 -1
  435. package/dist/apollo-core/p-DhZas3eX.js +0 -2
  436. package/dist/apollo-core/p-be292555.entry.js +0 -1
  437. package/dist/cjs/xpl-avatar_41.cjs.entry.js +0 -5522
  438. package/dist/esm/xpl-avatar_41.entry.js +0 -5480
@@ -0,0 +1,166 @@
1
+ # xpl-banner
2
+
3
+ Banners display a system level or page level message at the top of the screen. The section-banner variant displays important messages inline within a section.
4
+
5
+ ## Accessibility
6
+
7
+ `xpl-banner` renders with `role="region"` and a computed `aria-label` that reflects the current `appearance`
8
+ (e.g. "Information banner", "Positive banner", "Warning banner", "Error banner"). This makes the banner a navigable ARIA
9
+ landmark so assistive-technology users can locate and identify it without reading the full message content.
10
+
11
+ - The leading icon wrapper carries `aria-hidden="true"` — the icon is decorative; the message text is the
12
+ accessible content.
13
+ - The dismiss `<xpl-icon>` inside the dismiss button also carries `aria-hidden="true"` to prevent the
14
+ icon's figcaption ("xmark icon") from being announced alongside the button's own `aria-label`.
15
+ - The dismiss button `aria-label` is "Dismiss banner" for default layout and "Dismiss section banner" for section layout.
16
+
17
+ ## Token Use
18
+
19
+ - `information`
20
+ - Background: `--xpl-background-messaging-information`
21
+ - Border: `--xpl-border-accent-information`
22
+ - Icon: `--xpl-icon-default`
23
+ - Main text: `--xpl-text-strong` (with `--xpl-text-default` fallback)
24
+ - Detail text: `--xpl-text-default`
25
+ - `warning`
26
+ - Background: `--xpl-background-messaging-warning`
27
+ - Border: `--xpl-border-accent-warning`
28
+ - Icon: `--xpl-icon-default`
29
+ - Main text: `--xpl-text-strong` (with `--xpl-text-default` fallback)
30
+ - Detail text: `--xpl-text-default`
31
+ - Dismiss focus ring: `--xpl-border-accent-warning`
32
+ - `positive`
33
+ - Background: `--xpl-background-messaging-positive`
34
+ - Border: `--xpl-border-positive`
35
+ - Icon: `--xpl-icon-default`
36
+ - Main text: `--xpl-text-strong` (with `--xpl-text-default` fallback)
37
+ - Detail text: `--xpl-text-default`
38
+ - `error`
39
+ - Background: `--xpl-background-messaging-negative-bold`
40
+ - Border: `--xpl-border-negative`
41
+ - Icon and text: `--xpl-text-inverse-on-dark`
42
+ - Dismiss focus ring: `--xpl-text-inverse-on-dark`
43
+ - Dismiss button follows the same icon token as the current appearance.
44
+ - `information` dismiss focus ring uses `--xpl-border-accent-information`.
45
+
46
+ Light and dark mode are handled by Apollo Foundation token definitions. `xpl-banner` does not use component-level `.dark` token overrides.
47
+
48
+ ## Icon Mapping
49
+
50
+ Each `appearance` value maps to a fixed `xpl-icon` name. When building the component in plain HTML, use the icon from this table:
51
+
52
+ | `appearance` | `xpl-icon` name |
53
+ | ------------- | ------------------ |
54
+ | `information` | `circle-info` |
55
+ | `warning` | `triangle-warning` |
56
+ | `positive` | `circle-check` |
57
+ | `error` | `octagon-warning` |
58
+
59
+ ## Actions
60
+
61
+ Use `actionText` and `secondaryActionText` to render up to two `xpl-button` actions in the banner.
62
+ Both action buttons always render at `size="xs"` to match compact banner spacing.
63
+
64
+ The `variant` and `state` attributes on the action buttons depend on both `appearance` and layout:
65
+
66
+ | Layout | `appearance` | `variant` | `state` |
67
+ | --------- | ------------- | ----------- | ----------- |
68
+ | bar | `information` | `subtle` | — |
69
+ | bar | `warning` | `subtle` | — |
70
+ | bar | `positive` | `subtle` | — |
71
+ | bar | `error` | `primary` | `warning` |
72
+ | section | `information` | `subtle` | — |
73
+ | section | `warning` | `subtle` | — |
74
+ | section | `positive` | `subtle` | `success` |
75
+ | section | `error` | `subtle` | `warning` |
76
+
77
+ ## Section Layout
78
+
79
+ Set `is-section` to render the section-banner layout:
80
+ - Header row with icon, heading, and optional dismiss
81
+ - Description below the header (2-line clamp by default)
82
+ - Actions below description
83
+
84
+ Set `has-icon="false"` to hide the leading icon in the section layout. This applies `xpl-banner--no-icon` on the host, which shifts heading, description, and actions to start in the first grid column instead of the second. In bar layout the icon always renders regardless of `hasIcon`.
85
+
86
+ ## HTML/CSS Usage
87
+
88
+ Both the bar and section variants share the same DOM structure. Switch between them using only a class on the host:
89
+
90
+ ```html
91
+ <!-- Bar variant -->
92
+ <div class="xpl-banner xpl-banner--information">
93
+ <div class="xpl-banner__icon" aria-hidden="true">
94
+ <xpl-icon icon="circle-info" size="24"></xpl-icon>
95
+ </div>
96
+ <div class="xpl-banner__body">
97
+ <p class="xpl-banner__heading">Heading</p>
98
+ <p class="xpl-banner__description">Description text</p>
99
+ </div>
100
+ <div class="xpl-banner__actions">
101
+ <xpl-button size="xs" variant="subtle">Action</xpl-button>
102
+ </div>
103
+ <button class="xpl-banner__dismiss" type="button" aria-label="Dismiss banner">
104
+ <xpl-icon icon="xmark" size="24" aria-hidden="true"></xpl-icon>
105
+ </button>
106
+ </div>
107
+
108
+ <!-- Section variant — add xpl-banner--section; same markup otherwise -->
109
+ <div class="xpl-banner xpl-banner--section xpl-banner--information">
110
+ ...
111
+ </div>
112
+
113
+ <!-- Section variant without icon -->
114
+ <div class="xpl-banner xpl-banner--section xpl-banner--no-icon xpl-banner--information">
115
+ <!-- omit .xpl-banner__icon -->
116
+ <div class="xpl-banner__body">...</div>
117
+ ...
118
+ </div>
119
+ ```
120
+
121
+ <!-- Auto Generated Below -->
122
+
123
+
124
+ ## Properties
125
+
126
+ | Property | Attribute | Description | Type | Default |
127
+ | --------------------- | ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- | --------------- |
128
+ | `actionText` | `action-text` | Primary action label. When provided, an action button is rendered. | `string` | `undefined` |
129
+ | `appearance` | `appearance` | Controls the visual appearance and semantic meaning of the banner. These values map to messaging background/border token sets in `banner.css`. Banner icons use `--xpl-icon-default`, except `error` which uses inverse icon/text tokens for contrast on dark backgrounds. | `"error" \| "information" \| "positive" \| "warning"` | `'information'` |
130
+ | `description` | `description` | Optional supporting message shown after the heading. Description text uses `--xpl-text-default`. | `string` | `undefined` |
131
+ | `hasIcon` | `has-icon` | Whether to render the leading icon in section layout. Ignored in bar layout — bar banners always show the icon. | `boolean` | `true` |
132
+ | `heading` | `heading` | Primary banner message shown with stronger title typography. | `string` | `undefined` |
133
+ | `isDismissible` | `is-dismissible` | Whether to show the trailing dismiss control. | `boolean` | `true` |
134
+ | `isSection` | `is-section` | Renders the section-style banner layout when true. | `boolean` | `false` |
135
+ | `secondaryActionText` | `secondary-action-text` | Secondary action label. When provided, a second action button is rendered. | `string` | `undefined` |
136
+ | `truncateDesc` | `truncate-desc` | When true, `description` is constrained to one line with ellipsis so banner height stays stable. | `boolean` | `false` |
137
+
138
+
139
+ ## Events
140
+
141
+ | Event | Description | Type |
142
+ | ----------------- | --------------------------------------------- | ------------------- |
143
+ | `action` | Emitted when the primary action is clicked. | `CustomEvent<void>` |
144
+ | `dismiss` | Emitted when the dismiss button is clicked. | `CustomEvent<void>` |
145
+ | `secondaryAction` | Emitted when the secondary action is clicked. | `CustomEvent<void>` |
146
+
147
+
148
+ ## Dependencies
149
+
150
+ ### Depends on
151
+
152
+ - [xpl-icon](../xpl-icon)
153
+ - [xpl-button](../xpl-button)
154
+
155
+ ### Graph
156
+ ```mermaid
157
+ graph TD;
158
+ xpl-banner --> xpl-icon
159
+ xpl-banner --> xpl-button
160
+ xpl-button --> xpl-icon
161
+ style xpl-banner fill:#f9f,stroke:#333,stroke-width:4px
162
+ ```
163
+
164
+ ----------------------------------------------
165
+
166
+ *Built with [StencilJS](https://stenciljs.com/)*
@@ -0,0 +1,19 @@
1
+ # xpl-breadcrumb-item
2
+
3
+ The `<xpl-breadcrumb-item>` component has a role of `listitem`. This component should only be used in combination with `<xpl-breadcrumbs>`.
4
+ This component yields an unnamed slot. Only links and buttons (styled as links) should be used within this component.
5
+
6
+
7
+ <!-- Auto Generated Below -->
8
+
9
+
10
+ ## Slots
11
+
12
+ | Slot | Description |
13
+ | ----------- | ----------------------------------------------------------------------- |
14
+ | `"unnamed"` | content rendered inside <li>, should be link or button (styled as link) |
15
+
16
+
17
+ ----------------------------------------------
18
+
19
+ *Built with [StencilJS](https://stenciljs.com/)*
@@ -0,0 +1,22 @@
1
+ # xpl-breadcrumbs
2
+
3
+ The `xpl-breadcrumbs` component is a navigation group. It yields an unnamed slot that is rendered inside a `<ol></ol>` element.
4
+
5
+ This component can be used as a wrapper to `<xpl-breadcrumb-item>` components.
6
+
7
+ The number of items is not restricted, although per Apollo's design guidelines, a maximum of three items should be used.
8
+ In small screens (xs), only the 2 deepest items will be visible, even if 3 items are provided.
9
+
10
+ <!-- Auto Generated Below -->
11
+
12
+
13
+ ## Slots
14
+
15
+ | Slot | Description |
16
+ | ----------- | ------------------------------------------------------------------------- |
17
+ | `"unnamed"` | content rendered <ol>, should be a group of <li> or <xpl-breadcrumb-item> |
18
+
19
+
20
+ ----------------------------------------------
21
+
22
+ *Built with [StencilJS](https://stenciljs.com/)*
@@ -0,0 +1,181 @@
1
+ # xpl-button
2
+
3
+ Buttons allow users to take an action with clear visual hierarchy (variant), semantic meaning (sentiment), and size.
4
+
5
+ ## Usage
6
+
7
+ > [!IMPORTANT]
8
+ > Older props such as `state` still work, but we recommend using the sentiment described below.
9
+
10
+
11
+ ### Basic button
12
+
13
+ Pass button text via the default slot (same as native `<button>`):
14
+
15
+ ```html
16
+ <xpl-button>Primary action</xpl-button>
17
+ ```
18
+
19
+ ### Variant and sentiment
20
+
21
+ Use `variant` for style (primary, secondary, tertiary) and `sentiment` for intent (default, positive, negative):
22
+
23
+ ```html
24
+ <xpl-button variant="secondary">Secondary</xpl-button>
25
+ <xpl-button variant="tertiary" sentiment="positive">Positive action</xpl-button>
26
+ <xpl-button sentiment="negative">Destructive</xpl-button>
27
+ ```
28
+
29
+ ### Size
30
+
31
+ Use **`size`** for button size: `default`, `sm` (small), or `xs` (extra small):
32
+
33
+ ```html
34
+ <xpl-button size="sm">Small</xpl-button>
35
+ <xpl-button size="xs">Extra small</xpl-button>
36
+ ```
37
+
38
+ ### Icon from Apollo icon library
39
+
40
+ Use `icon` with a name from the xpl-icon library; use `icon-position` to place the icon at start or end:
41
+
42
+ ```html
43
+ <xpl-button icon="download" icon-position="end">
44
+ Download
45
+ </xpl-button>
46
+ ```
47
+
48
+ ### Icon-only button
49
+
50
+ Use `icon-only` when the button shows only an icon (no label). Always set `icon` and use a descriptive `aria-label` on the host or inner button for accessibility:
51
+
52
+ ```html
53
+ <xpl-button icon-only icon="x" aria-label="Close"></xpl-button>
54
+ ```
55
+
56
+ ### Loading state
57
+
58
+ When `is-loading` is true, the button shows a spinner, hides the label and icon, stays the same size, and is non-interactive:
59
+
60
+ ```html
61
+ <xpl-button is-loading>Submitting</xpl-button>
62
+ ```
63
+
64
+ ### Form submission
65
+
66
+ The component renders a native `<button>`. Use `type` (`submit`, `reset`, or `button`), `name`, `value`, and `form` for form behaviour:
67
+
68
+ ```html
69
+ <form id="my-form">
70
+ <xpl-button type="submit" name="action" value="save">Save</xpl-button>
71
+ </form>
72
+ ```
73
+
74
+ ### Disabled
75
+
76
+ Use the `disabled` prop to disable the button (same as native `disabled`):
77
+
78
+ ```html
79
+ <xpl-button disabled>Disabled</xpl-button>
80
+ ```
81
+
82
+ ## DOM classes
83
+
84
+ The host element includes BEM-style classes, including:
85
+
86
+ - **Size:** `xpl-button--default` | `xpl-button--sm` | `xpl-button--xs`
87
+ - **Variant:** `xpl-button--primary` | `xpl-button--secondary` | `xpl-button--tertiary` (and `xpl-button--subtle` while that value is still supported)
88
+ - **Sentiment:** `xpl-button--neutral` | `xpl-button--positive` | `xpl-button--negative` when using `sentiment`
89
+ - **Deprecated `state`:** if set, legacy classes `xpl-button--neutral` | `xpl-button--warning` | `xpl-button--success` are applied instead of the sentiment-based classes above (see migration)
90
+
91
+ Prefer targeting **`sentiment`** + **`variant`** + **`size`** in new code; avoid relying on deprecated `state` class names for new selectors.
92
+
93
+ ## Migration Notes:
94
+
95
+ The class **`xpl-button--default`** on the host continues to mean **size** (`size="default"`), not sentiment.
96
+
97
+ ### Deprecated `state` prop
98
+
99
+ The **`state`** prop (`neutral` | `warning` | `success`) is deprecated. Use **`sentiment`** instead:
100
+
101
+ | Old `state` | New `sentiment` |
102
+ | ------------- | ----------------- |
103
+ | `neutral` | `neutral` (default) |
104
+ | `warning` | `negative` |
105
+ | `success` | `positive` |
106
+
107
+ **Backward compatibility:** if **`state`** is set, it controls the sentiment segment of the host class list (`xpl-button--neutral`, `xpl-button--warning`, `xpl-button--success`) so existing styles or tests that key off those class names can keep working. New work should use **`sentiment`** only (`neutral` | `negative` | `positive`).
108
+
109
+ ### Deprecated `variant="subtle"` → `tertiary`
110
+
111
+ **`variant="subtle"`** is deprecated and retained only for backward compatibility, applying the **`xpl-button--subtle`** class. Use **`variant="tertiary"`** instead, which applies **`xpl-button--tertiary`**.
112
+
113
+ ### Other API notes
114
+
115
+ - **`isLoading` / `is-loading`:** loading UI without forcing the disabled (gray) visual treatment.
116
+ - **`icon`**, **`icon-position`**, **`icon-only`:** use Apollo icon names; no inline SVGs required.
117
+ - **`data-*` and `aria-*` on the host:** mirrored onto the inner `<button>` after render for accessibility and testing tools.
118
+
119
+ ## Guidelines
120
+
121
+ - **Pass button content via the default slot:** `<xpl-button>Save</xpl-button>`. Slots support rich content (formatted text, inline icons, etc.).
122
+ - Use **`iconOnly`** for icon-only buttons and provide an **`aria-label`** (or ensure the inner button has an accessible name).
123
+ - Use **`icon`** for icon names from the xpl-icon library; use **`icon-position`** to place the icon at start or end of the slot content.
124
+
125
+ ## Accessibility
126
+
127
+ - The component renders a native `<button>`, so it is focusable and keyboard-activable by default.
128
+ - When **`is-loading`** is true, the inner button has `aria-busy="true"` and the loading spinner is marked **`aria-hidden="true"`** so the label remains the accessible name.
129
+ - For **icon-only** buttons, provide an accessible name via **`aria-label`** on the host (e.g. `<xpl-button icon-only icon="x" aria-label="Close">`) so screen readers announce the action.
130
+
131
+ <!-- Auto Generated Below -->
132
+
133
+
134
+ ## Properties
135
+
136
+ | Property | Attribute | Description | Type | Default |
137
+ | -------------- | --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- | ----------- |
138
+ | `disabled` | `disabled` | Whether button should be disabled | `boolean` | `false` |
139
+ | `form` | `form` | An optional form attribute for the button if type is submit | `string` | `undefined` |
140
+ | `fullWidth` | `full-width` | Whether the button should be of full width as per parent container. | `boolean` | `false` |
141
+ | `icon` | `icon` | Icon to render - icon name as string (from xpl-icon library). | `string` | `''` |
142
+ | `iconOnly` | `icon-only` | When true, the button renders in icon-only circular style. Use for icon-only buttons. | `boolean` | `false` |
143
+ | `iconPosition` | `icon-position` | Icon position relative to slot content. Ignored if no icon is provided. | `"end" \| "start"` | `'start'` |
144
+ | `isLoading` | `is-loading` | When true, shows a loading overlay with spinner over the button. Button is non-interactive. | `boolean` | `false` |
145
+ | `link` | `link` | whether button should yield a slot for a link tag | `boolean` | `undefined` |
146
+ | `name` | `name` | Name of the button, submitted with form data. Passed through to the native button element. | `string` | `undefined` |
147
+ | `sentiment` | `sentiment` | Sentiment of the button, which applies different color schemes to indicate purpose/intent. | `"negative" \| "neutral" \| "positive"` | `'neutral'` |
148
+ | `size` | `size` | Button size. Use 'default', 'xs' (extra small), or 'sm' (small). | `"default" \| "sm" \| "xs"` | `'default'` |
149
+ | `state` | `state` | <span style="color:red">**[DEPRECATED]**</span> : Use `sentiment` with values "neutral", "negative", "positive" instead of `state` .<br/><br/> | `"neutral" \| "success" \| "warning"` | `undefined` |
150
+ | `type` | `type` | HTML button type attribute. | `"button" \| "reset" \| "submit"` | `undefined` |
151
+ | `value` | `value` | Value of the button, submitted with form data. Passed through to the native button element. | `string` | `undefined` |
152
+ | `variant` | `variant` | Button variant/style. Use "primary", "secondary", "tertiary" for new usage. "subtle" is deprecated but still supported for backward compatibility. | `"primary" \| "secondary" \| "subtle" \| "tertiary"` | `'primary'` |
153
+
154
+
155
+ ## Dependencies
156
+
157
+ ### Used by
158
+
159
+ - [xpl-banner](../xpl-banner)
160
+ - [xpl-button-row](../xpl-button-row)
161
+ - [xpl-modal](../xpl-modal)
162
+ - [xpl-slideout](../xpl-slideout)
163
+
164
+ ### Depends on
165
+
166
+ - [xpl-icon](../xpl-icon)
167
+
168
+ ### Graph
169
+ ```mermaid
170
+ graph TD;
171
+ xpl-button --> xpl-icon
172
+ xpl-banner --> xpl-button
173
+ xpl-button-row --> xpl-button
174
+ xpl-modal --> xpl-button
175
+ xpl-slideout --> xpl-button
176
+ style xpl-button fill:#f9f,stroke:#333,stroke-width:4px
177
+ ```
178
+
179
+ ----------------------------------------------
180
+
181
+ *Built with [StencilJS](https://stenciljs.com/)*
@@ -0,0 +1,42 @@
1
+ # xpl-button-row
2
+
3
+
4
+
5
+ <!-- Auto Generated Below -->
6
+
7
+
8
+ ## Properties
9
+
10
+ | Property | Attribute | Description | Type | Default |
11
+ | ----------- | ----------- | ------------------------------------------------------------------------------------- | ---------- | ----------- |
12
+ | `primary` | `primary` | The text for the primary button. | `"string"` | `undefined` |
13
+ | `secondary` | `secondary` | The text for the secondary button. If left empty, will not render a secondary button. | `"string"` | `undefined` |
14
+ | `tertiary` | `tertiary` | The text for the tertiary button. If left empty, will not render a secondary button. | `"string"` | `undefined` |
15
+
16
+
17
+ ## Events
18
+
19
+ | Event | Description | Type |
20
+ | ---------------- | --------------------------------------------------------------------------------------------------- | ------------------ |
21
+ | `clickPrimary` | Fires on the primary button. If not set, the button can act as a standard submit button for a form. | `CustomEvent<any>` |
22
+ | `clickSecondary` | Adds an event listener to the secondary button. | `CustomEvent<any>` |
23
+ | `clickTertiary` | Adds an event listener to the tertiary button. | `CustomEvent<any>` |
24
+
25
+
26
+ ## Dependencies
27
+
28
+ ### Depends on
29
+
30
+ - [xpl-button](../xpl-button)
31
+
32
+ ### Graph
33
+ ```mermaid
34
+ graph TD;
35
+ xpl-button-row --> xpl-button
36
+ xpl-button --> xpl-icon
37
+ style xpl-button-row fill:#f9f,stroke:#333,stroke-width:4px
38
+ ```
39
+
40
+ ----------------------------------------------
41
+
42
+ *Built with [StencilJS](https://stenciljs.com/)*
@@ -0,0 +1,49 @@
1
+ # xpl-calendar
2
+
3
+ Calendars allow users to view and select dates. Use XPL-Calendar when date picking is needed on a page or in a in a container.
4
+ If a calendar is needed within a form, use [XPL-Datepicker](https://xplor-apollo.herokuapp.com/?path=/story/components-input--datepicker).
5
+
6
+ <!-- Auto Generated Below -->
7
+
8
+
9
+ ## Properties
10
+
11
+ | Property | Attribute | Description | Type | Default |
12
+ | ------------- | -------------- | ------------------------------------------------------------------------------------------------------------------------------- | --------------------- | ----------- |
13
+ | `dateFormat` | `date-format` | Format of the date displayed in the calendar. Default is 'Y-m-d'. | `string` | `'Y-m-d'` |
14
+ | `defaultDate` | `default-date` | Default date to be displayed when the calendar is first loaded. | `string` | `undefined` |
15
+ | `inputId` | `input-id` | Unique identifier for the calendar element. | `string` | `uuid()` |
16
+ | `max` | `max` | Maximum selectable date in the calendar. | `number \| string` | `undefined` |
17
+ | `min` | `min` | Minimum selectable date in the calendar. | `number \| string` | `undefined` |
18
+ | `mode` | `mode` | Mode of the calendar, either 'single' for single date selection or 'range' for selecting a range of dates. Default is 'single'. | `"range" \| "single"` | `'single'` |
19
+
20
+
21
+ ## Events
22
+
23
+ | Event | Description | Type |
24
+ | -------------- | ------------------------------------- | --------------------------------- |
25
+ | `dateSelected` | Event emitted when a date is selected | `CustomEvent<string \| string[]>` |
26
+
27
+
28
+ ## Methods
29
+
30
+ ### `setDate(date: string | string[]) => Promise<void>`
31
+
32
+ Method to update the calendar date from external input
33
+
34
+ #### Parameters
35
+
36
+ | Name | Type | Description |
37
+ | ------ | -------------------- | ----------- |
38
+ | `date` | `string \| string[]` | |
39
+
40
+ #### Returns
41
+
42
+ Type: `Promise<void>`
43
+
44
+
45
+
46
+
47
+ ----------------------------------------------
48
+
49
+ *Built with [StencilJS](https://stenciljs.com/)*
@@ -0,0 +1,49 @@
1
+ # xpl-checkbox
2
+
3
+ Checkboxes allow users to make selections or choices. Checkboxes can be multi-select, and also act as controls.
4
+
5
+ <!-- Auto Generated Below -->
6
+
7
+
8
+ ## Properties
9
+
10
+ | Property | Attribute | Description | Type | Default |
11
+ | --------------- | --------------- | ----------------------------------------------------------------------------------- | --------- | ----------- |
12
+ | `checked` | `checked` | Whether the input is checked | `boolean` | `undefined` |
13
+ | `dataId` | `data-id` | A custom data attribute for the checkbox | `string` | `undefined` |
14
+ | `description` | `description` | Description text for the field | `string` | `undefined` |
15
+ | `disabled` | `disabled` | Whether the input is disabled | `boolean` | `undefined` |
16
+ | `indeterminate` | `indeterminate` | A visual state for when the input has not been interacted with | `boolean` | `undefined` |
17
+ | `name` | `name` | The name attribute for the html input. (submitted in form as name/value pair) | `string` | `undefined` |
18
+ | `required` | `required` | Whether the input is required | `boolean` | `undefined` |
19
+ | `styled` | `styled` | Whether the input is contained in a box with a border and a background | `boolean` | `undefined` |
20
+ | `value` | `value` | The value attribute for the checkbox input. (submittted in form as name/value pair) | `string` | `undefined` |
21
+
22
+
23
+ ## Events
24
+
25
+ | Event | Description | Type |
26
+ | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------- |
27
+ | `checkboxChange` | Event that emits the current value of the checkbox input Returns the value of the checkbox input if a value is provided, otherwise returns the checked state | `CustomEvent<boolean \| string>` |
28
+
29
+
30
+ ## Dependencies
31
+
32
+ ### Used by
33
+
34
+ - [xpl-choicelist](../xpl-choicelist)
35
+ - [xpl-header-accordion](../xpl-header-accordion)
36
+ - [xpl-table-header-cell](../xpl-table-header-cell)
37
+
38
+ ### Graph
39
+ ```mermaid
40
+ graph TD;
41
+ xpl-choicelist --> xpl-checkbox
42
+ xpl-header-accordion --> xpl-checkbox
43
+ xpl-table-header-cell --> xpl-checkbox
44
+ style xpl-checkbox fill:#f9f,stroke:#333,stroke-width:4px
45
+ ```
46
+
47
+ ----------------------------------------------
48
+
49
+ *Built with [StencilJS](https://stenciljs.com/)*
@@ -0,0 +1,44 @@
1
+ # xpl-choicelist
2
+
3
+ A Choice List allows users to make single or multiple selections from a list of choices. This component is meant to consume the radio and checkbox components, either styled or unstyled, then allow for customizing an option list very quickly.
4
+ <!-- Auto Generated Below -->
5
+
6
+
7
+ ## Properties
8
+
9
+ | Property | Attribute | Description | Type | Default |
10
+ | ------------- | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | ----------- |
11
+ | `choices` | -- | An array of choices to be displayed in the list. Each choice should be an object with keys: - `checked` [boolean] - whether to pre-check or not - `children` [Choice[]] - an array of child choices (recursive) - `description` [string] - `label` [string] | `Choice[]` | `undefined` |
12
+ | `description` | `description` | Descriptive text to be displayed above the choice-list. | `string` | `undefined` |
13
+ | `heading` | `heading` | The title text to be displayed above the choice-list. | `string` | `undefined` |
14
+ | `multi` | `multi` | Whether the user can select more than one choice (true) or only a single choice (false). Corresponds to checkboxes vs. radio buttons. | `boolean` | `undefined` |
15
+ | `name` | `name` | The `name` to be associated with form data. | `string` | `uuid()` |
16
+ | `styled` | `styled` | If `true`, will include borders around the list and between individual choices. | `boolean` | `undefined` |
17
+
18
+
19
+ ## Events
20
+
21
+ | Event | Description | Type |
22
+ | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------- |
23
+ | `choicelistChange` | An event that is emitted when the selected value changes. The event detail will be an array of booleans, where each boolean corresponds to the checked state of the choices. | `CustomEvent<boolean[]>` |
24
+ | `choicelistValueChange` | An event that is emitted when the selected value changes. The event detail will be an array if the multi prop is true, otherwise it will be a single value. The value will be string if value is provided for choices, otherwise it will be a boolean. NOTE: This will only be emitted if choices have a value property. | `CustomEvent<(string \| boolean)[] \| boolean \| string>` |
25
+
26
+
27
+ ## Dependencies
28
+
29
+ ### Depends on
30
+
31
+ - [xpl-checkbox](../xpl-checkbox)
32
+ - [xpl-radio](../xpl-radio)
33
+
34
+ ### Graph
35
+ ```mermaid
36
+ graph TD;
37
+ xpl-choicelist --> xpl-checkbox
38
+ xpl-choicelist --> xpl-radio
39
+ style xpl-choicelist fill:#f9f,stroke:#333,stroke-width:4px
40
+ ```
41
+
42
+ ----------------------------------------------
43
+
44
+ *Built with [StencilJS](https://stenciljs.com/)*
@@ -0,0 +1,17 @@
1
+ # xpl-content-area
2
+
3
+ The `<xpl-content-area>` sets up the area for the main content of the page. This component renders a `<main>` element with an unnamed `<slot>`, and should not be combined with another `<main>` in the same page.
4
+
5
+ <!-- Auto Generated Below -->
6
+
7
+
8
+ ## Properties
9
+
10
+ | Property | Attribute | Description | Type | Default |
11
+ | -------- | --------- | ----------- | ------------------------------ | -------- |
12
+ | `size` | `size` | | `"full" \| "narrow" \| "wide"` | `'wide'` |
13
+
14
+
15
+ ----------------------------------------------
16
+
17
+ *Built with [StencilJS](https://stenciljs.com/)*
@@ -0,0 +1,10 @@
1
+ # xpl-dashboard
2
+
3
+ The XPL-Dashboard component is a code-only utility component for responsive layouts using the XPL-Data Card component.
4
+
5
+ <!-- Auto Generated Below -->
6
+
7
+
8
+ ----------------------------------------------
9
+
10
+ *Built with [StencilJS](https://stenciljs.com/)*