@usecapsule/core-components 2.0.0 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/capsule/_commonjsHelpers-bc8ff177.js +36 -0
- package/dist/capsule/_commonjsHelpers-bc8ff177.js.map +1 -0
- package/dist/capsule/capsule.esm.js +52 -1
- package/dist/capsule/capsule.esm.js.map +1 -1
- package/dist/capsule/cpsl-alert.entry.js +31 -0
- package/dist/capsule/cpsl-alert.entry.js.map +1 -0
- package/dist/{esm → capsule}/cpsl-animation.entry.js +114 -20
- package/dist/capsule/cpsl-animation.entry.js.map +1 -0
- package/dist/capsule/cpsl-button.entry.js +24 -0
- package/dist/capsule/cpsl-button.entry.js.map +1 -0
- package/dist/capsule/cpsl-code-input.entry.js +106 -0
- package/dist/capsule/cpsl-code-input.entry.js.map +1 -0
- package/dist/{esm → capsule}/cpsl-col.entry.js +3 -4
- package/dist/capsule/cpsl-col.entry.js.map +1 -0
- package/dist/capsule/cpsl-divider.entry.js +17 -0
- package/dist/capsule/cpsl-divider.entry.js.map +1 -0
- package/dist/{esm → capsule}/cpsl-grid.entry.js +4 -5
- package/dist/capsule/cpsl-grid.entry.js.map +1 -0
- package/dist/capsule/cpsl-icon.entry.js +20 -0
- package/dist/capsule/cpsl-icon.entry.js.map +1 -0
- package/dist/{esm → capsule}/cpsl-info-box.entry.js +3 -4
- package/dist/capsule/cpsl-info-box.entry.js.map +1 -0
- package/dist/capsule/cpsl-input.entry.js +124 -0
- package/dist/capsule/cpsl-input.entry.js.map +1 -0
- package/dist/capsule/cpsl-modal.entry.js +3338 -0
- package/dist/capsule/cpsl-modal.entry.js.map +1 -0
- package/dist/capsule/cpsl-overlay.entry.js +44 -0
- package/dist/capsule/cpsl-overlay.entry.js.map +1 -0
- package/dist/capsule/cpsl-pill.entry.js +18 -0
- package/dist/capsule/cpsl-pill.entry.js.map +1 -0
- package/dist/capsule/cpsl-progress-indicator.entry.js +29 -0
- package/dist/capsule/cpsl-progress-indicator.entry.js.map +1 -0
- package/dist/capsule/cpsl-qr-code.entry.js +56 -0
- package/dist/capsule/cpsl-qr-code.entry.js.map +1 -0
- package/dist/capsule/cpsl-row.entry.js +17 -0
- package/dist/capsule/cpsl-row.entry.js.map +1 -0
- package/dist/capsule/cpsl-slide-button.entry.js +130 -0
- package/dist/capsule/cpsl-slide-button.entry.js.map +1 -0
- package/dist/capsule/cpsl-spinner.entry.js +25 -0
- package/dist/capsule/cpsl-spinner.entry.js.map +1 -0
- package/dist/capsule/cpsl-tab.entry.js +37 -0
- package/dist/capsule/cpsl-tab.entry.js.map +1 -0
- package/dist/capsule/cpsl-tabs.entry.js +71 -0
- package/dist/capsule/cpsl-tabs.entry.js.map +1 -0
- package/dist/capsule/cpsl-text.entry.js +66 -0
- package/dist/capsule/cpsl-text.entry.js.map +1 -0
- package/dist/capsule/cpsl-tile-button.entry.js +19 -0
- package/dist/capsule/cpsl-tile-button.entry.js.map +1 -0
- package/dist/capsule/index-3ac1b9e9.js +617 -0
- package/dist/capsule/index-3ac1b9e9.js.map +1 -0
- package/dist/capsule/index-3ad00c7e.js +6064 -0
- package/dist/capsule/index-3ad00c7e.js.map +1 -0
- package/dist/capsule/index-f19e63df.js +4148 -0
- package/dist/capsule/index-f19e63df.js.map +1 -0
- package/dist/capsule/index.esm.js +572 -1
- package/dist/capsule/index.esm.js.map +1 -1
- package/dist/capsule/shadow-css-bc9e2af8.js +478 -0
- package/dist/capsule/shadow-css-bc9e2af8.js.map +1 -0
- package/dist/types/components/cpsl-modal/cpsl-modal.d.ts +2 -0
- package/dist/types/components/cpsl-text/cpsl-text.d.ts +4 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/interface.d.ts +15 -0
- package/dist/types/utils/theme/generateFont.d.ts +1 -1
- package/dist/types/utils/theme/generateTheme.d.ts +1 -2
- package/package.json +2 -2
- package/dist/capsule/p-0462f723.js +0 -2
- package/dist/capsule/p-0462f723.js.map +0 -1
- package/dist/capsule/p-202a85c9.entry.js +0 -29
- package/dist/capsule/p-202a85c9.entry.js.map +0 -1
- package/dist/capsule/p-68c73705.entry.js +0 -2
- package/dist/capsule/p-68c73705.entry.js.map +0 -1
- package/dist/capsule/p-6fb7c4d1.js +0 -3
- package/dist/capsule/p-6fb7c4d1.js.map +0 -1
- package/dist/capsule/p-91412151.entry.js +0 -2
- package/dist/capsule/p-91412151.entry.js.map +0 -1
- package/dist/capsule/p-a95ec4df.entry.js +0 -2
- package/dist/capsule/p-a95ec4df.entry.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-d7be092d.entry.js +0 -10
- package/dist/capsule/p-d7be092d.entry.js.map +0 -1
- package/dist/capsule/p-e1255160.js +0 -2
- package/dist/capsule/p-e1255160.js.map +0 -1
- package/dist/capsule/p-f604b591.entry.js +0 -2
- package/dist/capsule/p-f604b591.entry.js.map +0 -1
- package/dist/cjs/_commonjsHelpers-b3309d7b.js +0 -12
- package/dist/cjs/_commonjsHelpers-b3309d7b.js.map +0 -1
- package/dist/cjs/app-globals-3a1e7e63.js +0 -7
- package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
- package/dist/cjs/capsule.cjs.js +0 -27
- package/dist/cjs/capsule.cjs.js.map +0 -1
- package/dist/cjs/constants-4bb85cc5.js +0 -12
- package/dist/cjs/constants-4bb85cc5.js.map +0 -1
- package/dist/cjs/cpsl-alert_17.cjs.entry.js +0 -10704
- package/dist/cjs/cpsl-alert_17.cjs.entry.js.map +0 -1
- package/dist/cjs/cpsl-animation.cjs.entry.js +0 -20129
- package/dist/cjs/cpsl-animation.cjs.entry.js.map +0 -1
- package/dist/cjs/cpsl-col.cjs.entry.js +0 -125
- package/dist/cjs/cpsl-col.cjs.entry.js.map +0 -1
- package/dist/cjs/cpsl-grid.cjs.entry.js +0 -25
- package/dist/cjs/cpsl-grid.cjs.entry.js.map +0 -1
- package/dist/cjs/cpsl-info-box.cjs.entry.js +0 -22
- package/dist/cjs/cpsl-info-box.cjs.entry.js.map +0 -1
- package/dist/cjs/cpsl-row.cjs.entry.js +0 -22
- package/dist/cjs/cpsl-row.cjs.entry.js.map +0 -1
- package/dist/cjs/index-3fccb5b4.js +0 -2012
- package/dist/cjs/index-3fccb5b4.js.map +0 -1
- package/dist/cjs/index.cjs.js +0 -342
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js +0 -17
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/collection/assets/icons/alert-circle.svg +0 -3
- package/dist/collection/assets/icons/angel-list-brand.svg +0 -3
- package/dist/collection/assets/icons/angel-list.svg +0 -3
- package/dist/collection/assets/icons/apple-brand.svg +0 -3
- package/dist/collection/assets/icons/apple.svg +0 -3
- package/dist/collection/assets/icons/arrow-narrow.svg +0 -3
- package/dist/collection/assets/icons/arrow.svg +0 -3
- package/dist/collection/assets/icons/backup-kit.svg +0 -4
- package/dist/collection/assets/icons/capsule-logo.svg +0 -18
- package/dist/collection/assets/icons/capsule-rings-dark.svg +0 -34
- package/dist/collection/assets/icons/capsule-rings.svg +0 -34
- package/dist/collection/assets/icons/capsule.svg +0 -4
- package/dist/collection/assets/icons/check.svg +0 -3
- package/dist/collection/assets/icons/clock.svg +0 -3
- package/dist/collection/assets/icons/close.svg +0 -4
- package/dist/collection/assets/icons/clubhouse-brand.svg +0 -4
- package/dist/collection/assets/icons/clubhouse.svg +0 -4
- package/dist/collection/assets/icons/copy.svg +0 -3
- package/dist/collection/assets/icons/discord-brand.svg +0 -4
- package/dist/collection/assets/icons/discord.svg +0 -4
- package/dist/collection/assets/icons/download-cloud.svg +0 -3
- package/dist/collection/assets/icons/dribbble-brand.svg +0 -4
- package/dist/collection/assets/icons/dribbble.svg +0 -3
- package/dist/collection/assets/icons/eye-off.svg +0 -3
- package/dist/collection/assets/icons/eye.svg +0 -4
- package/dist/collection/assets/icons/facebook-brand.svg +0 -11
- package/dist/collection/assets/icons/facebook.svg +0 -10
- package/dist/collection/assets/icons/figma-brand.svg +0 -14
- package/dist/collection/assets/icons/figma.svg +0 -3
- package/dist/collection/assets/icons/github-brand.svg +0 -10
- package/dist/collection/assets/icons/github.svg +0 -10
- package/dist/collection/assets/icons/google-brand.svg +0 -13
- package/dist/collection/assets/icons/google.svg +0 -10
- package/dist/collection/assets/icons/help-circle.svg +0 -3
- package/dist/collection/assets/icons/hero-email.svg +0 -12
- package/dist/collection/assets/icons/hero-lock.svg +0 -4
- package/dist/collection/assets/icons/hero-passkey.svg +0 -12
- package/dist/collection/assets/icons/hero-phone.svg +0 -4
- package/dist/collection/assets/icons/hero-wallet.svg +0 -5
- package/dist/collection/assets/icons/index.js +0 -70
- package/dist/collection/assets/icons/index.js.map +0 -1
- package/dist/collection/assets/icons/info-circle.svg +0 -3
- package/dist/collection/assets/icons/instagram-brand.svg +0 -12
- package/dist/collection/assets/icons/instagram.svg +0 -12
- package/dist/collection/assets/icons/key.svg +0 -3
- package/dist/collection/assets/icons/linkedin-brand.svg +0 -10
- package/dist/collection/assets/icons/linkedin.svg +0 -10
- package/dist/collection/assets/icons/mail.svg +0 -3
- package/dist/collection/assets/icons/more-login-options.svg +0 -13
- package/dist/collection/assets/icons/phone.svg +0 -3
- package/dist/collection/assets/icons/pintrest-brand.svg +0 -11
- package/dist/collection/assets/icons/pintrest.svg +0 -10
- package/dist/collection/assets/icons/plus-circle.svg +0 -5
- package/dist/collection/assets/icons/reddit-brand.svg +0 -11
- package/dist/collection/assets/icons/reddit.svg +0 -3
- package/dist/collection/assets/icons/signal-brand.svg +0 -3
- package/dist/collection/assets/icons/signal.svg +0 -3
- package/dist/collection/assets/icons/snapchat-brand.svg +0 -4
- package/dist/collection/assets/icons/snapchat.svg +0 -3
- package/dist/collection/assets/icons/telegram-brand.svg +0 -15
- package/dist/collection/assets/icons/telegram.svg +0 -10
- package/dist/collection/assets/icons/tik-tok-brand.svg +0 -5
- package/dist/collection/assets/icons/tik-tok.svg +0 -3
- package/dist/collection/assets/icons/tumblr-brand.svg +0 -10
- package/dist/collection/assets/icons/tumblr.svg +0 -10
- package/dist/collection/assets/icons/twitter-brand.svg +0 -3
- package/dist/collection/assets/icons/twitter.svg +0 -3
- package/dist/collection/assets/icons/wallet.svg +0 -5
- package/dist/collection/assets/icons/youtube-brand.svg +0 -11
- package/dist/collection/assets/icons/youtube.svg +0 -3
- package/dist/collection/collection-manifest.json +0 -33
- package/dist/collection/components/cpsl-alert/cpsl-alert.css +0 -98
- package/dist/collection/components/cpsl-alert/cpsl-alert.js +0 -80
- package/dist/collection/components/cpsl-alert/cpsl-alert.js.map +0 -1
- package/dist/collection/components/cpsl-alert/test/cpsl-alert.e2e.js +0 -29
- package/dist/collection/components/cpsl-alert/test/cpsl-alert.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-alert/test/cpsl-alert.spec.js +0 -37
- package/dist/collection/components/cpsl-alert/test/cpsl-alert.spec.js.map +0 -1
- package/dist/collection/components/cpsl-animation/cpsl-animation.css +0 -17
- package/dist/collection/components/cpsl-animation/cpsl-animation.js +0 -102
- package/dist/collection/components/cpsl-animation/cpsl-animation.js.map +0 -1
- package/dist/collection/components/cpsl-animation/test/cpsl-animation.e2e.js +0 -29
- package/dist/collection/components/cpsl-animation/test/cpsl-animation.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-animation/test/cpsl-animation.spec.js +0 -37
- package/dist/collection/components/cpsl-animation/test/cpsl-animation.spec.js.map +0 -1
- package/dist/collection/components/cpsl-button/cpsl-button.css +0 -162
- package/dist/collection/components/cpsl-button/cpsl-button.js +0 -68
- package/dist/collection/components/cpsl-button/cpsl-button.js.map +0 -1
- package/dist/collection/components/cpsl-button/test/cpsl-button.e2e.js +0 -29
- package/dist/collection/components/cpsl-button/test/cpsl-button.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-button/test/cpsl-button.spec.js +0 -37
- package/dist/collection/components/cpsl-button/test/cpsl-button.spec.js.map +0 -1
- package/dist/collection/components/cpsl-code-input/code-change-interface.js +0 -2
- package/dist/collection/components/cpsl-code-input/code-change-interface.js.map +0 -1
- package/dist/collection/components/cpsl-code-input/cpsl-code-input.css +0 -134
- package/dist/collection/components/cpsl-code-input/cpsl-code-input.js +0 -223
- package/dist/collection/components/cpsl-code-input/cpsl-code-input.js.map +0 -1
- package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.e2e.js +0 -29
- package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.spec.js +0 -37
- package/dist/collection/components/cpsl-code-input/test/cpsl-code-input.spec.js.map +0 -1
- package/dist/collection/components/cpsl-col/cpsl-col.css +0 -200
- package/dist/collection/components/cpsl-col/cpsl-col.js +0 -528
- package/dist/collection/components/cpsl-col/cpsl-col.js.map +0 -1
- package/dist/collection/components/cpsl-col/test/cpsl-col.e2e.js +0 -29
- package/dist/collection/components/cpsl-col/test/cpsl-col.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-col/test/cpsl-col.spec.js +0 -37
- package/dist/collection/components/cpsl-col/test/cpsl-col.spec.js.map +0 -1
- package/dist/collection/components/cpsl-divider/cpsl-divider.css +0 -73
- package/dist/collection/components/cpsl-divider/cpsl-divider.js +0 -19
- package/dist/collection/components/cpsl-divider/cpsl-divider.js.map +0 -1
- package/dist/collection/components/cpsl-divider/test/cpsl-divider.e2e.js +0 -29
- package/dist/collection/components/cpsl-divider/test/cpsl-divider.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-divider/test/cpsl-divider.spec.js +0 -37
- package/dist/collection/components/cpsl-divider/test/cpsl-divider.spec.js.map +0 -1
- package/dist/collection/components/cpsl-grid/cpsl-grid.css +0 -235
- package/dist/collection/components/cpsl-grid/cpsl-grid.js +0 -46
- package/dist/collection/components/cpsl-grid/cpsl-grid.js.map +0 -1
- package/dist/collection/components/cpsl-grid/test/cpsl-grid.e2e.js +0 -29
- package/dist/collection/components/cpsl-grid/test/cpsl-grid.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-grid/test/cpsl-grid.spec.js +0 -37
- package/dist/collection/components/cpsl-grid/test/cpsl-grid.spec.js.map +0 -1
- package/dist/collection/components/cpsl-icon/cpsl-icon.css +0 -95
- package/dist/collection/components/cpsl-icon/cpsl-icon.js +0 -68
- package/dist/collection/components/cpsl-icon/cpsl-icon.js.map +0 -1
- package/dist/collection/components/cpsl-icon/test/cpsl-icon.e2e.js +0 -29
- package/dist/collection/components/cpsl-icon/test/cpsl-icon.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-icon/test/cpsl-icon.spec.js +0 -37
- package/dist/collection/components/cpsl-icon/test/cpsl-icon.spec.js.map +0 -1
- package/dist/collection/components/cpsl-info-box/cpsl-info-box.css +0 -77
- package/dist/collection/components/cpsl-info-box/cpsl-info-box.js +0 -19
- package/dist/collection/components/cpsl-info-box/cpsl-info-box.js.map +0 -1
- package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.e2e.js +0 -29
- package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.spec.js +0 -37
- package/dist/collection/components/cpsl-info-box/test/cpsl-info-box.spec.js.map +0 -1
- package/dist/collection/components/cpsl-input/cpsl-input.css +0 -194
- package/dist/collection/components/cpsl-input/cpsl-input.js +0 -708
- package/dist/collection/components/cpsl-input/cpsl-input.js.map +0 -1
- package/dist/collection/components/cpsl-input/input-interface.js +0 -2
- package/dist/collection/components/cpsl-input/input-interface.js.map +0 -1
- package/dist/collection/components/cpsl-input/test/cpsl-input.e2e.js +0 -29
- package/dist/collection/components/cpsl-input/test/cpsl-input.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-input/test/cpsl-input.spec.js +0 -37
- package/dist/collection/components/cpsl-input/test/cpsl-input.spec.js.map +0 -1
- package/dist/collection/components/cpsl-modal/cpsl-modal.css +0 -172
- package/dist/collection/components/cpsl-modal/cpsl-modal.js +0 -423
- package/dist/collection/components/cpsl-modal/cpsl-modal.js.map +0 -1
- package/dist/collection/components/cpsl-modal/test/cpsl-modal.e2e.js +0 -29
- package/dist/collection/components/cpsl-modal/test/cpsl-modal.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-modal/test/cpsl-modal.spec.js +0 -37
- package/dist/collection/components/cpsl-modal/test/cpsl-modal.spec.js.map +0 -1
- package/dist/collection/components/cpsl-overlay/cpsl-overlay.css +0 -11
- package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +0 -108
- package/dist/collection/components/cpsl-overlay/cpsl-overlay.js.map +0 -1
- package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.e2e.js +0 -29
- package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.spec.js +0 -37
- package/dist/collection/components/cpsl-overlay/test/cpsl-overlay.spec.js.map +0 -1
- package/dist/collection/components/cpsl-pill/cpsl-pill.css +0 -92
- package/dist/collection/components/cpsl-pill/cpsl-pill.js +0 -43
- package/dist/collection/components/cpsl-pill/cpsl-pill.js.map +0 -1
- package/dist/collection/components/cpsl-pill/test/cpsl-pill.e2e.js +0 -29
- package/dist/collection/components/cpsl-pill/test/cpsl-pill.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-pill/test/cpsl-pill.spec.js +0 -37
- package/dist/collection/components/cpsl-pill/test/cpsl-pill.spec.js.map +0 -1
- package/dist/collection/components/cpsl-progress-indicator/cpsl-progress-indicator.css +0 -82
- package/dist/collection/components/cpsl-progress-indicator/cpsl-progress-indicator.js +0 -71
- package/dist/collection/components/cpsl-progress-indicator/cpsl-progress-indicator.js.map +0 -1
- package/dist/collection/components/cpsl-progress-indicator/progress-indicator-interface.js +0 -2
- package/dist/collection/components/cpsl-progress-indicator/progress-indicator-interface.js.map +0 -1
- package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.e2e.js +0 -29
- package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.spec.js +0 -37
- package/dist/collection/components/cpsl-progress-indicator/test/cpsl-progress-indicator.spec.js.map +0 -1
- package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.css +0 -81
- package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +0 -107
- package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js.map +0 -1
- package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.e2e.js +0 -29
- package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.spec.js +0 -37
- package/dist/collection/components/cpsl-qr-code/test/cpsl-qr-code.spec.js.map +0 -1
- package/dist/collection/components/cpsl-row/cpsl-row.css +0 -136
- package/dist/collection/components/cpsl-row/cpsl-row.js +0 -19
- package/dist/collection/components/cpsl-row/cpsl-row.js.map +0 -1
- package/dist/collection/components/cpsl-row/test/cpsl-row.e2e.js +0 -29
- package/dist/collection/components/cpsl-row/test/cpsl-row.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-row/test/cpsl-row.spec.js +0 -37
- package/dist/collection/components/cpsl-row/test/cpsl-row.spec.js.map +0 -1
- package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.css +0 -175
- package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +0 -252
- package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js.map +0 -1
- package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.e2e.js +0 -29
- package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.spec.js +0 -37
- package/dist/collection/components/cpsl-slide-button/test/cpsl-slide-button.spec.js.map +0 -1
- package/dist/collection/components/cpsl-spinner/cpsl-spinner.css +0 -68
- package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +0 -69
- package/dist/collection/components/cpsl-spinner/cpsl-spinner.js.map +0 -1
- package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.e2e.js +0 -29
- package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.spec.js +0 -37
- package/dist/collection/components/cpsl-spinner/test/cpsl-spinner.spec.js.map +0 -1
- package/dist/collection/components/cpsl-tab/cpsl-tab.css +0 -23
- package/dist/collection/components/cpsl-tab/cpsl-tab.js +0 -121
- package/dist/collection/components/cpsl-tab/cpsl-tab.js.map +0 -1
- package/dist/collection/components/cpsl-tab/tab-interface.js +0 -2
- package/dist/collection/components/cpsl-tab/tab-interface.js.map +0 -1
- package/dist/collection/components/cpsl-tab/test/cpsl-tab.e2e.js +0 -29
- package/dist/collection/components/cpsl-tab/test/cpsl-tab.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-tab/test/cpsl-tab.spec.js +0 -37
- package/dist/collection/components/cpsl-tab/test/cpsl-tab.spec.js.map +0 -1
- package/dist/collection/components/cpsl-tabs/cpsl-tabs.css +0 -111
- package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +0 -170
- package/dist/collection/components/cpsl-tabs/cpsl-tabs.js.map +0 -1
- package/dist/collection/components/cpsl-tabs/tabs-interface.js +0 -2
- package/dist/collection/components/cpsl-tabs/tabs-interface.js.map +0 -1
- package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.e2e.js +0 -29
- package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.spec.js +0 -37
- package/dist/collection/components/cpsl-tabs/test/cpsl-tabs.spec.js.map +0 -1
- package/dist/collection/components/cpsl-text/cpsl-text.css +0 -59
- package/dist/collection/components/cpsl-text/cpsl-text.js +0 -19
- package/dist/collection/components/cpsl-text/cpsl-text.js.map +0 -1
- package/dist/collection/components/cpsl-text/test/cpsl-text.e2e.js +0 -29
- package/dist/collection/components/cpsl-text/test/cpsl-text.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-text/test/cpsl-text.spec.js +0 -37
- package/dist/collection/components/cpsl-text/test/cpsl-text.spec.js.map +0 -1
- package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.css +0 -97
- package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +0 -67
- package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js.map +0 -1
- package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.e2e.js +0 -29
- package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.e2e.js.map +0 -1
- package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.spec.js +0 -37
- package/dist/collection/components/cpsl-tile-button/test/cpsl-tile-button.spec.js.map +0 -1
- package/dist/collection/constants.js +0 -6
- package/dist/collection/constants.js.map +0 -1
- package/dist/collection/index.js +0 -3
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/interface.js +0 -2
- package/dist/collection/interface.js.map +0 -1
- package/dist/collection/utils/media.js +0 -18
- package/dist/collection/utils/media.js.map +0 -1
- package/dist/collection/utils/theme/generateBorderRadii.js +0 -56
- package/dist/collection/utils/theme/generateBorderRadii.js.map +0 -1
- package/dist/collection/utils/theme/generateFont.js +0 -7
- package/dist/collection/utils/theme/generateFont.js.map +0 -1
- package/dist/collection/utils/theme/generatePalette.js +0 -46
- package/dist/collection/utils/theme/generatePalette.js.map +0 -1
- package/dist/collection/utils/theme/generateTheme.js +0 -12
- package/dist/collection/utils/theme/generateTheme.js.map +0 -1
- package/dist/collection/utils/theme/utils.js +0 -21
- package/dist/collection/utils/theme/utils.js.map +0 -1
- package/dist/esm/_commonjsHelpers-1789f0cf.js +0 -9
- package/dist/esm/_commonjsHelpers-1789f0cf.js.map +0 -1
- package/dist/esm/capsule.js +0 -22
- package/dist/esm/capsule.js.map +0 -1
- package/dist/esm/cpsl-alert_17.entry.js +0 -10684
- package/dist/esm/cpsl-alert_17.entry.js.map +0 -1
- package/dist/esm/cpsl-animation.entry.js.map +0 -1
- package/dist/esm/cpsl-col.entry.js.map +0 -1
- package/dist/esm/cpsl-grid.entry.js.map +0 -1
- package/dist/esm/cpsl-info-box.entry.js.map +0 -1
- package/dist/esm/cpsl-row.entry.js +0 -18
- package/dist/esm/cpsl-row.entry.js.map +0 -1
- package/dist/esm/index-f00e090c.js +0 -1982
- package/dist/esm/index-f00e090c.js.map +0 -1
- package/dist/esm/index.js +0 -338
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js +0 -13
- package/dist/esm/loader.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/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/loader/cdn.js +0 -3
- package/dist/loader/index.cjs.js +0 -3
- package/dist/loader/index.d.ts +0 -21
- package/dist/loader/index.es2017.js +0 -3
- package/dist/loader/index.js +0 -4
- package/dist/loader/package.json +0 -11
- package/dist/scripts/buildIconLibrary.js +0 -33
- package/dist/scripts/buildIconLibrary.js.map +0 -1
- /package/dist/{esm → capsule}/app-globals-0f993ce5.js +0 -0
- /package/dist/{esm → capsule}/app-globals-0f993ce5.js.map +0 -0
- /package/dist/{esm → capsule}/constants-7b49abd5.js +0 -0
- /package/dist/{esm → capsule}/constants-7b49abd5.js.map +0 -0
@@ -1,68 +0,0 @@
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
2
|
-
import { Icons } from "../../assets/icons";
|
3
|
-
export class CpslIcon {
|
4
|
-
constructor() {
|
5
|
-
this.src = undefined;
|
6
|
-
this.icon = undefined;
|
7
|
-
}
|
8
|
-
render() {
|
9
|
-
return (h(Host, { key: '81ab45a6a6bb0597743d8ebc490d56f97b9a15a4', part: "icon", role: "img" }, !Boolean(this.icon) ? h("img", { src: this.src }) : h("div", { innerHTML: Icons[this.icon] })));
|
10
|
-
}
|
11
|
-
static get is() { return "cpsl-icon"; }
|
12
|
-
static get encapsulation() { return "shadow"; }
|
13
|
-
static get originalStyleUrls() {
|
14
|
-
return {
|
15
|
-
"$": ["cpsl-icon.scss"]
|
16
|
-
};
|
17
|
-
}
|
18
|
-
static get styleUrls() {
|
19
|
-
return {
|
20
|
-
"$": ["cpsl-icon.css"]
|
21
|
-
};
|
22
|
-
}
|
23
|
-
static get properties() {
|
24
|
-
return {
|
25
|
-
"src": {
|
26
|
-
"type": "string",
|
27
|
-
"mutable": false,
|
28
|
-
"complexType": {
|
29
|
-
"original": "string",
|
30
|
-
"resolved": "string",
|
31
|
-
"references": {}
|
32
|
-
},
|
33
|
-
"required": false,
|
34
|
-
"optional": true,
|
35
|
-
"docs": {
|
36
|
-
"tags": [],
|
37
|
-
"text": "The external source of the icon. If both `icon` and `src` are provided, `icon` will be used."
|
38
|
-
},
|
39
|
-
"attribute": "src",
|
40
|
-
"reflect": false
|
41
|
-
},
|
42
|
-
"icon": {
|
43
|
-
"type": "string",
|
44
|
-
"mutable": false,
|
45
|
-
"complexType": {
|
46
|
-
"original": "IconType",
|
47
|
-
"resolved": "\"alertCircle\" | \"angelListBrand\" | \"angelList\" | \"appleBrand\" | \"apple\" | \"arrowNarrow\" | \"arrow\" | \"backupKit\" | \"capsuleLogo\" | \"capsuleRingsDark\" | \"capsuleRings\" | \"capsule\" | \"check\" | \"clock\" | \"close\" | \"clubhouseBrand\" | \"clubhouse\" | \"copy\" | \"discordBrand\" | \"discord\" | \"downloadCloud\" | \"dribbbleBrand\" | \"dribbble\" | \"eyeOff\" | \"eye\" | \"facebookBrand\" | \"facebook\" | \"figmaBrand\" | \"figma\" | \"githubBrand\" | \"github\" | \"googleBrand\" | \"google\" | \"helpCircle\" | \"heroEmail\" | \"heroLock\" | \"heroPasskey\" | \"heroPhone\" | \"heroWallet\" | \"infoCircle\" | \"instagramBrand\" | \"instagram\" | \"key\" | \"linkedinBrand\" | \"linkedin\" | \"mail\" | \"moreLoginOptions\" | \"phone\" | \"pintrestBrand\" | \"pintrest\" | \"plusCircle\" | \"redditBrand\" | \"reddit\" | \"signalBrand\" | \"signal\" | \"snapchatBrand\" | \"snapchat\" | \"telegramBrand\" | \"telegram\" | \"tikTokBrand\" | \"tikTok\" | \"tumblrBrand\" | \"tumblr\" | \"twitterBrand\" | \"twitter\" | \"wallet\" | \"youtubeBrand\" | \"youtube\"",
|
48
|
-
"references": {
|
49
|
-
"IconType": {
|
50
|
-
"location": "import",
|
51
|
-
"path": "../../interface",
|
52
|
-
"id": "src/interface.ts::IconType"
|
53
|
-
}
|
54
|
-
}
|
55
|
-
},
|
56
|
-
"required": false,
|
57
|
-
"optional": true,
|
58
|
-
"docs": {
|
59
|
-
"tags": [],
|
60
|
-
"text": "The name of the icon. If both `icon` and `src` are provided, `icon` will be used."
|
61
|
-
},
|
62
|
-
"attribute": "icon",
|
63
|
-
"reflect": false
|
64
|
-
}
|
65
|
-
};
|
66
|
-
}
|
67
|
-
}
|
68
|
-
//# sourceMappingURL=cpsl-icon.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"cpsl-icon.js","sourceRoot":"","sources":["../../../../src/components/cpsl-icon/cpsl-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEzD,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAO3C,MAAM,OAAO,QAAQ;;;;;IAWnB,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,IACzB,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,WAAK,GAAG,EAAE,IAAI,CAAC,GAAG,GAAI,CAAC,CAAC,CAAC,WAAK,SAAS,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,GAAI,CAC/E,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, h, Prop } from '@stencil/core';\nimport { IconType } from '../../interface';\nimport { Icons } from '../../assets/icons';\n\n@Component({\n tag: 'cpsl-icon',\n styleUrl: 'cpsl-icon.scss',\n shadow: true,\n})\nexport class CpslIcon {\n /**\n * The external source of the icon. If both `icon` and `src` are provided, `icon` will be used.\n */\n @Prop() src?: string;\n\n /**\n * The name of the icon. If both `icon` and `src` are provided, `icon` will be used.\n */\n @Prop() icon?: IconType;\n\n render() {\n return (\n <Host part=\"icon\" role=\"img\">\n {!Boolean(this.icon) ? <img src={this.src} /> : <div innerHTML={Icons[this.icon]} />}\n </Host>\n );\n }\n}\n"]}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
4
|
-
function fulfilled(value) { try {
|
5
|
-
step(generator.next(value));
|
6
|
-
}
|
7
|
-
catch (e) {
|
8
|
-
reject(e);
|
9
|
-
} }
|
10
|
-
function rejected(value) { try {
|
11
|
-
step(generator["throw"](value));
|
12
|
-
}
|
13
|
-
catch (e) {
|
14
|
-
reject(e);
|
15
|
-
} }
|
16
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
17
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
18
|
-
});
|
19
|
-
};
|
20
|
-
import { newE2EPage } from "@stencil/core/testing";
|
21
|
-
describe('cpsl-icon', () => {
|
22
|
-
it('renders', () => __awaiter(void 0, void 0, void 0, function* () {
|
23
|
-
const page = yield newE2EPage();
|
24
|
-
yield page.setContent('<cpsl-icon></cpsl-icon>');
|
25
|
-
const element = yield page.find('cpsl-icon');
|
26
|
-
expect(element).toHaveClass('hydrated');
|
27
|
-
}));
|
28
|
-
});
|
29
|
-
//# sourceMappingURL=cpsl-icon.e2e.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"cpsl-icon.e2e.js","sourceRoot":"","sources":["../../../../../src/components/cpsl-icon/test/cpsl-icon.e2e.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,QAAQ,CAAC,WAAW,EAAE,GAAG,EAAE;IACzB,EAAE,CAAC,SAAS,EAAE,GAAS,EAAE;QACvB,MAAM,IAAI,GAAG,MAAM,UAAU,EAAE,CAAC;QAChC,MAAM,IAAI,CAAC,UAAU,CAAC,yBAAyB,CAAC,CAAC;QAEjD,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC7C,MAAM,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAC1C,CAAC,CAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newE2EPage } from '@stencil/core/testing';\n\ndescribe('cpsl-icon', () => {\n it('renders', async () => {\n const page = await newE2EPage();\n await page.setContent('<cpsl-icon></cpsl-icon>');\n\n const element = await page.find('cpsl-icon');\n expect(element).toHaveClass('hydrated');\n });\n});\n"]}
|
@@ -1,37 +0,0 @@
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
4
|
-
function fulfilled(value) { try {
|
5
|
-
step(generator.next(value));
|
6
|
-
}
|
7
|
-
catch (e) {
|
8
|
-
reject(e);
|
9
|
-
} }
|
10
|
-
function rejected(value) { try {
|
11
|
-
step(generator["throw"](value));
|
12
|
-
}
|
13
|
-
catch (e) {
|
14
|
-
reject(e);
|
15
|
-
} }
|
16
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
17
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
18
|
-
});
|
19
|
-
};
|
20
|
-
import { newSpecPage } from "@stencil/core/testing";
|
21
|
-
import { CpslIcon } from "../cpsl-icon";
|
22
|
-
describe('cpsl-icon', () => {
|
23
|
-
it('renders', () => __awaiter(void 0, void 0, void 0, function* () {
|
24
|
-
const page = yield newSpecPage({
|
25
|
-
components: [CpslIcon],
|
26
|
-
html: `<cpsl-icon></cpsl-icon>`,
|
27
|
-
});
|
28
|
-
expect(page.root).toEqualHtml(`
|
29
|
-
<cpsl-icon>
|
30
|
-
<mock:shadow-root>
|
31
|
-
<slot></slot>
|
32
|
-
</mock:shadow-root>
|
33
|
-
</cpsl-icon>
|
34
|
-
`);
|
35
|
-
}));
|
36
|
-
});
|
37
|
-
//# sourceMappingURL=cpsl-icon.spec.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"cpsl-icon.spec.js","sourceRoot":"","sources":["../../../../../src/components/cpsl-icon/test/cpsl-icon.spec.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,QAAQ,CAAC,WAAW,EAAE,GAAG,EAAE;IACzB,EAAE,CAAC,SAAS,EAAE,GAAS,EAAE;QACvB,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;YAC7B,UAAU,EAAE,CAAC,QAAQ,CAAC;YACtB,IAAI,EAAE,yBAAyB;SAChC,CAAC,CAAC;QACH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;KAM7B,CAAC,CAAC;IACL,CAAC,CAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newSpecPage } from '@stencil/core/testing';\nimport { CpslIcon } from '../cpsl-icon';\n\ndescribe('cpsl-icon', () => {\n it('renders', async () => {\n const page = await newSpecPage({\n components: [CpslIcon],\n html: `<cpsl-icon></cpsl-icon>`,\n });\n expect(page.root).toEqualHtml(`\n <cpsl-icon>\n <mock:shadow-root>\n <slot></slot>\n </mock:shadow-root>\n </cpsl-icon>\n `);\n });\n});\n"]}
|
@@ -1,77 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Convert a font size to a dynamic font size.
|
3
|
-
* Fonts that participate in Dynamic Type should use
|
4
|
-
* dynamic font sizes.
|
5
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
6
|
-
* @param unit (optional) - The unit to convert to. Use this if you want to
|
7
|
-
* convert to a unit other than $baselineUnit.
|
8
|
-
*/
|
9
|
-
/**
|
10
|
-
* Convert a font size to a dynamic font size but impose
|
11
|
-
* a maximum font size.
|
12
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
13
|
-
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
14
|
-
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
15
|
-
* convert to a unit other than $baselineUnit.
|
16
|
-
*/
|
17
|
-
/**
|
18
|
-
* Convert a font size to a dynamic font size but impose
|
19
|
-
* a minimum font size.
|
20
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
21
|
-
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
22
|
-
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
23
|
-
* convert to a unit other than $baselineUnit.
|
24
|
-
*/
|
25
|
-
/**
|
26
|
-
* Convert a font size to a dynamic font size but impose
|
27
|
-
* maximum and minimum font sizes.
|
28
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
29
|
-
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
30
|
-
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
31
|
-
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
32
|
-
* convert to a unit other than $baselineUnit.
|
33
|
-
*/
|
34
|
-
/**
|
35
|
-
* A heuristic that applies CSS to tablet
|
36
|
-
* viewports.
|
37
|
-
*
|
38
|
-
* Usage:
|
39
|
-
* @include tablet-viewport() {
|
40
|
-
* :host {
|
41
|
-
* background-color: green;
|
42
|
-
* }
|
43
|
-
* }
|
44
|
-
*/
|
45
|
-
/**
|
46
|
-
* A heuristic that applies CSS to mobile
|
47
|
-
* viewports (i.e. phones, not tablets).
|
48
|
-
*
|
49
|
-
* Usage:
|
50
|
-
* @include mobile-viewport() {
|
51
|
-
* :host {
|
52
|
-
* background-color: blue;
|
53
|
-
* }
|
54
|
-
* }
|
55
|
-
*/
|
56
|
-
:host {
|
57
|
-
--box-border-radius: var(--cpsl-border-radius-info-box);
|
58
|
-
--box-padding-top: 16px;
|
59
|
-
--box-padding-bottom: 16px;
|
60
|
-
--box-padding-start: 16px;
|
61
|
-
--box-padding-end: 16px;
|
62
|
-
--box-border-width: 1px;
|
63
|
-
}
|
64
|
-
|
65
|
-
.info-box-container {
|
66
|
-
border-radius: var(--input-border-radius);
|
67
|
-
-webkit-padding-start: var(--box-padding-start);
|
68
|
-
padding-inline-start: var(--box-padding-start);
|
69
|
-
-webkit-padding-end: var(--box-padding-end);
|
70
|
-
padding-inline-end: var(--box-padding-end);
|
71
|
-
padding-top: var(--box-padding-top);
|
72
|
-
padding-bottom: var(--box-padding-bottom);
|
73
|
-
display: flex;
|
74
|
-
background-color: var(--cpsl-color-background-secondary);
|
75
|
-
border: var(--box-border-width) solid var(--cpsl-color-input-border-placeholder);
|
76
|
-
border-radius: var(--box-border-radius);
|
77
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
2
|
-
export class CpslInfoBox {
|
3
|
-
render() {
|
4
|
-
return (h(Host, { key: '2d1427b7750adff77e1ca94cd34b89a22cc54c1a' }, h("div", { key: '6ec6eedc5ef2a2137723383e86676523b8fa4b60', class: "info-box-container" }, h("slot", { key: '11ba071134789bcbee7ffb5f650d4536906139f4' }))));
|
5
|
-
}
|
6
|
-
static get is() { return "cpsl-info-box"; }
|
7
|
-
static get encapsulation() { return "shadow"; }
|
8
|
-
static get originalStyleUrls() {
|
9
|
-
return {
|
10
|
-
"$": ["cpsl-info-box.scss"]
|
11
|
-
};
|
12
|
-
}
|
13
|
-
static get styleUrls() {
|
14
|
-
return {
|
15
|
-
"$": ["cpsl-info-box.css"]
|
16
|
-
};
|
17
|
-
}
|
18
|
-
}
|
19
|
-
//# sourceMappingURL=cpsl-info-box.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"cpsl-info-box.js","sourceRoot":"","sources":["../../../../src/components/cpsl-info-box/cpsl-info-box.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAOnD,MAAM,OAAO,WAAW;IACtB,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,4DAAK,KAAK,EAAC,oBAAoB;gBAC7B,8DAAa,CACT,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;CACF","sourcesContent":["import { Component, Host, h } from '@stencil/core';\n\n@Component({\n tag: 'cpsl-info-box',\n styleUrl: 'cpsl-info-box.scss',\n shadow: true,\n})\nexport class CpslInfoBox {\n render() {\n return (\n <Host>\n <div class=\"info-box-container\">\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"]}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
4
|
-
function fulfilled(value) { try {
|
5
|
-
step(generator.next(value));
|
6
|
-
}
|
7
|
-
catch (e) {
|
8
|
-
reject(e);
|
9
|
-
} }
|
10
|
-
function rejected(value) { try {
|
11
|
-
step(generator["throw"](value));
|
12
|
-
}
|
13
|
-
catch (e) {
|
14
|
-
reject(e);
|
15
|
-
} }
|
16
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
17
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
18
|
-
});
|
19
|
-
};
|
20
|
-
import { newE2EPage } from "@stencil/core/testing";
|
21
|
-
describe('cpsl-info-box', () => {
|
22
|
-
it('renders', () => __awaiter(void 0, void 0, void 0, function* () {
|
23
|
-
const page = yield newE2EPage();
|
24
|
-
yield page.setContent('<cpsl-info-box></cpsl-info-box>');
|
25
|
-
const element = yield page.find('cpsl-info-box');
|
26
|
-
expect(element).toHaveClass('hydrated');
|
27
|
-
}));
|
28
|
-
});
|
29
|
-
//# sourceMappingURL=cpsl-info-box.e2e.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"cpsl-info-box.e2e.js","sourceRoot":"","sources":["../../../../../src/components/cpsl-info-box/test/cpsl-info-box.e2e.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,QAAQ,CAAC,eAAe,EAAE,GAAG,EAAE;IAC7B,EAAE,CAAC,SAAS,EAAE,GAAS,EAAE;QACvB,MAAM,IAAI,GAAG,MAAM,UAAU,EAAE,CAAC;QAChC,MAAM,IAAI,CAAC,UAAU,CAAC,iCAAiC,CAAC,CAAC;QAEzD,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QACjD,MAAM,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAC1C,CAAC,CAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newE2EPage } from '@stencil/core/testing';\n\ndescribe('cpsl-info-box', () => {\n it('renders', async () => {\n const page = await newE2EPage();\n await page.setContent('<cpsl-info-box></cpsl-info-box>');\n\n const element = await page.find('cpsl-info-box');\n expect(element).toHaveClass('hydrated');\n });\n});\n"]}
|
@@ -1,37 +0,0 @@
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
4
|
-
function fulfilled(value) { try {
|
5
|
-
step(generator.next(value));
|
6
|
-
}
|
7
|
-
catch (e) {
|
8
|
-
reject(e);
|
9
|
-
} }
|
10
|
-
function rejected(value) { try {
|
11
|
-
step(generator["throw"](value));
|
12
|
-
}
|
13
|
-
catch (e) {
|
14
|
-
reject(e);
|
15
|
-
} }
|
16
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
17
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
18
|
-
});
|
19
|
-
};
|
20
|
-
import { newSpecPage } from "@stencil/core/testing";
|
21
|
-
import { CpslInfoBox } from "../cpsl-info-box";
|
22
|
-
describe('cpsl-info-box', () => {
|
23
|
-
it('renders', () => __awaiter(void 0, void 0, void 0, function* () {
|
24
|
-
const page = yield newSpecPage({
|
25
|
-
components: [CpslInfoBox],
|
26
|
-
html: `<cpsl-info-box></cpsl-info-box>`,
|
27
|
-
});
|
28
|
-
expect(page.root).toEqualHtml(`
|
29
|
-
<cpsl-info-box>
|
30
|
-
<mock:shadow-root>
|
31
|
-
<slot></slot>
|
32
|
-
</mock:shadow-root>
|
33
|
-
</cpsl-info-box>
|
34
|
-
`);
|
35
|
-
}));
|
36
|
-
});
|
37
|
-
//# sourceMappingURL=cpsl-info-box.spec.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"cpsl-info-box.spec.js","sourceRoot":"","sources":["../../../../../src/components/cpsl-info-box/test/cpsl-info-box.spec.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,QAAQ,CAAC,eAAe,EAAE,GAAG,EAAE;IAC7B,EAAE,CAAC,SAAS,EAAE,GAAS,EAAE;QACvB,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;YAC7B,UAAU,EAAE,CAAC,WAAW,CAAC;YACzB,IAAI,EAAE,iCAAiC;SACxC,CAAC,CAAC;QACH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;KAM7B,CAAC,CAAC;IACL,CAAC,CAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newSpecPage } from '@stencil/core/testing';\nimport { CpslInfoBox } from '../cpsl-info-box';\n\ndescribe('cpsl-info-box', () => {\n it('renders', async () => {\n const page = await newSpecPage({\n components: [CpslInfoBox],\n html: `<cpsl-info-box></cpsl-info-box>`,\n });\n expect(page.root).toEqualHtml(`\n <cpsl-info-box>\n <mock:shadow-root>\n <slot></slot>\n </mock:shadow-root>\n </cpsl-info-box>\n `);\n });\n});\n"]}
|
@@ -1,194 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Convert a font size to a dynamic font size.
|
3
|
-
* Fonts that participate in Dynamic Type should use
|
4
|
-
* dynamic font sizes.
|
5
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
6
|
-
* @param unit (optional) - The unit to convert to. Use this if you want to
|
7
|
-
* convert to a unit other than $baselineUnit.
|
8
|
-
*/
|
9
|
-
/**
|
10
|
-
* Convert a font size to a dynamic font size but impose
|
11
|
-
* a maximum font size.
|
12
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
13
|
-
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
14
|
-
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
15
|
-
* convert to a unit other than $baselineUnit.
|
16
|
-
*/
|
17
|
-
/**
|
18
|
-
* Convert a font size to a dynamic font size but impose
|
19
|
-
* a minimum font size.
|
20
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
21
|
-
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
22
|
-
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
23
|
-
* convert to a unit other than $baselineUnit.
|
24
|
-
*/
|
25
|
-
/**
|
26
|
-
* Convert a font size to a dynamic font size but impose
|
27
|
-
* maximum and minimum font sizes.
|
28
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
29
|
-
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
30
|
-
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
31
|
-
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
32
|
-
* convert to a unit other than $baselineUnit.
|
33
|
-
*/
|
34
|
-
/**
|
35
|
-
* A heuristic that applies CSS to tablet
|
36
|
-
* viewports.
|
37
|
-
*
|
38
|
-
* Usage:
|
39
|
-
* @include tablet-viewport() {
|
40
|
-
* :host {
|
41
|
-
* background-color: green;
|
42
|
-
* }
|
43
|
-
* }
|
44
|
-
*/
|
45
|
-
/**
|
46
|
-
* A heuristic that applies CSS to mobile
|
47
|
-
* viewports (i.e. phones, not tablets).
|
48
|
-
*
|
49
|
-
* Usage:
|
50
|
-
* @include mobile-viewport() {
|
51
|
-
* :host {
|
52
|
-
* background-color: blue;
|
53
|
-
* }
|
54
|
-
* }
|
55
|
-
*/
|
56
|
-
:host {
|
57
|
-
--container-box-shadow: none;
|
58
|
-
--container-box-shadow-color: var(--cpsl-color-alpha-black-16);
|
59
|
-
--container-border-color: var(--cpsl-color-input-border-active);
|
60
|
-
--container-border-error-color: var(--cpsl-color-input-border-error);
|
61
|
-
--container-background-color: var(--cpsl-color-input-surface-default);
|
62
|
-
--container-background-color-disabled: var(--cpsl-color-input-surface-disabled);
|
63
|
-
--container-border-width: 1px;
|
64
|
-
--container-border-radius: var(--cpsl-border-radius-input);
|
65
|
-
--container-padding-top: 4px;
|
66
|
-
--container-padding-bottom: 4px;
|
67
|
-
--container-padding-end: 4px;
|
68
|
-
--container-padding-start: 8px;
|
69
|
-
--container-height: 46px;
|
70
|
-
--container-gap: 8px;
|
71
|
-
--input-background-color: var(--cpsl-color-input-surface-default);
|
72
|
-
--input-background-color-disabled: var(--cpsl-color-input-surface-disabled);
|
73
|
-
--input-color: var(--cpsl-color-text-primary);
|
74
|
-
--input-placeholder-color: var(--cpsl-color-text-secondary);
|
75
|
-
--input-font-size: clamp(16px, 1rem, 24px);
|
76
|
-
--label-color: var(--cpsl-color-text-primary);
|
77
|
-
--label-font-size: clamp(14px, 0.875rem, 21px);
|
78
|
-
--label-margin-bottom: 5px;
|
79
|
-
--helper-text-color: var(--cpsl-color-text-secondary);
|
80
|
-
--helper-text-error-color: var(--cpsl-color-text-error);
|
81
|
-
--helper-text-icon-color: var(--cpsl-color-text-secondary);
|
82
|
-
--helper-text-icon-error-color: var(--cpsl-color-text-error);
|
83
|
-
--helper-text-icon-size: 16px;
|
84
|
-
--helper-text-font-size: clamp(14px, 0.875rem, 21px);
|
85
|
-
--helper-text-margin-top: 8px;
|
86
|
-
display: block;
|
87
|
-
font-family: var(--cpsl-font-family, inherit);
|
88
|
-
}
|
89
|
-
|
90
|
-
:host(.disabled) {
|
91
|
-
--container-background-color: var(--container-background-color-disabled);
|
92
|
-
--input-background-color: var(--input-background-color-disabled);
|
93
|
-
--input-color: var(--cpsl-color-text-secondary);
|
94
|
-
}
|
95
|
-
|
96
|
-
:host(:not(.has-value)) {
|
97
|
-
--container-border-color: var(--cpsl-color-input-border-placeholder);
|
98
|
-
--input-color: var(--cpsl-color-text-secondary);
|
99
|
-
--container-background-color: transparent;
|
100
|
-
--input-background-color: transparent;
|
101
|
-
}
|
102
|
-
|
103
|
-
:host(.focused) {
|
104
|
-
--container-box-shadow: 0px 0px 0px 2px var(--container-box-shadow-color);
|
105
|
-
--container-border-color: var(--cpsl-color-input-border-active);
|
106
|
-
--container-background-color: var(--cpsl-color-input-surface-default);
|
107
|
-
}
|
108
|
-
|
109
|
-
.input-container {
|
110
|
-
-webkit-padding-start: var(--container-padding-start);
|
111
|
-
padding-inline-start: var(--container-padding-start);
|
112
|
-
-webkit-padding-end: var(--container-padding-end);
|
113
|
-
padding-inline-end: var(--container-padding-end);
|
114
|
-
padding-top: var(--container-padding-top);
|
115
|
-
padding-bottom: var(--container-padding-bottom);
|
116
|
-
display: flex;
|
117
|
-
align-items: center;
|
118
|
-
box-sizing: border-box;
|
119
|
-
height: var(--container-height);
|
120
|
-
gap: var(--container-gap);
|
121
|
-
border-style: solid;
|
122
|
-
border-width: var(--container-border-width);
|
123
|
-
border-color: var(--container-border-color);
|
124
|
-
border-radius: var(--container-border-radius);
|
125
|
-
background-color: var(--container-background-color);
|
126
|
-
box-shadow: var(--container-box-shadow);
|
127
|
-
}
|
128
|
-
|
129
|
-
.error-container {
|
130
|
-
border-color: var(--container-border-error-color);
|
131
|
-
}
|
132
|
-
|
133
|
-
.native-input {
|
134
|
-
flex: 1;
|
135
|
-
min-width: 0;
|
136
|
-
border: none;
|
137
|
-
height: 100%;
|
138
|
-
box-sizing: border-box;
|
139
|
-
font-size: var(--input-font-size);
|
140
|
-
color: var(--input-color);
|
141
|
-
background-color: var(--input-background-color);
|
142
|
-
font-family: var(--cpsl-font-family, inherit);
|
143
|
-
}
|
144
|
-
.native-input:focus, .native-input:focus-visible {
|
145
|
-
outline: none;
|
146
|
-
}
|
147
|
-
.native-input::placeholder {
|
148
|
-
color: var(--input-placeholder-color);
|
149
|
-
opacity: 1; /* Firefox */
|
150
|
-
}
|
151
|
-
|
152
|
-
.label {
|
153
|
-
display: inline-block;
|
154
|
-
color: var(--label-color);
|
155
|
-
font-size: var(--label-font-size);
|
156
|
-
font-weight: 500;
|
157
|
-
margin-bottom: var(--label-margin-bottom);
|
158
|
-
}
|
159
|
-
|
160
|
-
.helper-text-container {
|
161
|
-
display: flex;
|
162
|
-
align-items: center;
|
163
|
-
gap: 4px;
|
164
|
-
color: var(--helper-text-color);
|
165
|
-
font-size: var(--helper-text-font-size);
|
166
|
-
font-weight: 500;
|
167
|
-
margin-top: var(--helper-text-margin-top);
|
168
|
-
}
|
169
|
-
.helper-text-container cpsl-icon {
|
170
|
-
--height: var(--helper-text-icon-size);
|
171
|
-
--width: var(--helper-text-icon-size);
|
172
|
-
--icon-color: var(--helper-text-icon-color);
|
173
|
-
}
|
174
|
-
|
175
|
-
.error-text {
|
176
|
-
color: var(--helper-text-error-color);
|
177
|
-
}
|
178
|
-
.error-text cpsl-icon {
|
179
|
-
--icon-color: var(--helper-text-icon-error-color);
|
180
|
-
}
|
181
|
-
|
182
|
-
:host ::slotted([slot=start]) {
|
183
|
-
flex: 0;
|
184
|
-
}
|
185
|
-
:host ::slotted([slot=end]) {
|
186
|
-
flex: 0;
|
187
|
-
}
|
188
|
-
:host ::slotted(cpsl-icon) {
|
189
|
-
--icon-color: var(--input-color);
|
190
|
-
}
|
191
|
-
:host ::slotted(cpsl-button) {
|
192
|
-
width: calc(var(--container-height) - var(--container-padding-top) - var(--container-padding-bottom) - var(--container-border-width) * 2);
|
193
|
-
--button-border-radius: calc(var(--container-border-radius) - 2px);
|
194
|
-
}
|