@getpara/core-components 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (753) hide show
  1. package/css/capsule-core.css +298 -0
  2. package/css/capsule-core.css.map +1 -0
  3. package/dist/capsule/capsule.esm.js +2 -0
  4. package/dist/capsule/capsule.esm.js.map +1 -0
  5. package/dist/capsule/index.esm.js +2 -0
  6. package/dist/capsule/index.esm.js.map +1 -0
  7. package/dist/capsule/p-0a4c8cdc.entry.js +2 -0
  8. package/dist/capsule/p-0a4c8cdc.entry.js.map +1 -0
  9. package/dist/capsule/p-438442c7.entry.js +2 -0
  10. package/dist/capsule/p-438442c7.entry.js.map +1 -0
  11. package/dist/capsule/p-497acb43.js +2 -0
  12. package/dist/capsule/p-497acb43.js.map +1 -0
  13. package/dist/capsule/p-5cd62456.entry.js +2 -0
  14. package/dist/capsule/p-5cd62456.entry.js.map +1 -0
  15. package/dist/capsule/p-75685be8.entry.js +2 -0
  16. package/dist/capsule/p-75685be8.entry.js.map +1 -0
  17. package/dist/capsule/p-ab7b3141.entry.js +2 -0
  18. package/dist/capsule/p-ab7b3141.entry.js.map +1 -0
  19. package/dist/capsule/p-c9e61114.entry.js +2 -0
  20. package/dist/capsule/p-c9e61114.entry.js.map +1 -0
  21. package/dist/capsule/p-d4bdb369.entry.js +2 -0
  22. package/dist/capsule/p-d4bdb369.entry.js.map +1 -0
  23. package/dist/capsule/p-d813dac5.entry.js +28 -0
  24. package/dist/capsule/p-d813dac5.entry.js.map +1 -0
  25. package/dist/capsule/p-de2a16e4.entry.js +2 -0
  26. package/dist/capsule/p-de2a16e4.entry.js.map +1 -0
  27. package/dist/capsule/p-e1255160.js +2 -0
  28. package/dist/capsule/p-e1255160.js.map +1 -0
  29. package/dist/capsule/p-f2393be6.js +2 -0
  30. package/dist/capsule/p-f2393be6.js.map +1 -0
  31. package/dist/capsule/p-fa6b7678.js +3 -0
  32. package/dist/capsule/p-fa6b7678.js.map +1 -0
  33. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  34. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  35. package/dist/cjs/capsule.cjs.js +27 -0
  36. package/dist/cjs/capsule.cjs.js.map +1 -0
  37. package/dist/cjs/constants-9b1b01bb.js +29 -0
  38. package/dist/cjs/constants-9b1b01bb.js.map +1 -0
  39. package/dist/cjs/cpsl-alert_34.cjs.entry.js +21900 -0
  40. package/dist/cjs/cpsl-alert_34.cjs.entry.js.map +1 -0
  41. package/dist/cjs/cpsl-col.cjs.entry.js +144 -0
  42. package/dist/cjs/cpsl-col.cjs.entry.js.map +1 -0
  43. package/dist/cjs/cpsl-grid.cjs.entry.js +25 -0
  44. package/dist/cjs/cpsl-grid.cjs.entry.js.map +1 -0
  45. package/dist/cjs/cpsl-hero.cjs.entry.js +43 -0
  46. package/dist/cjs/cpsl-hero.cjs.entry.js.map +1 -0
  47. package/dist/cjs/cpsl-identicon.cjs.entry.js +108 -0
  48. package/dist/cjs/cpsl-identicon.cjs.entry.js.map +1 -0
  49. package/dist/cjs/cpsl-info-box.cjs.entry.js +22 -0
  50. package/dist/cjs/cpsl-info-box.cjs.entry.js.map +1 -0
  51. package/dist/cjs/cpsl-modal-v2.cjs.entry.js +56 -0
  52. package/dist/cjs/cpsl-modal-v2.cjs.entry.js.map +1 -0
  53. package/dist/cjs/cpsl-nav-button.cjs.entry.js +40 -0
  54. package/dist/cjs/cpsl-nav-button.cjs.entry.js.map +1 -0
  55. package/dist/cjs/cpsl-row.cjs.entry.js +22 -0
  56. package/dist/cjs/cpsl-row.cjs.entry.js.map +1 -0
  57. package/dist/cjs/index-65f57499.js +1439 -0
  58. package/dist/cjs/index-65f57499.js.map +1 -0
  59. package/dist/cjs/index.cjs.js +433 -0
  60. package/dist/cjs/index.cjs.js.map +1 -0
  61. package/dist/cjs/loader.cjs.js +17 -0
  62. package/dist/cjs/loader.cjs.js.map +1 -0
  63. package/dist/cjs/prand-76d9999c.js +208 -0
  64. package/dist/cjs/prand-76d9999c.js.map +1 -0
  65. package/dist/collection/assets/icons/alert-circle.svg +3 -0
  66. package/dist/collection/assets/icons/alert-triangle.svg +5 -0
  67. package/dist/collection/assets/icons/align-vertical-center.svg +3 -0
  68. package/dist/collection/assets/icons/angel-list-brand.svg +3 -0
  69. package/dist/collection/assets/icons/angel-list.svg +3 -0
  70. package/dist/collection/assets/icons/apple-brand.svg +3 -0
  71. package/dist/collection/assets/icons/apple.svg +3 -0
  72. package/dist/collection/assets/icons/arbitrum-brand.svg +38 -0
  73. package/dist/collection/assets/icons/arrow-circle-broken-down-left.svg +3 -0
  74. package/dist/collection/assets/icons/arrow-circle-down-filled.svg +5 -0
  75. package/dist/collection/assets/icons/arrow-narrow.svg +3 -0
  76. package/dist/collection/assets/icons/arrow.svg +3 -0
  77. package/dist/collection/assets/icons/asterisk.svg +3 -0
  78. package/dist/collection/assets/icons/backup-kit.svg +4 -0
  79. package/dist/collection/assets/icons/bank.svg +3 -0
  80. package/dist/collection/assets/icons/base-brand.svg +3 -0
  81. package/dist/collection/assets/icons/brush.svg +3 -0
  82. package/dist/collection/assets/icons/celo-brand.svg +13 -0
  83. package/dist/collection/assets/icons/check-circle-filled.svg +5 -0
  84. package/dist/collection/assets/icons/check-circle.svg +3 -0
  85. package/dist/collection/assets/icons/check-square.svg +3 -0
  86. package/dist/collection/assets/icons/check.svg +3 -0
  87. package/dist/collection/assets/icons/chevron-down.svg +5 -0
  88. package/dist/collection/assets/icons/chevron-right.svg +3 -0
  89. package/dist/collection/assets/icons/chevron-selector-vertical.svg +5 -0
  90. package/dist/collection/assets/icons/chevron-up.svg +3 -0
  91. package/dist/collection/assets/icons/clock.svg +3 -0
  92. package/dist/collection/assets/icons/close.svg +3 -0
  93. package/dist/collection/assets/icons/clubhouse-brand.svg +4 -0
  94. package/dist/collection/assets/icons/clubhouse.svg +4 -0
  95. package/dist/collection/assets/icons/code.svg +3 -0
  96. package/dist/collection/assets/icons/copy-07.svg +5 -0
  97. package/dist/collection/assets/icons/copy.svg +3 -0
  98. package/dist/collection/assets/icons/cosmos.svg +12 -0
  99. package/dist/collection/assets/icons/credit-card-02.svg +5 -0
  100. package/dist/collection/assets/icons/credit-card.svg +3 -0
  101. package/dist/collection/assets/icons/cube-03.svg +5 -0
  102. package/dist/collection/assets/icons/cube-outline.svg +5 -0
  103. package/dist/collection/assets/icons/cube.svg +3 -0
  104. package/dist/collection/assets/icons/currency-dollar.svg +3 -0
  105. package/dist/collection/assets/icons/decent-brand.svg +3 -0
  106. package/dist/collection/assets/icons/decent.svg +3 -0
  107. package/dist/collection/assets/icons/dell.svg +12 -0
  108. package/dist/collection/assets/icons/discord-brand.svg +4 -0
  109. package/dist/collection/assets/icons/discord.svg +4 -0
  110. package/dist/collection/assets/icons/dot.svg +3 -0
  111. package/dist/collection/assets/icons/dots.svg +65 -0
  112. package/dist/collection/assets/icons/download-cloud.svg +3 -0
  113. package/dist/collection/assets/icons/download.svg +3 -0
  114. package/dist/collection/assets/icons/dribbble-brand.svg +4 -0
  115. package/dist/collection/assets/icons/dribbble.svg +3 -0
  116. package/dist/collection/assets/icons/earth.svg +11 -0
  117. package/dist/collection/assets/icons/edit-02.svg +5 -0
  118. package/dist/collection/assets/icons/empty-circle.svg +4 -0
  119. package/dist/collection/assets/icons/ethereum.svg +4 -0
  120. package/dist/collection/assets/icons/eye-off.svg +3 -0
  121. package/dist/collection/assets/icons/eye.svg +4 -0
  122. package/dist/collection/assets/icons/facebook-brand.svg +11 -0
  123. package/dist/collection/assets/icons/facebook.svg +10 -0
  124. package/dist/collection/assets/icons/farcaster-brand.svg +10 -0
  125. package/dist/collection/assets/icons/farcaster.svg +10 -0
  126. package/dist/collection/assets/icons/figma-brand.svg +14 -0
  127. package/dist/collection/assets/icons/figma.svg +3 -0
  128. package/dist/collection/assets/icons/file.svg +3 -0
  129. package/dist/collection/assets/icons/flags/AD.svg +15 -0
  130. package/dist/collection/assets/icons/flags/AE.svg +13 -0
  131. package/dist/collection/assets/icons/flags/AF.svg +14 -0
  132. package/dist/collection/assets/icons/flags/AG.svg +15 -0
  133. package/dist/collection/assets/icons/flags/AI.svg +19 -0
  134. package/dist/collection/assets/icons/flags/AL.svg +11 -0
  135. package/dist/collection/assets/icons/flags/AM.svg +12 -0
  136. package/dist/collection/assets/icons/flags/AO.svg +14 -0
  137. package/dist/collection/assets/icons/flags/AR.svg +13 -0
  138. package/dist/collection/assets/icons/flags/AS.svg +15 -0
  139. package/dist/collection/assets/icons/flags/AT.svg +12 -0
  140. package/dist/collection/assets/icons/flags/AU.svg +20 -0
  141. package/dist/collection/assets/icons/flags/AW.svg +15 -0
  142. package/dist/collection/assets/icons/flags/AX.svg +15 -0
  143. package/dist/collection/assets/icons/flags/AZ.svg +14 -0
  144. package/dist/collection/assets/icons/flags/BA.svg +13 -0
  145. package/dist/collection/assets/icons/flags/BB.svg +13 -0
  146. package/dist/collection/assets/icons/flags/BD.svg +11 -0
  147. package/dist/collection/assets/icons/flags/BE.svg +12 -0
  148. package/dist/collection/assets/icons/flags/BF.svg +12 -0
  149. package/dist/collection/assets/icons/flags/BG.svg +12 -0
  150. package/dist/collection/assets/icons/flags/BH.svg +11 -0
  151. package/dist/collection/assets/icons/flags/BI.svg +18 -0
  152. package/dist/collection/assets/icons/flags/BJ.svg +12 -0
  153. package/dist/collection/assets/icons/flags/BL.svg +16 -0
  154. package/dist/collection/assets/icons/flags/BM.svg +20 -0
  155. package/dist/collection/assets/icons/flags/BN.svg +19 -0
  156. package/dist/collection/assets/icons/flags/BO.svg +12 -0
  157. package/dist/collection/assets/icons/flags/BQ.svg +14 -0
  158. package/dist/collection/assets/icons/flags/BQ2.svg +20 -0
  159. package/dist/collection/assets/icons/flags/BQ3.svg +15 -0
  160. package/dist/collection/assets/icons/flags/BR.svg +14 -0
  161. package/dist/collection/assets/icons/flags/BS.svg +13 -0
  162. package/dist/collection/assets/icons/flags/BT.svg +12 -0
  163. package/dist/collection/assets/icons/flags/BW.svg +13 -0
  164. package/dist/collection/assets/icons/flags/BY.svg +18 -0
  165. package/dist/collection/assets/icons/flags/BZ.svg +17 -0
  166. package/dist/collection/assets/icons/flags/CA.svg +13 -0
  167. package/dist/collection/assets/icons/flags/CC.svg +19 -0
  168. package/dist/collection/assets/icons/flags/CD.svg +12 -0
  169. package/dist/collection/assets/icons/flags/CD2.svg +14 -0
  170. package/dist/collection/assets/icons/flags/CF.svg +20 -0
  171. package/dist/collection/assets/icons/flags/CH.svg +11 -0
  172. package/dist/collection/assets/icons/flags/CK.svg +22 -0
  173. package/dist/collection/assets/icons/flags/CL.svg +13 -0
  174. package/dist/collection/assets/icons/flags/CM.svg +13 -0
  175. package/dist/collection/assets/icons/flags/CN.svg +15 -0
  176. package/dist/collection/assets/icons/flags/CO.svg +12 -0
  177. package/dist/collection/assets/icons/flags/CR.svg +13 -0
  178. package/dist/collection/assets/icons/flags/CU.svg +15 -0
  179. package/dist/collection/assets/icons/flags/CW.svg +14 -0
  180. package/dist/collection/assets/icons/flags/CX.svg +19 -0
  181. package/dist/collection/assets/icons/flags/CY.svg +12 -0
  182. package/dist/collection/assets/icons/flags/CZ.svg +12 -0
  183. package/dist/collection/assets/icons/flags/DE.svg +12 -0
  184. package/dist/collection/assets/icons/flags/DJ.svg +13 -0
  185. package/dist/collection/assets/icons/flags/DK.svg +14 -0
  186. package/dist/collection/assets/icons/flags/DM.svg +34 -0
  187. package/dist/collection/assets/icons/flags/DO.svg +17 -0
  188. package/dist/collection/assets/icons/flags/DS.svg +13 -0
  189. package/dist/collection/assets/icons/flags/DZ.svg +13 -0
  190. package/dist/collection/assets/icons/flags/EC.svg +15 -0
  191. package/dist/collection/assets/icons/flags/EE.svg +12 -0
  192. package/dist/collection/assets/icons/flags/EG.svg +13 -0
  193. package/dist/collection/assets/icons/flags/EH.svg +15 -0
  194. package/dist/collection/assets/icons/flags/ER.svg +13 -0
  195. package/dist/collection/assets/icons/flags/ES.svg +12 -0
  196. package/dist/collection/assets/icons/flags/ET.svg +15 -0
  197. package/dist/collection/assets/icons/flags/FI.svg +11 -0
  198. package/dist/collection/assets/icons/flags/FJ.svg +18 -0
  199. package/dist/collection/assets/icons/flags/FK.svg +18 -0
  200. package/dist/collection/assets/icons/flags/FM.svg +14 -0
  201. package/dist/collection/assets/icons/flags/FO.svg +12 -0
  202. package/dist/collection/assets/icons/flags/FR.svg +12 -0
  203. package/dist/collection/assets/icons/flags/GA.svg +12 -0
  204. package/dist/collection/assets/icons/flags/GB-2.svg +11 -0
  205. package/dist/collection/assets/icons/flags/GB.svg +23 -0
  206. package/dist/collection/assets/icons/flags/GD.svg +26 -0
  207. package/dist/collection/assets/icons/flags/GE.svg +15 -0
  208. package/dist/collection/assets/icons/flags/GG.svg +12 -0
  209. package/dist/collection/assets/icons/flags/GH.svg +13 -0
  210. package/dist/collection/assets/icons/flags/GI.svg +13 -0
  211. package/dist/collection/assets/icons/flags/GL.svg +13 -0
  212. package/dist/collection/assets/icons/flags/GM.svg +13 -0
  213. package/dist/collection/assets/icons/flags/GN.svg +12 -0
  214. package/dist/collection/assets/icons/flags/GQ.svg +16 -0
  215. package/dist/collection/assets/icons/flags/GR.svg +15 -0
  216. package/dist/collection/assets/icons/flags/GT.svg +14 -0
  217. package/dist/collection/assets/icons/flags/GU.svg +18 -0
  218. package/dist/collection/assets/icons/flags/GW.svg +14 -0
  219. package/dist/collection/assets/icons/flags/GY.svg +15 -0
  220. package/dist/collection/assets/icons/flags/HK.svg +15 -0
  221. package/dist/collection/assets/icons/flags/HN.svg +17 -0
  222. package/dist/collection/assets/icons/flags/HR.svg +31 -0
  223. package/dist/collection/assets/icons/flags/HT.svg +17 -0
  224. package/dist/collection/assets/icons/flags/HU.svg +12 -0
  225. package/dist/collection/assets/icons/flags/ID.svg +11 -0
  226. package/dist/collection/assets/icons/flags/IE.svg +12 -0
  227. package/dist/collection/assets/icons/flags/IL.svg +13 -0
  228. package/dist/collection/assets/icons/flags/IM.svg +11 -0
  229. package/dist/collection/assets/icons/flags/IN.svg +15 -0
  230. package/dist/collection/assets/icons/flags/IO.svg +29 -0
  231. package/dist/collection/assets/icons/flags/IQ.svg +15 -0
  232. package/dist/collection/assets/icons/flags/IR.svg +13 -0
  233. package/dist/collection/assets/icons/flags/IS.svg +15 -0
  234. package/dist/collection/assets/icons/flags/IT.svg +12 -0
  235. package/dist/collection/assets/icons/flags/JE.svg +13 -0
  236. package/dist/collection/assets/icons/flags/JM.svg +14 -0
  237. package/dist/collection/assets/icons/flags/JO.svg +14 -0
  238. package/dist/collection/assets/icons/flags/JP.svg +11 -0
  239. package/dist/collection/assets/icons/flags/KE.svg +19 -0
  240. package/dist/collection/assets/icons/flags/KG.svg +16 -0
  241. package/dist/collection/assets/icons/flags/KH.svg +13 -0
  242. package/dist/collection/assets/icons/flags/KI.svg +17 -0
  243. package/dist/collection/assets/icons/flags/KM.svg +19 -0
  244. package/dist/collection/assets/icons/flags/KN.svg +15 -0
  245. package/dist/collection/assets/icons/flags/KP.svg +15 -0
  246. package/dist/collection/assets/icons/flags/KR.svg +30 -0
  247. package/dist/collection/assets/icons/flags/KW.svg +13 -0
  248. package/dist/collection/assets/icons/flags/KY.svg +20 -0
  249. package/dist/collection/assets/icons/flags/KZ.svg +13 -0
  250. package/dist/collection/assets/icons/flags/LA.svg +13 -0
  251. package/dist/collection/assets/icons/flags/LB.svg +13 -0
  252. package/dist/collection/assets/icons/flags/LC.svg +13 -0
  253. package/dist/collection/assets/icons/flags/LI.svg +12 -0
  254. package/dist/collection/assets/icons/flags/LK.svg +14 -0
  255. package/dist/collection/assets/icons/flags/LR.svg +23 -0
  256. package/dist/collection/assets/icons/flags/LS.svg +13 -0
  257. package/dist/collection/assets/icons/flags/LT.svg +12 -0
  258. package/dist/collection/assets/icons/flags/LU.svg +12 -0
  259. package/dist/collection/assets/icons/flags/LV.svg +12 -0
  260. package/dist/collection/assets/icons/flags/LY.svg +14 -0
  261. package/dist/collection/assets/icons/flags/MA.svg +11 -0
  262. package/dist/collection/assets/icons/flags/MC.svg +11 -0
  263. package/dist/collection/assets/icons/flags/MD.svg +15 -0
  264. package/dist/collection/assets/icons/flags/ME.svg +15 -0
  265. package/dist/collection/assets/icons/flags/MG.svg +12 -0
  266. package/dist/collection/assets/icons/flags/MH.svg +13 -0
  267. package/dist/collection/assets/icons/flags/MK.svg +20 -0
  268. package/dist/collection/assets/icons/flags/ML.svg +12 -0
  269. package/dist/collection/assets/icons/flags/MM.svg +13 -0
  270. package/dist/collection/assets/icons/flags/MN.svg +19 -0
  271. package/dist/collection/assets/icons/flags/MO.svg +18 -0
  272. package/dist/collection/assets/icons/flags/MP.svg +14 -0
  273. package/dist/collection/assets/icons/flags/MQ.svg +18 -0
  274. package/dist/collection/assets/icons/flags/MR.svg +12 -0
  275. package/dist/collection/assets/icons/flags/MS.svg +17 -0
  276. package/dist/collection/assets/icons/flags/MT.svg +12 -0
  277. package/dist/collection/assets/icons/flags/MU.svg +13 -0
  278. package/dist/collection/assets/icons/flags/MV.svg +12 -0
  279. package/dist/collection/assets/icons/flags/MW.svg +13 -0
  280. package/dist/collection/assets/icons/flags/MX.svg +14 -0
  281. package/dist/collection/assets/icons/flags/MY.svg +17 -0
  282. package/dist/collection/assets/icons/flags/MZ.svg +17 -0
  283. package/dist/collection/assets/icons/flags/NA.svg +14 -0
  284. package/dist/collection/assets/icons/flags/NE.svg +13 -0
  285. package/dist/collection/assets/icons/flags/NF.svg +13 -0
  286. package/dist/collection/assets/icons/flags/NG.svg +12 -0
  287. package/dist/collection/assets/icons/flags/NI.svg +16 -0
  288. package/dist/collection/assets/icons/flags/NL.svg +12 -0
  289. package/dist/collection/assets/icons/flags/NO.svg +15 -0
  290. package/dist/collection/assets/icons/flags/NP.svg +16 -0
  291. package/dist/collection/assets/icons/flags/NR.svg +14 -0
  292. package/dist/collection/assets/icons/flags/NU.svg +20 -0
  293. package/dist/collection/assets/icons/flags/NZ.svg +18 -0
  294. package/dist/collection/assets/icons/flags/OM.svg +15 -0
  295. package/dist/collection/assets/icons/flags/PA.svg +14 -0
  296. package/dist/collection/assets/icons/flags/PE.svg +12 -0
  297. package/dist/collection/assets/icons/flags/PF.svg +17 -0
  298. package/dist/collection/assets/icons/flags/PG.svg +17 -0
  299. package/dist/collection/assets/icons/flags/PH.svg +16 -0
  300. package/dist/collection/assets/icons/flags/PK.svg +14 -0
  301. package/dist/collection/assets/icons/flags/PL.svg +11 -0
  302. package/dist/collection/assets/icons/flags/PN.svg +18 -0
  303. package/dist/collection/assets/icons/flags/PR.svg +15 -0
  304. package/dist/collection/assets/icons/flags/PS.svg +13 -0
  305. package/dist/collection/assets/icons/flags/PT.svg +14 -0
  306. package/dist/collection/assets/icons/flags/PW.svg +11 -0
  307. package/dist/collection/assets/icons/flags/PY.svg +14 -0
  308. package/dist/collection/assets/icons/flags/QA.svg +11 -0
  309. package/dist/collection/assets/icons/flags/RO.svg +12 -0
  310. package/dist/collection/assets/icons/flags/RS.svg +16 -0
  311. package/dist/collection/assets/icons/flags/RU.svg +12 -0
  312. package/dist/collection/assets/icons/flags/RW.svg +13 -0
  313. package/dist/collection/assets/icons/flags/SA.svg +16 -0
  314. package/dist/collection/assets/icons/flags/SB.svg +17 -0
  315. package/dist/collection/assets/icons/flags/SC.svg +14 -0
  316. package/dist/collection/assets/icons/flags/SE.svg +14 -0
  317. package/dist/collection/assets/icons/flags/SG.svg +17 -0
  318. package/dist/collection/assets/icons/flags/SI.svg +13 -0
  319. package/dist/collection/assets/icons/flags/SK.svg +16 -0
  320. package/dist/collection/assets/icons/flags/SL.svg +12 -0
  321. package/dist/collection/assets/icons/flags/SM.svg +16 -0
  322. package/dist/collection/assets/icons/flags/SN.svg +13 -0
  323. package/dist/collection/assets/icons/flags/SO.svg +11 -0
  324. package/dist/collection/assets/icons/flags/SR.svg +14 -0
  325. package/dist/collection/assets/icons/flags/SS.svg +15 -0
  326. package/dist/collection/assets/icons/flags/ST.svg +15 -0
  327. package/dist/collection/assets/icons/flags/SV.svg +15 -0
  328. package/dist/collection/assets/icons/flags/SX.svg +17 -0
  329. package/dist/collection/assets/icons/flags/SY.svg +14 -0
  330. package/dist/collection/assets/icons/flags/SZ.svg +21 -0
  331. package/dist/collection/assets/icons/flags/TC.svg +19 -0
  332. package/dist/collection/assets/icons/flags/TD.svg +12 -0
  333. package/dist/collection/assets/icons/flags/TG.svg +15 -0
  334. package/dist/collection/assets/icons/flags/TH.svg +13 -0
  335. package/dist/collection/assets/icons/flags/TJ.svg +20 -0
  336. package/dist/collection/assets/icons/flags/TK.svg +15 -0
  337. package/dist/collection/assets/icons/flags/TL.svg +13 -0
  338. package/dist/collection/assets/icons/flags/TM.svg +30 -0
  339. package/dist/collection/assets/icons/flags/TN.svg +13 -0
  340. package/dist/collection/assets/icons/flags/TO.svg +12 -0
  341. package/dist/collection/assets/icons/flags/TR.svg +12 -0
  342. package/dist/collection/assets/icons/flags/TT.svg +13 -0
  343. package/dist/collection/assets/icons/flags/TV.svg +25 -0
  344. package/dist/collection/assets/icons/flags/TW.svg +14 -0
  345. package/dist/collection/assets/icons/flags/TZ.svg +13 -0
  346. package/dist/collection/assets/icons/flags/UA.svg +11 -0
  347. package/dist/collection/assets/icons/flags/UG.svg +16 -0
  348. package/dist/collection/assets/icons/flags/US.svg +15 -0
  349. package/dist/collection/assets/icons/flags/UY.svg +16 -0
  350. package/dist/collection/assets/icons/flags/UZ.svg +27 -0
  351. package/dist/collection/assets/icons/flags/VC.svg +15 -0
  352. package/dist/collection/assets/icons/flags/VE.svg +20 -0
  353. package/dist/collection/assets/icons/flags/VG.svg +24 -0
  354. package/dist/collection/assets/icons/flags/VI.svg +18 -0
  355. package/dist/collection/assets/icons/flags/VN.svg +11 -0
  356. package/dist/collection/assets/icons/flags/VU.svg +32 -0
  357. package/dist/collection/assets/icons/flags/WS.svg +16 -0
  358. package/dist/collection/assets/icons/flags/YE.svg +12 -0
  359. package/dist/collection/assets/icons/flags/ZA.svg +15 -0
  360. package/dist/collection/assets/icons/flags/ZM.svg +14 -0
  361. package/dist/collection/assets/icons/flags/ZW.svg +20 -0
  362. package/dist/collection/assets/icons/folder.svg +5 -0
  363. package/dist/collection/assets/icons/github-brand.svg +10 -0
  364. package/dist/collection/assets/icons/github.svg +10 -0
  365. package/dist/collection/assets/icons/globe.svg +3 -0
  366. package/dist/collection/assets/icons/google-brand.svg +13 -0
  367. package/dist/collection/assets/icons/google.svg +10 -0
  368. package/dist/collection/assets/icons/grid-dots.svg +11 -0
  369. package/dist/collection/assets/icons/help-circle.svg +3 -0
  370. package/dist/collection/assets/icons/hero-alert-circle.svg +3 -0
  371. package/dist/collection/assets/icons/hero-checkmark-capsule.svg +11 -0
  372. package/dist/collection/assets/icons/hero-checkmark.svg +3 -0
  373. package/dist/collection/assets/icons/hero-email.svg +12 -0
  374. package/dist/collection/assets/icons/hero-external-connection.svg +71 -0
  375. package/dist/collection/assets/icons/hero-lock.svg +4 -0
  376. package/dist/collection/assets/icons/hero-passkey.svg +12 -0
  377. package/dist/collection/assets/icons/hero-phone.svg +4 -0
  378. package/dist/collection/assets/icons/hero-plus-circle-capsule.svg +14 -0
  379. package/dist/collection/assets/icons/hero-plus-circle.svg +7 -0
  380. package/dist/collection/assets/icons/hero-wallet.svg +5 -0
  381. package/dist/collection/assets/icons/home.svg +3 -0
  382. package/dist/collection/assets/icons/hp.svg +7 -0
  383. package/dist/collection/assets/icons/image.svg +3 -0
  384. package/dist/collection/assets/icons/index.js +805 -0
  385. package/dist/collection/assets/icons/index.js.map +1 -0
  386. package/dist/collection/assets/icons/info-circle.svg +3 -0
  387. package/dist/collection/assets/icons/instagram-brand.svg +12 -0
  388. package/dist/collection/assets/icons/instagram.svg +12 -0
  389. package/dist/collection/assets/icons/key.svg +3 -0
  390. package/dist/collection/assets/icons/laptop.svg +5 -0
  391. package/dist/collection/assets/icons/lenovo.svg +5 -0
  392. package/dist/collection/assets/icons/lg.svg +5 -0
  393. package/dist/collection/assets/icons/lightning-01.svg +3 -0
  394. package/dist/collection/assets/icons/lightning.svg +3 -0
  395. package/dist/collection/assets/icons/link-external.svg +3 -0
  396. package/dist/collection/assets/icons/linkedin-brand.svg +10 -0
  397. package/dist/collection/assets/icons/linkedin.svg +10 -0
  398. package/dist/collection/assets/icons/lock-keyhole-circle.svg +8 -0
  399. package/dist/collection/assets/icons/log-out.svg +3 -0
  400. package/dist/collection/assets/icons/mail.svg +3 -0
  401. package/dist/collection/assets/icons/menu.svg +3 -0
  402. package/dist/collection/assets/icons/monitor.svg +3 -0
  403. package/dist/collection/assets/icons/moonpay-brand.svg +10 -0
  404. package/dist/collection/assets/icons/more-login-options.svg +13 -0
  405. package/dist/collection/assets/icons/motorola.svg +5 -0
  406. package/dist/collection/assets/icons/noble-brand.svg +9 -0
  407. package/dist/collection/assets/icons/optimism-brand.svg +11 -0
  408. package/dist/collection/assets/icons/para-black-bg.svg +8 -0
  409. package/dist/collection/assets/icons/para-brand.svg +7 -0
  410. package/dist/collection/assets/icons/para-icon-brand.svg +3 -0
  411. package/dist/collection/assets/icons/para-icon-qr.svg +9 -0
  412. package/dist/collection/assets/icons/para-icon.svg +3 -0
  413. package/dist/collection/assets/icons/para-logo.svg +18 -0
  414. package/dist/collection/assets/icons/para-rings-dark.svg +34 -0
  415. package/dist/collection/assets/icons/para-rings.svg +34 -0
  416. package/dist/collection/assets/icons/para.svg +7 -0
  417. package/dist/collection/assets/icons/passcode.svg +3 -0
  418. package/dist/collection/assets/icons/phone.svg +3 -0
  419. package/dist/collection/assets/icons/pintrest-brand.svg +11 -0
  420. package/dist/collection/assets/icons/pintrest.svg +10 -0
  421. package/dist/collection/assets/icons/plus-circle.svg +5 -0
  422. package/dist/collection/assets/icons/plus.svg +5 -0
  423. package/dist/collection/assets/icons/polygon-brand.svg +16 -0
  424. package/dist/collection/assets/icons/polygon.svg +5 -0
  425. package/dist/collection/assets/icons/puzzle-piece.svg +3 -0
  426. package/dist/collection/assets/icons/qr-code-02.svg +3 -0
  427. package/dist/collection/assets/icons/qr-code.svg +3 -0
  428. package/dist/collection/assets/icons/ramp-network-brand.svg +3 -0
  429. package/dist/collection/assets/icons/ramp-network.svg +3 -0
  430. package/dist/collection/assets/icons/reddit-brand.svg +11 -0
  431. package/dist/collection/assets/icons/reddit.svg +3 -0
  432. package/dist/collection/assets/icons/refresh.svg +3 -0
  433. package/dist/collection/assets/icons/samsung.svg +5 -0
  434. package/dist/collection/assets/icons/search.svg +3 -0
  435. package/dist/collection/assets/icons/send.svg +3 -0
  436. package/dist/collection/assets/icons/settings.svg +4 -0
  437. package/dist/collection/assets/icons/share.svg +3 -0
  438. package/dist/collection/assets/icons/shield.svg +3 -0
  439. package/dist/collection/assets/icons/signal-brand.svg +3 -0
  440. package/dist/collection/assets/icons/signal.svg +3 -0
  441. package/dist/collection/assets/icons/sliders.svg +3 -0
  442. package/dist/collection/assets/icons/snapchat-brand.svg +4 -0
  443. package/dist/collection/assets/icons/snapchat.svg +3 -0
  444. package/dist/collection/assets/icons/solana.svg +19 -0
  445. package/dist/collection/assets/icons/spacing-height.svg +5 -0
  446. package/dist/collection/assets/icons/star-04-filled.svg +3 -0
  447. package/dist/collection/assets/icons/stars-01-filled.svg +8 -0
  448. package/dist/collection/assets/icons/stars.svg +4 -0
  449. package/dist/collection/assets/icons/stop-square.svg +4 -0
  450. package/dist/collection/assets/icons/stripe-brand.svg +3 -0
  451. package/dist/collection/assets/icons/telegram-brand.svg +15 -0
  452. package/dist/collection/assets/icons/telegram.svg +10 -0
  453. package/dist/collection/assets/icons/tether-brand.svg +7 -0
  454. package/dist/collection/assets/icons/tik-tok-brand.svg +5 -0
  455. package/dist/collection/assets/icons/tik-tok.svg +3 -0
  456. package/dist/collection/assets/icons/trash.svg +3 -0
  457. package/dist/collection/assets/icons/tumblr-brand.svg +10 -0
  458. package/dist/collection/assets/icons/tumblr.svg +10 -0
  459. package/dist/collection/assets/icons/twitter-brand.svg +3 -0
  460. package/dist/collection/assets/icons/twitter.svg +3 -0
  461. package/dist/collection/assets/icons/usdc-brand.svg +5 -0
  462. package/dist/collection/assets/icons/user-circle.svg +5 -0
  463. package/dist/collection/assets/icons/user.svg +5 -0
  464. package/dist/collection/assets/icons/wallet.svg +5 -0
  465. package/dist/collection/assets/icons/x.svg +3 -0
  466. package/dist/collection/assets/icons/youtube-brand.svg +11 -0
  467. package/dist/collection/assets/icons/youtube.svg +3 -0
  468. package/dist/collection/assets/images/index.js +6 -0
  469. package/dist/collection/assets/images/index.js.map +1 -0
  470. package/dist/collection/collection-manifest.json +53 -0
  471. package/dist/collection/components/cpsl-alert/cpsl-alert.css +130 -0
  472. package/dist/collection/components/cpsl-alert/cpsl-alert.js +124 -0
  473. package/dist/collection/components/cpsl-alert/cpsl-alert.js.map +1 -0
  474. package/dist/collection/components/cpsl-animation/cpsl-animation.js +45 -0
  475. package/dist/collection/components/cpsl-animation/cpsl-animation.js.map +1 -0
  476. package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.css +67 -0
  477. package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js +88 -0
  478. package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js.map +1 -0
  479. package/dist/collection/components/cpsl-auth-modal/cpsl-auth-modal.css +183 -0
  480. package/dist/collection/components/cpsl-auth-modal/cpsl-auth-modal.js +332 -0
  481. package/dist/collection/components/cpsl-auth-modal/cpsl-auth-modal.js.map +1 -0
  482. package/dist/collection/components/cpsl-avatar/cpsl-avatar.css +35 -0
  483. package/dist/collection/components/cpsl-avatar/cpsl-avatar.js +104 -0
  484. package/dist/collection/components/cpsl-avatar/cpsl-avatar.js.map +1 -0
  485. package/dist/collection/components/cpsl-button/cpsl-button.css +493 -0
  486. package/dist/collection/components/cpsl-button/cpsl-button.js +189 -0
  487. package/dist/collection/components/cpsl-button/cpsl-button.js.map +1 -0
  488. package/dist/collection/components/cpsl-button/cpsl-button.stories.js +50 -0
  489. package/dist/collection/components/cpsl-button/cpsl-button.stories.js.map +1 -0
  490. package/dist/collection/components/cpsl-button-group/cpsl-button-group.css +89 -0
  491. package/dist/collection/components/cpsl-button-group/cpsl-button-group.js +78 -0
  492. package/dist/collection/components/cpsl-button-group/cpsl-button-group.js.map +1 -0
  493. package/dist/collection/components/cpsl-card/cpsl-card.css +84 -0
  494. package/dist/collection/components/cpsl-card/cpsl-card.js +19 -0
  495. package/dist/collection/components/cpsl-card/cpsl-card.js.map +1 -0
  496. package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.css +110 -0
  497. package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.js +64 -0
  498. package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.js.map +1 -0
  499. package/dist/collection/components/cpsl-code-input/code-change-interface.js +2 -0
  500. package/dist/collection/components/cpsl-code-input/code-change-interface.js.map +1 -0
  501. package/dist/collection/components/cpsl-code-input/cpsl-code-input.css +137 -0
  502. package/dist/collection/components/cpsl-code-input/cpsl-code-input.js +229 -0
  503. package/dist/collection/components/cpsl-code-input/cpsl-code-input.js.map +1 -0
  504. package/dist/collection/components/cpsl-col/cpsl-col.css +200 -0
  505. package/dist/collection/components/cpsl-col/cpsl-col.js +544 -0
  506. package/dist/collection/components/cpsl-col/cpsl-col.js.map +1 -0
  507. package/dist/collection/components/cpsl-divider/cpsl-divider.css +74 -0
  508. package/dist/collection/components/cpsl-divider/cpsl-divider.js +19 -0
  509. package/dist/collection/components/cpsl-divider/cpsl-divider.js.map +1 -0
  510. package/dist/collection/components/cpsl-drawer/cpsl-drawer.css +90 -0
  511. package/dist/collection/components/cpsl-drawer/cpsl-drawer.js +223 -0
  512. package/dist/collection/components/cpsl-drawer/cpsl-drawer.js.map +1 -0
  513. package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.css +213 -0
  514. package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js +250 -0
  515. package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js.map +1 -0
  516. package/dist/collection/components/cpsl-dropdown/dropdown-interface.js +2 -0
  517. package/dist/collection/components/cpsl-dropdown/dropdown-interface.js.map +1 -0
  518. package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.css +212 -0
  519. package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js +425 -0
  520. package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js.map +1 -0
  521. package/dist/collection/components/cpsl-grid/cpsl-grid.css +235 -0
  522. package/dist/collection/components/cpsl-grid/cpsl-grid.js +46 -0
  523. package/dist/collection/components/cpsl-grid/cpsl-grid.js.map +1 -0
  524. package/dist/collection/components/cpsl-hero/cpsl-hero.css +355 -0
  525. package/dist/collection/components/cpsl-hero/cpsl-hero.js +144 -0
  526. package/dist/collection/components/cpsl-hero/cpsl-hero.js.map +1 -0
  527. package/dist/collection/components/cpsl-hero/cpsl-hero.stories.js +17 -0
  528. package/dist/collection/components/cpsl-hero/cpsl-hero.stories.js.map +1 -0
  529. package/dist/collection/components/cpsl-icon/cpsl-icon.css +103 -0
  530. package/dist/collection/components/cpsl-icon/cpsl-icon.js +86 -0
  531. package/dist/collection/components/cpsl-icon/cpsl-icon.js.map +1 -0
  532. package/dist/collection/components/cpsl-icon-group/cpsl-icon-group.css +97 -0
  533. package/dist/collection/components/cpsl-icon-group/cpsl-icon-group.js +121 -0
  534. package/dist/collection/components/cpsl-icon-group/cpsl-icon-group.js.map +1 -0
  535. package/dist/collection/components/cpsl-identicon/cpsl-identicon.css +76 -0
  536. package/dist/collection/components/cpsl-identicon/cpsl-identicon.js +165 -0
  537. package/dist/collection/components/cpsl-identicon/cpsl-identicon.js.map +1 -0
  538. package/dist/collection/components/cpsl-identicon/cpsl-identicon.stories.js +12 -0
  539. package/dist/collection/components/cpsl-identicon/cpsl-identicon.stories.js.map +1 -0
  540. package/dist/collection/components/cpsl-info-box/cpsl-info-box.css +76 -0
  541. package/dist/collection/components/cpsl-info-box/cpsl-info-box.js +19 -0
  542. package/dist/collection/components/cpsl-info-box/cpsl-info-box.js.map +1 -0
  543. package/dist/collection/components/cpsl-input/cpsl-input.css +235 -0
  544. package/dist/collection/components/cpsl-input/cpsl-input.js +951 -0
  545. package/dist/collection/components/cpsl-input/cpsl-input.js.map +1 -0
  546. package/dist/collection/components/cpsl-input/input-interface.js +2 -0
  547. package/dist/collection/components/cpsl-input/input-interface.js.map +1 -0
  548. package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.css +91 -0
  549. package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js +225 -0
  550. package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js.map +1 -0
  551. package/dist/collection/components/cpsl-nav-button/cpsl-nav-button.css +107 -0
  552. package/dist/collection/components/cpsl-nav-button/cpsl-nav-button.js +175 -0
  553. package/dist/collection/components/cpsl-nav-button/cpsl-nav-button.js.map +1 -0
  554. package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.css +8 -0
  555. package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js +30 -0
  556. package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js.map +1 -0
  557. package/dist/collection/components/cpsl-overlay/cpsl-overlay.css +69 -0
  558. package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +127 -0
  559. package/dist/collection/components/cpsl-overlay/cpsl-overlay.js.map +1 -0
  560. package/dist/collection/components/cpsl-pagination/cpsl-pagination.css +71 -0
  561. package/dist/collection/components/cpsl-pagination/cpsl-pagination.js +174 -0
  562. package/dist/collection/components/cpsl-pagination/cpsl-pagination.js.map +1 -0
  563. package/dist/collection/components/cpsl-pill/cpsl-pill.css +92 -0
  564. package/dist/collection/components/cpsl-pill/cpsl-pill.js +43 -0
  565. package/dist/collection/components/cpsl-pill/cpsl-pill.js.map +1 -0
  566. package/dist/collection/components/cpsl-popover/cpsl-popover.css +101 -0
  567. package/dist/collection/components/cpsl-popover/cpsl-popover.js +555 -0
  568. package/dist/collection/components/cpsl-popover/cpsl-popover.js.map +1 -0
  569. package/dist/collection/components/cpsl-progress-indicator/cpsl-progress-indicator.css +82 -0
  570. package/dist/collection/components/cpsl-progress-indicator/cpsl-progress-indicator.js +71 -0
  571. package/dist/collection/components/cpsl-progress-indicator/cpsl-progress-indicator.js.map +1 -0
  572. package/dist/collection/components/cpsl-progress-indicator/progress-indicator-interface.js +2 -0
  573. package/dist/collection/components/cpsl-progress-indicator/progress-indicator-interface.js.map +1 -0
  574. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.css +90 -0
  575. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +139 -0
  576. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js.map +1 -0
  577. package/dist/collection/components/cpsl-radio/cpsl-radio.css +97 -0
  578. package/dist/collection/components/cpsl-radio/cpsl-radio.js +66 -0
  579. package/dist/collection/components/cpsl-radio/cpsl-radio.js.map +1 -0
  580. package/dist/collection/components/cpsl-row/cpsl-row.css +136 -0
  581. package/dist/collection/components/cpsl-row/cpsl-row.js +19 -0
  582. package/dist/collection/components/cpsl-row/cpsl-row.js.map +1 -0
  583. package/dist/collection/components/cpsl-select/cpsl-select.css +248 -0
  584. package/dist/collection/components/cpsl-select/cpsl-select.js +631 -0
  585. package/dist/collection/components/cpsl-select/cpsl-select.js.map +1 -0
  586. package/dist/collection/components/cpsl-select-item/cpsl-select-item.css +115 -0
  587. package/dist/collection/components/cpsl-select-item/cpsl-select-item.js +85 -0
  588. package/dist/collection/components/cpsl-select-item/cpsl-select-item.js.map +1 -0
  589. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.css +175 -0
  590. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +263 -0
  591. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js.map +1 -0
  592. package/dist/collection/components/cpsl-spinner/cpsl-spinner.css +131 -0
  593. package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +104 -0
  594. package/dist/collection/components/cpsl-spinner/cpsl-spinner.js.map +1 -0
  595. package/dist/collection/components/cpsl-switch/cpsl-switch.css +115 -0
  596. package/dist/collection/components/cpsl-switch/cpsl-switch.js +64 -0
  597. package/dist/collection/components/cpsl-switch/cpsl-switch.js.map +1 -0
  598. package/dist/collection/components/cpsl-tab/cpsl-tab.css +46 -0
  599. package/dist/collection/components/cpsl-tab/cpsl-tab.js +152 -0
  600. package/dist/collection/components/cpsl-tab/cpsl-tab.js.map +1 -0
  601. package/dist/collection/components/cpsl-tab/tab-interface.js +2 -0
  602. package/dist/collection/components/cpsl-tab/tab-interface.js.map +1 -0
  603. package/dist/collection/components/cpsl-table/cpsl-table.css +159 -0
  604. package/dist/collection/components/cpsl-table/cpsl-table.js +72 -0
  605. package/dist/collection/components/cpsl-table/cpsl-table.js.map +1 -0
  606. package/dist/collection/components/cpsl-tabs/cpsl-tabs.css +109 -0
  607. package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +188 -0
  608. package/dist/collection/components/cpsl-tabs/cpsl-tabs.js.map +1 -0
  609. package/dist/collection/components/cpsl-tabs/tabs-interface.js +2 -0
  610. package/dist/collection/components/cpsl-tabs/tabs-interface.js.map +1 -0
  611. package/dist/collection/components/cpsl-text/cpsl-text.css +415 -0
  612. package/dist/collection/components/cpsl-text/cpsl-text.js +134 -0
  613. package/dist/collection/components/cpsl-text/cpsl-text.js.map +1 -0
  614. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.css +98 -0
  615. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +67 -0
  616. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js.map +1 -0
  617. package/dist/collection/constants.js +20 -0
  618. package/dist/collection/constants.js.map +1 -0
  619. package/dist/collection/index.js +5 -0
  620. package/dist/collection/index.js.map +1 -0
  621. package/dist/collection/interface.js +2 -0
  622. package/dist/collection/interface.js.map +1 -0
  623. package/dist/collection/lib/prando.js +187 -0
  624. package/dist/collection/lib/prando.js.map +1 -0
  625. package/dist/collection/utils/media.js +21 -0
  626. package/dist/collection/utils/media.js.map +1 -0
  627. package/dist/collection/utils/prand.js +16 -0
  628. package/dist/collection/utils/prand.js.map +1 -0
  629. package/dist/collection/utils/theme/generateBorderRadii.js +75 -0
  630. package/dist/collection/utils/theme/generateBorderRadii.js.map +1 -0
  631. package/dist/collection/utils/theme/generateFont.js +28 -0
  632. package/dist/collection/utils/theme/generateFont.js.map +1 -0
  633. package/dist/collection/utils/theme/generatePalette.js +77 -0
  634. package/dist/collection/utils/theme/generatePalette.js.map +1 -0
  635. package/dist/collection/utils/theme/generateTheme.js +21 -0
  636. package/dist/collection/utils/theme/generateTheme.js.map +1 -0
  637. package/dist/collection/utils/theme/utils.js +31 -0
  638. package/dist/collection/utils/theme/utils.js.map +1 -0
  639. package/dist/esm/app-globals-0f993ce5.js +5 -0
  640. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  641. package/dist/esm/capsule.js +22 -0
  642. package/dist/esm/capsule.js.map +1 -0
  643. package/dist/esm/constants-fce138fa.js +23 -0
  644. package/dist/esm/constants-fce138fa.js.map +1 -0
  645. package/dist/esm/cpsl-alert_34.entry.js +21863 -0
  646. package/dist/esm/cpsl-alert_34.entry.js.map +1 -0
  647. package/dist/esm/cpsl-col.entry.js +140 -0
  648. package/dist/esm/cpsl-col.entry.js.map +1 -0
  649. package/dist/esm/cpsl-grid.entry.js +21 -0
  650. package/dist/esm/cpsl-grid.entry.js.map +1 -0
  651. package/dist/esm/cpsl-hero.entry.js +39 -0
  652. package/dist/esm/cpsl-hero.entry.js.map +1 -0
  653. package/dist/esm/cpsl-identicon.entry.js +104 -0
  654. package/dist/esm/cpsl-identicon.entry.js.map +1 -0
  655. package/dist/esm/cpsl-info-box.entry.js +18 -0
  656. package/dist/esm/cpsl-info-box.entry.js.map +1 -0
  657. package/dist/esm/cpsl-modal-v2.entry.js +52 -0
  658. package/dist/esm/cpsl-modal-v2.entry.js.map +1 -0
  659. package/dist/esm/cpsl-nav-button.entry.js +36 -0
  660. package/dist/esm/cpsl-nav-button.entry.js.map +1 -0
  661. package/dist/esm/cpsl-row.entry.js +18 -0
  662. package/dist/esm/cpsl-row.entry.js.map +1 -0
  663. package/dist/esm/index-91db3414.js +1408 -0
  664. package/dist/esm/index-91db3414.js.map +1 -0
  665. package/dist/esm/index.js +428 -0
  666. package/dist/esm/index.js.map +1 -0
  667. package/dist/esm/loader.js +13 -0
  668. package/dist/esm/loader.js.map +1 -0
  669. package/dist/esm/prand-4c0d6ea7.js +204 -0
  670. package/dist/esm/prand-4c0d6ea7.js.map +1 -0
  671. package/dist/index.cjs.js +1 -0
  672. package/dist/index.js +2 -0
  673. package/dist/loader/cdn.js +1 -0
  674. package/dist/loader/index.cjs.js +1 -0
  675. package/dist/loader/index.d.ts +24 -0
  676. package/dist/loader/index.es2017.js +1 -0
  677. package/dist/loader/index.js +2 -0
  678. package/dist/loader/package.json +7 -0
  679. package/dist/scripts/appendLoaderExports.js +52 -0
  680. package/dist/scripts/appendLoaderExports.js.map +1 -0
  681. package/dist/scripts/buildAssets.js +90 -0
  682. package/dist/scripts/buildAssets.js.map +1 -0
  683. package/dist/types/Users/norwood/capsule-repos/web-sdk/packages/core-components/.stencil/scripts/appendLoaderExports.d.ts +0 -0
  684. package/dist/types/Users/norwood/capsule-repos/web-sdk/packages/core-components/.stencil/scripts/buildAssets.d.ts +8 -0
  685. package/dist/types/assets/icons/index.d.ts +403 -0
  686. package/dist/types/assets/images/index.d.ts +5 -0
  687. package/dist/types/components/cpsl-alert/cpsl-alert.d.ts +23 -0
  688. package/dist/types/components/cpsl-animation/cpsl-animation.d.ts +0 -0
  689. package/dist/types/components/cpsl-app-bar/cpsl-app-bar.d.ts +16 -0
  690. package/dist/types/components/cpsl-auth-modal/cpsl-auth-modal.d.ts +58 -0
  691. package/dist/types/components/cpsl-avatar/cpsl-avatar.d.ts +21 -0
  692. package/dist/types/components/cpsl-button/cpsl-button.d.ts +43 -0
  693. package/dist/types/components/cpsl-button/cpsl-button.stories.d.ts +15 -0
  694. package/dist/types/components/cpsl-button-group/cpsl-button-group.d.ts +12 -0
  695. package/dist/types/components/cpsl-card/cpsl-card.d.ts +3 -0
  696. package/dist/types/components/cpsl-checkbox/cpsl-checkbox.d.ts +13 -0
  697. package/dist/types/components/cpsl-code-input/code-change-interface.d.ts +3 -0
  698. package/dist/types/components/cpsl-code-input/cpsl-code-input.d.ts +36 -0
  699. package/dist/types/components/cpsl-col/cpsl-col.d.ts +130 -0
  700. package/dist/types/components/cpsl-divider/cpsl-divider.d.ts +3 -0
  701. package/dist/types/components/cpsl-drawer/cpsl-drawer.d.ts +49 -0
  702. package/dist/types/components/cpsl-dropdown/cpsl-dropdown.d.ts +42 -0
  703. package/dist/types/components/cpsl-dropdown/dropdown-interface.d.ts +7 -0
  704. package/dist/types/components/cpsl-file-upload/cpsl-file-upload.d.ts +82 -0
  705. package/dist/types/components/cpsl-grid/cpsl-grid.d.ts +7 -0
  706. package/dist/types/components/cpsl-hero/cpsl-hero.d.ts +26 -0
  707. package/dist/types/components/cpsl-hero/cpsl-hero.stories.d.ts +13 -0
  708. package/dist/types/components/cpsl-icon/cpsl-icon.d.ts +16 -0
  709. package/dist/types/components/cpsl-icon-group/cpsl-icon-group.d.ts +20 -0
  710. package/dist/types/components/cpsl-identicon/cpsl-identicon.d.ts +10 -0
  711. package/dist/types/components/cpsl-identicon/cpsl-identicon.stories.d.ts +10 -0
  712. package/dist/types/components/cpsl-info-box/cpsl-info-box.d.ts +3 -0
  713. package/dist/types/components/cpsl-input/cpsl-input.d.ts +222 -0
  714. package/dist/types/components/cpsl-input/input-interface.d.ts +13 -0
  715. package/dist/types/components/cpsl-modal-v2/cpsl-modal-v2.d.ts +49 -0
  716. package/dist/types/components/cpsl-nav-button/cpsl-nav-button.d.ts +43 -0
  717. package/dist/types/components/cpsl-nav-button-group/cpsl-nav-button-group.d.ts +6 -0
  718. package/dist/types/components/cpsl-overlay/cpsl-overlay.d.ts +24 -0
  719. package/dist/types/components/cpsl-pagination/cpsl-pagination.d.ts +29 -0
  720. package/dist/types/components/cpsl-pill/cpsl-pill.d.ts +7 -0
  721. package/dist/types/components/cpsl-popover/cpsl-popover.d.ts +91 -0
  722. package/dist/types/components/cpsl-progress-indicator/cpsl-progress-indicator.d.ts +11 -0
  723. package/dist/types/components/cpsl-progress-indicator/progress-indicator-interface.d.ts +4 -0
  724. package/dist/types/components/cpsl-qr-code/cpsl-qr-code.d.ts +24 -0
  725. package/dist/types/components/cpsl-radio/cpsl-radio.d.ts +13 -0
  726. package/dist/types/components/cpsl-row/cpsl-row.d.ts +3 -0
  727. package/dist/types/components/cpsl-select/cpsl-select.d.ts +136 -0
  728. package/dist/types/components/cpsl-select-item/cpsl-select-item.d.ts +18 -0
  729. package/dist/types/components/cpsl-slide-button/cpsl-slide-button.d.ts +38 -0
  730. package/dist/types/components/cpsl-spinner/cpsl-spinner.d.ts +23 -0
  731. package/dist/types/components/cpsl-switch/cpsl-switch.d.ts +13 -0
  732. package/dist/types/components/cpsl-tab/cpsl-tab.d.ts +31 -0
  733. package/dist/types/components/cpsl-tab/tab-interface.d.ts +7 -0
  734. package/dist/types/components/cpsl-table/cpsl-table.d.ts +14 -0
  735. package/dist/types/components/cpsl-tabs/cpsl-tabs.d.ts +33 -0
  736. package/dist/types/components/cpsl-tabs/tabs-interface.d.ts +9 -0
  737. package/dist/types/components/cpsl-text/cpsl-text.d.ts +22 -0
  738. package/dist/types/components/cpsl-tile-button/cpsl-tile-button.d.ts +12 -0
  739. package/dist/types/components.d.ts +2651 -0
  740. package/dist/types/constants.d.ts +17 -0
  741. package/dist/types/index.d.ts +6 -0
  742. package/dist/types/interface.d.ts +264 -0
  743. package/dist/types/lib/prando.d.ts +92 -0
  744. package/dist/types/stencil-public-runtime.d.ts +1674 -0
  745. package/dist/types/utils/media.d.ts +2 -0
  746. package/dist/types/utils/prand.d.ts +3 -0
  747. package/dist/types/utils/theme/generateBorderRadii.d.ts +2 -0
  748. package/dist/types/utils/theme/generateFont.d.ts +2 -0
  749. package/dist/types/utils/theme/generatePalette.d.ts +9 -0
  750. package/dist/types/utils/theme/generateTheme.d.ts +6 -0
  751. package/dist/types/utils/theme/utils.d.ts +9 -0
  752. package/package.json +72 -0
  753. package/readme.md +48 -0
@@ -0,0 +1,544 @@
1
+ import { Host, forceUpdate, h } from "@stencil/core";
2
+ import { matchBreakpoint } from "../../utils/media.js";
3
+ const win = typeof window !== 'undefined' ? window : undefined;
4
+ const SUPPORTS_VARS = win && !!(win.CSS && win.CSS.supports && win.CSS.supports('--a: 0'));
5
+ const BREAKPOINTS = ['', 'xs', 'sm', 'md', 'lg', 'xl'];
6
+ export class CpslCol {
7
+ constructor() {
8
+ this.offset = undefined;
9
+ this.offsetXs = undefined;
10
+ this.offsetSm = undefined;
11
+ this.offsetMd = undefined;
12
+ this.offsetLg = undefined;
13
+ this.offsetXl = undefined;
14
+ this.pull = undefined;
15
+ this.pullXs = undefined;
16
+ this.pullSm = undefined;
17
+ this.pullMd = undefined;
18
+ this.pullLg = undefined;
19
+ this.pullXl = undefined;
20
+ this.push = undefined;
21
+ this.pushXs = undefined;
22
+ this.pushSm = undefined;
23
+ this.pushMd = undefined;
24
+ this.pushLg = undefined;
25
+ this.pushXl = undefined;
26
+ this.size = undefined;
27
+ this.sizeXs = undefined;
28
+ this.sizeSm = undefined;
29
+ this.sizeMd = undefined;
30
+ this.sizeLg = undefined;
31
+ this.sizeXl = undefined;
32
+ }
33
+ onResize() {
34
+ forceUpdate(this);
35
+ }
36
+ // Loop through all of the breakpoints to see if the media query
37
+ // matches and grab the column value from the relevant prop if so
38
+ getColumns(property) {
39
+ let matched;
40
+ for (const breakpoint of BREAKPOINTS) {
41
+ const matches = matchBreakpoint(breakpoint);
42
+ // Grab the value of the property, if it exists and our
43
+ // media query matches we return the value
44
+ const columns = this[property + breakpoint.charAt(0).toUpperCase() + breakpoint.slice(1)];
45
+ if (matches && columns !== undefined) {
46
+ matched = columns;
47
+ }
48
+ }
49
+ // Return the last matched columns since the breakpoints
50
+ // increase in size and we want to return the largest match
51
+ return matched;
52
+ }
53
+ calculateSize() {
54
+ const columns = this.getColumns('size');
55
+ // If size wasn't set for any breakpoint
56
+ // or if the user set the size without a value
57
+ // it means we need to stick with the default and return
58
+ // e.g. <ion-col size-md>
59
+ if (!columns || columns === '') {
60
+ return;
61
+ }
62
+ // If the size is set to auto then don't calculate a size
63
+ const colSize = columns === 'auto'
64
+ ? 'auto'
65
+ : // If CSS supports variables we should use the grid columns var
66
+ SUPPORTS_VARS
67
+ ? `calc(calc(${columns} / var(--ion-grid-columns, 12)) * 100%)`
68
+ : // Convert the columns to a percentage by dividing by the total number
69
+ // of columns (12) and then multiplying by 100
70
+ (columns / 12) * 100 + '%';
71
+ return {
72
+ 'flex': `0 0 ${colSize}`,
73
+ 'width': `${colSize}`,
74
+ 'max-width': `${colSize}`,
75
+ };
76
+ }
77
+ // Called by push, pull, and offset since they use the same calculations
78
+ calculatePosition(property, modifier) {
79
+ const columns = this.getColumns(property);
80
+ if (!columns) {
81
+ return;
82
+ }
83
+ // If the number of columns passed are greater than 0 and less than
84
+ // 12 we can position the column, else default to auto
85
+ const amount = SUPPORTS_VARS
86
+ ? // If CSS supports variables we should use the grid columns var
87
+ `calc(calc(${columns} / var(--ion-grid-columns, 12)) * 100%)`
88
+ : // Convert the columns to a percentage by dividing by the total number
89
+ // of columns (12) and then multiplying by 100
90
+ columns > 0 && columns < 12
91
+ ? (columns / 12) * 100 + '%'
92
+ : 'auto';
93
+ return {
94
+ [modifier]: amount,
95
+ };
96
+ }
97
+ calculateOffset(isRTL) {
98
+ return this.calculatePosition('offset', isRTL ? 'margin-right' : 'margin-left');
99
+ }
100
+ calculatePull(isRTL) {
101
+ return this.calculatePosition('pull', isRTL ? 'left' : 'right');
102
+ }
103
+ calculatePush(isRTL) {
104
+ return this.calculatePosition('push', isRTL ? 'right' : 'left');
105
+ }
106
+ render() {
107
+ const isRTL = document.dir === 'rtl';
108
+ return (h(Host, { key: 'c9d2d0d4c021bc38e672ef6a8db36b1f50f53e2c', style: Object.assign(Object.assign(Object.assign(Object.assign({}, this.calculateOffset(isRTL)), this.calculatePull(isRTL)), this.calculatePush(isRTL)), this.calculateSize()) }, h("slot", { key: 'a9f61e679573d1ec7cf26ac9837b0fabf9f885eb' })));
109
+ }
110
+ static get is() { return "cpsl-col"; }
111
+ static get encapsulation() { return "shadow"; }
112
+ static get originalStyleUrls() {
113
+ return {
114
+ "$": ["cpsl-col.scss"]
115
+ };
116
+ }
117
+ static get styleUrls() {
118
+ return {
119
+ "$": ["cpsl-col.css"]
120
+ };
121
+ }
122
+ static get properties() {
123
+ return {
124
+ "offset": {
125
+ "type": "string",
126
+ "mutable": false,
127
+ "complexType": {
128
+ "original": "string",
129
+ "resolved": "string",
130
+ "references": {}
131
+ },
132
+ "required": false,
133
+ "optional": true,
134
+ "docs": {
135
+ "tags": [],
136
+ "text": "The amount to offset the column, in terms of how many columns it should shift to the end\nof the total available."
137
+ },
138
+ "attribute": "offset",
139
+ "reflect": false
140
+ },
141
+ "offsetXs": {
142
+ "type": "string",
143
+ "mutable": false,
144
+ "complexType": {
145
+ "original": "string",
146
+ "resolved": "string",
147
+ "references": {}
148
+ },
149
+ "required": false,
150
+ "optional": true,
151
+ "docs": {
152
+ "tags": [],
153
+ "text": "The amount to offset the column for xs screens, in terms of how many columns it should shift\nto the end of the total available."
154
+ },
155
+ "attribute": "offset-xs",
156
+ "reflect": false
157
+ },
158
+ "offsetSm": {
159
+ "type": "string",
160
+ "mutable": false,
161
+ "complexType": {
162
+ "original": "string",
163
+ "resolved": "string",
164
+ "references": {}
165
+ },
166
+ "required": false,
167
+ "optional": true,
168
+ "docs": {
169
+ "tags": [],
170
+ "text": "The amount to offset the column for sm screens, in terms of how many columns it should shift\nto the end of the total available."
171
+ },
172
+ "attribute": "offset-sm",
173
+ "reflect": false
174
+ },
175
+ "offsetMd": {
176
+ "type": "string",
177
+ "mutable": false,
178
+ "complexType": {
179
+ "original": "string",
180
+ "resolved": "string",
181
+ "references": {}
182
+ },
183
+ "required": false,
184
+ "optional": true,
185
+ "docs": {
186
+ "tags": [],
187
+ "text": "The amount to offset the column for md screens, in terms of how many columns it should shift\nto the end of the total available."
188
+ },
189
+ "attribute": "offset-md",
190
+ "reflect": false
191
+ },
192
+ "offsetLg": {
193
+ "type": "string",
194
+ "mutable": false,
195
+ "complexType": {
196
+ "original": "string",
197
+ "resolved": "string",
198
+ "references": {}
199
+ },
200
+ "required": false,
201
+ "optional": true,
202
+ "docs": {
203
+ "tags": [],
204
+ "text": "The amount to offset the column for lg screens, in terms of how many columns it should shift\nto the end of the total available."
205
+ },
206
+ "attribute": "offset-lg",
207
+ "reflect": false
208
+ },
209
+ "offsetXl": {
210
+ "type": "string",
211
+ "mutable": false,
212
+ "complexType": {
213
+ "original": "string",
214
+ "resolved": "string",
215
+ "references": {}
216
+ },
217
+ "required": false,
218
+ "optional": true,
219
+ "docs": {
220
+ "tags": [],
221
+ "text": "The amount to offset the column for xl screens, in terms of how many columns it should shift\nto the end of the total available."
222
+ },
223
+ "attribute": "offset-xl",
224
+ "reflect": false
225
+ },
226
+ "pull": {
227
+ "type": "string",
228
+ "mutable": false,
229
+ "complexType": {
230
+ "original": "string",
231
+ "resolved": "string",
232
+ "references": {}
233
+ },
234
+ "required": false,
235
+ "optional": true,
236
+ "docs": {
237
+ "tags": [],
238
+ "text": "The amount to pull the column, in terms of how many columns it should shift to the start of\nthe total available."
239
+ },
240
+ "attribute": "pull",
241
+ "reflect": false
242
+ },
243
+ "pullXs": {
244
+ "type": "string",
245
+ "mutable": false,
246
+ "complexType": {
247
+ "original": "string",
248
+ "resolved": "string",
249
+ "references": {}
250
+ },
251
+ "required": false,
252
+ "optional": true,
253
+ "docs": {
254
+ "tags": [],
255
+ "text": "The amount to pull the column for xs screens, in terms of how many columns it should shift\nto the start of the total available."
256
+ },
257
+ "attribute": "pull-xs",
258
+ "reflect": false
259
+ },
260
+ "pullSm": {
261
+ "type": "string",
262
+ "mutable": false,
263
+ "complexType": {
264
+ "original": "string",
265
+ "resolved": "string",
266
+ "references": {}
267
+ },
268
+ "required": false,
269
+ "optional": true,
270
+ "docs": {
271
+ "tags": [],
272
+ "text": "The amount to pull the column for sm screens, in terms of how many columns it should shift\nto the start of the total available."
273
+ },
274
+ "attribute": "pull-sm",
275
+ "reflect": false
276
+ },
277
+ "pullMd": {
278
+ "type": "string",
279
+ "mutable": false,
280
+ "complexType": {
281
+ "original": "string",
282
+ "resolved": "string",
283
+ "references": {}
284
+ },
285
+ "required": false,
286
+ "optional": true,
287
+ "docs": {
288
+ "tags": [],
289
+ "text": "The amount to pull the column for md screens, in terms of how many columns it should shift\nto the start of the total available."
290
+ },
291
+ "attribute": "pull-md",
292
+ "reflect": false
293
+ },
294
+ "pullLg": {
295
+ "type": "string",
296
+ "mutable": false,
297
+ "complexType": {
298
+ "original": "string",
299
+ "resolved": "string",
300
+ "references": {}
301
+ },
302
+ "required": false,
303
+ "optional": true,
304
+ "docs": {
305
+ "tags": [],
306
+ "text": "The amount to pull the column for lg screens, in terms of how many columns it should shift\nto the start of the total available."
307
+ },
308
+ "attribute": "pull-lg",
309
+ "reflect": false
310
+ },
311
+ "pullXl": {
312
+ "type": "string",
313
+ "mutable": false,
314
+ "complexType": {
315
+ "original": "string",
316
+ "resolved": "string",
317
+ "references": {}
318
+ },
319
+ "required": false,
320
+ "optional": true,
321
+ "docs": {
322
+ "tags": [],
323
+ "text": "The amount to pull the column for xl screens, in terms of how many columns it should shift\nto the start of the total available."
324
+ },
325
+ "attribute": "pull-xl",
326
+ "reflect": false
327
+ },
328
+ "push": {
329
+ "type": "string",
330
+ "mutable": false,
331
+ "complexType": {
332
+ "original": "string",
333
+ "resolved": "string",
334
+ "references": {}
335
+ },
336
+ "required": false,
337
+ "optional": true,
338
+ "docs": {
339
+ "tags": [],
340
+ "text": "The amount to push the column, in terms of how many columns it should shift to the end\nof the total available."
341
+ },
342
+ "attribute": "push",
343
+ "reflect": false
344
+ },
345
+ "pushXs": {
346
+ "type": "string",
347
+ "mutable": false,
348
+ "complexType": {
349
+ "original": "string",
350
+ "resolved": "string",
351
+ "references": {}
352
+ },
353
+ "required": false,
354
+ "optional": true,
355
+ "docs": {
356
+ "tags": [],
357
+ "text": "The amount to push the column for xs screens, in terms of how many columns it should shift\nto the end of the total available."
358
+ },
359
+ "attribute": "push-xs",
360
+ "reflect": false
361
+ },
362
+ "pushSm": {
363
+ "type": "string",
364
+ "mutable": false,
365
+ "complexType": {
366
+ "original": "string",
367
+ "resolved": "string",
368
+ "references": {}
369
+ },
370
+ "required": false,
371
+ "optional": true,
372
+ "docs": {
373
+ "tags": [],
374
+ "text": "The amount to push the column for sm screens, in terms of how many columns it should shift\nto the end of the total available."
375
+ },
376
+ "attribute": "push-sm",
377
+ "reflect": false
378
+ },
379
+ "pushMd": {
380
+ "type": "string",
381
+ "mutable": false,
382
+ "complexType": {
383
+ "original": "string",
384
+ "resolved": "string",
385
+ "references": {}
386
+ },
387
+ "required": false,
388
+ "optional": true,
389
+ "docs": {
390
+ "tags": [],
391
+ "text": "The amount to push the column for md screens, in terms of how many columns it should shift\nto the end of the total available."
392
+ },
393
+ "attribute": "push-md",
394
+ "reflect": false
395
+ },
396
+ "pushLg": {
397
+ "type": "string",
398
+ "mutable": false,
399
+ "complexType": {
400
+ "original": "string",
401
+ "resolved": "string",
402
+ "references": {}
403
+ },
404
+ "required": false,
405
+ "optional": true,
406
+ "docs": {
407
+ "tags": [],
408
+ "text": "The amount to push the column for lg screens, in terms of how many columns it should shift\nto the end of the total available."
409
+ },
410
+ "attribute": "push-lg",
411
+ "reflect": false
412
+ },
413
+ "pushXl": {
414
+ "type": "string",
415
+ "mutable": false,
416
+ "complexType": {
417
+ "original": "string",
418
+ "resolved": "string",
419
+ "references": {}
420
+ },
421
+ "required": false,
422
+ "optional": true,
423
+ "docs": {
424
+ "tags": [],
425
+ "text": "The amount to push the column for xl screens, in terms of how many columns it should shift\nto the end of the total available."
426
+ },
427
+ "attribute": "push-xl",
428
+ "reflect": false
429
+ },
430
+ "size": {
431
+ "type": "string",
432
+ "mutable": false,
433
+ "complexType": {
434
+ "original": "string",
435
+ "resolved": "string",
436
+ "references": {}
437
+ },
438
+ "required": false,
439
+ "optional": true,
440
+ "docs": {
441
+ "tags": [],
442
+ "text": "The size of the column, in terms of how many columns it should take up out of the total\navailable. If `\"auto\"` is passed, the column will be the size of its content."
443
+ },
444
+ "attribute": "size",
445
+ "reflect": false
446
+ },
447
+ "sizeXs": {
448
+ "type": "string",
449
+ "mutable": false,
450
+ "complexType": {
451
+ "original": "string",
452
+ "resolved": "string",
453
+ "references": {}
454
+ },
455
+ "required": false,
456
+ "optional": true,
457
+ "docs": {
458
+ "tags": [],
459
+ "text": "The size of the column for xs screens, in terms of how many columns it should take up out\nof the total available. If `\"auto\"` is passed, the column will be the size of its content."
460
+ },
461
+ "attribute": "size-xs",
462
+ "reflect": false
463
+ },
464
+ "sizeSm": {
465
+ "type": "string",
466
+ "mutable": false,
467
+ "complexType": {
468
+ "original": "string",
469
+ "resolved": "string",
470
+ "references": {}
471
+ },
472
+ "required": false,
473
+ "optional": true,
474
+ "docs": {
475
+ "tags": [],
476
+ "text": "The size of the column for sm screens, in terms of how many columns it should take up out\nof the total available. If `\"auto\"` is passed, the column will be the size of its content."
477
+ },
478
+ "attribute": "size-sm",
479
+ "reflect": false
480
+ },
481
+ "sizeMd": {
482
+ "type": "string",
483
+ "mutable": false,
484
+ "complexType": {
485
+ "original": "string",
486
+ "resolved": "string",
487
+ "references": {}
488
+ },
489
+ "required": false,
490
+ "optional": true,
491
+ "docs": {
492
+ "tags": [],
493
+ "text": "The size of the column for md screens, in terms of how many columns it should take up out\nof the total available. If `\"auto\"` is passed, the column will be the size of its content."
494
+ },
495
+ "attribute": "size-md",
496
+ "reflect": false
497
+ },
498
+ "sizeLg": {
499
+ "type": "string",
500
+ "mutable": false,
501
+ "complexType": {
502
+ "original": "string",
503
+ "resolved": "string",
504
+ "references": {}
505
+ },
506
+ "required": false,
507
+ "optional": true,
508
+ "docs": {
509
+ "tags": [],
510
+ "text": "The size of the column for lg screens, in terms of how many columns it should take up out\nof the total available. If `\"auto\"` is passed, the column will be the size of its content."
511
+ },
512
+ "attribute": "size-lg",
513
+ "reflect": false
514
+ },
515
+ "sizeXl": {
516
+ "type": "string",
517
+ "mutable": false,
518
+ "complexType": {
519
+ "original": "string",
520
+ "resolved": "string",
521
+ "references": {}
522
+ },
523
+ "required": false,
524
+ "optional": true,
525
+ "docs": {
526
+ "tags": [],
527
+ "text": "The size of the column for xl screens, in terms of how many columns it should take up out\nof the total available. If `\"auto\"` is passed, the column will be the size of its content."
528
+ },
529
+ "attribute": "size-xl",
530
+ "reflect": false
531
+ }
532
+ };
533
+ }
534
+ static get listeners() {
535
+ return [{
536
+ "name": "resize",
537
+ "method": "onResize",
538
+ "target": "window",
539
+ "capture": false,
540
+ "passive": true
541
+ }];
542
+ }
543
+ }
544
+ //# sourceMappingURL=cpsl-col.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cpsl-col.js","sourceRoot":"","sources":["../../../../src/components/cpsl-col/cpsl-col.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD,MAAM,GAAG,GAAG,OAAQ,MAAc,KAAK,WAAW,CAAC,CAAC,CAAE,MAAc,CAAC,CAAC,CAAC,SAAS,CAAC;AACjF,MAAM,aAAa,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,QAAQ,IAAI,GAAG,CAAC,GAAG,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC;AAC3F,MAAM,WAAW,GAAG,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;AAOvD,MAAM,OAAO,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8IlB,QAAQ;QACN,WAAW,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IAED,gEAAgE;IAChE,iEAAiE;IACzD,UAAU,CAAC,QAAgB;QACjC,IAAI,OAAO,CAAC;QAEZ,KAAK,MAAM,UAAU,IAAI,WAAW,EAAE,CAAC;YACrC,MAAM,OAAO,GAAG,eAAe,CAAC,UAAU,CAAC,CAAC;YAE5C,uDAAuD;YACvD,0CAA0C;YAC1C,MAAM,OAAO,GAAI,IAAY,CAAC,QAAQ,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;YAEnG,IAAI,OAAO,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;gBACrC,OAAO,GAAG,OAAO,CAAC;YACpB,CAAC;QACH,CAAC;QAED,wDAAwD;QACxD,2DAA2D;QAC3D,OAAO,OAAO,CAAC;IACjB,CAAC;IAEO,aAAa;QACnB,MAAM,OAAO,GAAG,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;QAExC,wCAAwC;QACxC,8CAA8C;QAC9C,wDAAwD;QACxD,yBAAyB;QACzB,IAAI,CAAC,OAAO,IAAI,OAAO,KAAK,EAAE,EAAE,CAAC;YAC/B,OAAO;QACT,CAAC;QAED,yDAAyD;QACzD,MAAM,OAAO,GACX,OAAO,KAAK,MAAM;YAChB,CAAC,CAAC,MAAM;YACR,CAAC,CAAC,+DAA+D;gBAC/D,aAAa;oBACb,CAAC,CAAC,aAAa,OAAO,yCAAyC;oBAC/D,CAAC,CAAC,sEAAsE;wBACtE,8CAA8C;wBAC9C,CAAC,OAAO,GAAG,EAAE,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC;QAEnC,OAAO;YACL,MAAM,EAAE,OAAO,OAAO,EAAE;YACxB,OAAO,EAAE,GAAG,OAAO,EAAE;YACrB,WAAW,EAAE,GAAG,OAAO,EAAE;SAC1B,CAAC;IACJ,CAAC;IAED,wEAAwE;IAChE,iBAAiB,CAAC,QAAgB,EAAE,QAAgB;QAC1D,MAAM,OAAO,GAAG,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;QAE1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO;QACT,CAAC;QAED,mEAAmE;QACnE,sDAAsD;QACtD,MAAM,MAAM,GAAG,aAAa;YAC1B,CAAC,CAAC,+DAA+D;gBAC/D,aAAa,OAAO,yCAAyC;YAC/D,CAAC,CAAC,sEAAsE;gBACtE,8CAA8C;gBAC9C,OAAO,GAAG,CAAC,IAAI,OAAO,GAAG,EAAE;oBAC3B,CAAC,CAAC,CAAC,OAAO,GAAG,EAAE,CAAC,GAAG,GAAG,GAAG,GAAG;oBAC5B,CAAC,CAAC,MAAM,CAAC;QAEb,OAAO;YACL,CAAC,QAAQ,CAAC,EAAE,MAAM;SACnB,CAAC;IACJ,CAAC;IAEO,eAAe,CAAC,KAAc;QACpC,OAAO,IAAI,CAAC,iBAAiB,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;IAClF,CAAC;IAEO,aAAa,CAAC,KAAc;QAClC,OAAO,IAAI,CAAC,iBAAiB,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;IAClE,CAAC;IAEO,aAAa,CAAC,KAAc;QAClC,OAAO,IAAI,CAAC,iBAAiB,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;IAClE,CAAC;IAED,MAAM;QACJ,MAAM,KAAK,GAAG,QAAQ,CAAC,GAAG,KAAK,KAAK,CAAC;QACrC,OAAO,CACL,EAAC,IAAI,qDACH,KAAK,8DACA,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,GAC3B,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,GACzB,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,GACzB,IAAI,CAAC,aAAa,EAAE;YAGzB,8DAAa,CACR,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, Listen, Prop, forceUpdate, h } from '@stencil/core';\nimport { matchBreakpoint } from '../../utils/media.js';\n\nconst win = typeof (window as any) !== 'undefined' ? (window as any) : undefined;\nconst SUPPORTS_VARS = win && !!(win.CSS && win.CSS.supports && win.CSS.supports('--a: 0'));\nconst BREAKPOINTS = ['', 'xs', 'sm', 'md', 'lg', 'xl'];\n\n@Component({\n tag: 'cpsl-col',\n styleUrl: 'cpsl-col.scss',\n shadow: true,\n})\nexport class CpslCol {\n /**\n * The amount to offset the column, in terms of how many columns it should shift to the end\n * of the total available.\n */\n @Prop() offset?: string;\n\n /**\n * The amount to offset the column for xs screens, in terms of how many columns it should shift\n * to the end of the total available.\n */\n @Prop() offsetXs?: string;\n\n /**\n * The amount to offset the column for sm screens, in terms of how many columns it should shift\n * to the end of the total available.\n */\n @Prop() offsetSm?: string;\n\n /**\n * The amount to offset the column for md screens, in terms of how many columns it should shift\n * to the end of the total available.\n */\n @Prop() offsetMd?: string;\n\n /**\n * The amount to offset the column for lg screens, in terms of how many columns it should shift\n * to the end of the total available.\n */\n @Prop() offsetLg?: string;\n\n /**\n * The amount to offset the column for xl screens, in terms of how many columns it should shift\n * to the end of the total available.\n */\n @Prop() offsetXl?: string;\n\n /**\n * The amount to pull the column, in terms of how many columns it should shift to the start of\n * the total available.\n */\n @Prop() pull?: string;\n\n /**\n * The amount to pull the column for xs screens, in terms of how many columns it should shift\n * to the start of the total available.\n */\n @Prop() pullXs?: string;\n /**\n * The amount to pull the column for sm screens, in terms of how many columns it should shift\n * to the start of the total available.\n */\n @Prop() pullSm?: string;\n /**\n * The amount to pull the column for md screens, in terms of how many columns it should shift\n * to the start of the total available.\n */\n @Prop() pullMd?: string;\n /**\n * The amount to pull the column for lg screens, in terms of how many columns it should shift\n * to the start of the total available.\n */\n @Prop() pullLg?: string;\n /**\n * The amount to pull the column for xl screens, in terms of how many columns it should shift\n * to the start of the total available.\n */\n @Prop() pullXl?: string;\n\n /**\n * The amount to push the column, in terms of how many columns it should shift to the end\n * of the total available.\n */\n @Prop() push?: string;\n\n /**\n * The amount to push the column for xs screens, in terms of how many columns it should shift\n * to the end of the total available.\n */\n @Prop() pushXs?: string;\n\n /**\n * The amount to push the column for sm screens, in terms of how many columns it should shift\n * to the end of the total available.\n */\n @Prop() pushSm?: string;\n\n /**\n * The amount to push the column for md screens, in terms of how many columns it should shift\n * to the end of the total available.\n */\n @Prop() pushMd?: string;\n\n /**\n * The amount to push the column for lg screens, in terms of how many columns it should shift\n * to the end of the total available.\n */\n @Prop() pushLg?: string;\n\n /**\n * The amount to push the column for xl screens, in terms of how many columns it should shift\n * to the end of the total available.\n */\n @Prop() pushXl?: string;\n\n /**\n * The size of the column, in terms of how many columns it should take up out of the total\n * available. If `\"auto\"` is passed, the column will be the size of its content.\n */\n @Prop() size?: string;\n\n /**\n * The size of the column for xs screens, in terms of how many columns it should take up out\n * of the total available. If `\"auto\"` is passed, the column will be the size of its content.\n */\n @Prop() sizeXs?: string;\n\n /**\n * The size of the column for sm screens, in terms of how many columns it should take up out\n * of the total available. If `\"auto\"` is passed, the column will be the size of its content.\n */\n @Prop() sizeSm?: string;\n\n /**\n * The size of the column for md screens, in terms of how many columns it should take up out\n * of the total available. If `\"auto\"` is passed, the column will be the size of its content.\n */\n @Prop() sizeMd?: string;\n\n /**\n * The size of the column for lg screens, in terms of how many columns it should take up out\n * of the total available. If `\"auto\"` is passed, the column will be the size of its content.\n */\n @Prop() sizeLg?: string;\n\n /**\n * The size of the column for xl screens, in terms of how many columns it should take up out\n * of the total available. If `\"auto\"` is passed, the column will be the size of its content.\n */\n @Prop() sizeXl?: string;\n\n @Listen('resize', { target: 'window' })\n onResize() {\n forceUpdate(this);\n }\n\n // Loop through all of the breakpoints to see if the media query\n // matches and grab the column value from the relevant prop if so\n private getColumns(property: string) {\n let matched;\n\n for (const breakpoint of BREAKPOINTS) {\n const matches = matchBreakpoint(breakpoint);\n\n // Grab the value of the property, if it exists and our\n // media query matches we return the value\n const columns = (this as any)[property + breakpoint.charAt(0).toUpperCase() + breakpoint.slice(1)];\n\n if (matches && columns !== undefined) {\n matched = columns;\n }\n }\n\n // Return the last matched columns since the breakpoints\n // increase in size and we want to return the largest match\n return matched;\n }\n\n private calculateSize() {\n const columns = this.getColumns('size');\n\n // If size wasn't set for any breakpoint\n // or if the user set the size without a value\n // it means we need to stick with the default and return\n // e.g. <ion-col size-md>\n if (!columns || columns === '') {\n return;\n }\n\n // If the size is set to auto then don't calculate a size\n const colSize =\n columns === 'auto'\n ? 'auto'\n : // If CSS supports variables we should use the grid columns var\n SUPPORTS_VARS\n ? `calc(calc(${columns} / var(--ion-grid-columns, 12)) * 100%)`\n : // Convert the columns to a percentage by dividing by the total number\n // of columns (12) and then multiplying by 100\n (columns / 12) * 100 + '%';\n\n return {\n 'flex': `0 0 ${colSize}`,\n 'width': `${colSize}`,\n 'max-width': `${colSize}`,\n };\n }\n\n // Called by push, pull, and offset since they use the same calculations\n private calculatePosition(property: string, modifier: string) {\n const columns = this.getColumns(property);\n\n if (!columns) {\n return;\n }\n\n // If the number of columns passed are greater than 0 and less than\n // 12 we can position the column, else default to auto\n const amount = SUPPORTS_VARS\n ? // If CSS supports variables we should use the grid columns var\n `calc(calc(${columns} / var(--ion-grid-columns, 12)) * 100%)`\n : // Convert the columns to a percentage by dividing by the total number\n // of columns (12) and then multiplying by 100\n columns > 0 && columns < 12\n ? (columns / 12) * 100 + '%'\n : 'auto';\n\n return {\n [modifier]: amount,\n };\n }\n\n private calculateOffset(isRTL: boolean) {\n return this.calculatePosition('offset', isRTL ? 'margin-right' : 'margin-left');\n }\n\n private calculatePull(isRTL: boolean) {\n return this.calculatePosition('pull', isRTL ? 'left' : 'right');\n }\n\n private calculatePush(isRTL: boolean) {\n return this.calculatePosition('push', isRTL ? 'right' : 'left');\n }\n\n render() {\n const isRTL = document.dir === 'rtl';\n return (\n <Host\n style={{\n ...this.calculateOffset(isRTL),\n ...this.calculatePull(isRTL),\n ...this.calculatePush(isRTL),\n ...this.calculateSize(),\n }}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
@@ -0,0 +1,74 @@
1
+ /**
2
+ * Convert a font size to a dynamic font size.
3
+ * Fonts that participate in Dynamic Type should use
4
+ * dynamic font sizes.
5
+ * @param size - The initial font size including the unit (i.e. px or pt)
6
+ * @param unit (optional) - The unit to convert to. Use this if you want to
7
+ * convert to a unit other than $baselineUnit.
8
+ */
9
+ /**
10
+ * Convert a font size to a dynamic font size but impose
11
+ * a maximum font size.
12
+ * @param size - The initial font size including the unit (i.e. px or pt)
13
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
14
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
15
+ * convert to a unit other than $baselineUnit.
16
+ */
17
+ /**
18
+ * Convert a font size to a dynamic font size but impose
19
+ * a minimum font size.
20
+ * @param size - The initial font size including the unit (i.e. px or pt)
21
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
22
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
23
+ * convert to a unit other than $baselineUnit.
24
+ */
25
+ /**
26
+ * Convert a font size to a dynamic font size but impose
27
+ * maximum and minimum font sizes.
28
+ * @param size - The initial font size including the unit (i.e. px or pt)
29
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
30
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
31
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
32
+ * convert to a unit other than $baselineUnit.
33
+ */
34
+ /**
35
+ * A heuristic that applies CSS to tablet
36
+ * viewports.
37
+ *
38
+ * Usage:
39
+ * @include tablet-viewport() {
40
+ * :host {
41
+ * background-color: green;
42
+ * }
43
+ * }
44
+ */
45
+ /**
46
+ * A heuristic that applies CSS to mobile
47
+ * viewports (i.e. phones, not tablets).
48
+ *
49
+ * Usage:
50
+ * @include mobile-viewport() {
51
+ * :host {
52
+ * background-color: blue;
53
+ * }
54
+ * }
55
+ */
56
+ :host {
57
+ --divider-height: 1px;
58
+ --divider-color: var(--cpsl-color-divider);
59
+ display: flex;
60
+ align-items: center;
61
+ height: 24px;
62
+ width: 100%;
63
+ color: var(--cpsl-color-text-subtle);
64
+ font-family: var(--cpsl-font-family, inherit);
65
+ font-size: clamp(14px, 0.875rem, 21px);
66
+ font-weight: 500;
67
+ gap: 16px;
68
+ }
69
+
70
+ :host div {
71
+ flex: 1;
72
+ background: var(--divider-color);
73
+ height: var(--divider-height);
74
+ }
@@ -0,0 +1,19 @@
1
+ import { Host, h } from "@stencil/core";
2
+ export class CpslDivider {
3
+ render() {
4
+ return (h(Host, { key: 'd5cffdef9344f7dcac4aae1bc2acca8c02d69946' }, h("div", { key: 'e07f8107804df83537a3b8e40d124c66d2fc6f44' }), h("slot", { key: 'd97f02d46a63d32d107838b5aa50654a9593cc8a' }), h("div", { key: '2316aed010b91a65c961e2f30cc2cde03b892429' })));
5
+ }
6
+ static get is() { return "cpsl-divider"; }
7
+ static get encapsulation() { return "shadow"; }
8
+ static get originalStyleUrls() {
9
+ return {
10
+ "$": ["cpsl-divider.scss"]
11
+ };
12
+ }
13
+ static get styleUrls() {
14
+ return {
15
+ "$": ["cpsl-divider.css"]
16
+ };
17
+ }
18
+ }
19
+ //# sourceMappingURL=cpsl-divider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cpsl-divider.js","sourceRoot":"","sources":["../../../../src/components/cpsl-divider/cpsl-divider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAOnD,MAAM,OAAO,WAAW;IACtB,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,6DAAO;YACP,8DAAa;YACb,6DAAO,CACF,CACR,CAAC;IACJ,CAAC;;;;;;;;;CACF","sourcesContent":["import { Component, Host, h } from '@stencil/core';\n\n@Component({\n tag: 'cpsl-divider',\n styleUrl: 'cpsl-divider.scss',\n shadow: true,\n})\nexport class CpslDivider {\n render() {\n return (\n <Host>\n <div />\n <slot></slot>\n <div />\n </Host>\n );\n }\n}\n"]}