@usecapsule/core-components 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (400) hide show
  1. package/dist/capsule/capsule.esm.js +1 -52
  2. package/dist/capsule/capsule.esm.js.map +1 -1
  3. package/dist/capsule/index.esm.js +1 -572
  4. package/dist/capsule/index.esm.js.map +1 -1
  5. package/dist/capsule/p-0462f723.js +2 -0
  6. package/dist/capsule/p-0462f723.js.map +1 -0
  7. package/dist/capsule/p-68c73705.entry.js +2 -0
  8. package/dist/capsule/p-68c73705.entry.js.map +1 -0
  9. package/dist/capsule/p-6fb7c4d1.js +3 -0
  10. package/dist/capsule/p-6fb7c4d1.js.map +1 -0
  11. package/dist/capsule/p-81a385a0.entry.js +29 -0
  12. package/dist/capsule/p-81a385a0.entry.js.map +1 -0
  13. package/dist/capsule/p-91412151.entry.js +2 -0
  14. package/dist/capsule/p-91412151.entry.js.map +1 -0
  15. package/dist/capsule/p-a95ec4df.entry.js +2 -0
  16. package/dist/capsule/p-a95ec4df.entry.js.map +1 -0
  17. package/dist/capsule/p-c2bf050b.js +2 -0
  18. package/dist/capsule/p-c2bf050b.js.map +1 -0
  19. package/dist/capsule/p-d7be092d.entry.js +10 -0
  20. package/dist/capsule/p-d7be092d.entry.js.map +1 -0
  21. package/dist/capsule/p-e1255160.js +2 -0
  22. package/dist/capsule/p-e1255160.js.map +1 -0
  23. package/dist/capsule/p-f604b591.entry.js +2 -0
  24. package/dist/capsule/p-f604b591.entry.js.map +1 -0
  25. package/dist/cjs/_commonjsHelpers-b3309d7b.js +12 -0
  26. package/dist/cjs/_commonjsHelpers-b3309d7b.js.map +1 -0
  27. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  28. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  29. package/dist/cjs/capsule.cjs.js +27 -0
  30. package/dist/cjs/capsule.cjs.js.map +1 -0
  31. package/dist/cjs/constants-4bb85cc5.js +12 -0
  32. package/dist/cjs/constants-4bb85cc5.js.map +1 -0
  33. package/dist/cjs/cpsl-alert_17.cjs.entry.js +10710 -0
  34. package/dist/cjs/cpsl-alert_17.cjs.entry.js.map +1 -0
  35. package/dist/cjs/cpsl-animation.cjs.entry.js +20129 -0
  36. package/dist/cjs/cpsl-animation.cjs.entry.js.map +1 -0
  37. package/dist/cjs/cpsl-col.cjs.entry.js +125 -0
  38. package/dist/cjs/cpsl-col.cjs.entry.js.map +1 -0
  39. package/dist/cjs/cpsl-grid.cjs.entry.js +25 -0
  40. package/dist/cjs/cpsl-grid.cjs.entry.js.map +1 -0
  41. package/dist/cjs/cpsl-info-box.cjs.entry.js +22 -0
  42. package/dist/cjs/cpsl-info-box.cjs.entry.js.map +1 -0
  43. package/dist/cjs/cpsl-row.cjs.entry.js +22 -0
  44. package/dist/cjs/cpsl-row.cjs.entry.js.map +1 -0
  45. package/dist/cjs/index-3fccb5b4.js +2012 -0
  46. package/dist/cjs/index-3fccb5b4.js.map +1 -0
  47. package/dist/cjs/index.cjs.js +342 -0
  48. package/dist/cjs/index.cjs.js.map +1 -0
  49. package/dist/cjs/loader.cjs.js +17 -0
  50. package/dist/cjs/loader.cjs.js.map +1 -0
  51. package/dist/collection/assets/icons/alert-circle.svg +3 -0
  52. package/dist/collection/assets/icons/angel-list-brand.svg +3 -0
  53. package/dist/collection/assets/icons/angel-list.svg +3 -0
  54. package/dist/collection/assets/icons/apple-brand.svg +3 -0
  55. package/dist/collection/assets/icons/apple.svg +3 -0
  56. package/dist/collection/assets/icons/arrow-narrow.svg +3 -0
  57. package/dist/collection/assets/icons/arrow.svg +3 -0
  58. package/dist/collection/assets/icons/backup-kit.svg +4 -0
  59. package/dist/collection/assets/icons/capsule-logo.svg +18 -0
  60. package/dist/collection/assets/icons/capsule-rings-dark.svg +34 -0
  61. package/dist/collection/assets/icons/capsule-rings.svg +34 -0
  62. package/dist/collection/assets/icons/capsule.svg +4 -0
  63. package/dist/collection/assets/icons/check.svg +3 -0
  64. package/dist/collection/assets/icons/clock.svg +3 -0
  65. package/dist/collection/assets/icons/close.svg +4 -0
  66. package/dist/collection/assets/icons/clubhouse-brand.svg +4 -0
  67. package/dist/collection/assets/icons/clubhouse.svg +4 -0
  68. package/dist/collection/assets/icons/copy.svg +3 -0
  69. package/dist/collection/assets/icons/discord-brand.svg +4 -0
  70. package/dist/collection/assets/icons/discord.svg +4 -0
  71. package/dist/collection/assets/icons/download-cloud.svg +3 -0
  72. package/dist/collection/assets/icons/dribbble-brand.svg +4 -0
  73. package/dist/collection/assets/icons/dribbble.svg +3 -0
  74. package/dist/collection/assets/icons/eye-off.svg +3 -0
  75. package/dist/collection/assets/icons/eye.svg +4 -0
  76. package/dist/collection/assets/icons/facebook-brand.svg +11 -0
  77. package/dist/collection/assets/icons/facebook.svg +10 -0
  78. package/dist/collection/assets/icons/figma-brand.svg +14 -0
  79. package/dist/collection/assets/icons/figma.svg +3 -0
  80. package/dist/collection/assets/icons/github-brand.svg +10 -0
  81. package/dist/collection/assets/icons/github.svg +10 -0
  82. package/dist/collection/assets/icons/google-brand.svg +13 -0
  83. package/dist/collection/assets/icons/google.svg +10 -0
  84. package/dist/collection/assets/icons/help-circle.svg +3 -0
  85. package/dist/collection/assets/icons/hero-email.svg +12 -0
  86. package/dist/collection/assets/icons/hero-lock.svg +4 -0
  87. package/dist/collection/assets/icons/hero-passkey.svg +12 -0
  88. package/dist/collection/assets/icons/hero-phone.svg +4 -0
  89. package/dist/collection/assets/icons/hero-wallet.svg +5 -0
  90. package/dist/collection/assets/icons/index.js +70 -0
  91. package/dist/collection/assets/icons/index.js.map +1 -0
  92. package/dist/collection/assets/icons/info-circle.svg +3 -0
  93. package/dist/collection/assets/icons/instagram-brand.svg +12 -0
  94. package/dist/collection/assets/icons/instagram.svg +12 -0
  95. package/dist/collection/assets/icons/key.svg +3 -0
  96. package/dist/collection/assets/icons/linkedin-brand.svg +10 -0
  97. package/dist/collection/assets/icons/linkedin.svg +10 -0
  98. package/dist/collection/assets/icons/mail.svg +3 -0
  99. package/dist/collection/assets/icons/more-login-options.svg +13 -0
  100. package/dist/collection/assets/icons/phone.svg +3 -0
  101. package/dist/collection/assets/icons/pintrest-brand.svg +11 -0
  102. package/dist/collection/assets/icons/pintrest.svg +10 -0
  103. package/dist/collection/assets/icons/plus-circle.svg +5 -0
  104. package/dist/collection/assets/icons/reddit-brand.svg +11 -0
  105. package/dist/collection/assets/icons/reddit.svg +3 -0
  106. package/dist/collection/assets/icons/signal-brand.svg +3 -0
  107. package/dist/collection/assets/icons/signal.svg +3 -0
  108. package/dist/collection/assets/icons/snapchat-brand.svg +4 -0
  109. package/dist/collection/assets/icons/snapchat.svg +3 -0
  110. package/dist/collection/assets/icons/telegram-brand.svg +15 -0
  111. package/dist/collection/assets/icons/telegram.svg +10 -0
  112. package/dist/collection/assets/icons/tik-tok-brand.svg +5 -0
  113. package/dist/collection/assets/icons/tik-tok.svg +3 -0
  114. package/dist/collection/assets/icons/tumblr-brand.svg +10 -0
  115. package/dist/collection/assets/icons/tumblr.svg +10 -0
  116. package/dist/collection/assets/icons/twitter-brand.svg +3 -0
  117. package/dist/collection/assets/icons/twitter.svg +3 -0
  118. package/dist/collection/assets/icons/wallet.svg +5 -0
  119. package/dist/collection/assets/icons/youtube-brand.svg +11 -0
  120. package/dist/collection/assets/icons/youtube.svg +3 -0
  121. package/dist/collection/collection-manifest.json +33 -0
  122. package/dist/collection/components/cpsl-alert/cpsl-alert.css +98 -0
  123. package/dist/collection/components/cpsl-alert/cpsl-alert.js +80 -0
  124. package/dist/collection/components/cpsl-alert/cpsl-alert.js.map +1 -0
  125. package/dist/collection/components/cpsl-alert/test/cpsl-alert.e2e.js +29 -0
  126. package/dist/collection/components/cpsl-alert/test/cpsl-alert.e2e.js.map +1 -0
  127. package/dist/collection/components/cpsl-alert/test/cpsl-alert.spec.js +37 -0
  128. package/dist/collection/components/cpsl-alert/test/cpsl-alert.spec.js.map +1 -0
  129. package/dist/collection/components/cpsl-animation/cpsl-animation.css +17 -0
  130. package/dist/collection/components/cpsl-animation/cpsl-animation.js +102 -0
  131. package/dist/collection/components/cpsl-animation/cpsl-animation.js.map +1 -0
  132. package/dist/collection/components/cpsl-animation/test/cpsl-animation.e2e.js +29 -0
  133. package/dist/collection/components/cpsl-animation/test/cpsl-animation.e2e.js.map +1 -0
  134. package/dist/collection/components/cpsl-animation/test/cpsl-animation.spec.js +37 -0
  135. package/dist/collection/components/cpsl-animation/test/cpsl-animation.spec.js.map +1 -0
  136. package/dist/collection/components/cpsl-button/cpsl-button.css +162 -0
  137. package/dist/collection/components/cpsl-button/cpsl-button.js +68 -0
  138. package/dist/collection/components/cpsl-button/cpsl-button.js.map +1 -0
  139. package/dist/collection/components/cpsl-button/test/cpsl-button.e2e.js +29 -0
  140. package/dist/collection/components/cpsl-button/test/cpsl-button.e2e.js.map +1 -0
  141. package/dist/collection/components/cpsl-button/test/cpsl-button.spec.js +37 -0
  142. package/dist/collection/components/cpsl-button/test/cpsl-button.spec.js.map +1 -0
  143. package/dist/collection/components/cpsl-code-input/code-change-interface.js +2 -0
  144. package/dist/collection/components/cpsl-code-input/code-change-interface.js.map +1 -0
  145. package/dist/collection/components/cpsl-code-input/cpsl-code-input.css +134 -0
  146. package/dist/collection/components/cpsl-code-input/cpsl-code-input.js +223 -0
  147. package/dist/collection/components/cpsl-code-input/cpsl-code-input.js.map +1 -0
  148. package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.e2e.js +29 -0
  149. package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.e2e.js.map +1 -0
  150. package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.spec.js +37 -0
  151. package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.spec.js.map +1 -0
  152. package/dist/collection/components/cpsl-col/cpsl-col.css +200 -0
  153. package/dist/collection/components/cpsl-col/cpsl-col.js +528 -0
  154. package/dist/collection/components/cpsl-col/cpsl-col.js.map +1 -0
  155. package/dist/collection/components/cpsl-col/test/cpsl-col.e2e.js +29 -0
  156. package/dist/collection/components/cpsl-col/test/cpsl-col.e2e.js.map +1 -0
  157. package/dist/collection/components/cpsl-col/test/cpsl-col.spec.js +37 -0
  158. package/dist/collection/components/cpsl-col/test/cpsl-col.spec.js.map +1 -0
  159. package/dist/collection/components/cpsl-divider/cpsl-divider.css +73 -0
  160. package/dist/collection/components/cpsl-divider/cpsl-divider.js +19 -0
  161. package/dist/collection/components/cpsl-divider/cpsl-divider.js.map +1 -0
  162. package/dist/collection/components/cpsl-divider/test/cpsl-divider.e2e.js +29 -0
  163. package/dist/collection/components/cpsl-divider/test/cpsl-divider.e2e.js.map +1 -0
  164. package/dist/collection/components/cpsl-divider/test/cpsl-divider.spec.js +37 -0
  165. package/dist/collection/components/cpsl-divider/test/cpsl-divider.spec.js.map +1 -0
  166. package/dist/collection/components/cpsl-grid/cpsl-grid.css +235 -0
  167. package/dist/collection/components/cpsl-grid/cpsl-grid.js +46 -0
  168. package/dist/collection/components/cpsl-grid/cpsl-grid.js.map +1 -0
  169. package/dist/collection/components/cpsl-grid/test/cpsl-grid.e2e.js +29 -0
  170. package/dist/collection/components/cpsl-grid/test/cpsl-grid.e2e.js.map +1 -0
  171. package/dist/collection/components/cpsl-grid/test/cpsl-grid.spec.js +37 -0
  172. package/dist/collection/components/cpsl-grid/test/cpsl-grid.spec.js.map +1 -0
  173. package/dist/collection/components/cpsl-icon/cpsl-icon.css +95 -0
  174. package/dist/collection/components/cpsl-icon/cpsl-icon.js +68 -0
  175. package/dist/collection/components/cpsl-icon/cpsl-icon.js.map +1 -0
  176. package/dist/collection/components/cpsl-icon/test/cpsl-icon.e2e.js +29 -0
  177. package/dist/collection/components/cpsl-icon/test/cpsl-icon.e2e.js.map +1 -0
  178. package/dist/collection/components/cpsl-icon/test/cpsl-icon.spec.js +37 -0
  179. package/dist/collection/components/cpsl-icon/test/cpsl-icon.spec.js.map +1 -0
  180. package/dist/collection/components/cpsl-info-box/cpsl-info-box.css +77 -0
  181. package/dist/collection/components/cpsl-info-box/cpsl-info-box.js +19 -0
  182. package/dist/collection/components/cpsl-info-box/cpsl-info-box.js.map +1 -0
  183. package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.e2e.js +29 -0
  184. package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.e2e.js.map +1 -0
  185. package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.spec.js +37 -0
  186. package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.spec.js.map +1 -0
  187. package/dist/collection/components/cpsl-input/cpsl-input.css +194 -0
  188. package/dist/collection/components/cpsl-input/cpsl-input.js +708 -0
  189. package/dist/collection/components/cpsl-input/cpsl-input.js.map +1 -0
  190. package/dist/collection/components/cpsl-input/input-interface.js +2 -0
  191. package/dist/collection/components/cpsl-input/input-interface.js.map +1 -0
  192. package/dist/collection/components/cpsl-input/test/cpsl-input.e2e.js +29 -0
  193. package/dist/collection/components/cpsl-input/test/cpsl-input.e2e.js.map +1 -0
  194. package/dist/collection/components/cpsl-input/test/cpsl-input.spec.js +37 -0
  195. package/dist/collection/components/cpsl-input/test/cpsl-input.spec.js.map +1 -0
  196. package/dist/collection/components/cpsl-modal/cpsl-modal.css +172 -0
  197. package/dist/collection/components/cpsl-modal/cpsl-modal.js +429 -0
  198. package/dist/collection/components/cpsl-modal/cpsl-modal.js.map +1 -0
  199. package/dist/collection/components/cpsl-modal/test/cpsl-modal.e2e.js +29 -0
  200. package/dist/collection/components/cpsl-modal/test/cpsl-modal.e2e.js.map +1 -0
  201. package/dist/collection/components/cpsl-modal/test/cpsl-modal.spec.js +37 -0
  202. package/dist/collection/components/cpsl-modal/test/cpsl-modal.spec.js.map +1 -0
  203. package/dist/collection/components/cpsl-overlay/cpsl-overlay.css +11 -0
  204. package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +108 -0
  205. package/dist/collection/components/cpsl-overlay/cpsl-overlay.js.map +1 -0
  206. package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.e2e.js +29 -0
  207. package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.e2e.js.map +1 -0
  208. package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.spec.js +37 -0
  209. package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.spec.js.map +1 -0
  210. package/dist/collection/components/cpsl-pill/cpsl-pill.css +92 -0
  211. package/dist/collection/components/cpsl-pill/cpsl-pill.js +43 -0
  212. package/dist/collection/components/cpsl-pill/cpsl-pill.js.map +1 -0
  213. package/dist/collection/components/cpsl-pill/test/cpsl-pill.e2e.js +29 -0
  214. package/dist/collection/components/cpsl-pill/test/cpsl-pill.e2e.js.map +1 -0
  215. package/dist/collection/components/cpsl-pill/test/cpsl-pill.spec.js +37 -0
  216. package/dist/collection/components/cpsl-pill/test/cpsl-pill.spec.js.map +1 -0
  217. package/dist/collection/components/cpsl-progress-indicator/cpsl-progress-indicator.css +82 -0
  218. package/dist/collection/components/cpsl-progress-indicator/cpsl-progress-indicator.js +71 -0
  219. package/dist/collection/components/cpsl-progress-indicator/cpsl-progress-indicator.js.map +1 -0
  220. package/dist/collection/components/cpsl-progress-indicator/progress-indicator-interface.js +2 -0
  221. package/dist/collection/components/cpsl-progress-indicator/progress-indicator-interface.js.map +1 -0
  222. package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.e2e.js +29 -0
  223. package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.e2e.js.map +1 -0
  224. package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.spec.js +37 -0
  225. package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.spec.js.map +1 -0
  226. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.css +81 -0
  227. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +107 -0
  228. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js.map +1 -0
  229. package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.e2e.js +29 -0
  230. package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.e2e.js.map +1 -0
  231. package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.spec.js +37 -0
  232. package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.spec.js.map +1 -0
  233. package/dist/collection/components/cpsl-row/cpsl-row.css +136 -0
  234. package/dist/collection/components/cpsl-row/cpsl-row.js +19 -0
  235. package/dist/collection/components/cpsl-row/cpsl-row.js.map +1 -0
  236. package/dist/collection/components/cpsl-row/test/cpsl-row.e2e.js +29 -0
  237. package/dist/collection/components/cpsl-row/test/cpsl-row.e2e.js.map +1 -0
  238. package/dist/collection/components/cpsl-row/test/cpsl-row.spec.js +37 -0
  239. package/dist/collection/components/cpsl-row/test/cpsl-row.spec.js.map +1 -0
  240. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.css +175 -0
  241. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +252 -0
  242. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js.map +1 -0
  243. package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.e2e.js +29 -0
  244. package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.e2e.js.map +1 -0
  245. package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.spec.js +37 -0
  246. package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.spec.js.map +1 -0
  247. package/dist/collection/components/cpsl-spinner/cpsl-spinner.css +68 -0
  248. package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +69 -0
  249. package/dist/collection/components/cpsl-spinner/cpsl-spinner.js.map +1 -0
  250. package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.e2e.js +29 -0
  251. package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.e2e.js.map +1 -0
  252. package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.spec.js +37 -0
  253. package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.spec.js.map +1 -0
  254. package/dist/collection/components/cpsl-tab/cpsl-tab.css +23 -0
  255. package/dist/collection/components/cpsl-tab/cpsl-tab.js +121 -0
  256. package/dist/collection/components/cpsl-tab/cpsl-tab.js.map +1 -0
  257. package/dist/collection/components/cpsl-tab/tab-interface.js +2 -0
  258. package/dist/collection/components/cpsl-tab/tab-interface.js.map +1 -0
  259. package/dist/collection/components/cpsl-tab/test/cpsl-tab.e2e.js +29 -0
  260. package/dist/collection/components/cpsl-tab/test/cpsl-tab.e2e.js.map +1 -0
  261. package/dist/collection/components/cpsl-tab/test/cpsl-tab.spec.js +37 -0
  262. package/dist/collection/components/cpsl-tab/test/cpsl-tab.spec.js.map +1 -0
  263. package/dist/collection/components/cpsl-tabs/cpsl-tabs.css +111 -0
  264. package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +170 -0
  265. package/dist/collection/components/cpsl-tabs/cpsl-tabs.js.map +1 -0
  266. package/dist/collection/components/cpsl-tabs/tabs-interface.js +2 -0
  267. package/dist/collection/components/cpsl-tabs/tabs-interface.js.map +1 -0
  268. package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.e2e.js +29 -0
  269. package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.e2e.js.map +1 -0
  270. package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.spec.js +37 -0
  271. package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.spec.js.map +1 -0
  272. package/dist/collection/components/cpsl-text/cpsl-text.css +59 -0
  273. package/dist/collection/components/cpsl-text/cpsl-text.js +19 -0
  274. package/dist/collection/components/cpsl-text/cpsl-text.js.map +1 -0
  275. package/dist/collection/components/cpsl-text/test/cpsl-text.e2e.js +29 -0
  276. package/dist/collection/components/cpsl-text/test/cpsl-text.e2e.js.map +1 -0
  277. package/dist/collection/components/cpsl-text/test/cpsl-text.spec.js +37 -0
  278. package/dist/collection/components/cpsl-text/test/cpsl-text.spec.js.map +1 -0
  279. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.css +97 -0
  280. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +67 -0
  281. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js.map +1 -0
  282. package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.e2e.js +29 -0
  283. package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.e2e.js.map +1 -0
  284. package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.spec.js +37 -0
  285. package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.spec.js.map +1 -0
  286. package/dist/collection/constants.js +6 -0
  287. package/dist/collection/constants.js.map +1 -0
  288. package/dist/collection/index.js +3 -0
  289. package/dist/collection/index.js.map +1 -0
  290. package/dist/collection/interface.js +2 -0
  291. package/dist/collection/interface.js.map +1 -0
  292. package/dist/collection/utils/media.js +18 -0
  293. package/dist/collection/utils/media.js.map +1 -0
  294. package/dist/collection/utils/theme/generateBorderRadii.js +56 -0
  295. package/dist/collection/utils/theme/generateBorderRadii.js.map +1 -0
  296. package/dist/collection/utils/theme/generateFont.js +7 -0
  297. package/dist/collection/utils/theme/generateFont.js.map +1 -0
  298. package/dist/collection/utils/theme/generatePalette.js +46 -0
  299. package/dist/collection/utils/theme/generatePalette.js.map +1 -0
  300. package/dist/collection/utils/theme/generateTheme.js +12 -0
  301. package/dist/collection/utils/theme/generateTheme.js.map +1 -0
  302. package/dist/collection/utils/theme/utils.js +21 -0
  303. package/dist/collection/utils/theme/utils.js.map +1 -0
  304. package/dist/esm/_commonjsHelpers-1789f0cf.js +9 -0
  305. package/dist/esm/_commonjsHelpers-1789f0cf.js.map +1 -0
  306. package/dist/esm/capsule.js +22 -0
  307. package/dist/esm/capsule.js.map +1 -0
  308. package/dist/esm/cpsl-alert_17.entry.js +10690 -0
  309. package/dist/esm/cpsl-alert_17.entry.js.map +1 -0
  310. package/dist/{capsule → esm}/cpsl-animation.entry.js +20 -114
  311. package/dist/esm/cpsl-animation.entry.js.map +1 -0
  312. package/dist/{capsule → esm}/cpsl-col.entry.js +4 -3
  313. package/dist/esm/cpsl-col.entry.js.map +1 -0
  314. package/dist/{capsule → esm}/cpsl-grid.entry.js +5 -4
  315. package/dist/esm/cpsl-grid.entry.js.map +1 -0
  316. package/dist/{capsule → esm}/cpsl-info-box.entry.js +4 -3
  317. package/dist/esm/cpsl-info-box.entry.js.map +1 -0
  318. package/dist/esm/cpsl-row.entry.js +18 -0
  319. package/dist/esm/cpsl-row.entry.js.map +1 -0
  320. package/dist/esm/index-f00e090c.js +1982 -0
  321. package/dist/esm/index-f00e090c.js.map +1 -0
  322. package/dist/esm/index.js +338 -0
  323. package/dist/esm/index.js.map +1 -0
  324. package/dist/esm/loader.js +13 -0
  325. package/dist/esm/loader.js.map +1 -0
  326. package/dist/esm/polyfills/core-js.js +11 -0
  327. package/dist/esm/polyfills/dom.js +79 -0
  328. package/dist/esm/polyfills/es5-html-element.js +1 -0
  329. package/dist/esm/polyfills/index.js +34 -0
  330. package/dist/esm/polyfills/system.js +6 -0
  331. package/dist/index.cjs.js +1 -0
  332. package/dist/index.js +1 -0
  333. package/dist/loader/cdn.js +3 -0
  334. package/dist/loader/index.cjs.js +3 -0
  335. package/dist/loader/index.d.ts +21 -0
  336. package/dist/loader/index.es2017.js +3 -0
  337. package/dist/loader/index.js +4 -0
  338. package/dist/loader/package.json +11 -0
  339. package/dist/scripts/buildIconLibrary.js +33 -0
  340. package/dist/scripts/buildIconLibrary.js.map +1 -0
  341. package/dist/types/components/cpsl-text/cpsl-text.d.ts +0 -4
  342. package/dist/types/index.d.ts +1 -1
  343. package/dist/types/interface.d.ts +0 -15
  344. package/dist/types/utils/theme/generateFont.d.ts +1 -1
  345. package/dist/types/utils/theme/generateTheme.d.ts +2 -1
  346. package/package.json +2 -2
  347. package/dist/capsule/_commonjsHelpers-bc8ff177.js +0 -36
  348. package/dist/capsule/_commonjsHelpers-bc8ff177.js.map +0 -1
  349. package/dist/capsule/cpsl-alert.entry.js +0 -31
  350. package/dist/capsule/cpsl-alert.entry.js.map +0 -1
  351. package/dist/capsule/cpsl-animation.entry.js.map +0 -1
  352. package/dist/capsule/cpsl-button.entry.js +0 -24
  353. package/dist/capsule/cpsl-button.entry.js.map +0 -1
  354. package/dist/capsule/cpsl-code-input.entry.js +0 -106
  355. package/dist/capsule/cpsl-code-input.entry.js.map +0 -1
  356. package/dist/capsule/cpsl-col.entry.js.map +0 -1
  357. package/dist/capsule/cpsl-divider.entry.js +0 -17
  358. package/dist/capsule/cpsl-divider.entry.js.map +0 -1
  359. package/dist/capsule/cpsl-grid.entry.js.map +0 -1
  360. package/dist/capsule/cpsl-icon.entry.js +0 -20
  361. package/dist/capsule/cpsl-icon.entry.js.map +0 -1
  362. package/dist/capsule/cpsl-info-box.entry.js.map +0 -1
  363. package/dist/capsule/cpsl-input.entry.js +0 -124
  364. package/dist/capsule/cpsl-input.entry.js.map +0 -1
  365. package/dist/capsule/cpsl-modal.entry.js +0 -3338
  366. package/dist/capsule/cpsl-modal.entry.js.map +0 -1
  367. package/dist/capsule/cpsl-overlay.entry.js +0 -44
  368. package/dist/capsule/cpsl-overlay.entry.js.map +0 -1
  369. package/dist/capsule/cpsl-pill.entry.js +0 -18
  370. package/dist/capsule/cpsl-pill.entry.js.map +0 -1
  371. package/dist/capsule/cpsl-progress-indicator.entry.js +0 -29
  372. package/dist/capsule/cpsl-progress-indicator.entry.js.map +0 -1
  373. package/dist/capsule/cpsl-qr-code.entry.js +0 -56
  374. package/dist/capsule/cpsl-qr-code.entry.js.map +0 -1
  375. package/dist/capsule/cpsl-row.entry.js +0 -17
  376. package/dist/capsule/cpsl-row.entry.js.map +0 -1
  377. package/dist/capsule/cpsl-slide-button.entry.js +0 -130
  378. package/dist/capsule/cpsl-slide-button.entry.js.map +0 -1
  379. package/dist/capsule/cpsl-spinner.entry.js +0 -25
  380. package/dist/capsule/cpsl-spinner.entry.js.map +0 -1
  381. package/dist/capsule/cpsl-tab.entry.js +0 -37
  382. package/dist/capsule/cpsl-tab.entry.js.map +0 -1
  383. package/dist/capsule/cpsl-tabs.entry.js +0 -71
  384. package/dist/capsule/cpsl-tabs.entry.js.map +0 -1
  385. package/dist/capsule/cpsl-text.entry.js +0 -66
  386. package/dist/capsule/cpsl-text.entry.js.map +0 -1
  387. package/dist/capsule/cpsl-tile-button.entry.js +0 -19
  388. package/dist/capsule/cpsl-tile-button.entry.js.map +0 -1
  389. package/dist/capsule/index-3ac1b9e9.js +0 -617
  390. package/dist/capsule/index-3ac1b9e9.js.map +0 -1
  391. package/dist/capsule/index-3ad00c7e.js +0 -6064
  392. package/dist/capsule/index-3ad00c7e.js.map +0 -1
  393. package/dist/capsule/index-f19e63df.js +0 -4148
  394. package/dist/capsule/index-f19e63df.js.map +0 -1
  395. package/dist/capsule/shadow-css-bc9e2af8.js +0 -478
  396. package/dist/capsule/shadow-css-bc9e2af8.js.map +0 -1
  397. /package/dist/{capsule → esm}/app-globals-0f993ce5.js +0 -0
  398. /package/dist/{capsule → esm}/app-globals-0f993ce5.js.map +0 -0
  399. /package/dist/{capsule → esm}/constants-7b49abd5.js +0 -0
  400. /package/dist/{capsule → esm}/constants-7b49abd5.js.map +0 -0
@@ -0,0 +1,708 @@
1
+ import { Host, h } from "@stencil/core";
2
+ export class CpslInput {
3
+ constructor() {
4
+ this.inputId = `cpsl-input-${inputIds++}`;
5
+ this.onInput = (ev) => {
6
+ const input = ev.target;
7
+ if (Boolean(input)) {
8
+ this.value = input.value || '';
9
+ input.value === '' ? this.disableSlots() : this.enableSlots();
10
+ }
11
+ this.emitInputChange(ev);
12
+ };
13
+ this.onChange = (ev) => {
14
+ this.emitValueChange(ev);
15
+ };
16
+ this.onBlur = (ev) => {
17
+ this.hasFocus = false;
18
+ if (this.focusedValue !== this.value) {
19
+ this.emitValueChange(ev);
20
+ }
21
+ this.cpslBlur.emit(ev);
22
+ };
23
+ this.onFocus = (ev) => {
24
+ this.hasFocus = true;
25
+ this.focusedValue = this.value;
26
+ this.cpslFocus.emit(ev);
27
+ };
28
+ this.focusInput = () => {
29
+ this.nativeInput.focus();
30
+ };
31
+ this.hasFocus = false;
32
+ this.autocapitalize = 'off';
33
+ this.autocomplete = 'off';
34
+ this.autocorrect = 'off';
35
+ this.noAutoDisable = undefined;
36
+ this.autofocus = false;
37
+ this.disabled = false;
38
+ this.enterkeyhint = undefined;
39
+ this.errorText = undefined;
40
+ this.helperText = undefined;
41
+ this.inputmode = undefined;
42
+ this.label = undefined;
43
+ this.max = undefined;
44
+ this.maxlength = undefined;
45
+ this.min = undefined;
46
+ this.minlength = undefined;
47
+ this.multiple = undefined;
48
+ this.name = this.inputId;
49
+ this.pattern = undefined;
50
+ this.placeholder = undefined;
51
+ this.readonly = false;
52
+ this.required = false;
53
+ this.spellcheck = false;
54
+ this.startIconSrc = undefined;
55
+ this.startIcon = undefined;
56
+ this.step = undefined;
57
+ this.type = 'text';
58
+ this.value = undefined;
59
+ }
60
+ handleDisable() {
61
+ if (this.disabled) {
62
+ this.disableSlots();
63
+ }
64
+ else {
65
+ this.enableSlots();
66
+ }
67
+ }
68
+ componentDidLoad() {
69
+ if (Boolean(this.value)) {
70
+ this.enableSlots();
71
+ }
72
+ else {
73
+ this.disableSlots();
74
+ }
75
+ }
76
+ disableSlots() {
77
+ var _a, _b;
78
+ if (!this.noAutoDisable) {
79
+ (_a = this.el.querySelector('[slot="end"]')) === null || _a === void 0 ? void 0 : _a.setAttribute('disabled', 'true');
80
+ (_b = this.el.querySelector('[slot="start"]')) === null || _b === void 0 ? void 0 : _b.setAttribute('disabled', 'true');
81
+ }
82
+ }
83
+ enableSlots() {
84
+ var _a, _b;
85
+ (_a = this.el.querySelector('[slot="end"]')) === null || _a === void 0 ? void 0 : _a.setAttribute('disabled', 'false');
86
+ (_b = this.el.querySelector('[slot="start"]')) === null || _b === void 0 ? void 0 : _b.setAttribute('disabled', 'false');
87
+ }
88
+ emitInputChange(event) {
89
+ const { value } = this;
90
+ const newValue = value == null ? value : value.toString();
91
+ this.cpslInput.emit({ value: newValue, event });
92
+ }
93
+ emitValueChange(event) {
94
+ const { value } = this;
95
+ const newValue = value == null ? value : value.toString();
96
+ this.focusedValue = newValue;
97
+ this.cpslChange.emit({ value: newValue, event });
98
+ }
99
+ get nativeInput() {
100
+ return this.el.shadowRoot.getElementById(this.inputId);
101
+ }
102
+ render() {
103
+ var _a;
104
+ return (h(Host, { key: '8c48ad9321e4ceed1855d6b9850598359845ee33', class: { 'disabled': this.disabled, 'focused': this.hasFocus, 'has-value': Boolean(this.focusedValue) || Boolean(this.value) } }, this.label && (h("label", { class: "label", htmlFor: this.inputId }, this.label)), h("div", { key: 'dabef328fd031b799790d6c3009ef1989d79e018', onClick: this.focusInput, class: { 'input-container': true, 'error-container': Boolean(this.errorText) } }, h("slot", { key: '073431d3070382067bf105eb33732894751b6f35', name: "start" }), h("input", { key: '877c48d4668358e5b46055464652b5c42028773c', class: "native-input", id: this.inputId, disabled: this.disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, type: this.type, value: this.value, onInput: this.onInput, onChange: this.onChange, onFocus: this.onFocus, onBlur: this.onBlur }), h("slot", { key: '7209afd4ee22c085e884c2156321cf40f3f34631', name: "end" })), (this.errorText || this.helperText) && (h("div", { class: { 'helper-text-container': true, 'error-text': Boolean(this.errorText) } }, h("cpsl-icon", { icon: Boolean(this.errorText) ? 'alertCircle' : 'infoCircle' }), h("span", null, (_a = this.errorText) !== null && _a !== void 0 ? _a : this.helperText)))));
105
+ }
106
+ static get is() { return "cpsl-input"; }
107
+ static get encapsulation() { return "shadow"; }
108
+ static get originalStyleUrls() {
109
+ return {
110
+ "$": ["cpsl-input.scss"]
111
+ };
112
+ }
113
+ static get styleUrls() {
114
+ return {
115
+ "$": ["cpsl-input.css"]
116
+ };
117
+ }
118
+ static get properties() {
119
+ return {
120
+ "autocapitalize": {
121
+ "type": "string",
122
+ "mutable": false,
123
+ "complexType": {
124
+ "original": "string",
125
+ "resolved": "string",
126
+ "references": {}
127
+ },
128
+ "required": false,
129
+ "optional": false,
130
+ "docs": {
131
+ "tags": [],
132
+ "text": "Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.\nAvailable options: `\"off\"`, `\"none\"`, `\"on\"`, `\"sentences\"`, `\"words\"`, `\"characters\"`."
133
+ },
134
+ "attribute": "autocapitalize",
135
+ "reflect": false,
136
+ "defaultValue": "'off'"
137
+ },
138
+ "autocomplete": {
139
+ "type": "string",
140
+ "mutable": false,
141
+ "complexType": {
142
+ "original": "AutocompleteTypes",
143
+ "resolved": "\"on\" | \"off\" | \"name\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"email\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level4\" | \"address-level3\" | \"address-level2\" | \"address-level1\" | \"country\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"url\" | \"photo\"",
144
+ "references": {
145
+ "AutocompleteTypes": {
146
+ "location": "import",
147
+ "path": "../../interface",
148
+ "id": "src/interface.ts::AutocompleteTypes"
149
+ }
150
+ }
151
+ },
152
+ "required": false,
153
+ "optional": false,
154
+ "docs": {
155
+ "tags": [],
156
+ "text": "Indicates whether the value of the control can be automatically completed by the browser."
157
+ },
158
+ "attribute": "autocomplete",
159
+ "reflect": false,
160
+ "defaultValue": "'off'"
161
+ },
162
+ "autocorrect": {
163
+ "type": "string",
164
+ "mutable": false,
165
+ "complexType": {
166
+ "original": "'on' | 'off'",
167
+ "resolved": "\"off\" | \"on\"",
168
+ "references": {}
169
+ },
170
+ "required": false,
171
+ "optional": false,
172
+ "docs": {
173
+ "tags": [],
174
+ "text": "Whether auto correction should be enabled when the user is entering/editing the text value."
175
+ },
176
+ "attribute": "autocorrect",
177
+ "reflect": false,
178
+ "defaultValue": "'off'"
179
+ },
180
+ "noAutoDisable": {
181
+ "type": "boolean",
182
+ "mutable": false,
183
+ "complexType": {
184
+ "original": "boolean",
185
+ "resolved": "boolean",
186
+ "references": {}
187
+ },
188
+ "required": false,
189
+ "optional": false,
190
+ "docs": {
191
+ "tags": [],
192
+ "text": "Whether to disable auto disabling of the slotted components."
193
+ },
194
+ "attribute": "no-auto-disable",
195
+ "reflect": false
196
+ },
197
+ "autofocus": {
198
+ "type": "boolean",
199
+ "mutable": false,
200
+ "complexType": {
201
+ "original": "boolean",
202
+ "resolved": "boolean",
203
+ "references": {}
204
+ },
205
+ "required": false,
206
+ "optional": false,
207
+ "docs": {
208
+ "tags": [],
209
+ "text": "Sets the [`autofocus` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus) on the native input element.\n\nThis may not be sufficient for the element to be focused on page load."
210
+ },
211
+ "attribute": "autofocus",
212
+ "reflect": false,
213
+ "defaultValue": "false"
214
+ },
215
+ "disabled": {
216
+ "type": "boolean",
217
+ "mutable": false,
218
+ "complexType": {
219
+ "original": "boolean",
220
+ "resolved": "boolean",
221
+ "references": {}
222
+ },
223
+ "required": false,
224
+ "optional": false,
225
+ "docs": {
226
+ "tags": [],
227
+ "text": "If `true`, the user cannot interact with the input."
228
+ },
229
+ "attribute": "disabled",
230
+ "reflect": false,
231
+ "defaultValue": "false"
232
+ },
233
+ "enterkeyhint": {
234
+ "type": "string",
235
+ "mutable": false,
236
+ "complexType": {
237
+ "original": "'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'",
238
+ "resolved": "\"done\" | \"enter\" | \"go\" | \"next\" | \"previous\" | \"search\" | \"send\"",
239
+ "references": {}
240
+ },
241
+ "required": false,
242
+ "optional": true,
243
+ "docs": {
244
+ "tags": [],
245
+ "text": "A hint to the browser for which enter key to display.\nPossible values: `\"enter\"`, `\"done\"`, `\"go\"`, `\"next\"`,\n`\"previous\"`, `\"search\"`, and `\"send\"`."
246
+ },
247
+ "attribute": "enterkeyhint",
248
+ "reflect": false
249
+ },
250
+ "errorText": {
251
+ "type": "string",
252
+ "mutable": false,
253
+ "complexType": {
254
+ "original": "string",
255
+ "resolved": "string",
256
+ "references": {}
257
+ },
258
+ "required": false,
259
+ "optional": true,
260
+ "docs": {
261
+ "tags": [],
262
+ "text": "Error text to show below the input. If this is provided the input will enter an error state."
263
+ },
264
+ "attribute": "error-text",
265
+ "reflect": false
266
+ },
267
+ "helperText": {
268
+ "type": "string",
269
+ "mutable": false,
270
+ "complexType": {
271
+ "original": "string",
272
+ "resolved": "string",
273
+ "references": {}
274
+ },
275
+ "required": false,
276
+ "optional": true,
277
+ "docs": {
278
+ "tags": [],
279
+ "text": "Helper text to show below the input. If `\"errorText\"` is provided that will take precedence."
280
+ },
281
+ "attribute": "helper-text",
282
+ "reflect": false
283
+ },
284
+ "inputmode": {
285
+ "type": "string",
286
+ "mutable": false,
287
+ "complexType": {
288
+ "original": "'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search'",
289
+ "resolved": "\"decimal\" | \"email\" | \"none\" | \"numeric\" | \"search\" | \"tel\" | \"text\" | \"url\"",
290
+ "references": {}
291
+ },
292
+ "required": false,
293
+ "optional": true,
294
+ "docs": {
295
+ "tags": [],
296
+ "text": "A hint to the browser for which keyboard to display.\nPossible values: `\"none\"`, `\"text\"`, `\"tel\"`, `\"url\"`,\n`\"email\"`, `\"numeric\"`, `\"decimal\"`, and `\"search\"`."
297
+ },
298
+ "attribute": "inputmode",
299
+ "reflect": false
300
+ },
301
+ "label": {
302
+ "type": "string",
303
+ "mutable": false,
304
+ "complexType": {
305
+ "original": "string",
306
+ "resolved": "string",
307
+ "references": {}
308
+ },
309
+ "required": false,
310
+ "optional": true,
311
+ "docs": {
312
+ "tags": [],
313
+ "text": "The label for the input."
314
+ },
315
+ "attribute": "label",
316
+ "reflect": false
317
+ },
318
+ "max": {
319
+ "type": "any",
320
+ "mutable": false,
321
+ "complexType": {
322
+ "original": "string | number",
323
+ "resolved": "number | string",
324
+ "references": {}
325
+ },
326
+ "required": false,
327
+ "optional": true,
328
+ "docs": {
329
+ "tags": [],
330
+ "text": "The maximum value, which must not be less than its minimum (min attribute) value."
331
+ },
332
+ "attribute": "max",
333
+ "reflect": false
334
+ },
335
+ "maxlength": {
336
+ "type": "number",
337
+ "mutable": false,
338
+ "complexType": {
339
+ "original": "number",
340
+ "resolved": "number",
341
+ "references": {}
342
+ },
343
+ "required": false,
344
+ "optional": true,
345
+ "docs": {
346
+ "tags": [],
347
+ "text": "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."
348
+ },
349
+ "attribute": "maxlength",
350
+ "reflect": false
351
+ },
352
+ "min": {
353
+ "type": "any",
354
+ "mutable": false,
355
+ "complexType": {
356
+ "original": "string | number",
357
+ "resolved": "number | string",
358
+ "references": {}
359
+ },
360
+ "required": false,
361
+ "optional": true,
362
+ "docs": {
363
+ "tags": [],
364
+ "text": "The minimum value, which must not be greater than its maximum (max attribute) value."
365
+ },
366
+ "attribute": "min",
367
+ "reflect": false
368
+ },
369
+ "minlength": {
370
+ "type": "number",
371
+ "mutable": false,
372
+ "complexType": {
373
+ "original": "number",
374
+ "resolved": "number",
375
+ "references": {}
376
+ },
377
+ "required": false,
378
+ "optional": true,
379
+ "docs": {
380
+ "tags": [],
381
+ "text": "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."
382
+ },
383
+ "attribute": "minlength",
384
+ "reflect": false
385
+ },
386
+ "multiple": {
387
+ "type": "boolean",
388
+ "mutable": false,
389
+ "complexType": {
390
+ "original": "boolean",
391
+ "resolved": "boolean",
392
+ "references": {}
393
+ },
394
+ "required": false,
395
+ "optional": true,
396
+ "docs": {
397
+ "tags": [],
398
+ "text": "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."
399
+ },
400
+ "attribute": "multiple",
401
+ "reflect": false
402
+ },
403
+ "name": {
404
+ "type": "string",
405
+ "mutable": false,
406
+ "complexType": {
407
+ "original": "string",
408
+ "resolved": "string",
409
+ "references": {}
410
+ },
411
+ "required": false,
412
+ "optional": false,
413
+ "docs": {
414
+ "tags": [],
415
+ "text": "The name of the control, which is submitted with the form data."
416
+ },
417
+ "attribute": "name",
418
+ "reflect": false,
419
+ "defaultValue": "this.inputId"
420
+ },
421
+ "pattern": {
422
+ "type": "string",
423
+ "mutable": false,
424
+ "complexType": {
425
+ "original": "string",
426
+ "resolved": "string",
427
+ "references": {}
428
+ },
429
+ "required": false,
430
+ "optional": true,
431
+ "docs": {
432
+ "tags": [],
433
+ "text": "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."
434
+ },
435
+ "attribute": "pattern",
436
+ "reflect": false
437
+ },
438
+ "placeholder": {
439
+ "type": "string",
440
+ "mutable": false,
441
+ "complexType": {
442
+ "original": "string",
443
+ "resolved": "string",
444
+ "references": {}
445
+ },
446
+ "required": false,
447
+ "optional": true,
448
+ "docs": {
449
+ "tags": [],
450
+ "text": "Instructional text that shows before the input has a value.\nThis property applies only when the `type` property is set to `\"email\"`,\n`\"number\"`, `\"password\"`, `\"search\"`, `\"tel\"`, `\"text\"`, or `\"url\"`, otherwise it is ignored."
451
+ },
452
+ "attribute": "placeholder",
453
+ "reflect": false
454
+ },
455
+ "readonly": {
456
+ "type": "boolean",
457
+ "mutable": false,
458
+ "complexType": {
459
+ "original": "boolean",
460
+ "resolved": "boolean",
461
+ "references": {}
462
+ },
463
+ "required": false,
464
+ "optional": false,
465
+ "docs": {
466
+ "tags": [],
467
+ "text": "If `true`, the user cannot modify the value."
468
+ },
469
+ "attribute": "readonly",
470
+ "reflect": false,
471
+ "defaultValue": "false"
472
+ },
473
+ "required": {
474
+ "type": "boolean",
475
+ "mutable": false,
476
+ "complexType": {
477
+ "original": "boolean",
478
+ "resolved": "boolean",
479
+ "references": {}
480
+ },
481
+ "required": false,
482
+ "optional": false,
483
+ "docs": {
484
+ "tags": [],
485
+ "text": "If `true`, the user must fill in a value before submitting a form."
486
+ },
487
+ "attribute": "required",
488
+ "reflect": false,
489
+ "defaultValue": "false"
490
+ },
491
+ "spellcheck": {
492
+ "type": "boolean",
493
+ "mutable": false,
494
+ "complexType": {
495
+ "original": "boolean",
496
+ "resolved": "boolean",
497
+ "references": {}
498
+ },
499
+ "required": false,
500
+ "optional": false,
501
+ "docs": {
502
+ "tags": [],
503
+ "text": "If `true`, the element will have its spelling and grammar checked."
504
+ },
505
+ "attribute": "spellcheck",
506
+ "reflect": false,
507
+ "defaultValue": "false"
508
+ },
509
+ "startIconSrc": {
510
+ "type": "string",
511
+ "mutable": false,
512
+ "complexType": {
513
+ "original": "string",
514
+ "resolved": "string",
515
+ "references": {}
516
+ },
517
+ "required": false,
518
+ "optional": true,
519
+ "docs": {
520
+ "tags": [],
521
+ "text": "The external source of the icon at the start of the input. If both `startIcon` and `startIconSrc` are provided, `startIcon` will be used."
522
+ },
523
+ "attribute": "start-icon-src",
524
+ "reflect": false
525
+ },
526
+ "startIcon": {
527
+ "type": "string",
528
+ "mutable": false,
529
+ "complexType": {
530
+ "original": "IconType",
531
+ "resolved": "\"alertCircle\" | \"angelListBrand\" | \"angelList\" | \"appleBrand\" | \"apple\" | \"arrowNarrow\" | \"arrow\" | \"backupKit\" | \"capsuleLogo\" | \"capsuleRingsDark\" | \"capsuleRings\" | \"capsule\" | \"check\" | \"clock\" | \"close\" | \"clubhouseBrand\" | \"clubhouse\" | \"copy\" | \"discordBrand\" | \"discord\" | \"downloadCloud\" | \"dribbbleBrand\" | \"dribbble\" | \"eyeOff\" | \"eye\" | \"facebookBrand\" | \"facebook\" | \"figmaBrand\" | \"figma\" | \"githubBrand\" | \"github\" | \"googleBrand\" | \"google\" | \"helpCircle\" | \"heroEmail\" | \"heroLock\" | \"heroPasskey\" | \"heroPhone\" | \"heroWallet\" | \"infoCircle\" | \"instagramBrand\" | \"instagram\" | \"key\" | \"linkedinBrand\" | \"linkedin\" | \"mail\" | \"moreLoginOptions\" | \"phone\" | \"pintrestBrand\" | \"pintrest\" | \"plusCircle\" | \"redditBrand\" | \"reddit\" | \"signalBrand\" | \"signal\" | \"snapchatBrand\" | \"snapchat\" | \"telegramBrand\" | \"telegram\" | \"tikTokBrand\" | \"tikTok\" | \"tumblrBrand\" | \"tumblr\" | \"twitterBrand\" | \"twitter\" | \"wallet\" | \"youtubeBrand\" | \"youtube\"",
532
+ "references": {
533
+ "IconType": {
534
+ "location": "import",
535
+ "path": "../../interface",
536
+ "id": "src/interface.ts::IconType"
537
+ }
538
+ }
539
+ },
540
+ "required": false,
541
+ "optional": true,
542
+ "docs": {
543
+ "tags": [],
544
+ "text": "The name of the icon at the start of the input. If both `startIcon` and `startIconSrc` are provided, `startIcon` will be used."
545
+ },
546
+ "attribute": "start-icon",
547
+ "reflect": false
548
+ },
549
+ "step": {
550
+ "type": "string",
551
+ "mutable": false,
552
+ "complexType": {
553
+ "original": "string",
554
+ "resolved": "string",
555
+ "references": {}
556
+ },
557
+ "required": false,
558
+ "optional": true,
559
+ "docs": {
560
+ "tags": [],
561
+ "text": "Works with the min and max attributes to limit the increments at which a value can be set.\nPossible values are: `\"any\"` or a positive floating point number."
562
+ },
563
+ "attribute": "step",
564
+ "reflect": false
565
+ },
566
+ "type": {
567
+ "type": "string",
568
+ "mutable": false,
569
+ "complexType": {
570
+ "original": "TextFieldTypes",
571
+ "resolved": "\"date\" | \"datetime-local\" | \"email\" | \"month\" | \"number\" | \"password\" | \"search\" | \"tel\" | \"text\" | \"time\" | \"url\" | \"week\"",
572
+ "references": {
573
+ "TextFieldTypes": {
574
+ "location": "import",
575
+ "path": "../../interface",
576
+ "id": "src/interface.ts::TextFieldTypes"
577
+ }
578
+ }
579
+ },
580
+ "required": false,
581
+ "optional": false,
582
+ "docs": {
583
+ "tags": [],
584
+ "text": "The type of control to display. The default type is `text`."
585
+ },
586
+ "attribute": "type",
587
+ "reflect": false,
588
+ "defaultValue": "'text'"
589
+ },
590
+ "value": {
591
+ "type": "string",
592
+ "mutable": true,
593
+ "complexType": {
594
+ "original": "string",
595
+ "resolved": "string",
596
+ "references": {}
597
+ },
598
+ "required": false,
599
+ "optional": true,
600
+ "docs": {
601
+ "tags": [],
602
+ "text": "The value of the controlled input."
603
+ },
604
+ "attribute": "value",
605
+ "reflect": false
606
+ }
607
+ };
608
+ }
609
+ static get states() {
610
+ return {
611
+ "hasFocus": {}
612
+ };
613
+ }
614
+ static get events() {
615
+ return [{
616
+ "method": "cpslInput",
617
+ "name": "cpslInput",
618
+ "bubbles": true,
619
+ "cancelable": true,
620
+ "composed": true,
621
+ "docs": {
622
+ "tags": [],
623
+ "text": "The `cpslInput` event is fired each time the user modifies the input's value.\nUnlike the `cpslChange` event, the `cpslInput` event is fired for each alteration\nto the input's value. This typically happens for each keystroke as the user types.\n\nFor elements that accept text input (`type=text`, `type=tel`, etc.), the interface\nis [`InputEvent`](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent); for others,\nthe interface is [`Event`](https://developer.mozilla.org/en-US/docs/Web/API/Event). If\nthe input is cleared on edit, the type is `null`."
624
+ },
625
+ "complexType": {
626
+ "original": "InputInputEventDetail",
627
+ "resolved": "InputInputEventDetail",
628
+ "references": {
629
+ "InputInputEventDetail": {
630
+ "location": "import",
631
+ "path": "./input-interface",
632
+ "id": "src/components/cpsl-input/input-interface.ts::InputInputEventDetail"
633
+ }
634
+ }
635
+ }
636
+ }, {
637
+ "method": "cpslChange",
638
+ "name": "cpslChange",
639
+ "bubbles": true,
640
+ "cancelable": true,
641
+ "composed": true,
642
+ "docs": {
643
+ "tags": [],
644
+ "text": "The `cpslChange` event is fired when the user modifies the input's value.\nUnlike the `cpslInput` event, the `cpslChange` event is only fired when changes\nare committed, not as the user types.\n\nDepending on the way the users interacts with the element, the `cpslChange`\nevent fires at a different moment:\n- When the element loses focus after its value has changed: for elements\nwhere the user's interaction is typing."
645
+ },
646
+ "complexType": {
647
+ "original": "InputChangeEventDetail",
648
+ "resolved": "InputChangeEventDetail",
649
+ "references": {
650
+ "InputChangeEventDetail": {
651
+ "location": "import",
652
+ "path": "./input-interface",
653
+ "id": "src/components/cpsl-input/input-interface.ts::InputChangeEventDetail"
654
+ }
655
+ }
656
+ }
657
+ }, {
658
+ "method": "cpslBlur",
659
+ "name": "cpslBlur",
660
+ "bubbles": true,
661
+ "cancelable": true,
662
+ "composed": true,
663
+ "docs": {
664
+ "tags": [],
665
+ "text": "Emitted when the input loses focus."
666
+ },
667
+ "complexType": {
668
+ "original": "FocusEvent",
669
+ "resolved": "FocusEvent",
670
+ "references": {
671
+ "FocusEvent": {
672
+ "location": "global",
673
+ "id": "global::FocusEvent"
674
+ }
675
+ }
676
+ }
677
+ }, {
678
+ "method": "cpslFocus",
679
+ "name": "cpslFocus",
680
+ "bubbles": true,
681
+ "cancelable": true,
682
+ "composed": true,
683
+ "docs": {
684
+ "tags": [],
685
+ "text": "Emitted when the input has focus."
686
+ },
687
+ "complexType": {
688
+ "original": "FocusEvent",
689
+ "resolved": "FocusEvent",
690
+ "references": {
691
+ "FocusEvent": {
692
+ "location": "global",
693
+ "id": "global::FocusEvent"
694
+ }
695
+ }
696
+ }
697
+ }];
698
+ }
699
+ static get elementRef() { return "el"; }
700
+ static get watchers() {
701
+ return [{
702
+ "propName": "disabled",
703
+ "methodName": "handleDisable"
704
+ }];
705
+ }
706
+ }
707
+ let inputIds = 0;
708
+ //# sourceMappingURL=cpsl-input.js.map