@usecapsule/core-components 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/css/capsule-core.css +160 -0
- package/css/capsule-core.css.map +1 -0
- package/dist/capsule/capsule.esm.js +2 -0
- package/dist/capsule/capsule.esm.js.map +1 -0
- package/dist/capsule/index.esm.js +2 -0
- package/dist/capsule/index.esm.js.map +1 -0
- package/dist/capsule/p-11048392.entry.js +2 -0
- package/dist/capsule/p-11048392.entry.js.map +1 -0
- package/dist/capsule/p-62e7869a.entry.js +2 -0
- package/dist/capsule/p-62e7869a.entry.js.map +1 -0
- package/dist/capsule/p-888b5108.entry.js +20 -0
- package/dist/capsule/p-888b5108.entry.js.map +1 -0
- package/dist/capsule/p-9647dd63.js +3 -0
- package/dist/capsule/p-9647dd63.js.map +1 -0
- package/dist/capsule/p-b7cb3ddd.entry.js +2 -0
- package/dist/capsule/p-b7cb3ddd.entry.js.map +1 -0
- package/dist/capsule/p-d871d963.entry.js +2 -0
- package/dist/capsule/p-d871d963.entry.js.map +1 -0
- package/dist/capsule/p-e1255160.js +2 -0
- package/dist/capsule/p-e1255160.js.map +1 -0
- package/dist/cjs/app-globals-3a1e7e63.js +7 -0
- package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
- package/dist/cjs/capsule.cjs.js +27 -0
- package/dist/cjs/capsule.cjs.js.map +1 -0
- package/dist/cjs/cpsl-alert_17.cjs.entry.js +7483 -0
- package/dist/cjs/cpsl-alert_17.cjs.entry.js.map +1 -0
- package/dist/cjs/cpsl-col.cjs.entry.js +125 -0
- package/dist/cjs/cpsl-col.cjs.entry.js.map +1 -0
- package/dist/cjs/cpsl-grid.cjs.entry.js +25 -0
- package/dist/cjs/cpsl-grid.cjs.entry.js.map +1 -0
- package/dist/cjs/cpsl-info-box.cjs.entry.js +22 -0
- package/dist/cjs/cpsl-info-box.cjs.entry.js.map +1 -0
- package/dist/cjs/cpsl-row.cjs.entry.js +22 -0
- package/dist/cjs/cpsl-row.cjs.entry.js.map +1 -0
- package/dist/cjs/index-2a026742.js +1962 -0
- package/dist/cjs/index-2a026742.js.map +1 -0
- package/dist/cjs/index.cjs.js +4 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +17 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/collection/assets/icons/alert-circle.svg +3 -0
- package/dist/collection/assets/icons/angel-list-brand.svg +3 -0
- package/dist/collection/assets/icons/angel-list.svg +3 -0
- package/dist/collection/assets/icons/apple-brand.svg +3 -0
- package/dist/collection/assets/icons/apple.svg +3 -0
- package/dist/collection/assets/icons/arrow-narrow.svg +3 -0
- package/dist/collection/assets/icons/arrow.svg +3 -0
- package/dist/collection/assets/icons/backup-kit.svg +4 -0
- package/dist/collection/assets/icons/capsule-logo.svg +18 -0
- package/dist/collection/assets/icons/capsule-rings.svg +34 -0
- package/dist/collection/assets/icons/capsule.svg +4 -0
- package/dist/collection/assets/icons/check.svg +3 -0
- package/dist/collection/assets/icons/clock.svg +3 -0
- package/dist/collection/assets/icons/close.svg +4 -0
- package/dist/collection/assets/icons/clubhouse-brand.svg +4 -0
- package/dist/collection/assets/icons/clubhouse.svg +4 -0
- package/dist/collection/assets/icons/copy.svg +3 -0
- package/dist/collection/assets/icons/discord-brand.svg +4 -0
- package/dist/collection/assets/icons/discord.svg +4 -0
- package/dist/collection/assets/icons/download-cloud.svg +3 -0
- package/dist/collection/assets/icons/dribbble-brand.svg +4 -0
- package/dist/collection/assets/icons/dribbble.svg +3 -0
- package/dist/collection/assets/icons/eye-off.svg +3 -0
- package/dist/collection/assets/icons/eye.svg +4 -0
- package/dist/collection/assets/icons/facebook-brand.svg +11 -0
- package/dist/collection/assets/icons/facebook.svg +10 -0
- package/dist/collection/assets/icons/figma-brand.svg +14 -0
- package/dist/collection/assets/icons/figma.svg +3 -0
- package/dist/collection/assets/icons/github-brand.svg +10 -0
- package/dist/collection/assets/icons/github.svg +10 -0
- package/dist/collection/assets/icons/google-brand.svg +13 -0
- package/dist/collection/assets/icons/google.svg +10 -0
- package/dist/collection/assets/icons/help-circle.svg +3 -0
- package/dist/collection/assets/icons/hero-email.svg +34 -0
- package/dist/collection/assets/icons/hero-lock.svg +34 -0
- package/dist/collection/assets/icons/hero-passkey.svg +33 -0
- package/dist/collection/assets/icons/hero-phone.svg +15 -0
- package/dist/collection/assets/icons/hero-wallet.svg +44 -0
- package/dist/collection/assets/icons/index.js +69 -0
- package/dist/collection/assets/icons/index.js.map +1 -0
- package/dist/collection/assets/icons/info-circle.svg +3 -0
- package/dist/collection/assets/icons/instagram-brand.svg +12 -0
- package/dist/collection/assets/icons/instagram.svg +12 -0
- package/dist/collection/assets/icons/key.svg +3 -0
- package/dist/collection/assets/icons/linkedin-brand.svg +10 -0
- package/dist/collection/assets/icons/linkedin.svg +10 -0
- package/dist/collection/assets/icons/mail.svg +3 -0
- package/dist/collection/assets/icons/more-login-options.svg +12 -0
- package/dist/collection/assets/icons/phone.svg +3 -0
- package/dist/collection/assets/icons/pintrest-brand.svg +11 -0
- package/dist/collection/assets/icons/pintrest.svg +10 -0
- package/dist/collection/assets/icons/reddit-brand.svg +11 -0
- package/dist/collection/assets/icons/reddit.svg +3 -0
- package/dist/collection/assets/icons/signal-brand.svg +3 -0
- package/dist/collection/assets/icons/signal.svg +3 -0
- package/dist/collection/assets/icons/snapchat-brand.svg +4 -0
- package/dist/collection/assets/icons/snapchat.svg +3 -0
- package/dist/collection/assets/icons/telegram-brand.svg +15 -0
- package/dist/collection/assets/icons/telegram.svg +10 -0
- package/dist/collection/assets/icons/tik-tok-brand.svg +5 -0
- package/dist/collection/assets/icons/tik-tok.svg +3 -0
- package/dist/collection/assets/icons/tumblr-brand.svg +10 -0
- package/dist/collection/assets/icons/tumblr.svg +10 -0
- package/dist/collection/assets/icons/twitter-brand.svg +3 -0
- package/dist/collection/assets/icons/twitter.svg +3 -0
- package/dist/collection/assets/icons/x-brand.svg +3 -0
- package/dist/collection/assets/icons/x.svg +3 -0
- package/dist/collection/assets/icons/youtube-brand.svg +11 -0
- package/dist/collection/assets/icons/youtube.svg +3 -0
- package/dist/collection/collection-manifest.json +32 -0
- package/dist/collection/components/cpsl-alert/cpsl-alert.css +97 -0
- package/dist/collection/components/cpsl-alert/cpsl-alert.js +80 -0
- package/dist/collection/components/cpsl-alert/cpsl-alert.js.map +1 -0
- package/dist/collection/components/cpsl-alert/test/cpsl-alert.e2e.js +29 -0
- package/dist/collection/components/cpsl-alert/test/cpsl-alert.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-alert/test/cpsl-alert.spec.js +37 -0
- package/dist/collection/components/cpsl-alert/test/cpsl-alert.spec.js.map +1 -0
- package/dist/collection/components/cpsl-button/cpsl-button.css +158 -0
- package/dist/collection/components/cpsl-button/cpsl-button.js +68 -0
- package/dist/collection/components/cpsl-button/cpsl-button.js.map +1 -0
- package/dist/collection/components/cpsl-button/test/cpsl-button.e2e.js +29 -0
- package/dist/collection/components/cpsl-button/test/cpsl-button.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-button/test/cpsl-button.spec.js +37 -0
- package/dist/collection/components/cpsl-button/test/cpsl-button.spec.js.map +1 -0
- package/dist/collection/components/cpsl-code-input/code-change-interface.js +2 -0
- package/dist/collection/components/cpsl-code-input/code-change-interface.js.map +1 -0
- package/dist/collection/components/cpsl-code-input/cpsl-code-input.css +134 -0
- package/dist/collection/components/cpsl-code-input/cpsl-code-input.js +223 -0
- package/dist/collection/components/cpsl-code-input/cpsl-code-input.js.map +1 -0
- package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.e2e.js +29 -0
- package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.spec.js +37 -0
- package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.spec.js.map +1 -0
- package/dist/collection/components/cpsl-col/cpsl-col.css +200 -0
- package/dist/collection/components/cpsl-col/cpsl-col.js +528 -0
- package/dist/collection/components/cpsl-col/cpsl-col.js.map +1 -0
- package/dist/collection/components/cpsl-col/test/cpsl-col.e2e.js +29 -0
- package/dist/collection/components/cpsl-col/test/cpsl-col.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-col/test/cpsl-col.spec.js +37 -0
- package/dist/collection/components/cpsl-col/test/cpsl-col.spec.js.map +1 -0
- package/dist/collection/components/cpsl-divider/cpsl-divider.css +72 -0
- package/dist/collection/components/cpsl-divider/cpsl-divider.js +19 -0
- package/dist/collection/components/cpsl-divider/cpsl-divider.js.map +1 -0
- package/dist/collection/components/cpsl-divider/test/cpsl-divider.e2e.js +29 -0
- package/dist/collection/components/cpsl-divider/test/cpsl-divider.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-divider/test/cpsl-divider.spec.js +37 -0
- package/dist/collection/components/cpsl-divider/test/cpsl-divider.spec.js.map +1 -0
- package/dist/collection/components/cpsl-grid/cpsl-grid.css +235 -0
- package/dist/collection/components/cpsl-grid/cpsl-grid.js +46 -0
- package/dist/collection/components/cpsl-grid/cpsl-grid.js.map +1 -0
- package/dist/collection/components/cpsl-grid/test/cpsl-grid.e2e.js +29 -0
- package/dist/collection/components/cpsl-grid/test/cpsl-grid.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-grid/test/cpsl-grid.spec.js +37 -0
- package/dist/collection/components/cpsl-grid/test/cpsl-grid.spec.js.map +1 -0
- package/dist/collection/components/cpsl-icon/cpsl-icon.css +81 -0
- package/dist/collection/components/cpsl-icon/cpsl-icon.js +69 -0
- package/dist/collection/components/cpsl-icon/cpsl-icon.js.map +1 -0
- package/dist/collection/components/cpsl-icon/test/cpsl-icon.e2e.js +29 -0
- package/dist/collection/components/cpsl-icon/test/cpsl-icon.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-icon/test/cpsl-icon.spec.js +37 -0
- package/dist/collection/components/cpsl-icon/test/cpsl-icon.spec.js.map +1 -0
- package/dist/collection/components/cpsl-info-box/cpsl-info-box.css +74 -0
- package/dist/collection/components/cpsl-info-box/cpsl-info-box.js +19 -0
- package/dist/collection/components/cpsl-info-box/cpsl-info-box.js.map +1 -0
- package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.e2e.js +29 -0
- package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.spec.js +37 -0
- package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.spec.js.map +1 -0
- package/dist/collection/components/cpsl-input/cpsl-input.css +187 -0
- package/dist/collection/components/cpsl-input/cpsl-input.js +706 -0
- package/dist/collection/components/cpsl-input/cpsl-input.js.map +1 -0
- package/dist/collection/components/cpsl-input/input-interface.js +2 -0
- package/dist/collection/components/cpsl-input/input-interface.js.map +1 -0
- package/dist/collection/components/cpsl-input/test/cpsl-input.e2e.js +29 -0
- package/dist/collection/components/cpsl-input/test/cpsl-input.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-input/test/cpsl-input.spec.js +37 -0
- package/dist/collection/components/cpsl-input/test/cpsl-input.spec.js.map +1 -0
- package/dist/collection/components/cpsl-modal/cpsl-modal.css +120 -0
- package/dist/collection/components/cpsl-modal/cpsl-modal.js +106 -0
- package/dist/collection/components/cpsl-modal/cpsl-modal.js.map +1 -0
- package/dist/collection/components/cpsl-modal/test/cpsl-modal.e2e.js +29 -0
- package/dist/collection/components/cpsl-modal/test/cpsl-modal.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-modal/test/cpsl-modal.spec.js +37 -0
- package/dist/collection/components/cpsl-modal/test/cpsl-modal.spec.js.map +1 -0
- package/dist/collection/components/cpsl-overlay/cpsl-overlay.css +11 -0
- package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +91 -0
- package/dist/collection/components/cpsl-overlay/cpsl-overlay.js.map +1 -0
- package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.e2e.js +29 -0
- package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.spec.js +37 -0
- package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.spec.js.map +1 -0
- package/dist/collection/components/cpsl-pill/cpsl-pill.css +92 -0
- package/dist/collection/components/cpsl-pill/cpsl-pill.js +43 -0
- package/dist/collection/components/cpsl-pill/cpsl-pill.js.map +1 -0
- package/dist/collection/components/cpsl-pill/test/cpsl-pill.e2e.js +29 -0
- package/dist/collection/components/cpsl-pill/test/cpsl-pill.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-pill/test/cpsl-pill.spec.js +37 -0
- package/dist/collection/components/cpsl-pill/test/cpsl-pill.spec.js.map +1 -0
- package/dist/collection/components/cpsl-progress-indicator/cpsl-progress-indicator.css +82 -0
- package/dist/collection/components/cpsl-progress-indicator/cpsl-progress-indicator.js +71 -0
- package/dist/collection/components/cpsl-progress-indicator/cpsl-progress-indicator.js.map +1 -0
- package/dist/collection/components/cpsl-progress-indicator/progress-indicator-interface.js +2 -0
- package/dist/collection/components/cpsl-progress-indicator/progress-indicator-interface.js.map +1 -0
- package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.e2e.js +29 -0
- package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.spec.js +37 -0
- package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.spec.js.map +1 -0
- package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.css +79 -0
- package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +107 -0
- package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js.map +1 -0
- package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.e2e.js +29 -0
- package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.spec.js +37 -0
- package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.spec.js.map +1 -0
- package/dist/collection/components/cpsl-row/cpsl-row.css +136 -0
- package/dist/collection/components/cpsl-row/cpsl-row.js +19 -0
- package/dist/collection/components/cpsl-row/cpsl-row.js.map +1 -0
- package/dist/collection/components/cpsl-row/test/cpsl-row.e2e.js +29 -0
- package/dist/collection/components/cpsl-row/test/cpsl-row.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-row/test/cpsl-row.spec.js +37 -0
- package/dist/collection/components/cpsl-row/test/cpsl-row.spec.js.map +1 -0
- package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.css +165 -0
- package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +205 -0
- package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js.map +1 -0
- package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.e2e.js +29 -0
- package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.spec.js +37 -0
- package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.spec.js.map +1 -0
- package/dist/collection/components/cpsl-spinner/cpsl-spinner.css +68 -0
- package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +69 -0
- package/dist/collection/components/cpsl-spinner/cpsl-spinner.js.map +1 -0
- package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.e2e.js +29 -0
- package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.spec.js +37 -0
- package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.spec.js.map +1 -0
- package/dist/collection/components/cpsl-tab/cpsl-tab.css +20 -0
- package/dist/collection/components/cpsl-tab/cpsl-tab.js +121 -0
- package/dist/collection/components/cpsl-tab/cpsl-tab.js.map +1 -0
- package/dist/collection/components/cpsl-tab/tab-interface.js +2 -0
- package/dist/collection/components/cpsl-tab/tab-interface.js.map +1 -0
- package/dist/collection/components/cpsl-tab/test/cpsl-tab.e2e.js +29 -0
- package/dist/collection/components/cpsl-tab/test/cpsl-tab.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-tab/test/cpsl-tab.spec.js +37 -0
- package/dist/collection/components/cpsl-tab/test/cpsl-tab.spec.js.map +1 -0
- package/dist/collection/components/cpsl-tabs/cpsl-tabs.css +110 -0
- package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +163 -0
- package/dist/collection/components/cpsl-tabs/cpsl-tabs.js.map +1 -0
- package/dist/collection/components/cpsl-tabs/tabs-interface.js +2 -0
- package/dist/collection/components/cpsl-tabs/tabs-interface.js.map +1 -0
- package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.e2e.js +29 -0
- package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.spec.js +37 -0
- package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.spec.js.map +1 -0
- package/dist/collection/components/cpsl-text/cpsl-text.css +59 -0
- package/dist/collection/components/cpsl-text/cpsl-text.js +19 -0
- package/dist/collection/components/cpsl-text/cpsl-text.js.map +1 -0
- package/dist/collection/components/cpsl-text/test/cpsl-text.e2e.js +29 -0
- package/dist/collection/components/cpsl-text/test/cpsl-text.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-text/test/cpsl-text.spec.js +37 -0
- package/dist/collection/components/cpsl-text/test/cpsl-text.spec.js.map +1 -0
- package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.css +94 -0
- package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +67 -0
- package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js.map +1 -0
- package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.e2e.js +29 -0
- package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.spec.js +37 -0
- package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.spec.js.map +1 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/interface.js +2 -0
- package/dist/collection/interface.js.map +1 -0
- package/dist/collection/utils/media.js +18 -0
- package/dist/collection/utils/media.js.map +1 -0
- package/dist/esm/app-globals-0f993ce5.js +5 -0
- package/dist/esm/app-globals-0f993ce5.js.map +1 -0
- package/dist/esm/capsule.js +22 -0
- package/dist/esm/capsule.js.map +1 -0
- package/dist/esm/cpsl-alert_17.entry.js +7463 -0
- package/dist/esm/cpsl-alert_17.entry.js.map +1 -0
- package/dist/esm/cpsl-col.entry.js +121 -0
- package/dist/esm/cpsl-col.entry.js.map +1 -0
- package/dist/esm/cpsl-grid.entry.js +21 -0
- package/dist/esm/cpsl-grid.entry.js.map +1 -0
- package/dist/esm/cpsl-info-box.entry.js +18 -0
- package/dist/esm/cpsl-info-box.entry.js.map +1 -0
- package/dist/esm/cpsl-row.entry.js +18 -0
- package/dist/esm/cpsl-row.entry.js.map +1 -0
- package/dist/esm/index-7c2f5cb9.js +1932 -0
- package/dist/esm/index-7c2f5cb9.js.map +1 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +13 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/loader/cdn.js +3 -0
- package/dist/loader/index.cjs.js +3 -0
- package/dist/loader/index.d.ts +21 -0
- package/dist/loader/index.es2017.js +3 -0
- package/dist/loader/index.js +4 -0
- package/dist/loader/package.json +11 -0
- package/dist/scripts/buildIconLibrary.js +33 -0
- package/dist/scripts/buildIconLibrary.js.map +1 -0
- package/dist/types/Users/taylorbosch/Documents/GitHub/Capsule/component-library/core/.stencil/scripts/buildIconLibrary.d.ts +5 -0
- package/dist/types/assets/icons/index.d.ts +69 -0
- package/dist/types/components/cpsl-alert/cpsl-alert.d.ts +7 -0
- package/dist/types/components/cpsl-button/cpsl-button.d.ts +5 -0
- package/dist/types/components/cpsl-code-input/code-change-interface.d.ts +3 -0
- package/dist/types/components/cpsl-code-input/cpsl-code-input.d.ts +17 -0
- package/dist/types/components/cpsl-col/cpsl-col.d.ts +34 -0
- package/dist/types/components/cpsl-divider/cpsl-divider.d.ts +3 -0
- package/dist/types/components/cpsl-grid/cpsl-grid.d.ts +4 -0
- package/dist/types/components/cpsl-icon/cpsl-icon.d.ts +6 -0
- package/dist/types/components/cpsl-info-box/cpsl-info-box.d.ts +3 -0
- package/dist/types/components/cpsl-input/cpsl-input.d.ts +53 -0
- package/dist/types/components/cpsl-input/input-interface.d.ts +8 -0
- package/dist/types/components/cpsl-modal/cpsl-modal.d.ts +15 -0
- package/dist/types/components/cpsl-overlay/cpsl-overlay.d.ts +9 -0
- package/dist/types/components/cpsl-pill/cpsl-pill.d.ts +4 -0
- package/dist/types/components/cpsl-progress-indicator/cpsl-progress-indicator.d.ts +5 -0
- package/dist/types/components/cpsl-progress-indicator/progress-indicator-interface.d.ts +4 -0
- package/dist/types/components/cpsl-qr-code/cpsl-qr-code.d.ts +8 -0
- package/dist/types/components/cpsl-row/cpsl-row.d.ts +3 -0
- package/dist/types/components/cpsl-slide-button/cpsl-slide-button.d.ts +19 -0
- package/dist/types/components/cpsl-spinner/cpsl-spinner.d.ts +5 -0
- package/dist/types/components/cpsl-tab/cpsl-tab.d.ts +14 -0
- package/dist/types/components/cpsl-tab/tab-interface.d.ts +4 -0
- package/dist/types/components/cpsl-tabs/cpsl-tabs.d.ts +17 -0
- package/dist/types/components/cpsl-tabs/tabs-interface.d.ts +9 -0
- package/dist/types/components/cpsl-text/cpsl-text.d.ts +3 -0
- package/dist/types/components/cpsl-tile-button/cpsl-tile-button.d.ts +6 -0
- package/dist/types/components.d.ts +1094 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/interface.d.ts +10 -0
- package/dist/types/stencil-public-runtime.d.ts +1681 -0
- package/dist/types/utils/media.d.ts +2 -0
- package/package.json +51 -0
- package/readme.md +3 -0
@@ -0,0 +1,1094 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
/* tslint:disable */
|
3
|
+
/**
|
4
|
+
* This is an autogenerated file created by the Stencil compiler.
|
5
|
+
* It contains typing information for all components that exist in this project.
|
6
|
+
*/
|
7
|
+
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
8
|
+
import { AutocompleteTypes, IconType, TextFieldTypes } from "./interface";
|
9
|
+
import { CodeChangeEventDetail } from "./components/cpsl-code-input/code-change-interface";
|
10
|
+
import { InputChangeEventDetail, InputInputEventDetail } from "./components/cpsl-input/input-interface";
|
11
|
+
import { TabClickEventDetail } from "./components/cpsl-tab/tab-interface";
|
12
|
+
import { TabsChangedEventDetail } from "./components/cpsl-tabs/tabs-interface";
|
13
|
+
export { AutocompleteTypes, IconType, TextFieldTypes } from "./interface";
|
14
|
+
export { CodeChangeEventDetail } from "./components/cpsl-code-input/code-change-interface";
|
15
|
+
export { InputChangeEventDetail, InputInputEventDetail } from "./components/cpsl-input/input-interface";
|
16
|
+
export { TabClickEventDetail } from "./components/cpsl-tab/tab-interface";
|
17
|
+
export { TabsChangedEventDetail } from "./components/cpsl-tabs/tabs-interface";
|
18
|
+
export namespace Components {
|
19
|
+
interface CpslAlert {
|
20
|
+
/**
|
21
|
+
* The name of the icon to show.
|
22
|
+
*/
|
23
|
+
"icon"?: IconType;
|
24
|
+
/**
|
25
|
+
* The type of alert. Options are: `"error"` Default is: `"error"`.
|
26
|
+
*/
|
27
|
+
"type"?: 'error';
|
28
|
+
}
|
29
|
+
interface CpslButton {
|
30
|
+
/**
|
31
|
+
* If the button is disabled. Default is: false.
|
32
|
+
*/
|
33
|
+
"disabled"?: boolean;
|
34
|
+
/**
|
35
|
+
* The variant of button. Options are: `"primary"`, `"secondary", `"icon". Default is: `"primary"`.
|
36
|
+
*/
|
37
|
+
"variant"?: 'primary' | 'secondary' | 'icon';
|
38
|
+
}
|
39
|
+
interface CpslCodeInput {
|
40
|
+
/**
|
41
|
+
* Value of the code.
|
42
|
+
*/
|
43
|
+
"code": string;
|
44
|
+
/**
|
45
|
+
* Error text to show below the input. If this is provided the input will enter an error state.
|
46
|
+
*/
|
47
|
+
"errorText"?: string;
|
48
|
+
/**
|
49
|
+
* Helper text to show below the input. If `"errorText"` is provided that will take precedence.
|
50
|
+
*/
|
51
|
+
"helperText"?: string;
|
52
|
+
/**
|
53
|
+
* Length of the code.
|
54
|
+
*/
|
55
|
+
"length": number;
|
56
|
+
/**
|
57
|
+
* Type of characters to accept in the code. Defaults to number.
|
58
|
+
*/
|
59
|
+
"type"?: 'number' | 'string';
|
60
|
+
}
|
61
|
+
interface CpslCol {
|
62
|
+
/**
|
63
|
+
* The amount to offset the column, in terms of how many columns it should shift to the end of the total available.
|
64
|
+
*/
|
65
|
+
"offset"?: string;
|
66
|
+
/**
|
67
|
+
* The amount to offset the column for lg screens, in terms of how many columns it should shift to the end of the total available.
|
68
|
+
*/
|
69
|
+
"offsetLg"?: string;
|
70
|
+
/**
|
71
|
+
* The amount to offset the column for md screens, in terms of how many columns it should shift to the end of the total available.
|
72
|
+
*/
|
73
|
+
"offsetMd"?: string;
|
74
|
+
/**
|
75
|
+
* The amount to offset the column for sm screens, in terms of how many columns it should shift to the end of the total available.
|
76
|
+
*/
|
77
|
+
"offsetSm"?: string;
|
78
|
+
/**
|
79
|
+
* The amount to offset the column for xl screens, in terms of how many columns it should shift to the end of the total available.
|
80
|
+
*/
|
81
|
+
"offsetXl"?: string;
|
82
|
+
/**
|
83
|
+
* The amount to offset the column for xs screens, in terms of how many columns it should shift to the end of the total available.
|
84
|
+
*/
|
85
|
+
"offsetXs"?: string;
|
86
|
+
/**
|
87
|
+
* The amount to pull the column, in terms of how many columns it should shift to the start of the total available.
|
88
|
+
*/
|
89
|
+
"pull"?: string;
|
90
|
+
/**
|
91
|
+
* The amount to pull the column for lg screens, in terms of how many columns it should shift to the start of the total available.
|
92
|
+
*/
|
93
|
+
"pullLg"?: string;
|
94
|
+
/**
|
95
|
+
* The amount to pull the column for md screens, in terms of how many columns it should shift to the start of the total available.
|
96
|
+
*/
|
97
|
+
"pullMd"?: string;
|
98
|
+
/**
|
99
|
+
* The amount to pull the column for sm screens, in terms of how many columns it should shift to the start of the total available.
|
100
|
+
*/
|
101
|
+
"pullSm"?: string;
|
102
|
+
/**
|
103
|
+
* The amount to pull the column for xl screens, in terms of how many columns it should shift to the start of the total available.
|
104
|
+
*/
|
105
|
+
"pullXl"?: string;
|
106
|
+
/**
|
107
|
+
* The amount to pull the column for xs screens, in terms of how many columns it should shift to the start of the total available.
|
108
|
+
*/
|
109
|
+
"pullXs"?: string;
|
110
|
+
/**
|
111
|
+
* The amount to push the column, in terms of how many columns it should shift to the end of the total available.
|
112
|
+
*/
|
113
|
+
"push"?: string;
|
114
|
+
/**
|
115
|
+
* The amount to push the column for lg screens, in terms of how many columns it should shift to the end of the total available.
|
116
|
+
*/
|
117
|
+
"pushLg"?: string;
|
118
|
+
/**
|
119
|
+
* The amount to push the column for md screens, in terms of how many columns it should shift to the end of the total available.
|
120
|
+
*/
|
121
|
+
"pushMd"?: string;
|
122
|
+
/**
|
123
|
+
* The amount to push the column for sm screens, in terms of how many columns it should shift to the end of the total available.
|
124
|
+
*/
|
125
|
+
"pushSm"?: string;
|
126
|
+
/**
|
127
|
+
* The amount to push the column for xl screens, in terms of how many columns it should shift to the end of the total available.
|
128
|
+
*/
|
129
|
+
"pushXl"?: string;
|
130
|
+
/**
|
131
|
+
* The amount to push the column for xs screens, in terms of how many columns it should shift to the end of the total available.
|
132
|
+
*/
|
133
|
+
"pushXs"?: string;
|
134
|
+
/**
|
135
|
+
* The size of the column, in terms of how many columns it should take up out of the total available. If `"auto"` is passed, the column will be the size of its content.
|
136
|
+
*/
|
137
|
+
"size"?: string;
|
138
|
+
/**
|
139
|
+
* The size of the column for lg screens, in terms of how many columns it should take up out of the total available. If `"auto"` is passed, the column will be the size of its content.
|
140
|
+
*/
|
141
|
+
"sizeLg"?: string;
|
142
|
+
/**
|
143
|
+
* The size of the column for md screens, in terms of how many columns it should take up out of the total available. If `"auto"` is passed, the column will be the size of its content.
|
144
|
+
*/
|
145
|
+
"sizeMd"?: string;
|
146
|
+
/**
|
147
|
+
* The size of the column for sm screens, in terms of how many columns it should take up out of the total available. If `"auto"` is passed, the column will be the size of its content.
|
148
|
+
*/
|
149
|
+
"sizeSm"?: string;
|
150
|
+
/**
|
151
|
+
* The size of the column for xl screens, in terms of how many columns it should take up out of the total available. If `"auto"` is passed, the column will be the size of its content.
|
152
|
+
*/
|
153
|
+
"sizeXl"?: string;
|
154
|
+
/**
|
155
|
+
* The size of the column for xs screens, in terms of how many columns it should take up out of the total available. If `"auto"` is passed, the column will be the size of its content.
|
156
|
+
*/
|
157
|
+
"sizeXs"?: string;
|
158
|
+
}
|
159
|
+
interface CpslDivider {
|
160
|
+
}
|
161
|
+
interface CpslGrid {
|
162
|
+
/**
|
163
|
+
* If `true`, the grid will have a fixed width based on the screen size.
|
164
|
+
*/
|
165
|
+
"fixed": boolean;
|
166
|
+
}
|
167
|
+
interface CpslIcon {
|
168
|
+
/**
|
169
|
+
* The name of the icon. If both `icon` and `src` are provided, `icon` will be used.
|
170
|
+
*/
|
171
|
+
"icon"?: IconType;
|
172
|
+
/**
|
173
|
+
* The external source of the icon. If both `icon` and `src` are provided, `icon` will be used.
|
174
|
+
*/
|
175
|
+
"src"?: string;
|
176
|
+
}
|
177
|
+
interface CpslInfoBox {
|
178
|
+
}
|
179
|
+
interface CpslInput {
|
180
|
+
/**
|
181
|
+
* Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user. Available options: `"off"`, `"none"`, `"on"`, `"sentences"`, `"words"`, `"characters"`.
|
182
|
+
*/
|
183
|
+
"autocapitalize": string;
|
184
|
+
/**
|
185
|
+
* Indicates whether the value of the control can be automatically completed by the browser.
|
186
|
+
*/
|
187
|
+
"autocomplete": AutocompleteTypes;
|
188
|
+
/**
|
189
|
+
* Whether auto correction should be enabled when the user is entering/editing the text value.
|
190
|
+
*/
|
191
|
+
"autocorrect": 'on' | 'off';
|
192
|
+
/**
|
193
|
+
* 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.
|
194
|
+
*/
|
195
|
+
"autofocus": boolean;
|
196
|
+
/**
|
197
|
+
* If `true`, the user cannot interact with the input.
|
198
|
+
*/
|
199
|
+
"disabled": boolean;
|
200
|
+
/**
|
201
|
+
* A hint to the browser for which enter key to display. Possible values: `"enter"`, `"done"`, `"go"`, `"next"`, `"previous"`, `"search"`, and `"send"`.
|
202
|
+
*/
|
203
|
+
"enterkeyhint"?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
204
|
+
/**
|
205
|
+
* Error text to show below the input. If this is provided the input will enter an error state.
|
206
|
+
*/
|
207
|
+
"errorText"?: string;
|
208
|
+
/**
|
209
|
+
* Helper text to show below the input. If `"errorText"` is provided that will take precedence.
|
210
|
+
*/
|
211
|
+
"helperText"?: string;
|
212
|
+
/**
|
213
|
+
* A hint to the browser for which keyboard to display. Possible values: `"none"`, `"text"`, `"tel"`, `"url"`, `"email"`, `"numeric"`, `"decimal"`, and `"search"`.
|
214
|
+
*/
|
215
|
+
"inputmode"?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
|
216
|
+
/**
|
217
|
+
* The label for the input.
|
218
|
+
*/
|
219
|
+
"label"?: string;
|
220
|
+
/**
|
221
|
+
* The maximum value, which must not be less than its minimum (min attribute) value.
|
222
|
+
*/
|
223
|
+
"max"?: string | number;
|
224
|
+
/**
|
225
|
+
* If the value of the type attribute is `text`, `email`, `search`, `password`, `tel`, or `url`, this attribute specifies the maximum number of characters that the user can enter.
|
226
|
+
*/
|
227
|
+
"maxlength"?: number;
|
228
|
+
/**
|
229
|
+
* The minimum value, which must not be greater than its maximum (max attribute) value.
|
230
|
+
*/
|
231
|
+
"min"?: string | number;
|
232
|
+
/**
|
233
|
+
* If the value of the type attribute is `text`, `email`, `search`, `password`, `tel`, or `url`, this attribute specifies the minimum number of characters that the user can enter.
|
234
|
+
*/
|
235
|
+
"minlength"?: number;
|
236
|
+
/**
|
237
|
+
* If `true`, the user can enter more than one value. This attribute applies when the type attribute is set to `"email"`, otherwise it is ignored.
|
238
|
+
*/
|
239
|
+
"multiple"?: boolean;
|
240
|
+
/**
|
241
|
+
* The name of the control, which is submitted with the form data.
|
242
|
+
*/
|
243
|
+
"name": string;
|
244
|
+
/**
|
245
|
+
* Whether to disable auto disabling of the slotted components.
|
246
|
+
*/
|
247
|
+
"noAutoDisable": boolean;
|
248
|
+
/**
|
249
|
+
* A regular expression that the value is checked against. The pattern must match the entire value, not just some subset. Use the title attribute to describe the pattern to help the user. This attribute applies when the value of the type attribute is `"text"`, `"search"`, `"tel"`, `"url"`, `"email"`, `"date"`, or `"password"`, otherwise it is ignored. When the type attribute is `"date"`, `pattern` will only be used in browsers that do not support the `"date"` input type natively. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date for more information.
|
250
|
+
*/
|
251
|
+
"pattern"?: string;
|
252
|
+
/**
|
253
|
+
* Instructional text that shows before the input has a value. This property applies only when the `type` property is set to `"email"`, `"number"`, `"password"`, `"search"`, `"tel"`, `"text"`, or `"url"`, otherwise it is ignored.
|
254
|
+
*/
|
255
|
+
"placeholder"?: string;
|
256
|
+
/**
|
257
|
+
* If `true`, the user cannot modify the value.
|
258
|
+
*/
|
259
|
+
"readonly": boolean;
|
260
|
+
/**
|
261
|
+
* If `true`, the user must fill in a value before submitting a form.
|
262
|
+
*/
|
263
|
+
"required": boolean;
|
264
|
+
/**
|
265
|
+
* If `true`, the element will have its spelling and grammar checked.
|
266
|
+
*/
|
267
|
+
"spellcheck": boolean;
|
268
|
+
/**
|
269
|
+
* The name of the icon at the start of the input. If both `startIcon` and `startIconSrc` are provided, `startIcon` will be used.
|
270
|
+
*/
|
271
|
+
"startIcon"?: IconType;
|
272
|
+
/**
|
273
|
+
* The external source of the icon at the start of the input. If both `startIcon` and `startIconSrc` are provided, `startIcon` will be used.
|
274
|
+
*/
|
275
|
+
"startIconSrc"?: string;
|
276
|
+
/**
|
277
|
+
* Works with the min and max attributes to limit the increments at which a value can be set. Possible values are: `"any"` or a positive floating point number.
|
278
|
+
*/
|
279
|
+
"step"?: string;
|
280
|
+
/**
|
281
|
+
* The type of control to display. The default type is `text`.
|
282
|
+
*/
|
283
|
+
"type": TextFieldTypes;
|
284
|
+
/**
|
285
|
+
* The value of the controlled input.
|
286
|
+
*/
|
287
|
+
"value"?: string;
|
288
|
+
}
|
289
|
+
interface CpslModal {
|
290
|
+
/**
|
291
|
+
* Whether or not to show `footerExpandedFooter` and `footerExpandedHeader` slots.
|
292
|
+
*/
|
293
|
+
"footerExpanded": boolean;
|
294
|
+
/**
|
295
|
+
* Duration in seconds of the footer expansion animation. Default is .5.
|
296
|
+
*/
|
297
|
+
"transitionDuration": number;
|
298
|
+
}
|
299
|
+
interface CpslOverlay {
|
300
|
+
/**
|
301
|
+
* Whether or not to show the overlay.
|
302
|
+
*/
|
303
|
+
"open": boolean;
|
304
|
+
/**
|
305
|
+
* Duration in seconds of the fade in/out animation. Default is .5.
|
306
|
+
*/
|
307
|
+
"transitionDuration": number;
|
308
|
+
}
|
309
|
+
interface CpslPill {
|
310
|
+
/**
|
311
|
+
* Text of the pill.
|
312
|
+
*/
|
313
|
+
"text": string;
|
314
|
+
}
|
315
|
+
interface CpslProgressIndicator {
|
316
|
+
/**
|
317
|
+
* Current zero based step.
|
318
|
+
*/
|
319
|
+
"step": number;
|
320
|
+
/**
|
321
|
+
* Total number of steps.
|
322
|
+
*/
|
323
|
+
"totalSteps": number;
|
324
|
+
}
|
325
|
+
interface CpslQrCode {
|
326
|
+
/**
|
327
|
+
* Source for the center image of the QR code.
|
328
|
+
*/
|
329
|
+
"imageSrc"?: string;
|
330
|
+
/**
|
331
|
+
* Size of the QR code in pixels. Default is 250.
|
332
|
+
*/
|
333
|
+
"size"?: number;
|
334
|
+
/**
|
335
|
+
* URL for the QR code to link to.
|
336
|
+
*/
|
337
|
+
"url": string;
|
338
|
+
}
|
339
|
+
interface CpslRow {
|
340
|
+
}
|
341
|
+
interface CpslSlideButton {
|
342
|
+
/**
|
343
|
+
* The name of the ending icon to show.
|
344
|
+
*/
|
345
|
+
"endIcon": IconType;
|
346
|
+
/**
|
347
|
+
* The ending text.
|
348
|
+
*/
|
349
|
+
"endText": string;
|
350
|
+
/**
|
351
|
+
* The name of the starting icon to show.
|
352
|
+
*/
|
353
|
+
"startIcon": IconType;
|
354
|
+
/**
|
355
|
+
* The starting text.
|
356
|
+
*/
|
357
|
+
"startText": string;
|
358
|
+
}
|
359
|
+
interface CpslSpinner {
|
360
|
+
/**
|
361
|
+
* Size of the spinner in pixels. Default is 50.
|
362
|
+
*/
|
363
|
+
"size"?: number;
|
364
|
+
/**
|
365
|
+
* Rotation speed of the spinner in seconds. Default is 1.
|
366
|
+
*/
|
367
|
+
"speed"?: number;
|
368
|
+
}
|
369
|
+
interface CpslTab {
|
370
|
+
/**
|
371
|
+
* The selected tab component
|
372
|
+
*/
|
373
|
+
"selected": boolean;
|
374
|
+
/**
|
375
|
+
* A tab id must be provided for each `cpsl-tab`. It's used internally to reference the selected tab or by the router to switch between them.
|
376
|
+
*/
|
377
|
+
"tab": string;
|
378
|
+
}
|
379
|
+
interface CpslTabs {
|
380
|
+
/**
|
381
|
+
* Whether or not the tabs take the full width of their container.
|
382
|
+
*/
|
383
|
+
"fullWidth"?: boolean;
|
384
|
+
/**
|
385
|
+
* The selected tab component
|
386
|
+
*/
|
387
|
+
"selectedTab"?: string;
|
388
|
+
}
|
389
|
+
interface CpslText {
|
390
|
+
}
|
391
|
+
interface CpslTileButton {
|
392
|
+
/**
|
393
|
+
* The name of the icon. If both `icon` and `src` are provided, `icon` will be used.
|
394
|
+
*/
|
395
|
+
"icon"?: IconType;
|
396
|
+
/**
|
397
|
+
* The external source of the icon. If both `icon` and `src` are provided, `icon` will be used.
|
398
|
+
*/
|
399
|
+
"src"?: string;
|
400
|
+
}
|
401
|
+
}
|
402
|
+
export interface CpslCodeInputCustomEvent<T> extends CustomEvent<T> {
|
403
|
+
detail: T;
|
404
|
+
target: HTMLCpslCodeInputElement;
|
405
|
+
}
|
406
|
+
export interface CpslInputCustomEvent<T> extends CustomEvent<T> {
|
407
|
+
detail: T;
|
408
|
+
target: HTMLCpslInputElement;
|
409
|
+
}
|
410
|
+
export interface CpslSlideButtonCustomEvent<T> extends CustomEvent<T> {
|
411
|
+
detail: T;
|
412
|
+
target: HTMLCpslSlideButtonElement;
|
413
|
+
}
|
414
|
+
export interface CpslTabCustomEvent<T> extends CustomEvent<T> {
|
415
|
+
detail: T;
|
416
|
+
target: HTMLCpslTabElement;
|
417
|
+
}
|
418
|
+
export interface CpslTabsCustomEvent<T> extends CustomEvent<T> {
|
419
|
+
detail: T;
|
420
|
+
target: HTMLCpslTabsElement;
|
421
|
+
}
|
422
|
+
declare global {
|
423
|
+
interface HTMLCpslAlertElement extends Components.CpslAlert, HTMLStencilElement {
|
424
|
+
}
|
425
|
+
var HTMLCpslAlertElement: {
|
426
|
+
prototype: HTMLCpslAlertElement;
|
427
|
+
new (): HTMLCpslAlertElement;
|
428
|
+
};
|
429
|
+
interface HTMLCpslButtonElement extends Components.CpslButton, HTMLStencilElement {
|
430
|
+
}
|
431
|
+
var HTMLCpslButtonElement: {
|
432
|
+
prototype: HTMLCpslButtonElement;
|
433
|
+
new (): HTMLCpslButtonElement;
|
434
|
+
};
|
435
|
+
interface HTMLCpslCodeInputElementEventMap {
|
436
|
+
"cpslInput": CodeChangeEventDetail;
|
437
|
+
}
|
438
|
+
interface HTMLCpslCodeInputElement extends Components.CpslCodeInput, HTMLStencilElement {
|
439
|
+
addEventListener<K extends keyof HTMLCpslCodeInputElementEventMap>(type: K, listener: (this: HTMLCpslCodeInputElement, ev: CpslCodeInputCustomEvent<HTMLCpslCodeInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
440
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
441
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
442
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
443
|
+
removeEventListener<K extends keyof HTMLCpslCodeInputElementEventMap>(type: K, listener: (this: HTMLCpslCodeInputElement, ev: CpslCodeInputCustomEvent<HTMLCpslCodeInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
444
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
445
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
446
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
447
|
+
}
|
448
|
+
var HTMLCpslCodeInputElement: {
|
449
|
+
prototype: HTMLCpslCodeInputElement;
|
450
|
+
new (): HTMLCpslCodeInputElement;
|
451
|
+
};
|
452
|
+
interface HTMLCpslColElement extends Components.CpslCol, HTMLStencilElement {
|
453
|
+
}
|
454
|
+
var HTMLCpslColElement: {
|
455
|
+
prototype: HTMLCpslColElement;
|
456
|
+
new (): HTMLCpslColElement;
|
457
|
+
};
|
458
|
+
interface HTMLCpslDividerElement extends Components.CpslDivider, HTMLStencilElement {
|
459
|
+
}
|
460
|
+
var HTMLCpslDividerElement: {
|
461
|
+
prototype: HTMLCpslDividerElement;
|
462
|
+
new (): HTMLCpslDividerElement;
|
463
|
+
};
|
464
|
+
interface HTMLCpslGridElement extends Components.CpslGrid, HTMLStencilElement {
|
465
|
+
}
|
466
|
+
var HTMLCpslGridElement: {
|
467
|
+
prototype: HTMLCpslGridElement;
|
468
|
+
new (): HTMLCpslGridElement;
|
469
|
+
};
|
470
|
+
interface HTMLCpslIconElement extends Components.CpslIcon, HTMLStencilElement {
|
471
|
+
}
|
472
|
+
var HTMLCpslIconElement: {
|
473
|
+
prototype: HTMLCpslIconElement;
|
474
|
+
new (): HTMLCpslIconElement;
|
475
|
+
};
|
476
|
+
interface HTMLCpslInfoBoxElement extends Components.CpslInfoBox, HTMLStencilElement {
|
477
|
+
}
|
478
|
+
var HTMLCpslInfoBoxElement: {
|
479
|
+
prototype: HTMLCpslInfoBoxElement;
|
480
|
+
new (): HTMLCpslInfoBoxElement;
|
481
|
+
};
|
482
|
+
interface HTMLCpslInputElementEventMap {
|
483
|
+
"cpslInput": InputInputEventDetail;
|
484
|
+
"cpslChange": InputChangeEventDetail;
|
485
|
+
"cpslBlur": FocusEvent;
|
486
|
+
"cpslFocus": FocusEvent;
|
487
|
+
}
|
488
|
+
interface HTMLCpslInputElement extends Components.CpslInput, HTMLStencilElement {
|
489
|
+
addEventListener<K extends keyof HTMLCpslInputElementEventMap>(type: K, listener: (this: HTMLCpslInputElement, ev: CpslInputCustomEvent<HTMLCpslInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
490
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
491
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
492
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
493
|
+
removeEventListener<K extends keyof HTMLCpslInputElementEventMap>(type: K, listener: (this: HTMLCpslInputElement, ev: CpslInputCustomEvent<HTMLCpslInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
494
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
495
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
496
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
497
|
+
}
|
498
|
+
var HTMLCpslInputElement: {
|
499
|
+
prototype: HTMLCpslInputElement;
|
500
|
+
new (): HTMLCpslInputElement;
|
501
|
+
};
|
502
|
+
interface HTMLCpslModalElement extends Components.CpslModal, HTMLStencilElement {
|
503
|
+
}
|
504
|
+
var HTMLCpslModalElement: {
|
505
|
+
prototype: HTMLCpslModalElement;
|
506
|
+
new (): HTMLCpslModalElement;
|
507
|
+
};
|
508
|
+
interface HTMLCpslOverlayElement extends Components.CpslOverlay, HTMLStencilElement {
|
509
|
+
}
|
510
|
+
var HTMLCpslOverlayElement: {
|
511
|
+
prototype: HTMLCpslOverlayElement;
|
512
|
+
new (): HTMLCpslOverlayElement;
|
513
|
+
};
|
514
|
+
interface HTMLCpslPillElement extends Components.CpslPill, HTMLStencilElement {
|
515
|
+
}
|
516
|
+
var HTMLCpslPillElement: {
|
517
|
+
prototype: HTMLCpslPillElement;
|
518
|
+
new (): HTMLCpslPillElement;
|
519
|
+
};
|
520
|
+
interface HTMLCpslProgressIndicatorElement extends Components.CpslProgressIndicator, HTMLStencilElement {
|
521
|
+
}
|
522
|
+
var HTMLCpslProgressIndicatorElement: {
|
523
|
+
prototype: HTMLCpslProgressIndicatorElement;
|
524
|
+
new (): HTMLCpslProgressIndicatorElement;
|
525
|
+
};
|
526
|
+
interface HTMLCpslQrCodeElement extends Components.CpslQrCode, HTMLStencilElement {
|
527
|
+
}
|
528
|
+
var HTMLCpslQrCodeElement: {
|
529
|
+
prototype: HTMLCpslQrCodeElement;
|
530
|
+
new (): HTMLCpslQrCodeElement;
|
531
|
+
};
|
532
|
+
interface HTMLCpslRowElement extends Components.CpslRow, HTMLStencilElement {
|
533
|
+
}
|
534
|
+
var HTMLCpslRowElement: {
|
535
|
+
prototype: HTMLCpslRowElement;
|
536
|
+
new (): HTMLCpslRowElement;
|
537
|
+
};
|
538
|
+
interface HTMLCpslSlideButtonElementEventMap {
|
539
|
+
"cpslComplete": boolean;
|
540
|
+
}
|
541
|
+
interface HTMLCpslSlideButtonElement extends Components.CpslSlideButton, HTMLStencilElement {
|
542
|
+
addEventListener<K extends keyof HTMLCpslSlideButtonElementEventMap>(type: K, listener: (this: HTMLCpslSlideButtonElement, ev: CpslSlideButtonCustomEvent<HTMLCpslSlideButtonElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
543
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
544
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
545
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
546
|
+
removeEventListener<K extends keyof HTMLCpslSlideButtonElementEventMap>(type: K, listener: (this: HTMLCpslSlideButtonElement, ev: CpslSlideButtonCustomEvent<HTMLCpslSlideButtonElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
547
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
548
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
549
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
550
|
+
}
|
551
|
+
var HTMLCpslSlideButtonElement: {
|
552
|
+
prototype: HTMLCpslSlideButtonElement;
|
553
|
+
new (): HTMLCpslSlideButtonElement;
|
554
|
+
};
|
555
|
+
interface HTMLCpslSpinnerElement extends Components.CpslSpinner, HTMLStencilElement {
|
556
|
+
}
|
557
|
+
var HTMLCpslSpinnerElement: {
|
558
|
+
prototype: HTMLCpslSpinnerElement;
|
559
|
+
new (): HTMLCpslSpinnerElement;
|
560
|
+
};
|
561
|
+
interface HTMLCpslTabElementEventMap {
|
562
|
+
"cpslTabButtonClick": TabClickEventDetail;
|
563
|
+
}
|
564
|
+
interface HTMLCpslTabElement extends Components.CpslTab, HTMLStencilElement {
|
565
|
+
addEventListener<K extends keyof HTMLCpslTabElementEventMap>(type: K, listener: (this: HTMLCpslTabElement, ev: CpslTabCustomEvent<HTMLCpslTabElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
566
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
567
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
568
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
569
|
+
removeEventListener<K extends keyof HTMLCpslTabElementEventMap>(type: K, listener: (this: HTMLCpslTabElement, ev: CpslTabCustomEvent<HTMLCpslTabElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
570
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
571
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
572
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
573
|
+
}
|
574
|
+
var HTMLCpslTabElement: {
|
575
|
+
prototype: HTMLCpslTabElement;
|
576
|
+
new (): HTMLCpslTabElement;
|
577
|
+
};
|
578
|
+
interface HTMLCpslTabsElementEventMap {
|
579
|
+
"cpslTabsChanged": TabsChangedEventDetail;
|
580
|
+
"cpslTabsInit": TabsChangedEventDetail;
|
581
|
+
}
|
582
|
+
interface HTMLCpslTabsElement extends Components.CpslTabs, HTMLStencilElement {
|
583
|
+
addEventListener<K extends keyof HTMLCpslTabsElementEventMap>(type: K, listener: (this: HTMLCpslTabsElement, ev: CpslTabsCustomEvent<HTMLCpslTabsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
584
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
585
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
586
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
587
|
+
removeEventListener<K extends keyof HTMLCpslTabsElementEventMap>(type: K, listener: (this: HTMLCpslTabsElement, ev: CpslTabsCustomEvent<HTMLCpslTabsElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
588
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
589
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
590
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
591
|
+
}
|
592
|
+
var HTMLCpslTabsElement: {
|
593
|
+
prototype: HTMLCpslTabsElement;
|
594
|
+
new (): HTMLCpslTabsElement;
|
595
|
+
};
|
596
|
+
interface HTMLCpslTextElement extends Components.CpslText, HTMLStencilElement {
|
597
|
+
}
|
598
|
+
var HTMLCpslTextElement: {
|
599
|
+
prototype: HTMLCpslTextElement;
|
600
|
+
new (): HTMLCpslTextElement;
|
601
|
+
};
|
602
|
+
interface HTMLCpslTileButtonElement extends Components.CpslTileButton, HTMLStencilElement {
|
603
|
+
}
|
604
|
+
var HTMLCpslTileButtonElement: {
|
605
|
+
prototype: HTMLCpslTileButtonElement;
|
606
|
+
new (): HTMLCpslTileButtonElement;
|
607
|
+
};
|
608
|
+
interface HTMLElementTagNameMap {
|
609
|
+
"cpsl-alert": HTMLCpslAlertElement;
|
610
|
+
"cpsl-button": HTMLCpslButtonElement;
|
611
|
+
"cpsl-code-input": HTMLCpslCodeInputElement;
|
612
|
+
"cpsl-col": HTMLCpslColElement;
|
613
|
+
"cpsl-divider": HTMLCpslDividerElement;
|
614
|
+
"cpsl-grid": HTMLCpslGridElement;
|
615
|
+
"cpsl-icon": HTMLCpslIconElement;
|
616
|
+
"cpsl-info-box": HTMLCpslInfoBoxElement;
|
617
|
+
"cpsl-input": HTMLCpslInputElement;
|
618
|
+
"cpsl-modal": HTMLCpslModalElement;
|
619
|
+
"cpsl-overlay": HTMLCpslOverlayElement;
|
620
|
+
"cpsl-pill": HTMLCpslPillElement;
|
621
|
+
"cpsl-progress-indicator": HTMLCpslProgressIndicatorElement;
|
622
|
+
"cpsl-qr-code": HTMLCpslQrCodeElement;
|
623
|
+
"cpsl-row": HTMLCpslRowElement;
|
624
|
+
"cpsl-slide-button": HTMLCpslSlideButtonElement;
|
625
|
+
"cpsl-spinner": HTMLCpslSpinnerElement;
|
626
|
+
"cpsl-tab": HTMLCpslTabElement;
|
627
|
+
"cpsl-tabs": HTMLCpslTabsElement;
|
628
|
+
"cpsl-text": HTMLCpslTextElement;
|
629
|
+
"cpsl-tile-button": HTMLCpslTileButtonElement;
|
630
|
+
}
|
631
|
+
}
|
632
|
+
declare namespace LocalJSX {
|
633
|
+
interface CpslAlert {
|
634
|
+
/**
|
635
|
+
* The name of the icon to show.
|
636
|
+
*/
|
637
|
+
"icon"?: IconType;
|
638
|
+
/**
|
639
|
+
* The type of alert. Options are: `"error"` Default is: `"error"`.
|
640
|
+
*/
|
641
|
+
"type"?: 'error';
|
642
|
+
}
|
643
|
+
interface CpslButton {
|
644
|
+
/**
|
645
|
+
* If the button is disabled. Default is: false.
|
646
|
+
*/
|
647
|
+
"disabled"?: boolean;
|
648
|
+
/**
|
649
|
+
* The variant of button. Options are: `"primary"`, `"secondary", `"icon". Default is: `"primary"`.
|
650
|
+
*/
|
651
|
+
"variant"?: 'primary' | 'secondary' | 'icon';
|
652
|
+
}
|
653
|
+
interface CpslCodeInput {
|
654
|
+
/**
|
655
|
+
* Value of the code.
|
656
|
+
*/
|
657
|
+
"code"?: string;
|
658
|
+
/**
|
659
|
+
* Error text to show below the input. If this is provided the input will enter an error state.
|
660
|
+
*/
|
661
|
+
"errorText"?: string;
|
662
|
+
/**
|
663
|
+
* Helper text to show below the input. If `"errorText"` is provided that will take precedence.
|
664
|
+
*/
|
665
|
+
"helperText"?: string;
|
666
|
+
/**
|
667
|
+
* Length of the code.
|
668
|
+
*/
|
669
|
+
"length"?: number;
|
670
|
+
/**
|
671
|
+
* The `cpslInput` event is fired each time the user modifies the input's value.
|
672
|
+
*/
|
673
|
+
"onCpslInput"?: (event: CpslCodeInputCustomEvent<CodeChangeEventDetail>) => void;
|
674
|
+
/**
|
675
|
+
* Type of characters to accept in the code. Defaults to number.
|
676
|
+
*/
|
677
|
+
"type"?: 'number' | 'string';
|
678
|
+
}
|
679
|
+
interface CpslCol {
|
680
|
+
/**
|
681
|
+
* The amount to offset the column, in terms of how many columns it should shift to the end of the total available.
|
682
|
+
*/
|
683
|
+
"offset"?: string;
|
684
|
+
/**
|
685
|
+
* The amount to offset the column for lg screens, in terms of how many columns it should shift to the end of the total available.
|
686
|
+
*/
|
687
|
+
"offsetLg"?: string;
|
688
|
+
/**
|
689
|
+
* The amount to offset the column for md screens, in terms of how many columns it should shift to the end of the total available.
|
690
|
+
*/
|
691
|
+
"offsetMd"?: string;
|
692
|
+
/**
|
693
|
+
* The amount to offset the column for sm screens, in terms of how many columns it should shift to the end of the total available.
|
694
|
+
*/
|
695
|
+
"offsetSm"?: string;
|
696
|
+
/**
|
697
|
+
* The amount to offset the column for xl screens, in terms of how many columns it should shift to the end of the total available.
|
698
|
+
*/
|
699
|
+
"offsetXl"?: string;
|
700
|
+
/**
|
701
|
+
* The amount to offset the column for xs screens, in terms of how many columns it should shift to the end of the total available.
|
702
|
+
*/
|
703
|
+
"offsetXs"?: string;
|
704
|
+
/**
|
705
|
+
* The amount to pull the column, in terms of how many columns it should shift to the start of the total available.
|
706
|
+
*/
|
707
|
+
"pull"?: string;
|
708
|
+
/**
|
709
|
+
* The amount to pull the column for lg screens, in terms of how many columns it should shift to the start of the total available.
|
710
|
+
*/
|
711
|
+
"pullLg"?: string;
|
712
|
+
/**
|
713
|
+
* The amount to pull the column for md screens, in terms of how many columns it should shift to the start of the total available.
|
714
|
+
*/
|
715
|
+
"pullMd"?: string;
|
716
|
+
/**
|
717
|
+
* The amount to pull the column for sm screens, in terms of how many columns it should shift to the start of the total available.
|
718
|
+
*/
|
719
|
+
"pullSm"?: string;
|
720
|
+
/**
|
721
|
+
* The amount to pull the column for xl screens, in terms of how many columns it should shift to the start of the total available.
|
722
|
+
*/
|
723
|
+
"pullXl"?: string;
|
724
|
+
/**
|
725
|
+
* The amount to pull the column for xs screens, in terms of how many columns it should shift to the start of the total available.
|
726
|
+
*/
|
727
|
+
"pullXs"?: string;
|
728
|
+
/**
|
729
|
+
* The amount to push the column, in terms of how many columns it should shift to the end of the total available.
|
730
|
+
*/
|
731
|
+
"push"?: string;
|
732
|
+
/**
|
733
|
+
* The amount to push the column for lg screens, in terms of how many columns it should shift to the end of the total available.
|
734
|
+
*/
|
735
|
+
"pushLg"?: string;
|
736
|
+
/**
|
737
|
+
* The amount to push the column for md screens, in terms of how many columns it should shift to the end of the total available.
|
738
|
+
*/
|
739
|
+
"pushMd"?: string;
|
740
|
+
/**
|
741
|
+
* The amount to push the column for sm screens, in terms of how many columns it should shift to the end of the total available.
|
742
|
+
*/
|
743
|
+
"pushSm"?: string;
|
744
|
+
/**
|
745
|
+
* The amount to push the column for xl screens, in terms of how many columns it should shift to the end of the total available.
|
746
|
+
*/
|
747
|
+
"pushXl"?: string;
|
748
|
+
/**
|
749
|
+
* The amount to push the column for xs screens, in terms of how many columns it should shift to the end of the total available.
|
750
|
+
*/
|
751
|
+
"pushXs"?: string;
|
752
|
+
/**
|
753
|
+
* The size of the column, in terms of how many columns it should take up out of the total available. If `"auto"` is passed, the column will be the size of its content.
|
754
|
+
*/
|
755
|
+
"size"?: string;
|
756
|
+
/**
|
757
|
+
* The size of the column for lg screens, in terms of how many columns it should take up out of the total available. If `"auto"` is passed, the column will be the size of its content.
|
758
|
+
*/
|
759
|
+
"sizeLg"?: string;
|
760
|
+
/**
|
761
|
+
* The size of the column for md screens, in terms of how many columns it should take up out of the total available. If `"auto"` is passed, the column will be the size of its content.
|
762
|
+
*/
|
763
|
+
"sizeMd"?: string;
|
764
|
+
/**
|
765
|
+
* The size of the column for sm screens, in terms of how many columns it should take up out of the total available. If `"auto"` is passed, the column will be the size of its content.
|
766
|
+
*/
|
767
|
+
"sizeSm"?: string;
|
768
|
+
/**
|
769
|
+
* The size of the column for xl screens, in terms of how many columns it should take up out of the total available. If `"auto"` is passed, the column will be the size of its content.
|
770
|
+
*/
|
771
|
+
"sizeXl"?: string;
|
772
|
+
/**
|
773
|
+
* The size of the column for xs screens, in terms of how many columns it should take up out of the total available. If `"auto"` is passed, the column will be the size of its content.
|
774
|
+
*/
|
775
|
+
"sizeXs"?: string;
|
776
|
+
}
|
777
|
+
interface CpslDivider {
|
778
|
+
}
|
779
|
+
interface CpslGrid {
|
780
|
+
/**
|
781
|
+
* If `true`, the grid will have a fixed width based on the screen size.
|
782
|
+
*/
|
783
|
+
"fixed"?: boolean;
|
784
|
+
}
|
785
|
+
interface CpslIcon {
|
786
|
+
/**
|
787
|
+
* The name of the icon. If both `icon` and `src` are provided, `icon` will be used.
|
788
|
+
*/
|
789
|
+
"icon"?: IconType;
|
790
|
+
/**
|
791
|
+
* The external source of the icon. If both `icon` and `src` are provided, `icon` will be used.
|
792
|
+
*/
|
793
|
+
"src"?: string;
|
794
|
+
}
|
795
|
+
interface CpslInfoBox {
|
796
|
+
}
|
797
|
+
interface CpslInput {
|
798
|
+
/**
|
799
|
+
* Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user. Available options: `"off"`, `"none"`, `"on"`, `"sentences"`, `"words"`, `"characters"`.
|
800
|
+
*/
|
801
|
+
"autocapitalize"?: string;
|
802
|
+
/**
|
803
|
+
* Indicates whether the value of the control can be automatically completed by the browser.
|
804
|
+
*/
|
805
|
+
"autocomplete"?: AutocompleteTypes;
|
806
|
+
/**
|
807
|
+
* Whether auto correction should be enabled when the user is entering/editing the text value.
|
808
|
+
*/
|
809
|
+
"autocorrect"?: 'on' | 'off';
|
810
|
+
/**
|
811
|
+
* 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.
|
812
|
+
*/
|
813
|
+
"autofocus"?: boolean;
|
814
|
+
/**
|
815
|
+
* If `true`, the user cannot interact with the input.
|
816
|
+
*/
|
817
|
+
"disabled"?: boolean;
|
818
|
+
/**
|
819
|
+
* A hint to the browser for which enter key to display. Possible values: `"enter"`, `"done"`, `"go"`, `"next"`, `"previous"`, `"search"`, and `"send"`.
|
820
|
+
*/
|
821
|
+
"enterkeyhint"?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
822
|
+
/**
|
823
|
+
* Error text to show below the input. If this is provided the input will enter an error state.
|
824
|
+
*/
|
825
|
+
"errorText"?: string;
|
826
|
+
/**
|
827
|
+
* Helper text to show below the input. If `"errorText"` is provided that will take precedence.
|
828
|
+
*/
|
829
|
+
"helperText"?: string;
|
830
|
+
/**
|
831
|
+
* A hint to the browser for which keyboard to display. Possible values: `"none"`, `"text"`, `"tel"`, `"url"`, `"email"`, `"numeric"`, `"decimal"`, and `"search"`.
|
832
|
+
*/
|
833
|
+
"inputmode"?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
|
834
|
+
/**
|
835
|
+
* The label for the input.
|
836
|
+
*/
|
837
|
+
"label"?: string;
|
838
|
+
/**
|
839
|
+
* The maximum value, which must not be less than its minimum (min attribute) value.
|
840
|
+
*/
|
841
|
+
"max"?: string | number;
|
842
|
+
/**
|
843
|
+
* If the value of the type attribute is `text`, `email`, `search`, `password`, `tel`, or `url`, this attribute specifies the maximum number of characters that the user can enter.
|
844
|
+
*/
|
845
|
+
"maxlength"?: number;
|
846
|
+
/**
|
847
|
+
* The minimum value, which must not be greater than its maximum (max attribute) value.
|
848
|
+
*/
|
849
|
+
"min"?: string | number;
|
850
|
+
/**
|
851
|
+
* If the value of the type attribute is `text`, `email`, `search`, `password`, `tel`, or `url`, this attribute specifies the minimum number of characters that the user can enter.
|
852
|
+
*/
|
853
|
+
"minlength"?: number;
|
854
|
+
/**
|
855
|
+
* If `true`, the user can enter more than one value. This attribute applies when the type attribute is set to `"email"`, otherwise it is ignored.
|
856
|
+
*/
|
857
|
+
"multiple"?: boolean;
|
858
|
+
/**
|
859
|
+
* The name of the control, which is submitted with the form data.
|
860
|
+
*/
|
861
|
+
"name"?: string;
|
862
|
+
/**
|
863
|
+
* Whether to disable auto disabling of the slotted components.
|
864
|
+
*/
|
865
|
+
"noAutoDisable"?: boolean;
|
866
|
+
/**
|
867
|
+
* Emitted when the input loses focus.
|
868
|
+
*/
|
869
|
+
"onCpslBlur"?: (event: CpslInputCustomEvent<FocusEvent>) => void;
|
870
|
+
/**
|
871
|
+
* The `cpslChange` event is fired when the user modifies the input's value. Unlike the `cpslInput` event, the `cpslChange` event is only fired when changes are committed, not as the user types. Depending on the way the users interacts with the element, the `cpslChange` event fires at a different moment: - When the element loses focus after its value has changed: for elements where the user's interaction is typing.
|
872
|
+
*/
|
873
|
+
"onCpslChange"?: (event: CpslInputCustomEvent<InputChangeEventDetail>) => void;
|
874
|
+
/**
|
875
|
+
* Emitted when the input has focus.
|
876
|
+
*/
|
877
|
+
"onCpslFocus"?: (event: CpslInputCustomEvent<FocusEvent>) => void;
|
878
|
+
/**
|
879
|
+
* The `cpslInput` event is fired each time the user modifies the input's value. Unlike the `cpslChange` event, the `cpslInput` event is fired for each alteration to the input's value. This typically happens for each keystroke as the user types. For elements that accept text input (`type=text`, `type=tel`, etc.), the interface is [`InputEvent`](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent); for others, the interface is [`Event`](https://developer.mozilla.org/en-US/docs/Web/API/Event). If the input is cleared on edit, the type is `null`.
|
880
|
+
*/
|
881
|
+
"onCpslInput"?: (event: CpslInputCustomEvent<InputInputEventDetail>) => void;
|
882
|
+
/**
|
883
|
+
* A regular expression that the value is checked against. The pattern must match the entire value, not just some subset. Use the title attribute to describe the pattern to help the user. This attribute applies when the value of the type attribute is `"text"`, `"search"`, `"tel"`, `"url"`, `"email"`, `"date"`, or `"password"`, otherwise it is ignored. When the type attribute is `"date"`, `pattern` will only be used in browsers that do not support the `"date"` input type natively. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date for more information.
|
884
|
+
*/
|
885
|
+
"pattern"?: string;
|
886
|
+
/**
|
887
|
+
* Instructional text that shows before the input has a value. This property applies only when the `type` property is set to `"email"`, `"number"`, `"password"`, `"search"`, `"tel"`, `"text"`, or `"url"`, otherwise it is ignored.
|
888
|
+
*/
|
889
|
+
"placeholder"?: string;
|
890
|
+
/**
|
891
|
+
* If `true`, the user cannot modify the value.
|
892
|
+
*/
|
893
|
+
"readonly"?: boolean;
|
894
|
+
/**
|
895
|
+
* If `true`, the user must fill in a value before submitting a form.
|
896
|
+
*/
|
897
|
+
"required"?: boolean;
|
898
|
+
/**
|
899
|
+
* If `true`, the element will have its spelling and grammar checked.
|
900
|
+
*/
|
901
|
+
"spellcheck"?: boolean;
|
902
|
+
/**
|
903
|
+
* The name of the icon at the start of the input. If both `startIcon` and `startIconSrc` are provided, `startIcon` will be used.
|
904
|
+
*/
|
905
|
+
"startIcon"?: IconType;
|
906
|
+
/**
|
907
|
+
* The external source of the icon at the start of the input. If both `startIcon` and `startIconSrc` are provided, `startIcon` will be used.
|
908
|
+
*/
|
909
|
+
"startIconSrc"?: string;
|
910
|
+
/**
|
911
|
+
* Works with the min and max attributes to limit the increments at which a value can be set. Possible values are: `"any"` or a positive floating point number.
|
912
|
+
*/
|
913
|
+
"step"?: string;
|
914
|
+
/**
|
915
|
+
* The type of control to display. The default type is `text`.
|
916
|
+
*/
|
917
|
+
"type"?: TextFieldTypes;
|
918
|
+
/**
|
919
|
+
* The value of the controlled input.
|
920
|
+
*/
|
921
|
+
"value"?: string;
|
922
|
+
}
|
923
|
+
interface CpslModal {
|
924
|
+
/**
|
925
|
+
* Whether or not to show `footerExpandedFooter` and `footerExpandedHeader` slots.
|
926
|
+
*/
|
927
|
+
"footerExpanded"?: boolean;
|
928
|
+
/**
|
929
|
+
* Duration in seconds of the footer expansion animation. Default is .5.
|
930
|
+
*/
|
931
|
+
"transitionDuration"?: number;
|
932
|
+
}
|
933
|
+
interface CpslOverlay {
|
934
|
+
/**
|
935
|
+
* Whether or not to show the overlay.
|
936
|
+
*/
|
937
|
+
"open"?: boolean;
|
938
|
+
/**
|
939
|
+
* Duration in seconds of the fade in/out animation. Default is .5.
|
940
|
+
*/
|
941
|
+
"transitionDuration"?: number;
|
942
|
+
}
|
943
|
+
interface CpslPill {
|
944
|
+
/**
|
945
|
+
* Text of the pill.
|
946
|
+
*/
|
947
|
+
"text"?: string;
|
948
|
+
}
|
949
|
+
interface CpslProgressIndicator {
|
950
|
+
/**
|
951
|
+
* Current zero based step.
|
952
|
+
*/
|
953
|
+
"step"?: number;
|
954
|
+
/**
|
955
|
+
* Total number of steps.
|
956
|
+
*/
|
957
|
+
"totalSteps"?: number;
|
958
|
+
}
|
959
|
+
interface CpslQrCode {
|
960
|
+
/**
|
961
|
+
* Source for the center image of the QR code.
|
962
|
+
*/
|
963
|
+
"imageSrc"?: string;
|
964
|
+
/**
|
965
|
+
* Size of the QR code in pixels. Default is 250.
|
966
|
+
*/
|
967
|
+
"size"?: number;
|
968
|
+
/**
|
969
|
+
* URL for the QR code to link to.
|
970
|
+
*/
|
971
|
+
"url"?: string;
|
972
|
+
}
|
973
|
+
interface CpslRow {
|
974
|
+
}
|
975
|
+
interface CpslSlideButton {
|
976
|
+
/**
|
977
|
+
* The name of the ending icon to show.
|
978
|
+
*/
|
979
|
+
"endIcon"?: IconType;
|
980
|
+
/**
|
981
|
+
* The ending text.
|
982
|
+
*/
|
983
|
+
"endText"?: string;
|
984
|
+
/**
|
985
|
+
* The `cpslComplete` event is fired when the slider is at the end.
|
986
|
+
*/
|
987
|
+
"onCpslComplete"?: (event: CpslSlideButtonCustomEvent<boolean>) => void;
|
988
|
+
/**
|
989
|
+
* The name of the starting icon to show.
|
990
|
+
*/
|
991
|
+
"startIcon"?: IconType;
|
992
|
+
/**
|
993
|
+
* The starting text.
|
994
|
+
*/
|
995
|
+
"startText"?: string;
|
996
|
+
}
|
997
|
+
interface CpslSpinner {
|
998
|
+
/**
|
999
|
+
* Size of the spinner in pixels. Default is 50.
|
1000
|
+
*/
|
1001
|
+
"size"?: number;
|
1002
|
+
/**
|
1003
|
+
* Rotation speed of the spinner in seconds. Default is 1.
|
1004
|
+
*/
|
1005
|
+
"speed"?: number;
|
1006
|
+
}
|
1007
|
+
interface CpslTab {
|
1008
|
+
/**
|
1009
|
+
* The selected tab component
|
1010
|
+
*/
|
1011
|
+
"selected"?: boolean;
|
1012
|
+
/**
|
1013
|
+
* A tab id must be provided for each `cpsl-tab`. It's used internally to reference the selected tab or by the router to switch between them.
|
1014
|
+
*/
|
1015
|
+
"tab"?: string;
|
1016
|
+
}
|
1017
|
+
interface CpslTabs {
|
1018
|
+
/**
|
1019
|
+
* Whether or not the tabs take the full width of their container.
|
1020
|
+
*/
|
1021
|
+
"fullWidth"?: boolean;
|
1022
|
+
/**
|
1023
|
+
* Emitted when a tab is changed
|
1024
|
+
*/
|
1025
|
+
"onCpslTabsChanged"?: (event: CpslTabsCustomEvent<TabsChangedEventDetail>) => void;
|
1026
|
+
/**
|
1027
|
+
* The selected tab component
|
1028
|
+
*/
|
1029
|
+
"selectedTab"?: string;
|
1030
|
+
}
|
1031
|
+
interface CpslText {
|
1032
|
+
}
|
1033
|
+
interface CpslTileButton {
|
1034
|
+
/**
|
1035
|
+
* The name of the icon. If both `icon` and `src` are provided, `icon` will be used.
|
1036
|
+
*/
|
1037
|
+
"icon"?: IconType;
|
1038
|
+
/**
|
1039
|
+
* The external source of the icon. If both `icon` and `src` are provided, `icon` will be used.
|
1040
|
+
*/
|
1041
|
+
"src"?: string;
|
1042
|
+
}
|
1043
|
+
interface IntrinsicElements {
|
1044
|
+
"cpsl-alert": CpslAlert;
|
1045
|
+
"cpsl-button": CpslButton;
|
1046
|
+
"cpsl-code-input": CpslCodeInput;
|
1047
|
+
"cpsl-col": CpslCol;
|
1048
|
+
"cpsl-divider": CpslDivider;
|
1049
|
+
"cpsl-grid": CpslGrid;
|
1050
|
+
"cpsl-icon": CpslIcon;
|
1051
|
+
"cpsl-info-box": CpslInfoBox;
|
1052
|
+
"cpsl-input": CpslInput;
|
1053
|
+
"cpsl-modal": CpslModal;
|
1054
|
+
"cpsl-overlay": CpslOverlay;
|
1055
|
+
"cpsl-pill": CpslPill;
|
1056
|
+
"cpsl-progress-indicator": CpslProgressIndicator;
|
1057
|
+
"cpsl-qr-code": CpslQrCode;
|
1058
|
+
"cpsl-row": CpslRow;
|
1059
|
+
"cpsl-slide-button": CpslSlideButton;
|
1060
|
+
"cpsl-spinner": CpslSpinner;
|
1061
|
+
"cpsl-tab": CpslTab;
|
1062
|
+
"cpsl-tabs": CpslTabs;
|
1063
|
+
"cpsl-text": CpslText;
|
1064
|
+
"cpsl-tile-button": CpslTileButton;
|
1065
|
+
}
|
1066
|
+
}
|
1067
|
+
export { LocalJSX as JSX };
|
1068
|
+
declare module "@stencil/core" {
|
1069
|
+
export namespace JSX {
|
1070
|
+
interface IntrinsicElements {
|
1071
|
+
"cpsl-alert": LocalJSX.CpslAlert & JSXBase.HTMLAttributes<HTMLCpslAlertElement>;
|
1072
|
+
"cpsl-button": LocalJSX.CpslButton & JSXBase.HTMLAttributes<HTMLCpslButtonElement>;
|
1073
|
+
"cpsl-code-input": LocalJSX.CpslCodeInput & JSXBase.HTMLAttributes<HTMLCpslCodeInputElement>;
|
1074
|
+
"cpsl-col": LocalJSX.CpslCol & JSXBase.HTMLAttributes<HTMLCpslColElement>;
|
1075
|
+
"cpsl-divider": LocalJSX.CpslDivider & JSXBase.HTMLAttributes<HTMLCpslDividerElement>;
|
1076
|
+
"cpsl-grid": LocalJSX.CpslGrid & JSXBase.HTMLAttributes<HTMLCpslGridElement>;
|
1077
|
+
"cpsl-icon": LocalJSX.CpslIcon & JSXBase.HTMLAttributes<HTMLCpslIconElement>;
|
1078
|
+
"cpsl-info-box": LocalJSX.CpslInfoBox & JSXBase.HTMLAttributes<HTMLCpslInfoBoxElement>;
|
1079
|
+
"cpsl-input": LocalJSX.CpslInput & JSXBase.HTMLAttributes<HTMLCpslInputElement>;
|
1080
|
+
"cpsl-modal": LocalJSX.CpslModal & JSXBase.HTMLAttributes<HTMLCpslModalElement>;
|
1081
|
+
"cpsl-overlay": LocalJSX.CpslOverlay & JSXBase.HTMLAttributes<HTMLCpslOverlayElement>;
|
1082
|
+
"cpsl-pill": LocalJSX.CpslPill & JSXBase.HTMLAttributes<HTMLCpslPillElement>;
|
1083
|
+
"cpsl-progress-indicator": LocalJSX.CpslProgressIndicator & JSXBase.HTMLAttributes<HTMLCpslProgressIndicatorElement>;
|
1084
|
+
"cpsl-qr-code": LocalJSX.CpslQrCode & JSXBase.HTMLAttributes<HTMLCpslQrCodeElement>;
|
1085
|
+
"cpsl-row": LocalJSX.CpslRow & JSXBase.HTMLAttributes<HTMLCpslRowElement>;
|
1086
|
+
"cpsl-slide-button": LocalJSX.CpslSlideButton & JSXBase.HTMLAttributes<HTMLCpslSlideButtonElement>;
|
1087
|
+
"cpsl-spinner": LocalJSX.CpslSpinner & JSXBase.HTMLAttributes<HTMLCpslSpinnerElement>;
|
1088
|
+
"cpsl-tab": LocalJSX.CpslTab & JSXBase.HTMLAttributes<HTMLCpslTabElement>;
|
1089
|
+
"cpsl-tabs": LocalJSX.CpslTabs & JSXBase.HTMLAttributes<HTMLCpslTabsElement>;
|
1090
|
+
"cpsl-text": LocalJSX.CpslText & JSXBase.HTMLAttributes<HTMLCpslTextElement>;
|
1091
|
+
"cpsl-tile-button": LocalJSX.CpslTileButton & JSXBase.HTMLAttributes<HTMLCpslTileButtonElement>;
|
1092
|
+
}
|
1093
|
+
}
|
1094
|
+
}
|