@xplortech/apollo-core 1.0.0-beta.17 → 1.0.0-beta.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 (459) hide show
  1. package/CHANGELOG.md +106 -0
  2. package/build/style.css +2758 -1516
  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-09b2f746.entry.js +1 -0
  7. package/dist/apollo-core/p-1b1e7207.entry.js +1 -0
  8. package/dist/apollo-core/p-20389bb6.entry.js +1 -0
  9. package/dist/apollo-core/p-25983fde.entry.js +1 -0
  10. package/dist/apollo-core/p-2f90296c.js +10 -0
  11. package/dist/apollo-core/p-4a348764.entry.js +1 -0
  12. package/dist/apollo-core/p-4e2b69e8.entry.js +1 -0
  13. package/dist/apollo-core/p-84bf6b2d.entry.js +1 -0
  14. package/dist/apollo-core/p-880c0359.entry.js +1 -0
  15. package/dist/apollo-core/p-8e47a5be.entry.js +1 -0
  16. package/dist/apollo-core/p-93958292.entry.js +1 -0
  17. package/dist/apollo-core/p-93c27db5.entry.js +1 -0
  18. package/dist/apollo-core/p-ad90fe4d.js +1 -2
  19. package/dist/apollo-core/p-b2327e2c.entry.js +1 -0
  20. package/dist/apollo-core/p-c3a12469.entry.js +1 -0
  21. package/dist/apollo-core/p-c55b5d9c.entry.js +1 -0
  22. package/dist/apollo-core/p-e369d7af.entry.js +1 -0
  23. package/dist/apollo-core/p-e60ecaef.entry.js +1 -0
  24. package/dist/apollo-core/p-f929c958.js +1 -0
  25. package/dist/cjs/apollo-core.cjs.js +3 -12
  26. package/dist/cjs/{index-000e170c.js → index-54ba5804.js} +216 -768
  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 +299 -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 -43
  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 +188 -228
  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 -296
  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 +20201 -0
  80. package/dist/esm/apollo-core.js +3 -9
  81. package/dist/esm/{index-56581b5c.js → index-3df6db84.js} +217 -768
  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 +284 -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 -43
  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 +5 -18
  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/button.stories.d.ts +2 -10
  129. package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/dropdown.stories.d.ts +1 -17
  130. package/dist/types/Users/fernandogelin/Projects/apollo-admin/packages/apollo/.stencil/stories/select.stories.d.ts +74 -0
  131. package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/table.stories.d.ts +1 -22
  132. package/dist/types/components/xpl-application-shell/xpl-application-shell.d.ts +1 -6
  133. package/dist/types/components/xpl-button/xpl-button.d.ts +0 -6
  134. package/dist/types/components/xpl-choicelist/xpl-choicelist.d.ts +1 -2
  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/xpl-list.d.ts +3 -2
  140. package/dist/types/components/xpl-select/xpl-select.d.ts +1 -16
  141. package/dist/types/components/xpl-table/xpl-table.d.ts +7 -29
  142. package/dist/types/components/xpl-utility-bar/xpl-utility-bar.d.ts +1 -5
  143. package/dist/types/components.d.ts +21 -276
  144. package/dist/types/stencil-public-runtime.d.ts +23 -97
  145. package/loader/index.d.ts +1 -9
  146. package/loader/package.json +0 -1
  147. package/package.json +28 -21
  148. package/LICENSE +0 -21
  149. package/dist/apollo-core/apollo-core.esm.js.map +0 -1
  150. package/dist/apollo-core/index.esm.js.map +0 -1
  151. package/dist/apollo-core/p-1fa46bc3.entry.js +0 -2
  152. package/dist/apollo-core/p-1fa46bc3.entry.js.map +0 -1
  153. package/dist/apollo-core/p-29f4679d.entry.js +0 -2
  154. package/dist/apollo-core/p-29f4679d.entry.js.map +0 -1
  155. package/dist/apollo-core/p-3f3cc34e.entry.js +0 -2
  156. package/dist/apollo-core/p-3f3cc34e.entry.js.map +0 -1
  157. package/dist/apollo-core/p-5372bf3e.entry.js +0 -2
  158. package/dist/apollo-core/p-5372bf3e.entry.js.map +0 -1
  159. package/dist/apollo-core/p-5ceaec87.entry.js +0 -2
  160. package/dist/apollo-core/p-5ceaec87.entry.js.map +0 -1
  161. package/dist/apollo-core/p-60d4d252.entry.js +0 -2
  162. package/dist/apollo-core/p-60d4d252.entry.js.map +0 -1
  163. package/dist/apollo-core/p-6797b2b7.entry.js +0 -7
  164. package/dist/apollo-core/p-6797b2b7.entry.js.map +0 -1
  165. package/dist/apollo-core/p-6acc4122.entry.js +0 -2
  166. package/dist/apollo-core/p-6acc4122.entry.js.map +0 -1
  167. package/dist/apollo-core/p-787bac91.entry.js +0 -2
  168. package/dist/apollo-core/p-787bac91.entry.js.map +0 -1
  169. package/dist/apollo-core/p-7a8e818a.entry.js +0 -2
  170. package/dist/apollo-core/p-7a8e818a.entry.js.map +0 -1
  171. package/dist/apollo-core/p-807d8de9.entry.js +0 -2
  172. package/dist/apollo-core/p-807d8de9.entry.js.map +0 -1
  173. package/dist/apollo-core/p-ad90fe4d.js.map +0 -1
  174. package/dist/apollo-core/p-bcb81e30.entry.js +0 -2
  175. package/dist/apollo-core/p-bcb81e30.entry.js.map +0 -1
  176. package/dist/apollo-core/p-db29ebe0.entry.js +0 -2
  177. package/dist/apollo-core/p-db29ebe0.entry.js.map +0 -1
  178. package/dist/apollo-core/p-e0541e23.entry.js +0 -2
  179. package/dist/apollo-core/p-e0541e23.entry.js.map +0 -1
  180. package/dist/apollo-core/p-e215fc5f.entry.js +0 -2
  181. package/dist/apollo-core/p-e215fc5f.entry.js.map +0 -1
  182. package/dist/apollo-core/p-e8953b60.js +0 -3
  183. package/dist/apollo-core/p-e8953b60.js.map +0 -1
  184. package/dist/apollo-core/p-efa8a79d.entry.js +0 -2
  185. package/dist/apollo-core/p-efa8a79d.entry.js.map +0 -1
  186. package/dist/cjs/apollo-core.cjs.js.map +0 -1
  187. package/dist/cjs/index-000e170c.js.map +0 -1
  188. package/dist/cjs/index.cjs.js.map +0 -1
  189. package/dist/cjs/loader.cjs.js.map +0 -1
  190. package/dist/cjs/v4-14140ff3.js.map +0 -1
  191. package/dist/cjs/xpl-application-shell.cjs.entry.js.map +0 -1
  192. package/dist/cjs/xpl-avatar_15.cjs.entry.js +0 -2278
  193. package/dist/cjs/xpl-avatar_15.cjs.entry.js.map +0 -1
  194. package/dist/cjs/xpl-backdrop.cjs.entry.js.map +0 -1
  195. package/dist/cjs/xpl-button-row.cjs.entry.js.map +0 -1
  196. package/dist/cjs/xpl-choicelist.cjs.entry.js.map +0 -1
  197. package/dist/cjs/xpl-divider.cjs.entry.js.map +0 -1
  198. package/dist/cjs/xpl-dropdown-group_3.cjs.entry.js.map +0 -1
  199. package/dist/cjs/xpl-dropdown_2.cjs.entry.js.map +0 -1
  200. package/dist/cjs/xpl-grid-item.cjs.entry.js.map +0 -1
  201. package/dist/cjs/xpl-grid.cjs.entry.js.map +0 -1
  202. package/dist/cjs/xpl-input.cjs.entry.js.map +0 -1
  203. package/dist/cjs/xpl-list.cjs.entry.js.map +0 -1
  204. package/dist/cjs/xpl-main-nav.cjs.entry.js.map +0 -1
  205. package/dist/cjs/xpl-pagination.cjs.entry.js.map +0 -1
  206. package/dist/cjs/xpl-select.cjs.entry.js.map +0 -1
  207. package/dist/cjs/xpl-toggle.cjs.entry.js.map +0 -1
  208. package/dist/collection/components/xpl-application-shell/xpl-application-shell.js.map +0 -1
  209. package/dist/collection/components/xpl-avatar/xpl-avatar.js.map +0 -1
  210. package/dist/collection/components/xpl-backdrop/xpl-backdrop.js.map +0 -1
  211. package/dist/collection/components/xpl-badge/xpl-badge.js.map +0 -1
  212. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.js.map +0 -1
  213. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.js.map +0 -1
  214. package/dist/collection/components/xpl-button/xpl-button.js.map +0 -1
  215. package/dist/collection/components/xpl-button-row/xpl-button-row.js.map +0 -1
  216. package/dist/collection/components/xpl-checkbox/xpl-checkbox.js.map +0 -1
  217. package/dist/collection/components/xpl-choicelist/choice.js +0 -2
  218. package/dist/collection/components/xpl-choicelist/choice.js.map +0 -1
  219. package/dist/collection/components/xpl-choicelist/xpl-choicelist.js.map +0 -1
  220. package/dist/collection/components/xpl-content-area/xpl-content-area.js.map +0 -1
  221. package/dist/collection/components/xpl-dashboard/xpl-dashboard.js +0 -8
  222. package/dist/collection/components/xpl-dashboard/xpl-dashboard.js.map +0 -1
  223. package/dist/collection/components/xpl-data-card/xpl-data-card.js +0 -162
  224. package/dist/collection/components/xpl-data-card/xpl-data-card.js.map +0 -1
  225. package/dist/collection/components/xpl-divider/xpl-divider.js.map +0 -1
  226. package/dist/collection/components/xpl-dropdown/dropdownoption.js +0 -2
  227. package/dist/collection/components/xpl-dropdown/dropdownoption.js.map +0 -1
  228. package/dist/collection/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.js.map +0 -1
  229. package/dist/collection/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.js.map +0 -1
  230. package/dist/collection/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.js.map +0 -1
  231. package/dist/collection/components/xpl-dropdown/xpl-dropdown.js.map +0 -1
  232. package/dist/collection/components/xpl-grid/xpl-grid.js.map +0 -1
  233. package/dist/collection/components/xpl-grid-item/xpl-grid-item.js.map +0 -1
  234. package/dist/collection/components/xpl-icon/xpl-icon.css +0 -5
  235. package/dist/collection/components/xpl-icon/xpl-icon.js +0 -93
  236. package/dist/collection/components/xpl-icon/xpl-icon.js.map +0 -1
  237. package/dist/collection/components/xpl-input/xpl-input.js.map +0 -1
  238. package/dist/collection/components/xpl-list/listitem.js +0 -2
  239. package/dist/collection/components/xpl-list/listitem.js.map +0 -1
  240. package/dist/collection/components/xpl-list/xpl-list.js.map +0 -1
  241. package/dist/collection/components/xpl-main-nav/xpl-main-nav.js.map +0 -1
  242. package/dist/collection/components/xpl-nav-item/xpl-nav-item.js.map +0 -1
  243. package/dist/collection/components/xpl-pagination/xpl-pagination.js.map +0 -1
  244. package/dist/collection/components/xpl-radio/xpl-radio.js.map +0 -1
  245. package/dist/collection/components/xpl-secondary-nav/xpl-secondary-nav.js.map +0 -1
  246. package/dist/collection/components/xpl-select/xpl-select.js.map +0 -1
  247. package/dist/collection/components/xpl-table/xpl-table.js.map +0 -1
  248. package/dist/collection/components/xpl-tag/xpl-tag.js.map +0 -1
  249. package/dist/collection/components/xpl-toggle/xpl-toggle.js.map +0 -1
  250. package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js.map +0 -1
  251. package/dist/components/index.d.ts +0 -39
  252. package/dist/components/index.js +0 -82
  253. package/dist/components/index.js.map +0 -1
  254. package/dist/components/v4.js +0 -77
  255. package/dist/components/v4.js.map +0 -1
  256. package/dist/components/xpl-application-shell.d.ts +0 -11
  257. package/dist/components/xpl-application-shell.js +0 -80
  258. package/dist/components/xpl-application-shell.js.map +0 -1
  259. package/dist/components/xpl-avatar.d.ts +0 -11
  260. package/dist/components/xpl-avatar.js +0 -8
  261. package/dist/components/xpl-avatar.js.map +0 -1
  262. package/dist/components/xpl-avatar2.js +0 -51
  263. package/dist/components/xpl-avatar2.js.map +0 -1
  264. package/dist/components/xpl-backdrop.d.ts +0 -11
  265. package/dist/components/xpl-backdrop.js +0 -8
  266. package/dist/components/xpl-backdrop.js.map +0 -1
  267. package/dist/components/xpl-backdrop2.js +0 -35
  268. package/dist/components/xpl-backdrop2.js.map +0 -1
  269. package/dist/components/xpl-badge.d.ts +0 -11
  270. package/dist/components/xpl-badge.js +0 -8
  271. package/dist/components/xpl-badge.js.map +0 -1
  272. package/dist/components/xpl-badge2.js +0 -38
  273. package/dist/components/xpl-badge2.js.map +0 -1
  274. package/dist/components/xpl-breadcrumb-item.d.ts +0 -11
  275. package/dist/components/xpl-breadcrumb-item.js +0 -36
  276. package/dist/components/xpl-breadcrumb-item.js.map +0 -1
  277. package/dist/components/xpl-breadcrumbs.d.ts +0 -11
  278. package/dist/components/xpl-breadcrumbs.js +0 -31
  279. package/dist/components/xpl-breadcrumbs.js.map +0 -1
  280. package/dist/components/xpl-button-row.d.ts +0 -11
  281. package/dist/components/xpl-button-row.js +0 -50
  282. package/dist/components/xpl-button-row.js.map +0 -1
  283. package/dist/components/xpl-button.d.ts +0 -11
  284. package/dist/components/xpl-button.js +0 -8
  285. package/dist/components/xpl-button.js.map +0 -1
  286. package/dist/components/xpl-button2.js +0 -85
  287. package/dist/components/xpl-button2.js.map +0 -1
  288. package/dist/components/xpl-checkbox.d.ts +0 -11
  289. package/dist/components/xpl-checkbox.js +0 -8
  290. package/dist/components/xpl-checkbox.js.map +0 -1
  291. package/dist/components/xpl-checkbox2.js +0 -59
  292. package/dist/components/xpl-checkbox2.js.map +0 -1
  293. package/dist/components/xpl-choicelist.d.ts +0 -11
  294. package/dist/components/xpl-choicelist.js +0 -85
  295. package/dist/components/xpl-choicelist.js.map +0 -1
  296. package/dist/components/xpl-content-area.d.ts +0 -11
  297. package/dist/components/xpl-content-area.js +0 -34
  298. package/dist/components/xpl-content-area.js.map +0 -1
  299. package/dist/components/xpl-dashboard.d.ts +0 -11
  300. package/dist/components/xpl-dashboard.js +0 -31
  301. package/dist/components/xpl-dashboard.js.map +0 -1
  302. package/dist/components/xpl-data-card.d.ts +0 -11
  303. package/dist/components/xpl-data-card.js +0 -80
  304. package/dist/components/xpl-data-card.js.map +0 -1
  305. package/dist/components/xpl-divider.d.ts +0 -11
  306. package/dist/components/xpl-divider.js +0 -36
  307. package/dist/components/xpl-divider.js.map +0 -1
  308. package/dist/components/xpl-dropdown-group.d.ts +0 -11
  309. package/dist/components/xpl-dropdown-group.js +0 -8
  310. package/dist/components/xpl-dropdown-group.js.map +0 -1
  311. package/dist/components/xpl-dropdown-group2.js +0 -69
  312. package/dist/components/xpl-dropdown-group2.js.map +0 -1
  313. package/dist/components/xpl-dropdown-heading.d.ts +0 -11
  314. package/dist/components/xpl-dropdown-heading.js +0 -8
  315. package/dist/components/xpl-dropdown-heading.js.map +0 -1
  316. package/dist/components/xpl-dropdown-heading2.js +0 -31
  317. package/dist/components/xpl-dropdown-heading2.js.map +0 -1
  318. package/dist/components/xpl-dropdown-option.d.ts +0 -11
  319. package/dist/components/xpl-dropdown-option.js +0 -8
  320. package/dist/components/xpl-dropdown-option.js.map +0 -1
  321. package/dist/components/xpl-dropdown-option2.js +0 -89
  322. package/dist/components/xpl-dropdown-option2.js.map +0 -1
  323. package/dist/components/xpl-dropdown.d.ts +0 -11
  324. package/dist/components/xpl-dropdown.js +0 -8
  325. package/dist/components/xpl-dropdown.js.map +0 -1
  326. package/dist/components/xpl-dropdown2.js +0 -147
  327. package/dist/components/xpl-dropdown2.js.map +0 -1
  328. package/dist/components/xpl-grid-item.d.ts +0 -11
  329. package/dist/components/xpl-grid-item.js +0 -45
  330. package/dist/components/xpl-grid-item.js.map +0 -1
  331. package/dist/components/xpl-grid.d.ts +0 -11
  332. package/dist/components/xpl-grid.js +0 -50
  333. package/dist/components/xpl-grid.js.map +0 -1
  334. package/dist/components/xpl-icon.d.ts +0 -11
  335. package/dist/components/xpl-icon.js +0 -8
  336. package/dist/components/xpl-icon.js.map +0 -1
  337. package/dist/components/xpl-icon2.js +0 -1850
  338. package/dist/components/xpl-icon2.js.map +0 -1
  339. package/dist/components/xpl-input.d.ts +0 -11
  340. package/dist/components/xpl-input.js +0 -2574
  341. package/dist/components/xpl-input.js.map +0 -1
  342. package/dist/components/xpl-list.d.ts +0 -11
  343. package/dist/components/xpl-list.js +0 -73
  344. package/dist/components/xpl-list.js.map +0 -1
  345. package/dist/components/xpl-main-nav.d.ts +0 -11
  346. package/dist/components/xpl-main-nav.js +0 -44
  347. package/dist/components/xpl-main-nav.js.map +0 -1
  348. package/dist/components/xpl-nav-item.d.ts +0 -11
  349. package/dist/components/xpl-nav-item.js +0 -44
  350. package/dist/components/xpl-nav-item.js.map +0 -1
  351. package/dist/components/xpl-pagination.d.ts +0 -11
  352. package/dist/components/xpl-pagination.js +0 -100
  353. package/dist/components/xpl-pagination.js.map +0 -1
  354. package/dist/components/xpl-radio.d.ts +0 -11
  355. package/dist/components/xpl-radio.js +0 -8
  356. package/dist/components/xpl-radio.js.map +0 -1
  357. package/dist/components/xpl-radio2.js +0 -57
  358. package/dist/components/xpl-radio2.js.map +0 -1
  359. package/dist/components/xpl-secondary-nav.d.ts +0 -11
  360. package/dist/components/xpl-secondary-nav.js +0 -31
  361. package/dist/components/xpl-secondary-nav.js.map +0 -1
  362. package/dist/components/xpl-select.d.ts +0 -11
  363. package/dist/components/xpl-select.js +0 -704
  364. package/dist/components/xpl-select.js.map +0 -1
  365. package/dist/components/xpl-table.d.ts +0 -11
  366. package/dist/components/xpl-table.js +0 -170
  367. package/dist/components/xpl-table.js.map +0 -1
  368. package/dist/components/xpl-tag.d.ts +0 -11
  369. package/dist/components/xpl-tag.js +0 -8
  370. package/dist/components/xpl-tag.js.map +0 -1
  371. package/dist/components/xpl-tag2.js +0 -33
  372. package/dist/components/xpl-tag2.js.map +0 -1
  373. package/dist/components/xpl-toggle.d.ts +0 -11
  374. package/dist/components/xpl-toggle.js +0 -61
  375. package/dist/components/xpl-toggle.js.map +0 -1
  376. package/dist/components/xpl-utility-bar.d.ts +0 -11
  377. package/dist/components/xpl-utility-bar.js +0 -55
  378. package/dist/components/xpl-utility-bar.js.map +0 -1
  379. package/dist/esm/apollo-core.js.map +0 -1
  380. package/dist/esm/index-56581b5c.js.map +0 -1
  381. package/dist/esm/index.js.map +0 -1
  382. package/dist/esm/loader.js.map +0 -1
  383. package/dist/esm/v4-929670b7.js.map +0 -1
  384. package/dist/esm/xpl-application-shell.entry.js.map +0 -1
  385. package/dist/esm/xpl-avatar_15.entry.js +0 -2260
  386. package/dist/esm/xpl-avatar_15.entry.js.map +0 -1
  387. package/dist/esm/xpl-backdrop.entry.js.map +0 -1
  388. package/dist/esm/xpl-button-row.entry.js.map +0 -1
  389. package/dist/esm/xpl-choicelist.entry.js.map +0 -1
  390. package/dist/esm/xpl-divider.entry.js.map +0 -1
  391. package/dist/esm/xpl-dropdown-group_3.entry.js.map +0 -1
  392. package/dist/esm/xpl-dropdown_2.entry.js.map +0 -1
  393. package/dist/esm/xpl-grid-item.entry.js.map +0 -1
  394. package/dist/esm/xpl-grid.entry.js.map +0 -1
  395. package/dist/esm/xpl-input.entry.js.map +0 -1
  396. package/dist/esm/xpl-list.entry.js.map +0 -1
  397. package/dist/esm/xpl-main-nav.entry.js.map +0 -1
  398. package/dist/esm/xpl-pagination.entry.js.map +0 -1
  399. package/dist/esm/xpl-select.entry.js.map +0 -1
  400. package/dist/esm/xpl-toggle.entry.js.map +0 -1
  401. package/dist/stories/application-shell.stories.js.map +0 -1
  402. package/dist/stories/avatar.stories.js.map +0 -1
  403. package/dist/stories/backdrop.stories.js.map +0 -1
  404. package/dist/stories/badge.stories.js.map +0 -1
  405. package/dist/stories/breadcrumbs.stories.js.map +0 -1
  406. package/dist/stories/button-row.stories.js.map +0 -1
  407. package/dist/stories/button.stories.js.map +0 -1
  408. package/dist/stories/checkbox.stories.js.map +0 -1
  409. package/dist/stories/choicelist.stories.js.map +0 -1
  410. package/dist/stories/content-area.stories.js.map +0 -1
  411. package/dist/stories/dashboard.stories.js +0 -51
  412. package/dist/stories/dashboard.stories.js.map +0 -1
  413. package/dist/stories/data-card.stories.js +0 -70
  414. package/dist/stories/data-card.stories.js.map +0 -1
  415. package/dist/stories/divider.stories.js.map +0 -1
  416. package/dist/stories/dropdown.stories.js.map +0 -1
  417. package/dist/stories/grid.stories.js.map +0 -1
  418. package/dist/stories/icons.stories.js +0 -69
  419. package/dist/stories/icons.stories.js.map +0 -1
  420. package/dist/stories/input.stories.js.map +0 -1
  421. package/dist/stories/list.stories.js.map +0 -1
  422. package/dist/stories/main-nav.stories.js.map +0 -1
  423. package/dist/stories/pagination.stories.js.map +0 -1
  424. package/dist/stories/radio.stories.js.map +0 -1
  425. package/dist/stories/secondary-nav.stories.js.map +0 -1
  426. package/dist/stories/select.stories.js.map +0 -1
  427. package/dist/stories/table.stories.js.map +0 -1
  428. package/dist/stories/tabs.stories.js.map +0 -1
  429. package/dist/stories/toggle.stories.js.map +0 -1
  430. package/dist/stories/utility-bar.stories.js.map +0 -1
  431. package/dist/types/Users/roc/Sites/apollo/.stencil/stories/dashboard.stories.d.ts +0 -31
  432. package/dist/types/Users/roc/Sites/apollo/.stencil/stories/data-card.stories.d.ts +0 -71
  433. package/dist/types/Users/roc/Sites/apollo/.stencil/stories/icons.stories.d.ts +0 -77
  434. package/dist/types/Users/roc/Sites/apollo/.stencil/stories/select.stories.d.ts +0 -134
  435. package/dist/types/components/xpl-choicelist/choice.d.ts +0 -6
  436. package/dist/types/components/xpl-dashboard/xpl-dashboard.d.ts +0 -3
  437. package/dist/types/components/xpl-data-card/xpl-data-card.d.ts +0 -38
  438. package/dist/types/components/xpl-dropdown/dropdownoption.d.ts +0 -11
  439. package/dist/types/components/xpl-icon/xpl-icon.d.ts +0 -17
  440. package/dist/types/components/xpl-list/listitem.d.ts +0 -16
  441. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/avatar.stories.d.ts +0 -0
  442. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/backdrop.stories.d.ts +0 -0
  443. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/badge.stories.d.ts +0 -0
  444. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/breadcrumbs.stories.d.ts +0 -0
  445. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/button-row.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
  */
@@ -66,10 +49,6 @@ export namespace Components {
66
49
  * whether button should be disabled
67
50
  */
68
51
  "disabled"?: boolean;
69
- /**
70
- * whether button should render with full width
71
- */
72
- "fullWidth"?: boolean;
73
52
  /**
74
53
  * whether button should render icon only
75
54
  */
@@ -129,7 +108,7 @@ export namespace Components {
129
108
  }
130
109
  interface XplChoicelist {
131
110
  /**
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]
111
+ * 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
112
  */
134
113
  "choices": Choice[];
135
114
  /**
@@ -159,34 +138,6 @@ export namespace Components {
159
138
  */
160
139
  "size": 'wide' | 'narrow' | 'full';
161
140
  }
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
141
  interface XplDivider {
191
142
  /**
192
143
  * 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 +150,9 @@ export namespace Components {
199
150
  */
200
151
  "closeOnSelect": boolean;
201
152
  /**
202
- * called on dropdown option click and keydown events to update isSelected states
153
+ * called on dropdown option click and keydown events to update isSelected states
203
154
  */
204
- "handleSelect": (e: any, { component }: { component: XplDropdownOption; }) => Promise<void>;
155
+ "handleSelect": (e: Event, { component }: { component: any; }) => Promise<void>;
205
156
  /**
206
157
  * text to display as heading
207
158
  */
@@ -225,7 +176,7 @@ export namespace Components {
225
176
  /**
226
177
  * call back function invoked when a selection is made
227
178
  */
228
- "update"?: (e, { component }: { component: XplDropdown }) => void;
179
+ "update"?: (e: Event, { component: XplDropdown }) => void;
229
180
  }
230
181
  interface XplDropdownGroup {
231
182
  /**
@@ -256,10 +207,6 @@ export namespace Components {
256
207
  * text to display for option
257
208
  */
258
209
  "label": string;
259
- /**
260
- * The selected options value to be submitted with the form, should this option be selected.
261
- */
262
- "value"?: string;
263
210
  }
264
211
  interface XplGrid {
265
212
  }
@@ -269,20 +216,6 @@ export namespace Components {
269
216
  "sm": number;
270
217
  "xs": number;
271
218
  }
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
219
  interface XplInput {
287
220
  /**
288
221
  * 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 +280,7 @@ export namespace Components {
347
280
  }
348
281
  interface XplList {
349
282
  /**
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.
283
+ * `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
284
  */
352
285
  "items"?: ListItem[];
353
286
  }
@@ -388,7 +321,7 @@ export namespace Components {
388
321
  /**
389
322
  * 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
323
  */
391
- "choices"?: DropdownItem[];
324
+ "choices"?: SelectChoice[];
392
325
  /**
393
326
  * Optional text that appears below the input label.
394
327
  */
@@ -398,49 +331,22 @@ export namespace Components {
398
331
  * 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
332
  */
400
333
  "error"?: string;
401
- /**
402
- * The label that appears above the select dropdown
403
- */
404
334
  "label"?: string;
405
335
  /**
406
336
  * Whether to allow a single choice or multiple choices.
407
337
  */
408
338
  "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
339
  "placeholder": string;
414
- "selectedValues"?: string | string[];
415
340
  /**
416
341
  * 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
342
  */
418
343
  "truncate"?: boolean;
419
344
  }
420
345
  interface XplTable {
421
- /**
422
- * The header values for each column.
423
- */
424
346
  "columns"?: string[];
425
- /**
426
- * The data for the body of the table.
427
- */
428
347
  "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
348
  "freeze"?: boolean;
433
- /**
434
- * Toggles a selectable checkbox for each row in the table
435
- */
436
349
  "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
350
  "striped"?: boolean;
445
351
  }
446
352
  interface XplTag {
@@ -467,56 +373,12 @@ export namespace Components {
467
373
  "variant"?: 'default' | 'small';
468
374
  }
469
375
  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
376
  /**
475
377
  * @property {boolean} - whether or not to show the bars to control the state of the navigation bar (open/close)
476
378
  */
477
379
  "navControl"?: boolean;
478
380
  }
479
381
  }
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
382
  declare global {
521
383
  interface HTMLXplApplicationShellElement extends Components.XplApplicationShell, HTMLStencilElement {
522
384
  }
@@ -584,18 +446,6 @@ declare global {
584
446
  prototype: HTMLXplContentAreaElement;
585
447
  new (): HTMLXplContentAreaElement;
586
448
  };
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
449
  interface HTMLXplDividerElement extends Components.XplDivider, HTMLStencilElement {
600
450
  }
601
451
  var HTMLXplDividerElement: {
@@ -638,12 +488,6 @@ declare global {
638
488
  prototype: HTMLXplGridItemElement;
639
489
  new (): HTMLXplGridItemElement;
640
490
  };
641
- interface HTMLXplIconElement extends Components.XplIcon, HTMLStencilElement {
642
- }
643
- var HTMLXplIconElement: {
644
- prototype: HTMLXplIconElement;
645
- new (): HTMLXplIconElement;
646
- };
647
491
  interface HTMLXplInputElement extends Components.XplInput, HTMLStencilElement {
648
492
  }
649
493
  var HTMLXplInputElement: {
@@ -728,8 +572,6 @@ declare global {
728
572
  "xpl-checkbox": HTMLXplCheckboxElement;
729
573
  "xpl-choicelist": HTMLXplChoicelistElement;
730
574
  "xpl-content-area": HTMLXplContentAreaElement;
731
- "xpl-dashboard": HTMLXplDashboardElement;
732
- "xpl-data-card": HTMLXplDataCardElement;
733
575
  "xpl-divider": HTMLXplDividerElement;
734
576
  "xpl-dropdown": HTMLXplDropdownElement;
735
577
  "xpl-dropdown-group": HTMLXplDropdownGroupElement;
@@ -737,7 +579,6 @@ declare global {
737
579
  "xpl-dropdown-option": HTMLXplDropdownOptionElement;
738
580
  "xpl-grid": HTMLXplGridElement;
739
581
  "xpl-grid-item": HTMLXplGridItemElement;
740
- "xpl-icon": HTMLXplIconElement;
741
582
  "xpl-input": HTMLXplInputElement;
742
583
  "xpl-list": HTMLXplListElement;
743
584
  "xpl-main-nav": HTMLXplMainNavElement;
@@ -754,11 +595,6 @@ declare global {
754
595
  }
755
596
  declare namespace LocalJSX {
756
597
  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
598
  /**
763
599
  * @property {string} - The width of the main navigation bar, can be passed or updated when nav-width event is emitted.
764
600
  */
@@ -801,10 +637,6 @@ declare namespace LocalJSX {
801
637
  * whether button should be disabled
802
638
  */
803
639
  "disabled"?: boolean;
804
- /**
805
- * whether button should render with full width
806
- */
807
- "fullWidth"?: boolean;
808
640
  /**
809
641
  * whether button should render icon only
810
642
  */
@@ -842,15 +674,15 @@ declare namespace LocalJSX {
842
674
  /**
843
675
  * Fires on the primary button. If not set, the button can act as a standard submit button for a form.
844
676
  */
845
- "onClickPrimary"?: (event: XplButtonRowCustomEvent<any>) => void;
677
+ "onClickPrimary"?: (event: CustomEvent<any>) => void;
846
678
  /**
847
679
  * Adds an event listener to the secondary button.
848
680
  */
849
- "onClickSecondary"?: (event: XplButtonRowCustomEvent<any>) => void;
681
+ "onClickSecondary"?: (event: CustomEvent<any>) => void;
850
682
  /**
851
683
  * Adds an event listener to the tertiary button.
852
684
  */
853
- "onClickTertiary"?: (event: XplButtonRowCustomEvent<any>) => void;
685
+ "onClickTertiary"?: (event: CustomEvent<any>) => void;
854
686
  /**
855
687
  * The text for the primary button.
856
688
  */
@@ -873,14 +705,14 @@ declare namespace LocalJSX {
873
705
  /**
874
706
  * @private
875
707
  */
876
- "onCheckboxChange"?: (event: XplCheckboxCustomEvent<any>) => void;
708
+ "onCheckboxChange"?: (event: CustomEvent<any>) => void;
877
709
  "required"?: boolean;
878
710
  "styled"?: boolean;
879
711
  "value"?: string;
880
712
  }
881
713
  interface XplChoicelist {
882
714
  /**
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]
715
+ * 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
716
  */
885
717
  "choices"?: Choice[];
886
718
  /**
@@ -910,34 +742,6 @@ declare namespace LocalJSX {
910
742
  */
911
743
  "size"?: 'wide' | 'narrow' | 'full';
912
744
  }
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
745
  interface XplDivider {
942
746
  /**
943
747
  * 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 +776,7 @@ declare namespace LocalJSX {
972
776
  /**
973
777
  * call back function invoked when a selection is made
974
778
  */
975
- "update"?: (e, { component }: { component: XplDropdown }) => void;
779
+ "update"?: (e: Event, { component: XplDropdown }) => void;
976
780
  }
977
781
  interface XplDropdownGroup {
978
782
  /**
@@ -1003,10 +807,6 @@ declare namespace LocalJSX {
1003
807
  * text to display for option
1004
808
  */
1005
809
  "label"?: string;
1006
- /**
1007
- * The selected options value to be submitted with the form, should this option be selected.
1008
- */
1009
- "value"?: string;
1010
810
  }
1011
811
  interface XplGrid {
1012
812
  }
@@ -1016,20 +816,6 @@ declare namespace LocalJSX {
1016
816
  "sm"?: number;
1017
817
  "xs"?: number;
1018
818
  }
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
819
  interface XplInput {
1034
820
  /**
1035
821
  * 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 +880,7 @@ declare namespace LocalJSX {
1094
880
  }
1095
881
  interface XplList {
1096
882
  /**
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.
883
+ * `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
884
  */
1099
885
  "items"?: ListItem[];
1100
886
  }
@@ -1102,7 +888,7 @@ declare namespace LocalJSX {
1102
888
  /**
1103
889
  * @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
890
  */
1105
- "onNavWidth"?: (event: XplMainNavCustomEvent<string>) => void;
891
+ "onNavWidth"?: (event: CustomEvent<string>) => void;
1106
892
  /**
1107
893
  * @property {string} width - The width of the Main Nav.
1108
894
  */
@@ -1116,10 +902,10 @@ declare namespace LocalJSX {
1116
902
  /**
1117
903
  * @event {boolean} - Emits the desired state of the navigation bar (open: true/false)
1118
904
  */
1119
- "onNavOpen"?: (event: XplNavItemCustomEvent<boolean>) => void;
905
+ "onNavOpen"?: (event: CustomEvent<boolean>) => void;
1120
906
  }
1121
907
  interface XplPagination {
1122
- "onPage"?: (event: XplPaginationCustomEvent<any>) => void;
908
+ "onPage"?: (event: CustomEvent<any>) => void;
1123
909
  "perPage"?: number;
1124
910
  "total"?: number;
1125
911
  "waitForCallback"?: boolean;
@@ -1132,7 +918,7 @@ declare namespace LocalJSX {
1132
918
  /**
1133
919
  * @private
1134
920
  */
1135
- "onRadioChange"?: (event: XplRadioCustomEvent<any>) => void;
921
+ "onRadioChange"?: (event: CustomEvent<any>) => void;
1136
922
  "required"?: boolean;
1137
923
  "styled"?: boolean;
1138
924
  "value"?: string;
@@ -1143,7 +929,7 @@ declare namespace LocalJSX {
1143
929
  /**
1144
930
  * 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
931
  */
1146
- "choices"?: DropdownItem[];
932
+ "choices"?: SelectChoice[];
1147
933
  /**
1148
934
  * Optional text that appears below the input label.
1149
935
  */
@@ -1153,58 +939,27 @@ declare namespace LocalJSX {
1153
939
  * 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
940
  */
1155
941
  "error"?: string;
1156
- /**
1157
- * The label that appears above the select dropdown
1158
- */
1159
942
  "label"?: string;
1160
943
  /**
1161
944
  * Whether to allow a single choice or multiple choices.
1162
945
  */
1163
946
  "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
947
  "placeholder"?: string;
1173
- "selectedValues"?: string | string[];
1174
948
  /**
1175
949
  * 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
950
  */
1177
951
  "truncate"?: boolean;
1178
952
  }
1179
953
  interface XplTable {
1180
- /**
1181
- * The header values for each column.
1182
- */
1183
954
  "columns"?: string[];
1184
- /**
1185
- * The data for the body of the table.
1186
- */
1187
955
  "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
956
  "freeze"?: boolean;
1192
- /**
1193
- * Toggles a selectable checkbox for each row in the table
1194
- */
1195
957
  "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
- */
958
+ "onTableSelect"?: (event: CustomEvent<any>) => void;
1204
959
  "striped"?: boolean;
1205
960
  }
1206
961
  interface XplTag {
1207
- "onClose"?: (event: XplTagCustomEvent<any>) => void;
962
+ "onClose"?: (event: CustomEvent<any>) => void;
1208
963
  }
1209
964
  interface XplToggle {
1210
965
  "checked"?: boolean;
@@ -1228,10 +983,6 @@ declare namespace LocalJSX {
1228
983
  "variant"?: 'default' | 'small';
1229
984
  }
1230
985
  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
986
  /**
1236
987
  * @property {boolean} - whether or not to show the bars to control the state of the navigation bar (open/close)
1237
988
  */
@@ -1239,7 +990,7 @@ declare namespace LocalJSX {
1239
990
  /**
1240
991
  * @event {boolean} - Emits the desired state of the navigation bar (open: true/false)
1241
992
  */
1242
- "onNavOpen"?: (event: XplUtilityBarCustomEvent<boolean>) => void;
993
+ "onNavOpen"?: (event: CustomEvent<boolean>) => void;
1243
994
  }
1244
995
  interface IntrinsicElements {
1245
996
  "xpl-application-shell": XplApplicationShell;
@@ -1253,8 +1004,6 @@ declare namespace LocalJSX {
1253
1004
  "xpl-checkbox": XplCheckbox;
1254
1005
  "xpl-choicelist": XplChoicelist;
1255
1006
  "xpl-content-area": XplContentArea;
1256
- "xpl-dashboard": XplDashboard;
1257
- "xpl-data-card": XplDataCard;
1258
1007
  "xpl-divider": XplDivider;
1259
1008
  "xpl-dropdown": XplDropdown;
1260
1009
  "xpl-dropdown-group": XplDropdownGroup;
@@ -1262,7 +1011,6 @@ declare namespace LocalJSX {
1262
1011
  "xpl-dropdown-option": XplDropdownOption;
1263
1012
  "xpl-grid": XplGrid;
1264
1013
  "xpl-grid-item": XplGridItem;
1265
- "xpl-icon": XplIcon;
1266
1014
  "xpl-input": XplInput;
1267
1015
  "xpl-list": XplList;
1268
1016
  "xpl-main-nav": XplMainNav;
@@ -1292,8 +1040,6 @@ declare module "@stencil/core" {
1292
1040
  "xpl-checkbox": LocalJSX.XplCheckbox & JSXBase.HTMLAttributes<HTMLXplCheckboxElement>;
1293
1041
  "xpl-choicelist": LocalJSX.XplChoicelist & JSXBase.HTMLAttributes<HTMLXplChoicelistElement>;
1294
1042
  "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
1043
  "xpl-divider": LocalJSX.XplDivider & JSXBase.HTMLAttributes<HTMLXplDividerElement>;
1298
1044
  "xpl-dropdown": LocalJSX.XplDropdown & JSXBase.HTMLAttributes<HTMLXplDropdownElement>;
1299
1045
  "xpl-dropdown-group": LocalJSX.XplDropdownGroup & JSXBase.HTMLAttributes<HTMLXplDropdownGroupElement>;
@@ -1301,7 +1047,6 @@ declare module "@stencil/core" {
1301
1047
  "xpl-dropdown-option": LocalJSX.XplDropdownOption & JSXBase.HTMLAttributes<HTMLXplDropdownOptionElement>;
1302
1048
  "xpl-grid": LocalJSX.XplGrid & JSXBase.HTMLAttributes<HTMLXplGridElement>;
1303
1049
  "xpl-grid-item": LocalJSX.XplGridItem & JSXBase.HTMLAttributes<HTMLXplGridItemElement>;
1304
- "xpl-icon": LocalJSX.XplIcon & JSXBase.HTMLAttributes<HTMLXplIconElement>;
1305
1050
  "xpl-input": LocalJSX.XplInput & JSXBase.HTMLAttributes<HTMLXplInputElement>;
1306
1051
  "xpl-list": LocalJSX.XplList & JSXBase.HTMLAttributes<HTMLXplListElement>;
1307
1052
  "xpl-main-nav": LocalJSX.XplMainNav & JSXBase.HTMLAttributes<HTMLXplMainNavElement>;