@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,10 +1,39 @@
|
|
1
1
|
export declare class CpslButton {
|
2
|
+
/**
|
3
|
+
* The tag for the button.
|
4
|
+
* Options are: `"button"`, `"a".
|
5
|
+
* Default is: `"button"`.
|
6
|
+
*/
|
2
7
|
as?: 'button' | 'a';
|
8
|
+
/**
|
9
|
+
* If the button is disabled.
|
10
|
+
* Default is: false.
|
11
|
+
*/
|
3
12
|
disabled?: boolean;
|
13
|
+
/**
|
14
|
+
* Whether the button takes the full width of it's container.
|
15
|
+
* Default is: false.
|
16
|
+
*/
|
4
17
|
fullWidth?: boolean;
|
18
|
+
/**
|
19
|
+
* href to use when using a link.
|
20
|
+
*/
|
5
21
|
href?: string;
|
22
|
+
/**
|
23
|
+
* The size of the button.
|
24
|
+
* Options are: `"small"`, `"medium".
|
25
|
+
* Default is: `"medium"`.
|
26
|
+
*/
|
6
27
|
size?: 'small' | 'medium';
|
28
|
+
/**
|
29
|
+
* target to use when using a link.
|
30
|
+
*/
|
7
31
|
target?: string;
|
8
|
-
|
32
|
+
/**
|
33
|
+
* The variant of the button.
|
34
|
+
* Options are: `"primary"`, `"secondary", `"tertiary", `"ghost"`, `"destructive"`.
|
35
|
+
* Default is: `"primary"`.
|
36
|
+
*/
|
37
|
+
variant?: 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'destructive';
|
9
38
|
render(): any;
|
10
39
|
}
|
@@ -1,6 +1,12 @@
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
2
2
|
export declare class CpslCheckbox {
|
3
|
+
/**
|
4
|
+
* Whether or not the checkbox is checked.
|
5
|
+
*/
|
3
6
|
checked: boolean;
|
7
|
+
/**
|
8
|
+
* Emitted when the checkbox state changes.
|
9
|
+
*/
|
4
10
|
cpslCheckboxChanged: EventEmitter<boolean>;
|
5
11
|
private handleCheckboxClick;
|
6
12
|
render(): any;
|
@@ -2,11 +2,30 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { CodeChangeEventDetail } from './code-change-interface';
|
3
3
|
export declare class CpslCodeInput {
|
4
4
|
el: HTMLCpslCodeInputElement;
|
5
|
+
/**
|
6
|
+
* Value of the code.
|
7
|
+
*/
|
5
8
|
code: string;
|
9
|
+
/**
|
10
|
+
* Error text to show below the input. If this is provided the input will enter an error state.
|
11
|
+
*/
|
6
12
|
errorText?: string;
|
13
|
+
/**
|
14
|
+
* Helper text to show below the input. If `"errorText"` is provided that will take precedence.
|
15
|
+
*/
|
7
16
|
helperText?: string;
|
17
|
+
/**
|
18
|
+
* Length of the code.
|
19
|
+
*/
|
8
20
|
length: number;
|
21
|
+
/**
|
22
|
+
* Type of characters to accept in the code.
|
23
|
+
* Defaults to number.
|
24
|
+
*/
|
9
25
|
type?: 'number' | 'string';
|
26
|
+
/**
|
27
|
+
* The `cpslInput` event is fired each time the user modifies the input's value.
|
28
|
+
*/
|
10
29
|
cpslInput: EventEmitter<CodeChangeEventDetail>;
|
11
30
|
private handleInput;
|
12
31
|
private handleKeyDown;
|
@@ -1,27 +1,123 @@
|
|
1
1
|
export declare class CpslCol {
|
2
|
+
/**
|
3
|
+
* The amount to offset the column, in terms of how many columns it should shift to the end
|
4
|
+
* of the total available.
|
5
|
+
*/
|
2
6
|
offset?: string;
|
7
|
+
/**
|
8
|
+
* The amount to offset the column for xs screens, in terms of how many columns it should shift
|
9
|
+
* to the end of the total available.
|
10
|
+
*/
|
3
11
|
offsetXs?: string;
|
12
|
+
/**
|
13
|
+
* The amount to offset the column for sm screens, in terms of how many columns it should shift
|
14
|
+
* to the end of the total available.
|
15
|
+
*/
|
4
16
|
offsetSm?: string;
|
17
|
+
/**
|
18
|
+
* The amount to offset the column for md screens, in terms of how many columns it should shift
|
19
|
+
* to the end of the total available.
|
20
|
+
*/
|
5
21
|
offsetMd?: string;
|
22
|
+
/**
|
23
|
+
* The amount to offset the column for lg screens, in terms of how many columns it should shift
|
24
|
+
* to the end of the total available.
|
25
|
+
*/
|
6
26
|
offsetLg?: string;
|
27
|
+
/**
|
28
|
+
* The amount to offset the column for xl screens, in terms of how many columns it should shift
|
29
|
+
* to the end of the total available.
|
30
|
+
*/
|
7
31
|
offsetXl?: string;
|
32
|
+
/**
|
33
|
+
* The amount to pull the column, in terms of how many columns it should shift to the start of
|
34
|
+
* the total available.
|
35
|
+
*/
|
8
36
|
pull?: string;
|
37
|
+
/**
|
38
|
+
* The amount to pull the column for xs screens, in terms of how many columns it should shift
|
39
|
+
* to the start of the total available.
|
40
|
+
*/
|
9
41
|
pullXs?: string;
|
42
|
+
/**
|
43
|
+
* The amount to pull the column for sm screens, in terms of how many columns it should shift
|
44
|
+
* to the start of the total available.
|
45
|
+
*/
|
10
46
|
pullSm?: string;
|
47
|
+
/**
|
48
|
+
* The amount to pull the column for md screens, in terms of how many columns it should shift
|
49
|
+
* to the start of the total available.
|
50
|
+
*/
|
11
51
|
pullMd?: string;
|
52
|
+
/**
|
53
|
+
* The amount to pull the column for lg screens, in terms of how many columns it should shift
|
54
|
+
* to the start of the total available.
|
55
|
+
*/
|
12
56
|
pullLg?: string;
|
57
|
+
/**
|
58
|
+
* The amount to pull the column for xl screens, in terms of how many columns it should shift
|
59
|
+
* to the start of the total available.
|
60
|
+
*/
|
13
61
|
pullXl?: string;
|
62
|
+
/**
|
63
|
+
* The amount to push the column, in terms of how many columns it should shift to the end
|
64
|
+
* of the total available.
|
65
|
+
*/
|
14
66
|
push?: string;
|
67
|
+
/**
|
68
|
+
* The amount to push the column for xs screens, in terms of how many columns it should shift
|
69
|
+
* to the end of the total available.
|
70
|
+
*/
|
15
71
|
pushXs?: string;
|
72
|
+
/**
|
73
|
+
* The amount to push the column for sm screens, in terms of how many columns it should shift
|
74
|
+
* to the end of the total available.
|
75
|
+
*/
|
16
76
|
pushSm?: string;
|
77
|
+
/**
|
78
|
+
* The amount to push the column for md screens, in terms of how many columns it should shift
|
79
|
+
* to the end of the total available.
|
80
|
+
*/
|
17
81
|
pushMd?: string;
|
82
|
+
/**
|
83
|
+
* The amount to push the column for lg screens, in terms of how many columns it should shift
|
84
|
+
* to the end of the total available.
|
85
|
+
*/
|
18
86
|
pushLg?: string;
|
87
|
+
/**
|
88
|
+
* The amount to push the column for xl screens, in terms of how many columns it should shift
|
89
|
+
* to the end of the total available.
|
90
|
+
*/
|
19
91
|
pushXl?: string;
|
92
|
+
/**
|
93
|
+
* The size of the column, in terms of how many columns it should take up out of the total
|
94
|
+
* available. If `"auto"` is passed, the column will be the size of its content.
|
95
|
+
*/
|
20
96
|
size?: string;
|
97
|
+
/**
|
98
|
+
* The size of the column for xs screens, in terms of how many columns it should take up out
|
99
|
+
* of the total available. If `"auto"` is passed, the column will be the size of its content.
|
100
|
+
*/
|
21
101
|
sizeXs?: string;
|
102
|
+
/**
|
103
|
+
* The size of the column for sm screens, in terms of how many columns it should take up out
|
104
|
+
* of the total available. If `"auto"` is passed, the column will be the size of its content.
|
105
|
+
*/
|
22
106
|
sizeSm?: string;
|
107
|
+
/**
|
108
|
+
* The size of the column for md screens, in terms of how many columns it should take up out
|
109
|
+
* of the total available. If `"auto"` is passed, the column will be the size of its content.
|
110
|
+
*/
|
23
111
|
sizeMd?: string;
|
112
|
+
/**
|
113
|
+
* The size of the column for lg screens, in terms of how many columns it should take up out
|
114
|
+
* of the total available. If `"auto"` is passed, the column will be the size of its content.
|
115
|
+
*/
|
24
116
|
sizeLg?: string;
|
117
|
+
/**
|
118
|
+
* The size of the column for xl screens, in terms of how many columns it should take up out
|
119
|
+
* of the total available. If `"auto"` is passed, the column will be the size of its content.
|
120
|
+
*/
|
25
121
|
sizeXl?: string;
|
26
122
|
onResize(): void;
|
27
123
|
private getColumns;
|
@@ -2,14 +2,45 @@ export declare class CpslDrawer {
|
|
2
2
|
el: HTMLCpslDrawerElement;
|
3
3
|
closedAnchorPosition?: string;
|
4
4
|
showTransition: boolean;
|
5
|
+
/**
|
6
|
+
* Side from which the drawer will enter from.
|
7
|
+
*/
|
5
8
|
anchor: 'top' | 'bottom' | 'left' | 'right';
|
9
|
+
/**
|
10
|
+
* Starting anchor position.
|
11
|
+
*/
|
6
12
|
anchorPosition?: number;
|
13
|
+
/**
|
14
|
+
* Hides the overlay for temporary drawers.
|
15
|
+
*/
|
7
16
|
noOverlay?: boolean;
|
17
|
+
/**
|
18
|
+
* Whether the drawer is open or not.
|
19
|
+
*/
|
8
20
|
open: boolean;
|
21
|
+
/**
|
22
|
+
* Size (height or width) of the drawer.
|
23
|
+
*/
|
9
24
|
size: number | 'auto';
|
25
|
+
/**
|
26
|
+
* Duration in seconds of the open/close animation.
|
27
|
+
* Default is 0.15.
|
28
|
+
*/
|
10
29
|
transitionDuration?: number;
|
30
|
+
/**
|
31
|
+
* Transition timing function to use.
|
32
|
+
* Default is ease-in-out.
|
33
|
+
*/
|
11
34
|
transitionFunction?: string;
|
35
|
+
/**
|
36
|
+
* The variant of the drawer.
|
37
|
+
* `temporary` drawers will cover content and contain a backdrop. `permanent` drawers will sit beside content, i.e. desktop navigation.
|
38
|
+
* Default is `temporary`.
|
39
|
+
*/
|
12
40
|
variant?: 'temporary' | 'permanent';
|
41
|
+
/**
|
42
|
+
* Override z-index.
|
43
|
+
*/
|
13
44
|
zIndexOverride?: number;
|
14
45
|
componentDidLoad(): void;
|
15
46
|
private getContainerHeight;
|
@@ -2,13 +2,28 @@ import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { DropdownInputEventDetail } from './dropdown-interface';
|
3
3
|
export declare class CpslDropdown implements ComponentInterface {
|
4
4
|
el: HTMLCpslDropdownElement;
|
5
|
+
/**
|
6
|
+
* Width of the dropdown
|
7
|
+
*/
|
5
8
|
width: string;
|
9
|
+
/**
|
10
|
+
* Whether or not to include search capability
|
11
|
+
*/
|
6
12
|
hasCpslSearch: boolean;
|
7
13
|
isOpen: boolean;
|
8
14
|
searchQuery: string;
|
9
15
|
filteredItems: Array<DropdownInputEventDetail>;
|
16
|
+
/**
|
17
|
+
* Items to be presented in the dropdown
|
18
|
+
*/
|
10
19
|
items: Array<DropdownInputEventDetail>;
|
20
|
+
/**
|
21
|
+
* The selected item in the dropdown
|
22
|
+
*/
|
11
23
|
selectedItem?: DropdownInputEventDetail | null;
|
24
|
+
/**
|
25
|
+
* Event emitted when the selected item changes
|
26
|
+
*/
|
12
27
|
selectedItemChange: EventEmitter<DropdownInputEventDetail>;
|
13
28
|
handleSelectedItemChange(newValue: DropdownInputEventDetail | null): void;
|
14
29
|
private toggleDropdown;
|
@@ -7,19 +7,62 @@ export declare class CpslFileUpload {
|
|
7
7
|
dragError?: boolean;
|
8
8
|
isUploading?: boolean;
|
9
9
|
uploadError?: boolean;
|
10
|
+
/**
|
11
|
+
* Error text to show below the input. If this is provided the input will enter an error state.
|
12
|
+
*/
|
10
13
|
errorText?: string;
|
14
|
+
/**
|
15
|
+
* Filename for the external source of the selected file.
|
16
|
+
*/
|
11
17
|
externalFilename?: string;
|
18
|
+
/**
|
19
|
+
* External source for the selected file.
|
20
|
+
*/
|
12
21
|
externalSrc?: string;
|
22
|
+
/**
|
23
|
+
* Valid file types.
|
24
|
+
*/
|
13
25
|
fileTypes?: string[];
|
26
|
+
/**
|
27
|
+
* Helper text to show below the input. If `"errorText"` is provided that will take precedence.
|
28
|
+
*/
|
14
29
|
helperText?: string;
|
30
|
+
/**
|
31
|
+
* The label for the input.
|
32
|
+
*/
|
15
33
|
label?: string;
|
34
|
+
/**
|
35
|
+
* If `true`, the user must fill in a value before submitting a form.
|
36
|
+
*/
|
16
37
|
required: boolean;
|
38
|
+
/**
|
39
|
+
* If `true`, the label will display an "optional" tag.
|
40
|
+
*/
|
17
41
|
showOptionalLabel: boolean;
|
42
|
+
/**
|
43
|
+
* Function to trigger file upload to server.
|
44
|
+
* Returns: boolean indicating success or failure.
|
45
|
+
*/
|
18
46
|
uploadFile?: (file: File) => Promise<boolean>;
|
47
|
+
/**
|
48
|
+
* Emitted when the file is dropped in the input.
|
49
|
+
*/
|
19
50
|
cpslOnDrop: EventEmitter<DragEvent>;
|
51
|
+
/**
|
52
|
+
* Emitted when the file drag enters the input.
|
53
|
+
*/
|
20
54
|
cpslOnDragEnter: EventEmitter<DragEvent>;
|
55
|
+
/**
|
56
|
+
* Emitted when the file drag leaves the input.
|
57
|
+
*/
|
21
58
|
cpslOnDragLeave: EventEmitter<DragEvent>;
|
59
|
+
/**
|
60
|
+
* Emitted when the file changes.
|
61
|
+
*/
|
22
62
|
cpslFileChange: EventEmitter<File>;
|
63
|
+
/**
|
64
|
+
* Emitted when the file is removed.
|
65
|
+
*/
|
23
66
|
cpslFileRemoved: EventEmitter<void>;
|
24
67
|
private handleDrop;
|
25
68
|
private handleDragEnter;
|
@@ -1,6 +1,26 @@
|
|
1
1
|
export declare class CpslHero {
|
2
|
-
|
2
|
+
/**
|
3
|
+
* The height of the container.
|
4
|
+
* Default is: 180.
|
5
|
+
*/
|
6
|
+
height?: number;
|
7
|
+
/**
|
8
|
+
* Hides the fade out components
|
9
|
+
* Default is: `false`.
|
10
|
+
*/
|
11
|
+
hideFadeOut?: boolean;
|
12
|
+
/**
|
13
|
+
* The variant of the button.
|
14
|
+
* Options are: `"customContent"`, `"connection"`, `"externalWalletConnection"`, `"pending", `"approved", `"failed".
|
15
|
+
* Default is: `"connection"`.
|
16
|
+
*/
|
17
|
+
variant?: 'customContent' | 'connection' | 'externalWalletConnection' | 'pending' | 'approved' | 'failed';
|
3
18
|
title: string;
|
4
19
|
subtitle?: string;
|
20
|
+
/**
|
21
|
+
* Whether to use the Capsule custom theming or use the provided theme
|
22
|
+
* Default is: `false`.
|
23
|
+
*/
|
24
|
+
withDefaultTheme?: boolean;
|
5
25
|
render(): any;
|
6
26
|
}
|
@@ -1,6 +1,12 @@
|
|
1
1
|
import { IconType } from '../../interface';
|
2
2
|
export declare class CpslIcon {
|
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
|
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { IconType } from '../../interface';
|
2
|
+
export declare class CpslIconGroup {
|
3
|
+
el: HTMLCpslIconGroupElement;
|
4
|
+
isHovered: boolean;
|
5
|
+
/**
|
6
|
+
* The direction the icons should expand from
|
7
|
+
*/
|
8
|
+
expandFrom: 'left' | 'right';
|
9
|
+
/**
|
10
|
+
* If `true`, the user cannot interact with the input.
|
11
|
+
*/
|
12
|
+
disabled: boolean;
|
13
|
+
/**
|
14
|
+
* The name of the icons to display.
|
15
|
+
*/
|
16
|
+
icons: (IconType | string)[];
|
17
|
+
componentDidLoad(): void;
|
18
|
+
disconnectedCallback(): void;
|
19
|
+
render(): any;
|
20
|
+
}
|
@@ -1,51 +1,199 @@
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
2
2
|
import { AutocompleteTypes, IconType, TextFieldTypes } from '../../interface';
|
3
3
|
import { InputChangeEventDetail, InputInputEventDetail } from './input-interface';
|
4
|
+
import InputMask from 'imask/esm/controls/input';
|
5
|
+
import 'imask/esm/masked/pattern';
|
4
6
|
export declare class CpslInput {
|
5
7
|
private nativeInput?;
|
6
8
|
el: HTMLCpslInputElement;
|
7
9
|
private inputId;
|
10
|
+
/**
|
11
|
+
* The value of the input when the input is focused.
|
12
|
+
*/
|
8
13
|
private focusedValue?;
|
9
14
|
hasFocus: boolean;
|
15
|
+
maskedInput?: InputMask;
|
16
|
+
/**
|
17
|
+
* Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
|
18
|
+
* Available options: `"off"`, `"none"`, `"on"`, `"sentences"`, `"words"`, `"characters"`.
|
19
|
+
*/
|
10
20
|
autocapitalize: string;
|
21
|
+
/**
|
22
|
+
* Indicates whether the value of the control can be automatically completed by the browser.
|
23
|
+
*/
|
11
24
|
autocomplete: AutocompleteTypes;
|
25
|
+
/**
|
26
|
+
* Whether auto correction should be enabled when the user is entering/editing the text value.
|
27
|
+
*/
|
12
28
|
autocorrect: 'on' | 'off';
|
29
|
+
/**
|
30
|
+
* Whether to disable auto disabling of the slotted components.
|
31
|
+
*/
|
13
32
|
noAutoDisable: boolean;
|
33
|
+
/**
|
34
|
+
* Sets the [`autofocus` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus) on the native input element.
|
35
|
+
*
|
36
|
+
* This may not be sufficient for the element to be focused on page load.
|
37
|
+
*/
|
14
38
|
autofocus: boolean;
|
39
|
+
/**
|
40
|
+
* If `true`, the user cannot interact with the input.
|
41
|
+
*/
|
15
42
|
disabled: boolean;
|
43
|
+
/**
|
44
|
+
* If `true`, the input primary color will use the contrast value, not the primary text value.
|
45
|
+
*/
|
46
|
+
contrastText: boolean;
|
47
|
+
/**
|
48
|
+
* A hint to the browser for which enter key to display.
|
49
|
+
* Possible values: `"enter"`, `"done"`, `"go"`, `"next"`,
|
50
|
+
* `"previous"`, `"search"`, and `"send"`.
|
51
|
+
*/
|
16
52
|
enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
53
|
+
/**
|
54
|
+
* Error text to show below the input. If this is provided the input will enter an error state.
|
55
|
+
*/
|
17
56
|
errorText?: string;
|
57
|
+
/**
|
58
|
+
* Mask string to apply to the input.
|
59
|
+
*/
|
60
|
+
mask?: string;
|
61
|
+
/**
|
62
|
+
* Helper text to show below the input. If `"errorText"` is provided that will take precedence.
|
63
|
+
*/
|
18
64
|
helperText?: string;
|
65
|
+
/**
|
66
|
+
* A hint to the browser for which keyboard to display.
|
67
|
+
* Possible values: `"none"`, `"text"`, `"tel"`, `"url"`,
|
68
|
+
* `"email"`, `"numeric"`, `"decimal"`, and `"search"`.
|
69
|
+
*/
|
19
70
|
inputmode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
|
71
|
+
/**
|
72
|
+
* The label for the input.
|
73
|
+
*/
|
20
74
|
label?: string;
|
75
|
+
/**
|
76
|
+
* The maximum value, which must not be less than its minimum (min attribute) value.
|
77
|
+
*/
|
21
78
|
max?: string | number;
|
79
|
+
/**
|
80
|
+
* If the value of the type attribute is `text`, `email`, `search`, `password`, `tel`, or `url`, this attribute specifies the maximum number of characters that the user can enter.
|
81
|
+
*/
|
22
82
|
maxlength?: number;
|
83
|
+
/**
|
84
|
+
* The minimum value, which must not be greater than its maximum (max attribute) value.
|
85
|
+
*/
|
23
86
|
min?: string | number;
|
87
|
+
/**
|
88
|
+
* If the value of the type attribute is `text`, `email`, `search`, `password`, `tel`, or `url`, this attribute specifies the minimum number of characters that the user can enter.
|
89
|
+
*/
|
24
90
|
minlength?: number;
|
91
|
+
/**
|
92
|
+
* If `true`, the user can enter more than one value. This attribute applies when the type attribute is set to `"email"`, otherwise it is ignored.
|
93
|
+
*/
|
25
94
|
multiple?: boolean;
|
95
|
+
/**
|
96
|
+
* The name of the control, which is submitted with the form data.
|
97
|
+
*/
|
26
98
|
name: string;
|
99
|
+
/**
|
100
|
+
* A regular expression that the value is checked against. The pattern must match the entire value, not just some subset. Use the title attribute to describe the pattern to help the user. This attribute applies when the value of the type attribute is `"text"`, `"search"`, `"tel"`, `"url"`, `"email"`, `"date"`, or `"password"`, otherwise it is ignored. When the type attribute is `"date"`, `pattern` will only be used in browsers that do not support the `"date"` input type natively. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date for more information.
|
101
|
+
*/
|
27
102
|
pattern?: string;
|
103
|
+
/**
|
104
|
+
* Instructional text that shows before the input has a value.
|
105
|
+
* This property applies only when the `type` property is set to `"email"`,
|
106
|
+
* `"number"`, `"password"`, `"search"`, `"tel"`, `"text"`, or `"url"`, otherwise it is ignored.
|
107
|
+
*/
|
28
108
|
placeholder?: string;
|
109
|
+
/**
|
110
|
+
* If `true`, the user cannot modify the value.
|
111
|
+
*/
|
29
112
|
readonly: boolean;
|
113
|
+
/**
|
114
|
+
* If `true`, the user must fill in a value before submitting a form.
|
115
|
+
*/
|
30
116
|
required: boolean;
|
117
|
+
/**
|
118
|
+
* If `true`, the label will display an "optional" tag.
|
119
|
+
*/
|
31
120
|
showOptionalLabel: boolean;
|
121
|
+
/**
|
122
|
+
* If `true`, the element will have its spelling and grammar checked.
|
123
|
+
*/
|
32
124
|
spellcheck: boolean;
|
125
|
+
/**
|
126
|
+
* The external source of the icon at the start of the input. If both `startIcon` and `startIconSrc` are provided, `startIcon` will be used.
|
127
|
+
*/
|
33
128
|
startIconSrc?: string;
|
129
|
+
/**
|
130
|
+
* The name of the icon at the start of the input. If both `startIcon` and `startIconSrc` are provided, `startIcon` will be used.
|
131
|
+
*/
|
34
132
|
startIcon?: IconType;
|
133
|
+
/**
|
134
|
+
* Works with the min and max attributes to limit the increments at which a value can be set.
|
135
|
+
* Possible values are: `"any"` or a positive floating point number.
|
136
|
+
*/
|
35
137
|
step?: string;
|
138
|
+
/**
|
139
|
+
* The type of control to display. The default type is `text`.
|
140
|
+
*/
|
36
141
|
type: TextFieldTypes;
|
142
|
+
/**
|
143
|
+
* The value of the controlled input.
|
144
|
+
*/
|
37
145
|
value?: string;
|
146
|
+
/**
|
147
|
+
* The `cpslInput` event is fired each time the user modifies the input's value.
|
148
|
+
* Unlike the `cpslChange` event, the `cpslInput` event is fired for each alteration
|
149
|
+
* to the input's value. This typically happens for each keystroke as the user types.
|
150
|
+
*
|
151
|
+
* For elements that accept text input (`type=text`, `type=tel`, etc.), the interface
|
152
|
+
* is [`InputEvent`](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent); for others,
|
153
|
+
* the interface is [`Event`](https://developer.mozilla.org/en-US/docs/Web/API/Event). If
|
154
|
+
* the input is cleared on edit, the type is `null`.
|
155
|
+
*/
|
38
156
|
cpslInput: EventEmitter<InputInputEventDetail>;
|
157
|
+
/**
|
158
|
+
* The `cpslChange` event is fired when the user modifies the input's value.
|
159
|
+
* Unlike the `cpslInput` event, the `cpslChange` event is only fired when changes
|
160
|
+
* are committed, not as the user types.
|
161
|
+
*
|
162
|
+
* Depending on the way the users interacts with the element, the `cpslChange`
|
163
|
+
* event fires at a different moment:
|
164
|
+
* - When the element loses focus after its value has changed: for elements
|
165
|
+
* where the user's interaction is typing.
|
166
|
+
*/
|
39
167
|
cpslChange: EventEmitter<InputChangeEventDetail>;
|
168
|
+
/**
|
169
|
+
* Emitted when the input loses focus.
|
170
|
+
*/
|
40
171
|
cpslBlur: EventEmitter<FocusEvent>;
|
172
|
+
/**
|
173
|
+
* Emitted when the input has focus.
|
174
|
+
*/
|
41
175
|
cpslFocus: EventEmitter<FocusEvent>;
|
176
|
+
/**
|
177
|
+
* Emitted when something has been paste into the input.
|
178
|
+
*/
|
42
179
|
cpslPaste: EventEmitter<ClipboardEvent>;
|
43
180
|
handleDisable(): void;
|
181
|
+
handleSetupMask(): void;
|
182
|
+
handleValueChange(): void;
|
44
183
|
componentDidLoad(): void;
|
45
184
|
private disableSlots;
|
46
185
|
private enableSlots;
|
47
186
|
private initButtons;
|
187
|
+
/**
|
188
|
+
* Emits a `cpslInput` event.
|
189
|
+
*/
|
48
190
|
private emitInputChange;
|
191
|
+
/**
|
192
|
+
* Emits a `cpslChange` event.
|
193
|
+
*
|
194
|
+
* This API should be called for user committed changes.
|
195
|
+
* This API should not be used for external value changes.
|
196
|
+
*/
|
49
197
|
private emitValueChange;
|
50
198
|
private onInput;
|
51
199
|
private onChange;
|