@usecapsule/core-components 3.2.0-dev.1 → 3.3.0-dev.0
Sign up to get free protection for your applications and to get access to all the features.
- package/css/capsule-core.css +25 -10
- 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-a6aaf3f4.entry.js → p-0e558c7f.entry.js} +3 -3
- package/dist/capsule/p-0e558c7f.entry.js.map +1 -0
- package/dist/capsule/{p-452b9998.entry.js → p-1bd11889.entry.js} +2 -2
- package/dist/capsule/p-1bd11889.entry.js.map +1 -0
- package/dist/capsule/p-32cdf894.entry.js +2 -0
- package/dist/capsule/p-32cdf894.entry.js.map +1 -0
- package/dist/capsule/p-3b042fd1.entry.js +2 -0
- package/dist/capsule/{p-6793ef7a.entry.js.map → p-3b042fd1.entry.js.map} +1 -1
- package/dist/capsule/{p-b976b6f0.entry.js → p-41bc3c58.entry.js} +2 -2
- package/dist/capsule/{p-b976b6f0.entry.js.map → p-41bc3c58.entry.js.map} +1 -1
- package/dist/capsule/p-5965b15e.entry.js +2 -0
- package/dist/capsule/{p-f6c74d69.entry.js.map → p-5965b15e.entry.js.map} +1 -1
- package/dist/capsule/{p-447d49b9.entry.js → p-5d62e610.entry.js} +2 -2
- package/dist/capsule/{p-447d49b9.entry.js.map → p-5d62e610.entry.js.map} +1 -1
- package/dist/capsule/p-60508b1e.entry.js +20 -0
- package/dist/capsule/p-60508b1e.entry.js.map +1 -0
- package/dist/capsule/{p-6dcaee48.entry.js → p-de2a16e4.entry.js} +2 -2
- package/dist/capsule/{p-6dcaee48.entry.js.map → p-de2a16e4.entry.js.map} +1 -1
- package/dist/capsule/p-e1255160.js.map +1 -1
- package/dist/capsule/p-f2393be6.js.map +1 -1
- package/dist/capsule/p-fa6b7678.js +3 -0
- package/dist/capsule/p-fa6b7678.js.map +1 -0
- package/dist/cjs/capsule.cjs.js +10 -10
- package/dist/cjs/capsule.cjs.js.map +1 -1
- package/dist/cjs/cpsl-alert_34.cjs.entry.js +17036 -13428
- package/dist/cjs/cpsl-alert_34.cjs.entry.js.map +1 -1
- package/dist/cjs/cpsl-animation.cjs.entry.js +8 -4
- package/dist/cjs/cpsl-animation.cjs.entry.js.map +1 -1
- package/dist/cjs/cpsl-col.cjs.entry.js +25 -6
- package/dist/cjs/cpsl-col.cjs.entry.js.map +1 -1
- package/dist/cjs/cpsl-grid.cjs.entry.js +3 -3
- package/dist/cjs/cpsl-hero.cjs.entry.js +38 -0
- package/dist/cjs/cpsl-hero.cjs.entry.js.map +1 -0
- package/dist/cjs/cpsl-identicon.cjs.entry.js +2 -2
- 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 +3 -2
- package/dist/cjs/cpsl-modal-v2.cjs.entry.js.map +1 -1
- package/dist/cjs/cpsl-row.cjs.entry.js +2 -2
- package/dist/cjs/index-65f57499.js +1439 -0
- package/dist/cjs/index-65f57499.js.map +1 -0
- package/dist/cjs/index.cjs.js +47 -16
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/assets/icons/arrow-circle-broken-down-left.svg +3 -0
- package/dist/collection/assets/icons/bank.svg +3 -0
- package/dist/collection/assets/icons/credit-card.svg +3 -0
- package/dist/collection/assets/icons/dot.svg +3 -0
- package/dist/collection/assets/icons/download.svg +3 -0
- package/dist/collection/assets/icons/globe.svg +3 -0
- package/dist/collection/assets/icons/hero-alert-circle.svg +3 -0
- package/dist/collection/assets/icons/hero-checkmark-capsule.svg +11 -0
- package/dist/collection/assets/icons/hero-checkmark.svg +3 -0
- package/dist/collection/assets/icons/hero-external-connection.svg +71 -0
- package/dist/collection/assets/icons/index.js +21 -3
- package/dist/collection/assets/icons/index.js.map +1 -1
- package/dist/collection/assets/icons/link-external.svg +3 -0
- package/dist/collection/assets/icons/log-out.svg +3 -0
- package/dist/collection/assets/icons/moonpay-brand.svg +10 -0
- package/dist/collection/assets/icons/puzzle-piece.svg +3 -0
- package/dist/collection/assets/icons/qr-code-02.svg +3 -0
- package/dist/collection/assets/icons/qr-code.svg +3 -0
- package/dist/collection/assets/icons/refresh.svg +3 -3
- package/dist/collection/assets/icons/search.svg +3 -0
- package/dist/collection/assets/icons/send.svg +3 -0
- package/dist/collection/assets/icons/shield.svg +3 -0
- package/dist/collection/assets/icons/stripe-brand.svg +3 -0
- package/dist/collection/collection-manifest.json +4 -3
- package/dist/collection/components/cpsl-alert/cpsl-alert.js +3 -3
- package/dist/collection/components/cpsl-alert/cpsl-alert.js.map +1 -1
- package/dist/collection/components/cpsl-animation/cpsl-animation.js +4 -1
- package/dist/collection/components/cpsl-animation/cpsl-animation.js.map +1 -1
- package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js +5 -2
- package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js.map +1 -1
- package/dist/collection/components/{cpsl-modal/cpsl-modal.css → cpsl-auth-modal/cpsl-auth-modal.css} +33 -58
- package/dist/collection/components/{cpsl-modal/cpsl-modal.js → cpsl-auth-modal/cpsl-auth-modal.js} +13 -131
- package/dist/collection/components/cpsl-auth-modal/cpsl-auth-modal.js.map +1 -0
- package/dist/collection/components/cpsl-avatar/cpsl-avatar.js +1 -1
- package/dist/collection/components/cpsl-button/cpsl-button.css +89 -2
- package/dist/collection/components/cpsl-button/cpsl-button.js +9 -5
- package/dist/collection/components/cpsl-button/cpsl-button.js.map +1 -1
- package/dist/collection/components/cpsl-button-group/cpsl-button-group.js +2 -2
- package/dist/collection/components/cpsl-button-group/cpsl-button-group.js.map +1 -1
- package/dist/collection/components/cpsl-card/cpsl-card.css +5 -2
- package/dist/collection/components/cpsl-card/cpsl-card.js +1 -1
- package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.js +1 -1
- package/dist/collection/components/cpsl-code-input/cpsl-code-input.css +3 -0
- package/dist/collection/components/cpsl-code-input/cpsl-code-input.js +13 -7
- package/dist/collection/components/cpsl-code-input/cpsl-code-input.js.map +1 -1
- package/dist/collection/components/cpsl-col/cpsl-col.js +21 -5
- package/dist/collection/components/cpsl-col/cpsl-col.js.map +1 -1
- package/dist/collection/components/cpsl-divider/cpsl-divider.css +2 -1
- package/dist/collection/components/cpsl-divider/cpsl-divider.js +1 -1
- package/dist/collection/components/cpsl-drawer/cpsl-drawer.js +3 -2
- 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-dropdown/dropdown-interface.js.map +1 -1
- package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js +5 -5
- package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js.map +1 -1
- package/dist/collection/components/cpsl-grid/cpsl-grid.js +2 -2
- package/dist/collection/components/cpsl-hero/cpsl-hero.css +136 -71
- package/dist/collection/components/cpsl-hero/cpsl-hero.js +64 -9
- package/dist/collection/components/cpsl-hero/cpsl-hero.js.map +1 -1
- package/dist/collection/components/cpsl-hero/cpsl-hero.stories.js.map +1 -1
- package/dist/collection/components/cpsl-icon/cpsl-icon.css +8 -0
- package/dist/collection/components/cpsl-icon/cpsl-icon.js +2 -2
- package/dist/collection/components/cpsl-icon/cpsl-icon.js.map +1 -1
- package/dist/collection/components/cpsl-icon-group/cpsl-icon-group.css +97 -0
- package/dist/collection/components/cpsl-icon-group/cpsl-icon-group.js +121 -0
- package/dist/collection/components/cpsl-icon-group/cpsl-icon-group.js.map +1 -0
- package/dist/collection/components/cpsl-identicon/cpsl-identicon.js +1 -1
- package/dist/collection/components/cpsl-identicon/cpsl-identicon.stories.js.map +1 -1
- package/dist/collection/components/cpsl-info-box/cpsl-info-box.css +1 -2
- package/dist/collection/components/cpsl-info-box/cpsl-info-box.js +1 -1
- package/dist/collection/components/cpsl-input/cpsl-input.css +21 -2
- package/dist/collection/components/cpsl-input/cpsl-input.js +117 -11
- package/dist/collection/components/cpsl-input/cpsl-input.js.map +1 -1
- package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js +2 -1
- package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js.map +1 -1
- package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js +2 -2
- package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js.map +1 -1
- package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +2 -1
- package/dist/collection/components/cpsl-overlay/cpsl-overlay.js.map +1 -1
- 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.js +1 -1
- package/dist/collection/components/cpsl-popover/cpsl-popover.css +2 -0
- package/dist/collection/components/cpsl-popover/cpsl-popover.js +16 -6
- package/dist/collection/components/cpsl-popover/cpsl-popover.js.map +1 -1
- package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.css +12 -3
- package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +28 -23
- package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js.map +1 -1
- 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 +17 -0
- package/dist/collection/components/cpsl-select/cpsl-select.js +96 -4
- package/dist/collection/components/cpsl-select/cpsl-select.js.map +1 -1
- package/dist/collection/components/cpsl-select-item/cpsl-select-item.js +1 -1
- package/dist/collection/components/cpsl-select-item/cpsl-select-item.js.map +1 -1
- package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +14 -3
- package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js.map +1 -1
- package/dist/collection/components/cpsl-spinner/cpsl-spinner.css +30 -8
- package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +5 -7
- package/dist/collection/components/cpsl-spinner/cpsl-spinner.js.map +1 -1
- package/dist/collection/components/cpsl-switch/cpsl-switch.js +1 -1
- package/dist/collection/components/cpsl-tab/cpsl-tab.css +24 -1
- package/dist/collection/components/cpsl-tab/cpsl-tab.js +1 -1
- package/dist/collection/components/cpsl-tab/cpsl-tab.js.map +1 -1
- package/dist/collection/components/cpsl-table/cpsl-table.js +3 -1
- package/dist/collection/components/cpsl-table/cpsl-table.js.map +1 -1
- package/dist/collection/components/cpsl-tabs/cpsl-tabs.css +1 -4
- package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +5 -2
- package/dist/collection/components/cpsl-tabs/cpsl-tabs.js.map +1 -1
- package/dist/collection/components/cpsl-text/cpsl-text.css +19 -0
- package/dist/collection/components/cpsl-text/cpsl-text.js +7 -3
- package/dist/collection/components/cpsl-text/cpsl-text.js.map +1 -1
- package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.css +3 -1
- package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +2 -2
- package/dist/collection/interface.js.map +1 -1
- package/dist/collection/utils/media.js +3 -0
- package/dist/collection/utils/media.js.map +1 -1
- package/dist/collection/utils/theme/generateBorderRadii.js +4 -3
- package/dist/collection/utils/theme/generateBorderRadii.js.map +1 -1
- package/dist/collection/utils/theme/generateFont.js +1 -1
- package/dist/collection/utils/theme/generateFont.js.map +1 -1
- package/dist/collection/utils/theme/generatePalette.js +28 -9
- package/dist/collection/utils/theme/generatePalette.js.map +1 -1
- package/dist/collection/utils/theme/generateTheme.js +13 -3
- 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/cpsl-alert_34.entry.js +17036 -13428
- package/dist/esm/cpsl-alert_34.entry.js.map +1 -1
- package/dist/esm/cpsl-animation.entry.js +7 -3
- package/dist/esm/cpsl-animation.entry.js.map +1 -1
- package/dist/esm/cpsl-col.entry.js +25 -6
- package/dist/esm/cpsl-col.entry.js.map +1 -1
- package/dist/esm/cpsl-grid.entry.js +3 -3
- package/dist/esm/cpsl-hero.entry.js +34 -0
- package/dist/esm/cpsl-hero.entry.js.map +1 -0
- package/dist/esm/cpsl-identicon.entry.js +2 -2
- 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 +3 -2
- package/dist/esm/cpsl-modal-v2.entry.js.map +1 -1
- package/dist/esm/cpsl-row.entry.js +2 -2
- package/dist/esm/index-91db3414.js +1408 -0
- package/dist/esm/index-91db3414.js.map +1 -0
- package/dist/esm/index.js +47 -16
- 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.d.ts +3 -0
- package/dist/loader/index.es2017.js +1 -3
- package/dist/loader/index.js +1 -3
- package/dist/scripts/buildAssets.js +1 -1
- package/dist/types/assets/icons/index.d.ts +20 -2
- package/dist/types/components/cpsl-alert/cpsl-alert.d.ts +8 -0
- package/dist/types/components/cpsl-animation/cpsl-animation.d.ts +6 -0
- package/dist/types/components/cpsl-app-bar/cpsl-app-bar.d.ts +10 -0
- package/dist/types/components/cpsl-auth-modal/cpsl-auth-modal.d.ts +58 -0
- package/dist/types/components/cpsl-avatar/cpsl-avatar.d.ts +11 -0
- package/dist/types/components/cpsl-button/cpsl-button.d.ts +30 -1
- package/dist/types/components/cpsl-button-group/cpsl-button-group.d.ts +3 -0
- package/dist/types/components/cpsl-checkbox/cpsl-checkbox.d.ts +6 -0
- package/dist/types/components/cpsl-code-input/cpsl-code-input.d.ts +19 -0
- package/dist/types/components/cpsl-col/cpsl-col.d.ts +96 -0
- package/dist/types/components/cpsl-drawer/cpsl-drawer.d.ts +31 -0
- package/dist/types/components/cpsl-dropdown/cpsl-dropdown.d.ts +15 -0
- package/dist/types/components/cpsl-dropdown/dropdown-interface.d.ts +1 -1
- package/dist/types/components/cpsl-file-upload/cpsl-file-upload.d.ts +43 -0
- package/dist/types/components/cpsl-grid/cpsl-grid.d.ts +3 -0
- package/dist/types/components/cpsl-hero/cpsl-hero.d.ts +21 -1
- package/dist/types/components/cpsl-icon/cpsl-icon.d.ts +6 -0
- package/dist/types/components/cpsl-icon-group/cpsl-icon-group.d.ts +20 -0
- package/dist/types/components/cpsl-identicon/cpsl-identicon.d.ts +4 -0
- package/dist/types/components/cpsl-input/cpsl-input.d.ts +148 -0
- package/dist/types/components/cpsl-input/input-interface.d.ts +5 -0
- package/dist/types/components/cpsl-modal-v2/cpsl-modal-v2.d.ts +32 -0
- package/dist/types/components/cpsl-nav-button-group/cpsl-nav-button-group.d.ts +3 -0
- package/dist/types/components/cpsl-overlay/cpsl-overlay.d.ts +14 -0
- package/dist/types/components/cpsl-pagination/cpsl-pagination.d.ts +15 -0
- package/dist/types/components/cpsl-pill/cpsl-pill.d.ts +3 -0
- package/dist/types/components/cpsl-popover/cpsl-popover.d.ts +53 -0
- package/dist/types/components/cpsl-progress-indicator/cpsl-progress-indicator.d.ts +6 -0
- package/dist/types/components/cpsl-qr-code/cpsl-qr-code.d.ts +11 -0
- package/dist/types/components/cpsl-radio/cpsl-radio.d.ts +6 -0
- package/dist/types/components/cpsl-select/cpsl-select.d.ts +67 -1
- package/dist/types/components/cpsl-select-item/cpsl-select-item.d.ts +10 -0
- package/dist/types/components/cpsl-slide-button/cpsl-slide-button.d.ts +18 -0
- package/dist/types/components/cpsl-spinner/cpsl-spinner.d.ts +8 -0
- package/dist/types/components/cpsl-switch/cpsl-switch.d.ts +6 -0
- package/dist/types/components/cpsl-tab/cpsl-tab.d.ts +11 -0
- package/dist/types/components/cpsl-tabs/cpsl-tabs.d.ts +13 -0
- package/dist/types/components/cpsl-text/cpsl-text.d.ts +16 -1
- package/dist/types/components/cpsl-tile-button/cpsl-tile-button.d.ts +6 -0
- package/dist/types/components.d.ts +216 -118
- package/dist/types/interface.d.ts +13 -0
- package/dist/types/stencil-public-runtime.d.ts +3 -10
- package/dist/types/utils/theme/generatePalette.d.ts +4 -2
- package/dist/types/utils/theme/generateTheme.d.ts +5 -1
- package/package.json +6 -12
- package/readme.md +47 -2
- package/dist/capsule/p-0462f723.js +0 -2
- package/dist/capsule/p-0462f723.js.map +0 -1
- package/dist/capsule/p-303e6e89.entry.js +0 -29
- package/dist/capsule/p-303e6e89.entry.js.map +0 -1
- package/dist/capsule/p-452b9998.entry.js.map +0 -1
- package/dist/capsule/p-6793ef7a.entry.js +0 -2
- package/dist/capsule/p-7dde3172.js +0 -3
- package/dist/capsule/p-7dde3172.js.map +0 -1
- package/dist/capsule/p-a6aaf3f4.entry.js.map +0 -1
- package/dist/capsule/p-f6c74d69.entry.js +0 -2
- package/dist/cjs/_commonjsHelpers-b3309d7b.js +0 -12
- package/dist/cjs/_commonjsHelpers-b3309d7b.js.map +0 -1
- package/dist/cjs/index-528f7428.js +0 -2107
- package/dist/cjs/index-528f7428.js.map +0 -1
- package/dist/collection/assets/icons/double-arc.svg +0 -13
- package/dist/collection/assets/icons/single-arc.svg +0 -11
- package/dist/collection/components/cpsl-alert/test/cpsl-alert.e2e.js +0 -29
- package/dist/collection/components/cpsl-alert/test/cpsl-alert.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-alert/test/cpsl-alert.spec.js +0 -37
- package/dist/collection/components/cpsl-alert/test/cpsl-alert.spec.js.map +0 -1
- package/dist/collection/components/cpsl-animation/test/cpsl-animation.e2e.js +0 -29
- package/dist/collection/components/cpsl-animation/test/cpsl-animation.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-animation/test/cpsl-animation.spec.js +0 -37
- package/dist/collection/components/cpsl-animation/test/cpsl-animation.spec.js.map +0 -1
- package/dist/collection/components/cpsl-app-bar/test/cpsl-app-bar.e2e.js +0 -29
- package/dist/collection/components/cpsl-app-bar/test/cpsl-app-bar.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-app-bar/test/cpsl-app-bar.spec.js +0 -37
- package/dist/collection/components/cpsl-app-bar/test/cpsl-app-bar.spec.js.map +0 -1
- package/dist/collection/components/cpsl-avatar/test/cpsl-avatar.e2e.js +0 -29
- package/dist/collection/components/cpsl-avatar/test/cpsl-avatar.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-avatar/test/cpsl-avatar.spec.js +0 -37
- package/dist/collection/components/cpsl-avatar/test/cpsl-avatar.spec.js.map +0 -1
- package/dist/collection/components/cpsl-button/test/cpsl-button.e2e.js +0 -29
- package/dist/collection/components/cpsl-button/test/cpsl-button.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-button/test/cpsl-button.spec.js +0 -37
- package/dist/collection/components/cpsl-button/test/cpsl-button.spec.js.map +0 -1
- package/dist/collection/components/cpsl-button-group/test/cpsl-button-group.e2e.js +0 -29
- package/dist/collection/components/cpsl-button-group/test/cpsl-button-group.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-button-group/test/cpsl-button-group.spec.js +0 -37
- package/dist/collection/components/cpsl-button-group/test/cpsl-button-group.spec.js.map +0 -1
- package/dist/collection/components/cpsl-card/test/cpsl-card.e2e.js +0 -29
- package/dist/collection/components/cpsl-card/test/cpsl-card.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-card/test/cpsl-card.spec.js +0 -37
- package/dist/collection/components/cpsl-card/test/cpsl-card.spec.js.map +0 -1
- package/dist/collection/components/cpsl-checkbox/test/cpsl-checkbox.e2e.js +0 -29
- package/dist/collection/components/cpsl-checkbox/test/cpsl-checkbox.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-checkbox/test/cpsl-checkbox.spec.js +0 -37
- package/dist/collection/components/cpsl-checkbox/test/cpsl-checkbox.spec.js.map +0 -1
- package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.e2e.js +0 -29
- package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.spec.js +0 -37
- package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.spec.js.map +0 -1
- package/dist/collection/components/cpsl-col/test/cpsl-col.e2e.js +0 -29
- package/dist/collection/components/cpsl-col/test/cpsl-col.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-col/test/cpsl-col.spec.js +0 -37
- package/dist/collection/components/cpsl-col/test/cpsl-col.spec.js.map +0 -1
- package/dist/collection/components/cpsl-divider/test/cpsl-divider.e2e.js +0 -29
- package/dist/collection/components/cpsl-divider/test/cpsl-divider.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-divider/test/cpsl-divider.spec.js +0 -37
- package/dist/collection/components/cpsl-divider/test/cpsl-divider.spec.js.map +0 -1
- package/dist/collection/components/cpsl-drawer/test/cpsl-drawer.e2e.js +0 -29
- package/dist/collection/components/cpsl-drawer/test/cpsl-drawer.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-drawer/test/cpsl-drawer.spec.js +0 -37
- package/dist/collection/components/cpsl-drawer/test/cpsl-drawer.spec.js.map +0 -1
- package/dist/collection/components/cpsl-dropdown/test/cpsl-dropdown.e2e.js +0 -29
- package/dist/collection/components/cpsl-dropdown/test/cpsl-dropdown.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-dropdown/test/cpsl-dropdown.spec.js +0 -37
- package/dist/collection/components/cpsl-dropdown/test/cpsl-dropdown.spec.js.map +0 -1
- package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.e2e.js +0 -29
- package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.spec.js +0 -37
- package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.spec.js.map +0 -1
- package/dist/collection/components/cpsl-grid/test/cpsl-grid.e2e.js +0 -29
- package/dist/collection/components/cpsl-grid/test/cpsl-grid.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-grid/test/cpsl-grid.spec.js +0 -37
- package/dist/collection/components/cpsl-grid/test/cpsl-grid.spec.js.map +0 -1
- package/dist/collection/components/cpsl-hero/test/cpsl-hero.e2e.js +0 -29
- package/dist/collection/components/cpsl-hero/test/cpsl-hero.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-hero/test/cpsl-hero.spec.js +0 -37
- package/dist/collection/components/cpsl-hero/test/cpsl-hero.spec.js.map +0 -1
- package/dist/collection/components/cpsl-icon/test/cpsl-icon.e2e.js +0 -29
- package/dist/collection/components/cpsl-icon/test/cpsl-icon.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-icon/test/cpsl-icon.spec.js +0 -37
- package/dist/collection/components/cpsl-icon/test/cpsl-icon.spec.js.map +0 -1
- package/dist/collection/components/cpsl-identicon/test/cpsl-identicon.e2e.js +0 -29
- package/dist/collection/components/cpsl-identicon/test/cpsl-identicon.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-identicon/test/cpsl-identicon.spec.js +0 -37
- package/dist/collection/components/cpsl-identicon/test/cpsl-identicon.spec.js.map +0 -1
- package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.e2e.js +0 -29
- package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.spec.js +0 -37
- package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.spec.js.map +0 -1
- package/dist/collection/components/cpsl-input/test/cpsl-input.e2e.js +0 -29
- package/dist/collection/components/cpsl-input/test/cpsl-input.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-input/test/cpsl-input.spec.js +0 -37
- package/dist/collection/components/cpsl-input/test/cpsl-input.spec.js.map +0 -1
- package/dist/collection/components/cpsl-modal/cpsl-modal.js.map +0 -1
- package/dist/collection/components/cpsl-modal/test/cpsl-modal.e2e.js +0 -29
- package/dist/collection/components/cpsl-modal/test/cpsl-modal.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-modal/test/cpsl-modal.spec.js +0 -37
- package/dist/collection/components/cpsl-modal/test/cpsl-modal.spec.js.map +0 -1
- package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.e2e.js +0 -29
- package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.spec.js +0 -37
- package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.spec.js.map +0 -1
- package/dist/collection/components/cpsl-nav-button-group/test/cpsl-nav-button-group.e2e.js +0 -29
- package/dist/collection/components/cpsl-nav-button-group/test/cpsl-nav-button-group.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-nav-button-group/test/cpsl-nav-button-group.spec.js +0 -37
- package/dist/collection/components/cpsl-nav-button-group/test/cpsl-nav-button-group.spec.js.map +0 -1
- package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.e2e.js +0 -29
- package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.spec.js +0 -37
- package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.spec.js.map +0 -1
- package/dist/collection/components/cpsl-pagination/test/cpsl-pagination.e2e.js +0 -29
- package/dist/collection/components/cpsl-pagination/test/cpsl-pagination.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-pagination/test/cpsl-pagination.spec.js +0 -37
- package/dist/collection/components/cpsl-pagination/test/cpsl-pagination.spec.js.map +0 -1
- package/dist/collection/components/cpsl-pill/test/cpsl-pill.e2e.js +0 -29
- package/dist/collection/components/cpsl-pill/test/cpsl-pill.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-pill/test/cpsl-pill.spec.js +0 -37
- package/dist/collection/components/cpsl-pill/test/cpsl-pill.spec.js.map +0 -1
- package/dist/collection/components/cpsl-popover/test/cpsl-popover.e2e.js +0 -29
- package/dist/collection/components/cpsl-popover/test/cpsl-popover.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-popover/test/cpsl-popover.spec.js +0 -37
- package/dist/collection/components/cpsl-popover/test/cpsl-popover.spec.js.map +0 -1
- package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.e2e.js +0 -29
- package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.spec.js +0 -37
- package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.spec.js.map +0 -1
- package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.e2e.js +0 -29
- package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.spec.js +0 -37
- package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.spec.js.map +0 -1
- package/dist/collection/components/cpsl-radio/test/cpsl-radio.e2e.js +0 -29
- package/dist/collection/components/cpsl-radio/test/cpsl-radio.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-radio/test/cpsl-radio.spec.js +0 -37
- package/dist/collection/components/cpsl-radio/test/cpsl-radio.spec.js.map +0 -1
- package/dist/collection/components/cpsl-row/test/cpsl-row.e2e.js +0 -29
- package/dist/collection/components/cpsl-row/test/cpsl-row.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-row/test/cpsl-row.spec.js +0 -37
- package/dist/collection/components/cpsl-row/test/cpsl-row.spec.js.map +0 -1
- package/dist/collection/components/cpsl-select/test/cpsl-select.e2e.js +0 -29
- package/dist/collection/components/cpsl-select/test/cpsl-select.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-select/test/cpsl-select.spec.js +0 -37
- package/dist/collection/components/cpsl-select/test/cpsl-select.spec.js.map +0 -1
- package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.e2e.js +0 -29
- package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.spec.js +0 -37
- package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.spec.js.map +0 -1
- package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.e2e.js +0 -29
- package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.spec.js +0 -37
- package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.spec.js.map +0 -1
- package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.e2e.js +0 -29
- package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.spec.js +0 -37
- package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.spec.js.map +0 -1
- package/dist/collection/components/cpsl-switch/test/cpsl-switch.e2e.js +0 -29
- package/dist/collection/components/cpsl-switch/test/cpsl-switch.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-switch/test/cpsl-switch.spec.js +0 -37
- package/dist/collection/components/cpsl-switch/test/cpsl-switch.spec.js.map +0 -1
- package/dist/collection/components/cpsl-tab/test/cpsl-tab.e2e.js +0 -29
- package/dist/collection/components/cpsl-tab/test/cpsl-tab.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-tab/test/cpsl-tab.spec.js +0 -37
- package/dist/collection/components/cpsl-tab/test/cpsl-tab.spec.js.map +0 -1
- package/dist/collection/components/cpsl-table/test/cpsl-table.e2e.js +0 -29
- package/dist/collection/components/cpsl-table/test/cpsl-table.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-table/test/cpsl-table.spec.js +0 -37
- package/dist/collection/components/cpsl-table/test/cpsl-table.spec.js.map +0 -1
- package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.e2e.js +0 -29
- package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.spec.js +0 -37
- package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.spec.js.map +0 -1
- package/dist/collection/components/cpsl-text/test/cpsl-text.e2e.js +0 -29
- package/dist/collection/components/cpsl-text/test/cpsl-text.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-text/test/cpsl-text.spec.js +0 -37
- package/dist/collection/components/cpsl-text/test/cpsl-text.spec.js.map +0 -1
- package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.e2e.js +0 -29
- package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.spec.js +0 -37
- package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.spec.js.map +0 -1
- package/dist/esm/_commonjsHelpers-1789f0cf.js +0 -9
- package/dist/esm/_commonjsHelpers-1789f0cf.js.map +0 -1
- package/dist/esm/index-b188f201.js +0 -2076
- package/dist/esm/index-b188f201.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-modal/cpsl-modal.d.ts +0 -39
- /package/dist/types/Users/{briancorbin/Documents/Programming/Capsule/component-library/core → norwood/capsule-repos/web-sdk/packages/core-components}/.stencil/scripts/buildAssets.d.ts +0 -0
@@ -1,15 +1,47 @@
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
2
2
|
export declare class CpslModalV2 {
|
3
3
|
el: HTMLCpslModalV2Element;
|
4
|
+
/**
|
5
|
+
* Duration in seconds of the modal entering.
|
6
|
+
* Default is .15.
|
7
|
+
*/
|
4
8
|
enterTransitionDuration?: number;
|
9
|
+
/**
|
10
|
+
* Duration in seconds of the modal exiting.
|
11
|
+
* Default is .15.
|
12
|
+
*/
|
5
13
|
exitTransitionDuration?: number;
|
14
|
+
/**
|
15
|
+
* Whether or not to show the modal with a box shadow.
|
16
|
+
*/
|
6
17
|
elevated: boolean;
|
18
|
+
/**
|
19
|
+
* Whether or not to show the overlay.
|
20
|
+
*/
|
7
21
|
noOverlay: boolean;
|
22
|
+
/**
|
23
|
+
* Whether or not to show the modal.
|
24
|
+
*/
|
8
25
|
open: boolean;
|
26
|
+
/**
|
27
|
+
* Override z-index.
|
28
|
+
*/
|
9
29
|
zIndexOverride?: number;
|
30
|
+
/**
|
31
|
+
* Emitted when enter animation starts.
|
32
|
+
*/
|
10
33
|
cpslModalEntering: EventEmitter<null>;
|
34
|
+
/**
|
35
|
+
* Emitted when enter animation finishes.
|
36
|
+
*/
|
11
37
|
cpslModalEntered: EventEmitter<null>;
|
38
|
+
/**
|
39
|
+
* Emitted when exit animation starts.
|
40
|
+
*/
|
12
41
|
cpslModalExiting: EventEmitter<null>;
|
42
|
+
/**
|
43
|
+
* Emitted when exit animation finishes.
|
44
|
+
*/
|
13
45
|
cpslModalExited: EventEmitter<null>;
|
14
46
|
toggleHeight(): void;
|
15
47
|
componentDidLoad(): void;
|
@@ -1,8 +1,22 @@
|
|
1
1
|
export declare class CpslOverlay {
|
2
2
|
el: HTMLCpslOverlayElement;
|
3
|
+
/**
|
4
|
+
* Duration in seconds of the fade out animation.
|
5
|
+
* Default is .5.
|
6
|
+
*/
|
3
7
|
enterTransitionDuration?: number;
|
8
|
+
/**
|
9
|
+
* Duration in seconds of the fade out animation.
|
10
|
+
* Default is .5.
|
11
|
+
*/
|
4
12
|
exitTransitionDuration?: number;
|
13
|
+
/**
|
14
|
+
* Whether or not to show the overlay.
|
15
|
+
*/
|
5
16
|
open: boolean;
|
17
|
+
/**
|
18
|
+
* Override z-index.
|
19
|
+
*/
|
6
20
|
zIndexOverride?: number;
|
7
21
|
toggleHeight(): void;
|
8
22
|
componentDidLoad(): void;
|
@@ -1,9 +1,24 @@
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
2
2
|
export declare class CpslPagination {
|
3
3
|
currentPage: number;
|
4
|
+
/**
|
5
|
+
* The initial page to select.
|
6
|
+
* Default is 0.
|
7
|
+
*/
|
4
8
|
initialPage?: number;
|
9
|
+
/**
|
10
|
+
* The total number of pages.
|
11
|
+
*/
|
5
12
|
totalPages: number;
|
13
|
+
/**
|
14
|
+
* The number of pages visible to select.
|
15
|
+
* Default is 5.
|
16
|
+
* Min is 5.
|
17
|
+
*/
|
6
18
|
visiblePages?: number;
|
19
|
+
/**
|
20
|
+
* Emitted when exit animation finishes.
|
21
|
+
*/
|
7
22
|
cpslPaginationChanged: EventEmitter<number>;
|
8
23
|
watchChange(): void;
|
9
24
|
componentWillLoad(): void;
|
@@ -7,19 +7,72 @@ export declare class CpslPopover {
|
|
7
7
|
private triggerClicked;
|
8
8
|
positionX?: number;
|
9
9
|
positionY?: number;
|
10
|
+
/**
|
11
|
+
* ID for the element that the popover anchors to.
|
12
|
+
*/
|
10
13
|
anchorEl?: HTMLElement;
|
14
|
+
/**
|
15
|
+
* Vertical anchor origin.
|
16
|
+
* Options are: `"left"`, `"center"`, `"right"`.
|
17
|
+
* Default is: `"left"`.
|
18
|
+
*/
|
11
19
|
anchorOriginHorizontal?: 'left' | 'center' | 'right';
|
20
|
+
/**
|
21
|
+
* Vertical anchor origin.
|
22
|
+
* Options are: `"top"`, `"center"`, `"bottom"`.
|
23
|
+
* Default is: `"bottom"`.
|
24
|
+
*/
|
12
25
|
anchorOriginVertical?: 'top' | 'center' | 'bottom';
|
26
|
+
/**
|
27
|
+
* If `true` the container will use the width of the content, else it will be set to the width of the trigger.
|
28
|
+
* Default is `true`
|
29
|
+
*/
|
13
30
|
autoWidth?: boolean;
|
31
|
+
/**
|
32
|
+
* Whether or not to disable to popover.
|
33
|
+
*/
|
14
34
|
disabled: boolean;
|
35
|
+
/**
|
36
|
+
* Used internally to prevent select from blurring unintentionally.
|
37
|
+
*/
|
15
38
|
preventBlur: boolean;
|
39
|
+
/**
|
40
|
+
* Vertical transformation origin.
|
41
|
+
* Options are: `"left"`, `"center"`, `"right"`.
|
42
|
+
* Default is: `"left"`.
|
43
|
+
*/
|
16
44
|
transformOriginHorizontal?: 'left' | 'center' | 'right';
|
45
|
+
/**
|
46
|
+
* Vertical transformation origin.
|
47
|
+
* Options are: `"top"`, `"center"`, `"bottom"`.
|
48
|
+
* Default is: `"bottom"`.
|
49
|
+
*/
|
17
50
|
transformOriginVertical?: 'top' | 'center' | 'bottom';
|
51
|
+
/**
|
52
|
+
* Which trigger causes the popover to open.
|
53
|
+
* Options are: `"click"`, `"hover"`.
|
54
|
+
* Default is: `"click"`.
|
55
|
+
*/
|
18
56
|
triggerAction: 'click' | 'hover';
|
57
|
+
/**
|
58
|
+
* ID for the element that triggers the popover to open.
|
59
|
+
*/
|
19
60
|
trigger: string;
|
61
|
+
/**
|
62
|
+
* Padding from edge of window for the popover container.
|
63
|
+
*/
|
20
64
|
windowPadding?: number;
|
65
|
+
/**
|
66
|
+
* Emitted when the popover opens.
|
67
|
+
*/
|
21
68
|
cpslOpen: EventEmitter<void>;
|
69
|
+
/**
|
70
|
+
* Emitted when the popover closes.
|
71
|
+
*/
|
22
72
|
cpslClose: EventEmitter<void>;
|
73
|
+
/**
|
74
|
+
* Call to close the popover manually.
|
75
|
+
*/
|
23
76
|
closePopover(): Promise<void>;
|
24
77
|
onTriggerChange(): void;
|
25
78
|
onAnchorChange(): void;
|
@@ -1,8 +1,19 @@
|
|
1
1
|
export declare class CpslQrCode {
|
2
2
|
el: HTMLCpslQrCodeElement;
|
3
|
+
/**
|
4
|
+
* URL for the QR code to link to.
|
5
|
+
*/
|
3
6
|
url: string;
|
7
|
+
/**
|
8
|
+
* Source for the center image of the QR code.
|
9
|
+
*/
|
4
10
|
imageSrc?: string;
|
11
|
+
/**
|
12
|
+
* Size of the QR code in pixels.
|
13
|
+
* Default is 250.
|
14
|
+
*/
|
5
15
|
size?: number;
|
6
16
|
componentDidLoad(): void;
|
17
|
+
private get imgEl();
|
7
18
|
render(): any;
|
8
19
|
}
|
@@ -1,6 +1,12 @@
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
2
2
|
export declare class CpslRadio {
|
3
|
+
/**
|
4
|
+
* Whether or not the radio is checked.
|
5
|
+
*/
|
3
6
|
checked: boolean;
|
7
|
+
/**
|
8
|
+
* Emitted when the radio state changes.
|
9
|
+
*/
|
4
10
|
cpslRadioChanged: EventEmitter<boolean>;
|
5
11
|
private handleRadioClick;
|
6
12
|
render(): any;
|
@@ -3,25 +3,91 @@ export declare class CpslSelect {
|
|
3
3
|
el: HTMLCpslSelectElement;
|
4
4
|
private popoverEl;
|
5
5
|
private inputId;
|
6
|
-
anchorEl:
|
6
|
+
anchorEl: HTMLElement;
|
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
|
+
/**
|
20
|
+
* If `true`, the user cannot interact with the input.
|
21
|
+
*/
|
10
22
|
disabled: boolean;
|
23
|
+
/**
|
24
|
+
* Set the max height of the dropdown.
|
25
|
+
*/
|
11
26
|
dropdownMaxHeight?: number;
|
27
|
+
/**
|
28
|
+
* Error text to show below the input. If this is provided the input will enter an error state.
|
29
|
+
*/
|
12
30
|
errorText?: string;
|
31
|
+
/**
|
32
|
+
* Format value for display when selected.
|
33
|
+
*/
|
13
34
|
formatValue?: (value: string) => string;
|
35
|
+
/**
|
36
|
+
* Helper text to show below the input. If `"errorText"` is provided that will take precedence.
|
37
|
+
*/
|
14
38
|
helperText?: string;
|
39
|
+
/**
|
40
|
+
* ID of the element, must be unique for the popover trigger.
|
41
|
+
*/
|
15
42
|
id: string;
|
43
|
+
/**
|
44
|
+
* The label for the input.
|
45
|
+
*/
|
16
46
|
label?: string;
|
47
|
+
/**
|
48
|
+
* Placeholder to display if `selectedValue` is empty.
|
49
|
+
*/
|
17
50
|
placeholder?: string;
|
51
|
+
/**
|
52
|
+
* If `true`, the user must fill in a value before submitting a form.
|
53
|
+
*/
|
18
54
|
required: boolean;
|
55
|
+
/**
|
56
|
+
* Value of the selected item.
|
57
|
+
*/
|
19
58
|
selectedValue?: string;
|
59
|
+
/**
|
60
|
+
* Will show the formatted selected item (passed in the `selected-item` slot) in the select rather than the item value.
|
61
|
+
*/
|
20
62
|
showFormattedSelectedItem?: boolean;
|
63
|
+
/**
|
64
|
+
* If `true`, the label will display an "optional" tag.
|
65
|
+
*/
|
21
66
|
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
|
+
/**
|
76
|
+
* Emitted when the input loses focus.
|
77
|
+
*/
|
22
78
|
cpslBlur: EventEmitter<FocusEvent>;
|
79
|
+
/**
|
80
|
+
* Emitted when the input has focus.
|
81
|
+
*/
|
23
82
|
cpslFocus: EventEmitter<FocusEvent>;
|
83
|
+
/**
|
84
|
+
* Emitted when the value changes.
|
85
|
+
*/
|
24
86
|
cpslSelectValueChange: EventEmitter<string>;
|
87
|
+
/**
|
88
|
+
* Emitted when the search value changes.
|
89
|
+
*/
|
90
|
+
cpslSearchChange: EventEmitter<string>;
|
25
91
|
onValueChange(): void;
|
26
92
|
handleValueChange(): void;
|
27
93
|
selectItemClickHandler(event: CustomEvent<string>): void;
|
@@ -1,7 +1,17 @@
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
2
2
|
export declare class CpslSelectItem {
|
3
|
+
/**
|
4
|
+
* Whether the item is selected or not.
|
5
|
+
*/
|
3
6
|
selected?: boolean;
|
7
|
+
/**
|
8
|
+
* Value of the item.
|
9
|
+
*/
|
4
10
|
value: string;
|
11
|
+
/**
|
12
|
+
* Called when item is clicked.
|
13
|
+
* @internal
|
14
|
+
*/
|
5
15
|
cpslSelectItemClick: EventEmitter<string>;
|
6
16
|
private handleItemClick;
|
7
17
|
render(): any;
|
@@ -2,11 +2,29 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { IconType } from '../../interface';
|
3
3
|
export declare class CpslSlideButton {
|
4
4
|
el: HTMLCpslSlideButtonElement;
|
5
|
+
/**
|
6
|
+
* Whether or not the component is disabled. If true, the component will display the `startText`.
|
7
|
+
*/
|
5
8
|
disabled: boolean;
|
9
|
+
/**
|
10
|
+
* The name of the ending icon to show.
|
11
|
+
*/
|
6
12
|
endIcon: IconType;
|
13
|
+
/**
|
14
|
+
* The ending text.
|
15
|
+
*/
|
7
16
|
endText: string;
|
17
|
+
/**
|
18
|
+
* The name of the starting icon to show.
|
19
|
+
*/
|
8
20
|
startIcon: IconType;
|
21
|
+
/**
|
22
|
+
* The starting text.
|
23
|
+
*/
|
9
24
|
startText: string;
|
25
|
+
/**
|
26
|
+
* The `cpslComplete` event is fired when the slider is at the end.
|
27
|
+
*/
|
10
28
|
cpslComplete: EventEmitter<boolean>;
|
11
29
|
componentDidLoad(): void;
|
12
30
|
private dragElement;
|
@@ -1,6 +1,12 @@
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
2
2
|
export declare class CpslSwitch {
|
3
|
+
/**
|
4
|
+
* Whether or not the switch is checked.
|
5
|
+
*/
|
3
6
|
checked: boolean;
|
7
|
+
/**
|
8
|
+
* Emitted when the switch state changes.
|
9
|
+
*/
|
4
10
|
cpslSwitchChanged: EventEmitter<boolean>;
|
5
11
|
private handleSwitchClick;
|
6
12
|
render(): any;
|
@@ -3,8 +3,19 @@ import { TabClickEventDetail } from './tab-interface';
|
|
3
3
|
import { TabsChangedEventDetail } from '../cpsl-tabs/tabs-interface';
|
4
4
|
export declare class CpslTab {
|
5
5
|
el: HTMLCpslTabElement;
|
6
|
+
/**
|
7
|
+
* The selected tab component
|
8
|
+
*/
|
6
9
|
selected: boolean;
|
10
|
+
/**
|
11
|
+
* A tab id must be provided for each `cpsl-tab`. It's used internally to reference
|
12
|
+
* the selected tab or by the router to switch between them.
|
13
|
+
*/
|
7
14
|
tab: string;
|
15
|
+
/**
|
16
|
+
* Emitted when tabs are clicked
|
17
|
+
* @internal
|
18
|
+
*/
|
8
19
|
cpslTabButtonClick: EventEmitter<TabClickEventDetail>;
|
9
20
|
onTabsChanged(ev: CustomEvent<TabsChangedEventDetail>): void;
|
10
21
|
onTabsInit(ev: CustomEvent<TabsChangedEventDetail>): void;
|
@@ -4,9 +4,22 @@ export declare class CpslTabs {
|
|
4
4
|
el: HTMLCpslTabsElement;
|
5
5
|
selectedTabRect?: DOMRect;
|
6
6
|
loaded: boolean;
|
7
|
+
/**
|
8
|
+
* Whether or not the tabs take the full width of their container.
|
9
|
+
*/
|
7
10
|
fullWidth?: boolean;
|
11
|
+
/**
|
12
|
+
* The selected tab component
|
13
|
+
*/
|
8
14
|
selectedTab?: string;
|
15
|
+
/**
|
16
|
+
* Emitted when a tab is changed
|
17
|
+
*/
|
9
18
|
cpslTabsChanged: EventEmitter<TabsChangedEventDetail>;
|
19
|
+
/**
|
20
|
+
* Emitted when tabs are initialized
|
21
|
+
* @internal
|
22
|
+
*/
|
10
23
|
cpslTabsInit: EventEmitter<TabsChangedEventDetail>;
|
11
24
|
updateSlider(): void;
|
12
25
|
updateTab(newValue?: string, oldValue?: string): void;
|
@@ -1,6 +1,21 @@
|
|
1
1
|
export declare class CpslText {
|
2
|
-
|
2
|
+
/**
|
3
|
+
* The color of text.
|
4
|
+
* Options are: `"primary"`, `"secondary", `"tertiary", `"subtle", `"inverted", `"error".
|
5
|
+
* Default is: `"primary"`.
|
6
|
+
*/
|
7
|
+
color?: 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'inverted' | 'error' | 'contrast';
|
8
|
+
/**
|
9
|
+
* The variant of text.
|
10
|
+
* Options are: `"body2XS"`, `"bodyXS", `"bodyS", `"bodyM", `"bodyL", `"bodyXL", `"headingXS", `"headingS", `"headingM", `"headingL", `"headingXL", `"heading2XL".
|
11
|
+
* Default is: `"bodyM"`.
|
12
|
+
*/
|
3
13
|
variant?: 'body2XS' | 'bodyXS' | 'bodyS' | 'bodyM' | 'bodyL' | 'bodyXL' | 'headingXS' | 'headingS' | 'headingM' | 'headingL' | 'headingXL' | 'heading2XL';
|
14
|
+
/**
|
15
|
+
* The weight of text.
|
16
|
+
* Options are: `"regular"`, `"medium", `"semiBold", `"bold".
|
17
|
+
* Default is: `"regular"`.
|
18
|
+
*/
|
4
19
|
weight?: 'regular' | 'medium' | 'semiBold' | 'bold';
|
5
20
|
private get Content();
|
6
21
|
render(): any;
|
@@ -1,6 +1,12 @@
|
|
1
1
|
import { IconType } from '../../interface';
|
2
2
|
export declare class CpslTileButton {
|
3
|
+
/**
|
4
|
+
* The external source of the icon. If both `icon` and `src` are provided, `icon` will be used.
|
5
|
+
*/
|
3
6
|
src?: string;
|
7
|
+
/**
|
8
|
+
* The name of the icon. If both `icon` and `src` are provided, `icon` will be used.
|
9
|
+
*/
|
4
10
|
icon?: IconType;
|
5
11
|
render(): any;
|
6
12
|
}
|