@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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DsYLSqCp.js');
|
|
4
4
|
var sanitizeInlineHtml = require('./sanitize-inline-html-CRCAeQ46.js');
|
|
5
|
-
var sdButton_config = require('./sd-button.config-
|
|
5
|
+
var sdButton_config = require('./sd-button.config-BH7gFPmM.js');
|
|
6
6
|
var system = require('./system-MjrAugX-.js');
|
|
7
7
|
|
|
8
8
|
class DropdownManager {
|
|
@@ -146,8 +146,8 @@ const DROPDOWN_CHEVRON_ICON_SIZE = {
|
|
|
146
146
|
// 버튼 자체의 min-width (px). split 여부에 따라 chevron 버튼이 추가되므로 별도 값을 지정.
|
|
147
147
|
// TODO: 디자인 토큰으로 관리될 때 대체 예정
|
|
148
148
|
const DROPDOWN_BUTTON_MIN_WIDTH = {
|
|
149
|
-
xs: { default:
|
|
150
|
-
sm: { default:
|
|
149
|
+
xs: { default: 64, split: 72 },
|
|
150
|
+
sm: { default: 72, split: 88 },
|
|
151
151
|
md: { default: 100, split: 106 },
|
|
152
152
|
};
|
|
153
153
|
const DROPDOWN_DISABLED_BACKGROUND = sdButton_config.buttonTokens.button.bg.disabled;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var component_field = require('./component.field-
|
|
5
|
-
var tooltipArrow = require('./tooltipArrow-
|
|
3
|
+
var index = require('./index-DsYLSqCp.js');
|
|
4
|
+
var component_field = require('./component.field-C7it8cZm.js');
|
|
5
|
+
var tooltipArrow = require('./tooltipArrow-FLiD3ceS.js');
|
|
6
6
|
|
|
7
7
|
const FIELD_ADDON_ALIGN_MAP = {
|
|
8
8
|
start: 'flex-start',
|
|
@@ -30,7 +30,7 @@ const FIELD_LABEL_SIZE_MAP = {
|
|
|
30
30
|
},
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
-
const sdFieldCss = () => `sd-field{display:inline-flex;flex-flow:column nowrap;height:fit-content;width:100%}sd-field .sd-field *:focus,sd-field .sd-field *:focus-visible,sd-field .sd-field *:focus-within{outline:none !important}sd-field .sd-field.sd-field--disabled{cursor:not-allowed}sd-field .sd-field.sd-field--disabled .sd-field__wrapper{cursor:not-allowed !important}sd-field .sd-field.sd-field--disabled .sd-field__wrapper .sd-field__label-inside{border-color:#CCCCCC;color:#888888;cursor:not-allowed !important}sd-field .sd-field.sd-field--disabled .sd-field__wrapper .sd-field__control{background-color:#E1E1E1;border-color:#CCCCCC;color:#888888;cursor:not-allowed !important}sd-field .sd-field.sd-field--readonly .sd-field__wrapper .sd-field__control{background-color:var(--sd-system-color-field-bg-read-only);color:var(--sd-system-color-field-text-read-only)}sd-field .sd-field--has-label .sd-field__wrapper .sd-field__label{display:flex;align-items:center;flex-shrink:0;width:var(--sd-field-label-width, auto);height:var(--sd-field-label-height);margin-right:var(--sd-field-label-margin-right)}sd-field .sd-field--has-label .sd-field__wrapper .sd-field__label__icon{margin-right:var(--sd-field-label-gap);flex-shrink:0}sd-field .sd-field--has-label .sd-field__wrapper .sd-field__label__text{font-size:var(--sd-field-label-font-size);line-height:var(--sd-field-label-line-height);font-weight:var(--sd-field-label-font-weight);color:var(--sd-system-color-field-text-default);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}sd-field .sd-field--has-label .sd-field__wrapper .sd-field__label__tooltip{margin-left:var(--sd-field-label-gap);flex-shrink:0}sd-field .sd-field--has-addon .sd-field__control .sd-field__addon{display:flex;gap:var(--sd-field-addon-gap);align-items:center;justify-content:var(--sd-field-addon-justify, flex-start);white-space:nowrap;box-sizing:border-box;flex-shrink:0;width:var(--sd-field-addon-width, auto);padding:0 var(--sd-field-addon-padding-x);font-size:var(--sd-field-addon-font-size);line-height:var(--sd-field-addon-line-height);font-weight:var(--sd-field-addon-font-weight);background:var(--sd-field-addon-bg);border-right:var(--sd-field-addon-border-width) solid var(--sd-field-addon-border-color);border-radius:calc(var(--sd-field-control-radius) - 1px) 0 0 calc(var(--sd-field-control-radius) - 1px)}sd-field .sd-field__wrapper{width:100%;display:flex;align-items:flex-start;flex-flow:row nowrap;position:relative;color:var(--sd-system-color-field-text-default);-webkit-user-select:none;user-select:none}sd-field .sd-field__wrapper .sd-field__main{flex:1;min-width:0;display:flex;flex-direction:column}sd-field .sd-field__wrapper .sd-field__control{position:relative;height:var(--sd-field-wrapper-height);display:flex;min-width:0;border:1px solid var(--sd-system-color-field-border-default);border-radius:var(--sd-field-control-radius);background:var(--sd-system-color-field-bg-default)}sd-field .sd-field--error .sd-field__wrapper .sd-field__control:not(:hover){border:1px solid var(--sd-system-color-field-border-danger) !important}sd-field .sd-field.sd-field--pass .sd-field__wrapper .sd-field__control{border:1px solid var(--sd-system-color-field-border-success) !important}sd-field .sd-field:not(.sd-field--disabled):not(.sd-field--readonly) .sd-field__wrapper .sd-field__control:hover{border:1px solid var(--sd-system-color-field-border-focus) !important;box-shadow:0px 0px 4px 0px rgba(0, 113, 255, 0.4)}sd-field .sd-field.sd-field--focus:not(.sd-field--readonly) .sd-field__wrapper .sd-field__control{border:1px solid var(--sd-system-color-field-border-focus) !important;box-shadow:0px 0px 4px 0px rgba(0, 113, 255, 0.4)}sd-field .sd-field .sd-field__error-message{color:var(--sd-field-error-message-color);font-size:var(--sd-field-error-message-font-size);line-height:var(--sd-field-error-message-line-height);margin-top:var(--sd-field-message-gap)}sd-field .sd-field .sd-field__hint{color:var(--sd-field-hint-color);font-size:var(--sd-field-hint-font-size);line-height:var(--sd-field-hint-line-height);margin-top:var(--sd-field-message-gap)}`;
|
|
33
|
+
const sdFieldCss = () => `sd-field{display:inline-flex;flex-flow:column nowrap;height:fit-content;width:100%}sd-field .sd-field *:focus,sd-field .sd-field *:focus-visible,sd-field .sd-field *:focus-within{outline:none !important}sd-field .sd-field.sd-field--disabled{cursor:not-allowed}sd-field .sd-field.sd-field--disabled .sd-field__wrapper{cursor:not-allowed !important}sd-field .sd-field.sd-field--disabled .sd-field__wrapper .sd-field__label-inside{border-color:#CCCCCC;color:#888888;cursor:not-allowed !important}sd-field .sd-field.sd-field--disabled .sd-field__wrapper .sd-field__control{background-color:#E1E1E1;border-color:#CCCCCC;color:#888888;cursor:not-allowed !important}sd-field .sd-field.sd-field--readonly .sd-field__wrapper .sd-field__control{background-color:var(--sd-system-color-field-bg-read-only);color:var(--sd-system-color-field-text-read-only)}sd-field .sd-field--has-label .sd-field__wrapper .sd-field__label{display:flex;align-items:center;flex-shrink:0;width:var(--sd-field-label-width, auto);height:var(--sd-field-label-height);margin-right:var(--sd-field-label-margin-right)}sd-field .sd-field--has-label .sd-field__wrapper .sd-field__label__icon{margin-right:var(--sd-field-label-gap);flex-shrink:0}sd-field .sd-field--has-label .sd-field__wrapper .sd-field__label__text{font-size:var(--sd-field-label-font-size);line-height:var(--sd-field-label-line-height);font-weight:var(--sd-field-label-font-weight);color:var(--sd-system-color-field-text-default);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}sd-field .sd-field--has-label .sd-field__wrapper .sd-field__label__tooltip{margin-left:var(--sd-field-label-gap);flex-shrink:0}sd-field .sd-field--has-addon .sd-field__control .sd-field__addon{display:flex;gap:var(--sd-field-addon-gap);align-items:center;justify-content:var(--sd-field-addon-justify, flex-start);white-space:nowrap;box-sizing:border-box;flex-shrink:0;width:var(--sd-field-addon-width, auto);padding:0 var(--sd-field-addon-padding-x);font-size:var(--sd-field-addon-font-size);line-height:var(--sd-field-addon-line-height);font-weight:var(--sd-field-addon-font-weight);background:var(--sd-field-addon-bg);border-right:var(--sd-field-addon-border-width) solid var(--sd-field-addon-border-color);border-radius:calc(var(--sd-field-control-radius) - 1px) 0 0 calc(var(--sd-field-control-radius) - 1px)}sd-field .sd-field__wrapper{width:100%;display:flex;align-items:flex-start;flex-flow:row nowrap;position:relative;color:var(--sd-system-color-field-text-default);-webkit-user-select:none;user-select:none}sd-field .sd-field__wrapper .sd-field__main{flex:1;min-width:0;display:flex;flex-direction:column}sd-field .sd-field__wrapper .sd-field__control{position:relative;height:var(--sd-field-wrapper-height);display:flex;min-width:0;border:1px solid var(--sd-system-color-field-border-default);border-radius:var(--sd-field-control-radius);background:var(--sd-system-color-field-bg-default)}sd-field .sd-field--error .sd-field__wrapper .sd-field__control:not(:hover){border:1px solid var(--sd-system-color-field-border-danger) !important}sd-field .sd-field.sd-field--pass .sd-field__wrapper .sd-field__control{border:1px solid var(--sd-system-color-field-border-success) !important}sd-field .sd-field:not(.sd-field--disabled):not(.sd-field--readonly) .sd-field__wrapper .sd-field__control:hover{border:1px solid var(--sd-system-color-field-border-focus) !important;box-shadow:0px 0px 4px 0px rgba(0, 113, 255, 0.4)}sd-field .sd-field.sd-field--focus:not(.sd-field--readonly) .sd-field__wrapper .sd-field__control{border:1px solid var(--sd-system-color-field-border-focus) !important;box-shadow:0px 0px 4px 0px rgba(0, 113, 255, 0.4)}sd-field .sd-field.sd-field--borderless .sd-field__wrapper .sd-field__control,sd-field .sd-field.sd-field--borderless.sd-field--error .sd-field__wrapper .sd-field__control:not(:hover),sd-field .sd-field.sd-field--borderless.sd-field--pass .sd-field__wrapper .sd-field__control,sd-field .sd-field.sd-field--borderless:not(.sd-field--disabled):not(.sd-field--readonly) .sd-field__wrapper .sd-field__control:hover,sd-field .sd-field.sd-field--borderless.sd-field--focus:not(.sd-field--readonly) .sd-field__wrapper .sd-field__control{border-color:transparent !important;background:transparent !important;box-shadow:none !important}sd-field .sd-field .sd-field__error-message{color:var(--sd-field-error-message-color);font-size:var(--sd-field-error-message-font-size);line-height:var(--sd-field-error-message-line-height);margin-top:var(--sd-field-message-gap)}sd-field .sd-field .sd-field__hint{color:var(--sd-field-hint-color);font-size:var(--sd-field-hint-font-size);line-height:var(--sd-field-hint-line-height);margin-top:var(--sd-field-message-gap)}`;
|
|
34
34
|
|
|
35
35
|
const FORM_PARENT_TAGS = [
|
|
36
36
|
'sd-input',
|
|
@@ -72,6 +72,11 @@ const SdField = class {
|
|
|
72
72
|
width = '';
|
|
73
73
|
/** 필드 크기 */
|
|
74
74
|
size = 'sm';
|
|
75
|
+
/**
|
|
76
|
+
* 테두리 박스 제거 (inline 컨트롤용) — border/배경/hover·focus 강조만 사라지고
|
|
77
|
+
* label·hint·errorMessage 등 나머지 필드 구성은 그대로 동작한다.
|
|
78
|
+
*/
|
|
79
|
+
borderless = false;
|
|
75
80
|
// props - label
|
|
76
81
|
/** 레이블 텍스트 */
|
|
77
82
|
label = '';
|
|
@@ -239,18 +244,19 @@ const SdField = class {
|
|
|
239
244
|
: {}),
|
|
240
245
|
}
|
|
241
246
|
: {};
|
|
242
|
-
return (index.h("div", { key: '
|
|
247
|
+
return (index.h("div", { key: 'bce0bc8ccc19e41c2a61980bd12f07d7f8838569', class: {
|
|
243
248
|
'sd-field': true,
|
|
244
249
|
'sd-field--has-label': this.label !== '',
|
|
245
250
|
'sd-field--has-addon': addon !== '',
|
|
251
|
+
'sd-field--borderless': this.borderless,
|
|
246
252
|
[this.fieldStatus]: this.fieldStatus !== '',
|
|
247
|
-
}, style: { ...sizeCssVars, ...labelCssVars, ...addonCssVars, ...messageCssVars } }, index.h("div", { key: '
|
|
253
|
+
}, style: { ...sizeCssVars, ...labelCssVars, ...addonCssVars, ...messageCssVars } }, index.h("div", { key: 'c6c4e3ec6e018ebd0dc6fbbae5fbaef4ea6503e5', class: "sd-field__wrapper" }, this.renderLabel(this.label), index.h("div", { key: 'bd778a24325412924e0a331db592535e4b4e542b', class: "sd-field__main" }, index.h("div", { key: '485cfbdbfa7299cb27d84e61306d6e2cf196d071', class: {
|
|
248
254
|
'sd-field__control': true,
|
|
249
255
|
'sd-field__control--has-addon': addon !== '',
|
|
250
256
|
}, style: this.width !== '' && this.width !== 0
|
|
251
257
|
? { width: typeof this.width === 'number' ? `${this.width}px` : this.width }
|
|
252
|
-
: {} }, addon && (index.h("div", { key: '
|
|
253
|
-
Number(FIELD_LABEL_SIZE_MAP[(this.size in FIELD_LABEL_SIZE_MAP ? this.size : 'sm')].icon), color: this.icon.color, rotate: this.icon.rotate })), addon)), index.h("slot", { key: '
|
|
258
|
+
: {} }, addon && (index.h("div", { key: '510238ac22b7e923724cc20abf2541adbddcb594', class: "sd-field__addon" }, this.icon && (index.h("sd-icon", { key: '2cca5b62cbe56050acd536764c33cbc3009f740b', name: this.icon.name, size: this.icon.size ??
|
|
259
|
+
Number(FIELD_LABEL_SIZE_MAP[(this.size in FIELD_LABEL_SIZE_MAP ? this.size : 'sm')].icon), color: this.icon.color, rotate: this.icon.rotate })), addon)), index.h("slot", { key: '470c0d559409a11f1c5650e88a50555a4656d3f9' })), this.errorMsg !== '' || this.errorMessage !== '' ? (index.h("div", { class: "sd-field__error-message" }, this.errorMsg !== '' ? this.errorMsg : this.errorMessage)) : (this.hint !== '' && index.h("div", { class: "sd-field__hint" }, this.hint))))));
|
|
254
260
|
}
|
|
255
261
|
renderLabel(label) {
|
|
256
262
|
if (label == null || label === '')
|
|
@@ -261,7 +267,7 @@ const SdField = class {
|
|
|
261
267
|
};
|
|
262
268
|
SdField.style = sdFieldCss();
|
|
263
269
|
|
|
264
|
-
const sdFloatingPortalCss = () => `.sd-floating-menu{width:fit-content;padding:12px 16px;border-radius:6px;font-size:12px;font-weight:500;line-height:20px;position:relative;box-sizing:border-box;background:var(--sd-floating-bg, #07284A);color:var(--sd-floating-content, #FFFFFF);animation:sd-floating-fade-in 0.35s ease-out}.sd-floating-menu--top{animation-name:sd-floating-slide-top}.sd-floating-menu--bottom{animation-name:sd-floating-slide-bottom}.sd-floating-menu--left{animation-name:sd-floating-slide-left}.sd-floating-menu--right{animation-name:sd-floating-slide-right}.sd-floating-menu .sd-floating-menu__arrow{color:var(--sd-floating-bg, #07284A)}.sd-floating-menu--default{background:var(--sd-floating-bg, #07284A);color:var(--sd-floating-content, #FFFFFF);font-weight:500}.sd-floating-menu--default .sd-floating-menu__arrow{color:var(--sd-floating-bg, #07284A)}.sd-floating-menu--danger{background:var(--sd-floating-bg, #FCE6E6);color:var(--sd-floating-content, #FB4444);font-weight:700}.sd-floating-menu--danger .sd-floating-menu__arrow{color:var(--sd-floating-bg, #FCE6E6)}.sd-floating-menu--warning{background:var(--sd-floating-bg, #FEF1EA);color:var(--sd-floating-content, #FF6B00);font-weight:700}.sd-floating-menu--warning .sd-floating-menu__arrow{color:var(--sd-floating-bg, #FEF1EA)}.sd-floating-menu--accent{background:var(--sd-floating-bg, #E6F1FF);color:var(--sd-floating-content, #0075FF);font-weight:700}.sd-floating-menu--accent .sd-floating-menu__arrow{color:var(--sd-floating-bg, #E6F1FF)}.sd-floating-menu__arrow{position:absolute;display:flex;width:16px;height:12px}.sd-floating-menu__arrow svg{width:100%;height:100%}.sd-floating-menu__arrow--top{bottom:-12px;left:50%;transform:translateX(-50%)}.sd-floating-menu__arrow--bottom{top:-12px;left:50%;transform:translateX(-50%) rotate(180deg)}.sd-floating-menu__arrow--left{right:-12px;top:50%;transform:translateY(-50%) rotate(-90deg)}.sd-floating-menu__arrow--right{left:-12px;top:50%;transform:translateY(-50%) rotate(90deg)}.sd-floating-menu__content{font-size:12px;line-height:20px}.sd-floating-menu__content .sd-floating-menu__title{font-size:14px;font-weight:700;line-height:24px;margin-bottom:4px}.sd-floating-menu__content .sd-floating-menu__messages{font-weight:500}.sd-floating-menu__content .sd-floating-menu__buttons{margin-top:12px;display:flex;gap:8px;align-items:center;justify-content:flex-end}.sd-floating-menu__content .sd-floating-menu__buttons--with-link{justify-content:space-between}.sd-floating-menu--popover{padding:16px 20px}.sd-floating-menu--popover .sd-floating-menu__content{gap:4px}.sd-floating-menu--popover .sd-floating-menu__title{font-size:14px;font-weight:700;line-height:24px}.sd-floating-menu--popover .sd-floating-menu__messages{font-size:12px;font-weight:500;line-height:20px}.sd-floating-menu--closing{animation:sd-floating-fade-out 0.15s ease-in forwards}.sd-floating-menu--closing.sd-floating-menu--top{animation-name:sd-floating-slide-out-top}.sd-floating-menu--closing.sd-floating-menu--bottom{animation-name:sd-floating-slide-out-bottom}.sd-floating-menu--closing.sd-floating-menu--left{animation-name:sd-floating-slide-out-left}.sd-floating-menu--closing.sd-floating-menu--right{animation-name:sd-floating-slide-out-right}.sd-floating-menu--has-close .sd-floating-menu__content{padding-right:28px}.sd-floating-menu__close-button{position:absolute;top:12px;right:12px}@keyframes sd-floating-fade-out{from{opacity:1}to{opacity:0}}@keyframes sd-floating-slide-out-top{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(4px)}}@keyframes sd-floating-slide-out-bottom{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-4px)}}@keyframes sd-floating-slide-out-left{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(4px)}}@keyframes sd-floating-slide-out-right{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(-4px)}}@keyframes sd-floating-fade-in{from{opacity:0}to{opacity:1}}@keyframes sd-floating-slide-top{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes sd-floating-slide-bottom{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@keyframes sd-floating-slide-left{from{opacity:0;transform:translateX(4px)}to{opacity:1;transform:translateX(0)}}@keyframes sd-floating-slide-right{from{opacity:0;transform:translateX(-4px)}to{opacity:1;transform:translateX(0)}}`;
|
|
270
|
+
const sdFloatingPortalCss = () => `.sd-floating-menu{width:fit-content;padding:12px 16px;border-radius:6px;font-size:12px;font-weight:500;line-height:20px;position:relative;box-sizing:border-box;background:var(--sd-floating-bg, #07284A);color:var(--sd-floating-content, #FFFFFF);box-shadow:2px 2px 12px 2px rgba(0, 0, 0, 0.1);animation:sd-floating-fade-in 0.35s ease-out}.sd-floating-menu--top{animation-name:sd-floating-slide-top}.sd-floating-menu--bottom{animation-name:sd-floating-slide-bottom}.sd-floating-menu--left{animation-name:sd-floating-slide-left}.sd-floating-menu--right{animation-name:sd-floating-slide-right}.sd-floating-menu .sd-floating-menu__arrow{color:var(--sd-floating-bg, #07284A)}.sd-floating-menu--default{background:var(--sd-floating-bg, #07284A);color:var(--sd-floating-content, #FFFFFF);font-weight:500}.sd-floating-menu--default .sd-floating-menu__arrow{color:var(--sd-floating-bg, #07284A)}.sd-floating-menu--danger{background:var(--sd-floating-bg, #FCE6E6);color:var(--sd-floating-content, #FB4444);font-weight:700}.sd-floating-menu--danger .sd-floating-menu__arrow{color:var(--sd-floating-bg, #FCE6E6)}.sd-floating-menu--warning{background:var(--sd-floating-bg, #FEF1EA);color:var(--sd-floating-content, #FF6B00);font-weight:700}.sd-floating-menu--warning .sd-floating-menu__arrow{color:var(--sd-floating-bg, #FEF1EA)}.sd-floating-menu--accent{background:var(--sd-floating-bg, #E6F1FF);color:var(--sd-floating-content, #0075FF);font-weight:700}.sd-floating-menu--accent .sd-floating-menu__arrow{color:var(--sd-floating-bg, #E6F1FF)}.sd-floating-menu__arrow{position:absolute;display:flex;width:16px;height:12px}.sd-floating-menu__arrow svg{width:100%;height:100%}.sd-floating-menu__arrow--top{bottom:-12px;left:50%;transform:translateX(-50%)}.sd-floating-menu__arrow--bottom{top:-12px;left:50%;transform:translateX(-50%) rotate(180deg)}.sd-floating-menu__arrow--left{right:-12px;top:50%;transform:translateY(-50%) rotate(-90deg)}.sd-floating-menu__arrow--right{left:-12px;top:50%;transform:translateY(-50%) rotate(90deg)}.sd-floating-menu__content{font-size:12px;line-height:20px}.sd-floating-menu__content .sd-floating-menu__title{font-size:14px;font-weight:700;line-height:24px;margin-bottom:4px}.sd-floating-menu__content .sd-floating-menu__messages{font-weight:500}.sd-floating-menu__content .sd-floating-menu__buttons{margin-top:12px;display:flex;gap:8px;align-items:center;justify-content:flex-end}.sd-floating-menu__content .sd-floating-menu__buttons--with-link{justify-content:space-between}.sd-floating-menu--popover{padding:16px 20px}.sd-floating-menu--popover .sd-floating-menu__content{gap:4px}.sd-floating-menu--popover .sd-floating-menu__title{font-size:14px;font-weight:700;line-height:24px}.sd-floating-menu--popover .sd-floating-menu__messages{font-size:12px;font-weight:500;line-height:20px}.sd-floating-menu--closing{animation:sd-floating-fade-out 0.15s ease-in forwards}.sd-floating-menu--closing.sd-floating-menu--top{animation-name:sd-floating-slide-out-top}.sd-floating-menu--closing.sd-floating-menu--bottom{animation-name:sd-floating-slide-out-bottom}.sd-floating-menu--closing.sd-floating-menu--left{animation-name:sd-floating-slide-out-left}.sd-floating-menu--closing.sd-floating-menu--right{animation-name:sd-floating-slide-out-right}.sd-floating-menu--has-close .sd-floating-menu__content{padding-right:28px}.sd-floating-menu__close-button{position:absolute;top:12px;right:12px}@keyframes sd-floating-fade-out{from{opacity:1}to{opacity:0}}@keyframes sd-floating-slide-out-top{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(4px)}}@keyframes sd-floating-slide-out-bottom{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-4px)}}@keyframes sd-floating-slide-out-left{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(4px)}}@keyframes sd-floating-slide-out-right{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(-4px)}}@keyframes sd-floating-fade-in{from{opacity:0}to{opacity:1}}@keyframes sd-floating-slide-top{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes sd-floating-slide-bottom{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@keyframes sd-floating-slide-left{from{opacity:0;transform:translateX(4px)}to{opacity:1;transform:translateX(0)}}@keyframes sd-floating-slide-right{from{opacity:0;transform:translateX(-4px)}to{opacity:1;transform:translateX(0)}}`;
|
|
265
271
|
|
|
266
272
|
const SdFloatingPopover = class {
|
|
267
273
|
constructor(hostRef) {
|
|
@@ -441,7 +447,7 @@ const SdFloatingPopover = class {
|
|
|
441
447
|
}
|
|
442
448
|
}
|
|
443
449
|
render() {
|
|
444
|
-
return index.h("slot", { key: '
|
|
450
|
+
return index.h("slot", { key: '487d3c23320bd5f44492e3fb84e3cb357605de39' });
|
|
445
451
|
}
|
|
446
452
|
};
|
|
447
453
|
SdFloatingPopover.style = sdFloatingPortalCss();
|
|
@@ -617,7 +623,7 @@ const SdTooltip = class {
|
|
|
617
623
|
const bodyHTML = this.message && this.message.length > 0
|
|
618
624
|
? this.message.map(line => `<div>${line}</div>`).join('')
|
|
619
625
|
: this.slotContentHTML;
|
|
620
|
-
return (index.h(index.Fragment, { key: '
|
|
626
|
+
return (index.h(index.Fragment, { key: '682acd0035e35645b1ddcb5b9bfa796f135d26ce' }, index.h("div", { key: '63550c550389759026812d624bfb8fc152a61dfa', ref: el => (this.triggerEl = el), class: triggerClasses, ...divTrigger }, anchorMode ? (index.h("slot", { name: "anchor" })) : hasLabel ? (index.h("sd-button", { ref: el => (this.buttonEl = el), name: this.name ?? 'primary_sm', label: this.label, icon: icon, rightIcon: this.rightIcon, ariaLabel: this.ariaLabel, disabled: this.disabled, type: this.type ?? 'button', class: "sd-tooltip", ...buttonClickTrigger })) : (index.h("sd-icon", { ref: el => (this.buttonEl = el), name: icon, size: this.iconSize ?? 12, color: color, class: "sd-tooltip" }))), this.showTooltip && (index.h("sd-floating-portal", { key: '84c71d8f766d79831e262810918085de1cb76a69', parentRef: anchorMode ? this.triggerEl : this.buttonEl, onSdClose: this.handleClose, placement: placement, offset: this.tooltipOffset }, index.h("div", { key: '622676ac69e0563623a7dfa6ebb9f8d0b8d7761d', ref: el => (this.menuEl = el), class: {
|
|
621
627
|
'sd-floating-menu': true,
|
|
622
628
|
[`sd-floating-menu--${tooltipType}`]: true,
|
|
623
629
|
[`sd-floating-menu--${placement}`]: true,
|
|
@@ -625,7 +631,7 @@ const SdTooltip = class {
|
|
|
625
631
|
}, style: {
|
|
626
632
|
'--sd-floating-bg': typeConfig.bg,
|
|
627
633
|
'--sd-floating-content': typeConfig.content,
|
|
628
|
-
}, onMouseEnter: () => this.openTooltip(), onMouseLeave: () => !this.useClose && this.startHideTimer() }, index.h("i", { key: '
|
|
634
|
+
}, onMouseEnter: () => this.openTooltip(), onMouseLeave: () => !this.useClose && this.startHideTimer() }, index.h("i", { key: 'e81b686f152e408e7affc9181e2a19cb0aece8cd', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${placement}` }, index.h(tooltipArrow.TooltipArrow, { key: 'a91ee4a5c1b2564b63d061c32f5013be6f28b0d0' })), index.h("div", { key: '77671787b0ee0beb851c7a35a04f8df826b268a8', class: "sd-floating-menu__content", innerHTML: bodyHTML }), this.useClose && (index.h("sd-ghost-button", { key: '74e41984b8589dba31feb6f269c4ce7ed8fe3c6f', class: "sd-floating-menu__close-button", icon: "close", ariaLabel: "close", size: "xxs", onClick: () => this.closeTooltip() })))))));
|
|
629
635
|
}
|
|
630
636
|
};
|
|
631
637
|
SdTooltip.style = sdTooltipCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DsYLSqCp.js');
|
|
4
4
|
|
|
5
5
|
const ghostButton = {
|
|
6
6
|
xxs: {
|
|
@@ -57,8 +57,7 @@ const ghostButton = {
|
|
|
57
57
|
hover: {
|
|
58
58
|
bg: "#FFFFFF"
|
|
59
59
|
}
|
|
60
|
-
}
|
|
61
|
-
};
|
|
60
|
+
}};
|
|
62
61
|
var ghostButtonTokens = {
|
|
63
62
|
ghostButton: ghostButton
|
|
64
63
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DsYLSqCp.js');
|
|
4
4
|
var system = require('./system-MjrAugX-.js');
|
|
5
|
-
var component_table = require('./component.table-
|
|
5
|
+
var component_table = require('./component.table-BrI3b--h.js');
|
|
6
6
|
|
|
7
7
|
const t = component_table.tableTokens.table;
|
|
8
8
|
const KEY_VALUE_TABLE_LAYOUT = {
|
|
@@ -10,7 +10,7 @@ const KEY_VALUE_TABLE_LAYOUT = {
|
|
|
10
10
|
thWidth: 120,
|
|
11
11
|
borderRadius: Number(t.radius),
|
|
12
12
|
thPaddingX: Number(t.header.paddingX),
|
|
13
|
-
padding: Number(t.keyValue.body.
|
|
13
|
+
padding: Number(t.keyValue.body.paddingY),
|
|
14
14
|
helpIconSize: 16,
|
|
15
15
|
requiredIconSize: 12,
|
|
16
16
|
gap: Number(t.header.gap),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var component_progress = require('./component.progress-
|
|
3
|
+
var index = require('./index-DsYLSqCp.js');
|
|
4
|
+
var component_progress = require('./component.progress-DimGJZAd.js');
|
|
5
5
|
var system = require('./system-MjrAugX-.js');
|
|
6
6
|
|
|
7
7
|
const LINEAR_PROGRESS_COLORS = {
|
|
@@ -52,7 +52,7 @@ const SdLinearProgress = class {
|
|
|
52
52
|
clipPath: `inset(0 ${100 - this.clampedValue}% 0 0)`,
|
|
53
53
|
};
|
|
54
54
|
const valueText = `${Math.round(this.clampedValue)}%`;
|
|
55
|
-
return (index.h(index.Host, { key: '
|
|
55
|
+
return (index.h(index.Host, { key: '8d19b1c846b14994eceb6381802b19fa92a241cb', style: hostStyle }, index.h("div", { key: '23d3e839b1e64a81ae86e994bf77a0e9bf53e870', class: "sd-linear-progress__track" }, index.h("div", { key: '92ea4d28c312e639ec038002beeea60ab39e42bb', class: "sd-linear-progress__fill", style: fillStyle }), !this.indeterminate && (index.h("span", { key: 'd65a8726f14302260d0fad1b3a16ba7e8588530f', class: "sd-linear-progress__value sd-linear-progress__value--on-track" }, valueText)), !this.indeterminate && (index.h("span", { key: '522efd6e3b6f6bbfcb8044113d2e2ae37da84dd6', class: "sd-linear-progress__value sd-linear-progress__value--on-fill", style: valueOnFillStyle }, valueText))), this.label && index.h("span", { key: '2933b26dc95c1962dc19829f9bf1d8e62d71b0c4', class: "sd-linear-progress__label" }, this.label)));
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
58
|
SdLinearProgress.style = sdLinearProgressCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DsYLSqCp.js');
|
|
4
4
|
|
|
5
5
|
const sdLoadingContainerCss = () => `sd-loading-container .sd-loading-container{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;z-index:var(--sd-loading-container-z-index, 999);opacity:0;visibility:hidden;transition:opacity 0.2s ease, visibility 0s linear 0.2s;pointer-events:none}sd-loading-container .sd-loading-container--visible{opacity:1;visibility:visible;transition:opacity 0.2s ease, visibility 0s linear 0s;pointer-events:auto}sd-loading-container .sd-loading-container__backdrop{position:absolute;inset:0;background:rgba(0, 0, 0, 0.4)}sd-loading-container .sd-loading-container__content{position:relative;display:flex;flex-direction:column;align-items:center;gap:16px}sd-loading-container .sd-loading-container__message{margin:0;color:#ffffff;font-size:14px;font-weight:500;line-height:22px;text-align:center;max-width:400px;word-break:keep-all}`;
|
|
6
6
|
|
|
@@ -10,20 +10,40 @@ const SdLoadingContainer = class {
|
|
|
10
10
|
}
|
|
11
11
|
visible = false;
|
|
12
12
|
message = '';
|
|
13
|
+
prevBodyOverflow = null;
|
|
13
14
|
/** 로딩 오버레이를 표시합니다. */
|
|
14
15
|
async show(options = {}) {
|
|
15
16
|
this.message = options.message ?? '';
|
|
16
17
|
this.visible = true;
|
|
18
|
+
this.lockScroll();
|
|
17
19
|
}
|
|
18
20
|
/** 로딩 오버레이를 숨깁니다. */
|
|
19
21
|
async hide() {
|
|
20
22
|
this.visible = false;
|
|
23
|
+
this.unlockScroll();
|
|
24
|
+
}
|
|
25
|
+
disconnectedCallback() {
|
|
26
|
+
this.unlockScroll();
|
|
27
|
+
}
|
|
28
|
+
/** 오버레이 표시 중 배경 스크롤을 차단합니다. */
|
|
29
|
+
lockScroll() {
|
|
30
|
+
if (this.prevBodyOverflow !== null)
|
|
31
|
+
return;
|
|
32
|
+
this.prevBodyOverflow = document.body.style.overflow;
|
|
33
|
+
document.body.style.overflow = 'hidden';
|
|
34
|
+
}
|
|
35
|
+
/** 배경 스크롤 차단을 해제합니다. */
|
|
36
|
+
unlockScroll() {
|
|
37
|
+
if (this.prevBodyOverflow === null)
|
|
38
|
+
return;
|
|
39
|
+
document.body.style.overflow = this.prevBodyOverflow;
|
|
40
|
+
this.prevBodyOverflow = null;
|
|
21
41
|
}
|
|
22
42
|
render() {
|
|
23
|
-
return (index.h("div", { key: '
|
|
43
|
+
return (index.h("div", { key: '7abf314b6518ab7e6ba0ef60236a8ca6846b0cf4', class: {
|
|
24
44
|
'sd-loading-container': true,
|
|
25
45
|
'sd-loading-container--visible': this.visible,
|
|
26
|
-
}, "aria-hidden": this.visible ? 'false' : 'true' }, index.h("div", { key: '
|
|
46
|
+
}, "aria-hidden": this.visible ? 'false' : 'true' }, index.h("div", { key: '5c049ffd686654fb4c63bba829bcbe4968285a74', class: "sd-loading-container__backdrop" }), index.h("div", { key: '21c50b87eac65eedfe2ae475eda2c04a9b2f781d', class: "sd-loading-container__content" }, index.h("sd-circle-progress", { key: '1dd29e83461be200d3d23037fc8965dbba675e77', indeterminate: true, type: "inverse" }), this.message && index.h("p", { key: 'deb08b4813d784cf47f43648e8187b22b143dfd5', class: "sd-loading-container__message" }, this.message))));
|
|
27
47
|
}
|
|
28
48
|
};
|
|
29
49
|
SdLoadingContainer.style = sdLoadingContainerCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DsYLSqCp.js');
|
|
4
4
|
var modalStack = require('./modal-stack-DucFLON7.js');
|
|
5
5
|
|
|
6
6
|
const sdModalContainerCss = () => `sd-modal-container{display:block}sd-modal-container .sd-modal-container{position:fixed;inset:0;z-index:var(--sd-modal-container-z-index, 997);pointer-events:none}sd-modal-container .sd-modal-container__layer{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}sd-modal-container .sd-modal-container__backdrop{position:absolute;inset:0;background:rgba(0, 0, 0, 0.4);opacity:0;transition:opacity 0.3s ease-out;pointer-events:none}sd-modal-container .sd-modal-container__backdrop--visible{opacity:1;pointer-events:auto}sd-modal-container .sd-modal-container__modal{position:relative;z-index:1;opacity:0;transform:scale(0);pointer-events:auto;transition:opacity 0.3s ease-out, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1)}sd-modal-container .sd-modal-container__modal--visible{opacity:1;transform:scale(1)}sd-modal-container .sd-modal-container__modal--shake{animation:modal-shake 0.3s ease-out}@keyframes modal-shake{0%,100%{transform:scale(1)}25%{transform:scale(1.03)}50%{transform:scale(0.97)}75%{transform:scale(1.01)}}`;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DsYLSqCp.js');
|
|
4
4
|
var constants = require('./constants-DJRV1upE.js');
|
|
5
|
-
var sdTable_config = require('./sd-table.config-
|
|
6
|
-
require('./component.table-
|
|
5
|
+
var sdTable_config = require('./sd-table.config-DzC55sap.js');
|
|
6
|
+
require('./component.table-BrI3b--h.js');
|
|
7
7
|
require('./system-MjrAugX-.js');
|
|
8
8
|
|
|
9
9
|
const pagination = {
|
|
@@ -34,6 +34,9 @@ const pagination = {
|
|
|
34
34
|
hover: "#004290",
|
|
35
35
|
selected: "#004290"
|
|
36
36
|
}
|
|
37
|
+
},
|
|
38
|
+
simple: {
|
|
39
|
+
gap: "8"
|
|
37
40
|
}
|
|
38
41
|
};
|
|
39
42
|
var paginationTokens = {
|
|
@@ -46,6 +49,7 @@ const PAGINATION_LAYOUT = {
|
|
|
46
49
|
radius: `${paginationTokens.pagination.radius}px`,
|
|
47
50
|
gap: `${paginationTokens.pagination.gap}px`,
|
|
48
51
|
moveGap: `${paginationTokens.pagination.move.gap}px`,
|
|
52
|
+
simpleGap: `${paginationTokens.pagination.simple.gap}px`,
|
|
49
53
|
iconSize: Number(paginationTokens.pagination.icon),
|
|
50
54
|
};
|
|
51
55
|
const PAGINATION_TYPOGRAPHY = {
|
|
@@ -65,7 +69,7 @@ const PAGINATION_COLORS = {
|
|
|
65
69
|
iconDefault: '#888888',
|
|
66
70
|
};
|
|
67
71
|
|
|
68
|
-
const sdPaginationCss = () => `sd-pagination{display:inline-flex}.sd-pagination{display:inline-flex;align-items:center;gap:var(--sd-pagination-gap);font-family:var(--sd-pagination-font-family)}.sd-pagination__group{display:inline-flex;align-items:center;gap:var(--sd-pagination-move-gap);min-width:calc(var(--sd-pagination-height) * 2 + var(--sd-pagination-move-gap))}.sd-pagination__group--prev{justify-content:flex-end}.sd-pagination__group--next{justify-content:flex-start}.sd-pagination__numbers{display:inline-flex;align-items:center;gap:var(--sd-pagination-move-gap)}.sd-pagination__nav{display:inline-flex;align-items:center;justify-content:center;width:var(--sd-pagination-height);height:var(--sd-pagination-height);padding:0;background:transparent;border:0;border-radius:var(--sd-pagination-radius);cursor:pointer;outline:none}.sd-pagination__nav:hover{background-color:var(--sd-pagination-bg-hover)}.sd-pagination__item{display:inline-flex;align-items:center;justify-content:center;width:var(--sd-pagination-item-width);height:var(--sd-pagination-height);padding:0 var(--sd-pagination-padding-x);background:transparent;border:0;border-radius:var(--sd-pagination-radius);color:var(--sd-pagination-content);font-size:var(--sd-pagination-font-size);font-weight:var(--sd-pagination-font-weight-default);line-height:var(--sd-pagination-line-height);cursor:pointer;outline:none;box-sizing:border-box}.sd-pagination__item:hover{background-color:var(--sd-pagination-bg-hover);color:var(--sd-pagination-content-hover)}.sd-pagination__item--selected{background-color:var(--sd-pagination-bg-selected);color:var(--sd-pagination-content-selected);font-weight:var(--sd-pagination-font-weight-selected)}.sd-pagination__item--selected:hover{background-color:var(--sd-pagination-bg-selected);color:var(--sd-pagination-content-selected)}.sd-pagination__info{display:inline-flex;align-items:center;gap:var(--sd-pagination-
|
|
72
|
+
const sdPaginationCss = () => `sd-pagination{display:inline-flex}.sd-pagination{display:inline-flex;align-items:center;gap:var(--sd-pagination-gap);font-family:var(--sd-pagination-font-family)}.sd-pagination__group{display:inline-flex;align-items:center;gap:var(--sd-pagination-move-gap);min-width:calc(var(--sd-pagination-height) * 2 + var(--sd-pagination-move-gap))}.sd-pagination__group--prev{justify-content:flex-end}.sd-pagination__group--next{justify-content:flex-start}.sd-pagination__numbers{display:inline-flex;align-items:center;gap:var(--sd-pagination-move-gap)}.sd-pagination__nav{display:inline-flex;align-items:center;justify-content:center;width:var(--sd-pagination-height);height:var(--sd-pagination-height);padding:0;background:transparent;border:0;border-radius:var(--sd-pagination-radius);cursor:pointer;outline:none}.sd-pagination__nav:hover{background-color:var(--sd-pagination-bg-hover)}.sd-pagination__item{display:inline-flex;align-items:center;justify-content:center;width:var(--sd-pagination-item-width);height:var(--sd-pagination-height);padding:0 var(--sd-pagination-padding-x);background:transparent;border:0;border-radius:var(--sd-pagination-radius);color:var(--sd-pagination-content);font-size:var(--sd-pagination-font-size);font-weight:var(--sd-pagination-font-weight-default);line-height:var(--sd-pagination-line-height);cursor:pointer;outline:none;box-sizing:border-box}.sd-pagination__item:hover{background-color:var(--sd-pagination-bg-hover);color:var(--sd-pagination-content-hover)}.sd-pagination__item--selected{background-color:var(--sd-pagination-bg-selected);color:var(--sd-pagination-content-selected);font-weight:var(--sd-pagination-font-weight-selected)}.sd-pagination__item--selected:hover{background-color:var(--sd-pagination-bg-selected);color:var(--sd-pagination-content-selected)}.sd-pagination__info{display:inline-flex;align-items:center;gap:var(--sd-pagination-simple-gap);height:var(--sd-pagination-height);padding:0 var(--sd-pagination-padding-x);color:var(--sd-pagination-content);font-size:var(--sd-pagination-font-size);font-weight:var(--sd-pagination-font-weight-default);line-height:var(--sd-pagination-line-height)}.sd-pagination__current{color:var(--sd-pagination-content-selected);font-weight:var(--sd-pagination-font-weight-selected)}`;
|
|
69
73
|
|
|
70
74
|
const PER_PAGE = 10;
|
|
71
75
|
const BUTTON_WIDTH = {
|
|
@@ -146,6 +150,7 @@ const SdPagination = class {
|
|
|
146
150
|
'--sd-pagination-radius': PAGINATION_LAYOUT.radius,
|
|
147
151
|
'--sd-pagination-gap': PAGINATION_LAYOUT.gap,
|
|
148
152
|
'--sd-pagination-move-gap': PAGINATION_LAYOUT.moveGap,
|
|
153
|
+
'--sd-pagination-simple-gap': PAGINATION_LAYOUT.simpleGap,
|
|
149
154
|
'--sd-pagination-font-family': PAGINATION_TYPOGRAPHY.fontFamily,
|
|
150
155
|
'--sd-pagination-font-size': PAGINATION_TYPOGRAPHY.fontSize,
|
|
151
156
|
'--sd-pagination-line-height': PAGINATION_TYPOGRAPHY.lineHeight,
|
|
@@ -158,13 +163,13 @@ const SdPagination = class {
|
|
|
158
163
|
'--sd-pagination-bg-selected': PAGINATION_COLORS.bgSelected,
|
|
159
164
|
'--sd-pagination-item-width': `${this.buttonWidth}px`,
|
|
160
165
|
};
|
|
161
|
-
return (index.h("div", { key: '
|
|
166
|
+
return (index.h("div", { key: '2e5fdcc2d6a426be32128960131db2ed51674939', class: {
|
|
162
167
|
'sd-pagination': true,
|
|
163
168
|
'sd-pagination--simple': this.simple,
|
|
164
|
-
}, style: cssVars }, index.h("div", { key: '
|
|
169
|
+
}, style: cssVars }, index.h("div", { key: 'a83ee12c1af9ca41e3a5773fcd840200fcb873e2', class: "sd-pagination__group sd-pagination__group--prev" }, this.renderPrevButtons()), this.simple ? (index.h("div", { class: "sd-pagination__info" }, index.h("span", { class: "sd-pagination__current" }, this.currentPage), index.h("span", { class: "sd-pagination__divider" }, "/"), index.h("span", { class: "sd-pagination__last" }, this.lastPage))) : (index.h("div", { class: "sd-pagination__numbers" }, this.pageNumbers.map(n => (index.h("button", { type: "button", "aria-current": this.currentPage === n ? 'page' : undefined, class: {
|
|
165
170
|
'sd-pagination__item': true,
|
|
166
171
|
'sd-pagination__item--selected': this.currentPage === n,
|
|
167
|
-
}, onClick: () => this.handlePageChange(n) }, n))))), index.h("div", { key: '
|
|
172
|
+
}, onClick: () => this.handlePageChange(n) }, n))))), index.h("div", { key: '3c98ea6c1bf5bea43baaa73a2a7db5c4fe1404e5', class: "sd-pagination__group sd-pagination__group--next" }, this.renderNextButtons())));
|
|
168
173
|
}
|
|
169
174
|
};
|
|
170
175
|
SdPagination.style = sdPaginationCss();
|
|
@@ -220,9 +225,9 @@ const SdTbody = class {
|
|
|
220
225
|
}
|
|
221
226
|
}
|
|
222
227
|
render() {
|
|
223
|
-
return (index.h(index.Host, { key: '
|
|
228
|
+
return (index.h(index.Host, { key: '6d4bea755b962e2f5b9f37129d0b03fd7f997e93', slot: `${this.tableId}-body` }, index.h("tbody", { key: '11543f7ea385458bcb57ae4e62bfd258bacb9e01', class: { tbody: true } }, [
|
|
224
229
|
this.topSpacerHeight > 0 && (index.h("tr", { key: "spacer-top", class: "tbody__spacer", style: { height: `${this.topSpacerHeight}px`, display: 'block' } })),
|
|
225
|
-
index.h("slot", { key: '
|
|
230
|
+
index.h("slot", { key: '515aa270f49dfd20f78de1d11c3c5b914cfda792' }),
|
|
226
231
|
this.bottomSpacerHeight > 0 && (index.h("tr", { key: "spacer-bottom", class: "tbody__spacer", style: { height: `${this.bottomSpacerHeight}px`, display: 'block' } })),
|
|
227
232
|
])));
|
|
228
233
|
}
|
|
@@ -480,16 +485,16 @@ const SdThead = class {
|
|
|
480
485
|
'--table-border-color': sdTable_config.TABLE_BORDER.color,
|
|
481
486
|
'--table-border-width': `${sdTable_config.TABLE_BORDER.width}px`,
|
|
482
487
|
};
|
|
483
|
-
return (index.h(index.Host, { key: '
|
|
488
|
+
return (index.h(index.Host, { key: 'ec85c86aa6d93e5a2405262809bf790fbb12ee79', slot: `${this.tableId}-head`, style: headStyle }, index.h("thead", { key: '8afbdf4d81ebb649e262baa6da8ce3a1eca31e15', class: {
|
|
484
489
|
'thead': true,
|
|
485
490
|
'thead--sticky': this._stickyHeader,
|
|
486
|
-
} }, index.h("tr", { key: '
|
|
491
|
+
} }, index.h("tr", { key: '9643f19e95aa00f5bb5d6462ecb0da4ca95c3dcc', class: "tr" }, this._selectable && (index.h("th", { key: '6d87ceb557e61454eaf0acf492234788bfd99235', class: {
|
|
487
492
|
'th': true,
|
|
488
493
|
'th--selected': true,
|
|
489
494
|
'sticky-left': true,
|
|
490
495
|
'sticky-left-edge': stickyLeftCount === 0,
|
|
491
496
|
'is-scrolled-left': stickyLeftCount === 0 && this._scrolledLeft,
|
|
492
|
-
}, style: { '--sticky-left-offset': '0px' } }, index.h("sd-checkbox", { key: '
|
|
497
|
+
}, style: { '--sticky-left-offset': '0px' } }, index.h("sd-checkbox", { key: 'c2dc4e112510bb9ab13109fd966cd0485588835a', value: this.getIsAllChecked(), disabled: safeRows.length === 0, onSdUpdate: (e) => this.handleSelectAll(e.detail) }), index.h("div", { key: '478a665c0d06efc829e4f2818be4be1b43e44708', class: "th__bar" }))), stickyLeftCols.map((col, idx) => (index.h("th", { key: col.name, class: {
|
|
493
498
|
'th': true,
|
|
494
499
|
[`${col.thClass}`]: Boolean(col.thClass),
|
|
495
500
|
'sticky-left': true,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var tooltipArrow = require('./tooltipArrow-
|
|
3
|
+
var index = require('./index-DsYLSqCp.js');
|
|
4
|
+
var tooltipArrow = require('./tooltipArrow-FLiD3ceS.js');
|
|
5
5
|
|
|
6
6
|
const popover = {
|
|
7
7
|
"default": {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DsYLSqCp.js');
|
|
4
|
+
var component_overlay = require('./component.overlay-CBhFnzM2.js');
|
|
4
5
|
var system = require('./system-MjrAugX-.js');
|
|
5
6
|
|
|
6
7
|
const popup$1 = {
|
|
@@ -17,14 +18,7 @@ const popup$1 = {
|
|
|
17
18
|
fontFamily: "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",
|
|
18
19
|
fontWeight: "700",
|
|
19
20
|
fontSize: "18",
|
|
20
|
-
lineHeight: "30"}
|
|
21
|
-
},
|
|
22
|
-
footer: {
|
|
23
|
-
bg: "#FFFFFF",
|
|
24
|
-
paddingX: "20",
|
|
25
|
-
paddingY: "8",
|
|
26
|
-
gap: "16"
|
|
27
|
-
},
|
|
21
|
+
lineHeight: "30"}},
|
|
28
22
|
bg: "#EEEEEE"
|
|
29
23
|
};
|
|
30
24
|
var popupTokens = {
|
|
@@ -32,6 +26,7 @@ var popupTokens = {
|
|
|
32
26
|
};
|
|
33
27
|
|
|
34
28
|
const { popup } = popupTokens;
|
|
29
|
+
const { overlay } = component_overlay.overlayTokens;
|
|
35
30
|
const shadowSpreadMd = system.systemTokens.shadow.spread.md;
|
|
36
31
|
const POPUP_LAYOUT = {
|
|
37
32
|
bodyBg: popup.bg,
|
|
@@ -54,10 +49,10 @@ const POPUP_HEADER = {
|
|
|
54
49
|
paddingY: 10,
|
|
55
50
|
};
|
|
56
51
|
const POPUP_FOOTER = {
|
|
57
|
-
bg:
|
|
58
|
-
paddingX: Number(
|
|
59
|
-
paddingY: Number(
|
|
60
|
-
gap: Number(
|
|
52
|
+
bg: overlay.footer.bg.default,
|
|
53
|
+
paddingX: Number(overlay.footer.paddingX),
|
|
54
|
+
paddingY: Number(overlay.footer.paddingY),
|
|
55
|
+
gap: Number(overlay.footer.gap),
|
|
61
56
|
height: 52,
|
|
62
57
|
slotHeight: 36,
|
|
63
58
|
shadow: `${shadowSpreadMd.x}px ${shadowSpreadMd.y}px ${shadowSpreadMd.blur}px ${shadowSpreadMd.spread}px ${shadowSpreadMd.color}`,
|
|
@@ -109,7 +104,7 @@ const SdPopup = class {
|
|
|
109
104
|
...DEFAULT_SUBMIT_BUTTON_PROPS,
|
|
110
105
|
...this.submitButtonProps,
|
|
111
106
|
};
|
|
112
|
-
return (index.h("div", { key: '
|
|
107
|
+
return (index.h("div", { key: 'cc0381250b37b498e93fd7f8d932ad95ff802bcc', class: `sd-popup sd-popup--${this.type}`, style: cssVars }, index.h("header", { key: '07b4378a9c8d292f73e0a6307ec2b6335087cc9f', class: "sd-popup__header" }, index.h("h2", { key: 'a17318a803d2d825e0a85f43ff436944424bb213', class: "sd-popup__title" }, this.popupTitle)), index.h("div", { key: 'f2147c40fbd425565f6e61e62e2da2d97eacb27a', class: "sd-popup__body" }, index.h("slot", { key: '5600679290a775e53e838fd5ea2d9cfc1008130f' })), this.useFooter && (index.h("footer", { key: '2bfa07724438b8afa03a0654359ab760498ef7dc', class: "sd-popup__footer" }, index.h("div", { key: 'd70c88b18b23bd8d1b3f6d4899d65b25e378b9aa', class: "sd-popup__footer-slot sd-popup__footer-slot--left" }, index.h("slot", { key: '42d7108b390bf460398dcbc128a837784ba5c544', name: "footer-left" })), index.h("sd-button", { key: '0525a19c52caef0dcaf0eb2783391132d53d18db', ...submitButtonProps, class: "sd-popup__submit", onSdClick: () => this.submit.emit() })))));
|
|
113
108
|
}
|
|
114
109
|
};
|
|
115
110
|
SdPopup.style = sdPopupCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DsYLSqCp.js');
|
|
4
4
|
var sdSelect_config = require('./sd-select.config-C9Ohe1QA.js');
|
|
5
5
|
var sanitizeInlineHtml = require('./sanitize-inline-html-CRCAeQ46.js');
|
|
6
6
|
require('./component.listItem-Bnh0r_CA.js');
|
|
@@ -88,7 +88,7 @@ const SdSelectListItem = class {
|
|
|
88
88
|
return (
|
|
89
89
|
// 키보드 네비게이션은 부모 listbox 의 ArrowUp/Down + Enter 가 담당. 항목 자체는 role=option, tabindex=-1 으로 표시.
|
|
90
90
|
// eslint-disable-next-line jsx-a11y/click-events-have-key-events
|
|
91
|
-
index.h("div", { key: '
|
|
91
|
+
index.h("div", { key: 'dd2c4cbd210ed70c00a954a9c6da6923ea76c91e', role: "option", tabindex: -1, "aria-selected": this.isSelected === true ? 'true' : 'false', class: {
|
|
92
92
|
'sd-select-list-item': true,
|
|
93
93
|
'sd-select-list-item--group': isGroup,
|
|
94
94
|
'sd-select-list-item--depth1-group': isDepth1Group,
|
|
@@ -98,7 +98,7 @@ const SdSelectListItem = class {
|
|
|
98
98
|
'sd-select-list-item--focused': this.isFocused,
|
|
99
99
|
'sd-select-list-item--selectable': this.isSelectable && !this.option.disabled,
|
|
100
100
|
'sd-select-list-item--disabled': !!this.option.disabled,
|
|
101
|
-
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (index.h("sd-checkbox", { key: '
|
|
101
|
+
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (index.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 })), sdSelect_config.isHtmlLabel(this.option.label) ? (index.h("span", { class: "sd-select-list-item__label", ref: el => el && (el.innerHTML = sanitizeInlineHtml.sanitizeInlineHtml(this.option.label)) })) : (index.h("span", { class: "sd-select-list-item__label" }, this.option.label)), this.countInfo && (index.h("span", { key: '70ee48fdece9e38db3bf9450a5d82ad6db4ec985', class: "sd-select-list-item__count" }, "(", this.countInfo.selected, "/", this.countInfo.total, ")"))));
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
104
|
SdSelectListItem.style = sdSelectListItemCss();
|
|
@@ -155,15 +155,15 @@ const SdSelectListItemSearch = class {
|
|
|
155
155
|
clearTimeout(this.debounceTimer);
|
|
156
156
|
}
|
|
157
157
|
render() {
|
|
158
|
-
return (index.h("div", { key: '
|
|
158
|
+
return (index.h("div", { key: '951bb1f2507918c057bb88bd8254a8b4bc4b6018', class: {
|
|
159
159
|
'sd-select-list-item-search': true,
|
|
160
160
|
'sd-select-list-item-search--scrolled': this.isScrolled,
|
|
161
|
-
} }, index.h("div", { key: '
|
|
161
|
+
} }, index.h("div", { key: '32164db917f4ccadb301c00e77d8296d0ef59e7d', class: "sd-select-list-item-search__inner" }, index.h("sd-icon", { key: '9493497b5b8b7274c31bac9e865a1949c0cd4493', name: "search", size: 16, color: "grey_70", class: "sd-select-list-item-search__icon" }), index.h("input", { key: '3917e46b5e6ad55ab7481655fe31d7a3b29632f6', ref: el => {
|
|
162
162
|
this.inputEl = el;
|
|
163
|
-
}, 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() }), index.h("button", { key: '
|
|
163
|
+
}, 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() }), index.h("button", { key: '93c11a138545e9480aae3dd0ed961fe613fc1b14', type: "button", class: {
|
|
164
164
|
'sd-select-list-item-search__clear': true,
|
|
165
165
|
'sd-select-list-item-search__clear--hidden': this.searchText === '',
|
|
166
|
-
}, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, index.h("sd-icon", { key: '
|
|
166
|
+
}, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, index.h("sd-icon", { key: 'dead91d16ab3af88a4a94ee061b9ca1c1336f2f7', name: "close", size: 12, color: "#888888" })))));
|
|
167
167
|
}
|
|
168
168
|
};
|
|
169
169
|
SdSelectListItemSearch.style = sdSelectListItemSearchCss();
|