@usecapsule/core-components 2.0.0 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (401) hide show
  1. package/dist/capsule/_commonjsHelpers-bc8ff177.js +36 -0
  2. package/dist/capsule/_commonjsHelpers-bc8ff177.js.map +1 -0
  3. package/dist/capsule/capsule.esm.js +52 -1
  4. package/dist/capsule/capsule.esm.js.map +1 -1
  5. package/dist/capsule/cpsl-alert.entry.js +31 -0
  6. package/dist/capsule/cpsl-alert.entry.js.map +1 -0
  7. package/dist/{esm → capsule}/cpsl-animation.entry.js +114 -20
  8. package/dist/capsule/cpsl-animation.entry.js.map +1 -0
  9. package/dist/capsule/cpsl-button.entry.js +24 -0
  10. package/dist/capsule/cpsl-button.entry.js.map +1 -0
  11. package/dist/capsule/cpsl-code-input.entry.js +106 -0
  12. package/dist/capsule/cpsl-code-input.entry.js.map +1 -0
  13. package/dist/{esm → capsule}/cpsl-col.entry.js +3 -4
  14. package/dist/capsule/cpsl-col.entry.js.map +1 -0
  15. package/dist/capsule/cpsl-divider.entry.js +17 -0
  16. package/dist/capsule/cpsl-divider.entry.js.map +1 -0
  17. package/dist/{esm → capsule}/cpsl-grid.entry.js +4 -5
  18. package/dist/capsule/cpsl-grid.entry.js.map +1 -0
  19. package/dist/capsule/cpsl-icon.entry.js +20 -0
  20. package/dist/capsule/cpsl-icon.entry.js.map +1 -0
  21. package/dist/{esm → capsule}/cpsl-info-box.entry.js +3 -4
  22. package/dist/capsule/cpsl-info-box.entry.js.map +1 -0
  23. package/dist/capsule/cpsl-input.entry.js +124 -0
  24. package/dist/capsule/cpsl-input.entry.js.map +1 -0
  25. package/dist/capsule/cpsl-modal.entry.js +3338 -0
  26. package/dist/capsule/cpsl-modal.entry.js.map +1 -0
  27. package/dist/capsule/cpsl-overlay.entry.js +44 -0
  28. package/dist/capsule/cpsl-overlay.entry.js.map +1 -0
  29. package/dist/capsule/cpsl-pill.entry.js +18 -0
  30. package/dist/capsule/cpsl-pill.entry.js.map +1 -0
  31. package/dist/capsule/cpsl-progress-indicator.entry.js +29 -0
  32. package/dist/capsule/cpsl-progress-indicator.entry.js.map +1 -0
  33. package/dist/capsule/cpsl-qr-code.entry.js +56 -0
  34. package/dist/capsule/cpsl-qr-code.entry.js.map +1 -0
  35. package/dist/capsule/cpsl-row.entry.js +17 -0
  36. package/dist/capsule/cpsl-row.entry.js.map +1 -0
  37. package/dist/capsule/cpsl-slide-button.entry.js +130 -0
  38. package/dist/capsule/cpsl-slide-button.entry.js.map +1 -0
  39. package/dist/capsule/cpsl-spinner.entry.js +25 -0
  40. package/dist/capsule/cpsl-spinner.entry.js.map +1 -0
  41. package/dist/capsule/cpsl-tab.entry.js +37 -0
  42. package/dist/capsule/cpsl-tab.entry.js.map +1 -0
  43. package/dist/capsule/cpsl-tabs.entry.js +71 -0
  44. package/dist/capsule/cpsl-tabs.entry.js.map +1 -0
  45. package/dist/capsule/cpsl-text.entry.js +66 -0
  46. package/dist/capsule/cpsl-text.entry.js.map +1 -0
  47. package/dist/capsule/cpsl-tile-button.entry.js +19 -0
  48. package/dist/capsule/cpsl-tile-button.entry.js.map +1 -0
  49. package/dist/capsule/index-3ac1b9e9.js +617 -0
  50. package/dist/capsule/index-3ac1b9e9.js.map +1 -0
  51. package/dist/capsule/index-3ad00c7e.js +6064 -0
  52. package/dist/capsule/index-3ad00c7e.js.map +1 -0
  53. package/dist/capsule/index-f19e63df.js +4148 -0
  54. package/dist/capsule/index-f19e63df.js.map +1 -0
  55. package/dist/capsule/index.esm.js +572 -1
  56. package/dist/capsule/index.esm.js.map +1 -1
  57. package/dist/capsule/shadow-css-bc9e2af8.js +478 -0
  58. package/dist/capsule/shadow-css-bc9e2af8.js.map +1 -0
  59. package/dist/types/components/cpsl-modal/cpsl-modal.d.ts +2 -0
  60. package/dist/types/components/cpsl-text/cpsl-text.d.ts +4 -0
  61. package/dist/types/index.d.ts +1 -1
  62. package/dist/types/interface.d.ts +15 -0
  63. package/dist/types/utils/theme/generateFont.d.ts +1 -1
  64. package/dist/types/utils/theme/generateTheme.d.ts +1 -2
  65. package/package.json +2 -2
  66. package/dist/capsule/p-0462f723.js +0 -2
  67. package/dist/capsule/p-0462f723.js.map +0 -1
  68. package/dist/capsule/p-202a85c9.entry.js +0 -29
  69. package/dist/capsule/p-202a85c9.entry.js.map +0 -1
  70. package/dist/capsule/p-68c73705.entry.js +0 -2
  71. package/dist/capsule/p-68c73705.entry.js.map +0 -1
  72. package/dist/capsule/p-6fb7c4d1.js +0 -3
  73. package/dist/capsule/p-6fb7c4d1.js.map +0 -1
  74. package/dist/capsule/p-91412151.entry.js +0 -2
  75. package/dist/capsule/p-91412151.entry.js.map +0 -1
  76. package/dist/capsule/p-a95ec4df.entry.js +0 -2
  77. package/dist/capsule/p-a95ec4df.entry.js.map +0 -1
  78. package/dist/capsule/p-c2bf050b.js +0 -2
  79. package/dist/capsule/p-c2bf050b.js.map +0 -1
  80. package/dist/capsule/p-d7be092d.entry.js +0 -10
  81. package/dist/capsule/p-d7be092d.entry.js.map +0 -1
  82. package/dist/capsule/p-e1255160.js +0 -2
  83. package/dist/capsule/p-e1255160.js.map +0 -1
  84. package/dist/capsule/p-f604b591.entry.js +0 -2
  85. package/dist/capsule/p-f604b591.entry.js.map +0 -1
  86. package/dist/cjs/_commonjsHelpers-b3309d7b.js +0 -12
  87. package/dist/cjs/_commonjsHelpers-b3309d7b.js.map +0 -1
  88. package/dist/cjs/app-globals-3a1e7e63.js +0 -7
  89. package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
  90. package/dist/cjs/capsule.cjs.js +0 -27
  91. package/dist/cjs/capsule.cjs.js.map +0 -1
  92. package/dist/cjs/constants-4bb85cc5.js +0 -12
  93. package/dist/cjs/constants-4bb85cc5.js.map +0 -1
  94. package/dist/cjs/cpsl-alert_17.cjs.entry.js +0 -10704
  95. package/dist/cjs/cpsl-alert_17.cjs.entry.js.map +0 -1
  96. package/dist/cjs/cpsl-animation.cjs.entry.js +0 -20129
  97. package/dist/cjs/cpsl-animation.cjs.entry.js.map +0 -1
  98. package/dist/cjs/cpsl-col.cjs.entry.js +0 -125
  99. package/dist/cjs/cpsl-col.cjs.entry.js.map +0 -1
  100. package/dist/cjs/cpsl-grid.cjs.entry.js +0 -25
  101. package/dist/cjs/cpsl-grid.cjs.entry.js.map +0 -1
  102. package/dist/cjs/cpsl-info-box.cjs.entry.js +0 -22
  103. package/dist/cjs/cpsl-info-box.cjs.entry.js.map +0 -1
  104. package/dist/cjs/cpsl-row.cjs.entry.js +0 -22
  105. package/dist/cjs/cpsl-row.cjs.entry.js.map +0 -1
  106. package/dist/cjs/index-3fccb5b4.js +0 -2012
  107. package/dist/cjs/index-3fccb5b4.js.map +0 -1
  108. package/dist/cjs/index.cjs.js +0 -342
  109. package/dist/cjs/index.cjs.js.map +0 -1
  110. package/dist/cjs/loader.cjs.js +0 -17
  111. package/dist/cjs/loader.cjs.js.map +0 -1
  112. package/dist/collection/assets/icons/alert-circle.svg +0 -3
  113. package/dist/collection/assets/icons/angel-list-brand.svg +0 -3
  114. package/dist/collection/assets/icons/angel-list.svg +0 -3
  115. package/dist/collection/assets/icons/apple-brand.svg +0 -3
  116. package/dist/collection/assets/icons/apple.svg +0 -3
  117. package/dist/collection/assets/icons/arrow-narrow.svg +0 -3
  118. package/dist/collection/assets/icons/arrow.svg +0 -3
  119. package/dist/collection/assets/icons/backup-kit.svg +0 -4
  120. package/dist/collection/assets/icons/capsule-logo.svg +0 -18
  121. package/dist/collection/assets/icons/capsule-rings-dark.svg +0 -34
  122. package/dist/collection/assets/icons/capsule-rings.svg +0 -34
  123. package/dist/collection/assets/icons/capsule.svg +0 -4
  124. package/dist/collection/assets/icons/check.svg +0 -3
  125. package/dist/collection/assets/icons/clock.svg +0 -3
  126. package/dist/collection/assets/icons/close.svg +0 -4
  127. package/dist/collection/assets/icons/clubhouse-brand.svg +0 -4
  128. package/dist/collection/assets/icons/clubhouse.svg +0 -4
  129. package/dist/collection/assets/icons/copy.svg +0 -3
  130. package/dist/collection/assets/icons/discord-brand.svg +0 -4
  131. package/dist/collection/assets/icons/discord.svg +0 -4
  132. package/dist/collection/assets/icons/download-cloud.svg +0 -3
  133. package/dist/collection/assets/icons/dribbble-brand.svg +0 -4
  134. package/dist/collection/assets/icons/dribbble.svg +0 -3
  135. package/dist/collection/assets/icons/eye-off.svg +0 -3
  136. package/dist/collection/assets/icons/eye.svg +0 -4
  137. package/dist/collection/assets/icons/facebook-brand.svg +0 -11
  138. package/dist/collection/assets/icons/facebook.svg +0 -10
  139. package/dist/collection/assets/icons/figma-brand.svg +0 -14
  140. package/dist/collection/assets/icons/figma.svg +0 -3
  141. package/dist/collection/assets/icons/github-brand.svg +0 -10
  142. package/dist/collection/assets/icons/github.svg +0 -10
  143. package/dist/collection/assets/icons/google-brand.svg +0 -13
  144. package/dist/collection/assets/icons/google.svg +0 -10
  145. package/dist/collection/assets/icons/help-circle.svg +0 -3
  146. package/dist/collection/assets/icons/hero-email.svg +0 -12
  147. package/dist/collection/assets/icons/hero-lock.svg +0 -4
  148. package/dist/collection/assets/icons/hero-passkey.svg +0 -12
  149. package/dist/collection/assets/icons/hero-phone.svg +0 -4
  150. package/dist/collection/assets/icons/hero-wallet.svg +0 -5
  151. package/dist/collection/assets/icons/index.js +0 -70
  152. package/dist/collection/assets/icons/index.js.map +0 -1
  153. package/dist/collection/assets/icons/info-circle.svg +0 -3
  154. package/dist/collection/assets/icons/instagram-brand.svg +0 -12
  155. package/dist/collection/assets/icons/instagram.svg +0 -12
  156. package/dist/collection/assets/icons/key.svg +0 -3
  157. package/dist/collection/assets/icons/linkedin-brand.svg +0 -10
  158. package/dist/collection/assets/icons/linkedin.svg +0 -10
  159. package/dist/collection/assets/icons/mail.svg +0 -3
  160. package/dist/collection/assets/icons/more-login-options.svg +0 -13
  161. package/dist/collection/assets/icons/phone.svg +0 -3
  162. package/dist/collection/assets/icons/pintrest-brand.svg +0 -11
  163. package/dist/collection/assets/icons/pintrest.svg +0 -10
  164. package/dist/collection/assets/icons/plus-circle.svg +0 -5
  165. package/dist/collection/assets/icons/reddit-brand.svg +0 -11
  166. package/dist/collection/assets/icons/reddit.svg +0 -3
  167. package/dist/collection/assets/icons/signal-brand.svg +0 -3
  168. package/dist/collection/assets/icons/signal.svg +0 -3
  169. package/dist/collection/assets/icons/snapchat-brand.svg +0 -4
  170. package/dist/collection/assets/icons/snapchat.svg +0 -3
  171. package/dist/collection/assets/icons/telegram-brand.svg +0 -15
  172. package/dist/collection/assets/icons/telegram.svg +0 -10
  173. package/dist/collection/assets/icons/tik-tok-brand.svg +0 -5
  174. package/dist/collection/assets/icons/tik-tok.svg +0 -3
  175. package/dist/collection/assets/icons/tumblr-brand.svg +0 -10
  176. package/dist/collection/assets/icons/tumblr.svg +0 -10
  177. package/dist/collection/assets/icons/twitter-brand.svg +0 -3
  178. package/dist/collection/assets/icons/twitter.svg +0 -3
  179. package/dist/collection/assets/icons/wallet.svg +0 -5
  180. package/dist/collection/assets/icons/youtube-brand.svg +0 -11
  181. package/dist/collection/assets/icons/youtube.svg +0 -3
  182. package/dist/collection/collection-manifest.json +0 -33
  183. package/dist/collection/components/cpsl-alert/cpsl-alert.css +0 -98
  184. package/dist/collection/components/cpsl-alert/cpsl-alert.js +0 -80
  185. package/dist/collection/components/cpsl-alert/cpsl-alert.js.map +0 -1
  186. package/dist/collection/components/cpsl-alert/test/cpsl-alert.e2e.js +0 -29
  187. package/dist/collection/components/cpsl-alert/test/cpsl-alert.e2e.js.map +0 -1
  188. package/dist/collection/components/cpsl-alert/test/cpsl-alert.spec.js +0 -37
  189. package/dist/collection/components/cpsl-alert/test/cpsl-alert.spec.js.map +0 -1
  190. package/dist/collection/components/cpsl-animation/cpsl-animation.css +0 -17
  191. package/dist/collection/components/cpsl-animation/cpsl-animation.js +0 -102
  192. package/dist/collection/components/cpsl-animation/cpsl-animation.js.map +0 -1
  193. package/dist/collection/components/cpsl-animation/test/cpsl-animation.e2e.js +0 -29
  194. package/dist/collection/components/cpsl-animation/test/cpsl-animation.e2e.js.map +0 -1
  195. package/dist/collection/components/cpsl-animation/test/cpsl-animation.spec.js +0 -37
  196. package/dist/collection/components/cpsl-animation/test/cpsl-animation.spec.js.map +0 -1
  197. package/dist/collection/components/cpsl-button/cpsl-button.css +0 -162
  198. package/dist/collection/components/cpsl-button/cpsl-button.js +0 -68
  199. package/dist/collection/components/cpsl-button/cpsl-button.js.map +0 -1
  200. package/dist/collection/components/cpsl-button/test/cpsl-button.e2e.js +0 -29
  201. package/dist/collection/components/cpsl-button/test/cpsl-button.e2e.js.map +0 -1
  202. package/dist/collection/components/cpsl-button/test/cpsl-button.spec.js +0 -37
  203. package/dist/collection/components/cpsl-button/test/cpsl-button.spec.js.map +0 -1
  204. package/dist/collection/components/cpsl-code-input/code-change-interface.js +0 -2
  205. package/dist/collection/components/cpsl-code-input/code-change-interface.js.map +0 -1
  206. package/dist/collection/components/cpsl-code-input/cpsl-code-input.css +0 -134
  207. package/dist/collection/components/cpsl-code-input/cpsl-code-input.js +0 -223
  208. package/dist/collection/components/cpsl-code-input/cpsl-code-input.js.map +0 -1
  209. package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.e2e.js +0 -29
  210. package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.e2e.js.map +0 -1
  211. package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.spec.js +0 -37
  212. package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.spec.js.map +0 -1
  213. package/dist/collection/components/cpsl-col/cpsl-col.css +0 -200
  214. package/dist/collection/components/cpsl-col/cpsl-col.js +0 -528
  215. package/dist/collection/components/cpsl-col/cpsl-col.js.map +0 -1
  216. package/dist/collection/components/cpsl-col/test/cpsl-col.e2e.js +0 -29
  217. package/dist/collection/components/cpsl-col/test/cpsl-col.e2e.js.map +0 -1
  218. package/dist/collection/components/cpsl-col/test/cpsl-col.spec.js +0 -37
  219. package/dist/collection/components/cpsl-col/test/cpsl-col.spec.js.map +0 -1
  220. package/dist/collection/components/cpsl-divider/cpsl-divider.css +0 -73
  221. package/dist/collection/components/cpsl-divider/cpsl-divider.js +0 -19
  222. package/dist/collection/components/cpsl-divider/cpsl-divider.js.map +0 -1
  223. package/dist/collection/components/cpsl-divider/test/cpsl-divider.e2e.js +0 -29
  224. package/dist/collection/components/cpsl-divider/test/cpsl-divider.e2e.js.map +0 -1
  225. package/dist/collection/components/cpsl-divider/test/cpsl-divider.spec.js +0 -37
  226. package/dist/collection/components/cpsl-divider/test/cpsl-divider.spec.js.map +0 -1
  227. package/dist/collection/components/cpsl-grid/cpsl-grid.css +0 -235
  228. package/dist/collection/components/cpsl-grid/cpsl-grid.js +0 -46
  229. package/dist/collection/components/cpsl-grid/cpsl-grid.js.map +0 -1
  230. package/dist/collection/components/cpsl-grid/test/cpsl-grid.e2e.js +0 -29
  231. package/dist/collection/components/cpsl-grid/test/cpsl-grid.e2e.js.map +0 -1
  232. package/dist/collection/components/cpsl-grid/test/cpsl-grid.spec.js +0 -37
  233. package/dist/collection/components/cpsl-grid/test/cpsl-grid.spec.js.map +0 -1
  234. package/dist/collection/components/cpsl-icon/cpsl-icon.css +0 -95
  235. package/dist/collection/components/cpsl-icon/cpsl-icon.js +0 -68
  236. package/dist/collection/components/cpsl-icon/cpsl-icon.js.map +0 -1
  237. package/dist/collection/components/cpsl-icon/test/cpsl-icon.e2e.js +0 -29
  238. package/dist/collection/components/cpsl-icon/test/cpsl-icon.e2e.js.map +0 -1
  239. package/dist/collection/components/cpsl-icon/test/cpsl-icon.spec.js +0 -37
  240. package/dist/collection/components/cpsl-icon/test/cpsl-icon.spec.js.map +0 -1
  241. package/dist/collection/components/cpsl-info-box/cpsl-info-box.css +0 -77
  242. package/dist/collection/components/cpsl-info-box/cpsl-info-box.js +0 -19
  243. package/dist/collection/components/cpsl-info-box/cpsl-info-box.js.map +0 -1
  244. package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.e2e.js +0 -29
  245. package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.e2e.js.map +0 -1
  246. package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.spec.js +0 -37
  247. package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.spec.js.map +0 -1
  248. package/dist/collection/components/cpsl-input/cpsl-input.css +0 -194
  249. package/dist/collection/components/cpsl-input/cpsl-input.js +0 -708
  250. package/dist/collection/components/cpsl-input/cpsl-input.js.map +0 -1
  251. package/dist/collection/components/cpsl-input/input-interface.js +0 -2
  252. package/dist/collection/components/cpsl-input/input-interface.js.map +0 -1
  253. package/dist/collection/components/cpsl-input/test/cpsl-input.e2e.js +0 -29
  254. package/dist/collection/components/cpsl-input/test/cpsl-input.e2e.js.map +0 -1
  255. package/dist/collection/components/cpsl-input/test/cpsl-input.spec.js +0 -37
  256. package/dist/collection/components/cpsl-input/test/cpsl-input.spec.js.map +0 -1
  257. package/dist/collection/components/cpsl-modal/cpsl-modal.css +0 -172
  258. package/dist/collection/components/cpsl-modal/cpsl-modal.js +0 -423
  259. package/dist/collection/components/cpsl-modal/cpsl-modal.js.map +0 -1
  260. package/dist/collection/components/cpsl-modal/test/cpsl-modal.e2e.js +0 -29
  261. package/dist/collection/components/cpsl-modal/test/cpsl-modal.e2e.js.map +0 -1
  262. package/dist/collection/components/cpsl-modal/test/cpsl-modal.spec.js +0 -37
  263. package/dist/collection/components/cpsl-modal/test/cpsl-modal.spec.js.map +0 -1
  264. package/dist/collection/components/cpsl-overlay/cpsl-overlay.css +0 -11
  265. package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +0 -108
  266. package/dist/collection/components/cpsl-overlay/cpsl-overlay.js.map +0 -1
  267. package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.e2e.js +0 -29
  268. package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.e2e.js.map +0 -1
  269. package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.spec.js +0 -37
  270. package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.spec.js.map +0 -1
  271. package/dist/collection/components/cpsl-pill/cpsl-pill.css +0 -92
  272. package/dist/collection/components/cpsl-pill/cpsl-pill.js +0 -43
  273. package/dist/collection/components/cpsl-pill/cpsl-pill.js.map +0 -1
  274. package/dist/collection/components/cpsl-pill/test/cpsl-pill.e2e.js +0 -29
  275. package/dist/collection/components/cpsl-pill/test/cpsl-pill.e2e.js.map +0 -1
  276. package/dist/collection/components/cpsl-pill/test/cpsl-pill.spec.js +0 -37
  277. package/dist/collection/components/cpsl-pill/test/cpsl-pill.spec.js.map +0 -1
  278. package/dist/collection/components/cpsl-progress-indicator/cpsl-progress-indicator.css +0 -82
  279. package/dist/collection/components/cpsl-progress-indicator/cpsl-progress-indicator.js +0 -71
  280. package/dist/collection/components/cpsl-progress-indicator/cpsl-progress-indicator.js.map +0 -1
  281. package/dist/collection/components/cpsl-progress-indicator/progress-indicator-interface.js +0 -2
  282. package/dist/collection/components/cpsl-progress-indicator/progress-indicator-interface.js.map +0 -1
  283. package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.e2e.js +0 -29
  284. package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.e2e.js.map +0 -1
  285. package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.spec.js +0 -37
  286. package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.spec.js.map +0 -1
  287. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.css +0 -81
  288. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +0 -107
  289. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js.map +0 -1
  290. package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.e2e.js +0 -29
  291. package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.e2e.js.map +0 -1
  292. package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.spec.js +0 -37
  293. package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.spec.js.map +0 -1
  294. package/dist/collection/components/cpsl-row/cpsl-row.css +0 -136
  295. package/dist/collection/components/cpsl-row/cpsl-row.js +0 -19
  296. package/dist/collection/components/cpsl-row/cpsl-row.js.map +0 -1
  297. package/dist/collection/components/cpsl-row/test/cpsl-row.e2e.js +0 -29
  298. package/dist/collection/components/cpsl-row/test/cpsl-row.e2e.js.map +0 -1
  299. package/dist/collection/components/cpsl-row/test/cpsl-row.spec.js +0 -37
  300. package/dist/collection/components/cpsl-row/test/cpsl-row.spec.js.map +0 -1
  301. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.css +0 -175
  302. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +0 -252
  303. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js.map +0 -1
  304. package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.e2e.js +0 -29
  305. package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.e2e.js.map +0 -1
  306. package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.spec.js +0 -37
  307. package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.spec.js.map +0 -1
  308. package/dist/collection/components/cpsl-spinner/cpsl-spinner.css +0 -68
  309. package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +0 -69
  310. package/dist/collection/components/cpsl-spinner/cpsl-spinner.js.map +0 -1
  311. package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.e2e.js +0 -29
  312. package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.e2e.js.map +0 -1
  313. package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.spec.js +0 -37
  314. package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.spec.js.map +0 -1
  315. package/dist/collection/components/cpsl-tab/cpsl-tab.css +0 -23
  316. package/dist/collection/components/cpsl-tab/cpsl-tab.js +0 -121
  317. package/dist/collection/components/cpsl-tab/cpsl-tab.js.map +0 -1
  318. package/dist/collection/components/cpsl-tab/tab-interface.js +0 -2
  319. package/dist/collection/components/cpsl-tab/tab-interface.js.map +0 -1
  320. package/dist/collection/components/cpsl-tab/test/cpsl-tab.e2e.js +0 -29
  321. package/dist/collection/components/cpsl-tab/test/cpsl-tab.e2e.js.map +0 -1
  322. package/dist/collection/components/cpsl-tab/test/cpsl-tab.spec.js +0 -37
  323. package/dist/collection/components/cpsl-tab/test/cpsl-tab.spec.js.map +0 -1
  324. package/dist/collection/components/cpsl-tabs/cpsl-tabs.css +0 -111
  325. package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +0 -170
  326. package/dist/collection/components/cpsl-tabs/cpsl-tabs.js.map +0 -1
  327. package/dist/collection/components/cpsl-tabs/tabs-interface.js +0 -2
  328. package/dist/collection/components/cpsl-tabs/tabs-interface.js.map +0 -1
  329. package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.e2e.js +0 -29
  330. package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.e2e.js.map +0 -1
  331. package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.spec.js +0 -37
  332. package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.spec.js.map +0 -1
  333. package/dist/collection/components/cpsl-text/cpsl-text.css +0 -59
  334. package/dist/collection/components/cpsl-text/cpsl-text.js +0 -19
  335. package/dist/collection/components/cpsl-text/cpsl-text.js.map +0 -1
  336. package/dist/collection/components/cpsl-text/test/cpsl-text.e2e.js +0 -29
  337. package/dist/collection/components/cpsl-text/test/cpsl-text.e2e.js.map +0 -1
  338. package/dist/collection/components/cpsl-text/test/cpsl-text.spec.js +0 -37
  339. package/dist/collection/components/cpsl-text/test/cpsl-text.spec.js.map +0 -1
  340. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.css +0 -97
  341. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +0 -67
  342. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js.map +0 -1
  343. package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.e2e.js +0 -29
  344. package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.e2e.js.map +0 -1
  345. package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.spec.js +0 -37
  346. package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.spec.js.map +0 -1
  347. package/dist/collection/constants.js +0 -6
  348. package/dist/collection/constants.js.map +0 -1
  349. package/dist/collection/index.js +0 -3
  350. package/dist/collection/index.js.map +0 -1
  351. package/dist/collection/interface.js +0 -2
  352. package/dist/collection/interface.js.map +0 -1
  353. package/dist/collection/utils/media.js +0 -18
  354. package/dist/collection/utils/media.js.map +0 -1
  355. package/dist/collection/utils/theme/generateBorderRadii.js +0 -56
  356. package/dist/collection/utils/theme/generateBorderRadii.js.map +0 -1
  357. package/dist/collection/utils/theme/generateFont.js +0 -7
  358. package/dist/collection/utils/theme/generateFont.js.map +0 -1
  359. package/dist/collection/utils/theme/generatePalette.js +0 -46
  360. package/dist/collection/utils/theme/generatePalette.js.map +0 -1
  361. package/dist/collection/utils/theme/generateTheme.js +0 -12
  362. package/dist/collection/utils/theme/generateTheme.js.map +0 -1
  363. package/dist/collection/utils/theme/utils.js +0 -21
  364. package/dist/collection/utils/theme/utils.js.map +0 -1
  365. package/dist/esm/_commonjsHelpers-1789f0cf.js +0 -9
  366. package/dist/esm/_commonjsHelpers-1789f0cf.js.map +0 -1
  367. package/dist/esm/capsule.js +0 -22
  368. package/dist/esm/capsule.js.map +0 -1
  369. package/dist/esm/cpsl-alert_17.entry.js +0 -10684
  370. package/dist/esm/cpsl-alert_17.entry.js.map +0 -1
  371. package/dist/esm/cpsl-animation.entry.js.map +0 -1
  372. package/dist/esm/cpsl-col.entry.js.map +0 -1
  373. package/dist/esm/cpsl-grid.entry.js.map +0 -1
  374. package/dist/esm/cpsl-info-box.entry.js.map +0 -1
  375. package/dist/esm/cpsl-row.entry.js +0 -18
  376. package/dist/esm/cpsl-row.entry.js.map +0 -1
  377. package/dist/esm/index-f00e090c.js +0 -1982
  378. package/dist/esm/index-f00e090c.js.map +0 -1
  379. package/dist/esm/index.js +0 -338
  380. package/dist/esm/index.js.map +0 -1
  381. package/dist/esm/loader.js +0 -13
  382. package/dist/esm/loader.js.map +0 -1
  383. package/dist/esm/polyfills/core-js.js +0 -11
  384. package/dist/esm/polyfills/dom.js +0 -79
  385. package/dist/esm/polyfills/es5-html-element.js +0 -1
  386. package/dist/esm/polyfills/index.js +0 -34
  387. package/dist/esm/polyfills/system.js +0 -6
  388. package/dist/index.cjs.js +0 -1
  389. package/dist/index.js +0 -1
  390. package/dist/loader/cdn.js +0 -3
  391. package/dist/loader/index.cjs.js +0 -3
  392. package/dist/loader/index.d.ts +0 -21
  393. package/dist/loader/index.es2017.js +0 -3
  394. package/dist/loader/index.js +0 -4
  395. package/dist/loader/package.json +0 -11
  396. package/dist/scripts/buildIconLibrary.js +0 -33
  397. package/dist/scripts/buildIconLibrary.js.map +0 -1
  398. /package/dist/{esm → capsule}/app-globals-0f993ce5.js +0 -0
  399. /package/dist/{esm → capsule}/app-globals-0f993ce5.js.map +0 -0
  400. /package/dist/{esm → capsule}/constants-7b49abd5.js +0 -0
  401. /package/dist/{esm → capsule}/constants-7b49abd5.js.map +0 -0
@@ -1,125 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-3fccb5b4.js');
6
-
7
- const SIZE_TO_MEDIA = {
8
- xs: '(min-width: 0px)',
9
- sm: '(min-width: 576px)',
10
- md: '(min-width: 768px)',
11
- lg: '(min-width: 992px)',
12
- xl: '(min-width: 1200px)',
13
- };
14
- const matchBreakpoint = (breakpoint) => {
15
- if (breakpoint === undefined || breakpoint === '') {
16
- return true;
17
- }
18
- if (window.matchMedia) {
19
- const mediaQuery = SIZE_TO_MEDIA[breakpoint];
20
- return window.matchMedia(mediaQuery).matches;
21
- }
22
- return false;
23
- };
24
-
25
- const cpslColCss = ":host{-webkit-padding-start:var(--cpsl-grid-column-padding-xs, var(--cpsl-grid-column-padding, 0px));padding-inline-start:var(--cpsl-grid-column-padding-xs, var(--cpsl-grid-column-padding, 0px));-webkit-padding-end:var(--cpsl-grid-column-padding-xs, var(--cpsl-grid-column-padding, 0px));padding-inline-end:var(--cpsl-grid-column-padding-xs, var(--cpsl-grid-column-padding, 0px));padding-top:var(--cpsl-grid-column-padding-xs, var(--cpsl-grid-column-padding, 0px));padding-bottom:var(--cpsl-grid-column-padding-xs, var(--cpsl-grid-column-padding, 0px));margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;box-sizing:border-box;position:relative;flex-basis:0;flex-grow:1;width:100%;max-width:100%;min-height:1px}@media (min-width: 576px){:host{-webkit-padding-start:var(--cpsl-grid-column-padding-sm, var(--cpsl-grid-column-padding, 0px));padding-inline-start:var(--cpsl-grid-column-padding-sm, var(--cpsl-grid-column-padding, 0px));-webkit-padding-end:var(--cpsl-grid-column-padding-sm, var(--cpsl-grid-column-padding, 0px));padding-inline-end:var(--cpsl-grid-column-padding-sm, var(--cpsl-grid-column-padding, 0px));padding-top:var(--cpsl-grid-column-padding-sm, var(--cpsl-grid-column-padding, 0px));padding-bottom:var(--cpsl-grid-column-padding-sm, var(--cpsl-grid-column-padding, 0px))}}@media (min-width: 768px){:host{-webkit-padding-start:var(--cpsl-grid-column-padding-md, var(--cpsl-grid-column-padding, 0px));padding-inline-start:var(--cpsl-grid-column-padding-md, var(--cpsl-grid-column-padding, 0px));-webkit-padding-end:var(--cpsl-grid-column-padding-md, var(--cpsl-grid-column-padding, 0px));padding-inline-end:var(--cpsl-grid-column-padding-md, var(--cpsl-grid-column-padding, 0px));padding-top:var(--cpsl-grid-column-padding-md, var(--cpsl-grid-column-padding, 0px));padding-bottom:var(--cpsl-grid-column-padding-md, var(--cpsl-grid-column-padding, 0px))}}@media (min-width: 992px){:host{-webkit-padding-start:var(--cpsl-grid-column-padding-lg, var(--cpsl-grid-column-padding, 0px));padding-inline-start:var(--cpsl-grid-column-padding-lg, var(--cpsl-grid-column-padding, 0px));-webkit-padding-end:var(--cpsl-grid-column-padding-lg, var(--cpsl-grid-column-padding, 0px));padding-inline-end:var(--cpsl-grid-column-padding-lg, var(--cpsl-grid-column-padding, 0px));padding-top:var(--cpsl-grid-column-padding-lg, var(--cpsl-grid-column-padding, 0px));padding-bottom:var(--cpsl-grid-column-padding-lg, var(--cpsl-grid-column-padding, 0px))}}@media (min-width: 1200px){:host{-webkit-padding-start:var(--cpsl-grid-column-padding-xl, var(--cpsl-grid-column-padding, 0px));padding-inline-start:var(--cpsl-grid-column-padding-xl, var(--cpsl-grid-column-padding, 0px));-webkit-padding-end:var(--cpsl-grid-column-padding-xl, var(--cpsl-grid-column-padding, 0px));padding-inline-end:var(--cpsl-grid-column-padding-xl, var(--cpsl-grid-column-padding, 0px));padding-top:var(--cpsl-grid-column-padding-xl, var(--cpsl-grid-column-padding, 0px));padding-bottom:var(--cpsl-grid-column-padding-xl, var(--cpsl-grid-column-padding, 0px))}}";
26
- const CpslColStyle0 = cpslColCss;
27
-
28
- const win = typeof window !== 'undefined' ? window : undefined;
29
- const SUPPORTS_VARS = win && !!(win.CSS && win.CSS.supports && win.CSS.supports('--a: 0'));
30
- const BREAKPOINTS = ['', 'xs', 'sm', 'md', 'lg', 'xl'];
31
- const CpslCol = class {
32
- constructor(hostRef) {
33
- index.registerInstance(this, hostRef);
34
- this.offset = undefined;
35
- this.offsetXs = undefined;
36
- this.offsetSm = undefined;
37
- this.offsetMd = undefined;
38
- this.offsetLg = undefined;
39
- this.offsetXl = undefined;
40
- this.pull = undefined;
41
- this.pullXs = undefined;
42
- this.pullSm = undefined;
43
- this.pullMd = undefined;
44
- this.pullLg = undefined;
45
- this.pullXl = undefined;
46
- this.push = undefined;
47
- this.pushXs = undefined;
48
- this.pushSm = undefined;
49
- this.pushMd = undefined;
50
- this.pushLg = undefined;
51
- this.pushXl = undefined;
52
- this.size = undefined;
53
- this.sizeXs = undefined;
54
- this.sizeSm = undefined;
55
- this.sizeMd = undefined;
56
- this.sizeLg = undefined;
57
- this.sizeXl = undefined;
58
- }
59
- onResize() {
60
- index.forceUpdate(this);
61
- }
62
- getColumns(property) {
63
- let matched;
64
- for (const breakpoint of BREAKPOINTS) {
65
- const matches = matchBreakpoint(breakpoint);
66
- const columns = this[property + breakpoint.charAt(0).toUpperCase() + breakpoint.slice(1)];
67
- if (matches && columns !== undefined) {
68
- matched = columns;
69
- }
70
- }
71
- return matched;
72
- }
73
- calculateSize() {
74
- const columns = this.getColumns('size');
75
- if (!columns || columns === '') {
76
- return;
77
- }
78
- const colSize = columns === 'auto'
79
- ? 'auto'
80
- :
81
- SUPPORTS_VARS
82
- ? `calc(calc(${columns} / var(--ion-grid-columns, 12)) * 100%)`
83
- :
84
- (columns / 12) * 100 + '%';
85
- return {
86
- 'flex': `0 0 ${colSize}`,
87
- 'width': `${colSize}`,
88
- 'max-width': `${colSize}`,
89
- };
90
- }
91
- calculatePosition(property, modifier) {
92
- const columns = this.getColumns(property);
93
- if (!columns) {
94
- return;
95
- }
96
- const amount = SUPPORTS_VARS
97
- ?
98
- `calc(calc(${columns} / var(--ion-grid-columns, 12)) * 100%)`
99
- :
100
- columns > 0 && columns < 12
101
- ? (columns / 12) * 100 + '%'
102
- : 'auto';
103
- return {
104
- [modifier]: amount,
105
- };
106
- }
107
- calculateOffset(isRTL) {
108
- return this.calculatePosition('offset', isRTL ? 'margin-right' : 'margin-left');
109
- }
110
- calculatePull(isRTL) {
111
- return this.calculatePosition('pull', isRTL ? 'left' : 'right');
112
- }
113
- calculatePush(isRTL) {
114
- return this.calculatePosition('push', isRTL ? 'right' : 'left');
115
- }
116
- render() {
117
- const isRTL = document.dir === 'rtl';
118
- return (index.h(index.Host, { key: 'fdb8a99b8b9225949b4eea931277e461efac29eb', style: Object.assign(Object.assign(Object.assign(Object.assign({}, this.calculateOffset(isRTL)), this.calculatePull(isRTL)), this.calculatePush(isRTL)), this.calculateSize()) }, index.h("slot", { key: '0976c09d835a37413455f787596a75eafc1db14f' })));
119
- }
120
- };
121
- CpslCol.style = CpslColStyle0;
122
-
123
- exports.cpsl_col = CpslCol;
124
-
125
- //# sourceMappingURL=cpsl-col.cjs.entry.js.map
@@ -1 +0,0 @@
1
- {"file":"cpsl-col.entry.cjs.js","mappings":"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","names":["forceUpdate","h","Host"],"sources":["src/utils/media.ts","src/components/cpsl-col/cpsl-col.scss?tag=cpsl-col&encapsulation=shadow","src/components/cpsl-col/cpsl-col.tsx"],"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","@import './cpsl-col.vars';\n\n// Column\n// --------------------------------------------------\n\n:host {\n /**\n * @prop --cpsl-grid-columns: The number of total Columns in the Grid\n * @prop --cpsl-grid-column-padding: Padding for the Column\n * @prop --cpsl-grid-column-padding-xs: Padding for the Column on xs screens and up\n * @prop --cpsl-grid-column-padding-sm: Padding for the Column on sm screens and up\n * @prop --cpsl-grid-column-padding-md: Padding for the Column on md screens and up\n * @prop --cpsl-grid-column-padding-lg: Padding for the Column on lg screens and up\n * @prop --cpsl-grid-column-padding-xl: Padding for the Column on xl screens and up\n */\n @include make-breakpoint-padding($grid-column-paddings);\n @include margin(0);\n\n box-sizing: border-box;\n\n position: relative;\n\n flex-basis: 0;\n flex-grow: 1;\n\n width: 100%;\n max-width: 100%;\n min-height: 1px; // Prevent columns from collapsing when empty\n}\n","import { Component, Host, Listen, Prop, forceUpdate, h } from '@stencil/core';\nimport { matchBreakpoint } from '../../utils/media';\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"],"version":3}
@@ -1,25 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-3fccb5b4.js');
6
-
7
- const cpslGridCss = ":host{-webkit-padding-start:var(--cpsl-grid-padding-xs, var(--cpsl-grid-padding, 0px));padding-inline-start:var(--cpsl-grid-padding-xs, var(--cpsl-grid-padding, 0px));-webkit-padding-end:var(--cpsl-grid-padding-xs, var(--cpsl-grid-padding, 0px));padding-inline-end:var(--cpsl-grid-padding-xs, var(--cpsl-grid-padding, 0px));padding-top:var(--cpsl-grid-padding-xs, var(--cpsl-grid-padding, 0px));padding-bottom:var(--cpsl-grid-padding-xs, var(--cpsl-grid-padding, 0px));-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;display:block;flex:1}@media (min-width: 576px){:host{-webkit-padding-start:var(--cpsl-grid-padding-sm, var(--cpsl-grid-padding, 0px));padding-inline-start:var(--cpsl-grid-padding-sm, var(--cpsl-grid-padding, 0px));-webkit-padding-end:var(--cpsl-grid-padding-sm, var(--cpsl-grid-padding, 0px));padding-inline-end:var(--cpsl-grid-padding-sm, var(--cpsl-grid-padding, 0px));padding-top:var(--cpsl-grid-padding-sm, var(--cpsl-grid-padding, 0px));padding-bottom:var(--cpsl-grid-padding-sm, var(--cpsl-grid-padding, 0px))}}@media (min-width: 768px){:host{-webkit-padding-start:var(--cpsl-grid-padding-md, var(--cpsl-grid-padding, 0px));padding-inline-start:var(--cpsl-grid-padding-md, var(--cpsl-grid-padding, 0px));-webkit-padding-end:var(--cpsl-grid-padding-md, var(--cpsl-grid-padding, 0px));padding-inline-end:var(--cpsl-grid-padding-md, var(--cpsl-grid-padding, 0px));padding-top:var(--cpsl-grid-padding-md, var(--cpsl-grid-padding, 0px));padding-bottom:var(--cpsl-grid-padding-md, var(--cpsl-grid-padding, 0px))}}@media (min-width: 992px){:host{-webkit-padding-start:var(--cpsl-grid-padding-lg, var(--cpsl-grid-padding, 0px));padding-inline-start:var(--cpsl-grid-padding-lg, var(--cpsl-grid-padding, 0px));-webkit-padding-end:var(--cpsl-grid-padding-lg, var(--cpsl-grid-padding, 0px));padding-inline-end:var(--cpsl-grid-padding-lg, var(--cpsl-grid-padding, 0px));padding-top:var(--cpsl-grid-padding-lg, var(--cpsl-grid-padding, 0px));padding-bottom:var(--cpsl-grid-padding-lg, var(--cpsl-grid-padding, 0px))}}@media (min-width: 1200px){:host{-webkit-padding-start:var(--cpsl-grid-padding-xl, var(--cpsl-grid-padding, 0px));padding-inline-start:var(--cpsl-grid-padding-xl, var(--cpsl-grid-padding, 0px));-webkit-padding-end:var(--cpsl-grid-padding-xl, var(--cpsl-grid-padding, 0px));padding-inline-end:var(--cpsl-grid-padding-xl, var(--cpsl-grid-padding, 0px));padding-top:var(--cpsl-grid-padding-xl, var(--cpsl-grid-padding, 0px));padding-bottom:var(--cpsl-grid-padding-xl, var(--cpsl-grid-padding, 0px))}}:host(.grid-fixed){width:var(--cpsl-grid-width-xs, var(--cpsl-grid-width, 100%));max-width:100%}@media (min-width: 576px){:host(.grid-fixed){width:var(--cpsl-grid-width-sm, var(--cpsl-grid-width, 540px))}}@media (min-width: 768px){:host(.grid-fixed){width:var(--cpsl-grid-width-md, var(--cpsl-grid-width, 720px))}}@media (min-width: 992px){:host(.grid-fixed){width:var(--cpsl-grid-width-lg, var(--cpsl-grid-width, 960px))}}@media (min-width: 1200px){:host(.grid-fixed){width:var(--cpsl-grid-width-xl, var(--cpsl-grid-width, 1140px))}}:host(.cpsl-no-padding){--cpsl-grid-column-padding:0;--cpsl-grid-column-padding-xs:0;--cpsl-grid-column-padding-sm:0;--cpsl-grid-column-padding-md:0;--cpsl-grid-column-padding-lg:0;--cpsl-grid-column-padding-xl:0}";
8
- const CpslGridStyle0 = cpslGridCss;
9
-
10
- const CpslGrid = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- this.fixed = false;
14
- }
15
- render() {
16
- return (index.h(index.Host, { key: '1d6d165e50e9a7c745bdd699d4123bf4d850d636', class: {
17
- 'grid-fixed': this.fixed,
18
- } }, index.h("slot", { key: '11169a28e7cc3ef39b9632b6892750ddb6dbffc6' })));
19
- }
20
- };
21
- CpslGrid.style = CpslGridStyle0;
22
-
23
- exports.cpsl_grid = CpslGrid;
24
-
25
- //# sourceMappingURL=cpsl-grid.cjs.entry.js.map
@@ -1 +0,0 @@
1
- {"file":"cpsl-grid.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,WAAW,GAAG,0vGAA0vG,CAAC;AAC/wG,uBAAe,WAAW;;MCMb,QAAQ;;;qBAIH,KAAK;;IAErB,MAAM;QACJ,QACEA,QAACC,UAAI,qDACH,KAAK,EAAE;gBACL,YAAY,EAAE,IAAI,CAAC,KAAK;aACzB,IAEDD,oEAAa,CACR,EACP;KACH;;;;;;","names":["h","Host"],"sources":["src/components/cpsl-grid/cpsl-grid.scss?tag=cpsl-grid&encapsulation=shadow","src/components/cpsl-grid/cpsl-grid.tsx"],"sourcesContent":["@import './cpsl-grid.vars';\n\n// Grid\n// --------------------------------------------------\n\n:host {\n /**\n * @prop --cpsl-grid-padding: Padding for the Grid\n * @prop --cpsl-grid-padding-xs: Padding for the Grid on xs screens\n * @prop --cpsl-grid-padding-sm: Padding for the Grid on sm screens\n * @prop --cpsl-grid-padding-md: Padding for the Grid on md screens\n * @prop --cpsl-grid-padding-lg: Padding for the Grid on lg screens\n * @prop --cpsl-grid-padding-xl: Padding for the Grid on xl screens\n *\n * @prop --cpsl-grid-width: Width of the fixed Grid\n * @prop --cpsl-grid-width-xs: Width of the fixed Grid on xs screens\n * @prop --cpsl-grid-width-sm: Width of the fixed Grid on sm screens\n * @prop --cpsl-grid-width-md: Width of the fixed Grid on md screens\n * @prop --cpsl-grid-width-lg: Width of the fixed Grid on lg screens\n * @prop --cpsl-grid-width-xl: Width of the fixed Grid on xl screens\n */\n\n @include make-breakpoint-padding($grid-paddings);\n @include margin-horizontal(auto);\n\n display: block;\n\n flex: 1;\n}\n\n// Fixed Grid\n// --------------------------------------------------\n\n:host(.grid-fixed) {\n @include make-grid-widths();\n}\n\n// Grid Padding\n// --------------------------------------------------\n\n// Remove the padding from grid and all immediate children columns\n:host(.cpsl-no-padding) {\n --cpsl-grid-column-padding: 0;\n --cpsl-grid-column-padding-xs: 0;\n --cpsl-grid-column-padding-sm: 0;\n --cpsl-grid-column-padding-md: 0;\n --cpsl-grid-column-padding-lg: 0;\n --cpsl-grid-column-padding-xl: 0;\n}\n","import { Component, Host, Prop, h } from '@stencil/core';\n\n@Component({\n tag: 'cpsl-grid',\n styleUrl: 'cpsl-grid.scss',\n shadow: true,\n})\nexport class CpslGrid {\n /**\n * If `true`, the grid will have a fixed width based on the screen size.\n */\n @Prop() fixed = false;\n\n render() {\n return (\n <Host\n class={{\n 'grid-fixed': this.fixed,\n }}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,22 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-3fccb5b4.js');
6
-
7
- const cpslInfoBoxCss = ":host{--box-border-radius:var(--cpsl-border-radius-info-box);--box-padding-top:16px;--box-padding-bottom:16px;--box-padding-start:16px;--box-padding-end:16px;--box-border-width:1px}.info-box-container{border-radius:var(--input-border-radius);-webkit-padding-start:var(--box-padding-start);padding-inline-start:var(--box-padding-start);-webkit-padding-end:var(--box-padding-end);padding-inline-end:var(--box-padding-end);padding-top:var(--box-padding-top);padding-bottom:var(--box-padding-bottom);display:flex;background-color:var(--cpsl-color-background-secondary);border:var(--box-border-width) solid var(--cpsl-color-input-border-placeholder);border-radius:var(--box-border-radius)}";
8
- const CpslInfoBoxStyle0 = cpslInfoBoxCss;
9
-
10
- const CpslInfoBox = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- }
14
- render() {
15
- return (index.h(index.Host, { key: '2d1427b7750adff77e1ca94cd34b89a22cc54c1a' }, index.h("div", { key: '6ec6eedc5ef2a2137723383e86676523b8fa4b60', class: "info-box-container" }, index.h("slot", { key: '11ba071134789bcbee7ffb5f650d4536906139f4' }))));
16
- }
17
- };
18
- CpslInfoBox.style = CpslInfoBoxStyle0;
19
-
20
- exports.cpsl_info_box = CpslInfoBox;
21
-
22
- //# sourceMappingURL=cpsl-info-box.cjs.entry.js.map
@@ -1 +0,0 @@
1
- {"file":"cpsl-info-box.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,cAAc,GAAG,8qBAA8qB,CAAC;AACtsB,0BAAe,cAAc;;MCMhB,WAAW;;;;IACtB,MAAM;QACJ,QACEA,QAACC,UAAI,uDACHD,kEAAK,KAAK,EAAC,oBAAoB,IAC7BA,oEAAa,CACT,CACD,EACP;KACH;;;;;;","names":["h","Host"],"sources":["src/components/cpsl-info-box/cpsl-info-box.scss?tag=cpsl-info-box&encapsulation=shadow","src/components/cpsl-info-box/cpsl-info-box.tsx"],"sourcesContent":["@import '../../themes/capsule.globals';\n\n:host {\n --box-border-radius: var(--cpsl-border-radius-info-box);\n --box-padding-top: 16px;\n --box-padding-bottom: 16px;\n --box-padding-start: 16px;\n --box-padding-end: 16px;\n --box-border-width: 1px;\n}\n\n.info-box-container {\n @include border-radius(var(--input-border-radius));\n @include padding(var(--box-padding-top), var(--box-padding-end), var(--box-padding-bottom), var(--box-padding-start));\n\n display: flex;\n background-color: var(--cpsl-color-background-secondary);\n border: var(--box-border-width) solid var(--cpsl-color-input-border-placeholder);\n border-radius: var(--box-border-radius);\n}\n","import { Component, Host, h } from '@stencil/core';\n\n@Component({\n tag: 'cpsl-info-box',\n styleUrl: 'cpsl-info-box.scss',\n shadow: true,\n})\nexport class CpslInfoBox {\n render() {\n return (\n <Host>\n <div class=\"info-box-container\">\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,22 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-3fccb5b4.js');
6
-
7
- const cpslRowCss = ":host{display:flex;flex-wrap:wrap}";
8
- const CpslRowStyle0 = cpslRowCss;
9
-
10
- const CpslRow = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- }
14
- render() {
15
- return (index.h(index.Host, { key: '7b7158e94f4d805c1d67fc96588ef34151e76d5a' }, index.h("slot", { key: '987a473c46bb7c2be19a35dc54d5ebc2522d9e0a' })));
16
- }
17
- };
18
- CpslRow.style = CpslRowStyle0;
19
-
20
- exports.cpsl_row = CpslRow;
21
-
22
- //# sourceMappingURL=cpsl-row.cjs.entry.js.map
@@ -1 +0,0 @@
1
- {"file":"cpsl-row.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,UAAU,GAAG,oCAAoC,CAAC;AACxD,sBAAe,UAAU;;MCMZ,OAAO;;;;IAClB,MAAM;QACJ,QACEA,QAACC,UAAI,uDACHD,oEAAa,CACR,EACP;KACH;;;;;;","names":["h","Host"],"sources":["src/components/cpsl-row/cpsl-row.scss?tag=cpsl-row&encapsulation=shadow","src/components/cpsl-row/cpsl-row.tsx"],"sourcesContent":["@import './cpsl-row.vars';\n\n// Row\n// --------------------------------------------------\n\n:host {\n display: flex;\n\n flex-wrap: wrap;\n}\n","import { Component, Host, h } from '@stencil/core';\n\n@Component({\n tag: 'cpsl-row',\n styleUrl: 'cpsl-row.scss',\n shadow: true,\n})\nexport class CpslRow {\n render() {\n return (\n <Host>\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}