@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.
- package/css/capsule-core.css +93 -24
- package/css/capsule-core.css.map +1 -1
- package/dist/capsule/capsule.esm.js +1 -1
- package/dist/capsule/capsule.esm.js.map +1 -1
- package/dist/capsule/index.esm.js +1 -1
- package/dist/capsule/index.esm.js.map +1 -1
- package/dist/capsule/p-397edab5.entry.js +2 -0
- package/dist/capsule/{p-ad14a817.entry.js.map → p-397edab5.entry.js.map} +1 -1
- package/dist/capsule/p-52d6ebee.entry.js +2 -0
- package/dist/capsule/{p-fcead80b.entry.js.map → p-52d6ebee.entry.js.map} +1 -1
- package/dist/capsule/p-5ed5e96c.entry.js +2 -0
- package/dist/capsule/p-5ed5e96c.entry.js.map +1 -0
- package/dist/capsule/p-6e71539d.js +3 -0
- package/dist/capsule/p-6e71539d.js.map +1 -0
- package/dist/capsule/p-6e900654.entry.js +29 -0
- package/dist/capsule/p-6e900654.entry.js.map +1 -0
- package/dist/capsule/{p-0d0a0037.entry.js → p-70f95c93.entry.js} +2 -2
- package/dist/capsule/{p-0d0a0037.entry.js.map → p-70f95c93.entry.js.map} +1 -1
- package/dist/capsule/p-86e6cba5.entry.js +10 -0
- package/dist/capsule/{p-d28b96ba.entry.js.map → p-86e6cba5.entry.js.map} +1 -1
- package/dist/capsule/p-f2393be6.js +2 -0
- package/dist/capsule/p-f2393be6.js.map +1 -0
- package/dist/capsule/{p-fa078837.entry.js → p-f9351426.entry.js} +2 -2
- package/dist/capsule/{p-fa078837.entry.js.map → p-f9351426.entry.js.map} +1 -1
- package/dist/cjs/capsule.cjs.js +10 -10
- package/dist/cjs/capsule.cjs.js.map +1 -1
- package/dist/cjs/{constants-0869a780.js → constants-9b1b01bb.js} +3 -3
- package/dist/cjs/{constants-0869a780.js.map → constants-9b1b01bb.js.map} +1 -1
- package/dist/cjs/{cpsl-alert_29.cjs.entry.js → cpsl-alert_33.cjs.entry.js} +663 -94
- package/dist/cjs/cpsl-alert_33.cjs.entry.js.map +1 -0
- package/dist/cjs/cpsl-animation.cjs.entry.js +2 -2
- package/dist/cjs/cpsl-col.cjs.entry.js +2 -2
- package/dist/cjs/cpsl-grid.cjs.entry.js +3 -3
- package/dist/cjs/cpsl-info-box.cjs.entry.js +3 -3
- package/dist/cjs/cpsl-info-box.cjs.entry.js.map +1 -1
- package/dist/cjs/cpsl-modal-v2.cjs.entry.js +55 -0
- package/dist/cjs/cpsl-modal-v2.cjs.entry.js.map +1 -0
- package/dist/cjs/cpsl-row.cjs.entry.js +2 -2
- package/dist/cjs/index-85125285.js +1414 -0
- package/dist/cjs/index-85125285.js.map +1 -0
- package/dist/cjs/index.cjs.js +116 -107
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/assets/icons/chevron-up.svg +2 -2
- package/dist/collection/assets/icons/close.svg +3 -4
- package/dist/collection/assets/icons/cube.svg +3 -0
- package/dist/collection/assets/icons/farcaster-brand.svg +10 -0
- package/dist/collection/assets/icons/farcaster.svg +10 -0
- package/dist/collection/assets/icons/image.svg +3 -0
- package/dist/collection/assets/icons/index.js +9 -1
- package/dist/collection/assets/icons/index.js.map +1 -1
- package/dist/collection/assets/icons/menu.svg +3 -0
- package/dist/collection/assets/icons/refresh.svg +3 -0
- package/dist/collection/assets/icons/stars.svg +4 -0
- package/dist/collection/assets/icons/x.svg +3 -0
- package/dist/collection/collection-manifest.json +7 -2
- package/dist/collection/components/cpsl-alert/cpsl-alert.js +2 -2
- package/dist/collection/components/cpsl-alert/cpsl-alert.js.map +1 -1
- package/dist/collection/components/cpsl-animation/cpsl-animation.js +1 -1
- package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js +20 -4
- package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js.map +1 -1
- package/dist/collection/components/cpsl-avatar/cpsl-avatar.js +1 -1
- package/dist/collection/components/cpsl-button/cpsl-button.css +113 -17
- package/dist/collection/components/cpsl-button/cpsl-button.js +63 -7
- package/dist/collection/components/cpsl-button/cpsl-button.js.map +1 -1
- package/dist/collection/components/cpsl-button-group/cpsl-button-group.css +1 -0
- package/dist/collection/components/cpsl-button-group/cpsl-button-group.js +1 -1
- package/dist/collection/components/cpsl-card/cpsl-card.css +1 -1
- package/dist/collection/components/cpsl-card/cpsl-card.js +1 -1
- package/dist/collection/components/cpsl-card/cpsl-card.js.map +1 -1
- package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.css +2 -2
- package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.js +1 -1
- package/dist/collection/components/cpsl-code-input/cpsl-code-input.css +1 -1
- package/dist/collection/components/cpsl-code-input/cpsl-code-input.js +2 -2
- package/dist/collection/components/cpsl-code-input/cpsl-code-input.js.map +1 -1
- package/dist/collection/components/cpsl-col/cpsl-col.js +1 -1
- package/dist/collection/components/cpsl-divider/cpsl-divider.css +1 -1
- package/dist/collection/components/cpsl-divider/cpsl-divider.js +1 -1
- package/dist/collection/components/cpsl-drawer/cpsl-drawer.js +84 -11
- package/dist/collection/components/cpsl-drawer/cpsl-drawer.js.map +1 -1
- package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js +1 -1
- package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js.map +1 -1
- package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.css +211 -0
- package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js +406 -0
- package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js.map +1 -0
- package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.e2e.js +29 -0
- package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.spec.js +37 -0
- package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.spec.js.map +1 -0
- package/dist/collection/components/cpsl-grid/cpsl-grid.js +2 -2
- package/dist/collection/components/cpsl-icon/cpsl-icon.js +2 -2
- package/dist/collection/components/cpsl-info-box/cpsl-info-box.css +1 -1
- package/dist/collection/components/cpsl-info-box/cpsl-info-box.js +1 -1
- package/dist/collection/components/cpsl-input/cpsl-input.css +7 -6
- package/dist/collection/components/cpsl-input/cpsl-input.js +3 -8
- package/dist/collection/components/cpsl-input/cpsl-input.js.map +1 -1
- package/dist/collection/components/cpsl-modal/cpsl-modal.css +4 -4
- package/dist/collection/components/cpsl-modal/cpsl-modal.js +1 -0
- package/dist/collection/components/cpsl-modal/cpsl-modal.js.map +1 -1
- package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.css +91 -0
- package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js +224 -0
- package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js.map +1 -0
- package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.e2e.js +29 -0
- package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.spec.js +37 -0
- package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.spec.js.map +1 -0
- package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js +1 -1
- package/dist/collection/components/cpsl-overlay/cpsl-overlay.css +1 -1
- package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +1 -1
- package/dist/collection/components/cpsl-pagination/cpsl-pagination.css +4 -0
- package/dist/collection/components/cpsl-pagination/cpsl-pagination.js +1 -1
- package/dist/collection/components/cpsl-pagination/cpsl-pagination.js.map +1 -1
- package/dist/collection/components/cpsl-pill/cpsl-pill.css +1 -1
- package/dist/collection/components/cpsl-pill/cpsl-pill.js +1 -1
- package/dist/collection/components/cpsl-popover/cpsl-popover.css +98 -0
- package/dist/collection/components/cpsl-popover/cpsl-popover.js +511 -0
- package/dist/collection/components/cpsl-popover/cpsl-popover.js.map +1 -0
- package/dist/collection/components/cpsl-popover/test/cpsl-popover.e2e.js +29 -0
- package/dist/collection/components/cpsl-popover/test/cpsl-popover.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-popover/test/cpsl-popover.spec.js +37 -0
- package/dist/collection/components/cpsl-popover/test/cpsl-popover.spec.js.map +1 -0
- package/dist/collection/components/cpsl-progress-indicator/cpsl-progress-indicator.css +3 -3
- package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.css +1 -1
- package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +1 -1
- package/dist/collection/components/cpsl-radio/cpsl-radio.css +2 -2
- package/dist/collection/components/cpsl-radio/cpsl-radio.js +1 -1
- package/dist/collection/components/cpsl-row/cpsl-row.js +1 -1
- package/dist/collection/components/cpsl-select/cpsl-select.css +229 -0
- package/dist/collection/components/cpsl-select/cpsl-select.js +409 -0
- package/dist/collection/components/cpsl-select/cpsl-select.js.map +1 -0
- package/dist/collection/components/cpsl-select/test/cpsl-select.e2e.js +29 -0
- package/dist/collection/components/cpsl-select/test/cpsl-select.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-select/test/cpsl-select.spec.js +37 -0
- package/dist/collection/components/cpsl-select/test/cpsl-select.spec.js.map +1 -0
- package/dist/collection/components/cpsl-select-item/cpsl-select-item.css +114 -0
- package/dist/collection/components/cpsl-select-item/cpsl-select-item.js +85 -0
- package/dist/collection/components/cpsl-select-item/cpsl-select-item.js.map +1 -0
- package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.e2e.js +29 -0
- package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.spec.js +37 -0
- package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.spec.js.map +1 -0
- package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.css +3 -3
- package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +3 -3
- package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +2 -2
- package/dist/collection/components/cpsl-switch/cpsl-switch.css +4 -4
- package/dist/collection/components/cpsl-switch/cpsl-switch.js +1 -1
- package/dist/collection/components/cpsl-tab/cpsl-tab.js +1 -1
- package/dist/collection/components/cpsl-table/cpsl-table.css +48 -60
- package/dist/collection/components/cpsl-table/cpsl-table.js +34 -58
- package/dist/collection/components/cpsl-table/cpsl-table.js.map +1 -1
- package/dist/collection/components/cpsl-tabs/cpsl-tabs.css +2 -2
- package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +1 -1
- package/dist/collection/components/cpsl-text/cpsl-text.css +4 -0
- package/dist/collection/components/cpsl-text/cpsl-text.js +5 -4
- package/dist/collection/components/cpsl-text/cpsl-text.js.map +1 -1
- package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.css +1 -1
- package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +2 -2
- package/dist/collection/constants.js +2 -2
- package/dist/collection/constants.js.map +1 -1
- package/dist/collection/interface.js.map +1 -1
- package/dist/collection/utils/theme/generateBorderRadii.js +40 -39
- package/dist/collection/utils/theme/generateBorderRadii.js.map +1 -1
- package/dist/collection/utils/theme/generatePalette.js +11 -3
- package/dist/collection/utils/theme/generatePalette.js.map +1 -1
- package/dist/collection/utils/theme/generateTheme.js +2 -2
- package/dist/collection/utils/theme/generateTheme.js.map +1 -1
- package/dist/collection/utils/theme/utils.js +1 -0
- package/dist/collection/utils/theme/utils.js.map +1 -1
- package/dist/esm/capsule.js +11 -11
- package/dist/esm/capsule.js.map +1 -1
- package/dist/esm/{constants-6acf4ea8.js → constants-fce138fa.js} +3 -3
- package/dist/esm/{constants-6acf4ea8.js.map → constants-fce138fa.js.map} +1 -1
- package/dist/esm/{cpsl-alert_29.entry.js → cpsl-alert_33.entry.js} +660 -95
- package/dist/esm/cpsl-alert_33.entry.js.map +1 -0
- package/dist/esm/cpsl-animation.entry.js +2 -2
- package/dist/esm/cpsl-col.entry.js +2 -2
- package/dist/esm/cpsl-grid.entry.js +3 -3
- package/dist/esm/cpsl-info-box.entry.js +3 -3
- package/dist/esm/cpsl-info-box.entry.js.map +1 -1
- package/dist/esm/cpsl-modal-v2.entry.js +51 -0
- package/dist/esm/cpsl-modal-v2.entry.js.map +1 -0
- package/dist/esm/cpsl-row.entry.js +2 -2
- package/dist/esm/index-b9a060b3.js +1383 -0
- package/dist/esm/index-b9a060b3.js.map +1 -0
- package/dist/esm/index.js +116 -107
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/loader/cdn.js +1 -3
- package/dist/loader/index.cjs.js +1 -3
- package/dist/loader/index.es2017.js +1 -3
- package/dist/loader/index.js +1 -3
- package/dist/types/assets/icons/index.d.ts +8 -0
- package/dist/types/components/cpsl-app-bar/cpsl-app-bar.d.ts +1 -0
- package/dist/types/components/cpsl-button/cpsl-button.d.ts +4 -1
- package/dist/types/components/cpsl-drawer/cpsl-drawer.d.ts +10 -1
- package/dist/types/components/cpsl-file-upload/cpsl-file-upload.d.ts +34 -0
- package/dist/types/components/cpsl-input/cpsl-input.d.ts +1 -1
- package/dist/types/components/cpsl-modal-v2/cpsl-modal-v2.d.ts +17 -0
- package/dist/types/components/cpsl-popover/cpsl-popover.d.ts +35 -0
- package/dist/types/components/cpsl-select/cpsl-select.d.ts +38 -0
- package/dist/types/components/cpsl-select-item/cpsl-select-item.d.ts +8 -0
- package/dist/types/components/cpsl-table/cpsl-table.d.ts +6 -3
- package/dist/types/components/cpsl-text/cpsl-text.d.ts +1 -1
- package/dist/types/components.d.ts +596 -28
- package/dist/types/constants.d.ts +2 -2
- package/dist/types/interface.d.ts +68 -1
- package/dist/types/stencil-public-runtime.d.ts +3 -8
- package/dist/types/utils/theme/generateBorderRadii.d.ts +1 -1
- package/dist/types/utils/theme/generateTheme.d.ts +1 -1
- package/dist/types/utils/theme/utils.d.ts +4 -1
- package/package.json +2 -2
- package/dist/capsule/p-107e1ff5.entry.js +0 -29
- package/dist/capsule/p-107e1ff5.entry.js.map +0 -1
- package/dist/capsule/p-86e48e61.js +0 -3
- package/dist/capsule/p-86e48e61.js.map +0 -1
- package/dist/capsule/p-ad14a817.entry.js +0 -2
- package/dist/capsule/p-b6b38e73.js +0 -2
- package/dist/capsule/p-b6b38e73.js.map +0 -1
- package/dist/capsule/p-d28b96ba.entry.js +0 -10
- package/dist/capsule/p-fcead80b.entry.js +0 -2
- package/dist/cjs/cpsl-alert_29.cjs.entry.js.map +0 -1
- package/dist/cjs/index-5733071e.js +0 -2020
- package/dist/cjs/index-5733071e.js.map +0 -1
- package/dist/collection/components/cpsl-table/table-interface.js +0 -2
- package/dist/collection/components/cpsl-table/table-interface.js.map +0 -1
- package/dist/esm/cpsl-alert_29.entry.js.map +0 -1
- package/dist/esm/index-8fe9f35e.js +0 -1990
- package/dist/esm/index-8fe9f35e.js.map +0 -1
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- 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,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
|
-
|
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
|
+
}
|
@@ -1,9 +1,12 @@
|
|
1
|
-
import { ColDef, RowDef } from './table-interface';
|
2
1
|
export declare class CpslTable {
|
3
2
|
el: HTMLCpslTableElement;
|
4
|
-
|
5
|
-
|
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();
|