@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
@@ -52,6 +52,28 @@ export namespace Components {
|
|
52
52
|
*/
|
53
53
|
"zIndexOverride"?: number;
|
54
54
|
}
|
55
|
+
interface CpslAuthModal {
|
56
|
+
/**
|
57
|
+
* Duration in seconds of the modal entering. Default is .15.
|
58
|
+
*/
|
59
|
+
"enterTransitionDuration"?: number;
|
60
|
+
/**
|
61
|
+
* Duration in seconds of the modal exiting. Default is .15.
|
62
|
+
*/
|
63
|
+
"exitTransitionDuration"?: number;
|
64
|
+
/**
|
65
|
+
* Whether or not to show the overlay. This will always show the modal, regardless of the value of `open`.
|
66
|
+
*/
|
67
|
+
"noOverlay"?: boolean;
|
68
|
+
/**
|
69
|
+
* Whether or not to show the modal.
|
70
|
+
*/
|
71
|
+
"open": boolean;
|
72
|
+
/**
|
73
|
+
* Override z-index.
|
74
|
+
*/
|
75
|
+
"zIndexOverride"?: number;
|
76
|
+
}
|
55
77
|
interface CpslAvatar {
|
56
78
|
/**
|
57
79
|
* The alternate text for the avatar image.
|
@@ -92,9 +114,9 @@ export namespace Components {
|
|
92
114
|
*/
|
93
115
|
"target"?: string;
|
94
116
|
/**
|
95
|
-
* The variant of the button. Options are: `"primary"`, `"secondary", `"
|
117
|
+
* The variant of the button. Options are: `"primary"`, `"secondary", `"tertiary", `"ghost"`, `"destructive"`. Default is: `"primary"`.
|
96
118
|
*/
|
97
|
-
"variant"?: 'primary' | 'secondary' | 'ghost' | 'destructive';
|
119
|
+
"variant"?: 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'destructive';
|
98
120
|
}
|
99
121
|
interface CpslButtonGroup {
|
100
122
|
/**
|
@@ -333,12 +355,24 @@ export namespace Components {
|
|
333
355
|
"fixed": boolean;
|
334
356
|
}
|
335
357
|
interface CpslHero {
|
358
|
+
/**
|
359
|
+
* The height of the container. Default is: 180.
|
360
|
+
*/
|
361
|
+
"height"?: number;
|
362
|
+
/**
|
363
|
+
* Hides the fade out components Default is: `false`.
|
364
|
+
*/
|
365
|
+
"hideFadeOut"?: boolean;
|
336
366
|
"subtitle"?: string;
|
337
367
|
"title": string;
|
338
368
|
/**
|
339
|
-
* The variant of the button. Options are: `"
|
369
|
+
* The variant of the button. Options are: `"customContent"`, `"connection"`, `"externalWalletConnection"`, `"pending", `"approved", `"failed". Default is: `"connection"`.
|
370
|
+
*/
|
371
|
+
"variant"?: 'customContent' | 'connection' | 'externalWalletConnection' | 'pending' | 'approved' | 'failed';
|
372
|
+
/**
|
373
|
+
* Whether to use the Capsule custom theming or use the provided theme Default is: `false`.
|
340
374
|
*/
|
341
|
-
"
|
375
|
+
"withDefaultTheme"?: boolean;
|
342
376
|
}
|
343
377
|
interface CpslIcon {
|
344
378
|
/**
|
@@ -350,6 +384,20 @@ export namespace Components {
|
|
350
384
|
*/
|
351
385
|
"src"?: string;
|
352
386
|
}
|
387
|
+
interface CpslIconGroup {
|
388
|
+
/**
|
389
|
+
* If `true`, the user cannot interact with the input.
|
390
|
+
*/
|
391
|
+
"disabled": boolean;
|
392
|
+
/**
|
393
|
+
* The direction the icons should expand from
|
394
|
+
*/
|
395
|
+
"expandFrom": 'left' | 'right';
|
396
|
+
/**
|
397
|
+
* The name of the icons to display.
|
398
|
+
*/
|
399
|
+
"icons": (IconType | string)[];
|
400
|
+
}
|
353
401
|
interface CpslIdenticon {
|
354
402
|
"hash": string;
|
355
403
|
/**
|
@@ -376,6 +424,10 @@ export namespace Components {
|
|
376
424
|
* Sets the [`autofocus` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus) on the native input element. This may not be sufficient for the element to be focused on page load.
|
377
425
|
*/
|
378
426
|
"autofocus": boolean;
|
427
|
+
/**
|
428
|
+
* If `true`, the input primary color will use the contrast value, not the primary text value.
|
429
|
+
*/
|
430
|
+
"contrastText": boolean;
|
379
431
|
/**
|
380
432
|
* If `true`, the user cannot interact with the input.
|
381
433
|
*/
|
@@ -400,6 +452,10 @@ export namespace Components {
|
|
400
452
|
* The label for the input.
|
401
453
|
*/
|
402
454
|
"label"?: string;
|
455
|
+
/**
|
456
|
+
* Mask string to apply to the input.
|
457
|
+
*/
|
458
|
+
"mask"?: string;
|
403
459
|
/**
|
404
460
|
* The maximum value, which must not be less than its minimum (min attribute) value.
|
405
461
|
*/
|
@@ -473,36 +529,6 @@ export namespace Components {
|
|
473
529
|
*/
|
474
530
|
"value"?: string;
|
475
531
|
}
|
476
|
-
interface CpslModal {
|
477
|
-
/**
|
478
|
-
* Duration in seconds of the modal entering. Default is .15.
|
479
|
-
*/
|
480
|
-
"enterTransitionDuration"?: number;
|
481
|
-
/**
|
482
|
-
* Duration in seconds of the modal exiting. Default is .15.
|
483
|
-
*/
|
484
|
-
"exitTransitionDuration"?: number;
|
485
|
-
/**
|
486
|
-
* Whether or not to show `footerExpandedFooter` and `footerExpandedHeader` slots.
|
487
|
-
*/
|
488
|
-
"footerExpanded"?: boolean;
|
489
|
-
/**
|
490
|
-
* Duration in seconds of the footer expansion animation. Default is 0.15.
|
491
|
-
*/
|
492
|
-
"footerTransitionDuration"?: number;
|
493
|
-
/**
|
494
|
-
* Whether or not to show the overlay. This will always show the modal, regardless of the value of `open`.
|
495
|
-
*/
|
496
|
-
"noOverlay"?: boolean;
|
497
|
-
/**
|
498
|
-
* Whether or not to show the modal.
|
499
|
-
*/
|
500
|
-
"open": boolean;
|
501
|
-
/**
|
502
|
-
* Override z-index.
|
503
|
-
*/
|
504
|
-
"zIndexOverride"?: number;
|
505
|
-
}
|
506
532
|
interface CpslModalV2 {
|
507
533
|
/**
|
508
534
|
* Whether or not to show the modal with a box shadow.
|
@@ -656,6 +682,14 @@ export namespace Components {
|
|
656
682
|
interface CpslRow {
|
657
683
|
}
|
658
684
|
interface CpslSelect {
|
685
|
+
/**
|
686
|
+
* ID of element to anchor popover to.
|
687
|
+
*/
|
688
|
+
"anchorElId"?: string;
|
689
|
+
/**
|
690
|
+
* If `true` the popover container will use the width of the content, else it will be set to the width of the trigger. Default is `false`
|
691
|
+
*/
|
692
|
+
"autoWidth"?: boolean;
|
659
693
|
/**
|
660
694
|
* If `true`, the user cannot interact with the input.
|
661
695
|
*/
|
@@ -692,6 +726,10 @@ export namespace Components {
|
|
692
726
|
* If `true`, the user must fill in a value before submitting a form.
|
693
727
|
*/
|
694
728
|
"required": boolean;
|
729
|
+
/**
|
730
|
+
* Placeholder for the search field.
|
731
|
+
*/
|
732
|
+
"searchPlaceholder"?: string;
|
695
733
|
/**
|
696
734
|
* Value of the selected item.
|
697
735
|
*/
|
@@ -704,6 +742,10 @@ export namespace Components {
|
|
704
742
|
* If `true`, the label will display an "optional" tag.
|
705
743
|
*/
|
706
744
|
"showOptionalLabel": boolean;
|
745
|
+
/**
|
746
|
+
* If `true`, the dropdown will contain a search field.
|
747
|
+
*/
|
748
|
+
"showSearch": boolean;
|
707
749
|
}
|
708
750
|
interface CpslSelectItem {
|
709
751
|
/**
|
@@ -779,7 +821,7 @@ export namespace Components {
|
|
779
821
|
/**
|
780
822
|
* The color of text. Options are: `"primary"`, `"secondary", `"tertiary", `"subtle", `"inverted", `"error". Default is: `"primary"`.
|
781
823
|
*/
|
782
|
-
"color"?: 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'inverted' | 'error';
|
824
|
+
"color"?: 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'inverted' | 'error' | 'contrast';
|
783
825
|
/**
|
784
826
|
* The variant of text. Options are: `"body2XS"`, `"bodyXS", `"bodyS", `"bodyM", `"bodyL", `"bodyXL", `"headingXS", `"headingS", `"headingM", `"headingL", `"headingXL", `"heading2XL". Default is: `"bodyM"`.
|
785
827
|
*/
|
@@ -800,6 +842,10 @@ export namespace Components {
|
|
800
842
|
"src"?: string;
|
801
843
|
}
|
802
844
|
}
|
845
|
+
export interface CpslAuthModalCustomEvent<T> extends CustomEvent<T> {
|
846
|
+
detail: T;
|
847
|
+
target: HTMLCpslAuthModalElement;
|
848
|
+
}
|
803
849
|
export interface CpslCheckboxCustomEvent<T> extends CustomEvent<T> {
|
804
850
|
detail: T;
|
805
851
|
target: HTMLCpslCheckboxElement;
|
@@ -820,10 +866,6 @@ export interface CpslInputCustomEvent<T> extends CustomEvent<T> {
|
|
820
866
|
detail: T;
|
821
867
|
target: HTMLCpslInputElement;
|
822
868
|
}
|
823
|
-
export interface CpslModalCustomEvent<T> extends CustomEvent<T> {
|
824
|
-
detail: T;
|
825
|
-
target: HTMLCpslModalElement;
|
826
|
-
}
|
827
869
|
export interface CpslModalV2CustomEvent<T> extends CustomEvent<T> {
|
828
870
|
detail: T;
|
829
871
|
target: HTMLCpslModalV2Element;
|
@@ -883,6 +925,27 @@ declare global {
|
|
883
925
|
prototype: HTMLCpslAppBarElement;
|
884
926
|
new (): HTMLCpslAppBarElement;
|
885
927
|
};
|
928
|
+
interface HTMLCpslAuthModalElementEventMap {
|
929
|
+
"cpslModalEntering": null;
|
930
|
+
"cpslModalEntered": null;
|
931
|
+
"cpslModalExiting": null;
|
932
|
+
"cpslModalExited": null;
|
933
|
+
"cpslModalRequestClose": null;
|
934
|
+
}
|
935
|
+
interface HTMLCpslAuthModalElement extends Components.CpslAuthModal, HTMLStencilElement {
|
936
|
+
addEventListener<K extends keyof HTMLCpslAuthModalElementEventMap>(type: K, listener: (this: HTMLCpslAuthModalElement, ev: CpslAuthModalCustomEvent<HTMLCpslAuthModalElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
937
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
938
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
939
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
940
|
+
removeEventListener<K extends keyof HTMLCpslAuthModalElementEventMap>(type: K, listener: (this: HTMLCpslAuthModalElement, ev: CpslAuthModalCustomEvent<HTMLCpslAuthModalElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
941
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
942
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
943
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
944
|
+
}
|
945
|
+
var HTMLCpslAuthModalElement: {
|
946
|
+
prototype: HTMLCpslAuthModalElement;
|
947
|
+
new (): HTMLCpslAuthModalElement;
|
948
|
+
};
|
886
949
|
interface HTMLCpslAvatarElement extends Components.CpslAvatar, HTMLStencilElement {
|
887
950
|
}
|
888
951
|
var HTMLCpslAvatarElement: {
|
@@ -1015,6 +1078,12 @@ declare global {
|
|
1015
1078
|
prototype: HTMLCpslIconElement;
|
1016
1079
|
new (): HTMLCpslIconElement;
|
1017
1080
|
};
|
1081
|
+
interface HTMLCpslIconGroupElement extends Components.CpslIconGroup, HTMLStencilElement {
|
1082
|
+
}
|
1083
|
+
var HTMLCpslIconGroupElement: {
|
1084
|
+
prototype: HTMLCpslIconGroupElement;
|
1085
|
+
new (): HTMLCpslIconGroupElement;
|
1086
|
+
};
|
1018
1087
|
interface HTMLCpslIdenticonElement extends Components.CpslIdenticon, HTMLStencilElement {
|
1019
1088
|
}
|
1020
1089
|
var HTMLCpslIdenticonElement: {
|
@@ -1048,27 +1117,6 @@ declare global {
|
|
1048
1117
|
prototype: HTMLCpslInputElement;
|
1049
1118
|
new (): HTMLCpslInputElement;
|
1050
1119
|
};
|
1051
|
-
interface HTMLCpslModalElementEventMap {
|
1052
|
-
"cpslModalEntering": null;
|
1053
|
-
"cpslModalEntered": null;
|
1054
|
-
"cpslModalExiting": null;
|
1055
|
-
"cpslModalExited": null;
|
1056
|
-
"cpslModalRequestClose": null;
|
1057
|
-
}
|
1058
|
-
interface HTMLCpslModalElement extends Components.CpslModal, HTMLStencilElement {
|
1059
|
-
addEventListener<K extends keyof HTMLCpslModalElementEventMap>(type: K, listener: (this: HTMLCpslModalElement, ev: CpslModalCustomEvent<HTMLCpslModalElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
1060
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
1061
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
1062
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
1063
|
-
removeEventListener<K extends keyof HTMLCpslModalElementEventMap>(type: K, listener: (this: HTMLCpslModalElement, ev: CpslModalCustomEvent<HTMLCpslModalElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
1064
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
1065
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
1066
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
1067
|
-
}
|
1068
|
-
var HTMLCpslModalElement: {
|
1069
|
-
prototype: HTMLCpslModalElement;
|
1070
|
-
new (): HTMLCpslModalElement;
|
1071
|
-
};
|
1072
1120
|
interface HTMLCpslModalV2ElementEventMap {
|
1073
1121
|
"cpslModalEntering": null;
|
1074
1122
|
"cpslModalEntered": null;
|
@@ -1181,6 +1229,7 @@ declare global {
|
|
1181
1229
|
"cpslBlur": FocusEvent;
|
1182
1230
|
"cpslFocus": FocusEvent;
|
1183
1231
|
"cpslSelectValueChange": string;
|
1232
|
+
"cpslSearchChange": string;
|
1184
1233
|
}
|
1185
1234
|
interface HTMLCpslSelectElement extends Components.CpslSelect, HTMLStencilElement {
|
1186
1235
|
addEventListener<K extends keyof HTMLCpslSelectElementEventMap>(type: K, listener: (this: HTMLCpslSelectElement, ev: CpslSelectCustomEvent<HTMLCpslSelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
@@ -1310,6 +1359,7 @@ declare global {
|
|
1310
1359
|
"cpsl-alert": HTMLCpslAlertElement;
|
1311
1360
|
"cpsl-animation": HTMLCpslAnimationElement;
|
1312
1361
|
"cpsl-app-bar": HTMLCpslAppBarElement;
|
1362
|
+
"cpsl-auth-modal": HTMLCpslAuthModalElement;
|
1313
1363
|
"cpsl-avatar": HTMLCpslAvatarElement;
|
1314
1364
|
"cpsl-button": HTMLCpslButtonElement;
|
1315
1365
|
"cpsl-button-group": HTMLCpslButtonGroupElement;
|
@@ -1324,10 +1374,10 @@ declare global {
|
|
1324
1374
|
"cpsl-grid": HTMLCpslGridElement;
|
1325
1375
|
"cpsl-hero": HTMLCpslHeroElement;
|
1326
1376
|
"cpsl-icon": HTMLCpslIconElement;
|
1377
|
+
"cpsl-icon-group": HTMLCpslIconGroupElement;
|
1327
1378
|
"cpsl-identicon": HTMLCpslIdenticonElement;
|
1328
1379
|
"cpsl-info-box": HTMLCpslInfoBoxElement;
|
1329
1380
|
"cpsl-input": HTMLCpslInputElement;
|
1330
|
-
"cpsl-modal": HTMLCpslModalElement;
|
1331
1381
|
"cpsl-modal-v2": HTMLCpslModalV2Element;
|
1332
1382
|
"cpsl-nav-button-group": HTMLCpslNavButtonGroupElement;
|
1333
1383
|
"cpsl-overlay": HTMLCpslOverlayElement;
|
@@ -1381,6 +1431,48 @@ declare namespace LocalJSX {
|
|
1381
1431
|
*/
|
1382
1432
|
"zIndexOverride"?: number;
|
1383
1433
|
}
|
1434
|
+
interface CpslAuthModal {
|
1435
|
+
/**
|
1436
|
+
* Duration in seconds of the modal entering. Default is .15.
|
1437
|
+
*/
|
1438
|
+
"enterTransitionDuration"?: number;
|
1439
|
+
/**
|
1440
|
+
* Duration in seconds of the modal exiting. Default is .15.
|
1441
|
+
*/
|
1442
|
+
"exitTransitionDuration"?: number;
|
1443
|
+
/**
|
1444
|
+
* Whether or not to show the overlay. This will always show the modal, regardless of the value of `open`.
|
1445
|
+
*/
|
1446
|
+
"noOverlay"?: boolean;
|
1447
|
+
/**
|
1448
|
+
* Emitted when enter animation finishes.
|
1449
|
+
*/
|
1450
|
+
"onCpslModalEntered"?: (event: CpslAuthModalCustomEvent<null>) => void;
|
1451
|
+
/**
|
1452
|
+
* Emitted when enter animation starts.
|
1453
|
+
*/
|
1454
|
+
"onCpslModalEntering"?: (event: CpslAuthModalCustomEvent<null>) => void;
|
1455
|
+
/**
|
1456
|
+
* Emitted when exit animation finishes.
|
1457
|
+
*/
|
1458
|
+
"onCpslModalExited"?: (event: CpslAuthModalCustomEvent<null>) => void;
|
1459
|
+
/**
|
1460
|
+
* Emitted when exit animation starts.
|
1461
|
+
*/
|
1462
|
+
"onCpslModalExiting"?: (event: CpslAuthModalCustomEvent<null>) => void;
|
1463
|
+
/**
|
1464
|
+
* Emitted when exit animation finishes.
|
1465
|
+
*/
|
1466
|
+
"onCpslModalRequestClose"?: (event: CpslAuthModalCustomEvent<null>) => void;
|
1467
|
+
/**
|
1468
|
+
* Whether or not to show the modal.
|
1469
|
+
*/
|
1470
|
+
"open"?: boolean;
|
1471
|
+
/**
|
1472
|
+
* Override z-index.
|
1473
|
+
*/
|
1474
|
+
"zIndexOverride"?: number;
|
1475
|
+
}
|
1384
1476
|
interface CpslAvatar {
|
1385
1477
|
/**
|
1386
1478
|
* The alternate text for the avatar image.
|
@@ -1421,9 +1513,9 @@ declare namespace LocalJSX {
|
|
1421
1513
|
*/
|
1422
1514
|
"target"?: string;
|
1423
1515
|
/**
|
1424
|
-
* The variant of the button. Options are: `"primary"`, `"secondary", `"
|
1516
|
+
* The variant of the button. Options are: `"primary"`, `"secondary", `"tertiary", `"ghost"`, `"destructive"`. Default is: `"primary"`.
|
1425
1517
|
*/
|
1426
|
-
"variant"?: 'primary' | 'secondary' | 'ghost' | 'destructive';
|
1518
|
+
"variant"?: 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'destructive';
|
1427
1519
|
}
|
1428
1520
|
interface CpslButtonGroup {
|
1429
1521
|
/**
|
@@ -1694,12 +1786,24 @@ declare namespace LocalJSX {
|
|
1694
1786
|
"fixed"?: boolean;
|
1695
1787
|
}
|
1696
1788
|
interface CpslHero {
|
1789
|
+
/**
|
1790
|
+
* The height of the container. Default is: 180.
|
1791
|
+
*/
|
1792
|
+
"height"?: number;
|
1793
|
+
/**
|
1794
|
+
* Hides the fade out components Default is: `false`.
|
1795
|
+
*/
|
1796
|
+
"hideFadeOut"?: boolean;
|
1697
1797
|
"subtitle"?: string;
|
1698
1798
|
"title"?: string;
|
1699
1799
|
/**
|
1700
|
-
* The variant of the button. Options are: `"
|
1800
|
+
* The variant of the button. Options are: `"customContent"`, `"connection"`, `"externalWalletConnection"`, `"pending", `"approved", `"failed". Default is: `"connection"`.
|
1801
|
+
*/
|
1802
|
+
"variant"?: 'customContent' | 'connection' | 'externalWalletConnection' | 'pending' | 'approved' | 'failed';
|
1803
|
+
/**
|
1804
|
+
* Whether to use the Capsule custom theming or use the provided theme Default is: `false`.
|
1701
1805
|
*/
|
1702
|
-
"
|
1806
|
+
"withDefaultTheme"?: boolean;
|
1703
1807
|
}
|
1704
1808
|
interface CpslIcon {
|
1705
1809
|
/**
|
@@ -1711,6 +1815,20 @@ declare namespace LocalJSX {
|
|
1711
1815
|
*/
|
1712
1816
|
"src"?: string;
|
1713
1817
|
}
|
1818
|
+
interface CpslIconGroup {
|
1819
|
+
/**
|
1820
|
+
* If `true`, the user cannot interact with the input.
|
1821
|
+
*/
|
1822
|
+
"disabled"?: boolean;
|
1823
|
+
/**
|
1824
|
+
* The direction the icons should expand from
|
1825
|
+
*/
|
1826
|
+
"expandFrom"?: 'left' | 'right';
|
1827
|
+
/**
|
1828
|
+
* The name of the icons to display.
|
1829
|
+
*/
|
1830
|
+
"icons"?: (IconType | string)[];
|
1831
|
+
}
|
1714
1832
|
interface CpslIdenticon {
|
1715
1833
|
"hash"?: string;
|
1716
1834
|
/**
|
@@ -1737,6 +1855,10 @@ declare namespace LocalJSX {
|
|
1737
1855
|
* Sets the [`autofocus` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus) on the native input element. This may not be sufficient for the element to be focused on page load.
|
1738
1856
|
*/
|
1739
1857
|
"autofocus"?: boolean;
|
1858
|
+
/**
|
1859
|
+
* If `true`, the input primary color will use the contrast value, not the primary text value.
|
1860
|
+
*/
|
1861
|
+
"contrastText"?: boolean;
|
1740
1862
|
/**
|
1741
1863
|
* If `true`, the user cannot interact with the input.
|
1742
1864
|
*/
|
@@ -1761,6 +1883,10 @@ declare namespace LocalJSX {
|
|
1761
1883
|
* The label for the input.
|
1762
1884
|
*/
|
1763
1885
|
"label"?: string;
|
1886
|
+
/**
|
1887
|
+
* Mask string to apply to the input.
|
1888
|
+
*/
|
1889
|
+
"mask"?: string;
|
1764
1890
|
/**
|
1765
1891
|
* The maximum value, which must not be less than its minimum (min attribute) value.
|
1766
1892
|
*/
|
@@ -1854,56 +1980,6 @@ declare namespace LocalJSX {
|
|
1854
1980
|
*/
|
1855
1981
|
"value"?: string;
|
1856
1982
|
}
|
1857
|
-
interface CpslModal {
|
1858
|
-
/**
|
1859
|
-
* Duration in seconds of the modal entering. Default is .15.
|
1860
|
-
*/
|
1861
|
-
"enterTransitionDuration"?: number;
|
1862
|
-
/**
|
1863
|
-
* Duration in seconds of the modal exiting. Default is .15.
|
1864
|
-
*/
|
1865
|
-
"exitTransitionDuration"?: number;
|
1866
|
-
/**
|
1867
|
-
* Whether or not to show `footerExpandedFooter` and `footerExpandedHeader` slots.
|
1868
|
-
*/
|
1869
|
-
"footerExpanded"?: boolean;
|
1870
|
-
/**
|
1871
|
-
* Duration in seconds of the footer expansion animation. Default is 0.15.
|
1872
|
-
*/
|
1873
|
-
"footerTransitionDuration"?: number;
|
1874
|
-
/**
|
1875
|
-
* Whether or not to show the overlay. This will always show the modal, regardless of the value of `open`.
|
1876
|
-
*/
|
1877
|
-
"noOverlay"?: boolean;
|
1878
|
-
/**
|
1879
|
-
* Emitted when enter animation finishes.
|
1880
|
-
*/
|
1881
|
-
"onCpslModalEntered"?: (event: CpslModalCustomEvent<null>) => void;
|
1882
|
-
/**
|
1883
|
-
* Emitted when enter animation starts.
|
1884
|
-
*/
|
1885
|
-
"onCpslModalEntering"?: (event: CpslModalCustomEvent<null>) => void;
|
1886
|
-
/**
|
1887
|
-
* Emitted when exit animation finishes.
|
1888
|
-
*/
|
1889
|
-
"onCpslModalExited"?: (event: CpslModalCustomEvent<null>) => void;
|
1890
|
-
/**
|
1891
|
-
* Emitted when exit animation starts.
|
1892
|
-
*/
|
1893
|
-
"onCpslModalExiting"?: (event: CpslModalCustomEvent<null>) => void;
|
1894
|
-
/**
|
1895
|
-
* Emitted when exit animation finishes.
|
1896
|
-
*/
|
1897
|
-
"onCpslModalRequestClose"?: (event: CpslModalCustomEvent<null>) => void;
|
1898
|
-
/**
|
1899
|
-
* Whether or not to show the modal.
|
1900
|
-
*/
|
1901
|
-
"open"?: boolean;
|
1902
|
-
/**
|
1903
|
-
* Override z-index.
|
1904
|
-
*/
|
1905
|
-
"zIndexOverride"?: number;
|
1906
|
-
}
|
1907
1983
|
interface CpslModalV2 {
|
1908
1984
|
/**
|
1909
1985
|
* Whether or not to show the modal with a box shadow.
|
@@ -2085,6 +2161,14 @@ declare namespace LocalJSX {
|
|
2085
2161
|
interface CpslRow {
|
2086
2162
|
}
|
2087
2163
|
interface CpslSelect {
|
2164
|
+
/**
|
2165
|
+
* ID of element to anchor popover to.
|
2166
|
+
*/
|
2167
|
+
"anchorElId"?: string;
|
2168
|
+
/**
|
2169
|
+
* If `true` the popover container will use the width of the content, else it will be set to the width of the trigger. Default is `false`
|
2170
|
+
*/
|
2171
|
+
"autoWidth"?: boolean;
|
2088
2172
|
/**
|
2089
2173
|
* If `true`, the user cannot interact with the input.
|
2090
2174
|
*/
|
@@ -2121,6 +2205,10 @@ declare namespace LocalJSX {
|
|
2121
2205
|
* Emitted when the input has focus.
|
2122
2206
|
*/
|
2123
2207
|
"onCpslFocus"?: (event: CpslSelectCustomEvent<FocusEvent>) => void;
|
2208
|
+
/**
|
2209
|
+
* Emitted when the search value changes.
|
2210
|
+
*/
|
2211
|
+
"onCpslSearchChange"?: (event: CpslSelectCustomEvent<string>) => void;
|
2124
2212
|
/**
|
2125
2213
|
* Emitted when the value changes.
|
2126
2214
|
*/
|
@@ -2133,6 +2221,10 @@ declare namespace LocalJSX {
|
|
2133
2221
|
* If `true`, the user must fill in a value before submitting a form.
|
2134
2222
|
*/
|
2135
2223
|
"required"?: boolean;
|
2224
|
+
/**
|
2225
|
+
* Placeholder for the search field.
|
2226
|
+
*/
|
2227
|
+
"searchPlaceholder"?: string;
|
2136
2228
|
/**
|
2137
2229
|
* Value of the selected item.
|
2138
2230
|
*/
|
@@ -2145,6 +2237,10 @@ declare namespace LocalJSX {
|
|
2145
2237
|
* If `true`, the label will display an "optional" tag.
|
2146
2238
|
*/
|
2147
2239
|
"showOptionalLabel"?: boolean;
|
2240
|
+
/**
|
2241
|
+
* If `true`, the dropdown will contain a search field.
|
2242
|
+
*/
|
2243
|
+
"showSearch"?: boolean;
|
2148
2244
|
}
|
2149
2245
|
interface CpslSelectItem {
|
2150
2246
|
/**
|
@@ -2232,7 +2328,7 @@ declare namespace LocalJSX {
|
|
2232
2328
|
/**
|
2233
2329
|
* The color of text. Options are: `"primary"`, `"secondary", `"tertiary", `"subtle", `"inverted", `"error". Default is: `"primary"`.
|
2234
2330
|
*/
|
2235
|
-
"color"?: 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'inverted' | 'error';
|
2331
|
+
"color"?: 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'inverted' | 'error' | 'contrast';
|
2236
2332
|
/**
|
2237
2333
|
* The variant of text. Options are: `"body2XS"`, `"bodyXS", `"bodyS", `"bodyM", `"bodyL", `"bodyXL", `"headingXS", `"headingS", `"headingM", `"headingL", `"headingXL", `"heading2XL". Default is: `"bodyM"`.
|
2238
2334
|
*/
|
@@ -2256,6 +2352,7 @@ declare namespace LocalJSX {
|
|
2256
2352
|
"cpsl-alert": CpslAlert;
|
2257
2353
|
"cpsl-animation": CpslAnimation;
|
2258
2354
|
"cpsl-app-bar": CpslAppBar;
|
2355
|
+
"cpsl-auth-modal": CpslAuthModal;
|
2259
2356
|
"cpsl-avatar": CpslAvatar;
|
2260
2357
|
"cpsl-button": CpslButton;
|
2261
2358
|
"cpsl-button-group": CpslButtonGroup;
|
@@ -2270,10 +2367,10 @@ declare namespace LocalJSX {
|
|
2270
2367
|
"cpsl-grid": CpslGrid;
|
2271
2368
|
"cpsl-hero": CpslHero;
|
2272
2369
|
"cpsl-icon": CpslIcon;
|
2370
|
+
"cpsl-icon-group": CpslIconGroup;
|
2273
2371
|
"cpsl-identicon": CpslIdenticon;
|
2274
2372
|
"cpsl-info-box": CpslInfoBox;
|
2275
2373
|
"cpsl-input": CpslInput;
|
2276
|
-
"cpsl-modal": CpslModal;
|
2277
2374
|
"cpsl-modal-v2": CpslModalV2;
|
2278
2375
|
"cpsl-nav-button-group": CpslNavButtonGroup;
|
2279
2376
|
"cpsl-overlay": CpslOverlay;
|
@@ -2303,6 +2400,7 @@ declare module "@stencil/core" {
|
|
2303
2400
|
"cpsl-alert": LocalJSX.CpslAlert & JSXBase.HTMLAttributes<HTMLCpslAlertElement>;
|
2304
2401
|
"cpsl-animation": LocalJSX.CpslAnimation & JSXBase.HTMLAttributes<HTMLCpslAnimationElement>;
|
2305
2402
|
"cpsl-app-bar": LocalJSX.CpslAppBar & JSXBase.HTMLAttributes<HTMLCpslAppBarElement>;
|
2403
|
+
"cpsl-auth-modal": LocalJSX.CpslAuthModal & JSXBase.HTMLAttributes<HTMLCpslAuthModalElement>;
|
2306
2404
|
"cpsl-avatar": LocalJSX.CpslAvatar & JSXBase.HTMLAttributes<HTMLCpslAvatarElement>;
|
2307
2405
|
"cpsl-button": LocalJSX.CpslButton & JSXBase.HTMLAttributes<HTMLCpslButtonElement>;
|
2308
2406
|
"cpsl-button-group": LocalJSX.CpslButtonGroup & JSXBase.HTMLAttributes<HTMLCpslButtonGroupElement>;
|
@@ -2317,10 +2415,10 @@ declare module "@stencil/core" {
|
|
2317
2415
|
"cpsl-grid": LocalJSX.CpslGrid & JSXBase.HTMLAttributes<HTMLCpslGridElement>;
|
2318
2416
|
"cpsl-hero": LocalJSX.CpslHero & JSXBase.HTMLAttributes<HTMLCpslHeroElement>;
|
2319
2417
|
"cpsl-icon": LocalJSX.CpslIcon & JSXBase.HTMLAttributes<HTMLCpslIconElement>;
|
2418
|
+
"cpsl-icon-group": LocalJSX.CpslIconGroup & JSXBase.HTMLAttributes<HTMLCpslIconGroupElement>;
|
2320
2419
|
"cpsl-identicon": LocalJSX.CpslIdenticon & JSXBase.HTMLAttributes<HTMLCpslIdenticonElement>;
|
2321
2420
|
"cpsl-info-box": LocalJSX.CpslInfoBox & JSXBase.HTMLAttributes<HTMLCpslInfoBoxElement>;
|
2322
2421
|
"cpsl-input": LocalJSX.CpslInput & JSXBase.HTMLAttributes<HTMLCpslInputElement>;
|
2323
|
-
"cpsl-modal": LocalJSX.CpslModal & JSXBase.HTMLAttributes<HTMLCpslModalElement>;
|
2324
2422
|
"cpsl-modal-v2": LocalJSX.CpslModalV2 & JSXBase.HTMLAttributes<HTMLCpslModalV2Element>;
|
2325
2423
|
"cpsl-nav-button-group": LocalJSX.CpslNavButtonGroup & JSXBase.HTMLAttributes<HTMLCpslNavButtonGroupElement>;
|
2326
2424
|
"cpsl-overlay": LocalJSX.CpslOverlay & JSXBase.HTMLAttributes<HTMLCpslOverlayElement>;
|
@@ -13,6 +13,11 @@ export type ImageType = keyof typeof Images;
|
|
13
13
|
export type Theme = {
|
14
14
|
foregroundColor?: string;
|
15
15
|
backgroundColor?: string;
|
16
|
+
accentColor?: string;
|
17
|
+
darkForegroundColor?: string;
|
18
|
+
darkBackgroundColor?: string;
|
19
|
+
darkAccentColor?: string;
|
20
|
+
mode?: 'light' | 'dark';
|
16
21
|
borderRadius?: BorderRadius;
|
17
22
|
font?: string;
|
18
23
|
customPalette?: CustomPalette;
|
@@ -244,6 +249,14 @@ export interface CustomPalette {
|
|
244
249
|
surface?: string;
|
245
250
|
border?: string;
|
246
251
|
};
|
252
|
+
iconGroup?: {
|
253
|
+
surface?: string;
|
254
|
+
border?: string;
|
255
|
+
icon?: {
|
256
|
+
default?: string;
|
257
|
+
disabled?: string;
|
258
|
+
};
|
259
|
+
};
|
247
260
|
}
|
248
261
|
export interface InteractionCallback {
|
249
262
|
eventName: string;
|
@@ -768,6 +768,7 @@ export declare namespace JSXBase {
|
|
768
768
|
hrefLang?: string;
|
769
769
|
hreflang?: string;
|
770
770
|
media?: string;
|
771
|
+
ping?: string;
|
771
772
|
rel?: string;
|
772
773
|
target?: string;
|
773
774
|
referrerPolicy?: ReferrerPolicy;
|
@@ -794,7 +795,6 @@ export declare namespace JSXBase {
|
|
794
795
|
cite?: string;
|
795
796
|
}
|
796
797
|
interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
|
797
|
-
autoFocus?: boolean;
|
798
798
|
disabled?: boolean;
|
799
799
|
form?: string;
|
800
800
|
formAction?: string;
|
@@ -921,8 +921,6 @@ export declare namespace JSXBase {
|
|
921
921
|
autocapitalize?: string;
|
922
922
|
autoComplete?: string;
|
923
923
|
autocomplete?: string;
|
924
|
-
autoFocus?: boolean;
|
925
|
-
autofocus?: boolean | string;
|
926
924
|
capture?: string;
|
927
925
|
checked?: boolean;
|
928
926
|
crossOrigin?: string;
|
@@ -979,8 +977,6 @@ export declare namespace JSXBase {
|
|
979
977
|
popoverTarget?: string;
|
980
978
|
}
|
981
979
|
interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
|
982
|
-
autoFocus?: boolean;
|
983
|
-
autofocus?: boolean | string;
|
984
980
|
challenge?: string;
|
985
981
|
disabled?: boolean;
|
986
982
|
form?: string;
|
@@ -993,7 +989,6 @@ export declare namespace JSXBase {
|
|
993
989
|
interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
|
994
990
|
form?: string;
|
995
991
|
htmlFor?: string;
|
996
|
-
htmlfor?: string;
|
997
992
|
}
|
998
993
|
interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
|
999
994
|
value?: string | string[] | number;
|
@@ -1104,7 +1099,6 @@ export declare namespace JSXBase {
|
|
1104
1099
|
interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
|
1105
1100
|
form?: string;
|
1106
1101
|
htmlFor?: string;
|
1107
|
-
htmlfor?: string;
|
1108
1102
|
name?: string;
|
1109
1103
|
}
|
1110
1104
|
interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
|
@@ -1129,7 +1123,6 @@ export declare namespace JSXBase {
|
|
1129
1123
|
type?: string;
|
1130
1124
|
}
|
1131
1125
|
interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
|
1132
|
-
autoFocus?: boolean;
|
1133
1126
|
disabled?: boolean;
|
1134
1127
|
form?: string;
|
1135
1128
|
multiple?: boolean;
|
@@ -1164,8 +1157,6 @@ export declare namespace JSXBase {
|
|
1164
1157
|
interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
|
1165
1158
|
autoComplete?: string;
|
1166
1159
|
autocomplete?: string;
|
1167
|
-
autoFocus?: boolean;
|
1168
|
-
autofocus?: boolean | string;
|
1169
1160
|
cols?: number;
|
1170
1161
|
disabled?: boolean;
|
1171
1162
|
form?: string;
|
@@ -1218,6 +1209,8 @@ export declare namespace JSXBase {
|
|
1218
1209
|
interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
|
1219
1210
|
innerHTML?: string;
|
1220
1211
|
accessKey?: string;
|
1212
|
+
autoFocus?: boolean;
|
1213
|
+
autofocus?: boolean | string;
|
1221
1214
|
class?: string | {
|
1222
1215
|
[className: string]: boolean;
|
1223
1216
|
};
|