@usecapsule/core-components 3.2.0 → 3.3.0-dev.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (201) hide show
  1. package/css/capsule-core.css +25 -10
  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-0e558c7f.entry.js +10 -0
  8. package/dist/capsule/{p-05cb769b.entry.js.map → p-0e558c7f.entry.js.map} +1 -1
  9. package/dist/capsule/{p-dc4591d5.entry.js → p-1bd11889.entry.js} +2 -2
  10. package/dist/capsule/p-1bd11889.entry.js.map +1 -0
  11. package/dist/capsule/p-32cdf894.entry.js +2 -0
  12. package/dist/capsule/p-32cdf894.entry.js.map +1 -0
  13. package/dist/capsule/p-3b042fd1.entry.js +2 -0
  14. package/dist/capsule/p-5965b15e.entry.js +2 -0
  15. package/dist/capsule/{p-c1aa1ffb.entry.js.map → p-5965b15e.entry.js.map} +1 -1
  16. package/dist/capsule/{p-742bda0b.entry.js → p-5d62e610.entry.js} +2 -2
  17. package/dist/capsule/p-60508b1e.entry.js +20 -0
  18. package/dist/capsule/p-60508b1e.entry.js.map +1 -0
  19. package/dist/cjs/capsule.cjs.js +1 -1
  20. package/dist/cjs/{cpsl-alert_33.cjs.entry.js → cpsl-alert_34.cjs.entry.js} +17025 -13458
  21. package/dist/cjs/cpsl-alert_34.cjs.entry.js.map +1 -0
  22. package/dist/cjs/cpsl-animation.cjs.entry.js +3 -2
  23. package/dist/cjs/cpsl-animation.cjs.entry.js.map +1 -1
  24. package/dist/cjs/cpsl-hero.cjs.entry.js +9 -6
  25. package/dist/cjs/cpsl-hero.cjs.entry.js.map +1 -1
  26. package/dist/cjs/cpsl-identicon.cjs.entry.js +1 -1
  27. package/dist/cjs/cpsl-info-box.cjs.entry.js +2 -2
  28. package/dist/cjs/cpsl-info-box.cjs.entry.js.map +1 -1
  29. package/dist/cjs/cpsl-modal-v2.cjs.entry.js +1 -1
  30. package/dist/cjs/cpsl-modal-v2.cjs.entry.js.map +1 -1
  31. package/dist/cjs/cpsl-row.cjs.entry.js +1 -1
  32. package/dist/cjs/index-65f57499.js +2 -2
  33. package/dist/cjs/index.cjs.js +40 -17
  34. package/dist/cjs/index.cjs.js.map +1 -1
  35. package/dist/cjs/loader.cjs.js +1 -1
  36. package/dist/collection/assets/icons/arrow-circle-broken-down-left.svg +3 -0
  37. package/dist/collection/assets/icons/bank.svg +3 -0
  38. package/dist/collection/assets/icons/credit-card.svg +3 -0
  39. package/dist/collection/assets/icons/dot.svg +3 -0
  40. package/dist/collection/assets/icons/download.svg +3 -0
  41. package/dist/collection/assets/icons/globe.svg +3 -0
  42. package/dist/collection/assets/icons/hero-alert-circle.svg +3 -0
  43. package/dist/collection/assets/icons/hero-checkmark-capsule.svg +11 -0
  44. package/dist/collection/assets/icons/hero-checkmark.svg +3 -0
  45. package/dist/collection/assets/icons/hero-external-connection.svg +71 -0
  46. package/dist/collection/assets/icons/index.js +21 -1
  47. package/dist/collection/assets/icons/index.js.map +1 -1
  48. package/dist/collection/assets/icons/link-external.svg +3 -0
  49. package/dist/collection/assets/icons/log-out.svg +3 -0
  50. package/dist/collection/assets/icons/moonpay-brand.svg +10 -0
  51. package/dist/collection/assets/icons/puzzle-piece.svg +3 -0
  52. package/dist/collection/assets/icons/qr-code-02.svg +3 -0
  53. package/dist/collection/assets/icons/qr-code.svg +3 -0
  54. package/dist/collection/assets/icons/refresh.svg +3 -3
  55. package/dist/collection/assets/icons/search.svg +3 -0
  56. package/dist/collection/assets/icons/send.svg +3 -0
  57. package/dist/collection/assets/icons/shield.svg +3 -0
  58. package/dist/collection/assets/icons/stripe-brand.svg +3 -0
  59. package/dist/collection/collection-manifest.json +2 -1
  60. package/dist/collection/components/cpsl-alert/cpsl-alert.js +3 -3
  61. package/dist/collection/components/cpsl-alert/cpsl-alert.js.map +1 -1
  62. package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js +3 -3
  63. package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js.map +1 -1
  64. package/dist/collection/components/{cpsl-modal/cpsl-modal.css → cpsl-auth-modal/cpsl-auth-modal.css} +33 -58
  65. package/dist/collection/components/{cpsl-modal/cpsl-modal.js → cpsl-auth-modal/cpsl-auth-modal.js} +13 -131
  66. package/dist/collection/components/cpsl-auth-modal/cpsl-auth-modal.js.map +1 -0
  67. package/dist/collection/components/cpsl-button/cpsl-button.css +89 -2
  68. package/dist/collection/components/cpsl-button/cpsl-button.js +6 -5
  69. package/dist/collection/components/cpsl-button/cpsl-button.js.map +1 -1
  70. package/dist/collection/components/cpsl-button/cpsl-button.stories.js.map +1 -1
  71. package/dist/collection/components/cpsl-button-group/cpsl-button-group.js +2 -2
  72. package/dist/collection/components/cpsl-button-group/cpsl-button-group.js.map +1 -1
  73. package/dist/collection/components/cpsl-card/cpsl-card.css +5 -2
  74. package/dist/collection/components/cpsl-code-input/cpsl-code-input.css +3 -0
  75. package/dist/collection/components/cpsl-code-input/cpsl-code-input.js +11 -7
  76. package/dist/collection/components/cpsl-code-input/cpsl-code-input.js.map +1 -1
  77. package/dist/collection/components/cpsl-divider/cpsl-divider.css +2 -1
  78. package/dist/collection/components/cpsl-drawer/cpsl-drawer.js +2 -2
  79. package/dist/collection/components/cpsl-drawer/cpsl-drawer.js.map +1 -1
  80. package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js +2 -2
  81. package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js.map +1 -1
  82. package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js +5 -10
  83. package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js.map +1 -1
  84. package/dist/collection/components/cpsl-hero/cpsl-hero.css +136 -71
  85. package/dist/collection/components/cpsl-hero/cpsl-hero.js +63 -9
  86. package/dist/collection/components/cpsl-hero/cpsl-hero.js.map +1 -1
  87. package/dist/collection/components/cpsl-icon/cpsl-icon.css +8 -0
  88. package/dist/collection/components/cpsl-icon/cpsl-icon.js +2 -2
  89. package/dist/collection/components/cpsl-icon/cpsl-icon.js.map +1 -1
  90. package/dist/collection/components/cpsl-icon-group/cpsl-icon-group.css +97 -0
  91. package/dist/collection/components/cpsl-icon-group/cpsl-icon-group.js +121 -0
  92. package/dist/collection/components/cpsl-icon-group/cpsl-icon-group.js.map +1 -0
  93. package/dist/collection/components/cpsl-identicon/cpsl-identicon.js +1 -1
  94. package/dist/collection/components/cpsl-info-box/cpsl-info-box.css +1 -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 +21 -2
  97. package/dist/collection/components/cpsl-input/cpsl-input.js +100 -28
  98. package/dist/collection/components/cpsl-input/cpsl-input.js.map +1 -1
  99. package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js +1 -1
  100. package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js.map +1 -1
  101. package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js +2 -2
  102. package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js.map +1 -1
  103. package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +1 -1
  104. package/dist/collection/components/cpsl-overlay/cpsl-overlay.js.map +1 -1
  105. package/dist/collection/components/cpsl-pagination/cpsl-pagination.js +1 -1
  106. package/dist/collection/components/cpsl-pill/cpsl-pill.js +1 -1
  107. package/dist/collection/components/cpsl-popover/cpsl-popover.css +2 -0
  108. package/dist/collection/components/cpsl-popover/cpsl-popover.js +12 -14
  109. package/dist/collection/components/cpsl-popover/cpsl-popover.js.map +1 -1
  110. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.css +12 -3
  111. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +28 -23
  112. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js.map +1 -1
  113. package/dist/collection/components/cpsl-radio/cpsl-radio.js +1 -1
  114. package/dist/collection/components/cpsl-row/cpsl-row.js +1 -1
  115. package/dist/collection/components/cpsl-select/cpsl-select.css +17 -0
  116. package/dist/collection/components/cpsl-select/cpsl-select.js +96 -6
  117. package/dist/collection/components/cpsl-select/cpsl-select.js.map +1 -1
  118. package/dist/collection/components/cpsl-select-item/cpsl-select-item.js +1 -1
  119. package/dist/collection/components/cpsl-select-item/cpsl-select-item.js.map +1 -1
  120. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +3 -3
  121. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js.map +1 -1
  122. package/dist/collection/components/cpsl-spinner/cpsl-spinner.css +30 -8
  123. package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +5 -7
  124. package/dist/collection/components/cpsl-spinner/cpsl-spinner.js.map +1 -1
  125. package/dist/collection/components/cpsl-switch/cpsl-switch.js +1 -1
  126. package/dist/collection/components/cpsl-tab/cpsl-tab.css +24 -1
  127. package/dist/collection/components/cpsl-tab/cpsl-tab.js +1 -1
  128. package/dist/collection/components/cpsl-tab/cpsl-tab.js.map +1 -1
  129. package/dist/collection/components/cpsl-table/cpsl-table.js +1 -9
  130. package/dist/collection/components/cpsl-table/cpsl-table.js.map +1 -1
  131. package/dist/collection/components/cpsl-tabs/cpsl-tabs.css +1 -4
  132. package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +2 -5
  133. package/dist/collection/components/cpsl-tabs/cpsl-tabs.js.map +1 -1
  134. package/dist/collection/components/cpsl-text/cpsl-text.css +19 -0
  135. package/dist/collection/components/cpsl-text/cpsl-text.js +5 -4
  136. package/dist/collection/components/cpsl-text/cpsl-text.js.map +1 -1
  137. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.css +3 -1
  138. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +2 -2
  139. package/dist/collection/interface.js.map +1 -1
  140. package/dist/collection/utils/theme/generateBorderRadii.js +5 -4
  141. package/dist/collection/utils/theme/generateBorderRadii.js.map +1 -1
  142. package/dist/collection/utils/theme/generateFont.js +1 -1
  143. package/dist/collection/utils/theme/generateFont.js.map +1 -1
  144. package/dist/collection/utils/theme/generatePalette.js +25 -9
  145. package/dist/collection/utils/theme/generatePalette.js.map +1 -1
  146. package/dist/collection/utils/theme/generateTheme.js +9 -3
  147. package/dist/collection/utils/theme/generateTheme.js.map +1 -1
  148. package/dist/collection/utils/theme/utils.js.map +1 -1
  149. package/dist/esm/capsule.js +1 -1
  150. package/dist/esm/{cpsl-alert_33.entry.js → cpsl-alert_34.entry.js} +17026 -13460
  151. package/dist/esm/cpsl-alert_34.entry.js.map +1 -0
  152. package/dist/esm/cpsl-animation.entry.js +2 -1
  153. package/dist/esm/cpsl-animation.entry.js.map +1 -1
  154. package/dist/esm/cpsl-hero.entry.js +10 -7
  155. package/dist/esm/cpsl-hero.entry.js.map +1 -1
  156. package/dist/esm/cpsl-identicon.entry.js +1 -1
  157. package/dist/esm/cpsl-info-box.entry.js +2 -2
  158. package/dist/esm/cpsl-info-box.entry.js.map +1 -1
  159. package/dist/esm/cpsl-modal-v2.entry.js +1 -1
  160. package/dist/esm/cpsl-modal-v2.entry.js.map +1 -1
  161. package/dist/esm/cpsl-row.entry.js +1 -1
  162. package/dist/esm/index-91db3414.js +2 -2
  163. package/dist/esm/index.js +40 -17
  164. package/dist/esm/index.js.map +1 -1
  165. package/dist/esm/loader.js +1 -1
  166. package/dist/types/assets/icons/index.d.ts +20 -0
  167. package/dist/types/components/{cpsl-modal/cpsl-modal.d.ts → cpsl-auth-modal/cpsl-auth-modal.d.ts} +3 -23
  168. package/dist/types/components/cpsl-button/cpsl-button.d.ts +2 -2
  169. package/dist/types/components/cpsl-hero/cpsl-hero.d.ts +18 -3
  170. package/dist/types/components/cpsl-icon-group/cpsl-icon-group.d.ts +20 -0
  171. package/dist/types/components/cpsl-input/cpsl-input.d.ts +13 -3
  172. package/dist/types/components/cpsl-popover/cpsl-popover.d.ts +2 -2
  173. package/dist/types/components/cpsl-qr-code/cpsl-qr-code.d.ts +1 -0
  174. package/dist/types/components/cpsl-select/cpsl-select.d.ts +22 -1
  175. package/dist/types/components/cpsl-text/cpsl-text.d.ts +1 -1
  176. package/dist/types/components.d.ts +222 -146
  177. package/dist/types/interface.d.ts +13 -0
  178. package/dist/types/utils/theme/generateBorderRadii.d.ts +1 -1
  179. package/dist/types/utils/theme/generatePalette.d.ts +4 -2
  180. package/dist/types/utils/theme/generateTheme.d.ts +1 -1
  181. package/package.json +4 -4
  182. package/dist/capsule/p-0462f723.js +0 -2
  183. package/dist/capsule/p-0462f723.js.map +0 -1
  184. package/dist/capsule/p-05cb769b.entry.js +0 -10
  185. package/dist/capsule/p-0eea90f8.entry.js +0 -2
  186. package/dist/capsule/p-7233228e.entry.js +0 -29
  187. package/dist/capsule/p-7233228e.entry.js.map +0 -1
  188. package/dist/capsule/p-c1aa1ffb.entry.js +0 -2
  189. package/dist/capsule/p-d351f076.entry.js +0 -2
  190. package/dist/capsule/p-d351f076.entry.js.map +0 -1
  191. package/dist/capsule/p-dc4591d5.entry.js.map +0 -1
  192. package/dist/cjs/_commonjsHelpers-b3309d7b.js +0 -12
  193. package/dist/cjs/_commonjsHelpers-b3309d7b.js.map +0 -1
  194. package/dist/cjs/cpsl-alert_33.cjs.entry.js.map +0 -1
  195. package/dist/collection/components/cpsl-modal/cpsl-modal.js.map +0 -1
  196. package/dist/esm/_commonjsHelpers-1789f0cf.js +0 -9
  197. package/dist/esm/_commonjsHelpers-1789f0cf.js.map +0 -1
  198. package/dist/esm/cpsl-alert_33.entry.js.map +0 -1
  199. /package/dist/capsule/{p-0eea90f8.entry.js.map → p-3b042fd1.entry.js.map} +0 -0
  200. /package/dist/capsule/{p-742bda0b.entry.js.map → p-5d62e610.entry.js.map} +0 -0
  201. /package/dist/types/Users/{taylorbosch/Documents/GitHub/Capsule → norwood/capsule-repos}/web-sdk/packages/core-components/.stencil/scripts/buildAssets.d.ts +0 -0
@@ -52,6 +52,28 @@ export namespace Components {
52
52
  */
53
53
  "zIndexOverride"?: number;
54
54
  }
55
+ interface CpslAuthModal {
56
+ /**
57
+ * Duration in seconds of the modal entering. Default is .15.
58
+ */
59
+ "enterTransitionDuration"?: number;
60
+ /**
61
+ * Duration in seconds of the modal exiting. Default is .15.
62
+ */
63
+ "exitTransitionDuration"?: number;
64
+ /**
65
+ * Whether or not to show the overlay. This will always show the modal, regardless of the value of `open`.
66
+ */
67
+ "noOverlay"?: boolean;
68
+ /**
69
+ * Whether or not to show the modal.
70
+ */
71
+ "open": boolean;
72
+ /**
73
+ * Override z-index.
74
+ */
75
+ "zIndexOverride"?: number;
76
+ }
55
77
  interface CpslAvatar {
56
78
  /**
57
79
  * The alternate text for the avatar image.
@@ -92,9 +114,9 @@ export namespace Components {
92
114
  */
93
115
  "target"?: string;
94
116
  /**
95
- * The variant of the button. Options are: `"primary"`, `"secondary", `"icon", `"text"`. Default is: `"primary"`.
117
+ * The variant of the button. Options are: `"primary"`, `"secondary", `"tertiary", `"ghost"`, `"destructive"`. Default is: `"primary"`.
96
118
  */
97
- "variant"?: 'primary' | 'secondary' | 'ghost' | 'destructive';
119
+ "variant"?: 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'destructive';
98
120
  }
99
121
  interface CpslButtonGroup {
100
122
  /**
@@ -333,12 +355,24 @@ export namespace Components {
333
355
  "fixed": boolean;
334
356
  }
335
357
  interface CpslHero {
358
+ /**
359
+ * The height of the container. Default is: 180.
360
+ */
361
+ "height"?: number;
362
+ /**
363
+ * Hides the fade out components Default is: `false`.
364
+ */
365
+ "hideFadeOut"?: boolean;
336
366
  "subtitle"?: string;
337
367
  "title": string;
338
368
  /**
339
- * The variant of the button. Options are: `"default"`, `"loading", `"success". Default is: `"default"`.
369
+ * The variant of the button. Options are: `"customContent"`, `"connection"`, `"externalWalletConnection"`, `"pending", `"approved", `"failed". Default is: `"connection"`.
370
+ */
371
+ "variant"?: 'customContent' | 'connection' | 'externalWalletConnection' | 'pending' | 'approved' | 'failed';
372
+ /**
373
+ * Whether to use the Capsule custom theming or use the provided theme Default is: `false`.
340
374
  */
341
- "variant"?: 'connection' | 'pending' | 'approved' | 'failed';
375
+ "withDefaultTheme"?: boolean;
342
376
  }
343
377
  interface CpslIcon {
344
378
  /**
@@ -350,6 +384,20 @@ export namespace Components {
350
384
  */
351
385
  "src"?: string;
352
386
  }
387
+ interface CpslIconGroup {
388
+ /**
389
+ * If `true`, the user cannot interact with the input.
390
+ */
391
+ "disabled": boolean;
392
+ /**
393
+ * The direction the icons should expand from
394
+ */
395
+ "expandFrom": 'left' | 'right';
396
+ /**
397
+ * The name of the icons to display.
398
+ */
399
+ "icons": (IconType | string)[];
400
+ }
353
401
  interface CpslIdenticon {
354
402
  "hash": string;
355
403
  /**
@@ -376,6 +424,10 @@ export namespace Components {
376
424
  * Sets the [`autofocus` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus) on the native input element. This may not be sufficient for the element to be focused on page load.
377
425
  */
378
426
  "autofocus": boolean;
427
+ /**
428
+ * If `true`, the input primary color will use the contrast value, not the primary text value.
429
+ */
430
+ "contrastText": boolean;
379
431
  /**
380
432
  * If `true`, the user cannot interact with the input.
381
433
  */
@@ -400,6 +452,10 @@ export namespace Components {
400
452
  * The label for the input.
401
453
  */
402
454
  "label"?: string;
455
+ /**
456
+ * Mask string to apply to the input.
457
+ */
458
+ "mask"?: string;
403
459
  /**
404
460
  * The maximum value, which must not be less than its minimum (min attribute) value.
405
461
  */
@@ -473,36 +529,6 @@ export namespace Components {
473
529
  */
474
530
  "value"?: string;
475
531
  }
476
- interface CpslModal {
477
- /**
478
- * Duration in seconds of the modal entering. Default is .15.
479
- */
480
- "enterTransitionDuration"?: number;
481
- /**
482
- * Duration in seconds of the modal exiting. Default is .15.
483
- */
484
- "exitTransitionDuration"?: number;
485
- /**
486
- * Whether or not to show `footerExpandedFooter` and `footerExpandedHeader` slots.
487
- */
488
- "footerExpanded"?: boolean;
489
- /**
490
- * Duration in seconds of the footer expansion animation. Default is 0.15.
491
- */
492
- "footerTransitionDuration"?: number;
493
- /**
494
- * Whether or not to show the overlay. This will always show the modal, regardless of the value of `open`.
495
- */
496
- "noOverlay"?: boolean;
497
- /**
498
- * Whether or not to show the modal.
499
- */
500
- "open": boolean;
501
- /**
502
- * Override z-index.
503
- */
504
- "zIndexOverride"?: number;
505
- }
506
532
  interface CpslModalV2 {
507
533
  /**
508
534
  * Whether or not to show the modal with a box shadow.
@@ -656,6 +682,14 @@ export namespace Components {
656
682
  interface CpslRow {
657
683
  }
658
684
  interface CpslSelect {
685
+ /**
686
+ * ID of element to anchor popover to.
687
+ */
688
+ "anchorElId"?: string;
689
+ /**
690
+ * If `true` the popover container will use the width of the content, else it will be set to the width of the trigger. Default is `false`
691
+ */
692
+ "autoWidth"?: boolean;
659
693
  /**
660
694
  * If `true`, the user cannot interact with the input.
661
695
  */
@@ -692,6 +726,10 @@ export namespace Components {
692
726
  * If `true`, the user must fill in a value before submitting a form.
693
727
  */
694
728
  "required": boolean;
729
+ /**
730
+ * Placeholder for the search field.
731
+ */
732
+ "searchPlaceholder"?: string;
695
733
  /**
696
734
  * Value of the selected item.
697
735
  */
@@ -704,6 +742,10 @@ export namespace Components {
704
742
  * If `true`, the label will display an "optional" tag.
705
743
  */
706
744
  "showOptionalLabel": boolean;
745
+ /**
746
+ * If `true`, the dropdown will contain a search field.
747
+ */
748
+ "showSearch": boolean;
707
749
  }
708
750
  interface CpslSelectItem {
709
751
  /**
@@ -779,22 +821,11 @@ export namespace Components {
779
821
  /**
780
822
  * The color of text. Options are: `"primary"`, `"secondary", `"tertiary", `"subtle", `"inverted", `"error". Default is: `"primary"`.
781
823
  */
782
- "color"?: 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'inverted' | 'error';
824
+ "color"?: 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'inverted' | 'error' | 'contrast';
783
825
  /**
784
826
  * The variant of text. Options are: `"body2XS"`, `"bodyXS", `"bodyS", `"bodyM", `"bodyL", `"bodyXL", `"headingXS", `"headingS", `"headingM", `"headingL", `"headingXL", `"heading2XL". Default is: `"bodyM"`.
785
827
  */
786
- "variant"?: | 'body2XS'
787
- | 'bodyXS'
788
- | 'bodyS'
789
- | 'bodyM'
790
- | 'bodyL'
791
- | 'bodyXL'
792
- | 'headingXS'
793
- | 'headingS'
794
- | 'headingM'
795
- | 'headingL'
796
- | 'headingXL'
797
- | 'heading2XL';
828
+ "variant"?: 'body2XS' | 'bodyXS' | 'bodyS' | 'bodyM' | 'bodyL' | 'bodyXL' | 'headingXS' | 'headingS' | 'headingM' | 'headingL' | 'headingXL' | 'heading2XL';
798
829
  /**
799
830
  * The weight of text. Options are: `"regular"`, `"medium", `"semiBold", `"bold". Default is: `"regular"`.
800
831
  */
@@ -811,6 +842,10 @@ export namespace Components {
811
842
  "src"?: string;
812
843
  }
813
844
  }
845
+ export interface CpslAuthModalCustomEvent<T> extends CustomEvent<T> {
846
+ detail: T;
847
+ target: HTMLCpslAuthModalElement;
848
+ }
814
849
  export interface CpslCheckboxCustomEvent<T> extends CustomEvent<T> {
815
850
  detail: T;
816
851
  target: HTMLCpslCheckboxElement;
@@ -831,10 +866,6 @@ export interface CpslInputCustomEvent<T> extends CustomEvent<T> {
831
866
  detail: T;
832
867
  target: HTMLCpslInputElement;
833
868
  }
834
- export interface CpslModalCustomEvent<T> extends CustomEvent<T> {
835
- detail: T;
836
- target: HTMLCpslModalElement;
837
- }
838
869
  export interface CpslModalV2CustomEvent<T> extends CustomEvent<T> {
839
870
  detail: T;
840
871
  target: HTMLCpslModalV2Element;
@@ -894,6 +925,27 @@ declare global {
894
925
  prototype: HTMLCpslAppBarElement;
895
926
  new (): HTMLCpslAppBarElement;
896
927
  };
928
+ interface HTMLCpslAuthModalElementEventMap {
929
+ "cpslModalEntering": null;
930
+ "cpslModalEntered": null;
931
+ "cpslModalExiting": null;
932
+ "cpslModalExited": null;
933
+ "cpslModalRequestClose": null;
934
+ }
935
+ interface HTMLCpslAuthModalElement extends Components.CpslAuthModal, HTMLStencilElement {
936
+ addEventListener<K extends keyof HTMLCpslAuthModalElementEventMap>(type: K, listener: (this: HTMLCpslAuthModalElement, ev: CpslAuthModalCustomEvent<HTMLCpslAuthModalElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
937
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
938
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
939
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
940
+ removeEventListener<K extends keyof HTMLCpslAuthModalElementEventMap>(type: K, listener: (this: HTMLCpslAuthModalElement, ev: CpslAuthModalCustomEvent<HTMLCpslAuthModalElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
941
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
942
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
943
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
944
+ }
945
+ var HTMLCpslAuthModalElement: {
946
+ prototype: HTMLCpslAuthModalElement;
947
+ new (): HTMLCpslAuthModalElement;
948
+ };
897
949
  interface HTMLCpslAvatarElement extends Components.CpslAvatar, HTMLStencilElement {
898
950
  }
899
951
  var HTMLCpslAvatarElement: {
@@ -1026,6 +1078,12 @@ declare global {
1026
1078
  prototype: HTMLCpslIconElement;
1027
1079
  new (): HTMLCpslIconElement;
1028
1080
  };
1081
+ interface HTMLCpslIconGroupElement extends Components.CpslIconGroup, HTMLStencilElement {
1082
+ }
1083
+ var HTMLCpslIconGroupElement: {
1084
+ prototype: HTMLCpslIconGroupElement;
1085
+ new (): HTMLCpslIconGroupElement;
1086
+ };
1029
1087
  interface HTMLCpslIdenticonElement extends Components.CpslIdenticon, HTMLStencilElement {
1030
1088
  }
1031
1089
  var HTMLCpslIdenticonElement: {
@@ -1059,27 +1117,6 @@ declare global {
1059
1117
  prototype: HTMLCpslInputElement;
1060
1118
  new (): HTMLCpslInputElement;
1061
1119
  };
1062
- interface HTMLCpslModalElementEventMap {
1063
- "cpslModalEntering": null;
1064
- "cpslModalEntered": null;
1065
- "cpslModalExiting": null;
1066
- "cpslModalExited": null;
1067
- "cpslModalRequestClose": null;
1068
- }
1069
- interface HTMLCpslModalElement extends Components.CpslModal, HTMLStencilElement {
1070
- addEventListener<K extends keyof HTMLCpslModalElementEventMap>(type: K, listener: (this: HTMLCpslModalElement, ev: CpslModalCustomEvent<HTMLCpslModalElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1071
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1072
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1073
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1074
- removeEventListener<K extends keyof HTMLCpslModalElementEventMap>(type: K, listener: (this: HTMLCpslModalElement, ev: CpslModalCustomEvent<HTMLCpslModalElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1075
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1076
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1077
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1078
- }
1079
- var HTMLCpslModalElement: {
1080
- prototype: HTMLCpslModalElement;
1081
- new (): HTMLCpslModalElement;
1082
- };
1083
1120
  interface HTMLCpslModalV2ElementEventMap {
1084
1121
  "cpslModalEntering": null;
1085
1122
  "cpslModalEntered": null;
@@ -1136,8 +1173,8 @@ declare global {
1136
1173
  new (): HTMLCpslPillElement;
1137
1174
  };
1138
1175
  interface HTMLCpslPopoverElementEventMap {
1139
- "cpslOpen": any;
1140
- "cpslClose": any;
1176
+ "cpslOpen": void;
1177
+ "cpslClose": void;
1141
1178
  }
1142
1179
  interface HTMLCpslPopoverElement extends Components.CpslPopover, HTMLStencilElement {
1143
1180
  addEventListener<K extends keyof HTMLCpslPopoverElementEventMap>(type: K, listener: (this: HTMLCpslPopoverElement, ev: CpslPopoverCustomEvent<HTMLCpslPopoverElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
@@ -1192,6 +1229,7 @@ declare global {
1192
1229
  "cpslBlur": FocusEvent;
1193
1230
  "cpslFocus": FocusEvent;
1194
1231
  "cpslSelectValueChange": string;
1232
+ "cpslSearchChange": string;
1195
1233
  }
1196
1234
  interface HTMLCpslSelectElement extends Components.CpslSelect, HTMLStencilElement {
1197
1235
  addEventListener<K extends keyof HTMLCpslSelectElementEventMap>(type: K, listener: (this: HTMLCpslSelectElement, ev: CpslSelectCustomEvent<HTMLCpslSelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
@@ -1321,6 +1359,7 @@ declare global {
1321
1359
  "cpsl-alert": HTMLCpslAlertElement;
1322
1360
  "cpsl-animation": HTMLCpslAnimationElement;
1323
1361
  "cpsl-app-bar": HTMLCpslAppBarElement;
1362
+ "cpsl-auth-modal": HTMLCpslAuthModalElement;
1324
1363
  "cpsl-avatar": HTMLCpslAvatarElement;
1325
1364
  "cpsl-button": HTMLCpslButtonElement;
1326
1365
  "cpsl-button-group": HTMLCpslButtonGroupElement;
@@ -1335,10 +1374,10 @@ declare global {
1335
1374
  "cpsl-grid": HTMLCpslGridElement;
1336
1375
  "cpsl-hero": HTMLCpslHeroElement;
1337
1376
  "cpsl-icon": HTMLCpslIconElement;
1377
+ "cpsl-icon-group": HTMLCpslIconGroupElement;
1338
1378
  "cpsl-identicon": HTMLCpslIdenticonElement;
1339
1379
  "cpsl-info-box": HTMLCpslInfoBoxElement;
1340
1380
  "cpsl-input": HTMLCpslInputElement;
1341
- "cpsl-modal": HTMLCpslModalElement;
1342
1381
  "cpsl-modal-v2": HTMLCpslModalV2Element;
1343
1382
  "cpsl-nav-button-group": HTMLCpslNavButtonGroupElement;
1344
1383
  "cpsl-overlay": HTMLCpslOverlayElement;
@@ -1392,6 +1431,48 @@ declare namespace LocalJSX {
1392
1431
  */
1393
1432
  "zIndexOverride"?: number;
1394
1433
  }
1434
+ interface CpslAuthModal {
1435
+ /**
1436
+ * Duration in seconds of the modal entering. Default is .15.
1437
+ */
1438
+ "enterTransitionDuration"?: number;
1439
+ /**
1440
+ * Duration in seconds of the modal exiting. Default is .15.
1441
+ */
1442
+ "exitTransitionDuration"?: number;
1443
+ /**
1444
+ * Whether or not to show the overlay. This will always show the modal, regardless of the value of `open`.
1445
+ */
1446
+ "noOverlay"?: boolean;
1447
+ /**
1448
+ * Emitted when enter animation finishes.
1449
+ */
1450
+ "onCpslModalEntered"?: (event: CpslAuthModalCustomEvent<null>) => void;
1451
+ /**
1452
+ * Emitted when enter animation starts.
1453
+ */
1454
+ "onCpslModalEntering"?: (event: CpslAuthModalCustomEvent<null>) => void;
1455
+ /**
1456
+ * Emitted when exit animation finishes.
1457
+ */
1458
+ "onCpslModalExited"?: (event: CpslAuthModalCustomEvent<null>) => void;
1459
+ /**
1460
+ * Emitted when exit animation starts.
1461
+ */
1462
+ "onCpslModalExiting"?: (event: CpslAuthModalCustomEvent<null>) => void;
1463
+ /**
1464
+ * Emitted when exit animation finishes.
1465
+ */
1466
+ "onCpslModalRequestClose"?: (event: CpslAuthModalCustomEvent<null>) => void;
1467
+ /**
1468
+ * Whether or not to show the modal.
1469
+ */
1470
+ "open"?: boolean;
1471
+ /**
1472
+ * Override z-index.
1473
+ */
1474
+ "zIndexOverride"?: number;
1475
+ }
1395
1476
  interface CpslAvatar {
1396
1477
  /**
1397
1478
  * The alternate text for the avatar image.
@@ -1432,9 +1513,9 @@ declare namespace LocalJSX {
1432
1513
  */
1433
1514
  "target"?: string;
1434
1515
  /**
1435
- * The variant of the button. Options are: `"primary"`, `"secondary", `"icon", `"text"`. Default is: `"primary"`.
1516
+ * The variant of the button. Options are: `"primary"`, `"secondary", `"tertiary", `"ghost"`, `"destructive"`. Default is: `"primary"`.
1436
1517
  */
1437
- "variant"?: 'primary' | 'secondary' | 'ghost' | 'destructive';
1518
+ "variant"?: 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'destructive';
1438
1519
  }
1439
1520
  interface CpslButtonGroup {
1440
1521
  /**
@@ -1705,12 +1786,24 @@ declare namespace LocalJSX {
1705
1786
  "fixed"?: boolean;
1706
1787
  }
1707
1788
  interface CpslHero {
1789
+ /**
1790
+ * The height of the container. Default is: 180.
1791
+ */
1792
+ "height"?: number;
1793
+ /**
1794
+ * Hides the fade out components Default is: `false`.
1795
+ */
1796
+ "hideFadeOut"?: boolean;
1708
1797
  "subtitle"?: string;
1709
1798
  "title"?: string;
1710
1799
  /**
1711
- * The variant of the button. Options are: `"default"`, `"loading", `"success". Default is: `"default"`.
1800
+ * The variant of the button. Options are: `"customContent"`, `"connection"`, `"externalWalletConnection"`, `"pending", `"approved", `"failed". Default is: `"connection"`.
1801
+ */
1802
+ "variant"?: 'customContent' | 'connection' | 'externalWalletConnection' | 'pending' | 'approved' | 'failed';
1803
+ /**
1804
+ * Whether to use the Capsule custom theming or use the provided theme Default is: `false`.
1712
1805
  */
1713
- "variant"?: 'connection' | 'pending' | 'approved' | 'failed';
1806
+ "withDefaultTheme"?: boolean;
1714
1807
  }
1715
1808
  interface CpslIcon {
1716
1809
  /**
@@ -1722,6 +1815,20 @@ declare namespace LocalJSX {
1722
1815
  */
1723
1816
  "src"?: string;
1724
1817
  }
1818
+ interface CpslIconGroup {
1819
+ /**
1820
+ * If `true`, the user cannot interact with the input.
1821
+ */
1822
+ "disabled"?: boolean;
1823
+ /**
1824
+ * The direction the icons should expand from
1825
+ */
1826
+ "expandFrom"?: 'left' | 'right';
1827
+ /**
1828
+ * The name of the icons to display.
1829
+ */
1830
+ "icons"?: (IconType | string)[];
1831
+ }
1725
1832
  interface CpslIdenticon {
1726
1833
  "hash"?: string;
1727
1834
  /**
@@ -1748,6 +1855,10 @@ declare namespace LocalJSX {
1748
1855
  * Sets the [`autofocus` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus) on the native input element. This may not be sufficient for the element to be focused on page load.
1749
1856
  */
1750
1857
  "autofocus"?: boolean;
1858
+ /**
1859
+ * If `true`, the input primary color will use the contrast value, not the primary text value.
1860
+ */
1861
+ "contrastText"?: boolean;
1751
1862
  /**
1752
1863
  * If `true`, the user cannot interact with the input.
1753
1864
  */
@@ -1772,6 +1883,10 @@ declare namespace LocalJSX {
1772
1883
  * The label for the input.
1773
1884
  */
1774
1885
  "label"?: string;
1886
+ /**
1887
+ * Mask string to apply to the input.
1888
+ */
1889
+ "mask"?: string;
1775
1890
  /**
1776
1891
  * The maximum value, which must not be less than its minimum (min attribute) value.
1777
1892
  */
@@ -1865,56 +1980,6 @@ declare namespace LocalJSX {
1865
1980
  */
1866
1981
  "value"?: string;
1867
1982
  }
1868
- interface CpslModal {
1869
- /**
1870
- * Duration in seconds of the modal entering. Default is .15.
1871
- */
1872
- "enterTransitionDuration"?: number;
1873
- /**
1874
- * Duration in seconds of the modal exiting. Default is .15.
1875
- */
1876
- "exitTransitionDuration"?: number;
1877
- /**
1878
- * Whether or not to show `footerExpandedFooter` and `footerExpandedHeader` slots.
1879
- */
1880
- "footerExpanded"?: boolean;
1881
- /**
1882
- * Duration in seconds of the footer expansion animation. Default is 0.15.
1883
- */
1884
- "footerTransitionDuration"?: number;
1885
- /**
1886
- * Whether or not to show the overlay. This will always show the modal, regardless of the value of `open`.
1887
- */
1888
- "noOverlay"?: boolean;
1889
- /**
1890
- * Emitted when enter animation finishes.
1891
- */
1892
- "onCpslModalEntered"?: (event: CpslModalCustomEvent<null>) => void;
1893
- /**
1894
- * Emitted when enter animation starts.
1895
- */
1896
- "onCpslModalEntering"?: (event: CpslModalCustomEvent<null>) => void;
1897
- /**
1898
- * Emitted when exit animation finishes.
1899
- */
1900
- "onCpslModalExited"?: (event: CpslModalCustomEvent<null>) => void;
1901
- /**
1902
- * Emitted when exit animation starts.
1903
- */
1904
- "onCpslModalExiting"?: (event: CpslModalCustomEvent<null>) => void;
1905
- /**
1906
- * Emitted when exit animation finishes.
1907
- */
1908
- "onCpslModalRequestClose"?: (event: CpslModalCustomEvent<null>) => void;
1909
- /**
1910
- * Whether or not to show the modal.
1911
- */
1912
- "open"?: boolean;
1913
- /**
1914
- * Override z-index.
1915
- */
1916
- "zIndexOverride"?: number;
1917
- }
1918
1983
  interface CpslModalV2 {
1919
1984
  /**
1920
1985
  * Whether or not to show the modal with a box shadow.
@@ -2029,11 +2094,11 @@ declare namespace LocalJSX {
2029
2094
  /**
2030
2095
  * Emitted when the popover closes.
2031
2096
  */
2032
- "onCpslClose"?: (event: CpslPopoverCustomEvent<any>) => void;
2097
+ "onCpslClose"?: (event: CpslPopoverCustomEvent<void>) => void;
2033
2098
  /**
2034
2099
  * Emitted when the popover opens.
2035
2100
  */
2036
- "onCpslOpen"?: (event: CpslPopoverCustomEvent<any>) => void;
2101
+ "onCpslOpen"?: (event: CpslPopoverCustomEvent<void>) => void;
2037
2102
  /**
2038
2103
  * Used internally to prevent select from blurring unintentionally.
2039
2104
  */
@@ -2096,6 +2161,14 @@ declare namespace LocalJSX {
2096
2161
  interface CpslRow {
2097
2162
  }
2098
2163
  interface CpslSelect {
2164
+ /**
2165
+ * ID of element to anchor popover to.
2166
+ */
2167
+ "anchorElId"?: string;
2168
+ /**
2169
+ * If `true` the popover container will use the width of the content, else it will be set to the width of the trigger. Default is `false`
2170
+ */
2171
+ "autoWidth"?: boolean;
2099
2172
  /**
2100
2173
  * If `true`, the user cannot interact with the input.
2101
2174
  */
@@ -2132,6 +2205,10 @@ declare namespace LocalJSX {
2132
2205
  * Emitted when the input has focus.
2133
2206
  */
2134
2207
  "onCpslFocus"?: (event: CpslSelectCustomEvent<FocusEvent>) => void;
2208
+ /**
2209
+ * Emitted when the search value changes.
2210
+ */
2211
+ "onCpslSearchChange"?: (event: CpslSelectCustomEvent<string>) => void;
2135
2212
  /**
2136
2213
  * Emitted when the value changes.
2137
2214
  */
@@ -2144,6 +2221,10 @@ declare namespace LocalJSX {
2144
2221
  * If `true`, the user must fill in a value before submitting a form.
2145
2222
  */
2146
2223
  "required"?: boolean;
2224
+ /**
2225
+ * Placeholder for the search field.
2226
+ */
2227
+ "searchPlaceholder"?: string;
2147
2228
  /**
2148
2229
  * Value of the selected item.
2149
2230
  */
@@ -2156,6 +2237,10 @@ declare namespace LocalJSX {
2156
2237
  * If `true`, the label will display an "optional" tag.
2157
2238
  */
2158
2239
  "showOptionalLabel"?: boolean;
2240
+ /**
2241
+ * If `true`, the dropdown will contain a search field.
2242
+ */
2243
+ "showSearch"?: boolean;
2159
2244
  }
2160
2245
  interface CpslSelectItem {
2161
2246
  /**
@@ -2243,22 +2328,11 @@ declare namespace LocalJSX {
2243
2328
  /**
2244
2329
  * The color of text. Options are: `"primary"`, `"secondary", `"tertiary", `"subtle", `"inverted", `"error". Default is: `"primary"`.
2245
2330
  */
2246
- "color"?: 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'inverted' | 'error';
2331
+ "color"?: 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'inverted' | 'error' | 'contrast';
2247
2332
  /**
2248
2333
  * The variant of text. Options are: `"body2XS"`, `"bodyXS", `"bodyS", `"bodyM", `"bodyL", `"bodyXL", `"headingXS", `"headingS", `"headingM", `"headingL", `"headingXL", `"heading2XL". Default is: `"bodyM"`.
2249
2334
  */
2250
- "variant"?: | 'body2XS'
2251
- | 'bodyXS'
2252
- | 'bodyS'
2253
- | 'bodyM'
2254
- | 'bodyL'
2255
- | 'bodyXL'
2256
- | 'headingXS'
2257
- | 'headingS'
2258
- | 'headingM'
2259
- | 'headingL'
2260
- | 'headingXL'
2261
- | 'heading2XL';
2335
+ "variant"?: 'body2XS' | 'bodyXS' | 'bodyS' | 'bodyM' | 'bodyL' | 'bodyXL' | 'headingXS' | 'headingS' | 'headingM' | 'headingL' | 'headingXL' | 'heading2XL';
2262
2336
  /**
2263
2337
  * The weight of text. Options are: `"regular"`, `"medium", `"semiBold", `"bold". Default is: `"regular"`.
2264
2338
  */
@@ -2278,6 +2352,7 @@ declare namespace LocalJSX {
2278
2352
  "cpsl-alert": CpslAlert;
2279
2353
  "cpsl-animation": CpslAnimation;
2280
2354
  "cpsl-app-bar": CpslAppBar;
2355
+ "cpsl-auth-modal": CpslAuthModal;
2281
2356
  "cpsl-avatar": CpslAvatar;
2282
2357
  "cpsl-button": CpslButton;
2283
2358
  "cpsl-button-group": CpslButtonGroup;
@@ -2292,10 +2367,10 @@ declare namespace LocalJSX {
2292
2367
  "cpsl-grid": CpslGrid;
2293
2368
  "cpsl-hero": CpslHero;
2294
2369
  "cpsl-icon": CpslIcon;
2370
+ "cpsl-icon-group": CpslIconGroup;
2295
2371
  "cpsl-identicon": CpslIdenticon;
2296
2372
  "cpsl-info-box": CpslInfoBox;
2297
2373
  "cpsl-input": CpslInput;
2298
- "cpsl-modal": CpslModal;
2299
2374
  "cpsl-modal-v2": CpslModalV2;
2300
2375
  "cpsl-nav-button-group": CpslNavButtonGroup;
2301
2376
  "cpsl-overlay": CpslOverlay;
@@ -2325,6 +2400,7 @@ declare module "@stencil/core" {
2325
2400
  "cpsl-alert": LocalJSX.CpslAlert & JSXBase.HTMLAttributes<HTMLCpslAlertElement>;
2326
2401
  "cpsl-animation": LocalJSX.CpslAnimation & JSXBase.HTMLAttributes<HTMLCpslAnimationElement>;
2327
2402
  "cpsl-app-bar": LocalJSX.CpslAppBar & JSXBase.HTMLAttributes<HTMLCpslAppBarElement>;
2403
+ "cpsl-auth-modal": LocalJSX.CpslAuthModal & JSXBase.HTMLAttributes<HTMLCpslAuthModalElement>;
2328
2404
  "cpsl-avatar": LocalJSX.CpslAvatar & JSXBase.HTMLAttributes<HTMLCpslAvatarElement>;
2329
2405
  "cpsl-button": LocalJSX.CpslButton & JSXBase.HTMLAttributes<HTMLCpslButtonElement>;
2330
2406
  "cpsl-button-group": LocalJSX.CpslButtonGroup & JSXBase.HTMLAttributes<HTMLCpslButtonGroupElement>;
@@ -2339,10 +2415,10 @@ declare module "@stencil/core" {
2339
2415
  "cpsl-grid": LocalJSX.CpslGrid & JSXBase.HTMLAttributes<HTMLCpslGridElement>;
2340
2416
  "cpsl-hero": LocalJSX.CpslHero & JSXBase.HTMLAttributes<HTMLCpslHeroElement>;
2341
2417
  "cpsl-icon": LocalJSX.CpslIcon & JSXBase.HTMLAttributes<HTMLCpslIconElement>;
2418
+ "cpsl-icon-group": LocalJSX.CpslIconGroup & JSXBase.HTMLAttributes<HTMLCpslIconGroupElement>;
2342
2419
  "cpsl-identicon": LocalJSX.CpslIdenticon & JSXBase.HTMLAttributes<HTMLCpslIdenticonElement>;
2343
2420
  "cpsl-info-box": LocalJSX.CpslInfoBox & JSXBase.HTMLAttributes<HTMLCpslInfoBoxElement>;
2344
2421
  "cpsl-input": LocalJSX.CpslInput & JSXBase.HTMLAttributes<HTMLCpslInputElement>;
2345
- "cpsl-modal": LocalJSX.CpslModal & JSXBase.HTMLAttributes<HTMLCpslModalElement>;
2346
2422
  "cpsl-modal-v2": LocalJSX.CpslModalV2 & JSXBase.HTMLAttributes<HTMLCpslModalV2Element>;
2347
2423
  "cpsl-nav-button-group": LocalJSX.CpslNavButtonGroup & JSXBase.HTMLAttributes<HTMLCpslNavButtonGroupElement>;
2348
2424
  "cpsl-overlay": LocalJSX.CpslOverlay & JSXBase.HTMLAttributes<HTMLCpslOverlayElement>;
@@ -13,6 +13,11 @@ export type ImageType = keyof typeof Images;
13
13
  export type Theme = {
14
14
  foregroundColor?: string;
15
15
  backgroundColor?: string;
16
+ accentColor?: string;
17
+ darkForegroundColor?: string;
18
+ darkBackgroundColor?: string;
19
+ darkAccentColor?: string;
20
+ mode?: 'light' | 'dark';
16
21
  borderRadius?: BorderRadius;
17
22
  font?: string;
18
23
  customPalette?: CustomPalette;
@@ -244,6 +249,14 @@ export interface CustomPalette {
244
249
  surface?: string;
245
250
  border?: string;
246
251
  };
252
+ iconGroup?: {
253
+ surface?: string;
254
+ border?: string;
255
+ icon?: {
256
+ default?: string;
257
+ disabled?: string;
258
+ };
259
+ };
247
260
  }
248
261
  export interface InteractionCallback {
249
262
  eventName: string;
@@ -1,2 +1,2 @@
1
1
  import { Theme } from '../../interface';
2
- export declare const generateBorderRadii: ({ borderRadius, customBorderRadii, }: Pick<Theme, 'borderRadius' | 'customBorderRadii'>) => void;
2
+ export declare const generateBorderRadii: ({ borderRadius, customBorderRadii }: Pick<Theme, 'borderRadius' | 'customBorderRadii'>) => void;