@xplortech/apollo-core 1.0.0-beta.8 → 2.4.2

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 (528) hide show
  1. package/.typings/apollo-components.html-data.json +4396 -0
  2. package/README.md +57 -25
  3. package/build/style.css +4374 -3359
  4. package/dist/apollo-core/apollo-core.css +50 -24
  5. package/dist/apollo-core/apollo-core.esm.js +1 -1
  6. package/dist/apollo-core/p-0ac33b3a.entry.js +1 -0
  7. package/dist/apollo-core/p-23ef2717.entry.js +6 -0
  8. package/dist/apollo-core/p-31461db7.entry.js +1 -0
  9. package/dist/apollo-core/p-3b5f8989.entry.js +1 -0
  10. package/dist/apollo-core/p-4fab8172.entry.js +1 -0
  11. package/dist/apollo-core/p-576ce90f.entry.js +1 -0
  12. package/dist/apollo-core/p-5ec45742.entry.js +1 -0
  13. package/dist/apollo-core/p-7b7db57a.entry.js +1 -0
  14. package/dist/apollo-core/p-7f8e5cd0.entry.js +1 -0
  15. package/dist/apollo-core/p-812bb0e4.entry.js +1 -0
  16. package/dist/apollo-core/p-845eef0d.entry.js +1 -0
  17. package/dist/apollo-core/p-8c1f73ea.entry.js +1 -0
  18. package/dist/apollo-core/p-94209785.entry.js +1 -0
  19. package/dist/apollo-core/p-9853028c.entry.js +1 -0
  20. package/dist/apollo-core/p-9d65ece7.entry.js +1 -0
  21. package/dist/apollo-core/p-CH4yJ6Qx.js +1 -0
  22. package/dist/apollo-core/p-Cqlsd6nf.js +1 -0
  23. package/dist/apollo-core/p-DQuL1Twl.js +1 -0
  24. package/dist/apollo-core/p-DhZas3eX.js +2 -0
  25. package/dist/apollo-core/p-b1f4604d.entry.js +1 -0
  26. package/dist/apollo-core/p-be292555.entry.js +1 -0
  27. package/dist/cjs/apollo-core.cjs.js +15 -13
  28. package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
  29. package/dist/{esm/xpl-input.entry.js → cjs/index-BvmWjxWc.js} +2 -94
  30. package/dist/cjs/index-D__N_vw2.js +2160 -0
  31. package/dist/cjs/loader.cjs.js +6 -15
  32. package/dist/cjs/{v4-14140ff3.js → v4-D4KzFnn8.js} +1 -11
  33. package/dist/cjs/xpl-accordion.cjs.entry.js +73 -0
  34. package/dist/cjs/xpl-application-shell.cjs.entry.js +41 -46
  35. package/dist/cjs/xpl-avatar_41.cjs.entry.js +5521 -0
  36. package/dist/cjs/xpl-button-row.cjs.entry.js +13 -18
  37. package/dist/cjs/xpl-calendar.cjs.entry.js +66 -0
  38. package/dist/cjs/xpl-dynamic-table-cell.cjs.entry.js +33 -0
  39. package/dist/cjs/xpl-dynamic-table-row.cjs.entry.js +37 -0
  40. package/dist/cjs/xpl-dynamic-table.cjs.entry.js +64 -0
  41. package/dist/cjs/xpl-grid-item.cjs.entry.js +16 -18
  42. package/dist/cjs/xpl-grid.cjs.entry.js +29 -28
  43. package/dist/cjs/xpl-large-card.cjs.entry.js +27 -0
  44. package/dist/cjs/xpl-list.cjs.entry.js +23 -30
  45. package/dist/cjs/xpl-main-nav.cjs.entry.js +18 -20
  46. package/dist/cjs/xpl-table-header-cell.cjs.entry.js +57 -0
  47. package/dist/cjs/xpl-table-header.cjs.entry.js +14 -0
  48. package/dist/cjs/xpl-toggle.cjs.entry.js +22 -30
  49. package/dist/cjs/xpl-toolbar.cjs.entry.js +28 -0
  50. package/dist/collection/collection-manifest.json +59 -32
  51. package/dist/collection/components/xpl-accordion/accordion.stories.js +76 -0
  52. package/dist/collection/components/xpl-accordion/xpl-accordion.js +236 -0
  53. package/dist/collection/components/xpl-application-shell/application-shell.stories.js +733 -0
  54. package/dist/collection/components/xpl-application-shell/xpl-application-shell.js +163 -158
  55. package/dist/collection/components/xpl-avatar/avatar.stories.js +128 -0
  56. package/dist/collection/components/xpl-avatar/xpl-avatar.js +171 -162
  57. package/dist/collection/components/xpl-backdrop/backdrop.stories.js +20 -0
  58. package/dist/collection/components/xpl-backdrop/xpl-backdrop.js +39 -37
  59. package/dist/collection/components/xpl-badge/badge.stories.js +48 -0
  60. package/dist/collection/components/xpl-badge/xpl-badge.js +52 -52
  61. package/dist/collection/components/xpl-breadcrumbs/breadcrumbs.stories.js +130 -0
  62. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.js +8 -12
  63. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.js +5 -8
  64. package/dist/collection/components/xpl-button/button.stories.js +133 -0
  65. package/dist/collection/components/xpl-button/xpl-button.js +272 -245
  66. package/dist/collection/components/xpl-button-row/button-row.stories.js +69 -0
  67. package/dist/collection/components/xpl-button-row/xpl-button-row.js +119 -116
  68. package/dist/collection/components/xpl-calendar/calendar.stories.js +59 -0
  69. package/dist/collection/components/xpl-calendar/xpl-calendar.js +224 -0
  70. package/dist/collection/components/xpl-checkbox/checkbox.stories.js +79 -0
  71. package/dist/collection/components/xpl-checkbox/xpl-checkbox.js +226 -193
  72. package/dist/collection/components/xpl-choicelist/choicelist.stories.js +134 -0
  73. package/dist/collection/components/xpl-choicelist/xpl-choicelist.js +220 -154
  74. package/dist/collection/components/xpl-content-area/content-area.stories.js +55 -0
  75. package/dist/collection/components/xpl-content-area/xpl-content-area.js +35 -33
  76. package/dist/collection/components/xpl-dashboard/dashboard.stories.js +48 -0
  77. package/dist/collection/components/xpl-dashboard/xpl-dashboard.js +7 -0
  78. package/dist/collection/components/xpl-data-card/data-card.stories.js +111 -0
  79. package/dist/collection/components/xpl-data-card/xpl-data-card.js +316 -0
  80. package/dist/collection/components/xpl-divider/divider.stories.js +32 -0
  81. package/dist/collection/components/xpl-divider/xpl-divider.js +30 -31
  82. package/dist/collection/components/xpl-dropdown/dropdown.stories.js +383 -0
  83. package/dist/collection/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.js +68 -66
  84. package/dist/collection/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.js +28 -29
  85. package/dist/collection/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.js +148 -114
  86. package/dist/collection/components/xpl-dropdown/xpl-dropdown.js +438 -256
  87. package/dist/collection/components/xpl-dynamic-table/dynamic-table.stories.js +161 -0
  88. package/dist/collection/components/xpl-dynamic-table/xpl-dynamic-table.js +97 -0
  89. package/dist/collection/components/xpl-dynamic-table-cell/xpl-dynamic-table-cell.js +52 -0
  90. package/dist/collection/components/xpl-dynamic-table-row/xpl-dynamic-table-row.js +81 -0
  91. package/dist/{stories → collection/components/xpl-grid}/grid.stories.js +44 -68
  92. package/dist/collection/components/xpl-grid/xpl-grid.js +27 -24
  93. package/dist/collection/components/xpl-grid-item/xpl-grid-item.js +100 -92
  94. package/dist/collection/components/xpl-header-accordion/header-accordion.stories.js +48 -0
  95. package/dist/collection/components/xpl-header-accordion/xpl-header-accordion.js +200 -0
  96. package/dist/collection/components/xpl-icon/icons.stories.js +107 -0
  97. package/dist/collection/components/xpl-icon/xpl-icon.css +5 -0
  98. package/dist/collection/components/xpl-icon/xpl-icon.js +101 -0
  99. package/dist/collection/components/xpl-input/input.stories.js +531 -0
  100. package/dist/collection/components/xpl-input/xpl-input-color/color-utils.js +167 -0
  101. package/dist/collection/components/xpl-input/xpl-input-color/xpl-input-color.js +387 -0
  102. package/dist/collection/components/xpl-input/xpl-input-date/xpl-input-date.js +377 -0
  103. package/dist/collection/components/xpl-input/xpl-input-file/xpl-input-file.js +276 -0
  104. package/dist/collection/components/xpl-input/xpl-input-time/time-utils.js +63 -0
  105. package/dist/collection/components/xpl-input/xpl-input-time/xpl-input-time.js +425 -0
  106. package/dist/collection/components/xpl-input/xpl-input.js +729 -460
  107. package/dist/collection/components/xpl-large-card/large-card.stories.js +127 -0
  108. package/dist/collection/components/xpl-large-card/xpl-large-card.js +81 -0
  109. package/dist/collection/components/xpl-list/list.stories.js +148 -0
  110. package/dist/collection/components/xpl-list/xpl-list.js +51 -53
  111. package/dist/collection/components/xpl-main-nav/main-nav.stories.js +307 -0
  112. package/dist/collection/components/xpl-main-nav/xpl-main-nav.js +65 -63
  113. package/dist/collection/components/xpl-modal/modal.stories.js +87 -0
  114. package/dist/collection/components/xpl-modal/xpl-modal.js +139 -0
  115. package/dist/collection/components/xpl-nav-item/xpl-nav-item.js +63 -61
  116. package/dist/collection/components/xpl-pagination/pagination.stories.js +35 -0
  117. package/dist/collection/components/xpl-pagination/xpl-pagination.js +217 -172
  118. package/dist/collection/components/xpl-popover/popover.stories.js +164 -0
  119. package/dist/collection/components/xpl-popover/xpl-popover.js +346 -0
  120. package/dist/collection/components/xpl-progress/progress.stories.js +102 -0
  121. package/dist/collection/components/xpl-progress/xpl-progress.js +60 -0
  122. package/dist/collection/components/xpl-radio/radio.stories.js +91 -0
  123. package/dist/collection/components/xpl-radio/xpl-radio.js +188 -175
  124. package/dist/collection/components/xpl-secondary-nav/secondary-nav.stories.js +78 -0
  125. package/dist/collection/components/xpl-secondary-nav/xpl-secondary-nav.js +5 -5
  126. package/dist/collection/components/xpl-select/select.stories.js +293 -0
  127. package/dist/collection/components/xpl-select/xpl-select.js +660 -308
  128. package/dist/collection/components/xpl-skeleton/skeleton.stories.js +67 -0
  129. package/dist/collection/components/xpl-skeleton/xpl-skeleton.js +175 -0
  130. package/dist/collection/components/xpl-slideout/slideout.stories.js +103 -0
  131. package/dist/collection/components/xpl-slideout/xpl-slideout.js +150 -0
  132. package/dist/collection/components/xpl-tab/xpl-tab.js +77 -0
  133. package/dist/collection/components/xpl-tab-panel/xpl-tab-panel.js +56 -0
  134. package/dist/collection/components/xpl-table/table.stories.js +143 -0
  135. package/dist/collection/components/xpl-table/xpl-table.js +379 -214
  136. package/dist/collection/components/xpl-table-header/table-header.stories.js +122 -0
  137. package/dist/collection/components/xpl-table-header/xpl-table-header.js +7 -0
  138. package/dist/collection/components/xpl-table-header-cell/table-header-cell.stories.js +71 -0
  139. package/dist/collection/components/xpl-table-header-cell/xpl-table-header-cell.js +198 -0
  140. package/dist/collection/components/xpl-tabs/tabs.stories.js +77 -0
  141. package/dist/collection/components/xpl-tabs/xpl-tabs.js +206 -0
  142. package/dist/collection/components/xpl-tag/xpl-tag.js +27 -27
  143. package/dist/collection/components/xpl-toast/toast.stories.js +82 -0
  144. package/dist/collection/components/xpl-toast/xpl-toast.js +162 -0
  145. package/dist/collection/components/xpl-toggle/toggle.stories.js +84 -0
  146. package/dist/collection/components/xpl-toggle/xpl-toggle.js +165 -157
  147. package/dist/collection/components/xpl-toolbar/xpl-toolbar.js +56 -0
  148. package/dist/collection/components/xpl-tooltip/tooltip-arrow.js +2 -0
  149. package/dist/collection/components/xpl-tooltip/tooltip.stories.js +85 -0
  150. package/dist/collection/components/xpl-tooltip/xpl-tooltip.js +75 -0
  151. package/dist/collection/components/xpl-utility-bar/utility-bar.stories.js +87 -0
  152. package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +89 -93
  153. package/dist/components/_commonjsHelpers.js +1 -0
  154. package/dist/components/index.d.ts +45 -0
  155. package/dist/components/index.js +1 -0
  156. package/dist/components/index2.js +1 -0
  157. package/dist/components/index3.js +1 -0
  158. package/dist/components/v4.js +1 -0
  159. package/dist/components/xpl-accordion.d.ts +11 -0
  160. package/dist/components/xpl-accordion.js +1 -0
  161. package/dist/components/xpl-application-shell.d.ts +11 -0
  162. package/dist/components/xpl-application-shell.js +1 -0
  163. package/dist/components/xpl-avatar.d.ts +11 -0
  164. package/dist/components/xpl-avatar.js +1 -0
  165. package/dist/components/xpl-avatar2.js +1 -0
  166. package/dist/components/xpl-backdrop.d.ts +11 -0
  167. package/dist/components/xpl-backdrop.js +1 -0
  168. package/dist/components/xpl-backdrop2.js +1 -0
  169. package/dist/components/xpl-badge.d.ts +11 -0
  170. package/dist/components/xpl-badge.js +1 -0
  171. package/dist/components/xpl-badge2.js +1 -0
  172. package/dist/components/xpl-breadcrumb-item.d.ts +11 -0
  173. package/dist/components/xpl-breadcrumb-item.js +1 -0
  174. package/dist/components/xpl-breadcrumbs.d.ts +11 -0
  175. package/dist/components/xpl-breadcrumbs.js +1 -0
  176. package/dist/components/xpl-button-row.d.ts +11 -0
  177. package/dist/components/xpl-button-row.js +1 -0
  178. package/dist/components/xpl-button.d.ts +11 -0
  179. package/dist/components/xpl-button.js +1 -0
  180. package/dist/components/xpl-button2.js +1 -0
  181. package/dist/components/xpl-calendar.d.ts +11 -0
  182. package/dist/components/xpl-calendar.js +1 -0
  183. package/dist/components/xpl-checkbox.d.ts +11 -0
  184. package/dist/components/xpl-checkbox.js +1 -0
  185. package/dist/components/xpl-checkbox2.js +1 -0
  186. package/dist/components/xpl-choicelist.d.ts +11 -0
  187. package/dist/components/xpl-choicelist.js +1 -0
  188. package/dist/components/xpl-content-area.d.ts +11 -0
  189. package/dist/components/xpl-content-area.js +1 -0
  190. package/dist/components/xpl-dashboard.d.ts +11 -0
  191. package/dist/components/xpl-dashboard.js +1 -0
  192. package/dist/components/xpl-data-card.d.ts +11 -0
  193. package/dist/components/xpl-data-card.js +1 -0
  194. package/dist/components/xpl-divider.d.ts +11 -0
  195. package/dist/components/xpl-divider.js +1 -0
  196. package/dist/components/xpl-divider2.js +1 -0
  197. package/dist/components/xpl-dropdown-group.d.ts +11 -0
  198. package/dist/components/xpl-dropdown-group.js +1 -0
  199. package/dist/components/xpl-dropdown-group2.js +1 -0
  200. package/dist/components/xpl-dropdown-heading.d.ts +11 -0
  201. package/dist/components/xpl-dropdown-heading.js +1 -0
  202. package/dist/components/xpl-dropdown-heading2.js +1 -0
  203. package/dist/components/xpl-dropdown-option.d.ts +11 -0
  204. package/dist/components/xpl-dropdown-option.js +1 -0
  205. package/dist/components/xpl-dropdown-option2.js +1 -0
  206. package/dist/components/xpl-dropdown.d.ts +11 -0
  207. package/dist/components/xpl-dropdown.js +1 -0
  208. package/dist/components/xpl-dropdown2.js +1 -0
  209. package/dist/components/xpl-dynamic-table-cell.d.ts +11 -0
  210. package/dist/components/xpl-dynamic-table-cell.js +1 -0
  211. package/dist/components/xpl-dynamic-table-row.d.ts +11 -0
  212. package/dist/components/xpl-dynamic-table-row.js +1 -0
  213. package/dist/components/xpl-dynamic-table.d.ts +11 -0
  214. package/dist/components/xpl-dynamic-table.js +1 -0
  215. package/dist/components/xpl-grid-item.d.ts +11 -0
  216. package/dist/components/xpl-grid-item.js +1 -0
  217. package/dist/components/xpl-grid.d.ts +11 -0
  218. package/dist/components/xpl-grid.js +1 -0
  219. package/dist/components/xpl-header-accordion.d.ts +11 -0
  220. package/dist/components/xpl-header-accordion.js +1 -0
  221. package/dist/components/xpl-icon.d.ts +11 -0
  222. package/dist/components/xpl-icon.js +1 -0
  223. package/dist/components/xpl-icon2.js +6 -0
  224. package/dist/components/xpl-input-color.d.ts +11 -0
  225. package/dist/components/xpl-input-color.js +1 -0
  226. package/dist/components/xpl-input-date.d.ts +11 -0
  227. package/dist/components/xpl-input-date.js +1 -0
  228. package/dist/components/xpl-input-date2.js +1 -0
  229. package/dist/components/xpl-input-file.d.ts +11 -0
  230. package/dist/components/xpl-input-file.js +1 -0
  231. package/dist/components/xpl-input-file2.js +1 -0
  232. package/dist/components/xpl-input-time.d.ts +11 -0
  233. package/dist/components/xpl-input-time.js +1 -0
  234. package/dist/components/xpl-input.d.ts +11 -0
  235. package/dist/components/xpl-input.js +1 -0
  236. package/dist/components/xpl-input2.js +1 -0
  237. package/dist/components/xpl-large-card.d.ts +11 -0
  238. package/dist/components/xpl-large-card.js +1 -0
  239. package/dist/components/xpl-list.d.ts +11 -0
  240. package/dist/components/xpl-list.js +1 -0
  241. package/dist/components/xpl-main-nav.d.ts +11 -0
  242. package/dist/components/xpl-main-nav.js +1 -0
  243. package/dist/components/xpl-modal.d.ts +11 -0
  244. package/dist/components/xpl-modal.js +1 -0
  245. package/dist/components/xpl-nav-item.d.ts +11 -0
  246. package/dist/components/xpl-nav-item.js +1 -0
  247. package/dist/components/xpl-pagination.d.ts +11 -0
  248. package/dist/components/xpl-pagination.js +1 -0
  249. package/dist/components/xpl-popover.d.ts +11 -0
  250. package/dist/components/xpl-popover.js +1 -0
  251. package/dist/components/xpl-popover2.js +1 -0
  252. package/dist/components/xpl-progress.d.ts +11 -0
  253. package/dist/components/xpl-progress.js +1 -0
  254. package/dist/components/xpl-radio.d.ts +11 -0
  255. package/dist/components/xpl-radio.js +1 -0
  256. package/dist/components/xpl-radio2.js +1 -0
  257. package/dist/components/xpl-secondary-nav.d.ts +11 -0
  258. package/dist/components/xpl-secondary-nav.js +1 -0
  259. package/dist/components/xpl-select.d.ts +11 -0
  260. package/dist/components/xpl-select.js +1 -0
  261. package/dist/components/xpl-select2.js +1 -0
  262. package/dist/components/xpl-skeleton.d.ts +11 -0
  263. package/dist/components/xpl-skeleton.js +1 -0
  264. package/dist/components/xpl-slideout.d.ts +11 -0
  265. package/dist/components/xpl-slideout.js +1 -0
  266. package/dist/components/xpl-tab-panel.d.ts +11 -0
  267. package/dist/components/xpl-tab-panel.js +1 -0
  268. package/dist/components/xpl-tab.d.ts +11 -0
  269. package/dist/components/xpl-tab.js +1 -0
  270. package/dist/components/xpl-table-header-cell.d.ts +11 -0
  271. package/dist/components/xpl-table-header-cell.js +1 -0
  272. package/dist/components/xpl-table-header.d.ts +11 -0
  273. package/dist/components/xpl-table-header.js +1 -0
  274. package/dist/components/xpl-table.d.ts +11 -0
  275. package/dist/components/xpl-table.js +1 -0
  276. package/dist/components/xpl-tabs.d.ts +11 -0
  277. package/dist/components/xpl-tabs.js +1 -0
  278. package/dist/components/xpl-tag.d.ts +11 -0
  279. package/dist/components/xpl-tag.js +1 -0
  280. package/dist/components/xpl-tag2.js +1 -0
  281. package/dist/components/xpl-toast.d.ts +11 -0
  282. package/dist/components/xpl-toast.js +1 -0
  283. package/dist/components/xpl-toggle.d.ts +11 -0
  284. package/dist/components/xpl-toggle.js +1 -0
  285. package/dist/components/xpl-toolbar.d.ts +11 -0
  286. package/dist/components/xpl-toolbar.js +1 -0
  287. package/dist/components/xpl-tooltip.d.ts +11 -0
  288. package/dist/components/xpl-tooltip.js +1 -0
  289. package/dist/components/xpl-tooltip2.js +1 -0
  290. package/dist/components/xpl-utility-bar.d.ts +11 -0
  291. package/dist/components/xpl-utility-bar.js +1 -0
  292. package/dist/css/typography.stories.js +144 -0
  293. package/dist/esm/apollo-core.js +15 -12
  294. package/dist/esm/app-globals-DQuL1Twl.js +3 -0
  295. package/dist/{cjs/xpl-input.cjs.entry.js → esm/index-CH4yJ6Qx.js} +1 -99
  296. package/dist/esm/index-DhZas3eX.js +2132 -0
  297. package/dist/esm/loader.js +7 -14
  298. package/dist/esm/{v4-929670b7.js → v4-Cqlsd6nf.js} +1 -11
  299. package/dist/esm/xpl-accordion.entry.js +71 -0
  300. package/dist/esm/xpl-application-shell.entry.js +41 -44
  301. package/dist/esm/xpl-avatar_41.entry.js +5479 -0
  302. package/dist/esm/xpl-button-row.entry.js +13 -16
  303. package/dist/esm/xpl-calendar.entry.js +64 -0
  304. package/dist/esm/xpl-dynamic-table-cell.entry.js +31 -0
  305. package/dist/esm/xpl-dynamic-table-row.entry.js +35 -0
  306. package/dist/esm/xpl-dynamic-table.entry.js +62 -0
  307. package/dist/esm/xpl-grid-item.entry.js +16 -16
  308. package/dist/esm/xpl-grid.entry.js +29 -26
  309. package/dist/esm/xpl-large-card.entry.js +25 -0
  310. package/dist/esm/xpl-list.entry.js +23 -28
  311. package/dist/esm/xpl-main-nav.entry.js +18 -18
  312. package/dist/esm/xpl-table-header-cell.entry.js +55 -0
  313. package/dist/esm/xpl-table-header.entry.js +12 -0
  314. package/dist/esm/xpl-toggle.entry.js +22 -28
  315. package/dist/esm/xpl-toolbar.entry.js +26 -0
  316. package/dist/types/components/xpl-accordion/accordion.stories.d.ts +37 -0
  317. package/dist/types/components/xpl-accordion/xpl-accordion.d.ts +16 -0
  318. package/dist/types/components/xpl-application-shell/application-shell.stories.d.ts +60 -0
  319. package/dist/types/components/xpl-application-shell/xpl-application-shell.d.ts +12 -27
  320. package/dist/types/components/xpl-avatar/avatar.stories.d.ts +75 -0
  321. package/dist/types/components/xpl-avatar/xpl-avatar.d.ts +9 -9
  322. package/dist/types/components/xpl-backdrop/backdrop.stories.d.ts +17 -0
  323. package/dist/types/components/xpl-backdrop/xpl-backdrop.d.ts +2 -6
  324. package/dist/types/components/xpl-badge/badge.stories.d.ts +44 -0
  325. package/dist/types/components/xpl-badge/xpl-badge.d.ts +3 -3
  326. package/dist/types/components/xpl-breadcrumbs/breadcrumbs.stories.d.ts +53 -0
  327. package/dist/types/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.d.ts +2 -5
  328. package/dist/types/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.d.ts +1 -4
  329. package/dist/types/components/xpl-button/button.stories.d.ts +92 -0
  330. package/dist/types/components/xpl-button/xpl-button.d.ts +14 -43
  331. package/dist/types/components/xpl-button-row/button-row.stories.d.ts +45 -0
  332. package/dist/types/components/xpl-button-row/xpl-button-row.d.ts +10 -32
  333. package/dist/types/components/xpl-calendar/calendar.stories.d.ts +58 -0
  334. package/dist/types/components/xpl-calendar/xpl-calendar.d.ts +18 -0
  335. package/dist/types/components/xpl-checkbox/checkbox.stories.d.ts +65 -0
  336. package/dist/types/components/xpl-checkbox/xpl-checkbox.d.ts +13 -13
  337. package/dist/types/components/xpl-choicelist/choice.d.ts +5 -4
  338. package/dist/types/components/xpl-choicelist/choicelist.stories.d.ts +40 -0
  339. package/dist/types/components/xpl-choicelist/xpl-choicelist.d.ts +16 -32
  340. package/dist/types/components/xpl-content-area/content-area.stories.d.ts +13 -0
  341. package/dist/types/components/xpl-content-area/xpl-content-area.d.ts +2 -5
  342. package/dist/types/components/xpl-dashboard/dashboard.stories.d.ts +31 -0
  343. package/dist/types/components/xpl-dashboard/xpl-dashboard.d.ts +3 -0
  344. package/dist/types/components/xpl-data-card/data-card.stories.d.ts +114 -0
  345. package/dist/types/components/xpl-data-card/xpl-data-card.d.ts +21 -0
  346. package/dist/types/components/xpl-divider/divider.stories.d.ts +37 -0
  347. package/dist/types/components/xpl-divider/xpl-divider.d.ts +2 -7
  348. package/dist/types/components/xpl-dropdown/dropdown-option.d.ts +12 -0
  349. package/dist/types/components/xpl-dropdown/dropdown.stories.d.ts +25 -0
  350. package/dist/types/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.d.ts +4 -6
  351. package/dist/types/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.d.ts +2 -3
  352. package/dist/types/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.d.ts +13 -14
  353. package/dist/types/components/xpl-dropdown/xpl-dropdown.d.ts +34 -35
  354. package/dist/types/components/xpl-dynamic-table/dynamic-table.stories.d.ts +41 -0
  355. package/dist/types/components/xpl-dynamic-table/xpl-dynamic-table.d.ts +14 -0
  356. package/dist/types/components/xpl-dynamic-table-cell/xpl-dynamic-table-cell.d.ts +9 -0
  357. package/dist/types/components/xpl-dynamic-table-row/xpl-dynamic-table-row.d.ts +11 -0
  358. package/dist/types/components/xpl-grid/grid.stories.d.ts +133 -0
  359. package/dist/types/components/xpl-grid/xpl-grid.d.ts +3 -3
  360. package/dist/types/components/xpl-grid-item/xpl-grid-item.d.ts +5 -5
  361. package/dist/types/components/xpl-header-accordion/header-accordion.stories.d.ts +44 -0
  362. package/dist/types/components/xpl-header-accordion/xpl-header-accordion.d.ts +20 -0
  363. package/dist/types/components/xpl-icon/icons.stories.d.ts +54 -0
  364. package/dist/types/components/xpl-icon/xpl-icon.d.ts +8 -0
  365. package/dist/types/components/xpl-input/input.stories.d.ts +206 -0
  366. package/dist/types/components/xpl-input/xpl-input-color/color-utils.d.ts +41 -0
  367. package/dist/types/components/xpl-input/xpl-input-color/xpl-input-color.d.ts +30 -0
  368. package/dist/types/components/xpl-input/xpl-input-date/xpl-input-date.d.ts +30 -0
  369. package/dist/types/components/xpl-input/xpl-input-file/xpl-input-file.d.ts +24 -0
  370. package/dist/types/components/xpl-input/xpl-input-time/time-utils.d.ts +5 -0
  371. package/dist/types/components/xpl-input/xpl-input-time/xpl-input-time.d.ts +39 -0
  372. package/dist/types/components/xpl-input/xpl-input.d.ts +45 -85
  373. package/dist/types/components/xpl-large-card/large-card.stories.d.ts +71 -0
  374. package/dist/types/components/xpl-large-card/xpl-large-card.d.ts +8 -0
  375. package/dist/types/components/xpl-list/list.stories.d.ts +63 -0
  376. package/dist/types/components/xpl-list/listitem.d.ts +14 -14
  377. package/dist/types/components/xpl-list/xpl-list.d.ts +2 -26
  378. package/dist/types/components/xpl-main-nav/main-nav.stories.d.ts +13 -0
  379. package/dist/types/components/xpl-main-nav/xpl-main-nav.d.ts +6 -13
  380. package/dist/types/components/xpl-modal/modal.stories.d.ts +99 -0
  381. package/dist/types/components/xpl-modal/xpl-modal.d.ts +15 -0
  382. package/dist/types/components/xpl-nav-item/xpl-nav-item.d.ts +4 -10
  383. package/dist/types/components/xpl-pagination/pagination.stories.d.ts +35 -0
  384. package/dist/types/components/xpl-pagination/xpl-pagination.d.ts +19 -22
  385. package/dist/types/components/xpl-popover/popover.stories.d.ts +12 -0
  386. package/dist/types/components/xpl-popover/xpl-popover.d.ts +24 -0
  387. package/dist/types/components/xpl-progress/progress.stories.d.ts +34 -0
  388. package/dist/types/components/xpl-progress/xpl-progress.d.ts +6 -0
  389. package/dist/types/components/xpl-radio/radio.stories.d.ts +79 -0
  390. package/dist/types/components/xpl-radio/xpl-radio.d.ts +11 -11
  391. package/dist/types/components/xpl-secondary-nav/secondary-nav.stories.d.ts +5 -0
  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 +164 -0
  394. package/dist/types/components/xpl-select/xpl-select.d.ts +59 -55
  395. package/dist/types/components/xpl-skeleton/skeleton.stories.d.ts +26 -0
  396. package/dist/types/components/xpl-skeleton/xpl-skeleton.d.ts +10 -0
  397. package/dist/types/components/xpl-slideout/slideout.stories.d.ts +114 -0
  398. package/dist/types/components/xpl-slideout/xpl-slideout.d.ts +14 -0
  399. package/dist/types/components/xpl-tab/xpl-tab.d.ts +8 -0
  400. package/dist/types/components/xpl-tab-panel/xpl-tab-panel.d.ts +5 -0
  401. package/dist/types/components/xpl-table/table.stories.d.ts +84 -0
  402. package/dist/types/components/xpl-table/xpl-table.d.ts +37 -23
  403. package/dist/types/components/xpl-table-header/table-header.stories.d.ts +103 -0
  404. package/dist/types/components/xpl-table-header/xpl-table-header.d.ts +3 -0
  405. package/dist/types/components/xpl-table-header-cell/table-header-cell.stories.d.ts +55 -0
  406. package/dist/types/components/xpl-table-header-cell/xpl-table-header-cell.d.ts +14 -0
  407. package/dist/types/components/xpl-tabs/tabs.stories.d.ts +40 -0
  408. package/dist/types/components/xpl-tabs/xpl-tabs.d.ts +28 -0
  409. package/dist/types/components/xpl-tag/xpl-tag.d.ts +2 -2
  410. package/dist/types/components/xpl-toast/toast.stories.d.ts +62 -0
  411. package/dist/types/components/xpl-toast/xpl-toast.d.ts +14 -0
  412. package/dist/types/components/xpl-toggle/toggle.stories.d.ts +67 -0
  413. package/dist/types/components/xpl-toggle/xpl-toggle.d.ts +9 -21
  414. package/dist/types/components/xpl-toolbar/xpl-toolbar.d.ts +7 -0
  415. package/dist/types/components/xpl-tooltip/tooltip-arrow.d.ts +2 -0
  416. package/dist/types/components/xpl-tooltip/tooltip.stories.d.ts +39 -0
  417. package/dist/types/components/xpl-tooltip/xpl-tooltip.d.ts +6 -0
  418. package/dist/types/components/xpl-utility-bar/utility-bar.stories.d.ts +20 -0
  419. package/dist/types/components/xpl-utility-bar/xpl-utility-bar.d.ts +7 -17
  420. package/dist/types/components.d.ts +3060 -498
  421. package/dist/types/home/runner/work/apollo/apollo/packages/apollo-core/.stencil/css/typography.stories.d.ts +90 -0
  422. package/dist/types/stencil-public-runtime.d.ts +236 -34
  423. package/loader/cdn.js +1 -3
  424. package/loader/index.cjs.js +1 -3
  425. package/loader/index.d.ts +5 -2
  426. package/loader/index.es2017.js +1 -3
  427. package/loader/index.js +1 -3
  428. package/package.json +110 -61
  429. package/CHANGELOG.md +0 -106
  430. package/dist/apollo-core/p-10f00380.entry.js +0 -1
  431. package/dist/apollo-core/p-26ec64fe.entry.js +0 -1
  432. package/dist/apollo-core/p-2f90296c.js +0 -10
  433. package/dist/apollo-core/p-31acfdb4.entry.js +0 -1
  434. package/dist/apollo-core/p-4184ac44.entry.js +0 -1
  435. package/dist/apollo-core/p-4fa14839.entry.js +0 -1
  436. package/dist/apollo-core/p-55b87345.js +0 -2
  437. package/dist/apollo-core/p-63a6c98a.entry.js +0 -1
  438. package/dist/apollo-core/p-68c33b77.entry.js +0 -1
  439. package/dist/apollo-core/p-78d07caf.entry.js +0 -1
  440. package/dist/apollo-core/p-796957d3.entry.js +0 -1
  441. package/dist/apollo-core/p-88160d68.entry.js +0 -1
  442. package/dist/apollo-core/p-9ec318bb.entry.js +0 -1
  443. package/dist/apollo-core/p-a2a34e44.entry.js +0 -1
  444. package/dist/apollo-core/p-ad90fe4d.js +0 -1
  445. package/dist/apollo-core/p-beea2502.entry.js +0 -1
  446. package/dist/apollo-core/p-d499e43f.entry.js +0 -1
  447. package/dist/apollo-core/p-d8a3d94c.entry.js +0 -1
  448. package/dist/apollo-core/p-e047b446.entry.js +0 -1
  449. package/dist/cjs/index-2ab4832e.js +0 -2003
  450. package/dist/cjs/regular-872f5226.js +0 -16043
  451. package/dist/cjs/xpl-avatar_12.cjs.entry.js +0 -362
  452. package/dist/cjs/xpl-backdrop.cjs.entry.js +0 -21
  453. package/dist/cjs/xpl-choicelist.cjs.entry.js +0 -50
  454. package/dist/cjs/xpl-divider.cjs.entry.js +0 -19
  455. package/dist/cjs/xpl-dropdown-group_3.cjs.entry.js +0 -113
  456. package/dist/cjs/xpl-dropdown_2.cjs.entry.js +0 -121
  457. package/dist/cjs/xpl-pagination.cjs.entry.js +0 -79
  458. package/dist/cjs/xpl-select.cjs.entry.js +0 -610
  459. package/dist/collection/components/xpl-select/selectchoice.js +0 -1
  460. package/dist/custom-elements/index.d.ts +0 -219
  461. package/dist/custom-elements/index.js +0 -20353
  462. package/dist/esm/index-392b5b96.js +0 -1973
  463. package/dist/esm/polyfills/core-js.js +0 -11
  464. package/dist/esm/polyfills/css-shim.js +0 -1
  465. package/dist/esm/polyfills/dom.js +0 -79
  466. package/dist/esm/polyfills/es5-html-element.js +0 -1
  467. package/dist/esm/polyfills/index.js +0 -34
  468. package/dist/esm/polyfills/system.js +0 -6
  469. package/dist/esm/regular-86225e9d.js +0 -16041
  470. package/dist/esm/xpl-avatar_12.entry.js +0 -347
  471. package/dist/esm/xpl-backdrop.entry.js +0 -17
  472. package/dist/esm/xpl-choicelist.entry.js +0 -46
  473. package/dist/esm/xpl-divider.entry.js +0 -15
  474. package/dist/esm/xpl-dropdown-group_3.entry.js +0 -107
  475. package/dist/esm/xpl-dropdown_2.entry.js +0 -116
  476. package/dist/esm/xpl-pagination.entry.js +0 -75
  477. package/dist/esm/xpl-select.entry.js +0 -606
  478. package/dist/stories/application-shell.stories.js +0 -776
  479. package/dist/stories/avatar.stories.js +0 -173
  480. package/dist/stories/backdrop.stories.js +0 -18
  481. package/dist/stories/badge.stories.js +0 -48
  482. package/dist/stories/breadcrumbs.stories.js +0 -117
  483. package/dist/stories/button-row.stories.js +0 -68
  484. package/dist/stories/button.stories.js +0 -122
  485. package/dist/stories/checkbox.stories.js +0 -78
  486. package/dist/stories/choicelist.stories.js +0 -112
  487. package/dist/stories/content-area.stories.js +0 -53
  488. package/dist/stories/divider.stories.js +0 -34
  489. package/dist/stories/dropdown.stories.js +0 -377
  490. package/dist/stories/input.stories.js +0 -268
  491. package/dist/stories/list.stories.js +0 -154
  492. package/dist/stories/main-nav.stories.js +0 -308
  493. package/dist/stories/pagination.stories.js +0 -84
  494. package/dist/stories/radio.stories.js +0 -68
  495. package/dist/stories/secondary-nav.stories.js +0 -76
  496. package/dist/stories/select.stories.js +0 -119
  497. package/dist/stories/table.stories.js +0 -107
  498. package/dist/stories/tabs.stories.js +0 -24
  499. package/dist/stories/toggle.stories.js +0 -84
  500. package/dist/stories/utility-bar.stories.js +0 -94
  501. package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/application-shell.stories.d.ts +0 -71
  502. package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/avatar.stories.d.ts +0 -91
  503. package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/backdrop.stories.d.ts +0 -16
  504. package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/badge.stories.d.ts +0 -48
  505. package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/breadcrumbs.stories.d.ts +0 -53
  506. package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/button-row.stories.d.ts +0 -49
  507. package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/button.stories.d.ts +0 -91
  508. package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/checkbox.stories.d.ts +0 -72
  509. package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/choicelist.stories.d.ts +0 -41
  510. package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/content-area.stories.d.ts +0 -29
  511. package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/divider.stories.d.ts +0 -40
  512. package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/dropdown.stories.d.ts +0 -135
  513. package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/grid.stories.d.ts +0 -150
  514. package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/input.stories.d.ts +0 -190
  515. package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/list.stories.d.ts +0 -71
  516. package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/main-nav.stories.d.ts +0 -30
  517. package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/pagination.stories.d.ts +0 -0
  518. package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/radio.stories.d.ts +0 -64
  519. package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/secondary-nav.stories.d.ts +0 -16
  520. package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/select.stories.d.ts +0 -74
  521. package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/table.stories.d.ts +0 -49
  522. package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/tabs.stories.d.ts +0 -0
  523. package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/toggle.stories.d.ts +0 -74
  524. package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/utility-bar.stories.d.ts +0 -20
  525. package/dist/types/components/xpl-dropdown/dropdownoption.d.ts +0 -10
  526. package/dist/types/components/xpl-select/selectchoice.d.ts +0 -4
  527. package/loader/package.json +0 -11
  528. /package/dist/collection/components/xpl-dropdown/{dropdownoption.js → dropdown-option.js} +0 -0
@@ -6,11 +6,54 @@
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  import { Choice } from "./components/xpl-choicelist/choice";
9
- import { DropdownItem, DropdownOptionGroup } from "./components/xpl-dropdown/dropdownoption";
10
- import { XplDropdownOption } from "./components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option";
9
+ import { IconName } from "./components/xpl-icon/xpl-icon";
10
+ import { DropdownItem, DropdownOptionGroup } from "./components/xpl-dropdown/dropdown-option";
11
+ import { IconName as IconName1 } from "./components/xpl-icon/xpl-icon";
11
12
  import { ListItem } from "./components/xpl-list/listitem";
12
- import { SelectChoice } from "./components/xpl-select/selectchoice";
13
+ import { PopoverPosition } from "./components/xpl-popover/xpl-popover";
14
+ import { IconName as IconName2 } from "./components/xpl-select/xpl-select";
15
+ export { Choice } from "./components/xpl-choicelist/choice";
16
+ export { IconName } from "./components/xpl-icon/xpl-icon";
17
+ export { DropdownItem, DropdownOptionGroup } from "./components/xpl-dropdown/dropdown-option";
18
+ export { IconName as IconName1 } from "./components/xpl-icon/xpl-icon";
19
+ export { ListItem } from "./components/xpl-list/listitem";
20
+ export { PopoverPosition } from "./components/xpl-popover/xpl-popover";
21
+ export { IconName as IconName2 } from "./components/xpl-select/xpl-select";
13
22
  export namespace Components {
23
+ interface XplAccordion {
24
+ /**
25
+ * set the border of the accordion none: there’s no border wrapping the header bottom:there’s a border below the header bordered: the header is wrapped by a white panel with a rounded border around it on every side
26
+ * @default 'none'
27
+ */
28
+ "borderType": '' | 'none' | 'bottom' | 'bordered';
29
+ /**
30
+ * An optional id of the content slot
31
+ */
32
+ "contentId"?: string;
33
+ /**
34
+ * if defined, a text field that displays under the header
35
+ */
36
+ "description": string;
37
+ /**
38
+ * Sets the text for the header of the accordion
39
+ */
40
+ "header": string;
41
+ /**
42
+ * Set if the content is shown false: the accordion is collapsed (default) true: the accordion is expanded
43
+ * @default false
44
+ */
45
+ "initialExpanded": boolean;
46
+ /**
47
+ * Updates the parent checkbox state and sets all child checkboxes to the same checked value.
48
+ * @param checked - Whether the parent checkbox is checked
49
+ */
50
+ "parentCheckboxChange": (checked: boolean) => Promise<null>;
51
+ /**
52
+ * Set the size of the header and icon size can be 1(default),2,3
53
+ * @default '3'
54
+ */
55
+ "size": '1' | '2' | '3';
56
+ }
14
57
  interface XplApplicationShell {
15
58
  /**
16
59
  * @property {boolean} - *
@@ -19,35 +62,70 @@ export namespace Components {
19
62
  "isNavOpenAtStartup": boolean;
20
63
  /**
21
64
  * @property {string} - The width of the main navigation bar, can be passed or updated when nav-width event is emitted.
65
+ * @default 'default'
22
66
  */
23
67
  "navWidth": string;
24
68
  /**
25
69
  * @property {boolean} - Whether or not the Grid should have space for a secondary (sub) navigation bar
70
+ * @default false
26
71
  */
27
72
  "withSubnav": boolean;
28
73
  /**
29
74
  * @property {boolean} - Whether or not the Grid should have space for a utility bar
75
+ * @default true
30
76
  */
31
77
  "withUtility": boolean;
32
78
  }
33
79
  interface XplAvatar {
80
+ /**
81
+ * Background color when there is no image src
82
+ */
34
83
  "color"?: 'green' | 'yellow' | 'pink' | 'primary' | 'secondary';
84
+ /**
85
+ * Sets a disabled state on the avatar when set to true
86
+ * @default false
87
+ */
35
88
  "disabled"?: boolean;
89
+ /**
90
+ * The URL if the avatar should be hyperlinked
91
+ */
36
92
  "href"?: string;
93
+ /**
94
+ * Alt text for the image if there is an image src
95
+ */
37
96
  "name"?: string;
97
+ /**
98
+ * Size of the avatar
99
+ */
38
100
  "size"?: 'md' | 'sm';
101
+ /**
102
+ * The image URL
103
+ */
39
104
  "src"?: string;
105
+ /**
106
+ * Color styles for the dot indicator to indicate varied states
107
+ */
40
108
  "status"?: 'active' | 'warning' | 'inactive';
109
+ /**
110
+ * Where to open the URL chosen for the `href` prop: `_self` (default), `_blank`, `_parent`, or `_top`
111
+ */
41
112
  "target"?: string;
42
113
  }
43
114
  interface XplBackdrop {
44
115
  /**
45
116
  * @property {boolean} - When true, backdrop will have relative position. This is useful when the backdrop doesn't cover the whole view area. If false, the position will be fixed and cover the whole view area.
117
+ * @default false
46
118
  */
47
119
  "relative": boolean;
48
120
  }
49
121
  interface XplBadge {
122
+ /**
123
+ * Whether badge shows a dot icon before the text
124
+ */
50
125
  "dot"?: boolean;
126
+ /**
127
+ * Color styles to indicate varied states
128
+ */
51
129
  "variant"?: 'success' | 'warning' | 'inactive' | 'error';
52
130
  }
53
131
  interface XplBreadcrumbItem {
@@ -59,6 +137,10 @@ export namespace Components {
59
137
  * whether button should be disabled
60
138
  */
61
139
  "disabled"?: boolean;
140
+ /**
141
+ * @property {string} - An optional form attribute for the button if type is submit
142
+ */
143
+ "form"?: string;
62
144
  /**
63
145
  * whether button should render with full width
64
146
  */
@@ -77,10 +159,12 @@ export namespace Components {
77
159
  "name"?: string;
78
160
  /**
79
161
  * @property {"default" | "sm" | "xs"} - button size
162
+ * @default 'default'
80
163
  */
81
164
  "size": 'default' | 'sm' | 'xs';
82
165
  /**
83
166
  * @property {"neutral" | "warning" | "success"} - button state (color) neutral=purple, success=green, warning=red
167
+ * @default 'neutral'
84
168
  */
85
169
  "state": 'neutral' | 'warning' | 'success';
86
170
  /**
@@ -93,6 +177,7 @@ export namespace Components {
93
177
  "value"?: string;
94
178
  /**
95
179
  * @property {"primary" | "secondary" | "subtle"} - button variant
180
+ * @default 'primary'
96
181
  */
97
182
  "variant": 'primary' | 'secondary' | 'subtle';
98
183
  }
@@ -110,14 +195,75 @@ export namespace Components {
110
195
  */
111
196
  "tertiary": 'string';
112
197
  }
198
+ interface XplCalendar {
199
+ /**
200
+ * Format of the date displayed in the calendar. Default is 'Y-m-d'.
201
+ * @default 'Y-m-d'
202
+ */
203
+ "dateFormat"?: string;
204
+ /**
205
+ * Default date to be displayed when the calendar is first loaded.
206
+ */
207
+ "defaultDate"?: string;
208
+ /**
209
+ * Unique identifier for the calendar element.
210
+ * @default uuid()
211
+ */
212
+ "inputId"?: string;
213
+ /**
214
+ * Maximum selectable date in the calendar.
215
+ */
216
+ "max"?: number | string;
217
+ /**
218
+ * Minimum selectable date in the calendar.
219
+ */
220
+ "min"?: number | string;
221
+ /**
222
+ * Mode of the calendar, either 'single' for single date selection or 'range' for selecting a range of dates. Default is 'single'.
223
+ * @default 'single'
224
+ */
225
+ "mode"?: 'single' | 'range';
226
+ /**
227
+ * Method to update the calendar date from external input
228
+ */
229
+ "setDate": (date: string | string[]) => Promise<void>;
230
+ }
113
231
  interface XplCheckbox {
232
+ /**
233
+ * Whether the input is checked
234
+ */
114
235
  "checked"?: boolean;
236
+ /**
237
+ * A custom data attribute for the checkbox
238
+ */
239
+ "dataId"?: string;
240
+ /**
241
+ * Description text for the field
242
+ */
115
243
  "description"?: string;
244
+ /**
245
+ * Whether the input is disabled
246
+ */
116
247
  "disabled"?: boolean;
248
+ /**
249
+ * A visual state for when the input has not been interacted with
250
+ */
117
251
  "indeterminate"?: boolean;
252
+ /**
253
+ * The name attribute for the html input. (submitted in form as name/value pair)
254
+ */
118
255
  "name"?: string;
256
+ /**
257
+ * Whether the input is required
258
+ */
119
259
  "required"?: boolean;
260
+ /**
261
+ * Whether the input is contained in a box with a border and a background
262
+ */
120
263
  "styled"?: boolean;
264
+ /**
265
+ * The value attribute for the checkbox input. (submittted in form as name/value pair)
266
+ */
121
267
  "value"?: string;
122
268
  }
123
269
  interface XplChoicelist {
@@ -126,11 +272,11 @@ export namespace Components {
126
272
  */
127
273
  "choices": Choice[];
128
274
  /**
129
- * Descriptive text to be displayed above the choicelist.
275
+ * Descriptive text to be displayed above the choice-list.
130
276
  */
131
277
  "description"?: string;
132
278
  /**
133
- * The title text to be displayed above the choicelist.
279
+ * The title text to be displayed above the choice-list.
134
280
  */
135
281
  "heading"?: string;
136
282
  /**
@@ -139,8 +285,9 @@ export namespace Components {
139
285
  "multi"?: boolean;
140
286
  /**
141
287
  * The `name` to be associated with form data.
288
+ * @default uuid()
142
289
  */
143
- "name"?: string;
290
+ "name": string;
144
291
  /**
145
292
  * If `true`, will include borders around the list and between individual choices.
146
293
  */
@@ -149,9 +296,69 @@ export namespace Components {
149
296
  interface XplContentArea {
150
297
  /**
151
298
  * @property {string} size - The content-area size.
299
+ * @default 'wide'
152
300
  */
153
301
  "size": 'wide' | 'narrow' | 'full';
154
302
  }
303
+ interface XplDashboard {
304
+ }
305
+ interface XplDataCard {
306
+ /**
307
+ * An optional field that typically describes or modifies the small stat
308
+ */
309
+ "detail"?: string;
310
+ /**
311
+ * An optional icon leading the header. Uses <xpl-icon /> components and should reinforce the understanding of the smallStat metric shown.
312
+ */
313
+ "icon"?: IconName;
314
+ /**
315
+ * Whether to display the icon or not.
316
+ * @default true
317
+ */
318
+ "leadingIcon"?: boolean;
319
+ /**
320
+ * Whether the card is a link
321
+ */
322
+ "link"?: boolean;
323
+ /**
324
+ * Name Term
325
+ */
326
+ "name": string;
327
+ /**
328
+ * Detail, stat, or value to be displayed in short format. Will be rendered when card is smaller than 441px.
329
+ */
330
+ "shortStat"?: string;
331
+ /**
332
+ * An Optional stat further enhancing the main metric of the card.
333
+ */
334
+ "smallStat"?: string;
335
+ /**
336
+ * An optional icon leading the small stat. Uses <xpl-icon> components and should reinforce the understanding of the smallStat metric shown.
337
+ */
338
+ "smallStatIcon"?: IconName;
339
+ /**
340
+ * set a variant that changes the color of the small stat based on the following rules: If trend is positive and greater than 0.5% color is green and up-right arrow is used If the trend is between -0.5% and 0.5% then its neutral the color is gray If the trend is negative less than -0.5% the color is red and down right arrow is used
341
+ */
342
+ "smallStatVariant"?: 'positive' | 'negative' | 'neutral';
343
+ /**
344
+ * Detail, stat, or value to be displayed. Will be rendered when card is larger than 441px. Will also appear in the tooltip when shortStat is shown.
345
+ */
346
+ "stat": string;
347
+ /**
348
+ * An optional field for tooltip text of small stat
349
+ * @default ''
350
+ */
351
+ "tooltipTextSmallStat"?: string;
352
+ /**
353
+ * An optional field for tooltip text of stat
354
+ * @default ''
355
+ */
356
+ "tooltipTextStat"?: string;
357
+ /**
358
+ * Color variant. Used to set the icon color and background.
359
+ */
360
+ "variant"?: 'primary' | 'secondary';
361
+ }
155
362
  interface XplDivider {
156
363
  /**
157
364
  * The tier should be an integer between 0 and 3. Tier 0 dividers do not display text, and 1-3 increase in size with each increasing tier.
@@ -159,20 +366,28 @@ export namespace Components {
159
366
  "tier"?: number;
160
367
  }
161
368
  interface XplDropdown {
369
+ /**
370
+ * whether to anchor the dropdown to the trigger element, requires triggerId to be set
371
+ * @default false
372
+ */
373
+ "anchorToTrigger": boolean;
162
374
  /**
163
375
  * options that are listed
376
+ * @default true
164
377
  */
165
378
  "closeOnSelect": boolean;
166
379
  /**
167
380
  * called on dropdown option click and keydown events to update isSelected states
168
381
  */
169
- "handleSelect": (e: Event, { component }: { component: XplDropdownOption; }) => Promise<void>;
382
+ "handleSelect": (e: any, { component }: { component: XplDropdownOption; }) => Promise<void>;
170
383
  /**
171
384
  * text to display as heading
385
+ * @default false
172
386
  */
173
387
  "isOpen": boolean;
174
388
  /**
175
389
  * constant representing number of options that can be selected
390
+ * @default 'single'
176
391
  */
177
392
  "mode": 'single' | 'multi';
178
393
  /**
@@ -180,9 +395,14 @@ export namespace Components {
180
395
  */
181
396
  "options"?: DropdownItem[];
182
397
  /**
183
- * whether selection should be made when focusing on interactable element
398
+ * whether selection should be made when focusing on interactive element
399
+ * @default false
184
400
  */
185
401
  "selectOnFocus": boolean;
402
+ /**
403
+ * The currently selected value(s) in the dropdown.
404
+ */
405
+ "selectedValues"?: string | string[];
186
406
  /**
187
407
  * the id for the element that triggers the open state
188
408
  */
@@ -190,10 +410,7 @@ export namespace Components {
190
410
  /**
191
411
  * call back function invoked when a selection is made
192
412
  */
193
- "update"?: (
194
- e: Event,
195
- { component }: { component: XplDropdown }
196
- ) => void;
413
+ "update"?: (e, { component }: { component: XplDropdown }) => void;
197
414
  }
198
415
  interface XplDropdownGroup {
199
416
  /**
@@ -224,194 +441,935 @@ export namespace Components {
224
441
  * text to display for option
225
442
  */
226
443
  "label": string;
444
+ /**
445
+ * optional subtitle text to display below label
446
+ */
447
+ "subtitle"?: string;
448
+ /**
449
+ * The selected options value to be submitted with the form, should this option be selected.
450
+ */
451
+ "value"?: string;
452
+ }
453
+ interface XplDynamicTable {
454
+ }
455
+ interface XplDynamicTableCell {
456
+ /**
457
+ * Whether the cell and its contents are disabled.
458
+ * @default false
459
+ */
460
+ "disabled": boolean;
461
+ }
462
+ interface XplDynamicTableRow {
463
+ /**
464
+ * Whether the row and its cells are disabled.
465
+ * @default false
466
+ */
467
+ "disabled": boolean;
468
+ /**
469
+ * Whether the row is selected.
470
+ * @default false
471
+ */
472
+ "selected": boolean;
227
473
  }
228
474
  interface XplGrid {
229
475
  }
230
476
  interface XplGridItem {
477
+ /**
478
+ * The number of columns the element should span out of a 6 column grid on a lg size screen
479
+ * @default 6
480
+ */
231
481
  "lg": number;
482
+ /**
483
+ * The number of columns the element should span out of a 6 column grid on a md size screen
484
+ * @default 6
485
+ */
232
486
  "md": number;
487
+ /**
488
+ * The number of columns the element should span out of a 6 column grid on a sm size screen
489
+ * @default 6
490
+ */
233
491
  "sm": number;
492
+ /**
493
+ * The number of columns the element should span out of a 6 column grid on a xs size screen
494
+ * @default 6
495
+ */
234
496
  "xs": number;
235
497
  }
498
+ interface XplHeaderAccordion {
499
+ /**
500
+ * The id of the content region controlled by the accordion.
501
+ */
502
+ "contentId": string;
503
+ /**
504
+ * Whether the accordion is disabled.
505
+ * @default false
506
+ */
507
+ "disabled": boolean;
508
+ /**
509
+ * Whether to display a parent checkbox in the accordion header.
510
+ * @default true
511
+ */
512
+ "hasCheckbox": boolean;
513
+ /**
514
+ * Whether the accordion is expanded initially.
515
+ * @default false
516
+ */
517
+ "initialExpanded": boolean;
518
+ /**
519
+ * The number of selected child items, or -1 to auto-calculate.
520
+ * @default -1
521
+ */
522
+ "selectedCount": number;
523
+ }
524
+ interface XplIcon {
525
+ /**
526
+ * Icon's background color.
527
+ */
528
+ "backgroundColor"?: string;
529
+ /**
530
+ * Name of icon
531
+ */
532
+ "icon": IconName1;
533
+ /**
534
+ * Size of icon
535
+ */
536
+ "size": number;
537
+ }
236
538
  interface XplInput {
237
539
  /**
238
- * Because `id` is a reserved HTMLElement attribute, we prefix it with an underscore here so that it doesn't get automatically applied to the outer container.
540
+ * Because `id` is a reserved HTMLElement attribute, we prefix it with an underscore here so that it doesn't get automatically applied to the outer container. Applies to all input types.
239
541
  */
240
542
  "_id"?: string;
543
+ /**
544
+ * The accepted file types for the file input. Corresponds to the `accept` attribute on the input element. Example: 'image/*' for all image types, '.pdf' for PDF files, etc. Applies to file inputs.
545
+ * @default ''
546
+ */
547
+ "accept"?: string;
548
+ /**
549
+ * For time inputs, whether to allow custom option in the input even if not available in the dropdown. Example: A step of 30 minutes will allow 15:03, 15:37, etc. Applies to time inputs.
550
+ * @default false
551
+ */
552
+ "allowCustomOption"?: boolean;
553
+ /**
554
+ * Hint for form autofill feature Applies to text, password, number.
555
+ */
241
556
  "autocomplete"?: string;
242
557
  /**
243
- * See https://flatpickr.js.org/formatting/
558
+ * The date format to use for the datepicker input. This is used by flatpickr to format the date. Default is 'Y-m-d' (e.g., 2023-10-01). See https://flatpickr.js.org/formatting/ for more details. Applies to date inputs.
559
+ * @default 'Y-m-d'
244
560
  */
245
561
  "dateFormat"?: string;
246
562
  /**
247
- * Optional text that appears below the input label.
563
+ * Optional text that appears below the input label. Applies to all input types.
248
564
  */
249
565
  "description"?: string;
566
+ /**
567
+ * Whether the field is disabled Applies to all input types.
568
+ */
250
569
  "disabled"?: boolean;
251
570
  /**
252
- * If an empty string (attribute present with no value), will display visually as an error. If a string is included, will display visually as an error and include the value as an error message.
571
+ * If an empty string (attribute present with no value), will display visually as an error. If a string is included, will display visually as an error and include the value as an error message. Applies to all input types.
253
572
  */
254
573
  "error"?: string;
574
+ /**
575
+ * Hides the "Accept" text that indicates the accepted file types This is useful for cases where you want to hide the "Accept" text. Applies to file inputs.
576
+ * @default false
577
+ */
578
+ "hideAcceptText"?: boolean;
579
+ /**
580
+ * Hide eye dropper Applies to color inputs.
581
+ */
582
+ "hideEyeDropper"?: boolean;
583
+ /**
584
+ * Hides the file names in the file upload component This is useful for cases where you want to hide the file names after selection. Applies to file inputs.
585
+ * @default false
586
+ */
587
+ "hideFileNames"?: boolean;
588
+ /**
589
+ * Hides the trigger element when a file is selected. This is useful for cases where you want to hide the trigger after a file is selected. Applies to file inputs.
590
+ * @default false
591
+ */
592
+ "hideTriggerOnSelect"?: boolean;
593
+ /**
594
+ * Label text for the field Applies to all input types.
595
+ */
255
596
  "label": string;
256
597
  /**
257
- * Only used when `type` = 'number' or 'date'
598
+ * Maximum value for the input. Applies to number, time, and date inputs. If the input is a time input, the value must be in 24 hour format, ex: 18:25 for 6:25 PM
258
599
  */
259
600
  "max"?: number | string;
260
601
  /**
261
- * For multiline inputs, a max. character count will display along with the current character count, and will automatically render as an error if the character count exceeds the max.
602
+ * For multiline inputs, a max. character count will display along with the current character count, and will automatically render as an error if the character count exceeds the max. This is only applicable if `multiline` is `true`.
262
603
  */
263
604
  "maxCharacterCount"?: number;
264
605
  /**
265
- * Only used when `type` = 'number' or 'date'
606
+ * The minimum value for the input. Applies to number, time, and date inputs. If the input is a time input, the value must be in 24 hour format, ex: 05:25 for 5:25 AM
266
607
  */
267
608
  "min"?: number | string;
268
609
  /**
269
- * For datepicker inputs, whether to allow only a single date or a range of dates. (Multiple non-consecutive dates planned to be supported in the future.)
610
+ * For datepicker inputs, whether to allow only a single date or a range of dates. (Multiple non-consecutive dates planned to be supported in the future.) Applies to date inputs.
611
+ * @default 'single'
270
612
  */
271
613
  "mode"?: 'single' | /* "multiple" | */ 'range';
272
614
  /**
273
- * Whether to render as a singleline text input or as a multiline textarea. (If `true`, `pre` and `post` values will be ignored, if present.)
615
+ * Whether to render as a singleline text input or as a multiline textarea. (If `true`, `pre` and `post` values will be ignored, if present.) Applies to text inputs.
616
+ * @default false
274
617
  */
275
618
  "multiline"?: boolean;
276
619
  /**
277
- * Most inputs are used in forms, and should have a `name` associated with the input for handling form data.
620
+ * Whether the user can select multiple files at once. Corresponds to the `multiple` attribute on the input element. Applies to file inputs.
621
+ * @default false
622
+ */
623
+ "multiple"?: boolean;
624
+ /**
625
+ * Most inputs are used in forms, and should have a `name` associated with the input for handling form data. Applies to all input types.
278
626
  */
279
627
  "name"?: string;
628
+ /**
629
+ * Placeholder text that appears when the field has no value Applies to text, password, number, and date inputs.
630
+ */
280
631
  "placeholder"?: string;
281
632
  /**
282
- * A string (recommended max 3 characters) that gets shown visually to the left of (before) the input.
633
+ * A string (recommended max 3 characters) that gets shown visually to the left of (before) the input. Applies to text, password, number, and date inputs. Note: This will be ignored if `multiline` is `true`.
283
634
  */
284
635
  "post"?: string;
285
636
  /**
286
- * A string (recommended max 8 characters) that gets shown visually to the right of (after) the input.
637
+ * A string (recommended max 8 characters) that gets shown visually to the right of (after) the input. Applies to text, password, number, and date inputs. Note: This will be ignored if `multiline` is `true`.
287
638
  */
288
639
  "pre"?: string;
640
+ /**
641
+ * Whether the input is editable Applies to text, password, number, and date inputs.
642
+ */
289
643
  "readonly"?: boolean;
290
- "required"?: boolean;
291
- "step"?: number;
292
- "type"?: 'date' | 'text' | 'number' | 'password';
293
644
  /**
294
- * Including a `value` will prepopulate the input with the given string.
645
+ * Whether the input is required Applies to all input types.
295
646
  */
296
- "value"?: string;
297
- }
298
- interface XplList {
647
+ "required"?: boolean;
299
648
  /**
300
- * `items` should be an array of objects with the following signature: { avatar?: string; // The URL of the avatar, or the placeholder initials (ex. "SPD"). avatars?: string[]; // The URLs of multiple avatars to be displayed in a group on the right. badges?: string[] | { // An array of strings or badge-like objects to be displayed as badges dot?: boolean; // in a group on the right. See <xpl-badge> for more details. text: string; variant?: string; }[]; href?: string; // A URL, if this list item is meant to link somewhere. title: string; // The text to be displayed for the list item. metadata?: string[] | { // An array of strings or strings with icons (reference the allowed icon: string; // Font Awesome icons) to be displayed as metadata below the title. text: string; }[]; subtext?: string; // Subtext to be displayed on the right. } - Note that you should *only use one of* `avatars`, `badges`, or `subtext`, to avoid cluttering the right-hand side of the list item.
649
+ * The granularity that the value in a `number` input must adhere to when incrementing or decrementing. The default stepping value for number inputs is 1 Applies to number and time inputs.
301
650
  */
302
- "items"?: ListItem[];
303
- }
304
- interface XplMainNav {
651
+ "step"?: number;
305
652
  /**
306
- * @property {string} width - The width of the Main Nav.
653
+ * The time format to display for the input. Applies to time inputs. If 12h is selected, the value will be displayed in 12 hour format, ex: 05:25 PM for 17:25 If 24h is selected, the value will be displayed in 24 hour format, ex: 17:25 for 17:25
654
+ * @default '24h'
307
655
  */
308
- "width": 'default' | 'md' | 'sm';
309
- }
310
- interface XplNavItem {
656
+ "timeFormat"?: '12h' | '24h';
311
657
  /**
312
- * @property {boolean} - Whether or not the item should control the main nav state on click
658
+ * The type of form control
659
+ * @default 'text'
313
660
  */
314
- "navControl"?: boolean;
315
- }
316
- interface XplPagination {
661
+ "type"?: 'date' | 'time' | 'text' | 'number' | 'password' | 'file' | 'color';
317
662
  /**
318
- * Calling `goto` with a page number (which should probably be taken from the `page` event) updates the pagination's state and re-renders it, showing the appropriate buttons given the current page.
319
- * @param n
663
+ * Including a `value` will pre-populate the input with the given string. Applies to text, password, number, and date inputs.
320
664
  */
321
- "goto": (n: number) => Promise<void>;
322
- "perPage": number;
323
- "total": number;
324
- "waitForCallback": boolean;
325
- }
326
- interface XplRadio {
327
- "checked"?: boolean;
328
- "description"?: string;
329
- "disabled"?: boolean;
330
- "name"?: string;
331
- "required"?: boolean;
332
- "styled"?: boolean;
333
665
  "value"?: string;
334
666
  }
335
- interface XplSecondaryNav {
336
- }
337
- interface XplSelect {
338
- /**
339
- * An array of choices for the user to choose from. Each choice should be of the form: { label: string; href?: string; value?: string; isGroupHeading?: boolean; }
340
- */
341
- "choices"?: SelectChoice[];
667
+ interface XplInputColor {
342
668
  /**
343
- * Optional text that appears below the input label.
669
+ * Indicates whether the color picker is disabled.
344
670
  */
345
- "description"?: string;
346
671
  "disabled"?: boolean;
347
672
  /**
348
- * If an empty string (attribute present with no value), will display visually as an error. If a string is included, will display visually as an error and include the value as an error message.
673
+ * Hide eye dropper
349
674
  */
350
- "error"?: string;
351
- "label"?: string;
675
+ "hideEyeDropper"?: boolean;
352
676
  /**
353
- * Whether to allow a single choice or multiple choices.
677
+ * Placeholder text for the color input. This is used when no color is selected.
678
+ * @default 'Select color'
354
679
  */
355
- "mode"?: 'single' | 'multi';
356
680
  "placeholder": string;
357
681
  /**
358
- * Only used in multi-choice selects. If `true`, badges representing selections that would overflow the container are replaced with "+x more" (where x is the number not shown). If `false`, the container's height will adjust to show all badges representing selections.
682
+ * Indicates whether the color picker is required.
359
683
  */
360
- "truncate"?: boolean;
361
- }
362
- interface XplTable {
363
- "columns"?: string[];
364
- "data"?: string[][];
365
- "freeze"?: boolean;
366
- "multiselect"?: boolean;
367
- "striped"?: boolean;
368
- }
369
- interface XplTag {
684
+ "required": boolean;
685
+ /**
686
+ * The color value of the picker.
687
+ */
688
+ "value": string;
370
689
  }
371
- interface XplToggle {
372
- "checked"?: boolean;
690
+ interface XplInputDate {
373
691
  /**
374
- * The toggle's description appears *above* the toggle.
692
+ * The date format to use for the datepicker input. This is used by flatpickr to format the date. Default is 'Y-m-d' (e.g., 2023-10-01). See https://flatpickr.js.org/formatting/ for more details.
693
+ * @default 'Y-m-d'
694
+ */
695
+ "dateFormat"?: string;
696
+ /**
697
+ * Whether the field is disabled
375
698
  */
376
- "description"?: string;
377
699
  "disabled"?: boolean;
378
700
  /**
379
- * The toggle's heading appears *above* the toggle.
701
+ * The `inputId` is used to associate the input with a label.
380
702
  */
381
- "heading"?: string;
703
+ "inputId"?: string;
382
704
  /**
383
- * The toggle's label appears *to the right of* the toggle.
705
+ * Maximum value for the input.
384
706
  */
385
- "label"?: string;
386
- "name"?: string;
707
+ "max"?: number | string;
387
708
  /**
388
- * The size of the toggle -- `default` or `small`
709
+ * The minimum value for the input.
389
710
  */
390
- "variant"?: 'default' | 'small';
391
- }
392
- interface XplUtilityBar {
711
+ "min"?: number | string;
393
712
  /**
394
- * @property {boolean} - Optional property that defines whether or not the main nav is open at startup.
713
+ * For datepicker inputs, whether to allow only a single date or a range of dates. (Multiple non-consecutive dates planned to be supported in the future.)
714
+ * @default 'single'
395
715
  */
396
- "isNavOpenAtStartup"?: boolean;
716
+ "mode"?: 'single' | /* "multiple" | */ 'range';
397
717
  /**
398
- * @property {boolean} - whether or not to show the bars to control the state of the navigation bar (open/close)
718
+ * Most inputs are used in forms, and should have a `name` associated with the input for handling form data. Applies to all input types.
399
719
  */
400
- "navControl"?: boolean;
401
- }
402
- }
403
- export interface XplButtonRowCustomEvent<T> extends CustomEvent<T> {
720
+ "name"?: string;
721
+ /**
722
+ * Placeholder text that appears when the field has no value Applies to text, password, number, and date inputs.
723
+ */
724
+ "placeholder"?: string;
725
+ /**
726
+ * A string (recommended max 3 characters) that gets shown visually to the left of (before) the input.
727
+ */
728
+ "post"?: string;
729
+ /**
730
+ * A string (recommended max 8 characters) that gets shown visually to the right of (after) the input.
731
+ */
732
+ "pre"?: string;
733
+ /**
734
+ * Whether the input is editable
735
+ */
736
+ "readonly"?: boolean;
737
+ /**
738
+ * Whether the input is required
739
+ */
740
+ "required"?: boolean;
741
+ /**
742
+ * Including a `value` will pre-populate the input with the given string.
743
+ */
744
+ "value"?: string;
745
+ }
746
+ /**
747
+ * `xpl-input-file` is a component that allows users to upload files.
748
+ */
749
+ interface XplInputFile {
750
+ /**
751
+ * Because `id` is a reserved HTMLElement attribute, we prefix it with an underscore here so that it doesn't get automatically applied to the outer container.
752
+ */
753
+ "_id"?: string;
754
+ /**
755
+ * The accepted file types for the file input. Corresponds to the `accept` attribute on the input element. Example: 'image/*' for all image types, '.pdf' for PDF files, etc.
756
+ * @default ''
757
+ */
758
+ "accept"?: string;
759
+ /**
760
+ * Whether the field is disabled
761
+ */
762
+ "disabled"?: boolean;
763
+ /**
764
+ * Hides the "Accept" text that indicates the accepted file types
765
+ * @default false
766
+ */
767
+ "hideAcceptText"?: boolean;
768
+ /**
769
+ * Hides the file names in the file upload component
770
+ * @default false
771
+ */
772
+ "hideFileNames"?: boolean;
773
+ /**
774
+ * Hides the trigger element when a file is selected.
775
+ * @default false
776
+ */
777
+ "hideTriggerOnSelect"?: boolean;
778
+ /**
779
+ * Whether the user can select multiple files at once. Corresponds to the `multiple` attribute on the input element.
780
+ * @default false
781
+ */
782
+ "multiple"?: boolean;
783
+ /**
784
+ * Most inputs are used in forms, and should have a `name` associated with the input for handling form data.
785
+ */
786
+ "name"?: string;
787
+ /**
788
+ * Removes a file from the selected files by its index.
789
+ * @param fileIndex The index of the file to remove.
790
+ */
791
+ "removeFileByIndex": (fileIndex: number) => Promise<void>;
792
+ }
793
+ interface XplInputTime {
794
+ /**
795
+ * For time inputs, whether to allow custom option in the input even if not available in the dropdown. Example: A step of 30 minutes will allow 15:03, 15:37, etc. Applies to time inputs.
796
+ * @default false
797
+ */
798
+ "allowCustomOption"?: boolean;
799
+ /**
800
+ * Whether the field is disabled
801
+ */
802
+ "disabled"?: boolean;
803
+ /**
804
+ * The `inputId` is used to associate the input with a label.
805
+ */
806
+ "inputId"?: string;
807
+ /**
808
+ * Maximum value for the input.
809
+ * @default '23:59'
810
+ */
811
+ "max"?: number | string;
812
+ /**
813
+ * The minimum value for the input.
814
+ * @default '00:00'
815
+ */
816
+ "min"?: number | string;
817
+ /**
818
+ * Whether the input is a single time or a range of times. Currently, only single time is supported.
819
+ * @default 'single'
820
+ */
821
+ "mode"?: 'single' | 'range';
822
+ /**
823
+ * Most inputs are used in forms, and should have a `name` associated with the input for handling form data. Applies to all input types.
824
+ */
825
+ "name"?: string;
826
+ /**
827
+ * Placeholder text that appears when the field has no value Applies to text, password, number, and date inputs.
828
+ */
829
+ "placeholder"?: string;
830
+ /**
831
+ * Whether the input is editable
832
+ */
833
+ "readonly"?: boolean;
834
+ /**
835
+ * Whether the input is required
836
+ */
837
+ "required"?: boolean;
838
+ /**
839
+ * Time increment for dropdown options
840
+ * @default 30
841
+ */
842
+ "step": number;
843
+ /**
844
+ * The time format to display for the input.
845
+ * @default '24h'
846
+ */
847
+ "timeFormat"?: '12h' | '24h';
848
+ /**
849
+ * Including a `value` will pre-populate the input with the given string. Must be in 24 hour format, ex: 15:25 for 3:25 PM
850
+ */
851
+ "value"?: string;
852
+ }
853
+ interface XplLargeCard {
854
+ /**
855
+ * Description of the Card
856
+ */
857
+ "description"?: string;
858
+ /**
859
+ * Whether the card is a link or not
860
+ */
861
+ "link"?: boolean;
862
+ /**
863
+ * Name of the Card
864
+ */
865
+ "name": string;
866
+ }
867
+ interface XplList {
868
+ /**
869
+ * `items` should be an array of objects with the following signature: { avatar?: string; // The URL of the avatar, or the placeholder initials (ex. "SPD"). avatars?: string[]; // The URLs of multiple avatars to be displayed in a group on the right. badges?: string[] | { // An array of strings or badge-like objects to be displayed as badges dot?: boolean; // in a group on the right. See <xpl-badge> for more details. text: string; variant?: string; }[]; href?: string; // A URL, if this list item is meant to link somewhere. title: string; // The text to be displayed for the list item. metadata?: string[] | { // An array of strings or strings with icons (reference the allowed icon: string; // Apollo icons) to be displayed as metadata below the title. text: string; }[]; subtext?: string; // Subtext to be displayed on the right. } - Note that you should *only use one of* `avatars`, `badges`, or `subtext`, to avoid cluttering the right-hand side of the list item.
870
+ * @default []
871
+ */
872
+ "items"?: ListItem[];
873
+ }
874
+ interface XplMainNav {
875
+ /**
876
+ * @property {string} width - The width of the Main Nav.
877
+ * @default 'default'
878
+ */
879
+ "width": 'default' | 'md' | 'sm';
880
+ }
881
+ interface XplModal {
882
+ /**
883
+ * Whether the modal is open.
884
+ * @default false
885
+ */
886
+ "isOpen": boolean;
887
+ /**
888
+ * The size of the modal.
889
+ * @default 'medium'
890
+ */
891
+ "size": 'large' | 'medium' | 'small';
892
+ /**
893
+ * The visual variant of the modal.
894
+ * @default 'default'
895
+ */
896
+ "variant": 'default' | 'warning';
897
+ }
898
+ interface XplNavItem {
899
+ /**
900
+ * @property {boolean} - Whether or not the item should control the main nav state on click
901
+ * @default false
902
+ */
903
+ "navControl"?: boolean;
904
+ }
905
+ interface XplPagination {
906
+ /**
907
+ * The current active page (1-based). Marked as mutable so we can update from inside this component.
908
+ * @default 1
909
+ */
910
+ "currentPage": number;
911
+ /**
912
+ * The rows-per-page options offered in the dropdown.
913
+ * @default '10,25,50,100,150'
914
+ */
915
+ "rowsPerPageOptions": string;
916
+ /**
917
+ * The currently selected rows-per-page.
918
+ * @default 10
919
+ */
920
+ "selectedRowsPerPage": number;
921
+ /**
922
+ * Total number of pages.
923
+ * @default 1
924
+ */
925
+ "totalPages": number;
926
+ /**
927
+ * Whether to allow go to page navigation.
928
+ * @default false
929
+ */
930
+ "withPageControl": boolean;
931
+ }
932
+ interface XplPopover {
933
+ /**
934
+ * Whether the popover is disabled or not.
935
+ * @default false
936
+ */
937
+ "disabled": boolean;
938
+ /**
939
+ * The display style of the popover, either as an arrow or a menu. - 'arrow': Displays an arrow pointing to the trigger element. - 'menu': Displays a menu-style popover without an arrow.
940
+ * @default 'arrow'
941
+ */
942
+ "display": 'arrow' | 'menu';
943
+ /**
944
+ * Whether the popover is open by default or not.
945
+ * @default false
946
+ */
947
+ "isOpen": boolean;
948
+ /**
949
+ * The position of the trigger element relative to the popover.
950
+ * @default 'bottom-middle'
951
+ */
952
+ "position": PopoverPosition;
953
+ }
954
+ interface XplProgress {
955
+ /**
956
+ * Current step, is the index of the current active step
957
+ * @default 0
958
+ */
959
+ "currentStep": number;
960
+ /**
961
+ * The steps is an array of the steps name.
962
+ */
963
+ "steps"?: string[];
964
+ }
965
+ interface XplRadio {
966
+ /**
967
+ * Whether the input is "on"
968
+ */
969
+ "checked"?: boolean;
970
+ /**
971
+ * Description text for the field
972
+ */
973
+ "description"?: string;
974
+ /**
975
+ * Whether the input is disabled
976
+ */
977
+ "disabled"?: boolean;
978
+ /**
979
+ * The name attribute for the html input. (submittted in form as name/value pair)
980
+ */
981
+ "name"?: string;
982
+ /**
983
+ * Whether the input is required
984
+ */
985
+ "required"?: boolean;
986
+ /**
987
+ * Whether the input is contained in a box with a border and, in disabled state, a background
988
+ */
989
+ "styled"?: boolean;
990
+ /**
991
+ * The value attribute for the radio input. (submittted in form as name/value pair)
992
+ */
993
+ "value"?: string;
994
+ }
995
+ interface XplSecondaryNav {
996
+ }
997
+ interface XplSelect {
998
+ /**
999
+ * An array of choices for the user to choose from. Each choice should be of the form: { label: string; href?: string; value?: string; isGroupHeading?: boolean; isSelected?: boolean; isDisabled?: boolean; options?: DropdownItem[]; groupName?: string; }
1000
+ * @default []
1001
+ */
1002
+ "choices"?: DropdownItem[];
1003
+ /**
1004
+ * The class name to apply to the select component.
1005
+ */
1006
+ "classNames"?: string;
1007
+ /**
1008
+ * If true, enables custom display value rendering via slot.
1009
+ */
1010
+ "customDisplayValue"?: boolean;
1011
+ /**
1012
+ * Optional text that appears below the input label.
1013
+ */
1014
+ "description"?: string;
1015
+ /**
1016
+ * Whether the field is disabled
1017
+ */
1018
+ "disabled"?: boolean;
1019
+ /**
1020
+ * If an empty string (attribute present with no value), will display visually as an error. If a string is included, will display visually as an error and include the value as an error message.
1021
+ */
1022
+ "error"?: string;
1023
+ /**
1024
+ * The label that appears above the select dropdown
1025
+ */
1026
+ "label"?: string;
1027
+ /**
1028
+ * Whether to allow a single choice or multiple choices.
1029
+ * @default 'single'
1030
+ */
1031
+ "mode"?: 'single' | 'multi';
1032
+ /**
1033
+ * The name of the hidden input field that contains the selected option's value(s)
1034
+ */
1035
+ "name"?: string;
1036
+ /**
1037
+ * Placeholder text that appears when the field has no value
1038
+ */
1039
+ "placeholder": string;
1040
+ /**
1041
+ * Resets the select component to its initial state with no selections. This clears all selected values and returns the component to its default state.
1042
+ */
1043
+ "reset": () => Promise<void>;
1044
+ /**
1045
+ * The icon to display in the select trigger button.
1046
+ * @default 'chevron-down'
1047
+ */
1048
+ "selectIcon"?: IconName2;
1049
+ /**
1050
+ * The value(s) currently selected in the select component.
1051
+ */
1052
+ "selectedValues"?: string | string[];
1053
+ /**
1054
+ * Only used in multi-choice selects. If `true`, badges representing selections that would overflow the container are replaced with "+x more" (where x is the number not shown). If `false`, the container's height will adjust to show all badges representing selections.
1055
+ * @default true
1056
+ */
1057
+ "truncate"?: boolean;
1058
+ }
1059
+ interface XplSkeleton {
1060
+ /**
1061
+ * A CSS class name to apply to the component.
1062
+ */
1063
+ "classNames"?: string;
1064
+ /**
1065
+ * If true, the skeleton will take up the full width of its container.
1066
+ */
1067
+ "fullWidth"?: boolean;
1068
+ /**
1069
+ * The height of the skeleton. (e.g. '100px', '100%', 'auto') accepts any valid CSS height value
1070
+ */
1071
+ "height"?: CSSStyleDeclaration['height'];
1072
+ /**
1073
+ * The margin of the skeleton. (e.g. '10px', '1rem', '1rem 0') accepts any valid CSS margin value
1074
+ */
1075
+ "margin"?: CSSStyleDeclaration['margin'];
1076
+ /**
1077
+ * The shape of the skeleton.
1078
+ * @default 'rectangle'
1079
+ */
1080
+ "shape"?: 'rectangle' | 'circle' | 'square';
1081
+ /**
1082
+ * The predefined size of the skeleton.
1083
+ * @default 'custom'
1084
+ */
1085
+ "size"?: | 'display'
1086
+ | 'title-1'
1087
+ | 'title-2'
1088
+ | 'title-3'
1089
+ | 'title-4'
1090
+ | 'title-5'
1091
+ | 'body'
1092
+ | 'custom';
1093
+ /**
1094
+ * The width of the skeleton. (e.g. '100px', '100%', 'auto') accepts any valid CSS width value
1095
+ */
1096
+ "width"?: CSSStyleDeclaration['width'];
1097
+ }
1098
+ interface XplSlideout {
1099
+ /**
1100
+ * Whether to show a backdrop behind the slideout.
1101
+ * @default false
1102
+ */
1103
+ "backdrop": boolean;
1104
+ /**
1105
+ * Whether the slideout is open.
1106
+ * @default false
1107
+ */
1108
+ "isOpen": boolean;
1109
+ /**
1110
+ * Whether to show the footer section in the slideout.
1111
+ * @default true
1112
+ */
1113
+ "showFooter": boolean;
1114
+ /**
1115
+ * The visual style variant of the slideout. Can be 'default' or 'warning'.
1116
+ * @default 'default'
1117
+ */
1118
+ "variant": 'default' | 'warning';
1119
+ }
1120
+ interface XplTab {
1121
+ /**
1122
+ * Whether the tab is selected
1123
+ * @default false
1124
+ */
1125
+ "selected": boolean;
1126
+ /**
1127
+ * The target of the tab, required for the tab to be selected
1128
+ */
1129
+ "target": string;
1130
+ }
1131
+ interface XplTabPanel {
1132
+ /**
1133
+ * Whether the panel is selected
1134
+ * @default false
1135
+ */
1136
+ "selected": boolean;
1137
+ /**
1138
+ * The target of the tab, required for the tab to be selected
1139
+ */
1140
+ "target": string;
1141
+ }
1142
+ interface XplTable {
1143
+ /**
1144
+ * The header values for each column.
1145
+ */
1146
+ "columns"?: string[];
1147
+ /**
1148
+ * The data for the body of the table.
1149
+ */
1150
+ "data"?: string[][];
1151
+ /**
1152
+ * The data for the footer of the table.
1153
+ */
1154
+ "footer"?: string[][];
1155
+ /**
1156
+ * When true, the first column of the table is sticky and will cover the leftmost rows in a horizontally scrollable container.
1157
+ */
1158
+ "freeze"?: boolean;
1159
+ /**
1160
+ * Toggles to show the sort button on each table head
1161
+ * @default false
1162
+ */
1163
+ "isSortable"?: boolean;
1164
+ /**
1165
+ * Toggles a selectable checkbox for each row in the table
1166
+ */
1167
+ "multiselect"?: boolean;
1168
+ /**
1169
+ * The values for the input for each row when multiselect is activated.
1170
+ * @default []
1171
+ */
1172
+ "selectedValues"?: string[];
1173
+ /**
1174
+ * Manually determined if the column is sortable
1175
+ * @default []
1176
+ */
1177
+ "sortableColumns"?: boolean[];
1178
+ /**
1179
+ * Toggles an optional styling of the background of each even row of the table body.
1180
+ */
1181
+ "striped"?: boolean;
1182
+ }
1183
+ interface XplTableHeader {
1184
+ }
1185
+ interface XplTableHeaderCell {
1186
+ /**
1187
+ * @property {IconName} - Icon to display in the cell
1188
+ */
1189
+ "icon"?: IconName;
1190
+ /**
1191
+ * @property {string} - Text to display in the cell
1192
+ * @default ''
1193
+ */
1194
+ "label"?: string;
1195
+ /**
1196
+ * @property {boolean} - Whether the cell is sortable or not
1197
+ * @default false
1198
+ */
1199
+ "sortable"?: boolean;
1200
+ /**
1201
+ * @property {string} - The type of cell to render
1202
+ * @default 'label'
1203
+ */
1204
+ "type": 'label' | 'checkbox' | 'icon';
1205
+ /**
1206
+ * @property {number} - Width of the cell, in pixels. Minimum width is 48px. If no value is provided, it will default to fit the content of the cell with 16px of padding on each side
1207
+ */
1208
+ "width"?: number;
1209
+ }
1210
+ interface XplTabs {
1211
+ /**
1212
+ * Whether to make the tabs full width
1213
+ * @default false
1214
+ */
1215
+ "fullWidth": boolean;
1216
+ /**
1217
+ * The selected tab target value, defaults to the first tab
1218
+ */
1219
+ "value": string;
1220
+ }
1221
+ interface XplTag {
1222
+ }
1223
+ interface XplToast {
1224
+ /**
1225
+ * @property {string} - The caption of the toast, limited to 85 characters
1226
+ */
1227
+ "caption": string;
1228
+ /**
1229
+ * @property {boolean} - Whether or not the toast is dismissible
1230
+ * @default true
1231
+ */
1232
+ "dismissable": boolean;
1233
+ /**
1234
+ * @property {boolean} - Whether or not to show the icon
1235
+ * @default true
1236
+ */
1237
+ "showIcon"?: boolean;
1238
+ /**
1239
+ * @property {number} - The timeout for the toast to dismiss in ms, default 8 seconds
1240
+ * @default 8000
1241
+ */
1242
+ "timeout": number;
1243
+ /**
1244
+ * @property {string} - The variant of the toast
1245
+ * @default 'neutral'
1246
+ */
1247
+ "variant": 'neutral' | 'warning' | 'success';
1248
+ }
1249
+ interface XplToggle {
1250
+ /**
1251
+ * Whether the toggle is `on`
1252
+ */
1253
+ "checked"?: boolean;
1254
+ /**
1255
+ * The toggle's description appears *above* the toggle.
1256
+ */
1257
+ "description"?: string;
1258
+ /**
1259
+ * Whether the toggle is disabled
1260
+ */
1261
+ "disabled"?: boolean;
1262
+ /**
1263
+ * The toggle's heading appears *above* the toggle.
1264
+ */
1265
+ "heading"?: string;
1266
+ /**
1267
+ * The toggle's label appears *to the right of* the toggle.
1268
+ */
1269
+ "label"?: string;
1270
+ /**
1271
+ * The name attribute for the html input. (submittted in form as name/value pair)
1272
+ */
1273
+ "name"?: string;
1274
+ /**
1275
+ * The size of the toggle -- `default` or `small`
1276
+ * @default 'default'
1277
+ */
1278
+ "variant"?: 'default' | 'small';
1279
+ }
1280
+ interface XplToolbar {
1281
+ /**
1282
+ * The number of selected items to display in the toolbar.
1283
+ * @default 0
1284
+ */
1285
+ "selectedItemCount": number;
1286
+ }
1287
+ interface XplTooltip {
1288
+ /**
1289
+ * Hide the arrow
1290
+ * @default false
1291
+ */
1292
+ "hideArrow": boolean;
1293
+ /**
1294
+ * Position of the tooltip relative to the element
1295
+ * @default 'top-middle'
1296
+ */
1297
+ "position": | 'top-middle'
1298
+ | 'right'
1299
+ | 'bottom-middle'
1300
+ | 'left'
1301
+ | 'top-left'
1302
+ | 'top-right'
1303
+ | 'bottom-left'
1304
+ | 'bottom-right';
1305
+ /**
1306
+ * The tooltip text to display
1307
+ */
1308
+ "text": string;
1309
+ }
1310
+ interface XplUtilityBar {
1311
+ /**
1312
+ * @property {boolean} - Optional property that defines whether or not the main nav is open at startup.
1313
+ */
1314
+ "isNavOpenAtStartup"?: boolean;
1315
+ /**
1316
+ * @property {boolean} - whether or not to show the bars to control the state of the navigation bar (open/close)
1317
+ */
1318
+ "navControl"?: boolean;
1319
+ }
1320
+ }
1321
+ export interface XplButtonRowCustomEvent<T> extends CustomEvent<T> {
404
1322
  detail: T;
405
1323
  target: HTMLXplButtonRowElement;
406
1324
  }
1325
+ export interface XplCalendarCustomEvent<T> extends CustomEvent<T> {
1326
+ detail: T;
1327
+ target: HTMLXplCalendarElement;
1328
+ }
407
1329
  export interface XplCheckboxCustomEvent<T> extends CustomEvent<T> {
408
1330
  detail: T;
409
1331
  target: HTMLXplCheckboxElement;
410
1332
  }
1333
+ export interface XplChoicelistCustomEvent<T> extends CustomEvent<T> {
1334
+ detail: T;
1335
+ target: HTMLXplChoicelistElement;
1336
+ }
1337
+ export interface XplDropdownCustomEvent<T> extends CustomEvent<T> {
1338
+ detail: T;
1339
+ target: HTMLXplDropdownElement;
1340
+ }
1341
+ export interface XplDynamicTableCustomEvent<T> extends CustomEvent<T> {
1342
+ detail: T;
1343
+ target: HTMLXplDynamicTableElement;
1344
+ }
1345
+ export interface XplInputCustomEvent<T> extends CustomEvent<T> {
1346
+ detail: T;
1347
+ target: HTMLXplInputElement;
1348
+ }
1349
+ export interface XplInputColorCustomEvent<T> extends CustomEvent<T> {
1350
+ detail: T;
1351
+ target: HTMLXplInputColorElement;
1352
+ }
1353
+ export interface XplInputDateCustomEvent<T> extends CustomEvent<T> {
1354
+ detail: T;
1355
+ target: HTMLXplInputDateElement;
1356
+ }
1357
+ export interface XplInputFileCustomEvent<T> extends CustomEvent<T> {
1358
+ detail: T;
1359
+ target: HTMLXplInputFileElement;
1360
+ }
1361
+ export interface XplInputTimeCustomEvent<T> extends CustomEvent<T> {
1362
+ detail: T;
1363
+ target: HTMLXplInputTimeElement;
1364
+ }
411
1365
  export interface XplMainNavCustomEvent<T> extends CustomEvent<T> {
412
1366
  detail: T;
413
1367
  target: HTMLXplMainNavElement;
414
1368
  }
1369
+ export interface XplModalCustomEvent<T> extends CustomEvent<T> {
1370
+ detail: T;
1371
+ target: HTMLXplModalElement;
1372
+ }
415
1373
  export interface XplNavItemCustomEvent<T> extends CustomEvent<T> {
416
1374
  detail: T;
417
1375
  target: HTMLXplNavItemElement;
@@ -420,14 +1378,38 @@ export interface XplPaginationCustomEvent<T> extends CustomEvent<T> {
420
1378
  detail: T;
421
1379
  target: HTMLXplPaginationElement;
422
1380
  }
1381
+ export interface XplPopoverCustomEvent<T> extends CustomEvent<T> {
1382
+ detail: T;
1383
+ target: HTMLXplPopoverElement;
1384
+ }
423
1385
  export interface XplRadioCustomEvent<T> extends CustomEvent<T> {
424
1386
  detail: T;
425
1387
  target: HTMLXplRadioElement;
426
1388
  }
1389
+ export interface XplSelectCustomEvent<T> extends CustomEvent<T> {
1390
+ detail: T;
1391
+ target: HTMLXplSelectElement;
1392
+ }
1393
+ export interface XplSlideoutCustomEvent<T> extends CustomEvent<T> {
1394
+ detail: T;
1395
+ target: HTMLXplSlideoutElement;
1396
+ }
1397
+ export interface XplTabCustomEvent<T> extends CustomEvent<T> {
1398
+ detail: T;
1399
+ target: HTMLXplTabElement;
1400
+ }
427
1401
  export interface XplTableCustomEvent<T> extends CustomEvent<T> {
428
1402
  detail: T;
429
1403
  target: HTMLXplTableElement;
430
1404
  }
1405
+ export interface XplTableHeaderCellCustomEvent<T> extends CustomEvent<T> {
1406
+ detail: T;
1407
+ target: HTMLXplTableHeaderCellElement;
1408
+ }
1409
+ export interface XplTabsCustomEvent<T> extends CustomEvent<T> {
1410
+ detail: T;
1411
+ target: HTMLXplTabsElement;
1412
+ }
431
1413
  export interface XplTagCustomEvent<T> extends CustomEvent<T> {
432
1414
  detail: T;
433
1415
  target: HTMLXplTagElement;
@@ -437,605 +1419,2094 @@ export interface XplUtilityBarCustomEvent<T> extends CustomEvent<T> {
437
1419
  target: HTMLXplUtilityBarElement;
438
1420
  }
439
1421
  declare global {
1422
+ interface HTMLXplAccordionElement extends Components.XplAccordion, HTMLStencilElement {
1423
+ }
1424
+ var HTMLXplAccordionElement: {
1425
+ prototype: HTMLXplAccordionElement;
1426
+ new (): HTMLXplAccordionElement;
1427
+ };
440
1428
  interface HTMLXplApplicationShellElement extends Components.XplApplicationShell, HTMLStencilElement {
441
1429
  }
442
- var HTMLXplApplicationShellElement: {
443
- prototype: HTMLXplApplicationShellElement;
444
- new (): HTMLXplApplicationShellElement;
1430
+ var HTMLXplApplicationShellElement: {
1431
+ prototype: HTMLXplApplicationShellElement;
1432
+ new (): HTMLXplApplicationShellElement;
1433
+ };
1434
+ interface HTMLXplAvatarElement extends Components.XplAvatar, HTMLStencilElement {
1435
+ }
1436
+ var HTMLXplAvatarElement: {
1437
+ prototype: HTMLXplAvatarElement;
1438
+ new (): HTMLXplAvatarElement;
1439
+ };
1440
+ interface HTMLXplBackdropElement extends Components.XplBackdrop, HTMLStencilElement {
1441
+ }
1442
+ var HTMLXplBackdropElement: {
1443
+ prototype: HTMLXplBackdropElement;
1444
+ new (): HTMLXplBackdropElement;
1445
+ };
1446
+ interface HTMLXplBadgeElement extends Components.XplBadge, HTMLStencilElement {
1447
+ }
1448
+ var HTMLXplBadgeElement: {
1449
+ prototype: HTMLXplBadgeElement;
1450
+ new (): HTMLXplBadgeElement;
1451
+ };
1452
+ interface HTMLXplBreadcrumbItemElement extends Components.XplBreadcrumbItem, HTMLStencilElement {
1453
+ }
1454
+ var HTMLXplBreadcrumbItemElement: {
1455
+ prototype: HTMLXplBreadcrumbItemElement;
1456
+ new (): HTMLXplBreadcrumbItemElement;
1457
+ };
1458
+ interface HTMLXplBreadcrumbsElement extends Components.XplBreadcrumbs, HTMLStencilElement {
1459
+ }
1460
+ var HTMLXplBreadcrumbsElement: {
1461
+ prototype: HTMLXplBreadcrumbsElement;
1462
+ new (): HTMLXplBreadcrumbsElement;
1463
+ };
1464
+ interface HTMLXplButtonElement extends Components.XplButton, HTMLStencilElement {
1465
+ }
1466
+ var HTMLXplButtonElement: {
1467
+ prototype: HTMLXplButtonElement;
1468
+ new (): HTMLXplButtonElement;
1469
+ };
1470
+ interface HTMLXplButtonRowElementEventMap {
1471
+ "clickPrimary": any;
1472
+ "clickSecondary": any;
1473
+ "clickTertiary": any;
1474
+ }
1475
+ interface HTMLXplButtonRowElement extends Components.XplButtonRow, HTMLStencilElement {
1476
+ addEventListener<K extends keyof HTMLXplButtonRowElementEventMap>(type: K, listener: (this: HTMLXplButtonRowElement, ev: XplButtonRowCustomEvent<HTMLXplButtonRowElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1477
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1478
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1479
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1480
+ removeEventListener<K extends keyof HTMLXplButtonRowElementEventMap>(type: K, listener: (this: HTMLXplButtonRowElement, ev: XplButtonRowCustomEvent<HTMLXplButtonRowElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1481
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1482
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1483
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1484
+ }
1485
+ var HTMLXplButtonRowElement: {
1486
+ prototype: HTMLXplButtonRowElement;
1487
+ new (): HTMLXplButtonRowElement;
1488
+ };
1489
+ interface HTMLXplCalendarElementEventMap {
1490
+ "dateSelected": string | string[];
1491
+ }
1492
+ interface HTMLXplCalendarElement extends Components.XplCalendar, HTMLStencilElement {
1493
+ addEventListener<K extends keyof HTMLXplCalendarElementEventMap>(type: K, listener: (this: HTMLXplCalendarElement, ev: XplCalendarCustomEvent<HTMLXplCalendarElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1494
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1495
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1496
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1497
+ removeEventListener<K extends keyof HTMLXplCalendarElementEventMap>(type: K, listener: (this: HTMLXplCalendarElement, ev: XplCalendarCustomEvent<HTMLXplCalendarElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1498
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1499
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1500
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1501
+ }
1502
+ var HTMLXplCalendarElement: {
1503
+ prototype: HTMLXplCalendarElement;
1504
+ new (): HTMLXplCalendarElement;
1505
+ };
1506
+ interface HTMLXplCheckboxElementEventMap {
1507
+ "checkboxChange": string | boolean;
1508
+ }
1509
+ interface HTMLXplCheckboxElement extends Components.XplCheckbox, HTMLStencilElement {
1510
+ addEventListener<K extends keyof HTMLXplCheckboxElementEventMap>(type: K, listener: (this: HTMLXplCheckboxElement, ev: XplCheckboxCustomEvent<HTMLXplCheckboxElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1511
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1512
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1513
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1514
+ removeEventListener<K extends keyof HTMLXplCheckboxElementEventMap>(type: K, listener: (this: HTMLXplCheckboxElement, ev: XplCheckboxCustomEvent<HTMLXplCheckboxElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1515
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1516
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1517
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1518
+ }
1519
+ var HTMLXplCheckboxElement: {
1520
+ prototype: HTMLXplCheckboxElement;
1521
+ new (): HTMLXplCheckboxElement;
445
1522
  };
446
- interface HTMLXplAvatarElement extends Components.XplAvatar, HTMLStencilElement {
1523
+ interface HTMLXplChoicelistElementEventMap {
1524
+ "choicelistChange": boolean[];
1525
+ "choicelistValueChange": string | boolean | (string | boolean)[];
447
1526
  }
448
- var HTMLXplAvatarElement: {
449
- prototype: HTMLXplAvatarElement;
450
- new (): HTMLXplAvatarElement;
1527
+ interface HTMLXplChoicelistElement extends Components.XplChoicelist, HTMLStencilElement {
1528
+ addEventListener<K extends keyof HTMLXplChoicelistElementEventMap>(type: K, listener: (this: HTMLXplChoicelistElement, ev: XplChoicelistCustomEvent<HTMLXplChoicelistElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1529
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1530
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1531
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1532
+ removeEventListener<K extends keyof HTMLXplChoicelistElementEventMap>(type: K, listener: (this: HTMLXplChoicelistElement, ev: XplChoicelistCustomEvent<HTMLXplChoicelistElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1533
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1534
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1535
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1536
+ }
1537
+ var HTMLXplChoicelistElement: {
1538
+ prototype: HTMLXplChoicelistElement;
1539
+ new (): HTMLXplChoicelistElement;
451
1540
  };
452
- interface HTMLXplBackdropElement extends Components.XplBackdrop, HTMLStencilElement {
1541
+ interface HTMLXplContentAreaElement extends Components.XplContentArea, HTMLStencilElement {
1542
+ }
1543
+ var HTMLXplContentAreaElement: {
1544
+ prototype: HTMLXplContentAreaElement;
1545
+ new (): HTMLXplContentAreaElement;
1546
+ };
1547
+ interface HTMLXplDashboardElement extends Components.XplDashboard, HTMLStencilElement {
1548
+ }
1549
+ var HTMLXplDashboardElement: {
1550
+ prototype: HTMLXplDashboardElement;
1551
+ new (): HTMLXplDashboardElement;
1552
+ };
1553
+ interface HTMLXplDataCardElement extends Components.XplDataCard, HTMLStencilElement {
1554
+ }
1555
+ var HTMLXplDataCardElement: {
1556
+ prototype: HTMLXplDataCardElement;
1557
+ new (): HTMLXplDataCardElement;
1558
+ };
1559
+ interface HTMLXplDividerElement extends Components.XplDivider, HTMLStencilElement {
1560
+ }
1561
+ var HTMLXplDividerElement: {
1562
+ prototype: HTMLXplDividerElement;
1563
+ new (): HTMLXplDividerElement;
1564
+ };
1565
+ interface HTMLXplDropdownElementEventMap {
1566
+ "isOpenChange": boolean;
1567
+ }
1568
+ interface HTMLXplDropdownElement extends Components.XplDropdown, HTMLStencilElement {
1569
+ addEventListener<K extends keyof HTMLXplDropdownElementEventMap>(type: K, listener: (this: HTMLXplDropdownElement, ev: XplDropdownCustomEvent<HTMLXplDropdownElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1570
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1571
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1572
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1573
+ removeEventListener<K extends keyof HTMLXplDropdownElementEventMap>(type: K, listener: (this: HTMLXplDropdownElement, ev: XplDropdownCustomEvent<HTMLXplDropdownElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1574
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1575
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1576
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1577
+ }
1578
+ var HTMLXplDropdownElement: {
1579
+ prototype: HTMLXplDropdownElement;
1580
+ new (): HTMLXplDropdownElement;
1581
+ };
1582
+ interface HTMLXplDropdownGroupElement extends Components.XplDropdownGroup, HTMLStencilElement {
1583
+ }
1584
+ var HTMLXplDropdownGroupElement: {
1585
+ prototype: HTMLXplDropdownGroupElement;
1586
+ new (): HTMLXplDropdownGroupElement;
1587
+ };
1588
+ interface HTMLXplDropdownHeadingElement extends Components.XplDropdownHeading, HTMLStencilElement {
1589
+ }
1590
+ var HTMLXplDropdownHeadingElement: {
1591
+ prototype: HTMLXplDropdownHeadingElement;
1592
+ new (): HTMLXplDropdownHeadingElement;
1593
+ };
1594
+ interface HTMLXplDropdownOptionElement extends Components.XplDropdownOption, HTMLStencilElement {
1595
+ }
1596
+ var HTMLXplDropdownOptionElement: {
1597
+ prototype: HTMLXplDropdownOptionElement;
1598
+ new (): HTMLXplDropdownOptionElement;
1599
+ };
1600
+ interface HTMLXplDynamicTableElementEventMap {
1601
+ "selectedItemCountChange": string[];
1602
+ }
1603
+ interface HTMLXplDynamicTableElement extends Components.XplDynamicTable, HTMLStencilElement {
1604
+ addEventListener<K extends keyof HTMLXplDynamicTableElementEventMap>(type: K, listener: (this: HTMLXplDynamicTableElement, ev: XplDynamicTableCustomEvent<HTMLXplDynamicTableElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1605
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1606
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1607
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1608
+ removeEventListener<K extends keyof HTMLXplDynamicTableElementEventMap>(type: K, listener: (this: HTMLXplDynamicTableElement, ev: XplDynamicTableCustomEvent<HTMLXplDynamicTableElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1609
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1610
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1611
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1612
+ }
1613
+ var HTMLXplDynamicTableElement: {
1614
+ prototype: HTMLXplDynamicTableElement;
1615
+ new (): HTMLXplDynamicTableElement;
1616
+ };
1617
+ interface HTMLXplDynamicTableCellElement extends Components.XplDynamicTableCell, HTMLStencilElement {
1618
+ }
1619
+ var HTMLXplDynamicTableCellElement: {
1620
+ prototype: HTMLXplDynamicTableCellElement;
1621
+ new (): HTMLXplDynamicTableCellElement;
1622
+ };
1623
+ interface HTMLXplDynamicTableRowElement extends Components.XplDynamicTableRow, HTMLStencilElement {
1624
+ }
1625
+ var HTMLXplDynamicTableRowElement: {
1626
+ prototype: HTMLXplDynamicTableRowElement;
1627
+ new (): HTMLXplDynamicTableRowElement;
1628
+ };
1629
+ interface HTMLXplGridElement extends Components.XplGrid, HTMLStencilElement {
1630
+ }
1631
+ var HTMLXplGridElement: {
1632
+ prototype: HTMLXplGridElement;
1633
+ new (): HTMLXplGridElement;
1634
+ };
1635
+ interface HTMLXplGridItemElement extends Components.XplGridItem, HTMLStencilElement {
1636
+ }
1637
+ var HTMLXplGridItemElement: {
1638
+ prototype: HTMLXplGridItemElement;
1639
+ new (): HTMLXplGridItemElement;
1640
+ };
1641
+ interface HTMLXplHeaderAccordionElement extends Components.XplHeaderAccordion, HTMLStencilElement {
1642
+ }
1643
+ var HTMLXplHeaderAccordionElement: {
1644
+ prototype: HTMLXplHeaderAccordionElement;
1645
+ new (): HTMLXplHeaderAccordionElement;
1646
+ };
1647
+ interface HTMLXplIconElement extends Components.XplIcon, HTMLStencilElement {
1648
+ }
1649
+ var HTMLXplIconElement: {
1650
+ prototype: HTMLXplIconElement;
1651
+ new (): HTMLXplIconElement;
1652
+ };
1653
+ interface HTMLXplInputElementEventMap {
1654
+ "focusEvent": FocusEvent;
1655
+ "blurEvent": FocusEvent;
1656
+ "valueChange": string;
1657
+ "inputEvent": string;
1658
+ }
1659
+ interface HTMLXplInputElement extends Components.XplInput, HTMLStencilElement {
1660
+ addEventListener<K extends keyof HTMLXplInputElementEventMap>(type: K, listener: (this: HTMLXplInputElement, ev: XplInputCustomEvent<HTMLXplInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1661
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1662
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1663
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1664
+ removeEventListener<K extends keyof HTMLXplInputElementEventMap>(type: K, listener: (this: HTMLXplInputElement, ev: XplInputCustomEvent<HTMLXplInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1665
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1666
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1667
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1668
+ }
1669
+ var HTMLXplInputElement: {
1670
+ prototype: HTMLXplInputElement;
1671
+ new (): HTMLXplInputElement;
1672
+ };
1673
+ interface HTMLXplInputColorElementEventMap {
1674
+ "inputChange": string;
1675
+ "hasErrorStateChanged": string | null;
1676
+ }
1677
+ interface HTMLXplInputColorElement extends Components.XplInputColor, HTMLStencilElement {
1678
+ addEventListener<K extends keyof HTMLXplInputColorElementEventMap>(type: K, listener: (this: HTMLXplInputColorElement, ev: XplInputColorCustomEvent<HTMLXplInputColorElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1679
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1680
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1681
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1682
+ removeEventListener<K extends keyof HTMLXplInputColorElementEventMap>(type: K, listener: (this: HTMLXplInputColorElement, ev: XplInputColorCustomEvent<HTMLXplInputColorElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1683
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1684
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1685
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1686
+ }
1687
+ var HTMLXplInputColorElement: {
1688
+ prototype: HTMLXplInputColorElement;
1689
+ new (): HTMLXplInputColorElement;
1690
+ };
1691
+ interface HTMLXplInputDateElementEventMap {
1692
+ "valueChange": string;
1693
+ "hasErrorStateChanged": string | null;
1694
+ "rangeSelected": { start: Date; end: Date };
1695
+ }
1696
+ interface HTMLXplInputDateElement extends Components.XplInputDate, HTMLStencilElement {
1697
+ addEventListener<K extends keyof HTMLXplInputDateElementEventMap>(type: K, listener: (this: HTMLXplInputDateElement, ev: XplInputDateCustomEvent<HTMLXplInputDateElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1698
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1699
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1700
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1701
+ removeEventListener<K extends keyof HTMLXplInputDateElementEventMap>(type: K, listener: (this: HTMLXplInputDateElement, ev: XplInputDateCustomEvent<HTMLXplInputDateElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1702
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1703
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1704
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1705
+ }
1706
+ var HTMLXplInputDateElement: {
1707
+ prototype: HTMLXplInputDateElement;
1708
+ new (): HTMLXplInputDateElement;
1709
+ };
1710
+ interface HTMLXplInputFileElementEventMap {
1711
+ "inputChange": {
1712
+ type: string;
1713
+ value: File[] | null;
1714
+ };
1715
+ }
1716
+ /**
1717
+ * `xpl-input-file` is a component that allows users to upload files.
1718
+ */
1719
+ interface HTMLXplInputFileElement extends Components.XplInputFile, HTMLStencilElement {
1720
+ addEventListener<K extends keyof HTMLXplInputFileElementEventMap>(type: K, listener: (this: HTMLXplInputFileElement, ev: XplInputFileCustomEvent<HTMLXplInputFileElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1721
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1722
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1723
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1724
+ removeEventListener<K extends keyof HTMLXplInputFileElementEventMap>(type: K, listener: (this: HTMLXplInputFileElement, ev: XplInputFileCustomEvent<HTMLXplInputFileElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1725
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1726
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1727
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1728
+ }
1729
+ var HTMLXplInputFileElement: {
1730
+ prototype: HTMLXplInputFileElement;
1731
+ new (): HTMLXplInputFileElement;
1732
+ };
1733
+ interface HTMLXplInputTimeElementEventMap {
1734
+ "valueChange": string;
1735
+ "hasErrorStateChanged": string | null;
1736
+ }
1737
+ interface HTMLXplInputTimeElement extends Components.XplInputTime, HTMLStencilElement {
1738
+ addEventListener<K extends keyof HTMLXplInputTimeElementEventMap>(type: K, listener: (this: HTMLXplInputTimeElement, ev: XplInputTimeCustomEvent<HTMLXplInputTimeElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1739
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1740
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1741
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1742
+ removeEventListener<K extends keyof HTMLXplInputTimeElementEventMap>(type: K, listener: (this: HTMLXplInputTimeElement, ev: XplInputTimeCustomEvent<HTMLXplInputTimeElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1743
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1744
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1745
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1746
+ }
1747
+ var HTMLXplInputTimeElement: {
1748
+ prototype: HTMLXplInputTimeElement;
1749
+ new (): HTMLXplInputTimeElement;
1750
+ };
1751
+ interface HTMLXplLargeCardElement extends Components.XplLargeCard, HTMLStencilElement {
1752
+ }
1753
+ var HTMLXplLargeCardElement: {
1754
+ prototype: HTMLXplLargeCardElement;
1755
+ new (): HTMLXplLargeCardElement;
1756
+ };
1757
+ interface HTMLXplListElement extends Components.XplList, HTMLStencilElement {
1758
+ }
1759
+ var HTMLXplListElement: {
1760
+ prototype: HTMLXplListElement;
1761
+ new (): HTMLXplListElement;
1762
+ };
1763
+ interface HTMLXplMainNavElementEventMap {
1764
+ "navWidth": string;
1765
+ }
1766
+ interface HTMLXplMainNavElement extends Components.XplMainNav, HTMLStencilElement {
1767
+ addEventListener<K extends keyof HTMLXplMainNavElementEventMap>(type: K, listener: (this: HTMLXplMainNavElement, ev: XplMainNavCustomEvent<HTMLXplMainNavElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1768
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1769
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1770
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1771
+ removeEventListener<K extends keyof HTMLXplMainNavElementEventMap>(type: K, listener: (this: HTMLXplMainNavElement, ev: XplMainNavCustomEvent<HTMLXplMainNavElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1772
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1773
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1774
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1775
+ }
1776
+ var HTMLXplMainNavElement: {
1777
+ prototype: HTMLXplMainNavElement;
1778
+ new (): HTMLXplMainNavElement;
1779
+ };
1780
+ interface HTMLXplModalElementEventMap {
1781
+ "modalClosed": void;
1782
+ }
1783
+ interface HTMLXplModalElement extends Components.XplModal, HTMLStencilElement {
1784
+ addEventListener<K extends keyof HTMLXplModalElementEventMap>(type: K, listener: (this: HTMLXplModalElement, ev: XplModalCustomEvent<HTMLXplModalElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1785
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1786
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1787
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1788
+ removeEventListener<K extends keyof HTMLXplModalElementEventMap>(type: K, listener: (this: HTMLXplModalElement, ev: XplModalCustomEvent<HTMLXplModalElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1789
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1790
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1791
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1792
+ }
1793
+ var HTMLXplModalElement: {
1794
+ prototype: HTMLXplModalElement;
1795
+ new (): HTMLXplModalElement;
1796
+ };
1797
+ interface HTMLXplNavItemElementEventMap {
1798
+ "navOpen": boolean;
1799
+ }
1800
+ interface HTMLXplNavItemElement extends Components.XplNavItem, HTMLStencilElement {
1801
+ addEventListener<K extends keyof HTMLXplNavItemElementEventMap>(type: K, listener: (this: HTMLXplNavItemElement, ev: XplNavItemCustomEvent<HTMLXplNavItemElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1802
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1803
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1804
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1805
+ removeEventListener<K extends keyof HTMLXplNavItemElementEventMap>(type: K, listener: (this: HTMLXplNavItemElement, ev: XplNavItemCustomEvent<HTMLXplNavItemElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1806
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1807
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1808
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1809
+ }
1810
+ var HTMLXplNavItemElement: {
1811
+ prototype: HTMLXplNavItemElement;
1812
+ new (): HTMLXplNavItemElement;
1813
+ };
1814
+ interface HTMLXplPaginationElementEventMap {
1815
+ "pageChange": number;
1816
+ "rowsPerPageChange": number;
1817
+ }
1818
+ interface HTMLXplPaginationElement extends Components.XplPagination, HTMLStencilElement {
1819
+ addEventListener<K extends keyof HTMLXplPaginationElementEventMap>(type: K, listener: (this: HTMLXplPaginationElement, ev: XplPaginationCustomEvent<HTMLXplPaginationElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1820
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1821
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1822
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1823
+ removeEventListener<K extends keyof HTMLXplPaginationElementEventMap>(type: K, listener: (this: HTMLXplPaginationElement, ev: XplPaginationCustomEvent<HTMLXplPaginationElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1824
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1825
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1826
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1827
+ }
1828
+ var HTMLXplPaginationElement: {
1829
+ prototype: HTMLXplPaginationElement;
1830
+ new (): HTMLXplPaginationElement;
1831
+ };
1832
+ interface HTMLXplPopoverElementEventMap {
1833
+ "isOpenChange": boolean;
1834
+ }
1835
+ interface HTMLXplPopoverElement extends Components.XplPopover, HTMLStencilElement {
1836
+ addEventListener<K extends keyof HTMLXplPopoverElementEventMap>(type: K, listener: (this: HTMLXplPopoverElement, ev: XplPopoverCustomEvent<HTMLXplPopoverElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1837
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1838
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1839
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1840
+ removeEventListener<K extends keyof HTMLXplPopoverElementEventMap>(type: K, listener: (this: HTMLXplPopoverElement, ev: XplPopoverCustomEvent<HTMLXplPopoverElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1841
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1842
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1843
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1844
+ }
1845
+ var HTMLXplPopoverElement: {
1846
+ prototype: HTMLXplPopoverElement;
1847
+ new (): HTMLXplPopoverElement;
1848
+ };
1849
+ interface HTMLXplProgressElement extends Components.XplProgress, HTMLStencilElement {
1850
+ }
1851
+ var HTMLXplProgressElement: {
1852
+ prototype: HTMLXplProgressElement;
1853
+ new (): HTMLXplProgressElement;
1854
+ };
1855
+ interface HTMLXplRadioElementEventMap {
1856
+ "radioChange": string | boolean;
1857
+ }
1858
+ interface HTMLXplRadioElement extends Components.XplRadio, HTMLStencilElement {
1859
+ addEventListener<K extends keyof HTMLXplRadioElementEventMap>(type: K, listener: (this: HTMLXplRadioElement, ev: XplRadioCustomEvent<HTMLXplRadioElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1860
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1861
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1862
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1863
+ removeEventListener<K extends keyof HTMLXplRadioElementEventMap>(type: K, listener: (this: HTMLXplRadioElement, ev: XplRadioCustomEvent<HTMLXplRadioElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1864
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1865
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1866
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1867
+ }
1868
+ var HTMLXplRadioElement: {
1869
+ prototype: HTMLXplRadioElement;
1870
+ new (): HTMLXplRadioElement;
1871
+ };
1872
+ interface HTMLXplSecondaryNavElement extends Components.XplSecondaryNav, HTMLStencilElement {
1873
+ }
1874
+ var HTMLXplSecondaryNavElement: {
1875
+ prototype: HTMLXplSecondaryNavElement;
1876
+ new (): HTMLXplSecondaryNavElement;
1877
+ };
1878
+ interface HTMLXplSelectElementEventMap {
1879
+ "selectChange": string;
1880
+ "changeEvent": string | string[];
1881
+ "dropdownStateChange": boolean;
1882
+ "triggerDropdown": {
1883
+ prevState: boolean;
1884
+ nextState: boolean;
1885
+ };
1886
+ }
1887
+ interface HTMLXplSelectElement extends Components.XplSelect, HTMLStencilElement {
1888
+ addEventListener<K extends keyof HTMLXplSelectElementEventMap>(type: K, listener: (this: HTMLXplSelectElement, ev: XplSelectCustomEvent<HTMLXplSelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1889
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1890
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1891
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1892
+ removeEventListener<K extends keyof HTMLXplSelectElementEventMap>(type: K, listener: (this: HTMLXplSelectElement, ev: XplSelectCustomEvent<HTMLXplSelectElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1893
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1894
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1895
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1896
+ }
1897
+ var HTMLXplSelectElement: {
1898
+ prototype: HTMLXplSelectElement;
1899
+ new (): HTMLXplSelectElement;
1900
+ };
1901
+ interface HTMLXplSkeletonElement extends Components.XplSkeleton, HTMLStencilElement {
1902
+ }
1903
+ var HTMLXplSkeletonElement: {
1904
+ prototype: HTMLXplSkeletonElement;
1905
+ new (): HTMLXplSkeletonElement;
1906
+ };
1907
+ interface HTMLXplSlideoutElementEventMap {
1908
+ "isOpenChange": boolean;
1909
+ }
1910
+ interface HTMLXplSlideoutElement extends Components.XplSlideout, HTMLStencilElement {
1911
+ addEventListener<K extends keyof HTMLXplSlideoutElementEventMap>(type: K, listener: (this: HTMLXplSlideoutElement, ev: XplSlideoutCustomEvent<HTMLXplSlideoutElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1912
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1913
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1914
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1915
+ removeEventListener<K extends keyof HTMLXplSlideoutElementEventMap>(type: K, listener: (this: HTMLXplSlideoutElement, ev: XplSlideoutCustomEvent<HTMLXplSlideoutElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1916
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1917
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1918
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1919
+ }
1920
+ var HTMLXplSlideoutElement: {
1921
+ prototype: HTMLXplSlideoutElement;
1922
+ new (): HTMLXplSlideoutElement;
1923
+ };
1924
+ interface HTMLXplTabElementEventMap {
1925
+ "tabChange": string;
1926
+ }
1927
+ interface HTMLXplTabElement extends Components.XplTab, HTMLStencilElement {
1928
+ addEventListener<K extends keyof HTMLXplTabElementEventMap>(type: K, listener: (this: HTMLXplTabElement, ev: XplTabCustomEvent<HTMLXplTabElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1929
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1930
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1931
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1932
+ removeEventListener<K extends keyof HTMLXplTabElementEventMap>(type: K, listener: (this: HTMLXplTabElement, ev: XplTabCustomEvent<HTMLXplTabElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1933
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1934
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1935
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1936
+ }
1937
+ var HTMLXplTabElement: {
1938
+ prototype: HTMLXplTabElement;
1939
+ new (): HTMLXplTabElement;
1940
+ };
1941
+ interface HTMLXplTabPanelElement extends Components.XplTabPanel, HTMLStencilElement {
1942
+ }
1943
+ var HTMLXplTabPanelElement: {
1944
+ prototype: HTMLXplTabPanelElement;
1945
+ new (): HTMLXplTabPanelElement;
1946
+ };
1947
+ interface HTMLXplTableElementEventMap {
1948
+ "tableSelect": any;
1949
+ "sortChanged": {
1950
+ colNum: number;
1951
+ colName: string;
1952
+ sortTypeArr: string[];
1953
+ };
1954
+ }
1955
+ interface HTMLXplTableElement extends Components.XplTable, HTMLStencilElement {
1956
+ addEventListener<K extends keyof HTMLXplTableElementEventMap>(type: K, listener: (this: HTMLXplTableElement, ev: XplTableCustomEvent<HTMLXplTableElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1957
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1958
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1959
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1960
+ removeEventListener<K extends keyof HTMLXplTableElementEventMap>(type: K, listener: (this: HTMLXplTableElement, ev: XplTableCustomEvent<HTMLXplTableElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1961
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1962
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1963
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1964
+ }
1965
+ var HTMLXplTableElement: {
1966
+ prototype: HTMLXplTableElement;
1967
+ new (): HTMLXplTableElement;
1968
+ };
1969
+ interface HTMLXplTableHeaderElement extends Components.XplTableHeader, HTMLStencilElement {
1970
+ }
1971
+ var HTMLXplTableHeaderElement: {
1972
+ prototype: HTMLXplTableHeaderElement;
1973
+ new (): HTMLXplTableHeaderElement;
1974
+ };
1975
+ interface HTMLXplTableHeaderCellElementEventMap {
1976
+ "sortChanged": 'asc' | 'desc' | 'none';
1977
+ }
1978
+ interface HTMLXplTableHeaderCellElement extends Components.XplTableHeaderCell, HTMLStencilElement {
1979
+ addEventListener<K extends keyof HTMLXplTableHeaderCellElementEventMap>(type: K, listener: (this: HTMLXplTableHeaderCellElement, ev: XplTableHeaderCellCustomEvent<HTMLXplTableHeaderCellElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1980
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1981
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1982
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1983
+ removeEventListener<K extends keyof HTMLXplTableHeaderCellElementEventMap>(type: K, listener: (this: HTMLXplTableHeaderCellElement, ev: XplTableHeaderCellCustomEvent<HTMLXplTableHeaderCellElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1984
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1985
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1986
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1987
+ }
1988
+ var HTMLXplTableHeaderCellElement: {
1989
+ prototype: HTMLXplTableHeaderCellElement;
1990
+ new (): HTMLXplTableHeaderCellElement;
1991
+ };
1992
+ interface HTMLXplTabsElementEventMap {
1993
+ "tabChange": string;
1994
+ }
1995
+ interface HTMLXplTabsElement extends Components.XplTabs, HTMLStencilElement {
1996
+ addEventListener<K extends keyof HTMLXplTabsElementEventMap>(type: K, listener: (this: HTMLXplTabsElement, ev: XplTabsCustomEvent<HTMLXplTabsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1997
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1998
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1999
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
2000
+ removeEventListener<K extends keyof HTMLXplTabsElementEventMap>(type: K, listener: (this: HTMLXplTabsElement, ev: XplTabsCustomEvent<HTMLXplTabsElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
2001
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
2002
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
2003
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
2004
+ }
2005
+ var HTMLXplTabsElement: {
2006
+ prototype: HTMLXplTabsElement;
2007
+ new (): HTMLXplTabsElement;
2008
+ };
2009
+ interface HTMLXplTagElementEventMap {
2010
+ "close": any;
2011
+ }
2012
+ interface HTMLXplTagElement extends Components.XplTag, HTMLStencilElement {
2013
+ addEventListener<K extends keyof HTMLXplTagElementEventMap>(type: K, listener: (this: HTMLXplTagElement, ev: XplTagCustomEvent<HTMLXplTagElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
2014
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2015
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2016
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
2017
+ removeEventListener<K extends keyof HTMLXplTagElementEventMap>(type: K, listener: (this: HTMLXplTagElement, ev: XplTagCustomEvent<HTMLXplTagElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
2018
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
2019
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
2020
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
2021
+ }
2022
+ var HTMLXplTagElement: {
2023
+ prototype: HTMLXplTagElement;
2024
+ new (): HTMLXplTagElement;
2025
+ };
2026
+ interface HTMLXplToastElement extends Components.XplToast, HTMLStencilElement {
2027
+ }
2028
+ var HTMLXplToastElement: {
2029
+ prototype: HTMLXplToastElement;
2030
+ new (): HTMLXplToastElement;
2031
+ };
2032
+ interface HTMLXplToggleElement extends Components.XplToggle, HTMLStencilElement {
2033
+ }
2034
+ var HTMLXplToggleElement: {
2035
+ prototype: HTMLXplToggleElement;
2036
+ new (): HTMLXplToggleElement;
2037
+ };
2038
+ interface HTMLXplToolbarElement extends Components.XplToolbar, HTMLStencilElement {
2039
+ }
2040
+ var HTMLXplToolbarElement: {
2041
+ prototype: HTMLXplToolbarElement;
2042
+ new (): HTMLXplToolbarElement;
2043
+ };
2044
+ interface HTMLXplTooltipElement extends Components.XplTooltip, HTMLStencilElement {
2045
+ }
2046
+ var HTMLXplTooltipElement: {
2047
+ prototype: HTMLXplTooltipElement;
2048
+ new (): HTMLXplTooltipElement;
2049
+ };
2050
+ interface HTMLXplUtilityBarElementEventMap {
2051
+ "navOpen": boolean;
2052
+ }
2053
+ interface HTMLXplUtilityBarElement extends Components.XplUtilityBar, HTMLStencilElement {
2054
+ addEventListener<K extends keyof HTMLXplUtilityBarElementEventMap>(type: K, listener: (this: HTMLXplUtilityBarElement, ev: XplUtilityBarCustomEvent<HTMLXplUtilityBarElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
2055
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2056
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2057
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
2058
+ removeEventListener<K extends keyof HTMLXplUtilityBarElementEventMap>(type: K, listener: (this: HTMLXplUtilityBarElement, ev: XplUtilityBarCustomEvent<HTMLXplUtilityBarElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
2059
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
2060
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
2061
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
2062
+ }
2063
+ var HTMLXplUtilityBarElement: {
2064
+ prototype: HTMLXplUtilityBarElement;
2065
+ new (): HTMLXplUtilityBarElement;
2066
+ };
2067
+ interface HTMLElementTagNameMap {
2068
+ "xpl-accordion": HTMLXplAccordionElement;
2069
+ "xpl-application-shell": HTMLXplApplicationShellElement;
2070
+ "xpl-avatar": HTMLXplAvatarElement;
2071
+ "xpl-backdrop": HTMLXplBackdropElement;
2072
+ "xpl-badge": HTMLXplBadgeElement;
2073
+ "xpl-breadcrumb-item": HTMLXplBreadcrumbItemElement;
2074
+ "xpl-breadcrumbs": HTMLXplBreadcrumbsElement;
2075
+ "xpl-button": HTMLXplButtonElement;
2076
+ "xpl-button-row": HTMLXplButtonRowElement;
2077
+ "xpl-calendar": HTMLXplCalendarElement;
2078
+ "xpl-checkbox": HTMLXplCheckboxElement;
2079
+ "xpl-choicelist": HTMLXplChoicelistElement;
2080
+ "xpl-content-area": HTMLXplContentAreaElement;
2081
+ "xpl-dashboard": HTMLXplDashboardElement;
2082
+ "xpl-data-card": HTMLXplDataCardElement;
2083
+ "xpl-divider": HTMLXplDividerElement;
2084
+ "xpl-dropdown": HTMLXplDropdownElement;
2085
+ "xpl-dropdown-group": HTMLXplDropdownGroupElement;
2086
+ "xpl-dropdown-heading": HTMLXplDropdownHeadingElement;
2087
+ "xpl-dropdown-option": HTMLXplDropdownOptionElement;
2088
+ "xpl-dynamic-table": HTMLXplDynamicTableElement;
2089
+ "xpl-dynamic-table-cell": HTMLXplDynamicTableCellElement;
2090
+ "xpl-dynamic-table-row": HTMLXplDynamicTableRowElement;
2091
+ "xpl-grid": HTMLXplGridElement;
2092
+ "xpl-grid-item": HTMLXplGridItemElement;
2093
+ "xpl-header-accordion": HTMLXplHeaderAccordionElement;
2094
+ "xpl-icon": HTMLXplIconElement;
2095
+ "xpl-input": HTMLXplInputElement;
2096
+ "xpl-input-color": HTMLXplInputColorElement;
2097
+ "xpl-input-date": HTMLXplInputDateElement;
2098
+ "xpl-input-file": HTMLXplInputFileElement;
2099
+ "xpl-input-time": HTMLXplInputTimeElement;
2100
+ "xpl-large-card": HTMLXplLargeCardElement;
2101
+ "xpl-list": HTMLXplListElement;
2102
+ "xpl-main-nav": HTMLXplMainNavElement;
2103
+ "xpl-modal": HTMLXplModalElement;
2104
+ "xpl-nav-item": HTMLXplNavItemElement;
2105
+ "xpl-pagination": HTMLXplPaginationElement;
2106
+ "xpl-popover": HTMLXplPopoverElement;
2107
+ "xpl-progress": HTMLXplProgressElement;
2108
+ "xpl-radio": HTMLXplRadioElement;
2109
+ "xpl-secondary-nav": HTMLXplSecondaryNavElement;
2110
+ "xpl-select": HTMLXplSelectElement;
2111
+ "xpl-skeleton": HTMLXplSkeletonElement;
2112
+ "xpl-slideout": HTMLXplSlideoutElement;
2113
+ "xpl-tab": HTMLXplTabElement;
2114
+ "xpl-tab-panel": HTMLXplTabPanelElement;
2115
+ "xpl-table": HTMLXplTableElement;
2116
+ "xpl-table-header": HTMLXplTableHeaderElement;
2117
+ "xpl-table-header-cell": HTMLXplTableHeaderCellElement;
2118
+ "xpl-tabs": HTMLXplTabsElement;
2119
+ "xpl-tag": HTMLXplTagElement;
2120
+ "xpl-toast": HTMLXplToastElement;
2121
+ "xpl-toggle": HTMLXplToggleElement;
2122
+ "xpl-toolbar": HTMLXplToolbarElement;
2123
+ "xpl-tooltip": HTMLXplTooltipElement;
2124
+ "xpl-utility-bar": HTMLXplUtilityBarElement;
2125
+ }
2126
+ }
2127
+ declare namespace LocalJSX {
2128
+ interface XplAccordion {
2129
+ /**
2130
+ * set the border of the accordion none: there’s no border wrapping the header bottom:there’s a border below the header bordered: the header is wrapped by a white panel with a rounded border around it on every side
2131
+ * @default 'none'
2132
+ */
2133
+ "borderType"?: '' | 'none' | 'bottom' | 'bordered';
2134
+ /**
2135
+ * An optional id of the content slot
2136
+ */
2137
+ "contentId"?: string;
2138
+ /**
2139
+ * if defined, a text field that displays under the header
2140
+ */
2141
+ "description"?: string;
2142
+ /**
2143
+ * Sets the text for the header of the accordion
2144
+ */
2145
+ "header"?: string;
2146
+ /**
2147
+ * Set if the content is shown false: the accordion is collapsed (default) true: the accordion is expanded
2148
+ * @default false
2149
+ */
2150
+ "initialExpanded"?: boolean;
2151
+ /**
2152
+ * Set the size of the header and icon size can be 1(default),2,3
2153
+ * @default '3'
2154
+ */
2155
+ "size"?: '1' | '2' | '3';
2156
+ }
2157
+ interface XplApplicationShell {
2158
+ /**
2159
+ * @property {boolean} - *
2160
+ * @property {boolean} - Optional property that defines whether or not the main nav is open at startup.
2161
+ */
2162
+ "isNavOpenAtStartup"?: boolean;
2163
+ /**
2164
+ * @property {string} - The width of the main navigation bar, can be passed or updated when nav-width event is emitted.
2165
+ * @default 'default'
2166
+ */
2167
+ "navWidth"?: string;
2168
+ /**
2169
+ * @property {boolean} - Whether or not the Grid should have space for a secondary (sub) navigation bar
2170
+ * @default false
2171
+ */
2172
+ "withSubnav"?: boolean;
2173
+ /**
2174
+ * @property {boolean} - Whether or not the Grid should have space for a utility bar
2175
+ * @default true
2176
+ */
2177
+ "withUtility"?: boolean;
453
2178
  }
454
- var HTMLXplBackdropElement: {
455
- prototype: HTMLXplBackdropElement;
456
- new (): HTMLXplBackdropElement;
457
- };
458
- interface HTMLXplBadgeElement extends Components.XplBadge, HTMLStencilElement {
2179
+ interface XplAvatar {
2180
+ /**
2181
+ * Background color when there is no image src
2182
+ */
2183
+ "color"?: 'green' | 'yellow' | 'pink' | 'primary' | 'secondary';
2184
+ /**
2185
+ * Sets a disabled state on the avatar when set to true
2186
+ * @default false
2187
+ */
2188
+ "disabled"?: boolean;
2189
+ /**
2190
+ * The URL if the avatar should be hyperlinked
2191
+ */
2192
+ "href"?: string;
2193
+ /**
2194
+ * Alt text for the image if there is an image src
2195
+ */
2196
+ "name"?: string;
2197
+ /**
2198
+ * Size of the avatar
2199
+ */
2200
+ "size"?: 'md' | 'sm';
2201
+ /**
2202
+ * The image URL
2203
+ */
2204
+ "src"?: string;
2205
+ /**
2206
+ * Color styles for the dot indicator to indicate varied states
2207
+ */
2208
+ "status"?: 'active' | 'warning' | 'inactive';
2209
+ /**
2210
+ * Where to open the URL chosen for the `href` prop: `_self` (default), `_blank`, `_parent`, or `_top`
2211
+ */
2212
+ "target"?: string;
459
2213
  }
460
- var HTMLXplBadgeElement: {
461
- prototype: HTMLXplBadgeElement;
462
- new (): HTMLXplBadgeElement;
463
- };
464
- interface HTMLXplBreadcrumbItemElement extends Components.XplBreadcrumbItem, HTMLStencilElement {
2214
+ interface XplBackdrop {
2215
+ /**
2216
+ * @property {boolean} - When true, backdrop will have relative position. This is useful when the backdrop doesn't cover the whole view area. If false, the position will be fixed and cover the whole view area.
2217
+ * @default false
2218
+ */
2219
+ "relative"?: boolean;
465
2220
  }
466
- var HTMLXplBreadcrumbItemElement: {
467
- prototype: HTMLXplBreadcrumbItemElement;
468
- new (): HTMLXplBreadcrumbItemElement;
469
- };
470
- interface HTMLXplBreadcrumbsElement extends Components.XplBreadcrumbs, HTMLStencilElement {
2221
+ interface XplBadge {
2222
+ /**
2223
+ * Whether badge shows a dot icon before the text
2224
+ */
2225
+ "dot"?: boolean;
2226
+ /**
2227
+ * Color styles to indicate varied states
2228
+ */
2229
+ "variant"?: 'success' | 'warning' | 'inactive' | 'error';
471
2230
  }
472
- var HTMLXplBreadcrumbsElement: {
473
- prototype: HTMLXplBreadcrumbsElement;
474
- new (): HTMLXplBreadcrumbsElement;
475
- };
476
- interface HTMLXplButtonElement extends Components.XplButton, HTMLStencilElement {
2231
+ interface XplBreadcrumbItem {
477
2232
  }
478
- var HTMLXplButtonElement: {
479
- prototype: HTMLXplButtonElement;
480
- new (): HTMLXplButtonElement;
481
- };
482
- interface HTMLXplButtonRowElement extends Components.XplButtonRow, HTMLStencilElement {
2233
+ interface XplBreadcrumbs {
483
2234
  }
484
- var HTMLXplButtonRowElement: {
485
- prototype: HTMLXplButtonRowElement;
486
- new (): HTMLXplButtonRowElement;
487
- };
488
- interface HTMLXplCheckboxElement extends Components.XplCheckbox, HTMLStencilElement {
2235
+ interface XplButton {
2236
+ /**
2237
+ * whether button should be disabled
2238
+ */
2239
+ "disabled"?: boolean;
2240
+ /**
2241
+ * @property {string} - An optional form attribute for the button if type is submit
2242
+ */
2243
+ "form"?: string;
2244
+ /**
2245
+ * whether button should render with full width
2246
+ */
2247
+ "fullWidth"?: boolean;
2248
+ /**
2249
+ * whether button should render icon only
2250
+ */
2251
+ "iconOnly"?: boolean;
2252
+ /**
2253
+ * whether button should yield a slot for a link tag
2254
+ */
2255
+ "link"?: boolean;
2256
+ /**
2257
+ * @property {string} - button name attribute
2258
+ */
2259
+ "name"?: string;
2260
+ /**
2261
+ * @property {"default" | "sm" | "xs"} - button size
2262
+ * @default 'default'
2263
+ */
2264
+ "size"?: 'default' | 'sm' | 'xs';
2265
+ /**
2266
+ * @property {"neutral" | "warning" | "success"} - button state (color) neutral=purple, success=green, warning=red
2267
+ * @default 'neutral'
2268
+ */
2269
+ "state"?: 'neutral' | 'warning' | 'success';
2270
+ /**
2271
+ * @property {"submit" | "reset" | "button"} - button type attribute
2272
+ */
2273
+ "type"?: 'submit' | 'reset' | 'button';
2274
+ /**
2275
+ * @property {string} - button value attribute
2276
+ */
2277
+ "value"?: string;
2278
+ /**
2279
+ * @property {"primary" | "secondary" | "subtle"} - button variant
2280
+ * @default 'primary'
2281
+ */
2282
+ "variant"?: 'primary' | 'secondary' | 'subtle';
489
2283
  }
490
- var HTMLXplCheckboxElement: {
491
- prototype: HTMLXplCheckboxElement;
492
- new (): HTMLXplCheckboxElement;
493
- };
494
- interface HTMLXplChoicelistElement extends Components.XplChoicelist, HTMLStencilElement {
2284
+ interface XplButtonRow {
2285
+ /**
2286
+ * Fires on the primary button. If not set, the button can act as a standard submit button for a form.
2287
+ */
2288
+ "onClickPrimary"?: (event: XplButtonRowCustomEvent<any>) => void;
2289
+ /**
2290
+ * Adds an event listener to the secondary button.
2291
+ */
2292
+ "onClickSecondary"?: (event: XplButtonRowCustomEvent<any>) => void;
2293
+ /**
2294
+ * Adds an event listener to the tertiary button.
2295
+ */
2296
+ "onClickTertiary"?: (event: XplButtonRowCustomEvent<any>) => void;
2297
+ /**
2298
+ * The text for the primary button.
2299
+ */
2300
+ "primary"?: 'string';
2301
+ /**
2302
+ * The text for the secondary button. If left empty, will not render a secondary button.
2303
+ */
2304
+ "secondary"?: 'string';
2305
+ /**
2306
+ * The text for the tertiary button. If left empty, will not render a secondary button.
2307
+ */
2308
+ "tertiary"?: 'string';
495
2309
  }
496
- var HTMLXplChoicelistElement: {
497
- prototype: HTMLXplChoicelistElement;
498
- new (): HTMLXplChoicelistElement;
499
- };
500
- interface HTMLXplContentAreaElement extends Components.XplContentArea, HTMLStencilElement {
2310
+ interface XplCalendar {
2311
+ /**
2312
+ * Format of the date displayed in the calendar. Default is 'Y-m-d'.
2313
+ * @default 'Y-m-d'
2314
+ */
2315
+ "dateFormat"?: string;
2316
+ /**
2317
+ * Default date to be displayed when the calendar is first loaded.
2318
+ */
2319
+ "defaultDate"?: string;
2320
+ /**
2321
+ * Unique identifier for the calendar element.
2322
+ * @default uuid()
2323
+ */
2324
+ "inputId"?: string;
2325
+ /**
2326
+ * Maximum selectable date in the calendar.
2327
+ */
2328
+ "max"?: number | string;
2329
+ /**
2330
+ * Minimum selectable date in the calendar.
2331
+ */
2332
+ "min"?: number | string;
2333
+ /**
2334
+ * Mode of the calendar, either 'single' for single date selection or 'range' for selecting a range of dates. Default is 'single'.
2335
+ * @default 'single'
2336
+ */
2337
+ "mode"?: 'single' | 'range';
2338
+ /**
2339
+ * Event emitted when a date is selected
2340
+ */
2341
+ "onDateSelected"?: (event: XplCalendarCustomEvent<string | string[]>) => void;
501
2342
  }
502
- var HTMLXplContentAreaElement: {
503
- prototype: HTMLXplContentAreaElement;
504
- new (): HTMLXplContentAreaElement;
505
- };
506
- interface HTMLXplDividerElement extends Components.XplDivider, HTMLStencilElement {
2343
+ interface XplCheckbox {
2344
+ /**
2345
+ * Whether the input is checked
2346
+ */
2347
+ "checked"?: boolean;
2348
+ /**
2349
+ * A custom data attribute for the checkbox
2350
+ */
2351
+ "dataId"?: string;
2352
+ /**
2353
+ * Description text for the field
2354
+ */
2355
+ "description"?: string;
2356
+ /**
2357
+ * Whether the input is disabled
2358
+ */
2359
+ "disabled"?: boolean;
2360
+ /**
2361
+ * A visual state for when the input has not been interacted with
2362
+ */
2363
+ "indeterminate"?: boolean;
2364
+ /**
2365
+ * The name attribute for the html input. (submitted in form as name/value pair)
2366
+ */
2367
+ "name"?: string;
2368
+ /**
2369
+ * 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
2370
+ */
2371
+ "onCheckboxChange"?: (event: XplCheckboxCustomEvent<string | boolean>) => void;
2372
+ /**
2373
+ * Whether the input is required
2374
+ */
2375
+ "required"?: boolean;
2376
+ /**
2377
+ * Whether the input is contained in a box with a border and a background
2378
+ */
2379
+ "styled"?: boolean;
2380
+ /**
2381
+ * The value attribute for the checkbox input. (submittted in form as name/value pair)
2382
+ */
2383
+ "value"?: string;
507
2384
  }
508
- var HTMLXplDividerElement: {
509
- prototype: HTMLXplDividerElement;
510
- new (): HTMLXplDividerElement;
511
- };
512
- interface HTMLXplDropdownElement extends Components.XplDropdown, HTMLStencilElement {
2385
+ interface XplChoicelist {
2386
+ /**
2387
+ * 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]
2388
+ */
2389
+ "choices"?: Choice[];
2390
+ /**
2391
+ * Descriptive text to be displayed above the choice-list.
2392
+ */
2393
+ "description"?: string;
2394
+ /**
2395
+ * The title text to be displayed above the choice-list.
2396
+ */
2397
+ "heading"?: string;
2398
+ /**
2399
+ * Whether the user can select more than one choice (true) or only a single choice (false). Corresponds to checkboxes vs. radio buttons.
2400
+ */
2401
+ "multi"?: boolean;
2402
+ /**
2403
+ * The `name` to be associated with form data.
2404
+ * @default uuid()
2405
+ */
2406
+ "name"?: string;
2407
+ /**
2408
+ * 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.
2409
+ */
2410
+ "onChoicelistChange"?: (event: XplChoicelistCustomEvent<boolean[]>) => void;
2411
+ /**
2412
+ * 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.
2413
+ */
2414
+ "onChoicelistValueChange"?: (event: XplChoicelistCustomEvent<string | boolean | (string | boolean)[]>) => void;
2415
+ /**
2416
+ * If `true`, will include borders around the list and between individual choices.
2417
+ */
2418
+ "styled"?: boolean;
513
2419
  }
514
- var HTMLXplDropdownElement: {
515
- prototype: HTMLXplDropdownElement;
516
- new (): HTMLXplDropdownElement;
517
- };
518
- interface HTMLXplDropdownGroupElement extends Components.XplDropdownGroup, HTMLStencilElement {
2420
+ interface XplContentArea {
2421
+ /**
2422
+ * @property {string} size - The content-area size.
2423
+ * @default 'wide'
2424
+ */
2425
+ "size"?: 'wide' | 'narrow' | 'full';
519
2426
  }
520
- var HTMLXplDropdownGroupElement: {
521
- prototype: HTMLXplDropdownGroupElement;
522
- new (): HTMLXplDropdownGroupElement;
523
- };
524
- interface HTMLXplDropdownHeadingElement extends Components.XplDropdownHeading, HTMLStencilElement {
2427
+ interface XplDashboard {
525
2428
  }
526
- var HTMLXplDropdownHeadingElement: {
527
- prototype: HTMLXplDropdownHeadingElement;
528
- new (): HTMLXplDropdownHeadingElement;
529
- };
530
- interface HTMLXplDropdownOptionElement extends Components.XplDropdownOption, HTMLStencilElement {
2429
+ interface XplDataCard {
2430
+ /**
2431
+ * An optional field that typically describes or modifies the small stat
2432
+ */
2433
+ "detail"?: string;
2434
+ /**
2435
+ * An optional icon leading the header. Uses <xpl-icon /> components and should reinforce the understanding of the smallStat metric shown.
2436
+ */
2437
+ "icon"?: IconName;
2438
+ /**
2439
+ * Whether to display the icon or not.
2440
+ * @default true
2441
+ */
2442
+ "leadingIcon"?: boolean;
2443
+ /**
2444
+ * Whether the card is a link
2445
+ */
2446
+ "link"?: boolean;
2447
+ /**
2448
+ * Name Term
2449
+ */
2450
+ "name"?: string;
2451
+ /**
2452
+ * Detail, stat, or value to be displayed in short format. Will be rendered when card is smaller than 441px.
2453
+ */
2454
+ "shortStat"?: string;
2455
+ /**
2456
+ * An Optional stat further enhancing the main metric of the card.
2457
+ */
2458
+ "smallStat"?: string;
2459
+ /**
2460
+ * An optional icon leading the small stat. Uses <xpl-icon> components and should reinforce the understanding of the smallStat metric shown.
2461
+ */
2462
+ "smallStatIcon"?: IconName;
2463
+ /**
2464
+ * set a variant that changes the color of the small stat based on the following rules: If trend is positive and greater than 0.5% color is green and up-right arrow is used If the trend is between -0.5% and 0.5% then its neutral the color is gray If the trend is negative less than -0.5% the color is red and down right arrow is used
2465
+ */
2466
+ "smallStatVariant"?: 'positive' | 'negative' | 'neutral';
2467
+ /**
2468
+ * Detail, stat, or value to be displayed. Will be rendered when card is larger than 441px. Will also appear in the tooltip when shortStat is shown.
2469
+ */
2470
+ "stat"?: string;
2471
+ /**
2472
+ * An optional field for tooltip text of small stat
2473
+ * @default ''
2474
+ */
2475
+ "tooltipTextSmallStat"?: string;
2476
+ /**
2477
+ * An optional field for tooltip text of stat
2478
+ * @default ''
2479
+ */
2480
+ "tooltipTextStat"?: string;
2481
+ /**
2482
+ * Color variant. Used to set the icon color and background.
2483
+ */
2484
+ "variant"?: 'primary' | 'secondary';
531
2485
  }
532
- var HTMLXplDropdownOptionElement: {
533
- prototype: HTMLXplDropdownOptionElement;
534
- new (): HTMLXplDropdownOptionElement;
535
- };
536
- interface HTMLXplGridElement extends Components.XplGrid, HTMLStencilElement {
2486
+ interface XplDivider {
2487
+ /**
2488
+ * The tier should be an integer between 0 and 3. Tier 0 dividers do not display text, and 1-3 increase in size with each increasing tier.
2489
+ */
2490
+ "tier"?: number;
537
2491
  }
538
- var HTMLXplGridElement: {
539
- prototype: HTMLXplGridElement;
540
- new (): HTMLXplGridElement;
541
- };
542
- interface HTMLXplGridItemElement extends Components.XplGridItem, HTMLStencilElement {
2492
+ interface XplDropdown {
2493
+ /**
2494
+ * whether to anchor the dropdown to the trigger element, requires triggerId to be set
2495
+ * @default false
2496
+ */
2497
+ "anchorToTrigger"?: boolean;
2498
+ /**
2499
+ * options that are listed
2500
+ * @default true
2501
+ */
2502
+ "closeOnSelect"?: boolean;
2503
+ /**
2504
+ * text to display as heading
2505
+ * @default false
2506
+ */
2507
+ "isOpen"?: boolean;
2508
+ /**
2509
+ * constant representing number of options that can be selected
2510
+ * @default 'single'
2511
+ */
2512
+ "mode"?: 'single' | 'multi';
2513
+ /**
2514
+ * Emitted when the open state of the dropdown changes.
2515
+ */
2516
+ "onIsOpenChange"?: (event: XplDropdownCustomEvent<boolean>) => void;
2517
+ /**
2518
+ * options that are listed
2519
+ */
2520
+ "options"?: DropdownItem[];
2521
+ /**
2522
+ * whether selection should be made when focusing on interactive element
2523
+ * @default false
2524
+ */
2525
+ "selectOnFocus"?: boolean;
2526
+ /**
2527
+ * The currently selected value(s) in the dropdown.
2528
+ */
2529
+ "selectedValues"?: string | string[];
2530
+ /**
2531
+ * the id for the element that triggers the open state
2532
+ */
2533
+ "triggerId"?: string;
2534
+ /**
2535
+ * call back function invoked when a selection is made
2536
+ */
2537
+ "update"?: (e, { component }: { component: XplDropdown }) => void;
543
2538
  }
544
- var HTMLXplGridItemElement: {
545
- prototype: HTMLXplGridItemElement;
546
- new (): HTMLXplGridItemElement;
547
- };
548
- interface HTMLXplInputElement extends Components.XplInput, HTMLStencilElement {
2539
+ interface XplDropdownGroup {
2540
+ /**
2541
+ * text to display as heading
2542
+ */
2543
+ "groupName"?: string;
2544
+ /**
2545
+ * options that are listed
2546
+ */
2547
+ "options"?: DropdownOptionGroup['options'];
549
2548
  }
550
- var HTMLXplInputElement: {
551
- prototype: HTMLXplInputElement;
552
- new (): HTMLXplInputElement;
553
- };
554
- interface HTMLXplListElement extends Components.XplList, HTMLStencilElement {
2549
+ interface XplDropdownHeading {
2550
+ /**
2551
+ * text to display as heading
2552
+ */
2553
+ "label"?: string;
555
2554
  }
556
- var HTMLXplListElement: {
557
- prototype: HTMLXplListElement;
558
- new (): HTMLXplListElement;
559
- };
560
- interface HTMLXplMainNavElement extends Components.XplMainNav, HTMLStencilElement {
2555
+ interface XplDropdownOption {
2556
+ /**
2557
+ * whether option is disabled
2558
+ */
2559
+ "isDisabled"?: boolean;
2560
+ /**
2561
+ * whether option is selected
2562
+ */
2563
+ "isSelected"?: boolean;
2564
+ /**
2565
+ * text to display for option
2566
+ */
2567
+ "label"?: string;
2568
+ /**
2569
+ * optional subtitle text to display below label
2570
+ */
2571
+ "subtitle"?: string;
2572
+ /**
2573
+ * The selected options value to be submitted with the form, should this option be selected.
2574
+ */
2575
+ "value"?: string;
561
2576
  }
562
- var HTMLXplMainNavElement: {
563
- prototype: HTMLXplMainNavElement;
564
- new (): HTMLXplMainNavElement;
565
- };
566
- interface HTMLXplNavItemElement extends Components.XplNavItem, HTMLStencilElement {
2577
+ interface XplDynamicTable {
2578
+ /**
2579
+ * Emitted when the number of selected items changes.
2580
+ */
2581
+ "onSelectedItemCountChange"?: (event: XplDynamicTableCustomEvent<string[]>) => void;
567
2582
  }
568
- var HTMLXplNavItemElement: {
569
- prototype: HTMLXplNavItemElement;
570
- new (): HTMLXplNavItemElement;
571
- };
572
- interface HTMLXplPaginationElement extends Components.XplPagination, HTMLStencilElement {
2583
+ interface XplDynamicTableCell {
2584
+ /**
2585
+ * Whether the cell and its contents are disabled.
2586
+ * @default false
2587
+ */
2588
+ "disabled"?: boolean;
573
2589
  }
574
- var HTMLXplPaginationElement: {
575
- prototype: HTMLXplPaginationElement;
576
- new (): HTMLXplPaginationElement;
577
- };
578
- interface HTMLXplRadioElement extends Components.XplRadio, HTMLStencilElement {
2590
+ interface XplDynamicTableRow {
2591
+ /**
2592
+ * Whether the row and its cells are disabled.
2593
+ * @default false
2594
+ */
2595
+ "disabled"?: boolean;
2596
+ /**
2597
+ * Whether the row is selected.
2598
+ * @default false
2599
+ */
2600
+ "selected"?: boolean;
579
2601
  }
580
- var HTMLXplRadioElement: {
581
- prototype: HTMLXplRadioElement;
582
- new (): HTMLXplRadioElement;
583
- };
584
- interface HTMLXplSecondaryNavElement extends Components.XplSecondaryNav, HTMLStencilElement {
2602
+ interface XplGrid {
585
2603
  }
586
- var HTMLXplSecondaryNavElement: {
587
- prototype: HTMLXplSecondaryNavElement;
588
- new (): HTMLXplSecondaryNavElement;
589
- };
590
- interface HTMLXplSelectElement extends Components.XplSelect, HTMLStencilElement {
2604
+ interface XplGridItem {
2605
+ /**
2606
+ * The number of columns the element should span out of a 6 column grid on a lg size screen
2607
+ * @default 6
2608
+ */
2609
+ "lg"?: number;
2610
+ /**
2611
+ * The number of columns the element should span out of a 6 column grid on a md size screen
2612
+ * @default 6
2613
+ */
2614
+ "md"?: number;
2615
+ /**
2616
+ * The number of columns the element should span out of a 6 column grid on a sm size screen
2617
+ * @default 6
2618
+ */
2619
+ "sm"?: number;
2620
+ /**
2621
+ * The number of columns the element should span out of a 6 column grid on a xs size screen
2622
+ * @default 6
2623
+ */
2624
+ "xs"?: number;
591
2625
  }
592
- var HTMLXplSelectElement: {
593
- prototype: HTMLXplSelectElement;
594
- new (): HTMLXplSelectElement;
595
- };
596
- interface HTMLXplTableElement extends Components.XplTable, HTMLStencilElement {
2626
+ interface XplHeaderAccordion {
2627
+ /**
2628
+ * The id of the content region controlled by the accordion.
2629
+ */
2630
+ "contentId"?: string;
2631
+ /**
2632
+ * Whether the accordion is disabled.
2633
+ * @default false
2634
+ */
2635
+ "disabled"?: boolean;
2636
+ /**
2637
+ * Whether to display a parent checkbox in the accordion header.
2638
+ * @default true
2639
+ */
2640
+ "hasCheckbox"?: boolean;
2641
+ /**
2642
+ * Whether the accordion is expanded initially.
2643
+ * @default false
2644
+ */
2645
+ "initialExpanded"?: boolean;
2646
+ /**
2647
+ * The number of selected child items, or -1 to auto-calculate.
2648
+ * @default -1
2649
+ */
2650
+ "selectedCount"?: number;
597
2651
  }
598
- var HTMLXplTableElement: {
599
- prototype: HTMLXplTableElement;
600
- new (): HTMLXplTableElement;
601
- };
602
- interface HTMLXplTagElement extends Components.XplTag, HTMLStencilElement {
2652
+ interface XplIcon {
2653
+ /**
2654
+ * Icon's background color.
2655
+ */
2656
+ "backgroundColor"?: string;
2657
+ /**
2658
+ * Name of icon
2659
+ */
2660
+ "icon"?: IconName1;
2661
+ /**
2662
+ * Size of icon
2663
+ */
2664
+ "size"?: number;
603
2665
  }
604
- var HTMLXplTagElement: {
605
- prototype: HTMLXplTagElement;
606
- new (): HTMLXplTagElement;
607
- };
608
- interface HTMLXplToggleElement extends Components.XplToggle, HTMLStencilElement {
2666
+ interface XplInput {
2667
+ /**
2668
+ * Because `id` is a reserved HTMLElement attribute, we prefix it with an underscore here so that it doesn't get automatically applied to the outer container. Applies to all input types.
2669
+ */
2670
+ "_id"?: string;
2671
+ /**
2672
+ * The accepted file types for the file input. Corresponds to the `accept` attribute on the input element. Example: 'image/*' for all image types, '.pdf' for PDF files, etc. Applies to file inputs.
2673
+ * @default ''
2674
+ */
2675
+ "accept"?: string;
2676
+ /**
2677
+ * For time inputs, whether to allow custom option in the input even if not available in the dropdown. Example: A step of 30 minutes will allow 15:03, 15:37, etc. Applies to time inputs.
2678
+ * @default false
2679
+ */
2680
+ "allowCustomOption"?: boolean;
2681
+ /**
2682
+ * Hint for form autofill feature Applies to text, password, number.
2683
+ */
2684
+ "autocomplete"?: string;
2685
+ /**
2686
+ * The date format to use for the datepicker input. This is used by flatpickr to format the date. Default is 'Y-m-d' (e.g., 2023-10-01). See https://flatpickr.js.org/formatting/ for more details. Applies to date inputs.
2687
+ * @default 'Y-m-d'
2688
+ */
2689
+ "dateFormat"?: string;
2690
+ /**
2691
+ * Optional text that appears below the input label. Applies to all input types.
2692
+ */
2693
+ "description"?: string;
2694
+ /**
2695
+ * Whether the field is disabled Applies to all input types.
2696
+ */
2697
+ "disabled"?: boolean;
2698
+ /**
2699
+ * If an empty string (attribute present with no value), will display visually as an error. If a string is included, will display visually as an error and include the value as an error message. Applies to all input types.
2700
+ */
2701
+ "error"?: string;
2702
+ /**
2703
+ * Hides the "Accept" text that indicates the accepted file types This is useful for cases where you want to hide the "Accept" text. Applies to file inputs.
2704
+ * @default false
2705
+ */
2706
+ "hideAcceptText"?: boolean;
2707
+ /**
2708
+ * Hide eye dropper Applies to color inputs.
2709
+ */
2710
+ "hideEyeDropper"?: boolean;
2711
+ /**
2712
+ * Hides the file names in the file upload component This is useful for cases where you want to hide the file names after selection. Applies to file inputs.
2713
+ * @default false
2714
+ */
2715
+ "hideFileNames"?: boolean;
2716
+ /**
2717
+ * Hides the trigger element when a file is selected. This is useful for cases where you want to hide the trigger after a file is selected. Applies to file inputs.
2718
+ * @default false
2719
+ */
2720
+ "hideTriggerOnSelect"?: boolean;
2721
+ /**
2722
+ * Label text for the field Applies to all input types.
2723
+ */
2724
+ "label"?: string;
2725
+ /**
2726
+ * Maximum value for the input. Applies to number, time, and date inputs. If the input is a time input, the value must be in 24 hour format, ex: 18:25 for 6:25 PM
2727
+ */
2728
+ "max"?: number | string;
2729
+ /**
2730
+ * For multiline inputs, a max. character count will display along with the current character count, and will automatically render as an error if the character count exceeds the max. This is only applicable if `multiline` is `true`.
2731
+ */
2732
+ "maxCharacterCount"?: number;
2733
+ /**
2734
+ * The minimum value for the input. Applies to number, time, and date inputs. If the input is a time input, the value must be in 24 hour format, ex: 05:25 for 5:25 AM
2735
+ */
2736
+ "min"?: number | string;
2737
+ /**
2738
+ * For datepicker inputs, whether to allow only a single date or a range of dates. (Multiple non-consecutive dates planned to be supported in the future.) Applies to date inputs.
2739
+ * @default 'single'
2740
+ */
2741
+ "mode"?: 'single' | /* "multiple" | */ 'range';
2742
+ /**
2743
+ * Whether to render as a singleline text input or as a multiline textarea. (If `true`, `pre` and `post` values will be ignored, if present.) Applies to text inputs.
2744
+ * @default false
2745
+ */
2746
+ "multiline"?: boolean;
2747
+ /**
2748
+ * Whether the user can select multiple files at once. Corresponds to the `multiple` attribute on the input element. Applies to file inputs.
2749
+ * @default false
2750
+ */
2751
+ "multiple"?: boolean;
2752
+ /**
2753
+ * Most inputs are used in forms, and should have a `name` associated with the input for handling form data. Applies to all input types.
2754
+ */
2755
+ "name"?: string;
2756
+ /**
2757
+ * The event handler for the blur event
2758
+ */
2759
+ "onBlurEvent"?: (event: XplInputCustomEvent<FocusEvent>) => void;
2760
+ /**
2761
+ * The event handler for the focus event
2762
+ */
2763
+ "onFocusEvent"?: (event: XplInputCustomEvent<FocusEvent>) => void;
2764
+ /**
2765
+ * Event that emits the current value of the input Applies to text like inputs only.
2766
+ */
2767
+ "onInputEvent"?: (event: XplInputCustomEvent<string>) => void;
2768
+ /**
2769
+ * Event that emits the current value of the input
2770
+ */
2771
+ "onValueChange"?: (event: XplInputCustomEvent<string>) => void;
2772
+ /**
2773
+ * Placeholder text that appears when the field has no value Applies to text, password, number, and date inputs.
2774
+ */
2775
+ "placeholder"?: string;
2776
+ /**
2777
+ * A string (recommended max 3 characters) that gets shown visually to the left of (before) the input. Applies to text, password, number, and date inputs. Note: This will be ignored if `multiline` is `true`.
2778
+ */
2779
+ "post"?: string;
2780
+ /**
2781
+ * A string (recommended max 8 characters) that gets shown visually to the right of (after) the input. Applies to text, password, number, and date inputs. Note: This will be ignored if `multiline` is `true`.
2782
+ */
2783
+ "pre"?: string;
2784
+ /**
2785
+ * Whether the input is editable Applies to text, password, number, and date inputs.
2786
+ */
2787
+ "readonly"?: boolean;
2788
+ /**
2789
+ * Whether the input is required Applies to all input types.
2790
+ */
2791
+ "required"?: boolean;
2792
+ /**
2793
+ * The granularity that the value in a `number` input must adhere to when incrementing or decrementing. The default stepping value for number inputs is 1 Applies to number and time inputs.
2794
+ */
2795
+ "step"?: number;
2796
+ /**
2797
+ * The time format to display for the input. Applies to time inputs. If 12h is selected, the value will be displayed in 12 hour format, ex: 05:25 PM for 17:25 If 24h is selected, the value will be displayed in 24 hour format, ex: 17:25 for 17:25
2798
+ * @default '24h'
2799
+ */
2800
+ "timeFormat"?: '12h' | '24h';
2801
+ /**
2802
+ * The type of form control
2803
+ * @default 'text'
2804
+ */
2805
+ "type"?: 'date' | 'time' | 'text' | 'number' | 'password' | 'file' | 'color';
2806
+ /**
2807
+ * Including a `value` will pre-populate the input with the given string. Applies to text, password, number, and date inputs.
2808
+ */
2809
+ "value"?: string;
609
2810
  }
610
- var HTMLXplToggleElement: {
611
- prototype: HTMLXplToggleElement;
612
- new (): HTMLXplToggleElement;
613
- };
614
- interface HTMLXplUtilityBarElement extends Components.XplUtilityBar, HTMLStencilElement {
2811
+ interface XplInputColor {
2812
+ /**
2813
+ * Indicates whether the color picker is disabled.
2814
+ */
2815
+ "disabled"?: boolean;
2816
+ /**
2817
+ * Hide eye dropper
2818
+ */
2819
+ "hideEyeDropper"?: boolean;
2820
+ /**
2821
+ * Event that is emitted when the hasErrorState state changes.
2822
+ */
2823
+ "onHasErrorStateChanged"?: (event: XplInputColorCustomEvent<string | null>) => void;
2824
+ /**
2825
+ * Event that is emitted when the color value changes.
2826
+ */
2827
+ "onInputChange"?: (event: XplInputColorCustomEvent<string>) => void;
2828
+ /**
2829
+ * Placeholder text for the color input. This is used when no color is selected.
2830
+ * @default 'Select color'
2831
+ */
2832
+ "placeholder"?: string;
2833
+ /**
2834
+ * Indicates whether the color picker is required.
2835
+ */
2836
+ "required"?: boolean;
2837
+ /**
2838
+ * The color value of the picker.
2839
+ */
2840
+ "value"?: string;
615
2841
  }
616
- var HTMLXplUtilityBarElement: {
617
- prototype: HTMLXplUtilityBarElement;
618
- new (): HTMLXplUtilityBarElement;
619
- };
620
- interface HTMLElementTagNameMap {
621
- "xpl-application-shell": HTMLXplApplicationShellElement;
622
- "xpl-avatar": HTMLXplAvatarElement;
623
- "xpl-backdrop": HTMLXplBackdropElement;
624
- "xpl-badge": HTMLXplBadgeElement;
625
- "xpl-breadcrumb-item": HTMLXplBreadcrumbItemElement;
626
- "xpl-breadcrumbs": HTMLXplBreadcrumbsElement;
627
- "xpl-button": HTMLXplButtonElement;
628
- "xpl-button-row": HTMLXplButtonRowElement;
629
- "xpl-checkbox": HTMLXplCheckboxElement;
630
- "xpl-choicelist": HTMLXplChoicelistElement;
631
- "xpl-content-area": HTMLXplContentAreaElement;
632
- "xpl-divider": HTMLXplDividerElement;
633
- "xpl-dropdown": HTMLXplDropdownElement;
634
- "xpl-dropdown-group": HTMLXplDropdownGroupElement;
635
- "xpl-dropdown-heading": HTMLXplDropdownHeadingElement;
636
- "xpl-dropdown-option": HTMLXplDropdownOptionElement;
637
- "xpl-grid": HTMLXplGridElement;
638
- "xpl-grid-item": HTMLXplGridItemElement;
639
- "xpl-input": HTMLXplInputElement;
640
- "xpl-list": HTMLXplListElement;
641
- "xpl-main-nav": HTMLXplMainNavElement;
642
- "xpl-nav-item": HTMLXplNavItemElement;
643
- "xpl-pagination": HTMLXplPaginationElement;
644
- "xpl-radio": HTMLXplRadioElement;
645
- "xpl-secondary-nav": HTMLXplSecondaryNavElement;
646
- "xpl-select": HTMLXplSelectElement;
647
- "xpl-table": HTMLXplTableElement;
648
- "xpl-tag": HTMLXplTagElement;
649
- "xpl-toggle": HTMLXplToggleElement;
650
- "xpl-utility-bar": HTMLXplUtilityBarElement;
2842
+ interface XplInputDate {
2843
+ /**
2844
+ * The date format to use for the datepicker input. This is used by flatpickr to format the date. Default is 'Y-m-d' (e.g., 2023-10-01). See https://flatpickr.js.org/formatting/ for more details.
2845
+ * @default 'Y-m-d'
2846
+ */
2847
+ "dateFormat"?: string;
2848
+ /**
2849
+ * Whether the field is disabled
2850
+ */
2851
+ "disabled"?: boolean;
2852
+ /**
2853
+ * The `inputId` is used to associate the input with a label.
2854
+ */
2855
+ "inputId"?: string;
2856
+ /**
2857
+ * Maximum value for the input.
2858
+ */
2859
+ "max"?: number | string;
2860
+ /**
2861
+ * The minimum value for the input.
2862
+ */
2863
+ "min"?: number | string;
2864
+ /**
2865
+ * For datepicker inputs, whether to allow only a single date or a range of dates. (Multiple non-consecutive dates planned to be supported in the future.)
2866
+ * @default 'single'
2867
+ */
2868
+ "mode"?: 'single' | /* "multiple" | */ 'range';
2869
+ /**
2870
+ * Most inputs are used in forms, and should have a `name` associated with the input for handling form data. Applies to all input types.
2871
+ */
2872
+ "name"?: string;
2873
+ /**
2874
+ * Event that is emitted when the hasErrorState state changes.
2875
+ */
2876
+ "onHasErrorStateChanged"?: (event: XplInputDateCustomEvent<string | null>) => void;
2877
+ /**
2878
+ * Event that emits the selected date range when the mode is 'range'. The emitted value is an object with `start` and `end` properties.
2879
+ */
2880
+ "onRangeSelected"?: (event: XplInputDateCustomEvent<{ start: Date; end: Date }>) => void;
2881
+ /**
2882
+ * Event that emits the current value of the input
2883
+ */
2884
+ "onValueChange"?: (event: XplInputDateCustomEvent<string>) => void;
2885
+ /**
2886
+ * Placeholder text that appears when the field has no value Applies to text, password, number, and date inputs.
2887
+ */
2888
+ "placeholder"?: string;
2889
+ /**
2890
+ * A string (recommended max 3 characters) that gets shown visually to the left of (before) the input.
2891
+ */
2892
+ "post"?: string;
2893
+ /**
2894
+ * A string (recommended max 8 characters) that gets shown visually to the right of (after) the input.
2895
+ */
2896
+ "pre"?: string;
2897
+ /**
2898
+ * Whether the input is editable
2899
+ */
2900
+ "readonly"?: boolean;
2901
+ /**
2902
+ * Whether the input is required
2903
+ */
2904
+ "required"?: boolean;
2905
+ /**
2906
+ * Including a `value` will pre-populate the input with the given string.
2907
+ */
2908
+ "value"?: string;
651
2909
  }
652
- }
653
- declare namespace LocalJSX {
654
- interface XplApplicationShell {
2910
+ /**
2911
+ * `xpl-input-file` is a component that allows users to upload files.
2912
+ */
2913
+ interface XplInputFile {
655
2914
  /**
656
- * @property {boolean} - *
657
- * @property {boolean} - Optional property that defines whether or not the main nav is open at startup.
2915
+ * Because `id` is a reserved HTMLElement attribute, we prefix it with an underscore here so that it doesn't get automatically applied to the outer container.
658
2916
  */
659
- "isNavOpenAtStartup"?: boolean;
2917
+ "_id"?: string;
660
2918
  /**
661
- * @property {string} - The width of the main navigation bar, can be passed or updated when nav-width event is emitted.
2919
+ * The accepted file types for the file input. Corresponds to the `accept` attribute on the input element. Example: 'image/*' for all image types, '.pdf' for PDF files, etc.
2920
+ * @default ''
662
2921
  */
663
- "navWidth"?: string;
2922
+ "accept"?: string;
664
2923
  /**
665
- * @property {boolean} - Whether or not the Grid should have space for a secondary (sub) navigation bar
2924
+ * Whether the field is disabled
666
2925
  */
667
- "withSubnav"?: boolean;
2926
+ "disabled"?: boolean;
668
2927
  /**
669
- * @property {boolean} - Whether or not the Grid should have space for a utility bar
2928
+ * Hides the "Accept" text that indicates the accepted file types
2929
+ * @default false
670
2930
  */
671
- "withUtility"?: boolean;
2931
+ "hideAcceptText"?: boolean;
2932
+ /**
2933
+ * Hides the file names in the file upload component
2934
+ * @default false
2935
+ */
2936
+ "hideFileNames"?: boolean;
2937
+ /**
2938
+ * Hides the trigger element when a file is selected.
2939
+ * @default false
2940
+ */
2941
+ "hideTriggerOnSelect"?: boolean;
2942
+ /**
2943
+ * Whether the user can select multiple files at once. Corresponds to the `multiple` attribute on the input element.
2944
+ * @default false
2945
+ */
2946
+ "multiple"?: boolean;
2947
+ /**
2948
+ * Most inputs are used in forms, and should have a `name` associated with the input for handling form data.
2949
+ */
2950
+ "name"?: string;
2951
+ /**
2952
+ * Event emitted when a file is selected. The event detail contains the FileList object.
2953
+ */
2954
+ "onInputChange"?: (event: XplInputFileCustomEvent<{
2955
+ type: string;
2956
+ value: File[] | null;
2957
+ }>) => void;
672
2958
  }
673
- interface XplAvatar {
674
- "color"?: 'green' | 'yellow' | 'pink' | 'primary' | 'secondary';
2959
+ interface XplInputTime {
2960
+ /**
2961
+ * For time inputs, whether to allow custom option in the input even if not available in the dropdown. Example: A step of 30 minutes will allow 15:03, 15:37, etc. Applies to time inputs.
2962
+ * @default false
2963
+ */
2964
+ "allowCustomOption"?: boolean;
2965
+ /**
2966
+ * Whether the field is disabled
2967
+ */
675
2968
  "disabled"?: boolean;
676
- "href"?: string;
2969
+ /**
2970
+ * The `inputId` is used to associate the input with a label.
2971
+ */
2972
+ "inputId"?: string;
2973
+ /**
2974
+ * Maximum value for the input.
2975
+ * @default '23:59'
2976
+ */
2977
+ "max"?: number | string;
2978
+ /**
2979
+ * The minimum value for the input.
2980
+ * @default '00:00'
2981
+ */
2982
+ "min"?: number | string;
2983
+ /**
2984
+ * Whether the input is a single time or a range of times. Currently, only single time is supported.
2985
+ * @default 'single'
2986
+ */
2987
+ "mode"?: 'single' | 'range';
2988
+ /**
2989
+ * Most inputs are used in forms, and should have a `name` associated with the input for handling form data. Applies to all input types.
2990
+ */
677
2991
  "name"?: string;
678
- "size"?: 'md' | 'sm';
679
- "src"?: string;
680
- "status"?: 'active' | 'warning' | 'inactive';
681
- "target"?: string;
2992
+ /**
2993
+ * Event that is emitted when the hasErrorState state changes.
2994
+ */
2995
+ "onHasErrorStateChanged"?: (event: XplInputTimeCustomEvent<string | null>) => void;
2996
+ /**
2997
+ * Event that emits the current value of the input
2998
+ */
2999
+ "onValueChange"?: (event: XplInputTimeCustomEvent<string>) => void;
3000
+ /**
3001
+ * Placeholder text that appears when the field has no value Applies to text, password, number, and date inputs.
3002
+ */
3003
+ "placeholder"?: string;
3004
+ /**
3005
+ * Whether the input is editable
3006
+ */
3007
+ "readonly"?: boolean;
3008
+ /**
3009
+ * Whether the input is required
3010
+ */
3011
+ "required"?: boolean;
3012
+ /**
3013
+ * Time increment for dropdown options
3014
+ * @default 30
3015
+ */
3016
+ "step"?: number;
3017
+ /**
3018
+ * The time format to display for the input.
3019
+ * @default '24h'
3020
+ */
3021
+ "timeFormat"?: '12h' | '24h';
3022
+ /**
3023
+ * Including a `value` will pre-populate the input with the given string. Must be in 24 hour format, ex: 15:25 for 3:25 PM
3024
+ */
3025
+ "value"?: string;
682
3026
  }
683
- interface XplBackdrop {
3027
+ interface XplLargeCard {
684
3028
  /**
685
- * @property {boolean} - When true, backdrop will have relative position. This is useful when the backdrop doesn't cover the whole view area. If false, the position will be fixed and cover the whole view area.
3029
+ * Description of the Card
686
3030
  */
687
- "relative"?: boolean;
3031
+ "description"?: string;
3032
+ /**
3033
+ * Whether the card is a link or not
3034
+ */
3035
+ "link"?: boolean;
3036
+ /**
3037
+ * Name of the Card
3038
+ */
3039
+ "name"?: string;
688
3040
  }
689
- interface XplBadge {
690
- "dot"?: boolean;
691
- "variant"?: 'success' | 'warning' | 'inactive' | 'error';
3041
+ interface XplList {
3042
+ /**
3043
+ * `items` should be an array of objects with the following signature: { avatar?: string; // The URL of the avatar, or the placeholder initials (ex. "SPD"). avatars?: string[]; // The URLs of multiple avatars to be displayed in a group on the right. badges?: string[] | { // An array of strings or badge-like objects to be displayed as badges dot?: boolean; // in a group on the right. See <xpl-badge> for more details. text: string; variant?: string; }[]; href?: string; // A URL, if this list item is meant to link somewhere. title: string; // The text to be displayed for the list item. metadata?: string[] | { // An array of strings or strings with icons (reference the allowed icon: string; // Apollo icons) to be displayed as metadata below the title. text: string; }[]; subtext?: string; // Subtext to be displayed on the right. } - Note that you should *only use one of* `avatars`, `badges`, or `subtext`, to avoid cluttering the right-hand side of the list item.
3044
+ * @default []
3045
+ */
3046
+ "items"?: ListItem[];
692
3047
  }
693
- interface XplBreadcrumbItem {
3048
+ interface XplMainNav {
3049
+ /**
3050
+ * @event {string} navWidth - Emits the `nav-width` prop set by the user when the component is attached to the DOM and when the component is updated.
3051
+ */
3052
+ "onNavWidth"?: (event: XplMainNavCustomEvent<string>) => void;
3053
+ /**
3054
+ * @property {string} width - The width of the Main Nav.
3055
+ * @default 'default'
3056
+ */
3057
+ "width"?: 'default' | 'md' | 'sm';
694
3058
  }
695
- interface XplBreadcrumbs {
3059
+ interface XplModal {
3060
+ /**
3061
+ * Whether the modal is open.
3062
+ * @default false
3063
+ */
3064
+ "isOpen"?: boolean;
3065
+ /**
3066
+ * Emitted when the modal is closed.
3067
+ */
3068
+ "onModalClosed"?: (event: XplModalCustomEvent<void>) => void;
3069
+ /**
3070
+ * The size of the modal.
3071
+ * @default 'medium'
3072
+ */
3073
+ "size"?: 'large' | 'medium' | 'small';
3074
+ /**
3075
+ * The visual variant of the modal.
3076
+ * @default 'default'
3077
+ */
3078
+ "variant"?: 'default' | 'warning';
696
3079
  }
697
- interface XplButton {
3080
+ interface XplNavItem {
698
3081
  /**
699
- * whether button should be disabled
3082
+ * @property {boolean} - Whether or not the item should control the main nav state on click
3083
+ * @default false
700
3084
  */
701
- "disabled"?: boolean;
3085
+ "navControl"?: boolean;
702
3086
  /**
703
- * whether button should render with full width
3087
+ * @event {boolean} - Emits the desired state of the navigation bar (open: true/false)
704
3088
  */
705
- "fullWidth"?: boolean;
3089
+ "onNavOpen"?: (event: XplNavItemCustomEvent<boolean>) => void;
3090
+ }
3091
+ interface XplPagination {
706
3092
  /**
707
- * whether button should render icon only
3093
+ * The current active page (1-based). Marked as mutable so we can update from inside this component.
3094
+ * @default 1
708
3095
  */
709
- "iconOnly"?: boolean;
3096
+ "currentPage"?: number;
710
3097
  /**
711
- * whether button should yield a slot for a link tag
3098
+ * Emitted whenever the current page changes.
712
3099
  */
713
- "link"?: boolean;
3100
+ "onPageChange"?: (event: XplPaginationCustomEvent<number>) => void;
714
3101
  /**
715
- * @property {string} - button name attribute
3102
+ * Emitted whenever the rows-per-page changes.
716
3103
  */
717
- "name"?: string;
3104
+ "onRowsPerPageChange"?: (event: XplPaginationCustomEvent<number>) => void;
718
3105
  /**
719
- * @property {"default" | "sm" | "xs"} - button size
3106
+ * The rows-per-page options offered in the dropdown.
3107
+ * @default '10,25,50,100,150'
720
3108
  */
721
- "size"?: 'default' | 'sm' | 'xs';
3109
+ "rowsPerPageOptions"?: string;
722
3110
  /**
723
- * @property {"neutral" | "warning" | "success"} - button state (color) neutral=purple, success=green, warning=red
3111
+ * The currently selected rows-per-page.
3112
+ * @default 10
724
3113
  */
725
- "state"?: 'neutral' | 'warning' | 'success';
3114
+ "selectedRowsPerPage"?: number;
726
3115
  /**
727
- * @property {"submit" | "reset" | "button"} - button type attribute
3116
+ * Total number of pages.
3117
+ * @default 1
728
3118
  */
729
- "type"?: 'submit' | 'reset' | 'button';
3119
+ "totalPages"?: number;
730
3120
  /**
731
- * @property {string} - button value attribute
3121
+ * Whether to allow go to page navigation.
3122
+ * @default false
732
3123
  */
733
- "value"?: string;
3124
+ "withPageControl"?: boolean;
3125
+ }
3126
+ interface XplPopover {
734
3127
  /**
735
- * @property {"primary" | "secondary" | "subtle"} - button variant
3128
+ * Whether the popover is disabled or not.
3129
+ * @default false
736
3130
  */
737
- "variant"?: 'primary' | 'secondary' | 'subtle';
738
- }
739
- interface XplButtonRow {
3131
+ "disabled"?: boolean;
740
3132
  /**
741
- * Fires on the primary button. If not set, the button can act as a standard submit button for a form.
3133
+ * The display style of the popover, either as an arrow or a menu. - 'arrow': Displays an arrow pointing to the trigger element. - 'menu': Displays a menu-style popover without an arrow.
3134
+ * @default 'arrow'
742
3135
  */
743
- "onClickPrimary"?: (event: XplButtonRowCustomEvent<any>) => void;
3136
+ "display"?: 'arrow' | 'menu';
744
3137
  /**
745
- * Adds an event listener to the secondary button.
3138
+ * Whether the popover is open by default or not.
3139
+ * @default false
746
3140
  */
747
- "onClickSecondary"?: (event: XplButtonRowCustomEvent<any>) => void;
3141
+ "isOpen"?: boolean;
748
3142
  /**
749
- * Adds an event listener to the tertiary button.
3143
+ * Event emitted when the popover is opened or closed.
750
3144
  */
751
- "onClickTertiary"?: (event: XplButtonRowCustomEvent<any>) => void;
3145
+ "onIsOpenChange"?: (event: XplPopoverCustomEvent<boolean>) => void;
752
3146
  /**
753
- * The text for the primary button.
3147
+ * The position of the trigger element relative to the popover.
3148
+ * @default 'bottom-middle'
754
3149
  */
755
- "primary"?: 'string';
3150
+ "position"?: PopoverPosition;
3151
+ }
3152
+ interface XplProgress {
756
3153
  /**
757
- * The text for the secondary button. If left empty, will not render a secondary button.
3154
+ * Current step, is the index of the current active step
3155
+ * @default 0
758
3156
  */
759
- "secondary"?: 'string';
3157
+ "currentStep"?: number;
760
3158
  /**
761
- * The text for the tertiary button. If left empty, will not render a secondary button.
3159
+ * The steps is an array of the steps name.
762
3160
  */
763
- "tertiary"?: 'string';
3161
+ "steps"?: string[];
764
3162
  }
765
- interface XplCheckbox {
3163
+ interface XplRadio {
3164
+ /**
3165
+ * Whether the input is "on"
3166
+ */
766
3167
  "checked"?: boolean;
3168
+ /**
3169
+ * Description text for the field
3170
+ */
767
3171
  "description"?: string;
3172
+ /**
3173
+ * Whether the input is disabled
3174
+ */
768
3175
  "disabled"?: boolean;
769
- "indeterminate"?: boolean;
3176
+ /**
3177
+ * The name attribute for the html input. (submittted in form as name/value pair)
3178
+ */
770
3179
  "name"?: string;
771
3180
  /**
772
- * @private
3181
+ * Event that emits the current value of the radio input Returns the value of the radio input if a value is provided, otherwise returns the checked state
3182
+ */
3183
+ "onRadioChange"?: (event: XplRadioCustomEvent<string | boolean>) => void;
3184
+ /**
3185
+ * Whether the input is required
773
3186
  */
774
- "onCheckboxChange"?: (event: XplCheckboxCustomEvent<any>) => void;
775
3187
  "required"?: boolean;
3188
+ /**
3189
+ * Whether the input is contained in a box with a border and, in disabled state, a background
3190
+ */
776
3191
  "styled"?: boolean;
3192
+ /**
3193
+ * The value attribute for the radio input. (submittted in form as name/value pair)
3194
+ */
777
3195
  "value"?: string;
778
3196
  }
779
- interface XplChoicelist {
3197
+ interface XplSecondaryNav {
3198
+ }
3199
+ interface XplSelect {
780
3200
  /**
781
- * 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]
3201
+ * An array of choices for the user to choose from. Each choice should be of the form: { label: string; href?: string; value?: string; isGroupHeading?: boolean; isSelected?: boolean; isDisabled?: boolean; options?: DropdownItem[]; groupName?: string; }
3202
+ * @default []
782
3203
  */
783
- "choices"?: Choice[];
3204
+ "choices"?: DropdownItem[];
3205
+ /**
3206
+ * The class name to apply to the select component.
3207
+ */
3208
+ "classNames"?: string;
3209
+ /**
3210
+ * If true, enables custom display value rendering via slot.
3211
+ */
3212
+ "customDisplayValue"?: boolean;
784
3213
  /**
785
- * Descriptive text to be displayed above the choicelist.
3214
+ * Optional text that appears below the input label.
786
3215
  */
787
3216
  "description"?: string;
788
3217
  /**
789
- * The title text to be displayed above the choicelist.
3218
+ * Whether the field is disabled
790
3219
  */
791
- "heading"?: string;
3220
+ "disabled"?: boolean;
792
3221
  /**
793
- * Whether the user can select more than one choice (true) or only a single choice (false). Corresponds to checkboxes vs. radio buttons.
3222
+ * If an empty string (attribute present with no value), will display visually as an error. If a string is included, will display visually as an error and include the value as an error message.
794
3223
  */
795
- "multi"?: boolean;
3224
+ "error"?: string;
796
3225
  /**
797
- * The `name` to be associated with form data.
3226
+ * The label that appears above the select dropdown
3227
+ */
3228
+ "label"?: string;
3229
+ /**
3230
+ * Whether to allow a single choice or multiple choices.
3231
+ * @default 'single'
3232
+ */
3233
+ "mode"?: 'single' | 'multi';
3234
+ /**
3235
+ * The name of the hidden input field that contains the selected option's value(s)
798
3236
  */
799
3237
  "name"?: string;
800
3238
  /**
801
- * If `true`, will include borders around the list and between individual choices.
3239
+ * Emits the value of the selected option in the select menu on change
802
3240
  */
803
- "styled"?: boolean;
804
- }
805
- interface XplContentArea {
3241
+ "onChangeEvent"?: (event: XplSelectCustomEvent<string | string[]>) => void;
806
3242
  /**
807
- * @property {string} size - The content-area size.
3243
+ * Emits when the dropdown opens or closes
808
3244
  */
809
- "size"?: 'wide' | 'narrow' | 'full';
810
- }
811
- interface XplDivider {
3245
+ "onDropdownStateChange"?: (event: XplSelectCustomEvent<boolean>) => void;
812
3246
  /**
813
- * The tier should be an integer between 0 and 3. Tier 0 dividers do not display text, and 1-3 increase in size with each increasing tier.
3247
+ * Emits the value of the selected option in the select menu on change
814
3248
  */
815
- "tier"?: number;
3249
+ "onSelectChange"?: (event: XplSelectCustomEvent<string>) => void;
3250
+ /**
3251
+ * Emits before the dropdown state changes, allowing listeners to prevent the default behavior. The event detail contains the previous and new dropdown states.
3252
+ */
3253
+ "onTriggerDropdown"?: (event: XplSelectCustomEvent<{
3254
+ prevState: boolean;
3255
+ nextState: boolean;
3256
+ }>) => void;
3257
+ /**
3258
+ * Placeholder text that appears when the field has no value
3259
+ */
3260
+ "placeholder"?: string;
3261
+ /**
3262
+ * The icon to display in the select trigger button.
3263
+ * @default 'chevron-down'
3264
+ */
3265
+ "selectIcon"?: IconName2;
3266
+ /**
3267
+ * The value(s) currently selected in the select component.
3268
+ */
3269
+ "selectedValues"?: string | string[];
3270
+ /**
3271
+ * Only used in multi-choice selects. If `true`, badges representing selections that would overflow the container are replaced with "+x more" (where x is the number not shown). If `false`, the container's height will adjust to show all badges representing selections.
3272
+ * @default true
3273
+ */
3274
+ "truncate"?: boolean;
816
3275
  }
817
- interface XplDropdown {
3276
+ interface XplSkeleton {
818
3277
  /**
819
- * options that are listed
3278
+ * A CSS class name to apply to the component.
820
3279
  */
821
- "closeOnSelect"?: boolean;
3280
+ "classNames"?: string;
822
3281
  /**
823
- * text to display as heading
3282
+ * If true, the skeleton will take up the full width of its container.
824
3283
  */
825
- "isOpen"?: boolean;
3284
+ "fullWidth"?: boolean;
826
3285
  /**
827
- * constant representing number of options that can be selected
3286
+ * The height of the skeleton. (e.g. '100px', '100%', 'auto') accepts any valid CSS height value
828
3287
  */
829
- "mode"?: 'single' | 'multi';
3288
+ "height"?: CSSStyleDeclaration['height'];
830
3289
  /**
831
- * options that are listed
3290
+ * The margin of the skeleton. (e.g. '10px', '1rem', '1rem 0') accepts any valid CSS margin value
832
3291
  */
833
- "options"?: DropdownItem[];
3292
+ "margin"?: CSSStyleDeclaration['margin'];
834
3293
  /**
835
- * whether selection should be made when focusing on interactable element
3294
+ * The shape of the skeleton.
3295
+ * @default 'rectangle'
836
3296
  */
837
- "selectOnFocus"?: boolean;
3297
+ "shape"?: 'rectangle' | 'circle' | 'square';
838
3298
  /**
839
- * the id for the element that triggers the open state
3299
+ * The predefined size of the skeleton.
3300
+ * @default 'custom'
840
3301
  */
841
- "triggerId"?: string;
3302
+ "size"?: | 'display'
3303
+ | 'title-1'
3304
+ | 'title-2'
3305
+ | 'title-3'
3306
+ | 'title-4'
3307
+ | 'title-5'
3308
+ | 'body'
3309
+ | 'custom';
842
3310
  /**
843
- * call back function invoked when a selection is made
3311
+ * The width of the skeleton. (e.g. '100px', '100%', 'auto') accepts any valid CSS width value
844
3312
  */
845
- "update"?: (
846
- e: Event,
847
- { component }: { component: XplDropdown }
848
- ) => void;
3313
+ "width"?: CSSStyleDeclaration['width'];
849
3314
  }
850
- interface XplDropdownGroup {
3315
+ interface XplSlideout {
851
3316
  /**
852
- * text to display as heading
3317
+ * Whether to show a backdrop behind the slideout.
3318
+ * @default false
853
3319
  */
854
- "groupName"?: string;
3320
+ "backdrop"?: boolean;
855
3321
  /**
856
- * options that are listed
3322
+ * Whether the slideout is open.
3323
+ * @default false
857
3324
  */
858
- "options"?: DropdownOptionGroup['options'];
859
- }
860
- interface XplDropdownHeading {
3325
+ "isOpen"?: boolean;
861
3326
  /**
862
- * text to display as heading
3327
+ * Emitted when the isOpen property changes.
863
3328
  */
864
- "label"?: string;
3329
+ "onIsOpenChange"?: (event: XplSlideoutCustomEvent<boolean>) => void;
3330
+ /**
3331
+ * Whether to show the footer section in the slideout.
3332
+ * @default true
3333
+ */
3334
+ "showFooter"?: boolean;
3335
+ /**
3336
+ * The visual style variant of the slideout. Can be 'default' or 'warning'.
3337
+ * @default 'default'
3338
+ */
3339
+ "variant"?: 'default' | 'warning';
865
3340
  }
866
- interface XplDropdownOption {
3341
+ interface XplTab {
867
3342
  /**
868
- * whether option is disabled
3343
+ * Event that emits the target of the selected tab
869
3344
  */
870
- "isDisabled"?: boolean;
3345
+ "onTabChange"?: (event: XplTabCustomEvent<string>) => void;
871
3346
  /**
872
- * whether option is selected
3347
+ * Whether the tab is selected
3348
+ * @default false
873
3349
  */
874
- "isSelected"?: boolean;
3350
+ "selected"?: boolean;
875
3351
  /**
876
- * text to display for option
3352
+ * The target of the tab, required for the tab to be selected
877
3353
  */
878
- "label"?: string;
879
- }
880
- interface XplGrid {
881
- }
882
- interface XplGridItem {
883
- "lg"?: number;
884
- "md"?: number;
885
- "sm"?: number;
886
- "xs"?: number;
3354
+ "target"?: string;
887
3355
  }
888
- interface XplInput {
3356
+ interface XplTabPanel {
889
3357
  /**
890
- * Because `id` is a reserved HTMLElement attribute, we prefix it with an underscore here so that it doesn't get automatically applied to the outer container.
3358
+ * Whether the panel is selected
3359
+ * @default false
891
3360
  */
892
- "_id"?: string;
893
- "autocomplete"?: string;
3361
+ "selected"?: boolean;
894
3362
  /**
895
- * See https://flatpickr.js.org/formatting/
3363
+ * The target of the tab, required for the tab to be selected
896
3364
  */
897
- "dateFormat"?: string;
3365
+ "target"?: string;
3366
+ }
3367
+ interface XplTable {
898
3368
  /**
899
- * Optional text that appears below the input label.
3369
+ * The header values for each column.
900
3370
  */
901
- "description"?: string;
902
- "disabled"?: boolean;
3371
+ "columns"?: string[];
903
3372
  /**
904
- * If an empty string (attribute present with no value), will display visually as an error. If a string is included, will display visually as an error and include the value as an error message.
3373
+ * The data for the body of the table.
905
3374
  */
906
- "error"?: string;
907
- "label"?: string;
3375
+ "data"?: string[][];
908
3376
  /**
909
- * Only used when `type` = 'number' or 'date'
3377
+ * The data for the footer of the table.
910
3378
  */
911
- "max"?: number | string;
3379
+ "footer"?: string[][];
912
3380
  /**
913
- * For multiline inputs, a max. character count will display along with the current character count, and will automatically render as an error if the character count exceeds the max.
3381
+ * When true, the first column of the table is sticky and will cover the leftmost rows in a horizontally scrollable container.
914
3382
  */
915
- "maxCharacterCount"?: number;
3383
+ "freeze"?: boolean;
916
3384
  /**
917
- * Only used when `type` = 'number' or 'date'
3385
+ * Toggles to show the sort button on each table head
3386
+ * @default false
918
3387
  */
919
- "min"?: number | string;
3388
+ "isSortable"?: boolean;
920
3389
  /**
921
- * For datepicker inputs, whether to allow only a single date or a range of dates. (Multiple non-consecutive dates planned to be supported in the future.)
3390
+ * Toggles a selectable checkbox for each row in the table
922
3391
  */
923
- "mode"?: 'single' | /* "multiple" | */ 'range';
3392
+ "multiselect"?: boolean;
924
3393
  /**
925
- * Whether to render as a singleline text input or as a multiline textarea. (If `true`, `pre` and `post` values will be ignored, if present.)
3394
+ * Emits an event whenever the sort changes. The 'sortChanged' event passes an object with colNum (number), colName (string), sortTypeArr(string[]). The default action can be overridden by calling event.preventDefault().
926
3395
  */
927
- "multiline"?: boolean;
3396
+ "onSortChanged"?: (event: XplTableCustomEvent<{
3397
+ colNum: number;
3398
+ colName: string;
3399
+ sortTypeArr: string[];
3400
+ }>) => void;
928
3401
  /**
929
- * Most inputs are used in forms, and should have a `name` associated with the input for handling form data.
3402
+ * Callback function that is called when the checkbox for a row of a `multiselect` table is checked
930
3403
  */
931
- "name"?: string;
932
- "placeholder"?: string;
3404
+ "onTableSelect"?: (event: XplTableCustomEvent<any>) => void;
933
3405
  /**
934
- * A string (recommended max 3 characters) that gets shown visually to the left of (before) the input.
3406
+ * The values for the input for each row when multiselect is activated.
3407
+ * @default []
935
3408
  */
936
- "post"?: string;
3409
+ "selectedValues"?: string[];
937
3410
  /**
938
- * A string (recommended max 8 characters) that gets shown visually to the right of (after) the input.
3411
+ * Manually determined if the column is sortable
3412
+ * @default []
939
3413
  */
940
- "pre"?: string;
941
- "readonly"?: boolean;
942
- "required"?: boolean;
943
- "step"?: number;
944
- "type"?: 'date' | 'text' | 'number' | 'password';
3414
+ "sortableColumns"?: boolean[];
945
3415
  /**
946
- * Including a `value` will prepopulate the input with the given string.
3416
+ * Toggles an optional styling of the background of each even row of the table body.
947
3417
  */
948
- "value"?: string;
3418
+ "striped"?: boolean;
949
3419
  }
950
- interface XplList {
3420
+ interface XplTableHeader {
3421
+ }
3422
+ interface XplTableHeaderCell {
951
3423
  /**
952
- * `items` should be an array of objects with the following signature: { avatar?: string; // The URL of the avatar, or the placeholder initials (ex. "SPD"). avatars?: string[]; // The URLs of multiple avatars to be displayed in a group on the right. badges?: string[] | { // An array of strings or badge-like objects to be displayed as badges dot?: boolean; // in a group on the right. See <xpl-badge> for more details. text: string; variant?: string; }[]; href?: string; // A URL, if this list item is meant to link somewhere. title: string; // The text to be displayed for the list item. metadata?: string[] | { // An array of strings or strings with icons (reference the allowed icon: string; // Font Awesome icons) to be displayed as metadata below the title. text: string; }[]; subtext?: string; // Subtext to be displayed on the right. } - Note that you should *only use one of* `avatars`, `badges`, or `subtext`, to avoid cluttering the right-hand side of the list item.
3424
+ * @property {IconName} - Icon to display in the cell
953
3425
  */
954
- "items"?: ListItem[];
955
- }
956
- interface XplMainNav {
3426
+ "icon"?: IconName;
957
3427
  /**
958
- * @event {string} navWidth - Emits the `nav-width` prop set by the user when the component is attached to the DOM and when the component is updated.
3428
+ * @property {string} - Text to display in the cell
3429
+ * @default ''
959
3430
  */
960
- "onNavWidth"?: (event: XplMainNavCustomEvent<string>) => void;
3431
+ "label"?: string;
961
3432
  /**
962
- * @property {string} width - The width of the Main Nav.
3433
+ * Emitted when the sort direction changes.
963
3434
  */
964
- "width"?: 'default' | 'md' | 'sm';
965
- }
966
- interface XplNavItem {
3435
+ "onSortChanged"?: (event: XplTableHeaderCellCustomEvent<'asc' | 'desc' | 'none'>) => void;
967
3436
  /**
968
- * @property {boolean} - Whether or not the item should control the main nav state on click
3437
+ * @property {boolean} - Whether the cell is sortable or not
3438
+ * @default false
969
3439
  */
970
- "navControl"?: boolean;
3440
+ "sortable"?: boolean;
971
3441
  /**
972
- * @event {boolean} - Emits the desired state of the navigation bar (open: true/false)
3442
+ * @property {string} - The type of cell to render
3443
+ * @default 'label'
973
3444
  */
974
- "onNavOpen"?: (event: XplNavItemCustomEvent<boolean>) => void;
975
- }
976
- interface XplPagination {
977
- "onPage"?: (event: XplPaginationCustomEvent<any>) => void;
978
- "perPage"?: number;
979
- "total"?: number;
980
- "waitForCallback"?: boolean;
3445
+ "type"?: 'label' | 'checkbox' | 'icon';
3446
+ /**
3447
+ * @property {number} - Width of the cell, in pixels. Minimum width is 48px. If no value is provided, it will default to fit the content of the cell with 16px of padding on each side
3448
+ */
3449
+ "width"?: number;
981
3450
  }
982
- interface XplRadio {
983
- "checked"?: boolean;
984
- "description"?: string;
985
- "disabled"?: boolean;
986
- "name"?: string;
3451
+ interface XplTabs {
987
3452
  /**
988
- * @private
3453
+ * Whether to make the tabs full width
3454
+ * @default false
3455
+ */
3456
+ "fullWidth"?: boolean;
3457
+ /**
3458
+ * Event that emits the target of the selected tab
3459
+ */
3460
+ "onTabChange"?: (event: XplTabsCustomEvent<string>) => void;
3461
+ /**
3462
+ * The selected tab target value, defaults to the first tab
989
3463
  */
990
- "onRadioChange"?: (event: XplRadioCustomEvent<any>) => void;
991
- "required"?: boolean;
992
- "styled"?: boolean;
993
3464
  "value"?: string;
994
3465
  }
995
- interface XplSecondaryNav {
3466
+ interface XplTag {
3467
+ /**
3468
+ * Callback function that is called when tag text or `x` icon is clicked
3469
+ */
3470
+ "onClose"?: (event: XplTagCustomEvent<any>) => void;
996
3471
  }
997
- interface XplSelect {
3472
+ interface XplToast {
998
3473
  /**
999
- * An array of choices for the user to choose from. Each choice should be of the form: { label: string; href?: string; value?: string; isGroupHeading?: boolean; }
3474
+ * @property {string} - The caption of the toast, limited to 85 characters
1000
3475
  */
1001
- "choices"?: SelectChoice[];
3476
+ "caption"?: string;
1002
3477
  /**
1003
- * Optional text that appears below the input label.
3478
+ * @property {boolean} - Whether or not the toast is dismissible
3479
+ * @default true
1004
3480
  */
1005
- "description"?: string;
1006
- "disabled"?: boolean;
3481
+ "dismissable"?: boolean;
1007
3482
  /**
1008
- * If an empty string (attribute present with no value), will display visually as an error. If a string is included, will display visually as an error and include the value as an error message.
3483
+ * @property {boolean} - Whether or not to show the icon
3484
+ * @default true
1009
3485
  */
1010
- "error"?: string;
1011
- "label"?: string;
3486
+ "showIcon"?: boolean;
1012
3487
  /**
1013
- * Whether to allow a single choice or multiple choices.
3488
+ * @property {number} - The timeout for the toast to dismiss in ms, default 8 seconds
3489
+ * @default 8000
1014
3490
  */
1015
- "mode"?: 'single' | 'multi';
1016
- "placeholder"?: string;
3491
+ "timeout"?: number;
1017
3492
  /**
1018
- * Only used in multi-choice selects. If `true`, badges representing selections that would overflow the container are replaced with "+x more" (where x is the number not shown). If `false`, the container's height will adjust to show all badges representing selections.
3493
+ * @property {string} - The variant of the toast
3494
+ * @default 'neutral'
1019
3495
  */
1020
- "truncate"?: boolean;
1021
- }
1022
- interface XplTable {
1023
- "columns"?: string[];
1024
- "data"?: string[][];
1025
- "freeze"?: boolean;
1026
- "multiselect"?: boolean;
1027
- "onTableSelect"?: (event: XplTableCustomEvent<any>) => void;
1028
- "striped"?: boolean;
1029
- }
1030
- interface XplTag {
1031
- "onClose"?: (event: XplTagCustomEvent<any>) => void;
3496
+ "variant"?: 'neutral' | 'warning' | 'success';
1032
3497
  }
1033
3498
  interface XplToggle {
3499
+ /**
3500
+ * Whether the toggle is `on`
3501
+ */
1034
3502
  "checked"?: boolean;
1035
3503
  /**
1036
3504
  * The toggle's description appears *above* the toggle.
1037
3505
  */
1038
3506
  "description"?: string;
3507
+ /**
3508
+ * Whether the toggle is disabled
3509
+ */
1039
3510
  "disabled"?: boolean;
1040
3511
  /**
1041
3512
  * The toggle's heading appears *above* the toggle.
@@ -1045,12 +3516,46 @@ declare namespace LocalJSX {
1045
3516
  * The toggle's label appears *to the right of* the toggle.
1046
3517
  */
1047
3518
  "label"?: string;
3519
+ /**
3520
+ * The name attribute for the html input. (submittted in form as name/value pair)
3521
+ */
1048
3522
  "name"?: string;
1049
3523
  /**
1050
3524
  * The size of the toggle -- `default` or `small`
3525
+ * @default 'default'
1051
3526
  */
1052
3527
  "variant"?: 'default' | 'small';
1053
3528
  }
3529
+ interface XplToolbar {
3530
+ /**
3531
+ * The number of selected items to display in the toolbar.
3532
+ * @default 0
3533
+ */
3534
+ "selectedItemCount"?: number;
3535
+ }
3536
+ interface XplTooltip {
3537
+ /**
3538
+ * Hide the arrow
3539
+ * @default false
3540
+ */
3541
+ "hideArrow"?: boolean;
3542
+ /**
3543
+ * Position of the tooltip relative to the element
3544
+ * @default 'top-middle'
3545
+ */
3546
+ "position"?: | 'top-middle'
3547
+ | 'right'
3548
+ | 'bottom-middle'
3549
+ | 'left'
3550
+ | 'top-left'
3551
+ | 'top-right'
3552
+ | 'bottom-left'
3553
+ | 'bottom-right';
3554
+ /**
3555
+ * The tooltip text to display
3556
+ */
3557
+ "text"?: string;
3558
+ }
1054
3559
  interface XplUtilityBar {
1055
3560
  /**
1056
3561
  * @property {boolean} - Optional property that defines whether or not the main nav is open at startup.
@@ -1066,6 +3571,7 @@ declare namespace LocalJSX {
1066
3571
  "onNavOpen"?: (event: XplUtilityBarCustomEvent<boolean>) => void;
1067
3572
  }
1068
3573
  interface IntrinsicElements {
3574
+ "xpl-accordion": XplAccordion;
1069
3575
  "xpl-application-shell": XplApplicationShell;
1070
3576
  "xpl-avatar": XplAvatar;
1071
3577
  "xpl-backdrop": XplBackdrop;
@@ -1074,27 +3580,53 @@ declare namespace LocalJSX {
1074
3580
  "xpl-breadcrumbs": XplBreadcrumbs;
1075
3581
  "xpl-button": XplButton;
1076
3582
  "xpl-button-row": XplButtonRow;
3583
+ "xpl-calendar": XplCalendar;
1077
3584
  "xpl-checkbox": XplCheckbox;
1078
3585
  "xpl-choicelist": XplChoicelist;
1079
3586
  "xpl-content-area": XplContentArea;
3587
+ "xpl-dashboard": XplDashboard;
3588
+ "xpl-data-card": XplDataCard;
1080
3589
  "xpl-divider": XplDivider;
1081
3590
  "xpl-dropdown": XplDropdown;
1082
3591
  "xpl-dropdown-group": XplDropdownGroup;
1083
3592
  "xpl-dropdown-heading": XplDropdownHeading;
1084
3593
  "xpl-dropdown-option": XplDropdownOption;
3594
+ "xpl-dynamic-table": XplDynamicTable;
3595
+ "xpl-dynamic-table-cell": XplDynamicTableCell;
3596
+ "xpl-dynamic-table-row": XplDynamicTableRow;
1085
3597
  "xpl-grid": XplGrid;
1086
3598
  "xpl-grid-item": XplGridItem;
3599
+ "xpl-header-accordion": XplHeaderAccordion;
3600
+ "xpl-icon": XplIcon;
1087
3601
  "xpl-input": XplInput;
3602
+ "xpl-input-color": XplInputColor;
3603
+ "xpl-input-date": XplInputDate;
3604
+ "xpl-input-file": XplInputFile;
3605
+ "xpl-input-time": XplInputTime;
3606
+ "xpl-large-card": XplLargeCard;
1088
3607
  "xpl-list": XplList;
1089
3608
  "xpl-main-nav": XplMainNav;
3609
+ "xpl-modal": XplModal;
1090
3610
  "xpl-nav-item": XplNavItem;
1091
3611
  "xpl-pagination": XplPagination;
3612
+ "xpl-popover": XplPopover;
3613
+ "xpl-progress": XplProgress;
1092
3614
  "xpl-radio": XplRadio;
1093
3615
  "xpl-secondary-nav": XplSecondaryNav;
1094
3616
  "xpl-select": XplSelect;
3617
+ "xpl-skeleton": XplSkeleton;
3618
+ "xpl-slideout": XplSlideout;
3619
+ "xpl-tab": XplTab;
3620
+ "xpl-tab-panel": XplTabPanel;
1095
3621
  "xpl-table": XplTable;
3622
+ "xpl-table-header": XplTableHeader;
3623
+ "xpl-table-header-cell": XplTableHeaderCell;
3624
+ "xpl-tabs": XplTabs;
1096
3625
  "xpl-tag": XplTag;
3626
+ "xpl-toast": XplToast;
1097
3627
  "xpl-toggle": XplToggle;
3628
+ "xpl-toolbar": XplToolbar;
3629
+ "xpl-tooltip": XplTooltip;
1098
3630
  "xpl-utility-bar": XplUtilityBar;
1099
3631
  }
1100
3632
  }
@@ -1102,6 +3634,7 @@ export { LocalJSX as JSX };
1102
3634
  declare module "@stencil/core" {
1103
3635
  export namespace JSX {
1104
3636
  interface IntrinsicElements {
3637
+ "xpl-accordion": LocalJSX.XplAccordion & JSXBase.HTMLAttributes<HTMLXplAccordionElement>;
1105
3638
  "xpl-application-shell": LocalJSX.XplApplicationShell & JSXBase.HTMLAttributes<HTMLXplApplicationShellElement>;
1106
3639
  "xpl-avatar": LocalJSX.XplAvatar & JSXBase.HTMLAttributes<HTMLXplAvatarElement>;
1107
3640
  "xpl-backdrop": LocalJSX.XplBackdrop & JSXBase.HTMLAttributes<HTMLXplBackdropElement>;
@@ -1110,27 +3643,56 @@ declare module "@stencil/core" {
1110
3643
  "xpl-breadcrumbs": LocalJSX.XplBreadcrumbs & JSXBase.HTMLAttributes<HTMLXplBreadcrumbsElement>;
1111
3644
  "xpl-button": LocalJSX.XplButton & JSXBase.HTMLAttributes<HTMLXplButtonElement>;
1112
3645
  "xpl-button-row": LocalJSX.XplButtonRow & JSXBase.HTMLAttributes<HTMLXplButtonRowElement>;
3646
+ "xpl-calendar": LocalJSX.XplCalendar & JSXBase.HTMLAttributes<HTMLXplCalendarElement>;
1113
3647
  "xpl-checkbox": LocalJSX.XplCheckbox & JSXBase.HTMLAttributes<HTMLXplCheckboxElement>;
1114
3648
  "xpl-choicelist": LocalJSX.XplChoicelist & JSXBase.HTMLAttributes<HTMLXplChoicelistElement>;
1115
3649
  "xpl-content-area": LocalJSX.XplContentArea & JSXBase.HTMLAttributes<HTMLXplContentAreaElement>;
3650
+ "xpl-dashboard": LocalJSX.XplDashboard & JSXBase.HTMLAttributes<HTMLXplDashboardElement>;
3651
+ "xpl-data-card": LocalJSX.XplDataCard & JSXBase.HTMLAttributes<HTMLXplDataCardElement>;
1116
3652
  "xpl-divider": LocalJSX.XplDivider & JSXBase.HTMLAttributes<HTMLXplDividerElement>;
1117
3653
  "xpl-dropdown": LocalJSX.XplDropdown & JSXBase.HTMLAttributes<HTMLXplDropdownElement>;
1118
3654
  "xpl-dropdown-group": LocalJSX.XplDropdownGroup & JSXBase.HTMLAttributes<HTMLXplDropdownGroupElement>;
1119
3655
  "xpl-dropdown-heading": LocalJSX.XplDropdownHeading & JSXBase.HTMLAttributes<HTMLXplDropdownHeadingElement>;
1120
3656
  "xpl-dropdown-option": LocalJSX.XplDropdownOption & JSXBase.HTMLAttributes<HTMLXplDropdownOptionElement>;
3657
+ "xpl-dynamic-table": LocalJSX.XplDynamicTable & JSXBase.HTMLAttributes<HTMLXplDynamicTableElement>;
3658
+ "xpl-dynamic-table-cell": LocalJSX.XplDynamicTableCell & JSXBase.HTMLAttributes<HTMLXplDynamicTableCellElement>;
3659
+ "xpl-dynamic-table-row": LocalJSX.XplDynamicTableRow & JSXBase.HTMLAttributes<HTMLXplDynamicTableRowElement>;
1121
3660
  "xpl-grid": LocalJSX.XplGrid & JSXBase.HTMLAttributes<HTMLXplGridElement>;
1122
3661
  "xpl-grid-item": LocalJSX.XplGridItem & JSXBase.HTMLAttributes<HTMLXplGridItemElement>;
3662
+ "xpl-header-accordion": LocalJSX.XplHeaderAccordion & JSXBase.HTMLAttributes<HTMLXplHeaderAccordionElement>;
3663
+ "xpl-icon": LocalJSX.XplIcon & JSXBase.HTMLAttributes<HTMLXplIconElement>;
1123
3664
  "xpl-input": LocalJSX.XplInput & JSXBase.HTMLAttributes<HTMLXplInputElement>;
3665
+ "xpl-input-color": LocalJSX.XplInputColor & JSXBase.HTMLAttributes<HTMLXplInputColorElement>;
3666
+ "xpl-input-date": LocalJSX.XplInputDate & JSXBase.HTMLAttributes<HTMLXplInputDateElement>;
3667
+ /**
3668
+ * `xpl-input-file` is a component that allows users to upload files.
3669
+ */
3670
+ "xpl-input-file": LocalJSX.XplInputFile & JSXBase.HTMLAttributes<HTMLXplInputFileElement>;
3671
+ "xpl-input-time": LocalJSX.XplInputTime & JSXBase.HTMLAttributes<HTMLXplInputTimeElement>;
3672
+ "xpl-large-card": LocalJSX.XplLargeCard & JSXBase.HTMLAttributes<HTMLXplLargeCardElement>;
1124
3673
  "xpl-list": LocalJSX.XplList & JSXBase.HTMLAttributes<HTMLXplListElement>;
1125
3674
  "xpl-main-nav": LocalJSX.XplMainNav & JSXBase.HTMLAttributes<HTMLXplMainNavElement>;
3675
+ "xpl-modal": LocalJSX.XplModal & JSXBase.HTMLAttributes<HTMLXplModalElement>;
1126
3676
  "xpl-nav-item": LocalJSX.XplNavItem & JSXBase.HTMLAttributes<HTMLXplNavItemElement>;
1127
3677
  "xpl-pagination": LocalJSX.XplPagination & JSXBase.HTMLAttributes<HTMLXplPaginationElement>;
3678
+ "xpl-popover": LocalJSX.XplPopover & JSXBase.HTMLAttributes<HTMLXplPopoverElement>;
3679
+ "xpl-progress": LocalJSX.XplProgress & JSXBase.HTMLAttributes<HTMLXplProgressElement>;
1128
3680
  "xpl-radio": LocalJSX.XplRadio & JSXBase.HTMLAttributes<HTMLXplRadioElement>;
1129
3681
  "xpl-secondary-nav": LocalJSX.XplSecondaryNav & JSXBase.HTMLAttributes<HTMLXplSecondaryNavElement>;
1130
3682
  "xpl-select": LocalJSX.XplSelect & JSXBase.HTMLAttributes<HTMLXplSelectElement>;
3683
+ "xpl-skeleton": LocalJSX.XplSkeleton & JSXBase.HTMLAttributes<HTMLXplSkeletonElement>;
3684
+ "xpl-slideout": LocalJSX.XplSlideout & JSXBase.HTMLAttributes<HTMLXplSlideoutElement>;
3685
+ "xpl-tab": LocalJSX.XplTab & JSXBase.HTMLAttributes<HTMLXplTabElement>;
3686
+ "xpl-tab-panel": LocalJSX.XplTabPanel & JSXBase.HTMLAttributes<HTMLXplTabPanelElement>;
1131
3687
  "xpl-table": LocalJSX.XplTable & JSXBase.HTMLAttributes<HTMLXplTableElement>;
3688
+ "xpl-table-header": LocalJSX.XplTableHeader & JSXBase.HTMLAttributes<HTMLXplTableHeaderElement>;
3689
+ "xpl-table-header-cell": LocalJSX.XplTableHeaderCell & JSXBase.HTMLAttributes<HTMLXplTableHeaderCellElement>;
3690
+ "xpl-tabs": LocalJSX.XplTabs & JSXBase.HTMLAttributes<HTMLXplTabsElement>;
1132
3691
  "xpl-tag": LocalJSX.XplTag & JSXBase.HTMLAttributes<HTMLXplTagElement>;
3692
+ "xpl-toast": LocalJSX.XplToast & JSXBase.HTMLAttributes<HTMLXplToastElement>;
1133
3693
  "xpl-toggle": LocalJSX.XplToggle & JSXBase.HTMLAttributes<HTMLXplToggleElement>;
3694
+ "xpl-toolbar": LocalJSX.XplToolbar & JSXBase.HTMLAttributes<HTMLXplToolbarElement>;
3695
+ "xpl-tooltip": LocalJSX.XplTooltip & JSXBase.HTMLAttributes<HTMLXplTooltipElement>;
1134
3696
  "xpl-utility-bar": LocalJSX.XplUtilityBar & JSXBase.HTMLAttributes<HTMLXplUtilityBarElement>;
1135
3697
  }
1136
3698
  }