@usecapsule/core-components 3.2.0-dev.1 → 3.3.0-dev.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (445) hide show
  1. package/css/capsule-core.css +25 -10
  2. package/css/capsule-core.css.map +1 -1
  3. package/dist/capsule/capsule.esm.js +1 -1
  4. package/dist/capsule/capsule.esm.js.map +1 -1
  5. package/dist/capsule/index.esm.js +1 -1
  6. package/dist/capsule/index.esm.js.map +1 -1
  7. package/dist/capsule/{p-a6aaf3f4.entry.js → p-0e558c7f.entry.js} +3 -3
  8. package/dist/capsule/p-0e558c7f.entry.js.map +1 -0
  9. package/dist/capsule/{p-452b9998.entry.js → p-1bd11889.entry.js} +2 -2
  10. package/dist/capsule/p-1bd11889.entry.js.map +1 -0
  11. package/dist/capsule/p-32cdf894.entry.js +2 -0
  12. package/dist/capsule/p-32cdf894.entry.js.map +1 -0
  13. package/dist/capsule/p-3b042fd1.entry.js +2 -0
  14. package/dist/capsule/{p-6793ef7a.entry.js.map → p-3b042fd1.entry.js.map} +1 -1
  15. package/dist/capsule/{p-b976b6f0.entry.js → p-41bc3c58.entry.js} +2 -2
  16. package/dist/capsule/{p-b976b6f0.entry.js.map → p-41bc3c58.entry.js.map} +1 -1
  17. package/dist/capsule/p-5965b15e.entry.js +2 -0
  18. package/dist/capsule/{p-f6c74d69.entry.js.map → p-5965b15e.entry.js.map} +1 -1
  19. package/dist/capsule/{p-447d49b9.entry.js → p-5d62e610.entry.js} +2 -2
  20. package/dist/capsule/{p-447d49b9.entry.js.map → p-5d62e610.entry.js.map} +1 -1
  21. package/dist/capsule/p-60508b1e.entry.js +20 -0
  22. package/dist/capsule/p-60508b1e.entry.js.map +1 -0
  23. package/dist/capsule/{p-6dcaee48.entry.js → p-de2a16e4.entry.js} +2 -2
  24. package/dist/capsule/{p-6dcaee48.entry.js.map → p-de2a16e4.entry.js.map} +1 -1
  25. package/dist/capsule/p-e1255160.js.map +1 -1
  26. package/dist/capsule/p-f2393be6.js.map +1 -1
  27. package/dist/capsule/p-fa6b7678.js +3 -0
  28. package/dist/capsule/p-fa6b7678.js.map +1 -0
  29. package/dist/cjs/capsule.cjs.js +10 -10
  30. package/dist/cjs/capsule.cjs.js.map +1 -1
  31. package/dist/cjs/cpsl-alert_34.cjs.entry.js +17036 -13428
  32. package/dist/cjs/cpsl-alert_34.cjs.entry.js.map +1 -1
  33. package/dist/cjs/cpsl-animation.cjs.entry.js +8 -4
  34. package/dist/cjs/cpsl-animation.cjs.entry.js.map +1 -1
  35. package/dist/cjs/cpsl-col.cjs.entry.js +25 -6
  36. package/dist/cjs/cpsl-col.cjs.entry.js.map +1 -1
  37. package/dist/cjs/cpsl-grid.cjs.entry.js +3 -3
  38. package/dist/cjs/cpsl-hero.cjs.entry.js +38 -0
  39. package/dist/cjs/cpsl-hero.cjs.entry.js.map +1 -0
  40. package/dist/cjs/cpsl-identicon.cjs.entry.js +2 -2
  41. package/dist/cjs/cpsl-info-box.cjs.entry.js +3 -3
  42. package/dist/cjs/cpsl-info-box.cjs.entry.js.map +1 -1
  43. package/dist/cjs/cpsl-modal-v2.cjs.entry.js +3 -2
  44. package/dist/cjs/cpsl-modal-v2.cjs.entry.js.map +1 -1
  45. package/dist/cjs/cpsl-row.cjs.entry.js +2 -2
  46. package/dist/cjs/index-65f57499.js +1439 -0
  47. package/dist/cjs/index-65f57499.js.map +1 -0
  48. package/dist/cjs/index.cjs.js +47 -16
  49. package/dist/cjs/index.cjs.js.map +1 -1
  50. package/dist/cjs/loader.cjs.js +2 -2
  51. package/dist/collection/assets/icons/arrow-circle-broken-down-left.svg +3 -0
  52. package/dist/collection/assets/icons/bank.svg +3 -0
  53. package/dist/collection/assets/icons/credit-card.svg +3 -0
  54. package/dist/collection/assets/icons/dot.svg +3 -0
  55. package/dist/collection/assets/icons/download.svg +3 -0
  56. package/dist/collection/assets/icons/globe.svg +3 -0
  57. package/dist/collection/assets/icons/hero-alert-circle.svg +3 -0
  58. package/dist/collection/assets/icons/hero-checkmark-capsule.svg +11 -0
  59. package/dist/collection/assets/icons/hero-checkmark.svg +3 -0
  60. package/dist/collection/assets/icons/hero-external-connection.svg +71 -0
  61. package/dist/collection/assets/icons/index.js +21 -3
  62. package/dist/collection/assets/icons/index.js.map +1 -1
  63. package/dist/collection/assets/icons/link-external.svg +3 -0
  64. package/dist/collection/assets/icons/log-out.svg +3 -0
  65. package/dist/collection/assets/icons/moonpay-brand.svg +10 -0
  66. package/dist/collection/assets/icons/puzzle-piece.svg +3 -0
  67. package/dist/collection/assets/icons/qr-code-02.svg +3 -0
  68. package/dist/collection/assets/icons/qr-code.svg +3 -0
  69. package/dist/collection/assets/icons/refresh.svg +3 -3
  70. package/dist/collection/assets/icons/search.svg +3 -0
  71. package/dist/collection/assets/icons/send.svg +3 -0
  72. package/dist/collection/assets/icons/shield.svg +3 -0
  73. package/dist/collection/assets/icons/stripe-brand.svg +3 -0
  74. package/dist/collection/collection-manifest.json +4 -3
  75. package/dist/collection/components/cpsl-alert/cpsl-alert.js +3 -3
  76. package/dist/collection/components/cpsl-alert/cpsl-alert.js.map +1 -1
  77. package/dist/collection/components/cpsl-animation/cpsl-animation.js +4 -1
  78. package/dist/collection/components/cpsl-animation/cpsl-animation.js.map +1 -1
  79. package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js +5 -2
  80. package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js.map +1 -1
  81. package/dist/collection/components/{cpsl-modal/cpsl-modal.css → cpsl-auth-modal/cpsl-auth-modal.css} +33 -58
  82. package/dist/collection/components/{cpsl-modal/cpsl-modal.js → cpsl-auth-modal/cpsl-auth-modal.js} +13 -131
  83. package/dist/collection/components/cpsl-auth-modal/cpsl-auth-modal.js.map +1 -0
  84. package/dist/collection/components/cpsl-avatar/cpsl-avatar.js +1 -1
  85. package/dist/collection/components/cpsl-button/cpsl-button.css +89 -2
  86. package/dist/collection/components/cpsl-button/cpsl-button.js +9 -5
  87. package/dist/collection/components/cpsl-button/cpsl-button.js.map +1 -1
  88. package/dist/collection/components/cpsl-button-group/cpsl-button-group.js +2 -2
  89. package/dist/collection/components/cpsl-button-group/cpsl-button-group.js.map +1 -1
  90. package/dist/collection/components/cpsl-card/cpsl-card.css +5 -2
  91. package/dist/collection/components/cpsl-card/cpsl-card.js +1 -1
  92. package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.js +1 -1
  93. package/dist/collection/components/cpsl-code-input/cpsl-code-input.css +3 -0
  94. package/dist/collection/components/cpsl-code-input/cpsl-code-input.js +13 -7
  95. package/dist/collection/components/cpsl-code-input/cpsl-code-input.js.map +1 -1
  96. package/dist/collection/components/cpsl-col/cpsl-col.js +21 -5
  97. package/dist/collection/components/cpsl-col/cpsl-col.js.map +1 -1
  98. package/dist/collection/components/cpsl-divider/cpsl-divider.css +2 -1
  99. package/dist/collection/components/cpsl-divider/cpsl-divider.js +1 -1
  100. package/dist/collection/components/cpsl-drawer/cpsl-drawer.js +3 -2
  101. package/dist/collection/components/cpsl-drawer/cpsl-drawer.js.map +1 -1
  102. package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js +1 -1
  103. package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js.map +1 -1
  104. package/dist/collection/components/cpsl-dropdown/dropdown-interface.js.map +1 -1
  105. package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js +5 -5
  106. package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js.map +1 -1
  107. package/dist/collection/components/cpsl-grid/cpsl-grid.js +2 -2
  108. package/dist/collection/components/cpsl-hero/cpsl-hero.css +136 -71
  109. package/dist/collection/components/cpsl-hero/cpsl-hero.js +64 -9
  110. package/dist/collection/components/cpsl-hero/cpsl-hero.js.map +1 -1
  111. package/dist/collection/components/cpsl-hero/cpsl-hero.stories.js.map +1 -1
  112. package/dist/collection/components/cpsl-icon/cpsl-icon.css +8 -0
  113. package/dist/collection/components/cpsl-icon/cpsl-icon.js +2 -2
  114. package/dist/collection/components/cpsl-icon/cpsl-icon.js.map +1 -1
  115. package/dist/collection/components/cpsl-icon-group/cpsl-icon-group.css +97 -0
  116. package/dist/collection/components/cpsl-icon-group/cpsl-icon-group.js +121 -0
  117. package/dist/collection/components/cpsl-icon-group/cpsl-icon-group.js.map +1 -0
  118. package/dist/collection/components/cpsl-identicon/cpsl-identicon.js +1 -1
  119. package/dist/collection/components/cpsl-identicon/cpsl-identicon.stories.js.map +1 -1
  120. package/dist/collection/components/cpsl-info-box/cpsl-info-box.css +1 -2
  121. package/dist/collection/components/cpsl-info-box/cpsl-info-box.js +1 -1
  122. package/dist/collection/components/cpsl-input/cpsl-input.css +21 -2
  123. package/dist/collection/components/cpsl-input/cpsl-input.js +117 -11
  124. package/dist/collection/components/cpsl-input/cpsl-input.js.map +1 -1
  125. package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js +2 -1
  126. package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js.map +1 -1
  127. package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js +2 -2
  128. package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js.map +1 -1
  129. package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +2 -1
  130. package/dist/collection/components/cpsl-overlay/cpsl-overlay.js.map +1 -1
  131. package/dist/collection/components/cpsl-pagination/cpsl-pagination.js +1 -1
  132. package/dist/collection/components/cpsl-pagination/cpsl-pagination.js.map +1 -1
  133. package/dist/collection/components/cpsl-pill/cpsl-pill.js +1 -1
  134. package/dist/collection/components/cpsl-popover/cpsl-popover.css +2 -0
  135. package/dist/collection/components/cpsl-popover/cpsl-popover.js +16 -6
  136. package/dist/collection/components/cpsl-popover/cpsl-popover.js.map +1 -1
  137. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.css +12 -3
  138. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +28 -23
  139. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js.map +1 -1
  140. package/dist/collection/components/cpsl-radio/cpsl-radio.js +1 -1
  141. package/dist/collection/components/cpsl-row/cpsl-row.js +1 -1
  142. package/dist/collection/components/cpsl-select/cpsl-select.css +17 -0
  143. package/dist/collection/components/cpsl-select/cpsl-select.js +96 -4
  144. package/dist/collection/components/cpsl-select/cpsl-select.js.map +1 -1
  145. package/dist/collection/components/cpsl-select-item/cpsl-select-item.js +1 -1
  146. package/dist/collection/components/cpsl-select-item/cpsl-select-item.js.map +1 -1
  147. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +14 -3
  148. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js.map +1 -1
  149. package/dist/collection/components/cpsl-spinner/cpsl-spinner.css +30 -8
  150. package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +5 -7
  151. package/dist/collection/components/cpsl-spinner/cpsl-spinner.js.map +1 -1
  152. package/dist/collection/components/cpsl-switch/cpsl-switch.js +1 -1
  153. package/dist/collection/components/cpsl-tab/cpsl-tab.css +24 -1
  154. package/dist/collection/components/cpsl-tab/cpsl-tab.js +1 -1
  155. package/dist/collection/components/cpsl-tab/cpsl-tab.js.map +1 -1
  156. package/dist/collection/components/cpsl-table/cpsl-table.js +3 -1
  157. package/dist/collection/components/cpsl-table/cpsl-table.js.map +1 -1
  158. package/dist/collection/components/cpsl-tabs/cpsl-tabs.css +1 -4
  159. package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +5 -2
  160. package/dist/collection/components/cpsl-tabs/cpsl-tabs.js.map +1 -1
  161. package/dist/collection/components/cpsl-text/cpsl-text.css +19 -0
  162. package/dist/collection/components/cpsl-text/cpsl-text.js +7 -3
  163. package/dist/collection/components/cpsl-text/cpsl-text.js.map +1 -1
  164. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.css +3 -1
  165. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +2 -2
  166. package/dist/collection/interface.js.map +1 -1
  167. package/dist/collection/utils/media.js +3 -0
  168. package/dist/collection/utils/media.js.map +1 -1
  169. package/dist/collection/utils/theme/generateBorderRadii.js +4 -3
  170. package/dist/collection/utils/theme/generateBorderRadii.js.map +1 -1
  171. package/dist/collection/utils/theme/generateFont.js +1 -1
  172. package/dist/collection/utils/theme/generateFont.js.map +1 -1
  173. package/dist/collection/utils/theme/generatePalette.js +28 -9
  174. package/dist/collection/utils/theme/generatePalette.js.map +1 -1
  175. package/dist/collection/utils/theme/generateTheme.js +13 -3
  176. package/dist/collection/utils/theme/generateTheme.js.map +1 -1
  177. package/dist/collection/utils/theme/utils.js +1 -0
  178. package/dist/collection/utils/theme/utils.js.map +1 -1
  179. package/dist/esm/capsule.js +11 -11
  180. package/dist/esm/capsule.js.map +1 -1
  181. package/dist/esm/cpsl-alert_34.entry.js +17036 -13428
  182. package/dist/esm/cpsl-alert_34.entry.js.map +1 -1
  183. package/dist/esm/cpsl-animation.entry.js +7 -3
  184. package/dist/esm/cpsl-animation.entry.js.map +1 -1
  185. package/dist/esm/cpsl-col.entry.js +25 -6
  186. package/dist/esm/cpsl-col.entry.js.map +1 -1
  187. package/dist/esm/cpsl-grid.entry.js +3 -3
  188. package/dist/esm/cpsl-hero.entry.js +34 -0
  189. package/dist/esm/cpsl-hero.entry.js.map +1 -0
  190. package/dist/esm/cpsl-identicon.entry.js +2 -2
  191. package/dist/esm/cpsl-info-box.entry.js +3 -3
  192. package/dist/esm/cpsl-info-box.entry.js.map +1 -1
  193. package/dist/esm/cpsl-modal-v2.entry.js +3 -2
  194. package/dist/esm/cpsl-modal-v2.entry.js.map +1 -1
  195. package/dist/esm/cpsl-row.entry.js +2 -2
  196. package/dist/esm/index-91db3414.js +1408 -0
  197. package/dist/esm/index-91db3414.js.map +1 -0
  198. package/dist/esm/index.js +47 -16
  199. package/dist/esm/index.js.map +1 -1
  200. package/dist/esm/loader.js +3 -3
  201. package/dist/loader/cdn.js +1 -3
  202. package/dist/loader/index.cjs.js +1 -3
  203. package/dist/loader/index.d.ts +3 -0
  204. package/dist/loader/index.es2017.js +1 -3
  205. package/dist/loader/index.js +1 -3
  206. package/dist/scripts/buildAssets.js +1 -1
  207. package/dist/types/assets/icons/index.d.ts +20 -2
  208. package/dist/types/components/cpsl-alert/cpsl-alert.d.ts +8 -0
  209. package/dist/types/components/cpsl-animation/cpsl-animation.d.ts +6 -0
  210. package/dist/types/components/cpsl-app-bar/cpsl-app-bar.d.ts +10 -0
  211. package/dist/types/components/cpsl-auth-modal/cpsl-auth-modal.d.ts +58 -0
  212. package/dist/types/components/cpsl-avatar/cpsl-avatar.d.ts +11 -0
  213. package/dist/types/components/cpsl-button/cpsl-button.d.ts +30 -1
  214. package/dist/types/components/cpsl-button-group/cpsl-button-group.d.ts +3 -0
  215. package/dist/types/components/cpsl-checkbox/cpsl-checkbox.d.ts +6 -0
  216. package/dist/types/components/cpsl-code-input/cpsl-code-input.d.ts +19 -0
  217. package/dist/types/components/cpsl-col/cpsl-col.d.ts +96 -0
  218. package/dist/types/components/cpsl-drawer/cpsl-drawer.d.ts +31 -0
  219. package/dist/types/components/cpsl-dropdown/cpsl-dropdown.d.ts +15 -0
  220. package/dist/types/components/cpsl-dropdown/dropdown-interface.d.ts +1 -1
  221. package/dist/types/components/cpsl-file-upload/cpsl-file-upload.d.ts +43 -0
  222. package/dist/types/components/cpsl-grid/cpsl-grid.d.ts +3 -0
  223. package/dist/types/components/cpsl-hero/cpsl-hero.d.ts +21 -1
  224. package/dist/types/components/cpsl-icon/cpsl-icon.d.ts +6 -0
  225. package/dist/types/components/cpsl-icon-group/cpsl-icon-group.d.ts +20 -0
  226. package/dist/types/components/cpsl-identicon/cpsl-identicon.d.ts +4 -0
  227. package/dist/types/components/cpsl-input/cpsl-input.d.ts +148 -0
  228. package/dist/types/components/cpsl-input/input-interface.d.ts +5 -0
  229. package/dist/types/components/cpsl-modal-v2/cpsl-modal-v2.d.ts +32 -0
  230. package/dist/types/components/cpsl-nav-button-group/cpsl-nav-button-group.d.ts +3 -0
  231. package/dist/types/components/cpsl-overlay/cpsl-overlay.d.ts +14 -0
  232. package/dist/types/components/cpsl-pagination/cpsl-pagination.d.ts +15 -0
  233. package/dist/types/components/cpsl-pill/cpsl-pill.d.ts +3 -0
  234. package/dist/types/components/cpsl-popover/cpsl-popover.d.ts +53 -0
  235. package/dist/types/components/cpsl-progress-indicator/cpsl-progress-indicator.d.ts +6 -0
  236. package/dist/types/components/cpsl-qr-code/cpsl-qr-code.d.ts +11 -0
  237. package/dist/types/components/cpsl-radio/cpsl-radio.d.ts +6 -0
  238. package/dist/types/components/cpsl-select/cpsl-select.d.ts +67 -1
  239. package/dist/types/components/cpsl-select-item/cpsl-select-item.d.ts +10 -0
  240. package/dist/types/components/cpsl-slide-button/cpsl-slide-button.d.ts +18 -0
  241. package/dist/types/components/cpsl-spinner/cpsl-spinner.d.ts +8 -0
  242. package/dist/types/components/cpsl-switch/cpsl-switch.d.ts +6 -0
  243. package/dist/types/components/cpsl-tab/cpsl-tab.d.ts +11 -0
  244. package/dist/types/components/cpsl-tabs/cpsl-tabs.d.ts +13 -0
  245. package/dist/types/components/cpsl-text/cpsl-text.d.ts +16 -1
  246. package/dist/types/components/cpsl-tile-button/cpsl-tile-button.d.ts +6 -0
  247. package/dist/types/components.d.ts +216 -118
  248. package/dist/types/interface.d.ts +13 -0
  249. package/dist/types/stencil-public-runtime.d.ts +3 -10
  250. package/dist/types/utils/theme/generatePalette.d.ts +4 -2
  251. package/dist/types/utils/theme/generateTheme.d.ts +5 -1
  252. package/package.json +6 -12
  253. package/readme.md +47 -2
  254. package/dist/capsule/p-0462f723.js +0 -2
  255. package/dist/capsule/p-0462f723.js.map +0 -1
  256. package/dist/capsule/p-303e6e89.entry.js +0 -29
  257. package/dist/capsule/p-303e6e89.entry.js.map +0 -1
  258. package/dist/capsule/p-452b9998.entry.js.map +0 -1
  259. package/dist/capsule/p-6793ef7a.entry.js +0 -2
  260. package/dist/capsule/p-7dde3172.js +0 -3
  261. package/dist/capsule/p-7dde3172.js.map +0 -1
  262. package/dist/capsule/p-a6aaf3f4.entry.js.map +0 -1
  263. package/dist/capsule/p-f6c74d69.entry.js +0 -2
  264. package/dist/cjs/_commonjsHelpers-b3309d7b.js +0 -12
  265. package/dist/cjs/_commonjsHelpers-b3309d7b.js.map +0 -1
  266. package/dist/cjs/index-528f7428.js +0 -2107
  267. package/dist/cjs/index-528f7428.js.map +0 -1
  268. package/dist/collection/assets/icons/double-arc.svg +0 -13
  269. package/dist/collection/assets/icons/single-arc.svg +0 -11
  270. package/dist/collection/components/cpsl-alert/test/cpsl-alert.e2e.js +0 -29
  271. package/dist/collection/components/cpsl-alert/test/cpsl-alert.e2e.js.map +0 -1
  272. package/dist/collection/components/cpsl-alert/test/cpsl-alert.spec.js +0 -37
  273. package/dist/collection/components/cpsl-alert/test/cpsl-alert.spec.js.map +0 -1
  274. package/dist/collection/components/cpsl-animation/test/cpsl-animation.e2e.js +0 -29
  275. package/dist/collection/components/cpsl-animation/test/cpsl-animation.e2e.js.map +0 -1
  276. package/dist/collection/components/cpsl-animation/test/cpsl-animation.spec.js +0 -37
  277. package/dist/collection/components/cpsl-animation/test/cpsl-animation.spec.js.map +0 -1
  278. package/dist/collection/components/cpsl-app-bar/test/cpsl-app-bar.e2e.js +0 -29
  279. package/dist/collection/components/cpsl-app-bar/test/cpsl-app-bar.e2e.js.map +0 -1
  280. package/dist/collection/components/cpsl-app-bar/test/cpsl-app-bar.spec.js +0 -37
  281. package/dist/collection/components/cpsl-app-bar/test/cpsl-app-bar.spec.js.map +0 -1
  282. package/dist/collection/components/cpsl-avatar/test/cpsl-avatar.e2e.js +0 -29
  283. package/dist/collection/components/cpsl-avatar/test/cpsl-avatar.e2e.js.map +0 -1
  284. package/dist/collection/components/cpsl-avatar/test/cpsl-avatar.spec.js +0 -37
  285. package/dist/collection/components/cpsl-avatar/test/cpsl-avatar.spec.js.map +0 -1
  286. package/dist/collection/components/cpsl-button/test/cpsl-button.e2e.js +0 -29
  287. package/dist/collection/components/cpsl-button/test/cpsl-button.e2e.js.map +0 -1
  288. package/dist/collection/components/cpsl-button/test/cpsl-button.spec.js +0 -37
  289. package/dist/collection/components/cpsl-button/test/cpsl-button.spec.js.map +0 -1
  290. package/dist/collection/components/cpsl-button-group/test/cpsl-button-group.e2e.js +0 -29
  291. package/dist/collection/components/cpsl-button-group/test/cpsl-button-group.e2e.js.map +0 -1
  292. package/dist/collection/components/cpsl-button-group/test/cpsl-button-group.spec.js +0 -37
  293. package/dist/collection/components/cpsl-button-group/test/cpsl-button-group.spec.js.map +0 -1
  294. package/dist/collection/components/cpsl-card/test/cpsl-card.e2e.js +0 -29
  295. package/dist/collection/components/cpsl-card/test/cpsl-card.e2e.js.map +0 -1
  296. package/dist/collection/components/cpsl-card/test/cpsl-card.spec.js +0 -37
  297. package/dist/collection/components/cpsl-card/test/cpsl-card.spec.js.map +0 -1
  298. package/dist/collection/components/cpsl-checkbox/test/cpsl-checkbox.e2e.js +0 -29
  299. package/dist/collection/components/cpsl-checkbox/test/cpsl-checkbox.e2e.js.map +0 -1
  300. package/dist/collection/components/cpsl-checkbox/test/cpsl-checkbox.spec.js +0 -37
  301. package/dist/collection/components/cpsl-checkbox/test/cpsl-checkbox.spec.js.map +0 -1
  302. package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.e2e.js +0 -29
  303. package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.e2e.js.map +0 -1
  304. package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.spec.js +0 -37
  305. package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.spec.js.map +0 -1
  306. package/dist/collection/components/cpsl-col/test/cpsl-col.e2e.js +0 -29
  307. package/dist/collection/components/cpsl-col/test/cpsl-col.e2e.js.map +0 -1
  308. package/dist/collection/components/cpsl-col/test/cpsl-col.spec.js +0 -37
  309. package/dist/collection/components/cpsl-col/test/cpsl-col.spec.js.map +0 -1
  310. package/dist/collection/components/cpsl-divider/test/cpsl-divider.e2e.js +0 -29
  311. package/dist/collection/components/cpsl-divider/test/cpsl-divider.e2e.js.map +0 -1
  312. package/dist/collection/components/cpsl-divider/test/cpsl-divider.spec.js +0 -37
  313. package/dist/collection/components/cpsl-divider/test/cpsl-divider.spec.js.map +0 -1
  314. package/dist/collection/components/cpsl-drawer/test/cpsl-drawer.e2e.js +0 -29
  315. package/dist/collection/components/cpsl-drawer/test/cpsl-drawer.e2e.js.map +0 -1
  316. package/dist/collection/components/cpsl-drawer/test/cpsl-drawer.spec.js +0 -37
  317. package/dist/collection/components/cpsl-drawer/test/cpsl-drawer.spec.js.map +0 -1
  318. package/dist/collection/components/cpsl-dropdown/test/cpsl-dropdown.e2e.js +0 -29
  319. package/dist/collection/components/cpsl-dropdown/test/cpsl-dropdown.e2e.js.map +0 -1
  320. package/dist/collection/components/cpsl-dropdown/test/cpsl-dropdown.spec.js +0 -37
  321. package/dist/collection/components/cpsl-dropdown/test/cpsl-dropdown.spec.js.map +0 -1
  322. package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.e2e.js +0 -29
  323. package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.e2e.js.map +0 -1
  324. package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.spec.js +0 -37
  325. package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.spec.js.map +0 -1
  326. package/dist/collection/components/cpsl-grid/test/cpsl-grid.e2e.js +0 -29
  327. package/dist/collection/components/cpsl-grid/test/cpsl-grid.e2e.js.map +0 -1
  328. package/dist/collection/components/cpsl-grid/test/cpsl-grid.spec.js +0 -37
  329. package/dist/collection/components/cpsl-grid/test/cpsl-grid.spec.js.map +0 -1
  330. package/dist/collection/components/cpsl-hero/test/cpsl-hero.e2e.js +0 -29
  331. package/dist/collection/components/cpsl-hero/test/cpsl-hero.e2e.js.map +0 -1
  332. package/dist/collection/components/cpsl-hero/test/cpsl-hero.spec.js +0 -37
  333. package/dist/collection/components/cpsl-hero/test/cpsl-hero.spec.js.map +0 -1
  334. package/dist/collection/components/cpsl-icon/test/cpsl-icon.e2e.js +0 -29
  335. package/dist/collection/components/cpsl-icon/test/cpsl-icon.e2e.js.map +0 -1
  336. package/dist/collection/components/cpsl-icon/test/cpsl-icon.spec.js +0 -37
  337. package/dist/collection/components/cpsl-icon/test/cpsl-icon.spec.js.map +0 -1
  338. package/dist/collection/components/cpsl-identicon/test/cpsl-identicon.e2e.js +0 -29
  339. package/dist/collection/components/cpsl-identicon/test/cpsl-identicon.e2e.js.map +0 -1
  340. package/dist/collection/components/cpsl-identicon/test/cpsl-identicon.spec.js +0 -37
  341. package/dist/collection/components/cpsl-identicon/test/cpsl-identicon.spec.js.map +0 -1
  342. package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.e2e.js +0 -29
  343. package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.e2e.js.map +0 -1
  344. package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.spec.js +0 -37
  345. package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.spec.js.map +0 -1
  346. package/dist/collection/components/cpsl-input/test/cpsl-input.e2e.js +0 -29
  347. package/dist/collection/components/cpsl-input/test/cpsl-input.e2e.js.map +0 -1
  348. package/dist/collection/components/cpsl-input/test/cpsl-input.spec.js +0 -37
  349. package/dist/collection/components/cpsl-input/test/cpsl-input.spec.js.map +0 -1
  350. package/dist/collection/components/cpsl-modal/cpsl-modal.js.map +0 -1
  351. package/dist/collection/components/cpsl-modal/test/cpsl-modal.e2e.js +0 -29
  352. package/dist/collection/components/cpsl-modal/test/cpsl-modal.e2e.js.map +0 -1
  353. package/dist/collection/components/cpsl-modal/test/cpsl-modal.spec.js +0 -37
  354. package/dist/collection/components/cpsl-modal/test/cpsl-modal.spec.js.map +0 -1
  355. package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.e2e.js +0 -29
  356. package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.e2e.js.map +0 -1
  357. package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.spec.js +0 -37
  358. package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.spec.js.map +0 -1
  359. package/dist/collection/components/cpsl-nav-button-group/test/cpsl-nav-button-group.e2e.js +0 -29
  360. package/dist/collection/components/cpsl-nav-button-group/test/cpsl-nav-button-group.e2e.js.map +0 -1
  361. package/dist/collection/components/cpsl-nav-button-group/test/cpsl-nav-button-group.spec.js +0 -37
  362. package/dist/collection/components/cpsl-nav-button-group/test/cpsl-nav-button-group.spec.js.map +0 -1
  363. package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.e2e.js +0 -29
  364. package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.e2e.js.map +0 -1
  365. package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.spec.js +0 -37
  366. package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.spec.js.map +0 -1
  367. package/dist/collection/components/cpsl-pagination/test/cpsl-pagination.e2e.js +0 -29
  368. package/dist/collection/components/cpsl-pagination/test/cpsl-pagination.e2e.js.map +0 -1
  369. package/dist/collection/components/cpsl-pagination/test/cpsl-pagination.spec.js +0 -37
  370. package/dist/collection/components/cpsl-pagination/test/cpsl-pagination.spec.js.map +0 -1
  371. package/dist/collection/components/cpsl-pill/test/cpsl-pill.e2e.js +0 -29
  372. package/dist/collection/components/cpsl-pill/test/cpsl-pill.e2e.js.map +0 -1
  373. package/dist/collection/components/cpsl-pill/test/cpsl-pill.spec.js +0 -37
  374. package/dist/collection/components/cpsl-pill/test/cpsl-pill.spec.js.map +0 -1
  375. package/dist/collection/components/cpsl-popover/test/cpsl-popover.e2e.js +0 -29
  376. package/dist/collection/components/cpsl-popover/test/cpsl-popover.e2e.js.map +0 -1
  377. package/dist/collection/components/cpsl-popover/test/cpsl-popover.spec.js +0 -37
  378. package/dist/collection/components/cpsl-popover/test/cpsl-popover.spec.js.map +0 -1
  379. package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.e2e.js +0 -29
  380. package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.e2e.js.map +0 -1
  381. package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.spec.js +0 -37
  382. package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.spec.js.map +0 -1
  383. package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.e2e.js +0 -29
  384. package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.e2e.js.map +0 -1
  385. package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.spec.js +0 -37
  386. package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.spec.js.map +0 -1
  387. package/dist/collection/components/cpsl-radio/test/cpsl-radio.e2e.js +0 -29
  388. package/dist/collection/components/cpsl-radio/test/cpsl-radio.e2e.js.map +0 -1
  389. package/dist/collection/components/cpsl-radio/test/cpsl-radio.spec.js +0 -37
  390. package/dist/collection/components/cpsl-radio/test/cpsl-radio.spec.js.map +0 -1
  391. package/dist/collection/components/cpsl-row/test/cpsl-row.e2e.js +0 -29
  392. package/dist/collection/components/cpsl-row/test/cpsl-row.e2e.js.map +0 -1
  393. package/dist/collection/components/cpsl-row/test/cpsl-row.spec.js +0 -37
  394. package/dist/collection/components/cpsl-row/test/cpsl-row.spec.js.map +0 -1
  395. package/dist/collection/components/cpsl-select/test/cpsl-select.e2e.js +0 -29
  396. package/dist/collection/components/cpsl-select/test/cpsl-select.e2e.js.map +0 -1
  397. package/dist/collection/components/cpsl-select/test/cpsl-select.spec.js +0 -37
  398. package/dist/collection/components/cpsl-select/test/cpsl-select.spec.js.map +0 -1
  399. package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.e2e.js +0 -29
  400. package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.e2e.js.map +0 -1
  401. package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.spec.js +0 -37
  402. package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.spec.js.map +0 -1
  403. package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.e2e.js +0 -29
  404. package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.e2e.js.map +0 -1
  405. package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.spec.js +0 -37
  406. package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.spec.js.map +0 -1
  407. package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.e2e.js +0 -29
  408. package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.e2e.js.map +0 -1
  409. package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.spec.js +0 -37
  410. package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.spec.js.map +0 -1
  411. package/dist/collection/components/cpsl-switch/test/cpsl-switch.e2e.js +0 -29
  412. package/dist/collection/components/cpsl-switch/test/cpsl-switch.e2e.js.map +0 -1
  413. package/dist/collection/components/cpsl-switch/test/cpsl-switch.spec.js +0 -37
  414. package/dist/collection/components/cpsl-switch/test/cpsl-switch.spec.js.map +0 -1
  415. package/dist/collection/components/cpsl-tab/test/cpsl-tab.e2e.js +0 -29
  416. package/dist/collection/components/cpsl-tab/test/cpsl-tab.e2e.js.map +0 -1
  417. package/dist/collection/components/cpsl-tab/test/cpsl-tab.spec.js +0 -37
  418. package/dist/collection/components/cpsl-tab/test/cpsl-tab.spec.js.map +0 -1
  419. package/dist/collection/components/cpsl-table/test/cpsl-table.e2e.js +0 -29
  420. package/dist/collection/components/cpsl-table/test/cpsl-table.e2e.js.map +0 -1
  421. package/dist/collection/components/cpsl-table/test/cpsl-table.spec.js +0 -37
  422. package/dist/collection/components/cpsl-table/test/cpsl-table.spec.js.map +0 -1
  423. package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.e2e.js +0 -29
  424. package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.e2e.js.map +0 -1
  425. package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.spec.js +0 -37
  426. package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.spec.js.map +0 -1
  427. package/dist/collection/components/cpsl-text/test/cpsl-text.e2e.js +0 -29
  428. package/dist/collection/components/cpsl-text/test/cpsl-text.e2e.js.map +0 -1
  429. package/dist/collection/components/cpsl-text/test/cpsl-text.spec.js +0 -37
  430. package/dist/collection/components/cpsl-text/test/cpsl-text.spec.js.map +0 -1
  431. package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.e2e.js +0 -29
  432. package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.e2e.js.map +0 -1
  433. package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.spec.js +0 -37
  434. package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.spec.js.map +0 -1
  435. package/dist/esm/_commonjsHelpers-1789f0cf.js +0 -9
  436. package/dist/esm/_commonjsHelpers-1789f0cf.js.map +0 -1
  437. package/dist/esm/index-b188f201.js +0 -2076
  438. package/dist/esm/index-b188f201.js.map +0 -1
  439. package/dist/esm/polyfills/core-js.js +0 -11
  440. package/dist/esm/polyfills/dom.js +0 -79
  441. package/dist/esm/polyfills/es5-html-element.js +0 -1
  442. package/dist/esm/polyfills/index.js +0 -34
  443. package/dist/esm/polyfills/system.js +0 -6
  444. package/dist/types/components/cpsl-modal/cpsl-modal.d.ts +0 -39
  445. /package/dist/types/Users/{briancorbin/Documents/Programming/Capsule/component-library/core → norwood/capsule-repos/web-sdk/packages/core-components}/.stencil/scripts/buildAssets.d.ts +0 -0
@@ -1,10 +1,39 @@
1
1
  export declare class CpslButton {
2
+ /**
3
+ * The tag for the button.
4
+ * Options are: `"button"`, `"a".
5
+ * Default is: `"button"`.
6
+ */
2
7
  as?: 'button' | 'a';
8
+ /**
9
+ * If the button is disabled.
10
+ * Default is: false.
11
+ */
3
12
  disabled?: boolean;
13
+ /**
14
+ * Whether the button takes the full width of it's container.
15
+ * Default is: false.
16
+ */
4
17
  fullWidth?: boolean;
18
+ /**
19
+ * href to use when using a link.
20
+ */
5
21
  href?: string;
22
+ /**
23
+ * The size of the button.
24
+ * Options are: `"small"`, `"medium".
25
+ * Default is: `"medium"`.
26
+ */
6
27
  size?: 'small' | 'medium';
28
+ /**
29
+ * target to use when using a link.
30
+ */
7
31
  target?: string;
8
- variant?: 'primary' | 'secondary' | 'ghost' | 'destructive';
32
+ /**
33
+ * The variant of the button.
34
+ * Options are: `"primary"`, `"secondary", `"tertiary", `"ghost"`, `"destructive"`.
35
+ * Default is: `"primary"`.
36
+ */
37
+ variant?: 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'destructive';
9
38
  render(): any;
10
39
  }
@@ -1,5 +1,8 @@
1
1
  export declare class CpslButtonGroup {
2
2
  el: HTMLCpslButtonGroupElement;
3
+ /**
4
+ * The id of the selected button.
5
+ */
3
6
  selectedId?: string;
4
7
  selectItem(): void;
5
8
  componentWillRender(): void;
@@ -1,6 +1,12 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
2
  export declare class CpslCheckbox {
3
+ /**
4
+ * Whether or not the checkbox is checked.
5
+ */
3
6
  checked: boolean;
7
+ /**
8
+ * Emitted when the checkbox state changes.
9
+ */
4
10
  cpslCheckboxChanged: EventEmitter<boolean>;
5
11
  private handleCheckboxClick;
6
12
  render(): any;
@@ -2,11 +2,30 @@ import { EventEmitter } from '../../stencil-public-runtime';
2
2
  import { CodeChangeEventDetail } from './code-change-interface';
3
3
  export declare class CpslCodeInput {
4
4
  el: HTMLCpslCodeInputElement;
5
+ /**
6
+ * Value of the code.
7
+ */
5
8
  code: string;
9
+ /**
10
+ * Error text to show below the input. If this is provided the input will enter an error state.
11
+ */
6
12
  errorText?: string;
13
+ /**
14
+ * Helper text to show below the input. If `"errorText"` is provided that will take precedence.
15
+ */
7
16
  helperText?: string;
17
+ /**
18
+ * Length of the code.
19
+ */
8
20
  length: number;
21
+ /**
22
+ * Type of characters to accept in the code.
23
+ * Defaults to number.
24
+ */
9
25
  type?: 'number' | 'string';
26
+ /**
27
+ * The `cpslInput` event is fired each time the user modifies the input's value.
28
+ */
10
29
  cpslInput: EventEmitter<CodeChangeEventDetail>;
11
30
  private handleInput;
12
31
  private handleKeyDown;
@@ -1,27 +1,123 @@
1
1
  export declare class CpslCol {
2
+ /**
3
+ * The amount to offset the column, in terms of how many columns it should shift to the end
4
+ * of the total available.
5
+ */
2
6
  offset?: string;
7
+ /**
8
+ * The amount to offset the column for xs screens, in terms of how many columns it should shift
9
+ * to the end of the total available.
10
+ */
3
11
  offsetXs?: string;
12
+ /**
13
+ * The amount to offset the column for sm screens, in terms of how many columns it should shift
14
+ * to the end of the total available.
15
+ */
4
16
  offsetSm?: string;
17
+ /**
18
+ * The amount to offset the column for md screens, in terms of how many columns it should shift
19
+ * to the end of the total available.
20
+ */
5
21
  offsetMd?: string;
22
+ /**
23
+ * The amount to offset the column for lg screens, in terms of how many columns it should shift
24
+ * to the end of the total available.
25
+ */
6
26
  offsetLg?: string;
27
+ /**
28
+ * The amount to offset the column for xl screens, in terms of how many columns it should shift
29
+ * to the end of the total available.
30
+ */
7
31
  offsetXl?: string;
32
+ /**
33
+ * The amount to pull the column, in terms of how many columns it should shift to the start of
34
+ * the total available.
35
+ */
8
36
  pull?: string;
37
+ /**
38
+ * The amount to pull the column for xs screens, in terms of how many columns it should shift
39
+ * to the start of the total available.
40
+ */
9
41
  pullXs?: string;
42
+ /**
43
+ * The amount to pull the column for sm screens, in terms of how many columns it should shift
44
+ * to the start of the total available.
45
+ */
10
46
  pullSm?: string;
47
+ /**
48
+ * The amount to pull the column for md screens, in terms of how many columns it should shift
49
+ * to the start of the total available.
50
+ */
11
51
  pullMd?: string;
52
+ /**
53
+ * The amount to pull the column for lg screens, in terms of how many columns it should shift
54
+ * to the start of the total available.
55
+ */
12
56
  pullLg?: string;
57
+ /**
58
+ * The amount to pull the column for xl screens, in terms of how many columns it should shift
59
+ * to the start of the total available.
60
+ */
13
61
  pullXl?: string;
62
+ /**
63
+ * The amount to push the column, in terms of how many columns it should shift to the end
64
+ * of the total available.
65
+ */
14
66
  push?: string;
67
+ /**
68
+ * The amount to push the column for xs screens, in terms of how many columns it should shift
69
+ * to the end of the total available.
70
+ */
15
71
  pushXs?: string;
72
+ /**
73
+ * The amount to push the column for sm screens, in terms of how many columns it should shift
74
+ * to the end of the total available.
75
+ */
16
76
  pushSm?: string;
77
+ /**
78
+ * The amount to push the column for md screens, in terms of how many columns it should shift
79
+ * to the end of the total available.
80
+ */
17
81
  pushMd?: string;
82
+ /**
83
+ * The amount to push the column for lg screens, in terms of how many columns it should shift
84
+ * to the end of the total available.
85
+ */
18
86
  pushLg?: string;
87
+ /**
88
+ * The amount to push the column for xl screens, in terms of how many columns it should shift
89
+ * to the end of the total available.
90
+ */
19
91
  pushXl?: string;
92
+ /**
93
+ * The size of the column, in terms of how many columns it should take up out of the total
94
+ * available. If `"auto"` is passed, the column will be the size of its content.
95
+ */
20
96
  size?: string;
97
+ /**
98
+ * The size of the column for xs screens, in terms of how many columns it should take up out
99
+ * of the total available. If `"auto"` is passed, the column will be the size of its content.
100
+ */
21
101
  sizeXs?: string;
102
+ /**
103
+ * The size of the column for sm screens, in terms of how many columns it should take up out
104
+ * of the total available. If `"auto"` is passed, the column will be the size of its content.
105
+ */
22
106
  sizeSm?: string;
107
+ /**
108
+ * The size of the column for md screens, in terms of how many columns it should take up out
109
+ * of the total available. If `"auto"` is passed, the column will be the size of its content.
110
+ */
23
111
  sizeMd?: string;
112
+ /**
113
+ * The size of the column for lg screens, in terms of how many columns it should take up out
114
+ * of the total available. If `"auto"` is passed, the column will be the size of its content.
115
+ */
24
116
  sizeLg?: string;
117
+ /**
118
+ * The size of the column for xl screens, in terms of how many columns it should take up out
119
+ * of the total available. If `"auto"` is passed, the column will be the size of its content.
120
+ */
25
121
  sizeXl?: string;
26
122
  onResize(): void;
27
123
  private getColumns;
@@ -2,14 +2,45 @@ export declare class CpslDrawer {
2
2
  el: HTMLCpslDrawerElement;
3
3
  closedAnchorPosition?: string;
4
4
  showTransition: boolean;
5
+ /**
6
+ * Side from which the drawer will enter from.
7
+ */
5
8
  anchor: 'top' | 'bottom' | 'left' | 'right';
9
+ /**
10
+ * Starting anchor position.
11
+ */
6
12
  anchorPosition?: number;
13
+ /**
14
+ * Hides the overlay for temporary drawers.
15
+ */
7
16
  noOverlay?: boolean;
17
+ /**
18
+ * Whether the drawer is open or not.
19
+ */
8
20
  open: boolean;
21
+ /**
22
+ * Size (height or width) of the drawer.
23
+ */
9
24
  size: number | 'auto';
25
+ /**
26
+ * Duration in seconds of the open/close animation.
27
+ * Default is 0.15.
28
+ */
10
29
  transitionDuration?: number;
30
+ /**
31
+ * Transition timing function to use.
32
+ * Default is ease-in-out.
33
+ */
11
34
  transitionFunction?: string;
35
+ /**
36
+ * The variant of the drawer.
37
+ * `temporary` drawers will cover content and contain a backdrop. `permanent` drawers will sit beside content, i.e. desktop navigation.
38
+ * Default is `temporary`.
39
+ */
12
40
  variant?: 'temporary' | 'permanent';
41
+ /**
42
+ * Override z-index.
43
+ */
13
44
  zIndexOverride?: number;
14
45
  componentDidLoad(): void;
15
46
  private getContainerHeight;
@@ -2,13 +2,28 @@ import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
2
2
  import { DropdownInputEventDetail } from './dropdown-interface';
3
3
  export declare class CpslDropdown implements ComponentInterface {
4
4
  el: HTMLCpslDropdownElement;
5
+ /**
6
+ * Width of the dropdown
7
+ */
5
8
  width: string;
9
+ /**
10
+ * Whether or not to include search capability
11
+ */
6
12
  hasCpslSearch: boolean;
7
13
  isOpen: boolean;
8
14
  searchQuery: string;
9
15
  filteredItems: Array<DropdownInputEventDetail>;
16
+ /**
17
+ * Items to be presented in the dropdown
18
+ */
10
19
  items: Array<DropdownInputEventDetail>;
20
+ /**
21
+ * The selected item in the dropdown
22
+ */
11
23
  selectedItem?: DropdownInputEventDetail | null;
24
+ /**
25
+ * Event emitted when the selected item changes
26
+ */
12
27
  selectedItemChange: EventEmitter<DropdownInputEventDetail>;
13
28
  handleSelectedItemChange(newValue: DropdownInputEventDetail | null): void;
14
29
  private toggleDropdown;
@@ -1,4 +1,4 @@
1
- import { IconType } from "../../interface";
1
+ import { IconType } from '../../interface';
2
2
  export interface DropdownInputEventDetail {
3
3
  icon: IconType;
4
4
  label: string;
@@ -7,19 +7,62 @@ export declare class CpslFileUpload {
7
7
  dragError?: boolean;
8
8
  isUploading?: boolean;
9
9
  uploadError?: boolean;
10
+ /**
11
+ * Error text to show below the input. If this is provided the input will enter an error state.
12
+ */
10
13
  errorText?: string;
14
+ /**
15
+ * Filename for the external source of the selected file.
16
+ */
11
17
  externalFilename?: string;
18
+ /**
19
+ * External source for the selected file.
20
+ */
12
21
  externalSrc?: string;
22
+ /**
23
+ * Valid file types.
24
+ */
13
25
  fileTypes?: string[];
26
+ /**
27
+ * Helper text to show below the input. If `"errorText"` is provided that will take precedence.
28
+ */
14
29
  helperText?: string;
30
+ /**
31
+ * The label for the input.
32
+ */
15
33
  label?: string;
34
+ /**
35
+ * If `true`, the user must fill in a value before submitting a form.
36
+ */
16
37
  required: boolean;
38
+ /**
39
+ * If `true`, the label will display an "optional" tag.
40
+ */
17
41
  showOptionalLabel: boolean;
42
+ /**
43
+ * Function to trigger file upload to server.
44
+ * Returns: boolean indicating success or failure.
45
+ */
18
46
  uploadFile?: (file: File) => Promise<boolean>;
47
+ /**
48
+ * Emitted when the file is dropped in the input.
49
+ */
19
50
  cpslOnDrop: EventEmitter<DragEvent>;
51
+ /**
52
+ * Emitted when the file drag enters the input.
53
+ */
20
54
  cpslOnDragEnter: EventEmitter<DragEvent>;
55
+ /**
56
+ * Emitted when the file drag leaves the input.
57
+ */
21
58
  cpslOnDragLeave: EventEmitter<DragEvent>;
59
+ /**
60
+ * Emitted when the file changes.
61
+ */
22
62
  cpslFileChange: EventEmitter<File>;
63
+ /**
64
+ * Emitted when the file is removed.
65
+ */
23
66
  cpslFileRemoved: EventEmitter<void>;
24
67
  private handleDrop;
25
68
  private handleDragEnter;
@@ -1,4 +1,7 @@
1
1
  export declare class CpslGrid {
2
+ /**
3
+ * If `true`, the grid will have a fixed width based on the screen size.
4
+ */
2
5
  fixed: boolean;
3
6
  render(): any;
4
7
  }
@@ -1,6 +1,26 @@
1
1
  export declare class CpslHero {
2
- variant?: 'connection' | 'pending' | 'approved' | 'failed';
2
+ /**
3
+ * The height of the container.
4
+ * Default is: 180.
5
+ */
6
+ height?: number;
7
+ /**
8
+ * Hides the fade out components
9
+ * Default is: `false`.
10
+ */
11
+ hideFadeOut?: boolean;
12
+ /**
13
+ * The variant of the button.
14
+ * Options are: `"customContent"`, `"connection"`, `"externalWalletConnection"`, `"pending", `"approved", `"failed".
15
+ * Default is: `"connection"`.
16
+ */
17
+ variant?: 'customContent' | 'connection' | 'externalWalletConnection' | 'pending' | 'approved' | 'failed';
3
18
  title: string;
4
19
  subtitle?: string;
20
+ /**
21
+ * Whether to use the Capsule custom theming or use the provided theme
22
+ * Default is: `false`.
23
+ */
24
+ withDefaultTheme?: boolean;
5
25
  render(): any;
6
26
  }
@@ -1,6 +1,12 @@
1
1
  import { IconType } from '../../interface';
2
2
  export declare class CpslIcon {
3
+ /**
4
+ * The external source of the icon. If both `icon` and `src` are provided, `icon` will be used.
5
+ */
3
6
  src?: string;
7
+ /**
8
+ * The name of the icon. If both `icon` and `src` are provided, `icon` will be used.
9
+ */
4
10
  icon?: IconType;
5
11
  render(): any;
6
12
  }
@@ -0,0 +1,20 @@
1
+ import { IconType } from '../../interface';
2
+ export declare class CpslIconGroup {
3
+ el: HTMLCpslIconGroupElement;
4
+ isHovered: boolean;
5
+ /**
6
+ * The direction the icons should expand from
7
+ */
8
+ expandFrom: 'left' | 'right';
9
+ /**
10
+ * If `true`, the user cannot interact with the input.
11
+ */
12
+ disabled: boolean;
13
+ /**
14
+ * The name of the icons to display.
15
+ */
16
+ icons: (IconType | string)[];
17
+ componentDidLoad(): void;
18
+ disconnectedCallback(): void;
19
+ render(): any;
20
+ }
@@ -1,5 +1,9 @@
1
1
  export declare class CpslIdenticon {
2
2
  hash: string;
3
+ /**
4
+ * The size of the identicon.
5
+ * Default is: 40.
6
+ */
3
7
  size: number;
4
8
  render(): any;
5
9
  }
@@ -1,51 +1,199 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
2
  import { AutocompleteTypes, IconType, TextFieldTypes } from '../../interface';
3
3
  import { InputChangeEventDetail, InputInputEventDetail } from './input-interface';
4
+ import InputMask from 'imask/esm/controls/input';
5
+ import 'imask/esm/masked/pattern';
4
6
  export declare class CpslInput {
5
7
  private nativeInput?;
6
8
  el: HTMLCpslInputElement;
7
9
  private inputId;
10
+ /**
11
+ * The value of the input when the input is focused.
12
+ */
8
13
  private focusedValue?;
9
14
  hasFocus: boolean;
15
+ maskedInput?: InputMask;
16
+ /**
17
+ * Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
18
+ * Available options: `"off"`, `"none"`, `"on"`, `"sentences"`, `"words"`, `"characters"`.
19
+ */
10
20
  autocapitalize: string;
21
+ /**
22
+ * Indicates whether the value of the control can be automatically completed by the browser.
23
+ */
11
24
  autocomplete: AutocompleteTypes;
25
+ /**
26
+ * Whether auto correction should be enabled when the user is entering/editing the text value.
27
+ */
12
28
  autocorrect: 'on' | 'off';
29
+ /**
30
+ * Whether to disable auto disabling of the slotted components.
31
+ */
13
32
  noAutoDisable: boolean;
33
+ /**
34
+ * Sets the [`autofocus` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus) on the native input element.
35
+ *
36
+ * This may not be sufficient for the element to be focused on page load.
37
+ */
14
38
  autofocus: boolean;
39
+ /**
40
+ * If `true`, the user cannot interact with the input.
41
+ */
15
42
  disabled: boolean;
43
+ /**
44
+ * If `true`, the input primary color will use the contrast value, not the primary text value.
45
+ */
46
+ contrastText: boolean;
47
+ /**
48
+ * A hint to the browser for which enter key to display.
49
+ * Possible values: `"enter"`, `"done"`, `"go"`, `"next"`,
50
+ * `"previous"`, `"search"`, and `"send"`.
51
+ */
16
52
  enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
53
+ /**
54
+ * Error text to show below the input. If this is provided the input will enter an error state.
55
+ */
17
56
  errorText?: string;
57
+ /**
58
+ * Mask string to apply to the input.
59
+ */
60
+ mask?: string;
61
+ /**
62
+ * Helper text to show below the input. If `"errorText"` is provided that will take precedence.
63
+ */
18
64
  helperText?: string;
65
+ /**
66
+ * A hint to the browser for which keyboard to display.
67
+ * Possible values: `"none"`, `"text"`, `"tel"`, `"url"`,
68
+ * `"email"`, `"numeric"`, `"decimal"`, and `"search"`.
69
+ */
19
70
  inputmode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
71
+ /**
72
+ * The label for the input.
73
+ */
20
74
  label?: string;
75
+ /**
76
+ * The maximum value, which must not be less than its minimum (min attribute) value.
77
+ */
21
78
  max?: string | number;
79
+ /**
80
+ * If the value of the type attribute is `text`, `email`, `search`, `password`, `tel`, or `url`, this attribute specifies the maximum number of characters that the user can enter.
81
+ */
22
82
  maxlength?: number;
83
+ /**
84
+ * The minimum value, which must not be greater than its maximum (max attribute) value.
85
+ */
23
86
  min?: string | number;
87
+ /**
88
+ * If the value of the type attribute is `text`, `email`, `search`, `password`, `tel`, or `url`, this attribute specifies the minimum number of characters that the user can enter.
89
+ */
24
90
  minlength?: number;
91
+ /**
92
+ * If `true`, the user can enter more than one value. This attribute applies when the type attribute is set to `"email"`, otherwise it is ignored.
93
+ */
25
94
  multiple?: boolean;
95
+ /**
96
+ * The name of the control, which is submitted with the form data.
97
+ */
26
98
  name: string;
99
+ /**
100
+ * A regular expression that the value is checked against. The pattern must match the entire value, not just some subset. Use the title attribute to describe the pattern to help the user. This attribute applies when the value of the type attribute is `"text"`, `"search"`, `"tel"`, `"url"`, `"email"`, `"date"`, or `"password"`, otherwise it is ignored. When the type attribute is `"date"`, `pattern` will only be used in browsers that do not support the `"date"` input type natively. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date for more information.
101
+ */
27
102
  pattern?: string;
103
+ /**
104
+ * Instructional text that shows before the input has a value.
105
+ * This property applies only when the `type` property is set to `"email"`,
106
+ * `"number"`, `"password"`, `"search"`, `"tel"`, `"text"`, or `"url"`, otherwise it is ignored.
107
+ */
28
108
  placeholder?: string;
109
+ /**
110
+ * If `true`, the user cannot modify the value.
111
+ */
29
112
  readonly: boolean;
113
+ /**
114
+ * If `true`, the user must fill in a value before submitting a form.
115
+ */
30
116
  required: boolean;
117
+ /**
118
+ * If `true`, the label will display an "optional" tag.
119
+ */
31
120
  showOptionalLabel: boolean;
121
+ /**
122
+ * If `true`, the element will have its spelling and grammar checked.
123
+ */
32
124
  spellcheck: boolean;
125
+ /**
126
+ * The external source of the icon at the start of the input. If both `startIcon` and `startIconSrc` are provided, `startIcon` will be used.
127
+ */
33
128
  startIconSrc?: string;
129
+ /**
130
+ * The name of the icon at the start of the input. If both `startIcon` and `startIconSrc` are provided, `startIcon` will be used.
131
+ */
34
132
  startIcon?: IconType;
133
+ /**
134
+ * Works with the min and max attributes to limit the increments at which a value can be set.
135
+ * Possible values are: `"any"` or a positive floating point number.
136
+ */
35
137
  step?: string;
138
+ /**
139
+ * The type of control to display. The default type is `text`.
140
+ */
36
141
  type: TextFieldTypes;
142
+ /**
143
+ * The value of the controlled input.
144
+ */
37
145
  value?: string;
146
+ /**
147
+ * The `cpslInput` event is fired each time the user modifies the input's value.
148
+ * Unlike the `cpslChange` event, the `cpslInput` event is fired for each alteration
149
+ * to the input's value. This typically happens for each keystroke as the user types.
150
+ *
151
+ * For elements that accept text input (`type=text`, `type=tel`, etc.), the interface
152
+ * is [`InputEvent`](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent); for others,
153
+ * the interface is [`Event`](https://developer.mozilla.org/en-US/docs/Web/API/Event). If
154
+ * the input is cleared on edit, the type is `null`.
155
+ */
38
156
  cpslInput: EventEmitter<InputInputEventDetail>;
157
+ /**
158
+ * The `cpslChange` event is fired when the user modifies the input's value.
159
+ * Unlike the `cpslInput` event, the `cpslChange` event is only fired when changes
160
+ * are committed, not as the user types.
161
+ *
162
+ * Depending on the way the users interacts with the element, the `cpslChange`
163
+ * event fires at a different moment:
164
+ * - When the element loses focus after its value has changed: for elements
165
+ * where the user's interaction is typing.
166
+ */
39
167
  cpslChange: EventEmitter<InputChangeEventDetail>;
168
+ /**
169
+ * Emitted when the input loses focus.
170
+ */
40
171
  cpslBlur: EventEmitter<FocusEvent>;
172
+ /**
173
+ * Emitted when the input has focus.
174
+ */
41
175
  cpslFocus: EventEmitter<FocusEvent>;
176
+ /**
177
+ * Emitted when something has been paste into the input.
178
+ */
42
179
  cpslPaste: EventEmitter<ClipboardEvent>;
43
180
  handleDisable(): void;
181
+ handleSetupMask(): void;
182
+ handleValueChange(): void;
44
183
  componentDidLoad(): void;
45
184
  private disableSlots;
46
185
  private enableSlots;
47
186
  private initButtons;
187
+ /**
188
+ * Emits a `cpslInput` event.
189
+ */
48
190
  private emitInputChange;
191
+ /**
192
+ * Emits a `cpslChange` event.
193
+ *
194
+ * This API should be called for user committed changes.
195
+ * This API should not be used for external value changes.
196
+ */
49
197
  private emitValueChange;
50
198
  private onInput;
51
199
  private onChange;
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Values are converted to strings when emitted which is
3
+ * why we do not have a `number` type here even though the
4
+ * `value` prop accepts a `number` type.
5
+ */
1
6
  export interface InputChangeEventDetail {
2
7
  value?: string | null;
3
8
  event?: Event;