@usecapsule/core-components 3.1.3 → 3.2.0-dev.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (336) hide show
  1. package/dist/capsule/capsule.esm.js +1 -1
  2. package/dist/capsule/capsule.esm.js.map +1 -1
  3. package/dist/capsule/p-303e6e89.entry.js +29 -0
  4. package/dist/capsule/p-303e6e89.entry.js.map +1 -0
  5. package/dist/capsule/p-447d49b9.entry.js +2 -0
  6. package/dist/capsule/p-447d49b9.entry.js.map +1 -0
  7. package/dist/capsule/{p-02072c68.entry.js → p-452b9998.entry.js} +2 -2
  8. package/dist/capsule/p-6793ef7a.entry.js +2 -0
  9. package/dist/capsule/{p-41088cd4.entry.js → p-f6c74d69.entry.js} +2 -2
  10. package/dist/cjs/capsule.cjs.js +1 -1
  11. package/dist/cjs/{cpsl-alert_33.cjs.entry.js → cpsl-alert_34.cjs.entry.js} +2765 -2713
  12. package/dist/cjs/cpsl-alert_34.cjs.entry.js.map +1 -0
  13. package/dist/cjs/cpsl-identicon.cjs.entry.js +62 -0
  14. package/dist/cjs/cpsl-identicon.cjs.entry.js.map +1 -0
  15. package/dist/cjs/cpsl-info-box.cjs.entry.js +1 -1
  16. package/dist/cjs/cpsl-modal-v2.cjs.entry.js +1 -1
  17. package/dist/cjs/cpsl-row.cjs.entry.js +1 -1
  18. package/dist/cjs/index-528f7428.js +6 -2
  19. package/dist/cjs/loader.cjs.js +1 -1
  20. package/dist/collection/assets/icons/double-arc.svg +13 -0
  21. package/dist/collection/assets/icons/index.js +236 -234
  22. package/dist/collection/assets/icons/index.js.map +1 -1
  23. package/dist/collection/assets/icons/single-arc.svg +11 -0
  24. package/dist/collection/assets/images/index.js +2 -0
  25. package/dist/collection/assets/images/index.js.map +1 -0
  26. package/dist/collection/collection-manifest.json +2 -0
  27. package/dist/collection/components/cpsl-alert/cpsl-alert.js +1 -1
  28. package/dist/collection/components/cpsl-button/cpsl-button.stories.js +50 -0
  29. package/dist/collection/components/cpsl-button/cpsl-button.stories.js.map +1 -0
  30. package/dist/collection/components/cpsl-hero/cpsl-hero.css +263 -0
  31. package/dist/collection/components/cpsl-hero/cpsl-hero.js +88 -0
  32. package/dist/collection/components/cpsl-hero/cpsl-hero.js.map +1 -0
  33. package/dist/collection/components/cpsl-hero/cpsl-hero.stories.js +17 -0
  34. package/dist/collection/components/cpsl-hero/cpsl-hero.stories.js.map +1 -0
  35. package/dist/collection/components/cpsl-hero/test/cpsl-hero.e2e.js +29 -0
  36. package/dist/collection/components/cpsl-hero/test/cpsl-hero.e2e.js.map +1 -0
  37. package/dist/collection/components/cpsl-hero/test/cpsl-hero.spec.js +37 -0
  38. package/dist/collection/components/cpsl-hero/test/cpsl-hero.spec.js.map +1 -0
  39. package/dist/collection/components/cpsl-icon/cpsl-icon.js +2 -2
  40. package/dist/collection/components/cpsl-identicon/cpsl-identicon.css +69 -0
  41. package/dist/collection/components/cpsl-identicon/cpsl-identicon.js +100 -0
  42. package/dist/collection/components/cpsl-identicon/cpsl-identicon.js.map +1 -0
  43. package/dist/collection/components/cpsl-identicon/cpsl-identicon.stories.js +12 -0
  44. package/dist/collection/components/cpsl-identicon/cpsl-identicon.stories.js.map +1 -0
  45. package/dist/collection/components/cpsl-identicon/test/cpsl-identicon.e2e.js +29 -0
  46. package/dist/collection/components/cpsl-identicon/test/cpsl-identicon.e2e.js.map +1 -0
  47. package/dist/collection/components/cpsl-identicon/test/cpsl-identicon.spec.js +37 -0
  48. package/dist/collection/components/cpsl-identicon/test/cpsl-identicon.spec.js.map +1 -0
  49. package/dist/collection/components/cpsl-info-box/cpsl-info-box.js +1 -1
  50. package/dist/collection/components/cpsl-input/cpsl-input.js +2 -2
  51. package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js +1 -1
  52. package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js +1 -1
  53. package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +1 -1
  54. package/dist/collection/components/cpsl-pagination/cpsl-pagination.js +1 -1
  55. package/dist/collection/components/cpsl-pill/cpsl-pill.js +1 -1
  56. package/dist/collection/components/cpsl-popover/cpsl-popover.js +2 -2
  57. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +1 -1
  58. package/dist/collection/components/cpsl-radio/cpsl-radio.js +1 -1
  59. package/dist/collection/components/cpsl-row/cpsl-row.js +1 -1
  60. package/dist/collection/components/cpsl-select/cpsl-select.js +1 -1
  61. package/dist/collection/components/cpsl-select-item/cpsl-select-item.js +1 -1
  62. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +3 -3
  63. package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +2 -2
  64. package/dist/collection/components/cpsl-switch/cpsl-switch.js +1 -1
  65. package/dist/collection/components/cpsl-tab/cpsl-tab.js +1 -1
  66. package/dist/collection/components/cpsl-table/cpsl-table.js +1 -1
  67. package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +1 -1
  68. package/dist/collection/components/cpsl-text/cpsl-text.js +1 -1
  69. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +2 -2
  70. package/dist/collection/interface.js.map +1 -1
  71. package/dist/esm/capsule.js +1 -1
  72. package/dist/esm/{cpsl-alert_33.entry.js → cpsl-alert_34.entry.js} +2765 -2714
  73. package/dist/esm/cpsl-alert_34.entry.js.map +1 -0
  74. package/dist/esm/cpsl-identicon.entry.js +58 -0
  75. package/dist/esm/cpsl-identicon.entry.js.map +1 -0
  76. package/dist/esm/cpsl-info-box.entry.js +1 -1
  77. package/dist/esm/cpsl-modal-v2.entry.js +1 -1
  78. package/dist/esm/cpsl-row.entry.js +1 -1
  79. package/dist/esm/index-b188f201.js +6 -2
  80. package/dist/esm/loader.js +1 -1
  81. package/dist/scripts/buildAssets.js +90 -0
  82. package/dist/scripts/buildAssets.js.map +1 -0
  83. 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
  84. package/dist/types/assets/icons/index.d.ts +91 -89
  85. package/dist/types/assets/images/index.d.ts +5 -0
  86. package/dist/types/components/cpsl-button/cpsl-button.stories.d.ts +15 -0
  87. package/dist/types/components/cpsl-hero/cpsl-hero.d.ts +6 -0
  88. package/dist/types/components/cpsl-hero/cpsl-hero.stories.d.ts +13 -0
  89. package/dist/types/components/cpsl-identicon/cpsl-identicon.d.ts +5 -0
  90. package/dist/types/components/cpsl-identicon/cpsl-identicon.stories.d.ts +10 -0
  91. package/dist/types/components.d.ts +48 -0
  92. package/dist/types/interface.d.ts +2 -0
  93. package/package.json +20 -5
  94. package/dist/capsule/p-2c16694d.entry.js +0 -2
  95. package/dist/capsule/p-496b735b.entry.js +0 -29
  96. package/dist/capsule/p-496b735b.entry.js.map +0 -1
  97. package/dist/cjs/cpsl-alert_33.cjs.entry.js.map +0 -1
  98. package/dist/esm/cpsl-alert_33.entry.js.map +0 -1
  99. package/dist/scripts/buildIconLibrary.js +0 -33
  100. package/dist/scripts/buildIconLibrary.js.map +0 -1
  101. /package/dist/capsule/{p-02072c68.entry.js.map → p-452b9998.entry.js.map} +0 -0
  102. /package/dist/capsule/{p-2c16694d.entry.js.map → p-6793ef7a.entry.js.map} +0 -0
  103. /package/dist/capsule/{p-41088cd4.entry.js.map → p-f6c74d69.entry.js.map} +0 -0
  104. /package/dist/collection/assets/icons/{AD.svg → flags/AD.svg} +0 -0
  105. /package/dist/collection/assets/icons/{AE.svg → flags/AE.svg} +0 -0
  106. /package/dist/collection/assets/icons/{AF.svg → flags/AF.svg} +0 -0
  107. /package/dist/collection/assets/icons/{AG.svg → flags/AG.svg} +0 -0
  108. /package/dist/collection/assets/icons/{AI.svg → flags/AI.svg} +0 -0
  109. /package/dist/collection/assets/icons/{AL.svg → flags/AL.svg} +0 -0
  110. /package/dist/collection/assets/icons/{AM.svg → flags/AM.svg} +0 -0
  111. /package/dist/collection/assets/icons/{AO.svg → flags/AO.svg} +0 -0
  112. /package/dist/collection/assets/icons/{AR.svg → flags/AR.svg} +0 -0
  113. /package/dist/collection/assets/icons/{AS.svg → flags/AS.svg} +0 -0
  114. /package/dist/collection/assets/icons/{AT.svg → flags/AT.svg} +0 -0
  115. /package/dist/collection/assets/icons/{AU.svg → flags/AU.svg} +0 -0
  116. /package/dist/collection/assets/icons/{AW.svg → flags/AW.svg} +0 -0
  117. /package/dist/collection/assets/icons/{AX.svg → flags/AX.svg} +0 -0
  118. /package/dist/collection/assets/icons/{AZ.svg → flags/AZ.svg} +0 -0
  119. /package/dist/collection/assets/icons/{BA.svg → flags/BA.svg} +0 -0
  120. /package/dist/collection/assets/icons/{BB.svg → flags/BB.svg} +0 -0
  121. /package/dist/collection/assets/icons/{BD.svg → flags/BD.svg} +0 -0
  122. /package/dist/collection/assets/icons/{BE.svg → flags/BE.svg} +0 -0
  123. /package/dist/collection/assets/icons/{BF.svg → flags/BF.svg} +0 -0
  124. /package/dist/collection/assets/icons/{BG.svg → flags/BG.svg} +0 -0
  125. /package/dist/collection/assets/icons/{BH.svg → flags/BH.svg} +0 -0
  126. /package/dist/collection/assets/icons/{BI.svg → flags/BI.svg} +0 -0
  127. /package/dist/collection/assets/icons/{BJ.svg → flags/BJ.svg} +0 -0
  128. /package/dist/collection/assets/icons/{BL.svg → flags/BL.svg} +0 -0
  129. /package/dist/collection/assets/icons/{BM.svg → flags/BM.svg} +0 -0
  130. /package/dist/collection/assets/icons/{BN.svg → flags/BN.svg} +0 -0
  131. /package/dist/collection/assets/icons/{BO.svg → flags/BO.svg} +0 -0
  132. /package/dist/collection/assets/icons/{BQ.svg → flags/BQ.svg} +0 -0
  133. /package/dist/collection/assets/icons/{BQ2.svg → flags/BQ2.svg} +0 -0
  134. /package/dist/collection/assets/icons/{BQ3.svg → flags/BQ3.svg} +0 -0
  135. /package/dist/collection/assets/icons/{BR.svg → flags/BR.svg} +0 -0
  136. /package/dist/collection/assets/icons/{BS.svg → flags/BS.svg} +0 -0
  137. /package/dist/collection/assets/icons/{BT.svg → flags/BT.svg} +0 -0
  138. /package/dist/collection/assets/icons/{BW.svg → flags/BW.svg} +0 -0
  139. /package/dist/collection/assets/icons/{BY.svg → flags/BY.svg} +0 -0
  140. /package/dist/collection/assets/icons/{BZ.svg → flags/BZ.svg} +0 -0
  141. /package/dist/collection/assets/icons/{CA.svg → flags/CA.svg} +0 -0
  142. /package/dist/collection/assets/icons/{CC.svg → flags/CC.svg} +0 -0
  143. /package/dist/collection/assets/icons/{CD.svg → flags/CD.svg} +0 -0
  144. /package/dist/collection/assets/icons/{CD2.svg → flags/CD2.svg} +0 -0
  145. /package/dist/collection/assets/icons/{CF.svg → flags/CF.svg} +0 -0
  146. /package/dist/collection/assets/icons/{CH.svg → flags/CH.svg} +0 -0
  147. /package/dist/collection/assets/icons/{CK.svg → flags/CK.svg} +0 -0
  148. /package/dist/collection/assets/icons/{CL.svg → flags/CL.svg} +0 -0
  149. /package/dist/collection/assets/icons/{CM.svg → flags/CM.svg} +0 -0
  150. /package/dist/collection/assets/icons/{CN.svg → flags/CN.svg} +0 -0
  151. /package/dist/collection/assets/icons/{CO.svg → flags/CO.svg} +0 -0
  152. /package/dist/collection/assets/icons/{CR.svg → flags/CR.svg} +0 -0
  153. /package/dist/collection/assets/icons/{CU.svg → flags/CU.svg} +0 -0
  154. /package/dist/collection/assets/icons/{CW.svg → flags/CW.svg} +0 -0
  155. /package/dist/collection/assets/icons/{CX.svg → flags/CX.svg} +0 -0
  156. /package/dist/collection/assets/icons/{CY.svg → flags/CY.svg} +0 -0
  157. /package/dist/collection/assets/icons/{CZ.svg → flags/CZ.svg} +0 -0
  158. /package/dist/collection/assets/icons/{DE.svg → flags/DE.svg} +0 -0
  159. /package/dist/collection/assets/icons/{DJ.svg → flags/DJ.svg} +0 -0
  160. /package/dist/collection/assets/icons/{DK.svg → flags/DK.svg} +0 -0
  161. /package/dist/collection/assets/icons/{DM.svg → flags/DM.svg} +0 -0
  162. /package/dist/collection/assets/icons/{DO.svg → flags/DO.svg} +0 -0
  163. /package/dist/collection/assets/icons/{DS.svg → flags/DS.svg} +0 -0
  164. /package/dist/collection/assets/icons/{DZ.svg → flags/DZ.svg} +0 -0
  165. /package/dist/collection/assets/icons/{EC.svg → flags/EC.svg} +0 -0
  166. /package/dist/collection/assets/icons/{EE.svg → flags/EE.svg} +0 -0
  167. /package/dist/collection/assets/icons/{EG.svg → flags/EG.svg} +0 -0
  168. /package/dist/collection/assets/icons/{EH.svg → flags/EH.svg} +0 -0
  169. /package/dist/collection/assets/icons/{ER.svg → flags/ER.svg} +0 -0
  170. /package/dist/collection/assets/icons/{ES.svg → flags/ES.svg} +0 -0
  171. /package/dist/collection/assets/icons/{ET.svg → flags/ET.svg} +0 -0
  172. /package/dist/collection/assets/icons/{FI.svg → flags/FI.svg} +0 -0
  173. /package/dist/collection/assets/icons/{FJ.svg → flags/FJ.svg} +0 -0
  174. /package/dist/collection/assets/icons/{FK.svg → flags/FK.svg} +0 -0
  175. /package/dist/collection/assets/icons/{FM.svg → flags/FM.svg} +0 -0
  176. /package/dist/collection/assets/icons/{FO.svg → flags/FO.svg} +0 -0
  177. /package/dist/collection/assets/icons/{FR.svg → flags/FR.svg} +0 -0
  178. /package/dist/collection/assets/icons/{GA.svg → flags/GA.svg} +0 -0
  179. /package/dist/collection/assets/icons/{GB-2.svg → flags/GB-2.svg} +0 -0
  180. /package/dist/collection/assets/icons/{GB.svg → flags/GB.svg} +0 -0
  181. /package/dist/collection/assets/icons/{GD.svg → flags/GD.svg} +0 -0
  182. /package/dist/collection/assets/icons/{GE.svg → flags/GE.svg} +0 -0
  183. /package/dist/collection/assets/icons/{GG.svg → flags/GG.svg} +0 -0
  184. /package/dist/collection/assets/icons/{GH.svg → flags/GH.svg} +0 -0
  185. /package/dist/collection/assets/icons/{GI.svg → flags/GI.svg} +0 -0
  186. /package/dist/collection/assets/icons/{GL.svg → flags/GL.svg} +0 -0
  187. /package/dist/collection/assets/icons/{GM.svg → flags/GM.svg} +0 -0
  188. /package/dist/collection/assets/icons/{GN.svg → flags/GN.svg} +0 -0
  189. /package/dist/collection/assets/icons/{GQ.svg → flags/GQ.svg} +0 -0
  190. /package/dist/collection/assets/icons/{GR.svg → flags/GR.svg} +0 -0
  191. /package/dist/collection/assets/icons/{GT.svg → flags/GT.svg} +0 -0
  192. /package/dist/collection/assets/icons/{GU.svg → flags/GU.svg} +0 -0
  193. /package/dist/collection/assets/icons/{GW.svg → flags/GW.svg} +0 -0
  194. /package/dist/collection/assets/icons/{GY.svg → flags/GY.svg} +0 -0
  195. /package/dist/collection/assets/icons/{HK.svg → flags/HK.svg} +0 -0
  196. /package/dist/collection/assets/icons/{HN.svg → flags/HN.svg} +0 -0
  197. /package/dist/collection/assets/icons/{HR.svg → flags/HR.svg} +0 -0
  198. /package/dist/collection/assets/icons/{HT.svg → flags/HT.svg} +0 -0
  199. /package/dist/collection/assets/icons/{HU.svg → flags/HU.svg} +0 -0
  200. /package/dist/collection/assets/icons/{ID.svg → flags/ID.svg} +0 -0
  201. /package/dist/collection/assets/icons/{IE.svg → flags/IE.svg} +0 -0
  202. /package/dist/collection/assets/icons/{IL.svg → flags/IL.svg} +0 -0
  203. /package/dist/collection/assets/icons/{IM.svg → flags/IM.svg} +0 -0
  204. /package/dist/collection/assets/icons/{IN.svg → flags/IN.svg} +0 -0
  205. /package/dist/collection/assets/icons/{IO.svg → flags/IO.svg} +0 -0
  206. /package/dist/collection/assets/icons/{IQ.svg → flags/IQ.svg} +0 -0
  207. /package/dist/collection/assets/icons/{IR.svg → flags/IR.svg} +0 -0
  208. /package/dist/collection/assets/icons/{IS.svg → flags/IS.svg} +0 -0
  209. /package/dist/collection/assets/icons/{IT.svg → flags/IT.svg} +0 -0
  210. /package/dist/collection/assets/icons/{JE.svg → flags/JE.svg} +0 -0
  211. /package/dist/collection/assets/icons/{JM.svg → flags/JM.svg} +0 -0
  212. /package/dist/collection/assets/icons/{JO.svg → flags/JO.svg} +0 -0
  213. /package/dist/collection/assets/icons/{JP.svg → flags/JP.svg} +0 -0
  214. /package/dist/collection/assets/icons/{KE.svg → flags/KE.svg} +0 -0
  215. /package/dist/collection/assets/icons/{KG.svg → flags/KG.svg} +0 -0
  216. /package/dist/collection/assets/icons/{KH.svg → flags/KH.svg} +0 -0
  217. /package/dist/collection/assets/icons/{KI.svg → flags/KI.svg} +0 -0
  218. /package/dist/collection/assets/icons/{KM.svg → flags/KM.svg} +0 -0
  219. /package/dist/collection/assets/icons/{KN.svg → flags/KN.svg} +0 -0
  220. /package/dist/collection/assets/icons/{KP.svg → flags/KP.svg} +0 -0
  221. /package/dist/collection/assets/icons/{KR.svg → flags/KR.svg} +0 -0
  222. /package/dist/collection/assets/icons/{KW.svg → flags/KW.svg} +0 -0
  223. /package/dist/collection/assets/icons/{KY.svg → flags/KY.svg} +0 -0
  224. /package/dist/collection/assets/icons/{KZ.svg → flags/KZ.svg} +0 -0
  225. /package/dist/collection/assets/icons/{LA.svg → flags/LA.svg} +0 -0
  226. /package/dist/collection/assets/icons/{LB.svg → flags/LB.svg} +0 -0
  227. /package/dist/collection/assets/icons/{LC.svg → flags/LC.svg} +0 -0
  228. /package/dist/collection/assets/icons/{LI.svg → flags/LI.svg} +0 -0
  229. /package/dist/collection/assets/icons/{LK.svg → flags/LK.svg} +0 -0
  230. /package/dist/collection/assets/icons/{LR.svg → flags/LR.svg} +0 -0
  231. /package/dist/collection/assets/icons/{LS.svg → flags/LS.svg} +0 -0
  232. /package/dist/collection/assets/icons/{LT.svg → flags/LT.svg} +0 -0
  233. /package/dist/collection/assets/icons/{LU.svg → flags/LU.svg} +0 -0
  234. /package/dist/collection/assets/icons/{LV.svg → flags/LV.svg} +0 -0
  235. /package/dist/collection/assets/icons/{LY.svg → flags/LY.svg} +0 -0
  236. /package/dist/collection/assets/icons/{MA.svg → flags/MA.svg} +0 -0
  237. /package/dist/collection/assets/icons/{MC.svg → flags/MC.svg} +0 -0
  238. /package/dist/collection/assets/icons/{MD.svg → flags/MD.svg} +0 -0
  239. /package/dist/collection/assets/icons/{ME.svg → flags/ME.svg} +0 -0
  240. /package/dist/collection/assets/icons/{MG.svg → flags/MG.svg} +0 -0
  241. /package/dist/collection/assets/icons/{MH.svg → flags/MH.svg} +0 -0
  242. /package/dist/collection/assets/icons/{MK.svg → flags/MK.svg} +0 -0
  243. /package/dist/collection/assets/icons/{ML.svg → flags/ML.svg} +0 -0
  244. /package/dist/collection/assets/icons/{MM.svg → flags/MM.svg} +0 -0
  245. /package/dist/collection/assets/icons/{MN.svg → flags/MN.svg} +0 -0
  246. /package/dist/collection/assets/icons/{MO.svg → flags/MO.svg} +0 -0
  247. /package/dist/collection/assets/icons/{MP.svg → flags/MP.svg} +0 -0
  248. /package/dist/collection/assets/icons/{MQ.svg → flags/MQ.svg} +0 -0
  249. /package/dist/collection/assets/icons/{MR.svg → flags/MR.svg} +0 -0
  250. /package/dist/collection/assets/icons/{MS.svg → flags/MS.svg} +0 -0
  251. /package/dist/collection/assets/icons/{MT.svg → flags/MT.svg} +0 -0
  252. /package/dist/collection/assets/icons/{MU.svg → flags/MU.svg} +0 -0
  253. /package/dist/collection/assets/icons/{MV.svg → flags/MV.svg} +0 -0
  254. /package/dist/collection/assets/icons/{MW.svg → flags/MW.svg} +0 -0
  255. /package/dist/collection/assets/icons/{MX.svg → flags/MX.svg} +0 -0
  256. /package/dist/collection/assets/icons/{MY.svg → flags/MY.svg} +0 -0
  257. /package/dist/collection/assets/icons/{MZ.svg → flags/MZ.svg} +0 -0
  258. /package/dist/collection/assets/icons/{NA.svg → flags/NA.svg} +0 -0
  259. /package/dist/collection/assets/icons/{NE.svg → flags/NE.svg} +0 -0
  260. /package/dist/collection/assets/icons/{NF.svg → flags/NF.svg} +0 -0
  261. /package/dist/collection/assets/icons/{NG.svg → flags/NG.svg} +0 -0
  262. /package/dist/collection/assets/icons/{NI.svg → flags/NI.svg} +0 -0
  263. /package/dist/collection/assets/icons/{NL.svg → flags/NL.svg} +0 -0
  264. /package/dist/collection/assets/icons/{NO.svg → flags/NO.svg} +0 -0
  265. /package/dist/collection/assets/icons/{NP.svg → flags/NP.svg} +0 -0
  266. /package/dist/collection/assets/icons/{NR.svg → flags/NR.svg} +0 -0
  267. /package/dist/collection/assets/icons/{NU.svg → flags/NU.svg} +0 -0
  268. /package/dist/collection/assets/icons/{NZ.svg → flags/NZ.svg} +0 -0
  269. /package/dist/collection/assets/icons/{OM.svg → flags/OM.svg} +0 -0
  270. /package/dist/collection/assets/icons/{PA.svg → flags/PA.svg} +0 -0
  271. /package/dist/collection/assets/icons/{PE.svg → flags/PE.svg} +0 -0
  272. /package/dist/collection/assets/icons/{PF.svg → flags/PF.svg} +0 -0
  273. /package/dist/collection/assets/icons/{PG.svg → flags/PG.svg} +0 -0
  274. /package/dist/collection/assets/icons/{PH.svg → flags/PH.svg} +0 -0
  275. /package/dist/collection/assets/icons/{PK.svg → flags/PK.svg} +0 -0
  276. /package/dist/collection/assets/icons/{PL.svg → flags/PL.svg} +0 -0
  277. /package/dist/collection/assets/icons/{PN.svg → flags/PN.svg} +0 -0
  278. /package/dist/collection/assets/icons/{PR.svg → flags/PR.svg} +0 -0
  279. /package/dist/collection/assets/icons/{PS.svg → flags/PS.svg} +0 -0
  280. /package/dist/collection/assets/icons/{PT.svg → flags/PT.svg} +0 -0
  281. /package/dist/collection/assets/icons/{PW.svg → flags/PW.svg} +0 -0
  282. /package/dist/collection/assets/icons/{PY.svg → flags/PY.svg} +0 -0
  283. /package/dist/collection/assets/icons/{QA.svg → flags/QA.svg} +0 -0
  284. /package/dist/collection/assets/icons/{RO.svg → flags/RO.svg} +0 -0
  285. /package/dist/collection/assets/icons/{RS.svg → flags/RS.svg} +0 -0
  286. /package/dist/collection/assets/icons/{RU.svg → flags/RU.svg} +0 -0
  287. /package/dist/collection/assets/icons/{RW.svg → flags/RW.svg} +0 -0
  288. /package/dist/collection/assets/icons/{SA.svg → flags/SA.svg} +0 -0
  289. /package/dist/collection/assets/icons/{SB.svg → flags/SB.svg} +0 -0
  290. /package/dist/collection/assets/icons/{SC.svg → flags/SC.svg} +0 -0
  291. /package/dist/collection/assets/icons/{SE.svg → flags/SE.svg} +0 -0
  292. /package/dist/collection/assets/icons/{SG.svg → flags/SG.svg} +0 -0
  293. /package/dist/collection/assets/icons/{SI.svg → flags/SI.svg} +0 -0
  294. /package/dist/collection/assets/icons/{SK.svg → flags/SK.svg} +0 -0
  295. /package/dist/collection/assets/icons/{SL.svg → flags/SL.svg} +0 -0
  296. /package/dist/collection/assets/icons/{SM.svg → flags/SM.svg} +0 -0
  297. /package/dist/collection/assets/icons/{SN.svg → flags/SN.svg} +0 -0
  298. /package/dist/collection/assets/icons/{SO.svg → flags/SO.svg} +0 -0
  299. /package/dist/collection/assets/icons/{SR.svg → flags/SR.svg} +0 -0
  300. /package/dist/collection/assets/icons/{SS.svg → flags/SS.svg} +0 -0
  301. /package/dist/collection/assets/icons/{ST.svg → flags/ST.svg} +0 -0
  302. /package/dist/collection/assets/icons/{SV.svg → flags/SV.svg} +0 -0
  303. /package/dist/collection/assets/icons/{SX.svg → flags/SX.svg} +0 -0
  304. /package/dist/collection/assets/icons/{SY.svg → flags/SY.svg} +0 -0
  305. /package/dist/collection/assets/icons/{SZ.svg → flags/SZ.svg} +0 -0
  306. /package/dist/collection/assets/icons/{TC.svg → flags/TC.svg} +0 -0
  307. /package/dist/collection/assets/icons/{TD.svg → flags/TD.svg} +0 -0
  308. /package/dist/collection/assets/icons/{TG.svg → flags/TG.svg} +0 -0
  309. /package/dist/collection/assets/icons/{TH.svg → flags/TH.svg} +0 -0
  310. /package/dist/collection/assets/icons/{TJ.svg → flags/TJ.svg} +0 -0
  311. /package/dist/collection/assets/icons/{TK.svg → flags/TK.svg} +0 -0
  312. /package/dist/collection/assets/icons/{TL.svg → flags/TL.svg} +0 -0
  313. /package/dist/collection/assets/icons/{TM.svg → flags/TM.svg} +0 -0
  314. /package/dist/collection/assets/icons/{TN.svg → flags/TN.svg} +0 -0
  315. /package/dist/collection/assets/icons/{TO.svg → flags/TO.svg} +0 -0
  316. /package/dist/collection/assets/icons/{TR.svg → flags/TR.svg} +0 -0
  317. /package/dist/collection/assets/icons/{TT.svg → flags/TT.svg} +0 -0
  318. /package/dist/collection/assets/icons/{TV.svg → flags/TV.svg} +0 -0
  319. /package/dist/collection/assets/icons/{TW.svg → flags/TW.svg} +0 -0
  320. /package/dist/collection/assets/icons/{TZ.svg → flags/TZ.svg} +0 -0
  321. /package/dist/collection/assets/icons/{UA.svg → flags/UA.svg} +0 -0
  322. /package/dist/collection/assets/icons/{UG.svg → flags/UG.svg} +0 -0
  323. /package/dist/collection/assets/icons/{US.svg → flags/US.svg} +0 -0
  324. /package/dist/collection/assets/icons/{UY.svg → flags/UY.svg} +0 -0
  325. /package/dist/collection/assets/icons/{UZ.svg → flags/UZ.svg} +0 -0
  326. /package/dist/collection/assets/icons/{VC.svg → flags/VC.svg} +0 -0
  327. /package/dist/collection/assets/icons/{VE.svg → flags/VE.svg} +0 -0
  328. /package/dist/collection/assets/icons/{VG.svg → flags/VG.svg} +0 -0
  329. /package/dist/collection/assets/icons/{VI.svg → flags/VI.svg} +0 -0
  330. /package/dist/collection/assets/icons/{VN.svg → flags/VN.svg} +0 -0
  331. /package/dist/collection/assets/icons/{VU.svg → flags/VU.svg} +0 -0
  332. /package/dist/collection/assets/icons/{WS.svg → flags/WS.svg} +0 -0
  333. /package/dist/collection/assets/icons/{YE.svg → flags/YE.svg} +0 -0
  334. /package/dist/collection/assets/icons/{ZA.svg → flags/ZA.svg} +0 -0
  335. /package/dist/collection/assets/icons/{ZM.svg → flags/ZM.svg} +0 -0
  336. /package/dist/collection/assets/icons/{ZW.svg → flags/ZW.svg} +0 -0
@@ -1,33 +0,0 @@
1
- const fs = require('fs');
2
- function toCamelCase(text) {
3
- return text.replace(/-\w/g, clearAndUpper);
4
- }
5
- function toPascalCase(text) {
6
- return text.replace(/(^\w|-\w)/g, clearAndUpper);
7
- }
8
- function clearAndUpper(text) {
9
- return text.replace(/-/, '').toUpperCase();
10
- }
11
- const main = () => {
12
- const files = fs.readdirSync('./src/assets/icons');
13
- let importString = '';
14
- let objString = 'export const Icons = {';
15
- for (const fileName of files) {
16
- if (!fileName.includes('.svg')) {
17
- continue;
18
- }
19
- const fileNameNoExt = fileName.split('.')[0];
20
- const camelCaseFileName = toCamelCase(fileNameNoExt);
21
- const pascalCaseFileName = toPascalCase(fileNameNoExt);
22
- importString += `import ${pascalCaseFileName} from './${fileName}';`;
23
- objString += `${camelCaseFileName}: ${pascalCaseFileName},`;
24
- }
25
- const codeStr = `${importString}\n${objString}}`;
26
- fs.writeFile('./src/assets/icons/index.ts', codeStr, 'utf8', err => {
27
- if (err) {
28
- console.error(err);
29
- }
30
- });
31
- };
32
- main();
33
- //# sourceMappingURL=buildIconLibrary.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"buildIconLibrary.js","sourceRoot":"","sources":["../../scripts/buildIconLibrary.ts"],"names":[],"mappings":"AAAA,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;AAEzB,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,IAAI,GAAG,GAAG,EAAE;IAChB,MAAM,KAAK,GAAa,EAAE,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC;IAE7D,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,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,IAAI,EAAE,CAAC","sourcesContent":["const fs = require('fs');\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 main = () => {\n const files: string[] = fs.readdirSync('./src/assets/icons');\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 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\nmain();\n"]}