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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (361) hide show
  1. package/css/capsule-core.css +0 -26
  2. package/css/capsule-core.css.map +1 -1
  3. package/dist/capsule/capsule.esm.js +1 -1
  4. package/dist/capsule/capsule.esm.js.map +1 -1
  5. package/dist/capsule/{p-65c8f8cd.entry.js → p-1bb78dd3.entry.js} +2 -2
  6. package/dist/capsule/p-29340cea.entry.js +2 -0
  7. package/dist/capsule/p-29340cea.entry.js.map +1 -0
  8. package/dist/capsule/p-3fca138b.entry.js +2 -0
  9. package/dist/capsule/{p-62118adb.entry.js → p-6dcaee48.entry.js} +2 -2
  10. package/dist/capsule/{p-48bb5cfe.js → p-7dde3172.js} +1 -1
  11. package/dist/capsule/p-7dde3172.js.map +1 -0
  12. package/dist/capsule/{p-89a4e92e.entry.js → p-895001cf.entry.js} +2 -2
  13. package/dist/capsule/{p-edd0c1f9.entry.js → p-a6aaf3f4.entry.js} +2 -2
  14. package/dist/capsule/{p-b0a84b18.entry.js → p-b976b6f0.entry.js} +2 -2
  15. package/dist/capsule/p-c4220447.entry.js +29 -0
  16. package/dist/capsule/p-c4220447.entry.js.map +1 -0
  17. package/dist/cjs/capsule.cjs.js +3 -3
  18. package/dist/cjs/capsule.cjs.js.map +1 -1
  19. package/dist/cjs/{cpsl-alert_33.cjs.entry.js → cpsl-alert_34.cjs.entry.js} +2747 -2697
  20. package/dist/cjs/cpsl-alert_34.cjs.entry.js.map +1 -0
  21. package/dist/cjs/cpsl-animation.cjs.entry.js +1 -1
  22. package/dist/cjs/cpsl-col.cjs.entry.js +1 -1
  23. package/dist/cjs/cpsl-grid.cjs.entry.js +1 -1
  24. package/dist/cjs/cpsl-identicon.cjs.entry.js +62 -0
  25. package/dist/cjs/cpsl-identicon.cjs.entry.js.map +1 -0
  26. package/dist/cjs/cpsl-info-box.cjs.entry.js +2 -2
  27. package/dist/cjs/cpsl-modal-v2.cjs.entry.js +2 -2
  28. package/dist/cjs/cpsl-row.cjs.entry.js +2 -2
  29. package/dist/cjs/{index-15f80342.js → index-528f7428.js} +7 -3
  30. package/dist/cjs/index-528f7428.js.map +1 -0
  31. package/dist/cjs/loader.cjs.js +2 -2
  32. package/dist/collection/assets/icons/double-arc.svg +13 -0
  33. package/dist/collection/assets/icons/index.js +236 -234
  34. package/dist/collection/assets/icons/index.js.map +1 -1
  35. package/dist/collection/assets/icons/single-arc.svg +11 -0
  36. package/dist/collection/assets/images/index.js +2 -0
  37. package/dist/collection/assets/images/index.js.map +1 -0
  38. package/dist/collection/collection-manifest.json +4 -2
  39. package/dist/collection/components/cpsl-alert/cpsl-alert.js +1 -1
  40. package/dist/collection/components/cpsl-button/cpsl-button.stories.js +50 -0
  41. package/dist/collection/components/cpsl-button/cpsl-button.stories.js.map +1 -0
  42. package/dist/collection/components/cpsl-hero/cpsl-hero.css +245 -0
  43. package/dist/collection/components/cpsl-hero/cpsl-hero.js +52 -0
  44. package/dist/collection/components/cpsl-hero/cpsl-hero.js.map +1 -0
  45. package/dist/collection/components/cpsl-hero/cpsl-hero.stories.js +17 -0
  46. package/dist/collection/components/cpsl-hero/cpsl-hero.stories.js.map +1 -0
  47. package/dist/collection/components/cpsl-hero/test/cpsl-hero.e2e.js +29 -0
  48. package/dist/collection/components/cpsl-hero/test/cpsl-hero.e2e.js.map +1 -0
  49. package/dist/collection/components/cpsl-hero/test/cpsl-hero.spec.js +37 -0
  50. package/dist/collection/components/cpsl-hero/test/cpsl-hero.spec.js.map +1 -0
  51. package/dist/collection/components/cpsl-icon/cpsl-icon.js +2 -2
  52. package/dist/collection/components/cpsl-identicon/cpsl-identicon.css +69 -0
  53. package/dist/collection/components/cpsl-identicon/cpsl-identicon.js +100 -0
  54. package/dist/collection/components/cpsl-identicon/cpsl-identicon.js.map +1 -0
  55. package/dist/collection/components/cpsl-identicon/cpsl-identicon.stories.js +12 -0
  56. package/dist/collection/components/cpsl-identicon/cpsl-identicon.stories.js.map +1 -0
  57. package/dist/collection/components/cpsl-identicon/test/cpsl-identicon.e2e.js +29 -0
  58. package/dist/collection/components/cpsl-identicon/test/cpsl-identicon.e2e.js.map +1 -0
  59. package/dist/collection/components/cpsl-identicon/test/cpsl-identicon.spec.js +37 -0
  60. package/dist/collection/components/cpsl-identicon/test/cpsl-identicon.spec.js.map +1 -0
  61. package/dist/collection/components/cpsl-info-box/cpsl-info-box.js +1 -1
  62. package/dist/collection/components/cpsl-input/cpsl-input.js +5 -5
  63. package/dist/collection/components/cpsl-input/cpsl-input.js.map +1 -1
  64. package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js +1 -1
  65. package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js +1 -1
  66. package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +1 -1
  67. package/dist/collection/components/cpsl-pagination/cpsl-pagination.js +1 -1
  68. package/dist/collection/components/cpsl-pill/cpsl-pill.js +1 -1
  69. package/dist/collection/components/cpsl-popover/cpsl-popover.js +2 -2
  70. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +1 -1
  71. package/dist/collection/components/cpsl-radio/cpsl-radio.js +1 -1
  72. package/dist/collection/components/cpsl-row/cpsl-row.js +1 -1
  73. package/dist/collection/components/cpsl-select/cpsl-select.js +1 -1
  74. package/dist/collection/components/cpsl-select-item/cpsl-select-item.js +1 -1
  75. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +3 -3
  76. package/dist/collection/components/cpsl-spinner/cpsl-spinner.css +26 -0
  77. package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +2 -2
  78. package/dist/collection/components/cpsl-switch/cpsl-switch.js +1 -1
  79. package/dist/collection/components/cpsl-tab/cpsl-tab.js +1 -1
  80. package/dist/collection/components/cpsl-table/cpsl-table.js +1 -1
  81. package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +1 -1
  82. package/dist/collection/components/cpsl-text/cpsl-text.js +1 -1
  83. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +2 -2
  84. package/dist/collection/interface.js.map +1 -1
  85. package/dist/esm/capsule.js +4 -4
  86. package/dist/esm/capsule.js.map +1 -1
  87. package/dist/esm/{cpsl-alert_33.entry.js → cpsl-alert_34.entry.js} +2747 -2698
  88. package/dist/esm/cpsl-alert_34.entry.js.map +1 -0
  89. package/dist/esm/cpsl-animation.entry.js +1 -1
  90. package/dist/esm/cpsl-col.entry.js +1 -1
  91. package/dist/esm/cpsl-grid.entry.js +1 -1
  92. package/dist/esm/cpsl-identicon.entry.js +58 -0
  93. package/dist/esm/cpsl-identicon.entry.js.map +1 -0
  94. package/dist/esm/cpsl-info-box.entry.js +2 -2
  95. package/dist/esm/cpsl-modal-v2.entry.js +2 -2
  96. package/dist/esm/cpsl-row.entry.js +2 -2
  97. package/dist/esm/{index-2c447f86.js → index-b188f201.js} +7 -3
  98. package/dist/esm/index-b188f201.js.map +1 -0
  99. package/dist/esm/loader.js +3 -3
  100. package/dist/scripts/buildAssets.js +90 -0
  101. package/dist/scripts/buildAssets.js.map +1 -0
  102. package/dist/types/Users/{taylorbosch/Documents/GitHub/Capsule/component-library/core/.stencil/scripts/buildIconLibrary.d.ts → briancorbin/Documents/Programming/Capsule/component-library/core/.stencil/scripts/buildAssets.d.ts} +3 -0
  103. package/dist/types/assets/icons/index.d.ts +91 -89
  104. package/dist/types/assets/images/index.d.ts +5 -0
  105. package/dist/types/components/cpsl-button/cpsl-button.stories.d.ts +15 -0
  106. package/dist/types/components/cpsl-hero/cpsl-hero.d.ts +4 -0
  107. package/dist/types/components/cpsl-hero/cpsl-hero.stories.d.ts +13 -0
  108. package/dist/types/components/cpsl-identicon/cpsl-identicon.d.ts +5 -0
  109. package/dist/types/components/cpsl-identicon/cpsl-identicon.stories.d.ts +10 -0
  110. package/dist/types/components.d.ts +44 -0
  111. package/dist/types/interface.d.ts +2 -0
  112. package/package.json +20 -5
  113. package/dist/capsule/p-48bb5cfe.js.map +0 -1
  114. package/dist/capsule/p-8a920cb7.entry.js +0 -2
  115. package/dist/capsule/p-efd2de80.entry.js +0 -29
  116. package/dist/capsule/p-efd2de80.entry.js.map +0 -1
  117. package/dist/cjs/cpsl-alert_33.cjs.entry.js.map +0 -1
  118. package/dist/cjs/index-15f80342.js.map +0 -1
  119. package/dist/esm/cpsl-alert_33.entry.js.map +0 -1
  120. package/dist/esm/index-2c447f86.js.map +0 -1
  121. package/dist/scripts/buildIconLibrary.js +0 -33
  122. package/dist/scripts/buildIconLibrary.js.map +0 -1
  123. /package/dist/capsule/{p-65c8f8cd.entry.js.map → p-1bb78dd3.entry.js.map} +0 -0
  124. /package/dist/capsule/{p-8a920cb7.entry.js.map → p-3fca138b.entry.js.map} +0 -0
  125. /package/dist/capsule/{p-62118adb.entry.js.map → p-6dcaee48.entry.js.map} +0 -0
  126. /package/dist/capsule/{p-89a4e92e.entry.js.map → p-895001cf.entry.js.map} +0 -0
  127. /package/dist/capsule/{p-edd0c1f9.entry.js.map → p-a6aaf3f4.entry.js.map} +0 -0
  128. /package/dist/capsule/{p-b0a84b18.entry.js.map → p-b976b6f0.entry.js.map} +0 -0
  129. /package/dist/collection/assets/icons/{AD.svg → flags/AD.svg} +0 -0
  130. /package/dist/collection/assets/icons/{AE.svg → flags/AE.svg} +0 -0
  131. /package/dist/collection/assets/icons/{AF.svg → flags/AF.svg} +0 -0
  132. /package/dist/collection/assets/icons/{AG.svg → flags/AG.svg} +0 -0
  133. /package/dist/collection/assets/icons/{AI.svg → flags/AI.svg} +0 -0
  134. /package/dist/collection/assets/icons/{AL.svg → flags/AL.svg} +0 -0
  135. /package/dist/collection/assets/icons/{AM.svg → flags/AM.svg} +0 -0
  136. /package/dist/collection/assets/icons/{AO.svg → flags/AO.svg} +0 -0
  137. /package/dist/collection/assets/icons/{AR.svg → flags/AR.svg} +0 -0
  138. /package/dist/collection/assets/icons/{AS.svg → flags/AS.svg} +0 -0
  139. /package/dist/collection/assets/icons/{AT.svg → flags/AT.svg} +0 -0
  140. /package/dist/collection/assets/icons/{AU.svg → flags/AU.svg} +0 -0
  141. /package/dist/collection/assets/icons/{AW.svg → flags/AW.svg} +0 -0
  142. /package/dist/collection/assets/icons/{AX.svg → flags/AX.svg} +0 -0
  143. /package/dist/collection/assets/icons/{AZ.svg → flags/AZ.svg} +0 -0
  144. /package/dist/collection/assets/icons/{BA.svg → flags/BA.svg} +0 -0
  145. /package/dist/collection/assets/icons/{BB.svg → flags/BB.svg} +0 -0
  146. /package/dist/collection/assets/icons/{BD.svg → flags/BD.svg} +0 -0
  147. /package/dist/collection/assets/icons/{BE.svg → flags/BE.svg} +0 -0
  148. /package/dist/collection/assets/icons/{BF.svg → flags/BF.svg} +0 -0
  149. /package/dist/collection/assets/icons/{BG.svg → flags/BG.svg} +0 -0
  150. /package/dist/collection/assets/icons/{BH.svg → flags/BH.svg} +0 -0
  151. /package/dist/collection/assets/icons/{BI.svg → flags/BI.svg} +0 -0
  152. /package/dist/collection/assets/icons/{BJ.svg → flags/BJ.svg} +0 -0
  153. /package/dist/collection/assets/icons/{BL.svg → flags/BL.svg} +0 -0
  154. /package/dist/collection/assets/icons/{BM.svg → flags/BM.svg} +0 -0
  155. /package/dist/collection/assets/icons/{BN.svg → flags/BN.svg} +0 -0
  156. /package/dist/collection/assets/icons/{BO.svg → flags/BO.svg} +0 -0
  157. /package/dist/collection/assets/icons/{BQ.svg → flags/BQ.svg} +0 -0
  158. /package/dist/collection/assets/icons/{BQ2.svg → flags/BQ2.svg} +0 -0
  159. /package/dist/collection/assets/icons/{BQ3.svg → flags/BQ3.svg} +0 -0
  160. /package/dist/collection/assets/icons/{BR.svg → flags/BR.svg} +0 -0
  161. /package/dist/collection/assets/icons/{BS.svg → flags/BS.svg} +0 -0
  162. /package/dist/collection/assets/icons/{BT.svg → flags/BT.svg} +0 -0
  163. /package/dist/collection/assets/icons/{BW.svg → flags/BW.svg} +0 -0
  164. /package/dist/collection/assets/icons/{BY.svg → flags/BY.svg} +0 -0
  165. /package/dist/collection/assets/icons/{BZ.svg → flags/BZ.svg} +0 -0
  166. /package/dist/collection/assets/icons/{CA.svg → flags/CA.svg} +0 -0
  167. /package/dist/collection/assets/icons/{CC.svg → flags/CC.svg} +0 -0
  168. /package/dist/collection/assets/icons/{CD.svg → flags/CD.svg} +0 -0
  169. /package/dist/collection/assets/icons/{CD2.svg → flags/CD2.svg} +0 -0
  170. /package/dist/collection/assets/icons/{CF.svg → flags/CF.svg} +0 -0
  171. /package/dist/collection/assets/icons/{CH.svg → flags/CH.svg} +0 -0
  172. /package/dist/collection/assets/icons/{CK.svg → flags/CK.svg} +0 -0
  173. /package/dist/collection/assets/icons/{CL.svg → flags/CL.svg} +0 -0
  174. /package/dist/collection/assets/icons/{CM.svg → flags/CM.svg} +0 -0
  175. /package/dist/collection/assets/icons/{CN.svg → flags/CN.svg} +0 -0
  176. /package/dist/collection/assets/icons/{CO.svg → flags/CO.svg} +0 -0
  177. /package/dist/collection/assets/icons/{CR.svg → flags/CR.svg} +0 -0
  178. /package/dist/collection/assets/icons/{CU.svg → flags/CU.svg} +0 -0
  179. /package/dist/collection/assets/icons/{CW.svg → flags/CW.svg} +0 -0
  180. /package/dist/collection/assets/icons/{CX.svg → flags/CX.svg} +0 -0
  181. /package/dist/collection/assets/icons/{CY.svg → flags/CY.svg} +0 -0
  182. /package/dist/collection/assets/icons/{CZ.svg → flags/CZ.svg} +0 -0
  183. /package/dist/collection/assets/icons/{DE.svg → flags/DE.svg} +0 -0
  184. /package/dist/collection/assets/icons/{DJ.svg → flags/DJ.svg} +0 -0
  185. /package/dist/collection/assets/icons/{DK.svg → flags/DK.svg} +0 -0
  186. /package/dist/collection/assets/icons/{DM.svg → flags/DM.svg} +0 -0
  187. /package/dist/collection/assets/icons/{DO.svg → flags/DO.svg} +0 -0
  188. /package/dist/collection/assets/icons/{DS.svg → flags/DS.svg} +0 -0
  189. /package/dist/collection/assets/icons/{DZ.svg → flags/DZ.svg} +0 -0
  190. /package/dist/collection/assets/icons/{EC.svg → flags/EC.svg} +0 -0
  191. /package/dist/collection/assets/icons/{EE.svg → flags/EE.svg} +0 -0
  192. /package/dist/collection/assets/icons/{EG.svg → flags/EG.svg} +0 -0
  193. /package/dist/collection/assets/icons/{EH.svg → flags/EH.svg} +0 -0
  194. /package/dist/collection/assets/icons/{ER.svg → flags/ER.svg} +0 -0
  195. /package/dist/collection/assets/icons/{ES.svg → flags/ES.svg} +0 -0
  196. /package/dist/collection/assets/icons/{ET.svg → flags/ET.svg} +0 -0
  197. /package/dist/collection/assets/icons/{FI.svg → flags/FI.svg} +0 -0
  198. /package/dist/collection/assets/icons/{FJ.svg → flags/FJ.svg} +0 -0
  199. /package/dist/collection/assets/icons/{FK.svg → flags/FK.svg} +0 -0
  200. /package/dist/collection/assets/icons/{FM.svg → flags/FM.svg} +0 -0
  201. /package/dist/collection/assets/icons/{FO.svg → flags/FO.svg} +0 -0
  202. /package/dist/collection/assets/icons/{FR.svg → flags/FR.svg} +0 -0
  203. /package/dist/collection/assets/icons/{GA.svg → flags/GA.svg} +0 -0
  204. /package/dist/collection/assets/icons/{GB-2.svg → flags/GB-2.svg} +0 -0
  205. /package/dist/collection/assets/icons/{GB.svg → flags/GB.svg} +0 -0
  206. /package/dist/collection/assets/icons/{GD.svg → flags/GD.svg} +0 -0
  207. /package/dist/collection/assets/icons/{GE.svg → flags/GE.svg} +0 -0
  208. /package/dist/collection/assets/icons/{GG.svg → flags/GG.svg} +0 -0
  209. /package/dist/collection/assets/icons/{GH.svg → flags/GH.svg} +0 -0
  210. /package/dist/collection/assets/icons/{GI.svg → flags/GI.svg} +0 -0
  211. /package/dist/collection/assets/icons/{GL.svg → flags/GL.svg} +0 -0
  212. /package/dist/collection/assets/icons/{GM.svg → flags/GM.svg} +0 -0
  213. /package/dist/collection/assets/icons/{GN.svg → flags/GN.svg} +0 -0
  214. /package/dist/collection/assets/icons/{GQ.svg → flags/GQ.svg} +0 -0
  215. /package/dist/collection/assets/icons/{GR.svg → flags/GR.svg} +0 -0
  216. /package/dist/collection/assets/icons/{GT.svg → flags/GT.svg} +0 -0
  217. /package/dist/collection/assets/icons/{GU.svg → flags/GU.svg} +0 -0
  218. /package/dist/collection/assets/icons/{GW.svg → flags/GW.svg} +0 -0
  219. /package/dist/collection/assets/icons/{GY.svg → flags/GY.svg} +0 -0
  220. /package/dist/collection/assets/icons/{HK.svg → flags/HK.svg} +0 -0
  221. /package/dist/collection/assets/icons/{HN.svg → flags/HN.svg} +0 -0
  222. /package/dist/collection/assets/icons/{HR.svg → flags/HR.svg} +0 -0
  223. /package/dist/collection/assets/icons/{HT.svg → flags/HT.svg} +0 -0
  224. /package/dist/collection/assets/icons/{HU.svg → flags/HU.svg} +0 -0
  225. /package/dist/collection/assets/icons/{ID.svg → flags/ID.svg} +0 -0
  226. /package/dist/collection/assets/icons/{IE.svg → flags/IE.svg} +0 -0
  227. /package/dist/collection/assets/icons/{IL.svg → flags/IL.svg} +0 -0
  228. /package/dist/collection/assets/icons/{IM.svg → flags/IM.svg} +0 -0
  229. /package/dist/collection/assets/icons/{IN.svg → flags/IN.svg} +0 -0
  230. /package/dist/collection/assets/icons/{IO.svg → flags/IO.svg} +0 -0
  231. /package/dist/collection/assets/icons/{IQ.svg → flags/IQ.svg} +0 -0
  232. /package/dist/collection/assets/icons/{IR.svg → flags/IR.svg} +0 -0
  233. /package/dist/collection/assets/icons/{IS.svg → flags/IS.svg} +0 -0
  234. /package/dist/collection/assets/icons/{IT.svg → flags/IT.svg} +0 -0
  235. /package/dist/collection/assets/icons/{JE.svg → flags/JE.svg} +0 -0
  236. /package/dist/collection/assets/icons/{JM.svg → flags/JM.svg} +0 -0
  237. /package/dist/collection/assets/icons/{JO.svg → flags/JO.svg} +0 -0
  238. /package/dist/collection/assets/icons/{JP.svg → flags/JP.svg} +0 -0
  239. /package/dist/collection/assets/icons/{KE.svg → flags/KE.svg} +0 -0
  240. /package/dist/collection/assets/icons/{KG.svg → flags/KG.svg} +0 -0
  241. /package/dist/collection/assets/icons/{KH.svg → flags/KH.svg} +0 -0
  242. /package/dist/collection/assets/icons/{KI.svg → flags/KI.svg} +0 -0
  243. /package/dist/collection/assets/icons/{KM.svg → flags/KM.svg} +0 -0
  244. /package/dist/collection/assets/icons/{KN.svg → flags/KN.svg} +0 -0
  245. /package/dist/collection/assets/icons/{KP.svg → flags/KP.svg} +0 -0
  246. /package/dist/collection/assets/icons/{KR.svg → flags/KR.svg} +0 -0
  247. /package/dist/collection/assets/icons/{KW.svg → flags/KW.svg} +0 -0
  248. /package/dist/collection/assets/icons/{KY.svg → flags/KY.svg} +0 -0
  249. /package/dist/collection/assets/icons/{KZ.svg → flags/KZ.svg} +0 -0
  250. /package/dist/collection/assets/icons/{LA.svg → flags/LA.svg} +0 -0
  251. /package/dist/collection/assets/icons/{LB.svg → flags/LB.svg} +0 -0
  252. /package/dist/collection/assets/icons/{LC.svg → flags/LC.svg} +0 -0
  253. /package/dist/collection/assets/icons/{LI.svg → flags/LI.svg} +0 -0
  254. /package/dist/collection/assets/icons/{LK.svg → flags/LK.svg} +0 -0
  255. /package/dist/collection/assets/icons/{LR.svg → flags/LR.svg} +0 -0
  256. /package/dist/collection/assets/icons/{LS.svg → flags/LS.svg} +0 -0
  257. /package/dist/collection/assets/icons/{LT.svg → flags/LT.svg} +0 -0
  258. /package/dist/collection/assets/icons/{LU.svg → flags/LU.svg} +0 -0
  259. /package/dist/collection/assets/icons/{LV.svg → flags/LV.svg} +0 -0
  260. /package/dist/collection/assets/icons/{LY.svg → flags/LY.svg} +0 -0
  261. /package/dist/collection/assets/icons/{MA.svg → flags/MA.svg} +0 -0
  262. /package/dist/collection/assets/icons/{MC.svg → flags/MC.svg} +0 -0
  263. /package/dist/collection/assets/icons/{MD.svg → flags/MD.svg} +0 -0
  264. /package/dist/collection/assets/icons/{ME.svg → flags/ME.svg} +0 -0
  265. /package/dist/collection/assets/icons/{MG.svg → flags/MG.svg} +0 -0
  266. /package/dist/collection/assets/icons/{MH.svg → flags/MH.svg} +0 -0
  267. /package/dist/collection/assets/icons/{MK.svg → flags/MK.svg} +0 -0
  268. /package/dist/collection/assets/icons/{ML.svg → flags/ML.svg} +0 -0
  269. /package/dist/collection/assets/icons/{MM.svg → flags/MM.svg} +0 -0
  270. /package/dist/collection/assets/icons/{MN.svg → flags/MN.svg} +0 -0
  271. /package/dist/collection/assets/icons/{MO.svg → flags/MO.svg} +0 -0
  272. /package/dist/collection/assets/icons/{MP.svg → flags/MP.svg} +0 -0
  273. /package/dist/collection/assets/icons/{MQ.svg → flags/MQ.svg} +0 -0
  274. /package/dist/collection/assets/icons/{MR.svg → flags/MR.svg} +0 -0
  275. /package/dist/collection/assets/icons/{MS.svg → flags/MS.svg} +0 -0
  276. /package/dist/collection/assets/icons/{MT.svg → flags/MT.svg} +0 -0
  277. /package/dist/collection/assets/icons/{MU.svg → flags/MU.svg} +0 -0
  278. /package/dist/collection/assets/icons/{MV.svg → flags/MV.svg} +0 -0
  279. /package/dist/collection/assets/icons/{MW.svg → flags/MW.svg} +0 -0
  280. /package/dist/collection/assets/icons/{MX.svg → flags/MX.svg} +0 -0
  281. /package/dist/collection/assets/icons/{MY.svg → flags/MY.svg} +0 -0
  282. /package/dist/collection/assets/icons/{MZ.svg → flags/MZ.svg} +0 -0
  283. /package/dist/collection/assets/icons/{NA.svg → flags/NA.svg} +0 -0
  284. /package/dist/collection/assets/icons/{NE.svg → flags/NE.svg} +0 -0
  285. /package/dist/collection/assets/icons/{NF.svg → flags/NF.svg} +0 -0
  286. /package/dist/collection/assets/icons/{NG.svg → flags/NG.svg} +0 -0
  287. /package/dist/collection/assets/icons/{NI.svg → flags/NI.svg} +0 -0
  288. /package/dist/collection/assets/icons/{NL.svg → flags/NL.svg} +0 -0
  289. /package/dist/collection/assets/icons/{NO.svg → flags/NO.svg} +0 -0
  290. /package/dist/collection/assets/icons/{NP.svg → flags/NP.svg} +0 -0
  291. /package/dist/collection/assets/icons/{NR.svg → flags/NR.svg} +0 -0
  292. /package/dist/collection/assets/icons/{NU.svg → flags/NU.svg} +0 -0
  293. /package/dist/collection/assets/icons/{NZ.svg → flags/NZ.svg} +0 -0
  294. /package/dist/collection/assets/icons/{OM.svg → flags/OM.svg} +0 -0
  295. /package/dist/collection/assets/icons/{PA.svg → flags/PA.svg} +0 -0
  296. /package/dist/collection/assets/icons/{PE.svg → flags/PE.svg} +0 -0
  297. /package/dist/collection/assets/icons/{PF.svg → flags/PF.svg} +0 -0
  298. /package/dist/collection/assets/icons/{PG.svg → flags/PG.svg} +0 -0
  299. /package/dist/collection/assets/icons/{PH.svg → flags/PH.svg} +0 -0
  300. /package/dist/collection/assets/icons/{PK.svg → flags/PK.svg} +0 -0
  301. /package/dist/collection/assets/icons/{PL.svg → flags/PL.svg} +0 -0
  302. /package/dist/collection/assets/icons/{PN.svg → flags/PN.svg} +0 -0
  303. /package/dist/collection/assets/icons/{PR.svg → flags/PR.svg} +0 -0
  304. /package/dist/collection/assets/icons/{PS.svg → flags/PS.svg} +0 -0
  305. /package/dist/collection/assets/icons/{PT.svg → flags/PT.svg} +0 -0
  306. /package/dist/collection/assets/icons/{PW.svg → flags/PW.svg} +0 -0
  307. /package/dist/collection/assets/icons/{PY.svg → flags/PY.svg} +0 -0
  308. /package/dist/collection/assets/icons/{QA.svg → flags/QA.svg} +0 -0
  309. /package/dist/collection/assets/icons/{RO.svg → flags/RO.svg} +0 -0
  310. /package/dist/collection/assets/icons/{RS.svg → flags/RS.svg} +0 -0
  311. /package/dist/collection/assets/icons/{RU.svg → flags/RU.svg} +0 -0
  312. /package/dist/collection/assets/icons/{RW.svg → flags/RW.svg} +0 -0
  313. /package/dist/collection/assets/icons/{SA.svg → flags/SA.svg} +0 -0
  314. /package/dist/collection/assets/icons/{SB.svg → flags/SB.svg} +0 -0
  315. /package/dist/collection/assets/icons/{SC.svg → flags/SC.svg} +0 -0
  316. /package/dist/collection/assets/icons/{SE.svg → flags/SE.svg} +0 -0
  317. /package/dist/collection/assets/icons/{SG.svg → flags/SG.svg} +0 -0
  318. /package/dist/collection/assets/icons/{SI.svg → flags/SI.svg} +0 -0
  319. /package/dist/collection/assets/icons/{SK.svg → flags/SK.svg} +0 -0
  320. /package/dist/collection/assets/icons/{SL.svg → flags/SL.svg} +0 -0
  321. /package/dist/collection/assets/icons/{SM.svg → flags/SM.svg} +0 -0
  322. /package/dist/collection/assets/icons/{SN.svg → flags/SN.svg} +0 -0
  323. /package/dist/collection/assets/icons/{SO.svg → flags/SO.svg} +0 -0
  324. /package/dist/collection/assets/icons/{SR.svg → flags/SR.svg} +0 -0
  325. /package/dist/collection/assets/icons/{SS.svg → flags/SS.svg} +0 -0
  326. /package/dist/collection/assets/icons/{ST.svg → flags/ST.svg} +0 -0
  327. /package/dist/collection/assets/icons/{SV.svg → flags/SV.svg} +0 -0
  328. /package/dist/collection/assets/icons/{SX.svg → flags/SX.svg} +0 -0
  329. /package/dist/collection/assets/icons/{SY.svg → flags/SY.svg} +0 -0
  330. /package/dist/collection/assets/icons/{SZ.svg → flags/SZ.svg} +0 -0
  331. /package/dist/collection/assets/icons/{TC.svg → flags/TC.svg} +0 -0
  332. /package/dist/collection/assets/icons/{TD.svg → flags/TD.svg} +0 -0
  333. /package/dist/collection/assets/icons/{TG.svg → flags/TG.svg} +0 -0
  334. /package/dist/collection/assets/icons/{TH.svg → flags/TH.svg} +0 -0
  335. /package/dist/collection/assets/icons/{TJ.svg → flags/TJ.svg} +0 -0
  336. /package/dist/collection/assets/icons/{TK.svg → flags/TK.svg} +0 -0
  337. /package/dist/collection/assets/icons/{TL.svg → flags/TL.svg} +0 -0
  338. /package/dist/collection/assets/icons/{TM.svg → flags/TM.svg} +0 -0
  339. /package/dist/collection/assets/icons/{TN.svg → flags/TN.svg} +0 -0
  340. /package/dist/collection/assets/icons/{TO.svg → flags/TO.svg} +0 -0
  341. /package/dist/collection/assets/icons/{TR.svg → flags/TR.svg} +0 -0
  342. /package/dist/collection/assets/icons/{TT.svg → flags/TT.svg} +0 -0
  343. /package/dist/collection/assets/icons/{TV.svg → flags/TV.svg} +0 -0
  344. /package/dist/collection/assets/icons/{TW.svg → flags/TW.svg} +0 -0
  345. /package/dist/collection/assets/icons/{TZ.svg → flags/TZ.svg} +0 -0
  346. /package/dist/collection/assets/icons/{UA.svg → flags/UA.svg} +0 -0
  347. /package/dist/collection/assets/icons/{UG.svg → flags/UG.svg} +0 -0
  348. /package/dist/collection/assets/icons/{US.svg → flags/US.svg} +0 -0
  349. /package/dist/collection/assets/icons/{UY.svg → flags/UY.svg} +0 -0
  350. /package/dist/collection/assets/icons/{UZ.svg → flags/UZ.svg} +0 -0
  351. /package/dist/collection/assets/icons/{VC.svg → flags/VC.svg} +0 -0
  352. /package/dist/collection/assets/icons/{VE.svg → flags/VE.svg} +0 -0
  353. /package/dist/collection/assets/icons/{VG.svg → flags/VG.svg} +0 -0
  354. /package/dist/collection/assets/icons/{VI.svg → flags/VI.svg} +0 -0
  355. /package/dist/collection/assets/icons/{VN.svg → flags/VN.svg} +0 -0
  356. /package/dist/collection/assets/icons/{VU.svg → flags/VU.svg} +0 -0
  357. /package/dist/collection/assets/icons/{WS.svg → flags/WS.svg} +0 -0
  358. /package/dist/collection/assets/icons/{YE.svg → flags/YE.svg} +0 -0
  359. /package/dist/collection/assets/icons/{ZA.svg → flags/ZA.svg} +0 -0
  360. /package/dist/collection/assets/icons/{ZM.svg → flags/ZM.svg} +0 -0
  361. /package/dist/collection/assets/icons/{ZW.svg → flags/ZW.svg} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cpsl-identicon.js","sourceRoot":"","sources":["../../../../src/components/cpsl-identicon/cpsl-identicon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAEzD,MAAM,SAAS,GAAG,CAAC,QAAgB,EAAE,EAAE,CAAC,CACtC,WACE,KAAK,EAAE;QACL,QAAQ,EAAE,QAAQ,KAAK,CAAC;QACxB,SAAS,EAAE,QAAQ,KAAK,CAAC;QACzB,SAAS,EAAE,QAAQ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AQ,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;AAE/E,SAAS,sBAAsB,CAAC,IAAY;IAC1C,MAAM,IAAI,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;IAEtH,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;IAEzC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvB,CAAC","sourcesContent":["import { Component, Host, Prop, h } from '@stencil/core';\n\nconst SingleArc = (rotation: number) => (\n <svg\n class={{\n rotate90: rotation === 1,\n rotate180: rotation === 2,\n rotate270: rotation === 3,\n }}\n viewBox=\"0 0 12 12\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g clip-path=\"url(#clip0_674_66)\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24ZM12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_674_66\">\n <rect width=\"12\" height=\"12\" />\n </clipPath>\n </defs>\n </svg>\n);\n\nconst DoubleArc = (rotation: number) => (\n <svg\n class={{\n rotate90: rotation === 1,\n rotate180: rotation === 2,\n rotate270: rotation === 3,\n }}\n viewBox=\"0 0 12 12\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g clip-path=\"url(#clip0_674_255)\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24ZM12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z\"\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M12 18C15.3137 18 18 15.3137 18 12C18 8.68629 15.3137 6 12 6C8.68629 6 6 8.68629 6 12C6 15.3137 8.68629 18 12 18ZM12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_674_255\">\n <rect width=\"12\" height=\"12\" />\n </clipPath>\n </defs>\n </svg>\n);\n\n@Component({\n tag: 'cpsl-identicon',\n styleUrl: 'cpsl-identicon.scss',\n shadow: true,\n})\nexport class CpslIdenticon {\n @Prop() hash: string;\n\n /**\n * The size of the identicon.\n * Default is: 40.\n */\n @Prop() size: number = 40;\n\n render() {\n const [code, color] = stringToBinaryAndColor(this.hash);\n const shapeA = ((code >> 2) & 1) !== 0;\n const shapeB = ((code >> 3) & 1) !== 0;\n const shapeC = ((code >> 4) & 1) !== 0;\n const shapeD = ((code >> 5) & 1) !== 0;\n const rotationA = (code >> 6) & 3;\n const rotationB = (code >> 7) & 3;\n const rotationC = (code >> 8) & 3;\n const rotationD = (code >> 9) & 3;\n\n const [shapes, rotations] = [\n [shapeA, shapeB, shapeC, shapeD],\n [rotationA, rotationB, rotationC, rotationD],\n ];\n\n return (\n <Host\n class={{\n red: color === 'red',\n orange: color === 'orange',\n yellow: color === 'yellow',\n green: color === 'green',\n blue: color === 'blue',\n purple: color === 'purple',\n }}\n >\n {shapes.map((isDouble, index) => {\n return isDouble ? DoubleArc(rotations[index]) : SingleArc(rotations[index]);\n })}\n </Host>\n );\n }\n}\n\ntype Color = 'red' | 'orange' | 'yellow' | 'green' | 'blue' | 'purple';\n\nconst COLORS: Color[] = ['red', 'orange', 'yellow', 'green', 'blue', 'purple'];\n\nfunction stringToBinaryAndColor(hash: string): [number, Color] {\n const code = (hash.charCodeAt(0) << 24) | (hash.charCodeAt(1) << 16) | (hash.charCodeAt(2) << 8) | hash.charCodeAt(3);\n\n const color = COLORS[Math.abs(code % 6)];\n\n return [code, color];\n}\n"]}
@@ -0,0 +1,12 @@
1
+ const meta = {
2
+ title: 'Components/CpslIdenticon',
3
+ args: { hash: 'wruvbwic8932nc4u3cr9394n3cibj3892438cr', size: 40 },
4
+ argTypes: {
5
+ hash: { control: 'text' },
6
+ size: { control: 'number' },
7
+ },
8
+ };
9
+ export default meta;
10
+ const Template = args => `<cpsl-identicon hash=${args.hash}/>`;
11
+ export const Primary = Template.bind({});
12
+ //# sourceMappingURL=cpsl-identicon.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cpsl-identicon.stories.js","sourceRoot":"","sources":["../../../../src/components/cpsl-identicon/cpsl-identicon.stories.ts"],"names":[],"mappings":"AAGA,MAAM,IAAI,GAA+C;IACvD,KAAK,EAAE,0BAA0B;IACjC,IAAI,EAAE,EAAE,IAAI,EAAE,wCAAwC,EAAE,IAAI,EAAE,EAAE,EAAE;IAClE,QAAQ,EAAE;QACR,IAAI,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE;QACzB,IAAI,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE;KAC5B;CACF,CAAC;AAEF,eAAe,IAAI,CAAC;AAIpB,MAAM,QAAQ,GAAU,IAAI,CAAC,EAAE,CAAC,wBAAwB,IAAI,CAAC,IAAI,IAAI,CAAC;AAEtE,MAAM,CAAC,MAAM,OAAO,GAAU,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/html';\nimport { type CpslIdenticon } from './cpsl-identicon';\n\nconst meta: Meta<CpslIdenticon & { content?: string }> = {\n title: 'Components/CpslIdenticon',\n args: { hash: 'wruvbwic8932nc4u3cr9394n3cibj3892438cr', size: 40 },\n argTypes: {\n hash: { control: 'text' },\n size: { control: 'number' },\n },\n};\n\nexport default meta;\n\ntype Story = StoryFn<CpslIdenticon & { content?: string }>;\n\nconst Template: Story = args => `<cpsl-identicon hash=${args.hash}/>`;\n\nexport const Primary: Story = Template.bind({});\n"]}
@@ -0,0 +1,29 @@
1
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
+ return new (P || (P = Promise))(function (resolve, reject) {
4
+ function fulfilled(value) { try {
5
+ step(generator.next(value));
6
+ }
7
+ catch (e) {
8
+ reject(e);
9
+ } }
10
+ function rejected(value) { try {
11
+ step(generator["throw"](value));
12
+ }
13
+ catch (e) {
14
+ reject(e);
15
+ } }
16
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
17
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
18
+ });
19
+ };
20
+ import { newE2EPage } from "@stencil/core/testing";
21
+ describe('cpsl-identicon', () => {
22
+ it('renders', () => __awaiter(void 0, void 0, void 0, function* () {
23
+ const page = yield newE2EPage();
24
+ yield page.setContent('<cpsl-identicon></cpsl-identicon>');
25
+ const element = yield page.find('cpsl-identicon');
26
+ expect(element).toHaveClass('hydrated');
27
+ }));
28
+ });
29
+ //# sourceMappingURL=cpsl-identicon.e2e.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cpsl-identicon.e2e.js","sourceRoot":"","sources":["../../../../../src/components/cpsl-identicon/test/cpsl-identicon.e2e.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;IAC9B,EAAE,CAAC,SAAS,EAAE,GAAS,EAAE;QACvB,MAAM,IAAI,GAAG,MAAM,UAAU,EAAE,CAAC;QAChC,MAAM,IAAI,CAAC,UAAU,CAAC,mCAAmC,CAAC,CAAC;QAE3D,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAClD,MAAM,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAC1C,CAAC,CAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newE2EPage } from '@stencil/core/testing';\n\ndescribe('cpsl-identicon', () => {\n it('renders', async () => {\n const page = await newE2EPage();\n await page.setContent('<cpsl-identicon></cpsl-identicon>');\n\n const element = await page.find('cpsl-identicon');\n expect(element).toHaveClass('hydrated');\n });\n});\n"]}
@@ -0,0 +1,37 @@
1
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
+ return new (P || (P = Promise))(function (resolve, reject) {
4
+ function fulfilled(value) { try {
5
+ step(generator.next(value));
6
+ }
7
+ catch (e) {
8
+ reject(e);
9
+ } }
10
+ function rejected(value) { try {
11
+ step(generator["throw"](value));
12
+ }
13
+ catch (e) {
14
+ reject(e);
15
+ } }
16
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
17
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
18
+ });
19
+ };
20
+ import { newSpecPage } from "@stencil/core/testing";
21
+ import { CpslIdenticon } from "../cpsl-identicon";
22
+ describe('cpsl-identicon', () => {
23
+ it('renders', () => __awaiter(void 0, void 0, void 0, function* () {
24
+ const page = yield newSpecPage({
25
+ components: [CpslIdenticon],
26
+ html: `<cpsl-identicon></cpsl-identicon>`,
27
+ });
28
+ expect(page.root).toEqualHtml(`
29
+ <cpsl-identicon>
30
+ <mock:shadow-root>
31
+ <slot></slot>
32
+ </mock:shadow-root>
33
+ </cpsl-identicon>
34
+ `);
35
+ }));
36
+ });
37
+ //# sourceMappingURL=cpsl-identicon.spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cpsl-identicon.spec.js","sourceRoot":"","sources":["../../../../../src/components/cpsl-identicon/test/cpsl-identicon.spec.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;IAC9B,EAAE,CAAC,SAAS,EAAE,GAAS,EAAE;QACvB,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;YAC7B,UAAU,EAAE,CAAC,aAAa,CAAC;YAC3B,IAAI,EAAE,mCAAmC;SAC1C,CAAC,CAAC;QACH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;KAM7B,CAAC,CAAC;IACL,CAAC,CAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newSpecPage } from '@stencil/core/testing';\nimport { CpslIdenticon } from '../cpsl-identicon';\n\ndescribe('cpsl-identicon', () => {\n it('renders', async () => {\n const page = await newSpecPage({\n components: [CpslIdenticon],\n html: `<cpsl-identicon></cpsl-identicon>`,\n });\n expect(page.root).toEqualHtml(`\n <cpsl-identicon>\n <mock:shadow-root>\n <slot></slot>\n </mock:shadow-root>\n </cpsl-identicon>\n `);\n });\n});\n"]}
@@ -1,7 +1,7 @@
1
1
  import { Host, h } from "@stencil/core";
2
2
  export class CpslInfoBox {
3
3
  render() {
4
- return (h(Host, { key: '60852c54e233d29363761d07715aab5b7d86e4b0' }, h("div", { key: '970d11a996e58604455833c5a31a9ae26abadb95', class: "info-box-container" }, h("slot", { key: '4f2f3a5da31d262544f848b06498af7da5b2cbd1' }))));
4
+ return (h(Host, { key: 'f896d7c1bb72fbb5c2a2515058901db62011db9b' }, h("div", { key: 'e911284ad5ae540a10662cc0a0adf72e83e400b3', class: "info-box-container" }, h("slot", { key: '195fd87bd8ac702417c9659f956b6efe7c78e5b8' }))));
5
5
  }
6
6
  static get is() { return "cpsl-info-box"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -31,11 +31,11 @@ export class CpslInput {
31
31
  ev.preventDefault();
32
32
  const input = ev.target;
33
33
  const pasteData = ((_a = ev.clipboardData) === null || _a === void 0 ? void 0 : _a.getData('text')) || '';
34
- input.value = pasteData;
35
- this.value = pasteData;
34
+ input.value = input.value + pasteData;
35
+ this.value = this.value + pasteData;
36
36
  pasteData === '' ? this.disableSlots() : this.enableSlots();
37
37
  this.cpslPaste.emit(ev);
38
- this.emitValueChange(ev);
38
+ this.emitInputChange(ev);
39
39
  };
40
40
  this.focusInput = () => {
41
41
  this.nativeInput.focus();
@@ -131,7 +131,7 @@ export class CpslInput {
131
131
  }
132
132
  render() {
133
133
  var _a;
134
- return (h(Host, { key: '28937d4a0e8c5a4e7b7a00e610013e52fa171f3a', 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, this.required ? '*' : ' ', !this.required && this.showOptionalLabel ? h("span", { class: "optional-label" }, "(optional)") : '')), h("div", { key: '8a2c5e7d32c93af2b0d463563c48e8104c639604', class: { 'input-container': true, 'error-container': Boolean(this.errorText) } }, h("slot", { key: 'd24440dff32cd3837638565764d2683bf16414ca', name: "start" }), h("input", { key: 'a3df402a5fd5f9a9d2483a1f0b65f9061468df15', class: "native-input", ref: input => (this.nativeInput = 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, onClick: this.focusInput, onPaste: this.onPaste }), h("slot", { key: 'f7472b02d119b4a458252128da5e61ebbfbdee56', name: "end" })), (this.errorText || this.helperText) && (h("div", { class: { 'helper-text-container': true, 'error-text': Boolean(this.errorText) } }, h("span", null, (_a = this.errorText) !== null && _a !== void 0 ? _a : this.helperText)))));
134
+ return (h(Host, { key: '6ff350b7a2fd8748920be740e4ef065a0d67c650', 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, this.required ? '*' : ' ', !this.required && this.showOptionalLabel ? h("span", { class: "optional-label" }, "(optional)") : '')), h("div", { key: '5edf66c351aaa30e145e66f6baf06454bd8e7860', class: { 'input-container': true, 'error-container': Boolean(this.errorText) } }, h("slot", { key: '8c79ff9cc118de96c47c49f59fdf0bb109694228', name: "start" }), h("input", { key: '07a51283dfaf185f2fdc0222331305fa384760e0', class: "native-input", ref: input => (this.nativeInput = 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, onClick: this.focusInput, onPaste: this.onPaste }), h("slot", { key: 'af3fc651d066c346baa84e8e84a44373242c924e', name: "end" })), (this.errorText || this.helperText) && (h("div", { class: { 'helper-text-container': true, 'error-text': Boolean(this.errorText) } }, h("span", null, (_a = this.errorText) !== null && _a !== void 0 ? _a : this.helperText)))));
135
135
  }
136
136
  static get is() { return "cpsl-input"; }
137
137
  static get encapsulation() { return "shadow"; }
@@ -576,7 +576,7 @@ export class CpslInput {
576
576
  "mutable": false,
577
577
  "complexType": {
578
578
  "original": "IconType",
579
- "resolved": "\"AD\" | \"AE\" | \"AF\" | \"AG\" | \"AI\" | \"AL\" | \"AM\" | \"AO\" | \"AR\" | \"AS\" | \"AT\" | \"AU\" | \"AW\" | \"AX\" | \"AZ\" | \"BA\" | \"BB\" | \"BD\" | \"BE\" | \"BF\" | \"BG\" | \"BH\" | \"BI\" | \"BJ\" | \"BL\" | \"BM\" | \"BN\" | \"BO\" | \"BQ\" | \"BQ2\" | \"BQ3\" | \"BR\" | \"BS\" | \"BT\" | \"BW\" | \"BY\" | \"BZ\" | \"CA\" | \"CC\" | \"CD\" | \"CD2\" | \"CF\" | \"CH\" | \"CK\" | \"CL\" | \"CM\" | \"CN\" | \"CO\" | \"CR\" | \"CU\" | \"CW\" | \"CX\" | \"CY\" | \"CZ\" | \"DE\" | \"DJ\" | \"DK\" | \"DM\" | \"DO\" | \"DS\" | \"DZ\" | \"EC\" | \"EE\" | \"EG\" | \"EH\" | \"ER\" | \"ES\" | \"ET\" | \"FI\" | \"FJ\" | \"FK\" | \"FM\" | \"FO\" | \"FR\" | \"GA\" | \"GB2\" | \"GB\" | \"GD\" | \"GE\" | \"GG\" | \"GH\" | \"GI\" | \"GL\" | \"GM\" | \"GN\" | \"GQ\" | \"GR\" | \"GT\" | \"GU\" | \"GW\" | \"GY\" | \"HK\" | \"HN\" | \"HR\" | \"HT\" | \"HU\" | \"ID\" | \"IE\" | \"IL\" | \"IM\" | \"IN\" | \"IO\" | \"IQ\" | \"IR\" | \"IS\" | \"IT\" | \"JE\" | \"JM\" | \"JO\" | \"JP\" | \"KE\" | \"KG\" | \"KH\" | \"KI\" | \"KM\" | \"KN\" | \"KP\" | \"KR\" | \"KW\" | \"KY\" | \"KZ\" | \"LA\" | \"LB\" | \"LC\" | \"LI\" | \"LK\" | \"LR\" | \"LS\" | \"LT\" | \"LU\" | \"LV\" | \"LY\" | \"MA\" | \"MC\" | \"MD\" | \"ME\" | \"MG\" | \"MH\" | \"MK\" | \"ML\" | \"MM\" | \"MN\" | \"MO\" | \"MP\" | \"MQ\" | \"MR\" | \"MS\" | \"MT\" | \"MU\" | \"MV\" | \"MW\" | \"MX\" | \"MY\" | \"MZ\" | \"NA\" | \"NE\" | \"NF\" | \"NG\" | \"NI\" | \"NL\" | \"NO\" | \"NP\" | \"NR\" | \"NU\" | \"NZ\" | \"OM\" | \"PA\" | \"PE\" | \"PF\" | \"PG\" | \"PH\" | \"PK\" | \"PL\" | \"PN\" | \"PR\" | \"PS\" | \"PT\" | \"PW\" | \"PY\" | \"QA\" | \"RO\" | \"RS\" | \"RU\" | \"RW\" | \"SA\" | \"SB\" | \"SC\" | \"SE\" | \"SG\" | \"SI\" | \"SK\" | \"SL\" | \"SM\" | \"SN\" | \"SO\" | \"SR\" | \"SS\" | \"ST\" | \"SV\" | \"SX\" | \"SY\" | \"SZ\" | \"TC\" | \"TD\" | \"TG\" | \"TH\" | \"TJ\" | \"TK\" | \"TL\" | \"TM\" | \"TN\" | \"TO\" | \"TR\" | \"TT\" | \"TV\" | \"TW\" | \"TZ\" | \"UA\" | \"UG\" | \"US\" | \"UY\" | \"UZ\" | \"VC\" | \"VE\" | \"VG\" | \"VI\" | \"VN\" | \"VU\" | \"WS\" | \"YE\" | \"ZA\" | \"ZM\" | \"ZW\" | \"alertCircle\" | \"angelListBrand\" | \"angelList\" | \"appleBrand\" | \"apple\" | \"arrowNarrow\" | \"arrow\" | \"backupKit\" | \"brush\" | \"capsuleLogo\" | \"capsuleRingsDark\" | \"capsuleRings\" | \"capsule\" | \"checkCircle\" | \"check\" | \"chevronUp\" | \"clock\" | \"close\" | \"clubhouseBrand\" | \"clubhouse\" | \"copy\" | \"cube\" | \"decentBrand\" | \"decent\" | \"discordBrand\" | \"discord\" | \"downloadCloud\" | \"dribbbleBrand\" | \"dribbble\" | \"earth\" | \"eyeOff\" | \"eye\" | \"facebookBrand\" | \"facebook\" | \"farcasterBrand\" | \"farcaster\" | \"figmaBrand\" | \"figma\" | \"file\" | \"githubBrand\" | \"github\" | \"googleBrand\" | \"google\" | \"helpCircle\" | \"heroEmail\" | \"heroLock\" | \"heroPasskey\" | \"heroPhone\" | \"heroWallet\" | \"home\" | \"image\" | \"infoCircle\" | \"instagramBrand\" | \"instagram\" | \"key\" | \"lightning01\" | \"lightning\" | \"linkedinBrand\" | \"linkedin\" | \"mail\" | \"menu\" | \"moreLoginOptions\" | \"phone\" | \"pintrestBrand\" | \"pintrest\" | \"plusCircle\" | \"rampNetworkBrand\" | \"rampNetwork\" | \"redditBrand\" | \"reddit\" | \"refresh\" | \"settings\" | \"signalBrand\" | \"signal\" | \"snapchatBrand\" | \"snapchat\" | \"stars\" | \"telegramBrand\" | \"telegram\" | \"tikTokBrand\" | \"tikTok\" | \"tumblrBrand\" | \"tumblr\" | \"twitterBrand\" | \"twitter\" | \"wallet\" | \"x\" | \"youtubeBrand\" | \"youtube\"",
579
+ "resolved": "\"alertCircle\" | \"angelListBrand\" | \"angelList\" | \"appleBrand\" | \"apple\" | \"arrowNarrow\" | \"arrow\" | \"backupKit\" | \"brush\" | \"capsuleLogo\" | \"capsuleRingsDark\" | \"capsuleRings\" | \"capsule\" | \"checkCircle\" | \"check\" | \"chevronUp\" | \"clock\" | \"close\" | \"clubhouseBrand\" | \"clubhouse\" | \"copy\" | \"cube\" | \"decentBrand\" | \"decent\" | \"discordBrand\" | \"discord\" | \"doubleArc\" | \"downloadCloud\" | \"dribbbleBrand\" | \"dribbble\" | \"earth\" | \"eyeOff\" | \"eye\" | \"facebookBrand\" | \"facebook\" | \"farcasterBrand\" | \"farcaster\" | \"figmaBrand\" | \"figma\" | \"file\" | \"githubBrand\" | \"github\" | \"googleBrand\" | \"google\" | \"helpCircle\" | \"heroEmail\" | \"heroLock\" | \"heroPasskey\" | \"heroPhone\" | \"heroWallet\" | \"home\" | \"image\" | \"infoCircle\" | \"instagramBrand\" | \"instagram\" | \"key\" | \"lightning01\" | \"lightning\" | \"linkedinBrand\" | \"linkedin\" | \"mail\" | \"menu\" | \"moreLoginOptions\" | \"phone\" | \"pintrestBrand\" | \"pintrest\" | \"plusCircle\" | \"rampNetworkBrand\" | \"rampNetwork\" | \"redditBrand\" | \"reddit\" | \"refresh\" | \"settings\" | \"signalBrand\" | \"signal\" | \"singleArc\" | \"snapchatBrand\" | \"snapchat\" | \"stars\" | \"telegramBrand\" | \"telegram\" | \"tikTokBrand\" | \"tikTok\" | \"tumblrBrand\" | \"tumblr\" | \"twitterBrand\" | \"twitter\" | \"wallet\" | \"x\" | \"youtubeBrand\" | \"youtube\" | \"AD\" | \"AE\" | \"AF\" | \"AG\" | \"AI\" | \"AL\" | \"AM\" | \"AO\" | \"AR\" | \"AS\" | \"AT\" | \"AU\" | \"AW\" | \"AX\" | \"AZ\" | \"BA\" | \"BB\" | \"BD\" | \"BE\" | \"BF\" | \"BG\" | \"BH\" | \"BI\" | \"BJ\" | \"BL\" | \"BM\" | \"BN\" | \"BO\" | \"BQ\" | \"BQ2\" | \"BQ3\" | \"BR\" | \"BS\" | \"BT\" | \"BW\" | \"BY\" | \"BZ\" | \"CA\" | \"CC\" | \"CD\" | \"CD2\" | \"CF\" | \"CH\" | \"CK\" | \"CL\" | \"CM\" | \"CN\" | \"CO\" | \"CR\" | \"CU\" | \"CW\" | \"CX\" | \"CY\" | \"CZ\" | \"DE\" | \"DJ\" | \"DK\" | \"DM\" | \"DO\" | \"DS\" | \"DZ\" | \"EC\" | \"EE\" | \"EG\" | \"EH\" | \"ER\" | \"ES\" | \"ET\" | \"FI\" | \"FJ\" | \"FK\" | \"FM\" | \"FO\" | \"FR\" | \"GA\" | \"GB2\" | \"GB\" | \"GD\" | \"GE\" | \"GG\" | \"GH\" | \"GI\" | \"GL\" | \"GM\" | \"GN\" | \"GQ\" | \"GR\" | \"GT\" | \"GU\" | \"GW\" | \"GY\" | \"HK\" | \"HN\" | \"HR\" | \"HT\" | \"HU\" | \"ID\" | \"IE\" | \"IL\" | \"IM\" | \"IN\" | \"IO\" | \"IQ\" | \"IR\" | \"IS\" | \"IT\" | \"JE\" | \"JM\" | \"JO\" | \"JP\" | \"KE\" | \"KG\" | \"KH\" | \"KI\" | \"KM\" | \"KN\" | \"KP\" | \"KR\" | \"KW\" | \"KY\" | \"KZ\" | \"LA\" | \"LB\" | \"LC\" | \"LI\" | \"LK\" | \"LR\" | \"LS\" | \"LT\" | \"LU\" | \"LV\" | \"LY\" | \"MA\" | \"MC\" | \"MD\" | \"ME\" | \"MG\" | \"MH\" | \"MK\" | \"ML\" | \"MM\" | \"MN\" | \"MO\" | \"MP\" | \"MQ\" | \"MR\" | \"MS\" | \"MT\" | \"MU\" | \"MV\" | \"MW\" | \"MX\" | \"MY\" | \"MZ\" | \"NA\" | \"NE\" | \"NF\" | \"NG\" | \"NI\" | \"NL\" | \"NO\" | \"NP\" | \"NR\" | \"NU\" | \"NZ\" | \"OM\" | \"PA\" | \"PE\" | \"PF\" | \"PG\" | \"PH\" | \"PK\" | \"PL\" | \"PN\" | \"PR\" | \"PS\" | \"PT\" | \"PW\" | \"PY\" | \"QA\" | \"RO\" | \"RS\" | \"RU\" | \"RW\" | \"SA\" | \"SB\" | \"SC\" | \"SE\" | \"SG\" | \"SI\" | \"SK\" | \"SL\" | \"SM\" | \"SN\" | \"SO\" | \"SR\" | \"SS\" | \"ST\" | \"SV\" | \"SX\" | \"SY\" | \"SZ\" | \"TC\" | \"TD\" | \"TG\" | \"TH\" | \"TJ\" | \"TK\" | \"TL\" | \"TM\" | \"TN\" | \"TO\" | \"TR\" | \"TT\" | \"TV\" | \"TW\" | \"TZ\" | \"UA\" | \"UG\" | \"US\" | \"UY\" | \"UZ\" | \"VC\" | \"VE\" | \"VG\" | \"VI\" | \"VN\" | \"VU\" | \"WS\" | \"YE\" | \"ZA\" | \"ZM\" | \"ZW\"",
580
580
  "references": {
581
581
  "IconType": {
582
582
  "location": "import",
@@ -1 +1 @@
1
- {"version":3,"file":"cpsl-input.js","sourceRoot":"","sources":["../../../../src/components/cpsl-input/cpsl-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAgB,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AASrG,MAAM,OAAO,SAAS;;QAIZ,YAAO,GAAG,cAAc,QAAQ,EAAE,EAAE,CAAC;QA0RrC,YAAO,GAAG,CAAC,EAAc,EAAE,EAAE;YACnC,MAAM,KAAK,GAAG,EAAE,CAAC,MAAiC,CAAC;YACnD,IAAI,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;gBACnB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,IAAI,EAAE,CAAC;gBAC/B,KAAK,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;YAChE,CAAC;YAED,IAAI,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC;QAC3B,CAAC,CAAC;QAEM,aAAQ,GAAG,CAAC,EAAS,EAAE,EAAE;YAC/B,IAAI,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC;QAC3B,CAAC,CAAC;QAEM,WAAM,GAAG,CAAC,EAAc,EAAE,EAAE;YAClC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;YAEtB,IAAI,IAAI,CAAC,YAAY,KAAK,IAAI,CAAC,KAAK,EAAE,CAAC;gBAKrC,IAAI,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC;YAC3B,CAAC;YAED,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACzB,CAAC,CAAC;QAEM,YAAO,GAAG,CAAC,EAAc,EAAE,EAAE;YACnC,IAAI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;AAED,IAAI,QAAQ,GAAG,CAAC,CAAC","sourcesContent":["import { Component, Host, Prop, h, Event, EventEmitter, State, Element, Watch } from '@stencil/core';\nimport { AutocompleteTypes, IconType, TextFieldTypes } from '../../interface';\nimport { InputChangeEventDetail, InputInputEventDetail } from './input-interface';\n\n@Component({\n tag: 'cpsl-input',\n styleUrl: 'cpsl-input.scss',\n shadow: true,\n})\nexport class CpslInput {\n private nativeInput?: HTMLInputElement;\n @Element() el!: HTMLCpslInputElement;\n\n private inputId = `cpsl-input-${inputIds++}`;\n /**\n * The value of the input when the input is focused.\n */\n private focusedValue?: string | number | null;\n\n @State() hasFocus = false;\n\n /**\n * Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.\n * Available options: `\"off\"`, `\"none\"`, `\"on\"`, `\"sentences\"`, `\"words\"`, `\"characters\"`.\n */\n // eslint-disable-next-line @stencil-community/reserved-member-names\n @Prop() autocapitalize = 'off';\n\n /**\n * Indicates whether the value of the control can be automatically completed by the browser.\n */\n @Prop() autocomplete: AutocompleteTypes = 'off';\n\n /**\n * Whether auto correction should be enabled when the user is entering/editing the text value.\n */\n @Prop() autocorrect: 'on' | 'off' = 'off';\n\n /**\n * Whether to disable auto disabling of the slotted components.\n */\n @Prop() noAutoDisable: boolean;\n\n /**\n * Sets the [`autofocus` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus) on the native input element.\n *\n * This may not be sufficient for the element to be focused on page load.\n */\n // eslint-disable-next-line @stencil-community/reserved-member-names\n @Prop() autofocus = false;\n\n /**\n * If `true`, the user cannot interact with the input.\n */\n @Prop() disabled = false;\n\n /**\n * A hint to the browser for which enter key to display.\n * Possible values: `\"enter\"`, `\"done\"`, `\"go\"`, `\"next\"`,\n * `\"previous\"`, `\"search\"`, and `\"send\"`.\n */\n // eslint-disable-next-line @stencil-community/reserved-member-names\n @Prop() enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';\n\n /**\n * Error text to show below the input. If this is provided the input will enter an error state.\n */\n @Prop() errorText?: string;\n\n /**\n * Helper text to show below the input. If `\"errorText\"` is provided that will take precedence.\n */\n @Prop() helperText?: string;\n\n /**\n * A hint to the browser for which keyboard to display.\n * Possible values: `\"none\"`, `\"text\"`, `\"tel\"`, `\"url\"`,\n * `\"email\"`, `\"numeric\"`, `\"decimal\"`, and `\"search\"`.\n */\n // eslint-disable-next-line @stencil-community/reserved-member-names\n @Prop() inputmode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';\n\n /**\n * The label for the input.\n */\n @Prop() label?: string;\n\n /**\n * The maximum value, which must not be less than its minimum (min attribute) value.\n */\n @Prop() max?: string | number;\n\n /**\n * 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.\n */\n @Prop() maxlength?: number;\n\n /**\n * The minimum value, which must not be greater than its maximum (max attribute) value.\n */\n @Prop() min?: string | number;\n\n /**\n * 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.\n */\n @Prop() minlength?: number;\n\n /**\n * 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.\n */\n @Prop() multiple?: boolean;\n\n /**\n * The name of the control, which is submitted with the form data.\n */\n @Prop() name: string = this.inputId;\n\n /**\n * 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.\n */\n @Prop() pattern?: string;\n\n /**\n * Instructional text that shows before the input has a value.\n * This property applies only when the `type` property is set to `\"email\"`,\n * `\"number\"`, `\"password\"`, `\"search\"`, `\"tel\"`, `\"text\"`, or `\"url\"`, otherwise it is ignored.\n */\n @Prop() placeholder?: string;\n\n /**\n * If `true`, the user cannot modify the value.\n */\n @Prop() readonly = false;\n\n /**\n * If `true`, the user must fill in a value before submitting a form.\n */\n @Prop() required = false;\n\n /**\n * If `true`, the label will display an \"optional\" tag.\n */\n @Prop() showOptionalLabel = false;\n\n /**\n * If `true`, the element will have its spelling and grammar checked.\n */\n // eslint-disable-next-line @stencil-community/reserved-member-names\n @Prop() spellcheck = false;\n\n /**\n * The external source of the icon at the start of the input. If both `startIcon` and `startIconSrc` are provided, `startIcon` will be used.\n */\n @Prop() startIconSrc?: string;\n\n /**\n * The name of the icon at the start of the input. If both `startIcon` and `startIconSrc` are provided, `startIcon` will be used.\n */\n @Prop() startIcon?: IconType;\n\n /**\n * Works with the min and max attributes to limit the increments at which a value can be set.\n * Possible values are: `\"any\"` or a positive floating point number.\n */\n @Prop() step?: string;\n\n /**\n * The type of control to display. The default type is `text`.\n */\n @Prop() type: TextFieldTypes = 'text';\n\n /**\n * The value of the controlled input.\n */\n @Prop({ mutable: true }) value?: string;\n\n /**\n * The `cpslInput` event is fired each time the user modifies the input's value.\n * Unlike the `cpslChange` event, the `cpslInput` event is fired for each alteration\n * to the input's value. This typically happens for each keystroke as the user types.\n *\n * For elements that accept text input (`type=text`, `type=tel`, etc.), the interface\n * is [`InputEvent`](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent); for others,\n * the interface is [`Event`](https://developer.mozilla.org/en-US/docs/Web/API/Event). If\n * the input is cleared on edit, the type is `null`.\n */\n @Event() cpslInput!: EventEmitter<InputInputEventDetail>;\n\n /**\n * The `cpslChange` event is fired when the user modifies the input's value.\n * Unlike the `cpslInput` event, the `cpslChange` event is only fired when changes\n * are committed, not as the user types.\n *\n * Depending on the way the users interacts with the element, the `cpslChange`\n * event fires at a different moment:\n * - When the element loses focus after its value has changed: for elements\n * where the user's interaction is typing.\n */\n @Event() cpslChange!: EventEmitter<InputChangeEventDetail>;\n\n /**\n * Emitted when the input loses focus.\n */\n @Event() cpslBlur!: EventEmitter<FocusEvent>;\n\n /**\n * Emitted when the input has focus.\n */\n @Event() cpslFocus!: EventEmitter<FocusEvent>;\n\n /**\n * Emitted when something has been paste into the input.\n */\n @Event() cpslPaste!: EventEmitter<ClipboardEvent>;\n\n @Watch('disabled')\n handleDisable() {\n if (this.disabled) {\n this.disableSlots();\n } else {\n this.enableSlots();\n }\n }\n\n /**\n * Update the native input element when the value changes\n */\n // @Watch('value')\n // protected valueChanged() {\n // const nativeInput = this.nativeInput;\n // const value = this.value;\n // if (nativeInput && nativeInput.value !== value) {\n // nativeInput.value = value;\n // }\n // Boolean(value) ? this.disableSlots() : this.enableSlots();\n // }\n\n componentDidLoad() {\n this.initButtons();\n if (Boolean(this.value)) {\n this.enableSlots();\n } else {\n this.disableSlots();\n }\n }\n\n private disableSlots() {\n if (!this.noAutoDisable) {\n this.endEl?.setAttribute('disabled', 'true');\n this.startEl?.setAttribute('disabled', 'true');\n }\n }\n\n private enableSlots() {\n this.endEl?.setAttribute('disabled', 'false');\n this.startEl?.setAttribute('disabled', 'false');\n }\n\n private initButtons() {\n if (this.endEl?.tagName === 'CPSL-BUTTON') {\n this.endEl.setAttribute('full-width', 'true');\n this.endEl.addEventListener('mousedown', e => {\n e.preventDefault();\n });\n }\n if (this.startEl?.tagName === 'CPSL-BUTTON') {\n this.startEl.setAttribute('full-width', 'true');\n this.startEl.addEventListener('mousedown', e => {\n e.preventDefault();\n });\n }\n }\n\n /**\n * Emits a `cpslInput` event.\n */\n private emitInputChange(event?: Event) {\n this.cpslInput.emit({ value: this.nativeInput.value, event });\n }\n\n /**\n * Emits a `cpslChange` event.\n *\n * This API should be called for user committed changes.\n * This API should not be used for external value changes.\n */\n private emitValueChange(event?: Event) {\n const { value } = this;\n // Checks for both null and undefined values\n const newValue = value == null ? value : value.toString();\n // Emitting a value change should update the internal state for tracking the focused value\n this.focusedValue = newValue;\n this.cpslChange.emit({ value: newValue, event });\n }\n\n private onInput = (ev: InputEvent) => {\n const input = ev.target as HTMLInputElement | null;\n if (Boolean(input)) {\n this.value = input.value || '';\n input.value === '' ? this.disableSlots() : this.enableSlots();\n }\n\n this.emitInputChange(ev);\n };\n\n private onChange = (ev: Event) => {\n this.emitValueChange(ev);\n };\n\n private onBlur = (ev: FocusEvent) => {\n this.hasFocus = false;\n\n if (this.focusedValue !== this.value) {\n /**\n * Emits the `cpslChange` event when the input value\n * is different than the value when the input was focused.\n */\n this.emitValueChange(ev);\n }\n\n this.cpslBlur.emit(ev);\n };\n\n private onFocus = (ev: FocusEvent) => {\n this.hasFocus = true;\n this.focusedValue = this.value;\n\n this.cpslFocus.emit(ev);\n };\n\n private onPaste = (ev: ClipboardEvent) => {\n ev.stopPropagation();\n ev.preventDefault();\n\n const input = ev.target as HTMLInputElement;\n const pasteData = ev.clipboardData?.getData('text') || '';\n\n // Manually set the value\n input.value = pasteData;\n this.value = pasteData;\n pasteData === '' ? this.disableSlots() : this.enableSlots();\n\n // Emit the cpslPaste event\n this.cpslPaste.emit(ev);\n\n // Emit the cpslChange event since the value was modified by paste\n this.emitValueChange(ev);\n };\n\n private focusInput = () => {\n this.nativeInput.focus();\n };\n\n private get startEl() {\n return this.el.querySelector('[slot=\"start\"]');\n }\n\n private get endEl() {\n return this.el.querySelector('[slot=\"end\"]');\n }\n\n render() {\n return (\n <Host class={{ 'disabled': this.disabled, 'focused': this.hasFocus, 'has-value': Boolean(this.focusedValue) || Boolean(this.value) }}>\n {this.label && (\n <label class=\"label\" htmlFor={this.inputId}>\n {this.label}\n {this.required ? '*' : ' '}\n {!this.required && this.showOptionalLabel ? <span class=\"optional-label\">(optional)</span> : ''}\n </label>\n )}\n <div class={{ 'input-container': true, 'error-container': Boolean(this.errorText) }}>\n <slot name=\"start\"></slot>\n <input\n class=\"native-input\"\n ref={input => (this.nativeInput = input)}\n id={this.inputId}\n disabled={this.disabled}\n autoCapitalize={this.autocapitalize}\n autoComplete={this.autocomplete}\n autoCorrect={this.autocorrect}\n autoFocus={this.autofocus}\n enterKeyHint={this.enterkeyhint}\n inputMode={this.inputmode}\n min={this.min}\n max={this.max}\n minLength={this.minlength}\n maxLength={this.maxlength}\n multiple={this.multiple}\n name={this.name}\n pattern={this.pattern}\n placeholder={this.placeholder || ''}\n readOnly={this.readonly}\n required={this.required}\n spellcheck={this.spellcheck}\n type={this.type}\n value={this.value}\n onInput={this.onInput}\n onChange={this.onChange}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.focusInput}\n onPaste={this.onPaste}\n />\n <slot name=\"end\"></slot>\n </div>\n {(this.errorText || this.helperText) && (\n <div class={{ 'helper-text-container': true, 'error-text': Boolean(this.errorText) }}>\n <span>{this.errorText ?? this.helperText}</span>\n </div>\n )}\n </Host>\n );\n }\n}\n\nlet inputIds = 0;\n"]}
1
+ {"version":3,"file":"cpsl-input.js","sourceRoot":"","sources":["../../../../src/components/cpsl-input/cpsl-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAgB,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AASrG,MAAM,OAAO,SAAS;;QAIZ,YAAO,GAAG,cAAc,QAAQ,EAAE,EAAE,CAAC;QA0RrC,YAAO,GAAG,CAAC,EAAc,EAAE,EAAE;YACnC,MAAM,KAAK,GAAG,EAAE,CAAC,MAAiC,CAAC;YACnD,IAAI,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;gBACnB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,IAAI,EAAE,CAAC;gBAC/B,KAAK,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;YAChE,CAAC;YAED,IAAI,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC;QAC3B,CAAC,CAAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF;AAED,IAAI,QAAQ,GAAG,CAAC,CAAC","sourcesContent":["import { Component, Host, Prop, h, Event, EventEmitter, State, Element, Watch } from '@stencil/core';\nimport { AutocompleteTypes, IconType, TextFieldTypes } from '../../interface';\nimport { InputChangeEventDetail, InputInputEventDetail } from './input-interface';\n\n@Component({\n tag: 'cpsl-input',\n styleUrl: 'cpsl-input.scss',\n shadow: true,\n})\nexport class CpslInput {\n private nativeInput?: HTMLInputElement;\n @Element() el!: HTMLCpslInputElement;\n\n private inputId = `cpsl-input-${inputIds++}`;\n /**\n * The value of the input when the input is focused.\n */\n private focusedValue?: string | number | null;\n\n @State() hasFocus = false;\n\n /**\n * Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.\n * Available options: `\"off\"`, `\"none\"`, `\"on\"`, `\"sentences\"`, `\"words\"`, `\"characters\"`.\n */\n // eslint-disable-next-line @stencil-community/reserved-member-names\n @Prop() autocapitalize = 'off';\n\n /**\n * Indicates whether the value of the control can be automatically completed by the browser.\n */\n @Prop() autocomplete: AutocompleteTypes = 'off';\n\n /**\n * Whether auto correction should be enabled when the user is entering/editing the text value.\n */\n @Prop() autocorrect: 'on' | 'off' = 'off';\n\n /**\n * Whether to disable auto disabling of the slotted components.\n */\n @Prop() noAutoDisable: boolean;\n\n /**\n * Sets the [`autofocus` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus) on the native input element.\n *\n * This may not be sufficient for the element to be focused on page load.\n */\n // eslint-disable-next-line @stencil-community/reserved-member-names\n @Prop() autofocus = false;\n\n /**\n * If `true`, the user cannot interact with the input.\n */\n @Prop() disabled = false;\n\n /**\n * A hint to the browser for which enter key to display.\n * Possible values: `\"enter\"`, `\"done\"`, `\"go\"`, `\"next\"`,\n * `\"previous\"`, `\"search\"`, and `\"send\"`.\n */\n // eslint-disable-next-line @stencil-community/reserved-member-names\n @Prop() enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';\n\n /**\n * Error text to show below the input. If this is provided the input will enter an error state.\n */\n @Prop() errorText?: string;\n\n /**\n * Helper text to show below the input. If `\"errorText\"` is provided that will take precedence.\n */\n @Prop() helperText?: string;\n\n /**\n * A hint to the browser for which keyboard to display.\n * Possible values: `\"none\"`, `\"text\"`, `\"tel\"`, `\"url\"`,\n * `\"email\"`, `\"numeric\"`, `\"decimal\"`, and `\"search\"`.\n */\n // eslint-disable-next-line @stencil-community/reserved-member-names\n @Prop() inputmode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';\n\n /**\n * The label for the input.\n */\n @Prop() label?: string;\n\n /**\n * The maximum value, which must not be less than its minimum (min attribute) value.\n */\n @Prop() max?: string | number;\n\n /**\n * 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.\n */\n @Prop() maxlength?: number;\n\n /**\n * The minimum value, which must not be greater than its maximum (max attribute) value.\n */\n @Prop() min?: string | number;\n\n /**\n * 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.\n */\n @Prop() minlength?: number;\n\n /**\n * 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.\n */\n @Prop() multiple?: boolean;\n\n /**\n * The name of the control, which is submitted with the form data.\n */\n @Prop() name: string = this.inputId;\n\n /**\n * 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.\n */\n @Prop() pattern?: string;\n\n /**\n * Instructional text that shows before the input has a value.\n * This property applies only when the `type` property is set to `\"email\"`,\n * `\"number\"`, `\"password\"`, `\"search\"`, `\"tel\"`, `\"text\"`, or `\"url\"`, otherwise it is ignored.\n */\n @Prop() placeholder?: string;\n\n /**\n * If `true`, the user cannot modify the value.\n */\n @Prop() readonly = false;\n\n /**\n * If `true`, the user must fill in a value before submitting a form.\n */\n @Prop() required = false;\n\n /**\n * If `true`, the label will display an \"optional\" tag.\n */\n @Prop() showOptionalLabel = false;\n\n /**\n * If `true`, the element will have its spelling and grammar checked.\n */\n // eslint-disable-next-line @stencil-community/reserved-member-names\n @Prop() spellcheck = false;\n\n /**\n * The external source of the icon at the start of the input. If both `startIcon` and `startIconSrc` are provided, `startIcon` will be used.\n */\n @Prop() startIconSrc?: string;\n\n /**\n * The name of the icon at the start of the input. If both `startIcon` and `startIconSrc` are provided, `startIcon` will be used.\n */\n @Prop() startIcon?: IconType;\n\n /**\n * Works with the min and max attributes to limit the increments at which a value can be set.\n * Possible values are: `\"any\"` or a positive floating point number.\n */\n @Prop() step?: string;\n\n /**\n * The type of control to display. The default type is `text`.\n */\n @Prop() type: TextFieldTypes = 'text';\n\n /**\n * The value of the controlled input.\n */\n @Prop({ mutable: true }) value?: string;\n\n /**\n * The `cpslInput` event is fired each time the user modifies the input's value.\n * Unlike the `cpslChange` event, the `cpslInput` event is fired for each alteration\n * to the input's value. This typically happens for each keystroke as the user types.\n *\n * For elements that accept text input (`type=text`, `type=tel`, etc.), the interface\n * is [`InputEvent`](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent); for others,\n * the interface is [`Event`](https://developer.mozilla.org/en-US/docs/Web/API/Event). If\n * the input is cleared on edit, the type is `null`.\n */\n @Event() cpslInput!: EventEmitter<InputInputEventDetail>;\n\n /**\n * The `cpslChange` event is fired when the user modifies the input's value.\n * Unlike the `cpslInput` event, the `cpslChange` event is only fired when changes\n * are committed, not as the user types.\n *\n * Depending on the way the users interacts with the element, the `cpslChange`\n * event fires at a different moment:\n * - When the element loses focus after its value has changed: for elements\n * where the user's interaction is typing.\n */\n @Event() cpslChange!: EventEmitter<InputChangeEventDetail>;\n\n /**\n * Emitted when the input loses focus.\n */\n @Event() cpslBlur!: EventEmitter<FocusEvent>;\n\n /**\n * Emitted when the input has focus.\n */\n @Event() cpslFocus!: EventEmitter<FocusEvent>;\n\n /**\n * Emitted when something has been paste into the input.\n */\n @Event() cpslPaste!: EventEmitter<ClipboardEvent>;\n\n @Watch('disabled')\n handleDisable() {\n if (this.disabled) {\n this.disableSlots();\n } else {\n this.enableSlots();\n }\n }\n\n /**\n * Update the native input element when the value changes\n */\n // @Watch('value')\n // protected valueChanged() {\n // const nativeInput = this.nativeInput;\n // const value = this.value;\n // if (nativeInput && nativeInput.value !== value) {\n // nativeInput.value = value;\n // }\n // Boolean(value) ? this.disableSlots() : this.enableSlots();\n // }\n\n componentDidLoad() {\n this.initButtons();\n if (Boolean(this.value)) {\n this.enableSlots();\n } else {\n this.disableSlots();\n }\n }\n\n private disableSlots() {\n if (!this.noAutoDisable) {\n this.endEl?.setAttribute('disabled', 'true');\n this.startEl?.setAttribute('disabled', 'true');\n }\n }\n\n private enableSlots() {\n this.endEl?.setAttribute('disabled', 'false');\n this.startEl?.setAttribute('disabled', 'false');\n }\n\n private initButtons() {\n if (this.endEl?.tagName === 'CPSL-BUTTON') {\n this.endEl.setAttribute('full-width', 'true');\n this.endEl.addEventListener('mousedown', e => {\n e.preventDefault();\n });\n }\n if (this.startEl?.tagName === 'CPSL-BUTTON') {\n this.startEl.setAttribute('full-width', 'true');\n this.startEl.addEventListener('mousedown', e => {\n e.preventDefault();\n });\n }\n }\n\n /**\n * Emits a `cpslInput` event.\n */\n private emitInputChange(event?: Event) {\n this.cpslInput.emit({ value: this.nativeInput.value, event });\n }\n\n /**\n * Emits a `cpslChange` event.\n *\n * This API should be called for user committed changes.\n * This API should not be used for external value changes.\n */\n private emitValueChange(event?: Event) {\n const { value } = this;\n // Checks for both null and undefined values\n const newValue = value == null ? value : value.toString();\n // Emitting a value change should update the internal state for tracking the focused value\n this.focusedValue = newValue;\n this.cpslChange.emit({ value: newValue, event });\n }\n\n private onInput = (ev: InputEvent) => {\n const input = ev.target as HTMLInputElement | null;\n if (Boolean(input)) {\n this.value = input.value || '';\n input.value === '' ? this.disableSlots() : this.enableSlots();\n }\n\n this.emitInputChange(ev);\n };\n\n private onChange = (ev: Event) => {\n this.emitValueChange(ev);\n };\n\n private onBlur = (ev: FocusEvent) => {\n this.hasFocus = false;\n\n if (this.focusedValue !== this.value) {\n /**\n * Emits the `cpslChange` event when the input value\n * is different than the value when the input was focused.\n */\n this.emitValueChange(ev);\n }\n\n this.cpslBlur.emit(ev);\n };\n\n private onFocus = (ev: FocusEvent) => {\n this.hasFocus = true;\n this.focusedValue = this.value;\n\n this.cpslFocus.emit(ev);\n };\n\n private onPaste = (ev: ClipboardEvent) => {\n ev.stopPropagation();\n ev.preventDefault();\n\n const input = ev.target as HTMLInputElement;\n const pasteData = ev.clipboardData?.getData('text') || '';\n\n // Manually set the value\n input.value = input.value + pasteData;\n this.value = this.value + pasteData;\n pasteData === '' ? this.disableSlots() : this.enableSlots();\n\n // Emit the cpslPaste event\n this.cpslPaste.emit(ev);\n\n // Emit the cpslChange event since the value was modified by paste\n this.emitInputChange(ev);\n };\n\n private focusInput = () => {\n this.nativeInput.focus();\n };\n\n private get startEl() {\n return this.el.querySelector('[slot=\"start\"]');\n }\n\n private get endEl() {\n return this.el.querySelector('[slot=\"end\"]');\n }\n\n render() {\n return (\n <Host class={{ 'disabled': this.disabled, 'focused': this.hasFocus, 'has-value': Boolean(this.focusedValue) || Boolean(this.value) }}>\n {this.label && (\n <label class=\"label\" htmlFor={this.inputId}>\n {this.label}\n {this.required ? '*' : ' '}\n {!this.required && this.showOptionalLabel ? <span class=\"optional-label\">(optional)</span> : ''}\n </label>\n )}\n <div class={{ 'input-container': true, 'error-container': Boolean(this.errorText) }}>\n <slot name=\"start\"></slot>\n <input\n class=\"native-input\"\n ref={input => (this.nativeInput = input)}\n id={this.inputId}\n disabled={this.disabled}\n autoCapitalize={this.autocapitalize}\n autoComplete={this.autocomplete}\n autoCorrect={this.autocorrect}\n autoFocus={this.autofocus}\n enterKeyHint={this.enterkeyhint}\n inputMode={this.inputmode}\n min={this.min}\n max={this.max}\n minLength={this.minlength}\n maxLength={this.maxlength}\n multiple={this.multiple}\n name={this.name}\n pattern={this.pattern}\n placeholder={this.placeholder || ''}\n readOnly={this.readonly}\n required={this.required}\n spellcheck={this.spellcheck}\n type={this.type}\n value={this.value}\n onInput={this.onInput}\n onChange={this.onChange}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.focusInput}\n onPaste={this.onPaste}\n />\n <slot name=\"end\"></slot>\n </div>\n {(this.errorText || this.helperText) && (\n <div class={{ 'helper-text-container': true, 'error-text': Boolean(this.errorText) }}>\n <span>{this.errorText ?? this.helperText}</span>\n </div>\n )}\n </Host>\n );\n }\n}\n\nlet inputIds = 0;\n"]}
@@ -28,7 +28,7 @@ export class CpslModalV2 {
28
28
  this.toggleHeight();
29
29
  }
30
30
  render() {
31
- return (h(Host, { key: 'ecdfd932091801f470beb579793ba8faaddd1858', class: { 'open': this.open, 'elevated': this.elevated, 'no-overlay': this.noOverlay } }, !this.noOverlay && (h("cpsl-overlay", { zIndexOverride: Boolean(this.zIndexOverride) ? this.zIndexOverride : undefined, id: "overlay", open: this.open, enterTransitionDuration: this.enterTransitionDuration, exitTransitionDuration: this.exitTransitionDuration })), h("cpsl-card", { key: '9c0d1dc565ed8d178f56e02d3e53cc6f979d66b5', class: "card", style: { transitionDuration: this.open ? `${this.exitTransitionDuration}s` : `${this.enterTransitionDuration}s` } }, h("slot", { key: 'be77c75323488daed7b254daeca431835f96f081' }))));
31
+ return (h(Host, { key: '98fc4419d1e9881662138ca176af3740526dc06f', class: { 'open': this.open, 'elevated': this.elevated, 'no-overlay': this.noOverlay } }, !this.noOverlay && (h("cpsl-overlay", { zIndexOverride: Boolean(this.zIndexOverride) ? this.zIndexOverride : undefined, id: "overlay", open: this.open, enterTransitionDuration: this.enterTransitionDuration, exitTransitionDuration: this.exitTransitionDuration })), h("cpsl-card", { key: '3c0281ed2f7440c06cf943089abec4051e6686db', class: "card", style: { transitionDuration: this.open ? `${this.exitTransitionDuration}s` : `${this.enterTransitionDuration}s` } }, h("slot", { key: '34cfe1bc0d5d70aaedf4fe50f2ba3d3b8dde02c1' }))));
32
32
  }
33
33
  static get is() { return "cpsl-modal-v2"; }
34
34
  static get encapsulation() { return "shadow"; }
@@ -32,7 +32,7 @@ export class CpslNavButtonGroup {
32
32
  return this.el.querySelectorAll('&> *:not(cpsl-button)');
33
33
  }
34
34
  render() {
35
- return (h(Host, { key: 'e5cf1902a3d5f8b6df197441e144987dcb016762' }, h("slot", { key: '56322f15e640f356fae1c9eb16f525753d91fdae' })));
35
+ return (h(Host, { key: 'f0b360c7c103bdfc3f759d21766d08cb9e907b26' }, h("slot", { key: 'b3efc6370232d945acc4732474553c45e1af44bf' })));
36
36
  }
37
37
  static get is() { return "cpsl-nav-button-group"; }
38
38
  static get encapsulation() { return "shadow"; }
@@ -27,7 +27,7 @@ export class CpslOverlay {
27
27
  }
28
28
  }
29
29
  render() {
30
- return (h(Host, { key: 'daa05884bc8489f8227873b6778e129bdf922ffd', style: Boolean(this.zIndexOverride) ? { zIndex: `${this.zIndexOverride}` } : {} }, h("slot", { key: 'd0783d37893a51fe16fe292c5847dc4acee627ee' })));
30
+ return (h(Host, { key: 'c9ae5cdb23f734b484ed7d65d4c10af909219e19', style: Boolean(this.zIndexOverride) ? { zIndex: `${this.zIndexOverride}` } : {} }, h("slot", { key: 'f2554f75fe1bd3e0e3afc1947220d3c004184e84' })));
31
31
  }
32
32
  static get is() { return "cpsl-overlay"; }
33
33
  static get encapsulation() { return "shadow"; }
@@ -71,7 +71,7 @@ export class CpslPagination {
71
71
  filteredPages.push(this.totalPages - 1);
72
72
  }
73
73
  }
74
- return (h(Host, { key: '42ae13b8cdb18ea35db7abc8195d49e36ee4494e' }, h("cpsl-button-group", { key: 'a031f2cda1cbd10724ef65cd2fd74b5b237b9841', selectedId: `${this.currentPage}` }, h("cpsl-button", { key: '83d653a99ce0eea881eb6332c9d7088b328c20dd', class: "arrow-button", onClick: this.handlePrevClick }, h("cpsl-icon", { key: '2e6650d7c873a9e2de4922c08c5b5b2fe27f2b33', class: { 'icon': true, 'start-icon': true }, icon: "arrowNarrow" })), filteredPages.map(page => (h("cpsl-button", { key: page, variant: "secondary", fullWidth: true, id: `${page}`, onClick: this.handlePageClick(page) }, h("cpsl-text", { variant: "bodyS" }, page + 1)))), h("cpsl-button", { key: '4cd4c8623368c96f3457d818a0542fd7ab560182', class: "arrow-button", onClick: this.handleNextClick }, h("cpsl-icon", { key: '52865869846d7afbe7a66f44f9564913caf97380', class: "icon", icon: "arrowNarrow" })))));
74
+ return (h(Host, { key: '669fa3f3bba14df60e803077c9d2a404f097df8b' }, h("cpsl-button-group", { key: 'c0f9e83b0fe7b88be553c680084452496a680238', selectedId: `${this.currentPage}` }, h("cpsl-button", { key: '5fb1deeb7e5dfa34379f761b41579276a75b861b', class: "arrow-button", onClick: this.handlePrevClick }, h("cpsl-icon", { key: '3825ef7d8dc0f2a617cae0ef2dbd480aaa503938', class: { 'icon': true, 'start-icon': true }, icon: "arrowNarrow" })), filteredPages.map(page => (h("cpsl-button", { key: page, variant: "secondary", fullWidth: true, id: `${page}`, onClick: this.handlePageClick(page) }, h("cpsl-text", { variant: "bodyS" }, page + 1)))), h("cpsl-button", { key: 'a34f9952205c99e373020c01102b11e09d780afb', class: "arrow-button", onClick: this.handleNextClick }, h("cpsl-icon", { key: '2339a4987bd4f254edf4ceb5340e740a2115f394', class: "icon", icon: "arrowNarrow" })))));
75
75
  }
76
76
  static get is() { return "cpsl-pagination"; }
77
77
  static get encapsulation() { return "shadow"; }
@@ -4,7 +4,7 @@ export class CpslPill {
4
4
  this.text = undefined;
5
5
  }
6
6
  render() {
7
- return (h(Host, { key: 'c57c4206cb82aef700747dee7712ed15ff5907b9' }, h("div", { key: 'bc60013838c2d7a7632269b711a506aa83e5b98c', class: "pill-container" }, h("span", { key: '6eb81137bfbe02e9fa68a5ef1399b7d73b6bc89b' }, this.text))));
7
+ return (h(Host, { key: '786008e1b56afcfcc472ca0f8a5f7999b214c695' }, h("div", { key: '8b3994767904542166b64bc245604a1a111b25e5', class: "pill-container" }, h("span", { key: '612243d8c39064eebf2a33a2a7427a2990f86502' }, this.text))));
8
8
  }
9
9
  static get is() { return "cpsl-pill"; }
10
10
  static get encapsulation() { return "shadow"; }
@@ -201,7 +201,7 @@ export class CpslPopover {
201
201
  }
202
202
  render() {
203
203
  var _a;
204
- return (h(Host, { key: '0932bff390ad54961067dcae19e121dc2ed701a0', class: {
204
+ return (h(Host, { key: '2f2d7a04d6d4cd9d51348e8e10de1f67594b8a2f', class: {
205
205
  'open': this.open,
206
206
  'transform-h-left': this.transformOriginHorizontal === 'left',
207
207
  'transform-h-center': this.transformOriginHorizontal === 'center',
@@ -209,7 +209,7 @@ export class CpslPopover {
209
209
  'transform-v-top': this.transformOriginVertical === 'top',
210
210
  'transform-v-center': this.transformOriginVertical === 'center',
211
211
  'transform-v-bottom': this.transformOriginVertical === 'bottom',
212
- }, style: { top: `${this.positionY}px`, left: `${this.positionX}px`, width: this.autoWidth ? 'auto' : `${(_a = this.triggerEl) === null || _a === void 0 ? void 0 : _a.clientWidth}px` } }, h("div", { key: 'a320096955a8ba71b14f8620fbe69eed66b4dc5d', id: "container", class: { container: true, open: this.open } }, h("slot", { key: '745bbee183c48bdbe079d7219690c556e9a9b442' }))));
212
+ }, style: { top: `${this.positionY}px`, left: `${this.positionX}px`, width: this.autoWidth ? 'auto' : `${(_a = this.triggerEl) === null || _a === void 0 ? void 0 : _a.clientWidth}px` } }, h("div", { key: '623048bf7c8b1192e180b6e91f72847db895b5b7', id: "container", class: { container: true, open: this.open } }, h("slot", { key: '4aa2e2fcacb0c591ff22308aff504c1ee6ef7740' }))));
213
213
  }
214
214
  static get is() { return "cpsl-popover"; }
215
215
  static get encapsulation() { return "shadow"; }
@@ -32,7 +32,7 @@ export class CpslQrCode {
32
32
  qrCode.append(container);
33
33
  }
34
34
  render() {
35
- return (h(Host, { key: '7f549a58192515bbb5a8b42948f042e7b4eaf271' }, h("div", { key: '4464496f4e8236abcdbde9e6e0f20f2e04b5b392', id: "qr-container", class: "qr-container" })));
35
+ return (h(Host, { key: 'bbd916357d9075c4113178d7ed920ebee86e8329' }, h("div", { key: 'fc8582bd83a34863c0789eba4faac4e49279245c', id: "qr-container", class: "qr-container" })));
36
36
  }
37
37
  static get is() { return "cpsl-qr-code"; }
38
38
  static get encapsulation() { return "shadow"; }
@@ -9,7 +9,7 @@ export class CpslRadio {
9
9
  this.checked = undefined;
10
10
  }
11
11
  render() {
12
- return (h(Host, { key: '15b4fdf30799927941280b3f11f4611e4e4d27b2' }, h("input", { key: 'd5bf9704061977610d98b99a6188933f720ffce3', type: "radio", checked: this.checked }), h("span", { key: 'd56242703448531efc847167b55013b420f17715', onClick: this.handleRadioClick, class: { container: true, checked: this.checked } })));
12
+ return (h(Host, { key: '21d9bb0ce71f910802c0297ce50c4944c798568e' }, h("input", { key: '0825569e820fcc80467ff95140610f5444250583', type: "radio", checked: this.checked }), h("span", { key: '55f3579b2c94bc841d26ad13d744109a6627e03a', onClick: this.handleRadioClick, class: { container: true, checked: this.checked } })));
13
13
  }
14
14
  static get is() { return "cpsl-radio"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,7 @@
1
1
  import { Host, h } from "@stencil/core";
2
2
  export class CpslRow {
3
3
  render() {
4
- return (h(Host, { key: '7f72521f5a00092d54fb143c73334dfdc8d5daf7' }, h("slot", { key: 'a23bda8f3a3178b61e409f73e6004586f8b26509' })));
4
+ return (h(Host, { key: '557a2f245ec7a47aa32d26c27cd2d944d63311a3' }, h("slot", { key: 'e39a195e96e045812dfda0f1509cc6e05c6efab6' })));
5
5
  }
6
6
  static get is() { return "cpsl-row"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -83,7 +83,7 @@ export class CpslSelect {
83
83
  }
84
84
  render() {
85
85
  var _a, _b, _c, _d;
86
- return (h(Host, { key: '96b15a986afbf40228adfb0ddfb5934ea79a9df0', id: this.id, class: { 'disabled': this.disabled, 'focused': this.hasFocus, 'has-value': Boolean(this.selectedValue) } }, this.label && (h("label", { class: "label", htmlFor: this.inputId }, this.label, this.required ? '*' : ' ', !this.required && this.showOptionalLabel ? h("span", { class: "optional-label" }, "(optional)") : '')), h("div", { key: 'b43bb6ef5670aff411a82391c5695f8840412f85', id: "select-container", class: { 'select-container': true, 'error-container': Boolean(this.errorText) }, onMouseDown: this.handleClick }, this.hasSelectedItem && this.showFormattedSelectedItem && h("slot", { name: "selected-item" }), h("div", { key: 'fa5654cfbeb30c963fd918599c4fc304e9d894c5', class: "selected-container-content", id: "selected-container-content" }, (!this.hasSelectedItem || !this.showFormattedSelectedItem) && (h("cpsl-text", { class: { 'selected-text': true, 'placeholder': !Boolean(this.selectedValue) } }, !Boolean(this.selectedValue) ? (_a = this.placeholder) !== null && _a !== void 0 ? _a : 'Select' : (_c = (_b = this.formatValue) === null || _b === void 0 ? void 0 : _b.call(this, this.selectedValue)) !== null && _c !== void 0 ? _c : this.selectedValue))), h("cpsl-icon", { key: '063de47032a31e2c7d114467cc4eaedfcf8d59a8', class: { 'chevron': true, 'open': this.popoverOpen, 'has-value': Boolean(this.selectedValue) }, icon: "chevronUp" }), h("input", { key: '760922353c0971b766d80ac45430ebc806833a9a', id: this.inputId, disabled: this.disabled, class: { disabled: this.disabled }, value: this.selectedValue, onFocus: this.onFocus, onBlur: this.onBlur, onKeyPress: this.handleEnterPress, inputmode: "none" })), (this.errorText || this.helperText) && (h("div", { class: { 'helper-text-container': true, 'error-text': Boolean(this.errorText) } }, h("span", null, (_d = this.errorText) !== null && _d !== void 0 ? _d : this.helperText))), h("cpsl-popover", { key: 'fcbf94fcc199d5415dc62faa3b7a0280f16418fa', autoWidth: false, trigger: this.id, preventBlur: this.hasFocus, disabled: this.disabled, anchorEl: this.anchorEl }, h("div", { key: '95aa9ce659bf279c502b0f8b6e068765a1f29d5d', class: "dropdown" }, h("div", { key: '4b83c05b33d370d9ce8fa7450b11b24c75ddb025', class: "dropdown-inner", style: { maxHeight: `${this.dropdownMaxHeight}px` } }, h("slot", { key: 'a94a087322953b56c4b9e488b5e23ab6f020d37f', name: "items" }))))));
86
+ return (h(Host, { key: '0ec074c0216518e90d4588c5ba35ababbe1203d1', id: this.id, class: { 'disabled': this.disabled, 'focused': this.hasFocus, 'has-value': Boolean(this.selectedValue) } }, this.label && (h("label", { class: "label", htmlFor: this.inputId }, this.label, this.required ? '*' : ' ', !this.required && this.showOptionalLabel ? h("span", { class: "optional-label" }, "(optional)") : '')), h("div", { key: 'c5a6744549329d2dd5541ee179b739d90c53d0bb', id: "select-container", class: { 'select-container': true, 'error-container': Boolean(this.errorText) }, onMouseDown: this.handleClick }, this.hasSelectedItem && this.showFormattedSelectedItem && h("slot", { name: "selected-item" }), h("div", { key: '2f0a489616ce1209e38ae697269a0aa21fc15ca5', class: "selected-container-content", id: "selected-container-content" }, (!this.hasSelectedItem || !this.showFormattedSelectedItem) && (h("cpsl-text", { class: { 'selected-text': true, 'placeholder': !Boolean(this.selectedValue) } }, !Boolean(this.selectedValue) ? (_a = this.placeholder) !== null && _a !== void 0 ? _a : 'Select' : (_c = (_b = this.formatValue) === null || _b === void 0 ? void 0 : _b.call(this, this.selectedValue)) !== null && _c !== void 0 ? _c : this.selectedValue))), h("cpsl-icon", { key: '14d3b5e85bc88d25d5b1a07e43b6b5dcc42d9bbd', class: { 'chevron': true, 'open': this.popoverOpen, 'has-value': Boolean(this.selectedValue) }, icon: "chevronUp" }), h("input", { key: '7bdbb9993a9e4d0c7faa789b52602f507ff60ce6', id: this.inputId, disabled: this.disabled, class: { disabled: this.disabled }, value: this.selectedValue, onFocus: this.onFocus, onBlur: this.onBlur, onKeyPress: this.handleEnterPress, inputmode: "none" })), (this.errorText || this.helperText) && (h("div", { class: { 'helper-text-container': true, 'error-text': Boolean(this.errorText) } }, h("span", null, (_d = this.errorText) !== null && _d !== void 0 ? _d : this.helperText))), h("cpsl-popover", { key: '2c9472eed686a63106d74e66743a7790d670c08c', autoWidth: false, trigger: this.id, preventBlur: this.hasFocus, disabled: this.disabled, anchorEl: this.anchorEl }, h("div", { key: '6c13e873fd8668cc4373b4abfd69a6e6cba3e05d', class: "dropdown" }, h("div", { key: 'd1f68bb998e2a2a2ccf73ae0dca79f9c27982aea', class: "dropdown-inner", style: { maxHeight: `${this.dropdownMaxHeight}px` } }, h("slot", { key: '617b013074f1127810bae1b92061487a127afc5e', name: "items" }))))));
87
87
  }
88
88
  static get is() { return "cpsl-select"; }
89
89
  static get encapsulation() { return "shadow"; }
@@ -8,7 +8,7 @@ export class CpslSelectItem {
8
8
  this.value = undefined;
9
9
  }
10
10
  render() {
11
- return (h(Host, { key: '5841f3aa3d70c17dcdfc8b1e0517ac822667ec87' }, h("div", { key: 'cbac6744fdce3f011765f0588f51fe89112239ad', class: "outer-container", onClick: this.handleItemClick }, h("div", { key: '30aee519e6dfd394a01d7ff9c503752cff1c7d64', class: { 'inner-container': true, 'selected': this.selected } }, h("slot", { key: '9458a0da2d73be3de5703c0dde0b6208cdd8a196' })))));
11
+ return (h(Host, { key: '84066a03c3ebbccae49d04f05029b304272286ba' }, h("div", { key: '03bc5dffdfdd1bfc0894b99631651c987c2cfb42', class: "outer-container", onClick: this.handleItemClick }, h("div", { key: 'ff2c77ab854c0e6f8b78664090629525c5c487ea', class: { 'inner-container': true, 'selected': this.selected } }, h("slot", { key: 'fe438b51b6c8781ef89898028348360188831e17' })))));
12
12
  }
13
13
  static get is() { return "cpsl-select-item"; }
14
14
  static get encapsulation() { return "shadow"; }
@@ -114,7 +114,7 @@ export class CpslSlideButton {
114
114
  return this.el.shadowRoot.getElementById('end-icon');
115
115
  }
116
116
  render() {
117
- return (h(Host, { key: '0538d1828e3eed534326536946e16b205e34fd96' }, h("div", { key: 'dfca014b41bcdb615a0fd8ce6242cf361a0399d7', id: "slider-container", class: "slider-container" }, h("div", { key: '8cad818d06a7fcc8b7e5a22b7714a6faf777db16', id: "start-slider-container-background", class: { 'start-slider-container-background': true, 'slider-container-background': true } }), h("div", { key: '0692e2b89ba22df7dca29d3b927810492591dd51', id: "end-slider-container-background", class: { 'end-slider-container-background': true, 'slider-container-background': true } }), h("div", { key: '865dc1b876daa97033541efeb32779ac07078179', id: "slider", class: { slider: true, disabled: this.disabled } }, h("cpsl-icon", { key: '2e5e0049eee016583715ae1a33dff74e36c6a515', id: "start-icon", class: { 'start-icon': true, 'icon': true }, icon: this.startIcon }), h("cpsl-icon", { key: '6e484c8497bf2e7777ebf93d3af141477d8f82e8', id: "end-icon", class: { 'end-icon': true, 'icon': true }, icon: this.endIcon })), h("span", { key: 'b7b8064fa212af5802ee21c170133ef0e32ff14c', id: "start-text", class: { 'start-text': true, 'disabled': this.disabled } }, this.startText), h("span", { key: 'b42e78a763a983bb17e7d02ed51253982be4546f', id: "end-text", class: "end-text" }, this.endText))));
117
+ return (h(Host, { key: 'e324f6ab0724db9b1e46d4ecdec344d922a31438' }, h("div", { key: '1c3050cd4b3158a3635df6d3c268a1bee9cba6e1', id: "slider-container", class: "slider-container" }, h("div", { key: 'd795a1044c2d28486896c56f7aef26487fd4d1b8', id: "start-slider-container-background", class: { 'start-slider-container-background': true, 'slider-container-background': true } }), h("div", { key: '17549823d2a3c0f81022d98c864476df656da97e', id: "end-slider-container-background", class: { 'end-slider-container-background': true, 'slider-container-background': true } }), h("div", { key: '51bf3ec5d4625a5fc0ba72b80ec5b3c46c15b5eb', id: "slider", class: { slider: true, disabled: this.disabled } }, h("cpsl-icon", { key: 'fbd515b708ba54c76774fdb5858508b5e3c040d7', id: "start-icon", class: { 'start-icon': true, 'icon': true }, icon: this.startIcon }), h("cpsl-icon", { key: 'abecef09803918c35be7a50d99ea1954a202ca74', id: "end-icon", class: { 'end-icon': true, 'icon': true }, icon: this.endIcon })), h("span", { key: 'ce327c0b3514c36824402aa3ad238a2277ea1ae5', id: "start-text", class: { 'start-text': true, 'disabled': this.disabled } }, this.startText), h("span", { key: '43dd271b3d5e5a5bbea81bdbf6fa75e66c37c37f', id: "end-text", class: "end-text" }, this.endText))));
118
118
  }
119
119
  static get is() { return "cpsl-slide-button"; }
120
120
  static get encapsulation() { return "shadow"; }
@@ -152,7 +152,7 @@ export class CpslSlideButton {
152
152
  "mutable": false,
153
153
  "complexType": {
154
154
  "original": "IconType",
155
- "resolved": "\"AD\" | \"AE\" | \"AF\" | \"AG\" | \"AI\" | \"AL\" | \"AM\" | \"AO\" | \"AR\" | \"AS\" | \"AT\" | \"AU\" | \"AW\" | \"AX\" | \"AZ\" | \"BA\" | \"BB\" | \"BD\" | \"BE\" | \"BF\" | \"BG\" | \"BH\" | \"BI\" | \"BJ\" | \"BL\" | \"BM\" | \"BN\" | \"BO\" | \"BQ\" | \"BQ2\" | \"BQ3\" | \"BR\" | \"BS\" | \"BT\" | \"BW\" | \"BY\" | \"BZ\" | \"CA\" | \"CC\" | \"CD\" | \"CD2\" | \"CF\" | \"CH\" | \"CK\" | \"CL\" | \"CM\" | \"CN\" | \"CO\" | \"CR\" | \"CU\" | \"CW\" | \"CX\" | \"CY\" | \"CZ\" | \"DE\" | \"DJ\" | \"DK\" | \"DM\" | \"DO\" | \"DS\" | \"DZ\" | \"EC\" | \"EE\" | \"EG\" | \"EH\" | \"ER\" | \"ES\" | \"ET\" | \"FI\" | \"FJ\" | \"FK\" | \"FM\" | \"FO\" | \"FR\" | \"GA\" | \"GB2\" | \"GB\" | \"GD\" | \"GE\" | \"GG\" | \"GH\" | \"GI\" | \"GL\" | \"GM\" | \"GN\" | \"GQ\" | \"GR\" | \"GT\" | \"GU\" | \"GW\" | \"GY\" | \"HK\" | \"HN\" | \"HR\" | \"HT\" | \"HU\" | \"ID\" | \"IE\" | \"IL\" | \"IM\" | \"IN\" | \"IO\" | \"IQ\" | \"IR\" | \"IS\" | \"IT\" | \"JE\" | \"JM\" | \"JO\" | \"JP\" | \"KE\" | \"KG\" | \"KH\" | \"KI\" | \"KM\" | \"KN\" | \"KP\" | \"KR\" | \"KW\" | \"KY\" | \"KZ\" | \"LA\" | \"LB\" | \"LC\" | \"LI\" | \"LK\" | \"LR\" | \"LS\" | \"LT\" | \"LU\" | \"LV\" | \"LY\" | \"MA\" | \"MC\" | \"MD\" | \"ME\" | \"MG\" | \"MH\" | \"MK\" | \"ML\" | \"MM\" | \"MN\" | \"MO\" | \"MP\" | \"MQ\" | \"MR\" | \"MS\" | \"MT\" | \"MU\" | \"MV\" | \"MW\" | \"MX\" | \"MY\" | \"MZ\" | \"NA\" | \"NE\" | \"NF\" | \"NG\" | \"NI\" | \"NL\" | \"NO\" | \"NP\" | \"NR\" | \"NU\" | \"NZ\" | \"OM\" | \"PA\" | \"PE\" | \"PF\" | \"PG\" | \"PH\" | \"PK\" | \"PL\" | \"PN\" | \"PR\" | \"PS\" | \"PT\" | \"PW\" | \"PY\" | \"QA\" | \"RO\" | \"RS\" | \"RU\" | \"RW\" | \"SA\" | \"SB\" | \"SC\" | \"SE\" | \"SG\" | \"SI\" | \"SK\" | \"SL\" | \"SM\" | \"SN\" | \"SO\" | \"SR\" | \"SS\" | \"ST\" | \"SV\" | \"SX\" | \"SY\" | \"SZ\" | \"TC\" | \"TD\" | \"TG\" | \"TH\" | \"TJ\" | \"TK\" | \"TL\" | \"TM\" | \"TN\" | \"TO\" | \"TR\" | \"TT\" | \"TV\" | \"TW\" | \"TZ\" | \"UA\" | \"UG\" | \"US\" | \"UY\" | \"UZ\" | \"VC\" | \"VE\" | \"VG\" | \"VI\" | \"VN\" | \"VU\" | \"WS\" | \"YE\" | \"ZA\" | \"ZM\" | \"ZW\" | \"alertCircle\" | \"angelListBrand\" | \"angelList\" | \"appleBrand\" | \"apple\" | \"arrowNarrow\" | \"arrow\" | \"backupKit\" | \"brush\" | \"capsuleLogo\" | \"capsuleRingsDark\" | \"capsuleRings\" | \"capsule\" | \"checkCircle\" | \"check\" | \"chevronUp\" | \"clock\" | \"close\" | \"clubhouseBrand\" | \"clubhouse\" | \"copy\" | \"cube\" | \"decentBrand\" | \"decent\" | \"discordBrand\" | \"discord\" | \"downloadCloud\" | \"dribbbleBrand\" | \"dribbble\" | \"earth\" | \"eyeOff\" | \"eye\" | \"facebookBrand\" | \"facebook\" | \"farcasterBrand\" | \"farcaster\" | \"figmaBrand\" | \"figma\" | \"file\" | \"githubBrand\" | \"github\" | \"googleBrand\" | \"google\" | \"helpCircle\" | \"heroEmail\" | \"heroLock\" | \"heroPasskey\" | \"heroPhone\" | \"heroWallet\" | \"home\" | \"image\" | \"infoCircle\" | \"instagramBrand\" | \"instagram\" | \"key\" | \"lightning01\" | \"lightning\" | \"linkedinBrand\" | \"linkedin\" | \"mail\" | \"menu\" | \"moreLoginOptions\" | \"phone\" | \"pintrestBrand\" | \"pintrest\" | \"plusCircle\" | \"rampNetworkBrand\" | \"rampNetwork\" | \"redditBrand\" | \"reddit\" | \"refresh\" | \"settings\" | \"signalBrand\" | \"signal\" | \"snapchatBrand\" | \"snapchat\" | \"stars\" | \"telegramBrand\" | \"telegram\" | \"tikTokBrand\" | \"tikTok\" | \"tumblrBrand\" | \"tumblr\" | \"twitterBrand\" | \"twitter\" | \"wallet\" | \"x\" | \"youtubeBrand\" | \"youtube\"",
155
+ "resolved": "\"alertCircle\" | \"angelListBrand\" | \"angelList\" | \"appleBrand\" | \"apple\" | \"arrowNarrow\" | \"arrow\" | \"backupKit\" | \"brush\" | \"capsuleLogo\" | \"capsuleRingsDark\" | \"capsuleRings\" | \"capsule\" | \"checkCircle\" | \"check\" | \"chevronUp\" | \"clock\" | \"close\" | \"clubhouseBrand\" | \"clubhouse\" | \"copy\" | \"cube\" | \"decentBrand\" | \"decent\" | \"discordBrand\" | \"discord\" | \"doubleArc\" | \"downloadCloud\" | \"dribbbleBrand\" | \"dribbble\" | \"earth\" | \"eyeOff\" | \"eye\" | \"facebookBrand\" | \"facebook\" | \"farcasterBrand\" | \"farcaster\" | \"figmaBrand\" | \"figma\" | \"file\" | \"githubBrand\" | \"github\" | \"googleBrand\" | \"google\" | \"helpCircle\" | \"heroEmail\" | \"heroLock\" | \"heroPasskey\" | \"heroPhone\" | \"heroWallet\" | \"home\" | \"image\" | \"infoCircle\" | \"instagramBrand\" | \"instagram\" | \"key\" | \"lightning01\" | \"lightning\" | \"linkedinBrand\" | \"linkedin\" | \"mail\" | \"menu\" | \"moreLoginOptions\" | \"phone\" | \"pintrestBrand\" | \"pintrest\" | \"plusCircle\" | \"rampNetworkBrand\" | \"rampNetwork\" | \"redditBrand\" | \"reddit\" | \"refresh\" | \"settings\" | \"signalBrand\" | \"signal\" | \"singleArc\" | \"snapchatBrand\" | \"snapchat\" | \"stars\" | \"telegramBrand\" | \"telegram\" | \"tikTokBrand\" | \"tikTok\" | \"tumblrBrand\" | \"tumblr\" | \"twitterBrand\" | \"twitter\" | \"wallet\" | \"x\" | \"youtubeBrand\" | \"youtube\" | \"AD\" | \"AE\" | \"AF\" | \"AG\" | \"AI\" | \"AL\" | \"AM\" | \"AO\" | \"AR\" | \"AS\" | \"AT\" | \"AU\" | \"AW\" | \"AX\" | \"AZ\" | \"BA\" | \"BB\" | \"BD\" | \"BE\" | \"BF\" | \"BG\" | \"BH\" | \"BI\" | \"BJ\" | \"BL\" | \"BM\" | \"BN\" | \"BO\" | \"BQ\" | \"BQ2\" | \"BQ3\" | \"BR\" | \"BS\" | \"BT\" | \"BW\" | \"BY\" | \"BZ\" | \"CA\" | \"CC\" | \"CD\" | \"CD2\" | \"CF\" | \"CH\" | \"CK\" | \"CL\" | \"CM\" | \"CN\" | \"CO\" | \"CR\" | \"CU\" | \"CW\" | \"CX\" | \"CY\" | \"CZ\" | \"DE\" | \"DJ\" | \"DK\" | \"DM\" | \"DO\" | \"DS\" | \"DZ\" | \"EC\" | \"EE\" | \"EG\" | \"EH\" | \"ER\" | \"ES\" | \"ET\" | \"FI\" | \"FJ\" | \"FK\" | \"FM\" | \"FO\" | \"FR\" | \"GA\" | \"GB2\" | \"GB\" | \"GD\" | \"GE\" | \"GG\" | \"GH\" | \"GI\" | \"GL\" | \"GM\" | \"GN\" | \"GQ\" | \"GR\" | \"GT\" | \"GU\" | \"GW\" | \"GY\" | \"HK\" | \"HN\" | \"HR\" | \"HT\" | \"HU\" | \"ID\" | \"IE\" | \"IL\" | \"IM\" | \"IN\" | \"IO\" | \"IQ\" | \"IR\" | \"IS\" | \"IT\" | \"JE\" | \"JM\" | \"JO\" | \"JP\" | \"KE\" | \"KG\" | \"KH\" | \"KI\" | \"KM\" | \"KN\" | \"KP\" | \"KR\" | \"KW\" | \"KY\" | \"KZ\" | \"LA\" | \"LB\" | \"LC\" | \"LI\" | \"LK\" | \"LR\" | \"LS\" | \"LT\" | \"LU\" | \"LV\" | \"LY\" | \"MA\" | \"MC\" | \"MD\" | \"ME\" | \"MG\" | \"MH\" | \"MK\" | \"ML\" | \"MM\" | \"MN\" | \"MO\" | \"MP\" | \"MQ\" | \"MR\" | \"MS\" | \"MT\" | \"MU\" | \"MV\" | \"MW\" | \"MX\" | \"MY\" | \"MZ\" | \"NA\" | \"NE\" | \"NF\" | \"NG\" | \"NI\" | \"NL\" | \"NO\" | \"NP\" | \"NR\" | \"NU\" | \"NZ\" | \"OM\" | \"PA\" | \"PE\" | \"PF\" | \"PG\" | \"PH\" | \"PK\" | \"PL\" | \"PN\" | \"PR\" | \"PS\" | \"PT\" | \"PW\" | \"PY\" | \"QA\" | \"RO\" | \"RS\" | \"RU\" | \"RW\" | \"SA\" | \"SB\" | \"SC\" | \"SE\" | \"SG\" | \"SI\" | \"SK\" | \"SL\" | \"SM\" | \"SN\" | \"SO\" | \"SR\" | \"SS\" | \"ST\" | \"SV\" | \"SX\" | \"SY\" | \"SZ\" | \"TC\" | \"TD\" | \"TG\" | \"TH\" | \"TJ\" | \"TK\" | \"TL\" | \"TM\" | \"TN\" | \"TO\" | \"TR\" | \"TT\" | \"TV\" | \"TW\" | \"TZ\" | \"UA\" | \"UG\" | \"US\" | \"UY\" | \"UZ\" | \"VC\" | \"VE\" | \"VG\" | \"VI\" | \"VN\" | \"VU\" | \"WS\" | \"YE\" | \"ZA\" | \"ZM\" | \"ZW\"",
156
156
  "references": {
157
157
  "IconType": {
158
158
  "location": "import",
@@ -192,7 +192,7 @@ export class CpslSlideButton {
192
192
  "mutable": false,
193
193
  "complexType": {
194
194
  "original": "IconType",
195
- "resolved": "\"AD\" | \"AE\" | \"AF\" | \"AG\" | \"AI\" | \"AL\" | \"AM\" | \"AO\" | \"AR\" | \"AS\" | \"AT\" | \"AU\" | \"AW\" | \"AX\" | \"AZ\" | \"BA\" | \"BB\" | \"BD\" | \"BE\" | \"BF\" | \"BG\" | \"BH\" | \"BI\" | \"BJ\" | \"BL\" | \"BM\" | \"BN\" | \"BO\" | \"BQ\" | \"BQ2\" | \"BQ3\" | \"BR\" | \"BS\" | \"BT\" | \"BW\" | \"BY\" | \"BZ\" | \"CA\" | \"CC\" | \"CD\" | \"CD2\" | \"CF\" | \"CH\" | \"CK\" | \"CL\" | \"CM\" | \"CN\" | \"CO\" | \"CR\" | \"CU\" | \"CW\" | \"CX\" | \"CY\" | \"CZ\" | \"DE\" | \"DJ\" | \"DK\" | \"DM\" | \"DO\" | \"DS\" | \"DZ\" | \"EC\" | \"EE\" | \"EG\" | \"EH\" | \"ER\" | \"ES\" | \"ET\" | \"FI\" | \"FJ\" | \"FK\" | \"FM\" | \"FO\" | \"FR\" | \"GA\" | \"GB2\" | \"GB\" | \"GD\" | \"GE\" | \"GG\" | \"GH\" | \"GI\" | \"GL\" | \"GM\" | \"GN\" | \"GQ\" | \"GR\" | \"GT\" | \"GU\" | \"GW\" | \"GY\" | \"HK\" | \"HN\" | \"HR\" | \"HT\" | \"HU\" | \"ID\" | \"IE\" | \"IL\" | \"IM\" | \"IN\" | \"IO\" | \"IQ\" | \"IR\" | \"IS\" | \"IT\" | \"JE\" | \"JM\" | \"JO\" | \"JP\" | \"KE\" | \"KG\" | \"KH\" | \"KI\" | \"KM\" | \"KN\" | \"KP\" | \"KR\" | \"KW\" | \"KY\" | \"KZ\" | \"LA\" | \"LB\" | \"LC\" | \"LI\" | \"LK\" | \"LR\" | \"LS\" | \"LT\" | \"LU\" | \"LV\" | \"LY\" | \"MA\" | \"MC\" | \"MD\" | \"ME\" | \"MG\" | \"MH\" | \"MK\" | \"ML\" | \"MM\" | \"MN\" | \"MO\" | \"MP\" | \"MQ\" | \"MR\" | \"MS\" | \"MT\" | \"MU\" | \"MV\" | \"MW\" | \"MX\" | \"MY\" | \"MZ\" | \"NA\" | \"NE\" | \"NF\" | \"NG\" | \"NI\" | \"NL\" | \"NO\" | \"NP\" | \"NR\" | \"NU\" | \"NZ\" | \"OM\" | \"PA\" | \"PE\" | \"PF\" | \"PG\" | \"PH\" | \"PK\" | \"PL\" | \"PN\" | \"PR\" | \"PS\" | \"PT\" | \"PW\" | \"PY\" | \"QA\" | \"RO\" | \"RS\" | \"RU\" | \"RW\" | \"SA\" | \"SB\" | \"SC\" | \"SE\" | \"SG\" | \"SI\" | \"SK\" | \"SL\" | \"SM\" | \"SN\" | \"SO\" | \"SR\" | \"SS\" | \"ST\" | \"SV\" | \"SX\" | \"SY\" | \"SZ\" | \"TC\" | \"TD\" | \"TG\" | \"TH\" | \"TJ\" | \"TK\" | \"TL\" | \"TM\" | \"TN\" | \"TO\" | \"TR\" | \"TT\" | \"TV\" | \"TW\" | \"TZ\" | \"UA\" | \"UG\" | \"US\" | \"UY\" | \"UZ\" | \"VC\" | \"VE\" | \"VG\" | \"VI\" | \"VN\" | \"VU\" | \"WS\" | \"YE\" | \"ZA\" | \"ZM\" | \"ZW\" | \"alertCircle\" | \"angelListBrand\" | \"angelList\" | \"appleBrand\" | \"apple\" | \"arrowNarrow\" | \"arrow\" | \"backupKit\" | \"brush\" | \"capsuleLogo\" | \"capsuleRingsDark\" | \"capsuleRings\" | \"capsule\" | \"checkCircle\" | \"check\" | \"chevronUp\" | \"clock\" | \"close\" | \"clubhouseBrand\" | \"clubhouse\" | \"copy\" | \"cube\" | \"decentBrand\" | \"decent\" | \"discordBrand\" | \"discord\" | \"downloadCloud\" | \"dribbbleBrand\" | \"dribbble\" | \"earth\" | \"eyeOff\" | \"eye\" | \"facebookBrand\" | \"facebook\" | \"farcasterBrand\" | \"farcaster\" | \"figmaBrand\" | \"figma\" | \"file\" | \"githubBrand\" | \"github\" | \"googleBrand\" | \"google\" | \"helpCircle\" | \"heroEmail\" | \"heroLock\" | \"heroPasskey\" | \"heroPhone\" | \"heroWallet\" | \"home\" | \"image\" | \"infoCircle\" | \"instagramBrand\" | \"instagram\" | \"key\" | \"lightning01\" | \"lightning\" | \"linkedinBrand\" | \"linkedin\" | \"mail\" | \"menu\" | \"moreLoginOptions\" | \"phone\" | \"pintrestBrand\" | \"pintrest\" | \"plusCircle\" | \"rampNetworkBrand\" | \"rampNetwork\" | \"redditBrand\" | \"reddit\" | \"refresh\" | \"settings\" | \"signalBrand\" | \"signal\" | \"snapchatBrand\" | \"snapchat\" | \"stars\" | \"telegramBrand\" | \"telegram\" | \"tikTokBrand\" | \"tikTok\" | \"tumblrBrand\" | \"tumblr\" | \"twitterBrand\" | \"twitter\" | \"wallet\" | \"x\" | \"youtubeBrand\" | \"youtube\"",
195
+ "resolved": "\"alertCircle\" | \"angelListBrand\" | \"angelList\" | \"appleBrand\" | \"apple\" | \"arrowNarrow\" | \"arrow\" | \"backupKit\" | \"brush\" | \"capsuleLogo\" | \"capsuleRingsDark\" | \"capsuleRings\" | \"capsule\" | \"checkCircle\" | \"check\" | \"chevronUp\" | \"clock\" | \"close\" | \"clubhouseBrand\" | \"clubhouse\" | \"copy\" | \"cube\" | \"decentBrand\" | \"decent\" | \"discordBrand\" | \"discord\" | \"doubleArc\" | \"downloadCloud\" | \"dribbbleBrand\" | \"dribbble\" | \"earth\" | \"eyeOff\" | \"eye\" | \"facebookBrand\" | \"facebook\" | \"farcasterBrand\" | \"farcaster\" | \"figmaBrand\" | \"figma\" | \"file\" | \"githubBrand\" | \"github\" | \"googleBrand\" | \"google\" | \"helpCircle\" | \"heroEmail\" | \"heroLock\" | \"heroPasskey\" | \"heroPhone\" | \"heroWallet\" | \"home\" | \"image\" | \"infoCircle\" | \"instagramBrand\" | \"instagram\" | \"key\" | \"lightning01\" | \"lightning\" | \"linkedinBrand\" | \"linkedin\" | \"mail\" | \"menu\" | \"moreLoginOptions\" | \"phone\" | \"pintrestBrand\" | \"pintrest\" | \"plusCircle\" | \"rampNetworkBrand\" | \"rampNetwork\" | \"redditBrand\" | \"reddit\" | \"refresh\" | \"settings\" | \"signalBrand\" | \"signal\" | \"singleArc\" | \"snapchatBrand\" | \"snapchat\" | \"stars\" | \"telegramBrand\" | \"telegram\" | \"tikTokBrand\" | \"tikTok\" | \"tumblrBrand\" | \"tumblr\" | \"twitterBrand\" | \"twitter\" | \"wallet\" | \"x\" | \"youtubeBrand\" | \"youtube\" | \"AD\" | \"AE\" | \"AF\" | \"AG\" | \"AI\" | \"AL\" | \"AM\" | \"AO\" | \"AR\" | \"AS\" | \"AT\" | \"AU\" | \"AW\" | \"AX\" | \"AZ\" | \"BA\" | \"BB\" | \"BD\" | \"BE\" | \"BF\" | \"BG\" | \"BH\" | \"BI\" | \"BJ\" | \"BL\" | \"BM\" | \"BN\" | \"BO\" | \"BQ\" | \"BQ2\" | \"BQ3\" | \"BR\" | \"BS\" | \"BT\" | \"BW\" | \"BY\" | \"BZ\" | \"CA\" | \"CC\" | \"CD\" | \"CD2\" | \"CF\" | \"CH\" | \"CK\" | \"CL\" | \"CM\" | \"CN\" | \"CO\" | \"CR\" | \"CU\" | \"CW\" | \"CX\" | \"CY\" | \"CZ\" | \"DE\" | \"DJ\" | \"DK\" | \"DM\" | \"DO\" | \"DS\" | \"DZ\" | \"EC\" | \"EE\" | \"EG\" | \"EH\" | \"ER\" | \"ES\" | \"ET\" | \"FI\" | \"FJ\" | \"FK\" | \"FM\" | \"FO\" | \"FR\" | \"GA\" | \"GB2\" | \"GB\" | \"GD\" | \"GE\" | \"GG\" | \"GH\" | \"GI\" | \"GL\" | \"GM\" | \"GN\" | \"GQ\" | \"GR\" | \"GT\" | \"GU\" | \"GW\" | \"GY\" | \"HK\" | \"HN\" | \"HR\" | \"HT\" | \"HU\" | \"ID\" | \"IE\" | \"IL\" | \"IM\" | \"IN\" | \"IO\" | \"IQ\" | \"IR\" | \"IS\" | \"IT\" | \"JE\" | \"JM\" | \"JO\" | \"JP\" | \"KE\" | \"KG\" | \"KH\" | \"KI\" | \"KM\" | \"KN\" | \"KP\" | \"KR\" | \"KW\" | \"KY\" | \"KZ\" | \"LA\" | \"LB\" | \"LC\" | \"LI\" | \"LK\" | \"LR\" | \"LS\" | \"LT\" | \"LU\" | \"LV\" | \"LY\" | \"MA\" | \"MC\" | \"MD\" | \"ME\" | \"MG\" | \"MH\" | \"MK\" | \"ML\" | \"MM\" | \"MN\" | \"MO\" | \"MP\" | \"MQ\" | \"MR\" | \"MS\" | \"MT\" | \"MU\" | \"MV\" | \"MW\" | \"MX\" | \"MY\" | \"MZ\" | \"NA\" | \"NE\" | \"NF\" | \"NG\" | \"NI\" | \"NL\" | \"NO\" | \"NP\" | \"NR\" | \"NU\" | \"NZ\" | \"OM\" | \"PA\" | \"PE\" | \"PF\" | \"PG\" | \"PH\" | \"PK\" | \"PL\" | \"PN\" | \"PR\" | \"PS\" | \"PT\" | \"PW\" | \"PY\" | \"QA\" | \"RO\" | \"RS\" | \"RU\" | \"RW\" | \"SA\" | \"SB\" | \"SC\" | \"SE\" | \"SG\" | \"SI\" | \"SK\" | \"SL\" | \"SM\" | \"SN\" | \"SO\" | \"SR\" | \"SS\" | \"ST\" | \"SV\" | \"SX\" | \"SY\" | \"SZ\" | \"TC\" | \"TD\" | \"TG\" | \"TH\" | \"TJ\" | \"TK\" | \"TL\" | \"TM\" | \"TN\" | \"TO\" | \"TR\" | \"TT\" | \"TV\" | \"TW\" | \"TZ\" | \"UA\" | \"UG\" | \"US\" | \"UY\" | \"UZ\" | \"VC\" | \"VE\" | \"VG\" | \"VI\" | \"VN\" | \"VU\" | \"WS\" | \"YE\" | \"ZA\" | \"ZM\" | \"ZW\"",
196
196
  "references": {
197
197
  "IconType": {
198
198
  "location": "import",