@usecapsule/core-components 1.0.13 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) hide show
  1. package/css/capsule-core.css +74 -41
  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-0462f723.js +2 -0
  8. package/dist/capsule/p-0462f723.js.map +1 -0
  9. package/dist/capsule/p-654cb899.entry.js +29 -0
  10. package/dist/capsule/p-654cb899.entry.js.map +1 -0
  11. package/dist/capsule/p-68c73705.entry.js +2 -0
  12. package/dist/capsule/{p-1dc07cd7.entry.js.map → p-68c73705.entry.js.map} +1 -1
  13. package/dist/capsule/p-6fb7c4d1.js +3 -0
  14. package/dist/capsule/p-6fb7c4d1.js.map +1 -0
  15. package/dist/capsule/{p-11048392.entry.js → p-91412151.entry.js} +2 -2
  16. package/dist/capsule/{p-62e7869a.entry.js → p-a95ec4df.entry.js} +2 -2
  17. package/dist/capsule/p-c2bf050b.js +2 -0
  18. package/dist/capsule/p-c2bf050b.js.map +1 -0
  19. package/dist/capsule/p-d7be092d.entry.js +10 -0
  20. package/dist/capsule/p-d7be092d.entry.js.map +1 -0
  21. package/dist/capsule/p-f604b591.entry.js +2 -0
  22. package/dist/cjs/_commonjsHelpers-b3309d7b.js +12 -0
  23. package/dist/cjs/_commonjsHelpers-b3309d7b.js.map +1 -0
  24. package/dist/cjs/capsule.cjs.js +2 -2
  25. package/dist/cjs/constants-4bb85cc5.js +12 -0
  26. package/dist/cjs/constants-4bb85cc5.js.map +1 -0
  27. package/dist/cjs/cpsl-alert_17.cjs.entry.js +3755 -554
  28. package/dist/cjs/cpsl-alert_17.cjs.entry.js.map +1 -1
  29. package/dist/cjs/cpsl-animation.cjs.entry.js +20129 -0
  30. package/dist/cjs/cpsl-animation.cjs.entry.js.map +1 -0
  31. package/dist/cjs/cpsl-col.cjs.entry.js +2 -2
  32. package/dist/cjs/cpsl-grid.cjs.entry.js +3 -3
  33. package/dist/cjs/cpsl-info-box.cjs.entry.js +3 -3
  34. package/dist/cjs/cpsl-info-box.cjs.entry.js.map +1 -1
  35. package/dist/cjs/cpsl-row.cjs.entry.js +2 -2
  36. package/dist/cjs/{index-2a026742.js → index-3fccb5b4.js} +22 -1
  37. package/dist/cjs/index-3fccb5b4.js.map +1 -0
  38. package/dist/cjs/index.cjs.js +338 -0
  39. package/dist/cjs/index.cjs.js.map +1 -1
  40. package/dist/cjs/loader.cjs.js +2 -2
  41. package/dist/collection/assets/icons/capsule-rings-dark.svg +34 -0
  42. package/dist/collection/assets/icons/capsule.svg +4 -4
  43. package/dist/collection/assets/icons/hero-email.svg +8 -30
  44. package/dist/collection/assets/icons/hero-lock.svg +4 -34
  45. package/dist/collection/assets/icons/hero-passkey.svg +9 -17
  46. package/dist/collection/assets/icons/hero-phone.svg +4 -15
  47. package/dist/collection/assets/icons/hero-wallet.svg +5 -44
  48. package/dist/collection/assets/icons/index.js +4 -2
  49. package/dist/collection/assets/icons/index.js.map +1 -1
  50. package/dist/collection/assets/icons/more-login-options.svg +10 -10
  51. package/dist/collection/assets/icons/plus-circle.svg +5 -0
  52. package/dist/collection/assets/icons/wallet.svg +5 -0
  53. package/dist/collection/collection-manifest.json +1 -0
  54. package/dist/collection/components/cpsl-alert/cpsl-alert.js +1 -1
  55. package/dist/collection/components/cpsl-animation/cpsl-animation.css +17 -0
  56. package/dist/collection/components/cpsl-animation/cpsl-animation.js +102 -0
  57. package/dist/collection/components/cpsl-animation/cpsl-animation.js.map +1 -0
  58. package/dist/collection/components/cpsl-animation/test/cpsl-animation.e2e.js +29 -0
  59. package/dist/collection/components/cpsl-animation/test/cpsl-animation.e2e.js.map +1 -0
  60. package/dist/collection/components/cpsl-animation/test/cpsl-animation.spec.js +37 -0
  61. package/dist/collection/components/cpsl-animation/test/cpsl-animation.spec.js.map +1 -0
  62. package/dist/collection/components/cpsl-button/cpsl-button.css +3 -0
  63. package/dist/collection/components/cpsl-button/cpsl-button.js +2 -2
  64. package/dist/collection/components/cpsl-button/cpsl-button.js.map +1 -1
  65. package/dist/collection/components/cpsl-code-input/cpsl-code-input.js +1 -1
  66. package/dist/collection/components/cpsl-col/cpsl-col.js +1 -1
  67. package/dist/collection/components/cpsl-divider/cpsl-divider.js +1 -1
  68. package/dist/collection/components/cpsl-grid/cpsl-grid.js +2 -2
  69. package/dist/collection/components/cpsl-icon/cpsl-icon.css +14 -0
  70. package/dist/collection/components/cpsl-icon/cpsl-icon.js +2 -3
  71. package/dist/collection/components/cpsl-icon/cpsl-icon.js.map +1 -1
  72. package/dist/collection/components/cpsl-info-box/cpsl-info-box.css +1 -1
  73. package/dist/collection/components/cpsl-info-box/cpsl-info-box.js +1 -1
  74. package/dist/collection/components/cpsl-input/cpsl-input.css +9 -4
  75. package/dist/collection/components/cpsl-input/cpsl-input.js +8 -6
  76. package/dist/collection/components/cpsl-input/cpsl-input.js.map +1 -1
  77. package/dist/collection/components/cpsl-modal/cpsl-modal.css +46 -4
  78. package/dist/collection/components/cpsl-modal/cpsl-modal.js +347 -23
  79. package/dist/collection/components/cpsl-modal/cpsl-modal.js.map +1 -1
  80. package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +30 -13
  81. package/dist/collection/components/cpsl-overlay/cpsl-overlay.js.map +1 -1
  82. package/dist/collection/components/cpsl-pill/cpsl-pill.css +3 -3
  83. package/dist/collection/components/cpsl-pill/cpsl-pill.js +1 -1
  84. package/dist/collection/components/cpsl-progress-indicator/cpsl-progress-indicator.css +3 -3
  85. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.css +3 -3
  86. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +1 -1
  87. package/dist/collection/components/cpsl-row/cpsl-row.js +1 -1
  88. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.css +11 -9
  89. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +3 -3
  90. package/dist/collection/components/cpsl-spinner/cpsl-spinner.css +2 -2
  91. package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +2 -2
  92. package/dist/collection/components/cpsl-tab/cpsl-tab.js +1 -1
  93. package/dist/collection/components/cpsl-tabs/cpsl-tabs.css +17 -16
  94. package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +2 -2
  95. package/dist/collection/components/cpsl-tabs/cpsl-tabs.js.map +1 -1
  96. package/dist/collection/components/cpsl-text/cpsl-text.js +1 -1
  97. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.css +3 -0
  98. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +2 -2
  99. package/dist/collection/constants.js +6 -0
  100. package/dist/collection/constants.js.map +1 -0
  101. package/dist/collection/index.js +1 -0
  102. package/dist/collection/index.js.map +1 -1
  103. package/dist/collection/interface.js.map +1 -1
  104. package/dist/collection/utils/theme/generateBorderRadii.js +56 -0
  105. package/dist/collection/utils/theme/generateBorderRadii.js.map +1 -0
  106. package/dist/collection/utils/theme/generateFont.js +7 -0
  107. package/dist/collection/utils/theme/generateFont.js.map +1 -0
  108. package/dist/collection/utils/theme/generatePalette.js +46 -0
  109. package/dist/collection/utils/theme/generatePalette.js.map +1 -0
  110. package/dist/collection/utils/theme/generateTheme.js +12 -0
  111. package/dist/collection/utils/theme/generateTheme.js.map +1 -0
  112. package/dist/collection/utils/theme/utils.js +21 -0
  113. package/dist/collection/utils/theme/utils.js.map +1 -0
  114. package/dist/esm/_commonjsHelpers-1789f0cf.js +9 -0
  115. package/dist/esm/_commonjsHelpers-1789f0cf.js.map +1 -0
  116. package/dist/esm/capsule.js +3 -3
  117. package/dist/esm/constants-7b49abd5.js +9 -0
  118. package/dist/esm/constants-7b49abd5.js.map +1 -0
  119. package/dist/esm/cpsl-alert_17.entry.js +3754 -553
  120. package/dist/esm/cpsl-alert_17.entry.js.map +1 -1
  121. package/dist/esm/cpsl-animation.entry.js +20125 -0
  122. package/dist/esm/cpsl-animation.entry.js.map +1 -0
  123. package/dist/esm/cpsl-col.entry.js +2 -2
  124. package/dist/esm/cpsl-grid.entry.js +3 -3
  125. package/dist/esm/cpsl-info-box.entry.js +3 -3
  126. package/dist/esm/cpsl-info-box.entry.js.map +1 -1
  127. package/dist/esm/cpsl-row.entry.js +2 -2
  128. package/dist/esm/{index-7c2f5cb9.js → index-f00e090c.js} +22 -1
  129. package/dist/esm/index-f00e090c.js.map +1 -0
  130. package/dist/esm/index.js +335 -0
  131. package/dist/esm/index.js.map +1 -1
  132. package/dist/esm/loader.js +3 -3
  133. package/dist/types/assets/icons/index.d.ts +3 -1
  134. package/dist/types/components/cpsl-animation/cpsl-animation.d.ts +9 -0
  135. package/dist/types/components/cpsl-modal/cpsl-modal.d.ts +28 -5
  136. package/dist/types/components/cpsl-overlay/cpsl-overlay.d.ts +2 -2
  137. package/dist/types/components.d.ts +117 -13
  138. package/dist/types/constants.d.ts +3 -0
  139. package/dist/types/index.d.ts +2 -0
  140. package/dist/types/interface.d.ts +122 -0
  141. package/dist/types/utils/theme/generateBorderRadii.d.ts +2 -0
  142. package/dist/types/utils/theme/generateFont.d.ts +2 -0
  143. package/dist/types/utils/theme/generatePalette.d.ts +7 -0
  144. package/dist/types/utils/theme/generateTheme.d.ts +3 -0
  145. package/dist/types/utils/theme/utils.d.ts +5 -0
  146. package/package.json +5 -2
  147. package/dist/capsule/p-0e2fbb7f.entry.js +0 -20
  148. package/dist/capsule/p-0e2fbb7f.entry.js.map +0 -1
  149. package/dist/capsule/p-1dc07cd7.entry.js +0 -2
  150. package/dist/capsule/p-5c020abe.entry.js +0 -2
  151. package/dist/capsule/p-9647dd63.js +0 -3
  152. package/dist/capsule/p-9647dd63.js.map +0 -1
  153. package/dist/cjs/index-2a026742.js.map +0 -1
  154. package/dist/collection/assets/icons/more-login-options-dark.svg +0 -13
  155. package/dist/esm/index-7c2f5cb9.js.map +0 -1
  156. /package/dist/capsule/{p-11048392.entry.js.map → p-91412151.entry.js.map} +0 -0
  157. /package/dist/capsule/{p-62e7869a.entry.js.map → p-a95ec4df.entry.js.map} +0 -0
  158. /package/dist/capsule/{p-5c020abe.entry.js.map → p-f604b591.entry.js.map} +0 -0
@@ -1,13 +0,0 @@
1
- <svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g id="Group 4">
3
- <path id="Vector" d="M2.1 16C2.98366 16 3.7 15.2836 3.7 14.4C3.7 13.5163 2.98366 12.8 2.1 12.8C1.21634 12.8 0.5 13.5163 0.5 14.4C0.5 15.2836 1.21634 16 2.1 16Z" fill="#808080"/>
4
- <path id="Vector_2" d="M2.1 9.60002C2.98366 9.60002 3.7 8.88368 3.7 8.00002C3.7 7.11637 2.98366 6.40002 2.1 6.40002C1.21634 6.40002 0.5 7.11637 0.5 8.00002C0.5 8.88368 1.21634 9.60002 2.1 9.60002Z" fill="#808080"/>
5
- <path id="Vector_3" d="M2.1 3.2C2.98366 3.2 3.7 2.48366 3.7 1.6C3.7 0.716344 2.98366 0 2.1 0C1.21634 0 0.5 0.716344 0.5 1.6C0.5 2.48366 1.21634 3.2 2.1 3.2Z" fill="#808080"/>
6
- <path id="Vector_4" d="M8.4999 16C9.38356 16 10.0999 15.2836 10.0999 14.4C10.0999 13.5163 9.38356 12.8 8.4999 12.8C7.61625 12.8 6.8999 13.5163 6.8999 14.4C6.8999 15.2836 7.61625 16 8.4999 16Z" fill="#808080"/>
7
- <path id="Vector_5" d="M8.4999 9.60002C9.38356 9.60002 10.0999 8.88368 10.0999 8.00002C10.0999 7.11637 9.38356 6.40002 8.4999 6.40002C7.61625 6.40002 6.8999 7.11637 6.8999 8.00002C6.8999 8.88368 7.61625 9.60002 8.4999 9.60002Z" fill="#808080"/>
8
- <path id="Vector_6" d="M8.4999 3.2C9.38356 3.2 10.0999 2.48366 10.0999 1.6C10.0999 0.716344 9.38356 0 8.4999 0C7.61625 0 6.8999 0.716344 6.8999 1.6C6.8999 2.48366 7.61625 3.2 8.4999 3.2Z" fill="#808080"/>
9
- <path id="Vector_7" d="M14.9 16C15.7837 16 16.5 15.2836 16.5 14.4C16.5 13.5163 15.7837 12.8 14.9 12.8C14.0164 12.8 13.3 13.5163 13.3 14.4C13.3 15.2836 14.0164 16 14.9 16Z" fill="#808080"/>
10
- <path id="Vector_8" d="M14.9 9.60002C15.7837 9.60002 16.5 8.88368 16.5 8.00002C16.5 7.11637 15.7837 6.40002 14.9 6.40002C14.0164 6.40002 13.3 7.11637 13.3 8.00002C13.3 8.88368 14.0164 9.60002 14.9 9.60002Z" fill="#808080"/>
11
- <path id="Vector_9" d="M14.9 3.2C15.7837 3.2 16.5 2.48366 16.5 1.6C16.5 0.716344 15.7837 0 14.9 0C14.0164 0 13.3 0.716344 13.3 1.6C13.3 2.48366 14.0164 3.2 14.9 3.2Z" fill="#808080"/>
12
- </g>
13
- </svg>