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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (386) hide show
  1. package/dist/capsule/capsule.esm.js +1 -1
  2. package/dist/capsule/capsule.esm.js.map +1 -1
  3. package/dist/capsule/index.esm.js.map +1 -1
  4. package/dist/capsule/p-0462f723.js.map +1 -1
  5. package/dist/capsule/p-05cb769b.entry.js +10 -0
  6. package/dist/capsule/p-05cb769b.entry.js.map +1 -0
  7. package/dist/capsule/p-0eea90f8.entry.js +2 -0
  8. package/dist/capsule/{p-3fca138b.entry.js.map → p-0eea90f8.entry.js.map} +1 -1
  9. package/dist/capsule/{p-b976b6f0.entry.js → p-41bc3c58.entry.js} +2 -2
  10. package/dist/capsule/{p-b976b6f0.entry.js.map → p-41bc3c58.entry.js.map} +1 -1
  11. package/dist/capsule/p-7233228e.entry.js +29 -0
  12. package/dist/capsule/p-7233228e.entry.js.map +1 -0
  13. package/dist/capsule/{p-29340cea.entry.js → p-742bda0b.entry.js} +2 -2
  14. package/dist/capsule/{p-29340cea.entry.js.map → p-742bda0b.entry.js.map} +1 -1
  15. package/dist/capsule/{p-895001cf.entry.js → p-c1aa1ffb.entry.js} +2 -2
  16. package/dist/capsule/{p-895001cf.entry.js.map → p-c1aa1ffb.entry.js.map} +1 -1
  17. package/dist/capsule/p-d351f076.entry.js +2 -0
  18. package/dist/capsule/p-d351f076.entry.js.map +1 -0
  19. package/dist/capsule/{p-1bb78dd3.entry.js → p-dc4591d5.entry.js} +2 -2
  20. package/dist/capsule/{p-1bb78dd3.entry.js.map → p-dc4591d5.entry.js.map} +1 -1
  21. package/dist/capsule/{p-6dcaee48.entry.js → p-de2a16e4.entry.js} +2 -2
  22. package/dist/capsule/{p-6dcaee48.entry.js.map → p-de2a16e4.entry.js.map} +1 -1
  23. package/dist/capsule/p-e1255160.js.map +1 -1
  24. package/dist/capsule/p-f2393be6.js.map +1 -1
  25. package/dist/capsule/p-fa6b7678.js +3 -0
  26. package/dist/capsule/p-fa6b7678.js.map +1 -0
  27. package/dist/cjs/capsule.cjs.js +10 -10
  28. package/dist/cjs/capsule.cjs.js.map +1 -1
  29. package/dist/cjs/{cpsl-alert_34.cjs.entry.js → cpsl-alert_33.cjs.entry.js} +136 -93
  30. package/dist/cjs/cpsl-alert_33.cjs.entry.js.map +1 -0
  31. package/dist/cjs/cpsl-animation.cjs.entry.js +5 -2
  32. package/dist/cjs/cpsl-animation.cjs.entry.js.map +1 -1
  33. package/dist/cjs/cpsl-col.cjs.entry.js +25 -6
  34. package/dist/cjs/cpsl-col.cjs.entry.js.map +1 -1
  35. package/dist/cjs/cpsl-grid.cjs.entry.js +3 -3
  36. package/dist/cjs/cpsl-hero.cjs.entry.js +35 -0
  37. package/dist/cjs/cpsl-hero.cjs.entry.js.map +1 -0
  38. package/dist/cjs/cpsl-identicon.cjs.entry.js +2 -2
  39. package/dist/cjs/cpsl-info-box.cjs.entry.js +2 -2
  40. package/dist/cjs/cpsl-modal-v2.cjs.entry.js +3 -2
  41. package/dist/cjs/cpsl-modal-v2.cjs.entry.js.map +1 -1
  42. package/dist/cjs/cpsl-row.cjs.entry.js +2 -2
  43. package/dist/cjs/index-65f57499.js +1439 -0
  44. package/dist/cjs/index-65f57499.js.map +1 -0
  45. package/dist/cjs/index.cjs.js +10 -2
  46. package/dist/cjs/index.cjs.js.map +1 -1
  47. package/dist/cjs/loader.cjs.js +2 -2
  48. package/dist/collection/assets/icons/index.js +1 -3
  49. package/dist/collection/assets/icons/index.js.map +1 -1
  50. package/dist/collection/collection-manifest.json +2 -2
  51. package/dist/collection/components/cpsl-alert/cpsl-alert.js +2 -2
  52. package/dist/collection/components/cpsl-alert/cpsl-alert.js.map +1 -1
  53. package/dist/collection/components/cpsl-animation/cpsl-animation.js +4 -1
  54. package/dist/collection/components/cpsl-animation/cpsl-animation.js.map +1 -1
  55. package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js +5 -2
  56. package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js.map +1 -1
  57. package/dist/collection/components/cpsl-avatar/cpsl-avatar.js +1 -1
  58. package/dist/collection/components/cpsl-button/cpsl-button.js +5 -2
  59. package/dist/collection/components/cpsl-button/cpsl-button.js.map +1 -1
  60. package/dist/collection/components/cpsl-button/cpsl-button.stories.js.map +1 -1
  61. package/dist/collection/components/cpsl-button-group/cpsl-button-group.js +1 -1
  62. package/dist/collection/components/cpsl-card/cpsl-card.js +1 -1
  63. package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.js +1 -1
  64. package/dist/collection/components/cpsl-code-input/cpsl-code-input.js +5 -3
  65. package/dist/collection/components/cpsl-code-input/cpsl-code-input.js.map +1 -1
  66. package/dist/collection/components/cpsl-col/cpsl-col.js +21 -5
  67. package/dist/collection/components/cpsl-col/cpsl-col.js.map +1 -1
  68. package/dist/collection/components/cpsl-divider/cpsl-divider.js +1 -1
  69. package/dist/collection/components/cpsl-drawer/cpsl-drawer.js +3 -2
  70. package/dist/collection/components/cpsl-drawer/cpsl-drawer.js.map +1 -1
  71. package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js +2 -2
  72. package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js.map +1 -1
  73. package/dist/collection/components/cpsl-dropdown/dropdown-interface.js.map +1 -1
  74. package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js +6 -1
  75. package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js.map +1 -1
  76. package/dist/collection/components/cpsl-grid/cpsl-grid.js +2 -2
  77. package/dist/collection/components/cpsl-hero/cpsl-hero.css +47 -29
  78. package/dist/collection/components/cpsl-hero/cpsl-hero.js +39 -2
  79. package/dist/collection/components/cpsl-hero/cpsl-hero.js.map +1 -1
  80. package/dist/collection/components/cpsl-hero/cpsl-hero.stories.js +1 -1
  81. package/dist/collection/components/cpsl-hero/cpsl-hero.stories.js.map +1 -1
  82. package/dist/collection/components/cpsl-icon/cpsl-icon.js +2 -2
  83. package/dist/collection/components/cpsl-identicon/cpsl-identicon.js +1 -1
  84. package/dist/collection/components/cpsl-identicon/cpsl-identicon.stories.js.map +1 -1
  85. package/dist/collection/components/cpsl-info-box/cpsl-info-box.js +1 -1
  86. package/dist/collection/components/cpsl-input/cpsl-input.js +36 -2
  87. package/dist/collection/components/cpsl-input/cpsl-input.js.map +1 -1
  88. package/dist/collection/components/cpsl-modal/cpsl-modal.js +1 -1
  89. package/dist/collection/components/cpsl-modal/cpsl-modal.js.map +1 -1
  90. package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js +2 -1
  91. package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js.map +1 -1
  92. package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js +1 -1
  93. package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +2 -1
  94. package/dist/collection/components/cpsl-overlay/cpsl-overlay.js.map +1 -1
  95. package/dist/collection/components/cpsl-pagination/cpsl-pagination.js +1 -1
  96. package/dist/collection/components/cpsl-pagination/cpsl-pagination.js.map +1 -1
  97. package/dist/collection/components/cpsl-pill/cpsl-pill.js +1 -1
  98. package/dist/collection/components/cpsl-popover/cpsl-popover.js +18 -6
  99. package/dist/collection/components/cpsl-popover/cpsl-popover.js.map +1 -1
  100. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +1 -1
  101. package/dist/collection/components/cpsl-radio/cpsl-radio.js +1 -1
  102. package/dist/collection/components/cpsl-row/cpsl-row.js +1 -1
  103. package/dist/collection/components/cpsl-select/cpsl-select.js +3 -1
  104. package/dist/collection/components/cpsl-select/cpsl-select.js.map +1 -1
  105. package/dist/collection/components/cpsl-select-item/cpsl-select-item.js +1 -1
  106. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +14 -3
  107. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js.map +1 -1
  108. package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +2 -2
  109. package/dist/collection/components/cpsl-switch/cpsl-switch.js +1 -1
  110. package/dist/collection/components/cpsl-tab/cpsl-tab.js +1 -1
  111. package/dist/collection/components/cpsl-table/cpsl-table.js +11 -1
  112. package/dist/collection/components/cpsl-table/cpsl-table.js.map +1 -1
  113. package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +7 -1
  114. package/dist/collection/components/cpsl-tabs/cpsl-tabs.js.map +1 -1
  115. package/dist/collection/components/cpsl-text/cpsl-text.js +5 -2
  116. package/dist/collection/components/cpsl-text/cpsl-text.js.map +1 -1
  117. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +2 -2
  118. package/dist/collection/interface.js.map +1 -1
  119. package/dist/collection/utils/media.js +3 -0
  120. package/dist/collection/utils/media.js.map +1 -1
  121. package/dist/collection/utils/theme/generateBorderRadii.js +1 -1
  122. package/dist/collection/utils/theme/generateBorderRadii.js.map +1 -1
  123. package/dist/collection/utils/theme/generatePalette.js +4 -1
  124. package/dist/collection/utils/theme/generatePalette.js.map +1 -1
  125. package/dist/collection/utils/theme/generateTheme.js +4 -0
  126. package/dist/collection/utils/theme/generateTheme.js.map +1 -1
  127. package/dist/collection/utils/theme/utils.js +1 -0
  128. package/dist/collection/utils/theme/utils.js.map +1 -1
  129. package/dist/esm/capsule.js +11 -11
  130. package/dist/esm/capsule.js.map +1 -1
  131. package/dist/esm/{cpsl-alert_34.entry.js → cpsl-alert_33.entry.js} +137 -93
  132. package/dist/esm/cpsl-alert_33.entry.js.map +1 -0
  133. package/dist/esm/cpsl-animation.entry.js +5 -2
  134. package/dist/esm/cpsl-animation.entry.js.map +1 -1
  135. package/dist/esm/cpsl-col.entry.js +25 -6
  136. package/dist/esm/cpsl-col.entry.js.map +1 -1
  137. package/dist/esm/cpsl-grid.entry.js +3 -3
  138. package/dist/esm/cpsl-hero.entry.js +31 -0
  139. package/dist/esm/cpsl-hero.entry.js.map +1 -0
  140. package/dist/esm/cpsl-identicon.entry.js +2 -2
  141. package/dist/esm/cpsl-info-box.entry.js +2 -2
  142. package/dist/esm/cpsl-modal-v2.entry.js +3 -2
  143. package/dist/esm/cpsl-modal-v2.entry.js.map +1 -1
  144. package/dist/esm/cpsl-row.entry.js +2 -2
  145. package/dist/esm/index-91db3414.js +1408 -0
  146. package/dist/esm/index-91db3414.js.map +1 -0
  147. package/dist/esm/index.js +10 -2
  148. package/dist/esm/index.js.map +1 -1
  149. package/dist/esm/loader.js +3 -3
  150. package/dist/loader/cdn.js +1 -3
  151. package/dist/loader/index.cjs.js +1 -3
  152. package/dist/loader/index.d.ts +3 -0
  153. package/dist/loader/index.es2017.js +1 -3
  154. package/dist/loader/index.js +1 -3
  155. package/dist/scripts/buildAssets.js +1 -1
  156. package/dist/types/assets/icons/index.d.ts +0 -2
  157. package/dist/types/components/cpsl-alert/cpsl-alert.d.ts +8 -0
  158. package/dist/types/components/cpsl-animation/cpsl-animation.d.ts +6 -0
  159. package/dist/types/components/cpsl-app-bar/cpsl-app-bar.d.ts +10 -0
  160. package/dist/types/components/cpsl-avatar/cpsl-avatar.d.ts +11 -0
  161. package/dist/types/components/cpsl-button/cpsl-button.d.ts +29 -0
  162. package/dist/types/components/cpsl-button-group/cpsl-button-group.d.ts +3 -0
  163. package/dist/types/components/cpsl-checkbox/cpsl-checkbox.d.ts +6 -0
  164. package/dist/types/components/cpsl-code-input/cpsl-code-input.d.ts +19 -0
  165. package/dist/types/components/cpsl-col/cpsl-col.d.ts +96 -0
  166. package/dist/types/components/cpsl-drawer/cpsl-drawer.d.ts +31 -0
  167. package/dist/types/components/cpsl-dropdown/cpsl-dropdown.d.ts +15 -0
  168. package/dist/types/components/cpsl-dropdown/dropdown-interface.d.ts +1 -1
  169. package/dist/types/components/cpsl-file-upload/cpsl-file-upload.d.ts +43 -0
  170. package/dist/types/components/cpsl-grid/cpsl-grid.d.ts +3 -0
  171. package/dist/types/components/cpsl-hero/cpsl-hero.d.ts +7 -0
  172. package/dist/types/components/cpsl-icon/cpsl-icon.d.ts +6 -0
  173. package/dist/types/components/cpsl-identicon/cpsl-identicon.d.ts +4 -0
  174. package/dist/types/components/cpsl-input/cpsl-input.d.ts +138 -0
  175. package/dist/types/components/cpsl-input/input-interface.d.ts +5 -0
  176. package/dist/types/components/cpsl-modal/cpsl-modal.d.ts +39 -0
  177. package/dist/types/components/cpsl-modal-v2/cpsl-modal-v2.d.ts +32 -0
  178. package/dist/types/components/cpsl-nav-button-group/cpsl-nav-button-group.d.ts +3 -0
  179. package/dist/types/components/cpsl-overlay/cpsl-overlay.d.ts +14 -0
  180. package/dist/types/components/cpsl-pagination/cpsl-pagination.d.ts +15 -0
  181. package/dist/types/components/cpsl-pill/cpsl-pill.d.ts +3 -0
  182. package/dist/types/components/cpsl-popover/cpsl-popover.d.ts +55 -2
  183. package/dist/types/components/cpsl-progress-indicator/cpsl-progress-indicator.d.ts +6 -0
  184. package/dist/types/components/cpsl-qr-code/cpsl-qr-code.d.ts +10 -0
  185. package/dist/types/components/cpsl-radio/cpsl-radio.d.ts +6 -0
  186. package/dist/types/components/cpsl-select/cpsl-select.d.ts +45 -0
  187. package/dist/types/components/cpsl-select-item/cpsl-select-item.d.ts +10 -0
  188. package/dist/types/components/cpsl-slide-button/cpsl-slide-button.d.ts +18 -0
  189. package/dist/types/components/cpsl-spinner/cpsl-spinner.d.ts +8 -0
  190. package/dist/types/components/cpsl-switch/cpsl-switch.d.ts +6 -0
  191. package/dist/types/components/cpsl-tab/cpsl-tab.d.ts +11 -0
  192. package/dist/types/components/cpsl-tabs/cpsl-tabs.d.ts +13 -0
  193. package/dist/types/components/cpsl-text/cpsl-text.d.ts +15 -0
  194. package/dist/types/components/cpsl-tile-button/cpsl-tile-button.d.ts +6 -0
  195. package/dist/types/components.d.ts +32 -6
  196. package/dist/types/stencil-public-runtime.d.ts +3 -10
  197. package/dist/types/utils/theme/generateBorderRadii.d.ts +1 -1
  198. package/dist/types/utils/theme/generatePalette.d.ts +1 -1
  199. package/dist/types/utils/theme/generateTheme.d.ts +4 -0
  200. package/package.json +4 -10
  201. package/readme.md +47 -2
  202. package/dist/capsule/p-3fca138b.entry.js +0 -2
  203. package/dist/capsule/p-7dde3172.js +0 -3
  204. package/dist/capsule/p-7dde3172.js.map +0 -1
  205. package/dist/capsule/p-a6aaf3f4.entry.js +0 -10
  206. package/dist/capsule/p-a6aaf3f4.entry.js.map +0 -1
  207. package/dist/capsule/p-c4220447.entry.js +0 -29
  208. package/dist/capsule/p-c4220447.entry.js.map +0 -1
  209. package/dist/cjs/cpsl-alert_34.cjs.entry.js.map +0 -1
  210. package/dist/cjs/index-528f7428.js +0 -2107
  211. package/dist/cjs/index-528f7428.js.map +0 -1
  212. package/dist/collection/assets/icons/double-arc.svg +0 -13
  213. package/dist/collection/assets/icons/single-arc.svg +0 -11
  214. package/dist/collection/components/cpsl-alert/test/cpsl-alert.e2e.js +0 -29
  215. package/dist/collection/components/cpsl-alert/test/cpsl-alert.e2e.js.map +0 -1
  216. package/dist/collection/components/cpsl-alert/test/cpsl-alert.spec.js +0 -37
  217. package/dist/collection/components/cpsl-alert/test/cpsl-alert.spec.js.map +0 -1
  218. package/dist/collection/components/cpsl-animation/test/cpsl-animation.e2e.js +0 -29
  219. package/dist/collection/components/cpsl-animation/test/cpsl-animation.e2e.js.map +0 -1
  220. package/dist/collection/components/cpsl-animation/test/cpsl-animation.spec.js +0 -37
  221. package/dist/collection/components/cpsl-animation/test/cpsl-animation.spec.js.map +0 -1
  222. package/dist/collection/components/cpsl-app-bar/test/cpsl-app-bar.e2e.js +0 -29
  223. package/dist/collection/components/cpsl-app-bar/test/cpsl-app-bar.e2e.js.map +0 -1
  224. package/dist/collection/components/cpsl-app-bar/test/cpsl-app-bar.spec.js +0 -37
  225. package/dist/collection/components/cpsl-app-bar/test/cpsl-app-bar.spec.js.map +0 -1
  226. package/dist/collection/components/cpsl-avatar/test/cpsl-avatar.e2e.js +0 -29
  227. package/dist/collection/components/cpsl-avatar/test/cpsl-avatar.e2e.js.map +0 -1
  228. package/dist/collection/components/cpsl-avatar/test/cpsl-avatar.spec.js +0 -37
  229. package/dist/collection/components/cpsl-avatar/test/cpsl-avatar.spec.js.map +0 -1
  230. package/dist/collection/components/cpsl-button/test/cpsl-button.e2e.js +0 -29
  231. package/dist/collection/components/cpsl-button/test/cpsl-button.e2e.js.map +0 -1
  232. package/dist/collection/components/cpsl-button/test/cpsl-button.spec.js +0 -37
  233. package/dist/collection/components/cpsl-button/test/cpsl-button.spec.js.map +0 -1
  234. package/dist/collection/components/cpsl-button-group/test/cpsl-button-group.e2e.js +0 -29
  235. package/dist/collection/components/cpsl-button-group/test/cpsl-button-group.e2e.js.map +0 -1
  236. package/dist/collection/components/cpsl-button-group/test/cpsl-button-group.spec.js +0 -37
  237. package/dist/collection/components/cpsl-button-group/test/cpsl-button-group.spec.js.map +0 -1
  238. package/dist/collection/components/cpsl-card/test/cpsl-card.e2e.js +0 -29
  239. package/dist/collection/components/cpsl-card/test/cpsl-card.e2e.js.map +0 -1
  240. package/dist/collection/components/cpsl-card/test/cpsl-card.spec.js +0 -37
  241. package/dist/collection/components/cpsl-card/test/cpsl-card.spec.js.map +0 -1
  242. package/dist/collection/components/cpsl-checkbox/test/cpsl-checkbox.e2e.js +0 -29
  243. package/dist/collection/components/cpsl-checkbox/test/cpsl-checkbox.e2e.js.map +0 -1
  244. package/dist/collection/components/cpsl-checkbox/test/cpsl-checkbox.spec.js +0 -37
  245. package/dist/collection/components/cpsl-checkbox/test/cpsl-checkbox.spec.js.map +0 -1
  246. package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.e2e.js +0 -29
  247. package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.e2e.js.map +0 -1
  248. package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.spec.js +0 -37
  249. package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.spec.js.map +0 -1
  250. package/dist/collection/components/cpsl-col/test/cpsl-col.e2e.js +0 -29
  251. package/dist/collection/components/cpsl-col/test/cpsl-col.e2e.js.map +0 -1
  252. package/dist/collection/components/cpsl-col/test/cpsl-col.spec.js +0 -37
  253. package/dist/collection/components/cpsl-col/test/cpsl-col.spec.js.map +0 -1
  254. package/dist/collection/components/cpsl-divider/test/cpsl-divider.e2e.js +0 -29
  255. package/dist/collection/components/cpsl-divider/test/cpsl-divider.e2e.js.map +0 -1
  256. package/dist/collection/components/cpsl-divider/test/cpsl-divider.spec.js +0 -37
  257. package/dist/collection/components/cpsl-divider/test/cpsl-divider.spec.js.map +0 -1
  258. package/dist/collection/components/cpsl-drawer/test/cpsl-drawer.e2e.js +0 -29
  259. package/dist/collection/components/cpsl-drawer/test/cpsl-drawer.e2e.js.map +0 -1
  260. package/dist/collection/components/cpsl-drawer/test/cpsl-drawer.spec.js +0 -37
  261. package/dist/collection/components/cpsl-drawer/test/cpsl-drawer.spec.js.map +0 -1
  262. package/dist/collection/components/cpsl-dropdown/test/cpsl-dropdown.e2e.js +0 -29
  263. package/dist/collection/components/cpsl-dropdown/test/cpsl-dropdown.e2e.js.map +0 -1
  264. package/dist/collection/components/cpsl-dropdown/test/cpsl-dropdown.spec.js +0 -37
  265. package/dist/collection/components/cpsl-dropdown/test/cpsl-dropdown.spec.js.map +0 -1
  266. package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.e2e.js +0 -29
  267. package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.e2e.js.map +0 -1
  268. package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.spec.js +0 -37
  269. package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.spec.js.map +0 -1
  270. package/dist/collection/components/cpsl-grid/test/cpsl-grid.e2e.js +0 -29
  271. package/dist/collection/components/cpsl-grid/test/cpsl-grid.e2e.js.map +0 -1
  272. package/dist/collection/components/cpsl-grid/test/cpsl-grid.spec.js +0 -37
  273. package/dist/collection/components/cpsl-grid/test/cpsl-grid.spec.js.map +0 -1
  274. package/dist/collection/components/cpsl-hero/test/cpsl-hero.e2e.js +0 -29
  275. package/dist/collection/components/cpsl-hero/test/cpsl-hero.e2e.js.map +0 -1
  276. package/dist/collection/components/cpsl-hero/test/cpsl-hero.spec.js +0 -37
  277. package/dist/collection/components/cpsl-hero/test/cpsl-hero.spec.js.map +0 -1
  278. package/dist/collection/components/cpsl-icon/test/cpsl-icon.e2e.js +0 -29
  279. package/dist/collection/components/cpsl-icon/test/cpsl-icon.e2e.js.map +0 -1
  280. package/dist/collection/components/cpsl-icon/test/cpsl-icon.spec.js +0 -37
  281. package/dist/collection/components/cpsl-icon/test/cpsl-icon.spec.js.map +0 -1
  282. package/dist/collection/components/cpsl-identicon/test/cpsl-identicon.e2e.js +0 -29
  283. package/dist/collection/components/cpsl-identicon/test/cpsl-identicon.e2e.js.map +0 -1
  284. package/dist/collection/components/cpsl-identicon/test/cpsl-identicon.spec.js +0 -37
  285. package/dist/collection/components/cpsl-identicon/test/cpsl-identicon.spec.js.map +0 -1
  286. package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.e2e.js +0 -29
  287. package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.e2e.js.map +0 -1
  288. package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.spec.js +0 -37
  289. package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.spec.js.map +0 -1
  290. package/dist/collection/components/cpsl-input/test/cpsl-input.e2e.js +0 -29
  291. package/dist/collection/components/cpsl-input/test/cpsl-input.e2e.js.map +0 -1
  292. package/dist/collection/components/cpsl-input/test/cpsl-input.spec.js +0 -37
  293. package/dist/collection/components/cpsl-input/test/cpsl-input.spec.js.map +0 -1
  294. package/dist/collection/components/cpsl-modal/test/cpsl-modal.e2e.js +0 -29
  295. package/dist/collection/components/cpsl-modal/test/cpsl-modal.e2e.js.map +0 -1
  296. package/dist/collection/components/cpsl-modal/test/cpsl-modal.spec.js +0 -37
  297. package/dist/collection/components/cpsl-modal/test/cpsl-modal.spec.js.map +0 -1
  298. package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.e2e.js +0 -29
  299. package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.e2e.js.map +0 -1
  300. package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.spec.js +0 -37
  301. package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.spec.js.map +0 -1
  302. package/dist/collection/components/cpsl-nav-button-group/test/cpsl-nav-button-group.e2e.js +0 -29
  303. package/dist/collection/components/cpsl-nav-button-group/test/cpsl-nav-button-group.e2e.js.map +0 -1
  304. package/dist/collection/components/cpsl-nav-button-group/test/cpsl-nav-button-group.spec.js +0 -37
  305. package/dist/collection/components/cpsl-nav-button-group/test/cpsl-nav-button-group.spec.js.map +0 -1
  306. package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.e2e.js +0 -29
  307. package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.e2e.js.map +0 -1
  308. package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.spec.js +0 -37
  309. package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.spec.js.map +0 -1
  310. package/dist/collection/components/cpsl-pagination/test/cpsl-pagination.e2e.js +0 -29
  311. package/dist/collection/components/cpsl-pagination/test/cpsl-pagination.e2e.js.map +0 -1
  312. package/dist/collection/components/cpsl-pagination/test/cpsl-pagination.spec.js +0 -37
  313. package/dist/collection/components/cpsl-pagination/test/cpsl-pagination.spec.js.map +0 -1
  314. package/dist/collection/components/cpsl-pill/test/cpsl-pill.e2e.js +0 -29
  315. package/dist/collection/components/cpsl-pill/test/cpsl-pill.e2e.js.map +0 -1
  316. package/dist/collection/components/cpsl-pill/test/cpsl-pill.spec.js +0 -37
  317. package/dist/collection/components/cpsl-pill/test/cpsl-pill.spec.js.map +0 -1
  318. package/dist/collection/components/cpsl-popover/test/cpsl-popover.e2e.js +0 -29
  319. package/dist/collection/components/cpsl-popover/test/cpsl-popover.e2e.js.map +0 -1
  320. package/dist/collection/components/cpsl-popover/test/cpsl-popover.spec.js +0 -37
  321. package/dist/collection/components/cpsl-popover/test/cpsl-popover.spec.js.map +0 -1
  322. package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.e2e.js +0 -29
  323. package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.e2e.js.map +0 -1
  324. package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.spec.js +0 -37
  325. package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.spec.js.map +0 -1
  326. package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.e2e.js +0 -29
  327. package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.e2e.js.map +0 -1
  328. package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.spec.js +0 -37
  329. package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.spec.js.map +0 -1
  330. package/dist/collection/components/cpsl-radio/test/cpsl-radio.e2e.js +0 -29
  331. package/dist/collection/components/cpsl-radio/test/cpsl-radio.e2e.js.map +0 -1
  332. package/dist/collection/components/cpsl-radio/test/cpsl-radio.spec.js +0 -37
  333. package/dist/collection/components/cpsl-radio/test/cpsl-radio.spec.js.map +0 -1
  334. package/dist/collection/components/cpsl-row/test/cpsl-row.e2e.js +0 -29
  335. package/dist/collection/components/cpsl-row/test/cpsl-row.e2e.js.map +0 -1
  336. package/dist/collection/components/cpsl-row/test/cpsl-row.spec.js +0 -37
  337. package/dist/collection/components/cpsl-row/test/cpsl-row.spec.js.map +0 -1
  338. package/dist/collection/components/cpsl-select/test/cpsl-select.e2e.js +0 -29
  339. package/dist/collection/components/cpsl-select/test/cpsl-select.e2e.js.map +0 -1
  340. package/dist/collection/components/cpsl-select/test/cpsl-select.spec.js +0 -37
  341. package/dist/collection/components/cpsl-select/test/cpsl-select.spec.js.map +0 -1
  342. package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.e2e.js +0 -29
  343. package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.e2e.js.map +0 -1
  344. package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.spec.js +0 -37
  345. package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.spec.js.map +0 -1
  346. package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.e2e.js +0 -29
  347. package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.e2e.js.map +0 -1
  348. package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.spec.js +0 -37
  349. package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.spec.js.map +0 -1
  350. package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.e2e.js +0 -29
  351. package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.e2e.js.map +0 -1
  352. package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.spec.js +0 -37
  353. package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.spec.js.map +0 -1
  354. package/dist/collection/components/cpsl-switch/test/cpsl-switch.e2e.js +0 -29
  355. package/dist/collection/components/cpsl-switch/test/cpsl-switch.e2e.js.map +0 -1
  356. package/dist/collection/components/cpsl-switch/test/cpsl-switch.spec.js +0 -37
  357. package/dist/collection/components/cpsl-switch/test/cpsl-switch.spec.js.map +0 -1
  358. package/dist/collection/components/cpsl-tab/test/cpsl-tab.e2e.js +0 -29
  359. package/dist/collection/components/cpsl-tab/test/cpsl-tab.e2e.js.map +0 -1
  360. package/dist/collection/components/cpsl-tab/test/cpsl-tab.spec.js +0 -37
  361. package/dist/collection/components/cpsl-tab/test/cpsl-tab.spec.js.map +0 -1
  362. package/dist/collection/components/cpsl-table/test/cpsl-table.e2e.js +0 -29
  363. package/dist/collection/components/cpsl-table/test/cpsl-table.e2e.js.map +0 -1
  364. package/dist/collection/components/cpsl-table/test/cpsl-table.spec.js +0 -37
  365. package/dist/collection/components/cpsl-table/test/cpsl-table.spec.js.map +0 -1
  366. package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.e2e.js +0 -29
  367. package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.e2e.js.map +0 -1
  368. package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.spec.js +0 -37
  369. package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.spec.js.map +0 -1
  370. package/dist/collection/components/cpsl-text/test/cpsl-text.e2e.js +0 -29
  371. package/dist/collection/components/cpsl-text/test/cpsl-text.e2e.js.map +0 -1
  372. package/dist/collection/components/cpsl-text/test/cpsl-text.spec.js +0 -37
  373. package/dist/collection/components/cpsl-text/test/cpsl-text.spec.js.map +0 -1
  374. package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.e2e.js +0 -29
  375. package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.e2e.js.map +0 -1
  376. package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.spec.js +0 -37
  377. package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.spec.js.map +0 -1
  378. package/dist/esm/cpsl-alert_34.entry.js.map +0 -1
  379. package/dist/esm/index-b188f201.js +0 -2076
  380. package/dist/esm/index-b188f201.js.map +0 -1
  381. package/dist/esm/polyfills/core-js.js +0 -11
  382. package/dist/esm/polyfills/dom.js +0 -79
  383. package/dist/esm/polyfills/es5-html-element.js +0 -1
  384. package/dist/esm/polyfills/index.js +0 -34
  385. package/dist/esm/polyfills/system.js +0 -6
  386. /package/dist/types/Users/{briancorbin/Documents/Programming/Capsule/component-library/core → taylorbosch/Documents/GitHub/Capsule/web-sdk/packages/core-components}/.stencil/scripts/buildAssets.d.ts +0 -0
@@ -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,4 +1,11 @@
1
1
  export declare class CpslHero {
2
+ /**
3
+ * The variant of the button.
4
+ * Options are: `"default"`, `"loading", `"success".
5
+ * Default is: `"default"`.
6
+ */
2
7
  variant?: 'connection' | 'pending' | 'approved' | 'failed';
8
+ title: string;
9
+ subtitle?: string;
3
10
  render(): any;
4
11
  }
@@ -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
  }
@@ -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
  }
@@ -5,47 +5,185 @@ export declare class CpslInput {
5
5
  private nativeInput?;
6
6
  el: HTMLCpslInputElement;
7
7
  private inputId;
8
+ /**
9
+ * The value of the input when the input is focused.
10
+ */
8
11
  private focusedValue?;
9
12
  hasFocus: boolean;
13
+ /**
14
+ * Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
15
+ * Available options: `"off"`, `"none"`, `"on"`, `"sentences"`, `"words"`, `"characters"`.
16
+ */
10
17
  autocapitalize: string;
18
+ /**
19
+ * Indicates whether the value of the control can be automatically completed by the browser.
20
+ */
11
21
  autocomplete: AutocompleteTypes;
22
+ /**
23
+ * Whether auto correction should be enabled when the user is entering/editing the text value.
24
+ */
12
25
  autocorrect: 'on' | 'off';
26
+ /**
27
+ * Whether to disable auto disabling of the slotted components.
28
+ */
13
29
  noAutoDisable: boolean;
30
+ /**
31
+ * Sets the [`autofocus` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus) on the native input element.
32
+ *
33
+ * This may not be sufficient for the element to be focused on page load.
34
+ */
14
35
  autofocus: boolean;
36
+ /**
37
+ * If `true`, the user cannot interact with the input.
38
+ */
15
39
  disabled: boolean;
40
+ /**
41
+ * A hint to the browser for which enter key to display.
42
+ * Possible values: `"enter"`, `"done"`, `"go"`, `"next"`,
43
+ * `"previous"`, `"search"`, and `"send"`.
44
+ */
16
45
  enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
46
+ /**
47
+ * Error text to show below the input. If this is provided the input will enter an error state.
48
+ */
17
49
  errorText?: string;
50
+ /**
51
+ * Helper text to show below the input. If `"errorText"` is provided that will take precedence.
52
+ */
18
53
  helperText?: string;
54
+ /**
55
+ * A hint to the browser for which keyboard to display.
56
+ * Possible values: `"none"`, `"text"`, `"tel"`, `"url"`,
57
+ * `"email"`, `"numeric"`, `"decimal"`, and `"search"`.
58
+ */
19
59
  inputmode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
60
+ /**
61
+ * The label for the input.
62
+ */
20
63
  label?: string;
64
+ /**
65
+ * The maximum value, which must not be less than its minimum (min attribute) value.
66
+ */
21
67
  max?: string | number;
68
+ /**
69
+ * 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.
70
+ */
22
71
  maxlength?: number;
72
+ /**
73
+ * The minimum value, which must not be greater than its maximum (max attribute) value.
74
+ */
23
75
  min?: string | number;
76
+ /**
77
+ * 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.
78
+ */
24
79
  minlength?: number;
80
+ /**
81
+ * 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.
82
+ */
25
83
  multiple?: boolean;
84
+ /**
85
+ * The name of the control, which is submitted with the form data.
86
+ */
26
87
  name: string;
88
+ /**
89
+ * 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.
90
+ */
27
91
  pattern?: string;
92
+ /**
93
+ * Instructional text that shows before the input has a value.
94
+ * This property applies only when the `type` property is set to `"email"`,
95
+ * `"number"`, `"password"`, `"search"`, `"tel"`, `"text"`, or `"url"`, otherwise it is ignored.
96
+ */
28
97
  placeholder?: string;
98
+ /**
99
+ * If `true`, the user cannot modify the value.
100
+ */
29
101
  readonly: boolean;
102
+ /**
103
+ * If `true`, the user must fill in a value before submitting a form.
104
+ */
30
105
  required: boolean;
106
+ /**
107
+ * If `true`, the label will display an "optional" tag.
108
+ */
31
109
  showOptionalLabel: boolean;
110
+ /**
111
+ * If `true`, the element will have its spelling and grammar checked.
112
+ */
32
113
  spellcheck: boolean;
114
+ /**
115
+ * The external source of the icon at the start of the input. If both `startIcon` and `startIconSrc` are provided, `startIcon` will be used.
116
+ */
33
117
  startIconSrc?: string;
118
+ /**
119
+ * The name of the icon at the start of the input. If both `startIcon` and `startIconSrc` are provided, `startIcon` will be used.
120
+ */
34
121
  startIcon?: IconType;
122
+ /**
123
+ * Works with the min and max attributes to limit the increments at which a value can be set.
124
+ * Possible values are: `"any"` or a positive floating point number.
125
+ */
35
126
  step?: string;
127
+ /**
128
+ * The type of control to display. The default type is `text`.
129
+ */
36
130
  type: TextFieldTypes;
131
+ /**
132
+ * The value of the controlled input.
133
+ */
37
134
  value?: string;
135
+ /**
136
+ * The `cpslInput` event is fired each time the user modifies the input's value.
137
+ * Unlike the `cpslChange` event, the `cpslInput` event is fired for each alteration
138
+ * to the input's value. This typically happens for each keystroke as the user types.
139
+ *
140
+ * For elements that accept text input (`type=text`, `type=tel`, etc.), the interface
141
+ * is [`InputEvent`](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent); for others,
142
+ * the interface is [`Event`](https://developer.mozilla.org/en-US/docs/Web/API/Event). If
143
+ * the input is cleared on edit, the type is `null`.
144
+ */
38
145
  cpslInput: EventEmitter<InputInputEventDetail>;
146
+ /**
147
+ * The `cpslChange` event is fired when the user modifies the input's value.
148
+ * Unlike the `cpslInput` event, the `cpslChange` event is only fired when changes
149
+ * are committed, not as the user types.
150
+ *
151
+ * Depending on the way the users interacts with the element, the `cpslChange`
152
+ * event fires at a different moment:
153
+ * - When the element loses focus after its value has changed: for elements
154
+ * where the user's interaction is typing.
155
+ */
39
156
  cpslChange: EventEmitter<InputChangeEventDetail>;
157
+ /**
158
+ * Emitted when the input loses focus.
159
+ */
40
160
  cpslBlur: EventEmitter<FocusEvent>;
161
+ /**
162
+ * Emitted when the input has focus.
163
+ */
41
164
  cpslFocus: EventEmitter<FocusEvent>;
165
+ /**
166
+ * Emitted when something has been paste into the input.
167
+ */
42
168
  cpslPaste: EventEmitter<ClipboardEvent>;
43
169
  handleDisable(): void;
170
+ /**
171
+ * Update the native input element when the value changes
172
+ */
44
173
  componentDidLoad(): void;
45
174
  private disableSlots;
46
175
  private enableSlots;
47
176
  private initButtons;
177
+ /**
178
+ * Emits a `cpslInput` event.
179
+ */
48
180
  private emitInputChange;
181
+ /**
182
+ * Emits a `cpslChange` event.
183
+ *
184
+ * This API should be called for user committed changes.
185
+ * This API should not be used for external value changes.
186
+ */
49
187
  private emitValueChange;
50
188
  private onInput;
51
189
  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;
@@ -5,17 +5,56 @@ export declare class CpslModal {
5
5
  private hasAnimatedIn;
6
6
  el: HTMLCpslModalElement;
7
7
  hasFooter: boolean;
8
+ /**
9
+ * Duration in seconds of the modal entering.
10
+ * Default is .15.
11
+ */
8
12
  enterTransitionDuration?: number;
13
+ /**
14
+ * Duration in seconds of the modal exiting.
15
+ * Default is .15.
16
+ */
9
17
  exitTransitionDuration?: number;
18
+ /**
19
+ * Whether or not to show `footerExpandedFooter` and `footerExpandedHeader` slots.
20
+ */
10
21
  footerExpanded?: boolean;
22
+ /**
23
+ * Duration in seconds of the footer expansion animation.
24
+ * Default is 0.15.
25
+ */
11
26
  footerTransitionDuration?: number;
27
+ /**
28
+ * Whether or not to show the overlay. This will always show the modal, regardless of the value of `open`.
29
+ */
12
30
  noOverlay?: boolean;
31
+ /**
32
+ * Whether or not to show the modal.
33
+ */
13
34
  open: boolean;
35
+ /**
36
+ * Emitted when enter animation starts.
37
+ */
14
38
  cpslModalEntering: EventEmitter<null>;
39
+ /**
40
+ * Emitted when enter animation finishes.
41
+ */
15
42
  cpslModalEntered: EventEmitter<null>;
43
+ /**
44
+ * Emitted when exit animation starts.
45
+ */
16
46
  cpslModalExiting: EventEmitter<null>;
47
+ /**
48
+ * Emitted when exit animation finishes.
49
+ */
17
50
  cpslModalExited: EventEmitter<null>;
51
+ /**
52
+ * Emitted when exit animation finishes.
53
+ */
18
54
  cpslModalRequestClose: EventEmitter<null>;
55
+ /**
56
+ * Override z-index.
57
+ */
19
58
  zIndexOverride?: number;
20
59
  toggleHeight(): void;
21
60
  toggleModal(): void;
@@ -1,15 +1,47 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
2
  export declare class CpslModalV2 {
3
3
  el: HTMLCpslModalV2Element;
4
+ /**
5
+ * Duration in seconds of the modal entering.
6
+ * Default is .15.
7
+ */
4
8
  enterTransitionDuration?: number;
9
+ /**
10
+ * Duration in seconds of the modal exiting.
11
+ * Default is .15.
12
+ */
5
13
  exitTransitionDuration?: number;
14
+ /**
15
+ * Whether or not to show the modal with a box shadow.
16
+ */
6
17
  elevated: boolean;
18
+ /**
19
+ * Whether or not to show the overlay.
20
+ */
7
21
  noOverlay: boolean;
22
+ /**
23
+ * Whether or not to show the modal.
24
+ */
8
25
  open: boolean;
26
+ /**
27
+ * Override z-index.
28
+ */
9
29
  zIndexOverride?: number;
30
+ /**
31
+ * Emitted when enter animation starts.
32
+ */
10
33
  cpslModalEntering: EventEmitter<null>;
34
+ /**
35
+ * Emitted when enter animation finishes.
36
+ */
11
37
  cpslModalEntered: EventEmitter<null>;
38
+ /**
39
+ * Emitted when exit animation starts.
40
+ */
12
41
  cpslModalExiting: EventEmitter<null>;
42
+ /**
43
+ * Emitted when exit animation finishes.
44
+ */
13
45
  cpslModalExited: EventEmitter<null>;
14
46
  toggleHeight(): void;
15
47
  componentDidLoad(): void;
@@ -1,5 +1,8 @@
1
1
  export declare class CpslNavButtonGroup {
2
2
  el: HTMLCpslNavButtonGroupElement;
3
+ /**
4
+ * The id of the selected button.
5
+ */
3
6
  selectedId?: string;
4
7
  selectItem(): void;
5
8
  componentWillRender(): void;
@@ -1,8 +1,22 @@
1
1
  export declare class CpslOverlay {
2
2
  el: HTMLCpslOverlayElement;
3
+ /**
4
+ * Duration in seconds of the fade out animation.
5
+ * Default is .5.
6
+ */
3
7
  enterTransitionDuration?: number;
8
+ /**
9
+ * Duration in seconds of the fade out animation.
10
+ * Default is .5.
11
+ */
4
12
  exitTransitionDuration?: number;
13
+ /**
14
+ * Whether or not to show the overlay.
15
+ */
5
16
  open: boolean;
17
+ /**
18
+ * Override z-index.
19
+ */
6
20
  zIndexOverride?: number;
7
21
  toggleHeight(): void;
8
22
  componentDidLoad(): void;
@@ -1,9 +1,24 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
2
  export declare class CpslPagination {
3
3
  currentPage: number;
4
+ /**
5
+ * The initial page to select.
6
+ * Default is 0.
7
+ */
4
8
  initialPage?: number;
9
+ /**
10
+ * The total number of pages.
11
+ */
5
12
  totalPages: number;
13
+ /**
14
+ * The number of pages visible to select.
15
+ * Default is 5.
16
+ * Min is 5.
17
+ */
6
18
  visiblePages?: number;
19
+ /**
20
+ * Emitted when exit animation finishes.
21
+ */
7
22
  cpslPaginationChanged: EventEmitter<number>;
8
23
  watchChange(): void;
9
24
  componentWillLoad(): void;
@@ -1,4 +1,7 @@
1
1
  export declare class CpslPill {
2
+ /**
3
+ * Text of the pill.
4
+ */
2
5
  text: string;
3
6
  render(): any;
4
7
  }