@usecapsule/core-components 2.0.10 → 3.0.1-dev.1
Sign up to get free protection for your applications and to get access to all the features.
- package/css/capsule-core.css +134 -30
- 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-415384b7.entry.js → p-127ac658.entry.js} +2 -2
- package/dist/capsule/{p-415384b7.entry.js.map → p-127ac658.entry.js.map} +1 -1
- package/dist/capsule/p-39584a7b.entry.js +2 -0
- package/dist/capsule/p-39584a7b.entry.js.map +1 -0
- package/dist/capsule/{p-b76350fd.entry.js → p-69756614.entry.js} +2 -2
- package/dist/capsule/{p-b76350fd.entry.js.map → p-69756614.entry.js.map} +1 -1
- package/dist/capsule/p-73398222.entry.js +2 -0
- package/dist/capsule/{p-fa4e3c14.entry.js.map → p-73398222.entry.js.map} +1 -1
- package/dist/capsule/p-8de15b15.entry.js +29 -0
- package/dist/capsule/p-8de15b15.entry.js.map +1 -0
- package/dist/capsule/p-97c33636.js +3 -0
- package/dist/capsule/p-97c33636.js.map +1 -0
- package/dist/capsule/p-f2393be6.js +2 -0
- package/dist/capsule/p-f2393be6.js.map +1 -0
- package/dist/capsule/p-f72482c3.entry.js +2 -0
- package/dist/capsule/{p-6b02ea8d.entry.js.map → p-f72482c3.entry.js.map} +1 -1
- package/dist/capsule/{p-4d957466.entry.js → p-fd26ce6e.entry.js} +2 -2
- package/dist/capsule/{p-4d957466.entry.js.map → p-fd26ce6e.entry.js.map} +1 -1
- package/dist/cjs/capsule.cjs.js +10 -10
- package/dist/cjs/capsule.cjs.js.map +1 -1
- package/dist/cjs/constants-9b1b01bb.js +29 -0
- package/dist/cjs/constants-9b1b01bb.js.map +1 -0
- package/dist/cjs/{cpsl-alert_18.cjs.entry.js → cpsl-alert_33.cjs.entry.js} +1136 -232
- package/dist/cjs/cpsl-alert_33.cjs.entry.js.map +1 -0
- package/dist/cjs/cpsl-animation.cjs.entry.js +1 -1
- package/dist/cjs/cpsl-col.cjs.entry.js +2 -2
- package/dist/cjs/cpsl-grid.cjs.entry.js +3 -3
- package/dist/cjs/cpsl-info-box.cjs.entry.js +3 -3
- package/dist/cjs/cpsl-info-box.cjs.entry.js.map +1 -1
- package/dist/cjs/cpsl-modal-v2.cjs.entry.js +55 -0
- package/dist/cjs/cpsl-modal-v2.cjs.entry.js.map +1 -0
- package/dist/cjs/cpsl-row.cjs.entry.js +2 -2
- package/dist/cjs/index-5293d431.js +1414 -0
- package/dist/cjs/index-5293d431.js.map +1 -0
- package/dist/cjs/index.cjs.js +65 -24
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/assets/icons/brush.svg +3 -0
- package/dist/collection/assets/icons/check-circle.svg +3 -0
- package/dist/collection/assets/icons/chevron-up.svg +2 -2
- package/dist/collection/assets/icons/close.svg +3 -4
- package/dist/collection/assets/icons/cube.svg +3 -0
- package/dist/collection/assets/icons/file.svg +3 -0
- package/dist/collection/assets/icons/home.svg +3 -0
- package/dist/collection/assets/icons/image.svg +3 -0
- package/dist/collection/assets/icons/index.js +13 -3
- package/dist/collection/assets/icons/index.js.map +1 -1
- package/dist/collection/assets/icons/lightning-01.svg +3 -0
- package/dist/collection/assets/icons/lightning.svg +2 -2
- package/dist/collection/assets/icons/menu.svg +3 -0
- package/dist/collection/assets/icons/refresh.svg +3 -0
- package/dist/collection/assets/icons/settings.svg +4 -0
- package/dist/collection/assets/icons/stars.svg +4 -0
- package/dist/collection/assets/icons/x.svg +3 -0
- package/dist/collection/collection-manifest.json +18 -2
- package/dist/collection/components/cpsl-alert/cpsl-alert.css +21 -11
- package/dist/collection/components/cpsl-alert/cpsl-alert.js +34 -26
- package/dist/collection/components/cpsl-alert/cpsl-alert.js.map +1 -1
- package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.css +67 -0
- package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js +85 -0
- package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js.map +1 -0
- package/dist/collection/components/cpsl-app-bar/test/cpsl-app-bar.e2e.js +29 -0
- package/dist/collection/components/cpsl-app-bar/test/cpsl-app-bar.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-app-bar/test/cpsl-app-bar.spec.js +37 -0
- package/dist/collection/components/cpsl-app-bar/test/cpsl-app-bar.spec.js.map +1 -0
- package/dist/collection/components/cpsl-avatar/cpsl-avatar.css +31 -0
- package/dist/collection/components/cpsl-avatar/cpsl-avatar.js +81 -0
- package/dist/collection/components/cpsl-avatar/cpsl-avatar.js.map +1 -0
- package/dist/collection/components/cpsl-avatar/test/cpsl-avatar.e2e.js +29 -0
- package/dist/collection/components/cpsl-avatar/test/cpsl-avatar.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-avatar/test/cpsl-avatar.spec.js +37 -0
- package/dist/collection/components/cpsl-avatar/test/cpsl-avatar.spec.js.map +1 -0
- package/dist/collection/components/cpsl-button/cpsl-button.css +276 -56
- package/dist/collection/components/cpsl-button/cpsl-button.js +104 -7
- package/dist/collection/components/cpsl-button/cpsl-button.js.map +1 -1
- package/dist/collection/components/cpsl-button-group/cpsl-button-group.css +89 -0
- package/dist/collection/components/cpsl-button-group/cpsl-button-group.js +78 -0
- package/dist/collection/components/cpsl-button-group/cpsl-button-group.js.map +1 -0
- package/dist/collection/components/cpsl-button-group/test/cpsl-button-group.e2e.js +29 -0
- package/dist/collection/components/cpsl-button-group/test/cpsl-button-group.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-button-group/test/cpsl-button-group.spec.js +37 -0
- package/dist/collection/components/cpsl-button-group/test/cpsl-button-group.spec.js.map +1 -0
- package/dist/collection/components/cpsl-card/cpsl-card.css +81 -0
- package/dist/collection/components/cpsl-card/cpsl-card.js +19 -0
- package/dist/collection/components/cpsl-card/cpsl-card.js.map +1 -0
- package/dist/collection/components/cpsl-card/test/cpsl-card.e2e.js +29 -0
- package/dist/collection/components/cpsl-card/test/cpsl-card.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-card/test/cpsl-card.spec.js +37 -0
- package/dist/collection/components/cpsl-card/test/cpsl-card.spec.js.map +1 -0
- package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.css +110 -0
- package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.js +64 -0
- package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.js.map +1 -0
- package/dist/collection/components/cpsl-checkbox/test/cpsl-checkbox.e2e.js +29 -0
- package/dist/collection/components/cpsl-checkbox/test/cpsl-checkbox.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-checkbox/test/cpsl-checkbox.spec.js +37 -0
- package/dist/collection/components/cpsl-checkbox/test/cpsl-checkbox.spec.js.map +1 -0
- package/dist/collection/components/cpsl-code-input/cpsl-code-input.css +1 -1
- package/dist/collection/components/cpsl-code-input/cpsl-code-input.js +2 -2
- package/dist/collection/components/cpsl-code-input/cpsl-code-input.js.map +1 -1
- package/dist/collection/components/cpsl-col/cpsl-col.js +1 -1
- package/dist/collection/components/cpsl-divider/cpsl-divider.css +1 -1
- package/dist/collection/components/cpsl-divider/cpsl-divider.js +1 -1
- package/dist/collection/components/cpsl-drawer/cpsl-drawer.css +90 -0
- package/dist/collection/components/cpsl-drawer/cpsl-drawer.js +222 -0
- package/dist/collection/components/cpsl-drawer/cpsl-drawer.js.map +1 -0
- package/dist/collection/components/cpsl-drawer/test/cpsl-drawer.e2e.js +29 -0
- package/dist/collection/components/cpsl-drawer/test/cpsl-drawer.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-drawer/test/cpsl-drawer.spec.js +37 -0
- package/dist/collection/components/cpsl-drawer/test/cpsl-drawer.spec.js.map +1 -0
- package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js +1 -1
- package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js.map +1 -1
- package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.css +210 -0
- package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js +406 -0
- package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js.map +1 -0
- package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.e2e.js +29 -0
- package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.spec.js +37 -0
- package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.spec.js.map +1 -0
- package/dist/collection/components/cpsl-grid/cpsl-grid.js +2 -2
- package/dist/collection/components/cpsl-icon/cpsl-icon.js +2 -2
- package/dist/collection/components/cpsl-info-box/cpsl-info-box.css +1 -1
- package/dist/collection/components/cpsl-info-box/cpsl-info-box.js +1 -1
- package/dist/collection/components/cpsl-input/cpsl-input.css +39 -22
- package/dist/collection/components/cpsl-input/cpsl-input.js +47 -11
- package/dist/collection/components/cpsl-input/cpsl-input.js.map +1 -1
- package/dist/collection/components/cpsl-modal/cpsl-modal.css +16 -6
- package/dist/collection/components/cpsl-modal/cpsl-modal.js +21 -2
- package/dist/collection/components/cpsl-modal/cpsl-modal.js.map +1 -1
- package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.css +91 -0
- package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js +224 -0
- package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js.map +1 -0
- package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.e2e.js +29 -0
- package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.spec.js +37 -0
- package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.spec.js.map +1 -0
- package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.css +50 -0
- package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js +78 -0
- package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js.map +1 -0
- package/dist/collection/components/cpsl-nav-button-group/test/cpsl-nav-button-group.e2e.js +29 -0
- package/dist/collection/components/cpsl-nav-button-group/test/cpsl-nav-button-group.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-nav-button-group/test/cpsl-nav-button-group.spec.js +37 -0
- package/dist/collection/components/cpsl-nav-button-group/test/cpsl-nav-button-group.spec.js.map +1 -0
- package/dist/collection/components/cpsl-overlay/cpsl-overlay.css +62 -4
- package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +35 -17
- package/dist/collection/components/cpsl-overlay/cpsl-overlay.js.map +1 -1
- package/dist/collection/components/cpsl-pagination/cpsl-pagination.css +67 -0
- package/dist/collection/components/cpsl-pagination/cpsl-pagination.js +174 -0
- package/dist/collection/components/cpsl-pagination/cpsl-pagination.js.map +1 -0
- package/dist/collection/components/cpsl-pagination/test/cpsl-pagination.e2e.js +29 -0
- package/dist/collection/components/cpsl-pagination/test/cpsl-pagination.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-pagination/test/cpsl-pagination.spec.js +37 -0
- package/dist/collection/components/cpsl-pagination/test/cpsl-pagination.spec.js.map +1 -0
- package/dist/collection/components/cpsl-pill/cpsl-pill.css +1 -1
- package/dist/collection/components/cpsl-pill/cpsl-pill.js +1 -1
- package/dist/collection/components/cpsl-popover/cpsl-popover.css +98 -0
- package/dist/collection/components/cpsl-popover/cpsl-popover.js +470 -0
- package/dist/collection/components/cpsl-popover/cpsl-popover.js.map +1 -0
- package/dist/collection/components/cpsl-popover/test/cpsl-popover.e2e.js +29 -0
- package/dist/collection/components/cpsl-popover/test/cpsl-popover.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-popover/test/cpsl-popover.spec.js +37 -0
- package/dist/collection/components/cpsl-popover/test/cpsl-popover.spec.js.map +1 -0
- package/dist/collection/components/cpsl-progress-indicator/cpsl-progress-indicator.css +3 -3
- package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.css +1 -1
- package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +1 -1
- package/dist/collection/components/cpsl-radio/cpsl-radio.css +97 -0
- package/dist/collection/components/cpsl-radio/cpsl-radio.js +66 -0
- package/dist/collection/components/cpsl-radio/cpsl-radio.js.map +1 -0
- package/dist/collection/components/cpsl-radio/test/cpsl-radio.e2e.js +29 -0
- package/dist/collection/components/cpsl-radio/test/cpsl-radio.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-radio/test/cpsl-radio.spec.js +37 -0
- package/dist/collection/components/cpsl-radio/test/cpsl-radio.spec.js.map +1 -0
- package/dist/collection/components/cpsl-row/cpsl-row.js +1 -1
- package/dist/collection/components/cpsl-select/cpsl-select.css +227 -0
- package/dist/collection/components/cpsl-select/cpsl-select.js +393 -0
- package/dist/collection/components/cpsl-select/cpsl-select.js.map +1 -0
- package/dist/collection/components/cpsl-select/test/cpsl-select.e2e.js +29 -0
- package/dist/collection/components/cpsl-select/test/cpsl-select.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-select/test/cpsl-select.spec.js +37 -0
- package/dist/collection/components/cpsl-select/test/cpsl-select.spec.js.map +1 -0
- package/dist/collection/components/cpsl-select-item/cpsl-select-item.css +104 -0
- package/dist/collection/components/cpsl-select-item/cpsl-select-item.js +85 -0
- package/dist/collection/components/cpsl-select-item/cpsl-select-item.js.map +1 -0
- package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.e2e.js +29 -0
- package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.spec.js +37 -0
- package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.spec.js.map +1 -0
- package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.css +3 -3
- package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +3 -3
- package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +2 -2
- package/dist/collection/components/cpsl-switch/cpsl-switch.css +115 -0
- package/dist/collection/components/cpsl-switch/cpsl-switch.js +64 -0
- package/dist/collection/components/cpsl-switch/cpsl-switch.js.map +1 -0
- package/dist/collection/components/cpsl-switch/test/cpsl-switch.e2e.js +29 -0
- package/dist/collection/components/cpsl-switch/test/cpsl-switch.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-switch/test/cpsl-switch.spec.js +37 -0
- package/dist/collection/components/cpsl-switch/test/cpsl-switch.spec.js.map +1 -0
- package/dist/collection/components/cpsl-tab/cpsl-tab.js +1 -1
- package/dist/collection/components/cpsl-table/cpsl-table.css +140 -0
- package/dist/collection/components/cpsl-table/cpsl-table.js +26 -0
- package/dist/collection/components/cpsl-table/cpsl-table.js.map +1 -0
- package/dist/collection/components/cpsl-table/test/cpsl-table.e2e.js +29 -0
- package/dist/collection/components/cpsl-table/test/cpsl-table.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-table/test/cpsl-table.spec.js +37 -0
- package/dist/collection/components/cpsl-table/test/cpsl-table.spec.js.map +1 -0
- package/dist/collection/components/cpsl-tabs/cpsl-tabs.css +2 -2
- package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +1 -1
- package/dist/collection/components/cpsl-text/cpsl-text.css +4 -0
- package/dist/collection/components/cpsl-text/cpsl-text.js +5 -4
- package/dist/collection/components/cpsl-text/cpsl-text.js.map +1 -1
- package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.css +1 -1
- package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +2 -2
- package/dist/collection/constants.js +14 -0
- package/dist/collection/constants.js.map +1 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/interface.js.map +1 -1
- package/dist/collection/utils/theme/generateBorderRadii.js +28 -7
- package/dist/collection/utils/theme/generateBorderRadii.js.map +1 -1
- package/dist/collection/utils/theme/generatePalette.js +30 -18
- package/dist/collection/utils/theme/generatePalette.js.map +1 -1
- package/dist/collection/utils/theme/utils.js +8 -0
- package/dist/collection/utils/theme/utils.js.map +1 -1
- package/dist/esm/capsule.js +11 -11
- package/dist/esm/capsule.js.map +1 -1
- package/dist/esm/constants-fce138fa.js +23 -0
- package/dist/esm/constants-fce138fa.js.map +1 -0
- package/dist/esm/{cpsl-alert_18.entry.js → cpsl-alert_33.entry.js} +1122 -233
- package/dist/esm/cpsl-alert_33.entry.js.map +1 -0
- package/dist/esm/cpsl-animation.entry.js +1 -1
- package/dist/esm/cpsl-col.entry.js +2 -2
- package/dist/esm/cpsl-grid.entry.js +3 -3
- package/dist/esm/cpsl-info-box.entry.js +3 -3
- package/dist/esm/cpsl-info-box.entry.js.map +1 -1
- package/dist/esm/cpsl-modal-v2.entry.js +51 -0
- package/dist/esm/cpsl-modal-v2.entry.js.map +1 -0
- package/dist/esm/cpsl-row.entry.js +2 -2
- package/dist/esm/index-97ed6ec1.js +1383 -0
- package/dist/esm/index-97ed6ec1.js.map +1 -0
- package/dist/esm/index.js +65 -24
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/loader/cdn.js +1 -3
- package/dist/loader/index.cjs.js +1 -3
- package/dist/loader/index.es2017.js +1 -3
- package/dist/loader/index.js +1 -3
- package/dist/types/assets/icons/index.d.ts +12 -2
- package/dist/types/components/cpsl-alert/cpsl-alert.d.ts +2 -2
- package/dist/types/components/cpsl-app-bar/cpsl-app-bar.d.ts +6 -0
- package/dist/types/components/cpsl-avatar/cpsl-avatar.d.ts +6 -0
- package/dist/types/components/cpsl-button/cpsl-button.d.ts +6 -1
- package/dist/types/components/cpsl-button-group/cpsl-button-group.d.ts +9 -0
- package/dist/types/components/cpsl-card/cpsl-card.d.ts +3 -0
- package/dist/types/components/cpsl-checkbox/cpsl-checkbox.d.ts +7 -0
- package/dist/types/components/cpsl-drawer/cpsl-drawer.d.ts +18 -0
- package/dist/types/components/cpsl-file-upload/cpsl-file-upload.d.ts +34 -0
- package/dist/types/components/cpsl-input/cpsl-input.d.ts +5 -1
- package/dist/types/components/cpsl-modal/cpsl-modal.d.ts +1 -0
- package/dist/types/components/cpsl-modal-v2/cpsl-modal-v2.d.ts +17 -0
- package/dist/types/components/cpsl-nav-button-group/cpsl-nav-button-group.d.ts +9 -0
- package/dist/types/components/cpsl-overlay/cpsl-overlay.d.ts +2 -1
- package/dist/types/components/cpsl-pagination/cpsl-pagination.d.ts +14 -0
- package/dist/types/components/cpsl-popover/cpsl-popover.d.ts +33 -0
- package/dist/types/components/cpsl-radio/cpsl-radio.d.ts +7 -0
- package/dist/types/components/cpsl-select/cpsl-select.d.ts +35 -0
- package/dist/types/components/cpsl-select-item/cpsl-select-item.d.ts +8 -0
- package/dist/types/components/cpsl-switch/cpsl-switch.d.ts +7 -0
- package/dist/types/components/cpsl-table/cpsl-table.d.ts +6 -0
- package/dist/types/components/cpsl-text/cpsl-text.d.ts +1 -1
- package/dist/types/components.d.ts +993 -12
- package/dist/types/constants.d.ts +14 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/interface.d.ts +79 -0
- package/dist/types/stencil-public-runtime.d.ts +3 -8
- package/dist/types/utils/theme/utils.d.ts +1 -0
- package/package.json +3 -3
- package/dist/capsule/p-6b02ea8d.entry.js +0 -2
- package/dist/capsule/p-92b0d902.entry.js +0 -29
- package/dist/capsule/p-92b0d902.entry.js.map +0 -1
- package/dist/capsule/p-b2997f3c.js +0 -3
- package/dist/capsule/p-b2997f3c.js.map +0 -1
- package/dist/capsule/p-c2bf050b.js +0 -2
- package/dist/capsule/p-c2bf050b.js.map +0 -1
- package/dist/capsule/p-fa4e3c14.entry.js +0 -2
- package/dist/cjs/constants-4bb85cc5.js +0 -12
- package/dist/cjs/constants-4bb85cc5.js.map +0 -1
- package/dist/cjs/cpsl-alert_18.cjs.entry.js.map +0 -1
- package/dist/cjs/index-87ba56f9.js +0 -2017
- package/dist/cjs/index-87ba56f9.js.map +0 -1
- package/dist/collection/assets/icons/farcaster-brand.svg +0 -10
- package/dist/collection/assets/icons/farcaster.svg +0 -10
- package/dist/esm/constants-7b49abd5.js +0 -9
- package/dist/esm/constants-7b49abd5.js.map +0 -1
- package/dist/esm/cpsl-alert_18.entry.js.map +0 -1
- package/dist/esm/index-fd970ca2.js +0 -1987
- package/dist/esm/index-fd970ca2.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/Users/{vinay → taylorbosch}/Documents/GitHub/Capsule/component-library/core/.stencil/scripts/buildIconLibrary.d.ts +0 -0
@@ -24,9 +24,9 @@ export namespace Components {
|
|
24
24
|
*/
|
25
25
|
"icon"?: IconType;
|
26
26
|
/**
|
27
|
-
* The
|
27
|
+
* The variant of alert. Options are: `"error"` | `"warning"` | `"success"` | `"custom"` Default is: `"error"`.
|
28
28
|
*/
|
29
|
-
"
|
29
|
+
"variant"?: 'error' | 'warning' | 'success' | 'custom';
|
30
30
|
}
|
31
31
|
interface CpslAnimation {
|
32
32
|
/**
|
@@ -38,15 +38,77 @@ export namespace Components {
|
|
38
38
|
*/
|
39
39
|
"src": string;
|
40
40
|
}
|
41
|
+
interface CpslAppBar {
|
42
|
+
/**
|
43
|
+
* Height of the app bar.
|
44
|
+
*/
|
45
|
+
"height": number;
|
46
|
+
/**
|
47
|
+
* The position of the drawer. Default is `fixed`.
|
48
|
+
*/
|
49
|
+
"position"?: 'fixed' | 'static';
|
50
|
+
/**
|
51
|
+
* Override z-index.
|
52
|
+
*/
|
53
|
+
"zIndexOverride"?: number;
|
54
|
+
}
|
55
|
+
interface CpslAvatar {
|
56
|
+
/**
|
57
|
+
* The alternate text for the avatar image.
|
58
|
+
*/
|
59
|
+
"alt"?: string;
|
60
|
+
/**
|
61
|
+
* The source of the avatar image.
|
62
|
+
*/
|
63
|
+
"src": string;
|
64
|
+
/**
|
65
|
+
* The variant of the avatar. Options are: `"round"`, `"square". Default is: `"square"`.
|
66
|
+
*/
|
67
|
+
"variant"?: 'round' | 'square';
|
68
|
+
}
|
41
69
|
interface CpslButton {
|
70
|
+
/**
|
71
|
+
* The tag for the button. Options are: `"button"`, `"a". Default is: `"button"`.
|
72
|
+
*/
|
73
|
+
"as"?: 'button' | 'a';
|
42
74
|
/**
|
43
75
|
* If the button is disabled. Default is: false.
|
44
76
|
*/
|
45
77
|
"disabled"?: boolean;
|
46
78
|
/**
|
47
|
-
*
|
79
|
+
* Whether the button takes the full width of it's container. Default is: false.
|
80
|
+
*/
|
81
|
+
"fullWidth"?: boolean;
|
82
|
+
/**
|
83
|
+
* href to use when using a link.
|
84
|
+
*/
|
85
|
+
"href"?: string;
|
86
|
+
/**
|
87
|
+
* The size of the button. Options are: `"small"`, `"medium". Default is: `"medium"`.
|
88
|
+
*/
|
89
|
+
"size"?: 'small' | 'medium';
|
90
|
+
/**
|
91
|
+
* target to use when using a link.
|
92
|
+
*/
|
93
|
+
"target"?: string;
|
94
|
+
/**
|
95
|
+
* The variant of the button. Options are: `"primary"`, `"secondary", `"icon", `"text"`. Default is: `"primary"`.
|
96
|
+
*/
|
97
|
+
"variant"?: 'primary' | 'secondary' | 'ghost' | 'destructive';
|
98
|
+
}
|
99
|
+
interface CpslButtonGroup {
|
100
|
+
/**
|
101
|
+
* The id of the selected button.
|
102
|
+
*/
|
103
|
+
"selectedId"?: string;
|
104
|
+
}
|
105
|
+
interface CpslCard {
|
106
|
+
}
|
107
|
+
interface CpslCheckbox {
|
108
|
+
/**
|
109
|
+
* Whether or not the checkbox is checked.
|
48
110
|
*/
|
49
|
-
"
|
111
|
+
"checked": boolean;
|
50
112
|
}
|
51
113
|
interface CpslCodeInput {
|
52
114
|
/**
|
@@ -170,6 +232,44 @@ export namespace Components {
|
|
170
232
|
}
|
171
233
|
interface CpslDivider {
|
172
234
|
}
|
235
|
+
interface CpslDrawer {
|
236
|
+
/**
|
237
|
+
* Side from which the drawer will enter from.
|
238
|
+
*/
|
239
|
+
"anchor": 'top' | 'bottom' | 'left' | 'right';
|
240
|
+
/**
|
241
|
+
* Starting anchor position.
|
242
|
+
*/
|
243
|
+
"anchorPosition"?: number;
|
244
|
+
/**
|
245
|
+
* Hides the overlay for temporary drawers.
|
246
|
+
*/
|
247
|
+
"noOverlay"?: boolean;
|
248
|
+
/**
|
249
|
+
* Whether the drawer is open or not.
|
250
|
+
*/
|
251
|
+
"open": boolean;
|
252
|
+
/**
|
253
|
+
* Size (height or width) of the drawer.
|
254
|
+
*/
|
255
|
+
"size": number | 'auto';
|
256
|
+
/**
|
257
|
+
* Duration in seconds of the open/close animation. Default is 0.15.
|
258
|
+
*/
|
259
|
+
"transitionDuration"?: number;
|
260
|
+
/**
|
261
|
+
* Transition timing function to use. Default is ease-in-out.
|
262
|
+
*/
|
263
|
+
"transitionFunction"?: string;
|
264
|
+
/**
|
265
|
+
* The variant of the drawer. `temporary` drawers will cover content and contain a backdrop. `permanent` drawers will sit beside content, i.e. desktop navigation. Default is `temporary`.
|
266
|
+
*/
|
267
|
+
"variant"?: 'temporary' | 'permanent';
|
268
|
+
/**
|
269
|
+
* Override z-index.
|
270
|
+
*/
|
271
|
+
"zIndexOverride"?: number;
|
272
|
+
}
|
173
273
|
interface CpslDropdown {
|
174
274
|
/**
|
175
275
|
* Whether or not to include search capability
|
@@ -188,6 +288,44 @@ export namespace Components {
|
|
188
288
|
*/
|
189
289
|
"width": string;
|
190
290
|
}
|
291
|
+
interface CpslFileUpload {
|
292
|
+
/**
|
293
|
+
* Error text to show below the input. If this is provided the input will enter an error state.
|
294
|
+
*/
|
295
|
+
"errorText"?: string;
|
296
|
+
/**
|
297
|
+
* Filename for the external source of the selected file.
|
298
|
+
*/
|
299
|
+
"externalFilename"?: string;
|
300
|
+
/**
|
301
|
+
* External source for the selected file.
|
302
|
+
*/
|
303
|
+
"externalSrc"?: string;
|
304
|
+
/**
|
305
|
+
* Valid file types.
|
306
|
+
*/
|
307
|
+
"fileTypes"?: string[];
|
308
|
+
/**
|
309
|
+
* Helper text to show below the input. If `"errorText"` is provided that will take precedence.
|
310
|
+
*/
|
311
|
+
"helperText"?: string;
|
312
|
+
/**
|
313
|
+
* The label for the input.
|
314
|
+
*/
|
315
|
+
"label"?: string;
|
316
|
+
/**
|
317
|
+
* If `true`, the user must fill in a value before submitting a form.
|
318
|
+
*/
|
319
|
+
"required": boolean;
|
320
|
+
/**
|
321
|
+
* If `true`, the label will display an "optional" tag.
|
322
|
+
*/
|
323
|
+
"showOptionalLabel": boolean;
|
324
|
+
/**
|
325
|
+
* Function to trigger file upload to server. Returns: boolean indicating success or failure.
|
326
|
+
*/
|
327
|
+
"uploadFile"?: (file: File) => Promise<boolean>;
|
328
|
+
}
|
191
329
|
interface CpslGrid {
|
192
330
|
/**
|
193
331
|
* If `true`, the grid will have a fixed width based on the screen size.
|
@@ -291,6 +429,10 @@ export namespace Components {
|
|
291
429
|
* If `true`, the user must fill in a value before submitting a form.
|
292
430
|
*/
|
293
431
|
"required": boolean;
|
432
|
+
/**
|
433
|
+
* If `true`, the label will display an "optional" tag.
|
434
|
+
*/
|
435
|
+
"showOptionalLabel": boolean;
|
294
436
|
/**
|
295
437
|
* If `true`, the element will have its spelling and grammar checked.
|
296
438
|
*/
|
@@ -341,6 +483,42 @@ export namespace Components {
|
|
341
483
|
* Whether or not to show the modal.
|
342
484
|
*/
|
343
485
|
"open": boolean;
|
486
|
+
/**
|
487
|
+
* Override z-index.
|
488
|
+
*/
|
489
|
+
"zIndexOverride"?: number;
|
490
|
+
}
|
491
|
+
interface CpslModalV2 {
|
492
|
+
/**
|
493
|
+
* Whether or not to show the modal with a box shadow.
|
494
|
+
*/
|
495
|
+
"elevated": boolean;
|
496
|
+
/**
|
497
|
+
* Duration in seconds of the modal entering. Default is .15.
|
498
|
+
*/
|
499
|
+
"enterTransitionDuration"?: number;
|
500
|
+
/**
|
501
|
+
* Duration in seconds of the modal exiting. Default is .15.
|
502
|
+
*/
|
503
|
+
"exitTransitionDuration"?: number;
|
504
|
+
/**
|
505
|
+
* Whether or not to show the overlay.
|
506
|
+
*/
|
507
|
+
"noOverlay": boolean;
|
508
|
+
/**
|
509
|
+
* Whether or not to show the modal.
|
510
|
+
*/
|
511
|
+
"open": boolean;
|
512
|
+
/**
|
513
|
+
* Override z-index.
|
514
|
+
*/
|
515
|
+
"zIndexOverride"?: number;
|
516
|
+
}
|
517
|
+
interface CpslNavButtonGroup {
|
518
|
+
/**
|
519
|
+
* The id of the selected button.
|
520
|
+
*/
|
521
|
+
"selectedId"?: string;
|
344
522
|
}
|
345
523
|
interface CpslOverlay {
|
346
524
|
/**
|
@@ -355,6 +533,24 @@ export namespace Components {
|
|
355
533
|
* Whether or not to show the overlay.
|
356
534
|
*/
|
357
535
|
"open": boolean;
|
536
|
+
/**
|
537
|
+
* Override z-index.
|
538
|
+
*/
|
539
|
+
"zIndexOverride"?: number;
|
540
|
+
}
|
541
|
+
interface CpslPagination {
|
542
|
+
/**
|
543
|
+
* The initial page to select. Default is 0.
|
544
|
+
*/
|
545
|
+
"initialPage"?: number;
|
546
|
+
/**
|
547
|
+
* The total number of pages.
|
548
|
+
*/
|
549
|
+
"totalPages": number;
|
550
|
+
/**
|
551
|
+
* The number of pages visible to select. Default is 5. Min is 5.
|
552
|
+
*/
|
553
|
+
"visiblePages"?: number;
|
358
554
|
}
|
359
555
|
interface CpslPill {
|
360
556
|
/**
|
@@ -362,6 +558,48 @@ export namespace Components {
|
|
362
558
|
*/
|
363
559
|
"text": string;
|
364
560
|
}
|
561
|
+
interface CpslPopover {
|
562
|
+
/**
|
563
|
+
* Vertical anchor origin. Options are: `"left"`, `"center"`, `"right"`. Default is: `"left"`.
|
564
|
+
*/
|
565
|
+
"anchorOriginHorizontal"?: 'left' | 'center' | 'right';
|
566
|
+
/**
|
567
|
+
* Vertical anchor origin. Options are: `"top"`, `"center"`, `"bottom"`. Default is: `"bottom"`.
|
568
|
+
*/
|
569
|
+
"anchorOriginVertical"?: 'top' | 'center' | 'bottom';
|
570
|
+
/**
|
571
|
+
* If `true` the container will use the width of the content, else it will be set to the width of the trigger. Default is `true`
|
572
|
+
*/
|
573
|
+
"autoWidth"?: boolean;
|
574
|
+
/**
|
575
|
+
* Call to close the popover manually.
|
576
|
+
*/
|
577
|
+
"closePopover": () => Promise<void>;
|
578
|
+
/**
|
579
|
+
* Used internally to prevent select from blurring unintentionally.
|
580
|
+
*/
|
581
|
+
"preventBlur": boolean;
|
582
|
+
/**
|
583
|
+
* Vertical transformation origin. Options are: `"left"`, `"center"`, `"right"`. Default is: `"left"`.
|
584
|
+
*/
|
585
|
+
"transformOriginHorizontal"?: 'left' | 'center' | 'right';
|
586
|
+
/**
|
587
|
+
* Vertical transformation origin. Options are: `"top"`, `"center"`, `"bottom"`. Default is: `"bottom"`.
|
588
|
+
*/
|
589
|
+
"transformOriginVertical"?: 'top' | 'center' | 'bottom';
|
590
|
+
/**
|
591
|
+
* ID for the element that triggers the popover to open.
|
592
|
+
*/
|
593
|
+
"trigger": string;
|
594
|
+
/**
|
595
|
+
* Which trigger causes the popover to open. Options are: `"click"`, `"hover"`. Default is: `"click"`.
|
596
|
+
*/
|
597
|
+
"triggerAction": 'click' | 'hover';
|
598
|
+
/**
|
599
|
+
* Padding from edge of window for the popover container.
|
600
|
+
*/
|
601
|
+
"windowPadding"?: number;
|
602
|
+
}
|
365
603
|
interface CpslProgressIndicator {
|
366
604
|
/**
|
367
605
|
* Current zero based step.
|
@@ -386,8 +624,74 @@ export namespace Components {
|
|
386
624
|
*/
|
387
625
|
"url": string;
|
388
626
|
}
|
627
|
+
interface CpslRadio {
|
628
|
+
/**
|
629
|
+
* Whether or not the radio is checked.
|
630
|
+
*/
|
631
|
+
"checked": boolean;
|
632
|
+
}
|
389
633
|
interface CpslRow {
|
390
634
|
}
|
635
|
+
interface CpslSelect {
|
636
|
+
/**
|
637
|
+
* If `true`, the user cannot interact with the input.
|
638
|
+
*/
|
639
|
+
"disabled": boolean;
|
640
|
+
/**
|
641
|
+
* Set the max height of the dropdown.
|
642
|
+
*/
|
643
|
+
"dropdownMaxHeight"?: number;
|
644
|
+
/**
|
645
|
+
* Error text to show below the input. If this is provided the input will enter an error state.
|
646
|
+
*/
|
647
|
+
"errorText"?: string;
|
648
|
+
/**
|
649
|
+
* Format value for display when selected.
|
650
|
+
*/
|
651
|
+
"formatValue"?: (value: string) => string;
|
652
|
+
/**
|
653
|
+
* Helper text to show below the input. If `"errorText"` is provided that will take precedence.
|
654
|
+
*/
|
655
|
+
"helperText"?: string;
|
656
|
+
/**
|
657
|
+
* ID of the element, must be unique for the popover trigger.
|
658
|
+
*/
|
659
|
+
"id": string;
|
660
|
+
/**
|
661
|
+
* The label for the input.
|
662
|
+
*/
|
663
|
+
"label"?: string;
|
664
|
+
/**
|
665
|
+
* Placeholder to display if `selectedValue` is empty.
|
666
|
+
*/
|
667
|
+
"placeholder"?: string;
|
668
|
+
/**
|
669
|
+
* If `true`, the user must fill in a value before submitting a form.
|
670
|
+
*/
|
671
|
+
"required": boolean;
|
672
|
+
/**
|
673
|
+
* Value of the selected item.
|
674
|
+
*/
|
675
|
+
"selectedValue"?: string;
|
676
|
+
/**
|
677
|
+
* Will show the formatted selected item (passed in the `selected-item` slot) in the select rather than the item value.
|
678
|
+
*/
|
679
|
+
"showFormattedSelectedItem"?: boolean;
|
680
|
+
/**
|
681
|
+
* If `true`, the label will display an "optional" tag.
|
682
|
+
*/
|
683
|
+
"showOptionalLabel": boolean;
|
684
|
+
}
|
685
|
+
interface CpslSelectItem {
|
686
|
+
/**
|
687
|
+
* Whether the item is selected or not.
|
688
|
+
*/
|
689
|
+
"selected"?: boolean;
|
690
|
+
/**
|
691
|
+
* Value of the item.
|
692
|
+
*/
|
693
|
+
"value": string;
|
694
|
+
}
|
391
695
|
interface CpslSlideButton {
|
392
696
|
/**
|
393
697
|
* Whether or not the component is disabled. If true, the component will display the `startText`.
|
@@ -420,6 +724,12 @@ export namespace Components {
|
|
420
724
|
*/
|
421
725
|
"speed"?: number;
|
422
726
|
}
|
727
|
+
interface CpslSwitch {
|
728
|
+
/**
|
729
|
+
* Whether or not the switch is checked.
|
730
|
+
*/
|
731
|
+
"checked": boolean;
|
732
|
+
}
|
423
733
|
interface CpslTab {
|
424
734
|
/**
|
425
735
|
* The selected tab component
|
@@ -430,6 +740,8 @@ export namespace Components {
|
|
430
740
|
*/
|
431
741
|
"tab": string;
|
432
742
|
}
|
743
|
+
interface CpslTable {
|
744
|
+
}
|
433
745
|
interface CpslTabs {
|
434
746
|
/**
|
435
747
|
* Whether or not the tabs take the full width of their container.
|
@@ -442,9 +754,9 @@ export namespace Components {
|
|
442
754
|
}
|
443
755
|
interface CpslText {
|
444
756
|
/**
|
445
|
-
* The color of text. Options are: `"primary"`, `"secondary", `"subtle", `"inverted", `"error". Default is: `"primary"`.
|
757
|
+
* The color of text. Options are: `"primary"`, `"secondary", `"tertiary", `"subtle", `"inverted", `"error". Default is: `"primary"`.
|
446
758
|
*/
|
447
|
-
"color"?: 'primary' | 'secondary' | 'subtle' | 'inverted' | 'error';
|
759
|
+
"color"?: 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'inverted' | 'error';
|
448
760
|
/**
|
449
761
|
* The variant of text. Options are: `"body2XS"`, `"bodyXS", `"bodyS", `"bodyM", `"bodyL", `"bodyXL", `"headingXS", `"headingS", `"headingM", `"headingL", `"headingXL", `"heading2XL". Default is: `"bodyM"`.
|
450
762
|
*/
|
@@ -465,6 +777,10 @@ export namespace Components {
|
|
465
777
|
"src"?: string;
|
466
778
|
}
|
467
779
|
}
|
780
|
+
export interface CpslCheckboxCustomEvent<T> extends CustomEvent<T> {
|
781
|
+
detail: T;
|
782
|
+
target: HTMLCpslCheckboxElement;
|
783
|
+
}
|
468
784
|
export interface CpslCodeInputCustomEvent<T> extends CustomEvent<T> {
|
469
785
|
detail: T;
|
470
786
|
target: HTMLCpslCodeInputElement;
|
@@ -473,6 +789,10 @@ export interface CpslDropdownCustomEvent<T> extends CustomEvent<T> {
|
|
473
789
|
detail: T;
|
474
790
|
target: HTMLCpslDropdownElement;
|
475
791
|
}
|
792
|
+
export interface CpslFileUploadCustomEvent<T> extends CustomEvent<T> {
|
793
|
+
detail: T;
|
794
|
+
target: HTMLCpslFileUploadElement;
|
795
|
+
}
|
476
796
|
export interface CpslInputCustomEvent<T> extends CustomEvent<T> {
|
477
797
|
detail: T;
|
478
798
|
target: HTMLCpslInputElement;
|
@@ -481,10 +801,38 @@ export interface CpslModalCustomEvent<T> extends CustomEvent<T> {
|
|
481
801
|
detail: T;
|
482
802
|
target: HTMLCpslModalElement;
|
483
803
|
}
|
804
|
+
export interface CpslModalV2CustomEvent<T> extends CustomEvent<T> {
|
805
|
+
detail: T;
|
806
|
+
target: HTMLCpslModalV2Element;
|
807
|
+
}
|
808
|
+
export interface CpslPaginationCustomEvent<T> extends CustomEvent<T> {
|
809
|
+
detail: T;
|
810
|
+
target: HTMLCpslPaginationElement;
|
811
|
+
}
|
812
|
+
export interface CpslPopoverCustomEvent<T> extends CustomEvent<T> {
|
813
|
+
detail: T;
|
814
|
+
target: HTMLCpslPopoverElement;
|
815
|
+
}
|
816
|
+
export interface CpslRadioCustomEvent<T> extends CustomEvent<T> {
|
817
|
+
detail: T;
|
818
|
+
target: HTMLCpslRadioElement;
|
819
|
+
}
|
820
|
+
export interface CpslSelectCustomEvent<T> extends CustomEvent<T> {
|
821
|
+
detail: T;
|
822
|
+
target: HTMLCpslSelectElement;
|
823
|
+
}
|
824
|
+
export interface CpslSelectItemCustomEvent<T> extends CustomEvent<T> {
|
825
|
+
detail: T;
|
826
|
+
target: HTMLCpslSelectItemElement;
|
827
|
+
}
|
484
828
|
export interface CpslSlideButtonCustomEvent<T> extends CustomEvent<T> {
|
485
829
|
detail: T;
|
486
830
|
target: HTMLCpslSlideButtonElement;
|
487
831
|
}
|
832
|
+
export interface CpslSwitchCustomEvent<T> extends CustomEvent<T> {
|
833
|
+
detail: T;
|
834
|
+
target: HTMLCpslSwitchElement;
|
835
|
+
}
|
488
836
|
export interface CpslTabCustomEvent<T> extends CustomEvent<T> {
|
489
837
|
detail: T;
|
490
838
|
target: HTMLCpslTabElement;
|
@@ -506,12 +854,53 @@ declare global {
|
|
506
854
|
prototype: HTMLCpslAnimationElement;
|
507
855
|
new (): HTMLCpslAnimationElement;
|
508
856
|
};
|
857
|
+
interface HTMLCpslAppBarElement extends Components.CpslAppBar, HTMLStencilElement {
|
858
|
+
}
|
859
|
+
var HTMLCpslAppBarElement: {
|
860
|
+
prototype: HTMLCpslAppBarElement;
|
861
|
+
new (): HTMLCpslAppBarElement;
|
862
|
+
};
|
863
|
+
interface HTMLCpslAvatarElement extends Components.CpslAvatar, HTMLStencilElement {
|
864
|
+
}
|
865
|
+
var HTMLCpslAvatarElement: {
|
866
|
+
prototype: HTMLCpslAvatarElement;
|
867
|
+
new (): HTMLCpslAvatarElement;
|
868
|
+
};
|
509
869
|
interface HTMLCpslButtonElement extends Components.CpslButton, HTMLStencilElement {
|
510
870
|
}
|
511
871
|
var HTMLCpslButtonElement: {
|
512
872
|
prototype: HTMLCpslButtonElement;
|
513
873
|
new (): HTMLCpslButtonElement;
|
514
874
|
};
|
875
|
+
interface HTMLCpslButtonGroupElement extends Components.CpslButtonGroup, HTMLStencilElement {
|
876
|
+
}
|
877
|
+
var HTMLCpslButtonGroupElement: {
|
878
|
+
prototype: HTMLCpslButtonGroupElement;
|
879
|
+
new (): HTMLCpslButtonGroupElement;
|
880
|
+
};
|
881
|
+
interface HTMLCpslCardElement extends Components.CpslCard, HTMLStencilElement {
|
882
|
+
}
|
883
|
+
var HTMLCpslCardElement: {
|
884
|
+
prototype: HTMLCpslCardElement;
|
885
|
+
new (): HTMLCpslCardElement;
|
886
|
+
};
|
887
|
+
interface HTMLCpslCheckboxElementEventMap {
|
888
|
+
"cpslCheckboxChanged": boolean;
|
889
|
+
}
|
890
|
+
interface HTMLCpslCheckboxElement extends Components.CpslCheckbox, HTMLStencilElement {
|
891
|
+
addEventListener<K extends keyof HTMLCpslCheckboxElementEventMap>(type: K, listener: (this: HTMLCpslCheckboxElement, ev: CpslCheckboxCustomEvent<HTMLCpslCheckboxElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
892
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
893
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
894
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
895
|
+
removeEventListener<K extends keyof HTMLCpslCheckboxElementEventMap>(type: K, listener: (this: HTMLCpslCheckboxElement, ev: CpslCheckboxCustomEvent<HTMLCpslCheckboxElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
896
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
897
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
898
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
899
|
+
}
|
900
|
+
var HTMLCpslCheckboxElement: {
|
901
|
+
prototype: HTMLCpslCheckboxElement;
|
902
|
+
new (): HTMLCpslCheckboxElement;
|
903
|
+
};
|
515
904
|
interface HTMLCpslCodeInputElementEventMap {
|
516
905
|
"cpslInput": CodeChangeEventDetail;
|
517
906
|
}
|
@@ -541,6 +930,12 @@ declare global {
|
|
541
930
|
prototype: HTMLCpslDividerElement;
|
542
931
|
new (): HTMLCpslDividerElement;
|
543
932
|
};
|
933
|
+
interface HTMLCpslDrawerElement extends Components.CpslDrawer, HTMLStencilElement {
|
934
|
+
}
|
935
|
+
var HTMLCpslDrawerElement: {
|
936
|
+
prototype: HTMLCpslDrawerElement;
|
937
|
+
new (): HTMLCpslDrawerElement;
|
938
|
+
};
|
544
939
|
interface HTMLCpslDropdownElementEventMap {
|
545
940
|
"selectedItemChange": DropdownInputEventDetail;
|
546
941
|
}
|
@@ -558,6 +953,27 @@ declare global {
|
|
558
953
|
prototype: HTMLCpslDropdownElement;
|
559
954
|
new (): HTMLCpslDropdownElement;
|
560
955
|
};
|
956
|
+
interface HTMLCpslFileUploadElementEventMap {
|
957
|
+
"cpslOnDrop": DragEvent;
|
958
|
+
"cpslOnDragEnter": DragEvent;
|
959
|
+
"cpslOnDragLeave": DragEvent;
|
960
|
+
"cpslFileChange": File;
|
961
|
+
"cpslFileRemoved": void;
|
962
|
+
}
|
963
|
+
interface HTMLCpslFileUploadElement extends Components.CpslFileUpload, HTMLStencilElement {
|
964
|
+
addEventListener<K extends keyof HTMLCpslFileUploadElementEventMap>(type: K, listener: (this: HTMLCpslFileUploadElement, ev: CpslFileUploadCustomEvent<HTMLCpslFileUploadElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
965
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
966
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
967
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
968
|
+
removeEventListener<K extends keyof HTMLCpslFileUploadElementEventMap>(type: K, listener: (this: HTMLCpslFileUploadElement, ev: CpslFileUploadCustomEvent<HTMLCpslFileUploadElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
969
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
970
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
971
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
972
|
+
}
|
973
|
+
var HTMLCpslFileUploadElement: {
|
974
|
+
prototype: HTMLCpslFileUploadElement;
|
975
|
+
new (): HTMLCpslFileUploadElement;
|
976
|
+
};
|
561
977
|
interface HTMLCpslGridElement extends Components.CpslGrid, HTMLStencilElement {
|
562
978
|
}
|
563
979
|
var HTMLCpslGridElement: {
|
@@ -618,18 +1034,79 @@ declare global {
|
|
618
1034
|
prototype: HTMLCpslModalElement;
|
619
1035
|
new (): HTMLCpslModalElement;
|
620
1036
|
};
|
1037
|
+
interface HTMLCpslModalV2ElementEventMap {
|
1038
|
+
"cpslModalEntering": null;
|
1039
|
+
"cpslModalEntered": null;
|
1040
|
+
"cpslModalExiting": null;
|
1041
|
+
"cpslModalExited": null;
|
1042
|
+
}
|
1043
|
+
interface HTMLCpslModalV2Element extends Components.CpslModalV2, HTMLStencilElement {
|
1044
|
+
addEventListener<K extends keyof HTMLCpslModalV2ElementEventMap>(type: K, listener: (this: HTMLCpslModalV2Element, ev: CpslModalV2CustomEvent<HTMLCpslModalV2ElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
1045
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
1046
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
1047
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
1048
|
+
removeEventListener<K extends keyof HTMLCpslModalV2ElementEventMap>(type: K, listener: (this: HTMLCpslModalV2Element, ev: CpslModalV2CustomEvent<HTMLCpslModalV2ElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
1049
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
1050
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
1051
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
1052
|
+
}
|
1053
|
+
var HTMLCpslModalV2Element: {
|
1054
|
+
prototype: HTMLCpslModalV2Element;
|
1055
|
+
new (): HTMLCpslModalV2Element;
|
1056
|
+
};
|
1057
|
+
interface HTMLCpslNavButtonGroupElement extends Components.CpslNavButtonGroup, HTMLStencilElement {
|
1058
|
+
}
|
1059
|
+
var HTMLCpslNavButtonGroupElement: {
|
1060
|
+
prototype: HTMLCpslNavButtonGroupElement;
|
1061
|
+
new (): HTMLCpslNavButtonGroupElement;
|
1062
|
+
};
|
621
1063
|
interface HTMLCpslOverlayElement extends Components.CpslOverlay, HTMLStencilElement {
|
622
1064
|
}
|
623
1065
|
var HTMLCpslOverlayElement: {
|
624
1066
|
prototype: HTMLCpslOverlayElement;
|
625
1067
|
new (): HTMLCpslOverlayElement;
|
626
1068
|
};
|
1069
|
+
interface HTMLCpslPaginationElementEventMap {
|
1070
|
+
"cpslPaginationChanged": number;
|
1071
|
+
}
|
1072
|
+
interface HTMLCpslPaginationElement extends Components.CpslPagination, HTMLStencilElement {
|
1073
|
+
addEventListener<K extends keyof HTMLCpslPaginationElementEventMap>(type: K, listener: (this: HTMLCpslPaginationElement, ev: CpslPaginationCustomEvent<HTMLCpslPaginationElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
1074
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
1075
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
1076
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
1077
|
+
removeEventListener<K extends keyof HTMLCpslPaginationElementEventMap>(type: K, listener: (this: HTMLCpslPaginationElement, ev: CpslPaginationCustomEvent<HTMLCpslPaginationElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
1078
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
1079
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
1080
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
1081
|
+
}
|
1082
|
+
var HTMLCpslPaginationElement: {
|
1083
|
+
prototype: HTMLCpslPaginationElement;
|
1084
|
+
new (): HTMLCpslPaginationElement;
|
1085
|
+
};
|
627
1086
|
interface HTMLCpslPillElement extends Components.CpslPill, HTMLStencilElement {
|
628
1087
|
}
|
629
1088
|
var HTMLCpslPillElement: {
|
630
1089
|
prototype: HTMLCpslPillElement;
|
631
1090
|
new (): HTMLCpslPillElement;
|
632
1091
|
};
|
1092
|
+
interface HTMLCpslPopoverElementEventMap {
|
1093
|
+
"cpslOpen": void;
|
1094
|
+
"cpslClose": void;
|
1095
|
+
}
|
1096
|
+
interface HTMLCpslPopoverElement extends Components.CpslPopover, HTMLStencilElement {
|
1097
|
+
addEventListener<K extends keyof HTMLCpslPopoverElementEventMap>(type: K, listener: (this: HTMLCpslPopoverElement, ev: CpslPopoverCustomEvent<HTMLCpslPopoverElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
1098
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
1099
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
1100
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
1101
|
+
removeEventListener<K extends keyof HTMLCpslPopoverElementEventMap>(type: K, listener: (this: HTMLCpslPopoverElement, ev: CpslPopoverCustomEvent<HTMLCpslPopoverElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
1102
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
1103
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
1104
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
1105
|
+
}
|
1106
|
+
var HTMLCpslPopoverElement: {
|
1107
|
+
prototype: HTMLCpslPopoverElement;
|
1108
|
+
new (): HTMLCpslPopoverElement;
|
1109
|
+
};
|
633
1110
|
interface HTMLCpslProgressIndicatorElement extends Components.CpslProgressIndicator, HTMLStencilElement {
|
634
1111
|
}
|
635
1112
|
var HTMLCpslProgressIndicatorElement: {
|
@@ -642,12 +1119,65 @@ declare global {
|
|
642
1119
|
prototype: HTMLCpslQrCodeElement;
|
643
1120
|
new (): HTMLCpslQrCodeElement;
|
644
1121
|
};
|
1122
|
+
interface HTMLCpslRadioElementEventMap {
|
1123
|
+
"cpslRadioChanged": boolean;
|
1124
|
+
}
|
1125
|
+
interface HTMLCpslRadioElement extends Components.CpslRadio, HTMLStencilElement {
|
1126
|
+
addEventListener<K extends keyof HTMLCpslRadioElementEventMap>(type: K, listener: (this: HTMLCpslRadioElement, ev: CpslRadioCustomEvent<HTMLCpslRadioElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
1127
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
1128
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
1129
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
1130
|
+
removeEventListener<K extends keyof HTMLCpslRadioElementEventMap>(type: K, listener: (this: HTMLCpslRadioElement, ev: CpslRadioCustomEvent<HTMLCpslRadioElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
1131
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
1132
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
1133
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
1134
|
+
}
|
1135
|
+
var HTMLCpslRadioElement: {
|
1136
|
+
prototype: HTMLCpslRadioElement;
|
1137
|
+
new (): HTMLCpslRadioElement;
|
1138
|
+
};
|
645
1139
|
interface HTMLCpslRowElement extends Components.CpslRow, HTMLStencilElement {
|
646
1140
|
}
|
647
1141
|
var HTMLCpslRowElement: {
|
648
1142
|
prototype: HTMLCpslRowElement;
|
649
1143
|
new (): HTMLCpslRowElement;
|
650
1144
|
};
|
1145
|
+
interface HTMLCpslSelectElementEventMap {
|
1146
|
+
"cpslBlur": FocusEvent;
|
1147
|
+
"cpslFocus": FocusEvent;
|
1148
|
+
"cpslSelectValueChange": string;
|
1149
|
+
}
|
1150
|
+
interface HTMLCpslSelectElement extends Components.CpslSelect, HTMLStencilElement {
|
1151
|
+
addEventListener<K extends keyof HTMLCpslSelectElementEventMap>(type: K, listener: (this: HTMLCpslSelectElement, ev: CpslSelectCustomEvent<HTMLCpslSelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
1152
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
1153
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
1154
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
1155
|
+
removeEventListener<K extends keyof HTMLCpslSelectElementEventMap>(type: K, listener: (this: HTMLCpslSelectElement, ev: CpslSelectCustomEvent<HTMLCpslSelectElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
1156
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
1157
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
1158
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
1159
|
+
}
|
1160
|
+
var HTMLCpslSelectElement: {
|
1161
|
+
prototype: HTMLCpslSelectElement;
|
1162
|
+
new (): HTMLCpslSelectElement;
|
1163
|
+
};
|
1164
|
+
interface HTMLCpslSelectItemElementEventMap {
|
1165
|
+
"cpslSelectItemClick": string;
|
1166
|
+
}
|
1167
|
+
interface HTMLCpslSelectItemElement extends Components.CpslSelectItem, HTMLStencilElement {
|
1168
|
+
addEventListener<K extends keyof HTMLCpslSelectItemElementEventMap>(type: K, listener: (this: HTMLCpslSelectItemElement, ev: CpslSelectItemCustomEvent<HTMLCpslSelectItemElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
1169
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
1170
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
1171
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
1172
|
+
removeEventListener<K extends keyof HTMLCpslSelectItemElementEventMap>(type: K, listener: (this: HTMLCpslSelectItemElement, ev: CpslSelectItemCustomEvent<HTMLCpslSelectItemElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
1173
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
1174
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
1175
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
1176
|
+
}
|
1177
|
+
var HTMLCpslSelectItemElement: {
|
1178
|
+
prototype: HTMLCpslSelectItemElement;
|
1179
|
+
new (): HTMLCpslSelectItemElement;
|
1180
|
+
};
|
651
1181
|
interface HTMLCpslSlideButtonElementEventMap {
|
652
1182
|
"cpslComplete": boolean;
|
653
1183
|
}
|
@@ -671,6 +1201,23 @@ declare global {
|
|
671
1201
|
prototype: HTMLCpslSpinnerElement;
|
672
1202
|
new (): HTMLCpslSpinnerElement;
|
673
1203
|
};
|
1204
|
+
interface HTMLCpslSwitchElementEventMap {
|
1205
|
+
"cpslSwitchChanged": boolean;
|
1206
|
+
}
|
1207
|
+
interface HTMLCpslSwitchElement extends Components.CpslSwitch, HTMLStencilElement {
|
1208
|
+
addEventListener<K extends keyof HTMLCpslSwitchElementEventMap>(type: K, listener: (this: HTMLCpslSwitchElement, ev: CpslSwitchCustomEvent<HTMLCpslSwitchElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
1209
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
1210
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
1211
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
1212
|
+
removeEventListener<K extends keyof HTMLCpslSwitchElementEventMap>(type: K, listener: (this: HTMLCpslSwitchElement, ev: CpslSwitchCustomEvent<HTMLCpslSwitchElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
1213
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
1214
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
1215
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
1216
|
+
}
|
1217
|
+
var HTMLCpslSwitchElement: {
|
1218
|
+
prototype: HTMLCpslSwitchElement;
|
1219
|
+
new (): HTMLCpslSwitchElement;
|
1220
|
+
};
|
674
1221
|
interface HTMLCpslTabElementEventMap {
|
675
1222
|
"cpslTabButtonClick": TabClickEventDetail;
|
676
1223
|
}
|
@@ -688,6 +1235,12 @@ declare global {
|
|
688
1235
|
prototype: HTMLCpslTabElement;
|
689
1236
|
new (): HTMLCpslTabElement;
|
690
1237
|
};
|
1238
|
+
interface HTMLCpslTableElement extends Components.CpslTable, HTMLStencilElement {
|
1239
|
+
}
|
1240
|
+
var HTMLCpslTableElement: {
|
1241
|
+
prototype: HTMLCpslTableElement;
|
1242
|
+
new (): HTMLCpslTableElement;
|
1243
|
+
};
|
691
1244
|
interface HTMLCpslTabsElementEventMap {
|
692
1245
|
"cpslTabsChanged": TabsChangedEventDetail;
|
693
1246
|
"cpslTabsInit": TabsChangedEventDetail;
|
@@ -721,24 +1274,40 @@ declare global {
|
|
721
1274
|
interface HTMLElementTagNameMap {
|
722
1275
|
"cpsl-alert": HTMLCpslAlertElement;
|
723
1276
|
"cpsl-animation": HTMLCpslAnimationElement;
|
1277
|
+
"cpsl-app-bar": HTMLCpslAppBarElement;
|
1278
|
+
"cpsl-avatar": HTMLCpslAvatarElement;
|
724
1279
|
"cpsl-button": HTMLCpslButtonElement;
|
1280
|
+
"cpsl-button-group": HTMLCpslButtonGroupElement;
|
1281
|
+
"cpsl-card": HTMLCpslCardElement;
|
1282
|
+
"cpsl-checkbox": HTMLCpslCheckboxElement;
|
725
1283
|
"cpsl-code-input": HTMLCpslCodeInputElement;
|
726
1284
|
"cpsl-col": HTMLCpslColElement;
|
727
1285
|
"cpsl-divider": HTMLCpslDividerElement;
|
1286
|
+
"cpsl-drawer": HTMLCpslDrawerElement;
|
728
1287
|
"cpsl-dropdown": HTMLCpslDropdownElement;
|
1288
|
+
"cpsl-file-upload": HTMLCpslFileUploadElement;
|
729
1289
|
"cpsl-grid": HTMLCpslGridElement;
|
730
1290
|
"cpsl-icon": HTMLCpslIconElement;
|
731
1291
|
"cpsl-info-box": HTMLCpslInfoBoxElement;
|
732
1292
|
"cpsl-input": HTMLCpslInputElement;
|
733
1293
|
"cpsl-modal": HTMLCpslModalElement;
|
1294
|
+
"cpsl-modal-v2": HTMLCpslModalV2Element;
|
1295
|
+
"cpsl-nav-button-group": HTMLCpslNavButtonGroupElement;
|
734
1296
|
"cpsl-overlay": HTMLCpslOverlayElement;
|
1297
|
+
"cpsl-pagination": HTMLCpslPaginationElement;
|
735
1298
|
"cpsl-pill": HTMLCpslPillElement;
|
1299
|
+
"cpsl-popover": HTMLCpslPopoverElement;
|
736
1300
|
"cpsl-progress-indicator": HTMLCpslProgressIndicatorElement;
|
737
1301
|
"cpsl-qr-code": HTMLCpslQrCodeElement;
|
1302
|
+
"cpsl-radio": HTMLCpslRadioElement;
|
738
1303
|
"cpsl-row": HTMLCpslRowElement;
|
1304
|
+
"cpsl-select": HTMLCpslSelectElement;
|
1305
|
+
"cpsl-select-item": HTMLCpslSelectItemElement;
|
739
1306
|
"cpsl-slide-button": HTMLCpslSlideButtonElement;
|
740
1307
|
"cpsl-spinner": HTMLCpslSpinnerElement;
|
1308
|
+
"cpsl-switch": HTMLCpslSwitchElement;
|
741
1309
|
"cpsl-tab": HTMLCpslTabElement;
|
1310
|
+
"cpsl-table": HTMLCpslTableElement;
|
742
1311
|
"cpsl-tabs": HTMLCpslTabsElement;
|
743
1312
|
"cpsl-text": HTMLCpslTextElement;
|
744
1313
|
"cpsl-tile-button": HTMLCpslTileButtonElement;
|
@@ -751,9 +1320,9 @@ declare namespace LocalJSX {
|
|
751
1320
|
*/
|
752
1321
|
"icon"?: IconType;
|
753
1322
|
/**
|
754
|
-
* The
|
1323
|
+
* The variant of alert. Options are: `"error"` | `"warning"` | `"success"` | `"custom"` Default is: `"error"`.
|
755
1324
|
*/
|
756
|
-
"
|
1325
|
+
"variant"?: 'error' | 'warning' | 'success' | 'custom';
|
757
1326
|
}
|
758
1327
|
interface CpslAnimation {
|
759
1328
|
/**
|
@@ -761,15 +1330,81 @@ declare namespace LocalJSX {
|
|
761
1330
|
*/
|
762
1331
|
"src"?: string;
|
763
1332
|
}
|
1333
|
+
interface CpslAppBar {
|
1334
|
+
/**
|
1335
|
+
* Height of the app bar.
|
1336
|
+
*/
|
1337
|
+
"height"?: number;
|
1338
|
+
/**
|
1339
|
+
* The position of the drawer. Default is `fixed`.
|
1340
|
+
*/
|
1341
|
+
"position"?: 'fixed' | 'static';
|
1342
|
+
/**
|
1343
|
+
* Override z-index.
|
1344
|
+
*/
|
1345
|
+
"zIndexOverride"?: number;
|
1346
|
+
}
|
1347
|
+
interface CpslAvatar {
|
1348
|
+
/**
|
1349
|
+
* The alternate text for the avatar image.
|
1350
|
+
*/
|
1351
|
+
"alt"?: string;
|
1352
|
+
/**
|
1353
|
+
* The source of the avatar image.
|
1354
|
+
*/
|
1355
|
+
"src"?: string;
|
1356
|
+
/**
|
1357
|
+
* The variant of the avatar. Options are: `"round"`, `"square". Default is: `"square"`.
|
1358
|
+
*/
|
1359
|
+
"variant"?: 'round' | 'square';
|
1360
|
+
}
|
764
1361
|
interface CpslButton {
|
1362
|
+
/**
|
1363
|
+
* The tag for the button. Options are: `"button"`, `"a". Default is: `"button"`.
|
1364
|
+
*/
|
1365
|
+
"as"?: 'button' | 'a';
|
765
1366
|
/**
|
766
1367
|
* If the button is disabled. Default is: false.
|
767
1368
|
*/
|
768
1369
|
"disabled"?: boolean;
|
769
1370
|
/**
|
770
|
-
*
|
1371
|
+
* Whether the button takes the full width of it's container. Default is: false.
|
1372
|
+
*/
|
1373
|
+
"fullWidth"?: boolean;
|
1374
|
+
/**
|
1375
|
+
* href to use when using a link.
|
1376
|
+
*/
|
1377
|
+
"href"?: string;
|
1378
|
+
/**
|
1379
|
+
* The size of the button. Options are: `"small"`, `"medium". Default is: `"medium"`.
|
1380
|
+
*/
|
1381
|
+
"size"?: 'small' | 'medium';
|
1382
|
+
/**
|
1383
|
+
* target to use when using a link.
|
1384
|
+
*/
|
1385
|
+
"target"?: string;
|
1386
|
+
/**
|
1387
|
+
* The variant of the button. Options are: `"primary"`, `"secondary", `"icon", `"text"`. Default is: `"primary"`.
|
1388
|
+
*/
|
1389
|
+
"variant"?: 'primary' | 'secondary' | 'ghost' | 'destructive';
|
1390
|
+
}
|
1391
|
+
interface CpslButtonGroup {
|
1392
|
+
/**
|
1393
|
+
* The id of the selected button.
|
1394
|
+
*/
|
1395
|
+
"selectedId"?: string;
|
1396
|
+
}
|
1397
|
+
interface CpslCard {
|
1398
|
+
}
|
1399
|
+
interface CpslCheckbox {
|
1400
|
+
/**
|
1401
|
+
* Whether or not the checkbox is checked.
|
1402
|
+
*/
|
1403
|
+
"checked"?: boolean;
|
1404
|
+
/**
|
1405
|
+
* Emitted when the checkbox state changes.
|
771
1406
|
*/
|
772
|
-
"
|
1407
|
+
"onCpslCheckboxChanged"?: (event: CpslCheckboxCustomEvent<boolean>) => void;
|
773
1408
|
}
|
774
1409
|
interface CpslCodeInput {
|
775
1410
|
/**
|
@@ -897,6 +1532,44 @@ declare namespace LocalJSX {
|
|
897
1532
|
}
|
898
1533
|
interface CpslDivider {
|
899
1534
|
}
|
1535
|
+
interface CpslDrawer {
|
1536
|
+
/**
|
1537
|
+
* Side from which the drawer will enter from.
|
1538
|
+
*/
|
1539
|
+
"anchor"?: 'top' | 'bottom' | 'left' | 'right';
|
1540
|
+
/**
|
1541
|
+
* Starting anchor position.
|
1542
|
+
*/
|
1543
|
+
"anchorPosition"?: number;
|
1544
|
+
/**
|
1545
|
+
* Hides the overlay for temporary drawers.
|
1546
|
+
*/
|
1547
|
+
"noOverlay"?: boolean;
|
1548
|
+
/**
|
1549
|
+
* Whether the drawer is open or not.
|
1550
|
+
*/
|
1551
|
+
"open"?: boolean;
|
1552
|
+
/**
|
1553
|
+
* Size (height or width) of the drawer.
|
1554
|
+
*/
|
1555
|
+
"size"?: number | 'auto';
|
1556
|
+
/**
|
1557
|
+
* Duration in seconds of the open/close animation. Default is 0.15.
|
1558
|
+
*/
|
1559
|
+
"transitionDuration"?: number;
|
1560
|
+
/**
|
1561
|
+
* Transition timing function to use. Default is ease-in-out.
|
1562
|
+
*/
|
1563
|
+
"transitionFunction"?: string;
|
1564
|
+
/**
|
1565
|
+
* The variant of the drawer. `temporary` drawers will cover content and contain a backdrop. `permanent` drawers will sit beside content, i.e. desktop navigation. Default is `temporary`.
|
1566
|
+
*/
|
1567
|
+
"variant"?: 'temporary' | 'permanent';
|
1568
|
+
/**
|
1569
|
+
* Override z-index.
|
1570
|
+
*/
|
1571
|
+
"zIndexOverride"?: number;
|
1572
|
+
}
|
900
1573
|
interface CpslDropdown {
|
901
1574
|
/**
|
902
1575
|
* Whether or not to include search capability
|
@@ -919,6 +1592,64 @@ declare namespace LocalJSX {
|
|
919
1592
|
*/
|
920
1593
|
"width"?: string;
|
921
1594
|
}
|
1595
|
+
interface CpslFileUpload {
|
1596
|
+
/**
|
1597
|
+
* Error text to show below the input. If this is provided the input will enter an error state.
|
1598
|
+
*/
|
1599
|
+
"errorText"?: string;
|
1600
|
+
/**
|
1601
|
+
* Filename for the external source of the selected file.
|
1602
|
+
*/
|
1603
|
+
"externalFilename"?: string;
|
1604
|
+
/**
|
1605
|
+
* External source for the selected file.
|
1606
|
+
*/
|
1607
|
+
"externalSrc"?: string;
|
1608
|
+
/**
|
1609
|
+
* Valid file types.
|
1610
|
+
*/
|
1611
|
+
"fileTypes"?: string[];
|
1612
|
+
/**
|
1613
|
+
* Helper text to show below the input. If `"errorText"` is provided that will take precedence.
|
1614
|
+
*/
|
1615
|
+
"helperText"?: string;
|
1616
|
+
/**
|
1617
|
+
* The label for the input.
|
1618
|
+
*/
|
1619
|
+
"label"?: string;
|
1620
|
+
/**
|
1621
|
+
* Emitted when the file changes.
|
1622
|
+
*/
|
1623
|
+
"onCpslFileChange"?: (event: CpslFileUploadCustomEvent<File>) => void;
|
1624
|
+
/**
|
1625
|
+
* Emitted when the file is removed.
|
1626
|
+
*/
|
1627
|
+
"onCpslFileRemoved"?: (event: CpslFileUploadCustomEvent<void>) => void;
|
1628
|
+
/**
|
1629
|
+
* Emitted when the file drag enters the input.
|
1630
|
+
*/
|
1631
|
+
"onCpslOnDragEnter"?: (event: CpslFileUploadCustomEvent<DragEvent>) => void;
|
1632
|
+
/**
|
1633
|
+
* Emitted when the file drag leaves the input.
|
1634
|
+
*/
|
1635
|
+
"onCpslOnDragLeave"?: (event: CpslFileUploadCustomEvent<DragEvent>) => void;
|
1636
|
+
/**
|
1637
|
+
* Emitted when the file is dropped in the input.
|
1638
|
+
*/
|
1639
|
+
"onCpslOnDrop"?: (event: CpslFileUploadCustomEvent<DragEvent>) => void;
|
1640
|
+
/**
|
1641
|
+
* If `true`, the user must fill in a value before submitting a form.
|
1642
|
+
*/
|
1643
|
+
"required"?: boolean;
|
1644
|
+
/**
|
1645
|
+
* If `true`, the label will display an "optional" tag.
|
1646
|
+
*/
|
1647
|
+
"showOptionalLabel"?: boolean;
|
1648
|
+
/**
|
1649
|
+
* Function to trigger file upload to server. Returns: boolean indicating success or failure.
|
1650
|
+
*/
|
1651
|
+
"uploadFile"?: (file: File) => Promise<boolean>;
|
1652
|
+
}
|
922
1653
|
interface CpslGrid {
|
923
1654
|
/**
|
924
1655
|
* If `true`, the grid will have a fixed width based on the screen size.
|
@@ -1042,6 +1773,10 @@ declare namespace LocalJSX {
|
|
1042
1773
|
* If `true`, the user must fill in a value before submitting a form.
|
1043
1774
|
*/
|
1044
1775
|
"required"?: boolean;
|
1776
|
+
/**
|
1777
|
+
* If `true`, the label will display an "optional" tag.
|
1778
|
+
*/
|
1779
|
+
"showOptionalLabel"?: boolean;
|
1045
1780
|
/**
|
1046
1781
|
* If `true`, the element will have its spelling and grammar checked.
|
1047
1782
|
*/
|
@@ -1112,6 +1847,58 @@ declare namespace LocalJSX {
|
|
1112
1847
|
* Whether or not to show the modal.
|
1113
1848
|
*/
|
1114
1849
|
"open"?: boolean;
|
1850
|
+
/**
|
1851
|
+
* Override z-index.
|
1852
|
+
*/
|
1853
|
+
"zIndexOverride"?: number;
|
1854
|
+
}
|
1855
|
+
interface CpslModalV2 {
|
1856
|
+
/**
|
1857
|
+
* Whether or not to show the modal with a box shadow.
|
1858
|
+
*/
|
1859
|
+
"elevated"?: boolean;
|
1860
|
+
/**
|
1861
|
+
* Duration in seconds of the modal entering. Default is .15.
|
1862
|
+
*/
|
1863
|
+
"enterTransitionDuration"?: number;
|
1864
|
+
/**
|
1865
|
+
* Duration in seconds of the modal exiting. Default is .15.
|
1866
|
+
*/
|
1867
|
+
"exitTransitionDuration"?: number;
|
1868
|
+
/**
|
1869
|
+
* Whether or not to show the overlay.
|
1870
|
+
*/
|
1871
|
+
"noOverlay"?: boolean;
|
1872
|
+
/**
|
1873
|
+
* Emitted when enter animation finishes.
|
1874
|
+
*/
|
1875
|
+
"onCpslModalEntered"?: (event: CpslModalV2CustomEvent<null>) => void;
|
1876
|
+
/**
|
1877
|
+
* Emitted when enter animation starts.
|
1878
|
+
*/
|
1879
|
+
"onCpslModalEntering"?: (event: CpslModalV2CustomEvent<null>) => void;
|
1880
|
+
/**
|
1881
|
+
* Emitted when exit animation finishes.
|
1882
|
+
*/
|
1883
|
+
"onCpslModalExited"?: (event: CpslModalV2CustomEvent<null>) => void;
|
1884
|
+
/**
|
1885
|
+
* Emitted when exit animation starts.
|
1886
|
+
*/
|
1887
|
+
"onCpslModalExiting"?: (event: CpslModalV2CustomEvent<null>) => void;
|
1888
|
+
/**
|
1889
|
+
* Whether or not to show the modal.
|
1890
|
+
*/
|
1891
|
+
"open"?: boolean;
|
1892
|
+
/**
|
1893
|
+
* Override z-index.
|
1894
|
+
*/
|
1895
|
+
"zIndexOverride"?: number;
|
1896
|
+
}
|
1897
|
+
interface CpslNavButtonGroup {
|
1898
|
+
/**
|
1899
|
+
* The id of the selected button.
|
1900
|
+
*/
|
1901
|
+
"selectedId"?: string;
|
1115
1902
|
}
|
1116
1903
|
interface CpslOverlay {
|
1117
1904
|
/**
|
@@ -1126,6 +1913,28 @@ declare namespace LocalJSX {
|
|
1126
1913
|
* Whether or not to show the overlay.
|
1127
1914
|
*/
|
1128
1915
|
"open"?: boolean;
|
1916
|
+
/**
|
1917
|
+
* Override z-index.
|
1918
|
+
*/
|
1919
|
+
"zIndexOverride"?: number;
|
1920
|
+
}
|
1921
|
+
interface CpslPagination {
|
1922
|
+
/**
|
1923
|
+
* The initial page to select. Default is 0.
|
1924
|
+
*/
|
1925
|
+
"initialPage"?: number;
|
1926
|
+
/**
|
1927
|
+
* Emitted when exit animation finishes.
|
1928
|
+
*/
|
1929
|
+
"onCpslPaginationChanged"?: (event: CpslPaginationCustomEvent<number>) => void;
|
1930
|
+
/**
|
1931
|
+
* The total number of pages.
|
1932
|
+
*/
|
1933
|
+
"totalPages"?: number;
|
1934
|
+
/**
|
1935
|
+
* The number of pages visible to select. Default is 5. Min is 5.
|
1936
|
+
*/
|
1937
|
+
"visiblePages"?: number;
|
1129
1938
|
}
|
1130
1939
|
interface CpslPill {
|
1131
1940
|
/**
|
@@ -1133,6 +1942,52 @@ declare namespace LocalJSX {
|
|
1133
1942
|
*/
|
1134
1943
|
"text"?: string;
|
1135
1944
|
}
|
1945
|
+
interface CpslPopover {
|
1946
|
+
/**
|
1947
|
+
* Vertical anchor origin. Options are: `"left"`, `"center"`, `"right"`. Default is: `"left"`.
|
1948
|
+
*/
|
1949
|
+
"anchorOriginHorizontal"?: 'left' | 'center' | 'right';
|
1950
|
+
/**
|
1951
|
+
* Vertical anchor origin. Options are: `"top"`, `"center"`, `"bottom"`. Default is: `"bottom"`.
|
1952
|
+
*/
|
1953
|
+
"anchorOriginVertical"?: 'top' | 'center' | 'bottom';
|
1954
|
+
/**
|
1955
|
+
* If `true` the container will use the width of the content, else it will be set to the width of the trigger. Default is `true`
|
1956
|
+
*/
|
1957
|
+
"autoWidth"?: boolean;
|
1958
|
+
/**
|
1959
|
+
* Emitted when the popover closes.
|
1960
|
+
*/
|
1961
|
+
"onCpslClose"?: (event: CpslPopoverCustomEvent<void>) => void;
|
1962
|
+
/**
|
1963
|
+
* Emitted when the popover opens.
|
1964
|
+
*/
|
1965
|
+
"onCpslOpen"?: (event: CpslPopoverCustomEvent<void>) => void;
|
1966
|
+
/**
|
1967
|
+
* Used internally to prevent select from blurring unintentionally.
|
1968
|
+
*/
|
1969
|
+
"preventBlur"?: boolean;
|
1970
|
+
/**
|
1971
|
+
* Vertical transformation origin. Options are: `"left"`, `"center"`, `"right"`. Default is: `"left"`.
|
1972
|
+
*/
|
1973
|
+
"transformOriginHorizontal"?: 'left' | 'center' | 'right';
|
1974
|
+
/**
|
1975
|
+
* Vertical transformation origin. Options are: `"top"`, `"center"`, `"bottom"`. Default is: `"bottom"`.
|
1976
|
+
*/
|
1977
|
+
"transformOriginVertical"?: 'top' | 'center' | 'bottom';
|
1978
|
+
/**
|
1979
|
+
* ID for the element that triggers the popover to open.
|
1980
|
+
*/
|
1981
|
+
"trigger"?: string;
|
1982
|
+
/**
|
1983
|
+
* Which trigger causes the popover to open. Options are: `"click"`, `"hover"`. Default is: `"click"`.
|
1984
|
+
*/
|
1985
|
+
"triggerAction"?: 'click' | 'hover';
|
1986
|
+
/**
|
1987
|
+
* Padding from edge of window for the popover container.
|
1988
|
+
*/
|
1989
|
+
"windowPadding"?: number;
|
1990
|
+
}
|
1136
1991
|
interface CpslProgressIndicator {
|
1137
1992
|
/**
|
1138
1993
|
* Current zero based step.
|
@@ -1157,8 +2012,90 @@ declare namespace LocalJSX {
|
|
1157
2012
|
*/
|
1158
2013
|
"url"?: string;
|
1159
2014
|
}
|
2015
|
+
interface CpslRadio {
|
2016
|
+
/**
|
2017
|
+
* Whether or not the radio is checked.
|
2018
|
+
*/
|
2019
|
+
"checked"?: boolean;
|
2020
|
+
/**
|
2021
|
+
* Emitted when the radio state changes.
|
2022
|
+
*/
|
2023
|
+
"onCpslRadioChanged"?: (event: CpslRadioCustomEvent<boolean>) => void;
|
2024
|
+
}
|
1160
2025
|
interface CpslRow {
|
1161
2026
|
}
|
2027
|
+
interface CpslSelect {
|
2028
|
+
/**
|
2029
|
+
* If `true`, the user cannot interact with the input.
|
2030
|
+
*/
|
2031
|
+
"disabled"?: boolean;
|
2032
|
+
/**
|
2033
|
+
* Set the max height of the dropdown.
|
2034
|
+
*/
|
2035
|
+
"dropdownMaxHeight"?: number;
|
2036
|
+
/**
|
2037
|
+
* Error text to show below the input. If this is provided the input will enter an error state.
|
2038
|
+
*/
|
2039
|
+
"errorText"?: string;
|
2040
|
+
/**
|
2041
|
+
* Format value for display when selected.
|
2042
|
+
*/
|
2043
|
+
"formatValue"?: (value: string) => string;
|
2044
|
+
/**
|
2045
|
+
* Helper text to show below the input. If `"errorText"` is provided that will take precedence.
|
2046
|
+
*/
|
2047
|
+
"helperText"?: string;
|
2048
|
+
/**
|
2049
|
+
* ID of the element, must be unique for the popover trigger.
|
2050
|
+
*/
|
2051
|
+
"id"?: string;
|
2052
|
+
/**
|
2053
|
+
* The label for the input.
|
2054
|
+
*/
|
2055
|
+
"label"?: string;
|
2056
|
+
/**
|
2057
|
+
* Emitted when the input loses focus.
|
2058
|
+
*/
|
2059
|
+
"onCpslBlur"?: (event: CpslSelectCustomEvent<FocusEvent>) => void;
|
2060
|
+
/**
|
2061
|
+
* Emitted when the input has focus.
|
2062
|
+
*/
|
2063
|
+
"onCpslFocus"?: (event: CpslSelectCustomEvent<FocusEvent>) => void;
|
2064
|
+
/**
|
2065
|
+
* Emitted when the value changes.
|
2066
|
+
*/
|
2067
|
+
"onCpslSelectValueChange"?: (event: CpslSelectCustomEvent<string>) => void;
|
2068
|
+
/**
|
2069
|
+
* Placeholder to display if `selectedValue` is empty.
|
2070
|
+
*/
|
2071
|
+
"placeholder"?: string;
|
2072
|
+
/**
|
2073
|
+
* If `true`, the user must fill in a value before submitting a form.
|
2074
|
+
*/
|
2075
|
+
"required"?: boolean;
|
2076
|
+
/**
|
2077
|
+
* Value of the selected item.
|
2078
|
+
*/
|
2079
|
+
"selectedValue"?: string;
|
2080
|
+
/**
|
2081
|
+
* Will show the formatted selected item (passed in the `selected-item` slot) in the select rather than the item value.
|
2082
|
+
*/
|
2083
|
+
"showFormattedSelectedItem"?: boolean;
|
2084
|
+
/**
|
2085
|
+
* If `true`, the label will display an "optional" tag.
|
2086
|
+
*/
|
2087
|
+
"showOptionalLabel"?: boolean;
|
2088
|
+
}
|
2089
|
+
interface CpslSelectItem {
|
2090
|
+
/**
|
2091
|
+
* Whether the item is selected or not.
|
2092
|
+
*/
|
2093
|
+
"selected"?: boolean;
|
2094
|
+
/**
|
2095
|
+
* Value of the item.
|
2096
|
+
*/
|
2097
|
+
"value"?: string;
|
2098
|
+
}
|
1162
2099
|
interface CpslSlideButton {
|
1163
2100
|
/**
|
1164
2101
|
* Whether or not the component is disabled. If true, the component will display the `startText`.
|
@@ -1195,6 +2132,16 @@ declare namespace LocalJSX {
|
|
1195
2132
|
*/
|
1196
2133
|
"speed"?: number;
|
1197
2134
|
}
|
2135
|
+
interface CpslSwitch {
|
2136
|
+
/**
|
2137
|
+
* Whether or not the switch is checked.
|
2138
|
+
*/
|
2139
|
+
"checked"?: boolean;
|
2140
|
+
/**
|
2141
|
+
* Emitted when the switch state changes.
|
2142
|
+
*/
|
2143
|
+
"onCpslSwitchChanged"?: (event: CpslSwitchCustomEvent<boolean>) => void;
|
2144
|
+
}
|
1198
2145
|
interface CpslTab {
|
1199
2146
|
/**
|
1200
2147
|
* The selected tab component
|
@@ -1205,6 +2152,8 @@ declare namespace LocalJSX {
|
|
1205
2152
|
*/
|
1206
2153
|
"tab"?: string;
|
1207
2154
|
}
|
2155
|
+
interface CpslTable {
|
2156
|
+
}
|
1208
2157
|
interface CpslTabs {
|
1209
2158
|
/**
|
1210
2159
|
* Whether or not the tabs take the full width of their container.
|
@@ -1221,9 +2170,9 @@ declare namespace LocalJSX {
|
|
1221
2170
|
}
|
1222
2171
|
interface CpslText {
|
1223
2172
|
/**
|
1224
|
-
* The color of text. Options are: `"primary"`, `"secondary", `"subtle", `"inverted", `"error". Default is: `"primary"`.
|
2173
|
+
* The color of text. Options are: `"primary"`, `"secondary", `"tertiary", `"subtle", `"inverted", `"error". Default is: `"primary"`.
|
1225
2174
|
*/
|
1226
|
-
"color"?: 'primary' | 'secondary' | 'subtle' | 'inverted' | 'error';
|
2175
|
+
"color"?: 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'inverted' | 'error';
|
1227
2176
|
/**
|
1228
2177
|
* The variant of text. Options are: `"body2XS"`, `"bodyXS", `"bodyS", `"bodyM", `"bodyL", `"bodyXL", `"headingXS", `"headingS", `"headingM", `"headingL", `"headingXL", `"heading2XL". Default is: `"bodyM"`.
|
1229
2178
|
*/
|
@@ -1246,24 +2195,40 @@ declare namespace LocalJSX {
|
|
1246
2195
|
interface IntrinsicElements {
|
1247
2196
|
"cpsl-alert": CpslAlert;
|
1248
2197
|
"cpsl-animation": CpslAnimation;
|
2198
|
+
"cpsl-app-bar": CpslAppBar;
|
2199
|
+
"cpsl-avatar": CpslAvatar;
|
1249
2200
|
"cpsl-button": CpslButton;
|
2201
|
+
"cpsl-button-group": CpslButtonGroup;
|
2202
|
+
"cpsl-card": CpslCard;
|
2203
|
+
"cpsl-checkbox": CpslCheckbox;
|
1250
2204
|
"cpsl-code-input": CpslCodeInput;
|
1251
2205
|
"cpsl-col": CpslCol;
|
1252
2206
|
"cpsl-divider": CpslDivider;
|
2207
|
+
"cpsl-drawer": CpslDrawer;
|
1253
2208
|
"cpsl-dropdown": CpslDropdown;
|
2209
|
+
"cpsl-file-upload": CpslFileUpload;
|
1254
2210
|
"cpsl-grid": CpslGrid;
|
1255
2211
|
"cpsl-icon": CpslIcon;
|
1256
2212
|
"cpsl-info-box": CpslInfoBox;
|
1257
2213
|
"cpsl-input": CpslInput;
|
1258
2214
|
"cpsl-modal": CpslModal;
|
2215
|
+
"cpsl-modal-v2": CpslModalV2;
|
2216
|
+
"cpsl-nav-button-group": CpslNavButtonGroup;
|
1259
2217
|
"cpsl-overlay": CpslOverlay;
|
2218
|
+
"cpsl-pagination": CpslPagination;
|
1260
2219
|
"cpsl-pill": CpslPill;
|
2220
|
+
"cpsl-popover": CpslPopover;
|
1261
2221
|
"cpsl-progress-indicator": CpslProgressIndicator;
|
1262
2222
|
"cpsl-qr-code": CpslQrCode;
|
2223
|
+
"cpsl-radio": CpslRadio;
|
1263
2224
|
"cpsl-row": CpslRow;
|
2225
|
+
"cpsl-select": CpslSelect;
|
2226
|
+
"cpsl-select-item": CpslSelectItem;
|
1264
2227
|
"cpsl-slide-button": CpslSlideButton;
|
1265
2228
|
"cpsl-spinner": CpslSpinner;
|
2229
|
+
"cpsl-switch": CpslSwitch;
|
1266
2230
|
"cpsl-tab": CpslTab;
|
2231
|
+
"cpsl-table": CpslTable;
|
1267
2232
|
"cpsl-tabs": CpslTabs;
|
1268
2233
|
"cpsl-text": CpslText;
|
1269
2234
|
"cpsl-tile-button": CpslTileButton;
|
@@ -1275,24 +2240,40 @@ declare module "@stencil/core" {
|
|
1275
2240
|
interface IntrinsicElements {
|
1276
2241
|
"cpsl-alert": LocalJSX.CpslAlert & JSXBase.HTMLAttributes<HTMLCpslAlertElement>;
|
1277
2242
|
"cpsl-animation": LocalJSX.CpslAnimation & JSXBase.HTMLAttributes<HTMLCpslAnimationElement>;
|
2243
|
+
"cpsl-app-bar": LocalJSX.CpslAppBar & JSXBase.HTMLAttributes<HTMLCpslAppBarElement>;
|
2244
|
+
"cpsl-avatar": LocalJSX.CpslAvatar & JSXBase.HTMLAttributes<HTMLCpslAvatarElement>;
|
1278
2245
|
"cpsl-button": LocalJSX.CpslButton & JSXBase.HTMLAttributes<HTMLCpslButtonElement>;
|
2246
|
+
"cpsl-button-group": LocalJSX.CpslButtonGroup & JSXBase.HTMLAttributes<HTMLCpslButtonGroupElement>;
|
2247
|
+
"cpsl-card": LocalJSX.CpslCard & JSXBase.HTMLAttributes<HTMLCpslCardElement>;
|
2248
|
+
"cpsl-checkbox": LocalJSX.CpslCheckbox & JSXBase.HTMLAttributes<HTMLCpslCheckboxElement>;
|
1279
2249
|
"cpsl-code-input": LocalJSX.CpslCodeInput & JSXBase.HTMLAttributes<HTMLCpslCodeInputElement>;
|
1280
2250
|
"cpsl-col": LocalJSX.CpslCol & JSXBase.HTMLAttributes<HTMLCpslColElement>;
|
1281
2251
|
"cpsl-divider": LocalJSX.CpslDivider & JSXBase.HTMLAttributes<HTMLCpslDividerElement>;
|
2252
|
+
"cpsl-drawer": LocalJSX.CpslDrawer & JSXBase.HTMLAttributes<HTMLCpslDrawerElement>;
|
1282
2253
|
"cpsl-dropdown": LocalJSX.CpslDropdown & JSXBase.HTMLAttributes<HTMLCpslDropdownElement>;
|
2254
|
+
"cpsl-file-upload": LocalJSX.CpslFileUpload & JSXBase.HTMLAttributes<HTMLCpslFileUploadElement>;
|
1283
2255
|
"cpsl-grid": LocalJSX.CpslGrid & JSXBase.HTMLAttributes<HTMLCpslGridElement>;
|
1284
2256
|
"cpsl-icon": LocalJSX.CpslIcon & JSXBase.HTMLAttributes<HTMLCpslIconElement>;
|
1285
2257
|
"cpsl-info-box": LocalJSX.CpslInfoBox & JSXBase.HTMLAttributes<HTMLCpslInfoBoxElement>;
|
1286
2258
|
"cpsl-input": LocalJSX.CpslInput & JSXBase.HTMLAttributes<HTMLCpslInputElement>;
|
1287
2259
|
"cpsl-modal": LocalJSX.CpslModal & JSXBase.HTMLAttributes<HTMLCpslModalElement>;
|
2260
|
+
"cpsl-modal-v2": LocalJSX.CpslModalV2 & JSXBase.HTMLAttributes<HTMLCpslModalV2Element>;
|
2261
|
+
"cpsl-nav-button-group": LocalJSX.CpslNavButtonGroup & JSXBase.HTMLAttributes<HTMLCpslNavButtonGroupElement>;
|
1288
2262
|
"cpsl-overlay": LocalJSX.CpslOverlay & JSXBase.HTMLAttributes<HTMLCpslOverlayElement>;
|
2263
|
+
"cpsl-pagination": LocalJSX.CpslPagination & JSXBase.HTMLAttributes<HTMLCpslPaginationElement>;
|
1289
2264
|
"cpsl-pill": LocalJSX.CpslPill & JSXBase.HTMLAttributes<HTMLCpslPillElement>;
|
2265
|
+
"cpsl-popover": LocalJSX.CpslPopover & JSXBase.HTMLAttributes<HTMLCpslPopoverElement>;
|
1290
2266
|
"cpsl-progress-indicator": LocalJSX.CpslProgressIndicator & JSXBase.HTMLAttributes<HTMLCpslProgressIndicatorElement>;
|
1291
2267
|
"cpsl-qr-code": LocalJSX.CpslQrCode & JSXBase.HTMLAttributes<HTMLCpslQrCodeElement>;
|
2268
|
+
"cpsl-radio": LocalJSX.CpslRadio & JSXBase.HTMLAttributes<HTMLCpslRadioElement>;
|
1292
2269
|
"cpsl-row": LocalJSX.CpslRow & JSXBase.HTMLAttributes<HTMLCpslRowElement>;
|
2270
|
+
"cpsl-select": LocalJSX.CpslSelect & JSXBase.HTMLAttributes<HTMLCpslSelectElement>;
|
2271
|
+
"cpsl-select-item": LocalJSX.CpslSelectItem & JSXBase.HTMLAttributes<HTMLCpslSelectItemElement>;
|
1293
2272
|
"cpsl-slide-button": LocalJSX.CpslSlideButton & JSXBase.HTMLAttributes<HTMLCpslSlideButtonElement>;
|
1294
2273
|
"cpsl-spinner": LocalJSX.CpslSpinner & JSXBase.HTMLAttributes<HTMLCpslSpinnerElement>;
|
2274
|
+
"cpsl-switch": LocalJSX.CpslSwitch & JSXBase.HTMLAttributes<HTMLCpslSwitchElement>;
|
1295
2275
|
"cpsl-tab": LocalJSX.CpslTab & JSXBase.HTMLAttributes<HTMLCpslTabElement>;
|
2276
|
+
"cpsl-table": LocalJSX.CpslTable & JSXBase.HTMLAttributes<HTMLCpslTableElement>;
|
1296
2277
|
"cpsl-tabs": LocalJSX.CpslTabs & JSXBase.HTMLAttributes<HTMLCpslTabsElement>;
|
1297
2278
|
"cpsl-text": LocalJSX.CpslText & JSXBase.HTMLAttributes<HTMLCpslTextElement>;
|
1298
2279
|
"cpsl-tile-button": LocalJSX.CpslTileButton & JSXBase.HTMLAttributes<HTMLCpslTileButtonElement>;
|