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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (190) hide show
  1. package/css/capsule-core.css +10 -25
  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-05cb769b.entry.js +10 -0
  10. package/dist/capsule/{p-0e558c7f.entry.js.map → p-05cb769b.entry.js.map} +1 -1
  11. package/dist/capsule/p-0eea90f8.entry.js +2 -0
  12. package/dist/capsule/p-4203888d.entry.js +29 -0
  13. package/dist/capsule/p-4203888d.entry.js.map +1 -0
  14. package/dist/capsule/{p-1bd11889.entry.js → p-69c3c53b.entry.js} +2 -2
  15. package/dist/capsule/{p-1bd11889.entry.js.map → p-69c3c53b.entry.js.map} +1 -1
  16. package/dist/capsule/{p-5d62e610.entry.js → p-742bda0b.entry.js} +2 -2
  17. package/dist/capsule/p-c1aa1ffb.entry.js +2 -0
  18. package/dist/capsule/{p-5965b15e.entry.js.map → p-c1aa1ffb.entry.js.map} +1 -1
  19. package/dist/capsule/p-d351f076.entry.js +2 -0
  20. package/dist/capsule/p-d351f076.entry.js.map +1 -0
  21. package/dist/cjs/_commonjsHelpers-b3309d7b.js +12 -0
  22. package/dist/cjs/_commonjsHelpers-b3309d7b.js.map +1 -0
  23. package/dist/cjs/capsule.cjs.js +1 -1
  24. package/dist/cjs/{cpsl-alert_34.cjs.entry.js → cpsl-alert_33.cjs.entry.js} +13368 -16935
  25. package/dist/cjs/cpsl-alert_33.cjs.entry.js.map +1 -0
  26. package/dist/cjs/cpsl-animation.cjs.entry.js +2 -3
  27. package/dist/cjs/cpsl-animation.cjs.entry.js.map +1 -1
  28. package/dist/cjs/cpsl-hero.cjs.entry.js +6 -9
  29. package/dist/cjs/cpsl-hero.cjs.entry.js.map +1 -1
  30. package/dist/cjs/cpsl-identicon.cjs.entry.js +1 -1
  31. package/dist/cjs/cpsl-info-box.cjs.entry.js +2 -2
  32. package/dist/cjs/cpsl-info-box.cjs.entry.js.map +1 -1
  33. package/dist/cjs/cpsl-modal-v2.cjs.entry.js +1 -1
  34. package/dist/cjs/cpsl-modal-v2.cjs.entry.js.map +1 -1
  35. package/dist/cjs/cpsl-row.cjs.entry.js +1 -1
  36. package/dist/cjs/index-65f57499.js +2 -2
  37. package/dist/cjs/index.cjs.js +12 -35
  38. package/dist/cjs/index.cjs.js.map +1 -1
  39. package/dist/cjs/loader.cjs.js +1 -1
  40. package/dist/collection/assets/icons/index.js +1 -21
  41. package/dist/collection/assets/icons/index.js.map +1 -1
  42. package/dist/collection/assets/icons/refresh.svg +3 -3
  43. package/dist/collection/collection-manifest.json +1 -2
  44. package/dist/collection/components/cpsl-alert/cpsl-alert.js +2 -2
  45. package/dist/collection/components/cpsl-alert/cpsl-alert.js.map +1 -1
  46. package/dist/collection/components/cpsl-button/cpsl-button.css +2 -89
  47. package/dist/collection/components/cpsl-button/cpsl-button.js +5 -6
  48. package/dist/collection/components/cpsl-button/cpsl-button.js.map +1 -1
  49. package/dist/collection/components/cpsl-button/cpsl-button.stories.js.map +1 -1
  50. package/dist/collection/components/cpsl-card/cpsl-card.css +2 -5
  51. package/dist/collection/components/cpsl-code-input/cpsl-code-input.css +0 -3
  52. package/dist/collection/components/cpsl-code-input/cpsl-code-input.js +7 -11
  53. package/dist/collection/components/cpsl-code-input/cpsl-code-input.js.map +1 -1
  54. package/dist/collection/components/cpsl-divider/cpsl-divider.css +1 -2
  55. package/dist/collection/components/cpsl-drawer/cpsl-drawer.js +1 -1
  56. package/dist/collection/components/cpsl-drawer/cpsl-drawer.js.map +1 -1
  57. package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js +2 -2
  58. package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js.map +1 -1
  59. package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js +6 -1
  60. package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js.map +1 -1
  61. package/dist/collection/components/cpsl-hero/cpsl-hero.css +71 -136
  62. package/dist/collection/components/cpsl-hero/cpsl-hero.js +9 -63
  63. package/dist/collection/components/cpsl-hero/cpsl-hero.js.map +1 -1
  64. package/dist/collection/components/cpsl-icon/cpsl-icon.css +0 -8
  65. package/dist/collection/components/cpsl-icon/cpsl-icon.js +2 -2
  66. package/dist/collection/components/cpsl-identicon/cpsl-identicon.js +1 -1
  67. package/dist/collection/components/cpsl-info-box/cpsl-info-box.css +2 -1
  68. package/dist/collection/components/cpsl-info-box/cpsl-info-box.js +1 -1
  69. package/dist/collection/components/cpsl-input/cpsl-input.css +2 -21
  70. package/dist/collection/components/cpsl-input/cpsl-input.js +28 -100
  71. package/dist/collection/components/cpsl-input/cpsl-input.js.map +1 -1
  72. package/dist/collection/components/{cpsl-auth-modal/cpsl-auth-modal.css → cpsl-modal/cpsl-modal.css} +58 -33
  73. package/dist/collection/components/{cpsl-auth-modal/cpsl-auth-modal.js → cpsl-modal/cpsl-modal.js} +129 -11
  74. package/dist/collection/components/cpsl-modal/cpsl-modal.js.map +1 -0
  75. package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js +1 -1
  76. package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js.map +1 -1
  77. package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js +1 -1
  78. package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +1 -1
  79. package/dist/collection/components/cpsl-pagination/cpsl-pagination.js +1 -1
  80. package/dist/collection/components/cpsl-pill/cpsl-pill.js +1 -1
  81. package/dist/collection/components/cpsl-popover/cpsl-popover.css +0 -2
  82. package/dist/collection/components/cpsl-popover/cpsl-popover.js +11 -9
  83. package/dist/collection/components/cpsl-popover/cpsl-popover.js.map +1 -1
  84. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.css +3 -12
  85. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +23 -28
  86. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js.map +1 -1
  87. package/dist/collection/components/cpsl-radio/cpsl-radio.js +1 -1
  88. package/dist/collection/components/cpsl-row/cpsl-row.js +1 -1
  89. package/dist/collection/components/cpsl-select/cpsl-select.css +0 -17
  90. package/dist/collection/components/cpsl-select/cpsl-select.js +5 -95
  91. package/dist/collection/components/cpsl-select/cpsl-select.js.map +1 -1
  92. package/dist/collection/components/cpsl-select-item/cpsl-select-item.js +1 -1
  93. package/dist/collection/components/cpsl-select-item/cpsl-select-item.js.map +1 -1
  94. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +3 -3
  95. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js.map +1 -1
  96. package/dist/collection/components/cpsl-spinner/cpsl-spinner.css +8 -30
  97. package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +7 -5
  98. package/dist/collection/components/cpsl-spinner/cpsl-spinner.js.map +1 -1
  99. package/dist/collection/components/cpsl-switch/cpsl-switch.js +1 -1
  100. package/dist/collection/components/cpsl-tab/cpsl-tab.css +1 -24
  101. package/dist/collection/components/cpsl-tab/cpsl-tab.js +1 -1
  102. package/dist/collection/components/cpsl-tab/cpsl-tab.js.map +1 -1
  103. package/dist/collection/components/cpsl-table/cpsl-table.js +9 -1
  104. package/dist/collection/components/cpsl-table/cpsl-table.js.map +1 -1
  105. package/dist/collection/components/cpsl-tabs/cpsl-tabs.css +4 -1
  106. package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +4 -1
  107. package/dist/collection/components/cpsl-tabs/cpsl-tabs.js.map +1 -1
  108. package/dist/collection/components/cpsl-text/cpsl-text.css +0 -19
  109. package/dist/collection/components/cpsl-text/cpsl-text.js +4 -5
  110. package/dist/collection/components/cpsl-text/cpsl-text.js.map +1 -1
  111. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.css +1 -3
  112. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +2 -2
  113. package/dist/collection/interface.js.map +1 -1
  114. package/dist/collection/utils/theme/generateBorderRadii.js +3 -4
  115. package/dist/collection/utils/theme/generateBorderRadii.js.map +1 -1
  116. package/dist/collection/utils/theme/generatePalette.js +6 -22
  117. package/dist/collection/utils/theme/generatePalette.js.map +1 -1
  118. package/dist/collection/utils/theme/generateTheme.js +3 -9
  119. package/dist/collection/utils/theme/generateTheme.js.map +1 -1
  120. package/dist/collection/utils/theme/utils.js.map +1 -1
  121. package/dist/esm/_commonjsHelpers-1789f0cf.js +9 -0
  122. package/dist/esm/_commonjsHelpers-1789f0cf.js.map +1 -0
  123. package/dist/esm/capsule.js +1 -1
  124. package/dist/esm/{cpsl-alert_34.entry.js → cpsl-alert_33.entry.js} +13370 -16936
  125. package/dist/esm/cpsl-alert_33.entry.js.map +1 -0
  126. package/dist/esm/cpsl-animation.entry.js +1 -2
  127. package/dist/esm/cpsl-animation.entry.js.map +1 -1
  128. package/dist/esm/cpsl-hero.entry.js +7 -10
  129. package/dist/esm/cpsl-hero.entry.js.map +1 -1
  130. package/dist/esm/cpsl-identicon.entry.js +1 -1
  131. package/dist/esm/cpsl-info-box.entry.js +2 -2
  132. package/dist/esm/cpsl-info-box.entry.js.map +1 -1
  133. package/dist/esm/cpsl-modal-v2.entry.js +1 -1
  134. package/dist/esm/cpsl-modal-v2.entry.js.map +1 -1
  135. package/dist/esm/cpsl-row.entry.js +1 -1
  136. package/dist/esm/index-91db3414.js +2 -2
  137. package/dist/esm/index.js +12 -35
  138. package/dist/esm/index.js.map +1 -1
  139. package/dist/esm/loader.js +1 -1
  140. package/dist/types/assets/icons/index.d.ts +0 -20
  141. package/dist/types/components/cpsl-button/cpsl-button.d.ts +2 -2
  142. package/dist/types/components/cpsl-hero/cpsl-hero.d.ts +3 -18
  143. package/dist/types/components/cpsl-input/cpsl-input.d.ts +3 -13
  144. package/dist/types/components/{cpsl-auth-modal/cpsl-auth-modal.d.ts → cpsl-modal/cpsl-modal.d.ts} +23 -3
  145. package/dist/types/components/cpsl-popover/cpsl-popover.d.ts +2 -2
  146. package/dist/types/components/cpsl-qr-code/cpsl-qr-code.d.ts +0 -1
  147. package/dist/types/components/cpsl-select/cpsl-select.d.ts +1 -22
  148. package/dist/types/components/cpsl-text/cpsl-text.d.ts +1 -1
  149. package/dist/types/components.d.ts +146 -222
  150. package/dist/types/interface.d.ts +0 -13
  151. package/dist/types/utils/theme/generateBorderRadii.d.ts +1 -1
  152. package/dist/types/utils/theme/generatePalette.d.ts +2 -4
  153. package/dist/types/utils/theme/generateTheme.d.ts +1 -1
  154. package/package.json +2 -3
  155. package/dist/capsule/p-0e558c7f.entry.js +0 -10
  156. package/dist/capsule/p-32cdf894.entry.js +0 -2
  157. package/dist/capsule/p-32cdf894.entry.js.map +0 -1
  158. package/dist/capsule/p-3b042fd1.entry.js +0 -2
  159. package/dist/capsule/p-5965b15e.entry.js +0 -2
  160. package/dist/capsule/p-60508b1e.entry.js +0 -20
  161. package/dist/capsule/p-60508b1e.entry.js.map +0 -1
  162. package/dist/cjs/cpsl-alert_34.cjs.entry.js.map +0 -1
  163. package/dist/collection/assets/icons/arrow-circle-broken-down-left.svg +0 -3
  164. package/dist/collection/assets/icons/bank.svg +0 -3
  165. package/dist/collection/assets/icons/credit-card.svg +0 -3
  166. package/dist/collection/assets/icons/dot.svg +0 -3
  167. package/dist/collection/assets/icons/download.svg +0 -3
  168. package/dist/collection/assets/icons/globe.svg +0 -3
  169. package/dist/collection/assets/icons/hero-alert-circle.svg +0 -3
  170. package/dist/collection/assets/icons/hero-checkmark-capsule.svg +0 -11
  171. package/dist/collection/assets/icons/hero-checkmark.svg +0 -3
  172. package/dist/collection/assets/icons/hero-external-connection.svg +0 -71
  173. package/dist/collection/assets/icons/link-external.svg +0 -3
  174. package/dist/collection/assets/icons/log-out.svg +0 -3
  175. package/dist/collection/assets/icons/moonpay-brand.svg +0 -10
  176. package/dist/collection/assets/icons/puzzle-piece.svg +0 -3
  177. package/dist/collection/assets/icons/qr-code-02.svg +0 -3
  178. package/dist/collection/assets/icons/qr-code.svg +0 -3
  179. package/dist/collection/assets/icons/search.svg +0 -3
  180. package/dist/collection/assets/icons/send.svg +0 -3
  181. package/dist/collection/assets/icons/shield.svg +0 -3
  182. package/dist/collection/assets/icons/stripe-brand.svg +0 -3
  183. package/dist/collection/components/cpsl-auth-modal/cpsl-auth-modal.js.map +0 -1
  184. package/dist/collection/components/cpsl-icon-group/cpsl-icon-group.css +0 -97
  185. package/dist/collection/components/cpsl-icon-group/cpsl-icon-group.js +0 -121
  186. package/dist/collection/components/cpsl-icon-group/cpsl-icon-group.js.map +0 -1
  187. package/dist/esm/cpsl-alert_34.entry.js.map +0 -1
  188. package/dist/types/components/cpsl-icon-group/cpsl-icon-group.d.ts +0 -20
  189. /package/dist/capsule/{p-3b042fd1.entry.js.map → p-0eea90f8.entry.js.map} +0 -0
  190. /package/dist/capsule/{p-5d62e610.entry.js.map → p-742bda0b.entry.js.map} +0 -0
@@ -4,11 +4,9 @@ export declare const Icons: {
4
4
  angelList: string;
5
5
  appleBrand: string;
6
6
  apple: string;
7
- arrowCircleBrokenDownLeft: string;
8
7
  arrowNarrow: string;
9
8
  arrow: string;
10
9
  backupKit: string;
11
- bank: string;
12
10
  brush: string;
13
11
  capsuleLogo: string;
14
12
  capsuleRingsDark: string;
@@ -22,15 +20,12 @@ export declare const Icons: {
22
20
  clubhouseBrand: string;
23
21
  clubhouse: string;
24
22
  copy: string;
25
- creditCard: string;
26
23
  cube: string;
27
24
  decentBrand: string;
28
25
  decent: string;
29
26
  discordBrand: string;
30
27
  discord: string;
31
- dot: string;
32
28
  downloadCloud: string;
33
- download: string;
34
29
  dribbbleBrand: string;
35
30
  dribbble: string;
36
31
  earth: string;
@@ -45,15 +40,10 @@ export declare const Icons: {
45
40
  file: string;
46
41
  githubBrand: string;
47
42
  github: string;
48
- globe: string;
49
43
  googleBrand: string;
50
44
  google: string;
51
45
  helpCircle: string;
52
- heroAlertCircle: string;
53
- heroCheckmarkCapsule: string;
54
- heroCheckmark: string;
55
46
  heroEmail: string;
56
- heroExternalConnection: string;
57
47
  heroLock: string;
58
48
  heroPasskey: string;
59
49
  heroPhone: string;
@@ -66,36 +56,26 @@ export declare const Icons: {
66
56
  key: string;
67
57
  lightning01: string;
68
58
  lightning: string;
69
- linkExternal: string;
70
59
  linkedinBrand: string;
71
60
  linkedin: string;
72
- logOut: string;
73
61
  mail: string;
74
62
  menu: string;
75
- moonpayBrand: string;
76
63
  moreLoginOptions: string;
77
64
  phone: string;
78
65
  pintrestBrand: string;
79
66
  pintrest: string;
80
67
  plusCircle: string;
81
- puzzlePiece: string;
82
- qrCode02: string;
83
- qrCode: string;
84
68
  rampNetworkBrand: string;
85
69
  rampNetwork: string;
86
70
  redditBrand: string;
87
71
  reddit: string;
88
72
  refresh: string;
89
- search: string;
90
- send: string;
91
73
  settings: string;
92
- shield: string;
93
74
  signalBrand: string;
94
75
  signal: string;
95
76
  snapchatBrand: string;
96
77
  snapchat: string;
97
78
  stars: string;
98
- stripeBrand: string;
99
79
  telegramBrand: string;
100
80
  telegram: string;
101
81
  tikTokBrand: string;
@@ -31,9 +31,9 @@ export declare class CpslButton {
31
31
  target?: string;
32
32
  /**
33
33
  * The variant of the button.
34
- * Options are: `"primary"`, `"secondary", `"tertiary", `"ghost"`, `"destructive"`.
34
+ * Options are: `"primary"`, `"secondary", `"icon", `"text"`.
35
35
  * Default is: `"primary"`.
36
36
  */
37
- variant?: 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'destructive';
37
+ variant?: 'primary' | 'secondary' | 'ghost' | 'destructive';
38
38
  render(): any;
39
39
  }
@@ -1,26 +1,11 @@
1
1
  export declare class CpslHero {
2
- /**
3
- * The height of the container.
4
- * Default is: 180.
5
- */
6
- height?: number;
7
- /**
8
- * Hides the fade out components
9
- * Default is: `false`.
10
- */
11
- hideFadeOut?: boolean;
12
2
  /**
13
3
  * The variant of the button.
14
- * Options are: `"customContent"`, `"connection"`, `"externalWalletConnection"`, `"pending", `"approved", `"failed".
15
- * Default is: `"connection"`.
4
+ * Options are: `"default"`, `"loading", `"success".
5
+ * Default is: `"default"`.
16
6
  */
17
- variant?: 'customContent' | 'connection' | 'externalWalletConnection' | 'pending' | 'approved' | 'failed';
7
+ variant?: 'connection' | 'pending' | 'approved' | 'failed';
18
8
  title: string;
19
9
  subtitle?: string;
20
- /**
21
- * Whether to use the Capsule custom theming or use the provided theme
22
- * Default is: `false`.
23
- */
24
- withDefaultTheme?: boolean;
25
10
  render(): any;
26
11
  }
@@ -1,8 +1,6 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
2
  import { AutocompleteTypes, IconType, TextFieldTypes } from '../../interface';
3
3
  import { InputChangeEventDetail, InputInputEventDetail } from './input-interface';
4
- import InputMask from 'imask/esm/controls/input';
5
- import 'imask/esm/masked/pattern';
6
4
  export declare class CpslInput {
7
5
  private nativeInput?;
8
6
  el: HTMLCpslInputElement;
@@ -12,7 +10,6 @@ export declare class CpslInput {
12
10
  */
13
11
  private focusedValue?;
14
12
  hasFocus: boolean;
15
- maskedInput?: InputMask;
16
13
  /**
17
14
  * Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
18
15
  * Available options: `"off"`, `"none"`, `"on"`, `"sentences"`, `"words"`, `"characters"`.
@@ -40,10 +37,6 @@ export declare class CpslInput {
40
37
  * If `true`, the user cannot interact with the input.
41
38
  */
42
39
  disabled: boolean;
43
- /**
44
- * If `true`, the input primary color will use the contrast value, not the primary text value.
45
- */
46
- contrastText: boolean;
47
40
  /**
48
41
  * A hint to the browser for which enter key to display.
49
42
  * Possible values: `"enter"`, `"done"`, `"go"`, `"next"`,
@@ -54,10 +47,6 @@ export declare class CpslInput {
54
47
  * Error text to show below the input. If this is provided the input will enter an error state.
55
48
  */
56
49
  errorText?: string;
57
- /**
58
- * Mask string to apply to the input.
59
- */
60
- mask?: string;
61
50
  /**
62
51
  * Helper text to show below the input. If `"errorText"` is provided that will take precedence.
63
52
  */
@@ -178,8 +167,9 @@ export declare class CpslInput {
178
167
  */
179
168
  cpslPaste: EventEmitter<ClipboardEvent>;
180
169
  handleDisable(): void;
181
- handleSetupMask(): void;
182
- handleValueChange(): void;
170
+ /**
171
+ * Update the native input element when the value changes
172
+ */
183
173
  componentDidLoad(): void;
184
174
  private disableSlots;
185
175
  private enableSlots;
@@ -1,9 +1,10 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
- export declare class CpslAuthModal {
2
+ export declare class CpslModal {
3
+ private draggable;
4
+ private expandFooterTl;
3
5
  private hasAnimatedIn;
4
- el: HTMLCpslAuthModalElement;
6
+ el: HTMLCpslModalElement;
5
7
  hasFooter: boolean;
6
- isMobile: boolean;
7
8
  /**
8
9
  * Duration in seconds of the modal entering.
9
10
  * Default is .15.
@@ -14,6 +15,15 @@ export declare class CpslAuthModal {
14
15
  * Default is .15.
15
16
  */
16
17
  exitTransitionDuration?: number;
18
+ /**
19
+ * Whether or not to show `footerExpandedFooter` and `footerExpandedHeader` slots.
20
+ */
21
+ footerExpanded?: boolean;
22
+ /**
23
+ * Duration in seconds of the footer expansion animation.
24
+ * Default is 0.15.
25
+ */
26
+ footerTransitionDuration?: number;
17
27
  /**
18
28
  * Whether or not to show the overlay. This will always show the modal, regardless of the value of `open`.
19
29
  */
@@ -46,13 +56,23 @@ export declare class CpslAuthModal {
46
56
  * Override z-index.
47
57
  */
48
58
  zIndexOverride?: number;
59
+ toggleHeight(): void;
49
60
  toggleModal(): void;
50
61
  componentDidLoad(): void;
51
62
  private handleAnimation;
63
+ private addExpandAnim;
64
+ private getDraggableHeight;
65
+ private initDraggable;
52
66
  private get footerEl();
67
+ private get footerExpandedEl();
68
+ private get headerExpandedEl();
69
+ private get innerContainerEl();
70
+ private get contentEl();
53
71
  private get modalWrapperEl();
54
72
  private get modalContainerEl();
73
+ private get overlayEl();
55
74
  private get footerSlotEl();
75
+ private get headerEl();
56
76
  private get Modal();
57
77
  render(): any;
58
78
  }
@@ -65,11 +65,11 @@ export declare class CpslPopover {
65
65
  /**
66
66
  * Emitted when the popover opens.
67
67
  */
68
- cpslOpen: EventEmitter<void>;
68
+ cpslOpen: EventEmitter;
69
69
  /**
70
70
  * Emitted when the popover closes.
71
71
  */
72
- cpslClose: EventEmitter<void>;
72
+ cpslClose: EventEmitter;
73
73
  /**
74
74
  * Call to close the popover manually.
75
75
  */
@@ -14,6 +14,5 @@ export declare class CpslQrCode {
14
14
  */
15
15
  size?: number;
16
16
  componentDidLoad(): void;
17
- private get imgEl();
18
17
  render(): any;
19
18
  }
@@ -3,19 +3,10 @@ export declare class CpslSelect {
3
3
  el: HTMLCpslSelectElement;
4
4
  private popoverEl;
5
5
  private inputId;
6
- anchorEl: HTMLElement;
6
+ anchorEl: HTMLDivElement;
7
7
  hasFocus: boolean;
8
8
  popoverOpen: boolean;
9
9
  hasSelectedItem: boolean;
10
- /**
11
- * ID of element to anchor popover to.
12
- */
13
- anchorElId?: string;
14
- /**
15
- * If `true` the popover container will use the width of the content, else it will be set to the width of the trigger.
16
- * Default is `false`
17
- */
18
- autoWidth?: boolean;
19
10
  /**
20
11
  * If `true`, the user cannot interact with the input.
21
12
  */
@@ -64,14 +55,6 @@ export declare class CpslSelect {
64
55
  * If `true`, the label will display an "optional" tag.
65
56
  */
66
57
  showOptionalLabel: boolean;
67
- /**
68
- * If `true`, the dropdown will contain a search field.
69
- */
70
- showSearch: boolean;
71
- /**
72
- * Placeholder for the search field.
73
- */
74
- searchPlaceholder?: string;
75
58
  /**
76
59
  * Emitted when the input loses focus.
77
60
  */
@@ -84,10 +67,6 @@ export declare class CpslSelect {
84
67
  * Emitted when the value changes.
85
68
  */
86
69
  cpslSelectValueChange: EventEmitter<string>;
87
- /**
88
- * Emitted when the search value changes.
89
- */
90
- cpslSearchChange: EventEmitter<string>;
91
70
  onValueChange(): void;
92
71
  handleValueChange(): void;
93
72
  selectItemClickHandler(event: CustomEvent<string>): void;
@@ -4,7 +4,7 @@ export declare class CpslText {
4
4
  * Options are: `"primary"`, `"secondary", `"tertiary", `"subtle", `"inverted", `"error".
5
5
  * Default is: `"primary"`.
6
6
  */
7
- color?: 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'inverted' | 'error' | 'contrast';
7
+ color?: 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'inverted' | 'error';
8
8
  /**
9
9
  * The variant of text.
10
10
  * Options are: `"body2XS"`, `"bodyXS", `"bodyS", `"bodyM", `"bodyL", `"bodyXL", `"headingXS", `"headingS", `"headingM", `"headingL", `"headingXL", `"heading2XL".