@usecapsule/core-components 2.0.10 → 3.0.1-dev.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (306) hide show
  1. package/css/capsule-core.css +134 -30
  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-127ac658.entry.js} +2 -2
  8. package/dist/capsule/{p-415384b7.entry.js.map → p-127ac658.entry.js.map} +1 -1
  9. package/dist/capsule/p-39584a7b.entry.js +2 -0
  10. package/dist/capsule/p-39584a7b.entry.js.map +1 -0
  11. package/dist/capsule/{p-b76350fd.entry.js → p-69756614.entry.js} +2 -2
  12. package/dist/capsule/{p-b76350fd.entry.js.map → p-69756614.entry.js.map} +1 -1
  13. package/dist/capsule/p-73398222.entry.js +2 -0
  14. package/dist/capsule/{p-fa4e3c14.entry.js.map → p-73398222.entry.js.map} +1 -1
  15. package/dist/capsule/p-8de15b15.entry.js +29 -0
  16. package/dist/capsule/p-8de15b15.entry.js.map +1 -0
  17. package/dist/capsule/p-97c33636.js +3 -0
  18. package/dist/capsule/p-97c33636.js.map +1 -0
  19. package/dist/capsule/p-f2393be6.js +2 -0
  20. package/dist/capsule/p-f2393be6.js.map +1 -0
  21. package/dist/capsule/p-f72482c3.entry.js +2 -0
  22. package/dist/capsule/{p-6b02ea8d.entry.js.map → p-f72482c3.entry.js.map} +1 -1
  23. package/dist/capsule/{p-4d957466.entry.js → p-fd26ce6e.entry.js} +2 -2
  24. package/dist/capsule/{p-4d957466.entry.js.map → p-fd26ce6e.entry.js.map} +1 -1
  25. package/dist/cjs/capsule.cjs.js +10 -10
  26. package/dist/cjs/capsule.cjs.js.map +1 -1
  27. package/dist/cjs/constants-9b1b01bb.js +29 -0
  28. package/dist/cjs/constants-9b1b01bb.js.map +1 -0
  29. package/dist/cjs/{cpsl-alert_18.cjs.entry.js → cpsl-alert_33.cjs.entry.js} +1136 -232
  30. package/dist/cjs/cpsl-alert_33.cjs.entry.js.map +1 -0
  31. package/dist/cjs/cpsl-animation.cjs.entry.js +1 -1
  32. package/dist/cjs/cpsl-col.cjs.entry.js +2 -2
  33. package/dist/cjs/cpsl-grid.cjs.entry.js +3 -3
  34. package/dist/cjs/cpsl-info-box.cjs.entry.js +3 -3
  35. package/dist/cjs/cpsl-info-box.cjs.entry.js.map +1 -1
  36. package/dist/cjs/cpsl-modal-v2.cjs.entry.js +55 -0
  37. package/dist/cjs/cpsl-modal-v2.cjs.entry.js.map +1 -0
  38. package/dist/cjs/cpsl-row.cjs.entry.js +2 -2
  39. package/dist/cjs/index-5293d431.js +1414 -0
  40. package/dist/cjs/index-5293d431.js.map +1 -0
  41. package/dist/cjs/index.cjs.js +65 -24
  42. package/dist/cjs/index.cjs.js.map +1 -1
  43. package/dist/cjs/loader.cjs.js +2 -2
  44. package/dist/collection/assets/icons/brush.svg +3 -0
  45. package/dist/collection/assets/icons/check-circle.svg +3 -0
  46. package/dist/collection/assets/icons/chevron-up.svg +2 -2
  47. package/dist/collection/assets/icons/close.svg +3 -4
  48. package/dist/collection/assets/icons/cube.svg +3 -0
  49. package/dist/collection/assets/icons/file.svg +3 -0
  50. package/dist/collection/assets/icons/home.svg +3 -0
  51. package/dist/collection/assets/icons/image.svg +3 -0
  52. package/dist/collection/assets/icons/index.js +13 -3
  53. package/dist/collection/assets/icons/index.js.map +1 -1
  54. package/dist/collection/assets/icons/lightning-01.svg +3 -0
  55. package/dist/collection/assets/icons/lightning.svg +2 -2
  56. package/dist/collection/assets/icons/menu.svg +3 -0
  57. package/dist/collection/assets/icons/refresh.svg +3 -0
  58. package/dist/collection/assets/icons/settings.svg +4 -0
  59. package/dist/collection/assets/icons/stars.svg +4 -0
  60. package/dist/collection/assets/icons/x.svg +3 -0
  61. package/dist/collection/collection-manifest.json +18 -2
  62. package/dist/collection/components/cpsl-alert/cpsl-alert.css +21 -11
  63. package/dist/collection/components/cpsl-alert/cpsl-alert.js +34 -26
  64. package/dist/collection/components/cpsl-alert/cpsl-alert.js.map +1 -1
  65. package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.css +67 -0
  66. package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js +85 -0
  67. package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js.map +1 -0
  68. package/dist/collection/components/cpsl-app-bar/test/cpsl-app-bar.e2e.js +29 -0
  69. package/dist/collection/components/cpsl-app-bar/test/cpsl-app-bar.e2e.js.map +1 -0
  70. package/dist/collection/components/cpsl-app-bar/test/cpsl-app-bar.spec.js +37 -0
  71. package/dist/collection/components/cpsl-app-bar/test/cpsl-app-bar.spec.js.map +1 -0
  72. package/dist/collection/components/cpsl-avatar/cpsl-avatar.css +31 -0
  73. package/dist/collection/components/cpsl-avatar/cpsl-avatar.js +81 -0
  74. package/dist/collection/components/cpsl-avatar/cpsl-avatar.js.map +1 -0
  75. package/dist/collection/components/cpsl-avatar/test/cpsl-avatar.e2e.js +29 -0
  76. package/dist/collection/components/cpsl-avatar/test/cpsl-avatar.e2e.js.map +1 -0
  77. package/dist/collection/components/cpsl-avatar/test/cpsl-avatar.spec.js +37 -0
  78. package/dist/collection/components/cpsl-avatar/test/cpsl-avatar.spec.js.map +1 -0
  79. package/dist/collection/components/cpsl-button/cpsl-button.css +276 -56
  80. package/dist/collection/components/cpsl-button/cpsl-button.js +104 -7
  81. package/dist/collection/components/cpsl-button/cpsl-button.js.map +1 -1
  82. package/dist/collection/components/cpsl-button-group/cpsl-button-group.css +89 -0
  83. package/dist/collection/components/cpsl-button-group/cpsl-button-group.js +78 -0
  84. package/dist/collection/components/cpsl-button-group/cpsl-button-group.js.map +1 -0
  85. package/dist/collection/components/cpsl-button-group/test/cpsl-button-group.e2e.js +29 -0
  86. package/dist/collection/components/cpsl-button-group/test/cpsl-button-group.e2e.js.map +1 -0
  87. package/dist/collection/components/cpsl-button-group/test/cpsl-button-group.spec.js +37 -0
  88. package/dist/collection/components/cpsl-button-group/test/cpsl-button-group.spec.js.map +1 -0
  89. package/dist/collection/components/cpsl-card/cpsl-card.css +81 -0
  90. package/dist/collection/components/cpsl-card/cpsl-card.js +19 -0
  91. package/dist/collection/components/cpsl-card/cpsl-card.js.map +1 -0
  92. package/dist/collection/components/cpsl-card/test/cpsl-card.e2e.js +29 -0
  93. package/dist/collection/components/cpsl-card/test/cpsl-card.e2e.js.map +1 -0
  94. package/dist/collection/components/cpsl-card/test/cpsl-card.spec.js +37 -0
  95. package/dist/collection/components/cpsl-card/test/cpsl-card.spec.js.map +1 -0
  96. package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.css +110 -0
  97. package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.js +64 -0
  98. package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.js.map +1 -0
  99. package/dist/collection/components/cpsl-checkbox/test/cpsl-checkbox.e2e.js +29 -0
  100. package/dist/collection/components/cpsl-checkbox/test/cpsl-checkbox.e2e.js.map +1 -0
  101. package/dist/collection/components/cpsl-checkbox/test/cpsl-checkbox.spec.js +37 -0
  102. package/dist/collection/components/cpsl-checkbox/test/cpsl-checkbox.spec.js.map +1 -0
  103. package/dist/collection/components/cpsl-code-input/cpsl-code-input.css +1 -1
  104. package/dist/collection/components/cpsl-code-input/cpsl-code-input.js +2 -2
  105. package/dist/collection/components/cpsl-code-input/cpsl-code-input.js.map +1 -1
  106. package/dist/collection/components/cpsl-col/cpsl-col.js +1 -1
  107. package/dist/collection/components/cpsl-divider/cpsl-divider.css +1 -1
  108. package/dist/collection/components/cpsl-divider/cpsl-divider.js +1 -1
  109. package/dist/collection/components/cpsl-drawer/cpsl-drawer.css +90 -0
  110. package/dist/collection/components/cpsl-drawer/cpsl-drawer.js +222 -0
  111. package/dist/collection/components/cpsl-drawer/cpsl-drawer.js.map +1 -0
  112. package/dist/collection/components/cpsl-drawer/test/cpsl-drawer.e2e.js +29 -0
  113. package/dist/collection/components/cpsl-drawer/test/cpsl-drawer.e2e.js.map +1 -0
  114. package/dist/collection/components/cpsl-drawer/test/cpsl-drawer.spec.js +37 -0
  115. package/dist/collection/components/cpsl-drawer/test/cpsl-drawer.spec.js.map +1 -0
  116. package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js +1 -1
  117. package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js.map +1 -1
  118. package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.css +210 -0
  119. package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js +406 -0
  120. package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js.map +1 -0
  121. package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.e2e.js +29 -0
  122. package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.e2e.js.map +1 -0
  123. package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.spec.js +37 -0
  124. package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.spec.js.map +1 -0
  125. package/dist/collection/components/cpsl-grid/cpsl-grid.js +2 -2
  126. package/dist/collection/components/cpsl-icon/cpsl-icon.js +2 -2
  127. package/dist/collection/components/cpsl-info-box/cpsl-info-box.css +1 -1
  128. package/dist/collection/components/cpsl-info-box/cpsl-info-box.js +1 -1
  129. package/dist/collection/components/cpsl-input/cpsl-input.css +39 -22
  130. package/dist/collection/components/cpsl-input/cpsl-input.js +47 -11
  131. package/dist/collection/components/cpsl-input/cpsl-input.js.map +1 -1
  132. package/dist/collection/components/cpsl-modal/cpsl-modal.css +16 -6
  133. package/dist/collection/components/cpsl-modal/cpsl-modal.js +21 -2
  134. package/dist/collection/components/cpsl-modal/cpsl-modal.js.map +1 -1
  135. package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.css +91 -0
  136. package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js +224 -0
  137. package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js.map +1 -0
  138. package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.e2e.js +29 -0
  139. package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.e2e.js.map +1 -0
  140. package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.spec.js +37 -0
  141. package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.spec.js.map +1 -0
  142. package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.css +50 -0
  143. package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js +78 -0
  144. package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js.map +1 -0
  145. package/dist/collection/components/cpsl-nav-button-group/test/cpsl-nav-button-group.e2e.js +29 -0
  146. package/dist/collection/components/cpsl-nav-button-group/test/cpsl-nav-button-group.e2e.js.map +1 -0
  147. package/dist/collection/components/cpsl-nav-button-group/test/cpsl-nav-button-group.spec.js +37 -0
  148. package/dist/collection/components/cpsl-nav-button-group/test/cpsl-nav-button-group.spec.js.map +1 -0
  149. package/dist/collection/components/cpsl-overlay/cpsl-overlay.css +62 -4
  150. package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +35 -17
  151. package/dist/collection/components/cpsl-overlay/cpsl-overlay.js.map +1 -1
  152. package/dist/collection/components/cpsl-pagination/cpsl-pagination.css +67 -0
  153. package/dist/collection/components/cpsl-pagination/cpsl-pagination.js +174 -0
  154. package/dist/collection/components/cpsl-pagination/cpsl-pagination.js.map +1 -0
  155. package/dist/collection/components/cpsl-pagination/test/cpsl-pagination.e2e.js +29 -0
  156. package/dist/collection/components/cpsl-pagination/test/cpsl-pagination.e2e.js.map +1 -0
  157. package/dist/collection/components/cpsl-pagination/test/cpsl-pagination.spec.js +37 -0
  158. package/dist/collection/components/cpsl-pagination/test/cpsl-pagination.spec.js.map +1 -0
  159. package/dist/collection/components/cpsl-pill/cpsl-pill.css +1 -1
  160. package/dist/collection/components/cpsl-pill/cpsl-pill.js +1 -1
  161. package/dist/collection/components/cpsl-popover/cpsl-popover.css +98 -0
  162. package/dist/collection/components/cpsl-popover/cpsl-popover.js +470 -0
  163. package/dist/collection/components/cpsl-popover/cpsl-popover.js.map +1 -0
  164. package/dist/collection/components/cpsl-popover/test/cpsl-popover.e2e.js +29 -0
  165. package/dist/collection/components/cpsl-popover/test/cpsl-popover.e2e.js.map +1 -0
  166. package/dist/collection/components/cpsl-popover/test/cpsl-popover.spec.js +37 -0
  167. package/dist/collection/components/cpsl-popover/test/cpsl-popover.spec.js.map +1 -0
  168. package/dist/collection/components/cpsl-progress-indicator/cpsl-progress-indicator.css +3 -3
  169. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.css +1 -1
  170. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +1 -1
  171. package/dist/collection/components/cpsl-radio/cpsl-radio.css +97 -0
  172. package/dist/collection/components/cpsl-radio/cpsl-radio.js +66 -0
  173. package/dist/collection/components/cpsl-radio/cpsl-radio.js.map +1 -0
  174. package/dist/collection/components/cpsl-radio/test/cpsl-radio.e2e.js +29 -0
  175. package/dist/collection/components/cpsl-radio/test/cpsl-radio.e2e.js.map +1 -0
  176. package/dist/collection/components/cpsl-radio/test/cpsl-radio.spec.js +37 -0
  177. package/dist/collection/components/cpsl-radio/test/cpsl-radio.spec.js.map +1 -0
  178. package/dist/collection/components/cpsl-row/cpsl-row.js +1 -1
  179. package/dist/collection/components/cpsl-select/cpsl-select.css +227 -0
  180. package/dist/collection/components/cpsl-select/cpsl-select.js +393 -0
  181. package/dist/collection/components/cpsl-select/cpsl-select.js.map +1 -0
  182. package/dist/collection/components/cpsl-select/test/cpsl-select.e2e.js +29 -0
  183. package/dist/collection/components/cpsl-select/test/cpsl-select.e2e.js.map +1 -0
  184. package/dist/collection/components/cpsl-select/test/cpsl-select.spec.js +37 -0
  185. package/dist/collection/components/cpsl-select/test/cpsl-select.spec.js.map +1 -0
  186. package/dist/collection/components/cpsl-select-item/cpsl-select-item.css +104 -0
  187. package/dist/collection/components/cpsl-select-item/cpsl-select-item.js +85 -0
  188. package/dist/collection/components/cpsl-select-item/cpsl-select-item.js.map +1 -0
  189. package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.e2e.js +29 -0
  190. package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.e2e.js.map +1 -0
  191. package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.spec.js +37 -0
  192. package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.spec.js.map +1 -0
  193. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.css +3 -3
  194. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +3 -3
  195. package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +2 -2
  196. package/dist/collection/components/cpsl-switch/cpsl-switch.css +115 -0
  197. package/dist/collection/components/cpsl-switch/cpsl-switch.js +64 -0
  198. package/dist/collection/components/cpsl-switch/cpsl-switch.js.map +1 -0
  199. package/dist/collection/components/cpsl-switch/test/cpsl-switch.e2e.js +29 -0
  200. package/dist/collection/components/cpsl-switch/test/cpsl-switch.e2e.js.map +1 -0
  201. package/dist/collection/components/cpsl-switch/test/cpsl-switch.spec.js +37 -0
  202. package/dist/collection/components/cpsl-switch/test/cpsl-switch.spec.js.map +1 -0
  203. package/dist/collection/components/cpsl-tab/cpsl-tab.js +1 -1
  204. package/dist/collection/components/cpsl-table/cpsl-table.css +140 -0
  205. package/dist/collection/components/cpsl-table/cpsl-table.js +26 -0
  206. package/dist/collection/components/cpsl-table/cpsl-table.js.map +1 -0
  207. package/dist/collection/components/cpsl-table/test/cpsl-table.e2e.js +29 -0
  208. package/dist/collection/components/cpsl-table/test/cpsl-table.e2e.js.map +1 -0
  209. package/dist/collection/components/cpsl-table/test/cpsl-table.spec.js +37 -0
  210. package/dist/collection/components/cpsl-table/test/cpsl-table.spec.js.map +1 -0
  211. package/dist/collection/components/cpsl-tabs/cpsl-tabs.css +2 -2
  212. package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +1 -1
  213. package/dist/collection/components/cpsl-text/cpsl-text.css +4 -0
  214. package/dist/collection/components/cpsl-text/cpsl-text.js +5 -4
  215. package/dist/collection/components/cpsl-text/cpsl-text.js.map +1 -1
  216. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.css +1 -1
  217. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +2 -2
  218. package/dist/collection/constants.js +14 -0
  219. package/dist/collection/constants.js.map +1 -1
  220. package/dist/collection/index.js.map +1 -1
  221. package/dist/collection/interface.js.map +1 -1
  222. package/dist/collection/utils/theme/generateBorderRadii.js +28 -7
  223. package/dist/collection/utils/theme/generateBorderRadii.js.map +1 -1
  224. package/dist/collection/utils/theme/generatePalette.js +30 -18
  225. package/dist/collection/utils/theme/generatePalette.js.map +1 -1
  226. package/dist/collection/utils/theme/utils.js +8 -0
  227. package/dist/collection/utils/theme/utils.js.map +1 -1
  228. package/dist/esm/capsule.js +11 -11
  229. package/dist/esm/capsule.js.map +1 -1
  230. package/dist/esm/constants-fce138fa.js +23 -0
  231. package/dist/esm/constants-fce138fa.js.map +1 -0
  232. package/dist/esm/{cpsl-alert_18.entry.js → cpsl-alert_33.entry.js} +1122 -233
  233. package/dist/esm/cpsl-alert_33.entry.js.map +1 -0
  234. package/dist/esm/cpsl-animation.entry.js +1 -1
  235. package/dist/esm/cpsl-col.entry.js +2 -2
  236. package/dist/esm/cpsl-grid.entry.js +3 -3
  237. package/dist/esm/cpsl-info-box.entry.js +3 -3
  238. package/dist/esm/cpsl-info-box.entry.js.map +1 -1
  239. package/dist/esm/cpsl-modal-v2.entry.js +51 -0
  240. package/dist/esm/cpsl-modal-v2.entry.js.map +1 -0
  241. package/dist/esm/cpsl-row.entry.js +2 -2
  242. package/dist/esm/index-97ed6ec1.js +1383 -0
  243. package/dist/esm/index-97ed6ec1.js.map +1 -0
  244. package/dist/esm/index.js +65 -24
  245. package/dist/esm/index.js.map +1 -1
  246. package/dist/esm/loader.js +3 -3
  247. package/dist/loader/cdn.js +1 -3
  248. package/dist/loader/index.cjs.js +1 -3
  249. package/dist/loader/index.es2017.js +1 -3
  250. package/dist/loader/index.js +1 -3
  251. package/dist/types/assets/icons/index.d.ts +12 -2
  252. package/dist/types/components/cpsl-alert/cpsl-alert.d.ts +2 -2
  253. package/dist/types/components/cpsl-app-bar/cpsl-app-bar.d.ts +6 -0
  254. package/dist/types/components/cpsl-avatar/cpsl-avatar.d.ts +6 -0
  255. package/dist/types/components/cpsl-button/cpsl-button.d.ts +6 -1
  256. package/dist/types/components/cpsl-button-group/cpsl-button-group.d.ts +9 -0
  257. package/dist/types/components/cpsl-card/cpsl-card.d.ts +3 -0
  258. package/dist/types/components/cpsl-checkbox/cpsl-checkbox.d.ts +7 -0
  259. package/dist/types/components/cpsl-drawer/cpsl-drawer.d.ts +18 -0
  260. package/dist/types/components/cpsl-file-upload/cpsl-file-upload.d.ts +34 -0
  261. package/dist/types/components/cpsl-input/cpsl-input.d.ts +5 -1
  262. package/dist/types/components/cpsl-modal/cpsl-modal.d.ts +1 -0
  263. package/dist/types/components/cpsl-modal-v2/cpsl-modal-v2.d.ts +17 -0
  264. package/dist/types/components/cpsl-nav-button-group/cpsl-nav-button-group.d.ts +9 -0
  265. package/dist/types/components/cpsl-overlay/cpsl-overlay.d.ts +2 -1
  266. package/dist/types/components/cpsl-pagination/cpsl-pagination.d.ts +14 -0
  267. package/dist/types/components/cpsl-popover/cpsl-popover.d.ts +33 -0
  268. package/dist/types/components/cpsl-radio/cpsl-radio.d.ts +7 -0
  269. package/dist/types/components/cpsl-select/cpsl-select.d.ts +35 -0
  270. package/dist/types/components/cpsl-select-item/cpsl-select-item.d.ts +8 -0
  271. package/dist/types/components/cpsl-switch/cpsl-switch.d.ts +7 -0
  272. package/dist/types/components/cpsl-table/cpsl-table.d.ts +6 -0
  273. package/dist/types/components/cpsl-text/cpsl-text.d.ts +1 -1
  274. package/dist/types/components.d.ts +993 -12
  275. package/dist/types/constants.d.ts +14 -0
  276. package/dist/types/index.d.ts +1 -1
  277. package/dist/types/interface.d.ts +79 -0
  278. package/dist/types/stencil-public-runtime.d.ts +3 -8
  279. package/dist/types/utils/theme/utils.d.ts +1 -0
  280. package/package.json +3 -3
  281. package/dist/capsule/p-6b02ea8d.entry.js +0 -2
  282. package/dist/capsule/p-92b0d902.entry.js +0 -29
  283. package/dist/capsule/p-92b0d902.entry.js.map +0 -1
  284. package/dist/capsule/p-b2997f3c.js +0 -3
  285. package/dist/capsule/p-b2997f3c.js.map +0 -1
  286. package/dist/capsule/p-c2bf050b.js +0 -2
  287. package/dist/capsule/p-c2bf050b.js.map +0 -1
  288. package/dist/capsule/p-fa4e3c14.entry.js +0 -2
  289. package/dist/cjs/constants-4bb85cc5.js +0 -12
  290. package/dist/cjs/constants-4bb85cc5.js.map +0 -1
  291. package/dist/cjs/cpsl-alert_18.cjs.entry.js.map +0 -1
  292. package/dist/cjs/index-87ba56f9.js +0 -2017
  293. package/dist/cjs/index-87ba56f9.js.map +0 -1
  294. package/dist/collection/assets/icons/farcaster-brand.svg +0 -10
  295. package/dist/collection/assets/icons/farcaster.svg +0 -10
  296. package/dist/esm/constants-7b49abd5.js +0 -9
  297. package/dist/esm/constants-7b49abd5.js.map +0 -1
  298. package/dist/esm/cpsl-alert_18.entry.js.map +0 -1
  299. package/dist/esm/index-fd970ca2.js +0 -1987
  300. package/dist/esm/index-fd970ca2.js.map +0 -1
  301. package/dist/esm/polyfills/core-js.js +0 -11
  302. package/dist/esm/polyfills/dom.js +0 -79
  303. package/dist/esm/polyfills/es5-html-element.js +0 -1
  304. package/dist/esm/polyfills/index.js +0 -34
  305. package/dist/esm/polyfills/system.js +0 -6
  306. /package/dist/types/Users/{vinay → taylorbosch}/Documents/GitHub/Capsule/component-library/core/.stencil/scripts/buildIconLibrary.d.ts +0 -0
@@ -1 +1 @@
1
- {"file":"capsule.cjs.js","mappings":";;;;;;;AAAA;AACA;AACA;AAGA,MAAM,YAAY,GAAG,MAAM;AAa3B,IAAI,MAAM,UAAU,GAAG,yMAAe,CAAC;AACvC,IAAI,MAAM,IAAI,GAAiE,EAAE,CAAC;AAClF,IAAI,IAAI,UAAU,KAAK,EAAE,EAAE;AAC3B,QAAQ,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AAC1D,KAAK;AACL,IAAI,OAAOA,oBAAc,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC;;ACpBD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,OAAO,KAAK;AACvC,EAAE,MAAMC,wBAAa,EAAE,CAAC;AACxB,EAAE,OAAOC,mBAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC;;;;","names":["promiseResolve","globalScripts","bootstrapLazy"],"sources":["../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.12.5 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}
1
+ {"file":"capsule.cjs.js","mappings":";;;;;;;AAAA;AACA;AACA;AAKA,IAAI,YAAY,GAAG,MAAM;AAUzB,EAAE,MAAM,UAAU,GAAG,yMAAe,CAAC;AACrC,EAAE,MAAM,IAAI,GAAiE,EAAE,CAAC;AAChF,EAAE,IAAI,UAAU,KAAK,EAAE,EAAE;AACzB,IAAI,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AACtD,GAAG;AACH,EAAE,OAAOA,oBAAc,CAAC,IAAI,CAAC,CAAC;AAC9B,CAAC;;ACnBD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,OAAO,KAAK;AACvC,EAAE,MAAMC,wBAAa,EAAE,CAAC;AACxB,EAAE,OAAOC,mBAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC;;;;","names":["promiseResolve","globalScripts","bootstrapLazy"],"sources":["../../developer-portal/node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.18.3 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, doc, H, promiseResolve } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? Array.from(doc.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}
@@ -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
+ drawer: 10004,
19
+ modal: 10005,
20
+ popover: 10006,
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-9b1b01bb.js.map
@@ -0,0 +1 @@
1
+ {"file":"constants-9b1b01bb.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,MAAM,EAAE,KAAK;IACb,KAAK,EAAE,KAAK;IACZ,OAAO,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 drawer: 10004,\n modal: 10005,\n popover: 10006,\n};\n"],"version":3}