@usecapsule/core-components 3.4.1 → 3.5.1-dev.1
Sign up to get free protection for your applications and to get access to all the features.
- package/css/capsule-core.css +1 -1
- package/dist/capsule/capsule.esm.js +1 -1
- package/dist/capsule/capsule.esm.js.map +1 -1
- package/dist/capsule/index.esm.js +1 -1
- package/dist/capsule/index.esm.js.map +1 -1
- package/dist/capsule/p-286db996.js +2 -0
- package/dist/capsule/p-286db996.js.map +1 -0
- package/dist/capsule/{p-f0cd0482.entry.js → p-41bc3c58.entry.js} +2 -2
- package/dist/capsule/p-4da7328c.entry.js +20 -0
- package/dist/capsule/p-4da7328c.entry.js.map +1 -0
- package/dist/capsule/p-52bb30d8.entry.js +2 -0
- package/dist/capsule/p-52bb30d8.entry.js.map +1 -0
- package/dist/capsule/{p-5965b15e.entry.js → p-5cd62456.entry.js} +2 -2
- package/dist/capsule/{p-b96e357a.entry.js → p-7dff759e.entry.js} +2 -2
- package/dist/capsule/p-7dff759e.entry.js.map +1 -0
- package/dist/capsule/p-ab7b3141.entry.js +2 -0
- package/dist/capsule/{p-1bd11889.entry.js → p-c9e61114.entry.js} +2 -2
- package/dist/capsule/{p-9e64a60e.entry.js → p-d4bdb369.entry.js} +2 -2
- package/dist/capsule/{p-d165df27.entry.js → p-de2a16e4.entry.js} +2 -2
- package/dist/cjs/capsule.cjs.js +1 -1
- package/dist/cjs/cpsl-alert_34.cjs.entry.js +553 -54
- package/dist/cjs/cpsl-alert_34.cjs.entry.js.map +1 -1
- package/dist/cjs/cpsl-col.cjs.entry.js +1 -1
- package/dist/cjs/cpsl-grid.cjs.entry.js +2 -2
- package/dist/cjs/cpsl-hero.cjs.entry.js +8 -4
- package/dist/cjs/cpsl-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/cpsl-identicon.cjs.entry.js +76 -30
- package/dist/cjs/cpsl-identicon.cjs.entry.js.map +1 -1
- package/dist/cjs/cpsl-info-box.cjs.entry.js +1 -1
- package/dist/cjs/cpsl-modal-v2.cjs.entry.js +1 -1
- package/dist/cjs/cpsl-nav-button.cjs.entry.js +1 -1
- package/dist/cjs/cpsl-row.cjs.entry.js +1 -1
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/prand-a35ea6b2.js +209 -0
- package/dist/cjs/prand-a35ea6b2.js.map +1 -0
- package/dist/collection/assets/icons/alert-triangle.svg +5 -0
- package/dist/collection/assets/icons/arrow-circle-down-filled.svg +5 -0
- package/dist/collection/assets/icons/check-circle-filled.svg +5 -0
- package/dist/collection/assets/icons/chevron-down.svg +5 -0
- package/dist/collection/assets/icons/chevron-selector-vertical.svg +5 -0
- package/dist/collection/assets/icons/cosmos.svg +12 -0
- package/dist/collection/assets/icons/credit-card-02.svg +5 -0
- package/dist/collection/assets/icons/edit-02.svg +5 -0
- package/dist/collection/assets/icons/ethereum.svg +4 -0
- package/dist/collection/assets/icons/index.js +375 -1
- package/dist/collection/assets/icons/index.js.map +1 -1
- package/dist/collection/assets/icons/plus.svg +5 -0
- package/dist/collection/assets/icons/polygon.svg +5 -0
- package/dist/collection/assets/icons/solana.svg +19 -0
- package/dist/collection/assets/icons/star-04-filled.svg +3 -0
- package/dist/collection/assets/icons/user.svg +5 -0
- package/dist/collection/assets/images/index.js +5 -1
- package/dist/collection/assets/images/index.js.map +1 -1
- package/dist/collection/components/cpsl-alert/cpsl-alert.css +23 -2
- package/dist/collection/components/cpsl-alert/cpsl-alert.js +21 -3
- package/dist/collection/components/cpsl-alert/cpsl-alert.js.map +1 -1
- package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js +3 -3
- package/dist/collection/components/cpsl-auth-modal/cpsl-auth-modal.css +6 -1
- package/dist/collection/components/cpsl-avatar/cpsl-avatar.js +1 -1
- package/dist/collection/components/cpsl-button/cpsl-button.css +1 -1
- package/dist/collection/components/cpsl-button/cpsl-button.js +2 -2
- package/dist/collection/components/cpsl-button-group/cpsl-button-group.js +1 -1
- package/dist/collection/components/cpsl-card/cpsl-card.js +1 -1
- package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.js +1 -1
- package/dist/collection/components/cpsl-code-input/cpsl-code-input.js +2 -2
- package/dist/collection/components/cpsl-col/cpsl-col.js +1 -1
- package/dist/collection/components/cpsl-divider/cpsl-divider.js +1 -1
- package/dist/collection/components/cpsl-drawer/cpsl-drawer.js +2 -2
- package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js +1 -1
- package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js +20 -1
- package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js.map +1 -1
- package/dist/collection/components/cpsl-grid/cpsl-grid.js +2 -2
- package/dist/collection/components/cpsl-hero/cpsl-hero.css +4 -4
- package/dist/collection/components/cpsl-hero/cpsl-hero.js +2 -2
- package/dist/collection/components/cpsl-hero/cpsl-hero.js.map +1 -1
- package/dist/collection/components/cpsl-icon/cpsl-icon.js +2 -2
- package/dist/collection/components/cpsl-icon-group/cpsl-icon-group.js +1 -1
- package/dist/collection/components/cpsl-identicon/cpsl-identicon.css +17 -10
- package/dist/collection/components/cpsl-identicon/cpsl-identicon.js +101 -36
- package/dist/collection/components/cpsl-identicon/cpsl-identicon.js.map +1 -1
- package/dist/collection/components/cpsl-identicon/cpsl-identicon.stories.js +1 -1
- package/dist/collection/components/cpsl-identicon/cpsl-identicon.stories.js.map +1 -1
- package/dist/collection/components/cpsl-info-box/cpsl-info-box.js +1 -1
- package/dist/collection/components/cpsl-input/cpsl-input.js +22 -2
- package/dist/collection/components/cpsl-input/cpsl-input.js.map +1 -1
- package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js +1 -1
- package/dist/collection/components/cpsl-nav-button/cpsl-nav-button.js +1 -1
- package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js +1 -1
- package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +1 -1
- package/dist/collection/components/cpsl-pagination/cpsl-pagination.js +1 -1
- package/dist/collection/components/cpsl-pill/cpsl-pill.js +1 -1
- package/dist/collection/components/cpsl-popover/cpsl-popover.js +6 -3
- package/dist/collection/components/cpsl-popover/cpsl-popover.js.map +1 -1
- package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +1 -1
- package/dist/collection/components/cpsl-radio/cpsl-radio.js +1 -1
- package/dist/collection/components/cpsl-row/cpsl-row.js +1 -1
- package/dist/collection/components/cpsl-select/cpsl-select.css +1 -0
- package/dist/collection/components/cpsl-select/cpsl-select.js +45 -2
- package/dist/collection/components/cpsl-select/cpsl-select.js.map +1 -1
- package/dist/collection/components/cpsl-select-item/cpsl-select-item.js +1 -1
- package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +3 -3
- package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +2 -2
- package/dist/collection/components/cpsl-switch/cpsl-switch.js +1 -1
- package/dist/collection/components/cpsl-tab/cpsl-tab.css +4 -4
- package/dist/collection/components/cpsl-tab/cpsl-tab.js +32 -1
- package/dist/collection/components/cpsl-tab/cpsl-tab.js.map +1 -1
- package/dist/collection/components/cpsl-tab/tab-interface.js.map +1 -1
- package/dist/collection/components/cpsl-table/cpsl-table.js +1 -1
- package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +16 -1
- package/dist/collection/components/cpsl-tabs/cpsl-tabs.js.map +1 -1
- package/dist/collection/components/cpsl-text/cpsl-text.js +9 -8
- package/dist/collection/components/cpsl-text/cpsl-text.js.map +1 -1
- package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +2 -2
- package/dist/collection/index.js +1 -0
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/lib/prando.js +187 -0
- package/dist/collection/lib/prando.js.map +1 -0
- package/dist/collection/utils/prand.js +16 -0
- package/dist/collection/utils/prand.js.map +1 -0
- package/dist/esm/capsule.js +1 -1
- package/dist/esm/cpsl-alert_34.entry.js +553 -54
- package/dist/esm/cpsl-alert_34.entry.js.map +1 -1
- package/dist/esm/cpsl-col.entry.js +1 -1
- package/dist/esm/cpsl-grid.entry.js +2 -2
- package/dist/esm/cpsl-hero.entry.js +8 -4
- package/dist/esm/cpsl-hero.entry.js.map +1 -1
- package/dist/esm/cpsl-identicon.entry.js +76 -30
- package/dist/esm/cpsl-identicon.entry.js.map +1 -1
- package/dist/esm/cpsl-info-box.entry.js +1 -1
- package/dist/esm/cpsl-modal-v2.entry.js +1 -1
- package/dist/esm/cpsl-nav-button.entry.js +1 -1
- package/dist/esm/cpsl-row.entry.js +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/prand-c8323494.js +205 -0
- package/dist/esm/prand-c8323494.js.map +1 -0
- package/dist/scripts/buildAssets.js +9 -9
- package/dist/scripts/buildAssets.js.map +1 -1
- package/dist/types/assets/icons/index.d.ts +14 -0
- package/dist/types/components/cpsl-alert/cpsl-alert.d.ts +4 -0
- package/dist/types/components/cpsl-file-upload/cpsl-file-upload.d.ts +5 -0
- package/dist/types/components/cpsl-identicon/cpsl-identicon.d.ts +5 -4
- package/dist/types/components/cpsl-input/cpsl-input.d.ts +4 -0
- package/dist/types/components/cpsl-select/cpsl-select.d.ts +10 -0
- package/dist/types/components/cpsl-tab/cpsl-tab.d.ts +7 -1
- package/dist/types/components/cpsl-tab/tab-interface.d.ts +3 -0
- package/dist/types/components/cpsl-tabs/cpsl-tabs.d.ts +2 -0
- package/dist/types/components.d.ts +51 -8
- package/dist/types/index.d.ts +1 -0
- package/dist/types/lib/prando.d.ts +92 -0
- package/dist/types/utils/prand.d.ts +3 -0
- package/package.json +4 -5
- package/dist/capsule/p-5d62e610.entry.js +0 -2
- package/dist/capsule/p-5d62e610.entry.js.map +0 -1
- package/dist/capsule/p-afbb1e6f.entry.js +0 -20
- package/dist/capsule/p-afbb1e6f.entry.js.map +0 -1
- package/dist/capsule/p-b96e357a.entry.js.map +0 -1
- package/dist/capsule/p-cfc382c0.entry.js +0 -2
- /package/dist/capsule/{p-f0cd0482.entry.js.map → p-41bc3c58.entry.js.map} +0 -0
- /package/dist/capsule/{p-5965b15e.entry.js.map → p-5cd62456.entry.js.map} +0 -0
- /package/dist/capsule/{p-cfc382c0.entry.js.map → p-ab7b3141.entry.js.map} +0 -0
- /package/dist/capsule/{p-1bd11889.entry.js.map → p-c9e61114.entry.js.map} +0 -0
- /package/dist/capsule/{p-9e64a60e.entry.js.map → p-d4bdb369.entry.js.map} +0 -0
- /package/dist/capsule/{p-d165df27.entry.js.map → p-de2a16e4.entry.js.map} +0 -0
- /package/dist/types/Users/{norwood/capsule-repos → taylorbosch/Documents/GitHub/Capsule}/web-sdk/packages/core-components/.stencil/scripts/buildAssets.d.ts +0 -0
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
const index = require('./index-65f57499.js');
|
6
6
|
const constants = require('./constants-9b1b01bb.js');
|
7
7
|
|
8
|
-
const cpslAlertCss = ":host{--container-gap:8px;--container-padding-top:14px;--container-padding-bottom:14px;--container-padding-start:16px;--container-padding-end:16px;--container-font-size:var(--cpsl-font-size-body-m);--container-border-width:1px;--container-border-radius:var(--cpsl-border-radius-alert);--container-background-color:var(--cpsl-color-background-0);--container-color:var(--cpsl-color-text-primary);--container-icon-color:var(--container-color);display:inline-block;font-family:var(--cpsl-font-family, inherit)}:host(.error){--container-border-color:var(--cpsl-color-utility-red)}:host(.warning){--container-border-color:var(--cpsl-color-utility-yellow)}:host(.success){--container-border-color:var(--cpsl-color-utility-green)}:host cpsl-icon{--icon-color:var(--container-icon-color);--height:20px;--width:20px}.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);display:flex;align-items:
|
8
|
+
const cpslAlertCss = ":host{--container-gap:8px;--container-padding-top:14px;--container-padding-bottom:14px;--container-padding-start:16px;--container-padding-end:16px;--container-font-size:var(--cpsl-font-size-body-m);--container-border-width:1px;--container-border-radius:var(--cpsl-border-radius-alert);--container-background-color:var(--cpsl-color-background-0);--container-color:var(--cpsl-color-text-primary);--container-icon-color:var(--container-color);--container-align-items:center;--container-justify-content:center;--title-container-gap:8px;--title-container-align-items:center;--title-container-justify-content:center;display:inline-block;font-family:var(--cpsl-font-family, inherit)}:host(.error){--container-border-color:var(--cpsl-color-utility-red)}:host(.error):host(.filled){--container-background-color:var(--cpsl-color-utility-red-light)}:host(.warning){--container-border-color:var(--cpsl-color-utility-yellow)}:host(.warning):host(.filled){--container-background-color:var(--cpsl-color-utility-yellow-light)}:host(.success){--container-border-color:var(--cpsl-color-utility-green)}:host(.success):host(.filled){--container-background-color:var(--cpsl-color-utility-green-light)}:host cpsl-icon{--icon-color:var(--container-icon-color);--height:20px;--width:20px}.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);display:flex;align-items:var(--container-align-items);justify-content:var(--container-justify-content);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)}.title-container{display:flex;align-items:var(--title-container-align-items);justify-content:var(--title-container-justify-content);gap:var(--title-container-gap)}";
|
9
9
|
const CpslAlertStyle0 = cpslAlertCss;
|
10
10
|
|
11
11
|
const CpslAlert = class {
|
@@ -13,8 +13,12 @@ const CpslAlert = class {
|
|
13
13
|
index.registerInstance(this, hostRef);
|
14
14
|
this.icon = undefined;
|
15
15
|
this.variant = 'error';
|
16
|
+
this.filled = undefined;
|
16
17
|
}
|
17
18
|
get iconType() {
|
19
|
+
if (this.icon) {
|
20
|
+
return this.icon;
|
21
|
+
}
|
18
22
|
switch (this.variant) {
|
19
23
|
case 'custom': {
|
20
24
|
return undefined;
|
@@ -32,7 +36,7 @@ const CpslAlert = class {
|
|
32
36
|
}
|
33
37
|
}
|
34
38
|
render() {
|
35
|
-
return (index.h(index.Host, { key: '
|
39
|
+
return (index.h(index.Host, { key: 'b3d99e91886b9f3c226c607a2755ec07eb490284', class: { error: this.variant === 'error', warning: this.variant === 'warning', success: this.variant === 'success', filled: this.filled } }, index.h("div", { key: '18d3cdfce1717d8980133650e37350e299badb73', class: "alert-container" }, index.h("div", { key: 'a5974d2702eb9da75b7b09cc922d9beebbc0cef1', class: "title-container" }, this.iconType && index.h("cpsl-icon", { key: 'c700339138baadd297ba39f5f28a9d519d467988', icon: this.iconType }), index.h("slot", { key: 'f3f6d037235e72ecfd91a70bfef118bbebe9563a' })), index.h("slot", { key: '06bf3e5d838e39a4771aef6bbf343d55142f1a0f', name: "subtitle" }))));
|
36
40
|
}
|
37
41
|
};
|
38
42
|
CpslAlert.style = CpslAlertStyle0;
|
@@ -48,13 +52,13 @@ const CpslAppBar = class {
|
|
48
52
|
this.zIndexOverride = undefined;
|
49
53
|
}
|
50
54
|
render() {
|
51
|
-
return (index.h(index.Host, { key: '
|
55
|
+
return (index.h(index.Host, { key: '281c1ebcc7ad61ccbd6878fb31d9b52a5860c273', style: Object.assign({
|
52
56
|
// position: this.position,
|
53
57
|
height: `${this.height}px`
|
54
|
-
}, (this.zIndexOverride ? { zIndex: `${this.zIndexOverride}` } : {})) }, index.h("div", { key: '
|
58
|
+
}, (this.zIndexOverride ? { zIndex: `${this.zIndexOverride}` } : {})) }, index.h("div", { key: '90fdd0e77212ac8a1c861e2402b34b15a9d26f7b', class: "container", part: "container", style: {
|
55
59
|
position: this.position,
|
56
60
|
height: `${this.height}px`,
|
57
|
-
} }, index.h("slot", { key: '
|
61
|
+
} }, index.h("slot", { key: '6aa42ab3e08a7d0629082a0bbba2831b1c9374f2' })), this.position === 'fixed' && (index.h("div", { key: '99169fc7212b22fcaa2e490ee2f6a7aad750e5a3', style: {
|
58
62
|
height: `${this.height}px`,
|
59
63
|
} }))));
|
60
64
|
}
|
@@ -6101,7 +6105,7 @@ gsap.registerPlugin(CSSPlugin);
|
|
6101
6105
|
|
6102
6106
|
var gsapWithCSS = gsap.registerPlugin(CSSPlugin) || gsap;
|
6103
6107
|
|
6104
|
-
const cpslAuthModalCss = ":host{--container-width:560px;--container-gap:8px;display:block;z-index:10011;position:relative}:host cpsl-overlay{z-index:10011}@media (max-width: 480px){:host(.include-mobile-styling) .modal-wrapper{scale:none;top:100%;left:0;height:unset;opacity:1}:host(.include-mobile-styling) .modal-container{width:100%;max-width:none;border-bottom-left-radius:0px;border-bottom-right-radius:0px}:host(.include-mobile-styling) .modal-body-card{--card-border-radius-bl:0px;--card-border-radius-br:0px}}:host(.no-overlay){z-index:0}:host(.no-overlay) .modal-body-card{--card-border-width:1px}.modal-wrapper{z-index:10011;position:fixed;top:0;left:0;display:none;height:100%;width:100%;justify-content:center;align-items:center;scale:0.8;opacity:0;transform:none}.modal-container{position:relative;overflow:hidden;width:var(--container-width);display:flex;flex-direction:column;gap:var(--container-gap);max-width:95vw;max-height:95vh;max-height:95dvh;overflow:auto;-ms-overflow-style:none;scrollbar-width:none;}.modal-container ::-webkit-scrollbar{display:none}.modal-container.no-footer{gap:0px}.modal-body-card{--card-padding-top:16px;--card-padding-bottom:16px;--card-padding-start:16px;--card-padding-end:16px;--card-border-width:0px}.body::part(card-container){box-shadow:
|
6108
|
+
const cpslAuthModalCss = ":host{--container-width:560px;--container-gap:8px;--card-box-shadow:0px 2px 5px 0px rgba(0, 0, 0, 0.08);display:block;z-index:10011;position:relative}:host cpsl-overlay{z-index:10011}@media (max-width: 480px){:host(.include-mobile-styling) .modal-wrapper{scale:none;top:100%;left:0;height:unset;opacity:1}:host(.include-mobile-styling) .modal-container{width:100%;max-width:none;border-bottom-left-radius:0px;border-bottom-right-radius:0px}:host(.include-mobile-styling) .modal-body-card{--card-border-radius-bl:0px;--card-border-radius-br:0px}}:host(.no-overlay){z-index:0}:host(.no-overlay) .modal-body-card{--card-border-width:1px}:host(.no-overlay) .modal-container{max-height:unset}.modal-wrapper{z-index:10011;position:fixed;top:0;left:0;display:none;height:100%;width:100%;justify-content:center;align-items:center;scale:0.8;opacity:0;transform:none}.modal-container{position:relative;overflow:hidden;width:var(--container-width);display:flex;flex-direction:column;gap:var(--container-gap);max-width:95vw;max-height:95vh;max-height:95dvh;overflow:auto;-ms-overflow-style:none;scrollbar-width:none;}.modal-container ::-webkit-scrollbar{display:none}.modal-container.no-footer{gap:0px}.modal-body-card{--card-padding-top:16px;--card-padding-bottom:16px;--card-padding-start:16px;--card-padding-end:16px;--card-border-width:0px}.body::part(card-container){box-shadow:var(--card-box-shadow);width:100%}.no-opacity{opacity:0}.mobile-footer{margin-top:16px}.footer-hidden{height:0px;visibility:hidden;--card-padding-top:0px;--card-padding-bottom:0px;--card-padding-start:0px;--card-padding-end:0px;--card-border-width:0px}";
|
6105
6109
|
const CpslAuthModalStyle0 = cpslAuthModalCss;
|
6106
6110
|
|
6107
6111
|
const mm = gsapWithCSS.matchMedia();
|
@@ -6262,12 +6266,12 @@ const CpslAvatar = class {
|
|
6262
6266
|
}
|
6263
6267
|
render() {
|
6264
6268
|
var _a;
|
6265
|
-
return (index.h(index.Host, { key: '
|
6269
|
+
return (index.h(index.Host, { key: '04dfd668bc6ab12f758e82ccfd915f06e1de3504' }, index.h("span", { key: '906c7c6e113040b95273c987689e848954e14a1c', class: { round: this.variant === 'round' } }, index.h("img", { key: '2d952a27ebbeb118c931162487f2d7e13370b41f', src: this.src, alt: (_a = this.alt) !== null && _a !== void 0 ? _a : 'avatar' }))));
|
6266
6270
|
}
|
6267
6271
|
};
|
6268
6272
|
CpslAvatar.style = CpslAvatarStyle0;
|
6269
6273
|
|
6270
|
-
const cpslButtonCss = ":host{--button-border-width:1px;--button-border-width-start:var(--button-border-width);--button-border-width-end:var(--button-border-width);--button-border-width-top:var(--button-border-width);--button-border-width-bottom:var(--button-border-width);--button-gap:8px;--button-justify-content:center;--button-border-radius-top-start:var(--button-border-radius);--button-border-radius-top-end:var(--button-border-radius);--button-border-radius-bottom-end:var(--button-border-radius);--button-border-radius-bottom-start:var(--button-border-radius);--button-padding-start:16px;--button-padding-end:16px;--button-icon-size:var(--cpls-font-size-body-l);--button-font-weight:500;--button-primary-color:var(--cpsl-color-primary-button-text);--button-primary-background-color:var(--cpsl-color-primary-button-surface-default);--button-primary-border-color:var(--cpsl-color-primary-button-border-default);--button-primary-icon-color:var(--cpsl-color-primary-button-text);--button-primary-disabled-color:var(--cpsl-color-text-disabled);--button-primary-disabled-background-color:var(--cpsl-color-primary-button-surface-disabled);--button-primary-disabled-border-color:var(--cpsl-color-primary-button-border-disabled);--button-primary-disabled-icon-color:var(--cpsl-color-primary-button-text);--button-primary-hover-color:var(--cpsl-color-primary-button-text);--button-primary-hover-background-color:var(--cpsl-color-primary-button-surface-hover);--button-primary-hover-border-color:var(--cpsl-color-primary-button-surface-hover);--button-primary-hover-icon-color:var(--cpsl-color-primary-button-text);--button-primary-active-color:var(--cpsl-color-primary-button-text);--button-primary-active-background-color:var(--cpsl-color-primary-button-surface-pressed);--button-primary-active-border-color:var(--cpsl-color-primary-button-surface-pressed);--button-primary-active-icon-color:var(--cpsl-color-primary-button-text);--button-secondary-color:var(--cpsl-color-secondary-button-text);--button-secondary-background-color:var(--cpsl-color-secondary-button-surface-default);--button-secondary-border-color:var(--cpsl-color-secondary-button-border-default);--button-secondary-icon-color:var(--cpsl-color-secondary-button-text);--button-secondary-disabled-color:var(--cpsl-color-text-disabled);--button-secondary-disabled-background-color:var(--cpsl-color-secondary-button-surface-disabled);--button-secondary-disabled-border-color:var(--cpsl-color-secondary-button-border-disabled);--button-secondary-disabled-icon-color:var(--cpsl-color-secondary-button-text);--button-secondary-hover-color:var(--cpsl-color-secondary-button-text);--button-secondary-hover-background-color:var(--cpsl-color-secondary-button-surface-hover);--button-secondary-hover-border-color:var(--cpsl-color-secondary-button-border-default);--button-secondary-hover-icon-color:var(--cpsl-color-secondary-button-text);--button-secondary-active-color:var(--cpsl-color-secondary-button-text);--button-secondary-active-background-color:var(--cpsl-color-secondary-button-surface-pressed);--button-secondary-active-border-color:var(--cpsl-color-secondary-button-border-default);--button-secondary-active-icon-color:var(--cpsl-color-secondary-button-text);--button-tertiary-color:var(--cpsl-color-tertiary-button-text);--button-tertiary-background-color:var(--cpsl-color-tertiary-button-surface-default);--button-tertiary-border-color:var(--cpsl-color-tertiary-button-border-default);--button-tertiary-icon-color:var(--cpsl-color-tertiary-button-text);--button-tertiary-disabled-color:var(--cpsl-color-text-disabled);--button-tertiary-disabled-background-color:var(--cpsl-color-tertiary-button-surface-disabled);--button-tertiary-disabled-border-color:var(--cpsl-color-tertiary-button-border-disabled);--button-tertiary-disabled-icon-color:var(--cpsl-color-tertiary-button-text);--button-tertiary-hover-color:var(--cpsl-color-tertiary-button-text);--button-tertiary-hover-background-color:var(--cpsl-color-tertiary-button-surface-hover);--button-tertiary-hover-border-color:var(--cpsl-color-tertiary-button-surface-hover);--button-tertiary-hover-icon-color:var(--cpsl-color-tertiary-button-text);--button-tertiary-active-color:var(--cpsl-color-tertiary-button-text);--button-tertiary-active-background-color:var(--cpsl-color-tertiary-button-surface-pressed);--button-tertiary-active-border-color:var(--cpsl-color-tertiary-button-surface-pressed);--button-tertiary-active-icon-color:var(--cpsl-color-tertiary-button-text);--button-ghost-color:var(--cpsl-color-ghost-button-default);--button-ghost-disabled-color:var(--cpsl-color-ghost-button-disabled);--button-ghost-hover-color:var(--cpsl-color-ghost-button-hover);--button-destructive-color:var(--cpsl-color-destructive-button-text);--button-destructive-background-color:var(--cpsl-color-destructive-button-surface-default);--button-destructive-border-color:var(--cpsl-color-destructive-button-border-default);--button-destructive-icon-color:var(--cpsl-color-destructive-button-text);--button-destructive-disabled-color:var(--cpsl-color-text-disabled);--button-destructive-disabled-background-color:var(--cpsl-color-destructive-button-surface-disabled);--button-destructive-disabled-border-color:var(--cpsl-color-destructive-button-border-disabled);--button-destructive-disabled-icon-color:var(--cpsl-color-destructive-button-text);--button-destructive-hover-color:var(--cpsl-color-destructive-button-text);--button-destructive-hover-background-color:var(--cpsl-color-destructive-button-surface-hover);--button-destructive-hover-border-color:var(--cpsl-color-destructive-button-border-default);--button-destructive-hover-icon-color:var(--cpsl-color-destructive-button-text);--button-destructive-active-color:var(--cpsl-color-destructive-button-text);--button-destructive-active-background-color:var(--cpsl-color-destructive-button-surface-pressed);--button-destructive-active-border-color:var(--cpsl-color-destructive-button-border-default);--button-destructive-active-icon-color:var(--cpsl-color-destructive-button-text);height:fit-content;width:fit-content;display:inline-block;font-family:var(--cpsl-font-family, inherit);-webkit-tap-highlight-color:transparent}:host a{height:fit-content;width:auto !important}:host(.full-width){width:100%;display:block}:host(.full-width) .button-native{width:100%}:host(.small){--button-font-size:var(--cpsl-font-size-body-s);--button-padding-top:12px;--button-padding-bottom:12px;--button-icon-size:var(--cpsl-font-size-body-m)}:host(.small.primary){--button-padding-top:13px;--button-padding-bottom:13px}:host(.small.tertiary){--button-padding-top:13px;--button-padding-bottom:13px}:host(.medium){--button-font-size:var(--cpsl-font-size-body-m);--button-padding-top:14px;--button-padding-bottom:14px;--button-icon-size:var(--cpsl-font-size-body-l)}:host(.medium) :host(.primary){--button-padding-top:15px;--button-padding-bottom:15px}:host(.medium) :host(.tertiary){--button-padding-top:15px;--button-padding-bottom:15px}:host(.medium.primary){--button-padding-top:15px;--button-padding-bottom:15px}:host(.medium.tertiary){--button-padding-top:15px;--button-padding-bottom:15px}:host(.disabled){cursor:default;pointer-events:none}:host ::slotted(cpsl-icon){--height:var(--button-icon-size);--width:var(--button-icon-size)}:host(.primary){--button-border-radius:var(--cpsl-border-radius-primary-button);--button-color:var(--button-primary-color);--button-background-color:var(--button-primary-background-color);--button-border-color:var(--button-primary-border-color);--button-padding-start:17px;--button-padding-end:17px;--button-border-width:0px}:host(.primary) ::slotted(cpsl-icon){--icon-color:var(--button-primary-icon-color)}:host(.primary):host(.disabled){--button-color:var(--button-primary-disabled-color);--button-background-color:var(--button-primary-disabled-background-color);--button-border-color:var(--button-primary-disabled-border-color);--button-outline-color:transparent}:host(.primary):host(.disabled) ::slotted(cpsl-icon){--icon-color:var(--button-primary-disabled-icon-color)}:host(.primary):host(.disabled) ::slotted(cpsl-spinner){--background-color:var(--button-primary-disabled-background-color)}:host(.primary) :not(.disabled):hover{--button-color:var(--button-primary-hover-color);--button-background-color:var(--button-primary-hover-background-color);--button-border-color:var(--button-primary-hover-border-color)}:host(.primary) :not(.disabled):hover ::slotted(cpsl-icon){--icon-color:var(--button-primary-hover-icon-color)}:host(.primary) :not(.disabled):active{--button-color:var(--button-primary-active-color);--button-background-color:var(--button-primary-active-background-color);--button-border-color:var(--button-primary-active-border-color)}:host(.primary) :not(.disabled):active ::slotted(cpsl-icon){--icon-color:var(--button-primary-active-icon-color)}:host(.primary) :not(.disabled):focus-visible{--button-outline-color:var(--cpsl-color-primary-button-outline)}:host(.secondary){--button-border-radius:var(--cpsl-border-radius-destructive-button);--button-color:var(--button-secondary-color);--button-background-color:var(--button-secondary-background-color);--button-border-color:var(--button-secondary-border-color)}:host(.secondary) ::slotted(cpsl-icon){--icon-color:var(--button-secondary-icon-color)}:host(.secondary):host(.disabled){--button-color:var(--button-secondary-disabled-color);--button-background-color:var(--button-secondary-disabled-background-color);--button-border-color:var(--button-secondary-disabled-border-color);--button-outline-color:transparent}:host(.secondary):host(.disabled) ::slotted(cpsl-icon){--icon-color:var(--button-secondary-disabled-icon-color)}:host(.secondary):host(.disabled) ::slotted(cpsl-spinner){--background-color:var(--button-secondary-disabled-icon-color)}:host(.secondary) :not(.disabled):hover{--button-color:var(--button-secondary-hover-color);--button-border-color:var(--button-secondary-hover-border-color);--button-background-color:var(--button-secondary-hover-background-color)}:host(.secondary) :not(.disabled):hover ::slotted(cpsl-icon){--icon-color:var(--button-secondary-hover-icon-color)}:host(.secondary) :not(.disabled):active{--button-color:var(--button-secondary-active-color);--button-border-color:var(--button-secondary-active-border-color);--button-background-color:var(--button-secondary-active-background-color)}:host(.secondary) :not(.disabled):active ::slotted(cpsl-icon){--icon-color:var(--button-secondary-active-icon-color)}:host(.secondary) :not(.disabled):focus-visible{--button-outline-color:var(--cpsl-color-secondary-button-outline)}:host(.tertiary){--button-border-radius:var(--cpsl-border-radius-tertiary-button);--button-color:var(--button-tertiary-color);--button-background-color:var(--button-tertiary-background-color);--button-border-color:var(--button-tertiary-border-color);--button-padding-start:17px;--button-padding-end:17px;--button-border-width:0px}:host(.tertiary) ::slotted(cpsl-icon){--icon-color:var(--button-tertiary-icon-color)}:host(.tertiary):host(.disabled){--button-color:var(--button-tertiary-disabled-color);--button-background-color:var(--button-tertiary-disabled-background-color);--button-border-color:var(--button-tertiary-disabled-border-color);--button-outline-color:transparent}:host(.tertiary):host(.disabled) ::slotted(cpsl-icon){--icon-color:var(--button-tertiary-disabled-icon-color)}:host(.tertiary):host(.disabled) ::slotted(cpsl-spinner){--background-color:var(--button-tertiary-disabled-icon-color)}:host(.tertiary) :not(.disabled):hover{--button-color:var(--button-tertiary-hover-color);--button-background-color:var(--button-tertiary-hover-background-color);--button-border-color:var(--button-tertiary-hover-border-color)}:host(.tertiary) :not(.disabled):hover ::slotted(cpsl-icon){--icon-color:var(--button-tertiary-hover-icon-color)}:host(.tertiary) :not(.disabled):active{--button-color:var(--button-tertiary-active-color);--button-background-color:var(--button-tertiary-active-background-color);--button-border-color:var(--button-tertiary-active-border-color)}:host(.tertiary) :not(.disabled):active ::slotted(cpsl-icon){--icon-color:var(--button-tertiary-active-icon-color)}:host(.tertiary) :not(.disabled):focus-visible{--button-outline-color:var(--cpsl-color-tertiary-button-outline)}:host(.ghost){--button-color:var(--button-ghost-color);--button-background-color:transparent;--button-border-color:transparent;--button-outline-color:transparent;--button-padding-start:0px;--button-padding-end:0px;--button-padding-top:0px;--button-padding-bottom:0px;--button-border-width:0px}:host(.ghost) ::slotted(cpsl-icon){--icon-color:var(--button-ghost-color)}:host(.ghost):host(.disabled){--button-color:var(--button-ghost-disabled-color)}:host(.ghost):host(.disabled) ::slotted(cpsl-icon){--icon-color:var(--button-ghost-disabled-color)}:host(.ghost):host(.disabled) ::slotted(cpsl-spinner){--background-color:var(--button-ghost-disabled-color)}:host(.ghost) :not(.disabled):hover{--button-color:var(--button-ghost-hover-color)}:host(.ghost) :not(.disabled):hover ::slotted(cpsl-icon){--icon-color:var(--button-ghost-hover-color)}:host(.destructive){--button-border-radius:var(--cpsl-border-radius-secondary-button);--button-color:var(--button-destructive-color);--button-background-color:var(--button-destructive-background-color);--button-border-color:var(--button-destructive-border-color)}:host(.destructive) ::slotted(cpsl-icon){--icon-color:var(--button-destructive-icon-color)}:host(.destructive):host(.disabled){--button-color:var(--button-destructive-disabled-color);--button-background-color:var(--button-destructive-disabled-background-color);--button-border-color:var(--button-destructive-disabled-border-color);--button-outline-color:transparent}:host(.destructive):host(.disabled) ::slotted(cpsl-icon){--icon-color:var(--button-destructive-disabled-icon-color)}:host(.destructive) :not(.disabled):hover{--button-color:var(--button-destructive-hover-color);--button-border-color:var(--button-destructive-hover-border-color);--button-background-color:var(--button-destructive-hover-background-color)}:host(.destructive) :not(.disabled):hover ::slotted(cpsl-icon){--icon-color:var(--button-destructive-hover-icon-color)}:host(.destructive) :not(.disabled):active{--button-color:var(--button-destructive-active-color);--button-border-color:var(--button-destructive-active-border-color);--button-background-color:var(--button-destructive-active-background-color)}:host(.destructive) :not(.disabled):active ::slotted(cpsl-icon){--icon-color:var(--button-destructive-active-icon-color)}:host(.destructive) :not(.disabled):focus-visible{--button-outline-color:var(--cpsl-color-destructive-button-outline)}.button-native{border-top-left-radius:var(--button-border-radius-top-start);border-top-right-radius:var(--button-border-radius-top-end);border-bottom-right-radius:var(--button-border-radius-bottom-end);border-bottom-left-radius:var(--button-border-radius-bottom-start);-webkit-padding-start:var(--button-padding-start);padding-inline-start:var(--button-padding-start);-webkit-padding-end:var(--button-padding-end);padding-inline-end:var(--button-padding-end);padding-top:var(--button-padding-top);padding-bottom:var(--button-padding-bottom);font-size:var(--button-font-size);font-weight:var(--button-font-weight);font-family:inherit;white-space:nowrap;text-decoration:none;border:0px solid transparent;border-width:var(--button-border-width-top) var(--button-border-width-end) var(--button-border-width-bottom) var(--button-border-width-start);cursor:pointer;color:var(--button-color);background:var(--button-background-color);border-color:var(--button-border-color);display:flex;justify-content:var(--button-justify-content);align-items:center;height:100%;gap:var(--button-gap);word-break:break-all;outline-color:var(--button-outline-color);-webkit-tap-highlight-color:transparent}:host-context([dir=rtl]) .button-native{border-top-left-radius:var(--button-border-radius-top-end);border-top-right-radius:var(--button-border-radius-top-start);border-bottom-right-radius:var(--button-border-radius-bottom-start);border-bottom-left-radius:var(--button-border-radius-bottom-end)}[dir=rtl] .button-native{border-top-left-radius:var(--button-border-radius-top-end);border-top-right-radius:var(--button-border-radius-top-start);border-bottom-right-radius:var(--button-border-radius-bottom-start);border-bottom-left-radius:var(--button-border-radius-bottom-end)}@supports selector(:dir(rtl)){.button-native:dir(rtl){border-top-left-radius:var(--button-border-radius-top-end);border-top-right-radius:var(--button-border-radius-top-start);border-bottom-right-radius:var(--button-border-radius-bottom-start);border-bottom-left-radius:var(--button-border-radius-bottom-end)}}:host ::slotted(cpsl-text){color:var(--button-color)}:host ::slotted(cpsl-icon-group){--container-border-color:var(--button-background-color)}:host ::slotted(cpsl-spinner){--background-color:var(--button-background-color)}";
|
6274
|
+
const cpslButtonCss = ":host{--button-border-width:1px;--button-border-width-start:var(--button-border-width);--button-border-width-end:var(--button-border-width);--button-border-width-top:var(--button-border-width);--button-border-width-bottom:var(--button-border-width);--button-gap:8px;--button-justify-content:center;--button-border-radius-top-start:var(--button-border-radius);--button-border-radius-top-end:var(--button-border-radius);--button-border-radius-bottom-end:var(--button-border-radius);--button-border-radius-bottom-start:var(--button-border-radius);--button-padding-start:16px;--button-padding-end:16px;--button-icon-size:var(--cpls-font-size-body-l);--button-font-weight:500;--button-primary-color:var(--cpsl-color-primary-button-text);--button-primary-background-color:var(--cpsl-color-primary-button-surface-default);--button-primary-border-color:var(--cpsl-color-primary-button-border-default);--button-primary-icon-color:var(--cpsl-color-primary-button-text);--button-primary-disabled-color:var(--cpsl-color-text-disabled);--button-primary-disabled-background-color:var(--cpsl-color-primary-button-surface-disabled);--button-primary-disabled-border-color:var(--cpsl-color-primary-button-border-disabled);--button-primary-disabled-icon-color:var(--cpsl-color-text-disabled);--button-primary-hover-color:var(--cpsl-color-primary-button-text);--button-primary-hover-background-color:var(--cpsl-color-primary-button-surface-hover);--button-primary-hover-border-color:var(--cpsl-color-primary-button-surface-hover);--button-primary-hover-icon-color:var(--cpsl-color-primary-button-text);--button-primary-active-color:var(--cpsl-color-primary-button-text);--button-primary-active-background-color:var(--cpsl-color-primary-button-surface-pressed);--button-primary-active-border-color:var(--cpsl-color-primary-button-surface-pressed);--button-primary-active-icon-color:var(--cpsl-color-primary-button-text);--button-secondary-color:var(--cpsl-color-secondary-button-text);--button-secondary-background-color:var(--cpsl-color-secondary-button-surface-default);--button-secondary-border-color:var(--cpsl-color-secondary-button-border-default);--button-secondary-icon-color:var(--cpsl-color-secondary-button-text);--button-secondary-disabled-color:var(--cpsl-color-text-disabled);--button-secondary-disabled-background-color:var(--cpsl-color-secondary-button-surface-disabled);--button-secondary-disabled-border-color:var(--cpsl-color-secondary-button-border-disabled);--button-secondary-disabled-icon-color:var(--cpsl-color-secondary-button-text);--button-secondary-hover-color:var(--cpsl-color-secondary-button-text);--button-secondary-hover-background-color:var(--cpsl-color-secondary-button-surface-hover);--button-secondary-hover-border-color:var(--cpsl-color-secondary-button-border-default);--button-secondary-hover-icon-color:var(--cpsl-color-secondary-button-text);--button-secondary-active-color:var(--cpsl-color-secondary-button-text);--button-secondary-active-background-color:var(--cpsl-color-secondary-button-surface-pressed);--button-secondary-active-border-color:var(--cpsl-color-secondary-button-border-default);--button-secondary-active-icon-color:var(--cpsl-color-secondary-button-text);--button-tertiary-color:var(--cpsl-color-tertiary-button-text);--button-tertiary-background-color:var(--cpsl-color-tertiary-button-surface-default);--button-tertiary-border-color:var(--cpsl-color-tertiary-button-border-default);--button-tertiary-icon-color:var(--cpsl-color-tertiary-button-text);--button-tertiary-disabled-color:var(--cpsl-color-text-disabled);--button-tertiary-disabled-background-color:var(--cpsl-color-tertiary-button-surface-disabled);--button-tertiary-disabled-border-color:var(--cpsl-color-tertiary-button-border-disabled);--button-tertiary-disabled-icon-color:var(--cpsl-color-tertiary-button-text);--button-tertiary-hover-color:var(--cpsl-color-tertiary-button-text);--button-tertiary-hover-background-color:var(--cpsl-color-tertiary-button-surface-hover);--button-tertiary-hover-border-color:var(--cpsl-color-tertiary-button-surface-hover);--button-tertiary-hover-icon-color:var(--cpsl-color-tertiary-button-text);--button-tertiary-active-color:var(--cpsl-color-tertiary-button-text);--button-tertiary-active-background-color:var(--cpsl-color-tertiary-button-surface-pressed);--button-tertiary-active-border-color:var(--cpsl-color-tertiary-button-surface-pressed);--button-tertiary-active-icon-color:var(--cpsl-color-tertiary-button-text);--button-ghost-color:var(--cpsl-color-ghost-button-default);--button-ghost-disabled-color:var(--cpsl-color-ghost-button-disabled);--button-ghost-hover-color:var(--cpsl-color-ghost-button-hover);--button-destructive-color:var(--cpsl-color-destructive-button-text);--button-destructive-background-color:var(--cpsl-color-destructive-button-surface-default);--button-destructive-border-color:var(--cpsl-color-destructive-button-border-default);--button-destructive-icon-color:var(--cpsl-color-destructive-button-text);--button-destructive-disabled-color:var(--cpsl-color-text-disabled);--button-destructive-disabled-background-color:var(--cpsl-color-destructive-button-surface-disabled);--button-destructive-disabled-border-color:var(--cpsl-color-destructive-button-border-disabled);--button-destructive-disabled-icon-color:var(--cpsl-color-destructive-button-text);--button-destructive-hover-color:var(--cpsl-color-destructive-button-text);--button-destructive-hover-background-color:var(--cpsl-color-destructive-button-surface-hover);--button-destructive-hover-border-color:var(--cpsl-color-destructive-button-border-default);--button-destructive-hover-icon-color:var(--cpsl-color-destructive-button-text);--button-destructive-active-color:var(--cpsl-color-destructive-button-text);--button-destructive-active-background-color:var(--cpsl-color-destructive-button-surface-pressed);--button-destructive-active-border-color:var(--cpsl-color-destructive-button-border-default);--button-destructive-active-icon-color:var(--cpsl-color-destructive-button-text);height:fit-content;width:fit-content;display:inline-block;font-family:var(--cpsl-font-family, inherit);-webkit-tap-highlight-color:transparent}:host a{height:fit-content;width:auto !important}:host(.full-width){width:100%;display:block}:host(.full-width) .button-native{width:100%}:host(.small){--button-font-size:var(--cpsl-font-size-body-s);--button-padding-top:12px;--button-padding-bottom:12px;--button-icon-size:var(--cpsl-font-size-body-m)}:host(.small.primary){--button-padding-top:13px;--button-padding-bottom:13px}:host(.small.tertiary){--button-padding-top:13px;--button-padding-bottom:13px}:host(.medium){--button-font-size:var(--cpsl-font-size-body-m);--button-padding-top:14px;--button-padding-bottom:14px;--button-icon-size:var(--cpsl-font-size-body-l)}:host(.medium) :host(.primary){--button-padding-top:15px;--button-padding-bottom:15px}:host(.medium) :host(.tertiary){--button-padding-top:15px;--button-padding-bottom:15px}:host(.medium.primary){--button-padding-top:15px;--button-padding-bottom:15px}:host(.medium.tertiary){--button-padding-top:15px;--button-padding-bottom:15px}:host(.disabled){cursor:default;pointer-events:none}:host ::slotted(cpsl-icon){--height:var(--button-icon-size);--width:var(--button-icon-size)}:host(.primary){--button-border-radius:var(--cpsl-border-radius-primary-button);--button-color:var(--button-primary-color);--button-background-color:var(--button-primary-background-color);--button-border-color:var(--button-primary-border-color);--button-padding-start:17px;--button-padding-end:17px;--button-border-width:0px}:host(.primary) ::slotted(cpsl-icon){--icon-color:var(--button-primary-icon-color)}:host(.primary):host(.disabled){--button-color:var(--button-primary-disabled-color);--button-background-color:var(--button-primary-disabled-background-color);--button-border-color:var(--button-primary-disabled-border-color);--button-outline-color:transparent}:host(.primary):host(.disabled) ::slotted(cpsl-icon){--icon-color:var(--button-primary-disabled-icon-color)}:host(.primary):host(.disabled) ::slotted(cpsl-spinner){--background-color:var(--button-primary-disabled-background-color)}:host(.primary) :not(.disabled):hover{--button-color:var(--button-primary-hover-color);--button-background-color:var(--button-primary-hover-background-color);--button-border-color:var(--button-primary-hover-border-color)}:host(.primary) :not(.disabled):hover ::slotted(cpsl-icon){--icon-color:var(--button-primary-hover-icon-color)}:host(.primary) :not(.disabled):active{--button-color:var(--button-primary-active-color);--button-background-color:var(--button-primary-active-background-color);--button-border-color:var(--button-primary-active-border-color)}:host(.primary) :not(.disabled):active ::slotted(cpsl-icon){--icon-color:var(--button-primary-active-icon-color)}:host(.primary) :not(.disabled):focus-visible{--button-outline-color:var(--cpsl-color-primary-button-outline)}:host(.secondary){--button-border-radius:var(--cpsl-border-radius-destructive-button);--button-color:var(--button-secondary-color);--button-background-color:var(--button-secondary-background-color);--button-border-color:var(--button-secondary-border-color)}:host(.secondary) ::slotted(cpsl-icon){--icon-color:var(--button-secondary-icon-color)}:host(.secondary):host(.disabled){--button-color:var(--button-secondary-disabled-color);--button-background-color:var(--button-secondary-disabled-background-color);--button-border-color:var(--button-secondary-disabled-border-color);--button-outline-color:transparent}:host(.secondary):host(.disabled) ::slotted(cpsl-icon){--icon-color:var(--button-secondary-disabled-icon-color)}:host(.secondary):host(.disabled) ::slotted(cpsl-spinner){--background-color:var(--button-secondary-disabled-icon-color)}:host(.secondary) :not(.disabled):hover{--button-color:var(--button-secondary-hover-color);--button-border-color:var(--button-secondary-hover-border-color);--button-background-color:var(--button-secondary-hover-background-color)}:host(.secondary) :not(.disabled):hover ::slotted(cpsl-icon){--icon-color:var(--button-secondary-hover-icon-color)}:host(.secondary) :not(.disabled):active{--button-color:var(--button-secondary-active-color);--button-border-color:var(--button-secondary-active-border-color);--button-background-color:var(--button-secondary-active-background-color)}:host(.secondary) :not(.disabled):active ::slotted(cpsl-icon){--icon-color:var(--button-secondary-active-icon-color)}:host(.secondary) :not(.disabled):focus-visible{--button-outline-color:var(--cpsl-color-secondary-button-outline)}:host(.tertiary){--button-border-radius:var(--cpsl-border-radius-tertiary-button);--button-color:var(--button-tertiary-color);--button-background-color:var(--button-tertiary-background-color);--button-border-color:var(--button-tertiary-border-color);--button-padding-start:17px;--button-padding-end:17px;--button-border-width:0px}:host(.tertiary) ::slotted(cpsl-icon){--icon-color:var(--button-tertiary-icon-color)}:host(.tertiary):host(.disabled){--button-color:var(--button-tertiary-disabled-color);--button-background-color:var(--button-tertiary-disabled-background-color);--button-border-color:var(--button-tertiary-disabled-border-color);--button-outline-color:transparent}:host(.tertiary):host(.disabled) ::slotted(cpsl-icon){--icon-color:var(--button-tertiary-disabled-icon-color)}:host(.tertiary):host(.disabled) ::slotted(cpsl-spinner){--background-color:var(--button-tertiary-disabled-icon-color)}:host(.tertiary) :not(.disabled):hover{--button-color:var(--button-tertiary-hover-color);--button-background-color:var(--button-tertiary-hover-background-color);--button-border-color:var(--button-tertiary-hover-border-color)}:host(.tertiary) :not(.disabled):hover ::slotted(cpsl-icon){--icon-color:var(--button-tertiary-hover-icon-color)}:host(.tertiary) :not(.disabled):active{--button-color:var(--button-tertiary-active-color);--button-background-color:var(--button-tertiary-active-background-color);--button-border-color:var(--button-tertiary-active-border-color)}:host(.tertiary) :not(.disabled):active ::slotted(cpsl-icon){--icon-color:var(--button-tertiary-active-icon-color)}:host(.tertiary) :not(.disabled):focus-visible{--button-outline-color:var(--cpsl-color-tertiary-button-outline)}:host(.ghost){--button-color:var(--button-ghost-color);--button-background-color:transparent;--button-border-color:transparent;--button-outline-color:transparent;--button-padding-start:0px;--button-padding-end:0px;--button-padding-top:0px;--button-padding-bottom:0px;--button-border-width:0px}:host(.ghost) ::slotted(cpsl-icon){--icon-color:var(--button-ghost-color)}:host(.ghost):host(.disabled){--button-color:var(--button-ghost-disabled-color)}:host(.ghost):host(.disabled) ::slotted(cpsl-icon){--icon-color:var(--button-ghost-disabled-color)}:host(.ghost):host(.disabled) ::slotted(cpsl-spinner){--background-color:var(--button-ghost-disabled-color)}:host(.ghost) :not(.disabled):hover{--button-color:var(--button-ghost-hover-color)}:host(.ghost) :not(.disabled):hover ::slotted(cpsl-icon){--icon-color:var(--button-ghost-hover-color)}:host(.destructive){--button-border-radius:var(--cpsl-border-radius-secondary-button);--button-color:var(--button-destructive-color);--button-background-color:var(--button-destructive-background-color);--button-border-color:var(--button-destructive-border-color)}:host(.destructive) ::slotted(cpsl-icon){--icon-color:var(--button-destructive-icon-color)}:host(.destructive):host(.disabled){--button-color:var(--button-destructive-disabled-color);--button-background-color:var(--button-destructive-disabled-background-color);--button-border-color:var(--button-destructive-disabled-border-color);--button-outline-color:transparent}:host(.destructive):host(.disabled) ::slotted(cpsl-icon){--icon-color:var(--button-destructive-disabled-icon-color)}:host(.destructive) :not(.disabled):hover{--button-color:var(--button-destructive-hover-color);--button-border-color:var(--button-destructive-hover-border-color);--button-background-color:var(--button-destructive-hover-background-color)}:host(.destructive) :not(.disabled):hover ::slotted(cpsl-icon){--icon-color:var(--button-destructive-hover-icon-color)}:host(.destructive) :not(.disabled):active{--button-color:var(--button-destructive-active-color);--button-border-color:var(--button-destructive-active-border-color);--button-background-color:var(--button-destructive-active-background-color)}:host(.destructive) :not(.disabled):active ::slotted(cpsl-icon){--icon-color:var(--button-destructive-active-icon-color)}:host(.destructive) :not(.disabled):focus-visible{--button-outline-color:var(--cpsl-color-destructive-button-outline)}.button-native{border-top-left-radius:var(--button-border-radius-top-start);border-top-right-radius:var(--button-border-radius-top-end);border-bottom-right-radius:var(--button-border-radius-bottom-end);border-bottom-left-radius:var(--button-border-radius-bottom-start);-webkit-padding-start:var(--button-padding-start);padding-inline-start:var(--button-padding-start);-webkit-padding-end:var(--button-padding-end);padding-inline-end:var(--button-padding-end);padding-top:var(--button-padding-top);padding-bottom:var(--button-padding-bottom);font-size:var(--button-font-size);font-weight:var(--button-font-weight);font-family:inherit;white-space:nowrap;text-decoration:none;border:0px solid transparent;border-width:var(--button-border-width-top) var(--button-border-width-end) var(--button-border-width-bottom) var(--button-border-width-start);cursor:pointer;color:var(--button-color);background:var(--button-background-color);border-color:var(--button-border-color);display:flex;justify-content:var(--button-justify-content);align-items:center;height:100%;gap:var(--button-gap);word-break:break-all;outline-color:var(--button-outline-color);-webkit-tap-highlight-color:transparent}:host-context([dir=rtl]) .button-native{border-top-left-radius:var(--button-border-radius-top-end);border-top-right-radius:var(--button-border-radius-top-start);border-bottom-right-radius:var(--button-border-radius-bottom-start);border-bottom-left-radius:var(--button-border-radius-bottom-end)}[dir=rtl] .button-native{border-top-left-radius:var(--button-border-radius-top-end);border-top-right-radius:var(--button-border-radius-top-start);border-bottom-right-radius:var(--button-border-radius-bottom-start);border-bottom-left-radius:var(--button-border-radius-bottom-end)}@supports selector(:dir(rtl)){.button-native:dir(rtl){border-top-left-radius:var(--button-border-radius-top-end);border-top-right-radius:var(--button-border-radius-top-start);border-bottom-right-radius:var(--button-border-radius-bottom-start);border-bottom-left-radius:var(--button-border-radius-bottom-end)}}:host ::slotted(cpsl-text){color:var(--button-color)}:host ::slotted(cpsl-icon-group){--container-border-color:var(--button-background-color)}:host ::slotted(cpsl-spinner){--background-color:var(--button-background-color)}";
|
6271
6275
|
const CpslButtonStyle0 = cpslButtonCss;
|
6272
6276
|
|
6273
6277
|
const CpslButton = class {
|
@@ -6282,7 +6286,7 @@ const CpslButton = class {
|
|
6282
6286
|
this.variant = 'primary';
|
6283
6287
|
}
|
6284
6288
|
render() {
|
6285
|
-
return (index.h(index.Host, { key: '
|
6289
|
+
return (index.h(index.Host, { key: '7411754a763990dcbef83edbef353ebf3066f71d', class: {
|
6286
6290
|
// VARIANTS
|
6287
6291
|
'primary': this.variant === 'primary',
|
6288
6292
|
'secondary': this.variant === 'secondary',
|
@@ -6295,7 +6299,7 @@ const CpslButton = class {
|
|
6295
6299
|
// SIZES
|
6296
6300
|
'small': this.size === 'small',
|
6297
6301
|
'medium': this.size === 'medium',
|
6298
|
-
} }, index.h(this.as, { key: '
|
6302
|
+
} }, index.h(this.as, { key: '1c49c08c3ea7a105ce6c69302e2adc2bc6a443eb', href: this.href, target: this.target, part: "button-native", class: "button-native" }, index.h("slot", { key: '5ef09afd70e95c9c596c46d84a8d3410a8eba2a9', name: "start" }), index.h("slot", { key: 'f055ad44f74ca07a612c967432714c00e4b56ba9' }), index.h("slot", { key: '2a53e40d635b3de4441aed9005b4bb13d42e9d04', name: "end" }))));
|
6299
6303
|
}
|
6300
6304
|
};
|
6301
6305
|
CpslButton.style = CpslButtonStyle0;
|
@@ -6337,7 +6341,7 @@ const CpslButtonGroup = class {
|
|
6337
6341
|
return this.el.querySelectorAll('&> *:not(cpsl-button)');
|
6338
6342
|
}
|
6339
6343
|
render() {
|
6340
|
-
return (index.h(index.Host, { key: '
|
6344
|
+
return (index.h(index.Host, { key: '91ccfcaf08be6fc45076376b19e63b5b58ab9b15' }, index.h("slot", { key: '9af22dc4fcbd76ebc32e476d1682e2fe41b33f81' })));
|
6341
6345
|
}
|
6342
6346
|
get el() { return index.getElement(this); }
|
6343
6347
|
static get watchers() { return {
|
@@ -6354,7 +6358,7 @@ const CpslCard = class {
|
|
6354
6358
|
index.registerInstance(this, hostRef);
|
6355
6359
|
}
|
6356
6360
|
render() {
|
6357
|
-
return (index.h(index.Host, { key: '
|
6361
|
+
return (index.h(index.Host, { key: '21177f5a9ceec0246dc1fa89a052bfdadacc3063' }, index.h("div", { key: '0940e0aaf62b24e1be0e99c736069b5bb463854c', class: { card: true }, part: "card-container" }, index.h("slot", { key: '6317e03f97be9841c03b040845591043bf203e36' }))));
|
6358
6362
|
}
|
6359
6363
|
};
|
6360
6364
|
CpslCard.style = CpslCardStyle0;
|
@@ -6372,7 +6376,7 @@ const CpslCheckbox = class {
|
|
6372
6376
|
this.checked = undefined;
|
6373
6377
|
}
|
6374
6378
|
render() {
|
6375
|
-
return (index.h(index.Host, { key: '
|
6379
|
+
return (index.h(index.Host, { key: '236c0b027e72c0c25dbc2fd3183a77400c815f8c' }, index.h("input", { key: '8c350e21268b87d485b16796b2058c4e47f46e75', type: "checkbox", checked: this.checked }), index.h("span", { key: 'b1d8fc6dd380b67eb8940f55bba47810c54ee189', onClick: this.handleCheckboxClick, class: { container: true, checked: this.checked } }, index.h("cpsl-icon", { key: '2b3ddcad1e2b9007bda8135a810b75a1a2cfaeca', icon: "check" }))));
|
6376
6380
|
}
|
6377
6381
|
};
|
6378
6382
|
CpslCheckbox.style = CpslCheckboxStyle0;
|
@@ -6473,10 +6477,10 @@ const CpslCodeInput = class {
|
|
6473
6477
|
}
|
6474
6478
|
render() {
|
6475
6479
|
var _a;
|
6476
|
-
return (index.h(index.Host, { key: '
|
6480
|
+
return (index.h(index.Host, { key: 'fd588544d9cdebaaeb1961f4ecb5c5630e8e4699' }, index.h("div", { key: 'b795c99f0df6fbf4ba9a7118f3f737dbf22c7ee9', class: "code-container" }, new Array(this.length).fill(0).map((_, i) => {
|
6477
6481
|
var _a, _b;
|
6478
6482
|
return (index.h("input", { class: { 'code-input': true, 'error': Boolean(this.errorText), 'has-value': ((_a = this.code) === null || _a === void 0 ? void 0 : _a[i]) !== undefined }, id: `code-input-${i}`, onKeyDown: ev => this.handleKeyDown(i, ev), onInput: ev => this.handleInput(i, ev), onFocus: () => this.handleFocus(i), onPaste: this.handlePaste, min: 0, max: 9, value: (_b = this.code) === null || _b === void 0 ? void 0 : _b[i], inputMode: this.type === 'number' ? 'numeric' : 'text' }));
|
6479
|
-
})), (this.errorText || this.helperText) && (index.h("div", { key: '
|
6483
|
+
})), (this.errorText || this.helperText) && (index.h("div", { key: '9cff50eb172f38af5065ad79e3c767f2e8ec33c9', class: { 'helper-text-container': true, 'error-text': Boolean(this.errorText) } }, index.h("cpsl-icon", { key: 'c8d7dbbd0ec7a2015e2e8099d0448b847641b845', icon: this.errorText ? 'alertCircle' : 'infoCircle' }), index.h("span", { key: '4ae4009a2fb4d8f6dc4c985ea8d39c136cb23780' }, (_a = this.errorText) !== null && _a !== void 0 ? _a : this.helperText)))));
|
6480
6484
|
}
|
6481
6485
|
get el() { return index.getElement(this); }
|
6482
6486
|
};
|
@@ -6490,7 +6494,7 @@ const CpslDivider = class {
|
|
6490
6494
|
index.registerInstance(this, hostRef);
|
6491
6495
|
}
|
6492
6496
|
render() {
|
6493
|
-
return (index.h(index.Host, { key: '
|
6497
|
+
return (index.h(index.Host, { key: 'd5cffdef9344f7dcac4aae1bc2acca8c02d69946' }, index.h("div", { key: 'e07f8107804df83537a3b8e40d124c66d2fc6f44' }), index.h("slot", { key: 'd97f02d46a63d32d107838b5aa50654a9593cc8a' }), index.h("div", { key: '2316aed010b91a65c961e2f30cc2cde03b892429' })));
|
6494
6498
|
}
|
6495
6499
|
};
|
6496
6500
|
CpslDivider.style = CpslDividerStyle0;
|
@@ -6532,12 +6536,12 @@ const CpslDrawer = class {
|
|
6532
6536
|
const setHeight = this.anchor === 'top' || this.anchor === 'bottom';
|
6533
6537
|
const startingAnchor = (_a = `${this.anchorPosition}px`) !== null && _a !== void 0 ? _a : '0px';
|
6534
6538
|
const size = this.size === 'auto' ? 'auto' : `${this.size}px`;
|
6535
|
-
return (index.h(index.Host, { key: '
|
6539
|
+
return (index.h(index.Host, { key: '81d454f0a4532e333880f4e37a79545ee5710536', style: Object.assign({ width: setHeight ? '100vw' : size, height: setHeight ? size : '100vh', transitionDuration: `${this.showTransition ? this.transitionDuration : 0}s`, transitionTimingFunction: `${this.transitionFunction}`, [this.anchor]: this.open || this.variant === 'permanent' ? startingAnchor : this.closedAnchorPosition, opacity: this.closedAnchorPosition === undefined ? '0' : '1' }, (this.zIndexOverride ? { zIndex: `${this.zIndexOverride}` } : {})), class: {
|
6536
6540
|
top: this.anchor === 'top',
|
6537
6541
|
bottom: this.anchor === 'bottom',
|
6538
6542
|
left: this.anchor === 'left',
|
6539
6543
|
right: this.anchor === 'right',
|
6540
|
-
} }, this.variant === 'temporary' && !this.noOverlay && index.h("cpsl-overlay", { key: '
|
6544
|
+
} }, this.variant === 'temporary' && !this.noOverlay && index.h("cpsl-overlay", { key: '21fdc68cd01c652b7a9f8e1d624027f4051fdb47', open: this.open, zIndexOverride: constants.DEFAULT_Z_INDICES.modal + 1 }), index.h("div", { key: '085ba3bf2b57ceeb5615c42816e7a0f8758eeeb0', id: "container", class: "container", part: "container" }, index.h("slot", { key: 'bd8517779864cf35bc30b33597b27a43c749ba1f' }))));
|
6541
6545
|
}
|
6542
6546
|
get el() { return index.getElement(this); }
|
6543
6547
|
};
|
@@ -6548,6 +6552,13 @@ const AlertCircle = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none"
|
|
6548
6552
|
</svg>
|
6549
6553
|
`;
|
6550
6554
|
|
6555
|
+
const AlertTriangle = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
|
6556
|
+
<g id="alert-triangle">
|
6557
|
+
<path id="Icon" d="M11.9998 8.99999V13M11.9998 17H12.0098M10.6151 3.89171L2.39019 18.0983C1.93398 18.8863 1.70588 19.2803 1.73959 19.6037C1.769 19.8857 1.91677 20.142 2.14613 20.3088C2.40908 20.5 2.86435 20.5 3.77487 20.5H20.2246C21.1352 20.5 21.5904 20.5 21.8534 20.3088C22.0827 20.142 22.2305 19.8857 22.2599 19.6037C22.2936 19.2803 22.0655 18.8863 21.6093 18.0983L13.3844 3.89171C12.9299 3.10654 12.7026 2.71396 12.4061 2.58211C12.1474 2.4671 11.8521 2.4671 11.5935 2.58211C11.2969 2.71396 11.0696 3.10655 10.6151 3.89171Z" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
6558
|
+
</g>
|
6559
|
+
</svg>
|
6560
|
+
`;
|
6561
|
+
|
6551
6562
|
const AngelListBrand = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
6552
6563
|
<path d="M17.7703 10.0969C18.3188 8.56875 19.8984 4.14844 19.8984 2.73281C19.8984 1.48594 19.1625 0.440625 17.85 0.440625C15.7594 0.440625 13.8844 6.61406 13.2984 8.08594C12.8438 6.75 10.7156 0 8.84063 0C7.38282 0 6.69844 1.07344 6.69844 2.42344C6.69844 4.07812 8.30156 8.36719 8.88281 10.0172C8.5875 9.90938 8.26875 9.81562 7.94531 9.81562C6.84844 9.81562 5.68125 11.1797 5.68125 12.2812C5.68125 12.6984 5.91094 13.2844 6.05625 13.6734C4.32656 14.1422 3.66094 15.2953 3.66094 17.0344C3.65625 20.4187 6.8625 24 11.3719 24C16.9031 24 20.3438 19.8469 20.3438 14.4891C20.3438 12.4688 20.0203 10.6453 17.7703 10.0969ZM16.1109 5.0625C16.2984 4.48594 17.1 2.04844 17.85 2.04844C18.2531 2.04844 18.3609 2.46563 18.3609 2.79844C18.3609 3.69375 16.5516 8.63906 16.1531 9.73594L14.5594 9.45469L16.1109 5.0625ZM8.17032 2.26406C8.17032 1.70625 8.85 0.121875 10.3406 4.47188L11.9625 9.17344C11.2313 9.1125 10.6641 9.03281 10.3031 9.23906C9.79219 7.88906 8.17032 3.62812 8.17032 2.26406ZM8.0625 11.4375C9.43594 11.4375 11.2078 15.8719 11.2078 16.4719C11.2078 16.7109 10.9781 17.0062 10.7109 17.0062C9.73125 17.0062 7.10625 13.4016 7.10625 12.4266C7.11094 12.0656 7.70156 11.4375 8.0625 11.4375ZM16.7016 20.1703C15.3375 21.6703 13.5938 22.4484 11.5594 22.4484C8.775 22.4484 6.57656 20.9203 5.51719 18.3094C4.71563 16.275 5.69532 15.1078 6.48282 15.1078C7.01719 15.1078 9.02813 17.9344 9.02813 18.5344C9.02813 18.7641 8.66719 18.9234 8.47969 18.9234C7.725 18.9234 7.42969 18.1969 6.08438 16.5141C4.69219 17.9062 7.04532 20.5875 8.81719 20.5875C10.0406 20.5875 10.8375 19.4531 10.5984 18.6188C10.7719 18.6188 10.9875 18.6328 11.1469 18.5906C11.1984 19.8609 11.5734 21.375 13.1016 21.4828C13.1016 21.4406 13.1953 21.15 13.1953 21.1359C13.1953 20.3203 12.6984 19.6078 12.6984 18.7781C12.6984 17.4516 13.7156 16.1672 14.7469 15.4172C15.1219 15.1359 15.5766 14.9625 16.0172 14.8031C16.4719 14.6297 16.9547 14.4281 17.3016 14.0812C17.25 13.5562 17.0344 13.0922 16.5094 13.0922C15.2109 13.0922 10.8563 13.2797 10.8563 11.2313C10.8563 10.9172 10.8609 10.6172 11.6719 10.6172C13.1859 10.6172 17.0297 10.9922 18.1547 11.9813C19.0031 12.7359 19.2938 17.2875 16.7016 20.1703ZM12.0797 14.2641C12.5344 14.4094 13.0031 14.4516 13.4719 14.5453C13.125 14.7984 12.8156 15.1078 12.5203 15.4406C12.3891 15.0422 12.2297 14.6531 12.0797 14.2641Z" fill="black"/>
|
6553
6564
|
</svg>
|
@@ -6573,6 +6584,12 @@ const ArrowCircleBrokenDownLeft = `<svg width="24" height="24" viewBox="0 0 24 2
|
|
6573
6584
|
</svg>
|
6574
6585
|
`;
|
6575
6586
|
|
6587
|
+
const ArrowCircleDownFilled = `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
6588
|
+
<rect y="32" width="32" height="32" rx="16" transform="rotate(-90 0 32)" fill="#EBEBEB" />
|
6589
|
+
<path d="M16 10.1667L16 21.8333M16 21.8333L21.8334 16M16 21.8333L10.1667 16" stroke="#616161" stroke-width="2"
|
6590
|
+
stroke-linecap="round" stroke-linejoin="round" />
|
6591
|
+
</svg>`;
|
6592
|
+
|
6576
6593
|
const ArrowNarrow = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
|
6577
6594
|
<path d="M4 12H20M20 12L14 6M20 12L14 18" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
6578
6595
|
</svg>
|
@@ -6696,6 +6713,13 @@ const Capsule = `<svg xmlns="http://www.w3.org/2000/svg" width="23" height="38"
|
|
6696
6713
|
<path d="M15.4555 20.2909C15.8721 19.3437 17.0252 18.8939 18.031 19.2862L18.1275 19.3239C19.1333 19.7162 19.6109 20.8021 19.1943 21.7493C18.7777 22.6966 17.6246 23.1464 16.6188 22.754L16.5223 22.7164C15.5165 22.324 15.0389 21.2381 15.4555 20.2909Z"/>
|
6697
6714
|
</svg>`;
|
6698
6715
|
|
6716
|
+
const CheckCircleFilled = `<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
6717
|
+
<g id="check-circle">
|
6718
|
+
<path id="Solid" fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM17.2071 9.70711C17.5976 9.31658 17.5976 8.68342 17.2071 8.29289C16.8166 7.90237 16.1834 7.90237 15.7929 8.29289L10.5 13.5858L8.20711 11.2929C7.81658 10.9024 7.18342 10.9024 6.79289 11.2929C6.40237 11.6834 6.40237 12.3166 6.79289 12.7071L9.79289 15.7071C10.1834 16.0976 10.8166 16.0976 11.2071 15.7071L17.2071 9.70711Z"/>
|
6719
|
+
</g>
|
6720
|
+
</svg>
|
6721
|
+
`;
|
6722
|
+
|
6699
6723
|
const CheckCircle = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
|
6700
6724
|
<path d="M7.5 12L10.5 15L16.5 9M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
6701
6725
|
</svg>
|
@@ -6706,6 +6730,19 @@ const Check = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" strok
|
|
6706
6730
|
</svg>
|
6707
6731
|
`;
|
6708
6732
|
|
6733
|
+
const ChevronDown = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
6734
|
+
<path fill-rule="evenodd" clip-rule="evenodd"
|
6735
|
+
d="M3.52864 5.52851C3.78899 5.26816 4.2111 5.26816 4.47145 5.52851L8.00004 9.05711L11.5286 5.52851C11.789 5.26816 12.2111 5.26816 12.4714 5.52851C12.7318 5.78886 12.7318 6.21097 12.4714 6.47132L8.47145 10.4713C8.2111 10.7317 7.78899 10.7317 7.52864 10.4713L3.52864 6.47132C3.26829 6.21097 3.26829 5.78886 3.52864 5.52851Z"
|
6736
|
+
fill="#141414" />
|
6737
|
+
</svg>`;
|
6738
|
+
|
6739
|
+
const ChevronSelectorVertical = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
|
6740
|
+
<g id="chevron-selector-vertical">
|
6741
|
+
<path id="Icon" d="M7 15L12 20L17 15M7 9L12 4L17 9" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
6742
|
+
</g>
|
6743
|
+
</svg>
|
6744
|
+
`;
|
6745
|
+
|
6709
6746
|
const ChevronUp = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
|
6710
6747
|
<path d="M18 15L12 9L6 15" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
6711
6748
|
</svg>
|
@@ -6737,6 +6774,27 @@ const Copy = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke
|
|
6737
6774
|
</svg>
|
6738
6775
|
`;
|
6739
6776
|
|
6777
|
+
const Cosmos = `<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2500 2500">
|
6778
|
+
<title>cosmos-atom-logo</title>
|
6779
|
+
<circle cx="1250" cy="1250" r="1250" style="fill:#2e3148"/>
|
6780
|
+
<circle cx="1250" cy="1250" r="725.31" style="fill:#1b1e36"/>
|
6781
|
+
<path d="M1252.57,159.47c-134.93,0-244.34,489.4-244.34,1093.11s109.41,1093.11,244.34,1093.11,244.34-489.4,244.34-1093.11S1387.5,159.47,1252.57,159.47ZM1269.44,2284c-15.43,20.58-30.86,5.14-30.86,5.14-62.14-72-93.21-205.76-93.21-205.76-108.69-349.79-82.82-1100.82-82.82-1100.82,51.08-596.24,144-737.09,175.62-768.36a19.29,19.29,0,0,1,24.74-2c45.88,32.51,84.36,168.47,84.36,168.47,113.63,421.81,103.34,817.9,103.34,817.9,10.29,344.65-56.94,730.45-56.94,730.45C1341.92,2222.22,1269.44,2284,1269.44,2284Z" style="fill:#6f7390"/>
|
6782
|
+
<path d="M2200.72,708.59c-67.18-117.08-546.09,31.58-1070,332s-893.47,638.89-826.34,755.92,546.09-31.58,1070-332,893.47-638.89,826.34-755.92h0ZM366.36,1780.45c-25.72-3.24-19.91-24.38-19.91-24.38C378,1666.36,478.4,1572.84,478.4,1572.84c249.43-268.36,913.79-619.65,913.79-619.65,542.54-252.42,711.06-241.77,753.81-230a19.29,19.29,0,0,1,14,20.58c-5.14,56-104.17,157-104.17,157C1746.71,1209.36,1398,1397.58,1398,1397.58c-293.83,180.5-661.93,314.09-661.93,314.09-280.09,100.93-369.7,68.78-369.7,68.78h0Z" style="fill:#6f7390"/>
|
6783
|
+
<path d="M2198.35,1800.41c67.7-116.77-300.93-456.79-823-759.47S374.43,587.76,306.79,704.73s300.93,456.79,823.3,759.47S2130.71,1917.39,2198.35,1800.41ZM351.65,749.85c-10-23.71,11.11-29.42,11.11-29.42C456.22,702.78,587.5,743,587.5,743c357.15,81.33,994,480.25,994,480.25,490.33,343.11,565.53,494.24,576.8,537.14a19.29,19.29,0,0,1-10.7,22.43c-51.13,23.41-188.07-11.47-188.07-11.47-422.07-113.17-759.62-320.52-759.62-320.52-303.29-163.58-603.19-415.28-603.19-415.28-227.88-191.87-245-285.44-245-285.44Z" style="fill:#6f7390"/>
|
6784
|
+
<circle cx="1250" cy="1250" r="128.6" style="fill:#b7b9c8"/>
|
6785
|
+
<ellipse cx="1777.26" cy="756.17" rx="74.59" ry="77.16" style="fill:#b7b9c8"/>
|
6786
|
+
<ellipse cx="552.98" cy="1018.52" rx="74.59" ry="77.16" style="fill:#b7b9c8"/>
|
6787
|
+
<ellipse cx="1098.25" cy="1965.02" rx="74.59" ry="77.16" style="fill:#b7b9c8"/>
|
6788
|
+
</svg>
|
6789
|
+
`;
|
6790
|
+
|
6791
|
+
const CreditCard02 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
|
6792
|
+
<g id="credit-card-02">
|
6793
|
+
<path id="Icon" d="M22 10H2M11 14H6M2 8.2L2 15.8C2 16.9201 2 17.4802 2.21799 17.908C2.40973 18.2843 2.71569 18.5903 3.09202 18.782C3.51984 19 4.07989 19 5.2 19L18.8 19C19.9201 19 20.4802 19 20.908 18.782C21.2843 18.5903 21.5903 18.2843 21.782 17.908C22 17.4802 22 16.9201 22 15.8V8.2C22 7.0799 22 6.51984 21.782 6.09202C21.5903 5.7157 21.2843 5.40974 20.908 5.21799C20.4802 5 19.9201 5 18.8 5L5.2 5C4.0799 5 3.51984 5 3.09202 5.21799C2.7157 5.40973 2.40973 5.71569 2.21799 6.09202C2 6.51984 2 7.07989 2 8.2Z" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
6794
|
+
</g>
|
6795
|
+
</svg>
|
6796
|
+
`;
|
6797
|
+
|
6740
6798
|
const CreditCard = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
|
6741
6799
|
<path d="M22 10H2M2 8.2L2 15.8C2 16.9201 2 17.4802 2.21799 17.908C2.40973 18.2843 2.71569 18.5903 3.09202 18.782C3.51984 19 4.07989 19 5.2 19L18.8 19C19.9201 19 20.4802 19 20.908 18.782C21.2843 18.5903 21.5903 18.2843 21.782 17.908C22 17.4802 22 16.9201 22 15.8V8.2C22 7.0799 22 6.51984 21.782 6.09202C21.5903 5.7157 21.2843 5.40974 20.908 5.21799C20.4802 5 19.9201 5 18.8 5L5.2 5C4.0799 5 3.51984 5 3.09202 5.21799C2.7157 5.40973 2.40973 5.71569 2.21799 6.09202C2 6.51984 2 7.07989 2 8.2Z" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
6742
6800
|
</svg>
|
@@ -6807,6 +6865,19 @@ const Earth = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns
|
|
6807
6865
|
</svg>
|
6808
6866
|
`;
|
6809
6867
|
|
6868
|
+
const Edit02 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
|
6869
|
+
<g id="edit-02">
|
6870
|
+
<path id="Icon" d="M18 10.0001L14 6.00006M2.5 21.5001L5.88437 21.124C6.29786 21.0781 6.5046 21.0551 6.69785 20.9925C6.86929 20.937 7.03245 20.8586 7.18289 20.7594C7.35245 20.6476 7.49955 20.5005 7.79373 20.2063L21 7.00006C22.1046 5.89549 22.1046 4.10463 21 3.00006C19.8955 1.89549 18.1046 1.89549 17 3.00006L3.79373 16.2063C3.49955 16.5005 3.35246 16.6476 3.24064 16.8172C3.14143 16.9676 3.06301 17.1308 3.00751 17.3022C2.94496 17.4955 2.92198 17.7022 2.87604 18.1157L2.5 21.5001Z" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
6871
|
+
</g>
|
6872
|
+
</svg>
|
6873
|
+
`;
|
6874
|
+
|
6875
|
+
const Ethereum = `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
|
6876
|
+
<path d="M15 9.99996L10 13.3333L5 9.99996L10 1.66663L15 9.99996Z" fill="black"/>
|
6877
|
+
<path d="M10 14.1666L5 10.8333L10 18.3333L15 10.8333L10 14.1666Z" fill="black"/>
|
6878
|
+
</svg>
|
6879
|
+
`;
|
6880
|
+
|
6810
6881
|
const EyeOff = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
|
6811
6882
|
<path d="M10.7429 5.09232C11.1494 5.03223 11.5686 5 12.0004 5C17.1054 5 20.4553 9.50484 21.5807 11.2868C21.7169 11.5025 21.785 11.6103 21.8231 11.7767C21.8518 11.9016 21.8517 12.0987 21.8231 12.2236C21.7849 12.3899 21.7164 12.4985 21.5792 12.7156C21.2793 13.1901 20.8222 13.8571 20.2165 14.5805M6.72432 6.71504C4.56225 8.1817 3.09445 10.2194 2.42111 11.2853C2.28428 11.5019 2.21587 11.6102 2.17774 11.7765C2.1491 11.9014 2.14909 12.0984 2.17771 12.2234C2.21583 12.3897 2.28393 12.4975 2.42013 12.7132C3.54554 14.4952 6.89541 19 12.0004 19C14.0588 19 15.8319 18.2676 17.2888 17.2766M3.00042 3L21.0004 21M9.8791 9.87868C9.3362 10.4216 9.00042 11.1716 9.00042 12C9.00042 13.6569 10.3436 15 12.0004 15C12.8288 15 13.5788 14.6642 14.1217 14.1213" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
6812
6883
|
</svg>
|
@@ -7284,6 +7355,19 @@ const PlusCircle = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none"
|
|
7284
7355
|
</g>
|
7285
7356
|
</svg>`;
|
7286
7357
|
|
7358
|
+
const Plus = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
|
7359
|
+
<g id="plus">
|
7360
|
+
<path id="Icon" d="M12 5V19M5 12H19" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
7361
|
+
</g>
|
7362
|
+
</svg>
|
7363
|
+
`;
|
7364
|
+
|
7365
|
+
const Polygon = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
7366
|
+
<path
|
7367
|
+
d="M12.0738 5.40664C11.7786 5.23751 11.3948 5.23751 11.0701 5.40664L8.7675 6.70333L7.20293 7.54902L4.90037 8.84568C4.60516 9.01481 4.2214 9.01481 3.89668 8.84568L2.06642 7.83086C1.77122 7.66173 1.56458 7.35168 1.56458 7.01341V5.01199C1.56458 4.67373 1.7417 4.36365 2.06642 4.19452L3.86715 3.20791C4.16236 3.03877 4.54612 3.03877 4.87084 3.20791L6.67159 4.19452C6.96677 4.36365 7.17343 4.67373 7.17343 5.01199V6.30869L8.738 5.43483V4.13814C8.738 3.79987 8.5609 3.48979 8.23616 3.32066L4.90037 1.46019C4.60516 1.29106 4.2214 1.29106 3.89668 1.46019L0.501845 3.32066C0.177122 3.48979 0 3.79987 0 4.13814V7.88727C0 8.22553 0.177122 8.53563 0.501845 8.70476L3.89668 10.5652C4.19187 10.7343 4.57564 10.7343 4.90037 10.5652L7.20293 9.29671L8.7675 8.42286L11.0701 7.15435C11.3653 6.98522 11.7491 6.98522 12.0738 7.15435L13.8745 8.14096C14.1697 8.31009 14.3764 8.6202 14.3764 8.95845V10.9598C14.3764 11.2981 14.1993 11.6082 13.8745 11.7773L12.0738 12.7921C11.7786 12.9613 11.3948 12.9613 11.0701 12.7921L9.26939 11.8055C8.97416 11.6364 8.7675 11.3263 8.7675 10.988V9.69137L7.20293 10.5652V11.8619C7.20293 12.2001 7.38008 12.5102 7.70476 12.6794L11.0996 14.5398C11.3948 14.709 11.7786 14.709 12.1033 14.5398L15.4982 12.6794C15.7933 12.5102 16 12.2001 16 11.8619V8.11275C16 7.7745 15.8228 7.46445 15.4982 7.29532L12.0738 5.40664Z"
|
7368
|
+
fill="#8247E5" />
|
7369
|
+
</svg>`;
|
7370
|
+
|
7287
7371
|
const PuzzlePiece = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
|
7288
7372
|
<path d="M7.5 4.5C7.5 3.11929 8.61929 2 10 2C11.3807 2 12.5 3.11929 12.5 4.5V6H13.5C14.8978 6 15.5967 6 16.1481 6.22836C16.8831 6.53284 17.4672 7.11687 17.7716 7.85195C18 8.40326 18 9.10218 18 10.5H19.5C20.8807 10.5 22 11.6193 22 13C22 14.3807 20.8807 15.5 19.5 15.5H18V17.2C18 18.8802 18 19.7202 17.673 20.362C17.3854 20.9265 16.9265 21.3854 16.362 21.673C15.7202 22 14.8802 22 13.2 22H12.5V20.25C12.5 19.0074 11.4926 18 10.25 18C9.00736 18 8 19.0074 8 20.25V22H6.8C5.11984 22 4.27976 22 3.63803 21.673C3.07354 21.3854 2.6146 20.9265 2.32698 20.362C2 19.7202 2 18.8802 2 17.2V15.5H3.5C4.88071 15.5 6 14.3807 6 13C6 11.6193 4.88071 10.5 3.5 10.5H2C2 9.10218 2 8.40326 2.22836 7.85195C2.53284 7.11687 3.11687 6.53284 3.85195 6.22836C4.40326 6 5.10218 6 6.5 6H7.5V4.5Z" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
7289
7373
|
</svg>
|
@@ -7372,6 +7456,31 @@ const Snapchat = `<svg width="24" height="24" viewBox="0 0 24 24" fill="currentC
|
|
7372
7456
|
</svg>
|
7373
7457
|
`;
|
7374
7458
|
|
7459
|
+
const Solana = `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
|
7460
|
+
<path d="M3.25027 14.1702C3.37266 14.0467 3.53858 13.9773 3.71157 13.9773H19.6731C19.9638 13.9773 20.1094 14.3325 19.9037 14.5401L16.7497 17.7238C16.6274 17.8473 16.4614 17.9167 16.2884 17.9167H0.326949C0.0362038 17.9167 -0.109361 17.5615 0.0962996 17.3539L3.25027 14.1702Z" fill="url(#paint0_linear_963_3782)"/>
|
7461
|
+
<path d="M3.25027 2.27631C3.37264 2.15276 3.53857 2.08337 3.71157 2.08337H19.6731C19.9638 2.08337 20.1094 2.43858 19.9037 2.64622L16.7497 5.82987C16.6274 5.95338 16.4614 6.02276 16.2884 6.02276H0.326949C0.0362038 6.02276 -0.109361 5.66756 0.0962996 5.45996L3.25027 2.27631Z" fill="url(#paint1_linear_963_3782)"/>
|
7462
|
+
<path d="M16.7497 8.18537C16.6274 8.06186 16.4614 7.99248 16.2884 7.99248H0.326949C0.0362038 7.99248 -0.109361 8.34768 0.0962996 8.55529L3.25027 11.7389C3.37264 11.8625 3.53857 11.9319 3.71157 11.9319H19.6731C19.9638 11.9319 20.1094 11.5767 19.9037 11.369L16.7497 8.18537Z" fill="url(#paint2_linear_963_3782)"/>
|
7463
|
+
<defs>
|
7464
|
+
<linearGradient id="paint0_linear_963_3782" x1="13.5212" y1="-2.25977" x2="2.29692" y2="19.0217" gradientUnits="userSpaceOnUse">
|
7465
|
+
<stop stop-color="#00FFA3"/>
|
7466
|
+
<stop offset="1" stop-color="#DC1FFF"/>
|
7467
|
+
</linearGradient>
|
7468
|
+
<linearGradient id="paint1_linear_963_3782" x1="13.5212" y1="-2.25977" x2="2.29692" y2="19.0217" gradientUnits="userSpaceOnUse">
|
7469
|
+
<stop stop-color="#00FFA3"/>
|
7470
|
+
<stop offset="1" stop-color="#DC1FFF"/>
|
7471
|
+
</linearGradient>
|
7472
|
+
<linearGradient id="paint2_linear_963_3782" x1="13.5212" y1="-2.25977" x2="2.29692" y2="19.0217" gradientUnits="userSpaceOnUse">
|
7473
|
+
<stop stop-color="#00FFA3"/>
|
7474
|
+
<stop offset="1" stop-color="#DC1FFF"/>
|
7475
|
+
</linearGradient>
|
7476
|
+
</defs>
|
7477
|
+
</svg>
|
7478
|
+
`;
|
7479
|
+
|
7480
|
+
const Star04Filled = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke="none" fill="currentColor">
|
7481
|
+
<path d="M12.9333 1.64102C12.7848 1.25483 12.4138 1 12 1C11.5862 1 11.2152 1.25483 11.0667 1.64102L9.0547 6.87211C8.7543 7.65315 8.6599 7.87822 8.53078 8.05981C8.40122 8.24202 8.24202 8.40122 8.05981 8.53078C7.87822 8.6599 7.65315 8.7543 6.8721 9.0547L1.64102 11.0667C1.25483 11.2152 1 11.5862 1 12C1 12.4138 1.25483 12.7848 1.64102 12.9333L6.87211 14.9453C7.65315 15.2457 7.87822 15.3401 8.05981 15.4692C8.24202 15.5988 8.40122 15.758 8.53078 15.9402C8.6599 16.1218 8.7543 16.3469 9.0547 17.1279L11.0667 22.359C11.2152 22.7452 11.5862 23 12 23C12.4138 23 12.7848 22.7452 12.9333 22.359L14.9453 17.1279C15.2457 16.3469 15.3401 16.1218 15.4692 15.9402C15.5988 15.758 15.758 15.5988 15.9402 15.4692C16.1218 15.3401 16.3469 15.2457 17.1279 14.9453L22.359 12.9333C22.7452 12.7848 23 12.4138 23 12C23 11.5862 22.7452 11.2152 22.359 11.0667L17.1279 9.0547C16.3469 8.7543 16.1218 8.6599 15.9402 8.53078C15.758 8.40122 15.5988 8.24202 15.4692 8.05981C15.3401 7.87822 15.2457 7.65315 14.9453 6.87211L12.9333 1.64102Z" />
|
7482
|
+
</svg>`;
|
7483
|
+
|
7375
7484
|
const Stars = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
|
7376
7485
|
<path d="M6.5 13L7.28446 14.5689C7.54995 15.0999 7.68269 15.3654 7.86003 15.5954C8.01739 15.7996 8.20041 15.9826 8.40455 16.14C8.63462 16.3173 8.9001 16.4501 9.43108 16.7155L11 17.5L9.43108 18.2845C8.9001 18.5499 8.63462 18.6827 8.40455 18.86C8.20041 19.0174 8.01739 19.2004 7.86003 19.4046C7.68269 19.6346 7.54995 19.9001 7.28446 20.4311L6.5 22L5.71554 20.4311C5.45005 19.9001 5.31731 19.6346 5.13997 19.4046C4.98261 19.2004 4.79959 19.0174 4.59545 18.86C4.36538 18.6827 4.0999 18.5499 3.56892 18.2845L2 17.5L3.56892 16.7155C4.0999 16.4501 4.36538 16.3173 4.59545 16.14C4.79959 15.9826 4.98261 15.7996 5.13997 15.5954C5.31731 15.3654 5.45005 15.0999 5.71554 14.5689L6.5 13Z" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
7377
7486
|
<path d="M15 2L16.1786 5.06442C16.4606 5.79765 16.6016 6.16426 16.8209 6.47264C17.0153 6.74595 17.254 6.98475 17.5274 7.17909C17.8357 7.39836 18.2024 7.53937 18.9356 7.82138L22 9L18.9356 10.1786C18.2024 10.4606 17.8357 10.6016 17.5274 10.8209C17.254 11.0153 17.0153 11.254 16.8209 11.5274C16.6016 11.8357 16.4606 12.2024 16.1786 12.9356L15 16L13.8214 12.9356C13.5394 12.2024 13.3984 11.8357 13.1791 11.5274C12.9847 11.254 12.746 11.0153 12.4726 10.8209C12.1643 10.6016 11.7976 10.4606 11.0644 10.1786L8 9L11.0644 7.82138C11.7976 7.53937 12.1643 7.39836 12.4726 7.17909C12.746 6.98475 12.9847 6.74595 13.1791 6.47264C13.3984 6.16426 13.5394 5.79765 13.8214 5.06442L15 2Z" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
@@ -7458,6 +7567,13 @@ const Twitter = `<svg width="24" height="24" viewBox="0 0 24 24" fill="currentCo
|
|
7458
7567
|
</svg>
|
7459
7568
|
`;
|
7460
7569
|
|
7570
|
+
const User = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
|
7571
|
+
<g id="user-03">
|
7572
|
+
<path id="Icon" d="M3 20C5.33579 17.5226 8.50702 16 12 16C15.493 16 18.6642 17.5226 21 20M16.5 7.5C16.5 9.98528 14.4853 12 12 12C9.51472 12 7.5 9.98528 7.5 7.5C7.5 5.01472 9.51472 3 12 3C14.4853 3 16.5 5.01472 16.5 7.5Z" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
7573
|
+
</g>
|
7574
|
+
</svg>
|
7575
|
+
`;
|
7576
|
+
|
7461
7577
|
const Wallet = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
|
7462
7578
|
<g id="wallet-04">
|
7463
7579
|
<path id="Icon" d="M20 9.5V7.2C20 6.0799 20 5.51984 19.782 5.09202C19.5903 4.7157 19.2843 4.40974 18.908 4.21799C18.4802 4 17.9201 4 16.8 4H5.2C4.0799 4 3.51984 4 3.09202 4.21799C2.7157 4.40973 2.40973 4.71569 2.21799 5.09202C2 5.51984 2 6.0799 2 7.2V16.8C2 17.9201 2 18.4802 2.21799 18.908C2.40973 19.2843 2.71569 19.5903 3.09202 19.782C3.51984 20 4.07989 20 5.2 20L16.8 20C17.9201 20 18.4802 20 18.908 19.782C19.2843 19.5903 19.5903 19.2843 19.782 18.908C20 18.4802 20 17.9201 20 16.8V14.5M15 12C15 11.5353 15 11.303 15.0384 11.1098C15.1962 10.3164 15.8164 9.69624 16.6098 9.53843C16.803 9.5 17.0353 9.5 17.5 9.5H19.5C19.9647 9.5 20.197 9.5 20.3902 9.53843C21.1836 9.69624 21.8038 10.3164 21.9616 11.1098C22 11.303 22 11.5353 22 12C22 12.4647 22 12.697 21.9616 12.8902C21.8038 13.6836 21.1836 14.3038 20.3902 14.4616C20.197 14.5 19.9647 14.5 19.5 14.5H17.5C17.0353 14.5 16.803 14.5 16.6098 14.4616C15.8164 14.3038 15.1962 13.6836 15.0384 12.8902C15 12.697 15 12.4647 15 12Z" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
@@ -11456,7 +11572,367 @@ const ZW = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
11456
11572
|
</svg>
|
11457
11573
|
`;
|
11458
11574
|
|
11459
|
-
const Icons = {
|
11575
|
+
const Icons = {
|
11576
|
+
alertCircle: AlertCircle,
|
11577
|
+
alertTriangle: AlertTriangle,
|
11578
|
+
angelListBrand: AngelListBrand,
|
11579
|
+
angelList: AngelList,
|
11580
|
+
appleBrand: AppleBrand,
|
11581
|
+
apple: Apple,
|
11582
|
+
arrowCircleBrokenDownLeft: ArrowCircleBrokenDownLeft,
|
11583
|
+
arrowCircleDownFilled: ArrowCircleDownFilled,
|
11584
|
+
arrowNarrow: ArrowNarrow,
|
11585
|
+
arrow: Arrow,
|
11586
|
+
backupKit: BackupKit,
|
11587
|
+
bank: Bank,
|
11588
|
+
brush: Brush,
|
11589
|
+
capsuleLogo: CapsuleLogo,
|
11590
|
+
capsuleRingsDark: CapsuleRingsDark,
|
11591
|
+
capsuleRings: CapsuleRings,
|
11592
|
+
capsule: Capsule,
|
11593
|
+
checkCircleFilled: CheckCircleFilled,
|
11594
|
+
checkCircle: CheckCircle,
|
11595
|
+
check: Check,
|
11596
|
+
chevronDown: ChevronDown,
|
11597
|
+
chevronSelectorVertical: ChevronSelectorVertical,
|
11598
|
+
chevronUp: ChevronUp,
|
11599
|
+
clock: Clock,
|
11600
|
+
close: Close,
|
11601
|
+
clubhouseBrand: ClubhouseBrand,
|
11602
|
+
clubhouse: Clubhouse,
|
11603
|
+
copy: Copy,
|
11604
|
+
cosmos: Cosmos,
|
11605
|
+
creditCard02: CreditCard02,
|
11606
|
+
creditCard: CreditCard,
|
11607
|
+
cube: Cube,
|
11608
|
+
decentBrand: DecentBrand,
|
11609
|
+
decent: Decent,
|
11610
|
+
discordBrand: DiscordBrand,
|
11611
|
+
discord: Discord,
|
11612
|
+
dot: Dot,
|
11613
|
+
downloadCloud: DownloadCloud,
|
11614
|
+
download: Download,
|
11615
|
+
dribbbleBrand: DribbbleBrand,
|
11616
|
+
dribbble: Dribbble,
|
11617
|
+
earth: Earth,
|
11618
|
+
edit02: Edit02,
|
11619
|
+
ethereum: Ethereum,
|
11620
|
+
eyeOff: EyeOff,
|
11621
|
+
eye: Eye,
|
11622
|
+
facebookBrand: FacebookBrand,
|
11623
|
+
facebook: Facebook,
|
11624
|
+
farcasterBrand: FarcasterBrand,
|
11625
|
+
farcaster: Farcaster,
|
11626
|
+
figmaBrand: FigmaBrand,
|
11627
|
+
figma: Figma,
|
11628
|
+
file: File,
|
11629
|
+
folder: Folder,
|
11630
|
+
githubBrand: GithubBrand,
|
11631
|
+
github: Github,
|
11632
|
+
globe: Globe,
|
11633
|
+
googleBrand: GoogleBrand,
|
11634
|
+
google: Google,
|
11635
|
+
helpCircle: HelpCircle,
|
11636
|
+
heroAlertCircle: HeroAlertCircle,
|
11637
|
+
heroCheckmarkCapsule: HeroCheckmarkCapsule,
|
11638
|
+
heroCheckmark: HeroCheckmark,
|
11639
|
+
heroEmail: HeroEmail,
|
11640
|
+
heroExternalConnection: HeroExternalConnection,
|
11641
|
+
heroLock: HeroLock,
|
11642
|
+
heroPasskey: HeroPasskey,
|
11643
|
+
heroPhone: HeroPhone,
|
11644
|
+
heroPlusCircleCapsule: HeroPlusCircleCapsule,
|
11645
|
+
heroPlusCircle: HeroPlusCircle,
|
11646
|
+
heroWallet: HeroWallet,
|
11647
|
+
home: Home,
|
11648
|
+
image: Image$1,
|
11649
|
+
infoCircle: InfoCircle,
|
11650
|
+
instagramBrand: InstagramBrand,
|
11651
|
+
instagram: Instagram,
|
11652
|
+
key: Key,
|
11653
|
+
lightning01: Lightning01,
|
11654
|
+
lightning: Lightning,
|
11655
|
+
linkExternal: LinkExternal,
|
11656
|
+
linkedinBrand: LinkedinBrand,
|
11657
|
+
linkedin: Linkedin,
|
11658
|
+
logOut: LogOut,
|
11659
|
+
mail: Mail,
|
11660
|
+
menu: Menu,
|
11661
|
+
moonpayBrand: MoonpayBrand,
|
11662
|
+
moreLoginOptions: MoreLoginOptions,
|
11663
|
+
phone: Phone,
|
11664
|
+
pintrestBrand: PintrestBrand,
|
11665
|
+
pintrest: Pintrest,
|
11666
|
+
plusCircle: PlusCircle,
|
11667
|
+
plus: Plus,
|
11668
|
+
polygon: Polygon,
|
11669
|
+
puzzlePiece: PuzzlePiece,
|
11670
|
+
qrCode02: QrCode02,
|
11671
|
+
qrCode: QrCode,
|
11672
|
+
rampNetworkBrand: RampNetworkBrand,
|
11673
|
+
rampNetwork: RampNetwork,
|
11674
|
+
redditBrand: RedditBrand,
|
11675
|
+
reddit: Reddit,
|
11676
|
+
refresh: Refresh,
|
11677
|
+
search: Search,
|
11678
|
+
send: Send,
|
11679
|
+
settings: Settings,
|
11680
|
+
shield: Shield,
|
11681
|
+
signalBrand: SignalBrand,
|
11682
|
+
signal: Signal,
|
11683
|
+
snapchatBrand: SnapchatBrand,
|
11684
|
+
snapchat: Snapchat,
|
11685
|
+
solana: Solana,
|
11686
|
+
star04Filled: Star04Filled,
|
11687
|
+
stars: Stars,
|
11688
|
+
stripeBrand: StripeBrand,
|
11689
|
+
telegramBrand: TelegramBrand,
|
11690
|
+
telegram: Telegram,
|
11691
|
+
tikTokBrand: TikTokBrand,
|
11692
|
+
tikTok: TikTok,
|
11693
|
+
tumblrBrand: TumblrBrand,
|
11694
|
+
tumblr: Tumblr,
|
11695
|
+
twitterBrand: TwitterBrand,
|
11696
|
+
twitter: Twitter,
|
11697
|
+
user: User,
|
11698
|
+
wallet: Wallet,
|
11699
|
+
x: X,
|
11700
|
+
youtubeBrand: YoutubeBrand,
|
11701
|
+
youtube: Youtube,
|
11702
|
+
AD: AD,
|
11703
|
+
AE: AE,
|
11704
|
+
AF: AF,
|
11705
|
+
AG: AG,
|
11706
|
+
AI: AI,
|
11707
|
+
AL: AL,
|
11708
|
+
AM: AM,
|
11709
|
+
AO: AO,
|
11710
|
+
AR: AR,
|
11711
|
+
AS: AS,
|
11712
|
+
AT: AT,
|
11713
|
+
AU: AU,
|
11714
|
+
AW: AW,
|
11715
|
+
AX: AX,
|
11716
|
+
AZ: AZ,
|
11717
|
+
BA: BA,
|
11718
|
+
BB: BB,
|
11719
|
+
BD: BD,
|
11720
|
+
BE: BE,
|
11721
|
+
BF: BF,
|
11722
|
+
BG: BG,
|
11723
|
+
BH: BH,
|
11724
|
+
BI: BI,
|
11725
|
+
BJ: BJ,
|
11726
|
+
BL: BL,
|
11727
|
+
BM: BM,
|
11728
|
+
BN: BN,
|
11729
|
+
BO: BO,
|
11730
|
+
BQ: BQ,
|
11731
|
+
BQ2: BQ2,
|
11732
|
+
BQ3: BQ3,
|
11733
|
+
BR: BR,
|
11734
|
+
BS: BS,
|
11735
|
+
BT: BT,
|
11736
|
+
BW: BW,
|
11737
|
+
BY: BY,
|
11738
|
+
BZ: BZ,
|
11739
|
+
CA: CA,
|
11740
|
+
CC: CC,
|
11741
|
+
CD: CD,
|
11742
|
+
CD2: CD2,
|
11743
|
+
CF: CF,
|
11744
|
+
CH: CH,
|
11745
|
+
CK: CK,
|
11746
|
+
CL: CL,
|
11747
|
+
CM: CM,
|
11748
|
+
CN: CN,
|
11749
|
+
CO: CO,
|
11750
|
+
CR: CR,
|
11751
|
+
CU: CU,
|
11752
|
+
CW: CW,
|
11753
|
+
CX: CX,
|
11754
|
+
CY: CY,
|
11755
|
+
CZ: CZ,
|
11756
|
+
DE: DE,
|
11757
|
+
DJ: DJ,
|
11758
|
+
DK: DK,
|
11759
|
+
DM: DM,
|
11760
|
+
DO: DO,
|
11761
|
+
DS: DS,
|
11762
|
+
DZ: DZ,
|
11763
|
+
EC: EC,
|
11764
|
+
EE: EE,
|
11765
|
+
EG: EG,
|
11766
|
+
EH: EH,
|
11767
|
+
ER: ER,
|
11768
|
+
ES: ES,
|
11769
|
+
ET: ET,
|
11770
|
+
FI: FI,
|
11771
|
+
FJ: FJ,
|
11772
|
+
FK: FK,
|
11773
|
+
FM: FM,
|
11774
|
+
FO: FO,
|
11775
|
+
FR: FR,
|
11776
|
+
GA: GA,
|
11777
|
+
GB2: GB2,
|
11778
|
+
GB: GB,
|
11779
|
+
GD: GD,
|
11780
|
+
GE: GE,
|
11781
|
+
GG: GG,
|
11782
|
+
GH: GH,
|
11783
|
+
GI: GI,
|
11784
|
+
GL: GL,
|
11785
|
+
GM: GM,
|
11786
|
+
GN: GN,
|
11787
|
+
GQ: GQ,
|
11788
|
+
GR: GR,
|
11789
|
+
GT: GT,
|
11790
|
+
GU: GU,
|
11791
|
+
GW: GW,
|
11792
|
+
GY: GY,
|
11793
|
+
HK: HK,
|
11794
|
+
HN: HN,
|
11795
|
+
HR: HR,
|
11796
|
+
HT: HT,
|
11797
|
+
HU: HU,
|
11798
|
+
ID: ID,
|
11799
|
+
IE: IE,
|
11800
|
+
IL: IL,
|
11801
|
+
IM: IM,
|
11802
|
+
IN: IN,
|
11803
|
+
IO: IO,
|
11804
|
+
IQ: IQ,
|
11805
|
+
IR: IR,
|
11806
|
+
IS: IS,
|
11807
|
+
IT: IT,
|
11808
|
+
JE: JE,
|
11809
|
+
JM: JM,
|
11810
|
+
JO: JO,
|
11811
|
+
JP: JP,
|
11812
|
+
KE: KE,
|
11813
|
+
KG: KG,
|
11814
|
+
KH: KH,
|
11815
|
+
KI: KI,
|
11816
|
+
KM: KM,
|
11817
|
+
KN: KN,
|
11818
|
+
KP: KP,
|
11819
|
+
KR: KR,
|
11820
|
+
KW: KW,
|
11821
|
+
KY: KY,
|
11822
|
+
KZ: KZ,
|
11823
|
+
LA: LA,
|
11824
|
+
LB: LB,
|
11825
|
+
LC: LC,
|
11826
|
+
LI: LI,
|
11827
|
+
LK: LK,
|
11828
|
+
LR: LR,
|
11829
|
+
LS: LS,
|
11830
|
+
LT: LT,
|
11831
|
+
LU: LU,
|
11832
|
+
LV: LV,
|
11833
|
+
LY: LY,
|
11834
|
+
MA: MA,
|
11835
|
+
MC: MC,
|
11836
|
+
MD: MD,
|
11837
|
+
ME: ME,
|
11838
|
+
MG: MG,
|
11839
|
+
MH: MH,
|
11840
|
+
MK: MK,
|
11841
|
+
ML: ML,
|
11842
|
+
MM: MM,
|
11843
|
+
MN: MN,
|
11844
|
+
MO: MO,
|
11845
|
+
MP: MP,
|
11846
|
+
MQ: MQ,
|
11847
|
+
MR: MR,
|
11848
|
+
MS: MS,
|
11849
|
+
MT: MT,
|
11850
|
+
MU: MU,
|
11851
|
+
MV: MV,
|
11852
|
+
MW: MW,
|
11853
|
+
MX: MX,
|
11854
|
+
MY: MY,
|
11855
|
+
MZ: MZ,
|
11856
|
+
NA: NA,
|
11857
|
+
NE: NE,
|
11858
|
+
NF: NF,
|
11859
|
+
NG: NG,
|
11860
|
+
NI: NI,
|
11861
|
+
NL: NL,
|
11862
|
+
NO: NO,
|
11863
|
+
NP: NP,
|
11864
|
+
NR: NR,
|
11865
|
+
NU: NU,
|
11866
|
+
NZ: NZ,
|
11867
|
+
OM: OM,
|
11868
|
+
PA: PA,
|
11869
|
+
PE: PE,
|
11870
|
+
PF: PF,
|
11871
|
+
PG: PG,
|
11872
|
+
PH: PH,
|
11873
|
+
PK: PK,
|
11874
|
+
PL: PL,
|
11875
|
+
PN: PN,
|
11876
|
+
PR: PR,
|
11877
|
+
PS: PS,
|
11878
|
+
PT: PT,
|
11879
|
+
PW: PW,
|
11880
|
+
PY: PY,
|
11881
|
+
QA: QA,
|
11882
|
+
RO: RO,
|
11883
|
+
RS: RS,
|
11884
|
+
RU: RU,
|
11885
|
+
RW: RW,
|
11886
|
+
SA: SA,
|
11887
|
+
SB: SB,
|
11888
|
+
SC: SC,
|
11889
|
+
SE: SE,
|
11890
|
+
SG: SG,
|
11891
|
+
SI: SI,
|
11892
|
+
SK: SK,
|
11893
|
+
SL: SL,
|
11894
|
+
SM: SM,
|
11895
|
+
SN: SN,
|
11896
|
+
SO: SO,
|
11897
|
+
SR: SR,
|
11898
|
+
SS: SS,
|
11899
|
+
ST: ST,
|
11900
|
+
SV: SV,
|
11901
|
+
SX: SX,
|
11902
|
+
SY: SY,
|
11903
|
+
SZ: SZ,
|
11904
|
+
TC: TC,
|
11905
|
+
TD: TD,
|
11906
|
+
TG: TG,
|
11907
|
+
TH: TH,
|
11908
|
+
TJ: TJ,
|
11909
|
+
TK: TK,
|
11910
|
+
TL: TL,
|
11911
|
+
TM: TM,
|
11912
|
+
TN: TN,
|
11913
|
+
TO: TO,
|
11914
|
+
TR: TR,
|
11915
|
+
TT: TT,
|
11916
|
+
TV: TV,
|
11917
|
+
TW: TW,
|
11918
|
+
TZ: TZ,
|
11919
|
+
UA: UA,
|
11920
|
+
UG: UG,
|
11921
|
+
US: US,
|
11922
|
+
UY: UY,
|
11923
|
+
UZ: UZ,
|
11924
|
+
VC: VC,
|
11925
|
+
VE: VE,
|
11926
|
+
VG: VG,
|
11927
|
+
VI: VI,
|
11928
|
+
VN: VN,
|
11929
|
+
VU: VU,
|
11930
|
+
WS: WS,
|
11931
|
+
YE: YE,
|
11932
|
+
ZA: ZA,
|
11933
|
+
ZM: ZM,
|
11934
|
+
ZW: ZW,
|
11935
|
+
};
|
11460
11936
|
|
11461
11937
|
const cpslDropdownCss = ":host{display:block;position:relative;font-family:Arial, sans-serif;--input-color:var(--cpsl-color-text-primary);--container-background-color:var(--cpsl-color-input-surface-default);--container-border-color:var(--cpsl-color-input-border-active);--scrollbar-color:var(--cpsl-color-text-subtle);--divider-color:var(--cpsl-color-divider);--input-placeholder-color:var(--cpsl-color-text-secondary);--input-font-size:var(--cpsl-font-size-body-m);--button-hover-color:var(--cpsl-color-tile-button-surface-hover);font-family:var(--cpsl-font-family, inherit)}.input-container{position:relative;width:100%}::slotted(cpsl-dropdown){position:absolute;width:100%;top:100%;left:0;z-index:2}.dropdown-button{display:flex;width:100%;padding:0 4px;background:none;border:none;align-items:center;justify-content:space-between;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--input-color)}.dropdown-button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-grow:1}.dropdown-button div{margin-left:8px;display:flex;align-items:center}.dropdown-options{display:none;position:fixed;list-style:none;padding:0;margin-top:4px;border:1px solid var(--container-border-color);border-radius:8px;z-index:999999999999;overflow-y:auto;max-height:300px;box-sizing:border-box;background-color:var(--container-background-color);}.dropdown-options.open{display:block}.dropdown-options li{padding:8px;cursor:pointer;display:flex;align-items:center;border-bottom:1px solid var(--cpsl-color-divider);color:var(--input-color);background:var(--container-background-color);font-size:var(--input-font-size)}.dropdown-options li:hover{background-color:var(--button-hover-color)}.dropdown-options li svg{width:24px;height:24px;margin-right:8px;padding:0 8px;vertical-align:middle;}.dropdown-options::-webkit-scrollbar{width:8px;height:8px;background-color:transparent;}.dropdown-options::-webkit-scrollbar-thumb{background-color:var(--scrollbar-color);border-radius:10px;border:2px solid transparent;background-clip:content-box;height:8px}.dropdown-options::-webkit-scrollbar-track{background:transparent;}.dropdown-value{margin-left:8px;color:var(--cpsl-color-text-secondary)}.dropdown-button .chevron{transition:transform 0.3s ease}.dropdown-button .chevron.closed{transform:rotate(180deg)}.search-bar{padding:0;border-bottom:1px solid var(--cpsl-color-divider);position:sticky;top:0;background:var(--container-background-color);z-index:1;}.search-bar input{width:100%;padding:8px;border:none;box-sizing:border-box;font-size:var(--input-font-size);color:var(--input-color);background-color:var(--container-background-color);border-radius:0;}.search-bar input::placeholder{color:var(--input-placeholder-color)}.search-bar input:focus{outline:none;border-color:transparent;}";
|
11462
11938
|
const CpslDropdownStyle0 = cpslDropdownCss;
|
@@ -11557,7 +12033,7 @@ const CpslDropdown = class {
|
|
11557
12033
|
}
|
11558
12034
|
render() {
|
11559
12035
|
var _a, _b, _c;
|
11560
|
-
return (index.h(index.Host, { key: '
|
12036
|
+
return (index.h(index.Host, { key: 'a997453b8690196f125bcf96fd94d728e645cd9e' }, index.h("button", { key: '0be8f5b0b6fcb3a27a5885205c0f585a68dc1bb9', class: "dropdown-button", onClick: this.toggleDropdown }, `${((_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.selectedLabel) || ((_b = this.selectedItem) === null || _b === void 0 ? void 0 : _b.label)} ${(_c = this.selectedItem) === null || _c === void 0 ? void 0 : _c.value}`, index.h("div", { key: 'f324edfdd97304de361a0ccd2bec793af25d3aa3', class: `chevron ${this.isOpen ? '' : 'closed'}`, innerHTML: Icons['chevronUp'] })), index.h("ul", { key: 'e1a3a097abb0633bd33caefabce016e2308f1ac0', class: { 'dropdown-options': true, 'open': this.isOpen }, style: { width: this.width } }, this.hasCpslSearch && (index.h("li", { key: '517c74f9f94df623206d8969a32d894b854f95a4', class: "search-bar" }, index.h("input", { key: '28ed686f30069ecb92dd0ee1852a9b9f94a98264', type: "text", placeholder: "Search...", value: this.searchQuery, onInput: this.handleSearchQueryChange }))), this.filteredItems.map(item => (index.h("li", { onClick: this.handleItemSelect(item) }, index.h("span", { innerHTML: Icons[item.icon] }), item.label, " ", index.h("span", { class: "dropdown-value" }, item.value)))))));
|
11561
12037
|
}
|
11562
12038
|
get el() { return index.getElement(this); }
|
11563
12039
|
static get watchers() { return {
|
@@ -11668,6 +12144,7 @@ const CpslFileUpload = class {
|
|
11668
12144
|
this.dragError = undefined;
|
11669
12145
|
this.isUploading = undefined;
|
11670
12146
|
this.uploadError = undefined;
|
12147
|
+
this.disabled = false;
|
11671
12148
|
this.errorText = undefined;
|
11672
12149
|
this.externalFilename = undefined;
|
11673
12150
|
this.externalSrc = undefined;
|
@@ -11692,7 +12169,7 @@ const CpslFileUpload = class {
|
|
11692
12169
|
}
|
11693
12170
|
render() {
|
11694
12171
|
var _a, _b, _c;
|
11695
|
-
return (index.h(index.Host, { key: '
|
12172
|
+
return (index.h(index.Host, { key: '521ca35901a009b303650d7446e1f148930d7fe3' }, this.label && (index.h("label", { key: '94c58691decea8455a254698ec8fd27baba260ca', class: "label", htmlFor: this.inputId }, this.label, this.required ? '*' : ' ', !this.required && this.showOptionalLabel ? index.h("span", { class: "optional-label" }, "(optional)") : '')), index.h("slot", { key: 'cf7e80e4c4a1e48b4f4efddfe4e8eb0f4a31ed4b', name: "label" }), index.h("div", { key: '35f1707b3c8d1f1c939d9312b541f32edfc424d1', class: { 'container': true, 'error': Boolean(this.errorText), 'drag': this.dragOver, 'drag-error': this.dragError } }, index.h("div", { key: '327f71aaaa7d4920a62118ea956c4c128907fae6', class: { 'label-container': true } }, index.h("slot", { key: '0c4891ffb0c9d49e2b5b09c3bdbc8d5b2ed3ff2d', name: "left-content" })), index.h("div", { key: '47dc7cc569d860dc07478c2782c62a0d25b3df07', class: { 'file-container': true } }, this.FileContent), index.h("input", { key: '809568bfed82463cda7851d3717187112cff708b', id: this.inputId, type: "file", accept: (_b = (_a = this.fileTypes) === null || _a === void 0 ? void 0 : _a.join(', ')) !== null && _b !== void 0 ? _b : '*', files: this.file ? [this.file] : undefined, onDrop: this.handleDrop, onDragEnter: this.handleDragEnter, onDragLeave: this.handleDragLeave, onChange: this.handleInputChange, disabled: this.disabled })), (this.errorText || this.helperText) && (index.h("div", { key: '6f06cba54f65d903b3d22e015e694a154b189df7', class: { 'helper-text-container': true, 'error-text': Boolean(this.errorText) } }, index.h("span", { key: '2103ca2366b9a7827c42302cea3fa8d8c71bc50b' }, (_c = this.errorText) !== null && _c !== void 0 ? _c : this.helperText)))));
|
11696
12173
|
}
|
11697
12174
|
get el() { return index.getElement(this); }
|
11698
12175
|
};
|
@@ -11709,7 +12186,7 @@ const CpslIcon = class {
|
|
11709
12186
|
this.icon = undefined;
|
11710
12187
|
}
|
11711
12188
|
render() {
|
11712
|
-
return (index.h(index.Host, { key: '
|
12189
|
+
return (index.h(index.Host, { key: '83970488e84a7359667faa9948079b3fac1b8e09', part: "icon", role: "img" }, !this.icon ? index.h("img", { src: this.src }) : index.h("div", { innerHTML: Icons[this.icon] })));
|
11713
12190
|
}
|
11714
12191
|
};
|
11715
12192
|
CpslIcon.style = CpslIconStyle0;
|
@@ -11747,7 +12224,7 @@ const CpslIconGroup = class {
|
|
11747
12224
|
render() {
|
11748
12225
|
// If disabled remove all brand icons to ensure the disabled color is shown correctly
|
11749
12226
|
const icons = this.disabled ? this.icons.map(icon => icon.replace('Brand', '')) : this.icons;
|
11750
|
-
return (index.h(index.Host, { key: '
|
12227
|
+
return (index.h(index.Host, { key: '687a32dfbceec5b1544c695bc4e8ffbcf094a384' }, icons.map((icon, index$1) => {
|
11751
12228
|
const isIcon = isOfTypeIconType(icon);
|
11752
12229
|
return (index.h("span", { part: "icon-container", class: {
|
11753
12230
|
'icon-container': true,
|
@@ -14246,6 +14723,7 @@ const CpslInput = class {
|
|
14246
14723
|
this.onFocus = (ev) => {
|
14247
14724
|
this.hasFocus = true;
|
14248
14725
|
this.focusedValue = this.value;
|
14726
|
+
this.autoselect && ev.target.select();
|
14249
14727
|
this.cpslFocus.emit(ev);
|
14250
14728
|
};
|
14251
14729
|
this.onPaste = (ev) => {
|
@@ -14278,6 +14756,7 @@ const CpslInput = class {
|
|
14278
14756
|
this.autocorrect = 'off';
|
14279
14757
|
this.noAutoDisable = undefined;
|
14280
14758
|
this.autofocus = false;
|
14759
|
+
this.autoselect = false;
|
14281
14760
|
this.disabled = false;
|
14282
14761
|
this.contrastText = false;
|
14283
14762
|
this.enterkeyhint = undefined;
|
@@ -14410,7 +14889,7 @@ const CpslInput = class {
|
|
14410
14889
|
}
|
14411
14890
|
render() {
|
14412
14891
|
var _a, _b;
|
14413
|
-
return (index.h(index.Host, { key: '
|
14892
|
+
return (index.h(index.Host, { key: '8d75dfc67222bd22182fb3cff6889c05cf70751c', class: { 'disabled': this.disabled, 'focused': this.hasFocus, 'has-value': Boolean(this.focusedValue) || Boolean(this.value), 'contrast-text': this.contrastText } }, this.label && (index.h("label", { key: 'ea73ce1c515c2a88c29cab8d44593564e50a650f', class: "label", htmlFor: this.inputId }, this.label, this.required ? '*' : ' ', !this.required && this.showOptionalLabel ? index.h("span", { class: "optional-label" }, "(optional)") : '')), index.h("div", { key: '46bbee17bf7fad032ebcd4fa597c07f9e620d20b', class: { 'input-container': true, 'error-container': Boolean(this.errorText) } }, index.h("slot", { key: '37b906201edd459f4b6ece834738b0b0c4056686', name: "start" }), index.h("input", { key: '1b591e74b5b8c05551957841336544efd619f7b0', class: "native-input", part: "native-input", ref: input => (this.nativeInput = input), id: this.inputId, disabled: this.disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, type: this.type, value: (_a = this.value) !== null && _a !== void 0 ? _a : '', onInput: this.onInput, onChange: this.onChange, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.focusInput, onPaste: this.onPaste }), index.h("slot", { key: 'df9222be5713355a74c1597eea1268163f25c766', name: "end" })), (this.errorText || this.helperText) && (index.h("div", { key: '500fae4fb57eac4d3b022a2e644ae0716d2f488d', class: { 'helper-text-container': true, 'error-text': Boolean(this.errorText) } }, index.h("span", { key: 'c01852200c748d7a54353199beb07a88abdda2f0' }, (_b = this.errorText) !== null && _b !== void 0 ? _b : this.helperText)))));
|
14414
14893
|
}
|
14415
14894
|
get el() { return index.getElement(this); }
|
14416
14895
|
static get watchers() { return {
|
@@ -14440,7 +14919,7 @@ const CpslNavButtonGroup = class {
|
|
14440
14919
|
return this.el.querySelectorAll('&> *:not(cpsl-nav-button)');
|
14441
14920
|
}
|
14442
14921
|
render() {
|
14443
|
-
return (index.h(index.Host, { key: '
|
14922
|
+
return (index.h(index.Host, { key: 'd52d419d0bcd96e2759a6a39f048f823c3d2ba69' }, index.h("slot", { key: '851d194ca0b7b0caef7b09420918eb4cdcbee137' })));
|
14444
14923
|
}
|
14445
14924
|
get el() { return index.getElement(this); }
|
14446
14925
|
};
|
@@ -14478,7 +14957,7 @@ const CpslOverlay = class {
|
|
14478
14957
|
}
|
14479
14958
|
}
|
14480
14959
|
render() {
|
14481
|
-
return (index.h(index.Host, { key: '
|
14960
|
+
return (index.h(index.Host, { key: '62199abc410f605818c392e64e0bcfc1a33ec8a5', style: this.zIndexOverride ? { zIndex: `${this.zIndexOverride}` } : {} }, index.h("slot", { key: 'df78ed55eac09acb15743c933ad0ee38a3d5b93a' })));
|
14482
14961
|
}
|
14483
14962
|
get el() { return index.getElement(this); }
|
14484
14963
|
static get watchers() { return {
|
@@ -14564,7 +15043,7 @@ const CpslPagination = class {
|
|
14564
15043
|
filteredPages.push(this.totalPages - 1);
|
14565
15044
|
}
|
14566
15045
|
}
|
14567
|
-
return (index.h(index.Host, { key: '
|
15046
|
+
return (index.h(index.Host, { key: '030d0a78198c77a243ae9996dd8192437c3c370b' }, index.h("cpsl-button-group", { key: 'b12f592a5cf2cdab91c82516206e4a831bdad5d6', selectedId: `${this.currentPage}` }, index.h("cpsl-button", { key: 'a24be555c3be19f63a5011aacac7046dbd8bdecd', class: "arrow-button", onClick: this.handlePrevClick }, index.h("cpsl-icon", { key: 'e82fe20b2091ede6ac99c16dfb433b47d7490293', class: { 'icon': true, 'start-icon': true }, icon: "arrowNarrow" })), filteredPages.map(page => (index.h("cpsl-button", { key: page, variant: "secondary", fullWidth: true, id: `${page}`, onClick: this.handlePageClick(page) }, index.h("cpsl-text", { variant: "bodyS" }, page + 1)))), index.h("cpsl-button", { key: '3d4c5c6b211a1543818746da22739df63a4afcee', class: "arrow-button", onClick: this.handleNextClick }, index.h("cpsl-icon", { key: 'f623fb7dc739556480bc90d1ce296baa8f5afcb0', class: "icon", icon: "arrowNarrow" })))));
|
14568
15047
|
}
|
14569
15048
|
static get watchers() { return {
|
14570
15049
|
"currentPage": ["watchChange"]
|
@@ -14581,7 +15060,7 @@ const CpslPill = class {
|
|
14581
15060
|
this.text = undefined;
|
14582
15061
|
}
|
14583
15062
|
render() {
|
14584
|
-
return (index.h(index.Host, { key: '
|
15063
|
+
return (index.h(index.Host, { key: 'a349d2f48d6ebc223437e1a9ca125587061659dc' }, index.h("div", { key: '1bf3f63a8c41fb7fa662201817f5884e3c3926fd', class: "pill-container" }, index.h("span", { key: 'd9ba2ff7fd44d242b5ae0ee037ae6b9c85ff4834' }, this.text))));
|
14585
15064
|
}
|
14586
15065
|
};
|
14587
15066
|
CpslPill.style = CpslPillStyle0;
|
@@ -14746,7 +15225,10 @@ const CpslPopover = class {
|
|
14746
15225
|
if (!this.open && !this.disabled) {
|
14747
15226
|
this.open = true;
|
14748
15227
|
this.cpslOpen.emit();
|
14749
|
-
|
15228
|
+
// Using a small timeout here to ensure the popover is open before attempting to do position calculations
|
15229
|
+
setTimeout(() => {
|
15230
|
+
this.setPosition();
|
15231
|
+
}, 40);
|
14750
15232
|
}
|
14751
15233
|
};
|
14752
15234
|
this.close = () => {
|
@@ -14804,7 +15286,7 @@ const CpslPopover = class {
|
|
14804
15286
|
}
|
14805
15287
|
render() {
|
14806
15288
|
var _a;
|
14807
|
-
return (index.h(index.Host, { key: '
|
15289
|
+
return (index.h(index.Host, { key: '6128da20f003b95925bf27a6d30dfd402bcc9e82', class: {
|
14808
15290
|
'open': this.open,
|
14809
15291
|
'transform-h-left': this.transformOriginHorizontal === 'left',
|
14810
15292
|
'transform-h-center': this.transformOriginHorizontal === 'center',
|
@@ -14812,7 +15294,7 @@ const CpslPopover = class {
|
|
14812
15294
|
'transform-v-top': this.transformOriginVertical === 'top',
|
14813
15295
|
'transform-v-center': this.transformOriginVertical === 'center',
|
14814
15296
|
'transform-v-bottom': this.transformOriginVertical === 'bottom',
|
14815
|
-
}, style: { top: `${this.positionY}px`, left: `${this.positionX}px`, width: !this.open ? '0px' : this.autoWidth ? 'auto' : `${(_a = this.triggerEl) === null || _a === void 0 ? void 0 : _a.clientWidth}px` } }, index.h("div", { key: '
|
15297
|
+
}, style: { top: `${this.positionY}px`, left: `${this.positionX}px`, width: !this.open ? '0px' : this.autoWidth ? 'auto' : `${(_a = this.triggerEl) === null || _a === void 0 ? void 0 : _a.clientWidth}px` } }, index.h("div", { key: '8245c2e3184150d41de74d203f548c71578e7c5e', id: "container", class: { container: true, open: this.open } }, index.h("slot", { key: 'b5900e3d8b1f80e604e7c7eb63ec9a345ffe2f31' }))));
|
14816
15298
|
}
|
14817
15299
|
get el() { return index.getElement(this); }
|
14818
15300
|
static get watchers() { return {
|
@@ -18958,7 +19440,7 @@ const CpslQrCode = class {
|
|
18958
19440
|
return this.el.shadowRoot.getElementById('qr-code');
|
18959
19441
|
}
|
18960
19442
|
render() {
|
18961
|
-
return (index.h(index.Host, { key: '
|
19443
|
+
return (index.h(index.Host, { key: '7d2e72abdbc8a7bb5dba82ae7c19d673224300ff' }, index.h("div", { key: '633e00d74c014fa92544b4dc7e2246c390db0796', id: "qr-container", class: "qr-container", style: { width: `${this.size}px`, height: `${this.size}px` } }, index.h("img", { key: '92d42de9c33b75d9fbb451e8586700c562cc385b', id: "qr-code", class: "qr-code" }))));
|
18962
19444
|
}
|
18963
19445
|
get el() { return index.getElement(this); }
|
18964
19446
|
};
|
@@ -18979,12 +19461,12 @@ const CpslRadio = class {
|
|
18979
19461
|
this.checked = undefined;
|
18980
19462
|
}
|
18981
19463
|
render() {
|
18982
|
-
return (index.h(index.Host, { key: '
|
19464
|
+
return (index.h(index.Host, { key: 'a0440f0feb4b7a67517d1d8278e9bcbb2c7ef764' }, index.h("input", { key: '54dc5c3e64777504d5c851940d785a90de2d2882', type: "radio", checked: this.checked }), index.h("span", { key: 'dc5d326b957993e0a14ae6827751e946e141d3e6', onClick: this.handleRadioClick, class: { container: true, checked: this.checked } })));
|
18983
19465
|
}
|
18984
19466
|
};
|
18985
19467
|
CpslRadio.style = CpslRadioStyle0;
|
18986
19468
|
|
18987
|
-
const cpslSelectCss = ":host{--container-box-shadow:none;--container-box-shadow-color:var(--cpsl-color-select-border-placeholder);--container-border-color:var(--cpsl-color-select-border-active);--container-border-error-color:var(--cpsl-color-select-border-error);--container-background-color:var(--cpsl-color-select-surface-default);--container-background-color-disabled:var(--cpsl-color-select-surface-disabled);--container-border-width:1px;--container-border-radius:var(--cpsl-border-radius-select);--container-padding-top:0px;--container-padding-bottom:0px;--container-padding-end:12px;--container-padding-start:12px;--container-height:48px;--container-gap:8px;--dropdown-margin-top:4px;--dropdown-border-width:1px;--dropdown-border-radius:var(--cpsl-border-radius-select);--dropdown-border-color:var(--cpsl-color-select-dropdown-border);--optional-label-color:var(--cpsl-color-text-secondary);--label-color:var(--cpsl-color-text-primary);--label-font-size:var(--cpsl-font-size-body-s);--label-margin-bottom:0px;--helper-text-color:var(--cpsl-color-text-secondary);--helper-text-error-color:var(--cpsl-color-text-error);--helper-text-icon-color:var(--cpsl-color-text-secondary);--helper-text-icon-error-color:var(--cpsl-color-text-error);--helper-text-icon-size:16px;--helper-text-font-size:var(--cpsl-font-size-body-xs);--helper-text-margin-top:0px;--icon-height:24px;--icon-width:24px;display:flex;flex-direction:column;gap:4px;font-family:var(--cpsl-font-family, inherit)}input{box-sizing:border-box;position:absolute;width:100%;height:100%;margin:0px;opacity:0;top:0;left:0;z-index:-1;cursor:pointer}input.disabled{cursor:default}:host(:not(.has-value)){--container-border-color:var(--cpsl-color-select-border-placeholder);--select-color:var(--cpsl-color-text-secondary)}:host(.disabled){--container-background-color:var(--container-background-color-disabled);--select-background-color:var(--select-background-color-disabled);--select-color:var(--cpsl-color-text-disabled)}:host(.focused){--container-box-shadow:0px 0px 0px 2px var(--container-box-shadow-color);--container-border-color:var(--cpsl-color-select-border-active);--container-background-color:var(--cpsl-color-select-surface-default)}.select-container{-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);position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;box-sizing:border-box;height:var(--container-height);gap:var(--container-gap);cursor:pointer;border-style:solid;border-width:var(--container-border-width);border-color:var(--container-border-color);border-radius:var(--container-border-radius);background:var(--container-background-color);box-shadow:var(--container-box-shadow)}.error-container{border-color:var(--container-border-error-color)}.label{display:inline-block;color:var(--label-color);font-size:var(--label-font-size);font-weight:500;margin-bottom:var(--label-margin-bottom)}.optional-label{display:inline-block;color:var(--optional-label-color);font-size:var(--label-font-size);font-weight:500}.helper-text-container{display:flex;align-items:center;gap:4px;color:var(--helper-text-color);font-size:var(--helper-text-font-size);font-weight:500;margin-top:var(--helper-text-margin-top)}.helper-text-container cpsl-icon{--height:var(--helper-text-icon-size);--width:var(--helper-text-icon-size);--icon-color:var(--helper-text-icon-color)}.error-text{color:var(--helper-text-error-color)}.error-text cpsl-icon{--icon-color:var(--helper-text-icon-error-color)}.selected-container-content{flex:1}.selected-container-content.hidden{display:none}.chevron{transition:transform 0.3s ease;transform:rotate(180deg);--icon-color:var(--cpsl-color-text-disabled);--height:var(--icon-height);--width:var(--icon-width)}.chevron.open{transform:rotate(0deg);--icon-color:var(--cpsl-color-text-primary)}.chevron.has-value{--icon-color:var(--cpsl-color-text-primary)}.selected-text{color:var(--cpsl-color-text-primary)}.selected-text.placeholder{color:var(--cpsl-color-text-disabled)}.dropdown{margin-top:var(--dropdown-margin-top);border-style:solid;border-width:var(--dropdown-border-width);border-color:var(--dropdown-border-color);border-radius:var(--dropdown-border-radius);overflow:hidden}.dropdown ::slotted(*:last-child){--container-border-width:0px}.dropdown-inner{overflow:auto;scrollbar-width:thin}.dropdown-inner ::slotted(cpsl-input){padding:8px}.search-container{position:sticky;top:0px;padding:8px;background-color:var(--cpsl-color-select-surface-default)}";
|
19469
|
+
const cpslSelectCss = ":host{--container-box-shadow:none;--container-box-shadow-color:var(--cpsl-color-select-border-placeholder);--container-border-color:var(--cpsl-color-select-border-active);--container-border-error-color:var(--cpsl-color-select-border-error);--container-background-color:var(--cpsl-color-select-surface-default);--container-background-color-disabled:var(--cpsl-color-select-surface-disabled);--container-border-width:1px;--container-border-radius:var(--cpsl-border-radius-select);--container-padding-top:0px;--container-padding-bottom:0px;--container-padding-end:12px;--container-padding-start:12px;--container-height:48px;--container-gap:8px;--dropdown-margin-top:4px;--dropdown-border-width:1px;--dropdown-border-radius:var(--cpsl-border-radius-select);--dropdown-border-color:var(--cpsl-color-select-dropdown-border);--optional-label-color:var(--cpsl-color-text-secondary);--label-color:var(--cpsl-color-text-primary);--label-font-size:var(--cpsl-font-size-body-s);--label-margin-bottom:0px;--helper-text-color:var(--cpsl-color-text-secondary);--helper-text-error-color:var(--cpsl-color-text-error);--helper-text-icon-color:var(--cpsl-color-text-secondary);--helper-text-icon-error-color:var(--cpsl-color-text-error);--helper-text-icon-size:16px;--helper-text-font-size:var(--cpsl-font-size-body-xs);--helper-text-margin-top:0px;--icon-height:24px;--icon-width:24px;display:flex;flex-direction:column;gap:4px;font-family:var(--cpsl-font-family, inherit)}input{box-sizing:border-box;position:absolute;width:100%;height:100%;margin:0px;opacity:0;top:0;left:0;z-index:-1;cursor:pointer}input.disabled{cursor:default}:host(:not(.has-value)){--container-border-color:var(--cpsl-color-select-border-placeholder);--select-color:var(--cpsl-color-text-secondary)}:host(.disabled){--container-background-color:var(--container-background-color-disabled);--select-background-color:var(--select-background-color-disabled);--select-color:var(--cpsl-color-text-disabled)}:host(.focused){--container-box-shadow:0px 0px 0px 2px var(--container-box-shadow-color);--container-border-color:var(--cpsl-color-select-border-active);--container-background-color:var(--cpsl-color-select-surface-default)}.select-container{-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);position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;box-sizing:border-box;height:var(--container-height);gap:var(--container-gap);cursor:pointer;border-style:solid;border-width:var(--container-border-width);border-color:var(--container-border-color);border-radius:var(--container-border-radius);background:var(--container-background-color);box-shadow:var(--container-box-shadow)}.error-container{border-color:var(--container-border-error-color)}.label{display:inline-block;color:var(--label-color);font-size:var(--label-font-size);font-weight:500;margin-bottom:var(--label-margin-bottom)}.optional-label{display:inline-block;color:var(--optional-label-color);font-size:var(--label-font-size);font-weight:500}.helper-text-container{display:flex;align-items:center;gap:4px;color:var(--helper-text-color);font-size:var(--helper-text-font-size);font-weight:500;margin-top:var(--helper-text-margin-top)}.helper-text-container cpsl-icon{--height:var(--helper-text-icon-size);--width:var(--helper-text-icon-size);--icon-color:var(--helper-text-icon-color)}.error-text{color:var(--helper-text-error-color)}.error-text cpsl-icon{--icon-color:var(--helper-text-icon-error-color)}.selected-container-content{flex:1}.selected-container-content.hidden{display:none}.chevron{transition:transform 0.3s ease;transform:rotate(180deg);--icon-color:var(--cpsl-color-text-disabled);--height:var(--icon-height);--width:var(--icon-width)}.chevron.open{transform:rotate(0deg);--icon-color:var(--cpsl-color-text-primary)}.chevron.has-value{--icon-color:var(--cpsl-color-text-primary)}.selected-text{color:var(--cpsl-color-text-primary)}.selected-text.placeholder{color:var(--cpsl-color-text-disabled)}.dropdown{margin-top:var(--dropdown-margin-top);border-style:solid;border-width:var(--dropdown-border-width);border-color:var(--dropdown-border-color);border-radius:var(--dropdown-border-radius);overflow:hidden}.dropdown ::slotted(*:last-child){--container-border-width:0px}.dropdown-inner{overflow:auto;max-height:calc(100vh - 32px);scrollbar-width:thin}.dropdown-inner ::slotted(cpsl-input){padding:8px}.search-container{position:sticky;top:0px;padding:8px;background-color:var(--cpsl-color-select-surface-default)}";
|
18988
19470
|
const CpslSelectStyle0 = cpslSelectCss;
|
18989
19471
|
|
18990
19472
|
const CpslSelect = class {
|
@@ -19049,7 +19531,9 @@ const CpslSelect = class {
|
|
19049
19531
|
this.formatValue = undefined;
|
19050
19532
|
this.helperText = undefined;
|
19051
19533
|
this.id = `${this.inputId}-trigger`;
|
19534
|
+
this.icon = 'chevronUp';
|
19052
19535
|
this.label = undefined;
|
19536
|
+
this.noIconAnimation = undefined;
|
19053
19537
|
this.placeholder = undefined;
|
19054
19538
|
this.required = false;
|
19055
19539
|
this.selectedValue = undefined;
|
@@ -19080,10 +19564,10 @@ const CpslSelect = class {
|
|
19080
19564
|
}
|
19081
19565
|
render() {
|
19082
19566
|
var _a, _b, _c, _d, _e;
|
19083
|
-
return (index.h(index.Host, { key: '
|
19567
|
+
return (index.h(index.Host, { key: '2b9aed2c27bd315180dbe84ea0fada27c841db10', id: this.id, class: { 'disabled': this.disabled, 'focused': this.hasFocus, 'has-value': Boolean(this.selectedValue) } }, this.label && (index.h("label", { key: '1960291b282ec415da6ff925c833dcc284fd6355', class: "label", htmlFor: this.inputId }, this.label, this.required ? '*' : ' ', !this.required && this.showOptionalLabel ? index.h("span", { class: "optional-label" }, "(optional)") : '')), index.h("div", { key: '18a1b68bf0f44075b6561f6877c6d1d1c2a2f0b0', part: "select-container", id: "select-container", class: { 'select-container': true, 'error-container': Boolean(this.errorText) }, onMouseDown: this.handleClick }, this.hasSelectedItem && this.showFormattedSelectedItem && index.h("slot", { key: '5e08be6aebc9dad1b3c9ef289a2ed7567ee3a15e', name: "selected-item" }), index.h("div", { key: '9842c7277c4f7fa7c7d442cce8c33069b2424c40', class: { 'selected-container-content': true, 'hidden': this.hasSelectedItem && this.showFormattedSelectedItem }, id: "selected-container-content", style: {} }, (!this.hasSelectedItem || !this.showFormattedSelectedItem) && (index.h("cpsl-text", { key: 'afe5e9c9948691a2f18112dff1d21ae7e1d5a7cc', class: { 'selected-text': true, 'placeholder': !this.selectedValue } }, !this.selectedValue ? ((_a = this.placeholder) !== null && _a !== void 0 ? _a : 'Select') : ((_c = (_b = this.formatValue) === null || _b === void 0 ? void 0 : _b.call(this, this.selectedValue)) !== null && _c !== void 0 ? _c : this.selectedValue)))), index.h("cpsl-icon", { key: '7488f111c9acbe6bdc4be47c075ac502abf6c83a', part: "icon", class: { 'chevron': true, 'open': !this.noIconAnimation && this.popoverOpen, 'has-value': Boolean(this.selectedValue) }, icon: this.icon }), index.h("input", { key: 'c9a5d5ed87b0a5d73e3614308e52444513287726', id: this.inputId, disabled: this.disabled, class: { disabled: this.disabled }, value: this.selectedValue, onFocus: this.onFocus, onBlur: this.onBlur, onKeyPress: this.handleEnterPress, inputmode: "none" })), (this.errorText || this.helperText) && (index.h("div", { key: '3dbaa76a9d6c29555a2cc8434eaff632deed037e', class: { 'helper-text-container': true, 'error-text': Boolean(this.errorText) } }, index.h("span", { key: '470a69fda9e2f79c94b2a15c4652a937f478f3d6' }, (_d = this.errorText) !== null && _d !== void 0 ? _d : this.helperText))), index.h("cpsl-popover", { key: 'e9b0325be7b95c4dd43607d85602db4e6ecd841f', part: "popover", autoWidth: this.autoWidth, trigger: this.id, preventBlur: this.hasFocus, disabled: this.disabled, anchorEl: this.anchorEl }, index.h("div", { key: '7e92585b0fd33a8ece0d1f1c056607283f576143', part: "dropdown", class: "dropdown" }, this.showSearch && (index.h("div", { key: 'bbba133e60ea9a402827da9e929696dd0f2d19a4', class: "search-container" }, index.h("cpsl-input", { key: '5fd037f49ce0a29eca6ce150beebe017ca1c0dec', onClick: e => e.stopPropagation(), placeholder: (_e = this.searchPlaceholder) !== null && _e !== void 0 ? _e : 'Search', value: "", onCpslInput: e => {
|
19084
19568
|
e.stopPropagation();
|
19085
19569
|
this.cpslSearchChange.emit(e.detail.value);
|
19086
|
-
} }))), index.h("div", { key: '
|
19570
|
+
} }))), index.h("div", { key: 'da8349c860028d188e3c17c971a5b8803ac1cc7d', class: "dropdown-inner", style: { maxHeight: `${this.dropdownMaxHeight}px` } }, index.h("slot", { key: 'b7e7e806d332025b063e47b7060167b0617fecf4', name: "items" }))))));
|
19087
19571
|
}
|
19088
19572
|
get el() { return index.getElement(this); }
|
19089
19573
|
static get watchers() { return {
|
@@ -19107,7 +19591,7 @@ const CpslSelectItem = class {
|
|
19107
19591
|
this.value = undefined;
|
19108
19592
|
}
|
19109
19593
|
render() {
|
19110
|
-
return (index.h(index.Host, { key: '
|
19594
|
+
return (index.h(index.Host, { key: '532ed86577783bc61c40a18de178e63d16cf24c1' }, index.h("div", { key: 'ebf183f51dc2082e853cda6f490ab1b1a2c72f99', part: "outer-container", class: "outer-container", onClick: this.handleItemClick }, index.h("div", { key: '1e2c94c4e4a61638fc7a0439a36672bc22f47d28', part: "inner-container", class: { 'inner-container': true, 'selected': this.selected } }, index.h("slot", { key: 'a5c01c9f324912eff3c7958370bbec29050e4f4a' })))));
|
19111
19595
|
}
|
19112
19596
|
};
|
19113
19597
|
CpslSelectItem.style = CpslSelectItemStyle0;
|
@@ -19243,7 +19727,7 @@ const CpslSlideButton = class {
|
|
19243
19727
|
return this.el.shadowRoot.getElementById('end-icon');
|
19244
19728
|
}
|
19245
19729
|
render() {
|
19246
|
-
return (index.h(index.Host, { key: '
|
19730
|
+
return (index.h(index.Host, { key: 'c396198f7247a40fb9ca03009fdde7478e25ec57' }, index.h("div", { key: 'ffc4f665dfcf595a6e332fe5864e0194543da59d', id: "slider-container", class: "slider-container" }, index.h("div", { key: 'f2834903ec83abffd252bdbb8918f53304840f55', id: "start-slider-container-background", class: { 'start-slider-container-background': true, 'slider-container-background': true } }), index.h("div", { key: 'cb315a8ce6b822661b01ecf40d852c77fee33fa3', id: "end-slider-container-background", class: { 'end-slider-container-background': true, 'slider-container-background': true } }), index.h("div", { key: '3179fcebe1513a2fa76ef53907a5876ee93756dd', id: "slider", class: { slider: true, disabled: this.disabled } }, index.h("cpsl-icon", { key: 'fe5246cc71fd8c45578fe6e72b4da9280fda04b3', id: "start-icon", class: { 'start-icon': true, 'icon': true }, icon: this.startIcon }), index.h("cpsl-icon", { key: '186789c69f11dc5f47de5daa12de414dc339d86f', id: "end-icon", class: { 'end-icon': true, 'icon': true }, icon: this.endIcon })), index.h("span", { key: 'e385a9bddb2874863305a7a32e5dc89770a44bac', id: "start-text", class: { 'start-text': true, 'disabled': this.disabled } }, this.startText), index.h("span", { key: 'f2dc440ff6f3e72bba50c949cc8abcdcc4f94566', id: "end-text", class: "end-text" }, this.endText))));
|
19247
19731
|
}
|
19248
19732
|
get el() { return index.getElement(this); }
|
19249
19733
|
};
|
@@ -19259,11 +19743,11 @@ const CpslSpinner = class {
|
|
19259
19743
|
this.speed = 1;
|
19260
19744
|
}
|
19261
19745
|
render() {
|
19262
|
-
return (index.h(index.Host, { key: '
|
19746
|
+
return (index.h(index.Host, { key: '5435b4e754383ad990e2fbf292c547fdff6a3c93', style: {
|
19263
19747
|
height: `${this.size}px`,
|
19264
19748
|
width: `${this.size}px`,
|
19265
19749
|
['--bar-width']: `${this.size * 0.12}px`,
|
19266
|
-
} }, index.h("div", { key: '
|
19750
|
+
} }, index.h("div", { key: '4cf6ac734c6c20fd4e5343ff2b30718f1ec0820a', class: "loader" })));
|
19267
19751
|
}
|
19268
19752
|
};
|
19269
19753
|
CpslSpinner.style = CpslSpinnerStyle0;
|
@@ -19281,18 +19765,19 @@ const CpslSwitch = class {
|
|
19281
19765
|
this.checked = undefined;
|
19282
19766
|
}
|
19283
19767
|
render() {
|
19284
|
-
return (index.h(index.Host, { key: '
|
19768
|
+
return (index.h(index.Host, { key: '80395b6f36c5653c725a69883098d2822cb6d420' }, index.h("input", { key: 'b9f74ffce1f02b8efa28b47f60c82e549a87bd09', type: "checkbox", checked: this.checked }), index.h("span", { key: '1f0763f6aaca5f55a66620a59444a907dc837360', onClick: this.handleSwitchClick, class: { container: true, checked: this.checked } }, index.h("span", { key: '1804cbae3ea10091952722c6bfb50c6dd518fe0b', class: { thumb: true, checked: this.checked } }))));
|
19285
19769
|
}
|
19286
19770
|
};
|
19287
19771
|
CpslSwitch.style = CpslSwitchStyle0;
|
19288
19772
|
|
19289
|
-
const cpslTabCss = ":host{--tab-color:var(--cpsl-color-text-secondary);--tab-gap:2px;--tab-icon-height:16px;--tab-icon-width:16px;
|
19773
|
+
const cpslTabCss = ":host{--tab-color:var(--cpsl-color-text-secondary);--tab-gap:2px;--tab-icon-height:16px;--tab-icon-width:16px;display:flex;flex:1 1 auto;align-items:center;cursor:pointer;z-index:10}:host ::slotted([slot=start]){--icon-color:var(--tab-color);--height:var(--tab-icon-height);--width:var(--tab-icon-width)}:host ::slotted([slot=end]){--icon-color:var(--tab-color);--height:var(--tab-icon-height);--width:var(--tab-icon-width)}:host(.selected){--tab-color:var(--cpsl-color-text-primary)}.tab-container{align-items:center;overflow:hidden;width:100%;text-overflow:ellipsis;text-align:center;white-space:nowrap;font-weight:500;color:var(--tab-color);display:flex;gap:var(--tab-gap);padding-top:var(--tab-top-padding);padding-bottom:var(--tab-bottom-padding);padding-left:var(--tab-left-padding);padding-right:var(--tab-right-padding)}.content{flex:1 1 auto}";
|
19290
19774
|
const CpslTabStyle0 = cpslTabCss;
|
19291
19775
|
|
19292
19776
|
const CpslTab = class {
|
19293
19777
|
constructor(hostRef) {
|
19294
19778
|
index.registerInstance(this, hostRef);
|
19295
19779
|
this.cpslTabButtonClick = index.createEvent(this, "cpslTabButtonClick", 7);
|
19780
|
+
this.cpslTabButtonSizeChange = index.createEvent(this, "cpslTabButtonSizeChange", 7);
|
19296
19781
|
this.onTabClicked = () => {
|
19297
19782
|
this.cpslTabButtonClick.emit({ tab: this.tab, selected: this.selected });
|
19298
19783
|
};
|
@@ -19305,6 +19790,13 @@ const CpslTab = class {
|
|
19305
19790
|
onTabsInit(ev) {
|
19306
19791
|
this.setSelected(ev);
|
19307
19792
|
}
|
19793
|
+
componentDidLoad() {
|
19794
|
+
new MutationObserver(() => {
|
19795
|
+
this.cpslTabButtonSizeChange.emit({ tab: this.tab });
|
19796
|
+
}).observe(this.el, {
|
19797
|
+
attributes: true,
|
19798
|
+
});
|
19799
|
+
}
|
19308
19800
|
setSelected(ev) {
|
19309
19801
|
const dispatchedFrom = ev.target;
|
19310
19802
|
const parent = this.el.parentElement;
|
@@ -19313,7 +19805,7 @@ const CpslTab = class {
|
|
19313
19805
|
}
|
19314
19806
|
}
|
19315
19807
|
render() {
|
19316
|
-
return (index.h(index.Host, { key: '
|
19808
|
+
return (index.h(index.Host, { key: '028bc025620e157f36758d6af5893b5067d42e22', class: { selected: this.selected }, onClick: this.onTabClicked }, index.h("div", { key: '6158adb9c6f477fba3b00fcfcc0b1c3717b8158e', class: { 'tab-container': true } }, index.h("slot", { key: 'e95d380390aacbe7e4630c32170a0bc7c113d871', name: "start" }), index.h("div", { key: '11905c7fa6cec1dec116738aa3fa35afc960ec87', class: "content" }, index.h("slot", { key: 'b9b157aa480845a5040fdd8d84499d9e00ed9a43' })), index.h("slot", { key: '0b5cff6fa6e070254205d7367a92dbae3cec1d3a', name: "end" }))));
|
19317
19809
|
}
|
19318
19810
|
get el() { return index.getElement(this); }
|
19319
19811
|
};
|
@@ -19371,7 +19863,7 @@ const CpslTable = class {
|
|
19371
19863
|
return this.el.shadowRoot.getElementById('footer-container');
|
19372
19864
|
}
|
19373
19865
|
render() {
|
19374
|
-
return (index.h(index.Host, { key: '
|
19866
|
+
return (index.h(index.Host, { key: '144ebe0917ce215a128b6653c8ed47138be7b319' }, index.h("cpsl-card", { key: '8197bc383734a332a2e0ee7221a1990ba20b1f84', part: "table-container", style: { position: 'relative' } }, index.h("div", { key: 'dd8d0026515ce96a848ae4a6cdf5cdab7bb7ddf2', id: "header-container", class: { 'container-header': true, 'shown': Boolean(this.containerHeaderEl) } }, index.h("slot", { key: '1b5a2cbae0fa49bb0b5b4d89fef4b44ce8a46439', name: "header" })), index.h("div", { key: 'e22bd3b94832ded10fe7b152d2d0c68165853529', id: "content-container", class: { 'content': true, 'horizontal-scroll': this.hasHorizontalScroll, 'vertical-scroll': this.hasVerticalScroll }, part: "content" }, index.h("slot", { key: 'f1bbfc01f1c25f820d9d4846ac1a7f64c21ee03b', name: "content" })), this.headerEl && this.contentContainerEl && this.footerEl && (index.h("div", { key: 'ad1e130185b6621b763892ae693ffab1d6243ae5', style: { top: `${this.headerEl.clientHeight + 2}px`, height: `${this.contentContainerEl.clientHeight}px` }, class: { 'overlay': true, 'horizontal-scroll': this.hasHorizontalScroll, 'vertical-scroll': this.hasVerticalScroll } })), index.h("div", { key: 'fb8b26f5d97b3965c50676b0541a14f21c675fe6', id: "footer-container", class: { 'container-footer': true, 'shown': Boolean(this.containerFooterEl) } }, index.h("slot", { key: '70a40dfe9bb80e3c825c895d12cb971467898e6a', name: "footer" })))));
|
19375
19867
|
}
|
19376
19868
|
get el() { return index.getElement(this); }
|
19377
19869
|
};
|
@@ -19410,6 +19902,12 @@ const CpslTabs = class {
|
|
19410
19902
|
this.selectedTabRect = getTab(this.tabs, this.selectedTab).getBoundingClientRect();
|
19411
19903
|
}
|
19412
19904
|
}
|
19905
|
+
onTabSizeChange(ev) {
|
19906
|
+
const { tab } = ev.detail;
|
19907
|
+
if (tab === this.selectedTab) {
|
19908
|
+
this.selectedTabRect = getTab(this.tabs, tab).getBoundingClientRect();
|
19909
|
+
}
|
19910
|
+
}
|
19413
19911
|
componentWillLoad() {
|
19414
19912
|
var _a, _b;
|
19415
19913
|
this.selectedTabRect = (_b = (_a = getTab(this.tabs, this.selectedTab)) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect()) !== null && _b !== void 0 ? _b : { width: 0, x: 0 };
|
@@ -19433,7 +19931,7 @@ const CpslTabs = class {
|
|
19433
19931
|
// Get border width as a number
|
19434
19932
|
const tabsBorderWidth = +getComputedStyle(this.el).getPropertyValue('--tabs-border-width').slice(0, -2);
|
19435
19933
|
const selectedTabRect = this.selectedTabRect;
|
19436
|
-
return (index.h(index.Host, { key: '
|
19934
|
+
return (index.h(index.Host, { key: '88426913982f1fe2abeefcd1671139b2804222bd', class: { 'full-width': this.fullWidth }, onCpslTabButtonClick: this.onTabClicked }, index.h("div", { key: '6dea5803e0c9de3ecd8207ec636f5a25741e277e', class: "tabs-container" }, index.h("slot", { key: '4cbd63beee77016213cda4f151934a4b4cbffeb3' }), index.h("div", { key: '636d1a79183a24526b013983fa5bb0a45d55d246', class: { slider: true, loaded: this.loaded }, style: { width: `${selectedTabRect.width - 8}px`, left: `${selectedTabRect.x - tabsPosition.x - tabsBorderWidth}px` } }))));
|
19437
19935
|
}
|
19438
19936
|
get el() { return index.getElement(this); }
|
19439
19937
|
static get watchers() { return {
|
@@ -19450,6 +19948,7 @@ CpslTabs.style = CpslTabsStyle0;
|
|
19450
19948
|
const cpslTextCss = ":host{font-family:var(--cpsl-font-family, inherit);color:var(--cpsl-color-text-primary);padding:0px;margin:0px;display:block}:host::-moz-selection{color:var(--cpsl-color-text-inverted) !important;background:var(--cpsl-color-background-64) !important}:host::selection{color:var(--cpsl-color-text-inverted) !important;background:var(--cpsl-color-background-64) !important}:host p,h1,h2,h3,h4,h5,h6{padding:0px;margin:0px;font-weight:inherit;font-size:inherit;letter-spacing:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-smooth:never}:host(.primary){color:var(--cpsl-color-text-primary)}:host(.secondary){color:var(--cpsl-color-text-secondary)}:host(.tertiary){color:var(--cpsl-color-text-tertiary)}:host(.subtle){color:var(--cpsl-color-text-subtle)}:host(.inverted){color:var(--cpsl-color-text-inverted)}:host(.error){color:var(--cpsl-color-text-error)}:host(.contrast){color:var(--cpsl-color-text-contrast)}:host(.medium){font-weight:500}:host(.semi-bold){font-weight:600}:host(.bold){font-weight:700}:host(.body-2xs){font-size:var(--cpsl-font-size-body-2xs)}:host(.body-xs){font-size:var(--cpsl-font-size-body-xs)}:host(.body-s){font-size:var(--cpsl-font-size-body-s);line-height:142.857%}:host(.body-m){font-size:var(--cpsl-font-size-body-m);line-height:150%}:host(.body-l){font-size:var(--cpsl-font-size-body-l);line-height:140%}:host(.body-xl){font-size:var(--cpsl-font-size-body-xl)}:host(.heading-xs){font-size:var(--cpsl-font-size-heading-xs)}:host(.heading-s){font-size:var(--cpsl-font-size-heading-s)}:host(.heading-m){font-size:var(--cpsl-font-size-heading-m);letter-spacing:-0.4px}:host(.heading-l){font-size:var(--cpsl-font-size-heading-l);letter-spacing:-1.12px}:host(.heading-xl){font-size:var(--cpsl-font-size-heading-xl);letter-spacing:-1.28px}:host(.heading-2xl){font-size:var(--cpsl-font-size-heading-2xl);letter-spacing:-1.44px}";
|
19451
19949
|
const CpslTextStyle0 = cpslTextCss;
|
19452
19950
|
|
19951
|
+
const TEXT_EL_PART = 'text-element';
|
19453
19952
|
const CpslText = class {
|
19454
19953
|
constructor(hostRef) {
|
19455
19954
|
index.registerInstance(this, hostRef);
|
@@ -19460,30 +19959,30 @@ const CpslText = class {
|
|
19460
19959
|
get Content() {
|
19461
19960
|
switch (this.variant) {
|
19462
19961
|
case 'headingXS': {
|
19463
|
-
return (index.h("h6",
|
19962
|
+
return (index.h("h6", { part: TEXT_EL_PART }, index.h("slot", null)));
|
19464
19963
|
}
|
19465
19964
|
case 'headingS': {
|
19466
|
-
return (index.h("h5",
|
19965
|
+
return (index.h("h5", { part: TEXT_EL_PART }, index.h("slot", null)));
|
19467
19966
|
}
|
19468
19967
|
case 'headingM': {
|
19469
|
-
return (index.h("h4",
|
19968
|
+
return (index.h("h4", { part: TEXT_EL_PART }, index.h("slot", null)));
|
19470
19969
|
}
|
19471
19970
|
case 'headingL': {
|
19472
|
-
return (index.h("h3",
|
19971
|
+
return (index.h("h3", { part: TEXT_EL_PART }, index.h("slot", null)));
|
19473
19972
|
}
|
19474
19973
|
case 'headingXL': {
|
19475
|
-
return (index.h("h2",
|
19974
|
+
return (index.h("h2", { part: TEXT_EL_PART }, index.h("slot", null)));
|
19476
19975
|
}
|
19477
19976
|
case 'heading2XL': {
|
19478
|
-
return (index.h("h1",
|
19977
|
+
return (index.h("h1", { part: TEXT_EL_PART }, index.h("slot", null)));
|
19479
19978
|
}
|
19480
19979
|
default: {
|
19481
|
-
return (index.h("p",
|
19980
|
+
return (index.h("p", { part: TEXT_EL_PART }, index.h("slot", null)));
|
19482
19981
|
}
|
19483
19982
|
}
|
19484
19983
|
}
|
19485
19984
|
render() {
|
19486
|
-
return (index.h(index.Host, { key: '
|
19985
|
+
return (index.h(index.Host, { key: '28319955a9eb1ffb9434647249d1f072cfa27824', class: {
|
19487
19986
|
// COLORS
|
19488
19987
|
'primary': this.color === 'primary',
|
19489
19988
|
'secondary': this.color === 'secondary',
|
@@ -19524,7 +20023,7 @@ const CpslTileButton = class {
|
|
19524
20023
|
this.icon = undefined;
|
19525
20024
|
}
|
19526
20025
|
render() {
|
19527
|
-
return (index.h(index.Host, { key: '
|
20026
|
+
return (index.h(index.Host, { key: 'dabee9c05e67f923fd4d8c88eac28a8b9efed9d4' }, index.h("button", { key: '2db84264a91bf9a58dea0fc414ef27f36f3464dd', class: "button-native" }, index.h("cpsl-icon", { key: 'bf29fece3a23fefc5856deab7fc8e3b7a57ce162', exportparts: "icon", src: this.src, icon: this.icon }), index.h("slot", { key: '5ef7bcf22ddbeb498576d03813b6594554f1a10f' }))));
|
19528
20027
|
}
|
19529
20028
|
};
|
19530
20029
|
CpslTileButton.style = CpslTileButtonStyle0;
|