@sellmate/design-system 1.26.1 → 1.27.1
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/{component.field-YIQ9TAhV.js → component.field-C7it8cZm.js} +2 -2
- package/dist/cjs/{component.modal-BFelrSMx.js → component.modal-CrZe2db_.js} +0 -14
- package/dist/cjs/component.overlay-CBhFnzM2.js +29 -0
- package/dist/cjs/{component.progress-Bmg3vAAy.js → component.progress-DimGJZAd.js} +1 -2
- package/dist/cjs/{component.table-DIxmbGBT.js → component.table-BrI3b--h.js} +4 -5
- package/dist/cjs/design-system.cjs.js +2 -2
- package/dist/cjs/{index-BuaQW9U4.js → index-DsYLSqCp.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/sd-action-modal.cjs.entry.js +12 -10
- package/dist/cjs/sd-badge.cjs.entry.js +1 -1
- package/dist/cjs/sd-barcode-input.cjs.entry.js +1 -1
- package/dist/cjs/{sd-button.config-eTAJM2iW.js → sd-button.config-BH7gFPmM.js} +1 -2
- package/dist/cjs/sd-button_2.cjs.entry.js +2 -2
- package/dist/cjs/sd-calendar_2.cjs.entry.js +3 -3
- package/dist/cjs/sd-callout.cjs.entry.js +1 -1
- package/dist/cjs/sd-card.cjs.entry.js +1 -1
- package/dist/cjs/sd-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/sd-chip-input.cjs.entry.js +1 -1
- package/dist/cjs/sd-chip.cjs.entry.js +1 -1
- package/dist/cjs/sd-circle-progress.cjs.entry.js +6 -16
- package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +8 -4
- package/dist/cjs/sd-date-box.cjs.entry.js +1 -1
- package/dist/cjs/{sd-date-picker.config-CtXmufyj.js → sd-date-picker.config-De7ahWIs.js} +1 -1
- package/dist/cjs/sd-date-picker_7.cjs.entry.js +25 -29
- package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +1 -1
- package/dist/cjs/sd-divider.cjs.entry.js +1 -1
- package/dist/cjs/sd-dropdown-button.cjs.entry.js +4 -4
- package/dist/cjs/sd-field_3.cjs.entry.js +18 -12
- package/dist/cjs/sd-form.cjs.entry.js +1 -1
- package/dist/cjs/sd-ghost-button_3.cjs.entry.js +2 -3
- package/dist/cjs/sd-guide.cjs.entry.js +1 -1
- package/dist/cjs/sd-key-value-table.cjs.entry.js +3 -3
- package/dist/cjs/sd-linear-progress.cjs.entry.js +3 -3
- package/dist/cjs/sd-loading-container.cjs.entry.js +23 -3
- package/dist/cjs/sd-modal-container.cjs.entry.js +1 -1
- package/dist/cjs/sd-pagination_4.cjs.entry.js +17 -12
- package/dist/cjs/sd-popover.cjs.entry.js +2 -2
- package/dist/cjs/sd-popup.cjs.entry.js +9 -14
- package/dist/cjs/sd-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/sd-radio.cjs.entry.js +1 -1
- package/dist/cjs/sd-select-list-item_2.cjs.entry.js +7 -7
- package/dist/cjs/sd-select_3.cjs.entry.js +10 -10
- package/dist/cjs/sd-switch.cjs.entry.js +2 -2
- package/dist/cjs/sd-table.cjs.entry.js +10 -10
- package/dist/cjs/{sd-table.config-B7MuRLoR.js → sd-table.config-DzC55sap.js} +3 -3
- package/dist/cjs/sd-tabs.cjs.entry.js +2 -2
- package/dist/cjs/sd-td.cjs.entry.js +2 -2
- package/dist/cjs/sd-text-link.cjs.entry.js +2 -3
- package/dist/cjs/sd-toast-container.cjs.entry.js +5 -5
- package/dist/cjs/sd-toast.cjs.entry.js +3 -3
- package/dist/cjs/sd-toggle.cjs.entry.js +3 -4
- package/dist/cjs/{tooltipArrow-VQq73W83.js → tooltipArrow-FLiD3ceS.js} +1 -1
- package/dist/collection/components/sd-action-modal/sd-action-modal.config.js +10 -8
- package/dist/collection/components/sd-circle-progress/sd-circle-progress.config.js +4 -5
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.config.js +2 -2
- package/dist/collection/components/sd-field/sd-field.css +5 -0
- package/dist/collection/components/sd-field/sd-field.js +30 -4
- package/dist/collection/components/sd-file-picker/sd-file-picker.css +2 -5
- package/dist/collection/components/sd-file-picker/sd-file-picker.js +14 -17
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.css +1 -0
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
- package/dist/collection/components/sd-input/sd-input.js +2 -2
- package/dist/collection/components/sd-key-value-table/sd-key-value-table.config.js +1 -1
- package/dist/collection/components/sd-linear-progress/sd-linear-progress.js +1 -1
- package/dist/collection/components/sd-loading-container/sd-loading-container.js +22 -2
- package/dist/collection/components/sd-loading-modal/sd-loading-modal.config.js +4 -4
- package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +5 -1
- package/dist/collection/components/sd-number-input/sd-number-input.js +4 -4
- package/dist/collection/components/sd-pagination/sd-pagination.config.js +1 -0
- package/dist/collection/components/sd-pagination/sd-pagination.css +1 -1
- package/dist/collection/components/sd-pagination/sd-pagination.js +4 -3
- package/dist/collection/components/sd-popup/sd-popup.config.js +6 -4
- package/dist/collection/components/sd-popup/sd-popup.js +1 -1
- package/dist/collection/components/sd-select/sd-select-list-item/sd-select-list-item.js +2 -2
- package/dist/collection/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.js +4 -4
- package/dist/collection/components/sd-select/sd-select-listbox/sd-select-listbox.css +16 -0
- package/dist/collection/components/sd-select/sd-select-listbox/sd-select-listbox.js +2 -2
- package/dist/collection/components/sd-select/sd-select-trigger/sd-select-trigger.js +2 -2
- package/dist/collection/components/sd-select/sd-select.js +4 -4
- package/dist/collection/components/sd-switch/sd-switch.js +1 -1
- package/dist/collection/components/sd-table/sd-table.config.js +3 -3
- package/dist/collection/components/sd-table/sd-table.css +16 -0
- package/dist/collection/components/sd-table/sd-table.js +6 -6
- package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +2 -2
- package/dist/collection/components/sd-table/sd-td/sd-td.js +1 -1
- package/dist/collection/components/sd-table/sd-thead/sd-thead.js +3 -3
- package/dist/collection/components/sd-tabs/sd-tabs.js +1 -1
- package/dist/collection/components/sd-textarea/sd-textarea.js +1 -1
- package/dist/collection/components/sd-toast/sd-toast.js +2 -2
- package/dist/collection/components/sd-toast-container/sd-toast-container.js +4 -4
- package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
- package/dist/collection/components/sd-tooltip/sd-tooltip.js +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/{p-CBXH-GWN.js → p--AZbwi7P.js} +1 -1
- package/dist/components/{p-DoJxhlz2.js → p-BFy8txYj.js} +1 -1
- package/dist/components/{p-BBRQlkBM.js → p-BHNytAtJ.js} +1 -1
- package/dist/components/{p-DlBZuGIN.js → p-BOJALVxB.js} +1 -1
- package/dist/components/{p-Dz70SQco.js → p-BQqXWtI6.js} +1 -1
- package/dist/components/{p-BnhzUsGP.js → p-BU1H7ElF.js} +1 -1
- package/dist/components/{p-C4Vfr3RI.js → p-BV4cnHWn.js} +1 -1
- package/dist/components/p-BXcizROm.js +1 -0
- package/dist/components/p-BZdgdRXJ.js +1 -0
- package/dist/components/{p-BNxNJ3CK.js → p-BaRjXqSM.js} +1 -1
- package/dist/components/{p-c9mdxFTZ.js → p-Bk6aI8rL.js} +1 -1
- package/dist/components/p-BxphFsxh.js +1 -0
- package/dist/components/{p-k89ztBz6.js → p-CIPPETF-.js} +1 -1
- package/dist/components/{p-C3rOud8J.js → p-CJcs7kNH.js} +1 -1
- package/dist/components/{p-CaQ-qyG-.js → p-CV5LiFKt.js} +1 -1
- package/dist/components/p-CiTn4ZiI.js +1 -0
- package/dist/components/p-CmK45nj3.js +1 -0
- package/dist/components/{p-BOTW76OV.js → p-Cok_EW_N.js} +1 -1
- package/dist/components/{p-j1n74q9u.js → p-CvSPsoRb.js} +1 -1
- package/dist/components/p-Cw8yDfQh.js +1 -0
- package/dist/components/{p-B90EQBEX.js → p-CwwJD-NF.js} +1 -1
- package/dist/components/{p-D3dq5pt5.js → p-D7XGOtx0.js} +1 -1
- package/dist/components/{p-D6GUzecR.js → p-D9tQwTWy.js} +1 -1
- package/dist/{design-system/p-GXE2lEVj.js → components/p-DMrzTImA.js} +1 -1
- package/dist/components/{p-UIytIOVz.js → p-DT-e9J59.js} +1 -1
- package/dist/components/{p-346Z6-KH.js → p-DTb2c83G.js} +1 -1
- package/dist/components/{p-DUHiXyfJ.js → p-DVq9oE_p.js} +1 -1
- package/dist/components/p-DYp8I4VH.js +1 -0
- package/dist/components/p-De0OtxK5.js +1 -0
- package/dist/components/{p-D6AroYk-.js → p-DeXLIS7e.js} +1 -1
- package/dist/components/{p-BOJJ_sQS.js → p-DjKOoQuF.js} +1 -1
- package/dist/components/{p-DiJvHjSG.js → p-DkaajrxX.js} +1 -1
- package/dist/components/p-DmC83_E9.js +1 -0
- package/dist/components/{p-BxiJsH7Z.js → p-DnxEeX9I.js} +1 -1
- package/dist/components/{p-BSnINeoq.js → p-DsQQFJ8o.js} +1 -1
- package/dist/components/{p-DhgwAPO4.js → p-Du_Yc-lW.js} +1 -1
- package/dist/components/{p-D9tjoBhH.js → p-Dy6LmOzw.js} +1 -1
- package/dist/components/p-NeXvaRu7.js +1 -0
- package/dist/components/{p-DsZ3vasC.js → p-PvltLPHp.js} +1 -1
- package/dist/components/{p-DGBRubiD.js → p-SROa9QCy.js} +1 -1
- package/dist/components/{p-DNRm9_Bv.js → p-hP1aeMuZ.js} +1 -1
- package/dist/components/p-jwusYvH0.js +1 -0
- package/dist/components/sd-action-modal.js +1 -1
- package/dist/components/sd-badge.js +1 -1
- package/dist/components/sd-barcode-input.js +1 -1
- package/dist/components/sd-button.js +1 -1
- package/dist/components/sd-calendar.js +1 -1
- package/dist/components/sd-callout.js +1 -1
- package/dist/components/sd-card.js +1 -1
- package/dist/components/sd-checkbox.js +1 -1
- package/dist/components/sd-chip-input.js +1 -1
- package/dist/components/sd-chip.js +1 -1
- package/dist/components/sd-circle-progress.js +1 -1
- package/dist/components/sd-confirm-modal.js +1 -1
- package/dist/components/sd-date-box.js +1 -1
- package/dist/components/sd-date-picker-trigger.js +1 -1
- package/dist/components/sd-date-picker.js +1 -1
- package/dist/components/sd-date-range-picker-calendar.js +1 -1
- package/dist/components/sd-date-range-picker.js +1 -1
- package/dist/components/sd-divider.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-ghost-button.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-key-value-table.js +1 -1
- package/dist/components/sd-linear-progress.js +1 -1
- package/dist/components/sd-loading-container.js +1 -1
- package/dist/components/sd-loading-modal.js +1 -1
- package/dist/components/sd-modal-container.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-popup.js +1 -1
- package/dist/components/sd-portal.js +1 -1
- package/dist/components/sd-radio-button.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-list-item-search.js +1 -1
- package/dist/components/sd-select-list-item.js +1 -1
- package/dist/components/sd-select-listbox.js +1 -1
- package/dist/components/sd-select-trigger.js +1 -1
- package/dist/components/sd-select.js +1 -1
- package/dist/components/sd-switch.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-tbody.js +1 -1
- package/dist/components/sd-td.js +1 -1
- package/dist/components/sd-text-link.js +1 -1
- package/dist/components/sd-textarea.js +1 -1
- package/dist/components/sd-thead.js +1 -1
- package/dist/components/sd-toast-container.js +1 -1
- package/dist/components/sd-toast.js +1 -1
- package/dist/components/sd-toggle.js +1 -1
- package/dist/components/sd-tooltip.js +1 -1
- package/dist/components/sd-tr.js +1 -1
- package/dist/design-system/design-system.css +1 -1
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/{p-754c11a8.entry.js → p-06b56059.entry.js} +1 -1
- package/dist/design-system/{p-5b184e17.entry.js → p-07755193.entry.js} +1 -1
- package/dist/design-system/p-147e0413.entry.js +1 -0
- package/dist/design-system/{p-352a72ef.entry.js → p-26297c6e.entry.js} +1 -1
- package/dist/design-system/{p-d4097b87.entry.js → p-270c8529.entry.js} +1 -1
- package/dist/design-system/{p-9761ef4a.entry.js → p-459a408f.entry.js} +1 -1
- package/dist/design-system/{p-a0349edd.entry.js → p-49b1636a.entry.js} +1 -1
- package/dist/design-system/{p-20bb91ed.entry.js → p-5142cd06.entry.js} +1 -1
- package/dist/design-system/p-51c7839c.entry.js +1 -0
- package/dist/design-system/{p-ba5bb1ee.entry.js → p-55c8ce37.entry.js} +1 -1
- package/dist/design-system/p-5aa5aec3.entry.js +1 -0
- package/dist/design-system/{p-992f9509.entry.js → p-5f1dae23.entry.js} +1 -1
- package/dist/design-system/p-5f5f2fbe.entry.js +1 -0
- package/dist/design-system/{p-8c5451f2.entry.js → p-65285327.entry.js} +1 -1
- package/dist/design-system/{p-4d68b0a8.entry.js → p-6aec5853.entry.js} +1 -1
- package/dist/design-system/{p-1680b427.entry.js → p-7540f591.entry.js} +1 -1
- package/dist/design-system/p-761c008c.entry.js +1 -0
- package/dist/design-system/{p-3064d7c6.entry.js → p-80abdfe7.entry.js} +1 -1
- package/dist/design-system/{p-f910d33f.entry.js → p-839e6b5a.entry.js} +1 -1
- package/dist/design-system/{p-8001447c.entry.js → p-8ac340db.entry.js} +1 -1
- package/dist/design-system/{p-c79bf2eb.entry.js → p-8c1a9374.entry.js} +1 -1
- package/dist/design-system/p-947dcc28.entry.js +1 -0
- package/dist/design-system/{p-e77fe58a.entry.js → p-9603971e.entry.js} +1 -1
- package/dist/design-system/p-9825e76c.entry.js +1 -0
- package/dist/design-system/{p-c8e86fb4.entry.js → p-9c0d3011.entry.js} +1 -1
- package/dist/design-system/p-B-LOf2aM.js +1 -0
- package/dist/design-system/p-BXcizROm.js +1 -0
- package/dist/design-system/p-BZg-6aSz.js +2 -0
- package/dist/design-system/p-Cw8yDfQh.js +1 -0
- package/dist/design-system/{p-d24F7UcR.js → p-D2S9Zafz.js} +1 -1
- package/dist/design-system/{p-D6GUzecR.js → p-D9tQwTWy.js} +1 -1
- package/dist/design-system/p-De0OtxK5.js +1 -0
- package/dist/design-system/{p-BOJJ_sQS.js → p-DjKOoQuF.js} +1 -1
- package/dist/design-system/{p-a76a8463.entry.js → p-a4e1dd8c.entry.js} +1 -1
- package/dist/design-system/{p-a32704bc.entry.js → p-b84f5550.entry.js} +1 -1
- package/dist/design-system/{p-eb1233ff.entry.js → p-b86a69ce.entry.js} +1 -1
- package/dist/design-system/{p-90a360ca.entry.js → p-b9387621.entry.js} +1 -1
- package/dist/design-system/p-cb0cbcb0.entry.js +1 -0
- package/dist/design-system/{p-f089fc54.entry.js → p-d790fbb8.entry.js} +1 -1
- package/dist/design-system/{p-f9c0013c.entry.js → p-dae6914d.entry.js} +1 -1
- package/dist/design-system/{p-d6329729.entry.js → p-ddb9a2c4.entry.js} +1 -1
- package/dist/design-system/{p-9b53de38.entry.js → p-dfa16f49.entry.js} +1 -1
- package/dist/design-system/{p-2646a746.entry.js → p-e63bf0e1.entry.js} +1 -1
- package/dist/design-system/p-edfb5c83.entry.js +1 -0
- package/dist/design-system/{p-89c8585f.entry.js → p-efc55114.entry.js} +1 -1
- package/dist/design-system/p-fd671afe.entry.js +1 -0
- package/dist/design-system/{p-83a86e6d.entry.js → p-fe2b853f.entry.js} +1 -1
- package/dist/design-system/{p-25a11d7d.entry.js → p-ff9ccbf6.entry.js} +1 -1
- package/dist/esm/{component.field-BOJJ_sQS.js → component.field-DjKOoQuF.js} +2 -2
- package/dist/esm/{component.modal-DOXMJi-V.js → component.modal-Cw8yDfQh.js} +0 -14
- package/dist/esm/component.overlay-De0OtxK5.js +27 -0
- package/dist/esm/{component.progress-D1vaasIp.js → component.progress-BG5nGnBi.js} +1 -2
- package/dist/esm/{component.table-D6GUzecR.js → component.table-D9tQwTWy.js} +4 -5
- package/dist/esm/design-system.js +3 -3
- package/dist/esm/{index-BZ5lcC25.js → index-BZg-6aSz.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/sd-action-modal.entry.js +12 -10
- package/dist/esm/sd-badge.entry.js +1 -1
- package/dist/esm/sd-barcode-input.entry.js +1 -1
- package/dist/esm/{sd-button.config-DjcjlPt7.js → sd-button.config-ClMlDGkX.js} +1 -2
- package/dist/esm/sd-button_2.entry.js +2 -2
- package/dist/esm/sd-calendar_2.entry.js +3 -3
- package/dist/esm/sd-callout.entry.js +1 -1
- package/dist/esm/sd-card.entry.js +1 -1
- package/dist/esm/sd-checkbox.entry.js +1 -1
- package/dist/esm/sd-chip-input.entry.js +1 -1
- package/dist/esm/sd-chip.entry.js +1 -1
- package/dist/esm/sd-circle-progress.entry.js +6 -16
- package/dist/esm/sd-confirm-modal_2.entry.js +8 -4
- package/dist/esm/sd-date-box.entry.js +1 -1
- package/dist/esm/{sd-date-picker.config-6dvDZPGx.js → sd-date-picker.config-D-ks6qNf.js} +1 -1
- package/dist/esm/sd-date-picker_7.entry.js +25 -29
- package/dist/esm/sd-date-range-picker-calendar.entry.js +1 -1
- package/dist/esm/sd-divider.entry.js +1 -1
- package/dist/esm/sd-dropdown-button.entry.js +4 -4
- package/dist/esm/sd-field_3.entry.js +18 -12
- package/dist/esm/sd-form.entry.js +1 -1
- package/dist/esm/sd-ghost-button_3.entry.js +2 -3
- package/dist/esm/sd-guide.entry.js +1 -1
- package/dist/esm/sd-key-value-table.entry.js +3 -3
- package/dist/esm/sd-linear-progress.entry.js +3 -3
- package/dist/esm/sd-loading-container.entry.js +23 -3
- package/dist/esm/sd-modal-container.entry.js +1 -1
- package/dist/esm/sd-pagination_4.entry.js +17 -12
- package/dist/esm/sd-popover.entry.js +2 -2
- package/dist/esm/sd-popup.entry.js +9 -14
- package/dist/esm/sd-radio-button.entry.js +1 -1
- package/dist/esm/sd-radio.entry.js +1 -1
- package/dist/esm/sd-select-list-item_2.entry.js +7 -7
- package/dist/esm/sd-select_3.entry.js +10 -10
- package/dist/esm/sd-switch.entry.js +2 -2
- package/dist/esm/{sd-table.config-B3wuA5wX.js → sd-table.config-BbIWNUE2.js} +3 -3
- package/dist/esm/sd-table.entry.js +10 -10
- package/dist/esm/sd-tabs.entry.js +2 -2
- package/dist/esm/sd-td.entry.js +2 -2
- package/dist/esm/sd-text-link.entry.js +2 -3
- package/dist/esm/sd-toast-container.entry.js +5 -5
- package/dist/esm/sd-toast.entry.js +3 -3
- package/dist/esm/sd-toggle.entry.js +3 -4
- package/dist/esm/{tooltipArrow-ByHjyr3Z.js → tooltipArrow-BAi-pktU.js} +1 -1
- package/dist/types/components/sd-field/sd-field.d.ts +5 -0
- package/dist/types/components/sd-file-picker/sd-file-picker.d.ts +1 -1
- package/dist/types/components/sd-loading-container/sd-loading-container.d.ts +6 -0
- package/dist/types/components/sd-loading-modal/sd-loading-modal.d.ts +2 -0
- package/dist/types/components/sd-pagination/sd-pagination.config.d.ts +1 -0
- package/dist/types/components.d.ts +13 -2
- package/hydrate/index.js +176 -153
- package/hydrate/index.mjs +176 -153
- package/package.json +1 -1
- package/dist/components/p-B3bERWUt.js +0 -1
- package/dist/components/p-BTWJkT9Y.js +0 -1
- package/dist/components/p-BVVYrEje.js +0 -1
- package/dist/components/p-B_12VhSA.js +0 -1
- package/dist/components/p-C3rAloxT.js +0 -1
- package/dist/components/p-CEVDmQdt.js +0 -1
- package/dist/components/p-Cmg10jpN.js +0 -1
- package/dist/components/p-DLZRxIKh.js +0 -1
- package/dist/components/p-DOXMJi-V.js +0 -1
- package/dist/components/p-DlROb9xa.js +0 -1
- package/dist/components/p-h-EFBJM4.js +0 -1
- package/dist/design-system/p-0fcb6fb3.entry.js +0 -1
- package/dist/design-system/p-12e7b9fc.entry.js +0 -1
- package/dist/design-system/p-250b8e5d.entry.js +0 -1
- package/dist/design-system/p-3f16f44b.entry.js +0 -1
- package/dist/design-system/p-43c47cd5.entry.js +0 -1
- package/dist/design-system/p-6e702726.entry.js +0 -1
- package/dist/design-system/p-7cf2305b.entry.js +0 -1
- package/dist/design-system/p-8be26652.entry.js +0 -1
- package/dist/design-system/p-BZ5lcC25.js +0 -2
- package/dist/design-system/p-Cmg10jpN.js +0 -1
- package/dist/design-system/p-DOXMJi-V.js +0 -1
- package/dist/design-system/p-c4e0c490.entry.js +0 -1
- package/dist/design-system/p-f418055d.entry.js +0 -1
- /package/dist/components/{p-D1vaasIp.js → p-BG5nGnBi.js} +0 -0
- /package/dist/components/{p-Dp6NByuZ.js → p-CGs6_91u.js} +0 -0
- /package/dist/design-system/{p-D1vaasIp.js → p-BG5nGnBi.js} +0 -0
- /package/dist/design-system/{p-DjcjlPt7.js → p-ClMlDGkX.js} +0 -0
|
@@ -173,7 +173,7 @@ export class SdFloatingPopover {
|
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
render() {
|
|
176
|
-
return h("slot", { key: '
|
|
176
|
+
return h("slot", { key: '487d3c23320bd5f44492e3fb84e3cb357605de39' });
|
|
177
177
|
}
|
|
178
178
|
static get is() { return "sd-floating-portal"; }
|
|
179
179
|
static get originalStyleUrls() {
|
|
@@ -152,12 +152,12 @@ export class SdInput {
|
|
|
152
152
|
'--sd-system-size-field-sm-height': `${sizeTokens.height}px`,
|
|
153
153
|
'--sd-system-radius-field-sm': `${sizeTokens.radius}px`,
|
|
154
154
|
};
|
|
155
|
-
return (h("sd-field", { key: '
|
|
155
|
+
return (h("sd-field", { key: '972d5e17746dc16d4e20b18bd278410fe9c13878', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, readonly: this.readonly, focused: this.focused, hovered: this.hovered, status: this.status, size: this.size, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, h("label", { key: '31e5f2aa7a2f0acaa0bfda8b9bfb94e2d6a98ebe', class: "sd-input__content" }, h("slot", { key: '8230767a7311121fca1d3a1d64be5a04fc3c38aa', name: "prefix" }), h("input", { key: '2961c50e416a08988d3d80022883eab696de2c7c', name: this.name, ref: el => (this.nativeEl = el), class: `sd-input__native ${this.inputClass}`, type: this.type === 'password' && this.passwordVisible ? 'text' : (this.type ?? 'text'), value: this.internalValue || '', placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, autocomplete: this.autocomplete || undefined, maxlength: this.maxlength, minlength: this.minlength, inputmode: this.inputmode, enterkeyhint: this.enterkeyhint, spellcheck: this.spellcheck, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.inputStyle }), h("slot", { key: '6862a98c1254979e0700cd8b18b61517a4c7386a', name: "suffix" }), this.clearable && this.internalValue && !this.disabled && !this.readonly && (h("sd-ghost-button", { key: '9aa967f89fa448df98079ba1b16fe4ea4ef81c0e', icon: "close", ariaLabel: "clear", size: "xxs", disabled: this.disabled, class: "sd-input__clear-icon", onClick: async () => {
|
|
156
156
|
if (this.disabled || this.readonly)
|
|
157
157
|
return;
|
|
158
158
|
this.internalValue = '';
|
|
159
159
|
await this.formField?.sdValidate();
|
|
160
|
-
} })), this.type === 'password' && (h("sd-ghost-button", { key: '
|
|
160
|
+
} })), this.type === 'password' && (h("sd-ghost-button", { key: '2dd03b4920f2e84932c6e8ddb8bbdea2070b070f', icon: this.passwordVisible ? 'visibilityOn' : 'visibilityOff', ariaLabel: "visibility", size: "xxs", disabled: this.disabled || this.readonly, class: "sd-input__password-icon", onClick: () => {
|
|
161
161
|
if (this.disabled || this.readonly)
|
|
162
162
|
return;
|
|
163
163
|
this.passwordVisible = !this.passwordVisible;
|
|
@@ -6,7 +6,7 @@ export const KEY_VALUE_TABLE_LAYOUT = {
|
|
|
6
6
|
thWidth: 120,
|
|
7
7
|
borderRadius: Number(t.radius),
|
|
8
8
|
thPaddingX: Number(t.header.paddingX),
|
|
9
|
-
padding: Number(t.keyValue.body.
|
|
9
|
+
padding: Number(t.keyValue.body.paddingY),
|
|
10
10
|
helpIconSize: 16,
|
|
11
11
|
requiredIconSize: 12,
|
|
12
12
|
gap: Number(t.header.gap),
|
|
@@ -31,7 +31,7 @@ export class SdLinearProgress {
|
|
|
31
31
|
clipPath: `inset(0 ${100 - this.clampedValue}% 0 0)`,
|
|
32
32
|
};
|
|
33
33
|
const valueText = `${Math.round(this.clampedValue)}%`;
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '8d19b1c846b14994eceb6381802b19fa92a241cb', style: hostStyle }, h("div", { key: '23d3e839b1e64a81ae86e994bf77a0e9bf53e870', class: "sd-linear-progress__track" }, h("div", { key: '92ea4d28c312e639ec038002beeea60ab39e42bb', class: "sd-linear-progress__fill", style: fillStyle }), !this.indeterminate && (h("span", { key: 'd65a8726f14302260d0fad1b3a16ba7e8588530f', class: "sd-linear-progress__value sd-linear-progress__value--on-track" }, valueText)), !this.indeterminate && (h("span", { key: '522efd6e3b6f6bbfcb8044113d2e2ae37da84dd6', class: "sd-linear-progress__value sd-linear-progress__value--on-fill", style: valueOnFillStyle }, valueText))), this.label && h("span", { key: '2933b26dc95c1962dc19829f9bf1d8e62d71b0c4', class: "sd-linear-progress__label" }, this.label)));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "sd-linear-progress"; }
|
|
37
37
|
static get originalStyleUrls() {
|
|
@@ -2,20 +2,40 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
export class SdLoadingContainer {
|
|
3
3
|
visible = false;
|
|
4
4
|
message = '';
|
|
5
|
+
prevBodyOverflow = null;
|
|
5
6
|
/** 로딩 오버레이를 표시합니다. */
|
|
6
7
|
async show(options = {}) {
|
|
7
8
|
this.message = options.message ?? '';
|
|
8
9
|
this.visible = true;
|
|
10
|
+
this.lockScroll();
|
|
9
11
|
}
|
|
10
12
|
/** 로딩 오버레이를 숨깁니다. */
|
|
11
13
|
async hide() {
|
|
12
14
|
this.visible = false;
|
|
15
|
+
this.unlockScroll();
|
|
16
|
+
}
|
|
17
|
+
disconnectedCallback() {
|
|
18
|
+
this.unlockScroll();
|
|
19
|
+
}
|
|
20
|
+
/** 오버레이 표시 중 배경 스크롤을 차단합니다. */
|
|
21
|
+
lockScroll() {
|
|
22
|
+
if (this.prevBodyOverflow !== null)
|
|
23
|
+
return;
|
|
24
|
+
this.prevBodyOverflow = document.body.style.overflow;
|
|
25
|
+
document.body.style.overflow = 'hidden';
|
|
26
|
+
}
|
|
27
|
+
/** 배경 스크롤 차단을 해제합니다. */
|
|
28
|
+
unlockScroll() {
|
|
29
|
+
if (this.prevBodyOverflow === null)
|
|
30
|
+
return;
|
|
31
|
+
document.body.style.overflow = this.prevBodyOverflow;
|
|
32
|
+
this.prevBodyOverflow = null;
|
|
13
33
|
}
|
|
14
34
|
render() {
|
|
15
|
-
return (h("div", { key: '
|
|
35
|
+
return (h("div", { key: '7abf314b6518ab7e6ba0ef60236a8ca6846b0cf4', class: {
|
|
16
36
|
'sd-loading-container': true,
|
|
17
37
|
'sd-loading-container--visible': this.visible,
|
|
18
|
-
}, "aria-hidden": this.visible ? 'false' : 'true' }, h("div", { key: '
|
|
38
|
+
}, "aria-hidden": this.visible ? 'false' : 'true' }, h("div", { key: '5c049ffd686654fb4c63bba829bcbe4968285a74', class: "sd-loading-container__backdrop" }), h("div", { key: '21c50b87eac65eedfe2ae475eda2c04a9b2f781d', class: "sd-loading-container__content" }, h("sd-circle-progress", { key: '1dd29e83461be200d3d23037fc8965dbba675e77', indeterminate: true, type: "inverse" }), this.message && h("p", { key: 'deb08b4813d784cf47f43648e8187b22b143dfd5', class: "sd-loading-container__message" }, this.message))));
|
|
19
39
|
}
|
|
20
40
|
static get is() { return "sd-loading-container"; }
|
|
21
41
|
static get originalStyleUrls() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import modalTokens from "../../tokens/generated/component.modal.json";
|
|
2
|
-
import
|
|
2
|
+
import progressTokens from "../../tokens/generated/component.progress.json";
|
|
3
3
|
export const LOADING_MODAL_LAYOUT = {
|
|
4
4
|
minWidth: Number(modalTokens.modal.loading.width),
|
|
5
5
|
minHeight: Number(modalTokens.modal.loading.height),
|
|
@@ -11,8 +11,8 @@ export const LOADING_MODAL_COLORS = {
|
|
|
11
11
|
bg: modalTokens.modal.bg,
|
|
12
12
|
messageColor: modalTokens.modal.loading.message.color,
|
|
13
13
|
errorIcon: modalTokens.modal.confirm.negative.icon,
|
|
14
|
-
spinnerTrack:
|
|
15
|
-
spinnerArc:
|
|
14
|
+
spinnerTrack: progressTokens.progress.color.track,
|
|
15
|
+
spinnerArc: progressTokens.progress.active.color,
|
|
16
16
|
};
|
|
17
17
|
export const LOADING_MODAL_TYPOGRAPHY = {
|
|
18
18
|
fontFamily: modalTokens.modal.loading.message.typography.fontFamily,
|
|
@@ -21,7 +21,7 @@ export const LOADING_MODAL_TYPOGRAPHY = {
|
|
|
21
21
|
lineHeight: Number(modalTokens.modal.loading.message.typography.lineHeight),
|
|
22
22
|
};
|
|
23
23
|
export const LOADING_MODAL_DEFAULT_MESSAGE = {
|
|
24
|
-
loading: '
|
|
24
|
+
loading: '작업 진행중...',
|
|
25
25
|
error: '작업에 실패하였습니다. 다시 시도해 주세요.',
|
|
26
26
|
};
|
|
27
27
|
export const LOADING_MODAL_DEFAULT_BUTTON_LABEL = {
|
|
@@ -26,6 +26,10 @@ export class SdLoadingModal {
|
|
|
26
26
|
get resolvedButtonLabel() {
|
|
27
27
|
return this.buttonLabel || LOADING_MODAL_DEFAULT_BUTTON_LABEL[this.resolvedState];
|
|
28
28
|
}
|
|
29
|
+
/** error 상태에서는 버튼이 필수로 표시됩니다. */
|
|
30
|
+
get showButton() {
|
|
31
|
+
return this.useButton || this.resolvedState === 'error';
|
|
32
|
+
}
|
|
29
33
|
handleClick = () => {
|
|
30
34
|
this.click.emit();
|
|
31
35
|
};
|
|
@@ -54,7 +58,7 @@ export class SdLoadingModal {
|
|
|
54
58
|
'--sd-loading-modal-width': this.toCssSize(this.width) ?? `${LOADING_MODAL_LAYOUT.minWidth}px`,
|
|
55
59
|
'--sd-loading-modal-height': this.toCssSize(this.height) ?? `${LOADING_MODAL_LAYOUT.minHeight}px`,
|
|
56
60
|
};
|
|
57
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: '01bd677e5ef79c7fba151be5d4fb28f4de53c063', style: hostStyle }, h("div", { key: 'f1062845695886535ee1d96613db83e1a8da4b88', class: "sd-loading-modal" }, h("div", { key: 'c1ca61a82f105e5582719375506634a2ee5a538f', class: "sd-loading-modal__content" }, this.resolvedState === 'loading' ? (this.progress !== undefined ? (h("sd-circle-progress", { value: this.progress })) : (h("sd-circle-progress", { indeterminate: true }))) : (h("sd-icon", { class: "sd-loading-modal__icon", name: "warningOutline", size: LOADING_MODAL_LAYOUT.contentSize, color: LOADING_MODAL_COLORS.errorIcon }))), h("div", { key: '60039cb0c90b9450355c6545a82301797c0b65bc', class: "sd-loading-modal__message-wrapper" }, Array.isArray(this.resolvedMessage) ? (this.resolvedMessage.map(message => (h("p", { class: "sd-loading-modal__message" }, message)))) : (h("p", { class: "sd-loading-modal__message" }, this.resolvedMessage))), this.showButton && (h("div", { key: '0f00c197e0f320ffb2a8bebe4418307639d5ee09', class: "sd-loading-modal__button" }, h("sd-button", { key: '6d8f96e681843afe1590f9a9fcc18c4668f64d22', name: LOADING_MODAL_BUTTON_PRESET, label: this.resolvedButtonLabel, onSdClick: this.handleClick }))))));
|
|
58
62
|
}
|
|
59
63
|
static get is() { return "sd-loading-modal"; }
|
|
60
64
|
static get originalStyleUrls() {
|
|
@@ -314,15 +314,15 @@ export class SdNumberInput {
|
|
|
314
314
|
'--sd-textinput-input-hint-typography-line-height': `${NUMBER_INPUT_HINT.typography.lineHeight}px`,
|
|
315
315
|
'--sd-textinput-input-contents-gap': `${NUMBER_INPUT_CONTENTS_GAP}px`,
|
|
316
316
|
};
|
|
317
|
-
return (h("sd-field", { key: '
|
|
317
|
+
return (h("sd-field", { key: '391ac51b1c7844a81664907af4e7c063d6c4c5e4', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, readonly: this.readonly, focused: this.focused, hovered: this.hovered, status: this.status, size: this.size, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, h("div", { key: '7bdc01654f679228c9893d4438daa0a8324b1e56', class: {
|
|
318
318
|
'sd-number-input__content': true,
|
|
319
319
|
'sd-number-input__content--no-stepper': !this.useButton,
|
|
320
|
-
} }, this.useButton && (h("button", { key: '
|
|
320
|
+
} }, this.useButton && (h("button", { key: '57819a2fbc917ebf6fdf640e4226443cf6d138b1', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--decrement", disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, h("sd-icon", { key: '05c900ee4b9ccb0f2b8bf5a555f5586fe91c3c53', name: "minus", size: iconSize, color: this.isDecrementDisabled()
|
|
321
321
|
? NUMBER_INPUT_STEPPER.icon.disabled
|
|
322
|
-
: NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && h("span", { key: '
|
|
322
|
+
: NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && h("span", { key: 'e406fa40696f58e4a8ad4f2be2a33ecfc2f4ff3a', class: "sd-number-input__prefix" }, this.inputPrefix), h("input", { key: '3df235c03deac87a615d295d65473a487155f07c', name: this.name, ref: el => (this.nativeEl = el), class: `sd-number-input__native ${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, onFocus: this.handleFocus, onBlur: this.handleBlur, style: {
|
|
323
323
|
textAlign: this.useButton ? 'center' : 'right',
|
|
324
324
|
...this.inputStyle,
|
|
325
|
-
} }), this.inputSuffix && h("span", { key: '
|
|
325
|
+
} }), this.inputSuffix && h("span", { key: 'b23bd9594ca53147d628d97b8a99512d0ecc6c82', class: "sd-number-input__suffix" }, this.inputSuffix), this.useButton && (h("button", { key: 'c4757ac52cccab448a91458ca66e7de29b5d4b5d', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--increment", disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, h("sd-icon", { key: '45eadd745300df1f9bec18d7a9d6367f25ee53b7', name: "add", size: iconSize, color: this.isIncrementDisabled()
|
|
326
326
|
? NUMBER_INPUT_STEPPER.icon.disabled
|
|
327
327
|
: NUMBER_INPUT_STEPPER.icon.default }))))));
|
|
328
328
|
}
|
|
@@ -5,6 +5,7 @@ export const PAGINATION_LAYOUT = {
|
|
|
5
5
|
radius: `${paginationTokens.pagination.radius}px`,
|
|
6
6
|
gap: `${paginationTokens.pagination.gap}px`,
|
|
7
7
|
moveGap: `${paginationTokens.pagination.move.gap}px`,
|
|
8
|
+
simpleGap: `${paginationTokens.pagination.simple.gap}px`,
|
|
8
9
|
iconSize: Number(paginationTokens.pagination.icon),
|
|
9
10
|
};
|
|
10
11
|
export const PAGINATION_TYPOGRAPHY = {
|
|
@@ -75,7 +75,7 @@ sd-pagination {
|
|
|
75
75
|
.sd-pagination__info {
|
|
76
76
|
display: inline-flex;
|
|
77
77
|
align-items: center;
|
|
78
|
-
gap: var(--sd-pagination-
|
|
78
|
+
gap: var(--sd-pagination-simple-gap);
|
|
79
79
|
height: var(--sd-pagination-height);
|
|
80
80
|
padding: 0 var(--sd-pagination-padding-x);
|
|
81
81
|
color: var(--sd-pagination-content);
|
|
@@ -75,6 +75,7 @@ export class SdPagination {
|
|
|
75
75
|
'--sd-pagination-radius': PAGINATION_LAYOUT.radius,
|
|
76
76
|
'--sd-pagination-gap': PAGINATION_LAYOUT.gap,
|
|
77
77
|
'--sd-pagination-move-gap': PAGINATION_LAYOUT.moveGap,
|
|
78
|
+
'--sd-pagination-simple-gap': PAGINATION_LAYOUT.simpleGap,
|
|
78
79
|
'--sd-pagination-font-family': PAGINATION_TYPOGRAPHY.fontFamily,
|
|
79
80
|
'--sd-pagination-font-size': PAGINATION_TYPOGRAPHY.fontSize,
|
|
80
81
|
'--sd-pagination-line-height': PAGINATION_TYPOGRAPHY.lineHeight,
|
|
@@ -87,13 +88,13 @@ export class SdPagination {
|
|
|
87
88
|
'--sd-pagination-bg-selected': PAGINATION_COLORS.bgSelected,
|
|
88
89
|
'--sd-pagination-item-width': `${this.buttonWidth}px`,
|
|
89
90
|
};
|
|
90
|
-
return (h("div", { key: '
|
|
91
|
+
return (h("div", { key: '2e5fdcc2d6a426be32128960131db2ed51674939', class: {
|
|
91
92
|
'sd-pagination': true,
|
|
92
93
|
'sd-pagination--simple': this.simple,
|
|
93
|
-
}, style: cssVars }, h("div", { key: '
|
|
94
|
+
}, style: cssVars }, h("div", { key: 'a83ee12c1af9ca41e3a5773fcd840200fcb873e2', class: "sd-pagination__group sd-pagination__group--prev" }, this.renderPrevButtons()), this.simple ? (h("div", { class: "sd-pagination__info" }, h("span", { class: "sd-pagination__current" }, this.currentPage), h("span", { class: "sd-pagination__divider" }, "/"), h("span", { class: "sd-pagination__last" }, this.lastPage))) : (h("div", { class: "sd-pagination__numbers" }, this.pageNumbers.map(n => (h("button", { type: "button", "aria-current": this.currentPage === n ? 'page' : undefined, class: {
|
|
94
95
|
'sd-pagination__item': true,
|
|
95
96
|
'sd-pagination__item--selected': this.currentPage === n,
|
|
96
|
-
}, onClick: () => this.handlePageChange(n) }, n))))), h("div", { key: '
|
|
97
|
+
}, onClick: () => this.handlePageChange(n) }, n))))), h("div", { key: '3c98ea6c1bf5bea43baaa73a2a7db5c4fe1404e5', class: "sd-pagination__group sd-pagination__group--next" }, this.renderNextButtons())));
|
|
97
98
|
}
|
|
98
99
|
static get is() { return "sd-pagination"; }
|
|
99
100
|
static get originalStyleUrls() {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import popupTokens from "../../tokens/generated/component.popup.json";
|
|
2
|
+
import overlayTokens from "../../tokens/generated/component.overlay.json";
|
|
2
3
|
import systemTokens from "../../tokens/generated/system.json";
|
|
3
4
|
const { popup } = popupTokens;
|
|
5
|
+
const { overlay } = overlayTokens;
|
|
4
6
|
const shadowSpreadMd = systemTokens.shadow.spread.md;
|
|
5
7
|
export const POPUP_LAYOUT = {
|
|
6
8
|
bodyBg: popup.bg,
|
|
@@ -23,10 +25,10 @@ export const POPUP_HEADER = {
|
|
|
23
25
|
paddingY: 10,
|
|
24
26
|
};
|
|
25
27
|
export const POPUP_FOOTER = {
|
|
26
|
-
bg:
|
|
27
|
-
paddingX: Number(
|
|
28
|
-
paddingY: Number(
|
|
29
|
-
gap: Number(
|
|
28
|
+
bg: overlay.footer.bg.default,
|
|
29
|
+
paddingX: Number(overlay.footer.paddingX),
|
|
30
|
+
paddingY: Number(overlay.footer.paddingY),
|
|
31
|
+
gap: Number(overlay.footer.gap),
|
|
30
32
|
height: 52,
|
|
31
33
|
slotHeight: 36,
|
|
32
34
|
shadow: `${shadowSpreadMd.x}px ${shadowSpreadMd.y}px ${shadowSpreadMd.blur}px ${shadowSpreadMd.spread}px ${shadowSpreadMd.color}`,
|
|
@@ -40,7 +40,7 @@ export class SdPopup {
|
|
|
40
40
|
...DEFAULT_SUBMIT_BUTTON_PROPS,
|
|
41
41
|
...this.submitButtonProps,
|
|
42
42
|
};
|
|
43
|
-
return (h("div", { key: '
|
|
43
|
+
return (h("div", { key: 'cc0381250b37b498e93fd7f8d932ad95ff802bcc', class: `sd-popup sd-popup--${this.type}`, style: cssVars }, h("header", { key: '07b4378a9c8d292f73e0a6307ec2b6335087cc9f', class: "sd-popup__header" }, h("h2", { key: 'a17318a803d2d825e0a85f43ff436944424bb213', class: "sd-popup__title" }, this.popupTitle)), h("div", { key: 'f2147c40fbd425565f6e61e62e2da2d97eacb27a', class: "sd-popup__body" }, h("slot", { key: '5600679290a775e53e838fd5ea2d9cfc1008130f' })), this.useFooter && (h("footer", { key: '2bfa07724438b8afa03a0654359ab760498ef7dc', class: "sd-popup__footer" }, h("div", { key: 'd70c88b18b23bd8d1b3f6d4899d65b25e378b9aa', class: "sd-popup__footer-slot sd-popup__footer-slot--left" }, h("slot", { key: '42d7108b390bf460398dcbc128a837784ba5c544', name: "footer-left" })), h("sd-button", { key: '0525a19c52caef0dcaf0eb2783391132d53d18db', ...submitButtonProps, class: "sd-popup__submit", onSdClick: () => this.submit.emit() })))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "sd-popup"; }
|
|
46
46
|
static get originalStyleUrls() {
|
|
@@ -78,7 +78,7 @@ export class SdSelectListItem {
|
|
|
78
78
|
return (
|
|
79
79
|
// 키보드 네비게이션은 부모 listbox 의 ArrowUp/Down + Enter 가 담당. 항목 자체는 role=option, tabindex=-1 으로 표시.
|
|
80
80
|
// eslint-disable-next-line jsx-a11y/click-events-have-key-events
|
|
81
|
-
h("div", { key: '
|
|
81
|
+
h("div", { key: 'dd2c4cbd210ed70c00a954a9c6da6923ea76c91e', role: "option", tabindex: -1, "aria-selected": this.isSelected === true ? 'true' : 'false', class: {
|
|
82
82
|
'sd-select-list-item': true,
|
|
83
83
|
'sd-select-list-item--group': isGroup,
|
|
84
84
|
'sd-select-list-item--depth1-group': isDepth1Group,
|
|
@@ -88,7 +88,7 @@ export class SdSelectListItem {
|
|
|
88
88
|
'sd-select-list-item--focused': this.isFocused,
|
|
89
89
|
'sd-select-list-item--selectable': this.isSelectable && !this.option.disabled,
|
|
90
90
|
'sd-select-list-item--disabled': !!this.option.disabled,
|
|
91
|
-
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: '
|
|
91
|
+
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: '18fb5ec3ccd00aa34c974975324bb214aa4d38f8', value: this.isSelected === null ? null : !!this.isSelected, disabled: this.option.disabled, inverse: this.isFocused && this.isSelected !== false, class: "sd-select-list-item__checkbox", onClick: this.handleCheckboxClick, onSdUpdate: this.handleCheckboxUpdate })), isHtmlLabel(this.option.label) ? (h("span", { class: "sd-select-list-item__label", ref: el => el && (el.innerHTML = sanitizeInlineHtml(this.option.label)) })) : (h("span", { class: "sd-select-list-item__label" }, this.option.label)), this.countInfo && (h("span", { key: '70ee48fdece9e38db3bf9450a5d82ad6db4ec985', class: "sd-select-list-item__count" }, "(", this.countInfo.selected, "/", this.countInfo.total, ")"))));
|
|
92
92
|
}
|
|
93
93
|
static get is() { return "sd-select-list-item"; }
|
|
94
94
|
static get originalStyleUrls() {
|
|
@@ -45,15 +45,15 @@ export class SdSelectListItemSearch {
|
|
|
45
45
|
clearTimeout(this.debounceTimer);
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h("div", { key: '
|
|
48
|
+
return (h("div", { key: '951bb1f2507918c057bb88bd8254a8b4bc4b6018', class: {
|
|
49
49
|
'sd-select-list-item-search': true,
|
|
50
50
|
'sd-select-list-item-search--scrolled': this.isScrolled,
|
|
51
|
-
} }, h("div", { key: '
|
|
51
|
+
} }, h("div", { key: '32164db917f4ccadb301c00e77d8296d0ef59e7d', class: "sd-select-list-item-search__inner" }, h("sd-icon", { key: '9493497b5b8b7274c31bac9e865a1949c0cd4493', name: "search", size: 16, color: "grey_70", class: "sd-select-list-item-search__icon" }), h("input", { key: '3917e46b5e6ad55ab7481655fe31d7a3b29632f6', ref: el => {
|
|
52
52
|
this.inputEl = el;
|
|
53
|
-
}, type: "text", class: "sd-select-list-item-search__input", placeholder: "\uAC80\uC0C9\uC5B4 \uC785\uB825", value: this.searchText, onInput: this.handleInput, onFocus: () => this.searchFocus.emit() }), h("button", { key: '
|
|
53
|
+
}, type: "text", class: "sd-select-list-item-search__input", placeholder: "\uAC80\uC0C9\uC5B4 \uC785\uB825", value: this.searchText, onInput: this.handleInput, onFocus: () => this.searchFocus.emit() }), h("button", { key: '93c11a138545e9480aae3dd0ed961fe613fc1b14', type: "button", class: {
|
|
54
54
|
'sd-select-list-item-search__clear': true,
|
|
55
55
|
'sd-select-list-item-search__clear--hidden': this.searchText === '',
|
|
56
|
-
}, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, h("sd-icon", { key: '
|
|
56
|
+
}, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, h("sd-icon", { key: 'dead91d16ab3af88a4a94ee061b9ca1c1336f2f7', name: "close", size: 12, color: "#888888" })))));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "sd-select-list-item-search"; }
|
|
59
59
|
static get originalStyleUrls() {
|
|
@@ -19,6 +19,22 @@
|
|
|
19
19
|
overflow-y: auto;
|
|
20
20
|
padding-bottom: 0;
|
|
21
21
|
}
|
|
22
|
+
:host .sd-select-listbox__list::-webkit-scrollbar {
|
|
23
|
+
opacity: 0;
|
|
24
|
+
width: 8px;
|
|
25
|
+
background: #E5E5E5;
|
|
26
|
+
}
|
|
27
|
+
:host .sd-select-listbox__list::-webkit-scrollbar:horizontal {
|
|
28
|
+
height: 8px;
|
|
29
|
+
}
|
|
30
|
+
:host .sd-select-listbox__list::-webkit-scrollbar-thumb {
|
|
31
|
+
height: 80px;
|
|
32
|
+
background-color: #CCCCCC;
|
|
33
|
+
border-radius: 4px;
|
|
34
|
+
}
|
|
35
|
+
:host .sd-select-listbox__list::-webkit-scrollbar-track {
|
|
36
|
+
background-color: #E5E5E5;
|
|
37
|
+
}
|
|
22
38
|
:host .sd-select-listbox__empty {
|
|
23
39
|
padding: 12px;
|
|
24
40
|
text-align: center;
|
|
@@ -361,9 +361,9 @@ export class SdSelectListbox {
|
|
|
361
361
|
'--listbox-max-height': this.maxHeight ?? '260px',
|
|
362
362
|
'--listbox-radius': `${LIST_BOX_LAYOUT.radius}px`,
|
|
363
363
|
};
|
|
364
|
-
return (h("div", { key: '
|
|
364
|
+
return (h("div", { key: '0e322ab6384a37b9ea83883e8012799f157ec833', class: "sd-select-listbox", style: cssVars }, this.showSearch && (h("sd-select-list-item-search", { key: '12d35a6ab654d4ce0cf504c0d1b1b6e4cc7eac78', isScrolled: this.isScrolled, onSdSearchFilter: this.handleSearchFilter })), h("div", { key: 'ba99682e9c486fe0efa02a888166a06a600c189e', class: "sd-select-listbox__list", onScroll: this.handleScroll, ref: el => {
|
|
365
365
|
this.listEl = el;
|
|
366
|
-
} }, this.showSelectAll && (h("sd-select-list-item", { key: '
|
|
366
|
+
} }, this.showSelectAll && (h("sd-select-list-item", { key: '8f66c32cc3f8287d04ad7081e71903ccb4467b4f', option: SdSelectListbox.SELECT_ALL_OPTION, depth: 1, isSelected: this.selectAllState, isFocused: this.isOptionFocused(SdSelectListbox.SELECT_ALL_OPTION), useCheckbox: true, onSdListItemClick: this.handleSelectAllClick, onMouseEnter: () => this.handleOptionHover(SdSelectListbox.SELECT_ALL_OPTION) })), this.isEmpty ? (h("div", { class: "sd-select-listbox__empty" }, EMPTY_MESSAGE)) : this.isDepth ? (this.renderOptions(this.filteredOptions)) : (this.filteredOptions.map(option => (h("sd-select-list-item", { option: option, depth: 1, isSelected: this.isOptionSelected(option), isFocused: this.isOptionFocused(option), useCheckbox: this.isMulti, onSdListItemClick: this.handleOptionClick, onMouseEnter: () => this.handleOptionHover(option) })))))));
|
|
367
367
|
}
|
|
368
368
|
static get is() { return "sd-select-listbox"; }
|
|
369
369
|
static get encapsulation() { return "shadow"; }
|
|
@@ -51,7 +51,7 @@ export class SdSelectTrigger {
|
|
|
51
51
|
? SELECT_COLORS.icon.disabled
|
|
52
52
|
: SELECT_COLORS.icon.default,
|
|
53
53
|
};
|
|
54
|
-
return (h("div", { key: '
|
|
54
|
+
return (h("div", { key: 'a261a38ab844572d693bdb736e8c6c5df8b2b0c6', ref: el => {
|
|
55
55
|
this.triggerEl = el;
|
|
56
56
|
}, role: "button", "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? 'true' : 'false', tabindex: this.disabled ? -1 : 0, class: {
|
|
57
57
|
'sd-select-trigger': true,
|
|
@@ -62,7 +62,7 @@ export class SdSelectTrigger {
|
|
|
62
62
|
e.preventDefault();
|
|
63
63
|
this.handleClick();
|
|
64
64
|
}
|
|
65
|
-
}, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: '
|
|
65
|
+
}, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: 'c8255f624c101fa984d7dc081231f0ce957f8707', class: "sd-select-trigger__content" }, hasValue && isHtmlLabel(this.displayText) ? (h("span", { class: "sd-select-trigger__text", ref: el => el && (el.innerHTML = sanitizeInlineHtml(this.displayText)) })) : (h("span", { class: "sd-select-trigger__text" }, hasValue ? this.displayText : (this.placeholder ?? '선택'))), h("sd-icon", { key: 'bf2145a098a31eba8a5210eb265fb252b84c9e0b', name: "chevronDown", size: 12, color: "var(--trigger-icon-color)", class: {
|
|
66
66
|
'sd-select-trigger__icon': true,
|
|
67
67
|
'sd-select-trigger__icon--open': this.isOpen,
|
|
68
68
|
} }))));
|
|
@@ -283,15 +283,15 @@ export class SdSelect {
|
|
|
283
283
|
this.closeDropdown();
|
|
284
284
|
},
|
|
285
285
|
};
|
|
286
|
-
return (h("sd-field", { key: '
|
|
286
|
+
return (h("sd-field", { key: '426e5777a976da591726108e8a19c27822151c34', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, onMouseEnter: () => {
|
|
287
287
|
this.hovered = true;
|
|
288
288
|
}, onMouseLeave: () => {
|
|
289
289
|
this.hovered = false;
|
|
290
|
-
} }, h("div", { key: '
|
|
290
|
+
} }, h("div", { key: '2e47d100a63bd6445f452701409cf05efabb30e0', class: "sd-select", ref: el => {
|
|
291
291
|
this.triggerRef = el;
|
|
292
|
-
} }, h("sd-select-trigger", { key: '
|
|
292
|
+
} }, h("sd-select-trigger", { key: '65763371f56bae558f927189931b567e5ca73df6', ref: el => {
|
|
293
293
|
this.triggerComponentRef = el;
|
|
294
|
-
}, displayText: this.displayText, placeholder: this.placeholder ?? '선택', disabled: this.disabled, isOpen: this.isOpen, onSdTriggerClick: this.handleTriggerClick, onSdTriggerFocus: this.handleTriggerFocus, onSdTriggerBlur: this.handleTriggerBlur })), (this.isOpen || this.isAnimatingOut) && (h("sd-portal", { key: '
|
|
294
|
+
}, displayText: this.displayText, placeholder: this.placeholder ?? '선택', disabled: this.disabled, isOpen: this.isOpen, onSdTriggerClick: this.handleTriggerClick, onSdTriggerFocus: this.handleTriggerFocus, onSdTriggerBlur: this.handleTriggerBlur })), (this.isOpen || this.isAnimatingOut) && (h("sd-portal", { key: '98518c875649c8e38c15565d9bfccf9c0b0eeb9a', ...portalProps }, h("sd-select-listbox", { key: 'be8e2c814bd30a57ee20b0a0b378f3809ffef26a', type: this.type, options: this.options, value: this.value, emitValue: this.emitValue, useSearch: this.useSearch, useSelectAll: this.useSelectAll, triggerWidth: this.dropdownWidth || this.triggerWidth, maxWidth: this.resolvedMaxDropdownWidth, maxHeight: this.resolvedDropdownHeight, onSdOptionSelect: event => this.handleOptionSelect(event.detail) })))));
|
|
295
295
|
}
|
|
296
296
|
static get is() { return "sd-select"; }
|
|
297
297
|
static get originalStyleUrls() {
|
|
@@ -45,7 +45,7 @@ export class SdSwitch {
|
|
|
45
45
|
'--sd-switch-line-height': `${SWITCH_TYPOGRAPHY.lineHeight}px`,
|
|
46
46
|
'--sd-switch-text-decoration': SWITCH_TYPOGRAPHY.textDecoration,
|
|
47
47
|
};
|
|
48
|
-
return (h("label", { key: '
|
|
48
|
+
return (h("label", { key: 'dded99ece17ee7308da9c7183a725493f705caf2', "aria-label": this.label || 'switch', class: this.switchClasses, style: cssVars }, h("input", { key: '8ca9b17fbbd97cdfe351f06fa5dba7efb22faf39', type: "checkbox", checked: this.value, disabled: this.disabled, onInput: this.handleChange }), h("div", { key: 'dffb2503df8755076218fc24ce974ed5cccb37c3', class: "sd-switch__track" }, h("div", { key: '52b8d7b125bf3a2fdddbcfe4690933432cb0ff29', class: "sd-switch__knob" })), this.label && h("span", { key: 'e4e62e02aa1d7336bf1de5add45ed0b2dbecbcd1', class: "sd-switch__label" }, this.label)));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "sd-switch"; }
|
|
51
51
|
static get originalStyleUrls() {
|
|
@@ -30,8 +30,8 @@ export const TABLE_BODY_LAYOUT = {
|
|
|
30
30
|
height: tableTokens.table.body.dense.height,
|
|
31
31
|
paddingY: tableTokens.table.body.dense.paddingY,
|
|
32
32
|
},
|
|
33
|
-
paddingX: tableTokens.table.body.paddingX,
|
|
34
|
-
framePadding: tableTokens.table.body.frame
|
|
33
|
+
paddingX: tableTokens.table.body.paddingX.default,
|
|
34
|
+
framePadding: tableTokens.table.body.paddingX.frame,
|
|
35
35
|
};
|
|
36
36
|
export const TABLE_BODY_TYPOGRAPHY = {
|
|
37
37
|
fontFamily: tableTokens.table.body.typography.fontFamily,
|
|
@@ -69,7 +69,7 @@ export const TABLE_BAR_COLORS = {
|
|
|
69
69
|
};
|
|
70
70
|
// ── KeyValue Tokens ──
|
|
71
71
|
export const TABLE_KEY_VALUE = {
|
|
72
|
-
bodyPadding: tableTokens.table.keyValue.body.
|
|
72
|
+
bodyPadding: tableTokens.table.keyValue.body.paddingY,
|
|
73
73
|
height: tableTokens.table.keyValue.height,
|
|
74
74
|
};
|
|
75
75
|
// ── Selectable Column ──
|
|
@@ -50,6 +50,22 @@ sd-table *,
|
|
|
50
50
|
overflow: auto;
|
|
51
51
|
background: #FFFFFF;
|
|
52
52
|
}
|
|
53
|
+
.sd-table__scroll-container::-webkit-scrollbar {
|
|
54
|
+
opacity: 0;
|
|
55
|
+
width: 8px;
|
|
56
|
+
background: #E5E5E5;
|
|
57
|
+
}
|
|
58
|
+
.sd-table__scroll-container::-webkit-scrollbar:horizontal {
|
|
59
|
+
height: 8px;
|
|
60
|
+
}
|
|
61
|
+
.sd-table__scroll-container::-webkit-scrollbar-thumb {
|
|
62
|
+
height: 80px;
|
|
63
|
+
background-color: #CCCCCC;
|
|
64
|
+
border-radius: 4px;
|
|
65
|
+
}
|
|
66
|
+
.sd-table__scroll-container::-webkit-scrollbar-track {
|
|
67
|
+
background-color: #E5E5E5;
|
|
68
|
+
}
|
|
53
69
|
.sd-table__scroll-container--loading {
|
|
54
70
|
overflow: hidden !important;
|
|
55
71
|
pointer-events: none;
|
|
@@ -853,25 +853,25 @@ export class SdTable {
|
|
|
853
853
|
'--table-selectable-width': `${TABLE_SELECTABLE_COLUMN_WIDTH}px`,
|
|
854
854
|
'--table-host-height': hostHeight,
|
|
855
855
|
};
|
|
856
|
-
return (h(Host, { key: '
|
|
856
|
+
return (h(Host, { key: 'b90b9865f78c2b42c3c13ad27ed968dd97827eb6', style: hostStyle }, h("div", { key: '2eb291b03b219a3abb4da5967c6d0f43195b458e', class: "sd-table__container", style: {
|
|
857
857
|
'--table-width': this.width,
|
|
858
858
|
'--pagination-height': `${paginationHeight}px`,
|
|
859
|
-
} }, h("div", { key: '
|
|
859
|
+
} }, h("div", { key: '999feaffbf82db9233416a1d66974e8859b9b3a0', class: {
|
|
860
860
|
'sd-table__wrapper': true,
|
|
861
861
|
'sd-table__wrapper--radius-useTop': this.radius === 'useTop',
|
|
862
862
|
'sd-table__wrapper--radius-full': this.radius === 'full',
|
|
863
|
-
} }, h("div", { key: '
|
|
863
|
+
} }, h("div", { key: 'ff0a04325ab9fe1ba5e6b25f52bb8265226fbba4', class: {
|
|
864
864
|
'sd-table__scroll-container': true,
|
|
865
865
|
'sd-table__scroll-container--loading': this.isLoading,
|
|
866
866
|
'sd-table__scroll-container--no-data': isNoData,
|
|
867
|
-
} }, this.isLoading && (h("div", { key: '
|
|
867
|
+
} }, this.isLoading && (h("div", { key: '1a4dbf4a721240b3395230997c18c8ef989bbffc', class: "sd-table__loading", style: { top: `${this.loadingScrollTop}px` } }, h("sd-circle-progress", { key: '793a6772ef4c792e7f50c2ad90d43bdfbdde11a0', indeterminate: true }))), isNoData && (h(h.Fragment, null, h("div", { key: '13b76f695edddfa3d4a13bcb1091f95cafb1ae17', class: "sd-table__no-data-header-overlay" }), h("div", { key: 'f271bfa20d06cba0cc6c5fe6b5af5c874c1e0682', class: "sd-table__no-data" }, h("div", { key: '6791f70e0b4cd1226bdcc16414249ad178b70396', class: "sd-table__no-data-content", ref: el => {
|
|
868
868
|
this.noDataContentEl = el;
|
|
869
869
|
if (el)
|
|
870
870
|
this.syncNoDataContentObserver();
|
|
871
|
-
} }, h("slot", { key: '
|
|
871
|
+
} }, h("slot", { key: '9cba0ff5c5ea3b4c78ccdb961de9cfe3ef2ac1e9', name: "no-data" }, h("span", { key: '1022372f37f1564b0d636c888a17cb5ab5ac2e35' }, this.resolvedNoDataLabel)))))), h("table", { key: 'e3d8c7dec8b3c76896b3063266dd5450bbfa7c13', class: this.tableClasses }, this.autoThead ? (h("slot", { name: `${resolvedTableId}-head`, onSlotchange: this.handleStructureSlotChange }, h("sd-thead", { rows: this.rows ?? [] }))) : (h("slot", { name: `${resolvedTableId}-head`, onSlotchange: this.handleStructureSlotChange })), this.autoTbody ? (h("slot", { name: `${resolvedTableId}-body`, onSlotchange: this.handleStructureSlotChange }, h("sd-tbody", { rows: this.rows ?? [] }, this.renderAutoRows()))) : (h("slot", { name: `${resolvedTableId}-body`, onSlotchange: this.handleStructureSlotChange }))))), this.pagination &&
|
|
872
872
|
this.pagination.rowsPerPage > 0 &&
|
|
873
873
|
this.rowCount > 0 &&
|
|
874
|
-
!this.useVirtualScroll && (h("div", { key: '
|
|
874
|
+
!this.useVirtualScroll && (h("div", { key: '5410b53a9182f97406a0992464bc3435eb8439b1', class: "sd-table__pagination" }, h("sd-pagination", { key: 'aa237fe475797dd626856f5335395bdfa870f6db', currentPage: !this.useInternalPagination ? this.pagination.page : this.currentPage, lastPage: !this.useInternalPagination ? this.pagination.lastPage : this.lastPageNumber, onSdPageChange: (e) => this.changePage(e.detail) }), this.useRowsPerPageSelect && (h("sd-select", { key: 'd2b98c053c6d63f0bbea73d66779dfa5c1828b5a', value: this.useInternalPagination
|
|
875
875
|
? this.innerRowsPerPage
|
|
876
876
|
: this.pagination.rowsPerPage, options: this.rowsPerPageOption, width: "128px", emitValue: true, onSdUpdate: e => {
|
|
877
877
|
if (!this.isRowsPerPageValue(e.detail))
|
|
@@ -46,9 +46,9 @@ export class SdTbody {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: '6d4bea755b962e2f5b9f37129d0b03fd7f997e93', slot: `${this.tableId}-body` }, h("tbody", { key: '11543f7ea385458bcb57ae4e62bfd258bacb9e01', class: { tbody: true } }, [
|
|
50
50
|
this.topSpacerHeight > 0 && (h("tr", { key: "spacer-top", class: "tbody__spacer", style: { height: `${this.topSpacerHeight}px`, display: 'block' } })),
|
|
51
|
-
h("slot", { key: '
|
|
51
|
+
h("slot", { key: '515aa270f49dfd20f78de1d11c3c5b914cfda792' }),
|
|
52
52
|
this.bottomSpacerHeight > 0 && (h("tr", { key: "spacer-bottom", class: "tbody__spacer", style: { height: `${this.bottomSpacerHeight}px`, display: 'block' } })),
|
|
53
53
|
])));
|
|
54
54
|
}
|
|
@@ -159,7 +159,7 @@ export class SdTd {
|
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
render() {
|
|
162
|
-
return (h(Host, { key: '
|
|
162
|
+
return (h(Host, { key: '2fce45ffda30fd75a0c0ef2ff0de5896c409c108', class: { [`align-${this.align}`]: Boolean(this.align) } }, h("slot", { key: '3e2131547d544d01c745017f3375a26df35a9d6e' })));
|
|
163
163
|
}
|
|
164
164
|
static get is() { return "sd-td"; }
|
|
165
165
|
static get originalStyleUrls() {
|
|
@@ -241,16 +241,16 @@ export class SdThead {
|
|
|
241
241
|
'--table-border-color': TABLE_BORDER.color,
|
|
242
242
|
'--table-border-width': `${TABLE_BORDER.width}px`,
|
|
243
243
|
};
|
|
244
|
-
return (h(Host, { key: '
|
|
244
|
+
return (h(Host, { key: 'ec85c86aa6d93e5a2405262809bf790fbb12ee79', slot: `${this.tableId}-head`, style: headStyle }, h("thead", { key: '8afbdf4d81ebb649e262baa6da8ce3a1eca31e15', class: {
|
|
245
245
|
'thead': true,
|
|
246
246
|
'thead--sticky': this._stickyHeader,
|
|
247
|
-
} }, h("tr", { key: '
|
|
247
|
+
} }, h("tr", { key: '9643f19e95aa00f5bb5d6462ecb0da4ca95c3dcc', class: "tr" }, this._selectable && (h("th", { key: '6d87ceb557e61454eaf0acf492234788bfd99235', class: {
|
|
248
248
|
'th': true,
|
|
249
249
|
'th--selected': true,
|
|
250
250
|
'sticky-left': true,
|
|
251
251
|
'sticky-left-edge': stickyLeftCount === 0,
|
|
252
252
|
'is-scrolled-left': stickyLeftCount === 0 && this._scrolledLeft,
|
|
253
|
-
}, style: { '--sticky-left-offset': '0px' } }, h("sd-checkbox", { key: '
|
|
253
|
+
}, style: { '--sticky-left-offset': '0px' } }, h("sd-checkbox", { key: 'c2dc4e112510bb9ab13109fd966cd0485588835a', value: this.getIsAllChecked(), disabled: safeRows.length === 0, onSdUpdate: (e) => this.handleSelectAll(e.detail) }), h("div", { key: '478a665c0d06efc829e4f2818be4be1b43e44708', class: "th__bar" }))), stickyLeftCols.map((col, idx) => (h("th", { key: col.name, class: {
|
|
254
254
|
'th': true,
|
|
255
255
|
[`${col.thClass}`]: Boolean(col.thClass),
|
|
256
256
|
'sticky-left': true,
|
|
@@ -78,7 +78,7 @@ export class SdTabs {
|
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
80
|
render() {
|
|
81
|
-
return (h("div", { key: '
|
|
81
|
+
return (h("div", { key: 'd5df329922f73444775ec827ce8cf3850c369131', class: this.getContainerClasses(), style: this.buildCssVars() }, this.tabs.map((tab, index) => {
|
|
82
82
|
const badgeName = this.getBadgeName(tab);
|
|
83
83
|
return (h("div", { key: `tab-${index}`, role: "tab", tabindex: 0, "aria-selected": tab.value === this.value ? 'true' : 'false', class: this.getTabClasses(tab), "aria-label": tab.label || 'tab', onClick: () => this.handleTabClick(tab), onKeyDown: e => {
|
|
84
84
|
if (e.key === 'Enter' || e.key === ' ') {
|
|
@@ -139,7 +139,7 @@ export class SdTextarea {
|
|
|
139
139
|
'--sd-system-size-field-sm-height': 'auto',
|
|
140
140
|
'--sd-system-radius-field-sm': `${TEXTAREA_TOKENS.radius}px`,
|
|
141
141
|
};
|
|
142
|
-
return (h("sd-field", { key: '
|
|
142
|
+
return (h("sd-field", { key: '7adbc4a04c59f162182c87dfcccca82ec0dd4484', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, readonly: this.readonly, focused: this.focused, hovered: this.hovered, status: this.status, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, h("div", { key: 'd4d6c7b39595b40ab6f584aab2b46f4aca184477', class: "sd-textarea__content" }, h("textarea", { key: 'ea2b0526aecd0dd095a9fef6dd0225d6bddc4926', name: this.name, ref: el => (this.nativeEl = el), class: `sd-textarea__native ${this.textareaClass}`, value: this.internalValue || '', placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readOnly: this.readonly, autofocus: this.autoFocus, maxLength: this.maxLength, rows: this.rows, spellcheck: this.spellcheck, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.textareaStyle }))));
|
|
143
143
|
}
|
|
144
144
|
static get is() { return "sd-textarea"; }
|
|
145
145
|
static get originalStyleUrls() {
|