@usecapsule/core-components 3.0.1 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (234) hide show
  1. package/css/capsule-core.css +93 -24
  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-397edab5.entry.js +2 -0
  8. package/dist/capsule/{p-ad14a817.entry.js.map → p-397edab5.entry.js.map} +1 -1
  9. package/dist/capsule/p-52d6ebee.entry.js +2 -0
  10. package/dist/capsule/{p-fcead80b.entry.js.map → p-52d6ebee.entry.js.map} +1 -1
  11. package/dist/capsule/p-5ed5e96c.entry.js +2 -0
  12. package/dist/capsule/p-5ed5e96c.entry.js.map +1 -0
  13. package/dist/capsule/p-6e71539d.js +3 -0
  14. package/dist/capsule/p-6e71539d.js.map +1 -0
  15. package/dist/capsule/p-6e900654.entry.js +29 -0
  16. package/dist/capsule/p-6e900654.entry.js.map +1 -0
  17. package/dist/capsule/{p-0d0a0037.entry.js → p-70f95c93.entry.js} +2 -2
  18. package/dist/capsule/{p-0d0a0037.entry.js.map → p-70f95c93.entry.js.map} +1 -1
  19. package/dist/capsule/p-86e6cba5.entry.js +10 -0
  20. package/dist/capsule/{p-d28b96ba.entry.js.map → p-86e6cba5.entry.js.map} +1 -1
  21. package/dist/capsule/p-f2393be6.js +2 -0
  22. package/dist/capsule/p-f2393be6.js.map +1 -0
  23. package/dist/capsule/{p-fa078837.entry.js → p-f9351426.entry.js} +2 -2
  24. package/dist/capsule/{p-fa078837.entry.js.map → p-f9351426.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-0869a780.js → constants-9b1b01bb.js} +3 -3
  28. package/dist/cjs/{constants-0869a780.js.map → constants-9b1b01bb.js.map} +1 -1
  29. package/dist/cjs/{cpsl-alert_29.cjs.entry.js → cpsl-alert_33.cjs.entry.js} +663 -94
  30. package/dist/cjs/cpsl-alert_33.cjs.entry.js.map +1 -0
  31. package/dist/cjs/cpsl-animation.cjs.entry.js +2 -2
  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-85125285.js +1414 -0
  40. package/dist/cjs/index-85125285.js.map +1 -0
  41. package/dist/cjs/index.cjs.js +116 -107
  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/chevron-up.svg +2 -2
  45. package/dist/collection/assets/icons/close.svg +3 -4
  46. package/dist/collection/assets/icons/cube.svg +3 -0
  47. package/dist/collection/assets/icons/farcaster-brand.svg +10 -0
  48. package/dist/collection/assets/icons/farcaster.svg +10 -0
  49. package/dist/collection/assets/icons/image.svg +3 -0
  50. package/dist/collection/assets/icons/index.js +9 -1
  51. package/dist/collection/assets/icons/index.js.map +1 -1
  52. package/dist/collection/assets/icons/menu.svg +3 -0
  53. package/dist/collection/assets/icons/refresh.svg +3 -0
  54. package/dist/collection/assets/icons/stars.svg +4 -0
  55. package/dist/collection/assets/icons/x.svg +3 -0
  56. package/dist/collection/collection-manifest.json +7 -2
  57. package/dist/collection/components/cpsl-alert/cpsl-alert.js +2 -2
  58. package/dist/collection/components/cpsl-alert/cpsl-alert.js.map +1 -1
  59. package/dist/collection/components/cpsl-animation/cpsl-animation.js +1 -1
  60. package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js +20 -4
  61. package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js.map +1 -1
  62. package/dist/collection/components/cpsl-avatar/cpsl-avatar.js +1 -1
  63. package/dist/collection/components/cpsl-button/cpsl-button.css +113 -17
  64. package/dist/collection/components/cpsl-button/cpsl-button.js +63 -7
  65. package/dist/collection/components/cpsl-button/cpsl-button.js.map +1 -1
  66. package/dist/collection/components/cpsl-button-group/cpsl-button-group.css +1 -0
  67. package/dist/collection/components/cpsl-button-group/cpsl-button-group.js +1 -1
  68. package/dist/collection/components/cpsl-card/cpsl-card.css +1 -1
  69. package/dist/collection/components/cpsl-card/cpsl-card.js +1 -1
  70. package/dist/collection/components/cpsl-card/cpsl-card.js.map +1 -1
  71. package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.css +2 -2
  72. package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.js +1 -1
  73. package/dist/collection/components/cpsl-code-input/cpsl-code-input.css +1 -1
  74. package/dist/collection/components/cpsl-code-input/cpsl-code-input.js +2 -2
  75. package/dist/collection/components/cpsl-code-input/cpsl-code-input.js.map +1 -1
  76. package/dist/collection/components/cpsl-col/cpsl-col.js +1 -1
  77. package/dist/collection/components/cpsl-divider/cpsl-divider.css +1 -1
  78. package/dist/collection/components/cpsl-divider/cpsl-divider.js +1 -1
  79. package/dist/collection/components/cpsl-drawer/cpsl-drawer.js +84 -11
  80. package/dist/collection/components/cpsl-drawer/cpsl-drawer.js.map +1 -1
  81. package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js +1 -1
  82. package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js.map +1 -1
  83. package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.css +211 -0
  84. package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js +406 -0
  85. package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js.map +1 -0
  86. package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.e2e.js +29 -0
  87. package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.e2e.js.map +1 -0
  88. package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.spec.js +37 -0
  89. package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.spec.js.map +1 -0
  90. package/dist/collection/components/cpsl-grid/cpsl-grid.js +2 -2
  91. package/dist/collection/components/cpsl-icon/cpsl-icon.js +2 -2
  92. package/dist/collection/components/cpsl-info-box/cpsl-info-box.css +1 -1
  93. package/dist/collection/components/cpsl-info-box/cpsl-info-box.js +1 -1
  94. package/dist/collection/components/cpsl-input/cpsl-input.css +7 -6
  95. package/dist/collection/components/cpsl-input/cpsl-input.js +3 -8
  96. package/dist/collection/components/cpsl-input/cpsl-input.js.map +1 -1
  97. package/dist/collection/components/cpsl-modal/cpsl-modal.css +4 -4
  98. package/dist/collection/components/cpsl-modal/cpsl-modal.js +1 -0
  99. package/dist/collection/components/cpsl-modal/cpsl-modal.js.map +1 -1
  100. package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.css +91 -0
  101. package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js +224 -0
  102. package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js.map +1 -0
  103. package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.e2e.js +29 -0
  104. package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.e2e.js.map +1 -0
  105. package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.spec.js +37 -0
  106. package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.spec.js.map +1 -0
  107. package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js +1 -1
  108. package/dist/collection/components/cpsl-overlay/cpsl-overlay.css +1 -1
  109. package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +1 -1
  110. package/dist/collection/components/cpsl-pagination/cpsl-pagination.css +4 -0
  111. package/dist/collection/components/cpsl-pagination/cpsl-pagination.js +1 -1
  112. package/dist/collection/components/cpsl-pagination/cpsl-pagination.js.map +1 -1
  113. package/dist/collection/components/cpsl-pill/cpsl-pill.css +1 -1
  114. package/dist/collection/components/cpsl-pill/cpsl-pill.js +1 -1
  115. package/dist/collection/components/cpsl-popover/cpsl-popover.css +98 -0
  116. package/dist/collection/components/cpsl-popover/cpsl-popover.js +511 -0
  117. package/dist/collection/components/cpsl-popover/cpsl-popover.js.map +1 -0
  118. package/dist/collection/components/cpsl-popover/test/cpsl-popover.e2e.js +29 -0
  119. package/dist/collection/components/cpsl-popover/test/cpsl-popover.e2e.js.map +1 -0
  120. package/dist/collection/components/cpsl-popover/test/cpsl-popover.spec.js +37 -0
  121. package/dist/collection/components/cpsl-popover/test/cpsl-popover.spec.js.map +1 -0
  122. package/dist/collection/components/cpsl-progress-indicator/cpsl-progress-indicator.css +3 -3
  123. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.css +1 -1
  124. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +1 -1
  125. package/dist/collection/components/cpsl-radio/cpsl-radio.css +2 -2
  126. package/dist/collection/components/cpsl-radio/cpsl-radio.js +1 -1
  127. package/dist/collection/components/cpsl-row/cpsl-row.js +1 -1
  128. package/dist/collection/components/cpsl-select/cpsl-select.css +229 -0
  129. package/dist/collection/components/cpsl-select/cpsl-select.js +409 -0
  130. package/dist/collection/components/cpsl-select/cpsl-select.js.map +1 -0
  131. package/dist/collection/components/cpsl-select/test/cpsl-select.e2e.js +29 -0
  132. package/dist/collection/components/cpsl-select/test/cpsl-select.e2e.js.map +1 -0
  133. package/dist/collection/components/cpsl-select/test/cpsl-select.spec.js +37 -0
  134. package/dist/collection/components/cpsl-select/test/cpsl-select.spec.js.map +1 -0
  135. package/dist/collection/components/cpsl-select-item/cpsl-select-item.css +114 -0
  136. package/dist/collection/components/cpsl-select-item/cpsl-select-item.js +85 -0
  137. package/dist/collection/components/cpsl-select-item/cpsl-select-item.js.map +1 -0
  138. package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.e2e.js +29 -0
  139. package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.e2e.js.map +1 -0
  140. package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.spec.js +37 -0
  141. package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.spec.js.map +1 -0
  142. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.css +3 -3
  143. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +3 -3
  144. package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +2 -2
  145. package/dist/collection/components/cpsl-switch/cpsl-switch.css +4 -4
  146. package/dist/collection/components/cpsl-switch/cpsl-switch.js +1 -1
  147. package/dist/collection/components/cpsl-tab/cpsl-tab.js +1 -1
  148. package/dist/collection/components/cpsl-table/cpsl-table.css +48 -60
  149. package/dist/collection/components/cpsl-table/cpsl-table.js +34 -58
  150. package/dist/collection/components/cpsl-table/cpsl-table.js.map +1 -1
  151. package/dist/collection/components/cpsl-tabs/cpsl-tabs.css +2 -2
  152. package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +1 -1
  153. package/dist/collection/components/cpsl-text/cpsl-text.css +4 -0
  154. package/dist/collection/components/cpsl-text/cpsl-text.js +5 -4
  155. package/dist/collection/components/cpsl-text/cpsl-text.js.map +1 -1
  156. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.css +1 -1
  157. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +2 -2
  158. package/dist/collection/constants.js +2 -2
  159. package/dist/collection/constants.js.map +1 -1
  160. package/dist/collection/interface.js.map +1 -1
  161. package/dist/collection/utils/theme/generateBorderRadii.js +40 -39
  162. package/dist/collection/utils/theme/generateBorderRadii.js.map +1 -1
  163. package/dist/collection/utils/theme/generatePalette.js +11 -3
  164. package/dist/collection/utils/theme/generatePalette.js.map +1 -1
  165. package/dist/collection/utils/theme/generateTheme.js +2 -2
  166. package/dist/collection/utils/theme/generateTheme.js.map +1 -1
  167. package/dist/collection/utils/theme/utils.js +1 -0
  168. package/dist/collection/utils/theme/utils.js.map +1 -1
  169. package/dist/esm/capsule.js +11 -11
  170. package/dist/esm/capsule.js.map +1 -1
  171. package/dist/esm/{constants-6acf4ea8.js → constants-fce138fa.js} +3 -3
  172. package/dist/esm/{constants-6acf4ea8.js.map → constants-fce138fa.js.map} +1 -1
  173. package/dist/esm/{cpsl-alert_29.entry.js → cpsl-alert_33.entry.js} +660 -95
  174. package/dist/esm/cpsl-alert_33.entry.js.map +1 -0
  175. package/dist/esm/cpsl-animation.entry.js +2 -2
  176. package/dist/esm/cpsl-col.entry.js +2 -2
  177. package/dist/esm/cpsl-grid.entry.js +3 -3
  178. package/dist/esm/cpsl-info-box.entry.js +3 -3
  179. package/dist/esm/cpsl-info-box.entry.js.map +1 -1
  180. package/dist/esm/cpsl-modal-v2.entry.js +51 -0
  181. package/dist/esm/cpsl-modal-v2.entry.js.map +1 -0
  182. package/dist/esm/cpsl-row.entry.js +2 -2
  183. package/dist/esm/index-b9a060b3.js +1383 -0
  184. package/dist/esm/index-b9a060b3.js.map +1 -0
  185. package/dist/esm/index.js +116 -107
  186. package/dist/esm/index.js.map +1 -1
  187. package/dist/esm/loader.js +3 -3
  188. package/dist/loader/cdn.js +1 -3
  189. package/dist/loader/index.cjs.js +1 -3
  190. package/dist/loader/index.es2017.js +1 -3
  191. package/dist/loader/index.js +1 -3
  192. package/dist/types/assets/icons/index.d.ts +8 -0
  193. package/dist/types/components/cpsl-app-bar/cpsl-app-bar.d.ts +1 -0
  194. package/dist/types/components/cpsl-button/cpsl-button.d.ts +4 -1
  195. package/dist/types/components/cpsl-drawer/cpsl-drawer.d.ts +10 -1
  196. package/dist/types/components/cpsl-file-upload/cpsl-file-upload.d.ts +34 -0
  197. package/dist/types/components/cpsl-input/cpsl-input.d.ts +1 -1
  198. package/dist/types/components/cpsl-modal-v2/cpsl-modal-v2.d.ts +17 -0
  199. package/dist/types/components/cpsl-popover/cpsl-popover.d.ts +35 -0
  200. package/dist/types/components/cpsl-select/cpsl-select.d.ts +38 -0
  201. package/dist/types/components/cpsl-select-item/cpsl-select-item.d.ts +8 -0
  202. package/dist/types/components/cpsl-table/cpsl-table.d.ts +6 -3
  203. package/dist/types/components/cpsl-text/cpsl-text.d.ts +1 -1
  204. package/dist/types/components.d.ts +596 -28
  205. package/dist/types/constants.d.ts +2 -2
  206. package/dist/types/interface.d.ts +68 -1
  207. package/dist/types/stencil-public-runtime.d.ts +3 -8
  208. package/dist/types/utils/theme/generateBorderRadii.d.ts +1 -1
  209. package/dist/types/utils/theme/generateTheme.d.ts +1 -1
  210. package/dist/types/utils/theme/utils.d.ts +4 -1
  211. package/package.json +2 -2
  212. package/dist/capsule/p-107e1ff5.entry.js +0 -29
  213. package/dist/capsule/p-107e1ff5.entry.js.map +0 -1
  214. package/dist/capsule/p-86e48e61.js +0 -3
  215. package/dist/capsule/p-86e48e61.js.map +0 -1
  216. package/dist/capsule/p-ad14a817.entry.js +0 -2
  217. package/dist/capsule/p-b6b38e73.js +0 -2
  218. package/dist/capsule/p-b6b38e73.js.map +0 -1
  219. package/dist/capsule/p-d28b96ba.entry.js +0 -10
  220. package/dist/capsule/p-fcead80b.entry.js +0 -2
  221. package/dist/cjs/cpsl-alert_29.cjs.entry.js.map +0 -1
  222. package/dist/cjs/index-5733071e.js +0 -2020
  223. package/dist/cjs/index-5733071e.js.map +0 -1
  224. package/dist/collection/components/cpsl-table/table-interface.js +0 -2
  225. package/dist/collection/components/cpsl-table/table-interface.js.map +0 -1
  226. package/dist/esm/cpsl-alert_29.entry.js.map +0 -1
  227. package/dist/esm/index-8fe9f35e.js +0 -1990
  228. package/dist/esm/index-8fe9f35e.js.map +0 -1
  229. package/dist/esm/polyfills/core-js.js +0 -11
  230. package/dist/esm/polyfills/dom.js +0 -79
  231. package/dist/esm/polyfills/es5-html-element.js +0 -1
  232. package/dist/esm/polyfills/index.js +0 -34
  233. package/dist/esm/polyfills/system.js +0 -6
  234. package/dist/types/components/cpsl-table/table-interface.d.ts +0 -19
@@ -253,6 +253,7 @@ export declare const Icons: {
253
253
  clubhouseBrand: string;
254
254
  clubhouse: string;
255
255
  copy: string;
256
+ cube: string;
256
257
  decentBrand: string;
257
258
  decent: string;
258
259
  discordBrand: string;
@@ -265,6 +266,8 @@ export declare const Icons: {
265
266
  eye: string;
266
267
  facebookBrand: string;
267
268
  facebook: string;
269
+ farcasterBrand: string;
270
+ farcaster: string;
268
271
  figmaBrand: string;
269
272
  figma: string;
270
273
  file: string;
@@ -279,6 +282,7 @@ export declare const Icons: {
279
282
  heroPhone: string;
280
283
  heroWallet: string;
281
284
  home: string;
285
+ image: string;
282
286
  infoCircle: string;
283
287
  instagramBrand: string;
284
288
  instagram: string;
@@ -288,6 +292,7 @@ export declare const Icons: {
288
292
  linkedinBrand: string;
289
293
  linkedin: string;
290
294
  mail: string;
295
+ menu: string;
291
296
  moreLoginOptions: string;
292
297
  phone: string;
293
298
  pintrestBrand: string;
@@ -297,11 +302,13 @@ export declare const Icons: {
297
302
  rampNetwork: string;
298
303
  redditBrand: string;
299
304
  reddit: string;
305
+ refresh: string;
300
306
  settings: string;
301
307
  signalBrand: string;
302
308
  signal: string;
303
309
  snapchatBrand: string;
304
310
  snapchat: string;
311
+ stars: string;
305
312
  telegramBrand: string;
306
313
  telegram: string;
307
314
  tikTokBrand: string;
@@ -311,6 +318,7 @@ export declare const Icons: {
311
318
  twitterBrand: string;
312
319
  twitter: string;
313
320
  wallet: string;
321
+ x: string;
314
322
  youtubeBrand: string;
315
323
  youtube: string;
316
324
  };
@@ -1,5 +1,6 @@
1
1
  export declare class CpslAppBar {
2
2
  height: number;
3
3
  position?: 'fixed' | 'static';
4
+ zIndexOverride?: number;
4
5
  render(): any;
5
6
  }
@@ -1,7 +1,10 @@
1
1
  export declare class CpslButton {
2
+ as?: 'button' | 'a';
2
3
  disabled?: boolean;
3
4
  fullWidth?: boolean;
5
+ href?: string;
4
6
  size?: 'small' | 'medium';
5
- variant?: 'primary' | 'secondary' | 'icon';
7
+ target?: string;
8
+ variant?: 'primary' | 'secondary' | 'ghost' | 'destructive';
6
9
  render(): any;
7
10
  }
@@ -1,9 +1,18 @@
1
1
  export declare class CpslDrawer {
2
+ el: HTMLCpslDrawerElement;
3
+ closedAnchorPosition?: string;
4
+ showTransition: boolean;
2
5
  anchor: 'top' | 'bottom' | 'left' | 'right';
6
+ anchorPosition?: number;
7
+ noOverlay?: boolean;
3
8
  open: boolean;
4
- size: number;
9
+ size: number | 'auto';
5
10
  transitionDuration?: number;
6
11
  transitionFunction?: string;
7
12
  variant?: 'temporary' | 'permanent';
13
+ zIndexOverride?: number;
14
+ componentDidLoad(): void;
15
+ private getContainerHeight;
16
+ private get containerEl();
8
17
  render(): any;
9
18
  }
@@ -0,0 +1,34 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class CpslFileUpload {
3
+ el: HTMLCpslFileUploadElement;
4
+ private inputId;
5
+ file?: File;
6
+ dragOver?: boolean;
7
+ dragError?: boolean;
8
+ isUploading?: boolean;
9
+ uploadError?: boolean;
10
+ errorText?: string;
11
+ externalFilename?: string;
12
+ externalSrc?: string;
13
+ fileTypes?: string[];
14
+ helperText?: string;
15
+ label?: string;
16
+ required: boolean;
17
+ showOptionalLabel: boolean;
18
+ uploadFile?: (file: File) => Promise<boolean>;
19
+ cpslOnDrop: EventEmitter<DragEvent>;
20
+ cpslOnDragEnter: EventEmitter<DragEvent>;
21
+ cpslOnDragLeave: EventEmitter<DragEvent>;
22
+ cpslFileChange: EventEmitter<File>;
23
+ cpslFileRemoved: EventEmitter<void>;
24
+ private handleDrop;
25
+ private handleDragEnter;
26
+ private handleDragLeave;
27
+ private handleInputChange;
28
+ private isValidFile;
29
+ private addFile;
30
+ private removeFile;
31
+ get inputEl(): HTMLInputElement;
32
+ get FileContent(): any;
33
+ render(): any;
34
+ }
@@ -2,6 +2,7 @@ import { EventEmitter } from '../../stencil-public-runtime';
2
2
  import { AutocompleteTypes, IconType, TextFieldTypes } from '../../interface';
3
3
  import { InputChangeEventDetail, InputInputEventDetail } from './input-interface';
4
4
  export declare class CpslInput {
5
+ private nativeInput?;
5
6
  el: HTMLCpslInputElement;
6
7
  private inputId;
7
8
  private focusedValue?;
@@ -52,7 +53,6 @@ export declare class CpslInput {
52
53
  private onFocus;
53
54
  private onPaste;
54
55
  private focusInput;
55
- private get nativeInput();
56
56
  private get startEl();
57
57
  private get endEl();
58
58
  render(): any;
@@ -0,0 +1,17 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class CpslModalV2 {
3
+ el: HTMLCpslModalV2Element;
4
+ enterTransitionDuration?: number;
5
+ exitTransitionDuration?: number;
6
+ elevated: boolean;
7
+ noOverlay: boolean;
8
+ open: boolean;
9
+ zIndexOverride?: number;
10
+ cpslModalEntering: EventEmitter<null>;
11
+ cpslModalEntered: EventEmitter<null>;
12
+ cpslModalExiting: EventEmitter<null>;
13
+ cpslModalExited: EventEmitter<null>;
14
+ toggleHeight(): void;
15
+ componentDidLoad(): void;
16
+ render(): any;
17
+ }
@@ -0,0 +1,35 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class CpslPopover {
3
+ private triggerEl?;
4
+ private destroyTriggerInteraction?;
5
+ el: HTMLCpslPopoverElement;
6
+ open: boolean;
7
+ private triggerClicked;
8
+ positionX?: number;
9
+ positionY?: number;
10
+ anchorEl?: HTMLElement;
11
+ anchorOriginHorizontal?: 'left' | 'center' | 'right';
12
+ anchorOriginVertical?: 'top' | 'center' | 'bottom';
13
+ autoWidth?: boolean;
14
+ disabled: boolean;
15
+ preventBlur: boolean;
16
+ transformOriginHorizontal?: 'left' | 'center' | 'right';
17
+ transformOriginVertical?: 'top' | 'center' | 'bottom';
18
+ triggerAction: 'click' | 'hover';
19
+ trigger: string;
20
+ windowPadding?: number;
21
+ cpslOpen: EventEmitter<void>;
22
+ cpslClose: EventEmitter<void>;
23
+ closePopover(): Promise<void>;
24
+ onTriggerChange(): void;
25
+ onAnchorChange(): void;
26
+ onOpenChange(): void;
27
+ componentDidLoad(): void;
28
+ private configureTriggerInteraction;
29
+ private setPosition;
30
+ private handleClickOutside;
31
+ private present;
32
+ private close;
33
+ get containerEl(): HTMLElement;
34
+ render(): any;
35
+ }
@@ -0,0 +1,38 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class CpslSelect {
3
+ el: HTMLCpslSelectElement;
4
+ private popoverEl;
5
+ private inputId;
6
+ anchorEl: HTMLDivElement;
7
+ hasFocus: boolean;
8
+ popoverOpen: boolean;
9
+ hasSelectedItem: boolean;
10
+ disabled: boolean;
11
+ dropdownMaxHeight?: number;
12
+ errorText?: string;
13
+ formatValue?: (value: string) => string;
14
+ helperText?: string;
15
+ id: string;
16
+ label?: string;
17
+ placeholder?: string;
18
+ required: boolean;
19
+ selectedValue?: string;
20
+ showFormattedSelectedItem?: boolean;
21
+ showOptionalLabel: boolean;
22
+ cpslBlur: EventEmitter<FocusEvent>;
23
+ cpslFocus: EventEmitter<FocusEvent>;
24
+ cpslSelectValueChange: EventEmitter<string>;
25
+ onValueChange(): void;
26
+ handleValueChange(): void;
27
+ selectItemClickHandler(event: CustomEvent<string>): void;
28
+ onPopoverOpen(): void;
29
+ onPopoverClose(): void;
30
+ componentDidLoad(): void;
31
+ private onBlur;
32
+ private onFocus;
33
+ private handleEnterPress;
34
+ private selectItem;
35
+ private handleClickOutside;
36
+ private handleClick;
37
+ render(): any;
38
+ }
@@ -0,0 +1,8 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class CpslSelectItem {
3
+ selected?: boolean;
4
+ value: string;
5
+ cpslSelectItemClick: EventEmitter<string>;
6
+ private handleItemClick;
7
+ render(): any;
8
+ }
@@ -1,9 +1,12 @@
1
- import { ColDef, RowDef } from './table-interface';
2
1
  export declare class CpslTable {
3
2
  el: HTMLCpslTableElement;
4
- columns: ColDef[];
5
- rows: RowDef[];
3
+ hasHorizontalScroll: boolean;
4
+ hasVerticalScroll: boolean;
5
+ componentDidLoad(): void;
6
+ private resizeOb;
6
7
  private get containerHeaderEl();
7
8
  private get containerFooterEl();
9
+ private get contentContainerEl();
10
+ private get containerSlotEl();
8
11
  render(): any;
9
12
  }
@@ -1,5 +1,5 @@
1
1
  export declare class CpslText {
2
- color?: 'primary' | 'secondary' | 'subtle' | 'inverted' | 'error';
2
+ color?: 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'inverted' | 'error';
3
3
  variant?: 'body2XS' | 'bodyXS' | 'bodyS' | 'bodyM' | 'bodyL' | 'bodyXL' | 'headingXS' | 'headingS' | 'headingM' | 'headingL' | 'headingXL' | 'heading2XL';
4
4
  weight?: 'regular' | 'medium' | 'semiBold' | 'bold';
5
5
  private get Content();