@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
@@ -1,11 +1,11 @@
1
- import { b as bootstrapLazy } from './index-2c447f86.js';
2
- export { s as setNonce } from './index-2c447f86.js';
1
+ import { b as bootstrapLazy } from './index-b188f201.js';
2
+ export { s as setNonce } from './index-b188f201.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;
7
7
  await globalScripts();
8
- return bootstrapLazy([["cpsl-modal-v2",[[1,"cpsl-modal-v2",{"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"],"elevated":[4],"noOverlay":[4,"no-overlay"],"open":[4],"zIndexOverride":[2,"z-index-override"]},null,{"open":["toggleHeight"]}]]],["cpsl-animation",[[1,"cpsl-animation",{"src":[1],"replayAnimation":[64]}]]],["cpsl-col",[[1,"cpsl-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]]]],["cpsl-grid",[[1,"cpsl-grid",{"fixed":[4]}]]],["cpsl-info-box",[[1,"cpsl-info-box"]]],["cpsl-row",[[1,"cpsl-row"]]],["cpsl-alert_33",[[1,"cpsl-pagination",{"initialPage":[2,"initial-page"],"totalPages":[2,"total-pages"],"visiblePages":[1026,"visible-pages"],"currentPage":[32]},null,{"currentPage":["watchChange"]}],[1,"cpsl-file-upload",{"errorText":[1,"error-text"],"externalFilename":[1,"external-filename"],"externalSrc":[1,"external-src"],"fileTypes":[16],"helperText":[1,"helper-text"],"label":[1],"required":[4],"showOptionalLabel":[4,"show-optional-label"],"uploadFile":[16],"file":[32],"dragOver":[32],"dragError":[32],"isUploading":[32],"uploadError":[32]}],[1,"cpsl-select",{"disabled":[4],"dropdownMaxHeight":[2,"dropdown-max-height"],"errorText":[1,"error-text"],"formatValue":[16],"helperText":[1,"helper-text"],"id":[1],"label":[1],"placeholder":[1],"required":[4],"selectedValue":[1,"selected-value"],"showFormattedSelectedItem":[4,"show-formatted-selected-item"],"showOptionalLabel":[4,"show-optional-label"],"anchorEl":[32],"hasFocus":[32],"popoverOpen":[32],"hasSelectedItem":[32]},[[0,"cpslSelectItemClick","selectItemClickHandler"],[0,"cpslOpen","onPopoverOpen"],[0,"cpslClose","onPopoverClose"]],{"selectedValue":["onValueChange","handleValueChange"]}],[1,"cpsl-alert",{"icon":[1],"variant":[1]}],[1,"cpsl-checkbox",{"checked":[4]}],[1,"cpsl-code-input",{"code":[1025],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"length":[2],"type":[1]}],[1,"cpsl-drawer",{"anchor":[1],"anchorPosition":[2,"anchor-position"],"noOverlay":[4,"no-overlay"],"open":[4],"size":[8],"transitionDuration":[2,"transition-duration"],"transitionFunction":[1,"transition-function"],"variant":[1],"zIndexOverride":[2,"z-index-override"],"closedAnchorPosition":[32],"showTransition":[32]}],[1,"cpsl-modal",{"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"],"footerExpanded":[4,"footer-expanded"],"footerTransitionDuration":[2,"footer-transition-duration"],"noOverlay":[4,"no-overlay"],"open":[4],"zIndexOverride":[2,"z-index-override"],"hasFooter":[32]},null,{"footerExpanded":["toggleHeight"],"open":["toggleModal"]}],[1,"cpsl-slide-button",{"disabled":[4],"endIcon":[1,"end-icon"],"endText":[1,"end-text"],"startIcon":[1,"start-icon"],"startText":[1,"start-text"]}],[1,"cpsl-table",{"hasHorizontalScroll":[32],"hasVerticalScroll":[32]}],[1,"cpsl-tile-button",{"src":[1],"icon":[1]}],[1,"cpsl-app-bar",{"height":[2],"position":[1],"zIndexOverride":[2,"z-index-override"]}],[1,"cpsl-avatar",{"alt":[1],"src":[1],"variant":[1]}],[1,"cpsl-divider"],[1,"cpsl-dropdown",{"width":[1],"hasCpslSearch":[4,"has-cpsl-search"],"items":[16],"selectedItem":[1040],"isOpen":[32],"searchQuery":[32],"filteredItems":[32]},[[9,"resize","handleResize"]],{"selectedItem":["handleSelectedItemChange"],"isOpen":["handleOpenChange"]}],[1,"cpsl-input",{"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"noAutoDisable":[4,"no-auto-disable"],"autofocus":[4],"disabled":[4],"enterkeyhint":[1],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"inputmode":[1],"label":[1],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"showOptionalLabel":[4,"show-optional-label"],"spellcheck":[4],"startIconSrc":[1,"start-icon-src"],"startIcon":[1,"start-icon"],"step":[1],"type":[1],"value":[1025],"hasFocus":[32]},null,{"disabled":["handleDisable"]}],[1,"cpsl-nav-button-group",{"selectedId":[1,"selected-id"]},null,{"selectedId":["selectItem"]}],[1,"cpsl-pill",{"text":[1]}],[1,"cpsl-progress-indicator",{"totalSteps":[2,"total-steps"],"step":[2]}],[1,"cpsl-qr-code",{"url":[1],"imageSrc":[1,"image-src"],"size":[2]}],[1,"cpsl-radio",{"checked":[4]}],[1,"cpsl-select-item",{"selected":[4],"value":[1]}],[1,"cpsl-switch",{"checked":[4]}],[1,"cpsl-tab",{"selected":[4],"tab":[1]},[[8,"cpslTabsChanged","onTabsChanged"],[8,"cpslTabsInit","onTabsInit"]]],[1,"cpsl-tabs",{"fullWidth":[4,"full-width"],"selectedTab":[1,"selected-tab"],"selectedTabRect":[32],"loaded":[32]},null,{"fullWidth":["updateSlider"],"selectedTab":["updateTab"]}],[1,"cpsl-button",{"as":[1],"disabled":[516],"fullWidth":[4,"full-width"],"href":[1],"size":[1],"target":[1],"variant":[513]}],[1,"cpsl-button-group",{"selectedId":[1,"selected-id"]},null,{"selectedId":["selectItem"]}],[1,"cpsl-popover",{"anchorEl":[16],"anchorOriginHorizontal":[1,"anchor-origin-horizontal"],"anchorOriginVertical":[1,"anchor-origin-vertical"],"autoWidth":[4,"auto-width"],"disabled":[4],"preventBlur":[4,"prevent-blur"],"transformOriginHorizontal":[1,"transform-origin-horizontal"],"transformOriginVertical":[1,"transform-origin-vertical"],"triggerAction":[1,"trigger-action"],"trigger":[1],"windowPadding":[2,"window-padding"],"open":[32],"positionX":[32],"positionY":[32],"closePopover":[64]},null,{"trigger":["onTriggerChange"],"triggerAction":["onTriggerChange"],"preventBlur":["onTriggerChange"],"anchorOriginHorizontal":["onAnchorChange"],"anchorOriginVertical":["onAnchorChange"],"open":["onOpenChange"]}],[1,"cpsl-spinner",{"size":[2],"speed":[2]}],[1,"cpsl-card"],[1,"cpsl-overlay",{"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"],"open":[4],"zIndexOverride":[2,"z-index-override"]},null,{"open":["toggleHeight"]}],[1,"cpsl-text",{"color":[1],"variant":[1],"weight":[1]}],[1,"cpsl-icon",{"src":[1],"icon":[1]}]]]], options);
8
+ return bootstrapLazy([["cpsl-modal-v2",[[1,"cpsl-modal-v2",{"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"],"elevated":[4],"noOverlay":[4,"no-overlay"],"open":[4],"zIndexOverride":[2,"z-index-override"]},null,{"open":["toggleHeight"]}]]],["cpsl-animation",[[1,"cpsl-animation",{"src":[1],"replayAnimation":[64]}]]],["cpsl-col",[[1,"cpsl-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]]]],["cpsl-grid",[[1,"cpsl-grid",{"fixed":[4]}]]],["cpsl-identicon",[[1,"cpsl-identicon",{"hash":[1],"size":[2]}]]],["cpsl-info-box",[[1,"cpsl-info-box"]]],["cpsl-row",[[1,"cpsl-row"]]],["cpsl-alert_34",[[1,"cpsl-pagination",{"initialPage":[2,"initial-page"],"totalPages":[2,"total-pages"],"visiblePages":[1026,"visible-pages"],"currentPage":[32]},null,{"currentPage":["watchChange"]}],[1,"cpsl-file-upload",{"errorText":[1,"error-text"],"externalFilename":[1,"external-filename"],"externalSrc":[1,"external-src"],"fileTypes":[16],"helperText":[1,"helper-text"],"label":[1],"required":[4],"showOptionalLabel":[4,"show-optional-label"],"uploadFile":[16],"file":[32],"dragOver":[32],"dragError":[32],"isUploading":[32],"uploadError":[32]}],[1,"cpsl-select",{"disabled":[4],"dropdownMaxHeight":[2,"dropdown-max-height"],"errorText":[1,"error-text"],"formatValue":[16],"helperText":[1,"helper-text"],"id":[1],"label":[1],"placeholder":[1],"required":[4],"selectedValue":[1,"selected-value"],"showFormattedSelectedItem":[4,"show-formatted-selected-item"],"showOptionalLabel":[4,"show-optional-label"],"anchorEl":[32],"hasFocus":[32],"popoverOpen":[32],"hasSelectedItem":[32]},[[0,"cpslSelectItemClick","selectItemClickHandler"],[0,"cpslOpen","onPopoverOpen"],[0,"cpslClose","onPopoverClose"]],{"selectedValue":["onValueChange","handleValueChange"]}],[1,"cpsl-alert",{"icon":[1],"variant":[1]}],[1,"cpsl-checkbox",{"checked":[4]}],[1,"cpsl-code-input",{"code":[1025],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"length":[2],"type":[1]}],[1,"cpsl-drawer",{"anchor":[1],"anchorPosition":[2,"anchor-position"],"noOverlay":[4,"no-overlay"],"open":[4],"size":[8],"transitionDuration":[2,"transition-duration"],"transitionFunction":[1,"transition-function"],"variant":[1],"zIndexOverride":[2,"z-index-override"],"closedAnchorPosition":[32],"showTransition":[32]}],[1,"cpsl-modal",{"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"],"footerExpanded":[4,"footer-expanded"],"footerTransitionDuration":[2,"footer-transition-duration"],"noOverlay":[4,"no-overlay"],"open":[4],"zIndexOverride":[2,"z-index-override"],"hasFooter":[32]},null,{"footerExpanded":["toggleHeight"],"open":["toggleModal"]}],[1,"cpsl-slide-button",{"disabled":[4],"endIcon":[1,"end-icon"],"endText":[1,"end-text"],"startIcon":[1,"start-icon"],"startText":[1,"start-text"]}],[1,"cpsl-table",{"hasHorizontalScroll":[32],"hasVerticalScroll":[32]}],[1,"cpsl-tile-button",{"src":[1],"icon":[1]}],[1,"cpsl-app-bar",{"height":[2],"position":[1],"zIndexOverride":[2,"z-index-override"]}],[1,"cpsl-avatar",{"alt":[1],"src":[1],"variant":[1]}],[1,"cpsl-divider"],[1,"cpsl-dropdown",{"width":[1],"hasCpslSearch":[4,"has-cpsl-search"],"items":[16],"selectedItem":[1040],"isOpen":[32],"searchQuery":[32],"filteredItems":[32]},[[9,"resize","handleResize"]],{"selectedItem":["handleSelectedItemChange"],"isOpen":["handleOpenChange"]}],[1,"cpsl-hero",{"variant":[513]}],[1,"cpsl-input",{"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"noAutoDisable":[4,"no-auto-disable"],"autofocus":[4],"disabled":[4],"enterkeyhint":[1],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"inputmode":[1],"label":[1],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"showOptionalLabel":[4,"show-optional-label"],"spellcheck":[4],"startIconSrc":[1,"start-icon-src"],"startIcon":[1,"start-icon"],"step":[1],"type":[1],"value":[1025],"hasFocus":[32]},null,{"disabled":["handleDisable"]}],[1,"cpsl-nav-button-group",{"selectedId":[1,"selected-id"]},null,{"selectedId":["selectItem"]}],[1,"cpsl-pill",{"text":[1]}],[1,"cpsl-progress-indicator",{"totalSteps":[2,"total-steps"],"step":[2]}],[1,"cpsl-qr-code",{"url":[1],"imageSrc":[1,"image-src"],"size":[2]}],[1,"cpsl-radio",{"checked":[4]}],[1,"cpsl-select-item",{"selected":[4],"value":[1]}],[1,"cpsl-switch",{"checked":[4]}],[1,"cpsl-tab",{"selected":[4],"tab":[1]},[[8,"cpslTabsChanged","onTabsChanged"],[8,"cpslTabsInit","onTabsInit"]]],[1,"cpsl-tabs",{"fullWidth":[4,"full-width"],"selectedTab":[1,"selected-tab"],"selectedTabRect":[32],"loaded":[32]},null,{"fullWidth":["updateSlider"],"selectedTab":["updateTab"]}],[1,"cpsl-button",{"as":[1],"disabled":[516],"fullWidth":[4,"full-width"],"href":[1],"size":[1],"target":[1],"variant":[513]}],[1,"cpsl-button-group",{"selectedId":[1,"selected-id"]},null,{"selectedId":["selectItem"]}],[1,"cpsl-popover",{"anchorEl":[16],"anchorOriginHorizontal":[1,"anchor-origin-horizontal"],"anchorOriginVertical":[1,"anchor-origin-vertical"],"autoWidth":[4,"auto-width"],"disabled":[4],"preventBlur":[4,"prevent-blur"],"transformOriginHorizontal":[1,"transform-origin-horizontal"],"transformOriginVertical":[1,"transform-origin-vertical"],"triggerAction":[1,"trigger-action"],"trigger":[1],"windowPadding":[2,"window-padding"],"open":[32],"positionX":[32],"positionY":[32],"closePopover":[64]},null,{"trigger":["onTriggerChange"],"triggerAction":["onTriggerChange"],"preventBlur":["onTriggerChange"],"anchorOriginHorizontal":["onAnchorChange"],"anchorOriginVertical":["onAnchorChange"],"open":["onOpenChange"]}],[1,"cpsl-spinner",{"size":[2],"speed":[2]}],[1,"cpsl-card"],[1,"cpsl-overlay",{"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"],"open":[4],"zIndexOverride":[2,"z-index-override"]},null,{"open":["toggleHeight"]}],[1,"cpsl-text",{"color":[1],"variant":[1],"weight":[1]}],[1,"cpsl-icon",{"src":[1],"icon":[1]}]]]], options);
9
9
  };
10
10
 
11
11
  export { defineCustomElements };
@@ -0,0 +1,90 @@
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
+ const fs = require('fs');
21
+ const fsPromises = require('fs').promises;
22
+ function toCamelCase(text) {
23
+ return text.replace(/-\w/g, clearAndUpper);
24
+ }
25
+ function toPascalCase(text) {
26
+ return text.replace(/(^\w|-\w)/g, clearAndUpper);
27
+ }
28
+ function clearAndUpper(text) {
29
+ return text.replace(/-/, '').toUpperCase();
30
+ }
31
+ const buildIconLibrary = () => {
32
+ let files = fs.readdirSync('./src/assets/icons');
33
+ let flagFiles = fs.readdirSync('./src/assets/icons/flags');
34
+ let importString = '';
35
+ let objString = 'export const Icons = {';
36
+ for (const fileName of files) {
37
+ if (!fileName.includes('.svg')) {
38
+ continue;
39
+ }
40
+ const fileNameNoExt = fileName.split('.')[0];
41
+ const camelCaseFileName = toCamelCase(fileNameNoExt);
42
+ const pascalCaseFileName = toPascalCase(fileNameNoExt);
43
+ importString += `import ${pascalCaseFileName} from './${fileName}';`;
44
+ objString += `${camelCaseFileName}: ${pascalCaseFileName},`;
45
+ }
46
+ for (const fileName of flagFiles) {
47
+ if (!fileName.includes('.svg')) {
48
+ continue;
49
+ }
50
+ const fileNameNoExt = fileName.split('.')[0];
51
+ const camelCaseFileName = toCamelCase(fileNameNoExt);
52
+ const pascalCaseFileName = toPascalCase(fileNameNoExt);
53
+ importString += `import ${pascalCaseFileName} from './flags/${fileName}';`;
54
+ objString += `${camelCaseFileName}: ${pascalCaseFileName},`;
55
+ }
56
+ const codeStr = `${importString}\n${objString}}`;
57
+ fs.writeFile('./src/assets/icons/index.ts', codeStr, 'utf8', err => {
58
+ if (err) {
59
+ console.error(err);
60
+ }
61
+ });
62
+ };
63
+ const buildImages = () => __awaiter(this, void 0, void 0, function* () {
64
+ const files = fs.readdirSync('./src/assets/images');
65
+ let objString = 'export const Images = {';
66
+ for (let i = 0; i < files.length; i++) {
67
+ const fileName = files[i];
68
+ if (!fileName.includes('png') && !fileName.includes('jpg') && !fileName.includes('jpeg')) {
69
+ continue;
70
+ }
71
+ const content = yield fsPromises.readFile(`./src/assets/images/${fileName}`, { encoding: 'base64' });
72
+ const fileNameSplit = fileName.split('.');
73
+ const ext = fileNameSplit[1];
74
+ const fileNameNoExt = fileNameSplit[0];
75
+ const camelCaseFileName = toCamelCase(fileNameNoExt);
76
+ const dataUrl = `data:image/${ext};base64,${content}`;
77
+ objString += `${camelCaseFileName}: "${dataUrl}",`;
78
+ }
79
+ fs.writeFile('./src/assets/images/index.ts', `${objString}}`, 'utf8', err => {
80
+ if (err) {
81
+ console.error(err);
82
+ }
83
+ });
84
+ });
85
+ const main = () => {
86
+ buildIconLibrary();
87
+ buildImages();
88
+ };
89
+ main();
90
+ //# sourceMappingURL=buildAssets.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildAssets.js","sourceRoot":"","sources":["../../scripts/buildAssets.ts"],"names":[],"mappings":";;;;;;;;;AAAA,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;AACzB,MAAM,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC;AAE1C,SAAS,WAAW,CAAC,IAAI;IACvB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;AAC7C,CAAC;AAED,SAAS,YAAY,CAAC,IAAI;IACxB,OAAO,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE,aAAa,CAAC,CAAC;AACnD,CAAC;AAED,SAAS,aAAa,CAAC,IAAI;IACzB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;AAC7C,CAAC;AACD,MAAM,gBAAgB,GAAG,GAAG,EAAE;IAC5B,IAAI,KAAK,GAAa,EAAE,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC;IAC3D,IAAI,SAAS,GAAG,EAAE,CAAC,WAAW,CAAC,0BAA0B,CAAC,CAAC;IAE3D,IAAI,YAAY,GAAG,EAAE,CAAC;IACtB,IAAI,SAAS,GAAG,wBAAwB,CAAC;IAEzC,KAAK,MAAM,QAAQ,IAAI,KAAK,EAAE,CAAC;QAC7B,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;YAC/B,SAAS;QACX,CAAC;QAED,MAAM,aAAa,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;QAE7C,MAAM,iBAAiB,GAAG,WAAW,CAAC,aAAa,CAAC,CAAC;QACrD,MAAM,kBAAkB,GAAG,YAAY,CAAC,aAAa,CAAC,CAAC;QAEvD,YAAY,IAAI,UAAU,kBAAkB,YAAY,QAAQ,IAAI,CAAC;QACrE,SAAS,IAAI,GAAG,iBAAiB,KAAK,kBAAkB,GAAG,CAAC;IAC9D,CAAC;IAED,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;QACjC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;YAC/B,SAAS;QACX,CAAC;QAED,MAAM,aAAa,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;QAE7C,MAAM,iBAAiB,GAAG,WAAW,CAAC,aAAa,CAAC,CAAC;QACrD,MAAM,kBAAkB,GAAG,YAAY,CAAC,aAAa,CAAC,CAAC;QAEvD,YAAY,IAAI,UAAU,kBAAkB,kBAAkB,QAAQ,IAAI,CAAC;QAC3E,SAAS,IAAI,GAAG,iBAAiB,KAAK,kBAAkB,GAAG,CAAC;IAC9D,CAAC;IAED,MAAM,OAAO,GAAG,GAAG,YAAY,KAAK,SAAS,GAAG,CAAC;IACjD,EAAE,CAAC,SAAS,CAAC,6BAA6B,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE;QACjE,IAAI,GAAG,EAAE,CAAC;YACR,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACrB,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAEF,MAAM,WAAW,GAAG,GAAS,EAAE;IAC7B,MAAM,KAAK,GAAa,EAAE,CAAC,WAAW,CAAC,qBAAqB,CAAC,CAAC;IAE9D,IAAI,SAAS,GAAG,yBAAyB,CAAC;IAE1C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACtC,MAAM,QAAQ,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;QAE1B,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;YACzF,SAAS;QACX,CAAC;QAED,MAAM,OAAO,GAAG,MAAM,UAAU,CAAC,QAAQ,CAAC,uBAAuB,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CAAC;QAErG,MAAM,aAAa,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC1C,MAAM,GAAG,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC;QAC7B,MAAM,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC;QAEvC,MAAM,iBAAiB,GAAG,WAAW,CAAC,aAAa,CAAC,CAAC;QAErD,MAAM,OAAO,GAAG,cAAc,GAAG,WAAW,OAAO,EAAE,CAAC;QAEtD,SAAS,IAAI,GAAG,iBAAiB,MAAM,OAAO,IAAI,CAAC;IACrD,CAAC;IAED,EAAE,CAAC,SAAS,CAAC,8BAA8B,EAAE,GAAG,SAAS,GAAG,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE;QAC1E,IAAI,GAAG,EAAE,CAAC;YACR,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACrB,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC,CAAA,CAAC;AAEF,MAAM,IAAI,GAAG,GAAG,EAAE;IAChB,gBAAgB,EAAE,CAAC;IACnB,WAAW,EAAE,CAAC;AAChB,CAAC,CAAC;AACF,IAAI,EAAE,CAAC","sourcesContent":["const fs = require('fs');\nconst fsPromises = require('fs').promises;\n\nfunction toCamelCase(text) {\n return text.replace(/-\\w/g, clearAndUpper);\n}\n\nfunction toPascalCase(text) {\n return text.replace(/(^\\w|-\\w)/g, clearAndUpper);\n}\n\nfunction clearAndUpper(text) {\n return text.replace(/-/, '').toUpperCase();\n}\nconst buildIconLibrary = () => {\n let files: string[] = fs.readdirSync('./src/assets/icons');\n let flagFiles = fs.readdirSync('./src/assets/icons/flags');\n\n let importString = '';\n let objString = 'export const Icons = {';\n\n for (const fileName of files) {\n if (!fileName.includes('.svg')) {\n continue;\n }\n\n const fileNameNoExt = fileName.split('.')[0];\n\n const camelCaseFileName = toCamelCase(fileNameNoExt);\n const pascalCaseFileName = toPascalCase(fileNameNoExt);\n\n importString += `import ${pascalCaseFileName} from './${fileName}';`;\n objString += `${camelCaseFileName}: ${pascalCaseFileName},`;\n }\n\n for (const fileName of flagFiles) {\n if (!fileName.includes('.svg')) {\n continue;\n }\n\n const fileNameNoExt = fileName.split('.')[0];\n\n const camelCaseFileName = toCamelCase(fileNameNoExt);\n const pascalCaseFileName = toPascalCase(fileNameNoExt);\n\n importString += `import ${pascalCaseFileName} from './flags/${fileName}';`;\n objString += `${camelCaseFileName}: ${pascalCaseFileName},`;\n }\n\n const codeStr = `${importString}\\n${objString}}`;\n fs.writeFile('./src/assets/icons/index.ts', codeStr, 'utf8', err => {\n if (err) {\n console.error(err);\n }\n });\n};\n\nconst buildImages = async () => {\n const files: string[] = fs.readdirSync('./src/assets/images');\n\n let objString = 'export const Images = {';\n\n for (let i = 0; i < files.length; i++) {\n const fileName = files[i];\n\n if (!fileName.includes('png') && !fileName.includes('jpg') && !fileName.includes('jpeg')) {\n continue;\n }\n\n const content = await fsPromises.readFile(`./src/assets/images/${fileName}`, { encoding: 'base64' });\n\n const fileNameSplit = fileName.split('.');\n const ext = fileNameSplit[1];\n const fileNameNoExt = fileNameSplit[0];\n\n const camelCaseFileName = toCamelCase(fileNameNoExt);\n\n const dataUrl = `data:image/${ext};base64,${content}`;\n\n objString += `${camelCaseFileName}: \"${dataUrl}\",`;\n }\n\n fs.writeFile('./src/assets/images/index.ts', `${objString}}`, 'utf8', err => {\n if (err) {\n console.error(err);\n }\n });\n};\n\nconst main = () => {\n buildIconLibrary();\n buildImages();\n};\nmain();\n"]}
@@ -1,5 +1,8 @@
1
1
  declare const fs: any;
2
+ declare const fsPromises: any;
2
3
  declare function toCamelCase(text: any): any;
3
4
  declare function toPascalCase(text: any): any;
4
5
  declare function clearAndUpper(text: any): any;
6
+ declare const buildIconLibrary: () => void;
7
+ declare const buildImages: () => Promise<void>;
5
8
  declare const main: () => void;
@@ -1,4 +1,95 @@
1
1
  export declare const Icons: {
2
+ alertCircle: string;
3
+ angelListBrand: string;
4
+ angelList: string;
5
+ appleBrand: string;
6
+ apple: string;
7
+ arrowNarrow: string;
8
+ arrow: string;
9
+ backupKit: string;
10
+ brush: string;
11
+ capsuleLogo: string;
12
+ capsuleRingsDark: string;
13
+ capsuleRings: string;
14
+ capsule: string;
15
+ checkCircle: string;
16
+ check: string;
17
+ chevronUp: string;
18
+ clock: string;
19
+ close: string;
20
+ clubhouseBrand: string;
21
+ clubhouse: string;
22
+ copy: string;
23
+ cube: string;
24
+ decentBrand: string;
25
+ decent: string;
26
+ discordBrand: string;
27
+ discord: string;
28
+ doubleArc: string;
29
+ downloadCloud: string;
30
+ dribbbleBrand: string;
31
+ dribbble: string;
32
+ earth: string;
33
+ eyeOff: string;
34
+ eye: string;
35
+ facebookBrand: string;
36
+ facebook: string;
37
+ farcasterBrand: string;
38
+ farcaster: string;
39
+ figmaBrand: string;
40
+ figma: string;
41
+ file: string;
42
+ githubBrand: string;
43
+ github: string;
44
+ googleBrand: string;
45
+ google: string;
46
+ helpCircle: string;
47
+ heroEmail: string;
48
+ heroLock: string;
49
+ heroPasskey: string;
50
+ heroPhone: string;
51
+ heroWallet: string;
52
+ home: string;
53
+ image: string;
54
+ infoCircle: string;
55
+ instagramBrand: string;
56
+ instagram: string;
57
+ key: string;
58
+ lightning01: string;
59
+ lightning: string;
60
+ linkedinBrand: string;
61
+ linkedin: string;
62
+ mail: string;
63
+ menu: string;
64
+ moreLoginOptions: string;
65
+ phone: string;
66
+ pintrestBrand: string;
67
+ pintrest: string;
68
+ plusCircle: string;
69
+ rampNetworkBrand: string;
70
+ rampNetwork: string;
71
+ redditBrand: string;
72
+ reddit: string;
73
+ refresh: string;
74
+ settings: string;
75
+ signalBrand: string;
76
+ signal: string;
77
+ singleArc: string;
78
+ snapchatBrand: string;
79
+ snapchat: string;
80
+ stars: string;
81
+ telegramBrand: string;
82
+ telegram: string;
83
+ tikTokBrand: string;
84
+ tikTok: string;
85
+ tumblrBrand: string;
86
+ tumblr: string;
87
+ twitterBrand: string;
88
+ twitter: string;
89
+ wallet: string;
90
+ x: string;
91
+ youtubeBrand: string;
92
+ youtube: string;
2
93
  AD: string;
3
94
  AE: string;
4
95
  AF: string;
@@ -232,93 +323,4 @@ export declare const Icons: {
232
323
  ZA: string;
233
324
  ZM: string;
234
325
  ZW: string;
235
- alertCircle: string;
236
- angelListBrand: string;
237
- angelList: string;
238
- appleBrand: string;
239
- apple: string;
240
- arrowNarrow: string;
241
- arrow: string;
242
- backupKit: string;
243
- brush: string;
244
- capsuleLogo: string;
245
- capsuleRingsDark: string;
246
- capsuleRings: string;
247
- capsule: string;
248
- checkCircle: string;
249
- check: string;
250
- chevronUp: string;
251
- clock: string;
252
- close: string;
253
- clubhouseBrand: string;
254
- clubhouse: string;
255
- copy: string;
256
- cube: string;
257
- decentBrand: string;
258
- decent: string;
259
- discordBrand: string;
260
- discord: string;
261
- downloadCloud: string;
262
- dribbbleBrand: string;
263
- dribbble: string;
264
- earth: string;
265
- eyeOff: string;
266
- eye: string;
267
- facebookBrand: string;
268
- facebook: string;
269
- farcasterBrand: string;
270
- farcaster: string;
271
- figmaBrand: string;
272
- figma: string;
273
- file: string;
274
- githubBrand: string;
275
- github: string;
276
- googleBrand: string;
277
- google: string;
278
- helpCircle: string;
279
- heroEmail: string;
280
- heroLock: string;
281
- heroPasskey: string;
282
- heroPhone: string;
283
- heroWallet: string;
284
- home: string;
285
- image: string;
286
- infoCircle: string;
287
- instagramBrand: string;
288
- instagram: string;
289
- key: string;
290
- lightning01: string;
291
- lightning: string;
292
- linkedinBrand: string;
293
- linkedin: string;
294
- mail: string;
295
- menu: string;
296
- moreLoginOptions: string;
297
- phone: string;
298
- pintrestBrand: string;
299
- pintrest: string;
300
- plusCircle: string;
301
- rampNetworkBrand: string;
302
- rampNetwork: string;
303
- redditBrand: string;
304
- reddit: string;
305
- refresh: string;
306
- settings: string;
307
- signalBrand: string;
308
- signal: string;
309
- snapchatBrand: string;
310
- snapchat: string;
311
- stars: string;
312
- telegramBrand: string;
313
- telegram: string;
314
- tikTokBrand: string;
315
- tikTok: string;
316
- tumblrBrand: string;
317
- tumblr: string;
318
- twitterBrand: string;
319
- twitter: string;
320
- wallet: string;
321
- x: string;
322
- youtubeBrand: string;
323
- youtube: string;
324
326
  };
@@ -0,0 +1,5 @@
1
+ export declare const Images: {
2
+ heroDefault: string;
3
+ heroPending: string;
4
+ heroSuccess: string;
5
+ };
@@ -0,0 +1,15 @@
1
+ import type { Meta, StoryFn } from '@storybook/html';
2
+ import { type CpslButton } from './cpsl-button';
3
+ declare const meta: Meta<CpslButton & {
4
+ content?: string;
5
+ }>;
6
+ export default meta;
7
+ type Story = StoryFn<CpslButton & {
8
+ content?: string;
9
+ }>;
10
+ export declare const Primary: Story;
11
+ export declare const Secondary: Story;
12
+ export declare const Ghost: Story;
13
+ export declare const Destructive: Story;
14
+ export declare const Icon: Story;
15
+ export declare const PrimaryWithIcon: Story;
@@ -0,0 +1,4 @@
1
+ export declare class CpslHero {
2
+ variant?: 'connection' | 'pending' | 'approved' | 'failed';
3
+ render(): any;
4
+ }
@@ -0,0 +1,13 @@
1
+ import type { Meta, StoryFn } from '@storybook/html';
2
+ import { type CpslHero } from './cpsl-hero';
3
+ declare const meta: Meta<CpslHero & {
4
+ content?: string;
5
+ }>;
6
+ export default meta;
7
+ type Story = StoryFn<CpslHero & {
8
+ content?: string;
9
+ }>;
10
+ export declare const Connection: Story;
11
+ export declare const Pending: Story;
12
+ export declare const Approved: Story;
13
+ export declare const Failed: Story;
@@ -0,0 +1,5 @@
1
+ export declare class CpslIdenticon {
2
+ hash: string;
3
+ size: number;
4
+ render(): any;
5
+ }
@@ -0,0 +1,10 @@
1
+ import type { Meta, StoryFn } from '@storybook/html';
2
+ import { type CpslIdenticon } from './cpsl-identicon';
3
+ declare const meta: Meta<CpslIdenticon & {
4
+ content?: string;
5
+ }>;
6
+ export default meta;
7
+ type Story = StoryFn<CpslIdenticon & {
8
+ content?: string;
9
+ }>;
10
+ export declare const Primary: Story;
@@ -332,6 +332,12 @@ export namespace Components {
332
332
  */
333
333
  "fixed": boolean;
334
334
  }
335
+ interface CpslHero {
336
+ /**
337
+ * The variant of the button. Options are: `"default"`, `"loading", `"success". Default is: `"default"`.
338
+ */
339
+ "variant"?: 'connection' | 'pending' | 'approved' | 'failed';
340
+ }
335
341
  interface CpslIcon {
336
342
  /**
337
343
  * The name of the icon. If both `icon` and `src` are provided, `icon` will be used.
@@ -342,6 +348,13 @@ export namespace Components {
342
348
  */
343
349
  "src"?: string;
344
350
  }
351
+ interface CpslIdenticon {
352
+ "hash": string;
353
+ /**
354
+ * The size of the identicon. Default is: 40.
355
+ */
356
+ "size": number;
357
+ }
345
358
  interface CpslInfoBox {
346
359
  }
347
360
  interface CpslInput {
@@ -988,12 +1001,24 @@ declare global {
988
1001
  prototype: HTMLCpslGridElement;
989
1002
  new (): HTMLCpslGridElement;
990
1003
  };
1004
+ interface HTMLCpslHeroElement extends Components.CpslHero, HTMLStencilElement {
1005
+ }
1006
+ var HTMLCpslHeroElement: {
1007
+ prototype: HTMLCpslHeroElement;
1008
+ new (): HTMLCpslHeroElement;
1009
+ };
991
1010
  interface HTMLCpslIconElement extends Components.CpslIcon, HTMLStencilElement {
992
1011
  }
993
1012
  var HTMLCpslIconElement: {
994
1013
  prototype: HTMLCpslIconElement;
995
1014
  new (): HTMLCpslIconElement;
996
1015
  };
1016
+ interface HTMLCpslIdenticonElement extends Components.CpslIdenticon, HTMLStencilElement {
1017
+ }
1018
+ var HTMLCpslIdenticonElement: {
1019
+ prototype: HTMLCpslIdenticonElement;
1020
+ new (): HTMLCpslIdenticonElement;
1021
+ };
997
1022
  interface HTMLCpslInfoBoxElement extends Components.CpslInfoBox, HTMLStencilElement {
998
1023
  }
999
1024
  var HTMLCpslInfoBoxElement: {
@@ -1295,7 +1320,9 @@ declare global {
1295
1320
  "cpsl-dropdown": HTMLCpslDropdownElement;
1296
1321
  "cpsl-file-upload": HTMLCpslFileUploadElement;
1297
1322
  "cpsl-grid": HTMLCpslGridElement;
1323
+ "cpsl-hero": HTMLCpslHeroElement;
1298
1324
  "cpsl-icon": HTMLCpslIconElement;
1325
+ "cpsl-identicon": HTMLCpslIdenticonElement;
1299
1326
  "cpsl-info-box": HTMLCpslInfoBoxElement;
1300
1327
  "cpsl-input": HTMLCpslInputElement;
1301
1328
  "cpsl-modal": HTMLCpslModalElement;
@@ -1664,6 +1691,12 @@ declare namespace LocalJSX {
1664
1691
  */
1665
1692
  "fixed"?: boolean;
1666
1693
  }
1694
+ interface CpslHero {
1695
+ /**
1696
+ * The variant of the button. Options are: `"default"`, `"loading", `"success". Default is: `"default"`.
1697
+ */
1698
+ "variant"?: 'connection' | 'pending' | 'approved' | 'failed';
1699
+ }
1667
1700
  interface CpslIcon {
1668
1701
  /**
1669
1702
  * The name of the icon. If both `icon` and `src` are provided, `icon` will be used.
@@ -1674,6 +1707,13 @@ declare namespace LocalJSX {
1674
1707
  */
1675
1708
  "src"?: string;
1676
1709
  }
1710
+ interface CpslIdenticon {
1711
+ "hash"?: string;
1712
+ /**
1713
+ * The size of the identicon. Default is: 40.
1714
+ */
1715
+ "size"?: number;
1716
+ }
1677
1717
  interface CpslInfoBox {
1678
1718
  }
1679
1719
  interface CpslInput {
@@ -2224,7 +2264,9 @@ declare namespace LocalJSX {
2224
2264
  "cpsl-dropdown": CpslDropdown;
2225
2265
  "cpsl-file-upload": CpslFileUpload;
2226
2266
  "cpsl-grid": CpslGrid;
2267
+ "cpsl-hero": CpslHero;
2227
2268
  "cpsl-icon": CpslIcon;
2269
+ "cpsl-identicon": CpslIdenticon;
2228
2270
  "cpsl-info-box": CpslInfoBox;
2229
2271
  "cpsl-input": CpslInput;
2230
2272
  "cpsl-modal": CpslModal;
@@ -2269,7 +2311,9 @@ declare module "@stencil/core" {
2269
2311
  "cpsl-dropdown": LocalJSX.CpslDropdown & JSXBase.HTMLAttributes<HTMLCpslDropdownElement>;
2270
2312
  "cpsl-file-upload": LocalJSX.CpslFileUpload & JSXBase.HTMLAttributes<HTMLCpslFileUploadElement>;
2271
2313
  "cpsl-grid": LocalJSX.CpslGrid & JSXBase.HTMLAttributes<HTMLCpslGridElement>;
2314
+ "cpsl-hero": LocalJSX.CpslHero & JSXBase.HTMLAttributes<HTMLCpslHeroElement>;
2272
2315
  "cpsl-icon": LocalJSX.CpslIcon & JSXBase.HTMLAttributes<HTMLCpslIconElement>;
2316
+ "cpsl-identicon": LocalJSX.CpslIdenticon & JSXBase.HTMLAttributes<HTMLCpslIdenticonElement>;
2273
2317
  "cpsl-info-box": LocalJSX.CpslInfoBox & JSXBase.HTMLAttributes<HTMLCpslInfoBoxElement>;
2274
2318
  "cpsl-input": LocalJSX.CpslInput & JSXBase.HTMLAttributes<HTMLCpslInputElement>;
2275
2319
  "cpsl-modal": LocalJSX.CpslModal & JSXBase.HTMLAttributes<HTMLCpslModalElement>;
@@ -1,4 +1,5 @@
1
1
  import { Icons } from './assets/icons';
2
+ import { Images } from './assets/images';
2
3
  export type PredefinedColors = 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger' | 'light' | 'medium' | 'dark';
3
4
  export type AutocompleteTypes = 'on' | 'off' | 'name' | 'honorific-prefix' | 'given-name' | 'additional-name' | 'family-name' | 'honorific-suffix' | 'nickname' | 'email' | 'username' | 'new-password' | 'current-password' | 'one-time-code' | 'organization-title' | 'organization' | 'street-address' | 'address-line1' | 'address-line2' | 'address-line3' | 'address-level4' | 'address-level3' | 'address-level2' | 'address-level1' | 'country' | 'country-name' | 'postal-code' | 'cc-name' | 'cc-given-name' | 'cc-additional-name' | 'cc-family-name' | 'cc-family-name' | 'cc-number' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-csc' | 'cc-type' | 'transaction-currency' | 'transaction-amount' | 'language' | 'bday' | 'bday-day' | 'bday-month' | 'bday-year' | 'sex' | 'tel' | 'tel-country-code' | 'tel-national' | 'tel-area-code' | 'tel-local' | 'tel-extension' | 'impp' | 'url' | 'photo';
4
5
  export type TextFieldTypes = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url' | 'time' | 'week' | 'month' | 'datetime-local';
@@ -8,6 +9,7 @@ export type CssClassMap = {
8
9
  [className: string]: boolean;
9
10
  };
10
11
  export type IconType = keyof typeof Icons;
12
+ export type ImageType = keyof typeof Images;
11
13
  export type Theme = {
12
14
  foregroundColor?: string;
13
15
  backgroundColor?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usecapsule/core-components",
3
- "version": "3.1.2",
3
+ "version": "3.2.0-dev.0",
4
4
  "description": "Capsule Core Components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -16,14 +16,16 @@
16
16
  "css/"
17
17
  ],
18
18
  "scripts": {
19
- "build": "yarn build:icons && yarn build:css && stencil build",
20
- "start": "yarn build:icons && yarn build:css && stencil build --dev --watch --serve",
19
+ "build": "yarn build:assets && yarn build:css && stencil build",
20
+ "start": "yarn build:assets && yarn build:css && stencil build --dev --watch --serve",
21
21
  "test": "stencil test --spec --e2e",
22
22
  "test.watch": "stencil test --spec --e2e --watchAll",
23
23
  "generate": "stencil generate",
24
24
  "lint": "eslint src/**/*{.ts,.tsx}",
25
25
  "build:css": "sass --embed-sources src/css:./css",
26
- "build:icons": "ts-node -T ./scripts/buildIconLibrary.ts"
26
+ "build:assets": "ts-node -T ./scripts/buildAssets.ts",
27
+ "storybook": "storybook dev -p 6006",
28
+ "build-storybook": "storybook build"
27
29
  },
28
30
  "dependencies": {
29
31
  "@stencil/core": "^4.7.0",
@@ -34,22 +36,35 @@
34
36
  "qr-code-styling": "^1.6.0-rc.1"
35
37
  },
36
38
  "devDependencies": {
39
+ "@babel/plugin-transform-react-jsx": "^7.24.7",
37
40
  "@stencil-community/eslint-plugin": "^0.7.2",
38
41
  "@stencil/react-output-target": "^0.5.3",
39
42
  "@stencil/sass": "^3.0.10",
43
+ "@storybook/addon-essentials": "^8.1.11",
44
+ "@storybook/addon-interactions": "^8.1.11",
45
+ "@storybook/addon-links": "^8.1.11",
46
+ "@storybook/addon-notes": "^5.3.21",
47
+ "@storybook/addon-webpack5-compiler-swc": "^1.0.4",
48
+ "@storybook/blocks": "^8.1.11",
49
+ "@storybook/html": "^8.1.11",
50
+ "@storybook/html-webpack5": "^8.1.11",
51
+ "@storybook/test": "^8.1.11",
40
52
  "@types/jest": "^29.5.6",
41
53
  "@types/node": "^16.18.11",
42
54
  "@typescript-eslint/eslint-plugin": "^7.1.1",
43
55
  "@typescript-eslint/parser": "^7.1.1",
44
56
  "eslint": "^8.57.0",
45
57
  "eslint-plugin-react": "^7.34.0",
58
+ "eslint-plugin-storybook": "^0.8.0",
46
59
  "jest": "^29.7.0",
47
60
  "jest-cli": "^29.7.0",
48
61
  "puppeteer": "^21.9.0",
49
62
  "rollup-plugin-dotenv": "^0.5.0",
63
+ "rollup-plugin-node-polyfills": "^0.2.1",
50
64
  "sass": "^1.71.1",
51
65
  "stencil-inline-svg": "^1.1.0",
66
+ "storybook": "^8.1.11",
52
67
  "ts-node": "^10.9.2"
53
68
  },
54
- "gitHead": "2f151dbfca37fa9061f16dff921c5c5e798d0fa8"
69
+ "gitHead": "ca0d8cab915d9cef706c8dd619176032cdcd165f"
55
70
  }