@usecapsule/core-components 2.0.2 → 2.0.4-dev.dropdown

Sign up to get free protection for your applications and to get access to all the features.
Files changed (643) hide show
  1. package/css/capsule-core.css +12 -0
  2. package/css/capsule-core.css.map +1 -1
  3. package/dist/capsule/capsule.esm.js +1 -52
  4. package/dist/capsule/capsule.esm.js.map +1 -1
  5. package/dist/capsule/index.esm.js +1 -572
  6. package/dist/capsule/index.esm.js.map +1 -1
  7. package/dist/capsule/p-0462f723.js +2 -0
  8. package/dist/capsule/p-0462f723.js.map +1 -0
  9. package/dist/capsule/p-0cab90fa.entry.js +2 -0
  10. package/dist/capsule/p-0cab90fa.entry.js.map +1 -0
  11. package/dist/capsule/p-193ac141.entry.js +2 -0
  12. package/dist/capsule/p-193ac141.entry.js.map +1 -0
  13. package/dist/capsule/p-6fb7c4d1.js +3 -0
  14. package/dist/capsule/p-6fb7c4d1.js.map +1 -0
  15. package/dist/capsule/p-a95ec4df.entry.js +2 -0
  16. package/dist/capsule/p-a95ec4df.entry.js.map +1 -0
  17. package/dist/capsule/p-c2bf050b.js +2 -0
  18. package/dist/capsule/p-c2bf050b.js.map +1 -0
  19. package/dist/capsule/p-cb8dc0a4.entry.js +2 -0
  20. package/dist/capsule/p-cb8dc0a4.entry.js.map +1 -0
  21. package/dist/capsule/p-cc052d36.entry.js +29 -0
  22. package/dist/capsule/p-cc052d36.entry.js.map +1 -0
  23. package/dist/capsule/p-d7be092d.entry.js +10 -0
  24. package/dist/capsule/p-d7be092d.entry.js.map +1 -0
  25. package/dist/capsule/p-e1255160.js +2 -0
  26. package/dist/capsule/p-e1255160.js.map +1 -0
  27. package/dist/cjs/_commonjsHelpers-b3309d7b.js +12 -0
  28. package/dist/cjs/_commonjsHelpers-b3309d7b.js.map +1 -0
  29. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  30. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  31. package/dist/cjs/capsule.cjs.js +27 -0
  32. package/dist/cjs/capsule.cjs.js.map +1 -0
  33. package/dist/cjs/constants-4bb85cc5.js +12 -0
  34. package/dist/cjs/constants-4bb85cc5.js.map +1 -0
  35. package/dist/cjs/cpsl-alert_18.cjs.entry.js +14798 -0
  36. package/dist/cjs/cpsl-alert_18.cjs.entry.js.map +1 -0
  37. package/dist/cjs/cpsl-animation.cjs.entry.js +20129 -0
  38. package/dist/cjs/cpsl-animation.cjs.entry.js.map +1 -0
  39. package/dist/cjs/cpsl-col.cjs.entry.js +125 -0
  40. package/dist/cjs/cpsl-col.cjs.entry.js.map +1 -0
  41. package/dist/cjs/cpsl-grid.cjs.entry.js +25 -0
  42. package/dist/cjs/cpsl-grid.cjs.entry.js.map +1 -0
  43. package/dist/cjs/cpsl-info-box.cjs.entry.js +22 -0
  44. package/dist/cjs/cpsl-info-box.cjs.entry.js.map +1 -0
  45. package/dist/cjs/cpsl-row.cjs.entry.js +22 -0
  46. package/dist/cjs/cpsl-row.cjs.entry.js.map +1 -0
  47. package/dist/cjs/index-3fccb5b4.js +2012 -0
  48. package/dist/cjs/index-3fccb5b4.js.map +1 -0
  49. package/dist/cjs/index.cjs.js +362 -0
  50. package/dist/cjs/index.cjs.js.map +1 -0
  51. package/dist/cjs/loader.cjs.js +17 -0
  52. package/dist/cjs/loader.cjs.js.map +1 -0
  53. package/dist/collection/assets/icons/AD.svg +15 -0
  54. package/dist/collection/assets/icons/AE.svg +13 -0
  55. package/dist/collection/assets/icons/AF.svg +14 -0
  56. package/dist/collection/assets/icons/AG.svg +15 -0
  57. package/dist/collection/assets/icons/AI.svg +19 -0
  58. package/dist/collection/assets/icons/AL.svg +11 -0
  59. package/dist/collection/assets/icons/AM.svg +12 -0
  60. package/dist/collection/assets/icons/AO.svg +14 -0
  61. package/dist/collection/assets/icons/AR.svg +13 -0
  62. package/dist/collection/assets/icons/AS.svg +15 -0
  63. package/dist/collection/assets/icons/AT.svg +12 -0
  64. package/dist/collection/assets/icons/AU.svg +20 -0
  65. package/dist/collection/assets/icons/AW.svg +15 -0
  66. package/dist/collection/assets/icons/AX.svg +15 -0
  67. package/dist/collection/assets/icons/AZ.svg +14 -0
  68. package/dist/collection/assets/icons/BA.svg +13 -0
  69. package/dist/collection/assets/icons/BB.svg +13 -0
  70. package/dist/collection/assets/icons/BD.svg +11 -0
  71. package/dist/collection/assets/icons/BE.svg +12 -0
  72. package/dist/collection/assets/icons/BF.svg +12 -0
  73. package/dist/collection/assets/icons/BG.svg +12 -0
  74. package/dist/collection/assets/icons/BH.svg +11 -0
  75. package/dist/collection/assets/icons/BI.svg +18 -0
  76. package/dist/collection/assets/icons/BJ.svg +12 -0
  77. package/dist/collection/assets/icons/BL.svg +16 -0
  78. package/dist/collection/assets/icons/BM.svg +20 -0
  79. package/dist/collection/assets/icons/BN.svg +19 -0
  80. package/dist/collection/assets/icons/BO.svg +12 -0
  81. package/dist/collection/assets/icons/BQ.svg +14 -0
  82. package/dist/collection/assets/icons/BQ2.svg +20 -0
  83. package/dist/collection/assets/icons/BQ3.svg +15 -0
  84. package/dist/collection/assets/icons/BR.svg +14 -0
  85. package/dist/collection/assets/icons/BS.svg +13 -0
  86. package/dist/collection/assets/icons/BT.svg +12 -0
  87. package/dist/collection/assets/icons/BW.svg +13 -0
  88. package/dist/collection/assets/icons/BY.svg +18 -0
  89. package/dist/collection/assets/icons/BZ.svg +17 -0
  90. package/dist/collection/assets/icons/CA.svg +13 -0
  91. package/dist/collection/assets/icons/CC.svg +19 -0
  92. package/dist/collection/assets/icons/CD.svg +12 -0
  93. package/dist/collection/assets/icons/CD2.svg +14 -0
  94. package/dist/collection/assets/icons/CF.svg +20 -0
  95. package/dist/collection/assets/icons/CH.svg +11 -0
  96. package/dist/collection/assets/icons/CK.svg +22 -0
  97. package/dist/collection/assets/icons/CL.svg +13 -0
  98. package/dist/collection/assets/icons/CM.svg +13 -0
  99. package/dist/collection/assets/icons/CN.svg +15 -0
  100. package/dist/collection/assets/icons/CO.svg +12 -0
  101. package/dist/collection/assets/icons/CR.svg +13 -0
  102. package/dist/collection/assets/icons/CU.svg +15 -0
  103. package/dist/collection/assets/icons/CW.svg +14 -0
  104. package/dist/collection/assets/icons/CX.svg +19 -0
  105. package/dist/collection/assets/icons/CY.svg +12 -0
  106. package/dist/collection/assets/icons/CZ.svg +12 -0
  107. package/dist/collection/assets/icons/DE.svg +12 -0
  108. package/dist/collection/assets/icons/DJ.svg +13 -0
  109. package/dist/collection/assets/icons/DK.svg +14 -0
  110. package/dist/collection/assets/icons/DM.svg +34 -0
  111. package/dist/collection/assets/icons/DO.svg +17 -0
  112. package/dist/collection/assets/icons/DS.svg +13 -0
  113. package/dist/collection/assets/icons/DZ.svg +13 -0
  114. package/dist/collection/assets/icons/EC.svg +15 -0
  115. package/dist/collection/assets/icons/EE.svg +12 -0
  116. package/dist/collection/assets/icons/EG.svg +13 -0
  117. package/dist/collection/assets/icons/EH.svg +15 -0
  118. package/dist/collection/assets/icons/ER.svg +13 -0
  119. package/dist/collection/assets/icons/ES.svg +12 -0
  120. package/dist/collection/assets/icons/ET.svg +15 -0
  121. package/dist/collection/assets/icons/FI.svg +11 -0
  122. package/dist/collection/assets/icons/FJ.svg +18 -0
  123. package/dist/collection/assets/icons/FK.svg +18 -0
  124. package/dist/collection/assets/icons/FM.svg +14 -0
  125. package/dist/collection/assets/icons/FO.svg +12 -0
  126. package/dist/collection/assets/icons/FR.svg +12 -0
  127. package/dist/collection/assets/icons/GA.svg +12 -0
  128. package/dist/collection/assets/icons/GB-2.svg +11 -0
  129. package/dist/collection/assets/icons/GB.svg +23 -0
  130. package/dist/collection/assets/icons/GD.svg +26 -0
  131. package/dist/collection/assets/icons/GE.svg +15 -0
  132. package/dist/collection/assets/icons/GG.svg +12 -0
  133. package/dist/collection/assets/icons/GH.svg +13 -0
  134. package/dist/collection/assets/icons/GI.svg +13 -0
  135. package/dist/collection/assets/icons/GL.svg +13 -0
  136. package/dist/collection/assets/icons/GM.svg +13 -0
  137. package/dist/collection/assets/icons/GN.svg +12 -0
  138. package/dist/collection/assets/icons/GQ.svg +16 -0
  139. package/dist/collection/assets/icons/GR.svg +15 -0
  140. package/dist/collection/assets/icons/GT.svg +14 -0
  141. package/dist/collection/assets/icons/GU.svg +18 -0
  142. package/dist/collection/assets/icons/GW.svg +14 -0
  143. package/dist/collection/assets/icons/GY.svg +15 -0
  144. package/dist/collection/assets/icons/HK.svg +15 -0
  145. package/dist/collection/assets/icons/HN.svg +17 -0
  146. package/dist/collection/assets/icons/HR.svg +31 -0
  147. package/dist/collection/assets/icons/HT.svg +17 -0
  148. package/dist/collection/assets/icons/HU.svg +12 -0
  149. package/dist/collection/assets/icons/ID.svg +11 -0
  150. package/dist/collection/assets/icons/IE.svg +12 -0
  151. package/dist/collection/assets/icons/IL.svg +13 -0
  152. package/dist/collection/assets/icons/IM.svg +11 -0
  153. package/dist/collection/assets/icons/IN.svg +15 -0
  154. package/dist/collection/assets/icons/IO.svg +29 -0
  155. package/dist/collection/assets/icons/IQ.svg +15 -0
  156. package/dist/collection/assets/icons/IR.svg +13 -0
  157. package/dist/collection/assets/icons/IS.svg +15 -0
  158. package/dist/collection/assets/icons/IT.svg +12 -0
  159. package/dist/collection/assets/icons/JE.svg +13 -0
  160. package/dist/collection/assets/icons/JM.svg +14 -0
  161. package/dist/collection/assets/icons/JO.svg +14 -0
  162. package/dist/collection/assets/icons/JP.svg +11 -0
  163. package/dist/collection/assets/icons/KE.svg +19 -0
  164. package/dist/collection/assets/icons/KG.svg +16 -0
  165. package/dist/collection/assets/icons/KH.svg +13 -0
  166. package/dist/collection/assets/icons/KI.svg +17 -0
  167. package/dist/collection/assets/icons/KM.svg +19 -0
  168. package/dist/collection/assets/icons/KN.svg +15 -0
  169. package/dist/collection/assets/icons/KP.svg +15 -0
  170. package/dist/collection/assets/icons/KR.svg +30 -0
  171. package/dist/collection/assets/icons/KW.svg +13 -0
  172. package/dist/collection/assets/icons/KY.svg +20 -0
  173. package/dist/collection/assets/icons/KZ.svg +13 -0
  174. package/dist/collection/assets/icons/LA.svg +13 -0
  175. package/dist/collection/assets/icons/LB.svg +13 -0
  176. package/dist/collection/assets/icons/LC.svg +13 -0
  177. package/dist/collection/assets/icons/LI.svg +12 -0
  178. package/dist/collection/assets/icons/LK.svg +14 -0
  179. package/dist/collection/assets/icons/LR.svg +23 -0
  180. package/dist/collection/assets/icons/LS.svg +13 -0
  181. package/dist/collection/assets/icons/LT.svg +12 -0
  182. package/dist/collection/assets/icons/LU.svg +12 -0
  183. package/dist/collection/assets/icons/LV.svg +12 -0
  184. package/dist/collection/assets/icons/LY.svg +14 -0
  185. package/dist/collection/assets/icons/MA.svg +11 -0
  186. package/dist/collection/assets/icons/MC.svg +11 -0
  187. package/dist/collection/assets/icons/MD.svg +15 -0
  188. package/dist/collection/assets/icons/ME.svg +15 -0
  189. package/dist/collection/assets/icons/MG.svg +12 -0
  190. package/dist/collection/assets/icons/MH.svg +13 -0
  191. package/dist/collection/assets/icons/MK.svg +20 -0
  192. package/dist/collection/assets/icons/ML.svg +12 -0
  193. package/dist/collection/assets/icons/MM.svg +13 -0
  194. package/dist/collection/assets/icons/MN.svg +19 -0
  195. package/dist/collection/assets/icons/MO.svg +18 -0
  196. package/dist/collection/assets/icons/MP.svg +14 -0
  197. package/dist/collection/assets/icons/MQ.svg +18 -0
  198. package/dist/collection/assets/icons/MR.svg +12 -0
  199. package/dist/collection/assets/icons/MS.svg +17 -0
  200. package/dist/collection/assets/icons/MT.svg +12 -0
  201. package/dist/collection/assets/icons/MU.svg +13 -0
  202. package/dist/collection/assets/icons/MV.svg +12 -0
  203. package/dist/collection/assets/icons/MW.svg +13 -0
  204. package/dist/collection/assets/icons/MX.svg +14 -0
  205. package/dist/collection/assets/icons/MY.svg +17 -0
  206. package/dist/collection/assets/icons/MZ.svg +17 -0
  207. package/dist/collection/assets/icons/NA.svg +14 -0
  208. package/dist/collection/assets/icons/NE.svg +13 -0
  209. package/dist/collection/assets/icons/NF.svg +13 -0
  210. package/dist/collection/assets/icons/NG.svg +12 -0
  211. package/dist/collection/assets/icons/NI.svg +16 -0
  212. package/dist/collection/assets/icons/NL.svg +12 -0
  213. package/dist/collection/assets/icons/NO.svg +15 -0
  214. package/dist/collection/assets/icons/NP.svg +16 -0
  215. package/dist/collection/assets/icons/NR.svg +14 -0
  216. package/dist/collection/assets/icons/NU.svg +20 -0
  217. package/dist/collection/assets/icons/NZ.svg +18 -0
  218. package/dist/collection/assets/icons/OM.svg +15 -0
  219. package/dist/collection/assets/icons/PA.svg +14 -0
  220. package/dist/collection/assets/icons/PE.svg +12 -0
  221. package/dist/collection/assets/icons/PF.svg +17 -0
  222. package/dist/collection/assets/icons/PG.svg +17 -0
  223. package/dist/collection/assets/icons/PH.svg +16 -0
  224. package/dist/collection/assets/icons/PK.svg +14 -0
  225. package/dist/collection/assets/icons/PL.svg +11 -0
  226. package/dist/collection/assets/icons/PN.svg +18 -0
  227. package/dist/collection/assets/icons/PR.svg +15 -0
  228. package/dist/collection/assets/icons/PS.svg +13 -0
  229. package/dist/collection/assets/icons/PT.svg +14 -0
  230. package/dist/collection/assets/icons/PW.svg +11 -0
  231. package/dist/collection/assets/icons/PY.svg +14 -0
  232. package/dist/collection/assets/icons/QA.svg +11 -0
  233. package/dist/collection/assets/icons/RO.svg +12 -0
  234. package/dist/collection/assets/icons/RS.svg +16 -0
  235. package/dist/collection/assets/icons/RU.svg +12 -0
  236. package/dist/collection/assets/icons/RW.svg +13 -0
  237. package/dist/collection/assets/icons/SA.svg +16 -0
  238. package/dist/collection/assets/icons/SB.svg +17 -0
  239. package/dist/collection/assets/icons/SC.svg +14 -0
  240. package/dist/collection/assets/icons/SE.svg +14 -0
  241. package/dist/collection/assets/icons/SG.svg +17 -0
  242. package/dist/collection/assets/icons/SI.svg +13 -0
  243. package/dist/collection/assets/icons/SK.svg +16 -0
  244. package/dist/collection/assets/icons/SL.svg +12 -0
  245. package/dist/collection/assets/icons/SM.svg +16 -0
  246. package/dist/collection/assets/icons/SN.svg +13 -0
  247. package/dist/collection/assets/icons/SO.svg +11 -0
  248. package/dist/collection/assets/icons/SR.svg +14 -0
  249. package/dist/collection/assets/icons/SS.svg +15 -0
  250. package/dist/collection/assets/icons/ST.svg +15 -0
  251. package/dist/collection/assets/icons/SV.svg +15 -0
  252. package/dist/collection/assets/icons/SX.svg +17 -0
  253. package/dist/collection/assets/icons/SY.svg +14 -0
  254. package/dist/collection/assets/icons/SZ.svg +21 -0
  255. package/dist/collection/assets/icons/TC.svg +19 -0
  256. package/dist/collection/assets/icons/TD.svg +12 -0
  257. package/dist/collection/assets/icons/TG.svg +15 -0
  258. package/dist/collection/assets/icons/TH.svg +13 -0
  259. package/dist/collection/assets/icons/TJ.svg +20 -0
  260. package/dist/collection/assets/icons/TK.svg +15 -0
  261. package/dist/collection/assets/icons/TL.svg +13 -0
  262. package/dist/collection/assets/icons/TM.svg +30 -0
  263. package/dist/collection/assets/icons/TN.svg +13 -0
  264. package/dist/collection/assets/icons/TO.svg +12 -0
  265. package/dist/collection/assets/icons/TR.svg +12 -0
  266. package/dist/collection/assets/icons/TT.svg +13 -0
  267. package/dist/collection/assets/icons/TV.svg +25 -0
  268. package/dist/collection/assets/icons/TW.svg +14 -0
  269. package/dist/collection/assets/icons/TZ.svg +13 -0
  270. package/dist/collection/assets/icons/UA.svg +11 -0
  271. package/dist/collection/assets/icons/UG.svg +16 -0
  272. package/dist/collection/assets/icons/US.svg +15 -0
  273. package/dist/collection/assets/icons/UY.svg +16 -0
  274. package/dist/collection/assets/icons/UZ.svg +27 -0
  275. package/dist/collection/assets/icons/VC.svg +15 -0
  276. package/dist/collection/assets/icons/VE.svg +20 -0
  277. package/dist/collection/assets/icons/VG.svg +24 -0
  278. package/dist/collection/assets/icons/VI.svg +18 -0
  279. package/dist/collection/assets/icons/VN.svg +11 -0
  280. package/dist/collection/assets/icons/VU.svg +32 -0
  281. package/dist/collection/assets/icons/WS.svg +16 -0
  282. package/dist/collection/assets/icons/YE.svg +12 -0
  283. package/dist/collection/assets/icons/ZA.svg +15 -0
  284. package/dist/collection/assets/icons/ZM.svg +14 -0
  285. package/dist/collection/assets/icons/ZW.svg +20 -0
  286. package/dist/collection/assets/icons/alert-circle.svg +3 -0
  287. package/dist/collection/assets/icons/angel-list-brand.svg +3 -0
  288. package/dist/collection/assets/icons/angel-list.svg +3 -0
  289. package/dist/collection/assets/icons/apple-brand.svg +3 -0
  290. package/dist/collection/assets/icons/apple.svg +3 -0
  291. package/dist/collection/assets/icons/arrow-narrow.svg +3 -0
  292. package/dist/collection/assets/icons/arrow.svg +3 -0
  293. package/dist/collection/assets/icons/backup-kit.svg +4 -0
  294. package/dist/collection/assets/icons/capsule-logo.svg +18 -0
  295. package/dist/collection/assets/icons/capsule-rings-dark.svg +34 -0
  296. package/dist/collection/assets/icons/capsule-rings.svg +34 -0
  297. package/dist/collection/assets/icons/capsule.svg +4 -0
  298. package/dist/collection/assets/icons/check.svg +3 -0
  299. package/dist/collection/assets/icons/chevron-up.svg +3 -0
  300. package/dist/collection/assets/icons/clock.svg +3 -0
  301. package/dist/collection/assets/icons/close.svg +4 -0
  302. package/dist/collection/assets/icons/clubhouse-brand.svg +4 -0
  303. package/dist/collection/assets/icons/clubhouse.svg +4 -0
  304. package/dist/collection/assets/icons/copy.svg +3 -0
  305. package/dist/collection/assets/icons/discord-brand.svg +4 -0
  306. package/dist/collection/assets/icons/discord.svg +4 -0
  307. package/dist/collection/assets/icons/download-cloud.svg +3 -0
  308. package/dist/collection/assets/icons/dribbble-brand.svg +4 -0
  309. package/dist/collection/assets/icons/dribbble.svg +3 -0
  310. package/dist/collection/assets/icons/earth.svg +11 -0
  311. package/dist/collection/assets/icons/eye-off.svg +3 -0
  312. package/dist/collection/assets/icons/eye.svg +4 -0
  313. package/dist/collection/assets/icons/facebook-brand.svg +11 -0
  314. package/dist/collection/assets/icons/facebook.svg +10 -0
  315. package/dist/collection/assets/icons/figma-brand.svg +14 -0
  316. package/dist/collection/assets/icons/figma.svg +3 -0
  317. package/dist/collection/assets/icons/github-brand.svg +10 -0
  318. package/dist/collection/assets/icons/github.svg +10 -0
  319. package/dist/collection/assets/icons/google-brand.svg +13 -0
  320. package/dist/collection/assets/icons/google.svg +10 -0
  321. package/dist/collection/assets/icons/help-circle.svg +3 -0
  322. package/dist/collection/assets/icons/hero-email.svg +12 -0
  323. package/dist/collection/assets/icons/hero-lock.svg +4 -0
  324. package/dist/collection/assets/icons/hero-passkey.svg +12 -0
  325. package/dist/collection/assets/icons/hero-phone.svg +4 -0
  326. package/dist/collection/assets/icons/hero-wallet.svg +5 -0
  327. package/dist/collection/assets/icons/index.js +305 -0
  328. package/dist/collection/assets/icons/index.js.map +1 -0
  329. package/dist/collection/assets/icons/info-circle.svg +3 -0
  330. package/dist/collection/assets/icons/instagram-brand.svg +12 -0
  331. package/dist/collection/assets/icons/instagram.svg +12 -0
  332. package/dist/collection/assets/icons/key.svg +3 -0
  333. package/dist/collection/assets/icons/linkedin-brand.svg +10 -0
  334. package/dist/collection/assets/icons/linkedin.svg +10 -0
  335. package/dist/collection/assets/icons/mail.svg +3 -0
  336. package/dist/collection/assets/icons/more-login-options.svg +13 -0
  337. package/dist/collection/assets/icons/phone.svg +3 -0
  338. package/dist/collection/assets/icons/pintrest-brand.svg +11 -0
  339. package/dist/collection/assets/icons/pintrest.svg +10 -0
  340. package/dist/collection/assets/icons/plus-circle.svg +5 -0
  341. package/dist/collection/assets/icons/reddit-brand.svg +11 -0
  342. package/dist/collection/assets/icons/reddit.svg +3 -0
  343. package/dist/collection/assets/icons/signal-brand.svg +3 -0
  344. package/dist/collection/assets/icons/signal.svg +3 -0
  345. package/dist/collection/assets/icons/snapchat-brand.svg +4 -0
  346. package/dist/collection/assets/icons/snapchat.svg +3 -0
  347. package/dist/collection/assets/icons/telegram-brand.svg +15 -0
  348. package/dist/collection/assets/icons/telegram.svg +10 -0
  349. package/dist/collection/assets/icons/tik-tok-brand.svg +5 -0
  350. package/dist/collection/assets/icons/tik-tok.svg +3 -0
  351. package/dist/collection/assets/icons/tumblr-brand.svg +10 -0
  352. package/dist/collection/assets/icons/tumblr.svg +10 -0
  353. package/dist/collection/assets/icons/twitter-brand.svg +3 -0
  354. package/dist/collection/assets/icons/twitter.svg +3 -0
  355. package/dist/collection/assets/icons/wallet.svg +5 -0
  356. package/dist/collection/assets/icons/youtube-brand.svg +11 -0
  357. package/dist/collection/assets/icons/youtube.svg +3 -0
  358. package/dist/collection/collection-manifest.json +34 -0
  359. package/dist/collection/components/cpsl-alert/cpsl-alert.css +98 -0
  360. package/dist/collection/components/cpsl-alert/cpsl-alert.js +80 -0
  361. package/dist/collection/components/cpsl-alert/cpsl-alert.js.map +1 -0
  362. package/dist/collection/components/cpsl-alert/test/cpsl-alert.e2e.js +29 -0
  363. package/dist/collection/components/cpsl-alert/test/cpsl-alert.e2e.js.map +1 -0
  364. package/dist/collection/components/cpsl-alert/test/cpsl-alert.spec.js +37 -0
  365. package/dist/collection/components/cpsl-alert/test/cpsl-alert.spec.js.map +1 -0
  366. package/dist/collection/components/cpsl-animation/cpsl-animation.css +17 -0
  367. package/dist/collection/components/cpsl-animation/cpsl-animation.js +102 -0
  368. package/dist/collection/components/cpsl-animation/cpsl-animation.js.map +1 -0
  369. package/dist/collection/components/cpsl-animation/test/cpsl-animation.e2e.js +29 -0
  370. package/dist/collection/components/cpsl-animation/test/cpsl-animation.e2e.js.map +1 -0
  371. package/dist/collection/components/cpsl-animation/test/cpsl-animation.spec.js +37 -0
  372. package/dist/collection/components/cpsl-animation/test/cpsl-animation.spec.js.map +1 -0
  373. package/dist/collection/components/cpsl-button/cpsl-button.css +162 -0
  374. package/dist/collection/components/cpsl-button/cpsl-button.js +68 -0
  375. package/dist/collection/components/cpsl-button/cpsl-button.js.map +1 -0
  376. package/dist/collection/components/cpsl-button/test/cpsl-button.e2e.js +29 -0
  377. package/dist/collection/components/cpsl-button/test/cpsl-button.e2e.js.map +1 -0
  378. package/dist/collection/components/cpsl-button/test/cpsl-button.spec.js +37 -0
  379. package/dist/collection/components/cpsl-button/test/cpsl-button.spec.js.map +1 -0
  380. package/dist/collection/components/cpsl-code-input/code-change-interface.js +2 -0
  381. package/dist/collection/components/cpsl-code-input/code-change-interface.js.map +1 -0
  382. package/dist/collection/components/cpsl-code-input/cpsl-code-input.css +134 -0
  383. package/dist/collection/components/cpsl-code-input/cpsl-code-input.js +223 -0
  384. package/dist/collection/components/cpsl-code-input/cpsl-code-input.js.map +1 -0
  385. package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.e2e.js +29 -0
  386. package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.e2e.js.map +1 -0
  387. package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.spec.js +37 -0
  388. package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.spec.js.map +1 -0
  389. package/dist/collection/components/cpsl-col/cpsl-col.css +200 -0
  390. package/dist/collection/components/cpsl-col/cpsl-col.js +528 -0
  391. package/dist/collection/components/cpsl-col/cpsl-col.js.map +1 -0
  392. package/dist/collection/components/cpsl-col/test/cpsl-col.e2e.js +29 -0
  393. package/dist/collection/components/cpsl-col/test/cpsl-col.e2e.js.map +1 -0
  394. package/dist/collection/components/cpsl-col/test/cpsl-col.spec.js +37 -0
  395. package/dist/collection/components/cpsl-col/test/cpsl-col.spec.js.map +1 -0
  396. package/dist/collection/components/cpsl-divider/cpsl-divider.css +73 -0
  397. package/dist/collection/components/cpsl-divider/cpsl-divider.js +19 -0
  398. package/dist/collection/components/cpsl-divider/cpsl-divider.js.map +1 -0
  399. package/dist/collection/components/cpsl-divider/test/cpsl-divider.e2e.js +29 -0
  400. package/dist/collection/components/cpsl-divider/test/cpsl-divider.e2e.js.map +1 -0
  401. package/dist/collection/components/cpsl-divider/test/cpsl-divider.spec.js +37 -0
  402. package/dist/collection/components/cpsl-divider/test/cpsl-divider.spec.js.map +1 -0
  403. package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.css +88 -0
  404. package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js +113 -0
  405. package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js.map +1 -0
  406. package/dist/collection/components/cpsl-dropdown/test/cpsl-dropdown.e2e.js +29 -0
  407. package/dist/collection/components/cpsl-dropdown/test/cpsl-dropdown.e2e.js.map +1 -0
  408. package/dist/collection/components/cpsl-dropdown/test/cpsl-dropdown.spec.js +37 -0
  409. package/dist/collection/components/cpsl-dropdown/test/cpsl-dropdown.spec.js.map +1 -0
  410. package/dist/collection/components/cpsl-grid/cpsl-grid.css +235 -0
  411. package/dist/collection/components/cpsl-grid/cpsl-grid.js +46 -0
  412. package/dist/collection/components/cpsl-grid/cpsl-grid.js.map +1 -0
  413. package/dist/collection/components/cpsl-grid/test/cpsl-grid.e2e.js +29 -0
  414. package/dist/collection/components/cpsl-grid/test/cpsl-grid.e2e.js.map +1 -0
  415. package/dist/collection/components/cpsl-grid/test/cpsl-grid.spec.js +37 -0
  416. package/dist/collection/components/cpsl-grid/test/cpsl-grid.spec.js.map +1 -0
  417. package/dist/collection/components/cpsl-icon/cpsl-icon.css +95 -0
  418. package/dist/collection/components/cpsl-icon/cpsl-icon.js +68 -0
  419. package/dist/collection/components/cpsl-icon/cpsl-icon.js.map +1 -0
  420. package/dist/collection/components/cpsl-icon/test/cpsl-icon.e2e.js +29 -0
  421. package/dist/collection/components/cpsl-icon/test/cpsl-icon.e2e.js.map +1 -0
  422. package/dist/collection/components/cpsl-icon/test/cpsl-icon.spec.js +37 -0
  423. package/dist/collection/components/cpsl-icon/test/cpsl-icon.spec.js.map +1 -0
  424. package/dist/collection/components/cpsl-info-box/cpsl-info-box.css +77 -0
  425. package/dist/collection/components/cpsl-info-box/cpsl-info-box.js +19 -0
  426. package/dist/collection/components/cpsl-info-box/cpsl-info-box.js.map +1 -0
  427. package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.e2e.js +29 -0
  428. package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.e2e.js.map +1 -0
  429. package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.spec.js +37 -0
  430. package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.spec.js.map +1 -0
  431. package/dist/collection/components/cpsl-input/cpsl-input.css +194 -0
  432. package/dist/collection/components/cpsl-input/cpsl-input.js +708 -0
  433. package/dist/collection/components/cpsl-input/cpsl-input.js.map +1 -0
  434. package/dist/collection/components/cpsl-input/input-interface.js +2 -0
  435. package/dist/collection/components/cpsl-input/input-interface.js.map +1 -0
  436. package/dist/collection/components/cpsl-input/test/cpsl-input.e2e.js +29 -0
  437. package/dist/collection/components/cpsl-input/test/cpsl-input.e2e.js.map +1 -0
  438. package/dist/collection/components/cpsl-input/test/cpsl-input.spec.js +37 -0
  439. package/dist/collection/components/cpsl-input/test/cpsl-input.spec.js.map +1 -0
  440. package/dist/collection/components/cpsl-modal/cpsl-modal.css +172 -0
  441. package/dist/collection/components/cpsl-modal/cpsl-modal.js +429 -0
  442. package/dist/collection/components/cpsl-modal/cpsl-modal.js.map +1 -0
  443. package/dist/collection/components/cpsl-modal/test/cpsl-modal.e2e.js +29 -0
  444. package/dist/collection/components/cpsl-modal/test/cpsl-modal.e2e.js.map +1 -0
  445. package/dist/collection/components/cpsl-modal/test/cpsl-modal.spec.js +37 -0
  446. package/dist/collection/components/cpsl-modal/test/cpsl-modal.spec.js.map +1 -0
  447. package/dist/collection/components/cpsl-overlay/cpsl-overlay.css +11 -0
  448. package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +108 -0
  449. package/dist/collection/components/cpsl-overlay/cpsl-overlay.js.map +1 -0
  450. package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.e2e.js +29 -0
  451. package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.e2e.js.map +1 -0
  452. package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.spec.js +37 -0
  453. package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.spec.js.map +1 -0
  454. package/dist/collection/components/cpsl-pill/cpsl-pill.css +92 -0
  455. package/dist/collection/components/cpsl-pill/cpsl-pill.js +43 -0
  456. package/dist/collection/components/cpsl-pill/cpsl-pill.js.map +1 -0
  457. package/dist/collection/components/cpsl-pill/test/cpsl-pill.e2e.js +29 -0
  458. package/dist/collection/components/cpsl-pill/test/cpsl-pill.e2e.js.map +1 -0
  459. package/dist/collection/components/cpsl-pill/test/cpsl-pill.spec.js +37 -0
  460. package/dist/collection/components/cpsl-pill/test/cpsl-pill.spec.js.map +1 -0
  461. package/dist/collection/components/cpsl-progress-indicator/cpsl-progress-indicator.css +82 -0
  462. package/dist/collection/components/cpsl-progress-indicator/cpsl-progress-indicator.js +71 -0
  463. package/dist/collection/components/cpsl-progress-indicator/cpsl-progress-indicator.js.map +1 -0
  464. package/dist/collection/components/cpsl-progress-indicator/progress-indicator-interface.js +2 -0
  465. package/dist/collection/components/cpsl-progress-indicator/progress-indicator-interface.js.map +1 -0
  466. package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.e2e.js +29 -0
  467. package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.e2e.js.map +1 -0
  468. package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.spec.js +37 -0
  469. package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.spec.js.map +1 -0
  470. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.css +81 -0
  471. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +107 -0
  472. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js.map +1 -0
  473. package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.e2e.js +29 -0
  474. package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.e2e.js.map +1 -0
  475. package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.spec.js +37 -0
  476. package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.spec.js.map +1 -0
  477. package/dist/collection/components/cpsl-row/cpsl-row.css +136 -0
  478. package/dist/collection/components/cpsl-row/cpsl-row.js +19 -0
  479. package/dist/collection/components/cpsl-row/cpsl-row.js.map +1 -0
  480. package/dist/collection/components/cpsl-row/test/cpsl-row.e2e.js +29 -0
  481. package/dist/collection/components/cpsl-row/test/cpsl-row.e2e.js.map +1 -0
  482. package/dist/collection/components/cpsl-row/test/cpsl-row.spec.js +37 -0
  483. package/dist/collection/components/cpsl-row/test/cpsl-row.spec.js.map +1 -0
  484. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.css +175 -0
  485. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +252 -0
  486. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js.map +1 -0
  487. package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.e2e.js +29 -0
  488. package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.e2e.js.map +1 -0
  489. package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.spec.js +37 -0
  490. package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.spec.js.map +1 -0
  491. package/dist/collection/components/cpsl-spinner/cpsl-spinner.css +68 -0
  492. package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +69 -0
  493. package/dist/collection/components/cpsl-spinner/cpsl-spinner.js.map +1 -0
  494. package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.e2e.js +29 -0
  495. package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.e2e.js.map +1 -0
  496. package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.spec.js +37 -0
  497. package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.spec.js.map +1 -0
  498. package/dist/collection/components/cpsl-tab/cpsl-tab.css +23 -0
  499. package/dist/collection/components/cpsl-tab/cpsl-tab.js +121 -0
  500. package/dist/collection/components/cpsl-tab/cpsl-tab.js.map +1 -0
  501. package/dist/collection/components/cpsl-tab/tab-interface.js +2 -0
  502. package/dist/collection/components/cpsl-tab/tab-interface.js.map +1 -0
  503. package/dist/collection/components/cpsl-tab/test/cpsl-tab.e2e.js +29 -0
  504. package/dist/collection/components/cpsl-tab/test/cpsl-tab.e2e.js.map +1 -0
  505. package/dist/collection/components/cpsl-tab/test/cpsl-tab.spec.js +37 -0
  506. package/dist/collection/components/cpsl-tab/test/cpsl-tab.spec.js.map +1 -0
  507. package/dist/collection/components/cpsl-tabs/cpsl-tabs.css +111 -0
  508. package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +170 -0
  509. package/dist/collection/components/cpsl-tabs/cpsl-tabs.js.map +1 -0
  510. package/dist/collection/components/cpsl-tabs/tabs-interface.js +2 -0
  511. package/dist/collection/components/cpsl-tabs/tabs-interface.js.map +1 -0
  512. package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.e2e.js +29 -0
  513. package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.e2e.js.map +1 -0
  514. package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.spec.js +37 -0
  515. package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.spec.js.map +1 -0
  516. package/dist/collection/components/cpsl-text/cpsl-text.css +160 -0
  517. package/dist/collection/components/cpsl-text/cpsl-text.js +128 -0
  518. package/dist/collection/components/cpsl-text/cpsl-text.js.map +1 -0
  519. package/dist/collection/components/cpsl-text/test/cpsl-text.e2e.js +29 -0
  520. package/dist/collection/components/cpsl-text/test/cpsl-text.e2e.js.map +1 -0
  521. package/dist/collection/components/cpsl-text/test/cpsl-text.spec.js +37 -0
  522. package/dist/collection/components/cpsl-text/test/cpsl-text.spec.js.map +1 -0
  523. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.css +97 -0
  524. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +67 -0
  525. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js.map +1 -0
  526. package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.e2e.js +29 -0
  527. package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.e2e.js.map +1 -0
  528. package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.spec.js +37 -0
  529. package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.spec.js.map +1 -0
  530. package/dist/collection/constants.js +6 -0
  531. package/dist/collection/constants.js.map +1 -0
  532. package/dist/collection/index.js +3 -0
  533. package/dist/collection/index.js.map +1 -0
  534. package/dist/collection/interface.js +2 -0
  535. package/dist/collection/interface.js.map +1 -0
  536. package/dist/collection/utils/media.js +18 -0
  537. package/dist/collection/utils/media.js.map +1 -0
  538. package/dist/collection/utils/theme/generateBorderRadii.js +56 -0
  539. package/dist/collection/utils/theme/generateBorderRadii.js.map +1 -0
  540. package/dist/collection/utils/theme/generateFont.js +28 -0
  541. package/dist/collection/utils/theme/generateFont.js.map +1 -0
  542. package/dist/collection/utils/theme/generatePalette.js +46 -0
  543. package/dist/collection/utils/theme/generatePalette.js.map +1 -0
  544. package/dist/collection/utils/theme/generateTheme.js +11 -0
  545. package/dist/collection/utils/theme/generateTheme.js.map +1 -0
  546. package/dist/collection/utils/theme/utils.js +21 -0
  547. package/dist/collection/utils/theme/utils.js.map +1 -0
  548. package/dist/esm/_commonjsHelpers-1789f0cf.js +9 -0
  549. package/dist/esm/_commonjsHelpers-1789f0cf.js.map +1 -0
  550. package/dist/esm/capsule.js +22 -0
  551. package/dist/esm/capsule.js.map +1 -0
  552. package/dist/esm/cpsl-alert_18.entry.js +14777 -0
  553. package/dist/esm/cpsl-alert_18.entry.js.map +1 -0
  554. package/dist/{capsule → esm}/cpsl-animation.entry.js +20 -114
  555. package/dist/esm/cpsl-animation.entry.js.map +1 -0
  556. package/dist/{capsule → esm}/cpsl-col.entry.js +4 -3
  557. package/dist/esm/cpsl-col.entry.js.map +1 -0
  558. package/dist/{capsule → esm}/cpsl-grid.entry.js +5 -4
  559. package/dist/esm/cpsl-grid.entry.js.map +1 -0
  560. package/dist/{capsule → esm}/cpsl-info-box.entry.js +4 -3
  561. package/dist/esm/cpsl-info-box.entry.js.map +1 -0
  562. package/dist/esm/cpsl-row.entry.js +18 -0
  563. package/dist/esm/cpsl-row.entry.js.map +1 -0
  564. package/dist/esm/index-f00e090c.js +1982 -0
  565. package/dist/esm/index-f00e090c.js.map +1 -0
  566. package/dist/esm/index.js +358 -0
  567. package/dist/esm/index.js.map +1 -0
  568. package/dist/esm/loader.js +13 -0
  569. package/dist/esm/loader.js.map +1 -0
  570. package/dist/esm/polyfills/core-js.js +11 -0
  571. package/dist/esm/polyfills/dom.js +79 -0
  572. package/dist/esm/polyfills/es5-html-element.js +1 -0
  573. package/dist/esm/polyfills/index.js +34 -0
  574. package/dist/esm/polyfills/system.js +6 -0
  575. package/dist/index.cjs.js +1 -0
  576. package/dist/index.js +1 -0
  577. package/dist/loader/cdn.js +3 -0
  578. package/dist/loader/index.cjs.js +3 -0
  579. package/dist/loader/index.d.ts +21 -0
  580. package/dist/loader/index.es2017.js +3 -0
  581. package/dist/loader/index.js +4 -0
  582. package/dist/loader/package.json +11 -0
  583. package/dist/scripts/buildIconLibrary.js +33 -0
  584. package/dist/scripts/buildIconLibrary.js.map +1 -0
  585. package/dist/types/assets/icons/index.d.ts +235 -0
  586. package/dist/types/components/cpsl-dropdown/cpsl-dropdown.d.ts +25 -0
  587. package/dist/types/components.d.ts +53 -0
  588. package/package.json +2 -3
  589. package/dist/capsule/_commonjsHelpers-bc8ff177.js +0 -36
  590. package/dist/capsule/_commonjsHelpers-bc8ff177.js.map +0 -1
  591. package/dist/capsule/cpsl-alert.entry.js +0 -31
  592. package/dist/capsule/cpsl-alert.entry.js.map +0 -1
  593. package/dist/capsule/cpsl-animation.entry.js.map +0 -1
  594. package/dist/capsule/cpsl-button.entry.js +0 -24
  595. package/dist/capsule/cpsl-button.entry.js.map +0 -1
  596. package/dist/capsule/cpsl-code-input.entry.js +0 -106
  597. package/dist/capsule/cpsl-code-input.entry.js.map +0 -1
  598. package/dist/capsule/cpsl-col.entry.js.map +0 -1
  599. package/dist/capsule/cpsl-divider.entry.js +0 -17
  600. package/dist/capsule/cpsl-divider.entry.js.map +0 -1
  601. package/dist/capsule/cpsl-grid.entry.js.map +0 -1
  602. package/dist/capsule/cpsl-icon.entry.js +0 -20
  603. package/dist/capsule/cpsl-icon.entry.js.map +0 -1
  604. package/dist/capsule/cpsl-info-box.entry.js.map +0 -1
  605. package/dist/capsule/cpsl-input.entry.js +0 -124
  606. package/dist/capsule/cpsl-input.entry.js.map +0 -1
  607. package/dist/capsule/cpsl-modal.entry.js +0 -3338
  608. package/dist/capsule/cpsl-modal.entry.js.map +0 -1
  609. package/dist/capsule/cpsl-overlay.entry.js +0 -44
  610. package/dist/capsule/cpsl-overlay.entry.js.map +0 -1
  611. package/dist/capsule/cpsl-pill.entry.js +0 -18
  612. package/dist/capsule/cpsl-pill.entry.js.map +0 -1
  613. package/dist/capsule/cpsl-progress-indicator.entry.js +0 -29
  614. package/dist/capsule/cpsl-progress-indicator.entry.js.map +0 -1
  615. package/dist/capsule/cpsl-qr-code.entry.js +0 -56
  616. package/dist/capsule/cpsl-qr-code.entry.js.map +0 -1
  617. package/dist/capsule/cpsl-row.entry.js +0 -17
  618. package/dist/capsule/cpsl-row.entry.js.map +0 -1
  619. package/dist/capsule/cpsl-slide-button.entry.js +0 -130
  620. package/dist/capsule/cpsl-slide-button.entry.js.map +0 -1
  621. package/dist/capsule/cpsl-spinner.entry.js +0 -25
  622. package/dist/capsule/cpsl-spinner.entry.js.map +0 -1
  623. package/dist/capsule/cpsl-tab.entry.js +0 -37
  624. package/dist/capsule/cpsl-tab.entry.js.map +0 -1
  625. package/dist/capsule/cpsl-tabs.entry.js +0 -71
  626. package/dist/capsule/cpsl-tabs.entry.js.map +0 -1
  627. package/dist/capsule/cpsl-text.entry.js +0 -66
  628. package/dist/capsule/cpsl-text.entry.js.map +0 -1
  629. package/dist/capsule/cpsl-tile-button.entry.js +0 -19
  630. package/dist/capsule/cpsl-tile-button.entry.js.map +0 -1
  631. package/dist/capsule/index-3ac1b9e9.js +0 -617
  632. package/dist/capsule/index-3ac1b9e9.js.map +0 -1
  633. package/dist/capsule/index-3ad00c7e.js +0 -6064
  634. package/dist/capsule/index-3ad00c7e.js.map +0 -1
  635. package/dist/capsule/index-f19e63df.js +0 -4148
  636. package/dist/capsule/index-f19e63df.js.map +0 -1
  637. package/dist/capsule/shadow-css-bc9e2af8.js +0 -478
  638. package/dist/capsule/shadow-css-bc9e2af8.js.map +0 -1
  639. /package/dist/{capsule → esm}/app-globals-0f993ce5.js +0 -0
  640. /package/dist/{capsule → esm}/app-globals-0f993ce5.js.map +0 -0
  641. /package/dist/{capsule → esm}/constants-7b49abd5.js +0 -0
  642. /package/dist/{capsule → esm}/constants-7b49abd5.js.map +0 -0
  643. /package/dist/types/Users/{taylorbosch → vinay}/Documents/GitHub/Capsule/component-library/core/.stencil/scripts/buildIconLibrary.d.ts +0 -0
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interface.js","sourceRoot":"","sources":["../../src/interface.ts"],"names":[],"mappings":"","sourcesContent":["import { Icons } from './assets/icons';\n\nexport type PredefinedColors = 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger' | 'light' | 'medium' | 'dark';\n\n// From: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete\nexport type AutocompleteTypes =\n | 'on'\n | 'off'\n | 'name'\n | 'honorific-prefix'\n | 'given-name'\n | 'additional-name'\n | 'family-name'\n | 'honorific-suffix'\n | 'nickname'\n | 'email'\n | 'username'\n | 'new-password'\n | 'current-password'\n | 'one-time-code'\n | 'organization-title'\n | 'organization'\n | 'street-address'\n | 'address-line1'\n | 'address-line2'\n | 'address-line3'\n | 'address-level4'\n | 'address-level3'\n | 'address-level2'\n | 'address-level1'\n | 'country'\n | 'country-name'\n | 'postal-code'\n | 'cc-name'\n | 'cc-given-name'\n | 'cc-additional-name'\n | 'cc-family-name'\n | 'cc-family-name'\n | 'cc-number'\n | 'cc-exp'\n | 'cc-exp-month'\n | 'cc-exp-year'\n | 'cc-csc'\n | 'cc-type'\n | 'transaction-currency'\n | 'transaction-amount'\n | 'language'\n | 'bday'\n | 'bday-day'\n | 'bday-month'\n | 'bday-year'\n | 'sex'\n | 'tel'\n | 'tel-country-code'\n | 'tel-national'\n | 'tel-area-code'\n | 'tel-local'\n | 'tel-extension'\n | 'impp'\n | 'url'\n | 'photo';\n\nexport type TextFieldTypes = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url' | 'time' | 'week' | 'month' | 'datetime-local';\n\nexport type LiteralUnion<T extends U, U = string> = T | (U & Record<never, never>);\n\nexport type Color = LiteralUnion<PredefinedColors, string>;\n\nexport type CssClassMap = { [className: string]: boolean };\n\nexport type IconType = keyof typeof Icons;\n\nexport type Theme = {\n foregroundColor?: string;\n backgroundColor?: string;\n borderRadius?: BorderRadius;\n font?: string;\n customPalette?: CustomPalette;\n customFontSizes?: CustomFontSizes;\n};\n\nexport type BorderRadius = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'full';\n\nexport interface CustomFontSizes {\n body2XS?: string;\n bodyXS?: string;\n bodyS?: string;\n bodyM?: string;\n bodyL?: string;\n bodyXL?: string;\n headingXS?: string;\n headingS?: string;\n headingM?: string;\n headingL?: string;\n headingXL?: string;\n heading2XL?: string;\n}\n\nexport interface CustomPalette {\n text?: {\n primary?: string;\n secondary?: string;\n subtle?: string;\n inverted?: string;\n error?: string;\n };\n modal?: {\n surface?: {\n main?: string;\n footer?: string;\n };\n border?: string;\n };\n input?: {\n surface?: {\n disabled?: string;\n default?: string;\n };\n border?: {\n placeholder?: string;\n active?: string;\n error?: string;\n };\n };\n tileButton?: {\n surface?: {\n default?: string;\n hover?: string;\n pressed?: string;\n };\n border?: string;\n };\n primaryButton?: {\n surface?: {\n default?: string;\n hover?: string;\n pressed?: string;\n disabled?: string;\n };\n border?: {\n default?: string;\n disabled?: string;\n };\n outline?: string;\n };\n secondaryButton?: {\n surface?: {\n default?: string;\n hover?: string;\n pressed?: string;\n disabled?: string;\n };\n border?: {\n default?: string;\n disabled?: string;\n };\n outline?: string;\n };\n divider?: string;\n spinner?: {\n path?: string;\n circle?: string;\n };\n pill?: {\n text?: string;\n container?: {\n background?: string;\n border?: string;\n };\n };\n progressIndicator?: {\n active?: string;\n next?: string;\n previous?: string;\n };\n qr?: {\n fill?: string;\n background?: string;\n border?: string;\n };\n slideButton?: {\n slider?: {\n background?: string;\n border?: string;\n text?: string;\n container?: {\n start?: {\n background?: string;\n border?: string;\n };\n end?: {\n background?: string;\n border?: string;\n };\n };\n };\n start?: {\n text?: string;\n };\n end?: {\n text?: string;\n };\n };\n alert?: {\n surface?: {\n error?: string;\n };\n border?: {\n error?: string;\n };\n };\n}\n"]}
@@ -0,0 +1,18 @@
1
+ export const SIZE_TO_MEDIA = {
2
+ xs: '(min-width: 0px)',
3
+ sm: '(min-width: 576px)',
4
+ md: '(min-width: 768px)',
5
+ lg: '(min-width: 992px)',
6
+ xl: '(min-width: 1200px)',
7
+ };
8
+ export const matchBreakpoint = (breakpoint) => {
9
+ if (breakpoint === undefined || breakpoint === '') {
10
+ return true;
11
+ }
12
+ if (window.matchMedia) {
13
+ const mediaQuery = SIZE_TO_MEDIA[breakpoint];
14
+ return window.matchMedia(mediaQuery).matches;
15
+ }
16
+ return false;
17
+ };
18
+ //# sourceMappingURL=media.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"media.js","sourceRoot":"","sources":["../../../src/utils/media.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAQ;IAChC,EAAE,EAAE,kBAAkB;IACtB,EAAE,EAAE,oBAAoB;IACxB,EAAE,EAAE,oBAAoB;IACxB,EAAE,EAAE,oBAAoB;IACxB,EAAE,EAAE,qBAAqB;CAC1B,CAAC;AAKF,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,UAA8B,EAAE,EAAE;IAChE,IAAI,UAAU,KAAK,SAAS,IAAI,UAAU,KAAK,EAAE,EAAE,CAAC;QAClD,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IAAK,MAAc,CAAC,UAAU,EAAE,CAAC;QAC/B,MAAM,UAAU,GAAG,aAAa,CAAC,UAAU,CAAC,CAAC;QAC7C,OAAO,MAAM,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC;IAC/C,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC","sourcesContent":["export const SIZE_TO_MEDIA: any = {\n xs: '(min-width: 0px)',\n sm: '(min-width: 576px)',\n md: '(min-width: 768px)',\n lg: '(min-width: 992px)',\n xl: '(min-width: 1200px)',\n};\n\n// Check if the window matches the media query\n// at the breakpoint passed\n// e.g. matchBreakpoint('sm') => true if screen width exceeds 576px\nexport const matchBreakpoint = (breakpoint: string | undefined) => {\n if (breakpoint === undefined || breakpoint === '') {\n return true;\n }\n if ((window as any).matchMedia) {\n const mediaQuery = SIZE_TO_MEDIA[breakpoint];\n return window.matchMedia(mediaQuery).matches;\n }\n return false;\n};\n"]}
@@ -0,0 +1,56 @@
1
+ export const generateBorderRadii = ({ borderRadius }) => {
2
+ if (!Boolean(borderRadius)) {
3
+ return;
4
+ }
5
+ let smallRadius = 8;
6
+ let mediumRadius = 16;
7
+ let largeRadius = 24;
8
+ const fullRadius = 1000;
9
+ let isFull = false;
10
+ let isNone = false;
11
+ switch (borderRadius) {
12
+ case 'none': {
13
+ isNone = true;
14
+ smallRadius = 0;
15
+ mediumRadius = 0;
16
+ largeRadius = 0;
17
+ break;
18
+ }
19
+ case 'xs': {
20
+ smallRadius = 4;
21
+ mediumRadius = 12;
22
+ largeRadius = 20;
23
+ break;
24
+ }
25
+ case 'md': {
26
+ smallRadius = 12;
27
+ mediumRadius = 20;
28
+ largeRadius = 28;
29
+ break;
30
+ }
31
+ case 'lg': {
32
+ smallRadius = 16;
33
+ mediumRadius = 24;
34
+ largeRadius = 32;
35
+ break;
36
+ }
37
+ case 'full': {
38
+ smallRadius = 16;
39
+ mediumRadius = 24;
40
+ largeRadius = 32;
41
+ isFull = true;
42
+ break;
43
+ }
44
+ }
45
+ document.documentElement.style.setProperty('--cpsl-border-radius-input', `${isFull ? fullRadius : smallRadius}px`);
46
+ document.documentElement.style.setProperty('--cpsl-border-radius-alert', `${smallRadius}px`);
47
+ document.documentElement.style.setProperty('--cpsl-border-radius-tabs', `${isFull ? fullRadius : smallRadius}px`);
48
+ document.documentElement.style.setProperty('--cpsl-border-radius-primary-button', `${isFull ? fullRadius : smallRadius}px`);
49
+ document.documentElement.style.setProperty('--cpsl-border-radius-secondary-button', `${isFull ? fullRadius : smallRadius}px`);
50
+ document.documentElement.style.setProperty('--cpsl-border-radius-tile-button', `${smallRadius}px`);
51
+ document.documentElement.style.setProperty('--cpsl-border-radius-modal', `${mediumRadius}px`);
52
+ document.documentElement.style.setProperty('--cpsl-border-radius-pill', `${isNone ? 0 : fullRadius}px`);
53
+ document.documentElement.style.setProperty('--cpsl-border-radius-qr-code', `${largeRadius}px`);
54
+ document.documentElement.style.setProperty('--cpsl-border-radius-info-box', `${smallRadius}px`);
55
+ };
56
+ //# sourceMappingURL=generateBorderRadii.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generateBorderRadii.js","sourceRoot":"","sources":["../../../../src/utils/theme/generateBorderRadii.ts"],"names":[],"mappings":"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","sourcesContent":["import { Theme } from '../../interface';\n\nexport const generateBorderRadii = ({ borderRadius }: Pick<Theme, 'borderRadius'>) => {\n if (!Boolean(borderRadius)) {\n return;\n }\n\n let smallRadius = 8;\n let mediumRadius = 16;\n let largeRadius = 24;\n const fullRadius = 1000;\n let isFull = false;\n let isNone = false;\n\n switch (borderRadius) {\n case 'none': {\n isNone = true;\n smallRadius = 0;\n mediumRadius = 0;\n largeRadius = 0;\n break;\n }\n case 'xs': {\n smallRadius = 4;\n mediumRadius = 12;\n largeRadius = 20;\n break;\n }\n case 'md': {\n smallRadius = 12;\n mediumRadius = 20;\n largeRadius = 28;\n break;\n }\n case 'lg': {\n smallRadius = 16;\n mediumRadius = 24;\n largeRadius = 32;\n break;\n }\n case 'full': {\n smallRadius = 16;\n mediumRadius = 24;\n largeRadius = 32;\n isFull = true;\n break;\n }\n }\n\n document.documentElement.style.setProperty('--cpsl-border-radius-input', `${isFull ? fullRadius : smallRadius}px`);\n document.documentElement.style.setProperty('--cpsl-border-radius-alert', `${smallRadius}px`);\n document.documentElement.style.setProperty('--cpsl-border-radius-tabs', `${isFull ? fullRadius : smallRadius}px`);\n document.documentElement.style.setProperty('--cpsl-border-radius-primary-button', `${isFull ? fullRadius : smallRadius}px`);\n document.documentElement.style.setProperty('--cpsl-border-radius-secondary-button', `${isFull ? fullRadius : smallRadius}px`);\n document.documentElement.style.setProperty('--cpsl-border-radius-tile-button', `${smallRadius}px`);\n document.documentElement.style.setProperty('--cpsl-border-radius-modal', `${mediumRadius}px`);\n document.documentElement.style.setProperty('--cpsl-border-radius-pill', `${isNone ? 0 : fullRadius}px`);\n document.documentElement.style.setProperty('--cpsl-border-radius-qr-code', `${largeRadius}px`);\n document.documentElement.style.setProperty('--cpsl-border-radius-info-box', `${smallRadius}px`);\n};\n"]}
@@ -0,0 +1,28 @@
1
+ const FONT_NAME_MAP = {
2
+ body2XS: 'body-2xs',
3
+ bodyXS: 'body-xs',
4
+ bodyS: 'body-s',
5
+ bodyM: 'body-m',
6
+ bodyL: 'body-l',
7
+ bodyXL: 'body-xl',
8
+ headingXS: 'heading-xs',
9
+ headingS: 'heading-s',
10
+ headingM: 'heading-m',
11
+ headingL: 'heading-l',
12
+ headingXL: 'heading-xl',
13
+ heading2XL: 'heading-2xl',
14
+ };
15
+ export const generateFont = ({ font, customFontSizes }) => {
16
+ if (Boolean(font)) {
17
+ document.documentElement.style.setProperty('--cpsl-default-font', font);
18
+ }
19
+ Object.entries(FONT_NAME_MAP).forEach(([key, value]) => {
20
+ if (customFontSizes === null || customFontSizes === void 0 ? void 0 : customFontSizes[key]) {
21
+ document.documentElement.style.setProperty(`--cpsl-font-size-${value}`, customFontSizes[key]);
22
+ }
23
+ else {
24
+ document.documentElement.style.removeProperty(`--cpsl-font-size-${value}`);
25
+ }
26
+ });
27
+ };
28
+ //# sourceMappingURL=generateFont.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generateFont.js","sourceRoot":"","sources":["../../../../src/utils/theme/generateFont.ts"],"names":[],"mappings":"AAEA,MAAM,aAAa,GAAG;IACpB,OAAO,EAAE,UAAU;IACnB,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,QAAQ;IACf,KAAK,EAAE,QAAQ;IACf,KAAK,EAAE,QAAQ;IACf,MAAM,EAAE,SAAS;IACjB,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,YAAY;IACvB,UAAU,EAAE,aAAa;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAE,IAAI,EAAE,eAAe,EAA2C,EAAE,EAAE;IACjG,IAAI,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;QAClB,QAAQ,CAAC,eAAe,CAAC,KAAK,CAAC,WAAW,CAAC,qBAAqB,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;IAED,MAAM,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QACrD,IAAI,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAG,GAAG,CAAC,EAAE,CAAC;YAC3B,QAAQ,CAAC,eAAe,CAAC,KAAK,CAAC,WAAW,CAAC,oBAAoB,KAAK,EAAE,EAAE,eAAe,CAAC,GAAG,CAAC,CAAC,CAAC;QAChG,CAAC;aAAM,CAAC;YACN,QAAQ,CAAC,eAAe,CAAC,KAAK,CAAC,cAAc,CAAC,oBAAoB,KAAK,EAAE,CAAC,CAAC;QAC7E,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC,CAAC","sourcesContent":["import { Theme } from '../../interface';\n\nconst FONT_NAME_MAP = {\n body2XS: 'body-2xs',\n bodyXS: 'body-xs',\n bodyS: 'body-s',\n bodyM: 'body-m',\n bodyL: 'body-l',\n bodyXL: 'body-xl',\n headingXS: 'heading-xs',\n headingS: 'heading-s',\n headingM: 'heading-m',\n headingL: 'heading-l',\n headingXL: 'heading-xl',\n heading2XL: 'heading-2xl',\n};\n\nexport const generateFont = ({ font, customFontSizes }: Pick<Theme, 'font' | 'customFontSizes'>) => {\n if (Boolean(font)) {\n document.documentElement.style.setProperty('--cpsl-default-font', font);\n }\n\n Object.entries(FONT_NAME_MAP).forEach(([key, value]) => {\n if (customFontSizes?.[key]) {\n document.documentElement.style.setProperty(`--cpsl-font-size-${value}`, customFontSizes[key]);\n } else {\n document.documentElement.style.removeProperty(`--cpsl-font-size-${value}`);\n }\n });\n};\n"]}
@@ -0,0 +1,46 @@
1
+ import { mix, readableColorIsBlack } from "color2k";
2
+ import { getCssColors, isColor } from "./utils";
3
+ import { DEFAULT_THEME } from "../../constants";
4
+ const MIXES = [0, 0.08, 0.16, 0.32, 0.48, 0.64, 0.8, 0.96];
5
+ export const generatePalette = ({ foregroundColor, backgroundColor, customPalette }) => {
6
+ if (!Boolean(foregroundColor) || !isColor(foregroundColor)) {
7
+ foregroundColor = DEFAULT_THEME.foregroundColor;
8
+ }
9
+ if (!Boolean(backgroundColor) || !isColor(backgroundColor)) {
10
+ backgroundColor = DEFAULT_THEME.backgroundColor;
11
+ }
12
+ const isDarkBackground = !readableColorIsBlack(backgroundColor);
13
+ const palette = {
14
+ foregroundColors: [],
15
+ backgroundColors: [],
16
+ isDarkBackground,
17
+ };
18
+ const backgroundMixColor = isDarkBackground ? '#FFFFFF' : '#000000';
19
+ const foregroundMixColor = isDarkBackground ? '#000000' : '#FFFFFF';
20
+ MIXES.forEach(value => {
21
+ palette.foregroundColors.push(mix(foregroundColor, foregroundMixColor, value));
22
+ palette.backgroundColors.push(mix(backgroundColor, backgroundMixColor, value));
23
+ });
24
+ document.documentElement.style.setProperty('--cpsl-color-background-0', palette.backgroundColors[0]);
25
+ document.documentElement.style.setProperty('--cpsl-color-background-8', palette.backgroundColors[1]);
26
+ document.documentElement.style.setProperty('--cpsl-color-background-16', palette.backgroundColors[2]);
27
+ document.documentElement.style.setProperty('--cpsl-color-background-32', palette.backgroundColors[3]);
28
+ document.documentElement.style.setProperty('--cpsl-color-background-48', palette.backgroundColors[4]);
29
+ document.documentElement.style.setProperty('--cpsl-color-background-64', palette.backgroundColors[5]);
30
+ document.documentElement.style.setProperty('--cpsl-color-background-80', palette.backgroundColors[6]);
31
+ document.documentElement.style.setProperty('--cpsl-color-background-96', palette.backgroundColors[7]);
32
+ document.documentElement.style.setProperty('--cpsl-color-foreground-0', palette.foregroundColors[0]);
33
+ document.documentElement.style.setProperty('--cpsl-color-foreground-8', palette.foregroundColors[1]);
34
+ document.documentElement.style.setProperty('--cpsl-color-foreground-16', palette.foregroundColors[2]);
35
+ document.documentElement.style.setProperty('--cpsl-color-foreground-32', palette.foregroundColors[3]);
36
+ document.documentElement.style.setProperty('--cpsl-color-foreground-48', palette.foregroundColors[4]);
37
+ document.documentElement.style.setProperty('--cpsl-color-foreground-64', palette.foregroundColors[5]);
38
+ document.documentElement.style.setProperty('--cpsl-color-foreground-80', palette.foregroundColors[6]);
39
+ document.documentElement.style.setProperty('--cpsl-color-foreground-96', palette.foregroundColors[7]);
40
+ if (Boolean(customPalette)) {
41
+ const cssColorVars = getCssColors(customPalette);
42
+ Object.entries(cssColorVars).forEach(([k, v]) => document.documentElement.style.setProperty(k, v));
43
+ }
44
+ return palette;
45
+ };
46
+ //# sourceMappingURL=generatePalette.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generatePalette.js","sourceRoot":"","sources":["../../../../src/utils/theme/generatePalette.ts"],"names":[],"mappings":"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","sourcesContent":["import { mix, readableColorIsBlack } from 'color2k';\nimport { Theme } from '../../interface';\nimport { getCssColors, isColor } from './utils';\nimport { DEFAULT_THEME } from '../../constants';\n\nexport type Palette = {\n foregroundColors: string[];\n backgroundColors: string[];\n isDarkBackground: boolean;\n};\n\nconst MIXES = [0, 0.08, 0.16, 0.32, 0.48, 0.64, 0.8, 0.96];\n\nexport const generatePalette = ({ foregroundColor, backgroundColor, customPalette }: Pick<Theme, 'foregroundColor' | 'backgroundColor' | 'customPalette'>): Palette => {\n if (!Boolean(foregroundColor) || !isColor(foregroundColor)) {\n foregroundColor = DEFAULT_THEME.foregroundColor;\n }\n if (!Boolean(backgroundColor) || !isColor(backgroundColor)) {\n backgroundColor = DEFAULT_THEME.backgroundColor;\n }\n\n const isDarkBackground = !readableColorIsBlack(backgroundColor);\n\n const palette: Palette = {\n foregroundColors: [],\n backgroundColors: [],\n isDarkBackground,\n };\n\n const backgroundMixColor = isDarkBackground ? '#FFFFFF' : '#000000';\n const foregroundMixColor = isDarkBackground ? '#000000' : '#FFFFFF';\n\n MIXES.forEach(value => {\n palette.foregroundColors.push(mix(foregroundColor, foregroundMixColor, value));\n palette.backgroundColors.push(mix(backgroundColor, backgroundMixColor, value));\n });\n\n // BACKGROUND\n document.documentElement.style.setProperty('--cpsl-color-background-0', palette.backgroundColors[0]);\n document.documentElement.style.setProperty('--cpsl-color-background-8', palette.backgroundColors[1]);\n document.documentElement.style.setProperty('--cpsl-color-background-16', palette.backgroundColors[2]);\n document.documentElement.style.setProperty('--cpsl-color-background-32', palette.backgroundColors[3]);\n document.documentElement.style.setProperty('--cpsl-color-background-48', palette.backgroundColors[4]);\n document.documentElement.style.setProperty('--cpsl-color-background-64', palette.backgroundColors[5]);\n document.documentElement.style.setProperty('--cpsl-color-background-80', palette.backgroundColors[6]);\n document.documentElement.style.setProperty('--cpsl-color-background-96', palette.backgroundColors[7]);\n\n // FOREGROUND\n document.documentElement.style.setProperty('--cpsl-color-foreground-0', palette.foregroundColors[0]);\n document.documentElement.style.setProperty('--cpsl-color-foreground-8', palette.foregroundColors[1]);\n document.documentElement.style.setProperty('--cpsl-color-foreground-16', palette.foregroundColors[2]);\n document.documentElement.style.setProperty('--cpsl-color-foreground-32', palette.foregroundColors[3]);\n document.documentElement.style.setProperty('--cpsl-color-foreground-48', palette.foregroundColors[4]);\n document.documentElement.style.setProperty('--cpsl-color-foreground-64', palette.foregroundColors[5]);\n document.documentElement.style.setProperty('--cpsl-color-foreground-80', palette.foregroundColors[6]);\n document.documentElement.style.setProperty('--cpsl-color-foreground-96', palette.foregroundColors[7]);\n\n if (Boolean(customPalette)) {\n const cssColorVars = getCssColors(customPalette);\n Object.entries(cssColorVars).forEach(([k, v]) => document.documentElement.style.setProperty(k, v));\n }\n\n return palette;\n};\n"]}
@@ -0,0 +1,11 @@
1
+ import { DEFAULT_THEME } from "../../constants";
2
+ import { generateBorderRadii } from "./generateBorderRadii";
3
+ import { generateFont } from "./generateFont";
4
+ import { generatePalette } from "./generatePalette";
5
+ export const generateTheme = ({ foregroundColor = DEFAULT_THEME.foregroundColor, backgroundColor = DEFAULT_THEME.backgroundColor, font, customPalette, borderRadius, customFontSizes, }) => {
6
+ const palette = generatePalette({ foregroundColor, backgroundColor, customPalette });
7
+ generateFont({ font, customFontSizes });
8
+ generateBorderRadii({ borderRadius });
9
+ return palette.isDarkBackground;
10
+ };
11
+ //# sourceMappingURL=generateTheme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generateTheme.js","sourceRoot":"","sources":["../../../../src/utils/theme/generateTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAMpD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAC5B,eAAe,GAAG,aAAa,CAAC,eAAe,EAC/C,eAAe,GAAG,aAAa,CAAC,eAAe,EAC/C,IAAI,EACJ,aAAa,EACb,YAAY,EACZ,eAAe,GACT,EAAW,EAAE;IACnB,MAAM,OAAO,GAAG,eAAe,CAAC,EAAE,eAAe,EAAE,eAAe,EAAE,aAAa,EAAE,CAAC,CAAC;IAErF,YAAY,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC,CAAC;IAExC,mBAAmB,CAAC,EAAE,YAAY,EAAE,CAAC,CAAC;IAEtC,OAAO,OAAO,CAAC,gBAAgB,CAAC;AAClC,CAAC,CAAC","sourcesContent":["import { DEFAULT_THEME } from '../../constants';\nimport { Theme } from '../../interface';\nimport { generateBorderRadii } from './generateBorderRadii';\nimport { generateFont } from './generateFont';\nimport { generatePalette } from './generatePalette';\n\n/**\n * Generates css theme variables.\n * @returns @boolean Whether background is dark or not.\n */\nexport const generateTheme = ({\n foregroundColor = DEFAULT_THEME.foregroundColor,\n backgroundColor = DEFAULT_THEME.backgroundColor,\n font,\n customPalette,\n borderRadius,\n customFontSizes,\n}: Theme): boolean => {\n const palette = generatePalette({ foregroundColor, backgroundColor, customPalette });\n\n generateFont({ font, customFontSizes });\n\n generateBorderRadii({ borderRadius });\n\n return palette.isDarkBackground;\n};\n"]}
@@ -0,0 +1,21 @@
1
+ export const isColor = strColor => {
2
+ const s = new Option().style;
3
+ s.color = strColor;
4
+ return s.color !== '';
5
+ };
6
+ const toKebabCase = (pascal) => pascal.replace(/([a-z0–9])([A-Z])/g, '$1-$2').toLowerCase();
7
+ const buildVars = (prev, obj) => {
8
+ let resp = {};
9
+ for (const k in obj) {
10
+ const name = `${prev}-${toKebabCase(k)}`;
11
+ if (typeof obj[k] === 'object' && obj[k] !== null) {
12
+ resp = Object.assign(Object.assign({}, resp), buildVars(name, obj[k]));
13
+ }
14
+ else {
15
+ resp[name] = obj[k];
16
+ }
17
+ }
18
+ return resp;
19
+ };
20
+ export const getCssColors = (customPalette) => buildVars('--cpsl-color', customPalette);
21
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/utils/theme/utils.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC,EAAE;IAChC,MAAM,CAAC,GAAG,IAAI,MAAM,EAAE,CAAC,KAAK,CAAC;IAC7B,CAAC,CAAC,KAAK,GAAG,QAAQ,CAAC;IACnB,OAAO,CAAC,CAAC,KAAK,KAAK,EAAE,CAAC;AACxB,CAAC,CAAC;AAEF,MAAM,WAAW,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC;AAGpG,MAAM,SAAS,GAAG,CAAC,IAAY,EAAE,GAAQ,EAA2B,EAAE;IACpE,IAAI,IAAI,GAAG,EAAE,CAAC;IAEd,KAAK,MAAM,CAAC,IAAI,GAAG,EAAE,CAAC;QACpB,MAAM,IAAI,GAAG,GAAG,IAAI,IAAI,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;QACzC,IAAI,OAAO,GAAG,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,GAAG,CAAC,CAAC,CAAC,KAAK,IAAI,EAAE,CAAC;YAClD,IAAI,mCAAQ,IAAI,GAAK,SAAS,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,CAAE,CAAC;QACjD,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC;QACtB,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,aAA4B,EAA2B,EAAE,CAAC,SAAS,CAAC,cAAc,EAAE,aAAa,CAAC,CAAC","sourcesContent":["import { CustomPalette } from '../../interface';\n\nexport const isColor = strColor => {\n const s = new Option().style;\n s.color = strColor;\n return s.color !== '';\n};\n\nconst toKebabCase = (pascal: string) => pascal.replace(/([a-z0–9])([A-Z])/g, '$1-$2').toLowerCase();\n\n// This function handles arrays and objects\nconst buildVars = (prev: string, obj: any): { [k: string]: string } => {\n let resp = {};\n\n for (const k in obj) {\n const name = `${prev}-${toKebabCase(k)}`;\n if (typeof obj[k] === 'object' && obj[k] !== null) {\n resp = { ...resp, ...buildVars(name, obj[k]) };\n } else {\n resp[name] = obj[k];\n }\n }\n\n return resp;\n};\n\nexport const getCssColors = (customPalette: CustomPalette): { [k: string]: string } => buildVars('--cpsl-color', customPalette);\n"]}
@@ -0,0 +1,9 @@
1
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
2
+
3
+ function getDefaultExportFromCjs (x) {
4
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
5
+ }
6
+
7
+ export { commonjsGlobal as c, getDefaultExportFromCjs as g };
8
+
9
+ //# sourceMappingURL=_commonjsHelpers-1789f0cf.js.map
@@ -0,0 +1 @@
1
+ {"file":"_commonjsHelpers-1789f0cf.js","mappings":";;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
@@ -0,0 +1,22 @@
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-f00e090c.js';
2
+ export { s as setNonce } from './index-f00e090c.js';
3
+ import { g as globalScripts } from './app-globals-0f993ce5.js';
4
+
5
+ /*
6
+ Stencil Client Patch Browser v4.12.5 | MIT Licensed | https://stenciljs.com
7
+ */
8
+ const patchBrowser = () => {
9
+ const importMeta = import.meta.url;
10
+ const opts = {};
11
+ if (importMeta !== '') {
12
+ opts.resourcesUrl = new URL('.', importMeta).href;
13
+ }
14
+ return promiseResolve(opts);
15
+ };
16
+
17
+ patchBrowser().then(async (options) => {
18
+ await globalScripts();
19
+ return bootstrapLazy([["cpsl-animation",[[1,"cpsl-animation",{"src":[1],"replayAnimation":[64]}]]],["cpsl-col",[[1,"cpsl-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]]]],["cpsl-grid",[[1,"cpsl-grid",{"fixed":[4]}]]],["cpsl-info-box",[[1,"cpsl-info-box"]]],["cpsl-row",[[1,"cpsl-row"]]],["cpsl-alert_18",[[1,"cpsl-code-input",{"code":[1025],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"length":[2],"type":[1]}],[1,"cpsl-input",{"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"noAutoDisable":[4,"no-auto-disable"],"autofocus":[4],"disabled":[4],"enterkeyhint":[1],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"inputmode":[1],"label":[1],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"startIconSrc":[1,"start-icon-src"],"startIcon":[1,"start-icon"],"step":[1],"type":[1],"value":[1025],"hasFocus":[32]},null,{"disabled":["handleDisable"]}],[1,"cpsl-modal",{"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"],"footerExpanded":[4,"footer-expanded"],"footerTransitionDuration":[2,"footer-transition-duration"],"noOverlay":[4,"no-overlay"],"open":[4],"hasFooter":[32]},null,{"footerExpanded":["toggleHeight"],"open":["toggleModal"]}],[1,"cpsl-slide-button",{"disabled":[4],"endIcon":[1,"end-icon"],"endText":[1,"end-text"],"startIcon":[1,"start-icon"],"startText":[1,"start-text"]}],[1,"cpsl-tile-button",{"src":[1],"icon":[1]}],[1,"cpsl-alert",{"type":[1],"icon":[1]}],[1,"cpsl-button",{"disabled":[516],"variant":[513]}],[1,"cpsl-divider"],[1,"cpsl-dropdown",{"width":[1],"items":[16],"isOpen":[32],"selectedItem":[32]},null,{"isOpen":["handleOpenChange"]}],[1,"cpsl-pill",{"text":[1]}],[1,"cpsl-progress-indicator",{"totalSteps":[2,"total-steps"],"step":[2]}],[1,"cpsl-qr-code",{"url":[1],"imageSrc":[1,"image-src"],"size":[2]}],[1,"cpsl-spinner",{"size":[2],"speed":[2]}],[1,"cpsl-tab",{"selected":[4],"tab":[1]},[[8,"cpslTabsChanged","onTabsChanged"],[8,"cpslTabsInit","onTabsInit"]]],[1,"cpsl-tabs",{"fullWidth":[4,"full-width"],"selectedTab":[1,"selected-tab"],"selectedTabRect":[32],"loaded":[32]},null,{"fullWidth":["updateSlider"],"selectedTab":["updateTab"]}],[1,"cpsl-text",{"color":[1],"variant":[1],"weight":[1]}],[1,"cpsl-overlay",{"open":[4],"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"]},null,{"open":["toggleHeight"]}],[1,"cpsl-icon",{"src":[1],"icon":[1]}]]]], options);
20
+ });
21
+
22
+ //# sourceMappingURL=capsule.js.map
@@ -0,0 +1 @@
1
+ {"file":"capsule.js","mappings":";;;;AAAA;AACA;AACA;AAGA,MAAM,YAAY,GAAG,MAAM;AAa3B,IAAI,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;AACvC,IAAI,MAAM,IAAI,GAAiE,EAAE,CAAC;AAClF,IAAI,IAAI,UAAU,KAAK,EAAE,EAAE;AAC3B,QAAQ,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AAC1D,KAAK;AACL,IAAI,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC;;ACpBD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,OAAO,KAAK;AACvC,EAAE,MAAM,aAAa,EAAE,CAAC;AACxB,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC","names":[],"sources":["../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.12.5 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}