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

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-02072c68.entry.js → p-1bb78dd3.entry.js} +2 -2
  4. package/dist/capsule/p-29340cea.entry.js +2 -0
  5. package/dist/capsule/p-29340cea.entry.js.map +1 -0
  6. package/dist/capsule/p-3fca138b.entry.js +2 -0
  7. package/dist/capsule/{p-41088cd4.entry.js → p-895001cf.entry.js} +2 -2
  8. package/dist/capsule/p-c4220447.entry.js +29 -0
  9. package/dist/capsule/p-c4220447.entry.js.map +1 -0
  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} +2763 -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 +245 -0
  31. package/dist/collection/components/cpsl-hero/cpsl-hero.js +52 -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} +2763 -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 +4 -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 +44 -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-1bb78dd3.entry.js.map} +0 -0
  102. /package/dist/capsule/{p-2c16694d.entry.js.map → p-3fca138b.entry.js.map} +0 -0
  103. /package/dist/capsule/{p-41088cd4.entry.js.map → p-895001cf.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
@@ -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.3",
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": "053223d08103dd92ba69ec487393ccfdce00436a"
69
+ "gitHead": "ca0d8cab915d9cef706c8dd619176032cdcd165f"
55
70
  }
@@ -1,2 +0,0 @@
1
- import{r as s,h as r,H as a}from"./p-7dde3172.js";const e=":host{display:flex;flex-wrap:wrap}";const f=e;const o=class{constructor(r){s(this,r)}render(){return r(a,{key:"7f72521f5a00092d54fb143c73334dfdc8d5daf7"},r("slot",{key:"a23bda8f3a3178b61e409f73e6004586f8b26509"}))}};o.style=f;export{o as cpsl_row};
2
- //# sourceMappingURL=p-2c16694d.entry.js.map