@usecapsule/core-components 2.0.9 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. package/css/capsule-core.css +54 -19
  2. package/css/capsule-core.css.map +1 -1
  3. package/dist/capsule/capsule.esm.js +1 -1
  4. package/dist/capsule/capsule.esm.js.map +1 -1
  5. package/dist/capsule/index.esm.js +1 -1
  6. package/dist/capsule/index.esm.js.map +1 -1
  7. package/dist/capsule/{p-415384b7.entry.js → p-0d0a0037.entry.js} +2 -2
  8. package/dist/capsule/p-4d8e4d86.entry.js +29 -0
  9. package/dist/capsule/p-4d8e4d86.entry.js.map +1 -0
  10. package/dist/capsule/p-86e48e61.js +3 -0
  11. package/dist/capsule/p-86e48e61.js.map +1 -0
  12. package/dist/capsule/p-ad14a817.entry.js +2 -0
  13. package/dist/capsule/p-b6b38e73.js +2 -0
  14. package/dist/capsule/p-b6b38e73.js.map +1 -0
  15. package/dist/capsule/p-d28b96ba.entry.js +10 -0
  16. package/dist/capsule/{p-b76350fd.entry.js.map → p-d28b96ba.entry.js.map} +1 -1
  17. package/dist/capsule/{p-4d957466.entry.js → p-fa078837.entry.js} +2 -2
  18. package/dist/capsule/{p-fa4e3c14.entry.js → p-fcead80b.entry.js} +2 -2
  19. package/dist/cjs/capsule.cjs.js +2 -2
  20. package/dist/cjs/constants-0869a780.js +29 -0
  21. package/dist/cjs/constants-0869a780.js.map +1 -0
  22. package/dist/cjs/{cpsl-alert_18.cjs.entry.js → cpsl-alert_29.cjs.entry.js} +598 -185
  23. package/dist/cjs/cpsl-alert_29.cjs.entry.js.map +1 -0
  24. package/dist/cjs/cpsl-animation.cjs.entry.js +2 -2
  25. package/dist/cjs/cpsl-col.cjs.entry.js +2 -2
  26. package/dist/cjs/cpsl-grid.cjs.entry.js +3 -3
  27. package/dist/cjs/cpsl-info-box.cjs.entry.js +2 -2
  28. package/dist/cjs/cpsl-row.cjs.entry.js +2 -2
  29. package/dist/cjs/{index-87ba56f9.js → index-5733071e.js} +6 -3
  30. package/dist/cjs/index-5733071e.js.map +1 -0
  31. package/dist/cjs/index.cjs.js +53 -24
  32. package/dist/cjs/index.cjs.js.map +1 -1
  33. package/dist/cjs/loader.cjs.js +2 -2
  34. package/dist/collection/assets/icons/check-circle.svg +3 -0
  35. package/dist/collection/assets/icons/home.svg +3 -0
  36. package/dist/collection/assets/icons/index.js +4 -1
  37. package/dist/collection/assets/icons/index.js.map +1 -1
  38. package/dist/collection/assets/icons/settings.svg +4 -0
  39. package/dist/collection/collection-manifest.json +11 -0
  40. package/dist/collection/components/cpsl-alert/cpsl-alert.css +21 -11
  41. package/dist/collection/components/cpsl-alert/cpsl-alert.js +34 -26
  42. package/dist/collection/components/cpsl-alert/cpsl-alert.js.map +1 -1
  43. package/dist/collection/components/cpsl-animation/cpsl-animation.js +1 -1
  44. package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.css +67 -0
  45. package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js +69 -0
  46. package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js.map +1 -0
  47. package/dist/collection/components/cpsl-app-bar/test/cpsl-app-bar.e2e.js +29 -0
  48. package/dist/collection/components/cpsl-app-bar/test/cpsl-app-bar.e2e.js.map +1 -0
  49. package/dist/collection/components/cpsl-app-bar/test/cpsl-app-bar.spec.js +37 -0
  50. package/dist/collection/components/cpsl-app-bar/test/cpsl-app-bar.spec.js.map +1 -0
  51. package/dist/collection/components/cpsl-avatar/cpsl-avatar.css +31 -0
  52. package/dist/collection/components/cpsl-avatar/cpsl-avatar.js +81 -0
  53. package/dist/collection/components/cpsl-avatar/cpsl-avatar.js.map +1 -0
  54. package/dist/collection/components/cpsl-avatar/test/cpsl-avatar.e2e.js +29 -0
  55. package/dist/collection/components/cpsl-avatar/test/cpsl-avatar.e2e.js.map +1 -0
  56. package/dist/collection/components/cpsl-avatar/test/cpsl-avatar.spec.js +37 -0
  57. package/dist/collection/components/cpsl-avatar/test/cpsl-avatar.spec.js.map +1 -0
  58. package/dist/collection/components/cpsl-button/cpsl-button.css +175 -51
  59. package/dist/collection/components/cpsl-button/cpsl-button.js +46 -5
  60. package/dist/collection/components/cpsl-button/cpsl-button.js.map +1 -1
  61. package/dist/collection/components/cpsl-button-group/cpsl-button-group.css +88 -0
  62. package/dist/collection/components/cpsl-button-group/cpsl-button-group.js +78 -0
  63. package/dist/collection/components/cpsl-button-group/cpsl-button-group.js.map +1 -0
  64. package/dist/collection/components/cpsl-button-group/test/cpsl-button-group.e2e.js +29 -0
  65. package/dist/collection/components/cpsl-button-group/test/cpsl-button-group.e2e.js.map +1 -0
  66. package/dist/collection/components/cpsl-button-group/test/cpsl-button-group.spec.js +37 -0
  67. package/dist/collection/components/cpsl-button-group/test/cpsl-button-group.spec.js.map +1 -0
  68. package/dist/collection/components/cpsl-card/cpsl-card.css +81 -0
  69. package/dist/collection/components/cpsl-card/cpsl-card.js +19 -0
  70. package/dist/collection/components/cpsl-card/cpsl-card.js.map +1 -0
  71. package/dist/collection/components/cpsl-card/test/cpsl-card.e2e.js +29 -0
  72. package/dist/collection/components/cpsl-card/test/cpsl-card.e2e.js.map +1 -0
  73. package/dist/collection/components/cpsl-card/test/cpsl-card.spec.js +37 -0
  74. package/dist/collection/components/cpsl-card/test/cpsl-card.spec.js.map +1 -0
  75. package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.css +110 -0
  76. package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.js +64 -0
  77. package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.js.map +1 -0
  78. package/dist/collection/components/cpsl-checkbox/test/cpsl-checkbox.e2e.js +29 -0
  79. package/dist/collection/components/cpsl-checkbox/test/cpsl-checkbox.e2e.js.map +1 -0
  80. package/dist/collection/components/cpsl-checkbox/test/cpsl-checkbox.spec.js +37 -0
  81. package/dist/collection/components/cpsl-checkbox/test/cpsl-checkbox.spec.js.map +1 -0
  82. package/dist/collection/components/cpsl-code-input/cpsl-code-input.js +1 -1
  83. package/dist/collection/components/cpsl-col/cpsl-col.js +1 -1
  84. package/dist/collection/components/cpsl-divider/cpsl-divider.js +1 -1
  85. package/dist/collection/components/cpsl-drawer/cpsl-drawer.css +90 -0
  86. package/dist/collection/components/cpsl-drawer/cpsl-drawer.js +149 -0
  87. package/dist/collection/components/cpsl-drawer/cpsl-drawer.js.map +1 -0
  88. package/dist/collection/components/cpsl-drawer/test/cpsl-drawer.e2e.js +29 -0
  89. package/dist/collection/components/cpsl-drawer/test/cpsl-drawer.e2e.js.map +1 -0
  90. package/dist/collection/components/cpsl-drawer/test/cpsl-drawer.spec.js +37 -0
  91. package/dist/collection/components/cpsl-drawer/test/cpsl-drawer.spec.js.map +1 -0
  92. package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js +1 -1
  93. package/dist/collection/components/cpsl-grid/cpsl-grid.js +2 -2
  94. package/dist/collection/components/cpsl-icon/cpsl-icon.js +2 -2
  95. package/dist/collection/components/cpsl-info-box/cpsl-info-box.js +1 -1
  96. package/dist/collection/components/cpsl-input/cpsl-input.css +35 -19
  97. package/dist/collection/components/cpsl-input/cpsl-input.js +47 -6
  98. package/dist/collection/components/cpsl-input/cpsl-input.js.map +1 -1
  99. package/dist/collection/components/cpsl-modal/cpsl-modal.css +12 -2
  100. package/dist/collection/components/cpsl-modal/cpsl-modal.js +20 -2
  101. package/dist/collection/components/cpsl-modal/cpsl-modal.js.map +1 -1
  102. package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.css +50 -0
  103. package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js +78 -0
  104. package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js.map +1 -0
  105. package/dist/collection/components/cpsl-nav-button-group/test/cpsl-nav-button-group.e2e.js +29 -0
  106. package/dist/collection/components/cpsl-nav-button-group/test/cpsl-nav-button-group.e2e.js.map +1 -0
  107. package/dist/collection/components/cpsl-nav-button-group/test/cpsl-nav-button-group.spec.js +37 -0
  108. package/dist/collection/components/cpsl-nav-button-group/test/cpsl-nav-button-group.spec.js.map +1 -0
  109. package/dist/collection/components/cpsl-overlay/cpsl-overlay.css +61 -3
  110. package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +35 -17
  111. package/dist/collection/components/cpsl-overlay/cpsl-overlay.js.map +1 -1
  112. package/dist/collection/components/cpsl-pagination/cpsl-pagination.css +67 -0
  113. package/dist/collection/components/cpsl-pagination/cpsl-pagination.js +174 -0
  114. package/dist/collection/components/cpsl-pagination/cpsl-pagination.js.map +1 -0
  115. package/dist/collection/components/cpsl-pagination/test/cpsl-pagination.e2e.js +29 -0
  116. package/dist/collection/components/cpsl-pagination/test/cpsl-pagination.e2e.js.map +1 -0
  117. package/dist/collection/components/cpsl-pagination/test/cpsl-pagination.spec.js +37 -0
  118. package/dist/collection/components/cpsl-pagination/test/cpsl-pagination.spec.js.map +1 -0
  119. package/dist/collection/components/cpsl-pill/cpsl-pill.js +1 -1
  120. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +1 -1
  121. package/dist/collection/components/cpsl-radio/cpsl-radio.css +97 -0
  122. package/dist/collection/components/cpsl-radio/cpsl-radio.js +66 -0
  123. package/dist/collection/components/cpsl-radio/cpsl-radio.js.map +1 -0
  124. package/dist/collection/components/cpsl-radio/test/cpsl-radio.e2e.js +29 -0
  125. package/dist/collection/components/cpsl-radio/test/cpsl-radio.e2e.js.map +1 -0
  126. package/dist/collection/components/cpsl-radio/test/cpsl-radio.spec.js +37 -0
  127. package/dist/collection/components/cpsl-radio/test/cpsl-radio.spec.js.map +1 -0
  128. package/dist/collection/components/cpsl-row/cpsl-row.js +1 -1
  129. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +3 -3
  130. package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +2 -2
  131. package/dist/collection/components/cpsl-switch/cpsl-switch.css +115 -0
  132. package/dist/collection/components/cpsl-switch/cpsl-switch.js +64 -0
  133. package/dist/collection/components/cpsl-switch/cpsl-switch.js.map +1 -0
  134. package/dist/collection/components/cpsl-switch/test/cpsl-switch.e2e.js +29 -0
  135. package/dist/collection/components/cpsl-switch/test/cpsl-switch.e2e.js.map +1 -0
  136. package/dist/collection/components/cpsl-switch/test/cpsl-switch.spec.js +37 -0
  137. package/dist/collection/components/cpsl-switch/test/cpsl-switch.spec.js.map +1 -0
  138. package/dist/collection/components/cpsl-tab/cpsl-tab.js +1 -1
  139. package/dist/collection/components/cpsl-table/cpsl-table.css +179 -0
  140. package/dist/collection/components/cpsl-table/cpsl-table.js +88 -0
  141. package/dist/collection/components/cpsl-table/cpsl-table.js.map +1 -0
  142. package/dist/collection/components/cpsl-table/table-interface.js +2 -0
  143. package/dist/collection/components/cpsl-table/table-interface.js.map +1 -0
  144. package/dist/collection/components/cpsl-table/test/cpsl-table.e2e.js +29 -0
  145. package/dist/collection/components/cpsl-table/test/cpsl-table.e2e.js.map +1 -0
  146. package/dist/collection/components/cpsl-table/test/cpsl-table.spec.js +37 -0
  147. package/dist/collection/components/cpsl-table/test/cpsl-table.spec.js.map +1 -0
  148. package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +1 -1
  149. package/dist/collection/components/cpsl-text/cpsl-text.js +1 -1
  150. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +2 -2
  151. package/dist/collection/constants.js +14 -0
  152. package/dist/collection/constants.js.map +1 -1
  153. package/dist/collection/interface.js.map +1 -1
  154. package/dist/collection/utils/theme/generateBorderRadii.js +24 -7
  155. package/dist/collection/utils/theme/generateBorderRadii.js.map +1 -1
  156. package/dist/collection/utils/theme/generatePalette.js +22 -18
  157. package/dist/collection/utils/theme/generatePalette.js.map +1 -1
  158. package/dist/collection/utils/theme/utils.js +8 -0
  159. package/dist/collection/utils/theme/utils.js.map +1 -1
  160. package/dist/esm/capsule.js +3 -3
  161. package/dist/esm/constants-6acf4ea8.js +23 -0
  162. package/dist/esm/constants-6acf4ea8.js.map +1 -0
  163. package/dist/esm/{cpsl-alert_18.entry.js → cpsl-alert_29.entry.js} +588 -186
  164. package/dist/esm/cpsl-alert_29.entry.js.map +1 -0
  165. package/dist/esm/cpsl-animation.entry.js +2 -2
  166. package/dist/esm/cpsl-col.entry.js +2 -2
  167. package/dist/esm/cpsl-grid.entry.js +3 -3
  168. package/dist/esm/cpsl-info-box.entry.js +2 -2
  169. package/dist/esm/cpsl-row.entry.js +2 -2
  170. package/dist/esm/{index-fd970ca2.js → index-8fe9f35e.js} +6 -3
  171. package/dist/esm/index-8fe9f35e.js.map +1 -0
  172. package/dist/esm/index.js +53 -24
  173. package/dist/esm/index.js.map +1 -1
  174. package/dist/esm/loader.js +3 -3
  175. package/dist/types/assets/icons/index.d.ts +3 -0
  176. package/dist/types/components/cpsl-alert/cpsl-alert.d.ts +2 -2
  177. package/dist/types/components/cpsl-app-bar/cpsl-app-bar.d.ts +5 -0
  178. package/dist/types/components/cpsl-avatar/cpsl-avatar.d.ts +6 -0
  179. package/dist/types/components/cpsl-button/cpsl-button.d.ts +2 -0
  180. package/dist/types/components/cpsl-button-group/cpsl-button-group.d.ts +9 -0
  181. package/dist/types/components/cpsl-card/cpsl-card.d.ts +3 -0
  182. package/dist/types/components/cpsl-checkbox/cpsl-checkbox.d.ts +7 -0
  183. package/dist/types/components/cpsl-drawer/cpsl-drawer.d.ts +9 -0
  184. package/dist/types/components/cpsl-input/cpsl-input.d.ts +4 -0
  185. package/dist/types/components/cpsl-modal/cpsl-modal.d.ts +1 -0
  186. package/dist/types/components/cpsl-nav-button-group/cpsl-nav-button-group.d.ts +9 -0
  187. package/dist/types/components/cpsl-overlay/cpsl-overlay.d.ts +2 -1
  188. package/dist/types/components/cpsl-pagination/cpsl-pagination.d.ts +14 -0
  189. package/dist/types/components/cpsl-radio/cpsl-radio.d.ts +7 -0
  190. package/dist/types/components/cpsl-switch/cpsl-switch.d.ts +7 -0
  191. package/dist/types/components/cpsl-table/cpsl-table.d.ts +9 -0
  192. package/dist/types/components/cpsl-table/table-interface.d.ts +19 -0
  193. package/dist/types/components.d.ts +435 -6
  194. package/dist/types/constants.d.ts +14 -0
  195. package/dist/types/interface.d.ts +35 -0
  196. package/dist/types/utils/theme/utils.d.ts +1 -0
  197. package/package.json +3 -2
  198. package/dist/capsule/p-2ce99420.entry.js +0 -29
  199. package/dist/capsule/p-2ce99420.entry.js.map +0 -1
  200. package/dist/capsule/p-6b02ea8d.entry.js +0 -2
  201. package/dist/capsule/p-b2997f3c.js +0 -3
  202. package/dist/capsule/p-b2997f3c.js.map +0 -1
  203. package/dist/capsule/p-b76350fd.entry.js +0 -10
  204. package/dist/capsule/p-c2bf050b.js +0 -2
  205. package/dist/capsule/p-c2bf050b.js.map +0 -1
  206. package/dist/cjs/constants-4bb85cc5.js +0 -12
  207. package/dist/cjs/constants-4bb85cc5.js.map +0 -1
  208. package/dist/cjs/cpsl-alert_18.cjs.entry.js.map +0 -1
  209. package/dist/cjs/index-87ba56f9.js.map +0 -1
  210. package/dist/esm/constants-7b49abd5.js +0 -9
  211. package/dist/esm/constants-7b49abd5.js.map +0 -1
  212. package/dist/esm/cpsl-alert_18.entry.js.map +0 -1
  213. package/dist/esm/index-fd970ca2.js.map +0 -1
  214. /package/dist/capsule/{p-415384b7.entry.js.map → p-0d0a0037.entry.js.map} +0 -0
  215. /package/dist/capsule/{p-6b02ea8d.entry.js.map → p-ad14a817.entry.js.map} +0 -0
  216. /package/dist/capsule/{p-4d957466.entry.js.map → p-fa078837.entry.js.map} +0 -0
  217. /package/dist/capsule/{p-fa4e3c14.entry.js.map → p-fcead80b.entry.js.map} +0 -0
  218. /package/dist/types/Users/{vinay → taylorbosch}/Documents/GitHub/Capsule/component-library/core/.stencil/scripts/buildIconLibrary.d.ts +0 -0
@@ -1,2 +1,2 @@
1
- import{r as d,h as i,H as p}from"./p-b2997f3c.js";const a=":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}";const g=a;const r=class{constructor(i){d(this,i);this.fixed=false}render(){return i(p,{key:"ad08de3e168770731291ad1fd2ddffcac4ca6145",class:{"grid-fixed":this.fixed}},i("slot",{key:"0c93c6a07b6acfaa4bd50c6edabbae30e37ed09d"}))}};r.style=g;export{r as cpsl_grid};
2
- //# sourceMappingURL=p-4d957466.entry.js.map
1
+ import{r as d,h as i,H as p}from"./p-86e48e61.js";const a=":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}";const g=a;const r=class{constructor(i){d(this,i);this.fixed=false}render(){return i(p,{key:"7f71c4736413c5fd6a742716da614991ef6a585e",class:{"grid-fixed":this.fixed}},i("slot",{key:"98f624d6d897aca30adcd75b14ef88124781981a"}))}};r.style=g;export{r as cpsl_grid};
2
+ //# sourceMappingURL=p-fa078837.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as d,h as o,H as r}from"./p-b2997f3c.js";const a=":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)}";const n=a;const i=class{constructor(o){d(this,o)}render(){return o(r,{key:"c3adc346763da83e631c71bbc4f1ce7aad99ba04"},o("div",{key:"c03ce70d8c94d42264216c1376d81f8601a45656",class:"info-box-container"},o("slot",{key:"3ae35495b7371479d0ad8e731011fb8b06a2c0d9"})))}};i.style=n;export{i as cpsl_info_box};
2
- //# sourceMappingURL=p-fa4e3c14.entry.js.map
1
+ import{r as d,h as o,H as r}from"./p-86e48e61.js";const a=":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)}";const b=a;const n=class{constructor(o){d(this,o)}render(){return o(r,{key:"519995e7bf034f2bf6bda24249a0acf5264bc0ab"},o("div",{key:"076b0866fbfa4812c5403511ec7048c99bba1823",class:"info-box-container"},o("slot",{key:"e00f6c9efa7f3701b58f8f20808b6323f9618877"})))}};n.style=b;export{n as cpsl_info_box};
2
+ //# sourceMappingURL=p-fcead80b.entry.js.map
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-87ba56f9.js');
5
+ const index = require('./index-5733071e.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
@@ -19,7 +19,7 @@ const patchBrowser = () => {
19
19
 
20
20
  patchBrowser().then(async (options) => {
21
21
  await appGlobals.globalScripts();
22
- return index.bootstrapLazy([["cpsl-animation.cjs",[[1,"cpsl-animation",{"src":[1],"replayAnimation":[64]}]]],["cpsl-col.cjs",[[1,"cpsl-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]]]],["cpsl-grid.cjs",[[1,"cpsl-grid",{"fixed":[4]}]]],["cpsl-info-box.cjs",[[1,"cpsl-info-box"]]],["cpsl-row.cjs",[[1,"cpsl-row"]]],["cpsl-alert_18.cjs",[[1,"cpsl-code-input",{"code":[1025],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"length":[2],"type":[1]}],[1,"cpsl-input",{"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"noAutoDisable":[4,"no-auto-disable"],"autofocus":[4],"disabled":[4],"enterkeyhint":[1],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"inputmode":[1],"label":[1],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"startIconSrc":[1,"start-icon-src"],"startIcon":[1,"start-icon"],"step":[1],"type":[1],"value":[1025],"hasFocus":[32]},null,{"disabled":["handleDisable"]}],[1,"cpsl-modal",{"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"],"footerExpanded":[4,"footer-expanded"],"footerTransitionDuration":[2,"footer-transition-duration"],"noOverlay":[4,"no-overlay"],"open":[4],"hasFooter":[32]},null,{"footerExpanded":["toggleHeight"],"open":["toggleModal"]}],[1,"cpsl-slide-button",{"disabled":[4],"endIcon":[1,"end-icon"],"endText":[1,"end-text"],"startIcon":[1,"start-icon"],"startText":[1,"start-text"]}],[1,"cpsl-tile-button",{"src":[1],"icon":[1]}],[1,"cpsl-alert",{"type":[1],"icon":[1]}],[1,"cpsl-button",{"disabled":[516],"variant":[513]}],[1,"cpsl-divider"],[1,"cpsl-dropdown",{"width":[1],"hasCpslSearch":[4,"has-cpsl-search"],"items":[16],"selectedItem":[1040],"isOpen":[32],"searchQuery":[32],"filteredItems":[32]},[[9,"resize","handleResize"]],{"selectedItem":["handleSelectedItemChange"],"isOpen":["handleOpenChange"]}],[1,"cpsl-pill",{"text":[1]}],[1,"cpsl-progress-indicator",{"totalSteps":[2,"total-steps"],"step":[2]}],[1,"cpsl-qr-code",{"url":[1],"imageSrc":[1,"image-src"],"size":[2]}],[1,"cpsl-spinner",{"size":[2],"speed":[2]}],[1,"cpsl-tab",{"selected":[4],"tab":[1]},[[8,"cpslTabsChanged","onTabsChanged"],[8,"cpslTabsInit","onTabsInit"]]],[1,"cpsl-tabs",{"fullWidth":[4,"full-width"],"selectedTab":[1,"selected-tab"],"selectedTabRect":[32],"loaded":[32]},null,{"fullWidth":["updateSlider"],"selectedTab":["updateTab"]}],[1,"cpsl-text",{"color":[1],"variant":[1],"weight":[1]}],[1,"cpsl-overlay",{"open":[4],"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"]},null,{"open":["toggleHeight"]}],[1,"cpsl-icon",{"src":[1],"icon":[1]}]]]], options);
22
+ return index.bootstrapLazy([["cpsl-animation.cjs",[[1,"cpsl-animation",{"src":[1],"replayAnimation":[64]}]]],["cpsl-col.cjs",[[1,"cpsl-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]]]],["cpsl-grid.cjs",[[1,"cpsl-grid",{"fixed":[4]}]]],["cpsl-info-box.cjs",[[1,"cpsl-info-box"]]],["cpsl-row.cjs",[[1,"cpsl-row"]]],["cpsl-alert_29.cjs",[[1,"cpsl-pagination",{"initialPage":[2,"initial-page"],"totalPages":[2,"total-pages"],"visiblePages":[1026,"visible-pages"],"currentPage":[32]},null,{"currentPage":["watchChange"]}],[1,"cpsl-alert",{"icon":[1],"variant":[1]}],[1,"cpsl-checkbox",{"checked":[4]}],[1,"cpsl-code-input",{"code":[1025],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"length":[2],"type":[1]}],[1,"cpsl-drawer",{"anchor":[1],"open":[4],"size":[2],"transitionDuration":[2,"transition-duration"],"transitionFunction":[1,"transition-function"],"variant":[1]}],[1,"cpsl-modal",{"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"],"footerExpanded":[4,"footer-expanded"],"footerTransitionDuration":[2,"footer-transition-duration"],"noOverlay":[4,"no-overlay"],"open":[4],"zIndexOverride":[2,"z-index-override"],"hasFooter":[32]},null,{"footerExpanded":["toggleHeight"],"open":["toggleModal"]}],[1,"cpsl-slide-button",{"disabled":[4],"endIcon":[1,"end-icon"],"endText":[1,"end-text"],"startIcon":[1,"start-icon"],"startText":[1,"start-text"]}],[1,"cpsl-table",{"columns":[16],"rows":[16]}],[1,"cpsl-tile-button",{"src":[1],"icon":[1]}],[1,"cpsl-app-bar",{"height":[2],"position":[1]}],[1,"cpsl-avatar",{"alt":[1],"src":[1],"variant":[1]}],[1,"cpsl-card"],[1,"cpsl-divider"],[1,"cpsl-dropdown",{"width":[1],"hasCpslSearch":[4,"has-cpsl-search"],"items":[16],"selectedItem":[1040],"isOpen":[32],"searchQuery":[32],"filteredItems":[32]},[[9,"resize","handleResize"]],{"selectedItem":["handleSelectedItemChange"],"isOpen":["handleOpenChange"]}],[1,"cpsl-input",{"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"noAutoDisable":[4,"no-auto-disable"],"autofocus":[4],"disabled":[4],"enterkeyhint":[1],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"inputmode":[1],"label":[1],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"showOptionalLabel":[4,"show-optional-label"],"spellcheck":[4],"startIconSrc":[1,"start-icon-src"],"startIcon":[1,"start-icon"],"step":[1],"type":[1],"value":[1025],"hasFocus":[32]},null,{"disabled":["handleDisable"]}],[1,"cpsl-nav-button-group",{"selectedId":[1,"selected-id"]},null,{"selectedId":["selectItem"]}],[1,"cpsl-pill",{"text":[1]}],[1,"cpsl-progress-indicator",{"totalSteps":[2,"total-steps"],"step":[2]}],[1,"cpsl-qr-code",{"url":[1],"imageSrc":[1,"image-src"],"size":[2]}],[1,"cpsl-radio",{"checked":[4]}],[1,"cpsl-spinner",{"size":[2],"speed":[2]}],[1,"cpsl-switch",{"checked":[4]}],[1,"cpsl-tab",{"selected":[4],"tab":[1]},[[8,"cpslTabsChanged","onTabsChanged"],[8,"cpslTabsInit","onTabsInit"]]],[1,"cpsl-tabs",{"fullWidth":[4,"full-width"],"selectedTab":[1,"selected-tab"],"selectedTabRect":[32],"loaded":[32]},null,{"fullWidth":["updateSlider"],"selectedTab":["updateTab"]}],[1,"cpsl-button",{"disabled":[516],"fullWidth":[4,"full-width"],"size":[1],"variant":[1]}],[1,"cpsl-button-group",{"selectedId":[1,"selected-id"]},null,{"selectedId":["selectItem"]}],[1,"cpsl-overlay",{"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"],"open":[4],"zIndexOverride":[2,"z-index-override"]},null,{"open":["toggleHeight"]}],[1,"cpsl-text",{"color":[1],"variant":[1],"weight":[1]}],[1,"cpsl-icon",{"src":[1],"icon":[1]}]]]], options);
23
23
  });
24
24
 
25
25
  exports.setNonce = index.setNonce;
@@ -0,0 +1,29 @@
1
+ 'use strict';
2
+
3
+ const MOBILE_SIZE = 480;
4
+ const DEFAULT_THEME = {
5
+ foregroundColor: '#121212',
6
+ backgroundColor: '#FAFAFA',
7
+ };
8
+ const COLOR_MIXES = [0, 0.04, 0.08, 0.16, 0.32, 0.48, 0.64, 0.8, 0.96];
9
+ const UTILITY_COLORS = {
10
+ red: 'rgba(240, 68, 56, 1)',
11
+ yellow: 'rgba(251, 188, 4, 1)',
12
+ green: 'rgba(52, 168, 83, 1)',
13
+ };
14
+ const DEFAULT_Z_INDICES = {
15
+ modalNoOverlay: 0,
16
+ appBar: 10000,
17
+ overlay: 10001,
18
+ modal: 10002,
19
+ drawer: 10004,
20
+ modalWrapper: 10005,
21
+ };
22
+
23
+ exports.COLOR_MIXES = COLOR_MIXES;
24
+ exports.DEFAULT_THEME = DEFAULT_THEME;
25
+ exports.DEFAULT_Z_INDICES = DEFAULT_Z_INDICES;
26
+ exports.MOBILE_SIZE = MOBILE_SIZE;
27
+ exports.UTILITY_COLORS = UTILITY_COLORS;
28
+
29
+ //# sourceMappingURL=constants-0869a780.js.map
@@ -0,0 +1 @@
1
+ {"file":"constants-0869a780.js","mappings":";;MAEa,WAAW,GAAG,IAAI;MAElB,aAAa,GAAU;IAClC,eAAe,EAAE,SAAS;IAC1B,eAAe,EAAE,SAAS;EAC1B;MAEW,WAAW,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE;MAEjE,cAAc,GAAmD;IAC5E,GAAG,EAAE,sBAAsB;IAC3B,MAAM,EAAE,sBAAsB;IAC9B,KAAK,EAAE,sBAAsB;EAC7B;MAEW,iBAAiB,GAAG;IAC/B,cAAc,EAAE,CAAC;IACjB,MAAM,EAAE,KAAK;IACb,OAAO,EAAE,KAAK;IACd,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,KAAK;IACb,YAAY,EAAE,KAAK;;;;;;;;;","names":[],"sources":["src/constants.ts"],"sourcesContent":["import { Theme } from './interface';\n\nexport const MOBILE_SIZE = 480;\n\nexport const DEFAULT_THEME: Theme = {\n foregroundColor: '#121212',\n backgroundColor: '#FAFAFA',\n};\n\nexport const COLOR_MIXES = [0, 0.04, 0.08, 0.16, 0.32, 0.48, 0.64, 0.8, 0.96];\n\nexport const UTILITY_COLORS: { red: string; yellow: string; green: string } = {\n red: 'rgba(240, 68, 56, 1)',\n yellow: 'rgba(251, 188, 4, 1)',\n green: 'rgba(52, 168, 83, 1)',\n};\n\nexport const DEFAULT_Z_INDICES = {\n modalNoOverlay: 0,\n appBar: 10000,\n overlay: 10001,\n modal: 10002,\n drawer: 10004,\n modalWrapper: 10005,\n};\n"],"version":3}