@usecapsule/core-components 2.0.1 → 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-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-654cb899.entry.js +0 -29
- package/dist/capsule/p-654cb899.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 -10711
- 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 -430
- 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 -10691
- 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
@@ -0,0 +1,36 @@
|
|
1
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
2
|
+
|
3
|
+
function getDefaultExportFromCjs (x) {
|
4
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
5
|
+
}
|
6
|
+
|
7
|
+
function getDefaultExportFromNamespaceIfPresent (n) {
|
8
|
+
return n && Object.prototype.hasOwnProperty.call(n, 'default') ? n['default'] : n;
|
9
|
+
}
|
10
|
+
|
11
|
+
function getDefaultExportFromNamespaceIfNotNamed (n) {
|
12
|
+
return n && Object.prototype.hasOwnProperty.call(n, 'default') && Object.keys(n).length === 1 ? n['default'] : n;
|
13
|
+
}
|
14
|
+
|
15
|
+
function getAugmentedNamespace(n) {
|
16
|
+
if (n.__esModule) return n;
|
17
|
+
var a = Object.defineProperty({}, '__esModule', {value: true});
|
18
|
+
Object.keys(n).forEach(function (k) {
|
19
|
+
var d = Object.getOwnPropertyDescriptor(n, k);
|
20
|
+
Object.defineProperty(a, k, d.get ? d : {
|
21
|
+
enumerable: true,
|
22
|
+
get: function () {
|
23
|
+
return n[k];
|
24
|
+
}
|
25
|
+
});
|
26
|
+
});
|
27
|
+
return a;
|
28
|
+
}
|
29
|
+
|
30
|
+
function commonjsRequire (path) {
|
31
|
+
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
32
|
+
}
|
33
|
+
|
34
|
+
export { commonjsGlobal as c, getDefaultExportFromCjs as g };
|
35
|
+
|
36
|
+
//# sourceMappingURL=_commonjsHelpers-bc8ff177.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"_commonjsHelpers-bc8ff177.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
@@ -1,2 +1,53 @@
|
|
1
|
-
import{
|
1
|
+
import { B as BUILD, c as consoleDevInfo, H, d as doc, N as NAMESPACE, p as promiseResolve, b as bootstrapLazy } from './index-f19e63df.js';
|
2
|
+
export { s as setNonce } from './index-f19e63df.js';
|
3
|
+
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
4
|
+
|
5
|
+
/*
|
6
|
+
Stencil Client Patch Browser v4.12.5 | MIT Licensed | https://stenciljs.com
|
7
|
+
*/
|
8
|
+
const patchBrowser = () => {
|
9
|
+
// NOTE!! This fn cannot use async/await!
|
10
|
+
if (BUILD.isDev && !BUILD.isTesting) {
|
11
|
+
consoleDevInfo('Running in development mode.');
|
12
|
+
}
|
13
|
+
if (BUILD.cloneNodeFix) {
|
14
|
+
// opted-in to polyfill cloneNode() for slot polyfilled components
|
15
|
+
patchCloneNodeFix(H.prototype);
|
16
|
+
}
|
17
|
+
const scriptElm = BUILD.scriptDataOpts
|
18
|
+
? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\/${NAMESPACE}(\\.esm)?\\.js($|\\?|#)`).test(s.src) ||
|
19
|
+
s.getAttribute('data-stencil-namespace') === NAMESPACE)
|
20
|
+
: null;
|
21
|
+
const importMeta = import.meta.url;
|
22
|
+
const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};
|
23
|
+
if (importMeta !== '') {
|
24
|
+
opts.resourcesUrl = new URL('.', importMeta).href;
|
25
|
+
}
|
26
|
+
return promiseResolve(opts);
|
27
|
+
};
|
28
|
+
const patchCloneNodeFix = (HTMLElementPrototype) => {
|
29
|
+
const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;
|
30
|
+
HTMLElementPrototype.cloneNode = function (deep) {
|
31
|
+
if (this.nodeName === 'TEMPLATE') {
|
32
|
+
return nativeCloneNodeFn.call(this, deep);
|
33
|
+
}
|
34
|
+
const clonedNode = nativeCloneNodeFn.call(this, false);
|
35
|
+
const srcChildNodes = this.childNodes;
|
36
|
+
if (deep) {
|
37
|
+
for (let i = 0; i < srcChildNodes.length; i++) {
|
38
|
+
// Node.ATTRIBUTE_NODE === 2, and checking because IE11
|
39
|
+
if (srcChildNodes[i].nodeType !== 2) {
|
40
|
+
clonedNode.appendChild(srcChildNodes[i].cloneNode(true));
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
return clonedNode;
|
45
|
+
};
|
46
|
+
};
|
47
|
+
|
48
|
+
patchBrowser().then(async (options) => {
|
49
|
+
await globalScripts();
|
50
|
+
return bootstrapLazy([["cpsl-code-input",[[1,"cpsl-code-input",{"code":[1025],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"length":[2],"type":[1]}]]],["cpsl-input",[[1,"cpsl-input",{"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"noAutoDisable":[4,"no-auto-disable"],"autofocus":[4],"disabled":[4],"enterkeyhint":[1],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"inputmode":[1],"label":[1],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"startIconSrc":[1,"start-icon-src"],"startIcon":[1,"start-icon"],"step":[1],"type":[1],"value":[1025],"hasFocus":[32]},null,{"disabled":["handleDisable"]}]]],["cpsl-modal",[[1,"cpsl-modal",{"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"],"footerExpanded":[4,"footer-expanded"],"footerTransitionDuration":[2,"footer-transition-duration"],"noOverlay":[4,"no-overlay"],"open":[4],"hasFooter":[32]},null,{"footerExpanded":["toggleHeight"],"open":["toggleModal"]}]]],["cpsl-slide-button",[[1,"cpsl-slide-button",{"disabled":[4],"endIcon":[1,"end-icon"],"endText":[1,"end-text"],"startIcon":[1,"start-icon"],"startText":[1,"start-text"]}]]],["cpsl-tile-button",[[1,"cpsl-tile-button",{"src":[1],"icon":[1]}]]],["cpsl-alert",[[1,"cpsl-alert",{"type":[1],"icon":[1]}]]],["cpsl-animation",[[1,"cpsl-animation",{"src":[1],"replayAnimation":[64]}]]],["cpsl-button",[[1,"cpsl-button",{"disabled":[516],"variant":[513]}]]],["cpsl-col",[[1,"cpsl-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]]]],["cpsl-divider",[[1,"cpsl-divider"]]],["cpsl-grid",[[1,"cpsl-grid",{"fixed":[4]}]]],["cpsl-info-box",[[1,"cpsl-info-box"]]],["cpsl-pill",[[1,"cpsl-pill",{"text":[1]}]]],["cpsl-progress-indicator",[[1,"cpsl-progress-indicator",{"totalSteps":[2,"total-steps"],"step":[2]}]]],["cpsl-qr-code",[[1,"cpsl-qr-code",{"url":[1],"imageSrc":[1,"image-src"],"size":[2]}]]],["cpsl-row",[[1,"cpsl-row"]]],["cpsl-spinner",[[1,"cpsl-spinner",{"size":[2],"speed":[2]}]]],["cpsl-tab",[[1,"cpsl-tab",{"selected":[4],"tab":[1]},[[8,"cpslTabsChanged","onTabsChanged"],[8,"cpslTabsInit","onTabsInit"]]]]],["cpsl-tabs",[[1,"cpsl-tabs",{"fullWidth":[4,"full-width"],"selectedTab":[1,"selected-tab"],"selectedTabRect":[32],"loaded":[32]},null,{"fullWidth":["updateSlider"],"selectedTab":["updateTab"]}]]],["cpsl-text",[[1,"cpsl-text",{"color":[1],"variant":[1],"weight":[1]}]]],["cpsl-overlay",[[1,"cpsl-overlay",{"open":[4],"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"]},null,{"open":["toggleHeight"]}]]],["cpsl-icon",[[1,"cpsl-icon",{"src":[1],"icon":[1]}]]]], options);
|
51
|
+
});
|
52
|
+
|
2
53
|
//# sourceMappingURL=capsule.esm.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"
|
1
|
+
{"file":"capsule.esm.js","mappings":";;;;AAAA;AACA;AACA;AAGA,MAAM,YAAY,GAAG,MAAM;AAC3B;AACA,IAAI,IAAI,KAAK,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE;AACzC,QAAQ,cAAc,CAAC,8BAA8B,CAAC,CAAC;AACvD,KAAK;AACL,IAAI,IAAI,KAAK,CAAC,YAAY,EAAE;AAC5B;AACA,QAAQ,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;AACvC,KAAK;AACL,IAAI,MAAM,SAAS,GAAG,KAAK,CAAC,cAAc;AAC1C,UAAU,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,MAAM,CAAC,CAAC,EAAE,EAAE,SAAS,CAAC,uBAAuB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC;AAChI,YAAY,CAAC,CAAC,YAAY,CAAC,wBAAwB,CAAC,KAAK,SAAS,CAAC;AACnE,UAAU,IAAI,CAAC;AACf,IAAI,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;AACvC,IAAI,MAAM,IAAI,GAAG,KAAK,CAAC,cAAc,GAAG,CAAC,SAAS,IAAI,EAAE,EAAE,WAAW,CAAC,IAAI,EAAE,GAAG,EAAE,CAAC;AAClF,IAAI,IAAI,UAAU,KAAK,EAAE,EAAE;AAC3B,QAAQ,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AAC1D,KAAK;AACL,IAAI,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC,CAAC;AACF,MAAM,iBAAiB,GAAG,CAAC,oBAAoB,KAAK;AACpD,IAAI,MAAM,iBAAiB,GAAG,oBAAoB,CAAC,SAAS,CAAC;AAC7D,IAAI,oBAAoB,CAAC,SAAS,GAAG,UAAU,IAAI,EAAE;AACrD,QAAQ,IAAI,IAAI,CAAC,QAAQ,KAAK,UAAU,EAAE;AAC1C,YAAY,OAAO,iBAAiB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AACtD,SAAS;AACT,QAAQ,MAAM,UAAU,GAAG,iBAAiB,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC/D,QAAQ,MAAM,aAAa,GAAG,IAAI,CAAC,UAAU,CAAC;AAC9C,QAAQ,IAAI,IAAI,EAAE;AAClB,YAAY,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,aAAa,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AAC3D;AACA,gBAAgB,IAAI,aAAa,CAAC,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,EAAE;AACrD,oBAAoB,UAAU,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;AAC7E,iBAAiB;AACjB,aAAa;AACb,SAAS;AACT,QAAQ,OAAO,UAAU,CAAC;AAC1B,KAAK,CAAC;AACN,CAAC;;ACvCD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,OAAO,KAAK;AACvC,EAAE,MAAM,aAAa,EAAE,CAAC;AACxB,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC","names":[],"sources":["../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.12.5 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { r as registerInstance, h, a as Host } from './index-f19e63df.js';
|
2
|
+
import { I as Icons } from './index-3ac1b9e9.js';
|
3
|
+
|
4
|
+
const cpslAlertCss = ":host{--container-gap:8px;--container-padding-top:4px;--container-padding-bottom:4px;--container-padding-start:16px;--container-padding-end:16px;--container-font-size:clamp(12px, 0.75rem, 18px);--container-border-width:1px;--container-border-radius:var(--cpsl-border-radius-alert);display:inline-block;font-family:var(--cpsl-font-family, inherit)}:host(.error){--container-background-color:var(--cpsl-color-alert-surface-error);--container-border-color:var(--cpsl-color-alert-border-error);--container-color:var(--cpsl-color-text-error)}.alert-container{border-radius:var(--container-border-radius);-webkit-padding-start:var(--container-padding-start);padding-inline-start:var(--container-padding-start);-webkit-padding-end:var(--container-padding-end);padding-inline-end:var(--container-padding-end);padding-top:var(--container-padding-top);padding-bottom:var(--container-padding-bottom);font-size:var(--container-font-size);font-weight:500;display:flex;align-items:center;justify-content:center;gap:var(--container-gap);border-style:solid;border-width:var(--container-border-width);border-color:var(--container-border-color);background-color:var(--container-background-color);color:var(--container-color)}.icon{display:flex}";
|
5
|
+
|
6
|
+
const CpslAlert = class {
|
7
|
+
constructor(hostRef) {
|
8
|
+
registerInstance(this, hostRef);
|
9
|
+
this.type = 'error';
|
10
|
+
this.icon = undefined;
|
11
|
+
}
|
12
|
+
get Icon() {
|
13
|
+
if (Boolean(this.icon)) {
|
14
|
+
return Icons[this.icon];
|
15
|
+
}
|
16
|
+
switch (this.type) {
|
17
|
+
case 'error':
|
18
|
+
default: {
|
19
|
+
return Icons.alertCircle;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
render() {
|
24
|
+
return (h(Host, { key: 'dc86a2cfcc312f4697d67aecbd84dea037146d32', class: { error: this.type === 'error' } }, h("div", { key: 'd5d102a894ecc1ccc467537e769b7fd06b65638d', class: "alert-container" }, h("div", { key: '00cd13e8ffafd7dd0a052947a77714531f0ca97b', class: "icon", innerHTML: this.Icon }), h("slot", { key: 'd9c6fbbed43b6995381560d4e858fc26ba31fe99' }))));
|
25
|
+
}
|
26
|
+
};
|
27
|
+
CpslAlert.style = cpslAlertCss;
|
28
|
+
|
29
|
+
export { CpslAlert as cpsl_alert };
|
30
|
+
|
31
|
+
//# sourceMappingURL=cpsl-alert.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"cpsl-alert.entry.esm.js","mappings":";;;AAAA,MAAM,YAAY,GAAG,4sCAA4sC;;MCSptC,SAAS;;;oBAMK,OAAO;;;IAOhC,IAAY,IAAI;QACd,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;YACtB,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SACzB;QAED,QAAQ,IAAI,CAAC,IAAI;YACf,KAAK,OAAO,CAAC;YACb,SAAS;gBACP,OAAO,KAAK,CAAC,WAAW,CAAC;aAC1B;SACF;KACF;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,IAAI,KAAK,OAAO,EAAE,IAC3C,4DAAK,KAAK,EAAC,iBAAiB,IAC1B,4DAAK,KAAK,EAAC,MAAM,EAAC,SAAS,EAAE,IAAI,CAAC,IAAI,GAAI,EAC1C,8DAAa,CACT,CACD,EACP;KACH;;;;;;","names":[],"sources":["src/components/cpsl-alert/cpsl-alert.scss?tag=cpsl-alert&encapsulation=shadow","src/components/cpsl-alert/cpsl-alert.tsx"],"sourcesContent":["@import '../../themes/capsule.globals';\n\n:host {\n --container-gap: 8px;\n\n --container-padding-top: 4px;\n --container-padding-bottom: 4px;\n --container-padding-start: 16px;\n --container-padding-end: 16px;\n\n --container-font-size: #{dynamic-font-clamp(1, 12px, 1.5)};\n\n --container-border-width: 1px;\n --container-border-radius: var(--cpsl-border-radius-alert);\n\n display: inline-block;\n font-family: $font-family-base;\n}\n\n:host(.error) {\n --container-background-color: var(--cpsl-color-alert-surface-error);\n --container-border-color: var(--cpsl-color-alert-border-error);\n --container-color: var(--cpsl-color-text-error);\n}\n\n.alert-container {\n @include border-radius(var(--container-border-radius));\n @include padding(var(--container-padding-top), var(--container-padding-end), var(--container-padding-bottom), var(--container-padding-start));\n\n font-size: var(--container-font-size);\n font-weight: 500;\n\n display: flex;\n align-items: center;\n justify-content: center;\n gap: var(--container-gap);\n\n border-style: solid;\n border-width: var(--container-border-width);\n border-color: var(--container-border-color);\n\n background-color: var(--container-background-color);\n color: var(--container-color);\n}\n\n.icon {\n display: flex;\n}\n","import { Component, Host, Prop, h } from '@stencil/core';\nimport { Icons } from '../../assets/icons';\nimport { IconType } from '../../interface';\n\n@Component({\n tag: 'cpsl-alert',\n styleUrl: 'cpsl-alert.scss',\n shadow: true,\n})\nexport class CpslAlert {\n /**\n * The type of alert.\n * Options are: `\"error\"`\n * Default is: `\"error\"`.\n */\n @Prop() type?: 'error' = 'error';\n\n /**\n * The name of the icon to show.\n */\n @Prop() icon?: IconType;\n\n private get Icon() {\n if (Boolean(this.icon)) {\n return Icons[this.icon];\n }\n\n switch (this.type) {\n case 'error':\n default: {\n return Icons.alertCircle;\n }\n }\n }\n\n render() {\n return (\n <Host class={{ error: this.type === 'error' }}>\n <div class=\"alert-container\">\n <div class=\"icon\" innerHTML={this.Icon} />\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
@@ -1,12 +1,15 @@
|
|
1
|
-
import { r as registerInstance, h,
|
2
|
-
import { c as commonjsGlobal } from './_commonjsHelpers-
|
1
|
+
import { r as registerInstance, h, a as Host, g as getElement } from './index-f19e63df.js';
|
2
|
+
import { c as commonjsGlobal } from './_commonjsHelpers-bc8ff177.js';
|
3
3
|
|
4
4
|
var lottie$1 = {exports: {}};
|
5
5
|
|
6
6
|
(function (module, exports) {
|
7
7
|
(typeof navigator !== "undefined") && (function (global, factory) {
|
8
|
-
module.exports = factory()
|
9
|
-
|
8
|
+
'object' === 'object' && 'object' !== 'undefined' ? module.exports = factory() :
|
9
|
+
typeof undefined === 'function' && undefined.amd ? undefined(factory) :
|
10
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.lottie = factory());
|
11
|
+
})(commonjsGlobal, (function () { 'use strict';
|
12
|
+
|
10
13
|
var svgNS = 'http://www.w3.org/2000/svg';
|
11
14
|
var locationHref = '';
|
12
15
|
var _useWebWorker = false;
|
@@ -213,6 +216,7 @@ var lottie$1 = {exports: {}};
|
|
213
216
|
var expressionsInterfaces = null;
|
214
217
|
var idPrefix$1 = '';
|
215
218
|
var isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
|
219
|
+
var _shouldRoundValues = false;
|
216
220
|
var bmPow = Math.pow;
|
217
221
|
var bmSqrt = Math.sqrt;
|
218
222
|
var bmFloor = Math.floor;
|
@@ -230,6 +234,10 @@ var lottie$1 = {exports: {}};
|
|
230
234
|
}
|
231
235
|
})();
|
232
236
|
|
237
|
+
function ProjectInterface$1() {
|
238
|
+
return {};
|
239
|
+
}
|
240
|
+
|
233
241
|
BMMath.random = Math.random;
|
234
242
|
|
235
243
|
BMMath.abs = function (val) {
|
@@ -254,6 +262,18 @@ var lottie$1 = {exports: {}};
|
|
254
262
|
var degToRads = Math.PI / 180;
|
255
263
|
var roundCorner = 0.5519;
|
256
264
|
|
265
|
+
function roundValues(flag) {
|
266
|
+
_shouldRoundValues = !!flag;
|
267
|
+
}
|
268
|
+
|
269
|
+
function bmRnd(value) {
|
270
|
+
if (_shouldRoundValues) {
|
271
|
+
return Math.round(value);
|
272
|
+
}
|
273
|
+
|
274
|
+
return value;
|
275
|
+
}
|
276
|
+
|
257
277
|
function styleDiv(element) {
|
258
278
|
element.style.position = 'absolute';
|
259
279
|
element.style.top = 0;
|
@@ -309,6 +329,11 @@ var lottie$1 = {exports: {}};
|
|
309
329
|
this.nativeError = nativeError;
|
310
330
|
}
|
311
331
|
|
332
|
+
function BMAnimationConfigErrorEvent(type, nativeError) {
|
333
|
+
this.type = type;
|
334
|
+
this.nativeError = nativeError;
|
335
|
+
}
|
336
|
+
|
312
337
|
var createElementID = function () {
|
313
338
|
var _count = 0;
|
314
339
|
return function createID() {
|
@@ -368,6 +393,9 @@ var lottie$1 = {exports: {}};
|
|
368
393
|
g = p;
|
369
394
|
b = q;
|
370
395
|
break;
|
396
|
+
|
397
|
+
default:
|
398
|
+
break;
|
371
399
|
}
|
372
400
|
|
373
401
|
return [r, g, b];
|
@@ -400,6 +428,9 @@ var lottie$1 = {exports: {}};
|
|
400
428
|
h = r - g + d * 4;
|
401
429
|
h /= 6 * d;
|
402
430
|
break;
|
431
|
+
|
432
|
+
default:
|
433
|
+
break;
|
403
434
|
}
|
404
435
|
|
405
436
|
return [h, s, v];
|
@@ -507,6 +538,10 @@ var lottie$1 = {exports: {}};
|
|
507
538
|
idPrefix$1 = value;
|
508
539
|
};
|
509
540
|
|
541
|
+
var getIdPrefix = function getIdPrefix() {
|
542
|
+
return idPrefix$1;
|
543
|
+
};
|
544
|
+
|
510
545
|
function createNS(type) {
|
511
546
|
// return {appendChild:function(){},setAttribute:function(){},style:{}}
|
512
547
|
return document.createElementNS(svgNS, type);
|
@@ -596,7 +631,9 @@ var lottie$1 = {exports: {}};
|
|
596
631
|
completeLayers(layerData.layers, comps);
|
597
632
|
} else if (layerData.ty === 4) {
|
598
633
|
completeShapes(layerData.shapes);
|
599
|
-
} else
|
634
|
+
} else if (layerData.ty === 5) {
|
635
|
+
completeText(layerData);
|
636
|
+
}
|
600
637
|
}
|
601
638
|
}
|
602
639
|
}
|
@@ -1085,6 +1122,11 @@ var lottie$1 = {exports: {}};
|
|
1085
1122
|
animationData.__complete = true;
|
1086
1123
|
}
|
1087
1124
|
|
1125
|
+
function completeText(data) {
|
1126
|
+
if (data.t.a.length === 0 && !('m' in data.t.p)) {// data.singleShape = true;
|
1127
|
+
}
|
1128
|
+
}
|
1129
|
+
|
1088
1130
|
var moduleOb = {};
|
1089
1131
|
moduleOb.completeData = completeData;
|
1090
1132
|
moduleOb.checkColors = checkColors;
|
@@ -3814,6 +3856,9 @@ var lottie$1 = {exports: {}};
|
|
3814
3856
|
case 1:
|
3815
3857
|
p = new KeyframedMultidimensionalProperty(elem, data, mult, container);
|
3816
3858
|
break;
|
3859
|
+
|
3860
|
+
default:
|
3861
|
+
break;
|
3817
3862
|
}
|
3818
3863
|
}
|
3819
3864
|
|
@@ -5122,13 +5167,18 @@ var lottie$1 = {exports: {}};
|
|
5122
5167
|
|
5123
5168
|
function _typeof$3(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$3 = function _typeof(obj) { return typeof obj; }; } else { _typeof$3 = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$3(obj); }
|
5124
5169
|
var lottie = {};
|
5170
|
+
var standalone = '__[STANDALONE]__';
|
5171
|
+
var animationData = '__[ANIMATIONDATA]__';
|
5172
|
+
var renderer = '';
|
5125
5173
|
|
5126
5174
|
function setLocation(href) {
|
5127
5175
|
setLocationHref(href);
|
5128
5176
|
}
|
5129
5177
|
|
5130
5178
|
function searchAnimations() {
|
5131
|
-
{
|
5179
|
+
if (standalone === true) {
|
5180
|
+
animationManager.searchAnimations(animationData, standalone, renderer);
|
5181
|
+
} else {
|
5132
5182
|
animationManager.searchAnimations();
|
5133
5183
|
}
|
5134
5184
|
}
|
@@ -5142,6 +5192,9 @@ var lottie$1 = {exports: {}};
|
|
5142
5192
|
}
|
5143
5193
|
|
5144
5194
|
function loadAnimation(params) {
|
5195
|
+
if (standalone === true) {
|
5196
|
+
params.animationData = JSON.parse(animationData);
|
5197
|
+
}
|
5145
5198
|
|
5146
5199
|
return animationManager.loadAnimation(params);
|
5147
5200
|
}
|
@@ -5165,6 +5218,12 @@ var lottie$1 = {exports: {}};
|
|
5165
5218
|
} else if (!isNaN(value) && value > 1) {
|
5166
5219
|
setDefaultCurveSegments(value);
|
5167
5220
|
}
|
5221
|
+
|
5222
|
+
if (getDefaultCurveSegments() >= 50) {
|
5223
|
+
roundValues(false);
|
5224
|
+
} else {
|
5225
|
+
roundValues(true);
|
5226
|
+
}
|
5168
5227
|
}
|
5169
5228
|
|
5170
5229
|
function inBrowser() {
|
@@ -5246,7 +5305,7 @@ var lottie$1 = {exports: {}};
|
|
5246
5305
|
|
5247
5306
|
var queryString = '';
|
5248
5307
|
|
5249
|
-
{
|
5308
|
+
if (standalone) {
|
5250
5309
|
var scripts = document.getElementsByTagName('script');
|
5251
5310
|
var index = scripts.length - 1;
|
5252
5311
|
var myScript = scripts[index] || {
|
@@ -5254,13 +5313,13 @@ var lottie$1 = {exports: {}};
|
|
5254
5313
|
};
|
5255
5314
|
queryString = myScript.src ? myScript.src.replace(/^[^\?]+\??/, '') : ''; // eslint-disable-line no-useless-escape
|
5256
5315
|
|
5257
|
-
getQueryVariable('renderer');
|
5316
|
+
renderer = getQueryVariable('renderer');
|
5258
5317
|
}
|
5259
5318
|
|
5260
5319
|
var readyStateCheckInterval = setInterval(checkReady, 100); // this adds bodymovin to the window object for backwards compatibility
|
5261
5320
|
|
5262
5321
|
try {
|
5263
|
-
if (!((_typeof$3(exports)) === 'object' && 'object' !== 'undefined') && !(typeof undefined === 'function' ) // eslint-disable-line no-undef
|
5322
|
+
if (!(('object' === "undefined" ? "undefined" : _typeof$3(exports)) === 'object' && 'object' !== 'undefined') && !(typeof undefined === 'function' && undefined.amd) // eslint-disable-line no-undef
|
5264
5323
|
) {
|
5265
5324
|
window.bodymovin = lottie;
|
5266
5325
|
}
|
@@ -6781,7 +6840,7 @@ var lottie$1 = {exports: {}};
|
|
6781
6840
|
var nextPoint = path.v[(cur + 1) % path._length];
|
6782
6841
|
var prevDist = pointType === 2 ? Math.sqrt(Math.pow(point[0] - prevPoint[0], 2) + Math.pow(point[1] - prevPoint[1], 2)) : 0;
|
6783
6842
|
var nextDist = pointType === 2 ? Math.sqrt(Math.pow(point[0] - nextPoint[0], 2) + Math.pow(point[1] - nextPoint[1], 2)) : 0;
|
6784
|
-
setPoint(outputBezier, path.v[cur % path._length], angle, direction, amplitude, nextDist / ((frequency + 1) * 2), prevDist / ((frequency + 1) * 2));
|
6843
|
+
setPoint(outputBezier, path.v[cur % path._length], angle, direction, amplitude, nextDist / ((frequency + 1) * 2), prevDist / ((frequency + 1) * 2), pointType);
|
6785
6844
|
}
|
6786
6845
|
|
6787
6846
|
function zigZagSegment(outputBezier, segment, amplitude, frequency, pointType, direction) {
|
@@ -6790,7 +6849,7 @@ var lottie$1 = {exports: {}};
|
|
6790
6849
|
var dist = pointType === 2 ? Math.sqrt(Math.pow(segment.points[3][0] - segment.points[0][0], 2) + Math.pow(segment.points[3][1] - segment.points[0][1], 2)) : 0;
|
6791
6850
|
var angle = segment.normalAngle(t);
|
6792
6851
|
var point = segment.point(t);
|
6793
|
-
setPoint(outputBezier, point, angle, direction, amplitude, dist / ((frequency + 1) * 2), dist / ((frequency + 1) * 2));
|
6852
|
+
setPoint(outputBezier, point, angle, direction, amplitude, dist / ((frequency + 1) * 2), dist / ((frequency + 1) * 2), pointType);
|
6794
6853
|
direction = -direction;
|
6795
6854
|
}
|
6796
6855
|
|
@@ -7145,6 +7204,9 @@ var lottie$1 = {exports: {}};
|
|
7145
7204
|
case 'thin':
|
7146
7205
|
fWeight = '200';
|
7147
7206
|
break;
|
7207
|
+
|
7208
|
+
default:
|
7209
|
+
break;
|
7148
7210
|
}
|
7149
7211
|
}
|
7150
7212
|
|
@@ -8365,6 +8427,10 @@ var lottie$1 = {exports: {}};
|
|
8365
8427
|
if (this.data.ao) {
|
8366
8428
|
this.finalTransform.mProp.autoOriented = true;
|
8367
8429
|
} // TODO: check TYPE 11: Guided elements
|
8430
|
+
|
8431
|
+
|
8432
|
+
if (this.data.ty !== 11) {// this.createElements();
|
8433
|
+
}
|
8368
8434
|
},
|
8369
8435
|
renderTransform: function renderTransform() {
|
8370
8436
|
this.finalTransform._opMdf = this.finalTransform.mProp.o._mdf || this._isFirstFrame;
|
@@ -11442,6 +11508,9 @@ var lottie$1 = {exports: {}};
|
|
11442
11508
|
case 2:
|
11443
11509
|
currentLength += (totalLength - documentData.lineWidths[letters[i].line]) / 2;
|
11444
11510
|
break;
|
11511
|
+
|
11512
|
+
default:
|
11513
|
+
break;
|
11445
11514
|
}
|
11446
11515
|
|
11447
11516
|
currentLine = letters[i].line;
|
@@ -11778,6 +11847,9 @@ var lottie$1 = {exports: {}};
|
|
11778
11847
|
case 2:
|
11779
11848
|
matrixHelper.translate(letters[i].animatorJustifyOffset + documentData.justifyOffset + (documentData.boxWidth - documentData.lineWidths[letters[i].line]) / 2, 0, 0);
|
11780
11849
|
break;
|
11850
|
+
|
11851
|
+
default:
|
11852
|
+
break;
|
11781
11853
|
}
|
11782
11854
|
|
11783
11855
|
matrixHelper.translate(0, -documentData.ls);
|
@@ -11890,6 +11962,9 @@ var lottie$1 = {exports: {}};
|
|
11890
11962
|
case 2:
|
11891
11963
|
matrixHelper.translate(documentData.justifyOffset + (documentData.boxWidth - documentData.lineWidths[lineNumber]) / 2, 0, 0);
|
11892
11964
|
break;
|
11965
|
+
|
11966
|
+
default:
|
11967
|
+
break;
|
11893
11968
|
}
|
11894
11969
|
|
11895
11970
|
matrixHelper.translate(xPos, yPos, 0);
|
@@ -13632,7 +13707,8 @@ var lottie$1 = {exports: {}};
|
|
13632
13707
|
this.renderGradientFill(items[i], data[i], groupTransform);
|
13633
13708
|
} else if (items[i].ty === 'gr') {
|
13634
13709
|
this.renderShape(groupTransform, items[i].it, data[i].it);
|
13635
|
-
} else
|
13710
|
+
} else if (items[i].ty === 'tm') {//
|
13711
|
+
}
|
13636
13712
|
}
|
13637
13713
|
|
13638
13714
|
if (isMain) {
|
@@ -15032,7 +15108,8 @@ var lottie$1 = {exports: {}};
|
|
15032
15108
|
|
15033
15109
|
c |= 0; // eslint-disable-line no-bitwise
|
15034
15110
|
|
15035
|
-
if (a === 0 && b === 0)
|
15111
|
+
if (a === 0 && b === 0) {//
|
15112
|
+
} else if (a === 0) {
|
15036
15113
|
t = -c / b;
|
15037
15114
|
|
15038
15115
|
if (t > 0 && t < 1) {
|
@@ -16177,8 +16254,8 @@ var lottie$1 = {exports: {}};
|
|
16177
16254
|
startdenom = math.pow(width, chunks),
|
16178
16255
|
significance = math.pow(2, digits),
|
16179
16256
|
overflow = significance * 2,
|
16180
|
-
mask = width - 1
|
16181
|
-
// node.js crypto module, initialized at the bottom.
|
16257
|
+
mask = width - 1,
|
16258
|
+
nodecrypto; // node.js crypto module, initialized at the bottom.
|
16182
16259
|
//
|
16183
16260
|
// seedrandom()
|
16184
16261
|
// This is the seedrandom function described above.
|
@@ -16369,6 +16446,9 @@ var lottie$1 = {exports: {}};
|
|
16369
16446
|
|
16370
16447
|
function autoseed() {
|
16371
16448
|
try {
|
16449
|
+
if (nodecrypto) {
|
16450
|
+
return tostring(nodecrypto.randomBytes(width));
|
16451
|
+
}
|
16372
16452
|
|
16373
16453
|
var out = new Uint8Array(width);
|
16374
16454
|
(global.crypto || global.msCrypto).getRandomValues(out);
|
@@ -16402,6 +16482,8 @@ var lottie$1 = {exports: {}};
|
|
16402
16482
|
// End anonymous scope, and pass initial values.
|
16403
16483
|
}
|
16404
16484
|
|
16485
|
+
;
|
16486
|
+
|
16405
16487
|
function initialize$2(BMMath) {
|
16406
16488
|
seedRandom([], BMMath);
|
16407
16489
|
}
|
@@ -16413,6 +16495,7 @@ var lottie$1 = {exports: {}};
|
|
16413
16495
|
function _typeof$1(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$1 = function _typeof(obj) { return typeof obj; }; } else { _typeof$1 = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$1(obj); }
|
16414
16496
|
|
16415
16497
|
var ExpressionManager = function () {
|
16498
|
+
'use strict';
|
16416
16499
|
|
16417
16500
|
var ob = {};
|
16418
16501
|
var Math = BMMath;
|
@@ -16736,6 +16819,9 @@ var lottie$1 = {exports: {}};
|
|
16736
16819
|
case b:
|
16737
16820
|
h = (r - g) / d + 4;
|
16738
16821
|
break;
|
16822
|
+
|
16823
|
+
default:
|
16824
|
+
break;
|
16739
16825
|
}
|
16740
16826
|
|
16741
16827
|
h /= 6;
|
@@ -17188,6 +17274,8 @@ var lottie$1 = {exports: {}};
|
|
17188
17274
|
var textTotal;
|
17189
17275
|
var selectorValue;
|
17190
17276
|
var index = elem.data.ind;
|
17277
|
+
var hasParent = !!(elem.hierarchy && elem.hierarchy.length);
|
17278
|
+
var parent;
|
17191
17279
|
var randSeed = Math.floor(Math.random() * 1000000);
|
17192
17280
|
var globalData = elem.globalData;
|
17193
17281
|
|
@@ -17237,6 +17325,12 @@ var lottie$1 = {exports: {}};
|
|
17237
17325
|
effect = thisLayer(4);
|
17238
17326
|
}
|
17239
17327
|
|
17328
|
+
hasParent = !!(elem.hierarchy && elem.hierarchy.length);
|
17329
|
+
|
17330
|
+
if (hasParent && !parent) {
|
17331
|
+
parent = elem.hierarchy[0].layerInterface;
|
17332
|
+
}
|
17333
|
+
|
17240
17334
|
time = this.comp.renderedFrame / this.comp.globalData.frameRate;
|
17241
17335
|
|
17242
17336
|
if (_needsRandom) {
|
@@ -18032,7 +18126,8 @@ var lottie$1 = {exports: {}};
|
|
18032
18126
|
arr.push(strokeInterfaceFactory(shapes[i], view[i], propertyGroup));
|
18033
18127
|
} else if (shapes[i].ty === 'tm') {
|
18034
18128
|
arr.push(trimInterfaceFactory(shapes[i], view[i], propertyGroup));
|
18035
|
-
} else if (shapes[i].ty === 'tr')
|
18129
|
+
} else if (shapes[i].ty === 'tr') {// arr.push(transformInterfaceFactory(shapes[i],view[i],propertyGroup));
|
18130
|
+
} else if (shapes[i].ty === 'el') {
|
18036
18131
|
arr.push(ellipseInterfaceFactory(shapes[i], view[i], propertyGroup));
|
18037
18132
|
} else if (shapes[i].ty === 'sr') {
|
18038
18133
|
arr.push(starInterfaceFactory(shapes[i], view[i], propertyGroup));
|
@@ -18047,7 +18142,7 @@ var lottie$1 = {exports: {}};
|
|
18047
18142
|
} else if (shapes[i].ty === 'gf') {
|
18048
18143
|
arr.push(gradientFillInterfaceFactory(shapes[i], view[i], propertyGroup));
|
18049
18144
|
} else {
|
18050
|
-
arr.push(defaultInterfaceFactory());
|
18145
|
+
arr.push(defaultInterfaceFactory(shapes[i], view[i], propertyGroup));
|
18051
18146
|
}
|
18052
18147
|
}
|
18053
18148
|
|
@@ -20070,7 +20165,6 @@ var lottie$1 = {exports: {}};
|
|
20070
20165
|
const lottie = lottie$1.exports;
|
20071
20166
|
|
20072
20167
|
const cpslAnimationCss = ":host{position:absolute;height:100%;width:100%;display:block;pointer-events:none}:host .background-16 path{fill:var(--cpsl-color-background-16)}:host .background-48 path{fill:var(--cpsl-color-background-48)}:host .background-80 path{fill:var(--cpsl-color-background-80)}";
|
20073
|
-
const CpslAnimationStyle0 = cpslAnimationCss;
|
20074
20168
|
|
20075
20169
|
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
20076
20170
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
@@ -20114,11 +20208,11 @@ const CpslAnimation = class {
|
|
20114
20208
|
return this.el.shadowRoot.getElementById('animation-container');
|
20115
20209
|
}
|
20116
20210
|
render() {
|
20117
|
-
return (h(Host, { key: '
|
20211
|
+
return (h(Host, { key: '0da57715c4afa22cc2ffc7c3251157057f0fb753' }, h("div", { key: 'ed125bd2e1fb094bce489327f0eb6a68eaa2f51b', part: "animation-container", id: "animation-container", class: "animation-container" })));
|
20118
20212
|
}
|
20119
20213
|
get el() { return getElement(this); }
|
20120
20214
|
};
|
20121
|
-
CpslAnimation.style =
|
20215
|
+
CpslAnimation.style = cpslAnimationCss;
|
20122
20216
|
|
20123
20217
|
export { CpslAnimation as cpsl_animation };
|
20124
20218
|
|