@sellmate/design-system 1.0.22 → 1.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
- package/dist/cjs/design-system.cjs.js +4 -3
- package/dist/cjs/{index-D-PnW6jc.js → index-Qvv0fGgj.js} +9 -117
- package/dist/cjs/loader.cjs.js +4 -3
- package/dist/cjs/sd-badge.cjs.entry.js +2 -2
- package/dist/cjs/sd-button-v2.cjs.entry.js +3 -3
- package/dist/cjs/sd-button_21.cjs.entry.js +26 -26
- package/dist/cjs/sd-card.cjs.entry.js +2 -2
- package/dist/cjs/sd-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/sd-dropdown-button.cjs.entry.js +7 -6
- package/dist/cjs/sd-file-picker.cjs.entry.js +4 -4
- package/dist/cjs/sd-form.cjs.entry.js +1 -1
- package/dist/cjs/sd-guide.cjs.entry.js +3 -3
- package/dist/cjs/sd-popover.cjs.entry.js +4 -4
- package/dist/cjs/sd-progress.cjs.entry.js +3 -3
- package/dist/cjs/sd-radio-button-group.cjs.entry.js +1 -1
- package/dist/cjs/sd-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/sd-select-multiple-group.cjs.entry.js +1 -1
- package/dist/cjs/sd-select-multiple.cjs.entry.js +2 -2
- package/dist/cjs/sd-select-option-group.cjs.entry.js +4 -4
- package/dist/cjs/sd-tabs.cjs.entry.js +7 -9
- package/dist/cjs/sd-tag.cjs.entry.js +96 -38
- package/dist/cjs/sd-toast.cjs.entry.js +3 -3
- package/dist/cjs/sd-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/sd-toggle.cjs.entry.js +2 -2
- package/dist/cjs/{tooltipArrow-CMyNLSC-.js → tooltipArrow-Mb2Dhc7T.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/sd-badge/sd-badge.js +1 -1
- package/dist/collection/components/sd-button-v2/sd-button-v2.js +2 -2
- package/dist/collection/components/sd-card/sd-card.js +1 -1
- package/dist/collection/components/sd-date-picker/sd-date-picker.js +1 -1
- package/dist/collection/components/sd-date-range-picker/sd-date-range-picker.js +2 -2
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.css +2 -1
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +5 -4
- package/dist/collection/components/sd-field/sd-field.js +3 -3
- package/dist/collection/components/sd-file-picker/sd-file-picker.js +3 -3
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
- package/dist/collection/components/sd-guide/sd-guide.js +2 -2
- package/dist/collection/components/sd-icon/sd-icon.js +1 -1
- package/dist/collection/components/sd-input/sd-input.js +1 -1
- package/dist/collection/components/sd-loading-spinner/sd-loading-spinner.js +1 -1
- package/dist/collection/components/sd-number-input/sd-number-input.js +4 -4
- package/dist/collection/components/sd-pagination/sd-pagination.js +2 -2
- package/dist/collection/components/sd-popover/sd-popover.js +2 -2
- package/dist/collection/components/sd-portal/sd-portal.js +1 -1
- package/dist/collection/components/sd-progress/sd-progress.js +2 -2
- package/dist/collection/components/sd-select/sd-select-dropdown/sd-select-dropdown.js +2 -2
- package/dist/collection/components/sd-select/sd-select-option/sd-select-option.js +1 -1
- package/dist/collection/components/sd-select/sd-select-search-input/sd-select-search-input.js +3 -3
- package/dist/collection/components/sd-select-multiple/sd-select-multiple.js +1 -1
- package/dist/collection/components/sd-select-multiple-group/sd-select-option-group/sd-select-option-group.js +3 -3
- package/dist/collection/components/sd-tabs/sd-tabs.js +6 -8
- package/dist/collection/components/sd-tag/sd-tag.config.js +70 -0
- package/dist/collection/components/sd-tag/sd-tag.css +26 -56
- package/dist/collection/components/sd-tag/sd-tag.js +51 -104
- package/dist/collection/components/sd-textarea/sd-textarea.js +2 -2
- package/dist/collection/components/sd-toast/sd-toast.js +2 -2
- package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
- package/dist/collection/components/sd-toggle-button/sd-toggle-button.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-DB52ADSW.js → p-2FdkYfts.js} +1 -1
- package/dist/components/{p-DZqrfwuw.js → p-B1o7vc2v.js} +1 -1
- package/dist/components/p-B1vJXa29.js +1 -0
- package/dist/components/p-BFO8hHjW.js +1 -0
- package/dist/components/{p-CAJmL8nc.js → p-BKTfQGcR.js} +1 -1
- package/dist/components/{p-B4p2JGMI.js → p-BNuWMSR_.js} +1 -1
- package/dist/components/{p-B-UC5tW2.js → p-BxXKe48B.js} +1 -1
- package/dist/components/{p-Hvt2oWRk.js → p-CAZeEBeS.js} +1 -1
- package/dist/components/{p-DFgtwoFG.js → p-CDzGasXW.js} +1 -1
- package/dist/components/{p-DF2wExtn.js → p-CVvYLd5J.js} +1 -1
- package/dist/components/{p-DyeU47vV.js → p-CdCMe4bN.js} +1 -1
- package/dist/components/{p-BsQEKShq.js → p-CwM24aVj.js} +1 -1
- package/dist/components/{p-DYsHXden.js → p-CzHa12Ax.js} +1 -1
- package/dist/components/{p-JyVgfdnC.js → p-Czq-8oT7.js} +1 -1
- package/dist/components/{p-DdNQILvd.js → p-D-ian_bu.js} +1 -1
- package/dist/components/{p-D4kmO3k7.js → p-D9mJxIjm.js} +1 -1
- package/dist/components/{p-DExqkuUY.js → p-DYoNy5I7.js} +1 -1
- package/dist/components/{p-CWlCxabU.js → p-Dun2lZmi.js} +1 -1
- package/dist/components/{p-CysnHGj4.js → p-G4t0nGLP.js} +1 -1
- package/dist/components/p-NAapFxTw.js +1 -0
- package/dist/components/{p-C0yQ73oI.js → p-hfbNb5UF.js} +1 -1
- package/dist/components/sd-badge.js +1 -1
- package/dist/components/sd-button-v2.js +1 -1
- package/dist/components/sd-button.js +1 -1
- package/dist/components/sd-card.js +1 -1
- package/dist/components/sd-checkbox.js +1 -1
- package/dist/components/sd-date-box.js +1 -1
- package/dist/components/sd-date-picker.js +1 -1
- package/dist/components/sd-date-range-picker.js +1 -1
- package/dist/components/sd-dropdown-button.js +1 -1
- package/dist/components/sd-field.js +1 -1
- package/dist/components/sd-file-picker.js +1 -1
- package/dist/components/sd-floating-portal.js +1 -1
- package/dist/components/sd-form.js +1 -1
- package/dist/components/sd-guide.js +1 -1
- package/dist/components/sd-icon.js +1 -1
- package/dist/components/sd-input.js +1 -1
- package/dist/components/sd-loading-spinner.js +1 -1
- package/dist/components/sd-modal-card.js +1 -1
- package/dist/components/sd-number-input.js +1 -1
- package/dist/components/sd-pagination.js +1 -1
- package/dist/components/sd-popover.js +1 -1
- package/dist/components/sd-portal.js +1 -1
- package/dist/components/sd-progress.js +1 -1
- package/dist/components/sd-radio-button-group.js +1 -1
- package/dist/components/sd-radio-group.js +1 -1
- package/dist/components/sd-radio.js +1 -1
- package/dist/components/sd-select-dropdown.js +1 -1
- package/dist/components/sd-select-multiple-group.js +1 -1
- package/dist/components/sd-select-multiple.js +1 -1
- package/dist/components/sd-select-option-group.js +1 -1
- package/dist/components/sd-select-option.js +1 -1
- package/dist/components/sd-select-search-input.js +1 -1
- package/dist/components/sd-select.js +1 -1
- package/dist/components/sd-table.js +1 -1
- package/dist/components/sd-tabs.js +1 -1
- package/dist/components/sd-tag.js +1 -1
- package/dist/components/sd-textarea.js +1 -1
- package/dist/components/sd-toast.js +1 -1
- package/dist/components/sd-toggle-button.js +1 -1
- package/dist/components/sd-toggle.js +1 -1
- package/dist/components/sd-tooltip.js +1 -1
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/{p-938940a7.entry.js → p-02c5ab69.entry.js} +1 -1
- package/dist/design-system/{p-6c34df5b.entry.js → p-1b80635f.entry.js} +1 -1
- package/dist/design-system/{p-2ca338f9.entry.js → p-285cc646.entry.js} +1 -1
- package/dist/design-system/{p-8fde8570.entry.js → p-3565f871.entry.js} +1 -1
- package/dist/design-system/{p-0406b7f9.entry.js → p-5032c700.entry.js} +1 -1
- package/dist/design-system/{p-40da6e22.entry.js → p-5094848f.entry.js} +1 -1
- package/dist/design-system/p-59a52297.entry.js +1 -0
- package/dist/design-system/p-712c1ef1.entry.js +1 -0
- package/dist/design-system/{p-b2ab1c50.entry.js → p-83f320e6.entry.js} +1 -1
- package/dist/design-system/{p-32c27eca.entry.js → p-8b013328.entry.js} +1 -1
- package/dist/design-system/{p-d021a375.entry.js → p-9563ffe1.entry.js} +1 -1
- package/dist/design-system/p-B8tGP77V.js +2 -0
- package/dist/design-system/p-BeCHKP_I.js +1 -0
- package/dist/design-system/p-DQuL1Twl.js +1 -0
- package/dist/design-system/p-b1e45f3f.entry.js +1 -0
- package/dist/design-system/{p-a547f366.entry.js → p-c0655cd1.entry.js} +1 -1
- package/dist/design-system/p-d8a141e7.entry.js +1 -0
- package/dist/design-system/{p-322dbf53.entry.js → p-df3d3a2a.entry.js} +1 -1
- package/dist/design-system/{p-9ad83ffb.entry.js → p-e6d84ecf.entry.js} +1 -1
- package/dist/design-system/{p-7d35c7a7.entry.js → p-e7d7ceb4.entry.js} +1 -1
- package/dist/design-system/{p-646ed990.entry.js → p-ea26b8e9.entry.js} +1 -1
- package/dist/design-system/p-efd52bd3.entry.js +1 -0
- package/dist/design-system/{p-d38f59b3.entry.js → p-f1b31194.entry.js} +1 -1
- package/dist/design-system/{p-3885ca10.entry.js → p-f81d3798.entry.js} +1 -1
- package/dist/esm/app-globals-DQuL1Twl.js +3 -0
- package/dist/esm/design-system.js +4 -3
- package/dist/esm/{index-C_an1PQ3.js → index-B8tGP77V.js} +10 -117
- package/dist/esm/loader.js +4 -3
- package/dist/esm/sd-badge.entry.js +2 -2
- package/dist/esm/sd-button-v2.entry.js +3 -3
- package/dist/esm/sd-button_21.entry.js +26 -26
- package/dist/esm/sd-card.entry.js +2 -2
- package/dist/esm/sd-date-picker.entry.js +2 -2
- package/dist/esm/sd-dropdown-button.entry.js +7 -6
- package/dist/esm/sd-file-picker.entry.js +4 -4
- package/dist/esm/sd-form.entry.js +1 -1
- package/dist/esm/sd-guide.entry.js +3 -3
- package/dist/esm/sd-popover.entry.js +4 -4
- package/dist/esm/sd-progress.entry.js +3 -3
- package/dist/esm/sd-radio-button-group.entry.js +1 -1
- package/dist/esm/sd-radio-group.entry.js +1 -1
- package/dist/esm/sd-select-multiple-group.entry.js +1 -1
- package/dist/esm/sd-select-multiple.entry.js +2 -2
- package/dist/esm/sd-select-option-group.entry.js +4 -4
- package/dist/esm/sd-tabs.entry.js +7 -9
- package/dist/esm/sd-tag.entry.js +96 -38
- package/dist/esm/sd-toast.entry.js +3 -3
- package/dist/esm/sd-toggle-button.entry.js +2 -2
- package/dist/esm/sd-toggle.entry.js +2 -2
- package/dist/esm/{tooltipArrow-BTp0AVR2.js → tooltipArrow-Pdc3NIc9.js} +1 -1
- package/dist/types/components/sd-tabs/sd-tabs.d.ts +1 -1
- package/dist/types/components/sd-tag/sd-tag.config.d.ts +23 -0
- package/dist/types/components/sd-tag/sd-tag.d.ts +6 -10
- package/dist/types/components.d.ts +15 -27
- package/hydrate/index.js +166 -584
- package/hydrate/index.mjs +166 -584
- package/package.json +2 -2
- package/dist/components/p-Bd9o9P1x.js +0 -1
- package/dist/components/p-CDehvEQ5.js +0 -1
- package/dist/components/p-CaEyReID.js +0 -1
- package/dist/design-system/p-3edd59b5.entry.js +0 -1
- package/dist/design-system/p-47d37199.entry.js +0 -1
- package/dist/design-system/p-9650c304.entry.js +0 -1
- package/dist/design-system/p-Bak0zfmv.js +0 -1
- package/dist/design-system/p-C_an1PQ3.js +0 -2
- package/dist/design-system/p-ab3b6f63.entry.js +0 -1
- package/dist/design-system/p-e5c3927f.entry.js +0 -1
package/hydrate/index.mjs
CHANGED
|
@@ -130,7 +130,7 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
130
130
|
|
|
131
131
|
|
|
132
132
|
const NAMESPACE = 'design-system';
|
|
133
|
-
const BUILD = /* design-system */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", slotRelocation: true, state: true, updatable: true};
|
|
133
|
+
const BUILD = /* design-system */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", shadowDom: false, slotRelocation: true, state: true, updatable: true};
|
|
134
134
|
|
|
135
135
|
const globalStyles = ":root{--color-primary:#051D36;--sd-primary:#051D36;--color-secondary:#555555;--sd-secondary:#555555;--color-accent:#9C27B0;--sd-accent:#9C27B0;--color-positive:#0075FF;--sd-positive:#0075FF;--color-negative:#E30000;--sd-negative:#E30000;--color-info:#00CD52;--sd-info:#00CD52;--color-warning:#F2C037;--sd-warning:#F2C037;--color-caution_bg:#FEF1F1;--sd-caution_bg:#FEF1F1;--color-caution_icon:#FD9595;--sd-caution_icon:#FD9595;--color-header_alert:#FF7A00;--sd-header_alert:#FF7A00;--color-black:#000000;--sd-black:#000000;--color-grey_10:#F6F6F6;--sd-grey_10:#F6F6F6;--color-grey_20:#EEEEEE;--sd-grey_20:#EEEEEE;--color-grey_25:#E5E5E5;--sd-grey_25:#E5E5E5;--color-grey_30:#E1E1E1;--sd-grey_30:#E1E1E1;--color-grey_35:#D8D8D8;--sd-grey_35:#D8D8D8;--color-grey_45:#CCCCCC;--sd-grey_45:#CCCCCC;--color-grey_50:#BBBBBB;--sd-grey_50:#BBBBBB;--color-grey_55:#AAAAAA;--sd-grey_55:#AAAAAA;--color-grey_60:#999999;--sd-grey_60:#999999;--color-grey_65:#888888;--sd-grey_65:#888888;--color-grey_70:#737373;--sd-grey_70:#737373;--color-grey_80:#555555;--sd-grey_80:#555555;--color-grey_85:#444444;--sd-grey_85:#444444;--color-grey_90:#333333;--sd-grey_90:#333333;--color-grey_95:#222222;--sd-grey_95:#222222;--color-grey_05:#F9F9F9;--sd-grey_05:#F9F9F9;--color-white:#FFFFFF;--sd-white:#FFFFFF;--color-red_15:#FCEFEF;--sd-red_15:#FCEFEF;--color-red_20:#FCE6E6;--sd-red_20:#FCE6E6;--color-red_30:#FFD3D3;--sd-red_30:#FFD3D3;--color-red_45:#FFB5B5;--sd-red_45:#FFB5B5;--color-red_60:#FF7C7C;--sd-red_60:#FF7C7C;--color-red_70:#FB4444;--sd-red_70:#FB4444;--color-red_75:#E30000;--sd-red_75:#E30000;--color-red_80:#AD0000;--sd-red_80:#AD0000;--color-red_85:#820000;--sd-red_85:#820000;--color-red_90:#5E0000;--sd-red_90:#5E0000;--color-red_95:#440000;--sd-red_95:#440000;--color-red_99:#220000;--sd-red_99:#220000;--color-orange_10:#FEF1EA;--sd-orange_10:#FEF1EA;--color-orange_20:#FFEAD7;--sd-orange_20:#FFEAD7;--color-orange_35:#FFD5AF;--sd-orange_35:#FFD5AF;--color-orange_45:#FFBC81;--sd-orange_45:#FFBC81;--color-orange_55:#FFA452;--sd-orange_55:#FFA452;--color-orange_60:#FF7F22;--sd-orange_60:#FF7F22;--color-orange_65:#FF6B00;--sd-orange_65:#FF6B00;--color-orange_75:#CE4900;--sd-orange_75:#CE4900;--color-orange_85:#9B3700;--sd-orange_85:#9B3700;--color-orange_90:#752A00;--sd-orange_90:#752A00;--color-orange_95:#4D1B00;--sd-orange_95:#4D1B00;--color-orange_99:#2F1100;--sd-orange_99:#2F1100;--color-yellow_10:#FFF7DD;--sd-yellow_10:#FFF7DD;--color-yellow_20:#FEF1C4;--sd-yellow_20:#FEF1C4;--color-yellow_25:#FFE99E;--sd-yellow_25:#FFE99E;--color-yellow_30:#FEE17C;--sd-yellow_30:#FEE17C;--color-yellow_40:#FFD643;--sd-yellow_40:#FFD643;--color-yellow_45:#FFC700;--sd-yellow_45:#FFC700;--color-yellow_50:#EBB110;--sd-yellow_50:#EBB110;--color-yellow_60:#CA9612;--sd-yellow_60:#CA9612;--color-yellow_70:#916C0D;--sd-yellow_70:#916C0D;--color-yellow_80:#6C5002;--sd-yellow_80:#6C5002;--color-yellow_90:#453602;--sd-yellow_90:#453602;--color-yellow_95:#322700;--sd-yellow_95:#322700;--color-olive_10:#FBFBBF;--sd-olive_10:#FBFBBF;--color-olive_15:#FAFAA1;--sd-olive_15:#FAFAA1;--color-olive_20:#F6F65F;--sd-olive_20:#F6F65F;--color-olive_30:#EEEE37;--sd-olive_30:#EEEE37;--color-olive_45:#DDDD12;--sd-olive_45:#DDDD12;--color-olive_55:#C7C700;--sd-olive_55:#C7C700;--color-olive_65:#A5A500;--sd-olive_65:#A5A500;--color-olive_70:#838300;--sd-olive_70:#838300;--color-olive_80:#636300;--sd-olive_80:#636300;--color-olive_90:#454500;--sd-olive_90:#454500;--color-olive_95:#2C2C00;--sd-olive_95:#2C2C00;--color-olive_05:#FEFED9;--sd-olive_05:#FEFED9;--color-green_15:#E8F9EF;--sd-green_15:#E8F9EF;--color-green_25:#D4FAE3;--sd-green_25:#D4FAE3;--color-green_45:#ACF4C9;--sd-green_45:#ACF4C9;--color-green_55:#6DE39C;--sd-green_55:#6DE39C;--color-green_65:#2BCE6C;--sd-green_65:#2BCE6C;--color-green_70:#12B553;--sd-green_70:#12B553;--color-green_75:#00973C;--sd-green_75:#00973C;--color-green_80:#007B31;--sd-green_80:#007B31;--color-green_85:#006629;--sd-green_85:#006629;--color-green_90:#00461C;--sd-green_90:#00461C;--color-green_95:#003013;--sd-green_95:#003013;--color-green_99:#001D0B;--sd-green_99:#001D0B;--color-steelblue_10:#ECF8FD;--sd-steelblue_10:#ECF8FD;--color-steelblue_25:#D9F2FD;--sd-steelblue_25:#D9F2FD;--color-steelblue_45:#A4E2FD;--sd-steelblue_45:#A4E2FD;--color-steelblue_60:#50BFF0;--sd-steelblue_60:#50BFF0;--color-steelblue_65:#229FD7;--sd-steelblue_65:#229FD7;--color-steelblue_70:#128FC7;--sd-steelblue_70:#128FC7;--color-steelblue_75:#066D9B;--sd-steelblue_75:#066D9B;--color-steelblue_80:#06587D;--sd-steelblue_80:#06587D;--color-steelblue_85:#033F59;--sd-steelblue_85:#033F59;--color-steelblue_90:#032D40;--sd-steelblue_90:#032D40;--color-steelblue_95:#02212F;--sd-steelblue_95:#02212F;--color-steelblue_99:#021A25;--sd-steelblue_99:#021A25;--color-oceanblue_15:#EAF5FE;--sd-oceanblue_15:#EAF5FE;--color-oceanblue_25:#D5EBFE;--sd-oceanblue_25:#D5EBFE;--color-oceanblue_50:#9CD1FC;--sd-oceanblue_50:#9CD1FC;--color-oceanblue_60:#5CB0F3;--sd-oceanblue_60:#5CB0F3;--color-oceanblue_65:#1F8AE1;--sd-oceanblue_65:#1F8AE1;--color-oceanblue_70:#006AC1;--sd-oceanblue_70:#006AC1;--color-oceanblue_75:#025497;--sd-oceanblue_75:#025497;--color-oceanblue_80:#004177;--sd-oceanblue_80:#004177;--color-oceanblue_85:#07284A;--sd-oceanblue_85:#07284A;--color-oceanblue_90:#051D36;--sd-oceanblue_90:#051D36;--color-oceanblue_95:#03172D;--sd-oceanblue_95:#03172D;--color-oceanblue_99:#011428;--sd-oceanblue_99:#011428;--color-brilliantblue_10:#EFF6FF;--sd-brilliantblue_10:#EFF6FF;--color-brilliantblue_20:#E6F1FF;--sd-brilliantblue_20:#E6F1FF;--color-brilliantblue_25:#D9EAFF;--sd-brilliantblue_25:#D9EAFF;--color-brilliantblue_40:#BBDAFF;--sd-brilliantblue_40:#BBDAFF;--color-brilliantblue_50:#93C4FF;--sd-brilliantblue_50:#93C4FF;--color-brilliantblue_60:#64ABFF;--sd-brilliantblue_60:#64ABFF;--color-brilliantblue_70:#2D8DFF;--sd-brilliantblue_70:#2D8DFF;--color-brilliantblue_75:#0075FF;--sd-brilliantblue_75:#0075FF;--color-brilliantblue_80:#005CC9;--sd-brilliantblue_80:#005CC9;--color-brilliantblue_85:#004290;--sd-brilliantblue_85:#004290;--color-brilliantblue_90:#002B5E;--sd-brilliantblue_90:#002B5E;--color-brilliantblue_95:#001B39;--sd-brilliantblue_95:#001B39;--color-brilliantblue_99:#001226;--sd-brilliantblue_99:#001226;--color-brilliantblue_05:#F5FAFF;--sd-brilliantblue_05:#F5FAFF;--sd-system-typography-control-xs-font-family:Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif;--sd-system-typography-control-xs-font-size:12px;--sd-system-typography-control-xs-font-weight:500;--sd-system-typography-control-xs-text-decoration:none;--sd-system-typography-control-sm-font-family:Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif;--sd-system-typography-control-sm-font-size:12px;--sd-system-typography-control-sm-font-weight:500;--sd-system-typography-control-sm-text-decoration:none;--sd-system-typography-control-md-font-family:Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif;--sd-system-typography-control-md-font-size:16px;--sd-system-typography-control-md-font-weight:500;--sd-system-typography-control-md-text-decoration:none;--sd-system-typography-control-lg-font-family:Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif;--sd-system-typography-control-lg-font-size:18px;--sd-system-typography-control-lg-font-weight:500;--sd-system-typography-control-lg-text-decoration:none;--sd-system-size-control-xs-height:24px;--sd-system-size-control-sm-height:28px;--sd-system-size-control-md-height:34px;--sd-system-size-control-lg-height:62px;--sd-system-size-icon-xs:12px;--sd-system-size-icon-sm:16px;--sd-system-size-icon-md:20px;--sd-system-size-icon-lg:24px;--sd-system-space-control-xs-padding-x:8px;--sd-system-space-control-xs-gap:4px;--sd-system-space-control-sm-padding-x:12px;--sd-system-space-control-sm-gap:6px;--sd-system-space-control-md-padding-x:20px;--sd-system-space-control-md-gap:8px;--sd-system-space-control-lg-padding-x:28px;--sd-system-space-control-lg-gap:12px;--sd-system-radius-control-default:4px;--sd-system-border-width-control-default:1px;--sd-system-color-bg-screen:#EEEEEE;--sd-system-color-bg-frame:#FFFFFF;--sd-system-color-bg-brand:#025497;--sd-system-color-bg-subtle:#1F8AE1;--sd-system-color-bg-accent-default:#0075FF;--sd-system-color-bg-accent-light:#F5FAFF;--sd-system-color-bg-danger-default:#E30000;--sd-system-color-bg-danger-light:#FCEFEF;--sd-system-color-bg-warning:#FF6B00;--sd-system-color-bg-progress:#0075FF;--sd-system-color-bg-success-default:#00973C;--sd-system-color-bg-success-light:#12B553;--sd-system-color-text-primary:#222222;--sd-system-color-text-secondary:#333333;--sd-system-color-text-tertiary:#555555;--sd-system-color-text-quaternary:#888888;--sd-system-color-text-brand:#005CC9;--sd-system-color-text-subtle:#066D9B;--sd-system-color-text-accent:#0075FF;--sd-system-color-text-danger-default:#E30000;--sd-system-color-text-danger-light:#FB4444;--sd-system-color-text-warning:#FF6B00;--sd-system-color-text-inverse:#FFFFFF;--sd-system-color-link-accent:#006AC1;--sd-system-color-icon-brand:#025497;--sd-system-color-icon-accent:#0075FF;--sd-system-color-icon-danger:#E30000;--sd-system-color-icon-success:#00973C;--sd-system-color-icon-inverse:#FFFFFF;--sd-system-color-control-bg-disabled:#E1E1E1;--sd-system-color-control-border-disabled:#CCCCCC;--sd-system-color-control-content-disabled:#888888;--sd-button-xs-height:24px;--sd-button-xs-padding-x:8px;--sd-button-xs-gap:4px;--sd-button-xs-typography-font-family:Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif;--sd-button-xs-typography-font-size:12px;--sd-button-xs-typography-font-weight:500;--sd-button-xs-typography-text-decoration:none;--sd-button-sm-height:28px;--sd-button-sm-padding-x:12px;--sd-button-sm-gap:6px;--sd-button-sm-typography-font-family:Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif;--sd-button-sm-typography-font-size:12px;--sd-button-sm-typography-font-weight:500;--sd-button-sm-typography-text-decoration:none;--sd-button-md-height:34px;--sd-button-md-padding-x:20px;--sd-button-md-gap:8px;--sd-button-md-typography-font-family:Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif;--sd-button-md-typography-font-size:16px;--sd-button-md-typography-font-weight:500;--sd-button-md-typography-text-decoration:none;--sd-button-lg-height:62px;--sd-button-lg-padding-x:28px;--sd-button-lg-gap:12px;--sd-button-lg-typography-font-family:Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif;--sd-button-lg-typography-font-size:18px;--sd-button-lg-typography-font-weight:500;--sd-button-lg-typography-text-decoration:none;--sd-button-size-xs-icon:12px;--sd-button-size-sm-icon:16px;--sd-button-size-md-icon:20px;--sd-button-size-lg-icon:24px;--sd-button-radius-default:4px;--sd-button-border-width-default:1px;--sd-button-border-disabled:#CCCCCC;--sd-button-label-xs-min-width:36px;--sd-button-label-sm-min-width:70px;--sd-button-label-md-min-width:100px;--sd-button-label-lg-min-width:120px;--sd-button-leading-icon-xs-min-width:60px;--sd-button-leading-icon-sm-min-width:70px;--sd-button-leading-icon-md-min-width:100px;--sd-button-leading-icon-lg-min-width:120px;--sd-button-dropdown-xs-min-width:60px;--sd-button-dropdown-sm-min-width:76px;--sd-button-dropdown-md-min-width:106px;--sd-button-icon-only-xs-width:24px;--sd-button-icon-only-sm-width:28px;--sd-button-icon-only-md-width:34px;--sd-button-icon-only-lg-width:62px;--sd-button-bg-disabled:#E1E1E1;--sd-button-content-disabled:#888888;--sd-button-brand-strong-bg-default:#025497;--sd-button-brand-strong-bg-hover:#004177;--sd-button-brand-strong-content:#FFFFFF;--sd-button-brand-strong-dropdown-divider:#006AC1;--sd-button-brand-subtle-bg-default:#1F8AE1;--sd-button-brand-subtle-bg-hover:#006AC1;--sd-button-brand-subtle-content:#FFFFFF;--sd-button-brand-subtle-dropdown-divider:#5CB0F3;--sd-button-brand-outline-bg-default:#FFFFFF;--sd-button-brand-outline-bg-hover:#EAF5FE;--sd-button-brand-outline-border:#025497;--sd-button-brand-outline-content:#025497;--sd-button-neutral-subtle-bg-default:#FFFFFF;--sd-button-neutral-subtle-bg-hover:#EEEEEE;--sd-button-neutral-subtle-content:#333333;--sd-button-neutral-outline-bg-default:#FFFFFF;--sd-button-neutral-outline-bg-hover:#EEEEEE;--sd-button-neutral-outline-border:#888888;--sd-button-neutral-outline-content:#333333;--sd-button-danger-strong-bg-default:#E30000;--sd-button-danger-strong-bg-hover:#AD0000;--sd-button-danger-strong-content:#FFFFFF;--sd-button-danger-strong-dropdown-divider:#FF7C7C;--sd-button-danger-outline-bg-default:#FFFFFF;--sd-button-danger-outline-bg-hover:#FCEFEF;--sd-button-danger-outline-border:#E30000;--sd-button-danger-outline-content:#E30000}.bg-primary{background-color:var(--color-primary, #051d36)}.bg-secondary{background-color:var(--color-secondary, #555555)}.bg-accent{background-color:var(--color-accent, #9c27b0)}.bg-positive{background-color:var(--color-positive, #0075ff)}.bg-negative{background-color:var(--color-negative, #e30000)}.bg-info{background-color:var(--color-info, #00cd52)}.bg-warning{background-color:var(--color-warning, #f2c037)}.bg-red_99{background-color:var(--color-red_99, #220000)}.bg-red_95{background-color:var(--color-red_95, #440000)}.bg-red_90{background-color:var(--color-red_90, #5E0000)}.bg-red_85{background-color:var(--color-red_85, #820000)}.bg-red_80{background-color:var(--color-red_80, #AD0000)}.bg-red_75{background-color:var(--color-red_75, #E30000)}.bg-red_70{background-color:var(--color-red_70, #FB4444)}.bg-red_60{background-color:var(--color-red_60, #FF7C7C)}.bg-red_45{background-color:var(--color-red_45, #FFB5B5)}.bg-red_30{background-color:var(--color-red_30, #FFD3D3)}.bg-red_20{background-color:var(--color-red_20, #FCE6E6)}.bg-red_15{background-color:var(--color-red_15, #FCEFEF)}.bg-caution_bg{background-color:var(--color-caution_bg, #FEF1F1)}.bg-caution_icon{background-color:var(--color-caution_icon, #fd9595)}.bg-orange_99{background-color:var(--color-orange_99, #2F1100)}.bg-orange_95{background-color:var(--color-orange_95, #4D1B00)}.bg-orange_90{background-color:var(--color-orange_90, #752A00)}.bg-orange_85{background-color:var(--color-orange_85, #9B3700)}.bg-orange_75{background-color:var(--color-orange_75, #CE4900)}.bg-orange_65{background-color:var(--color-orange_65, #FF6B00)}.bg-orange_60{background-color:var(--color-orange_60, #FF7F22)}.bg-orange_55{background-color:var(--color-orange_55, #FFA452)}.bg-orange_45{background-color:var(--color-orange_45, #FFBC81)}.bg-orange_35{background-color:var(--color-orange_35, #FFD5AF)}.bg-orange_20{background-color:var(--color-orange_20, #FFEAD7)}.bg-orange_10{background-color:var(--color-orange_10, #FEF1EA)}.bg-header_alert{background-color:var(--color-header_alert, #FF7A00)}.bg-yellow_95{background-color:var(--color-yellow_95, #322700)}.bg-yellow_90{background-color:var(--color-yellow_90, #453702)}.bg-yellow_80{background-color:var(--color-yellow_80, #6C5602)}.bg-yellow_70{background-color:var(--color-yellow_70, #9C7A00)}.bg-yellow_60{background-color:var(--color-yellow_60, #C49900)}.bg-yellow_50{background-color:var(--color-yellow_50, #EBB800)}.bg-yellow_45{background-color:var(--color-yellow_45, #FFC700)}.bg-yellow_40{background-color:var(--color-yellow_40, #FFD643)}.bg-yellow_30{background-color:var(--color-yellow_30, #FEE17C)}.bg-yellow_25{background-color:var(--color-yellow_25, #FFE99E)}.bg-yellow_20{background-color:var(--color-yellow_20, #FEF1C4)}.bg-yellow_10{background-color:var(--color-yellow_10, #FFF7DD)}.bg-olive_95{background-color:var(--color-olive_95, #2C2C00)}.bg-olive_90{background-color:var(--color-olive_90, #454500)}.bg-olive_80{background-color:var(--color-olive_80, #636300)}.bg-olive_70{background-color:var(--color-olive_70, #838300)}.bg-olive_65{background-color:var(--color-olive_65, #A5A500)}.bg-olive_55{background-color:var(--color-olive_55, #C7C700)}.bg-olive_45{background-color:var(--color-olive_45, #DDDD12)}.bg-olive_30{background-color:var(--color-olive_30, #EEEE37)}.bg-olive_20{background-color:var(--color-olive_20, #F6F65F)}.bg-olive_15{background-color:var(--color-olive_15, #FAFAA1)}.bg-olive_10{background-color:var(--color-olive_10, #FBFBBF)}.bg-olive_05{background-color:var(--color-olive_05, #FEFED9)}.bg-green_99{background-color:var(--color-green_99, #001D0B)}.bg-green_95{background-color:var(--color-green_95, #003013)}.bg-green_90{background-color:var(--color-green_90, #00461C)}.bg-green_85{background-color:var(--color-green_85, #006629)}.bg-green_80{background-color:var(--color-green_80, #007B31)}.bg-green_75{background-color:var(--color-green_75, #00973C)}.bg-green_70{background-color:var(--color-green_70, #12B553)}.bg-green_65{background-color:var(--color-green_65, #2BCE6C)}.bg-green_55{background-color:var(--color-green_55, #6DE39C)}.bg-green_45{background-color:var(--color-green_45, #ACF4C9)}.bg-green_25{background-color:var(--color-green_25, #D4FAE3)}.bg-green_15{background-color:var(--color-green_15, #E8F9EF)}.bg-steelblue_99{background-color:var(--color-steelblue_99, #021a25)}.bg-steelblue_95{background-color:var(--color-steelblue_95, #02212f)}.bg-steelblue_90{background-color:var(--color-steelblue_90, #032d40)}.bg-steelblue_85{background-color:var(--color-steelblue_85, #033f59)}.bg-steelblue_80{background-color:var(--color-steelblue_80, #06587d)}.bg-steelblue_75{background-color:var(--color-steelblue_75, #066d9b)}.bg-steelblue_70{background-color:var(--color-steelblue_70, #128fc7)}.bg-steelblue_65{background-color:var(--color-steelblue_65, #229fd7)}.bg-steelblue_60{background-color:var(--color-steelblue_60, #50bff0)}.bg-steelblue_45{background-color:var(--color-steelblue_45, #a4e2fd)}.bg-steelblue_25{background-color:var(--color-steelblue_25, #d9f2fd)}.bg-steelblue_10{background-color:var(--color-steelblue_10, #ecf8fd)}.bg-oceanblue_99{background-color:var(--color-oceanblue_99, #011428)}.bg-oceanblue_95{background-color:var(--color-oceanblue_95, #03172d)}.bg-oceanblue_90{background-color:var(--color-oceanblue_90, #051d36)}.bg-oceanblue_85{background-color:var(--color-oceanblue_85, #07284a)}.bg-oceanblue_80{background-color:var(--color-oceanblue_80, #004177)}.bg-oceanblue_75{background-color:var(--color-oceanblue_75, #025497)}.bg-oceanblue_70{background-color:var(--color-oceanblue_70, #006ac1)}.bg-oceanblue_65{background-color:var(--color-oceanblue_65, #1f8ae1)}.bg-oceanblue_60{background-color:var(--color-oceanblue_60, #5cb0f3)}.bg-oceanblue_50{background-color:var(--color-oceanblue_50, #9cd1fc)}.bg-oceanblue_25{background-color:var(--color-oceanblue_25, #d5ebfe)}.bg-oceanblue_15{background-color:var(--color-oceanblue_15, #eaf5fe)}.bg-brilliantblue_99{background-color:var(--color-brilliantblue_99, #001226)}.bg-brilliantblue_95{background-color:var(--color-brilliantblue_95, #001b39)}.bg-brilliantblue_90{background-color:var(--color-brilliantblue_90, #002b5e)}.bg-brilliantblue_85{background-color:var(--color-brilliantblue_85, #004290)}.bg-brilliantblue_80{background-color:var(--color-brilliantblue_80, #005cc9)}.bg-brilliantblue_75{background-color:var(--color-brilliantblue_75, #0075ff)}.bg-brilliantblue_70{background-color:var(--color-brilliantblue_70, #2d8dff)}.bg-brilliantblue_60{background-color:var(--color-brilliantblue_60, #64abff)}.bg-brilliantblue_50{background-color:var(--color-brilliantblue_50, #93c4ff)}.bg-brilliantblue_40{background-color:var(--color-brilliantblue_40, #bbdaff)}.bg-brilliantblue_25{background-color:var(--color-brilliantblue_25, #d9eaff)}.bg-brilliantblue_20{background-color:var(--color-brilliantblue_20, #e6f1ff)}.bg-brilliantblue_10{background-color:var(--color-brilliantblue_10, #eff6ff)}.bg-brilliantblue_05{background-color:var(--color-brilliantblue_05, #f5faff)}.bg-grey_95{background-color:var(--color-grey_95, #222222)}.bg-grey_90{background-color:var(--color-grey_90, #333333)}.bg-grey_85{background-color:var(--color-grey_85, #444444)}.bg-grey_80{background-color:var(--color-grey_80, #555555)}.bg-grey_70{background-color:var(--color-grey_70, #737373)}.bg-grey_65{background-color:var(--color-grey_65, #888888)}.bg-grey_60{background-color:var(--color-grey_60, #999999)}.bg-grey_55{background-color:var(--color-grey_55, #aaaaaa)}.bg-grey_50{background-color:var(--color-grey_50, #bbbbbb)}.bg-grey_45{background-color:var(--color-grey_45, #cccccc)}.bg-grey_35{background-color:var(--color-grey_35, #D8D8D8)}.bg-grey_30{background-color:var(--color-grey_30, #e1e1e1)}.bg-grey_25{background-color:var(--color-grey_25, #E5E5E5)}.bg-grey_20{background-color:var(--color-grey_20, #eeeeee)}.bg-grey_10{background-color:var(--color-grey_10, #f6f6f6)}.bg-grey_05{background-color:var(--color-grey_05, #f9f9f9)}.bg-white{background-color:var(--color-white, #ffffff)}.bg-black{background-color:var(--color-black, #000000)}.text-primary{color:var(--color-primary, #051d36)}.text-secondary{color:var(--color-secondary, #555555)}.text-accent{color:var(--color-accent, #9c27b0)}.text-positive{color:var(--color-positive, #0075ff)}.text-negative{color:var(--color-negative, #e30000)}.text-info{color:var(--color-info, #00cd52)}.text-warning{color:var(--color-warning, #f2c037)}.text-red_99{color:var(--color-red_99, #220000)}.text-red_95{color:var(--color-red_95, #440000)}.text-red_90{color:var(--color-red_90, #5E0000)}.text-red_85{color:var(--color-red_85, #820000)}.text-red_80{color:var(--color-red_80, #AD0000)}.text-red_75{color:var(--color-red_75, #E30000)}.text-red_70{color:var(--color-red_70, #FB4444)}.text-red_60{color:var(--color-red_60, #FF7C7C)}.text-red_45{color:var(--color-red_45, #FFB5B5)}.text-red_30{color:var(--color-red_30, #FFD3D3)}.text-red_20{color:var(--color-red_20, #FCE6E6)}.text-red_15{color:var(--color-red_15, #FCEFEF)}.text-caution_bg{color:var(--color-caution_bg, #FEF1F1)}.text-caution_icon{color:var(--color-caution_icon, #fd9595)}.text-orange_99{color:var(--color-orange_99, #2F1100)}.text-orange_95{color:var(--color-orange_95, #4D1B00)}.text-orange_90{color:var(--color-orange_90, #752A00)}.text-orange_85{color:var(--color-orange_85, #9B3700)}.text-orange_75{color:var(--color-orange_75, #CE4900)}.text-orange_65{color:var(--color-orange_65, #FF6B00)}.text-orange_60{color:var(--color-orange_60, #FF7F22)}.text-orange_55{color:var(--color-orange_55, #FFA452)}.text-orange_45{color:var(--color-orange_45, #FFBC81)}.text-orange_35{color:var(--color-orange_35, #FFD5AF)}.text-orange_20{color:var(--color-orange_20, #FFEAD7)}.text-orange_10{color:var(--color-orange_10, #FEF1EA)}.text-header_alert{color:var(--color-header_alert, #FF7A00)}.text-yellow_95{color:var(--color-yellow_95, #322700)}.text-yellow_90{color:var(--color-yellow_90, #453702)}.text-yellow_80{color:var(--color-yellow_80, #6C5602)}.text-yellow_70{color:var(--color-yellow_70, #9C7A00)}.text-yellow_60{color:var(--color-yellow_60, #C49900)}.text-yellow_50{color:var(--color-yellow_50, #EBB800)}.text-yellow_45{color:var(--color-yellow_45, #FFC700)}.text-yellow_40{color:var(--color-yellow_40, #FFD643)}.text-yellow_30{color:var(--color-yellow_30, #FEE17C)}.text-yellow_25{color:var(--color-yellow_25, #FFE99E)}.text-yellow_20{color:var(--color-yellow_20, #FEF1C4)}.text-yellow_10{color:var(--color-yellow_10, #FFF7DD)}.text-olive_95{color:var(--color-olive_95, #2C2C00)}.text-olive_90{color:var(--color-olive_90, #454500)}.text-olive_80{color:var(--color-olive_80, #636300)}.text-olive_70{color:var(--color-olive_70, #838300)}.text-olive_65{color:var(--color-olive_65, #A5A500)}.text-olive_55{color:var(--color-olive_55, #C7C700)}.text-olive_45{color:var(--color-olive_45, #DDDD12)}.text-olive_30{color:var(--color-olive_30, #EEEE37)}.text-olive_20{color:var(--color-olive_20, #F6F65F)}.text-olive_15{color:var(--color-olive_15, #FAFAA1)}.text-olive_10{color:var(--color-olive_10, #FBFBBF)}.text-olive_05{color:var(--color-olive_05, #FEFED9)}.text-green_99{color:var(--color-green_99, #001D0B)}.text-green_95{color:var(--color-green_95, #003013)}.text-green_90{color:var(--color-green_90, #00461C)}.text-green_85{color:var(--color-green_85, #006629)}.text-green_80{color:var(--color-green_80, #007B31)}.text-green_75{color:var(--color-green_75, #00973C)}.text-green_70{color:var(--color-green_70, #12B553)}.text-green_65{color:var(--color-green_65, #2BCE6C)}.text-green_55{color:var(--color-green_55, #6DE39C)}.text-green_45{color:var(--color-green_45, #ACF4C9)}.text-green_25{color:var(--color-green_25, #D4FAE3)}.text-green_15{color:var(--color-green_15, #E8F9EF)}.text-steelblue_99{color:var(--color-steelblue_99, #021a25)}.text-steelblue_95{color:var(--color-steelblue_95, #02212f)}.text-steelblue_90{color:var(--color-steelblue_90, #032d40)}.text-steelblue_85{color:var(--color-steelblue_85, #033f59)}.text-steelblue_80{color:var(--color-steelblue_80, #06587d)}.text-steelblue_75{color:var(--color-steelblue_75, #066d9b)}.text-steelblue_70{color:var(--color-steelblue_70, #128fc7)}.text-steelblue_65{color:var(--color-steelblue_65, #229fd7)}.text-steelblue_60{color:var(--color-steelblue_60, #50bff0)}.text-steelblue_45{color:var(--color-steelblue_45, #a4e2fd)}.text-steelblue_25{color:var(--color-steelblue_25, #d9f2fd)}.text-steelblue_10{color:var(--color-steelblue_10, #ecf8fd)}.text-oceanblue_99{color:var(--color-oceanblue_99, #011428)}.text-oceanblue_95{color:var(--color-oceanblue_95, #03172d)}.text-oceanblue_90{color:var(--color-oceanblue_90, #051d36)}.text-oceanblue_85{color:var(--color-oceanblue_85, #07284a)}.text-oceanblue_80{color:var(--color-oceanblue_80, #004177)}.text-oceanblue_75{color:var(--color-oceanblue_75, #025497)}.text-oceanblue_70{color:var(--color-oceanblue_70, #006ac1)}.text-oceanblue_65{color:var(--color-oceanblue_65, #1f8ae1)}.text-oceanblue_60{color:var(--color-oceanblue_60, #5cb0f3)}.text-oceanblue_50{color:var(--color-oceanblue_50, #9cd1fc)}.text-oceanblue_25{color:var(--color-oceanblue_25, #d5ebfe)}.text-oceanblue_15{color:var(--color-oceanblue_15, #eaf5fe)}.text-brilliantblue_99{color:var(--color-brilliantblue_99, #001226)}.text-brilliantblue_95{color:var(--color-brilliantblue_95, #001b39)}.text-brilliantblue_90{color:var(--color-brilliantblue_90, #002b5e)}.text-brilliantblue_85{color:var(--color-brilliantblue_85, #004290)}.text-brilliantblue_80{color:var(--color-brilliantblue_80, #005cc9)}.text-brilliantblue_75{color:var(--color-brilliantblue_75, #0075ff)}.text-brilliantblue_70{color:var(--color-brilliantblue_70, #2d8dff)}.text-brilliantblue_60{color:var(--color-brilliantblue_60, #64abff)}.text-brilliantblue_50{color:var(--color-brilliantblue_50, #93c4ff)}.text-brilliantblue_40{color:var(--color-brilliantblue_40, #bbdaff)}.text-brilliantblue_25{color:var(--color-brilliantblue_25, #d9eaff)}.text-brilliantblue_20{color:var(--color-brilliantblue_20, #e6f1ff)}.text-brilliantblue_10{color:var(--color-brilliantblue_10, #eff6ff)}.text-brilliantblue_05{color:var(--color-brilliantblue_05, #f5faff)}.text-grey_95{color:var(--color-grey_95, #222222)}.text-grey_90{color:var(--color-grey_90, #333333)}.text-grey_85{color:var(--color-grey_85, #444444)}.text-grey_80{color:var(--color-grey_80, #555555)}.text-grey_70{color:var(--color-grey_70, #737373)}.text-grey_65{color:var(--color-grey_65, #888888)}.text-grey_60{color:var(--color-grey_60, #999999)}.text-grey_55{color:var(--color-grey_55, #aaaaaa)}.text-grey_50{color:var(--color-grey_50, #bbbbbb)}.text-grey_45{color:var(--color-grey_45, #cccccc)}.text-grey_35{color:var(--color-grey_35, #D8D8D8)}.text-grey_30{color:var(--color-grey_30, #e1e1e1)}.text-grey_25{color:var(--color-grey_25, #E5E5E5)}.text-grey_20{color:var(--color-grey_20, #eeeeee)}.text-grey_10{color:var(--color-grey_10, #f6f6f6)}.text-grey_05{color:var(--color-grey_05, #f9f9f9)}.text-white{color:var(--color-white, #ffffff)}.text-black{color:var(--color-black, #000000)}*,*::before,*::after{box-sizing:border-box}html{-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin-block-end:0}ul[role=list],ol[role=list]{list-style:none}body{min-height:100vh;line-height:1.5}h1,h2,h3,h4,button,input,label{line-height:1}h1,h2,h3,h4{text-wrap:balance}a:not([class]){text-decoration-skip-ink:auto;color:currentColor}img,picture{max-width:100%;display:block}input,button,textarea,select{font-size:inherit}:target{scroll-margin-block:5ex}button{background:none;border:none;cursor:pointer;padding:0;outline:0}button:focus{outline:0 !important}input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,input:-webkit-autofill:active{-webkit-text-fill-color:#000;-webkit-box-shadow:0 0 0px 1000px #fff inset;box-shadow:0 0 0px 1000px #fff inset;transition:background-color 5000s ease-in-out 0s}input:autofill,input:autofill:hover,input:autofill:focus,input:autofill:active{-webkit-text-fill-color:#000;-webkit-box-shadow:0 0 0px 1000px #fff inset;box-shadow:0 0 0px 1000px #fff inset;transition:background-color 5000s ease-in-out 0s}:host{display:inline-block;height:fit-content;line-height:0}.text-center{text-align:center}.text-right{text-align:right}.text-left{text-align:left}input[type=text],input[type=number],input[type=password],input[type=email],input[type=tel],textarea{padding-block:0px;padding-inline:0px}.sd-hoverable:hover>.sd-focus-helper{background:currentColor;opacity:0.15}.sd-hoverable:hover>.sd-focus-helper:before{opacity:0.1}.sd-hoverable:hover>.sd-focus-helper:after{opacity:0.4}.sd-focus-helper{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:inherit;opacity:0;transition:background-color 0.3s cubic-bezier(0.25, 0.8, 0.5, 1), opacity 0.4s cubic-bezier(0.25, 0.8, 0.5, 1)}.sd-focus-helper:before,.sd-focus-helper:after{content:\"\";position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;border-radius:inherit;transition:background-color 0.3s cubic-bezier(0.25, 0.8, 0.5, 1), opacity 0.6s cubic-bezier(0.25, 0.8, 0.5, 1)}.sd-focus-helper:before{background:#000000}.sd-focus-helper:after{background:#ffffff}";
|
|
136
136
|
|
|
@@ -740,7 +740,7 @@ var attachStyles = (hostRef) => {
|
|
|
740
740
|
const flags = cmpMeta.$flags$;
|
|
741
741
|
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
742
742
|
const scopeId2 = addStyle(
|
|
743
|
-
elm.
|
|
743
|
+
elm.getRootNode(),
|
|
744
744
|
cmpMeta);
|
|
745
745
|
if (flags & 10 /* needsScopedEncapsulation */) {
|
|
746
746
|
elm["s-sc"] = scopeId2;
|
|
@@ -882,7 +882,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
882
882
|
const childRenderNodes = [];
|
|
883
883
|
const slotNodes = [];
|
|
884
884
|
const slottedNodes = [];
|
|
885
|
-
const shadowRootNodes =
|
|
885
|
+
const shadowRootNodes = null;
|
|
886
886
|
const vnode = newVNode(tagName, null);
|
|
887
887
|
vnode.$elm$ = hostElm;
|
|
888
888
|
let scopeId2;
|
|
@@ -1005,27 +1005,6 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1005
1005
|
slot.$elm$.parentElement.classList.add(scopeId2 + "-s");
|
|
1006
1006
|
});
|
|
1007
1007
|
}
|
|
1008
|
-
if (shadowRoot && !shadowRoot.childNodes.length) {
|
|
1009
|
-
let rnIdex = 0;
|
|
1010
|
-
const rnLen = shadowRootNodes.length;
|
|
1011
|
-
if (rnLen) {
|
|
1012
|
-
for (rnIdex; rnIdex < rnLen; rnIdex++) {
|
|
1013
|
-
const node = shadowRootNodes[rnIdex];
|
|
1014
|
-
if (node) {
|
|
1015
|
-
shadowRoot.appendChild(node);
|
|
1016
|
-
}
|
|
1017
|
-
}
|
|
1018
|
-
Array.from(hostElm.childNodes).forEach((node) => {
|
|
1019
|
-
if (typeof node["s-en"] !== "string" && typeof node["s-sn"] !== "string") {
|
|
1020
|
-
if (node.nodeType === 1 /* ElementNode */ && node.slot && node.hidden) {
|
|
1021
|
-
node.removeAttribute("hidden");
|
|
1022
|
-
} else if (node.nodeType === 8 /* CommentNode */ && !node.nodeValue) {
|
|
1023
|
-
node.parentNode.removeChild(node);
|
|
1024
|
-
}
|
|
1025
|
-
}
|
|
1026
|
-
});
|
|
1027
|
-
}
|
|
1028
|
-
}
|
|
1029
1008
|
hostRef.$hostElement$ = hostElm;
|
|
1030
1009
|
endHydrate();
|
|
1031
1010
|
};
|
|
@@ -1086,9 +1065,6 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1086
1065
|
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
1087
1066
|
}
|
|
1088
1067
|
parentVNode = childVNode;
|
|
1089
|
-
if (shadowRootNodes && childVNode.$depth$ === "0") {
|
|
1090
|
-
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
1091
|
-
}
|
|
1092
1068
|
}
|
|
1093
1069
|
}
|
|
1094
1070
|
if (node.shadowRoot) {
|
|
@@ -1147,9 +1123,6 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1147
1123
|
}
|
|
1148
1124
|
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
1149
1125
|
}
|
|
1150
|
-
if (shadowRootNodes && childVNode.$depth$ === "0") {
|
|
1151
|
-
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
1152
|
-
}
|
|
1153
1126
|
}
|
|
1154
1127
|
} else if (childNodeType === COMMENT_NODE_ID) {
|
|
1155
1128
|
childVNode.$elm$ = findCorrespondingNode(node, 8 /* CommentNode */);
|
|
@@ -1172,9 +1145,7 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1172
1145
|
slottedNodes
|
|
1173
1146
|
);
|
|
1174
1147
|
} else if (childNodeType === CONTENT_REF_ID) {
|
|
1175
|
-
|
|
1176
|
-
node.remove();
|
|
1177
|
-
} else {
|
|
1148
|
+
{
|
|
1178
1149
|
hostElm["s-cr"] = node;
|
|
1179
1150
|
node["s-cn"] = true;
|
|
1180
1151
|
}
|
|
@@ -1236,22 +1207,7 @@ function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNod
|
|
|
1236
1207
|
childVNode.$name$ = slotName || null;
|
|
1237
1208
|
childVNode.$tag$ = "slot";
|
|
1238
1209
|
const parentNodeId = (parentVNode == null ? void 0 : parentVNode.$elm$) ? parentVNode.$elm$["s-id"] || parentVNode.$elm$.getAttribute("s-id") : "";
|
|
1239
|
-
|
|
1240
|
-
const slot = childVNode.$elm$ = win.document.createElement(childVNode.$tag$);
|
|
1241
|
-
if (childVNode.$name$) {
|
|
1242
|
-
childVNode.$elm$.setAttribute("name", slotName);
|
|
1243
|
-
}
|
|
1244
|
-
if (parentVNode.$elm$.shadowRoot && parentNodeId && parentNodeId !== childVNode.$hostId$) {
|
|
1245
|
-
internalCall(parentVNode.$elm$, "insertBefore")(slot, internalCall(parentVNode.$elm$, "children")[0]);
|
|
1246
|
-
} else {
|
|
1247
|
-
internalCall(internalCall(node, "parentNode"), "insertBefore")(slot, node);
|
|
1248
|
-
}
|
|
1249
|
-
addSlottedNodes(slottedNodes, slotId, slotName, node, childVNode.$hostId$);
|
|
1250
|
-
node.remove();
|
|
1251
|
-
if (childVNode.$depth$ === "0") {
|
|
1252
|
-
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
1253
|
-
}
|
|
1254
|
-
} else {
|
|
1210
|
+
{
|
|
1255
1211
|
const slot = childVNode.$elm$;
|
|
1256
1212
|
const shouldMove = parentNodeId && parentNodeId !== childVNode.$hostId$ && parentVNode.$elm$.shadowRoot;
|
|
1257
1213
|
addSlottedNodes(slottedNodes, slotId, slotName, node, shouldMove ? parentNodeId : childVNode.$hostId$);
|
|
@@ -1288,417 +1244,6 @@ var findCorrespondingNode = (node, type) => {
|
|
|
1288
1244
|
return sibling;
|
|
1289
1245
|
};
|
|
1290
1246
|
|
|
1291
|
-
// src/utils/regular-expression.ts
|
|
1292
|
-
var escapeRegExpSpecialCharacters = (text) => {
|
|
1293
|
-
return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
1294
|
-
};
|
|
1295
|
-
|
|
1296
|
-
// src/utils/shadow-css.ts
|
|
1297
|
-
/**
|
|
1298
|
-
* @license
|
|
1299
|
-
* Copyright Google Inc. All Rights Reserved.
|
|
1300
|
-
*
|
|
1301
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1302
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1303
|
-
*
|
|
1304
|
-
* This file is a port of shadowCSS from `webcomponents.js` to TypeScript.
|
|
1305
|
-
* https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js
|
|
1306
|
-
* https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts
|
|
1307
|
-
*/
|
|
1308
|
-
var safeSelector = (selector) => {
|
|
1309
|
-
const placeholders = [];
|
|
1310
|
-
let index = 0;
|
|
1311
|
-
selector = selector.replace(/(\[\s*part~=\s*("[^"]*"|'[^']*')\s*\])/g, (_, keep) => {
|
|
1312
|
-
const replaceBy = `__part-${index}__`;
|
|
1313
|
-
placeholders.push(keep);
|
|
1314
|
-
index++;
|
|
1315
|
-
return replaceBy;
|
|
1316
|
-
});
|
|
1317
|
-
selector = selector.replace(/(\[[^\]]*\])/g, (_, keep) => {
|
|
1318
|
-
const replaceBy = `__ph-${index}__`;
|
|
1319
|
-
placeholders.push(keep);
|
|
1320
|
-
index++;
|
|
1321
|
-
return replaceBy;
|
|
1322
|
-
});
|
|
1323
|
-
const content = selector.replace(/(:nth-[-\w]+)(\([^)]+\))/g, (_, pseudo, exp) => {
|
|
1324
|
-
const replaceBy = `__ph-${index}__`;
|
|
1325
|
-
placeholders.push(exp);
|
|
1326
|
-
index++;
|
|
1327
|
-
return pseudo + replaceBy;
|
|
1328
|
-
});
|
|
1329
|
-
const ss = {
|
|
1330
|
-
content,
|
|
1331
|
-
placeholders
|
|
1332
|
-
};
|
|
1333
|
-
return ss;
|
|
1334
|
-
};
|
|
1335
|
-
var restoreSafeSelector = (placeholders, content) => {
|
|
1336
|
-
content = content.replace(/__part-(\d+)__/g, (_, index) => placeholders[+index]);
|
|
1337
|
-
return content.replace(/__ph-(\d+)__/g, (_, index) => placeholders[+index]);
|
|
1338
|
-
};
|
|
1339
|
-
var _polyfillHost = "-shadowcsshost";
|
|
1340
|
-
var _polyfillSlotted = "-shadowcssslotted";
|
|
1341
|
-
var _polyfillHostContext = "-shadowcsscontext";
|
|
1342
|
-
var _parenSuffix = ")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";
|
|
1343
|
-
var _cssColonHostRe = new RegExp("(" + _polyfillHost + _parenSuffix, "gim");
|
|
1344
|
-
var _cssColonHostContextRe = new RegExp("(" + _polyfillHostContext + _parenSuffix, "gim");
|
|
1345
|
-
var _cssColonSlottedRe = new RegExp("(" + _polyfillSlotted + _parenSuffix, "gim");
|
|
1346
|
-
var _polyfillHostNoCombinator = _polyfillHost + "-no-combinator";
|
|
1347
|
-
var _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s]*)/;
|
|
1348
|
-
var _shadowDOMSelectorsRe = [/::shadow/g, /::content/g];
|
|
1349
|
-
var _safePartRe = /__part-(\d+)__/g;
|
|
1350
|
-
var _selectorReSuffix = "([>\\s~+[.,{:][\\s\\S]*)?$";
|
|
1351
|
-
var _polyfillHostRe = /-shadowcsshost/gim;
|
|
1352
|
-
var createSupportsRuleRe = (selector) => {
|
|
1353
|
-
const safeSelector2 = escapeRegExpSpecialCharacters(selector);
|
|
1354
|
-
return new RegExp(
|
|
1355
|
-
// First capture group: match any context before the selector that's not inside @supports selector()
|
|
1356
|
-
// Using negative lookahead to avoid matching inside @supports selector(...) condition
|
|
1357
|
-
`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${safeSelector2}))(${safeSelector2}\\b)`,
|
|
1358
|
-
"g"
|
|
1359
|
-
);
|
|
1360
|
-
};
|
|
1361
|
-
var _commentRe = /\/\*\s*[\s\S]*?\*\//g;
|
|
1362
|
-
var stripComments = (input) => {
|
|
1363
|
-
return input.replace(_commentRe, "");
|
|
1364
|
-
};
|
|
1365
|
-
var _commentWithHashRe = /\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;
|
|
1366
|
-
var extractCommentsWithHash = (input) => {
|
|
1367
|
-
return input.match(_commentWithHashRe) || [];
|
|
1368
|
-
};
|
|
1369
|
-
var _ruleRe = /(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g;
|
|
1370
|
-
var _curlyRe = /([{}])/g;
|
|
1371
|
-
var _selectorPartsRe = /(^.*?[^\\])??((:+)(.*)|$)/;
|
|
1372
|
-
var OPEN_CURLY = "{";
|
|
1373
|
-
var CLOSE_CURLY = "}";
|
|
1374
|
-
var BLOCK_PLACEHOLDER = "%BLOCK%";
|
|
1375
|
-
var processRules = (input, ruleCallback) => {
|
|
1376
|
-
const inputWithEscapedBlocks = escapeBlocks(input);
|
|
1377
|
-
let nextBlockIndex = 0;
|
|
1378
|
-
return inputWithEscapedBlocks.escapedString.replace(_ruleRe, (...m) => {
|
|
1379
|
-
const selector = m[2];
|
|
1380
|
-
let content = "";
|
|
1381
|
-
let suffix = m[4];
|
|
1382
|
-
let contentPrefix = "";
|
|
1383
|
-
if (suffix && suffix.startsWith("{" + BLOCK_PLACEHOLDER)) {
|
|
1384
|
-
content = inputWithEscapedBlocks.blocks[nextBlockIndex++];
|
|
1385
|
-
suffix = suffix.substring(BLOCK_PLACEHOLDER.length + 1);
|
|
1386
|
-
contentPrefix = "{";
|
|
1387
|
-
}
|
|
1388
|
-
const cssRule = {
|
|
1389
|
-
selector,
|
|
1390
|
-
content
|
|
1391
|
-
};
|
|
1392
|
-
const rule = ruleCallback(cssRule);
|
|
1393
|
-
return `${m[1]}${rule.selector}${m[3]}${contentPrefix}${rule.content}${suffix}`;
|
|
1394
|
-
});
|
|
1395
|
-
};
|
|
1396
|
-
var escapeBlocks = (input) => {
|
|
1397
|
-
const inputParts = input.split(_curlyRe);
|
|
1398
|
-
const resultParts = [];
|
|
1399
|
-
const escapedBlocks = [];
|
|
1400
|
-
let bracketCount = 0;
|
|
1401
|
-
let currentBlockParts = [];
|
|
1402
|
-
for (let partIndex = 0; partIndex < inputParts.length; partIndex++) {
|
|
1403
|
-
const part = inputParts[partIndex];
|
|
1404
|
-
if (part === CLOSE_CURLY) {
|
|
1405
|
-
bracketCount--;
|
|
1406
|
-
}
|
|
1407
|
-
if (bracketCount > 0) {
|
|
1408
|
-
currentBlockParts.push(part);
|
|
1409
|
-
} else {
|
|
1410
|
-
if (currentBlockParts.length > 0) {
|
|
1411
|
-
escapedBlocks.push(currentBlockParts.join(""));
|
|
1412
|
-
resultParts.push(BLOCK_PLACEHOLDER);
|
|
1413
|
-
currentBlockParts = [];
|
|
1414
|
-
}
|
|
1415
|
-
resultParts.push(part);
|
|
1416
|
-
}
|
|
1417
|
-
if (part === OPEN_CURLY) {
|
|
1418
|
-
bracketCount++;
|
|
1419
|
-
}
|
|
1420
|
-
}
|
|
1421
|
-
if (currentBlockParts.length > 0) {
|
|
1422
|
-
escapedBlocks.push(currentBlockParts.join(""));
|
|
1423
|
-
resultParts.push(BLOCK_PLACEHOLDER);
|
|
1424
|
-
}
|
|
1425
|
-
const strEscapedBlocks = {
|
|
1426
|
-
escapedString: resultParts.join(""),
|
|
1427
|
-
blocks: escapedBlocks
|
|
1428
|
-
};
|
|
1429
|
-
return strEscapedBlocks;
|
|
1430
|
-
};
|
|
1431
|
-
var insertPolyfillHostInCssText = (cssText) => {
|
|
1432
|
-
const supportsBlocks = [];
|
|
1433
|
-
cssText = cssText.replace(/@supports\s+selector\s*\(\s*([^)]*)\s*\)/g, (_, selectorContent) => {
|
|
1434
|
-
const placeholder = `__supports_${supportsBlocks.length}__`;
|
|
1435
|
-
supportsBlocks.push(selectorContent);
|
|
1436
|
-
return `@supports selector(${placeholder})`;
|
|
1437
|
-
});
|
|
1438
|
-
const _colonSlottedRe = createSupportsRuleRe("::slotted");
|
|
1439
|
-
const _colonHostRe = createSupportsRuleRe(":host");
|
|
1440
|
-
const _colonHostContextRe = createSupportsRuleRe(":host-context");
|
|
1441
|
-
cssText = cssText.replace(_colonHostContextRe, `$1${_polyfillHostContext}`).replace(_colonHostRe, `$1${_polyfillHost}`).replace(_colonSlottedRe, `$1${_polyfillSlotted}`);
|
|
1442
|
-
supportsBlocks.forEach((originalSelector, index) => {
|
|
1443
|
-
cssText = cssText.replace(`__supports_${index}__`, originalSelector);
|
|
1444
|
-
});
|
|
1445
|
-
return cssText;
|
|
1446
|
-
};
|
|
1447
|
-
var convertColonRule = (cssText, regExp, partReplacer) => {
|
|
1448
|
-
return cssText.replace(regExp, (...m) => {
|
|
1449
|
-
if (m[2]) {
|
|
1450
|
-
const parts = m[2].split(",");
|
|
1451
|
-
const r = [];
|
|
1452
|
-
for (let i2 = 0; i2 < parts.length; i2++) {
|
|
1453
|
-
const p = parts[i2].trim();
|
|
1454
|
-
if (!p) break;
|
|
1455
|
-
r.push(partReplacer(_polyfillHostNoCombinator, p, m[3]));
|
|
1456
|
-
}
|
|
1457
|
-
return r.join(",");
|
|
1458
|
-
} else {
|
|
1459
|
-
return _polyfillHostNoCombinator + m[3];
|
|
1460
|
-
}
|
|
1461
|
-
});
|
|
1462
|
-
};
|
|
1463
|
-
var colonHostPartReplacer = (host, part, suffix) => {
|
|
1464
|
-
return host + part.replace(_polyfillHost, "") + suffix;
|
|
1465
|
-
};
|
|
1466
|
-
var convertColonHost = (cssText) => {
|
|
1467
|
-
return convertColonRule(cssText, _cssColonHostRe, colonHostPartReplacer);
|
|
1468
|
-
};
|
|
1469
|
-
var colonHostContextPartReplacer = (host, part, suffix) => {
|
|
1470
|
-
if (part.indexOf(_polyfillHost) > -1) {
|
|
1471
|
-
return colonHostPartReplacer(host, part, suffix);
|
|
1472
|
-
} else {
|
|
1473
|
-
return host + part + suffix + ", " + part + " " + host + suffix;
|
|
1474
|
-
}
|
|
1475
|
-
};
|
|
1476
|
-
var convertColonSlotted = (cssText, slotScopeId) => {
|
|
1477
|
-
const slotClass = "." + slotScopeId + " > ";
|
|
1478
|
-
const selectors = [];
|
|
1479
|
-
cssText = cssText.replace(_cssColonSlottedRe, (...m) => {
|
|
1480
|
-
if (m[2]) {
|
|
1481
|
-
const compound = m[2].trim();
|
|
1482
|
-
const suffix = m[3];
|
|
1483
|
-
const slottedSelector = slotClass + compound + suffix;
|
|
1484
|
-
let prefixSelector = "";
|
|
1485
|
-
for (let i2 = m[4] - 1; i2 >= 0; i2--) {
|
|
1486
|
-
const char = m[5][i2];
|
|
1487
|
-
if (char === "}" || char === ",") {
|
|
1488
|
-
break;
|
|
1489
|
-
}
|
|
1490
|
-
prefixSelector = char + prefixSelector;
|
|
1491
|
-
}
|
|
1492
|
-
const orgSelector = (prefixSelector + slottedSelector).trim();
|
|
1493
|
-
const addedSelector = `${prefixSelector.trimEnd()}${slottedSelector.trim()}`.trim();
|
|
1494
|
-
if (orgSelector !== addedSelector) {
|
|
1495
|
-
const updatedSelector = `${addedSelector}, ${orgSelector}`;
|
|
1496
|
-
selectors.push({
|
|
1497
|
-
orgSelector,
|
|
1498
|
-
updatedSelector
|
|
1499
|
-
});
|
|
1500
|
-
}
|
|
1501
|
-
return slottedSelector;
|
|
1502
|
-
} else {
|
|
1503
|
-
return _polyfillHostNoCombinator + m[3];
|
|
1504
|
-
}
|
|
1505
|
-
});
|
|
1506
|
-
return {
|
|
1507
|
-
selectors,
|
|
1508
|
-
cssText
|
|
1509
|
-
};
|
|
1510
|
-
};
|
|
1511
|
-
var convertColonHostContext = (cssText) => {
|
|
1512
|
-
return convertColonRule(cssText, _cssColonHostContextRe, colonHostContextPartReplacer);
|
|
1513
|
-
};
|
|
1514
|
-
var convertShadowDOMSelectors = (cssText) => {
|
|
1515
|
-
return _shadowDOMSelectorsRe.reduce((result, pattern) => result.replace(pattern, " "), cssText);
|
|
1516
|
-
};
|
|
1517
|
-
var makeScopeMatcher = (scopeSelector2) => {
|
|
1518
|
-
const lre = /\[/g;
|
|
1519
|
-
const rre = /\]/g;
|
|
1520
|
-
scopeSelector2 = scopeSelector2.replace(lre, "\\[").replace(rre, "\\]");
|
|
1521
|
-
return new RegExp("^(" + scopeSelector2 + ")" + _selectorReSuffix, "m");
|
|
1522
|
-
};
|
|
1523
|
-
var selectorNeedsScoping = (selector, scopeSelector2) => {
|
|
1524
|
-
const re = makeScopeMatcher(scopeSelector2);
|
|
1525
|
-
return !re.test(selector);
|
|
1526
|
-
};
|
|
1527
|
-
var injectScopingSelector = (selector, scopingSelector) => {
|
|
1528
|
-
return selector.replace(_selectorPartsRe, (_, before = "", _colonGroup, colon = "", after = "") => {
|
|
1529
|
-
return before + scopingSelector + colon + after;
|
|
1530
|
-
});
|
|
1531
|
-
};
|
|
1532
|
-
var applySimpleSelectorScope = (selector, scopeSelector2, hostSelector) => {
|
|
1533
|
-
_polyfillHostRe.lastIndex = 0;
|
|
1534
|
-
if (_polyfillHostRe.test(selector)) {
|
|
1535
|
-
const replaceBy = `.${hostSelector}`;
|
|
1536
|
-
return selector.replace(_polyfillHostNoCombinatorRe, (_, selector2) => injectScopingSelector(selector2, replaceBy)).replace(_polyfillHostRe, replaceBy + " ");
|
|
1537
|
-
}
|
|
1538
|
-
return scopeSelector2 + " " + selector;
|
|
1539
|
-
};
|
|
1540
|
-
var applyStrictSelectorScope = (selector, scopeSelector2, hostSelector) => {
|
|
1541
|
-
const isRe = /\[is=([^\]]*)\]/g;
|
|
1542
|
-
scopeSelector2 = scopeSelector2.replace(isRe, (_, ...parts) => parts[0]);
|
|
1543
|
-
const className = "." + scopeSelector2;
|
|
1544
|
-
const _scopeSelectorPart = (p) => {
|
|
1545
|
-
let scopedP = p.trim();
|
|
1546
|
-
if (!scopedP) {
|
|
1547
|
-
return "";
|
|
1548
|
-
}
|
|
1549
|
-
if (p.indexOf(_polyfillHostNoCombinator) > -1) {
|
|
1550
|
-
scopedP = applySimpleSelectorScope(p, scopeSelector2, hostSelector);
|
|
1551
|
-
} else {
|
|
1552
|
-
const t = p.replace(_polyfillHostRe, "");
|
|
1553
|
-
if (t.length > 0) {
|
|
1554
|
-
scopedP = injectScopingSelector(t, className);
|
|
1555
|
-
}
|
|
1556
|
-
}
|
|
1557
|
-
return scopedP;
|
|
1558
|
-
};
|
|
1559
|
-
const safeContent = safeSelector(selector);
|
|
1560
|
-
selector = safeContent.content;
|
|
1561
|
-
let scopedSelector = "";
|
|
1562
|
-
let startIndex = 0;
|
|
1563
|
-
let res;
|
|
1564
|
-
const sep2 = /( |>|\+|~(?!=))(?=(?:[^()]*\([^()]*\))*[^()]*$)\s*/g;
|
|
1565
|
-
const hasHost = selector.indexOf(_polyfillHostNoCombinator) > -1;
|
|
1566
|
-
let shouldScope = !hasHost;
|
|
1567
|
-
while ((res = sep2.exec(selector)) !== null) {
|
|
1568
|
-
const separator = res[1];
|
|
1569
|
-
const part2 = selector.slice(startIndex, res.index).trim();
|
|
1570
|
-
shouldScope = shouldScope || part2.indexOf(_polyfillHostNoCombinator) > -1;
|
|
1571
|
-
const scopedPart = shouldScope ? _scopeSelectorPart(part2) : part2;
|
|
1572
|
-
scopedSelector += `${scopedPart} ${separator} `;
|
|
1573
|
-
startIndex = sep2.lastIndex;
|
|
1574
|
-
}
|
|
1575
|
-
const part = selector.substring(startIndex);
|
|
1576
|
-
shouldScope = !part.match(_safePartRe) && (shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1);
|
|
1577
|
-
scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;
|
|
1578
|
-
return restoreSafeSelector(safeContent.placeholders, scopedSelector);
|
|
1579
|
-
};
|
|
1580
|
-
var scopeSelector = (selector, scopeSelectorText, hostSelector, slotSelector) => {
|
|
1581
|
-
return selector.split(",").map((shallowPart) => {
|
|
1582
|
-
if (slotSelector && shallowPart.indexOf("." + slotSelector) > -1) {
|
|
1583
|
-
return shallowPart.trim();
|
|
1584
|
-
}
|
|
1585
|
-
if (selectorNeedsScoping(shallowPart, scopeSelectorText)) {
|
|
1586
|
-
return applyStrictSelectorScope(shallowPart, scopeSelectorText, hostSelector).trim();
|
|
1587
|
-
} else {
|
|
1588
|
-
return shallowPart.trim();
|
|
1589
|
-
}
|
|
1590
|
-
}).join(", ");
|
|
1591
|
-
};
|
|
1592
|
-
var scopeSelectors = (cssText, scopeSelectorText, hostSelector, slotSelector, commentOriginalSelector) => {
|
|
1593
|
-
return processRules(cssText, (rule) => {
|
|
1594
|
-
let selector = rule.selector;
|
|
1595
|
-
let content = rule.content;
|
|
1596
|
-
if (rule.selector[0] !== "@") {
|
|
1597
|
-
selector = scopeSelector(rule.selector, scopeSelectorText, hostSelector, slotSelector);
|
|
1598
|
-
} else if (rule.selector.startsWith("@media") || rule.selector.startsWith("@supports") || rule.selector.startsWith("@page") || rule.selector.startsWith("@document")) {
|
|
1599
|
-
content = scopeSelectors(rule.content, scopeSelectorText, hostSelector, slotSelector);
|
|
1600
|
-
}
|
|
1601
|
-
const cssRule = {
|
|
1602
|
-
selector: selector.replace(/\s{2,}/g, " ").trim(),
|
|
1603
|
-
content
|
|
1604
|
-
};
|
|
1605
|
-
return cssRule;
|
|
1606
|
-
});
|
|
1607
|
-
};
|
|
1608
|
-
var scopeCssText = (cssText, scopeId2, hostScopeId, slotScopeId, commentOriginalSelector) => {
|
|
1609
|
-
cssText = insertPolyfillHostInCssText(cssText);
|
|
1610
|
-
cssText = convertColonHost(cssText);
|
|
1611
|
-
cssText = convertColonHostContext(cssText);
|
|
1612
|
-
const slotted = convertColonSlotted(cssText, slotScopeId);
|
|
1613
|
-
cssText = slotted.cssText;
|
|
1614
|
-
cssText = convertShadowDOMSelectors(cssText);
|
|
1615
|
-
if (scopeId2) {
|
|
1616
|
-
cssText = scopeSelectors(cssText, scopeId2, hostScopeId, slotScopeId);
|
|
1617
|
-
}
|
|
1618
|
-
cssText = replaceShadowCssHost(cssText, hostScopeId);
|
|
1619
|
-
cssText = cssText.replace(/>\s*\*\s+([^{, ]+)/gm, " $1 ");
|
|
1620
|
-
return {
|
|
1621
|
-
cssText: cssText.trim(),
|
|
1622
|
-
// We need to replace the shadow CSS host string in each of these selectors since we created
|
|
1623
|
-
// them prior to the replacement happening in the components CSS text.
|
|
1624
|
-
slottedSelectors: slotted.selectors.map((ref) => ({
|
|
1625
|
-
orgSelector: replaceShadowCssHost(ref.orgSelector, hostScopeId),
|
|
1626
|
-
updatedSelector: replaceShadowCssHost(ref.updatedSelector, hostScopeId)
|
|
1627
|
-
}))
|
|
1628
|
-
};
|
|
1629
|
-
};
|
|
1630
|
-
var replaceShadowCssHost = (cssText, hostScopeId) => {
|
|
1631
|
-
return cssText.replace(/-shadowcsshost-no-combinator/g, `.${hostScopeId}`);
|
|
1632
|
-
};
|
|
1633
|
-
var expandPartSelectors = (cssText) => {
|
|
1634
|
-
const partSelectorRe = /([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)/g;
|
|
1635
|
-
return processRules(cssText, (rule) => {
|
|
1636
|
-
if (rule.selector[0] === "@") {
|
|
1637
|
-
return rule;
|
|
1638
|
-
}
|
|
1639
|
-
const selectors = rule.selector.split(",").map((sel) => {
|
|
1640
|
-
const out = [sel.trim()];
|
|
1641
|
-
let m;
|
|
1642
|
-
while ((m = partSelectorRe.exec(sel)) !== null) {
|
|
1643
|
-
const before = m[1].trimEnd();
|
|
1644
|
-
const partNames = m[2].trim().split(/\s+/);
|
|
1645
|
-
const after = m[3] || "";
|
|
1646
|
-
const partAttr = partNames.flatMap((p) => {
|
|
1647
|
-
if (!rule.selector.includes(`[part~="${p}"]`)) {
|
|
1648
|
-
return [`[part~="${p}"]`];
|
|
1649
|
-
}
|
|
1650
|
-
return [];
|
|
1651
|
-
}).join("");
|
|
1652
|
-
const expanded = `${before} ${partAttr}${after}`;
|
|
1653
|
-
if (!!partAttr && expanded !== sel.trim()) {
|
|
1654
|
-
out.push(expanded);
|
|
1655
|
-
}
|
|
1656
|
-
}
|
|
1657
|
-
return out.join(", ");
|
|
1658
|
-
});
|
|
1659
|
-
rule.selector = selectors.join(", ");
|
|
1660
|
-
return rule;
|
|
1661
|
-
});
|
|
1662
|
-
};
|
|
1663
|
-
var scopeCss = (cssText, scopeId2, commentOriginalSelector) => {
|
|
1664
|
-
const hostScopeId = scopeId2 + "-h";
|
|
1665
|
-
const slotScopeId = scopeId2 + "-s";
|
|
1666
|
-
const commentsWithHash = extractCommentsWithHash(cssText);
|
|
1667
|
-
cssText = stripComments(cssText);
|
|
1668
|
-
const orgSelectors = [];
|
|
1669
|
-
{
|
|
1670
|
-
const processCommentedSelector = (rule) => {
|
|
1671
|
-
const placeholder = `/*!@___${orgSelectors.length}___*/`;
|
|
1672
|
-
const comment = `/*!@${rule.selector}*/`;
|
|
1673
|
-
orgSelectors.push({ placeholder, comment });
|
|
1674
|
-
rule.selector = placeholder + rule.selector;
|
|
1675
|
-
return rule;
|
|
1676
|
-
};
|
|
1677
|
-
cssText = processRules(cssText, (rule) => {
|
|
1678
|
-
if (rule.selector[0] !== "@") {
|
|
1679
|
-
return processCommentedSelector(rule);
|
|
1680
|
-
} else if (rule.selector.startsWith("@media") || rule.selector.startsWith("@supports") || rule.selector.startsWith("@page") || rule.selector.startsWith("@document")) {
|
|
1681
|
-
rule.content = processRules(rule.content, processCommentedSelector);
|
|
1682
|
-
return rule;
|
|
1683
|
-
}
|
|
1684
|
-
return rule;
|
|
1685
|
-
});
|
|
1686
|
-
}
|
|
1687
|
-
const scoped = scopeCssText(cssText, scopeId2, hostScopeId, slotScopeId);
|
|
1688
|
-
cssText = [scoped.cssText, ...commentsWithHash].join("\n");
|
|
1689
|
-
{
|
|
1690
|
-
orgSelectors.forEach(({ placeholder, comment }) => {
|
|
1691
|
-
cssText = cssText.replace(placeholder, comment);
|
|
1692
|
-
});
|
|
1693
|
-
}
|
|
1694
|
-
scoped.slottedSelectors.forEach((slottedSelector) => {
|
|
1695
|
-
const regex = new RegExp(escapeRegExpSpecialCharacters(slottedSelector.orgSelector) + "(?=\\s*[,{]|$)", "g");
|
|
1696
|
-
cssText = cssText.replace(regex, slottedSelector.updatedSelector);
|
|
1697
|
-
});
|
|
1698
|
-
cssText = expandPartSelectors(cssText);
|
|
1699
|
-
return cssText;
|
|
1700
|
-
};
|
|
1701
|
-
|
|
1702
1247
|
// src/utils/remote-value.ts
|
|
1703
1248
|
var RemoteValue = class _RemoteValue {
|
|
1704
1249
|
/**
|
|
@@ -2184,9 +1729,6 @@ var putBackInOriginalLocation = (parentElm, recursive) => {
|
|
|
2184
1729
|
var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
2185
1730
|
let containerElm = parentElm["s-cr"] && parentElm["s-cr"].parentNode || parentElm;
|
|
2186
1731
|
let childNode;
|
|
2187
|
-
if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
|
|
2188
|
-
containerElm = containerElm.shadowRoot;
|
|
2189
|
-
}
|
|
2190
1732
|
if (parentVNode.$tag$ === "template") {
|
|
2191
1733
|
containerElm = containerElm.content;
|
|
2192
1734
|
}
|
|
@@ -2510,11 +2052,11 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
2510
2052
|
rootVnode.$tag$ = null;
|
|
2511
2053
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
2512
2054
|
hostRef.$vnode$ = rootVnode;
|
|
2513
|
-
rootVnode.$elm$ = oldVNode.$elm$ = hostElm
|
|
2055
|
+
rootVnode.$elm$ = oldVNode.$elm$ = hostElm;
|
|
2514
2056
|
{
|
|
2515
2057
|
scopeId = hostElm["s-sc"];
|
|
2516
2058
|
}
|
|
2517
|
-
useNativeShadowDom =
|
|
2059
|
+
useNativeShadowDom = supportsShadow;
|
|
2518
2060
|
{
|
|
2519
2061
|
contentRef = hostElm["s-cr"];
|
|
2520
2062
|
checkSlotFallbackVisibility = false;
|
|
@@ -3020,13 +2562,6 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
3020
2562
|
const scopeId2 = getScopeId(cmpMeta);
|
|
3021
2563
|
if (!styles.has(scopeId2) || BUILD.hotModuleReplacement) {
|
|
3022
2564
|
const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
|
|
3023
|
-
{
|
|
3024
|
-
if (cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */) {
|
|
3025
|
-
style = scopeCss(style, scopeId2);
|
|
3026
|
-
} else if (needsScopedSSR()) {
|
|
3027
|
-
style = expandPartSelectors(style);
|
|
3028
|
-
}
|
|
3029
|
-
}
|
|
3030
2565
|
registerStyle(scopeId2, style);
|
|
3031
2566
|
endRegisterStyles();
|
|
3032
2567
|
}
|
|
@@ -3071,10 +2606,7 @@ var connectedCallback = (elm) => {
|
|
|
3071
2606
|
{
|
|
3072
2607
|
hostId = elm.getAttribute(HYDRATE_ID);
|
|
3073
2608
|
if (hostId) {
|
|
3074
|
-
if (cmpMeta.$flags$ &
|
|
3075
|
-
const scopeId2 = addStyle(elm.shadowRoot, cmpMeta);
|
|
3076
|
-
elm.classList.remove(scopeId2 + "-h", scopeId2 + "-s");
|
|
3077
|
-
} else if (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
|
|
2609
|
+
if (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
|
|
3078
2610
|
const scopeId2 = getScopeId(cmpMeta);
|
|
3079
2611
|
elm["s-sc"] = scopeId2;
|
|
3080
2612
|
}
|
|
@@ -4826,7 +4358,6 @@ function hydrateApp(win2, opts, results, afterHydrate, resolve) {
|
|
|
4826
4358
|
const orgDocumentCreateElement = win2.document.createElement;
|
|
4827
4359
|
const orgDocumentCreateElementNS = win2.document.createElementNS;
|
|
4828
4360
|
const resolved2 = Promise.resolve();
|
|
4829
|
-
setScopedSSR(opts);
|
|
4830
4361
|
let tmrId;
|
|
4831
4362
|
let ranCompleted = false;
|
|
4832
4363
|
function hydratedComplete() {
|
|
@@ -5166,6 +4697,7 @@ var plt = {
|
|
|
5166
4697
|
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
5167
4698
|
ce: (eventName, opts) => new win.CustomEvent(eventName, opts)
|
|
5168
4699
|
};
|
|
4700
|
+
var supportsShadow = BUILD.shadowDom;
|
|
5169
4701
|
var getHostRef = (ref) => {
|
|
5170
4702
|
if (ref.__stencil__getHostRef) {
|
|
5171
4703
|
return ref.__stencil__getHostRef();
|
|
@@ -5199,11 +4731,6 @@ var registerHost = (elm, cmpMeta) => {
|
|
|
5199
4731
|
return hostRef;
|
|
5200
4732
|
};
|
|
5201
4733
|
var styles = /* @__PURE__ */ new Map();
|
|
5202
|
-
var setScopedSSR = (opts) => {
|
|
5203
|
-
scopedSSR = opts.serializeShadowRoot !== false && opts.serializeShadowRoot !== "declarative-shadow-dom";
|
|
5204
|
-
};
|
|
5205
|
-
var needsScopedSSR = () => scopedSSR;
|
|
5206
|
-
var scopedSSR = false;
|
|
5207
4734
|
|
|
5208
4735
|
const primary = "#051D36";
|
|
5209
4736
|
const secondary = "#555555";
|
|
@@ -5481,7 +5008,7 @@ class SdBadge {
|
|
|
5481
5008
|
label = '';
|
|
5482
5009
|
render() {
|
|
5483
5010
|
const resolvedColor = resolveColor(this.color);
|
|
5484
|
-
return (hAsync("div", { key: '
|
|
5011
|
+
return (hAsync("div", { key: 'a83ffeb7171c32bafc3312d95c9fed576d676a0d', class: `sd-badge sd-badge--${this.size}`, style: { '--sd-badge-color': resolvedColor } }, hAsync("div", { key: 'b6d84b2391d0e03edcab957b4edf73c765c04c35', class: "sd-badge__dot" }), hAsync("div", { key: 'f06b5639135d87d7346b46c90a28ddeb40b05c9f', class: "sd-badge__label" }, this.label)));
|
|
5485
5012
|
}
|
|
5486
5013
|
static get style() { return sdBadgeCss(); }
|
|
5487
5014
|
static get cmpMeta() { return {
|
|
@@ -5950,13 +5477,13 @@ class SdButtonV2 {
|
|
|
5950
5477
|
const iconOnly = !this.label && Boolean(this.icon);
|
|
5951
5478
|
const accessibleName = iconOnly && this.ariaLabel.trim() ? this.ariaLabel : undefined;
|
|
5952
5479
|
const iconColor = this.disabled ? DISABLED_CONTENT : PRESET_CONTENT_COLORS$1[preset];
|
|
5953
|
-
return (hAsync("button", { key: '
|
|
5480
|
+
return (hAsync("button", { key: '9adec3868e5337822463a5a37a741ef146a081be', class: this.getButtonClasses(preset, config.size, hasLabel, iconOnly), type: this.type, disabled: this.disabled, "aria-label": accessibleName, style: {
|
|
5954
5481
|
'--sd-button-v2-bg': config.variant === 'primary' ? config.color : '#FFFFFF',
|
|
5955
5482
|
'--sd-button-v2-bg-hover': PRESET_HOVER_BACKGROUNDS$1[preset],
|
|
5956
5483
|
'--sd-button-v2-border': PRESET_BORDER_COLORS$1[preset],
|
|
5957
5484
|
'--sd-button-v2-content': PRESET_CONTENT_COLORS$1[preset],
|
|
5958
5485
|
'--sd-button-v2-accent': BUTTON_FOCUS_RING_COLOR,
|
|
5959
|
-
}, onClick: this.handleClick }, hAsync("span", { key: '
|
|
5486
|
+
}, onClick: this.handleClick }, hAsync("span", { key: '849c90886e77e792e4e34ef064352361a29664f0', class: "sd-button-v2__content" }, this.icon && (hAsync("sd-icon", { key: '5c5bc61ab43aa17124337a7107a3e6ab82f566ae', class: "sd-button-v2__icon", name: this.icon, size: BUTTON_ICON_SIZES[config.size], color: iconColor })), this.label && hAsync("span", { key: 'e2d1a5ce465f07310a4d03966609baaf7e968b0e', class: "sd-button-v2__label" }, this.label))));
|
|
5960
5487
|
}
|
|
5961
5488
|
static get style() { return sdButtonV2Css(); }
|
|
5962
5489
|
static get cmpMeta() { return {
|
|
@@ -5985,7 +5512,7 @@ class SdCard {
|
|
|
5985
5512
|
bordered = false;
|
|
5986
5513
|
sdClass = '';
|
|
5987
5514
|
render() {
|
|
5988
|
-
return (hAsync(Fragment, { key: '
|
|
5515
|
+
return (hAsync(Fragment, { key: '3999f64f54054b3a1662fac4aacf9f6898acb957' }, hAsync("div", { key: '666b8e849b92a5e75d259ff079237911fd591cdd', class: `sd-card ${this.bordered ? 'sd-card--bordered' : ''} ${this.sdClass}` }, hAsync("slot", { key: 'dc8f4ae80e9aca7a0aecaed81f45d40e7df2c067' }))));
|
|
5989
5516
|
}
|
|
5990
5517
|
static get style() { return sdCardCss(); }
|
|
5991
5518
|
static get cmpMeta() { return {
|
|
@@ -6301,7 +5828,7 @@ class SdDatePicker {
|
|
|
6301
5828
|
this.isOpen = false;
|
|
6302
5829
|
};
|
|
6303
5830
|
render() {
|
|
6304
|
-
return (hAsync("div", { key: '
|
|
5831
|
+
return (hAsync("div", { key: 'cd2f9c240e1e67806d1d9334937a905330d29a1f', class: { 'sd-date-picker': true, 'sd-date-picker--disabled': this.disabled } }, hAsync("sd-input", { key: '1d77404494bd1fadf15d82dfabecbf61b73e5da8', ref: el => (this.inputEl = el), value: this.value, label: this.label, "inside-label": true, readonly: true, disabled: this.disabled, placeholder: this.placeholder, inputClass: "sd-date-picker__input", onClick: () => this.openMenu() }, hAsync("sd-icon", { key: '627b76b7d276cff34224a130bb2596ca6f2ff49e', slot: "prefix", name: "date", size: "16", color: this.disabled ? 'grey_65' : 'grey_70', class: "date-icon", onClick: () => this.openMenu() })), this.isOpen && (hAsync("sd-portal", { key: '9dd006a9051c22dd8084ae9cb72e82c9c0b9be2b', open: this.isOpen, parentRef: this.inputEl, onSdClose: this.handleClose }, hAsync("div", { key: '5090eb945c7241f3224b3d2c7a5a96221cc46c04', class: "sd-date-picker__menu" }, hAsync("div", { key: 'fa127745062937dfe4f04773b7d6afa74d13bd7a', class: "sd-date-picker__header" }, hAsync("div", { key: '7c59917872614d1351a3dfe3783017bd6bc6b75c', class: "year-nav" }, hAsync("button", { key: '9e27d2d76ca72820d57c2d9ebc40fa842129da22', type: "button", name: "prev-year", title: "Previous Year", onClick: () => this.setCurrentYear(this.currentYear - 1) }, hAsync("sd-icon", { key: '17c8f872b7cfb2825d4c9528b5838487b97529f0', name: "arrowLeft", size: "12", color: "#CCCCCC" })), hAsync("span", { key: '41999c78367c90bc4d1d9bfdeb6e3d29d44df2c2', class: "year-nav__current" }, this.currentYear), hAsync("button", { key: '52953ec66118afd480e7ce6207a551f18b61ac6d', type: "button", name: "next-year", title: "Next Year", onClick: () => this.setCurrentYear(this.currentYear + 1) }, hAsync("sd-icon", { key: 'e740bcc2a23f4df850b4e2579ce0cae14419313c', name: "arrowRight", size: "12", color: "#CCCCCC" }))), hAsync("div", { key: '7fac86c6405a3936a1f0bdb51e5ca61463ef463a', class: "month-nav" }, hAsync("button", { key: '62e22a2063c7ea972bf74ea08af0d519a5250b3f', type: "button", name: "prev-month", title: "Previous ", onClick: () => this.handleUpdateMonth('prev') }, hAsync("sd-icon", { key: 'fa53cbb5f2e61a3b1f0807639ce2c81516a1ca57', name: "arrowLeft", size: "12", color: "#CCCCCC" })), hAsync("span", { key: '57eb7eaf1e3a11ba69cf4ef4af9852541abd7902', class: "month-nav__current" }, this.currentMonth, "\uC6D4"), hAsync("button", { key: '08a783b73efd7a5df2638df7c8bcac5411b2e642', type: "button", name: "next-month", title: "Next Month", onClick: () => this.handleUpdateMonth('next') }, hAsync("sd-icon", { key: '4a5bb4f4e6f3105fc9fda008eb51a47efe606b81', name: "arrowRight", size: "12", color: "#CCCCCC" })))), hAsync("div", { key: '8dd540a7188716446b2e9bcda707d7458a2ea817', class: "sd-date-picker__days" }, ['일', '월', '화', '수', '목', '금', '토'].map(day => (hAsync("div", { key: day, class: "day" }, day)))), hAsync("div", { key: 'f2da8d2325cb2fb9cb89d9c93d850cefc62235bf', class: "sd-date-picker__body" }, [
|
|
6305
5832
|
...this.calendar.prevMonthDays,
|
|
6306
5833
|
...this.calendar.days,
|
|
6307
5834
|
...this.calendar.afterMonthDays,
|
|
@@ -6493,10 +6020,10 @@ class SdDateRangePicker {
|
|
|
6493
6020
|
this.setHoverDate(hoverDate);
|
|
6494
6021
|
}
|
|
6495
6022
|
render() {
|
|
6496
|
-
return (hAsync("div", { key: '
|
|
6023
|
+
return (hAsync("div", { key: '1862958ea2e972700ea83ed61f0285f09cf52c02', class: {
|
|
6497
6024
|
'sd-date-range-picker': true,
|
|
6498
6025
|
'sd-date-range-picker--disabled': this.disabled,
|
|
6499
|
-
} }, hAsync("sd-input", { key: '
|
|
6026
|
+
} }, hAsync("sd-input", { key: '808670f22b59401c0125dd1191a6180cc6f72799', ref: el => (this.inputEl = el), value: !!this.dateRange[0] ? `${this.dateRange[0]} ~ ${this.dateRange[1]}` : '', label: this.label, "inside-label": true, readonly: true, disabled: this.disabled, placeholder: this.placeholder, inputClass: "sd-date-range-picker__input", onClick: () => this.openMenu() }, hAsync("sd-icon", { key: '123e8beb77c3fceaaa3a8d994f8a8539fe35d317', slot: "prefix", name: "date", size: "16", color: this.disabled ? 'grey_65' : 'grey_70', class: "date-icon", onClick: () => this.openMenu() })), this.isOpen && (hAsync("sd-portal", { key: '448c174030598565f910df316002d78bdfec3f89', open: this.isOpen, parentRef: this.inputEl, onSdClose: this.closeMenu }, hAsync("div", { key: 'b5cf493587c7831e59a6156df87cb56be6bd585b', class: "sd-date-range-picker__menu" }, hAsync("div", { key: 'c044d5377d0d88affecaa61eec2a2239b87158d8', class: "sd-date-range-picker__header mb-16pxr flex flex-nowrap items-center justify-center" }, hAsync("button", { key: 'c497891fe1d06b8f6c1a79000edc0e4f4fd79735', type: "button", name: "prev", title: "Previous", onClick: () => this.setPrevYear(this.prevYear - 1) }, hAsync("sd-icon", { key: 'ad899e9daec0752b744bc73e9cbd99c6a731b7db', name: "arrowLeft", size: "12", color: "#CCCCCC" })), hAsync("div", { key: '595ac699adc90e8b15775ce47a2cda8bbc2f5c25', class: "header-label" }, this.prevYear), hAsync("button", { key: '684ce75f14b08cd57ce6f019a1dfb3ab384b0c11', type: "button", name: "next", title: "Next", onClick: () => this.setPrevYear(this.prevYear + 1) }, hAsync("sd-icon", { key: '31dde7526d0ee3e7abf965eea6f825d557e7c745', name: "arrowRight", size: "12", color: "#CCCCCC" }))), hAsync("div", { key: '3e70334c95d29f302f2dc6d1cb7fbb3603c74a48', class: "sd-date-range-picker__body" }, [this.prevCalendar, this.nextCalendar].map((calendar, index) => (hAsync(Fragment, null, index === 1 && hAsync("div", { class: "separator" }), hAsync("div", { key: index, class: "calendar-container" }, hAsync("div", { class: "calendar-header" }, hAsync("button", { type: "button", name: "month", title: "Month", class: index === 0 ? 'header-button-prev' : 'header-button-next', onClick: () => this.updateYearMonth(index === 0 ? 'prev' : 'next') }, hAsync("sd-icon", { name: index === 0 ? 'arrowLeft' : 'arrowRight', size: "12", color: "#CCCCCC" })), index === 0
|
|
6500
6027
|
? `${this.prevYear}.${String(this.prevMonth).padStart(2, '0')}`
|
|
6501
6028
|
: `${this.nextYear}.${String(this.nextMonth).padStart(2, '0')}`), hAsync("div", { class: "calendar-days" }, ['일', '월', '화', '수', '목', '금', '토'].map(day => (hAsync("sd-date-box", { key: day, date: day, disabled: true, class: "day" })))), hAsync("div", { class: "calendar-body mt-12pxr grid grid-cols-7 gap-y-8pxr" }, [...calendar.prevMonthDays, ...calendar.days, ...calendar.afterMonthDays].map((day, idx) => (hAsync("sd-date-box", { key: `prev${day}_${idx}`, date: !day ? '' : Number(day), selected: this.dateRange.some(date => date === this.formatDate(index, Number(day))), type: this.getDateBoxType(this.formatDate(index, Number(day))), isToday: today === this.formatDate(index, Number(day)), disabled: !day ? true : this.isDisabledDate(this.formatDate(index, Number(day))), inRange: this.isDateInRange(this.formatDate(index, Number(day))), isStartDate: this.dateRange[0] === this.formatDate(index, Number(day)), isEndDate: this.dateRange[1] === this.formatDate(index, Number(day)), onSdClick: () => this.handleDateClick(index, Number(day)), onSdMouseOver: () => this.handleDateHover(index, Number(day)) }))))))))))))));
|
|
6502
6029
|
}
|
|
@@ -6688,7 +6215,7 @@ const DROPDOWN_DISABLED_BORDER = buttonTokens.border.disabled;
|
|
|
6688
6215
|
const isDropdownButtonName = (value) => value in DROPDOWN_BUTTON_CONFIG;
|
|
6689
6216
|
const getDropdownButtonPreset = (value) => getPresetName(value);
|
|
6690
6217
|
|
|
6691
|
-
const sdDropdownButtonCss = () => `sd-dropdown-button{display:inline-flex;width:fit-content;height:fit-content}.sd-dropdown-button{display:inline-flex;position:relative}.sd-dropdown-button__trigger{--sd-dropdown-button-height:var(--sd-button-md-height, 34px);--sd-dropdown-button-padding-x:var(--sd-button-md-padding-x, 20px);--sd-dropdown-button-gap:var(--sd-button-md-gap, 8px);--sd-dropdown-button-font-family:var(--sd-button-md-typography-font-family, inherit);--sd-dropdown-button-font-size:var(--sd-button-md-typography-font-size, 12px);--sd-dropdown-button-font-weight:var(--sd-button-md-typography-font-weight, 500);--sd-dropdown-button-text-decoration:var(--sd-button-md-typography-text-decoration, none);--sd-dropdown-button-bg:#025497;--sd-dropdown-button-bg-hover:#004177;--sd-dropdown-button-border:transparent;--sd-dropdown-button-content:#ffffff;--sd-dropdown-button-divider:#006ac1;--sd-dropdown-button-accent:#006ac1;--sd-dropdown-button-min-width:106px;--sd-dropdown-button-disabled-bg:var(--sd-button-bg-disabled, $grey_30);--sd-dropdown-button-disabled-content:var(--sd-button-content-disabled, $grey_65);--sd-dropdown-button-disabled-border:var(--sd-button-border-disabled, $grey_45);display:inline-flex;align-items:stretch;justify-content:space-between;min-width:var(--sd-dropdown-button-min-width);min-height:var(--sd-dropdown-button-height);padding:0;border:var(--sd-button-border-width-default, 1px) solid var(--sd-dropdown-button-border);border-radius:var(--sd-button-radius-default, 4px);background:var(--sd-dropdown-button-bg);color:var(--sd-dropdown-button-content);cursor:pointer;box-sizing:border-box;font-family:var(--sd-dropdown-button-font-family);font-size:var(--sd-dropdown-button-font-size);font-weight:var(--sd-dropdown-button-font-weight);line-height:1;text-decoration:var(--sd-dropdown-button-text-decoration);transition:background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;white-space:nowrap}.sd-dropdown-button__trigger:hover:not(.sd-dropdown-button__trigger--disabled){background:var(--sd-dropdown-button-bg-hover)}.sd-dropdown-button__trigger:focus-visible{outline:0;box-shadow:0 0 0 2px var(--sd-dropdown-button-accent)}.sd-dropdown-button__trigger--xs{--sd-dropdown-button-height:var(--sd-button-xs-height, 24px);--sd-dropdown-button-padding-x:var(--sd-button-xs-padding-x, 8px);--sd-dropdown-button-gap:var(--sd-button-xs-gap, 4px);--sd-dropdown-button-font-family:var(--sd-button-xs-typography-font-family, inherit);--sd-dropdown-button-font-size:var(--sd-button-xs-typography-font-size, 12px);--sd-dropdown-button-font-weight:var(--sd-button-xs-typography-font-weight, 500);--sd-dropdown-button-text-decoration:var(--sd-button-xs-typography-text-decoration, none)}.sd-dropdown-button__trigger--sm{--sd-dropdown-button-height:var(--sd-button-sm-height, 28px);--sd-dropdown-button-padding-x:var(--sd-button-sm-padding-x, 12px);--sd-dropdown-button-gap:var(--sd-button-sm-gap, 6px);--sd-dropdown-button-font-family:var(--sd-button-sm-typography-font-family, inherit);--sd-dropdown-button-font-size:var(--sd-button-sm-typography-font-size, 12px);--sd-dropdown-button-font-weight:var(--sd-button-sm-typography-font-weight, 500);--sd-dropdown-button-text-decoration:var(--sd-button-sm-typography-text-decoration, none)}.sd-dropdown-button__trigger--md{--sd-dropdown-button-height:var(--sd-button-md-height, 34px);--sd-dropdown-button-padding-x:var(--sd-button-md-padding-x, 20px);--sd-dropdown-button-gap:var(--sd-button-md-gap, 8px);--sd-dropdown-button-font-family:var(--sd-button-md-typography-font-family, inherit);--sd-dropdown-button-font-size:var(--sd-button-md-typography-font-size, 16px);--sd-dropdown-button-font-weight:var(--sd-button-md-typography-font-weight, 500);--sd-dropdown-button-text-decoration:var(--sd-button-md-typography-text-decoration, none)}.sd-dropdown-button__trigger--disabled{border-color:var(--sd-dropdown-button-disabled-border);background:var(--sd-dropdown-button-disabled-bg);color:var(--sd-dropdown-button-disabled-content);cursor:not-allowed}.sd-dropdown-button__trigger--disabled .sd-dropdown-button__trigger-divider{background:var(--sd-dropdown-button-disabled-border)}.sd-dropdown-button__trigger-label,.sd-dropdown-button__trigger-icon{display:inline-flex;align-items:center;justify-content:center}.sd-dropdown-button__trigger-label{flex:1 1 auto;min-width:0;padding:0 var(--sd-dropdown-button-padding-x)}.sd-dropdown-button__trigger-divider{align-self:stretch;width:1px;height:auto;background:var(--sd-dropdown-button-divider);opacity:0.9}.sd-dropdown-button__trigger-icon{flex:0 0 auto;min-width:calc(var(--sd-dropdown-button-height) - 2px);padding:0 calc(var(--sd-dropdown-button-gap) + 2px)}.sd-dropdown-button__menu{display:grid;width:max-content;min-width:max-content;max-width:calc(100vw - 24px);padding:4px 0;border:0;border-radius:4px;background:#FFFFFF;box-shadow:2px 2px 12px 2px rgba(0, 0, 0, 0.1019607843);box-sizing:border-box;overflow:hidden}.sd-dropdown-button__menu-item{display:inline-flex;align-items:center;gap:8px;min-height:28px;width:100%;padding:0 12px;border:0;border-radius:0;background:transparent;color:var(--sd-dropdown-button-menu-item-color);cursor:pointer;box-sizing:border-box;font:inherit;text-align:left;transition:background-color 0.15s ease, color 0.15s ease}.sd-dropdown-button__menu-item--active{background:var(--sd-dropdown-button-menu-item-active-bg);color:var(--sd-dropdown-button-menu-item-active-color)}.sd-dropdown-button__menu-item--disabled{color:var(--sd-dropdown-button-disabled-content);cursor:not-allowed}.sd-dropdown-button__menu-item-icon{flex:0 0 auto}.sd-dropdown-button__menu-item-label{display:inline-flex;align-items:center;min-width:0;white-space:nowrap;font-size:12px}`;
|
|
6218
|
+
const sdDropdownButtonCss = () => `sd-dropdown-button{display:inline-flex;width:fit-content;height:fit-content}.sd-dropdown-button{display:inline-flex;position:relative}.sd-dropdown-button__trigger{--sd-dropdown-button-height:var(--sd-button-md-height, 34px);--sd-dropdown-button-padding-x:var(--sd-button-md-padding-x, 20px);--sd-dropdown-button-gap:var(--sd-button-md-gap, 8px);--sd-dropdown-button-font-family:var(--sd-button-md-typography-font-family, inherit);--sd-dropdown-button-font-size:var(--sd-button-md-typography-font-size, 12px);--sd-dropdown-button-font-weight:var(--sd-button-md-typography-font-weight, 500);--sd-dropdown-button-text-decoration:var(--sd-button-md-typography-text-decoration, none);--sd-dropdown-button-bg:#025497;--sd-dropdown-button-bg-hover:#004177;--sd-dropdown-button-border:transparent;--sd-dropdown-button-content:#ffffff;--sd-dropdown-button-divider:#006ac1;--sd-dropdown-button-accent:#006ac1;--sd-dropdown-button-min-width:106px;--sd-dropdown-button-disabled-bg:var(--sd-button-bg-disabled, $grey_30);--sd-dropdown-button-disabled-content:var(--sd-button-content-disabled, $grey_65);--sd-dropdown-button-disabled-border:var(--sd-button-border-disabled, $grey_45);display:inline-flex;align-items:stretch;justify-content:space-between;min-width:var(--sd-dropdown-button-min-width);min-height:var(--sd-dropdown-button-height);padding:0;border:var(--sd-button-border-width-default, 1px) solid var(--sd-dropdown-button-border);border-radius:var(--sd-button-radius-default, 4px);background:var(--sd-dropdown-button-bg);color:var(--sd-dropdown-button-content);cursor:pointer;box-sizing:border-box;font-family:var(--sd-dropdown-button-font-family);font-size:var(--sd-dropdown-button-font-size);font-weight:var(--sd-dropdown-button-font-weight);line-height:1;text-decoration:var(--sd-dropdown-button-text-decoration);transition:background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;white-space:nowrap}.sd-dropdown-button__trigger:hover:not(.sd-dropdown-button__trigger--disabled){background:var(--sd-dropdown-button-bg-hover)}.sd-dropdown-button__trigger:focus-visible{outline:0;box-shadow:0 0 0 2px var(--sd-dropdown-button-accent)}.sd-dropdown-button__trigger--xs{--sd-dropdown-button-height:var(--sd-button-xs-height, 24px);--sd-dropdown-button-padding-x:var(--sd-button-xs-padding-x, 8px);--sd-dropdown-button-gap:var(--sd-button-xs-gap, 4px);--sd-dropdown-button-font-family:var(--sd-button-xs-typography-font-family, inherit);--sd-dropdown-button-font-size:var(--sd-button-xs-typography-font-size, 12px);--sd-dropdown-button-font-weight:var(--sd-button-xs-typography-font-weight, 500);--sd-dropdown-button-text-decoration:var(--sd-button-xs-typography-text-decoration, none)}.sd-dropdown-button__trigger--sm{--sd-dropdown-button-height:var(--sd-button-sm-height, 28px);--sd-dropdown-button-padding-x:var(--sd-button-sm-padding-x, 12px);--sd-dropdown-button-gap:var(--sd-button-sm-gap, 6px);--sd-dropdown-button-font-family:var(--sd-button-sm-typography-font-family, inherit);--sd-dropdown-button-font-size:var(--sd-button-sm-typography-font-size, 12px);--sd-dropdown-button-font-weight:var(--sd-button-sm-typography-font-weight, 500);--sd-dropdown-button-text-decoration:var(--sd-button-sm-typography-text-decoration, none)}.sd-dropdown-button__trigger--md{--sd-dropdown-button-height:var(--sd-button-md-height, 34px);--sd-dropdown-button-padding-x:var(--sd-button-md-padding-x, 20px);--sd-dropdown-button-gap:var(--sd-button-md-gap, 8px);--sd-dropdown-button-font-family:var(--sd-button-md-typography-font-family, inherit);--sd-dropdown-button-font-size:var(--sd-button-md-typography-font-size, 16px);--sd-dropdown-button-font-weight:var(--sd-button-md-typography-font-weight, 500);--sd-dropdown-button-text-decoration:var(--sd-button-md-typography-text-decoration, none)}.sd-dropdown-button__trigger--disabled{border-color:var(--sd-dropdown-button-disabled-border);background:var(--sd-dropdown-button-disabled-bg);color:var(--sd-dropdown-button-disabled-content);cursor:not-allowed}.sd-dropdown-button__trigger--disabled .sd-dropdown-button__trigger-divider{background:var(--sd-dropdown-button-disabled-border)}.sd-dropdown-button__trigger-label,.sd-dropdown-button__trigger-icon{display:inline-flex;align-items:center;justify-content:center}.sd-dropdown-button__trigger-label{flex:1 1 auto;min-width:0;padding:0 var(--sd-dropdown-button-padding-x)}.sd-dropdown-button__trigger-divider{align-self:stretch;width:1px;height:auto;background:var(--sd-dropdown-button-divider);opacity:0.9}.sd-dropdown-button__trigger-icon{flex:0 0 auto;min-width:calc(var(--sd-dropdown-button-height) - 2px);padding:0 calc(var(--sd-dropdown-button-gap) + 2px)}.sd-dropdown-button__menu{position:relative;display:grid;width:max-content;min-width:var(--sd-dropdown-button-menu-min-width, max-content);max-width:calc(100vw - 24px);padding:4px 0;border:0;border-radius:4px;background:#FFFFFF;box-shadow:2px 2px 12px 2px rgba(0, 0, 0, 0.1019607843);box-sizing:border-box;overflow:hidden}.sd-dropdown-button__menu-item{display:inline-flex;align-items:center;gap:8px;min-height:28px;width:100%;padding:0 12px;border:0;border-radius:0;background:transparent;color:var(--sd-dropdown-button-menu-item-color);cursor:pointer;box-sizing:border-box;font:inherit;text-align:left;transition:background-color 0.15s ease, color 0.15s ease}.sd-dropdown-button__menu-item--active{background:var(--sd-dropdown-button-menu-item-active-bg);color:var(--sd-dropdown-button-menu-item-active-color)}.sd-dropdown-button__menu-item--disabled{color:var(--sd-dropdown-button-disabled-content);cursor:not-allowed}.sd-dropdown-button__menu-item-icon{flex:0 0 auto}.sd-dropdown-button__menu-item-label{display:inline-flex;align-items:center;min-width:0;white-space:nowrap;font-size:12px}`;
|
|
6692
6219
|
|
|
6693
6220
|
class SdDropdownButton extends BaseDropdownEvent {
|
|
6694
6221
|
constructor(hostRef) {
|
|
@@ -6837,7 +6364,8 @@ class SdDropdownButton extends BaseDropdownEvent {
|
|
|
6837
6364
|
renderDropdown(preset) {
|
|
6838
6365
|
if (!this.isOpen || !this.triggerRef)
|
|
6839
6366
|
return null;
|
|
6840
|
-
return (hAsync("sd-portal", { open: this.isOpen, parentRef: this.triggerRef, onSdClose: this.closeDropdown }, hAsync("div", { class: "sd-dropdown-button__menu", role: "menu", ref: el => (this.menuRef = el), style: {
|
|
6367
|
+
return (hAsync("sd-portal", { open: this.isOpen, parentRef: this.triggerRef, onSdClose: this.closeDropdown }, hAsync("div", { style: { position: 'absolute', width: '0px', height: '0px' } }, hAsync("div", { class: "sd-dropdown-button__menu", role: "menu", ref: el => (this.menuRef = el), style: {
|
|
6368
|
+
'--sd-dropdown-button-menu-min-width': `${this.triggerRef.offsetWidth}px`,
|
|
6841
6369
|
'--sd-dropdown-button-menu-item-color': PRESET_MENU_ITEM_COLORS[preset],
|
|
6842
6370
|
'--sd-dropdown-button-menu-item-active-bg': PRESET_MENU_ITEM_ACTIVE_BACKGROUNDS[preset],
|
|
6843
6371
|
'--sd-dropdown-button-menu-item-active-color': PRESET_MENU_ITEM_ACTIVE_COLORS[preset],
|
|
@@ -6856,12 +6384,12 @@ class SdDropdownButton extends BaseDropdownEvent {
|
|
|
6856
6384
|
this.itemIndex = index;
|
|
6857
6385
|
}
|
|
6858
6386
|
} }, item.icon && (hAsync("sd-icon", { class: "sd-dropdown-button__menu-item-icon", name: item.icon, size: 12, color: iconColor })), hAsync("span", { class: "sd-dropdown-button__menu-item-label", innerHTML: item.label })));
|
|
6859
|
-
}))));
|
|
6387
|
+
})))));
|
|
6860
6388
|
}
|
|
6861
6389
|
render() {
|
|
6862
6390
|
const { config, preset } = this.resolvedConfig;
|
|
6863
6391
|
const chevronColor = this.disabled ? DROPDOWN_DISABLED_CONTENT : PRESET_CONTENT_COLORS[preset];
|
|
6864
|
-
return (hAsync("div", { key: '
|
|
6392
|
+
return (hAsync("div", { key: '23f01551d932b3840efc4554d9bf2520a4bd8f81', class: "sd-dropdown-button" }, hAsync("button", { key: 'd8d736e5b6abe0e8870c01e05c55b03beb333be5', type: "button", class: this.getTriggerClasses(preset, config.size, this.disabled, this.isOpen), disabled: this.disabled, "aria-haspopup": "menu", "aria-expanded": String(this.isOpen), onClick: this.toggleDropdown, ref: el => (this.triggerRef = el), style: {
|
|
6865
6393
|
'--sd-dropdown-button-min-width': `${DROPDOWN_BUTTON_MIN_WIDTHS[config.size]}px`,
|
|
6866
6394
|
'--sd-dropdown-button-bg': config.color,
|
|
6867
6395
|
'--sd-dropdown-button-bg-hover': PRESET_HOVER_BACKGROUNDS[preset],
|
|
@@ -6872,7 +6400,7 @@ class SdDropdownButton extends BaseDropdownEvent {
|
|
|
6872
6400
|
'--sd-dropdown-button-disabled-bg': DROPDOWN_DISABLED_BACKGROUND,
|
|
6873
6401
|
'--sd-dropdown-button-disabled-content': DROPDOWN_DISABLED_CONTENT,
|
|
6874
6402
|
'--sd-dropdown-button-disabled-border': DROPDOWN_DISABLED_BORDER,
|
|
6875
|
-
} }, hAsync("span", { key: '
|
|
6403
|
+
} }, hAsync("span", { key: '7c453f8d427a35553c60372dcef10b7b8561bad5', class: "sd-dropdown-button__trigger-label" }, this.label), hAsync("span", { key: '689127d4360e17cecdd8b6233d09113ac22a5e7d', class: "sd-dropdown-button__trigger-divider", "aria-hidden": "true" }), hAsync("span", { key: '9a61c4e2d8622462d065fd61002a503965eaec6b', class: "sd-dropdown-button__trigger-icon", "aria-hidden": "true" }, hAsync("sd-icon", { key: 'df084b6ed0b0824fb62e9cfe5e8cf07e74509205', name: this.isOpen ? 'arrowUp' : 'arrowDown', size: 12, color: chevronColor }))), this.renderDropdown(preset)));
|
|
6876
6404
|
}
|
|
6877
6405
|
static get watchers() { return {
|
|
6878
6406
|
"isOpen": [{
|
|
@@ -7019,15 +6547,15 @@ class SdField {
|
|
|
7019
6547
|
}
|
|
7020
6548
|
}
|
|
7021
6549
|
render() {
|
|
7022
|
-
return (hAsync("div", { key: '
|
|
6550
|
+
return (hAsync("div", { key: '9ed0e615761d5c76dff1e95318b131bde22cd376', class: {
|
|
7023
6551
|
'sd-field': true,
|
|
7024
6552
|
'sd-field--has-label': !!this.label,
|
|
7025
6553
|
'sd-field--has-label-inside': !!this.label && this.insideLabel,
|
|
7026
6554
|
[this.fieldStatus]: !!this.fieldStatus,
|
|
7027
|
-
} }, hAsync("div", { key: '
|
|
6555
|
+
} }, hAsync("div", { key: '6d051479c9874f3c765d50096db80c73c4fc461b', class: "sd-field__wrapper" }, this.renderLabel(this.label), hAsync("div", { key: '64ea18d481f0ad689ed984cd40837717fb37a751', class: {
|
|
7028
6556
|
'sd-field__control': true,
|
|
7029
6557
|
'sd-field__control--label-inside ': !!this.label && this.insideLabel,
|
|
7030
|
-
} }, hAsync("slot", { key: '
|
|
6558
|
+
} }, hAsync("slot", { key: '8e043b3e476e0d574612c892f6c8c0bca28c117f' }))), this.errorMsg && hAsync("div", { key: '22d42bacdbdfe85dbe08395d21e59a06946986f5', class: "sd-field__error-message" }, this.errorMsg)));
|
|
7031
6559
|
}
|
|
7032
6560
|
renderLabel(label) {
|
|
7033
6561
|
if (!label)
|
|
@@ -7161,15 +6689,15 @@ class SdFilePicker {
|
|
|
7161
6689
|
render() {
|
|
7162
6690
|
const hasFiles = this.hasFiles();
|
|
7163
6691
|
const displayText = this.getDisplayText();
|
|
7164
|
-
return (hAsync("div", { key: '
|
|
6692
|
+
return (hAsync("div", { key: '8d0b3002090064a062df3bc21e54fb8011a520ed', class: {
|
|
7165
6693
|
'sd-file-picker': true,
|
|
7166
6694
|
[this.getStatusClass()]: true,
|
|
7167
6695
|
'sd-file-picker--inline': this.inline,
|
|
7168
|
-
}, onClick: this.handleClick, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, hAsync("input", { key: '
|
|
6696
|
+
}, onClick: this.handleClick, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, hAsync("input", { key: 'e58b89fa203a86286d088a7ec7b1be0f740b948a', ref: el => (this.fileInputRef = el), type: "file", class: "sd-file-picker__input", disabled: this.disabled, multiple: this.multiple, accept: this.accept, onInput: this.handleFileChange, "aria-label": this.placeholder }), hAsync("sd-icon", { key: '42440a854a85aeed63f887b25fa13d9609202974', name: "attachFile", size: 16, color: this.getIconColor(), class: "sd-file-picker__icon" }), hAsync("div", { key: '25bd48b058fcff917aa1ee13c9cd991c49ef4aa1', ref: el => (this.fileNamesRef = el), class: {
|
|
7169
6697
|
'sd-file-picker__text': true,
|
|
7170
6698
|
'sd-file-picker__text--placeholder': !hasFiles,
|
|
7171
6699
|
'sd-file-picker__text--active': hasFiles,
|
|
7172
|
-
} }, displayText), !this.disabled && hasFiles && (hAsync("sd-icon", { key: '
|
|
6700
|
+
} }, displayText), !this.disabled && hasFiles && (hAsync("sd-icon", { key: '9d82107ff69909519d1a3051054c42370e6b181c', name: "close", size: 12, color: "#888888", class: "sd-file-picker__clear-icon", onClick: this.handleClear })), this.showTooltip && hasFiles && this.hovered && (hAsync("div", { key: '8c8dfeb9a82c4ca69e6ae88aa8f129c72d884b14', class: "sd-file-picker__tooltip" }, displayText))));
|
|
7173
6701
|
}
|
|
7174
6702
|
static get watchers() { return {
|
|
7175
6703
|
"value": [{
|
|
@@ -7348,7 +6876,7 @@ class SdFloatingPopover {
|
|
|
7348
6876
|
this.close.emit();
|
|
7349
6877
|
}
|
|
7350
6878
|
render() {
|
|
7351
|
-
return hAsync("slot", { key: '
|
|
6879
|
+
return hAsync("slot", { key: 'fe02da5ce55072c8fa313e467967f2a1c18f86bb' });
|
|
7352
6880
|
}
|
|
7353
6881
|
static get style() { return sdFloatingPortalCss(); }
|
|
7354
6882
|
static get cmpMeta() { return {
|
|
@@ -7505,9 +7033,9 @@ class SdGuide {
|
|
|
7505
7033
|
};
|
|
7506
7034
|
render() {
|
|
7507
7035
|
const { name: iconName, size: iconSize, color: iconColor } = GUIDE_ICON[this.type];
|
|
7508
|
-
return (hAsync("div", { key: '
|
|
7036
|
+
return (hAsync("div", { key: '69dc81c8fe0c5843e86709e72f0cdf3ecaf8c52a', class: "sd-guide", style: {
|
|
7509
7037
|
'--sd-guide-color': GUIDE_ICON[this.type].color,
|
|
7510
|
-
} }, hAsync("sd-button", { key: '
|
|
7038
|
+
} }, hAsync("sd-button", { key: '254e03a9d2e4d36ca26a23158acc960dcfb90578', ref: el => (this.guideRef = el), class: this.guideClass, variant: this.popupShow ? 'primary' : 'outline', label: this.label || GUIDE_LABEL[this.type], size: "sm", color: this.popupShow ? GUIDE_ICON[this.type].color : 'grey_45', icon: iconName, iconColor: this.popupShow ? 'white' : iconColor, iconSize: iconSize, noHover: this.popupShow, onSdClick: this.handleClickGuide }), this.type === 'help' && this.popupShow && (hAsync("sd-portal", { key: '701a049ebcabd0b29fa74fac246cecdedace2022', open: this.popupShow, parentRef: this.guideRef, onSdClose: this.closeDropdown, offset: [0, 4] }, hAsync("div", { key: 'e8f8efcbcbe29d51a29a8ca3803ed0a754a42531', style: { position: 'absolute', width: '0px', height: '0px' } }, hAsync("div", { key: '5f54893503560535d6adedea41d81182c72b04e5', class: "sd-guide__popup", style: { width: this.popupWidth ? this.popupWidth + 'px' : '426px' } }, hAsync("sd-button", { key: '9747683a1123307a9e4214e0f4be63fd09af1fec', class: "sd-guide__popup__close", icon: "close", color: "grey_65", size: "md", variant: "ghost", noHover: true, onSdClick: this.closeDropdown }), hAsync("div", { key: '9fb06eaeae5fc0a805855b78b8d67583183f7a8c', class: "sd-guide__popup__header" }, hAsync("sd-icon", { key: 'ad4b7e1e5740bbd32877efc0a5614b4e657aca8a', name: "helpOutline", size: 24, color: "green_65" }), hAsync("h3", { key: '5cdf73e175a51b13ee2c5408014de27a9650ac20', class: "sd-guide__popup__title" }, this.popupTitle || GUIDE_LABEL[this.type])), hAsync("ul", { key: 'f02a8cf5ffe831d2a466e4357f7721c5622d7bee', class: "sd-guide__popup__list" }, this.renderListItem(this.message))))))));
|
|
7511
7039
|
}
|
|
7512
7040
|
// 현재 2depth까지만 스타일 적용
|
|
7513
7041
|
renderListItem(message, depth = 0) {
|
|
@@ -9552,7 +9080,7 @@ class SdIcon {
|
|
|
9552
9080
|
}
|
|
9553
9081
|
render() {
|
|
9554
9082
|
const IconComponent = Icons[this.name]?.[this.size];
|
|
9555
|
-
return (hAsync("i", { key: '
|
|
9083
|
+
return (hAsync("i", { key: '69b8654e2fd745282c1878306a5c464ba0995468', class: this.getIconClasses(), style: this.iconStyle }, hAsync(IconComponent, { key: '64b00309d5ad7787c4fbf2c200719fd74062ccbd', color: this.resolvedColor })));
|
|
9556
9084
|
}
|
|
9557
9085
|
static get style() { return sdIconCss(); }
|
|
9558
9086
|
static get cmpMeta() { return {
|
|
@@ -9677,7 +9205,7 @@ class SdInput {
|
|
|
9677
9205
|
}
|
|
9678
9206
|
};
|
|
9679
9207
|
render() {
|
|
9680
|
-
return (hAsync("sd-field", { key: '
|
|
9208
|
+
return (hAsync("sd-field", { key: '7f32214220ee8dc3e830597b84f846096b48b305', name: this.name, label: this.label, insideLabel: this.insideLabel, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, status: this.status, useLabelRequired: this.useLabelRequired, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, hAsync("label", { key: '71b1f7ce70d475e28f1d9f29c9a49b3f2f548f53', class: "sd-input__content", style: { width: '100%' } }, hAsync("slot", { key: 'c0c92d686b4cee0930716a47a701459c3afc41ff', name: "prefix" }), hAsync("input", { key: '1cdacf0a76d118c0711bae5b1263650c195db838', name: this.name, ref: el => (this.nativeEl = el), class: `sd-input__native ${this.inputClass}`, type: this.type, value: this.internalValue || '', placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.inputStyle }), hAsync("slot", { key: '7786756fca59c02dfb159f10e2925f73b64f0366', name: "suffix" }), this.clearable && this.internalValue && (hAsync("sd-icon", { key: '82b24cae340687d7412ec5210548ad92e33be744', name: "close", color: "grey_65", size: "16", class: "sd-input__clear-icon", onClick: async () => {
|
|
9681
9209
|
this.internalValue = '';
|
|
9682
9210
|
await this.formField?.sdValidate();
|
|
9683
9211
|
} })))));
|
|
@@ -9740,7 +9268,7 @@ class SdLoadingSpinner {
|
|
|
9740
9268
|
return resolveColor(this.color);
|
|
9741
9269
|
}
|
|
9742
9270
|
render() {
|
|
9743
|
-
return (hAsync(Fragment, { key: '
|
|
9271
|
+
return (hAsync(Fragment, { key: '2b60d18fe2f1dc23d90c5552202cdea60a91b2c0' }, hAsync("svg", { key: 'd8e8716433c206019384899897b052d28d486f92', class: "sd-loading-spinner", width: "72px", height: "72px", viewBox: "25 25 50 50", style: { color: this.resolvedColor } }, hAsync("circle", { key: 'c9aaffe398dd40ccea3a2d8a89cb880e3eeb5a6d', class: "path", cx: "50", cy: "50", r: "20", fill: "none", stroke: "currentColor", "stroke-width": "5", "stroke-miterlimit": "10" }))));
|
|
9744
9272
|
}
|
|
9745
9273
|
static get style() { return sdLoadingSpinnerCss(); }
|
|
9746
9274
|
static get cmpMeta() { return {
|
|
@@ -10062,17 +9590,17 @@ class SdNumberInput {
|
|
|
10062
9590
|
const inputStyles = {
|
|
10063
9591
|
textAlign: this.useButton ? 'center' : 'right',
|
|
10064
9592
|
};
|
|
10065
|
-
return (hAsync("sd-field", { key: '
|
|
9593
|
+
return (hAsync("sd-field", { key: 'e72a01e264aa4d680aa740f5098e3be9bb7ac8ac', name: this.name, label: this.label, insideLabel: this.insideLabel, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, status: this.status, ref: el => (this.formField = el), style: inputWidth }, hAsync("label", { key: '3006df4eaf22ecf7e9ad330270623ba7cbbf9c9a', class: {
|
|
10066
9594
|
'sd-number-input': true,
|
|
10067
9595
|
[this.getInputStatus()]: true,
|
|
10068
9596
|
'sd-number-input--with-buttons': this.useButton,
|
|
10069
|
-
}, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: this.inputStyle }, hAsync("input", { key: '
|
|
9597
|
+
}, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: this.inputStyle }, hAsync("input", { key: 'e52177d9c7266a1630d9287fdc155f12a5dc7cca', name: this.name, ref: el => (this.nativeEl = el), class: `sd-number-input__input ${this.inputClass}`, type: "text", inputMode: "numeric", value: this.displayValue, placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onKeyDown: this.handleKeyDown, style: inputStyles, onFocus: this.handleFocus, onBlur: this.handleBlur }), this.useButton && (hAsync("div", { key: '18f45963c22ee6a1cdd52e45b41191c3726328ce', class: "sd-number-input__buttons" }, hAsync("button", { key: '73658fecb2300094b1880cae4595975b777b802a', type: "button", class: {
|
|
10070
9598
|
'sd-number-input__button': true,
|
|
10071
9599
|
'sd-number-input__button--decrement': true,
|
|
10072
|
-
}, disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, hAsync("sd-icon", { key: '
|
|
9600
|
+
}, disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, hAsync("sd-icon", { key: 'd2b4d8eb6b7f5dd30ba704c7d7b35051a5b0df7b', name: "minus", size: 12, color: this.isDecrementDisabled() ? 'grey_45' : 'brilliantblue_70' })), hAsync("button", { key: 'ddcd2255b7870657afbb6549cdc185a804aa3dbf', type: "button", class: {
|
|
10073
9601
|
'sd-number-input__button': true,
|
|
10074
9602
|
'sd-number-input__button--increment': true,
|
|
10075
|
-
}, disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, hAsync("sd-icon", { key: '
|
|
9603
|
+
}, disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, hAsync("sd-icon", { key: '971098976698154e8e644a93265dc746177c2ce0', name: "add", size: 12, color: this.isIncrementDisabled() ? 'grey_45' : 'brilliantblue_70' })))))));
|
|
10076
9604
|
}
|
|
10077
9605
|
static get watchers() { return {
|
|
10078
9606
|
"value": [{
|
|
@@ -10196,12 +9724,12 @@ class SdPagination {
|
|
|
10196
9724
|
}
|
|
10197
9725
|
}
|
|
10198
9726
|
render() {
|
|
10199
|
-
return (hAsync("div", { key: '
|
|
9727
|
+
return (hAsync("div", { key: '8ab0a0f2dfb17154eaba138aa0688606500be296', class: this.paginationClasses }, hAsync("div", { key: '04b985f2d3e06ef35b18d6d375021499f36952f1', class: "prepend-btns" }, this.renderPrevButtons()), this.simple ? (hAsync("div", { class: "pagination-info" }, hAsync("span", { class: "current-page" }, this.currentPage), hAsync("span", null, "/"), hAsync("span", { class: "last-page" }, this.lastPage))) : (this.pageNumbers.map(n => (hAsync("button", { type: "button", "aria-current": this.currentPage === n ? 'page' : undefined, class: {
|
|
10200
9728
|
'pagination-btn': true,
|
|
10201
9729
|
'pagination-btn--selected': this.currentPage === n,
|
|
10202
9730
|
}, disabled: this.currentPage === n, style: {
|
|
10203
9731
|
'--pagination-btn-width': `${this.buttonWidth}px`,
|
|
10204
|
-
}, onClick: () => this.handlePageChange(n) }, n)))), hAsync("div", { key: '
|
|
9732
|
+
}, onClick: () => this.handlePageChange(n) }, n)))), hAsync("div", { key: 'c2ef87605487622bed06cac8d13d180f4af23e76', class: "append-btns" }, this.renderNextButtons())));
|
|
10205
9733
|
}
|
|
10206
9734
|
static get style() { return sdPaginationCss(); }
|
|
10207
9735
|
static get cmpMeta() { return {
|
|
@@ -10255,11 +9783,11 @@ class SdPopover {
|
|
|
10255
9783
|
this.showPopover = false;
|
|
10256
9784
|
};
|
|
10257
9785
|
render() {
|
|
10258
|
-
return (hAsync(Fragment, { key: '
|
|
9786
|
+
return (hAsync(Fragment, { key: 'fae8880113285544053957bb096c6618dfddc7ec' }, this.label ? (hAsync("sd-button", { ref: el => (this.buttonEl = el), label: this.label, icon: this.icon, size: this.buttonSize, color: this.color, variant: this.buttonVariant, class: "sd-popover", onSdClick: () => (this.showPopover = !this.showPopover) })) : (hAsync("sd-icon", { ref: el => (this.buttonEl = el), name: this.icon, size: this.iconSize, color: this.color, class: "sd-popover", onClick: () => (this.showPopover = !this.showPopover) })), this.showPopover && (hAsync("sd-floating-portal", { key: '45323134dcbce4014492dde03c1416deda339ee1', parentRef: this.buttonEl, onSdClose: this.handleClose, placement: this.placement }, hAsync("div", { key: 'c662820224d2c90bb806d2ac010cc95a53308b3a', class: {
|
|
10259
9787
|
'sd-floating-menu': true,
|
|
10260
9788
|
[`sd-floating-menu--${this.placement}`]: true,
|
|
10261
9789
|
[this.menuClass]: !!this.menuClass,
|
|
10262
|
-
} }, hAsync("i", { key: '
|
|
9790
|
+
} }, hAsync("i", { key: '55bc21085df77a027d252d5c3ef6d665207c71f6', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${this.placement}` }, hAsync(TooltipArrow, { key: 'a9bb570b87481c0fe897e65ada655537dd4b8724' })), hAsync("div", { key: '5f28d241157a9f5481fc7fa4e48fd00fac1def5a', class: "sd-floating-menu__content" }, this.menuTitle && hAsync("div", { key: 'cc1dcbe2703dca70004159aa9fe8b18b122d8dbc', class: "sd-floating-menu__title" }, this.menuTitle), this.messages.length > 0 && (hAsync("div", { key: 'f7b72df569c2dce9e6c85bcd9509e38ac9cbbb80', class: "sd-floating-menu__messages" }, this.messages.map(message => (hAsync("div", null, message))))), this.buttons.length > 0 && (hAsync("div", { key: 'd01d2bc92e79454d747b2fd976bfeb431d4d90fe', class: `sd-floating-menu__buttons sd-floating-menu__buttons--${this.buttons.length}` }, this.buttons.map(button => (hAsync("sd-button", { ...button })))))), this.useClose && (hAsync("button", { key: '9cf8cbd72d5bec64636b778ea0642d56c3229590', title: "close", class: "sd-floating-menu__close-button", onClick: () => this.handleClose() }, hAsync("sd-icon", { key: '6df940385a9472e73b408cc51c647c98c95a9af7', name: "close", size: "12", color: "gery_55" }))))))));
|
|
10263
9791
|
}
|
|
10264
9792
|
static get watchers() { return {
|
|
10265
9793
|
"show": [{
|
|
@@ -10476,7 +10004,7 @@ class SdPortal {
|
|
|
10476
10004
|
this.close.emit();
|
|
10477
10005
|
}
|
|
10478
10006
|
render() {
|
|
10479
|
-
return hAsync("slot", { key: '
|
|
10007
|
+
return hAsync("slot", { key: 'ceaa6bed28e3b1bd1a539091434fd7acee6a0e4b' });
|
|
10480
10008
|
}
|
|
10481
10009
|
static get watchers() { return {
|
|
10482
10010
|
"open": [{
|
|
@@ -10538,10 +10066,10 @@ class SdProgress {
|
|
|
10538
10066
|
return this.statusColor[this.progressStatus];
|
|
10539
10067
|
}
|
|
10540
10068
|
render() {
|
|
10541
|
-
return (hAsync("div", { key: '
|
|
10069
|
+
return (hAsync("div", { key: 'a9b7c4a0bb44f7455ea21f632d3ec8edbcc97522', style: {
|
|
10542
10070
|
'--progress-color': this.progressColor,
|
|
10543
10071
|
'--progress-percentage': `${this.progressPercentage}%`,
|
|
10544
|
-
} }, this.type === 'bar' ? this.renderBarProgress() : this.renderSpinnerProgress(), this.label && hAsync("div", { key: '
|
|
10072
|
+
} }, this.type === 'bar' ? this.renderBarProgress() : this.renderSpinnerProgress(), this.label && hAsync("div", { key: 'ff0dfde8b43315883d2e4f17aa5e426fb6bf54ee', class: "sd-progress__label" }, this.label)));
|
|
10545
10073
|
}
|
|
10546
10074
|
renderBarProgress() {
|
|
10547
10075
|
return (hAsync("div", { class: `sd-progress__bar sd-progress__bar--${this.progressStatus}` }, hAsync("div", { class: ['sd-progress__bar__percent', this.progressPercentage < 100 ? 'proceed' : ''].join(' ') }), hAsync("div", { class: "sd-progress__bar__indicator sd-progress__bar__indicator--left" }, this.progressPercentage, "%"), hAsync("div", { class: "sd-progress__bar__indicator sd-progress__bar__indicator--right" }, this.progressPercentage, "%")));
|
|
@@ -11120,10 +10648,10 @@ class SdSelectDropdown {
|
|
|
11120
10648
|
this.isScrolled = scrollTop > 0;
|
|
11121
10649
|
};
|
|
11122
10650
|
render() {
|
|
11123
|
-
return (hAsync("div", { key: '
|
|
10651
|
+
return (hAsync("div", { key: '5e56cf091a3c3d510bf932933c33a8c3d85e23ef', class: {
|
|
11124
10652
|
'sd-select-dropdown': true,
|
|
11125
10653
|
'sd-select-dropdown--ready': this.isDropdownReady,
|
|
11126
|
-
}, style: this.dropdownSize, onScroll: this.handleDropdownScroll, ref: el => (this.dropdownRef = el) }, this.searchable && (hAsync("sd-select-search-input", { key: '
|
|
10654
|
+
}, style: this.dropdownSize, onScroll: this.handleDropdownScroll, ref: el => (this.dropdownRef = el) }, this.searchable && (hAsync("sd-select-search-input", { key: 'd965a2a5f31507fb6dca30968edf6334d42b4160', ref: el => (this.searchRef = el), isScrolled: this.isScrolled, searchText: this.searchText, onSdSearchInput: (event) => (this.searchText = event.detail || ''), onSdSearchFocus: () => (this.itemIndex = -1) })), this.filteredOptions.length > 0 ? (this.filteredOptions.map((option, index) => (hAsync("slot", { name: `option-${option.value}` }, hAsync("sd-select-option", { option: option, index: index, isSelected: this.isOptionSelected(option.value), isFocused: index === this.itemIndex, onOptionClick: ({ detail }) => this.optionClick.emit(detail), useCheckbox: this.useCheckbox }))))) : (hAsync("slot", { name: "option-placeholder" }, hAsync("div", { class: 'sd-select-option-placeholder' }, this.optionPlaceholder)))));
|
|
11127
10655
|
}
|
|
11128
10656
|
static get watchers() { return {
|
|
11129
10657
|
"filteredOptions": [{
|
|
@@ -11309,7 +10837,7 @@ class SdSelectMultiple extends BaseDropdownEvent {
|
|
|
11309
10837
|
this.handleOptionSelection(option);
|
|
11310
10838
|
};
|
|
11311
10839
|
render() {
|
|
11312
|
-
return (hAsync("sd-field", { key: '
|
|
10840
|
+
return (hAsync("sd-field", { key: '9395a273b4205854e6fd7e96f26f93c201e6e959', label: this.label, name: this.name, rules: this.rules, error: this.error, disabled: this.disabled, useLabelRequired: this.useLabelRequired, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el) }, hAsync("div", { key: '451758e8c90b79e7ddb3b35226d28ee4a43a3832', class: {
|
|
11313
10841
|
'sd-select-multiple': true,
|
|
11314
10842
|
'sd-select-multiple--open': this.isOpen,
|
|
11315
10843
|
'sd-select-multiple--disabled': this.disabled,
|
|
@@ -11902,7 +11430,7 @@ class SdSelectOption {
|
|
|
11902
11430
|
}
|
|
11903
11431
|
};
|
|
11904
11432
|
render() {
|
|
11905
|
-
return (hAsync("div", { key: '
|
|
11433
|
+
return (hAsync("div", { key: '2f88e7ffe5bce12bc3f352d47d0ebed51a1c69ac', class: {
|
|
11906
11434
|
'sd-select__option': true,
|
|
11907
11435
|
'sd-select__option--selected': this.isSelected,
|
|
11908
11436
|
'sd-select__option--disabled': !!this.option.disabled,
|
|
@@ -11988,7 +11516,7 @@ class SdSelectOptionGroup {
|
|
|
11988
11516
|
}
|
|
11989
11517
|
};
|
|
11990
11518
|
render() {
|
|
11991
|
-
return (hAsync("div", { key: '
|
|
11519
|
+
return (hAsync("div", { key: '7581caff61d1257d653b6f58b8d76c21225b3cc5', class: {
|
|
11992
11520
|
'sd-select__option-group': true,
|
|
11993
11521
|
'sd-select__option-group--selected': !!this.isSelected,
|
|
11994
11522
|
'sd-select__option-group--disabled': !!this.option.disabled,
|
|
@@ -11997,10 +11525,10 @@ class SdSelectOptionGroup {
|
|
|
11997
11525
|
'sd-select__option-group--group': this.option.type === 'group',
|
|
11998
11526
|
'sd-select__option-group--subgroup': this.option.type === 'subgroup',
|
|
11999
11527
|
'sd-select__option-group--item': this.option.type === 'item',
|
|
12000
|
-
}, onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), style: this.optionStyle, "data-index": this.index, onClick: event => this.handleClick(this.option, this.isSelected, event) }, hAsync("div", { key: '
|
|
11528
|
+
}, onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), style: this.optionStyle, "data-index": this.index, onClick: event => this.handleClick(this.option, this.isSelected, event) }, hAsync("div", { key: 'ddb33f6afaa6bc6d6dd3dc494f6ec74b9c023a42', class: "sd-select__option-group__label-wrapper" }, this.useCheckbox && (hAsync("sd-checkbox", { key: '14f2c7fc347718d2909e5006bf2500a9a51b0a66', value: this.isSelected, disabled: this.option.disabled, onClick: e => {
|
|
12001
11529
|
e.preventDefault();
|
|
12002
11530
|
this.handleClick(this.option, this.isSelected, e);
|
|
12003
|
-
} })), hAsync("span", { key: '
|
|
11531
|
+
} })), hAsync("span", { key: '99415ed662cc2f8f29d31e3811eb4496f8fcac47', class: "sd-select__option-group-label" }, this.option.label), this.useIndicator && this.option.type !== 'item' && (hAsync("span", { key: 'a3c7dc6455a94ecd4587f8b13b4d1f10e3b58819', class: "sd-select__option-group__count-indicator" }, `(${this.countInfo?.selectedCount}/${this.countInfo?.totalCount})`)))));
|
|
12004
11532
|
}
|
|
12005
11533
|
static get style() { return sdSelectOptionGroupCss(); }
|
|
12006
11534
|
static get cmpMeta() { return {
|
|
@@ -12049,17 +11577,17 @@ class SdSelectSearchInput {
|
|
|
12049
11577
|
input?.focus({ preventScroll: true });
|
|
12050
11578
|
}
|
|
12051
11579
|
render() {
|
|
12052
|
-
return (hAsync("div", { key: '
|
|
11580
|
+
return (hAsync("div", { key: 'da5faa18fac3c974dcfef4050efe580edcb1bb42', class: {
|
|
12053
11581
|
'sd-select-search-input': true,
|
|
12054
11582
|
'sd-select-search-input--scrolled': !!this.isScrolled,
|
|
12055
|
-
}, onClick: event => event.stopPropagation() }, hAsync("sd-input", { key: '
|
|
11583
|
+
}, onClick: event => event.stopPropagation() }, hAsync("sd-input", { key: 'c469ef89d7600626b19ecd94416849825736ff9f', ref: el => (this.searchRef = el), value: this.searchText, placeholder: "\uAC80\uC0C9", clearable: true, inputStyle: { 'padding-left': '8px' }, autofocus: true, onSdUpdate: event => {
|
|
12056
11584
|
this.searchInput.emit(String(event?.detail));
|
|
12057
11585
|
}, onSdFocus: () => {
|
|
12058
11586
|
this.searchFocus.emit();
|
|
12059
11587
|
}, onKeyDown: event => {
|
|
12060
11588
|
if (event.code === 'Enter')
|
|
12061
11589
|
event.stopPropagation();
|
|
12062
|
-
} }, hAsync("sd-icon", { key: '
|
|
11590
|
+
} }, hAsync("sd-icon", { key: '478a6adda3b53aabf614028bd57a8f987f93cdb6', name: "search", size: 16, color: "#737373", style: { marginRight: '4px' }, slot: "prefix" }))));
|
|
12063
11591
|
}
|
|
12064
11592
|
static get style() { return sdSelectSearchInputCss(); }
|
|
12065
11593
|
static get cmpMeta() { return {
|
|
@@ -12971,16 +12499,14 @@ class SdTabs {
|
|
|
12971
12499
|
}
|
|
12972
12500
|
return classes.join(' ');
|
|
12973
12501
|
}
|
|
12974
|
-
|
|
12975
|
-
|
|
12976
|
-
|
|
12977
|
-
}
|
|
12978
|
-
return { bgColor: '#E5E5E5', textColor: '#737373' };
|
|
12502
|
+
getBadgeName(tab) {
|
|
12503
|
+
const color = this.isTabSelected(tab) ? 'blue' : 'grey';
|
|
12504
|
+
return `square_${this.size}_${color}`;
|
|
12979
12505
|
}
|
|
12980
12506
|
render() {
|
|
12981
|
-
return (hAsync("div", { key: '
|
|
12982
|
-
const
|
|
12983
|
-
return (hAsync("div", { key: `tab-${index}`, class: this.getTabClasses(tab), "aria-label": tab.label || 'tab', onClick: () => this.handleTabClick(tab.value) }, hAsync("span", { "data-label": tab.label, class: "sd-tabs__label" }, tab.label), tab.badge && (hAsync("sd-tag", {
|
|
12507
|
+
return (hAsync("div", { key: 'bc86d4c1775bed6c2d323c9446e2c50631afed7c', class: this.getContainerClasses() }, this.tabs.map((tab, index) => {
|
|
12508
|
+
const badgeName = this.getBadgeName(tab);
|
|
12509
|
+
return (hAsync("div", { key: `tab-${index}`, class: this.getTabClasses(tab), "aria-label": tab.label || 'tab', onClick: () => this.handleTabClick(tab.value) }, hAsync("span", { "data-label": tab.label, class: "sd-tabs__label" }, tab.label), tab.badge && (hAsync("sd-tag", { name: badgeName, label: tab.badge.toString() }))));
|
|
12984
12510
|
})));
|
|
12985
12511
|
}
|
|
12986
12512
|
static get watchers() { return {
|
|
@@ -13004,65 +12530,121 @@ class SdTabs {
|
|
|
13004
12530
|
}; }
|
|
13005
12531
|
}
|
|
13006
12532
|
|
|
13007
|
-
const
|
|
13008
|
-
|
|
13009
|
-
const TAG_COLORS =
|
|
13010
|
-
grey
|
|
13011
|
-
red
|
|
13012
|
-
orange
|
|
13013
|
-
yellow
|
|
13014
|
-
green
|
|
13015
|
-
blue
|
|
13016
|
-
darkblue
|
|
13017
|
-
indigo
|
|
12533
|
+
const TAG_SHAPES = ['square', 'pill'];
|
|
12534
|
+
const TAG_SIZES = ['sm', 'md', 'lg'];
|
|
12535
|
+
const TAG_COLORS = [
|
|
12536
|
+
'grey',
|
|
12537
|
+
'red',
|
|
12538
|
+
'orange',
|
|
12539
|
+
'yellow',
|
|
12540
|
+
'green',
|
|
12541
|
+
'blue',
|
|
12542
|
+
'darkblue',
|
|
12543
|
+
'indigo',
|
|
12544
|
+
];
|
|
12545
|
+
const TAG_COLOR_CONFIG = {
|
|
12546
|
+
grey: { background: '#EEEEEE', content: '#737373', icon: '#737373' },
|
|
12547
|
+
red: { background: '#FCEFEF', content: '#FB4444', icon: '#FB4444' },
|
|
12548
|
+
orange: { background: '#FEF1EA', content: '#FF6B00', icon: '#FF6B00' },
|
|
12549
|
+
yellow: { background: '#FFF7DD', content: '#916C0D', icon: '#CA9611' },
|
|
12550
|
+
green: { background: '#E8F9EF', content: '#00973C', icon: '#12B553' },
|
|
12551
|
+
blue: { background: '#E6F1FF', content: '#0075FF', icon: '#0075FF' },
|
|
12552
|
+
darkblue: { background: '#EAF5FE', content: '#006AC1', icon: '#006AC1' },
|
|
12553
|
+
indigo: { background: '#EFF6FF', content: '#004290', icon: '#004290' },
|
|
12554
|
+
};
|
|
12555
|
+
const SQUARE_SIZE_CONFIG = {
|
|
12556
|
+
sm: {
|
|
12557
|
+
height: '20px',
|
|
12558
|
+
paddingX: '6px',
|
|
12559
|
+
gap: '4px',
|
|
12560
|
+
fontSize: '11px',
|
|
12561
|
+
fontWeight: '500',
|
|
12562
|
+
iconSize: 12,
|
|
12563
|
+
radius: '4px',
|
|
12564
|
+
},
|
|
12565
|
+
md: {
|
|
12566
|
+
height: '24px',
|
|
12567
|
+
paddingX: '8px',
|
|
12568
|
+
gap: '4px',
|
|
12569
|
+
fontSize: '12px',
|
|
12570
|
+
fontWeight: '700',
|
|
12571
|
+
iconSize: 16,
|
|
12572
|
+
radius: '4px',
|
|
12573
|
+
},
|
|
12574
|
+
lg: {
|
|
12575
|
+
height: '28px',
|
|
12576
|
+
paddingX: '10px',
|
|
12577
|
+
gap: '4px',
|
|
12578
|
+
fontSize: '14px',
|
|
12579
|
+
fontWeight: '700',
|
|
12580
|
+
iconSize: 16,
|
|
12581
|
+
radius: '5px',
|
|
12582
|
+
},
|
|
13018
12583
|
};
|
|
12584
|
+
const PILL_SIZE_CONFIG = {
|
|
12585
|
+
sm: { ...SQUARE_SIZE_CONFIG.sm, radius: '999px' },
|
|
12586
|
+
md: { ...SQUARE_SIZE_CONFIG.md, radius: '999px' },
|
|
12587
|
+
lg: { ...SQUARE_SIZE_CONFIG.lg, radius: '999px' },
|
|
12588
|
+
};
|
|
12589
|
+
const TAG_CONFIG = Object.fromEntries(TAG_SHAPES.flatMap(shape => TAG_SIZES.flatMap(size => TAG_COLORS.map(color => {
|
|
12590
|
+
const sizeConfig = shape === 'square' ? SQUARE_SIZE_CONFIG[size] : PILL_SIZE_CONFIG[size];
|
|
12591
|
+
return [
|
|
12592
|
+
`${shape}_${size}_${color}`,
|
|
12593
|
+
{
|
|
12594
|
+
shape,
|
|
12595
|
+
size,
|
|
12596
|
+
color,
|
|
12597
|
+
...sizeConfig,
|
|
12598
|
+
...TAG_COLOR_CONFIG[color],
|
|
12599
|
+
},
|
|
12600
|
+
];
|
|
12601
|
+
}))));
|
|
12602
|
+
const isTagName = (value) => Object.prototype.hasOwnProperty.call(TAG_CONFIG, value);
|
|
12603
|
+
|
|
12604
|
+
const sdTagCss = () => `sd-tag{display:inline-flex;width:fit-content;height:fit-content}.sd-tag{display:inline-flex;align-items:center;justify-content:center;gap:var(--sd-tag-gap, 5px);min-height:var(--sd-tag-height, 24px);padding:0 var(--sd-tag-padding-x, 8px);border-radius:var(--sd-tag-radius, 4px);background:var(--sd-tag-background, #f3f3f3);color:var(--sd-tag-content, #7a7a7a);box-sizing:border-box;white-space:nowrap;-webkit-user-select:none;user-select:none}.sd-tag__icon{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center}.sd-tag__label{display:inline-flex;align-items:center;justify-content:center;min-width:0;font-size:var(--sd-tag-font-size, 12px);font-weight:var(--sd-tag-font-weight, 700);line-height:1}`;
|
|
12605
|
+
|
|
13019
12606
|
class SdTag {
|
|
13020
12607
|
constructor(hostRef) {
|
|
13021
12608
|
registerInstance(this, hostRef);
|
|
13022
12609
|
}
|
|
13023
|
-
|
|
13024
|
-
size = 'md';
|
|
13025
|
-
color = 'grey';
|
|
13026
|
-
rounded = false;
|
|
12610
|
+
name = 'square_md_grey';
|
|
13027
12611
|
label = '';
|
|
13028
|
-
|
|
13029
|
-
|
|
13030
|
-
|
|
13031
|
-
|
|
13032
|
-
|
|
13033
|
-
classes.push('sd-tag--rounded');
|
|
13034
|
-
}
|
|
13035
|
-
if (this.color && !this.bgColor && !this.textColor) {
|
|
13036
|
-
classes.push(TAG_COLORS[this.color]);
|
|
13037
|
-
}
|
|
13038
|
-
if (this.bgColor || this.textColor) {
|
|
13039
|
-
classes.push('sd-tag--custom-color');
|
|
12612
|
+
icon;
|
|
12613
|
+
isLeft = true;
|
|
12614
|
+
get resolvedConfig() {
|
|
12615
|
+
if (!isTagName(this.name)) {
|
|
12616
|
+
throw new Error(`Invalid sd-tag name: ${this.name}`);
|
|
13040
12617
|
}
|
|
13041
|
-
return
|
|
12618
|
+
return TAG_CONFIG[this.name];
|
|
13042
12619
|
}
|
|
13043
|
-
|
|
13044
|
-
|
|
13045
|
-
|
|
13046
|
-
|
|
12620
|
+
renderIcon(color, size) {
|
|
12621
|
+
if (!this.icon)
|
|
12622
|
+
return null;
|
|
12623
|
+
return hAsync("sd-icon", { class: "sd-tag__icon", name: this.icon, size: size, color: color });
|
|
13047
12624
|
}
|
|
13048
12625
|
render() {
|
|
13049
|
-
const
|
|
13050
|
-
|
|
13051
|
-
|
|
13052
|
-
'--tag-
|
|
13053
|
-
|
|
12626
|
+
const config = this.resolvedConfig;
|
|
12627
|
+
const iconNode = this.renderIcon(config.icon, config.iconSize);
|
|
12628
|
+
return (hAsync("span", { key: '5f9ee005b146997dd13bb3e6a06680ff8574bd14', class: "sd-tag", style: {
|
|
12629
|
+
'--sd-tag-background': config.background,
|
|
12630
|
+
'--sd-tag-content': config.content,
|
|
12631
|
+
'--sd-tag-height': config.height,
|
|
12632
|
+
'--sd-tag-padding-x': config.paddingX,
|
|
12633
|
+
'--sd-tag-gap': config.gap,
|
|
12634
|
+
'--sd-tag-font-size': config.fontSize,
|
|
12635
|
+
'--sd-tag-font-weight': config.fontWeight,
|
|
12636
|
+
'--sd-tag-radius': config.radius,
|
|
12637
|
+
}, "aria-label": this.label || 'tag' }, this.icon && this.isLeft && iconNode, hAsync("span", { key: 'b123ab6ac015db640e4dc3edc5e2cf90ec5e0ecf', class: "sd-tag__label" }, this.label), this.icon && !this.isLeft && iconNode));
|
|
13054
12638
|
}
|
|
13055
12639
|
static get style() { return sdTagCss(); }
|
|
13056
12640
|
static get cmpMeta() { return {
|
|
13057
|
-
"$flags$":
|
|
12641
|
+
"$flags$": 512,
|
|
13058
12642
|
"$tagName$": "sd-tag",
|
|
13059
12643
|
"$members$": {
|
|
13060
|
-
"
|
|
13061
|
-
"color": [1],
|
|
13062
|
-
"rounded": [4],
|
|
12644
|
+
"name": [1],
|
|
13063
12645
|
"label": [1],
|
|
13064
|
-
"
|
|
13065
|
-
"
|
|
12646
|
+
"icon": [1],
|
|
12647
|
+
"isLeft": [4, "is-left"]
|
|
13066
12648
|
},
|
|
13067
12649
|
"$listeners$": undefined,
|
|
13068
12650
|
"$lazyBundleId$": "-",
|
|
@@ -13154,10 +12736,10 @@ class SdTextarea {
|
|
|
13154
12736
|
}
|
|
13155
12737
|
render() {
|
|
13156
12738
|
const maxLengthCounter = this.getMaxLengthCounter();
|
|
13157
|
-
return (hAsync("div", { key: '
|
|
12739
|
+
return (hAsync("div", { key: '5f087de7fd28e3f5fa3315c37b8974e7f5878149', class: {
|
|
13158
12740
|
'sd-textarea': true,
|
|
13159
12741
|
[this.getTextareaStatus()]: true,
|
|
13160
|
-
}, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, hAsync("div", { key: '
|
|
12742
|
+
}, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, hAsync("div", { key: 'fb9e5c4e98cadbf1a694bce4f9fed498bdc8e7cd', class: "sd-textarea__content" }, hAsync("textarea", { key: 'b0414813c34a127becd94ec6fc2e516c375d8eea', name: this.name, ref: el => (this.nativeEl = el), class: `sd-textarea__native ${this.textareaClass}`, value: this.internalValue || '', placeholder: this.placeholder, disabled: this.disabled, autofocus: this.autoFocus, maxLength: this.maxLength, onInput: this.handleInput.bind(this), onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event) })), this.hasFooter() && (hAsync("div", { key: 'fe3f278f3a7d438f8fce8ca4043e00ec0220efd6', class: "sd-textarea__footer" }, this.helpText !== undefined && hAsync("span", { key: '16d15de3ff1e49de16b67088d52f7f2848f2e283', class: "sd-textarea__help-text" }, this.helpText), maxLengthCounter !== null && hAsync("span", { key: '84b4adbd09b7af30dbc68b5f3e6473e97fe4c76e', class: "sd-textarea__counter" }, maxLengthCounter)))));
|
|
13161
12743
|
}
|
|
13162
12744
|
static get watchers() { return {
|
|
13163
12745
|
"value": [{
|
|
@@ -13238,10 +12820,10 @@ class SdToast {
|
|
|
13238
12820
|
background: resolveColor(colorTokens.background),
|
|
13239
12821
|
text: resolveColor(colorTokens.text),
|
|
13240
12822
|
};
|
|
13241
|
-
return (hAsync("div", { key: '
|
|
12823
|
+
return (hAsync("div", { key: '16579a21c0eec78e609b0cf82fcf2d040b8b3388', style: {
|
|
13242
12824
|
'--sd-toast-bg': colors.background,
|
|
13243
12825
|
'--sd-toast-text': colors.text,
|
|
13244
|
-
} }, hAsync("div", { key: '
|
|
12826
|
+
} }, hAsync("div", { key: '108e47983e1ad99ed462a4fa00c29aa9e3393b8b', class: this.getContainerClasses(), role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.icon && (hAsync("div", { key: 'd034c9aaafc272d51de96de6ccefe49208aba7e3', class: "sd-toast__icon" }, hAsync("sd-icon", { key: '14b97c4cbe7134f67d919abcf4e10cf673dd909d', name: this.icon, size: 16, color: colors.text }))), hAsync("div", { key: '1cecb89bdb19742a7df04625e8f070cd2c207b5e', class: "sd-toast__content" }, hAsync("span", { key: '1daf2a2bea963b7b68c580b30c4c8fa2f3a26c8f', class: "sd-toast__message" }, this.message)), this.link && (hAsync("a", { key: '8f7961c2c14806aa1323e378f57d74e47614772c', href: this.link, class: "sd-toast__link", target: "_blank", rel: "noopener noreferrer" }, this.linkLabel || this.link)), this.buttonLabel && (hAsync("sd-button", { key: '89cba5e58ff368aea05130b799d903d4cf85b120', class: `sd-toast__button ${this.type === 'basicLight' ? 'text-white' : ''}`, label: this.buttonLabel, variant: "primary", color: this.type === 'basicLight' ? 'oceanblue_75' : 'white', size: "sm", onSdClick: this.handleButtonClick, style: this.type !== 'basicLight' ? { '--button-text-color': resolveColor('grey_95') } : {} })), this.useClose && (hAsync("button", { key: '0e7fc0737824b61166cbff82a410948ca1745842', type: "button", class: "sd-toast__close", onClick: this.handleClose, "aria-label": "Close", title: "Close" }, hAsync("sd-icon", { key: '82d203f6eb584cb04566e8f3b1bd7a86ca50bba4', name: "close", size: 12, color: colors.text }))))));
|
|
13245
12827
|
}
|
|
13246
12828
|
static get style() { return sdToastCss(); }
|
|
13247
12829
|
static get cmpMeta() { return {
|
|
@@ -13298,7 +12880,7 @@ class SdToggle {
|
|
|
13298
12880
|
this.change.emit(newValue);
|
|
13299
12881
|
};
|
|
13300
12882
|
render() {
|
|
13301
|
-
return (hAsync("label", { key: '
|
|
12883
|
+
return (hAsync("label", { key: '9a8a0221e093040e446bc193f682070aa1f95c6c', "aria-label": this.label || 'toggle', class: this.toggleClasses }, hAsync("input", { key: '4a2e3c626bfa4e439676cc40df619bd284d0178a', type: "checkbox", checked: this.value, disabled: this.disabled, onInput: this.handleChange }), this.label && hAsync("span", { key: '1eecfd810c17610604d6cf93c6f664690f17ff6a', class: "sd-toggle__label" }, this.label), hAsync("div", { key: '9f082e2f6036e338f2afb6fb719b4ff8d3a01d99', class: "sd-toggle__track" }, hAsync("div", { key: '1d8b1bd11b05091a368c681ead7e79a0e453d510', class: "sd-toggle__thumb" }))));
|
|
13302
12884
|
}
|
|
13303
12885
|
static get style() { return sdToggleCss(); }
|
|
13304
12886
|
static get cmpMeta() { return {
|
|
@@ -13354,7 +12936,7 @@ class SdToggleButton {
|
|
|
13354
12936
|
this.change.emit(newValue);
|
|
13355
12937
|
};
|
|
13356
12938
|
render() {
|
|
13357
|
-
return (hAsync("label", { key: '
|
|
12939
|
+
return (hAsync("label", { key: '174a62904591e559232574d207ff4ad9c0113ad8', class: this.buttonClasses, "aria-label": this.label || 'toggle button' }, this.label, hAsync("input", { key: '7bbd96a0563a8cadcfb7ab9d8e1fb3767508d6bf', style: { display: 'none' }, type: "checkbox", onInput: this.handleChange })));
|
|
13358
12940
|
}
|
|
13359
12941
|
static get style() { return sdToggleButtonCss(); }
|
|
13360
12942
|
static get cmpMeta() { return {
|