@xplortech/apollo-core 1.0.0-beta.18 → 1.0.0-beta.3

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 (459) hide show
  1. package/CHANGELOG.md +106 -0
  2. package/build/style.css +2758 -1509
  3. package/dist/apollo-core/apollo-core.css +14 -4597
  4. package/dist/apollo-core/apollo-core.esm.js +1 -2
  5. package/dist/apollo-core/index.esm.js +0 -2
  6. package/dist/apollo-core/p-13e7d3ea.entry.js +1 -0
  7. package/dist/apollo-core/p-2ce2fe5c.entry.js +1 -0
  8. package/dist/apollo-core/p-2f90296c.js +10 -0
  9. package/dist/apollo-core/p-3ff1ff38.entry.js +1 -0
  10. package/dist/apollo-core/p-63dd9a65.entry.js +1 -0
  11. package/dist/apollo-core/p-6c3c1e3d.entry.js +1 -0
  12. package/dist/apollo-core/p-81a6ce4c.entry.js +1 -0
  13. package/dist/apollo-core/p-918b0731.entry.js +1 -0
  14. package/dist/apollo-core/p-97bdb450.entry.js +1 -0
  15. package/dist/apollo-core/p-a43e2d1f.entry.js +1 -0
  16. package/dist/apollo-core/p-a7cc4114.entry.js +1 -0
  17. package/dist/apollo-core/p-ad90fe4d.js +1 -2
  18. package/dist/apollo-core/p-b6d1b135.entry.js +1 -0
  19. package/dist/apollo-core/p-bc0ebed2.entry.js +1 -0
  20. package/dist/apollo-core/p-c8af4ed6.entry.js +1 -0
  21. package/dist/apollo-core/p-d4aa2fa9.js +1 -0
  22. package/dist/apollo-core/p-d4e5d3aa.entry.js +1 -0
  23. package/dist/apollo-core/p-dad11011.entry.js +1 -0
  24. package/dist/apollo-core/p-db74c99c.entry.js +1 -0
  25. package/dist/cjs/apollo-core.cjs.js +3 -12
  26. package/dist/cjs/{index-000e170c.js → index-acf3dd7a.js} +216 -765
  27. package/dist/cjs/index.cjs.js +0 -2
  28. package/dist/cjs/loader.cjs.js +3 -6
  29. package/dist/cjs/regular-872f5226.js +16043 -0
  30. package/dist/cjs/v4-14140ff3.js +0 -2
  31. package/dist/cjs/xpl-application-shell.cjs.entry.js +13 -10
  32. package/dist/cjs/xpl-avatar_12.cjs.entry.js +322 -0
  33. package/dist/cjs/xpl-backdrop.cjs.entry.js +5 -3
  34. package/dist/cjs/xpl-button-row.cjs.entry.js +1 -6
  35. package/dist/cjs/xpl-choicelist.cjs.entry.js +1 -10
  36. package/dist/cjs/xpl-divider.cjs.entry.js +1 -4
  37. package/dist/cjs/xpl-dropdown-group_3.cjs.entry.js +4 -16
  38. package/dist/cjs/xpl-dropdown_2.cjs.entry.js +12 -14
  39. package/dist/cjs/xpl-grid-item.cjs.entry.js +1 -3
  40. package/dist/cjs/xpl-grid.cjs.entry.js +1 -3
  41. package/dist/cjs/xpl-input.cjs.entry.js +25 -22
  42. package/dist/cjs/xpl-list.cjs.entry.js +25 -4
  43. package/dist/cjs/xpl-main-nav.cjs.entry.js +4 -3
  44. package/dist/cjs/xpl-pagination.cjs.entry.js +2 -7
  45. package/dist/cjs/xpl-select.cjs.entry.js +25 -51
  46. package/dist/cjs/xpl-toggle.cjs.entry.js +4 -9
  47. package/dist/collection/collection-manifest.json +3 -6
  48. package/dist/collection/components/xpl-application-shell/xpl-application-shell.js +109 -125
  49. package/dist/collection/components/xpl-avatar/xpl-avatar.js +144 -151
  50. package/dist/collection/components/xpl-backdrop/xpl-backdrop.js +28 -27
  51. package/dist/collection/components/xpl-badge/xpl-badge.js +39 -44
  52. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.js +5 -3
  53. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.js +5 -3
  54. package/dist/collection/components/xpl-button/xpl-button.js +205 -205
  55. package/dist/collection/components/xpl-button-row/xpl-button-row.js +104 -106
  56. package/dist/collection/components/xpl-checkbox/xpl-checkbox.js +171 -182
  57. package/dist/collection/components/xpl-choicelist/xpl-choicelist.js +126 -134
  58. package/dist/collection/components/xpl-content-area/xpl-content-area.js +31 -28
  59. package/dist/collection/components/xpl-divider/xpl-divider.js +23 -27
  60. package/dist/collection/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.js +41 -47
  61. package/dist/collection/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.js +22 -27
  62. package/dist/collection/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.js +55 -83
  63. package/dist/collection/components/xpl-dropdown/xpl-dropdown.js +161 -169
  64. package/dist/collection/components/xpl-grid/xpl-grid.js +1 -2
  65. package/dist/collection/components/xpl-grid-item/xpl-grid-item.js +74 -76
  66. package/dist/collection/components/xpl-input/xpl-input.js +419 -397
  67. package/dist/collection/components/xpl-list/xpl-list.js +77 -43
  68. package/dist/collection/components/xpl-main-nav/xpl-main-nav.js +54 -48
  69. package/dist/collection/components/xpl-nav-item/xpl-nav-item.js +49 -48
  70. package/dist/collection/components/xpl-pagination/xpl-pagination.js +128 -117
  71. package/dist/collection/components/xpl-radio/xpl-radio.js +148 -158
  72. package/dist/collection/components/xpl-secondary-nav/xpl-secondary-nav.js +4 -3
  73. package/dist/collection/components/xpl-select/xpl-select.js +235 -306
  74. package/dist/collection/components/xpl-table/xpl-table.js +148 -215
  75. package/dist/collection/components/xpl-tag/xpl-tag.js +25 -25
  76. package/dist/collection/components/xpl-toggle/xpl-toggle.js +135 -138
  77. package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +52 -79
  78. package/dist/custom-elements/index.d.ts +219 -0
  79. package/dist/custom-elements/index.js +20224 -0
  80. package/dist/esm/apollo-core.js +3 -9
  81. package/dist/esm/{index-56581b5c.js → index-e3c4bb97.js} +217 -765
  82. package/dist/esm/index.js +0 -2
  83. package/dist/esm/loader.js +3 -6
  84. package/dist/esm/polyfills/css-shim.js +1 -1
  85. package/dist/esm/regular-86225e9d.js +16041 -0
  86. package/dist/esm/v4-929670b7.js +0 -2
  87. package/dist/esm/xpl-application-shell.entry.js +13 -10
  88. package/dist/esm/xpl-avatar_12.entry.js +307 -0
  89. package/dist/esm/xpl-backdrop.entry.js +5 -3
  90. package/dist/esm/xpl-button-row.entry.js +1 -6
  91. package/dist/esm/xpl-choicelist.entry.js +1 -10
  92. package/dist/esm/xpl-divider.entry.js +1 -4
  93. package/dist/esm/xpl-dropdown-group_3.entry.js +4 -16
  94. package/dist/esm/xpl-dropdown_2.entry.js +12 -14
  95. package/dist/esm/xpl-grid-item.entry.js +1 -3
  96. package/dist/esm/xpl-grid.entry.js +1 -3
  97. package/dist/esm/xpl-input.entry.js +25 -22
  98. package/dist/esm/xpl-list.entry.js +25 -4
  99. package/dist/esm/xpl-main-nav.entry.js +4 -3
  100. package/dist/esm/xpl-pagination.entry.js +2 -7
  101. package/dist/esm/xpl-select.entry.js +25 -51
  102. package/dist/esm/xpl-toggle.entry.js +4 -9
  103. package/dist/stories/application-shell.stories.js +8 -18
  104. package/dist/stories/avatar.stories.js +0 -1
  105. package/dist/stories/backdrop.stories.js +0 -1
  106. package/dist/stories/badge.stories.js +0 -1
  107. package/dist/stories/breadcrumbs.stories.js +0 -1
  108. package/dist/stories/button-row.stories.js +0 -1
  109. package/dist/stories/button.stories.js +0 -1
  110. package/dist/stories/checkbox.stories.js +0 -1
  111. package/dist/stories/choicelist.stories.js +0 -1
  112. package/dist/stories/content-area.stories.js +0 -1
  113. package/dist/stories/divider.stories.js +0 -1
  114. package/dist/stories/dropdown.stories.js +65 -74
  115. package/dist/stories/grid.stories.js +0 -1
  116. package/dist/stories/input.stories.js +0 -1
  117. package/dist/stories/list.stories.js +2 -3
  118. package/dist/stories/main-nav.stories.js +0 -1
  119. package/dist/stories/pagination.stories.js +0 -1
  120. package/dist/stories/radio.stories.js +0 -1
  121. package/dist/stories/secondary-nav.stories.js +0 -1
  122. package/dist/stories/select.stories.js +32 -109
  123. package/dist/stories/table.stories.js +7 -24
  124. package/dist/stories/tabs.stories.js +0 -1
  125. package/dist/stories/toggle.stories.js +0 -1
  126. package/dist/stories/utility-bar.stories.js +6 -2
  127. package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/application-shell.stories.d.ts +5 -14
  128. package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/dropdown.stories.d.ts +1 -17
  129. package/dist/types/Users/fernandogelin/Projects/apollo-admin/packages/apollo/.stencil/stories/select.stories.d.ts +74 -0
  130. package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/table.stories.d.ts +1 -22
  131. package/dist/types/components/xpl-application-shell/xpl-application-shell.d.ts +1 -6
  132. package/dist/types/components/xpl-choicelist/choice.d.ts +5 -5
  133. package/dist/types/components/xpl-choicelist/xpl-choicelist.d.ts +1 -2
  134. package/dist/types/components/xpl-dropdown/dropdownoption.d.ts +10 -9
  135. package/dist/types/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.d.ts +0 -1
  136. package/dist/types/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.d.ts +1 -7
  137. package/dist/types/components/xpl-dropdown/xpl-dropdown.d.ts +5 -7
  138. package/dist/types/components/xpl-input/xpl-input.d.ts +2 -0
  139. package/dist/types/components/xpl-list/listitem.d.ts +19 -15
  140. package/dist/types/components/xpl-list/xpl-list.d.ts +3 -2
  141. package/dist/types/components/xpl-select/selectchoice.d.ts +3 -0
  142. package/dist/types/components/xpl-select/xpl-select.d.ts +1 -21
  143. package/dist/types/components/xpl-table/xpl-table.d.ts +7 -29
  144. package/dist/types/components/xpl-utility-bar/xpl-utility-bar.d.ts +1 -5
  145. package/dist/types/components.d.ts +21 -268
  146. package/dist/types/stencil-public-runtime.d.ts +23 -97
  147. package/loader/index.d.ts +1 -9
  148. package/loader/package.json +0 -1
  149. package/package.json +28 -21
  150. package/LICENSE +0 -21
  151. package/dist/apollo-core/apollo-core.esm.js.map +0 -1
  152. package/dist/apollo-core/index.esm.js.map +0 -1
  153. package/dist/apollo-core/p-1fa46bc3.entry.js +0 -2
  154. package/dist/apollo-core/p-1fa46bc3.entry.js.map +0 -1
  155. package/dist/apollo-core/p-29f4679d.entry.js +0 -2
  156. package/dist/apollo-core/p-29f4679d.entry.js.map +0 -1
  157. package/dist/apollo-core/p-3f3cc34e.entry.js +0 -2
  158. package/dist/apollo-core/p-3f3cc34e.entry.js.map +0 -1
  159. package/dist/apollo-core/p-5372bf3e.entry.js +0 -2
  160. package/dist/apollo-core/p-5372bf3e.entry.js.map +0 -1
  161. package/dist/apollo-core/p-5ceaec87.entry.js +0 -2
  162. package/dist/apollo-core/p-5ceaec87.entry.js.map +0 -1
  163. package/dist/apollo-core/p-60d4d252.entry.js +0 -2
  164. package/dist/apollo-core/p-60d4d252.entry.js.map +0 -1
  165. package/dist/apollo-core/p-6797b2b7.entry.js +0 -7
  166. package/dist/apollo-core/p-6797b2b7.entry.js.map +0 -1
  167. package/dist/apollo-core/p-6acc4122.entry.js +0 -2
  168. package/dist/apollo-core/p-6acc4122.entry.js.map +0 -1
  169. package/dist/apollo-core/p-787bac91.entry.js +0 -2
  170. package/dist/apollo-core/p-787bac91.entry.js.map +0 -1
  171. package/dist/apollo-core/p-7a8e818a.entry.js +0 -2
  172. package/dist/apollo-core/p-7a8e818a.entry.js.map +0 -1
  173. package/dist/apollo-core/p-807d8de9.entry.js +0 -2
  174. package/dist/apollo-core/p-807d8de9.entry.js.map +0 -1
  175. package/dist/apollo-core/p-ad90fe4d.js.map +0 -1
  176. package/dist/apollo-core/p-bcb81e30.entry.js +0 -2
  177. package/dist/apollo-core/p-bcb81e30.entry.js.map +0 -1
  178. package/dist/apollo-core/p-da5a8e74.entry.js +0 -2
  179. package/dist/apollo-core/p-da5a8e74.entry.js.map +0 -1
  180. package/dist/apollo-core/p-e0541e23.entry.js +0 -2
  181. package/dist/apollo-core/p-e0541e23.entry.js.map +0 -1
  182. package/dist/apollo-core/p-e215fc5f.entry.js +0 -2
  183. package/dist/apollo-core/p-e215fc5f.entry.js.map +0 -1
  184. package/dist/apollo-core/p-e8953b60.js +0 -3
  185. package/dist/apollo-core/p-e8953b60.js.map +0 -1
  186. package/dist/apollo-core/p-efa8a79d.entry.js +0 -2
  187. package/dist/apollo-core/p-efa8a79d.entry.js.map +0 -1
  188. package/dist/cjs/apollo-core.cjs.js.map +0 -1
  189. package/dist/cjs/index-000e170c.js.map +0 -1
  190. package/dist/cjs/index.cjs.js.map +0 -1
  191. package/dist/cjs/loader.cjs.js.map +0 -1
  192. package/dist/cjs/v4-14140ff3.js.map +0 -1
  193. package/dist/cjs/xpl-application-shell.cjs.entry.js.map +0 -1
  194. package/dist/cjs/xpl-avatar_15.cjs.entry.js +0 -2278
  195. package/dist/cjs/xpl-avatar_15.cjs.entry.js.map +0 -1
  196. package/dist/cjs/xpl-backdrop.cjs.entry.js.map +0 -1
  197. package/dist/cjs/xpl-button-row.cjs.entry.js.map +0 -1
  198. package/dist/cjs/xpl-choicelist.cjs.entry.js.map +0 -1
  199. package/dist/cjs/xpl-divider.cjs.entry.js.map +0 -1
  200. package/dist/cjs/xpl-dropdown-group_3.cjs.entry.js.map +0 -1
  201. package/dist/cjs/xpl-dropdown_2.cjs.entry.js.map +0 -1
  202. package/dist/cjs/xpl-grid-item.cjs.entry.js.map +0 -1
  203. package/dist/cjs/xpl-grid.cjs.entry.js.map +0 -1
  204. package/dist/cjs/xpl-input.cjs.entry.js.map +0 -1
  205. package/dist/cjs/xpl-list.cjs.entry.js.map +0 -1
  206. package/dist/cjs/xpl-main-nav.cjs.entry.js.map +0 -1
  207. package/dist/cjs/xpl-pagination.cjs.entry.js.map +0 -1
  208. package/dist/cjs/xpl-select.cjs.entry.js.map +0 -1
  209. package/dist/cjs/xpl-toggle.cjs.entry.js.map +0 -1
  210. package/dist/collection/components/xpl-application-shell/xpl-application-shell.js.map +0 -1
  211. package/dist/collection/components/xpl-avatar/xpl-avatar.js.map +0 -1
  212. package/dist/collection/components/xpl-backdrop/xpl-backdrop.js.map +0 -1
  213. package/dist/collection/components/xpl-badge/xpl-badge.js.map +0 -1
  214. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.js.map +0 -1
  215. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.js.map +0 -1
  216. package/dist/collection/components/xpl-button/xpl-button.js.map +0 -1
  217. package/dist/collection/components/xpl-button-row/xpl-button-row.js.map +0 -1
  218. package/dist/collection/components/xpl-checkbox/xpl-checkbox.js.map +0 -1
  219. package/dist/collection/components/xpl-choicelist/choice.js +0 -2
  220. package/dist/collection/components/xpl-choicelist/choice.js.map +0 -1
  221. package/dist/collection/components/xpl-choicelist/xpl-choicelist.js.map +0 -1
  222. package/dist/collection/components/xpl-content-area/xpl-content-area.js.map +0 -1
  223. package/dist/collection/components/xpl-dashboard/xpl-dashboard.js +0 -8
  224. package/dist/collection/components/xpl-dashboard/xpl-dashboard.js.map +0 -1
  225. package/dist/collection/components/xpl-data-card/xpl-data-card.js +0 -162
  226. package/dist/collection/components/xpl-data-card/xpl-data-card.js.map +0 -1
  227. package/dist/collection/components/xpl-divider/xpl-divider.js.map +0 -1
  228. package/dist/collection/components/xpl-dropdown/dropdownoption.js +0 -2
  229. package/dist/collection/components/xpl-dropdown/dropdownoption.js.map +0 -1
  230. package/dist/collection/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.js.map +0 -1
  231. package/dist/collection/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.js.map +0 -1
  232. package/dist/collection/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.js.map +0 -1
  233. package/dist/collection/components/xpl-dropdown/xpl-dropdown.js.map +0 -1
  234. package/dist/collection/components/xpl-grid/xpl-grid.js.map +0 -1
  235. package/dist/collection/components/xpl-grid-item/xpl-grid-item.js.map +0 -1
  236. package/dist/collection/components/xpl-icon/xpl-icon.css +0 -5
  237. package/dist/collection/components/xpl-icon/xpl-icon.js +0 -93
  238. package/dist/collection/components/xpl-icon/xpl-icon.js.map +0 -1
  239. package/dist/collection/components/xpl-input/xpl-input.js.map +0 -1
  240. package/dist/collection/components/xpl-list/listitem.js +0 -2
  241. package/dist/collection/components/xpl-list/listitem.js.map +0 -1
  242. package/dist/collection/components/xpl-list/xpl-list.js.map +0 -1
  243. package/dist/collection/components/xpl-main-nav/xpl-main-nav.js.map +0 -1
  244. package/dist/collection/components/xpl-nav-item/xpl-nav-item.js.map +0 -1
  245. package/dist/collection/components/xpl-pagination/xpl-pagination.js.map +0 -1
  246. package/dist/collection/components/xpl-radio/xpl-radio.js.map +0 -1
  247. package/dist/collection/components/xpl-secondary-nav/xpl-secondary-nav.js.map +0 -1
  248. package/dist/collection/components/xpl-select/xpl-select.js.map +0 -1
  249. package/dist/collection/components/xpl-table/xpl-table.js.map +0 -1
  250. package/dist/collection/components/xpl-tag/xpl-tag.js.map +0 -1
  251. package/dist/collection/components/xpl-toggle/xpl-toggle.js.map +0 -1
  252. package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js.map +0 -1
  253. package/dist/components/index.d.ts +0 -39
  254. package/dist/components/index.js +0 -82
  255. package/dist/components/index.js.map +0 -1
  256. package/dist/components/v4.js +0 -77
  257. package/dist/components/v4.js.map +0 -1
  258. package/dist/components/xpl-application-shell.d.ts +0 -11
  259. package/dist/components/xpl-application-shell.js +0 -80
  260. package/dist/components/xpl-application-shell.js.map +0 -1
  261. package/dist/components/xpl-avatar.d.ts +0 -11
  262. package/dist/components/xpl-avatar.js +0 -8
  263. package/dist/components/xpl-avatar.js.map +0 -1
  264. package/dist/components/xpl-avatar2.js +0 -51
  265. package/dist/components/xpl-avatar2.js.map +0 -1
  266. package/dist/components/xpl-backdrop.d.ts +0 -11
  267. package/dist/components/xpl-backdrop.js +0 -8
  268. package/dist/components/xpl-backdrop.js.map +0 -1
  269. package/dist/components/xpl-backdrop2.js +0 -35
  270. package/dist/components/xpl-backdrop2.js.map +0 -1
  271. package/dist/components/xpl-badge.d.ts +0 -11
  272. package/dist/components/xpl-badge.js +0 -8
  273. package/dist/components/xpl-badge.js.map +0 -1
  274. package/dist/components/xpl-badge2.js +0 -38
  275. package/dist/components/xpl-badge2.js.map +0 -1
  276. package/dist/components/xpl-breadcrumb-item.d.ts +0 -11
  277. package/dist/components/xpl-breadcrumb-item.js +0 -36
  278. package/dist/components/xpl-breadcrumb-item.js.map +0 -1
  279. package/dist/components/xpl-breadcrumbs.d.ts +0 -11
  280. package/dist/components/xpl-breadcrumbs.js +0 -31
  281. package/dist/components/xpl-breadcrumbs.js.map +0 -1
  282. package/dist/components/xpl-button-row.d.ts +0 -11
  283. package/dist/components/xpl-button-row.js +0 -50
  284. package/dist/components/xpl-button-row.js.map +0 -1
  285. package/dist/components/xpl-button.d.ts +0 -11
  286. package/dist/components/xpl-button.js +0 -8
  287. package/dist/components/xpl-button.js.map +0 -1
  288. package/dist/components/xpl-button2.js +0 -85
  289. package/dist/components/xpl-button2.js.map +0 -1
  290. package/dist/components/xpl-checkbox.d.ts +0 -11
  291. package/dist/components/xpl-checkbox.js +0 -8
  292. package/dist/components/xpl-checkbox.js.map +0 -1
  293. package/dist/components/xpl-checkbox2.js +0 -59
  294. package/dist/components/xpl-checkbox2.js.map +0 -1
  295. package/dist/components/xpl-choicelist.d.ts +0 -11
  296. package/dist/components/xpl-choicelist.js +0 -85
  297. package/dist/components/xpl-choicelist.js.map +0 -1
  298. package/dist/components/xpl-content-area.d.ts +0 -11
  299. package/dist/components/xpl-content-area.js +0 -34
  300. package/dist/components/xpl-content-area.js.map +0 -1
  301. package/dist/components/xpl-dashboard.d.ts +0 -11
  302. package/dist/components/xpl-dashboard.js +0 -31
  303. package/dist/components/xpl-dashboard.js.map +0 -1
  304. package/dist/components/xpl-data-card.d.ts +0 -11
  305. package/dist/components/xpl-data-card.js +0 -80
  306. package/dist/components/xpl-data-card.js.map +0 -1
  307. package/dist/components/xpl-divider.d.ts +0 -11
  308. package/dist/components/xpl-divider.js +0 -36
  309. package/dist/components/xpl-divider.js.map +0 -1
  310. package/dist/components/xpl-dropdown-group.d.ts +0 -11
  311. package/dist/components/xpl-dropdown-group.js +0 -8
  312. package/dist/components/xpl-dropdown-group.js.map +0 -1
  313. package/dist/components/xpl-dropdown-group2.js +0 -69
  314. package/dist/components/xpl-dropdown-group2.js.map +0 -1
  315. package/dist/components/xpl-dropdown-heading.d.ts +0 -11
  316. package/dist/components/xpl-dropdown-heading.js +0 -8
  317. package/dist/components/xpl-dropdown-heading.js.map +0 -1
  318. package/dist/components/xpl-dropdown-heading2.js +0 -31
  319. package/dist/components/xpl-dropdown-heading2.js.map +0 -1
  320. package/dist/components/xpl-dropdown-option.d.ts +0 -11
  321. package/dist/components/xpl-dropdown-option.js +0 -8
  322. package/dist/components/xpl-dropdown-option.js.map +0 -1
  323. package/dist/components/xpl-dropdown-option2.js +0 -89
  324. package/dist/components/xpl-dropdown-option2.js.map +0 -1
  325. package/dist/components/xpl-dropdown.d.ts +0 -11
  326. package/dist/components/xpl-dropdown.js +0 -8
  327. package/dist/components/xpl-dropdown.js.map +0 -1
  328. package/dist/components/xpl-dropdown2.js +0 -147
  329. package/dist/components/xpl-dropdown2.js.map +0 -1
  330. package/dist/components/xpl-grid-item.d.ts +0 -11
  331. package/dist/components/xpl-grid-item.js +0 -45
  332. package/dist/components/xpl-grid-item.js.map +0 -1
  333. package/dist/components/xpl-grid.d.ts +0 -11
  334. package/dist/components/xpl-grid.js +0 -50
  335. package/dist/components/xpl-grid.js.map +0 -1
  336. package/dist/components/xpl-icon.d.ts +0 -11
  337. package/dist/components/xpl-icon.js +0 -8
  338. package/dist/components/xpl-icon.js.map +0 -1
  339. package/dist/components/xpl-icon2.js +0 -1850
  340. package/dist/components/xpl-icon2.js.map +0 -1
  341. package/dist/components/xpl-input.d.ts +0 -11
  342. package/dist/components/xpl-input.js +0 -2574
  343. package/dist/components/xpl-input.js.map +0 -1
  344. package/dist/components/xpl-list.d.ts +0 -11
  345. package/dist/components/xpl-list.js +0 -73
  346. package/dist/components/xpl-list.js.map +0 -1
  347. package/dist/components/xpl-main-nav.d.ts +0 -11
  348. package/dist/components/xpl-main-nav.js +0 -44
  349. package/dist/components/xpl-main-nav.js.map +0 -1
  350. package/dist/components/xpl-nav-item.d.ts +0 -11
  351. package/dist/components/xpl-nav-item.js +0 -44
  352. package/dist/components/xpl-nav-item.js.map +0 -1
  353. package/dist/components/xpl-pagination.d.ts +0 -11
  354. package/dist/components/xpl-pagination.js +0 -100
  355. package/dist/components/xpl-pagination.js.map +0 -1
  356. package/dist/components/xpl-radio.d.ts +0 -11
  357. package/dist/components/xpl-radio.js +0 -8
  358. package/dist/components/xpl-radio.js.map +0 -1
  359. package/dist/components/xpl-radio2.js +0 -57
  360. package/dist/components/xpl-radio2.js.map +0 -1
  361. package/dist/components/xpl-secondary-nav.d.ts +0 -11
  362. package/dist/components/xpl-secondary-nav.js +0 -31
  363. package/dist/components/xpl-secondary-nav.js.map +0 -1
  364. package/dist/components/xpl-select.d.ts +0 -11
  365. package/dist/components/xpl-select.js +0 -712
  366. package/dist/components/xpl-select.js.map +0 -1
  367. package/dist/components/xpl-table.d.ts +0 -11
  368. package/dist/components/xpl-table.js +0 -170
  369. package/dist/components/xpl-table.js.map +0 -1
  370. package/dist/components/xpl-tag.d.ts +0 -11
  371. package/dist/components/xpl-tag.js +0 -8
  372. package/dist/components/xpl-tag.js.map +0 -1
  373. package/dist/components/xpl-tag2.js +0 -33
  374. package/dist/components/xpl-tag2.js.map +0 -1
  375. package/dist/components/xpl-toggle.d.ts +0 -11
  376. package/dist/components/xpl-toggle.js +0 -61
  377. package/dist/components/xpl-toggle.js.map +0 -1
  378. package/dist/components/xpl-utility-bar.d.ts +0 -11
  379. package/dist/components/xpl-utility-bar.js +0 -55
  380. package/dist/components/xpl-utility-bar.js.map +0 -1
  381. package/dist/esm/apollo-core.js.map +0 -1
  382. package/dist/esm/index-56581b5c.js.map +0 -1
  383. package/dist/esm/index.js.map +0 -1
  384. package/dist/esm/loader.js.map +0 -1
  385. package/dist/esm/v4-929670b7.js.map +0 -1
  386. package/dist/esm/xpl-application-shell.entry.js.map +0 -1
  387. package/dist/esm/xpl-avatar_15.entry.js +0 -2260
  388. package/dist/esm/xpl-avatar_15.entry.js.map +0 -1
  389. package/dist/esm/xpl-backdrop.entry.js.map +0 -1
  390. package/dist/esm/xpl-button-row.entry.js.map +0 -1
  391. package/dist/esm/xpl-choicelist.entry.js.map +0 -1
  392. package/dist/esm/xpl-divider.entry.js.map +0 -1
  393. package/dist/esm/xpl-dropdown-group_3.entry.js.map +0 -1
  394. package/dist/esm/xpl-dropdown_2.entry.js.map +0 -1
  395. package/dist/esm/xpl-grid-item.entry.js.map +0 -1
  396. package/dist/esm/xpl-grid.entry.js.map +0 -1
  397. package/dist/esm/xpl-input.entry.js.map +0 -1
  398. package/dist/esm/xpl-list.entry.js.map +0 -1
  399. package/dist/esm/xpl-main-nav.entry.js.map +0 -1
  400. package/dist/esm/xpl-pagination.entry.js.map +0 -1
  401. package/dist/esm/xpl-select.entry.js.map +0 -1
  402. package/dist/esm/xpl-toggle.entry.js.map +0 -1
  403. package/dist/stories/application-shell.stories.js.map +0 -1
  404. package/dist/stories/avatar.stories.js.map +0 -1
  405. package/dist/stories/backdrop.stories.js.map +0 -1
  406. package/dist/stories/badge.stories.js.map +0 -1
  407. package/dist/stories/breadcrumbs.stories.js.map +0 -1
  408. package/dist/stories/button-row.stories.js.map +0 -1
  409. package/dist/stories/button.stories.js.map +0 -1
  410. package/dist/stories/checkbox.stories.js.map +0 -1
  411. package/dist/stories/choicelist.stories.js.map +0 -1
  412. package/dist/stories/content-area.stories.js.map +0 -1
  413. package/dist/stories/dashboard.stories.js +0 -51
  414. package/dist/stories/dashboard.stories.js.map +0 -1
  415. package/dist/stories/data-card.stories.js +0 -70
  416. package/dist/stories/data-card.stories.js.map +0 -1
  417. package/dist/stories/divider.stories.js.map +0 -1
  418. package/dist/stories/dropdown.stories.js.map +0 -1
  419. package/dist/stories/grid.stories.js.map +0 -1
  420. package/dist/stories/icons.stories.js +0 -69
  421. package/dist/stories/icons.stories.js.map +0 -1
  422. package/dist/stories/input.stories.js.map +0 -1
  423. package/dist/stories/list.stories.js.map +0 -1
  424. package/dist/stories/main-nav.stories.js.map +0 -1
  425. package/dist/stories/pagination.stories.js.map +0 -1
  426. package/dist/stories/radio.stories.js.map +0 -1
  427. package/dist/stories/secondary-nav.stories.js.map +0 -1
  428. package/dist/stories/select.stories.js.map +0 -1
  429. package/dist/stories/table.stories.js.map +0 -1
  430. package/dist/stories/tabs.stories.js.map +0 -1
  431. package/dist/stories/toggle.stories.js.map +0 -1
  432. package/dist/stories/utility-bar.stories.js.map +0 -1
  433. package/dist/types/Users/roc/Sites/apollo/.stencil/stories/dashboard.stories.d.ts +0 -31
  434. package/dist/types/Users/roc/Sites/apollo/.stencil/stories/data-card.stories.d.ts +0 -71
  435. package/dist/types/Users/roc/Sites/apollo/.stencil/stories/icons.stories.d.ts +0 -77
  436. package/dist/types/Users/roc/Sites/apollo/.stencil/stories/select.stories.d.ts +0 -134
  437. package/dist/types/components/xpl-dashboard/xpl-dashboard.d.ts +0 -3
  438. package/dist/types/components/xpl-data-card/xpl-data-card.d.ts +0 -38
  439. package/dist/types/components/xpl-icon/xpl-icon.d.ts +0 -17
  440. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/avatar.stories.d.ts +0 -0
  441. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/backdrop.stories.d.ts +0 -0
  442. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/badge.stories.d.ts +0 -0
  443. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/breadcrumbs.stories.d.ts +0 -0
  444. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/button-row.stories.d.ts +0 -0
  445. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/button.stories.d.ts +0 -0
  446. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/checkbox.stories.d.ts +0 -0
  447. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/choicelist.stories.d.ts +0 -0
  448. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/content-area.stories.d.ts +0 -0
  449. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/divider.stories.d.ts +0 -0
  450. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/grid.stories.d.ts +0 -0
  451. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/input.stories.d.ts +0 -0
  452. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/list.stories.d.ts +0 -0
  453. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/main-nav.stories.d.ts +0 -0
  454. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/pagination.stories.d.ts +0 -0
  455. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/radio.stories.d.ts +0 -0
  456. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/secondary-nav.stories.d.ts +0 -0
  457. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/tabs.stories.d.ts +0 -0
  458. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/toggle.stories.d.ts +0 -0
  459. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/utility-bar.stories.d.ts +0 -0
@@ -5,25 +5,8 @@
5
5
  * It contains typing information for all components that exist in this project.
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
- import { Choice } from "./components/xpl-choicelist/choice";
9
- import { IconName } from "./components/xpl-icon/xpl-icon";
10
- import { DropdownItem, DropdownOptionGroup } from "./components/xpl-dropdown/dropdownoption";
11
- import { XplDropdownOption } from "./components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option";
12
- import { IconName as IconName1 } from "./components/xpl-icon/xpl-icon";
13
- import { ListItem } from "./components/xpl-list/listitem";
14
- export { Choice } from "./components/xpl-choicelist/choice";
15
- export { IconName } from "./components/xpl-icon/xpl-icon";
16
- export { DropdownItem, DropdownOptionGroup } from "./components/xpl-dropdown/dropdownoption";
17
- export { XplDropdownOption } from "./components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option";
18
- export { IconName as IconName1 } from "./components/xpl-icon/xpl-icon";
19
- export { ListItem } from "./components/xpl-list/listitem";
20
8
  export namespace Components {
21
9
  interface XplApplicationShell {
22
- /**
23
- * @property {boolean} - *
24
- * @property {boolean} - Optional property that defines whether or not the main nav is open at startup.
25
- */
26
- "isNavOpenAtStartup": boolean;
27
10
  /**
28
11
  * @property {string} - The width of the main navigation bar, can be passed or updated when nav-width event is emitted.
29
12
  */
@@ -129,7 +112,7 @@ export namespace Components {
129
112
  }
130
113
  interface XplChoicelist {
131
114
  /**
132
- * 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]
115
+ * An array of choices to be displayed in the list. Each choice should be an object with keys: - `checked` [boolean] - whether to precheck or not - `children` [Choice[]] - an array of child choices (recursive) - `description` [string] - `label` [string]
133
116
  */
134
117
  "choices": Choice[];
135
118
  /**
@@ -159,34 +142,6 @@ export namespace Components {
159
142
  */
160
143
  "size": 'wide' | 'narrow' | 'full';
161
144
  }
162
- interface XplDashboard {
163
- }
164
- interface XplDataCard {
165
- /**
166
- * Whether to display the icon or not.
167
- */
168
- "icon"?: IconName;
169
- /**
170
- * Whether the card is a link
171
- */
172
- "link"?: boolean;
173
- /**
174
- * Name Term
175
- */
176
- "name": string;
177
- /**
178
- * Detail, stat, or value to be displayed in short format. Will be rendered when card is smaller than 441px.
179
- */
180
- "shortStat"?: string;
181
- /**
182
- * 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.
183
- */
184
- "stat": string;
185
- /**
186
- * Color variant. Used to set the icon color and background.
187
- */
188
- "variant"?: 'primary' | 'secondary';
189
- }
190
145
  interface XplDivider {
191
146
  /**
192
147
  * 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.
@@ -199,9 +154,9 @@ export namespace Components {
199
154
  */
200
155
  "closeOnSelect": boolean;
201
156
  /**
202
- * called on dropdown option click and keydown events to update isSelected states
157
+ * called on dropdown option click and keydown events to update isSelected states
203
158
  */
204
- "handleSelect": (e: any, { component }: { component: XplDropdownOption; }) => Promise<void>;
159
+ "handleSelect": (e: Event, { component }: { component: any; }) => Promise<void>;
205
160
  /**
206
161
  * text to display as heading
207
162
  */
@@ -225,7 +180,7 @@ export namespace Components {
225
180
  /**
226
181
  * call back function invoked when a selection is made
227
182
  */
228
- "update"?: (e, { component }: { component: XplDropdown }) => void;
183
+ "update"?: (e: Event, { component: XplDropdown }) => void;
229
184
  }
230
185
  interface XplDropdownGroup {
231
186
  /**
@@ -256,10 +211,6 @@ export namespace Components {
256
211
  * text to display for option
257
212
  */
258
213
  "label": string;
259
- /**
260
- * The selected options value to be submitted with the form, should this option be selected.
261
- */
262
- "value"?: string;
263
214
  }
264
215
  interface XplGrid {
265
216
  }
@@ -269,20 +220,6 @@ export namespace Components {
269
220
  "sm": number;
270
221
  "xs": number;
271
222
  }
272
- interface XplIcon {
273
- /**
274
- * Icon's background color.
275
- */
276
- "backgroundColor"?: string;
277
- /**
278
- * Name of icon
279
- */
280
- "icon": IconName1;
281
- /**
282
- * Size of icon
283
- */
284
- "size"?: number;
285
- }
286
223
  interface XplInput {
287
224
  /**
288
225
  * 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.
@@ -347,7 +284,7 @@ export namespace Components {
347
284
  }
348
285
  interface XplList {
349
286
  /**
350
- * `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.
287
+ * `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.
351
288
  */
352
289
  "items"?: ListItem[];
353
290
  }
@@ -388,7 +325,7 @@ export namespace Components {
388
325
  /**
389
326
  * 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; }
390
327
  */
391
- "choices"?: DropdownItem[];
328
+ "choices"?: SelectChoice[];
392
329
  /**
393
330
  * Optional text that appears below the input label.
394
331
  */
@@ -398,49 +335,22 @@ export namespace Components {
398
335
  * 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.
399
336
  */
400
337
  "error"?: string;
401
- /**
402
- * The label that appears above the select dropdown
403
- */
404
338
  "label"?: string;
405
339
  /**
406
340
  * Whether to allow a single choice or multiple choices.
407
341
  */
408
342
  "mode"?: 'single' | 'multi';
409
- /**
410
- * The name of the hidden input field that contains the selected option's value(s)
411
- */
412
- "name"?: string;
413
343
  "placeholder": string;
414
- "selectedValues"?: string | string[];
415
344
  /**
416
345
  * 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.
417
346
  */
418
347
  "truncate"?: boolean;
419
348
  }
420
349
  interface XplTable {
421
- /**
422
- * The header values for each column.
423
- */
424
350
  "columns"?: string[];
425
- /**
426
- * The data for the body of the table.
427
- */
428
351
  "data"?: string[][];
429
- /**
430
- * When true, the first column of the table is sticky and will cover the leftmost rows in a horizontally scrollable container.
431
- */
432
352
  "freeze"?: boolean;
433
- /**
434
- * Toggles a selectable checkbox for each row in the table
435
- */
436
353
  "multiselect"?: boolean;
437
- /**
438
- * The values for the input for each row when multiselect is activated.
439
- */
440
- "selectedValues"?: string[];
441
- /**
442
- * Toggles an optional styling of the background of each even row of the table body.
443
- */
444
354
  "striped"?: boolean;
445
355
  }
446
356
  interface XplTag {
@@ -467,56 +377,12 @@ export namespace Components {
467
377
  "variant"?: 'default' | 'small';
468
378
  }
469
379
  interface XplUtilityBar {
470
- /**
471
- * @property {boolean} - Optional property that defines whether or not the main nav is open at startup.
472
- */
473
- "isNavOpenAtStartup"?: boolean;
474
380
  /**
475
381
  * @property {boolean} - whether or not to show the bars to control the state of the navigation bar (open/close)
476
382
  */
477
383
  "navControl"?: boolean;
478
384
  }
479
385
  }
480
- export interface XplButtonRowCustomEvent<T> extends CustomEvent<T> {
481
- detail: T;
482
- target: HTMLXplButtonRowElement;
483
- }
484
- export interface XplCheckboxCustomEvent<T> extends CustomEvent<T> {
485
- detail: T;
486
- target: HTMLXplCheckboxElement;
487
- }
488
- export interface XplMainNavCustomEvent<T> extends CustomEvent<T> {
489
- detail: T;
490
- target: HTMLXplMainNavElement;
491
- }
492
- export interface XplNavItemCustomEvent<T> extends CustomEvent<T> {
493
- detail: T;
494
- target: HTMLXplNavItemElement;
495
- }
496
- export interface XplPaginationCustomEvent<T> extends CustomEvent<T> {
497
- detail: T;
498
- target: HTMLXplPaginationElement;
499
- }
500
- export interface XplRadioCustomEvent<T> extends CustomEvent<T> {
501
- detail: T;
502
- target: HTMLXplRadioElement;
503
- }
504
- export interface XplSelectCustomEvent<T> extends CustomEvent<T> {
505
- detail: T;
506
- target: HTMLXplSelectElement;
507
- }
508
- export interface XplTableCustomEvent<T> extends CustomEvent<T> {
509
- detail: T;
510
- target: HTMLXplTableElement;
511
- }
512
- export interface XplTagCustomEvent<T> extends CustomEvent<T> {
513
- detail: T;
514
- target: HTMLXplTagElement;
515
- }
516
- export interface XplUtilityBarCustomEvent<T> extends CustomEvent<T> {
517
- detail: T;
518
- target: HTMLXplUtilityBarElement;
519
- }
520
386
  declare global {
521
387
  interface HTMLXplApplicationShellElement extends Components.XplApplicationShell, HTMLStencilElement {
522
388
  }
@@ -584,18 +450,6 @@ declare global {
584
450
  prototype: HTMLXplContentAreaElement;
585
451
  new (): HTMLXplContentAreaElement;
586
452
  };
587
- interface HTMLXplDashboardElement extends Components.XplDashboard, HTMLStencilElement {
588
- }
589
- var HTMLXplDashboardElement: {
590
- prototype: HTMLXplDashboardElement;
591
- new (): HTMLXplDashboardElement;
592
- };
593
- interface HTMLXplDataCardElement extends Components.XplDataCard, HTMLStencilElement {
594
- }
595
- var HTMLXplDataCardElement: {
596
- prototype: HTMLXplDataCardElement;
597
- new (): HTMLXplDataCardElement;
598
- };
599
453
  interface HTMLXplDividerElement extends Components.XplDivider, HTMLStencilElement {
600
454
  }
601
455
  var HTMLXplDividerElement: {
@@ -638,12 +492,6 @@ declare global {
638
492
  prototype: HTMLXplGridItemElement;
639
493
  new (): HTMLXplGridItemElement;
640
494
  };
641
- interface HTMLXplIconElement extends Components.XplIcon, HTMLStencilElement {
642
- }
643
- var HTMLXplIconElement: {
644
- prototype: HTMLXplIconElement;
645
- new (): HTMLXplIconElement;
646
- };
647
495
  interface HTMLXplInputElement extends Components.XplInput, HTMLStencilElement {
648
496
  }
649
497
  var HTMLXplInputElement: {
@@ -728,8 +576,6 @@ declare global {
728
576
  "xpl-checkbox": HTMLXplCheckboxElement;
729
577
  "xpl-choicelist": HTMLXplChoicelistElement;
730
578
  "xpl-content-area": HTMLXplContentAreaElement;
731
- "xpl-dashboard": HTMLXplDashboardElement;
732
- "xpl-data-card": HTMLXplDataCardElement;
733
579
  "xpl-divider": HTMLXplDividerElement;
734
580
  "xpl-dropdown": HTMLXplDropdownElement;
735
581
  "xpl-dropdown-group": HTMLXplDropdownGroupElement;
@@ -737,7 +583,6 @@ declare global {
737
583
  "xpl-dropdown-option": HTMLXplDropdownOptionElement;
738
584
  "xpl-grid": HTMLXplGridElement;
739
585
  "xpl-grid-item": HTMLXplGridItemElement;
740
- "xpl-icon": HTMLXplIconElement;
741
586
  "xpl-input": HTMLXplInputElement;
742
587
  "xpl-list": HTMLXplListElement;
743
588
  "xpl-main-nav": HTMLXplMainNavElement;
@@ -754,11 +599,6 @@ declare global {
754
599
  }
755
600
  declare namespace LocalJSX {
756
601
  interface XplApplicationShell {
757
- /**
758
- * @property {boolean} - *
759
- * @property {boolean} - Optional property that defines whether or not the main nav is open at startup.
760
- */
761
- "isNavOpenAtStartup"?: boolean;
762
602
  /**
763
603
  * @property {string} - The width of the main navigation bar, can be passed or updated when nav-width event is emitted.
764
604
  */
@@ -842,15 +682,15 @@ declare namespace LocalJSX {
842
682
  /**
843
683
  * Fires on the primary button. If not set, the button can act as a standard submit button for a form.
844
684
  */
845
- "onClickPrimary"?: (event: XplButtonRowCustomEvent<any>) => void;
685
+ "onClickPrimary"?: (event: CustomEvent<any>) => void;
846
686
  /**
847
687
  * Adds an event listener to the secondary button.
848
688
  */
849
- "onClickSecondary"?: (event: XplButtonRowCustomEvent<any>) => void;
689
+ "onClickSecondary"?: (event: CustomEvent<any>) => void;
850
690
  /**
851
691
  * Adds an event listener to the tertiary button.
852
692
  */
853
- "onClickTertiary"?: (event: XplButtonRowCustomEvent<any>) => void;
693
+ "onClickTertiary"?: (event: CustomEvent<any>) => void;
854
694
  /**
855
695
  * The text for the primary button.
856
696
  */
@@ -873,14 +713,14 @@ declare namespace LocalJSX {
873
713
  /**
874
714
  * @private
875
715
  */
876
- "onCheckboxChange"?: (event: XplCheckboxCustomEvent<any>) => void;
716
+ "onCheckboxChange"?: (event: CustomEvent<any>) => void;
877
717
  "required"?: boolean;
878
718
  "styled"?: boolean;
879
719
  "value"?: string;
880
720
  }
881
721
  interface XplChoicelist {
882
722
  /**
883
- * 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]
723
+ * An array of choices to be displayed in the list. Each choice should be an object with keys: - `checked` [boolean] - whether to precheck or not - `children` [Choice[]] - an array of child choices (recursive) - `description` [string] - `label` [string]
884
724
  */
885
725
  "choices"?: Choice[];
886
726
  /**
@@ -910,34 +750,6 @@ declare namespace LocalJSX {
910
750
  */
911
751
  "size"?: 'wide' | 'narrow' | 'full';
912
752
  }
913
- interface XplDashboard {
914
- }
915
- interface XplDataCard {
916
- /**
917
- * Whether to display the icon or not.
918
- */
919
- "icon"?: IconName;
920
- /**
921
- * Whether the card is a link
922
- */
923
- "link"?: boolean;
924
- /**
925
- * Name Term
926
- */
927
- "name"?: string;
928
- /**
929
- * Detail, stat, or value to be displayed in short format. Will be rendered when card is smaller than 441px.
930
- */
931
- "shortStat"?: string;
932
- /**
933
- * 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.
934
- */
935
- "stat"?: string;
936
- /**
937
- * Color variant. Used to set the icon color and background.
938
- */
939
- "variant"?: 'primary' | 'secondary';
940
- }
941
753
  interface XplDivider {
942
754
  /**
943
755
  * 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.
@@ -972,7 +784,7 @@ declare namespace LocalJSX {
972
784
  /**
973
785
  * call back function invoked when a selection is made
974
786
  */
975
- "update"?: (e, { component }: { component: XplDropdown }) => void;
787
+ "update"?: (e: Event, { component: XplDropdown }) => void;
976
788
  }
977
789
  interface XplDropdownGroup {
978
790
  /**
@@ -1003,10 +815,6 @@ declare namespace LocalJSX {
1003
815
  * text to display for option
1004
816
  */
1005
817
  "label"?: string;
1006
- /**
1007
- * The selected options value to be submitted with the form, should this option be selected.
1008
- */
1009
- "value"?: string;
1010
818
  }
1011
819
  interface XplGrid {
1012
820
  }
@@ -1016,20 +824,6 @@ declare namespace LocalJSX {
1016
824
  "sm"?: number;
1017
825
  "xs"?: number;
1018
826
  }
1019
- interface XplIcon {
1020
- /**
1021
- * Icon's background color.
1022
- */
1023
- "backgroundColor"?: string;
1024
- /**
1025
- * Name of icon
1026
- */
1027
- "icon"?: IconName1;
1028
- /**
1029
- * Size of icon
1030
- */
1031
- "size"?: number;
1032
- }
1033
827
  interface XplInput {
1034
828
  /**
1035
829
  * 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.
@@ -1094,7 +888,7 @@ declare namespace LocalJSX {
1094
888
  }
1095
889
  interface XplList {
1096
890
  /**
1097
- * `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.
891
+ * `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.
1098
892
  */
1099
893
  "items"?: ListItem[];
1100
894
  }
@@ -1102,7 +896,7 @@ declare namespace LocalJSX {
1102
896
  /**
1103
897
  * @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.
1104
898
  */
1105
- "onNavWidth"?: (event: XplMainNavCustomEvent<string>) => void;
899
+ "onNavWidth"?: (event: CustomEvent<string>) => void;
1106
900
  /**
1107
901
  * @property {string} width - The width of the Main Nav.
1108
902
  */
@@ -1116,10 +910,10 @@ declare namespace LocalJSX {
1116
910
  /**
1117
911
  * @event {boolean} - Emits the desired state of the navigation bar (open: true/false)
1118
912
  */
1119
- "onNavOpen"?: (event: XplNavItemCustomEvent<boolean>) => void;
913
+ "onNavOpen"?: (event: CustomEvent<boolean>) => void;
1120
914
  }
1121
915
  interface XplPagination {
1122
- "onPage"?: (event: XplPaginationCustomEvent<any>) => void;
916
+ "onPage"?: (event: CustomEvent<any>) => void;
1123
917
  "perPage"?: number;
1124
918
  "total"?: number;
1125
919
  "waitForCallback"?: boolean;
@@ -1132,7 +926,7 @@ declare namespace LocalJSX {
1132
926
  /**
1133
927
  * @private
1134
928
  */
1135
- "onRadioChange"?: (event: XplRadioCustomEvent<any>) => void;
929
+ "onRadioChange"?: (event: CustomEvent<any>) => void;
1136
930
  "required"?: boolean;
1137
931
  "styled"?: boolean;
1138
932
  "value"?: string;
@@ -1143,7 +937,7 @@ declare namespace LocalJSX {
1143
937
  /**
1144
938
  * 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; }
1145
939
  */
1146
- "choices"?: DropdownItem[];
940
+ "choices"?: SelectChoice[];
1147
941
  /**
1148
942
  * Optional text that appears below the input label.
1149
943
  */
@@ -1153,58 +947,27 @@ declare namespace LocalJSX {
1153
947
  * 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.
1154
948
  */
1155
949
  "error"?: string;
1156
- /**
1157
- * The label that appears above the select dropdown
1158
- */
1159
950
  "label"?: string;
1160
951
  /**
1161
952
  * Whether to allow a single choice or multiple choices.
1162
953
  */
1163
954
  "mode"?: 'single' | 'multi';
1164
- /**
1165
- * The name of the hidden input field that contains the selected option's value(s)
1166
- */
1167
- "name"?: string;
1168
- /**
1169
- * Emits the value of the selected option in the select menu on change
1170
- */
1171
- "onSelectChange"?: (event: XplSelectCustomEvent<string>) => void;
1172
955
  "placeholder"?: string;
1173
- "selectedValues"?: string | string[];
1174
956
  /**
1175
957
  * 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.
1176
958
  */
1177
959
  "truncate"?: boolean;
1178
960
  }
1179
961
  interface XplTable {
1180
- /**
1181
- * The header values for each column.
1182
- */
1183
962
  "columns"?: string[];
1184
- /**
1185
- * The data for the body of the table.
1186
- */
1187
963
  "data"?: string[][];
1188
- /**
1189
- * When true, the first column of the table is sticky and will cover the leftmost rows in a horizontally scrollable container.
1190
- */
1191
964
  "freeze"?: boolean;
1192
- /**
1193
- * Toggles a selectable checkbox for each row in the table
1194
- */
1195
965
  "multiselect"?: boolean;
1196
- "onTableSelect"?: (event: XplTableCustomEvent<any>) => void;
1197
- /**
1198
- * The values for the input for each row when multiselect is activated.
1199
- */
1200
- "selectedValues"?: string[];
1201
- /**
1202
- * Toggles an optional styling of the background of each even row of the table body.
1203
- */
966
+ "onTableSelect"?: (event: CustomEvent<any>) => void;
1204
967
  "striped"?: boolean;
1205
968
  }
1206
969
  interface XplTag {
1207
- "onClose"?: (event: XplTagCustomEvent<any>) => void;
970
+ "onClose"?: (event: CustomEvent<any>) => void;
1208
971
  }
1209
972
  interface XplToggle {
1210
973
  "checked"?: boolean;
@@ -1228,10 +991,6 @@ declare namespace LocalJSX {
1228
991
  "variant"?: 'default' | 'small';
1229
992
  }
1230
993
  interface XplUtilityBar {
1231
- /**
1232
- * @property {boolean} - Optional property that defines whether or not the main nav is open at startup.
1233
- */
1234
- "isNavOpenAtStartup"?: boolean;
1235
994
  /**
1236
995
  * @property {boolean} - whether or not to show the bars to control the state of the navigation bar (open/close)
1237
996
  */
@@ -1239,7 +998,7 @@ declare namespace LocalJSX {
1239
998
  /**
1240
999
  * @event {boolean} - Emits the desired state of the navigation bar (open: true/false)
1241
1000
  */
1242
- "onNavOpen"?: (event: XplUtilityBarCustomEvent<boolean>) => void;
1001
+ "onNavOpen"?: (event: CustomEvent<boolean>) => void;
1243
1002
  }
1244
1003
  interface IntrinsicElements {
1245
1004
  "xpl-application-shell": XplApplicationShell;
@@ -1253,8 +1012,6 @@ declare namespace LocalJSX {
1253
1012
  "xpl-checkbox": XplCheckbox;
1254
1013
  "xpl-choicelist": XplChoicelist;
1255
1014
  "xpl-content-area": XplContentArea;
1256
- "xpl-dashboard": XplDashboard;
1257
- "xpl-data-card": XplDataCard;
1258
1015
  "xpl-divider": XplDivider;
1259
1016
  "xpl-dropdown": XplDropdown;
1260
1017
  "xpl-dropdown-group": XplDropdownGroup;
@@ -1262,7 +1019,6 @@ declare namespace LocalJSX {
1262
1019
  "xpl-dropdown-option": XplDropdownOption;
1263
1020
  "xpl-grid": XplGrid;
1264
1021
  "xpl-grid-item": XplGridItem;
1265
- "xpl-icon": XplIcon;
1266
1022
  "xpl-input": XplInput;
1267
1023
  "xpl-list": XplList;
1268
1024
  "xpl-main-nav": XplMainNav;
@@ -1292,8 +1048,6 @@ declare module "@stencil/core" {
1292
1048
  "xpl-checkbox": LocalJSX.XplCheckbox & JSXBase.HTMLAttributes<HTMLXplCheckboxElement>;
1293
1049
  "xpl-choicelist": LocalJSX.XplChoicelist & JSXBase.HTMLAttributes<HTMLXplChoicelistElement>;
1294
1050
  "xpl-content-area": LocalJSX.XplContentArea & JSXBase.HTMLAttributes<HTMLXplContentAreaElement>;
1295
- "xpl-dashboard": LocalJSX.XplDashboard & JSXBase.HTMLAttributes<HTMLXplDashboardElement>;
1296
- "xpl-data-card": LocalJSX.XplDataCard & JSXBase.HTMLAttributes<HTMLXplDataCardElement>;
1297
1051
  "xpl-divider": LocalJSX.XplDivider & JSXBase.HTMLAttributes<HTMLXplDividerElement>;
1298
1052
  "xpl-dropdown": LocalJSX.XplDropdown & JSXBase.HTMLAttributes<HTMLXplDropdownElement>;
1299
1053
  "xpl-dropdown-group": LocalJSX.XplDropdownGroup & JSXBase.HTMLAttributes<HTMLXplDropdownGroupElement>;
@@ -1301,7 +1055,6 @@ declare module "@stencil/core" {
1301
1055
  "xpl-dropdown-option": LocalJSX.XplDropdownOption & JSXBase.HTMLAttributes<HTMLXplDropdownOptionElement>;
1302
1056
  "xpl-grid": LocalJSX.XplGrid & JSXBase.HTMLAttributes<HTMLXplGridElement>;
1303
1057
  "xpl-grid-item": LocalJSX.XplGridItem & JSXBase.HTMLAttributes<HTMLXplGridItemElement>;
1304
- "xpl-icon": LocalJSX.XplIcon & JSXBase.HTMLAttributes<HTMLXplIconElement>;
1305
1058
  "xpl-input": LocalJSX.XplInput & JSXBase.HTMLAttributes<HTMLXplInputElement>;
1306
1059
  "xpl-list": LocalJSX.XplList & JSXBase.HTMLAttributes<HTMLXplListElement>;
1307
1060
  "xpl-main-nav": LocalJSX.XplMainNav & JSXBase.HTMLAttributes<HTMLXplMainNavElement>;