@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,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-2c447f86.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-b188f201.js';
2
2
  import { c as commonjsGlobal } from './_commonjsHelpers-1789f0cf.js';
3
3
 
4
4
  var lottie$1 = {exports: {}};
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, f as forceUpdate, h, H as Host } from './index-2c447f86.js';
1
+ import { r as registerInstance, f as forceUpdate, h, H as Host } from './index-b188f201.js';
2
2
 
3
3
  const SIZE_TO_MEDIA = {
4
4
  xs: '(min-width: 0px)',
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-2c447f86.js';
1
+ import { r as registerInstance, h, H as Host } from './index-b188f201.js';
2
2
 
3
3
  const cpslGridCss = ":host{-webkit-padding-start:var(--cpsl-grid-padding-xs, var(--cpsl-grid-padding, 0px));padding-inline-start:var(--cpsl-grid-padding-xs, var(--cpsl-grid-padding, 0px));-webkit-padding-end:var(--cpsl-grid-padding-xs, var(--cpsl-grid-padding, 0px));padding-inline-end:var(--cpsl-grid-padding-xs, var(--cpsl-grid-padding, 0px));padding-top:var(--cpsl-grid-padding-xs, var(--cpsl-grid-padding, 0px));padding-bottom:var(--cpsl-grid-padding-xs, var(--cpsl-grid-padding, 0px));-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;display:block;flex:1}@media (min-width: 576px){:host{-webkit-padding-start:var(--cpsl-grid-padding-sm, var(--cpsl-grid-padding, 0px));padding-inline-start:var(--cpsl-grid-padding-sm, var(--cpsl-grid-padding, 0px));-webkit-padding-end:var(--cpsl-grid-padding-sm, var(--cpsl-grid-padding, 0px));padding-inline-end:var(--cpsl-grid-padding-sm, var(--cpsl-grid-padding, 0px));padding-top:var(--cpsl-grid-padding-sm, var(--cpsl-grid-padding, 0px));padding-bottom:var(--cpsl-grid-padding-sm, var(--cpsl-grid-padding, 0px))}}@media (min-width: 768px){:host{-webkit-padding-start:var(--cpsl-grid-padding-md, var(--cpsl-grid-padding, 0px));padding-inline-start:var(--cpsl-grid-padding-md, var(--cpsl-grid-padding, 0px));-webkit-padding-end:var(--cpsl-grid-padding-md, var(--cpsl-grid-padding, 0px));padding-inline-end:var(--cpsl-grid-padding-md, var(--cpsl-grid-padding, 0px));padding-top:var(--cpsl-grid-padding-md, var(--cpsl-grid-padding, 0px));padding-bottom:var(--cpsl-grid-padding-md, var(--cpsl-grid-padding, 0px))}}@media (min-width: 992px){:host{-webkit-padding-start:var(--cpsl-grid-padding-lg, var(--cpsl-grid-padding, 0px));padding-inline-start:var(--cpsl-grid-padding-lg, var(--cpsl-grid-padding, 0px));-webkit-padding-end:var(--cpsl-grid-padding-lg, var(--cpsl-grid-padding, 0px));padding-inline-end:var(--cpsl-grid-padding-lg, var(--cpsl-grid-padding, 0px));padding-top:var(--cpsl-grid-padding-lg, var(--cpsl-grid-padding, 0px));padding-bottom:var(--cpsl-grid-padding-lg, var(--cpsl-grid-padding, 0px))}}@media (min-width: 1200px){:host{-webkit-padding-start:var(--cpsl-grid-padding-xl, var(--cpsl-grid-padding, 0px));padding-inline-start:var(--cpsl-grid-padding-xl, var(--cpsl-grid-padding, 0px));-webkit-padding-end:var(--cpsl-grid-padding-xl, var(--cpsl-grid-padding, 0px));padding-inline-end:var(--cpsl-grid-padding-xl, var(--cpsl-grid-padding, 0px));padding-top:var(--cpsl-grid-padding-xl, var(--cpsl-grid-padding, 0px));padding-bottom:var(--cpsl-grid-padding-xl, var(--cpsl-grid-padding, 0px))}}:host(.grid-fixed){width:var(--cpsl-grid-width-xs, var(--cpsl-grid-width, 100%));max-width:100%}@media (min-width: 576px){:host(.grid-fixed){width:var(--cpsl-grid-width-sm, var(--cpsl-grid-width, 540px))}}@media (min-width: 768px){:host(.grid-fixed){width:var(--cpsl-grid-width-md, var(--cpsl-grid-width, 720px))}}@media (min-width: 992px){:host(.grid-fixed){width:var(--cpsl-grid-width-lg, var(--cpsl-grid-width, 960px))}}@media (min-width: 1200px){:host(.grid-fixed){width:var(--cpsl-grid-width-xl, var(--cpsl-grid-width, 1140px))}}:host(.cpsl-no-padding){--cpsl-grid-column-padding:0;--cpsl-grid-column-padding-xs:0;--cpsl-grid-column-padding-sm:0;--cpsl-grid-column-padding-md:0;--cpsl-grid-column-padding-lg:0;--cpsl-grid-column-padding-xl:0}";
4
4
  const CpslGridStyle0 = cpslGridCss;
@@ -0,0 +1,58 @@
1
+ import { r as registerInstance, h, H as Host } from './index-b188f201.js';
2
+
3
+ const cpslIdenticonCss = ":host{--identicon-background-red:linear-gradient(136deg, #FF4270 6.86%, #FF7C7C 93.78%);--identicon-background-orange:linear-gradient(136deg, #F45532 6.86%, #FF9B63 93.78%);--identicon-background-yellow:linear-gradient(136deg, #FFA756 6.86%, #FBFF47 93.78%);--identicon-background-green:linear-gradient(136deg, #0CAE60 6.86%, #7BFFD0 93.78%);--identicon-background-blue:linear-gradient(136deg, #476FFF 6.86%, #47C8FF 93.78%);--identicon-background-purple:linear-gradient(136deg, #9747FF 6.86%, #DA47FF 93.78%);display:block;width:62px;height:62px;aspect-ratio:1;border-radius:6px;position:relative;border:1px solid var(--cpsl-color-background-8)}:host>svg{fill:rgba(255, 255, 255, 0.6);position:absolute;width:35%}:host>svg.rotate90{transform:rotate(0.25turn)}:host>svg.rotate180{transform:rotate(0.5turn)}:host>svg.rotate270{transform:rotate(0.75turn)}:host>svg:nth-child(1){right:50%;bottom:50%}:host>svg:nth-child(2){left:50%;bottom:50%}:host>svg:nth-child(3){right:50%;top:50%}:host>svg:nth-child(4){left:50%;top:50%}:host(.red){background:var(--identicon-background-red)}:host(.orange){background:var(--identicon-background-orange)}:host(.green){background:var(--identicon-background-green)}:host(.yellow){background:var(--identicon-background-yellow)}:host(.blue){background:var(--identicon-background-blue)}:host(.purple){background:var(--identicon-background-purple)}";
4
+ const CpslIdenticonStyle0 = cpslIdenticonCss;
5
+
6
+ const SingleArc = (rotation) => (h("svg", { class: {
7
+ rotate90: rotation === 1,
8
+ rotate180: rotation === 2,
9
+ rotate270: rotation === 3,
10
+ }, viewBox: "0 0 12 12", xmlns: "http://www.w3.org/2000/svg" }, h("g", { "clip-path": "url(#clip0_674_66)" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", 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" })), h("defs", null, h("clipPath", { id: "clip0_674_66" }, h("rect", { width: "12", height: "12" })))));
11
+ const DoubleArc = (rotation) => (h("svg", { class: {
12
+ rotate90: rotation === 1,
13
+ rotate180: rotation === 2,
14
+ rotate270: rotation === 3,
15
+ }, viewBox: "0 0 12 12", xmlns: "http://www.w3.org/2000/svg" }, h("g", { "clip-path": "url(#clip0_674_255)" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", 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" }), h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", 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" })), h("defs", null, h("clipPath", { id: "clip0_674_255" }, h("rect", { width: "12", height: "12" })))));
16
+ const CpslIdenticon = class {
17
+ constructor(hostRef) {
18
+ registerInstance(this, hostRef);
19
+ this.hash = undefined;
20
+ this.size = 40;
21
+ }
22
+ render() {
23
+ const [code, color] = stringToBinaryAndColor(this.hash);
24
+ const shapeA = ((code >> 2) & 1) !== 0;
25
+ const shapeB = ((code >> 3) & 1) !== 0;
26
+ const shapeC = ((code >> 4) & 1) !== 0;
27
+ const shapeD = ((code >> 5) & 1) !== 0;
28
+ const rotationA = (code >> 6) & 3;
29
+ const rotationB = (code >> 7) & 3;
30
+ const rotationC = (code >> 8) & 3;
31
+ const rotationD = (code >> 9) & 3;
32
+ const [shapes, rotations] = [
33
+ [shapeA, shapeB, shapeC, shapeD],
34
+ [rotationA, rotationB, rotationC, rotationD],
35
+ ];
36
+ return (h(Host, { key: '96fca00db5c91275e22f22b36b2688eab2c2a3b6', class: {
37
+ red: color === 'red',
38
+ orange: color === 'orange',
39
+ yellow: color === 'yellow',
40
+ green: color === 'green',
41
+ blue: color === 'blue',
42
+ purple: color === 'purple',
43
+ } }, shapes.map((isDouble, index) => {
44
+ return isDouble ? DoubleArc(rotations[index]) : SingleArc(rotations[index]);
45
+ })));
46
+ }
47
+ };
48
+ const COLORS = ['red', 'orange', 'yellow', 'green', 'blue', 'purple'];
49
+ function stringToBinaryAndColor(hash) {
50
+ const code = (hash.charCodeAt(0) << 24) | (hash.charCodeAt(1) << 16) | (hash.charCodeAt(2) << 8) | hash.charCodeAt(3);
51
+ const color = COLORS[Math.abs(code % 6)];
52
+ return [code, color];
53
+ }
54
+ CpslIdenticon.style = CpslIdenticonStyle0;
55
+
56
+ export { CpslIdenticon as cpsl_identicon };
57
+
58
+ //# sourceMappingURL=cpsl-identicon.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"cpsl-identicon.entry.js","mappings":"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","names":[],"sources":["src/components/cpsl-identicon/cpsl-identicon.scss?tag=cpsl-identicon&encapsulation=shadow","src/components/cpsl-identicon/cpsl-identicon.tsx"],"sourcesContent":[":host {\n --identicon-background-red: linear-gradient(136deg, #FF4270 6.86%, #FF7C7C 93.78%);\n --identicon-background-orange: linear-gradient(136deg, #F45532 6.86%, #FF9B63 93.78%);\n --identicon-background-yellow: linear-gradient(136deg, #FFA756 6.86%, #FBFF47 93.78%);\n --identicon-background-green: linear-gradient(136deg, #0CAE60 6.86%, #7BFFD0 93.78%);\n --identicon-background-blue: linear-gradient(136deg, #476FFF 6.86%, #47C8FF 93.78%);\n --identicon-background-purple: linear-gradient(136deg, #9747FF 6.86%, #DA47FF 93.78%);\n\n display: block;\n width: 62px;\n height: 62px;\n aspect-ratio: 1;\n border-radius: 6px;\n position: relative;\n border: 1px solid var(--cpsl-color-background-8);\n\n & > svg {\n fill: rgba(255, 255, 255, 0.6);\n position: absolute;\n width: 35%;\n }\n\n & > svg.rotate90 {\n transform: rotate(.25turn);\n }\n\n & > svg.rotate180 {\n transform: rotate(.5turn);\n }\n\n & > svg.rotate270 {\n transform: rotate(.75turn);\n }\n\n & > svg:nth-child(1) {\n right: 50%;\n bottom: 50%;\n }\n\n & > svg:nth-child(2) {\n left: 50%;\n bottom: 50%;\n }\n\n & > svg:nth-child(3) {\n right: 50%;\n top: 50%;\n }\n\n & > svg:nth-child(4) {\n left: 50%;\n top: 50%;\n }\n}\n\n:host(.red) {\n background: var(--identicon-background-red);\n}\n\n:host(.orange) {\n background: var(--identicon-background-orange);\n}\n\n:host(.green) {\n background: var(--identicon-background-green);\n}\n\n:host(.yellow) {\n background: var(--identicon-background-yellow);\n}\n\n:host(.blue) {\n background: var(--identicon-background-blue);\n}\n\n:host(.purple) {\n background: var(--identicon-background-purple);\n}\n","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"],"version":3}
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-2c447f86.js';
1
+ import { r as registerInstance, h, H as Host } from './index-b188f201.js';
2
2
 
3
3
  const cpslInfoBoxCss = ":host{--box-border-radius:var(--cpsl-border-radius-info-box);--box-padding-top:16px;--box-padding-bottom:16px;--box-padding-start:16px;--box-padding-end:16px;--box-border-width:1px}.info-box-container{border-radius:var(--input-border-radius);-webkit-padding-start:var(--box-padding-start);padding-inline-start:var(--box-padding-start);-webkit-padding-end:var(--box-padding-end);padding-inline-end:var(--box-padding-end);padding-top:var(--box-padding-top);padding-bottom:var(--box-padding-bottom);display:flex;background:var(--cpsl-color-background-secondary);border:var(--box-border-width) solid var(--cpsl-color-input-border-placeholder);border-radius:var(--box-border-radius)}";
4
4
  const CpslInfoBoxStyle0 = cpslInfoBoxCss;
@@ -8,7 +8,7 @@ const CpslInfoBox = class {
8
8
  registerInstance(this, hostRef);
9
9
  }
10
10
  render() {
11
- return (h(Host, { key: '60852c54e233d29363761d07715aab5b7d86e4b0' }, h("div", { key: '970d11a996e58604455833c5a31a9ae26abadb95', class: "info-box-container" }, h("slot", { key: '4f2f3a5da31d262544f848b06498af7da5b2cbd1' }))));
11
+ return (h(Host, { key: 'f896d7c1bb72fbb5c2a2515058901db62011db9b' }, h("div", { key: 'e911284ad5ae540a10662cc0a0adf72e83e400b3', class: "info-box-container" }, h("slot", { key: '195fd87bd8ac702417c9659f956b6efe7c78e5b8' }))));
12
12
  }
13
13
  };
14
14
  CpslInfoBox.style = CpslInfoBoxStyle0;
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-2c447f86.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b188f201.js';
2
2
 
3
3
  const cpslModalV2Css = ":host{display:none;position:absolute;top:0;left:0;width:100vw;height:100vh;justify-content:center;align-items:center;z-index:10005}:host .card{z-index:10005;opacity:0;position:relative;transition:all}:host(.no-overlay){position:relative;top:unset;left:unset;width:100%;height:auto}:host(.open) .card{opacity:1}:host(.elevated) .card{--card-border-width:0px}:host(.elevated) .card::part(card-container){box-shadow:0px 8px 16px 0px rgba(0, 0, 0, 0.12)}";
4
4
  const CpslModalV2Style0 = cpslModalV2Css;
@@ -37,7 +37,7 @@ const CpslModalV2 = class {
37
37
  this.toggleHeight();
38
38
  }
39
39
  render() {
40
- 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' }))));
40
+ 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' }))));
41
41
  }
42
42
  get el() { return getElement(this); }
43
43
  static get watchers() { return {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-2c447f86.js';
1
+ import { r as registerInstance, h, H as Host } from './index-b188f201.js';
2
2
 
3
3
  const cpslRowCss = ":host{display:flex;flex-wrap:wrap}";
4
4
  const CpslRowStyle0 = cpslRowCss;
@@ -8,7 +8,7 @@ const CpslRow = class {
8
8
  registerInstance(this, hostRef);
9
9
  }
10
10
  render() {
11
- return (h(Host, { key: '7f72521f5a00092d54fb143c73334dfdc8d5daf7' }, h("slot", { key: 'a23bda8f3a3178b61e409f73e6004586f8b26509' })));
11
+ return (h(Host, { key: '557a2f245ec7a47aa32d26c27cd2d944d63311a3' }, h("slot", { key: 'e39a195e96e045812dfda0f1509cc6e05c6efab6' })));
12
12
  }
13
13
  };
14
14
  CpslRow.style = CpslRowStyle0;
@@ -1948,10 +1948,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1948
1948
  }
1949
1949
  switch(bundleId) {
1950
1950
 
1951
- case 'cpsl-alert_33':
1951
+ case 'cpsl-alert_34':
1952
1952
  return import(
1953
1953
  /* webpackMode: "lazy" */
1954
- './cpsl-alert_33.entry.js').then(processMod, consoleError);
1954
+ './cpsl-alert_34.entry.js').then(processMod, consoleError);
1955
1955
  case 'cpsl-animation':
1956
1956
  return import(
1957
1957
  /* webpackMode: "lazy" */
@@ -1964,6 +1964,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1964
1964
  return import(
1965
1965
  /* webpackMode: "lazy" */
1966
1966
  './cpsl-grid.entry.js').then(processMod, consoleError);
1967
+ case 'cpsl-identicon':
1968
+ return import(
1969
+ /* webpackMode: "lazy" */
1970
+ './cpsl-identicon.entry.js').then(processMod, consoleError);
1967
1971
  case 'cpsl-info-box':
1968
1972
  return import(
1969
1973
  /* webpackMode: "lazy" */
@@ -2069,4 +2073,4 @@ const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
2069
2073
 
2070
2074
  export { Fragment as F, Host as H, bootstrapLazy as b, createEvent as c, forceUpdate as f, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
2071
2075
 
2072
- //# sourceMappingURL=index-2c447f86.js.map
2076
+ //# sourceMappingURL=index-b188f201.js.map