@sellmate/design-system 1.26.0 → 1.27.0
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.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-BTqAmfdr.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 +49 -32
- package/dist/cjs/sd-chip.cjs.entry.js +1 -1
- package/dist/cjs/sd-circle-progress.cjs.entry.js +7 -17
- package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +5 -5
- package/dist/cjs/sd-date-box.cjs.entry.js +1 -1
- package/dist/cjs/sd-date-picker_7.cjs.entry.js +10 -10
- package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +2 -2
- package/dist/cjs/sd-divider.cjs.entry.js +2 -2
- package/dist/cjs/sd-dropdown-button.cjs.entry.js +2 -2
- package/dist/cjs/sd-field_3.cjs.entry.js +9 -9
- package/dist/cjs/sd-form.cjs.entry.js +1 -1
- package/dist/cjs/sd-ghost-button_3.cjs.entry.js +5 -6
- 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 +3 -3
- package/dist/cjs/sd-modal-container.cjs.entry.js +1 -1
- package/dist/cjs/sd-pagination_4.cjs.entry.js +11 -11
- 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 +2 -2
- 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-CiM3irtY.js} +1 -1
- package/dist/collection/components/sd-action-modal/sd-action-modal.config.js +10 -8
- package/dist/collection/components/sd-chip-input/sd-chip-input.css +3 -0
- package/dist/collection/components/sd-chip-input/sd-chip-input.js +66 -30
- package/dist/collection/components/sd-circle-progress/sd-circle-progress.config.js +4 -5
- package/dist/collection/components/sd-circle-progress/sd-circle-progress.js +1 -1
- package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.js +2 -2
- package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.js +2 -2
- package/dist/collection/components/sd-date-picker/sd-date-picker.js +2 -2
- package/dist/collection/components/sd-date-range-picker/sd-date-range-picker-calendar/sd-date-range-picker-calendar.js +1 -1
- package/dist/collection/components/sd-divider/sd-divider.js +1 -1
- package/dist/collection/components/sd-field/sd-field.js +4 -4
- 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 +2 -2
- package/dist/collection/components/sd-loading-modal/sd-loading-modal.config.js +3 -3
- package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +1 -1
- package/dist/collection/components/sd-number-input/sd-number-input.js +4 -4
- package/dist/collection/components/sd-pagination/sd-pagination.js +3 -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-portal/sd-portal.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-tag/sd-tag.js +2 -2
- 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 +1 -1
- 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-C7sUn4qb.js → p-7NIombHr.js} +1 -1
- package/dist/components/{p-BCLDTSO0.js → p-B0NEmngm.js} +1 -1
- package/dist/components/{p-D15bTkjr.js → p-B7Fy6FMY.js} +1 -1
- package/dist/components/{p-C3rOud8J.js → p-B8qPlbcL.js} +1 -1
- package/dist/components/{p-DNRm9_Bv.js → p-BArxAQLx.js} +1 -1
- package/dist/components/{p-BwwpMQLA.js → p-BIFt5zIX.js} +1 -1
- package/dist/components/{p-D0Xz7CoK.js → p-BJoG95Kt.js} +1 -1
- package/dist/components/{p-D3dq5pt5.js → p-BKBd44No.js} +1 -1
- package/dist/components/{p-JamWHNrr.js → p-BKg1YV-H.js} +1 -1
- package/dist/components/{p-BAIi5T00.js → p-BL9Vy4Fd.js} +1 -1
- package/dist/components/p-BXcizROm.js +1 -0
- package/dist/components/{p-IBgCA-vo.js → p-Bcp4vs0m.js} +1 -1
- package/dist/components/{p-DsGK3Aye.js → p-BeR_5Fwe.js} +1 -1
- package/dist/components/p-BsJ3_flK.js +1 -0
- package/dist/components/{p-CA2sZAsI.js → p-BuubsWWz.js} +1 -1
- package/dist/components/{p-Bv_CVYp1.js → p-C-xm1A4R.js} +1 -1
- package/dist/components/{p-BckY1cBy.js → p-CD0706HD.js} +1 -1
- package/dist/components/{p-0UeArSzN.js → p-CDiIm8f6.js} +1 -1
- package/dist/components/{p-C7sPq8UM.js → p-CHvrvQsZ.js} +1 -1
- package/dist/components/{p-BGIwu6m1.js → p-CJYl_ssf.js} +1 -1
- package/dist/components/{p-C1vqL1Kl.js → p-CbsRJTHs.js} +1 -1
- package/dist/components/{p-CaQ-qyG-.js → p-CrpzIzUy.js} +1 -1
- package/dist/components/p-Cw8yDfQh.js +1 -0
- package/dist/components/{p-zGr4He38.js → p-CygiHfH3.js} +1 -1
- package/dist/{design-system/p-GXE2lEVj.js → components/p-D60P6BdJ.js} +1 -1
- package/dist/components/{p-D6GUzecR.js → p-D9tQwTWy.js} +1 -1
- package/dist/components/{p-1kjTqHez.js → p-DHINsZ60.js} +1 -1
- package/dist/components/{p-DznzJSU-.js → p-DJsKwChT.js} +1 -1
- package/dist/components/{p-DU2_jzh4.js → p-DObwsGYE.js} +1 -1
- package/dist/components/{p-BnhzUsGP.js → p-DTEO2eLq.js} +1 -1
- package/dist/components/{p-tSYcqBKN.js → p-DYHntcvV.js} +1 -1
- package/dist/components/p-De0OtxK5.js +1 -0
- package/dist/components/{p-CFqCJx9B.js → p-DgK8EUjx.js} +1 -1
- package/dist/components/{p-DPotN1QM.js → p-DuMx_9he.js} +1 -1
- package/dist/components/{p-aYmWxyum.js → p-Dv7x-UAd.js} +1 -1
- package/dist/components/p-KSTsd4qM.js +1 -0
- package/dist/components/{p-CBXH-GWN.js → p-P6SE7iQV.js} +1 -1
- package/dist/components/{p-BTWV2vRX.js → p-V8hUcpnj.js} +1 -1
- package/dist/components/{p-UkSGSWSA.js → p-b9Q4MYgR.js} +1 -1
- package/dist/components/{p-BOrdn-Js.js → p-hd2Gc2Z3.js} +1 -1
- package/dist/components/{p-B4ua22vZ.js → p-mbe7jmT5.js} +1 -1
- 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-d6329729.entry.js → p-024c1605.entry.js} +1 -1
- package/dist/design-system/{p-c3b032a1.entry.js → p-030b0602.entry.js} +1 -1
- package/dist/design-system/{p-d4097b87.entry.js → p-089235d2.entry.js} +1 -1
- package/dist/design-system/{p-9b53de38.entry.js → p-0dfdcfed.entry.js} +1 -1
- package/dist/design-system/{p-2c704047.entry.js → p-0f3d40f2.entry.js} +1 -1
- package/dist/design-system/{p-ba10c791.entry.js → p-12eabcc9.entry.js} +1 -1
- package/dist/design-system/{p-9c3f7c57.entry.js → p-29b84d12.entry.js} +1 -1
- package/dist/design-system/{p-83a86e6d.entry.js → p-2b2aaa32.entry.js} +1 -1
- package/dist/design-system/{p-dca19618.entry.js → p-36275d32.entry.js} +1 -1
- package/dist/design-system/{p-7c22de74.entry.js → p-3f347a3a.entry.js} +1 -1
- package/dist/design-system/{p-8da06c09.entry.js → p-4f4b3dab.entry.js} +1 -1
- package/dist/design-system/{p-d8bebc8e.entry.js → p-59ecccb2.entry.js} +1 -1
- package/dist/design-system/{p-e45e6e56.entry.js → p-6324bbde.entry.js} +1 -1
- package/dist/design-system/p-63804698.entry.js +1 -0
- package/dist/design-system/{p-90a360ca.entry.js → p-669dfbe4.entry.js} +1 -1
- package/dist/design-system/{p-a992c64b.entry.js → p-66cb4a7c.entry.js} +1 -1
- package/dist/design-system/{p-065cd2f4.entry.js → p-7e1f14a6.entry.js} +1 -1
- package/dist/design-system/{p-681f8612.entry.js → p-8d340091.entry.js} +1 -1
- package/dist/design-system/{p-5b184e17.entry.js → p-8e428210.entry.js} +1 -1
- package/dist/design-system/{p-754c11a8.entry.js → p-93c7c640.entry.js} +1 -1
- package/dist/design-system/p-9860b9d9.entry.js +1 -0
- package/dist/design-system/{p-e77fe58a.entry.js → p-9991485c.entry.js} +1 -1
- package/dist/design-system/p-9adb306b.entry.js +1 -0
- package/dist/design-system/p-BXcizROm.js +1 -0
- package/dist/design-system/p-BwIs2-fm.js +2 -0
- package/dist/design-system/p-C2-fl-Dc.js +1 -0
- package/dist/design-system/p-Cw8yDfQh.js +1 -0
- 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-940de4ba.entry.js → p-a2796cd6.entry.js} +1 -1
- package/dist/design-system/{p-c8e86fb4.entry.js → p-b0b9995e.entry.js} +1 -1
- package/dist/design-system/{p-8b4d246f.entry.js → p-b6a139b7.entry.js} +1 -1
- package/dist/design-system/p-b8394ddb.entry.js +1 -0
- package/dist/design-system/{p-bd700588.entry.js → p-c561595a.entry.js} +1 -1
- package/dist/design-system/p-c5bd0dc9.entry.js +1 -0
- package/dist/design-system/{p-f9c0013c.entry.js → p-ceda6367.entry.js} +1 -1
- package/dist/design-system/{p-9761ef4a.entry.js → p-d6bb5c82.entry.js} +1 -1
- package/dist/design-system/{p-8001447c.entry.js → p-d7e1a303.entry.js} +1 -1
- package/dist/design-system/{p-c79bf2eb.entry.js → p-d87b75ff.entry.js} +1 -1
- package/dist/design-system/{p-ba5bb1ee.entry.js → p-df3faae8.entry.js} +1 -1
- package/dist/design-system/{p-4deb11d8.entry.js → p-e0d4193a.entry.js} +1 -1
- package/dist/design-system/p-e0fa6937.entry.js +1 -0
- package/dist/design-system/{p-2646a746.entry.js → p-e2dabf85.entry.js} +1 -1
- package/dist/design-system/p-ef60be0f.entry.js +1 -0
- package/dist/design-system/{p-4d68b0a8.entry.js → p-f43dd680.entry.js} +1 -1
- package/dist/design-system/{p-79d85b32.entry.js → p-f7123e89.entry.js} +1 -1
- 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-BwIs2-fm.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 +49 -32
- package/dist/esm/sd-chip.entry.js +1 -1
- package/dist/esm/sd-circle-progress.entry.js +7 -17
- package/dist/esm/sd-confirm-modal_2.entry.js +5 -5
- package/dist/esm/sd-date-box.entry.js +1 -1
- package/dist/esm/sd-date-picker_7.entry.js +10 -10
- package/dist/esm/sd-date-range-picker-calendar.entry.js +2 -2
- package/dist/esm/sd-divider.entry.js +2 -2
- package/dist/esm/sd-dropdown-button.entry.js +2 -2
- package/dist/esm/sd-field_3.entry.js +9 -9
- package/dist/esm/sd-form.entry.js +1 -1
- package/dist/esm/sd-ghost-button_3.entry.js +5 -6
- 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 +3 -3
- package/dist/esm/sd-modal-container.entry.js +1 -1
- package/dist/esm/sd-pagination_4.entry.js +11 -11
- 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 +2 -2
- 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-CJxhdfqT.js} +1 -1
- package/dist/types/components/sd-chip-input/sd-chip-input.d.ts +3 -0
- package/dist/types/components.d.ts +9 -0
- package/hydrate/index.js +175 -166
- package/hydrate/index.mjs +175 -166
- package/package.json +1 -1
- package/dist/components/p-B3bERWUt.js +0 -1
- package/dist/components/p-CEVDmQdt.js +0 -1
- package/dist/components/p-Cmg10jpN.js +0 -1
- package/dist/components/p-D6noGX38.js +0 -1
- package/dist/components/p-DOXMJi-V.js +0 -1
- package/dist/design-system/p-12e7b9fc.entry.js +0 -1
- package/dist/design-system/p-28e1cf94.entry.js +0 -1
- package/dist/design-system/p-4d747082.entry.js +0 -1
- package/dist/design-system/p-662ce409.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-b127ac21.entry.js +0 -1
- package/dist/design-system/p-c7ff7bc8.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,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BTqAmfdr.js');
|
|
4
4
|
var index$1 = require('./index-BUvXpPc3.js');
|
|
5
5
|
var sdSelect_config = require('./sd-select.config-C9Ohe1QA.js');
|
|
6
6
|
var sanitizeInlineHtml = require('./sanitize-inline-html-CRCAeQ46.js');
|
|
@@ -296,15 +296,15 @@ const SdSelect = class {
|
|
|
296
296
|
this.closeDropdown();
|
|
297
297
|
},
|
|
298
298
|
};
|
|
299
|
-
return (index.h("sd-field", { key: '
|
|
299
|
+
return (index.h("sd-field", { key: '0864fe68a337d4bab526fa61570e856c8eff6d1c', 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: () => {
|
|
300
300
|
this.hovered = true;
|
|
301
301
|
}, onMouseLeave: () => {
|
|
302
302
|
this.hovered = false;
|
|
303
|
-
} }, index.h("div", { key: '
|
|
303
|
+
} }, index.h("div", { key: '781819ed75f47395e96fd6808766e6bb8c246fa5', class: "sd-select", ref: el => {
|
|
304
304
|
this.triggerRef = el;
|
|
305
|
-
} }, index.h("sd-select-trigger", { key: '
|
|
305
|
+
} }, index.h("sd-select-trigger", { key: '8cebad98f0cd4b333954a55857aec3fbb6f3d283', ref: el => {
|
|
306
306
|
this.triggerComponentRef = el;
|
|
307
|
-
}, 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) && (index.h("sd-portal", { key: '
|
|
307
|
+
}, 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) && (index.h("sd-portal", { key: 'fe68f0b01256e1c1d3200f9f5fd17c2adf97f0e0', ...portalProps }, index.h("sd-select-listbox", { key: '98368524ef06a6d752f2313756a89ae6e8c05955', 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) })))));
|
|
308
308
|
}
|
|
309
309
|
static get watchers() { return {
|
|
310
310
|
"isOpen": [{
|
|
@@ -314,7 +314,7 @@ const SdSelect = class {
|
|
|
314
314
|
};
|
|
315
315
|
SdSelect.style = sdSelectCss();
|
|
316
316
|
|
|
317
|
-
const sdSelectListboxCss = () => `:host{display:block}:host .sd-select-listbox{display:flex;flex-direction:column;width:var(--listbox-trigger-width);max-width:var(--listbox-max-width);max-height:var(--listbox-max-height);border-radius:var(--listbox-radius);background:white;box-shadow:2px 2px 12px 2px rgba(0, 0, 0, 0.1);overflow:hidden;outline:none}:host .sd-select-listbox__list{flex:1;min-height:0;overflow-y:auto;padding-bottom:0}:host .sd-select-listbox__empty{padding:12px;text-align:center;font-size:12px;line-height:20px;color:#888888}`;
|
|
317
|
+
const sdSelectListboxCss = () => `:host{display:block}:host .sd-select-listbox{display:flex;flex-direction:column;width:var(--listbox-trigger-width);max-width:var(--listbox-max-width);max-height:var(--listbox-max-height);border-radius:var(--listbox-radius);background:white;box-shadow:2px 2px 12px 2px rgba(0, 0, 0, 0.1);overflow:hidden;outline:none}:host .sd-select-listbox__list{flex:1;min-height:0;overflow-y:auto;padding-bottom:0}:host .sd-select-listbox__list::-webkit-scrollbar{opacity:0;width:8px;background:#E5E5E5}:host .sd-select-listbox__list::-webkit-scrollbar:horizontal{height:8px}:host .sd-select-listbox__list::-webkit-scrollbar-thumb{height:80px;background-color:#CCCCCC;border-radius:4px}:host .sd-select-listbox__list::-webkit-scrollbar-track{background-color:#E5E5E5}:host .sd-select-listbox__empty{padding:12px;text-align:center;font-size:12px;line-height:20px;color:#888888}`;
|
|
318
318
|
|
|
319
319
|
const SdSelectListbox = class {
|
|
320
320
|
constructor(hostRef) {
|
|
@@ -681,9 +681,9 @@ const SdSelectListbox = class {
|
|
|
681
681
|
'--listbox-max-height': this.maxHeight ?? '260px',
|
|
682
682
|
'--listbox-radius': `${sdSelect_config.LIST_BOX_LAYOUT.radius}px`,
|
|
683
683
|
};
|
|
684
|
-
return (index.h("div", { key: '
|
|
684
|
+
return (index.h("div", { key: 'bb8c7f22a164d29e30d2f9da7740883daef4fc27', class: "sd-select-listbox", style: cssVars }, this.showSearch && (index.h("sd-select-list-item-search", { key: 'ac1b06b12ec20d2b9d57ca3b4074b3752b5da5e1', isScrolled: this.isScrolled, onSdSearchFilter: this.handleSearchFilter })), index.h("div", { key: '2c7735e7098090762f573d63c2673d6face702c1', class: "sd-select-listbox__list", onScroll: this.handleScroll, ref: el => {
|
|
685
685
|
this.listEl = el;
|
|
686
|
-
} }, this.showSelectAll && (index.h("sd-select-list-item", { key: '
|
|
686
|
+
} }, this.showSelectAll && (index.h("sd-select-list-item", { key: '5377511fd55f0d34056ad64707265dd2cc86afc4', 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 ? (index.h("div", { class: "sd-select-listbox__empty" }, sdSelect_config.EMPTY_MESSAGE)) : this.isDepth ? (this.renderOptions(this.filteredOptions)) : (this.filteredOptions.map(option => (index.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) })))))));
|
|
687
687
|
}
|
|
688
688
|
static get watchers() { return {
|
|
689
689
|
"searchKeyword": [{
|
|
@@ -751,7 +751,7 @@ const SdSelectTrigger = class {
|
|
|
751
751
|
? sdSelect_config.SELECT_COLORS.icon.disabled
|
|
752
752
|
: sdSelect_config.SELECT_COLORS.icon.default,
|
|
753
753
|
};
|
|
754
|
-
return (index.h("div", { key: '
|
|
754
|
+
return (index.h("div", { key: 'b2f140907d6e4454a3adfb9d3dd9babd9058c178', ref: el => {
|
|
755
755
|
this.triggerEl = el;
|
|
756
756
|
}, role: "button", "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? 'true' : 'false', tabindex: this.disabled ? -1 : 0, class: {
|
|
757
757
|
'sd-select-trigger': true,
|
|
@@ -762,7 +762,7 @@ const SdSelectTrigger = class {
|
|
|
762
762
|
e.preventDefault();
|
|
763
763
|
this.handleClick();
|
|
764
764
|
}
|
|
765
|
-
}, onFocus: this.handleFocus, onBlur: this.handleBlur }, index.h("div", { key: '
|
|
765
|
+
}, onFocus: this.handleFocus, onBlur: this.handleBlur }, index.h("div", { key: '6803bc50c5f62dce1b1e9d874559f8ca5fca7b75', class: "sd-select-trigger__content" }, hasValue && sdSelect_config.isHtmlLabel(this.displayText) ? (index.h("span", { class: "sd-select-trigger__text", ref: el => el && (el.innerHTML = sanitizeInlineHtml.sanitizeInlineHtml(this.displayText)) })) : (index.h("span", { class: "sd-select-trigger__text" }, hasValue ? this.displayText : (this.placeholder ?? '선택'))), index.h("sd-icon", { key: '397264b3179fb6699c1ee5454f76ac9d0779488c', name: "chevronDown", size: 12, color: "var(--trigger-icon-color)", class: {
|
|
766
766
|
'sd-select-trigger__icon': true,
|
|
767
767
|
'sd-select-trigger__icon--open': this.isOpen,
|
|
768
768
|
} }))));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BTqAmfdr.js');
|
|
4
4
|
|
|
5
5
|
var switchTokens = {
|
|
6
6
|
"switch": {
|
|
@@ -109,7 +109,7 @@ const SdSwitch = class {
|
|
|
109
109
|
'--sd-switch-line-height': `${SWITCH_TYPOGRAPHY.lineHeight}px`,
|
|
110
110
|
'--sd-switch-text-decoration': SWITCH_TYPOGRAPHY.textDecoration,
|
|
111
111
|
};
|
|
112
|
-
return (index.h("label", { key: '
|
|
112
|
+
return (index.h("label", { key: 'ae476f0bb6600cdb10bafd1a06ced3e60d50a2f6', "aria-label": this.label || 'switch', class: this.switchClasses, style: cssVars }, index.h("input", { key: '765320376e0cd0ec82b980a264b979c381907f75', type: "checkbox", checked: this.value, disabled: this.disabled, onInput: this.handleChange }), index.h("div", { key: 'f00db86513aa3da5c17a5a7e13d5928806a6fc0a', class: "sd-switch__track" }, index.h("div", { key: '12f2f817acace26a8cbfc9075e0319f3e5c2ada4', class: "sd-switch__knob" })), this.label && index.h("span", { key: '24598221b90e8ea9504ff80a464a10e3e5310e98', class: "sd-switch__label" }, this.label)));
|
|
113
113
|
}
|
|
114
114
|
};
|
|
115
115
|
SdSwitch.style = sdSwitchCss();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BTqAmfdr.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
|
let urlAlphabet =
|
|
@@ -19,7 +19,7 @@ let nanoid = (size = 21) => {
|
|
|
19
19
|
return id
|
|
20
20
|
};
|
|
21
21
|
|
|
22
|
-
const sdTableCss = () => `sd-table,:host{display:block;width:100%;height:var(--table-host-height);max-width:100%;min-width:0}sd-table *,:host *{box-sizing:border-box}.sd-table__container{height:100%;width:var(--table-width, 100%);max-width:100%;min-width:0;color:#222222;display:flex;flex-direction:column}.sd-table__wrapper{width:100%;min-width:0;height:calc(100% - var(--pagination-height, 0px));border:var(--table-border-width, 1px) solid var(--table-border-color, #E1E1E1);border-radius:var(--table-radius, 8px);overflow:hidden}.sd-table__wrapper--radius-useTop{border-radius:0 0 var(--table-radius, 8px) var(--table-radius, 8px)}.sd-table__wrapper--radius-full{border-radius:0}.sd-table__scroll-container{width:100%;height:100%;display:flex;flex-direction:column;position:relative;font-family:var(--table-body-font-family, inherit);font-weight:var(--table-body-font-weight, 400);font-size:var(--table-body-font-size, 12px);line-height:var(--table-body-line-height, 20px);text-decoration:var(--table-body-text-decoration, none);overflow:auto;background:#FFFFFF}.sd-table__scroll-container--loading{overflow:hidden !important;pointer-events:none}.sd-table__scroll-container--no-data{overflow:hidden;pointer-events:none}.sd-table__no-data{position:absolute;top:36px;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;font-size:var(--table-body-font-size, 12px);color:#888888;pointer-events:none;z-index:200;background:rgba(255, 255, 255, 0.6)}.sd-table__no-data-header-overlay{position:absolute;top:0;left:0;right:0;height:36px;background:rgba(255, 255, 255, 0.6);z-index:210;pointer-events:none}.sd-table__no-data-content{pointer-events:auto;min-height:60px;width:100%;display:flex;align-items:center;justify-content:center}.sd-table__loading{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(255, 255, 255, 0.6);z-index:200;display:flex;align-items:center;justify-content:center;pointer-events:none}.sd-table{background-color:white;display:table;width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.sd-table--selectable sd-thead,.sd-table--selectable sd-tbody{--selectable:true}.sd-table--sticky-header sd-thead thead{position:sticky;top:0;z-index:120}.sd-table--sticky-column sd-thead,.sd-table--sticky-column sd-tbody{--sticky-column:true}.sd-table--scrolled-left sd-thead,.sd-table--scrolled-left sd-tbody{--scrolled-left:true}.sd-table--scrolled-right sd-thead,.sd-table--scrolled-right sd-tbody{--scrolled-right:true}.sd-table--resizable sd-thead{--resizable:true}.sd-table--no-data sd-thead{opacity:0.4}.sd-table__pagination{position:relative;background:#F9F9F9;height:48px;display:flex;align-items:center;justify-content:center;border:var(--table-border-width, 1px) solid var(--table-border-color, #E1E1E1);margin-top:-1px;border-radius:var(--table-radius, 8px)}.sd-table__pagination sd-select{position:absolute;right:10px;top:50%;transform:translateY(-50%)}`;
|
|
22
|
+
const sdTableCss = () => `sd-table,:host{display:block;width:100%;height:var(--table-host-height);max-width:100%;min-width:0}sd-table *,:host *{box-sizing:border-box}.sd-table__container{height:100%;width:var(--table-width, 100%);max-width:100%;min-width:0;color:#222222;display:flex;flex-direction:column}.sd-table__wrapper{width:100%;min-width:0;height:calc(100% - var(--pagination-height, 0px));border:var(--table-border-width, 1px) solid var(--table-border-color, #E1E1E1);border-radius:var(--table-radius, 8px);overflow:hidden}.sd-table__wrapper--radius-useTop{border-radius:0 0 var(--table-radius, 8px) var(--table-radius, 8px)}.sd-table__wrapper--radius-full{border-radius:0}.sd-table__scroll-container{width:100%;height:100%;display:flex;flex-direction:column;position:relative;font-family:var(--table-body-font-family, inherit);font-weight:var(--table-body-font-weight, 400);font-size:var(--table-body-font-size, 12px);line-height:var(--table-body-line-height, 20px);text-decoration:var(--table-body-text-decoration, none);overflow:auto;background:#FFFFFF}.sd-table__scroll-container::-webkit-scrollbar{opacity:0;width:8px;background:#E5E5E5}.sd-table__scroll-container::-webkit-scrollbar:horizontal{height:8px}.sd-table__scroll-container::-webkit-scrollbar-thumb{height:80px;background-color:#CCCCCC;border-radius:4px}.sd-table__scroll-container::-webkit-scrollbar-track{background-color:#E5E5E5}.sd-table__scroll-container--loading{overflow:hidden !important;pointer-events:none}.sd-table__scroll-container--no-data{overflow:hidden;pointer-events:none}.sd-table__no-data{position:absolute;top:36px;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;font-size:var(--table-body-font-size, 12px);color:#888888;pointer-events:none;z-index:200;background:rgba(255, 255, 255, 0.6)}.sd-table__no-data-header-overlay{position:absolute;top:0;left:0;right:0;height:36px;background:rgba(255, 255, 255, 0.6);z-index:210;pointer-events:none}.sd-table__no-data-content{pointer-events:auto;min-height:60px;width:100%;display:flex;align-items:center;justify-content:center}.sd-table__loading{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(255, 255, 255, 0.6);z-index:200;display:flex;align-items:center;justify-content:center;pointer-events:none}.sd-table{background-color:white;display:table;width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.sd-table--selectable sd-thead,.sd-table--selectable sd-tbody{--selectable:true}.sd-table--sticky-header sd-thead thead{position:sticky;top:0;z-index:120}.sd-table--sticky-column sd-thead,.sd-table--sticky-column sd-tbody{--sticky-column:true}.sd-table--scrolled-left sd-thead,.sd-table--scrolled-left sd-tbody{--scrolled-left:true}.sd-table--scrolled-right sd-thead,.sd-table--scrolled-right sd-tbody{--scrolled-right:true}.sd-table--resizable sd-thead{--resizable:true}.sd-table--no-data sd-thead{opacity:0.4}.sd-table__pagination{position:relative;background:#F9F9F9;height:48px;display:flex;align-items:center;justify-content:center;border:var(--table-border-width, 1px) solid var(--table-border-color, #E1E1E1);margin-top:-1px;border-radius:var(--table-radius, 8px)}.sd-table__pagination sd-select{position:absolute;right:10px;top:50%;transform:translateY(-50%)}`;
|
|
23
23
|
|
|
24
24
|
const SdTable = class {
|
|
25
25
|
constructor(hostRef) {
|
|
@@ -880,25 +880,25 @@ const SdTable = class {
|
|
|
880
880
|
'--table-selectable-width': `${sdTable_config.TABLE_SELECTABLE_COLUMN_WIDTH}px`,
|
|
881
881
|
'--table-host-height': hostHeight,
|
|
882
882
|
};
|
|
883
|
-
return (index.h(index.Host, { key: '
|
|
883
|
+
return (index.h(index.Host, { key: 'd080b561e43c55d34a5f1f6571991183ebdd39b7', style: hostStyle }, index.h("div", { key: '0ef7831905dca8fde2bb8eb6cde81e1fd9706074', class: "sd-table__container", style: {
|
|
884
884
|
'--table-width': this.width,
|
|
885
885
|
'--pagination-height': `${paginationHeight}px`,
|
|
886
|
-
} }, index.h("div", { key: '
|
|
886
|
+
} }, index.h("div", { key: 'c6a836574f4b4c3cd72a3718061dcf727d1ec823', class: {
|
|
887
887
|
'sd-table__wrapper': true,
|
|
888
888
|
'sd-table__wrapper--radius-useTop': this.radius === 'useTop',
|
|
889
889
|
'sd-table__wrapper--radius-full': this.radius === 'full',
|
|
890
|
-
} }, index.h("div", { key: '
|
|
890
|
+
} }, index.h("div", { key: '8343d8c82c4575733254ad92c968fbbb1588af1f', class: {
|
|
891
891
|
'sd-table__scroll-container': true,
|
|
892
892
|
'sd-table__scroll-container--loading': this.isLoading,
|
|
893
893
|
'sd-table__scroll-container--no-data': isNoData,
|
|
894
|
-
} }, this.isLoading && (index.h("div", { key: '
|
|
894
|
+
} }, this.isLoading && (index.h("div", { key: 'a6e049c2c1f5f825d874f25e184efb1915713074', class: "sd-table__loading", style: { top: `${this.loadingScrollTop}px` } }, index.h("sd-circle-progress", { key: 'ea110a9e185c3af02c9d0da3c2c36bd675952696', indeterminate: true }))), isNoData && (index.h(index.h.Fragment, null, index.h("div", { key: '56861d20b5bd57ed3f43f5774e67cc4ae7e6c947', class: "sd-table__no-data-header-overlay" }), index.h("div", { key: '19e463e0524b09ca72ba457b66f97dfd97fddf95', class: "sd-table__no-data" }, index.h("div", { key: 'ed0c669a55a562772d37d89f7f332759a73fbab6', class: "sd-table__no-data-content", ref: el => {
|
|
895
895
|
this.noDataContentEl = el;
|
|
896
896
|
if (el)
|
|
897
897
|
this.syncNoDataContentObserver();
|
|
898
|
-
} }, index.h("slot", { key: '
|
|
898
|
+
} }, index.h("slot", { key: '06998e931804fb94b95df49a5c4b6c5976cefe41', name: "no-data" }, index.h("span", { key: '4f639ae85d63f516f593f2d88d788f96ba7c538f' }, this.resolvedNoDataLabel)))))), index.h("table", { key: 'a32058798111bfa84bf81279bcf424d2423cebfa', class: this.tableClasses }, this.autoThead ? (index.h("slot", { name: `${resolvedTableId}-head`, onSlotchange: this.handleStructureSlotChange }, index.h("sd-thead", { rows: this.rows ?? [] }))) : (index.h("slot", { name: `${resolvedTableId}-head`, onSlotchange: this.handleStructureSlotChange })), this.autoTbody ? (index.h("slot", { name: `${resolvedTableId}-body`, onSlotchange: this.handleStructureSlotChange }, index.h("sd-tbody", { rows: this.rows ?? [] }, this.renderAutoRows()))) : (index.h("slot", { name: `${resolvedTableId}-body`, onSlotchange: this.handleStructureSlotChange }))))), this.pagination &&
|
|
899
899
|
this.pagination.rowsPerPage > 0 &&
|
|
900
900
|
this.rowCount > 0 &&
|
|
901
|
-
!this.useVirtualScroll && (index.h("div", { key: '
|
|
901
|
+
!this.useVirtualScroll && (index.h("div", { key: '9d1c500b147c2b11ea2df7cb095d9b28527b6902', class: "sd-table__pagination" }, index.h("sd-pagination", { key: 'c476d8326991890de9fd82311b0c90f0d4b92bb0', currentPage: !this.useInternalPagination ? this.pagination.page : this.currentPage, lastPage: !this.useInternalPagination ? this.pagination.lastPage : this.lastPageNumber, onSdPageChange: (e) => this.changePage(e.detail) }), this.useRowsPerPageSelect && (index.h("sd-select", { key: '275dfb2c4c3bb4c76ce71c123795d967aa155bf8', value: this.useInternalPagination
|
|
902
902
|
? this.innerRowsPerPage
|
|
903
903
|
: this.pagination.rowsPerPage, options: this.rowsPerPageOption, width: "128px", emitValue: true, onSdUpdate: e => {
|
|
904
904
|
if (!this.isRowsPerPageValue(e.detail))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var component_table = require('./component.table-
|
|
3
|
+
var component_table = require('./component.table-BrI3b--h.js');
|
|
4
4
|
var system = require('./system-MjrAugX-.js');
|
|
5
5
|
|
|
6
6
|
// ── Header Tokens ──
|
|
@@ -33,8 +33,8 @@ const TABLE_BODY_LAYOUT = {
|
|
|
33
33
|
height: component_table.tableTokens.table.body.dense.height,
|
|
34
34
|
paddingY: component_table.tableTokens.table.body.dense.paddingY,
|
|
35
35
|
},
|
|
36
|
-
paddingX: component_table.tableTokens.table.body.paddingX,
|
|
37
|
-
framePadding: component_table.tableTokens.table.body.frame
|
|
36
|
+
paddingX: component_table.tableTokens.table.body.paddingX.default,
|
|
37
|
+
framePadding: component_table.tableTokens.table.body.paddingX.frame,
|
|
38
38
|
};
|
|
39
39
|
const TABLE_BODY_TYPOGRAPHY = {
|
|
40
40
|
fontFamily: component_table.tableTokens.table.body.typography.fontFamily,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BTqAmfdr.js');
|
|
4
4
|
|
|
5
5
|
const tab = {
|
|
6
6
|
main: {
|
|
@@ -207,7 +207,7 @@ const SdTabs = class {
|
|
|
207
207
|
};
|
|
208
208
|
}
|
|
209
209
|
render() {
|
|
210
|
-
return (index.h("div", { key: '
|
|
210
|
+
return (index.h("div", { key: 'f43d5e2e441e11b57d488f8fe612a4e555006c2e', class: this.getContainerClasses(), style: this.buildCssVars() }, this.tabs.map((tab, index$1) => {
|
|
211
211
|
const badgeName = this.getBadgeName(tab);
|
|
212
212
|
return (index.h("div", { key: `tab-${index$1}`, 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 => {
|
|
213
213
|
if (e.key === 'Enter' || e.key === ' ') {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BTqAmfdr.js');
|
|
4
4
|
var constants = require('./constants-DJRV1upE.js');
|
|
5
5
|
|
|
6
6
|
const sdTdCss = () => `sd-td *{box-sizing:border-box}sd-td{display:contents}sd-td.align-left{text-align:left}sd-td.align-center{text-align:center}sd-td.align-right{text-align:right}`;
|
|
@@ -167,7 +167,7 @@ const SdTd = class {
|
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
render() {
|
|
170
|
-
return (index.h(index.Host, { key: '
|
|
170
|
+
return (index.h(index.Host, { key: '28d45d8cd629c6cdd826834cbae719fd7c851511', class: { [`align-${this.align}`]: Boolean(this.align) } }, index.h("slot", { key: '0bab0005e4513464ad18698c111a55eb684434e9' })));
|
|
171
171
|
}
|
|
172
172
|
static get watchers() { return {
|
|
173
173
|
"field": [{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BTqAmfdr.js');
|
|
4
4
|
|
|
5
5
|
const textLink = {
|
|
6
6
|
sm: {
|
|
@@ -69,8 +69,7 @@ const textLink = {
|
|
|
69
69
|
},
|
|
70
70
|
gap: "8",
|
|
71
71
|
icon: "20"
|
|
72
|
-
}
|
|
73
|
-
};
|
|
72
|
+
}};
|
|
74
73
|
var textLinkTokens = {
|
|
75
74
|
textLink: textLink
|
|
76
75
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BTqAmfdr.js');
|
|
4
4
|
|
|
5
5
|
const DEFAULT_DURATION = 4000;
|
|
6
6
|
const DEFAULT_MAX_VISIBLE = 3;
|
|
@@ -243,7 +243,7 @@ const SdToastContainer = class {
|
|
|
243
243
|
const activeToasts = toasts.filter(t => t.state !== 'exiting').reverse();
|
|
244
244
|
const indexMap = new Map();
|
|
245
245
|
activeToasts.forEach((t, i) => indexMap.set(t.id, i));
|
|
246
|
-
return (index.h("div", { key: '
|
|
246
|
+
return (index.h("div", { key: '1e9af4dd46dd901ba903518c1425ce0bc723e4b4', class: "sd-toast-container", style: this.getContainerStyles(), onMouseEnter: () => {
|
|
247
247
|
this.expanded = true;
|
|
248
248
|
this.pauseTimers();
|
|
249
249
|
}, onMouseLeave: () => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BTqAmfdr.js');
|
|
4
4
|
|
|
5
5
|
const toast = {
|
|
6
6
|
icon: "16",
|
|
@@ -93,12 +93,12 @@ const SdToast = class {
|
|
|
93
93
|
const linkColor = typeConfig.linkColor ?? typeConfig.content;
|
|
94
94
|
const useDefaultCloseIntent = ['default', 'caution', 'info'].includes(this.type);
|
|
95
95
|
const buttonName = TOAST_BUTTON_NAME_BY_TYPE[this.type] ?? TOAST_BUTTON_NAME_BY_TYPE.default;
|
|
96
|
-
return (index.h("div", { key: '
|
|
96
|
+
return (index.h("div", { key: '3d7a3fe3647010a8a96246ef3cdbfdf1550c0a91', style: {
|
|
97
97
|
'--sd-toast-bg': typeConfig.bg,
|
|
98
98
|
'--sd-toast-text': typeConfig.content,
|
|
99
99
|
'--sd-toast-icon': iconColor,
|
|
100
100
|
'--sd-toast-link': linkColor,
|
|
101
|
-
} }, index.h("div", { key: '
|
|
101
|
+
} }, index.h("div", { key: 'a863ff763bced7656cedc69f3598b3371fc13059', class: "sd-toast", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.icon && (index.h("div", { key: '7606930ad68ab81543a719db8abb61055fdaf97d', class: "sd-toast__icon" }, index.h("sd-icon", { key: '9b75fb05ab26ddab43b677482a026b5860613e07', name: this.icon, size: iconSize, color: iconColor }))), index.h("div", { key: '5fb10f690ad560f0be74b5bf6afd288318e22082', class: "sd-toast__content" }, index.h("span", { key: 'c474a5e1f215a19e47a89ba154f6149e0a875f61', class: "sd-toast__message" }, this.message)), this.link && (index.h("a", { key: 'a0dcbba791c123776ccb6de62e169359777b3bd2', href: this.link, class: "sd-toast__link", target: "_blank", rel: "noopener noreferrer" }, this.linkLabel || this.link)), this.buttonLabel && (index.h("sd-button", { key: 'b85f734cbe429207c028602b29bd5f7fa78f7910', class: "sd-toast__button", name: buttonName, label: this.buttonLabel, onSdClick: (event) => this.buttonClick.emit(event.detail) })), this.useClose && (index.h("sd-ghost-button", { key: '09cb6b946c18c1c079b036799272d7bc7bdb6480', class: "sd-toast__close", icon: "close", intent: useDefaultCloseIntent ? 'default' : 'inverse', ariaLabel: "close", size: "xs", onClick: () => this.close.emit() })))));
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
104
|
SdToast.style = sdToastCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BTqAmfdr.js');
|
|
4
4
|
|
|
5
5
|
const toggle = {
|
|
6
6
|
height: "28",
|
|
@@ -30,8 +30,7 @@ const toggle = {
|
|
|
30
30
|
hover: "#FFFFFF",
|
|
31
31
|
select: "#0075FF",
|
|
32
32
|
disabled: "#888888"
|
|
33
|
-
}
|
|
34
|
-
};
|
|
33
|
+
}};
|
|
35
34
|
var toggleTokens = {
|
|
36
35
|
toggle: toggle
|
|
37
36
|
};
|
|
@@ -124,7 +123,7 @@ const SdToggle = class {
|
|
|
124
123
|
'--sd-toggle-content-select': TOGGLE_COLORS.content.select,
|
|
125
124
|
'--sd-toggle-content-disabled': TOGGLE_COLORS.content.disabled,
|
|
126
125
|
};
|
|
127
|
-
return (index.h("label", { key: '
|
|
126
|
+
return (index.h("label", { key: 'b25e66cadfeee2714f137504ad49c8bf66622f60', class: this.toggleClasses, style: cssVars, "aria-label": this.label || 'toggle' }, this.label, index.h("input", { key: '276f7411899bcb14db93a6f2b93cc51b5363e1c9', style: { display: 'none' }, type: "checkbox", onInput: this.handleChange })));
|
|
128
127
|
}
|
|
129
128
|
};
|
|
130
129
|
SdToggle.style = sdToggleCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BTqAmfdr.js');
|
|
4
4
|
|
|
5
5
|
const TooltipArrow = (props) => (index.h("svg", { width: "16", height: "12", viewBox: "0 0 16 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, index.h("path", { d: "M8.83205 10.7519C8.43623 11.3457 7.56377 11.3457 7.16795 10.7519L1.04907e-06 -1.39876e-06L16 0L8.83205 10.7519Z", fill: "currentColor" })));
|
|
6
6
|
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import modalTokens from "../../tokens/generated/component.modal.json";
|
|
2
|
+
import overlayTokens from "../../tokens/generated/component.overlay.json";
|
|
2
3
|
const { modal } = modalTokens;
|
|
3
4
|
const action = modal.action;
|
|
5
|
+
const overlayHeader = overlayTokens.overlay.header;
|
|
4
6
|
export const ACTION_MODAL_LAYOUT = {
|
|
5
7
|
radius: Number(modal.radius),
|
|
6
8
|
bg: modal.bg,
|
|
7
|
-
headerPaddingX: Number(
|
|
8
|
-
headerPaddingY: Number(
|
|
9
|
-
headerGap: Number(
|
|
9
|
+
headerPaddingX: Number(overlayHeader.paddingX),
|
|
10
|
+
headerPaddingY: Number(overlayHeader.paddingY),
|
|
11
|
+
headerGap: Number(overlayHeader.gap),
|
|
10
12
|
bodyPaddingX: Number(action.body.paddingX),
|
|
11
13
|
bodyPaddingBottom: Number(action.body.paddingBottom),
|
|
12
14
|
footerPaddingX: Number(action.footer.paddingX),
|
|
@@ -16,9 +18,9 @@ export const ACTION_MODAL_LAYOUT = {
|
|
|
16
18
|
footerBorder: action.footer.border,
|
|
17
19
|
};
|
|
18
20
|
export const ACTION_MODAL_TITLE = {
|
|
19
|
-
color:
|
|
20
|
-
fontFamily:
|
|
21
|
-
fontWeight:
|
|
22
|
-
fontSize: Number(
|
|
23
|
-
lineHeight: Number(
|
|
21
|
+
color: overlayHeader.title.color,
|
|
22
|
+
fontFamily: overlayHeader.title.typography.fontFamily,
|
|
23
|
+
fontWeight: overlayHeader.title.typography.fontWeight,
|
|
24
|
+
fontSize: Number(overlayHeader.title.typography.fontSize),
|
|
25
|
+
lineHeight: Number(overlayHeader.title.typography.lineHeight),
|
|
24
26
|
};
|
|
@@ -114,6 +114,9 @@ sd-chip-input .sd-chip-input__suggestions {
|
|
|
114
114
|
overflow-x: hidden;
|
|
115
115
|
outline: none;
|
|
116
116
|
}
|
|
117
|
+
sd-chip-input .sd-chip-input__suggestions--autocomplete {
|
|
118
|
+
width: max-content;
|
|
119
|
+
}
|
|
117
120
|
sd-chip-input .sd-chip-input__suggestion-item {
|
|
118
121
|
display: flex;
|
|
119
122
|
flex-shrink: 0;
|
|
@@ -37,6 +37,8 @@ export class SdChipInput {
|
|
|
37
37
|
recommendedItems = [];
|
|
38
38
|
/** 추천 항목 로딩 중 여부 */
|
|
39
39
|
loadingRecommendedItems = false;
|
|
40
|
+
/** 자동완성 드롭다운 최소 너비 (숫자면 px, 문자열이면 그대로 적용. 없으면 입력 필드 너비를 사용) */
|
|
41
|
+
autocompleteMinWidth;
|
|
40
42
|
// sd-field props
|
|
41
43
|
/** 레이블 텍스트 */
|
|
42
44
|
label = '';
|
|
@@ -67,6 +69,7 @@ export class SdChipInput {
|
|
|
67
69
|
inputEl;
|
|
68
70
|
formField;
|
|
69
71
|
chipInputRef;
|
|
72
|
+
fieldRef;
|
|
70
73
|
get value() {
|
|
71
74
|
return this.internalValues;
|
|
72
75
|
}
|
|
@@ -386,13 +389,11 @@ export class SdChipInput {
|
|
|
386
389
|
this.inputValue === '' &&
|
|
387
390
|
!this.suppressRecommendations &&
|
|
388
391
|
(recommendedItems.length > 0 || this.loadingRecommendedItems);
|
|
389
|
-
const
|
|
390
|
-
const
|
|
391
|
-
const
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
const suggestionBoxStyle = {
|
|
395
|
-
width: `${this.chipInputRef?.offsetWidth ?? 0}px`,
|
|
392
|
+
const isAutocompleteLoading = showAutocomplete && this.loadingSuggestions && suggestions.length === 0;
|
|
393
|
+
const isRecommendationLoading = showRecommendations && this.loadingRecommendedItems && recommendedItems.length === 0;
|
|
394
|
+
const autocompleteListItems = showAutocomplete ? suggestions : [];
|
|
395
|
+
const recommendationListItems = showRecommendations ? recommendedItems : [];
|
|
396
|
+
const suggestionBoxBaseStyle = {
|
|
396
397
|
display: 'flex',
|
|
397
398
|
flexDirection: 'column',
|
|
398
399
|
boxSizing: 'border-box',
|
|
@@ -405,6 +406,22 @@ export class SdChipInput {
|
|
|
405
406
|
overflowX: 'hidden',
|
|
406
407
|
outline: 'none',
|
|
407
408
|
};
|
|
409
|
+
// 추천리스트는 입력창 전체 너비를 기준으로 노출된다.
|
|
410
|
+
const suggestionBoxStyle = {
|
|
411
|
+
...suggestionBoxBaseStyle,
|
|
412
|
+
width: `${this.chipInputRef?.offsetWidth ?? 0}px`,
|
|
413
|
+
};
|
|
414
|
+
// 자동완성은 입력 중인 칩(필드) 기준으로 노출되며, 최소 너비를 유지한 채 텍스트 길이에 따라 늘어난다.
|
|
415
|
+
const autocompleteMinWidth = this.autocompleteMinWidth != null
|
|
416
|
+
? typeof this.autocompleteMinWidth === 'number'
|
|
417
|
+
? `${this.autocompleteMinWidth}px`
|
|
418
|
+
: this.autocompleteMinWidth
|
|
419
|
+
: `${this.fieldRef?.offsetWidth ?? 0}px`;
|
|
420
|
+
const autocompleteBoxStyle = {
|
|
421
|
+
...suggestionBoxBaseStyle,
|
|
422
|
+
width: 'max-content',
|
|
423
|
+
minWidth: autocompleteMinWidth,
|
|
424
|
+
};
|
|
408
425
|
const suggestionItemStyle = {
|
|
409
426
|
display: 'flex',
|
|
410
427
|
flexShrink: '0',
|
|
@@ -431,38 +448,20 @@ export class SdChipInput {
|
|
|
431
448
|
fontFamily: CHIP_INPUT_SUGGESTIONS.itemFontFamily,
|
|
432
449
|
color: CHIP_INPUT_SUGGESTIONS.emptyColor,
|
|
433
450
|
};
|
|
434
|
-
return (h("sd-field", { key: '
|
|
451
|
+
return (h("sd-field", { key: 'c5f94bcc3343549d225d8310e98d424bd74471e5', name: this.name, label: this.label, labelWidth: this.labelWidth, hint: this.hint, errorMessage: this.errorMessage, rules: [this.duplicateRule, ...(this.rules ?? [])], error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, status: this.status, size: this.size, width: this.width, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), style: cssVars, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, h("div", { key: '40a0d8d08b33ff454eae29e815afd0378b93d927', class: "sd-chip-input", ref: el => (this.chipInputRef = el), onClick: this.handleContainerClick }, (this.internalValues ?? []).map((value, i) => (h("sd-chip", { key: i, value: value, error: this.getChipError(i), disabled: this.getChipDisabled(i), editable: false, onSdRemove: () => this.handleChipRemove(i) }))), !isMaxReached && (h("div", { key: 'c40b423a77272adaded79c3bc45af2084ef76ecf', class: {
|
|
435
452
|
'sd-chip-input__field': true,
|
|
436
453
|
'sd-chip-input__field--filled': this.inputValue !== '',
|
|
437
454
|
'sd-chip-input__field--empty': this.inputValue === '' && this.internalValues.length > 0 && !this.focused,
|
|
438
|
-
}, "data-value": this.inputValue !== ''
|
|
455
|
+
}, ref: el => (this.fieldRef = el), "data-value": this.inputValue !== ''
|
|
439
456
|
? this.inputValue
|
|
440
457
|
: this.internalValues.length === 0
|
|
441
458
|
? this.placeholder
|
|
442
|
-
: '' }, h("input", { key: '
|
|
459
|
+
: '' }, h("input", { key: '05ff9dc453577cb53a6284b9d064ef3e572bbc83', ref: el => (this.inputEl = el), class: "sd-chip-input__input", placeholder: this.internalValues.length === 0 ? this.placeholder : '', disabled: this.disabled, size: 1, onInput: this.handleInput, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur }))), showResetArea && (
|
|
443
460
|
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
444
|
-
h("div", { key: '
|
|
461
|
+
h("div", { key: 'f2e5336974905e3b7672567b29ad4f902ed2bcdf', class: "sd-chip-input__reset",
|
|
445
462
|
// 리셋 버튼 클릭 시 input blur → portal unmount → refocus → 새 portal mount로
|
|
446
463
|
// 두 wrapper가 body에 잠깐 겹치는 타이밍 이슈를 방지한다.
|
|
447
|
-
onMouseDown: e => e.preventDefault() }, this.inputValue === '' && h("span", { key: '
|
|
448
|
-
display: 'flex',
|
|
449
|
-
flexWrap: 'wrap',
|
|
450
|
-
gap: '8px',
|
|
451
|
-
padding: '12px',
|
|
452
|
-
} }, recommendedItems.map((item, i) => {
|
|
453
|
-
const isSelected = (this.internalValues ?? []).includes(item);
|
|
454
|
-
const isActive = i === this.activeSuggestionIndex && !isSelected;
|
|
455
|
-
return (h("div", { key: item, role: "option", tabIndex: -1, "aria-selected": isSelected || isActive, "aria-disabled": isSelected ? 'true' : undefined, style: {
|
|
456
|
-
cursor: isSelected ? 'default' : 'pointer',
|
|
457
|
-
borderRadius: '999px',
|
|
458
|
-
outline: isActive ? '2px solid #0075FF' : undefined,
|
|
459
|
-
outlineOffset: '1px',
|
|
460
|
-
}, onMouseDown: e => {
|
|
461
|
-
e.preventDefault();
|
|
462
|
-
if (!isSelected)
|
|
463
|
-
this.addChip(item);
|
|
464
|
-
} }, h("sd-chip", { value: item, disabled: isSelected, editable: false, showRemove: false })));
|
|
465
|
-
}))) : (dropdownItems.map((item, i) => {
|
|
464
|
+
onMouseDown: e => e.preventDefault() }, this.inputValue === '' && h("span", { key: '65f0bcd6086029ab9637dd6c7a64524478c11e76', class: "sd-chip-input__divider" }), this.maxCount != null && (h("span", { key: 'd4702a86e9f1ca03bf74937dfb9e0c822e9722bf', class: "sd-chip-input__max-count" }, "\uCD5C\uB300 ", this.maxCount, "\uAC1C")), this.useReset && this.internalValues.length > 0 && (h("sd-text-link", { key: '70a5d27129e37e49d8d8d7f92b6ad9471575fa71', icon: "reset", iconColor: CHIP_INPUT_RESET.iconColor, label: "\uC785\uB825 \uCD08\uAE30\uD654", underline: true, disabled: this.disabled, style: { '--sd-text-link-color': CHIP_INPUT_RESET.labelColor }, onSdClick: this.handleResetInput })))), h("sd-portal", { key: '24e9ac9124c514debc6df00ed663c20ac0f92bf7', class: "sd-chip-input__autocomplete-portal", open: showAutocomplete, parentRef: this.fieldRef ?? null, viewportPadding: SdChipInput.SUGGESTIONS_VIEWPORT_PADDING, onSdClose: this.closeSuggestions }, h("div", { key: 'd0e7697fc7a8a754d6b1ce6a34c205bbc7630a81', class: "sd-chip-input__suggestions sd-chip-input__suggestions--autocomplete", role: "listbox", style: autocompleteBoxStyle }, isAutocompleteLoading && (h("div", { key: '2709073f6174ede46b5d9e4d0c72f9b2dc207c54', class: "sd-chip-input__suggestions-empty", style: suggestionEmptyStyle }, "\uBD88\uB7EC\uC624\uB294 \uC911...")), autocompleteListItems.map((item, i) => {
|
|
466
465
|
const isSelected = (this.internalValues ?? []).includes(item);
|
|
467
466
|
const isActive = i === this.activeSuggestionIndex && !isSelected;
|
|
468
467
|
return (h("div", { key: item, class: {
|
|
@@ -488,6 +487,24 @@ export class SdChipInput {
|
|
|
488
487
|
if (!isSelected)
|
|
489
488
|
this.addChip(item);
|
|
490
489
|
} }, h("span", { style: { flex: '1' } }, item), isSelected && (h("sd-icon", { name: "check", size: "12", style: { color: '#0075FF', flexShrink: '0' } }))));
|
|
490
|
+
}))), h("sd-portal", { key: '96424b38ffe1ec646b48fdea0b65cdb9dbc2caf7', class: "sd-chip-input__recommendation-portal", open: showRecommendations, parentRef: this.chipInputRef ?? null, viewportPadding: SdChipInput.SUGGESTIONS_VIEWPORT_PADDING, onSdClose: this.closeSuggestions }, h("div", { key: '2ae809c5d03b662e98252768ac3f7ac44730dbb7', class: "sd-chip-input__suggestions", role: "listbox", style: suggestionBoxStyle }, isRecommendationLoading && (h("div", { key: '3dbf23b89e923762c0ee092f9f5f724a043bd3a6', class: "sd-chip-input__suggestions-empty", style: suggestionEmptyStyle }, "\uBD88\uB7EC\uC624\uB294 \uC911...")), h("div", { key: 'ebbccb03b333bed84a88d1ca10f0e4e142211582', style: {
|
|
491
|
+
display: 'flex',
|
|
492
|
+
flexWrap: 'wrap',
|
|
493
|
+
gap: '8px',
|
|
494
|
+
padding: '12px',
|
|
495
|
+
} }, recommendationListItems.map((item, i) => {
|
|
496
|
+
const isSelected = (this.internalValues ?? []).includes(item);
|
|
497
|
+
const isActive = i === this.activeSuggestionIndex && !isSelected;
|
|
498
|
+
return (h("div", { key: item, role: "option", tabIndex: -1, "aria-selected": isSelected || isActive, "aria-disabled": isSelected ? 'true' : undefined, style: {
|
|
499
|
+
cursor: isSelected ? 'default' : 'pointer',
|
|
500
|
+
borderRadius: '999px',
|
|
501
|
+
outline: isActive ? '2px solid #0075FF' : undefined,
|
|
502
|
+
outlineOffset: '1px',
|
|
503
|
+
}, onMouseDown: e => {
|
|
504
|
+
e.preventDefault();
|
|
505
|
+
if (!isSelected)
|
|
506
|
+
this.addChip(item);
|
|
507
|
+
} }, h("sd-chip", { value: item, disabled: isSelected, editable: false, showRemove: false })));
|
|
491
508
|
})))))));
|
|
492
509
|
}
|
|
493
510
|
static get is() { return "sd-chip-input"; }
|
|
@@ -823,6 +840,25 @@ export class SdChipInput {
|
|
|
823
840
|
"attribute": "loading-recommended-items",
|
|
824
841
|
"defaultValue": "false"
|
|
825
842
|
},
|
|
843
|
+
"autocompleteMinWidth": {
|
|
844
|
+
"type": "any",
|
|
845
|
+
"mutable": false,
|
|
846
|
+
"complexType": {
|
|
847
|
+
"original": "string | number",
|
|
848
|
+
"resolved": "number | string | undefined",
|
|
849
|
+
"references": {}
|
|
850
|
+
},
|
|
851
|
+
"required": false,
|
|
852
|
+
"optional": true,
|
|
853
|
+
"docs": {
|
|
854
|
+
"tags": [],
|
|
855
|
+
"text": "\uC790\uB3D9\uC644\uC131 \uB4DC\uB86D\uB2E4\uC6B4 \uCD5C\uC18C \uB108\uBE44 (\uC22B\uC790\uBA74 px, \uBB38\uC790\uC5F4\uC774\uBA74 \uADF8\uB300\uB85C \uC801\uC6A9. \uC5C6\uC73C\uBA74 \uC785\uB825 \uD544\uB4DC \uB108\uBE44\uB97C \uC0AC\uC6A9)"
|
|
856
|
+
},
|
|
857
|
+
"getter": false,
|
|
858
|
+
"setter": false,
|
|
859
|
+
"reflect": false,
|
|
860
|
+
"attribute": "autocomplete-min-width"
|
|
861
|
+
},
|
|
826
862
|
"label": {
|
|
827
863
|
"type": "string",
|
|
828
864
|
"mutable": false,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import spinnerTokens from "../../tokens/generated/component.spinner.json";
|
|
2
1
|
import progressTokens from "../../tokens/generated/component.progress.json";
|
|
3
2
|
import systemTokens from "../../tokens/generated/system.json";
|
|
4
3
|
export const CIRCLE_PROGRESS_LABEL_COLOR = progressTokens.progress.color.label;
|
|
@@ -6,8 +5,8 @@ export const CIRCLE_PROGRESS_PERCENT_ZERO_COLOR = systemTokens.color.fg.tertiary
|
|
|
6
5
|
// TODO: error/complete 색상 및 inverse 흰색은 토큰 반영 후 교체
|
|
7
6
|
export const CIRCLE_PROGRESS_COLOR_MAP = {
|
|
8
7
|
primary: {
|
|
9
|
-
arc:
|
|
10
|
-
track:
|
|
8
|
+
arc: progressTokens.progress.active.color,
|
|
9
|
+
track: progressTokens.progress.color.track,
|
|
11
10
|
},
|
|
12
11
|
inverse: {
|
|
13
12
|
arc: '#FFFFFF',
|
|
@@ -15,11 +14,11 @@ export const CIRCLE_PROGRESS_COLOR_MAP = {
|
|
|
15
14
|
},
|
|
16
15
|
error: {
|
|
17
16
|
arc: '#E30000',
|
|
18
|
-
track:
|
|
17
|
+
track: progressTokens.progress.color.track,
|
|
19
18
|
},
|
|
20
19
|
complete: {
|
|
21
20
|
arc: '#01BB4B',
|
|
22
|
-
track:
|
|
21
|
+
track: progressTokens.progress.color.track,
|
|
23
22
|
},
|
|
24
23
|
};
|
|
25
24
|
export const CIRCLE_PROGRESS_VIEWBOX_SIZE = 80;
|
|
@@ -31,7 +31,7 @@ export class SdCircleProgress {
|
|
|
31
31
|
}
|
|
32
32
|
const c = CIRCLE_PROGRESS_VIEWBOX_SIZE / 2;
|
|
33
33
|
const showPercent = !this.indeterminate;
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '49f42179ae3f58775dda407b2a0fe3ad01baf2b8', style: hostStyle }, h("svg", { key: 'f2bcc5ae953409481b823fc7dd754f1e68bc47d8', class: "sd-circle-progress", viewBox: `0 0 ${CIRCLE_PROGRESS_VIEWBOX_SIZE} ${CIRCLE_PROGRESS_VIEWBOX_SIZE}`, xmlns: "http://www.w3.org/2000/svg" }, h("circle", { key: '1dbbe8d19a29cd271c8fa483497ca085ee10831f', class: "sd-circle-progress__track", cx: c, cy: c, r: CIRCLE_PROGRESS_RADIUS, fill: "none", "stroke-width": CIRCLE_PROGRESS_STROKE_WIDTH }), h("circle", { key: '86e6514b2986e5574a78e15e0e3299d8cde858cc', class: "sd-circle-progress__arc", cx: c, cy: c, r: CIRCLE_PROGRESS_RADIUS, fill: "none", "stroke-width": CIRCLE_PROGRESS_STROKE_WIDTH, "stroke-linecap": "round", style: arcStyle })), showPercent && (h("span", { key: '38d0dfc1f810acbe086852b24d83af2d4f707f2a', class: "sd-circle-progress__percent" }, Math.round(this.clampedValue), "%")), this.label && h("span", { key: 'b10ae78d8b3894b89f0096bea66773006bf526e9', class: "sd-circle-progress__label" }, this.label)));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "sd-circle-progress"; }
|
|
37
37
|
static get originalStyleUrls() {
|
|
@@ -88,9 +88,9 @@ export class SdConfirmModal {
|
|
|
88
88
|
const type = this.resolvedType;
|
|
89
89
|
const iconName = CONFIRM_MODAL_ICON_MAP[type];
|
|
90
90
|
const iconColor = CONFIRM_MODAL_ICON_COLOR[type];
|
|
91
|
-
return (h("div", { key: '
|
|
91
|
+
return (h("div", { key: '396bef971efaab6638586fa1a067eae54c1897f4', class: "sd-confirm-modal" }, h("sd-ghost-button", { key: '4716168808371f4515bf763e77198386fc9fe7cf', class: "sd-confirm-modal__close-button", icon: "close", ariaLabel: "close", onClick: () => this.close.emit() }), iconName && (h("sd-icon", { key: '1ab7ca2c5262374a0823a8e5c501758433c25051', class: "sd-confirm-modal__icon", name: iconName, size: TITLE_ICON_SIZE, color: iconColor })), h("h2", { key: 'a190f975d27153e4d928c95395f13ecd8ba0667a', class: `sd-confirm-modal__title ${this.titleClass ?? ''}` }, this.modalTitle), h("div", { key: 'da7821097377b7a9781df87ae40b2439a103ff9b', class: "sd-confirm-modal__body" }, (this.topMessage ?? []).length > 0 && (h("div", { key: 'ced23315888ad43b3d91b8bb5388b77e517dd52a', class: "sd-confirm-modal__message" }, (this.topMessage ?? []).map(msg => (h("p", { class: "sd-confirm-modal__message-text", innerHTML: sanitizeInlineHtml(msg) }))))), this.showContentBox && (h("div", { key: '5bdbe145bdb6639ebe582e7295f413a4b1990c15', class: "sd-confirm-modal__content-box" }, this.tagContents ? (h("div", { class: "sd-confirm-modal__custom-content", ref: el => {
|
|
92
92
|
this.customContentRef = el;
|
|
93
|
-
} })) : (h("slot", { onSlotchange: () => this.syncHasSlottedContent() }, this.tagLabel && (h("sd-tag", { name: this.tagPreset ?? 'square_sm_grey', label: this.tagLabel })), this.slotLabel && (h("span", { class: "sd-confirm-modal__slot-label" }, this.slotLabel)))))), (this.bottomMessage ?? []).length > 0 && (h("div", { key: '
|
|
93
|
+
} })) : (h("slot", { onSlotchange: () => this.syncHasSlottedContent() }, this.tagLabel && (h("sd-tag", { name: this.tagPreset ?? 'square_sm_grey', label: this.tagLabel })), this.slotLabel && (h("span", { class: "sd-confirm-modal__slot-label" }, this.slotLabel)))))), (this.bottomMessage ?? []).length > 0 && (h("div", { key: 'e99adc95c95be16945407d54833164908aad0b50', class: "sd-confirm-modal__message" }, (this.bottomMessage ?? []).map(msg => (h("p", { class: "sd-confirm-modal__message-text", innerHTML: sanitizeInlineHtml(msg) })))))), h("div", { key: '20a6660323e1d9f4ee096f0c07bf0596f5a2445a', class: "sd-confirm-modal__button" }, this.subButtonLabel && (h("sd-button", { key: '73141dd6fc6f703bff11e71ca9820cf3e1045466', name: SUB_BUTTON_PRESET, label: this.subButtonLabel, onSdClick: () => this.cancel.emit() })), h("sd-button", { key: 'bed2d910b4b35d59897e14222f86f20a7e8c3bde', name: this.resolvedMainButton, label: this.mainButtonLabel ?? '확인', onSdClick: () => this.ok.emit() }))));
|
|
94
94
|
}
|
|
95
95
|
static get is() { return "sd-confirm-modal"; }
|
|
96
96
|
static get originalStyleUrls() {
|