@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
package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.js
CHANGED
|
@@ -38,7 +38,7 @@ export class SdDatePickerTrigger {
|
|
|
38
38
|
? DATEPICKER_COLORS.icon.disabled
|
|
39
39
|
: DATEPICKER_COLORS.icon.default,
|
|
40
40
|
};
|
|
41
|
-
return (h("div", { key: '
|
|
41
|
+
return (h("div", { key: '6fbd05e53170cb323d3db5fe5fb7bf17e03f3af9', role: "button", tabindex: this.disabled ? -1 : 0, class: {
|
|
42
42
|
'sd-date-picker-trigger': true,
|
|
43
43
|
'sd-date-picker-trigger--disabled': this.disabled,
|
|
44
44
|
}, style: cssVars, onClick: this.handleClick, onKeyDown: e => {
|
|
@@ -46,7 +46,7 @@ export class SdDatePickerTrigger {
|
|
|
46
46
|
e.preventDefault();
|
|
47
47
|
this.handleClick();
|
|
48
48
|
}
|
|
49
|
-
} }, h("sd-icon", { key: '
|
|
49
|
+
} }, h("sd-icon", { key: '60e23369acd45ae6a74b076c08309644a10aceb3', name: "date", size: Number(sizeTokens.iconSize), color: "var(--trigger-icon-color)", class: "sd-date-picker-trigger__icon" }), h("span", { key: '5db37f4d71914215e4ae4236791dd3e0eda10c96', class: "sd-date-picker-trigger__text" }, hasValue ? this.displayText : this.placeholder)));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "sd-date-picker-trigger"; }
|
|
52
52
|
static get originalStyleUrls() {
|
|
@@ -116,9 +116,9 @@ export class SdDatePicker {
|
|
|
116
116
|
'--sd-system-color-field-border-focus': DATEPICKER_COLORS.border.focus,
|
|
117
117
|
'--sd-system-color-field-bg-default': DATEPICKER_COLORS.bg.default,
|
|
118
118
|
};
|
|
119
|
-
return (h("sd-field", { key: '
|
|
119
|
+
return (h("sd-field", { key: '4359c9ce80bfc919088774a4458c730c427aa3f5', 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, size: this.size, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, h("div", { key: '638f4e59c9a7c5c841428c424181b3d2320857eb', class: "sd-date-picker", ref: el => {
|
|
120
120
|
this.triggerRef = el;
|
|
121
|
-
} }, h("sd-date-picker-trigger", { key: '
|
|
121
|
+
} }, h("sd-date-picker-trigger", { key: 'cbfe2bee0fdea1f089860cf3a7da9b7e35327c87', displayText: this.value ?? '', placeholder: this.placeholder, disabled: this.disabled, size: this.size, onSdTriggerClick: this.handleTriggerClick })), (this.isOpen || this.isAnimatingOut) && (h("sd-portal", { key: 'a348437c5f9f53180cc7f74d5b275e4f3fbedea6', open: this.isOpen, parentRef: this.triggerRef, onSdClose: () => this.closeDropdown() }, h("sd-calendar", { key: '7dd08053b3a24d25e6149d4bc751c75eff94f752', elevated: true, value: this.value, selectable: this.selectable, onSdUpdate: this.handleSelect, onSdViewChange: this.handleViewChange })))));
|
|
122
122
|
}
|
|
123
123
|
static get is() { return "sd-date-picker"; }
|
|
124
124
|
static get originalStyleUrls() {
|
|
@@ -244,7 +244,7 @@ export class SdDateRangePickerCalendar {
|
|
|
244
244
|
'--range-panel-gap': `${RANGE_LAYOUT.panelGap}px`,
|
|
245
245
|
'--range-divider': RANGE_LAYOUT.divider,
|
|
246
246
|
};
|
|
247
|
-
return (h(Fragment, { key: '
|
|
247
|
+
return (h(Fragment, { key: '4502cc08eb9df7c24cdc9f22564fb2a4a0b2736e' }, h("div", { key: '9da4356920cbce83c548a4c5f40cb2af9e36a257', class: "sd-date-range-picker-calendar", style: cssVars }, this.renderYearNav(), h("div", { key: 'a8117206cd3d9368a86f4cc307037461c1314aad', class: "sd-date-range-picker-calendar__panels" }, this.renderPanel(this.currentYear, this.currentMonth, true), h("span", { key: '0f6cbaf53781429b3de08aa992a45f2c26444625', class: "sd-date-range-picker-calendar__divider", "aria-hidden": "true" }), this.renderPanel(this.rightYear, this.rightMonth, false)))));
|
|
248
248
|
}
|
|
249
249
|
static get is() { return "sd-date-range-picker-calendar"; }
|
|
250
250
|
static get originalStyleUrls() {
|
|
@@ -7,7 +7,7 @@ export class SdDivider {
|
|
|
7
7
|
const hostStyle = {
|
|
8
8
|
'--sd-divider-color': DIVIDER_COLORS.default,
|
|
9
9
|
};
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '73be9d4cc38b230e4cff7f8ebcdc81bd2d56e0e7', style: hostStyle }, h("hr", { key: 'a4da09faca453df8cb6ea3ed00609d4e0c238a7a', "aria-orientation": this.vertical ? 'vertical' : 'horizontal' })));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "sd-divider"; }
|
|
13
13
|
static get originalStyleUrls() {
|
|
@@ -205,18 +205,18 @@ export class SdField {
|
|
|
205
205
|
: {}),
|
|
206
206
|
}
|
|
207
207
|
: {};
|
|
208
|
-
return (h("div", { key: '
|
|
208
|
+
return (h("div", { key: '7673ab0d94a03bcfa42381c961e749cd083d7af0', class: {
|
|
209
209
|
'sd-field': true,
|
|
210
210
|
'sd-field--has-label': this.label !== '',
|
|
211
211
|
'sd-field--has-addon': addon !== '',
|
|
212
212
|
[this.fieldStatus]: this.fieldStatus !== '',
|
|
213
|
-
}, style: { ...sizeCssVars, ...labelCssVars, ...addonCssVars, ...messageCssVars } }, h("div", { key: '
|
|
213
|
+
}, style: { ...sizeCssVars, ...labelCssVars, ...addonCssVars, ...messageCssVars } }, h("div", { key: '00c5056105b72f143a8c4249b8cd3b6a60fb6d1d', class: "sd-field__wrapper" }, this.renderLabel(this.label), h("div", { key: 'e99461246fa8ceadaf7a43f1c62c474caa160972', class: "sd-field__main" }, h("div", { key: '6bf754d3a167b1ca4f23d2e1d260643e278e85f6', class: {
|
|
214
214
|
'sd-field__control': true,
|
|
215
215
|
'sd-field__control--has-addon': addon !== '',
|
|
216
216
|
}, style: this.width !== '' && this.width !== 0
|
|
217
217
|
? { width: typeof this.width === 'number' ? `${this.width}px` : this.width }
|
|
218
|
-
: {} }, addon && (h("div", { key: '
|
|
219
|
-
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)), h("slot", { key: '
|
|
218
|
+
: {} }, addon && (h("div", { key: '2d9acde5ecaeb32a94e1ba33c408160a2f2da46f', class: "sd-field__addon" }, this.icon && (h("sd-icon", { key: 'a0916124710c29478feffef96efdaffe599d4bc7', name: this.icon.name, size: this.icon.size ??
|
|
219
|
+
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)), h("slot", { key: '2e4690a4678ca40deb9e023baae24a44fd4da959' })), this.errorMsg !== '' || this.errorMessage !== '' ? (h("div", { class: "sd-field__error-message" }, this.errorMsg !== '' ? this.errorMsg : this.errorMessage)) : (this.hint !== '' && h("div", { class: "sd-field__hint" }, this.hint))))));
|
|
220
220
|
}
|
|
221
221
|
renderLabel(label) {
|
|
222
222
|
if (label == null || label === '')
|
|
@@ -173,7 +173,7 @@ export class SdFloatingPopover {
|
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
render() {
|
|
176
|
-
return h("slot", { key: '
|
|
176
|
+
return h("slot", { key: '56deedcae378d170d9debca4cf1a07599f31dfc5' });
|
|
177
177
|
}
|
|
178
178
|
static get is() { return "sd-floating-portal"; }
|
|
179
179
|
static get originalStyleUrls() {
|
|
@@ -152,12 +152,12 @@ export class SdInput {
|
|
|
152
152
|
'--sd-system-size-field-sm-height': `${sizeTokens.height}px`,
|
|
153
153
|
'--sd-system-radius-field-sm': `${sizeTokens.radius}px`,
|
|
154
154
|
};
|
|
155
|
-
return (h("sd-field", { key: '
|
|
155
|
+
return (h("sd-field", { key: 'b29a9d582bd8993bd5c31c70bab02ff553f2e167', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, readonly: this.readonly, focused: this.focused, hovered: this.hovered, status: this.status, size: this.size, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, h("label", { key: '1a6ad118628ab8cb9282953c618ca61898cf241a', class: "sd-input__content" }, h("slot", { key: '4de06d36b71ce2cad70a735e7620c2d320973962', name: "prefix" }), h("input", { key: '11c448201927a769c56fd1500ba8dd164d1b695a', name: this.name, ref: el => (this.nativeEl = el), class: `sd-input__native ${this.inputClass}`, type: this.type === 'password' && this.passwordVisible ? 'text' : (this.type ?? 'text'), value: this.internalValue || '', placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, autocomplete: this.autocomplete || undefined, maxlength: this.maxlength, minlength: this.minlength, inputmode: this.inputmode, enterkeyhint: this.enterkeyhint, spellcheck: this.spellcheck, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.inputStyle }), h("slot", { key: '4ac88a21df8e2feaa67a68cab9fca4e24985d17d', name: "suffix" }), this.clearable && this.internalValue && !this.disabled && !this.readonly && (h("sd-ghost-button", { key: '0985e2ed631ee746793563a22d766545a34d1562', icon: "close", ariaLabel: "clear", size: "xxs", disabled: this.disabled, class: "sd-input__clear-icon", onClick: async () => {
|
|
156
156
|
if (this.disabled || this.readonly)
|
|
157
157
|
return;
|
|
158
158
|
this.internalValue = '';
|
|
159
159
|
await this.formField?.sdValidate();
|
|
160
|
-
} })), this.type === 'password' && (h("sd-ghost-button", { key: '
|
|
160
|
+
} })), this.type === 'password' && (h("sd-ghost-button", { key: '16300e673a9c93209c403ec788217ba301c1d2e6', icon: this.passwordVisible ? 'visibilityOn' : 'visibilityOff', ariaLabel: "visibility", size: "xxs", disabled: this.disabled || this.readonly, class: "sd-input__password-icon", onClick: () => {
|
|
161
161
|
if (this.disabled || this.readonly)
|
|
162
162
|
return;
|
|
163
163
|
this.passwordVisible = !this.passwordVisible;
|
|
@@ -6,7 +6,7 @@ export const KEY_VALUE_TABLE_LAYOUT = {
|
|
|
6
6
|
thWidth: 120,
|
|
7
7
|
borderRadius: Number(t.radius),
|
|
8
8
|
thPaddingX: Number(t.header.paddingX),
|
|
9
|
-
padding: Number(t.keyValue.body.
|
|
9
|
+
padding: Number(t.keyValue.body.paddingY),
|
|
10
10
|
helpIconSize: 16,
|
|
11
11
|
requiredIconSize: 12,
|
|
12
12
|
gap: Number(t.header.gap),
|
|
@@ -31,7 +31,7 @@ export class SdLinearProgress {
|
|
|
31
31
|
clipPath: `inset(0 ${100 - this.clampedValue}% 0 0)`,
|
|
32
32
|
};
|
|
33
33
|
const valueText = `${Math.round(this.clampedValue)}%`;
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '2c2024fc61418c73913dc0333ddef93e667fa6f0', style: hostStyle }, h("div", { key: '44fac7a5a5795451ab8fc7c5538161cb974c3b4f', class: "sd-linear-progress__track" }, h("div", { key: '050f19c7c2ae6f14f744a1a33f933b97d9d5d448', class: "sd-linear-progress__fill", style: fillStyle }), !this.indeterminate && (h("span", { key: '70233788c6f8b5d89ec1123e40cc97c89a9d20c4', class: "sd-linear-progress__value sd-linear-progress__value--on-track" }, valueText)), !this.indeterminate && (h("span", { key: 'f2df0a4d96ca1224b902a360f4f1ef4856405ed6', class: "sd-linear-progress__value sd-linear-progress__value--on-fill", style: valueOnFillStyle }, valueText))), this.label && h("span", { key: '00d72060f073ad6e046d7c68f248df6622f87088', class: "sd-linear-progress__label" }, this.label)));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "sd-linear-progress"; }
|
|
37
37
|
static get originalStyleUrls() {
|
|
@@ -12,10 +12,10 @@ export class SdLoadingContainer {
|
|
|
12
12
|
this.visible = false;
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h("div", { key: '
|
|
15
|
+
return (h("div", { key: 'be8150fa2321621b2761f886fe96dc4a9177de64', class: {
|
|
16
16
|
'sd-loading-container': true,
|
|
17
17
|
'sd-loading-container--visible': this.visible,
|
|
18
|
-
}, "aria-hidden": this.visible ? 'false' : 'true' }, h("div", { key: '
|
|
18
|
+
}, "aria-hidden": this.visible ? 'false' : 'true' }, h("div", { key: '268f97c036ab8a15c465469ee467aa6a962e9bf0', class: "sd-loading-container__backdrop" }), h("div", { key: 'e7f8fcbffdfe462890706e896a476de7f734166e', class: "sd-loading-container__content" }, h("sd-circle-progress", { key: '60e52996e7ba895a0375f344431e721c8bd34753', indeterminate: true, type: "inverse" }), this.message && h("p", { key: 'c7cbf5b183a22a3b9f693bb427057d3fa9611724', class: "sd-loading-container__message" }, this.message))));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "sd-loading-container"; }
|
|
21
21
|
static get originalStyleUrls() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import modalTokens from "../../tokens/generated/component.modal.json";
|
|
2
|
-
import
|
|
2
|
+
import progressTokens from "../../tokens/generated/component.progress.json";
|
|
3
3
|
export const LOADING_MODAL_LAYOUT = {
|
|
4
4
|
minWidth: Number(modalTokens.modal.loading.width),
|
|
5
5
|
minHeight: Number(modalTokens.modal.loading.height),
|
|
@@ -11,8 +11,8 @@ export const LOADING_MODAL_COLORS = {
|
|
|
11
11
|
bg: modalTokens.modal.bg,
|
|
12
12
|
messageColor: modalTokens.modal.loading.message.color,
|
|
13
13
|
errorIcon: modalTokens.modal.confirm.negative.icon,
|
|
14
|
-
spinnerTrack:
|
|
15
|
-
spinnerArc:
|
|
14
|
+
spinnerTrack: progressTokens.progress.color.track,
|
|
15
|
+
spinnerArc: progressTokens.progress.active.color,
|
|
16
16
|
};
|
|
17
17
|
export const LOADING_MODAL_TYPOGRAPHY = {
|
|
18
18
|
fontFamily: modalTokens.modal.loading.message.typography.fontFamily,
|
|
@@ -54,7 +54,7 @@ export class SdLoadingModal {
|
|
|
54
54
|
'--sd-loading-modal-width': this.toCssSize(this.width) ?? `${LOADING_MODAL_LAYOUT.minWidth}px`,
|
|
55
55
|
'--sd-loading-modal-height': this.toCssSize(this.height) ?? `${LOADING_MODAL_LAYOUT.minHeight}px`,
|
|
56
56
|
};
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: '9656d6f5adb9fdad989f9f5ecae7917c3bac76db', style: hostStyle }, h("div", { key: '15ed3e3d53785d66d1bdbbfe7391ba63572aff3b', class: "sd-loading-modal" }, h("div", { key: '27a949450dd9bd2e68320a3bf6d3ce1c671a3f37', class: "sd-loading-modal__content" }, this.resolvedState === 'loading' ? (this.progress !== undefined ? (h("sd-circle-progress", { value: this.progress })) : (h("sd-circle-progress", { indeterminate: true }))) : (h("sd-icon", { class: "sd-loading-modal__icon", name: "warningOutline", size: LOADING_MODAL_LAYOUT.contentSize, color: LOADING_MODAL_COLORS.errorIcon }))), h("div", { key: '258def7abc8017fea2d22ca19fc2c4f82943c5b2', class: "sd-loading-modal__message-wrapper" }, Array.isArray(this.resolvedMessage) ? (this.resolvedMessage.map(message => (h("p", { class: "sd-loading-modal__message" }, message)))) : (h("p", { class: "sd-loading-modal__message" }, this.resolvedMessage))), this.useButton && (h("div", { key: '6bce1bdc0661f468f4e58935bb38d1a0bb76b9ad', class: "sd-loading-modal__button" }, h("sd-button", { key: 'b7e37e71fff646701fe9afc0df925709bac14835', name: LOADING_MODAL_BUTTON_PRESET, label: this.resolvedButtonLabel, onSdClick: this.handleClick }))))));
|
|
58
58
|
}
|
|
59
59
|
static get is() { return "sd-loading-modal"; }
|
|
60
60
|
static get originalStyleUrls() {
|
|
@@ -314,15 +314,15 @@ export class SdNumberInput {
|
|
|
314
314
|
'--sd-textinput-input-hint-typography-line-height': `${NUMBER_INPUT_HINT.typography.lineHeight}px`,
|
|
315
315
|
'--sd-textinput-input-contents-gap': `${NUMBER_INPUT_CONTENTS_GAP}px`,
|
|
316
316
|
};
|
|
317
|
-
return (h("sd-field", { key: '
|
|
317
|
+
return (h("sd-field", { key: '581504f245674e1644f672aa77dd22f710a3c766', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, readonly: this.readonly, focused: this.focused, hovered: this.hovered, status: this.status, size: this.size, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, h("div", { key: 'f17872e37d0b0369061deb508d44ce7ae4943c5b', class: {
|
|
318
318
|
'sd-number-input__content': true,
|
|
319
319
|
'sd-number-input__content--no-stepper': !this.useButton,
|
|
320
|
-
} }, this.useButton && (h("button", { key: '
|
|
320
|
+
} }, this.useButton && (h("button", { key: 'b513ee5c44e2475ab751dae3a333e95405c9a319', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--decrement", disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, h("sd-icon", { key: '172dcff1a3559008183bed32c30ec02d98c12664', name: "minus", size: iconSize, color: this.isDecrementDisabled()
|
|
321
321
|
? NUMBER_INPUT_STEPPER.icon.disabled
|
|
322
|
-
: NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && h("span", { key: '
|
|
322
|
+
: NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && h("span", { key: '24d631ea8330ed6e90f2aa77e46707867ff57539', class: "sd-number-input__prefix" }, this.inputPrefix), h("input", { key: 'ed0c70a534f1f6e246a407073aee9efa3a222b01', name: this.name, ref: el => (this.nativeEl = el), class: `sd-number-input__native ${this.inputClass}`, type: "text", inputMode: "numeric", value: this.displayValue, placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur, style: {
|
|
323
323
|
textAlign: this.useButton ? 'center' : 'right',
|
|
324
324
|
...this.inputStyle,
|
|
325
|
-
} }), this.inputSuffix && h("span", { key: '
|
|
325
|
+
} }), this.inputSuffix && h("span", { key: '7129df3b5cf544301cadaf5111e98ddcf3e7a340', class: "sd-number-input__suffix" }, this.inputSuffix), this.useButton && (h("button", { key: 'd5cb9acd77be94e494fb4af3b78001cd22dbfe3c', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--increment", disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, h("sd-icon", { key: 'dba88711bda7f5522425d96187bce402c8516fff', name: "add", size: iconSize, color: this.isIncrementDisabled()
|
|
326
326
|
? NUMBER_INPUT_STEPPER.icon.disabled
|
|
327
327
|
: NUMBER_INPUT_STEPPER.icon.default }))))));
|
|
328
328
|
}
|
|
@@ -87,13 +87,13 @@ export class SdPagination {
|
|
|
87
87
|
'--sd-pagination-bg-selected': PAGINATION_COLORS.bgSelected,
|
|
88
88
|
'--sd-pagination-item-width': `${this.buttonWidth}px`,
|
|
89
89
|
};
|
|
90
|
-
return (h("div", { key: '
|
|
90
|
+
return (h("div", { key: '1ab90aa479a2ec1985a79efbcb48f0453ce670a9', class: {
|
|
91
91
|
'sd-pagination': true,
|
|
92
92
|
'sd-pagination--simple': this.simple,
|
|
93
|
-
}, style: cssVars }, h("div", { key: '
|
|
93
|
+
}, style: cssVars }, h("div", { key: 'd5e9fdd9f221536f5eb404095b2b6d052aaa6a9e', class: "sd-pagination__group sd-pagination__group--prev" }, this.renderPrevButtons()), this.simple ? (h("div", { class: "sd-pagination__info" }, h("span", { class: "sd-pagination__current" }, this.currentPage), h("span", { class: "sd-pagination__divider" }, "/"), h("span", { class: "sd-pagination__last" }, this.lastPage))) : (h("div", { class: "sd-pagination__numbers" }, this.pageNumbers.map(n => (h("button", { type: "button", "aria-current": this.currentPage === n ? 'page' : undefined, class: {
|
|
94
94
|
'sd-pagination__item': true,
|
|
95
95
|
'sd-pagination__item--selected': this.currentPage === n,
|
|
96
|
-
}, onClick: () => this.handlePageChange(n) }, n))))), h("div", { key: '
|
|
96
|
+
}, onClick: () => this.handlePageChange(n) }, n))))), h("div", { key: 'a48d39b7db769a39f58e4b399aa7bb1d15748934', class: "sd-pagination__group sd-pagination__group--next" }, this.renderNextButtons())));
|
|
97
97
|
}
|
|
98
98
|
static get is() { return "sd-pagination"; }
|
|
99
99
|
static get originalStyleUrls() {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import popupTokens from "../../tokens/generated/component.popup.json";
|
|
2
|
+
import overlayTokens from "../../tokens/generated/component.overlay.json";
|
|
2
3
|
import systemTokens from "../../tokens/generated/system.json";
|
|
3
4
|
const { popup } = popupTokens;
|
|
5
|
+
const { overlay } = overlayTokens;
|
|
4
6
|
const shadowSpreadMd = systemTokens.shadow.spread.md;
|
|
5
7
|
export const POPUP_LAYOUT = {
|
|
6
8
|
bodyBg: popup.bg,
|
|
@@ -23,10 +25,10 @@ export const POPUP_HEADER = {
|
|
|
23
25
|
paddingY: 10,
|
|
24
26
|
};
|
|
25
27
|
export const POPUP_FOOTER = {
|
|
26
|
-
bg:
|
|
27
|
-
paddingX: Number(
|
|
28
|
-
paddingY: Number(
|
|
29
|
-
gap: Number(
|
|
28
|
+
bg: overlay.footer.bg.default,
|
|
29
|
+
paddingX: Number(overlay.footer.paddingX),
|
|
30
|
+
paddingY: Number(overlay.footer.paddingY),
|
|
31
|
+
gap: Number(overlay.footer.gap),
|
|
30
32
|
height: 52,
|
|
31
33
|
slotHeight: 36,
|
|
32
34
|
shadow: `${shadowSpreadMd.x}px ${shadowSpreadMd.y}px ${shadowSpreadMd.blur}px ${shadowSpreadMd.spread}px ${shadowSpreadMd.color}`,
|
|
@@ -40,7 +40,7 @@ export class SdPopup {
|
|
|
40
40
|
...DEFAULT_SUBMIT_BUTTON_PROPS,
|
|
41
41
|
...this.submitButtonProps,
|
|
42
42
|
};
|
|
43
|
-
return (h("div", { key: '
|
|
43
|
+
return (h("div", { key: '5593e53ba5d8c098c3a3fea4a4ca20769457e322', class: `sd-popup sd-popup--${this.type}`, style: cssVars }, h("header", { key: 'e940d310e28c6b5ec34cc46b1a0aa3c8d7c37aed', class: "sd-popup__header" }, h("h2", { key: '367b21377987bb85ff453d05f314ac2cd76ac6be', class: "sd-popup__title" }, this.popupTitle)), h("div", { key: '58c31c4d783cf957a6e84bc17f63a2ccb188c1e0', class: "sd-popup__body" }, h("slot", { key: '712ccc5b1e2e3ba24757e8a0d258b8af40a1dcc8' })), this.useFooter && (h("footer", { key: 'ff34ebe19afaceb1594726296245ec2a12ce2eec', class: "sd-popup__footer" }, h("div", { key: 'cfefab877abd29701e17ed7381ace27db0198ab6', class: "sd-popup__footer-slot sd-popup__footer-slot--left" }, h("slot", { key: '2947626fed14fba3778ddede7e1c8a868b7aba4a', name: "footer-left" })), h("sd-button", { key: 'ed0b0d43812d5d2ca28993b0f8ff2363684a9016', ...submitButtonProps, class: "sd-popup__submit", onSdClick: () => this.submit.emit() })))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "sd-popup"; }
|
|
46
46
|
static get originalStyleUrls() {
|
|
@@ -268,7 +268,7 @@ export class SdPortal {
|
|
|
268
268
|
this.close.emit();
|
|
269
269
|
}
|
|
270
270
|
render() {
|
|
271
|
-
return h("slot", { key: '
|
|
271
|
+
return h("slot", { key: '623ee5423b145701ba9dd801d44874214f7a76e3' });
|
|
272
272
|
}
|
|
273
273
|
static get is() { return "sd-portal"; }
|
|
274
274
|
static get styles() { return ":host { display: none !important; }"; }
|
|
@@ -78,7 +78,7 @@ export class SdSelectListItem {
|
|
|
78
78
|
return (
|
|
79
79
|
// 키보드 네비게이션은 부모 listbox 의 ArrowUp/Down + Enter 가 담당. 항목 자체는 role=option, tabindex=-1 으로 표시.
|
|
80
80
|
// eslint-disable-next-line jsx-a11y/click-events-have-key-events
|
|
81
|
-
h("div", { key: '
|
|
81
|
+
h("div", { key: 'ffd420e1d1a6ff395ed3fff94cbaba66f71644ac', role: "option", tabindex: -1, "aria-selected": this.isSelected === true ? 'true' : 'false', class: {
|
|
82
82
|
'sd-select-list-item': true,
|
|
83
83
|
'sd-select-list-item--group': isGroup,
|
|
84
84
|
'sd-select-list-item--depth1-group': isDepth1Group,
|
|
@@ -88,7 +88,7 @@ export class SdSelectListItem {
|
|
|
88
88
|
'sd-select-list-item--focused': this.isFocused,
|
|
89
89
|
'sd-select-list-item--selectable': this.isSelectable && !this.option.disabled,
|
|
90
90
|
'sd-select-list-item--disabled': !!this.option.disabled,
|
|
91
|
-
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: '
|
|
91
|
+
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: '4bc492e2021f255cb87344bd0498023b50d89c8a', value: this.isSelected === null ? null : !!this.isSelected, disabled: this.option.disabled, inverse: this.isFocused && this.isSelected !== false, class: "sd-select-list-item__checkbox", onClick: this.handleCheckboxClick, onSdUpdate: this.handleCheckboxUpdate })), isHtmlLabel(this.option.label) ? (h("span", { class: "sd-select-list-item__label", ref: el => el && (el.innerHTML = sanitizeInlineHtml(this.option.label)) })) : (h("span", { class: "sd-select-list-item__label" }, this.option.label)), this.countInfo && (h("span", { key: '34a7671fa3f6ec1bff7c302f02bb4bfd7a113ce5', class: "sd-select-list-item__count" }, "(", this.countInfo.selected, "/", this.countInfo.total, ")"))));
|
|
92
92
|
}
|
|
93
93
|
static get is() { return "sd-select-list-item"; }
|
|
94
94
|
static get originalStyleUrls() {
|
|
@@ -45,15 +45,15 @@ export class SdSelectListItemSearch {
|
|
|
45
45
|
clearTimeout(this.debounceTimer);
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h("div", { key: '
|
|
48
|
+
return (h("div", { key: 'e18205c606d8a47de3cd98be6ddad0c9a1ed4f5a', class: {
|
|
49
49
|
'sd-select-list-item-search': true,
|
|
50
50
|
'sd-select-list-item-search--scrolled': this.isScrolled,
|
|
51
|
-
} }, h("div", { key: '
|
|
51
|
+
} }, h("div", { key: '220a830db70628b4a240d19791db5090c6112cbf', class: "sd-select-list-item-search__inner" }, h("sd-icon", { key: 'f7680be3c49045f318887a2cd955e84ee4ea6646', name: "search", size: 16, color: "grey_70", class: "sd-select-list-item-search__icon" }), h("input", { key: '94face3b593e33db6230ede587de77e5cb158774', ref: el => {
|
|
52
52
|
this.inputEl = el;
|
|
53
|
-
}, type: "text", class: "sd-select-list-item-search__input", placeholder: "\uAC80\uC0C9\uC5B4 \uC785\uB825", value: this.searchText, onInput: this.handleInput, onFocus: () => this.searchFocus.emit() }), h("button", { key: '
|
|
53
|
+
}, type: "text", class: "sd-select-list-item-search__input", placeholder: "\uAC80\uC0C9\uC5B4 \uC785\uB825", value: this.searchText, onInput: this.handleInput, onFocus: () => this.searchFocus.emit() }), h("button", { key: '38f9de8c7ebf98aea2ef03ce9ddbb03cb9f29f81', type: "button", class: {
|
|
54
54
|
'sd-select-list-item-search__clear': true,
|
|
55
55
|
'sd-select-list-item-search__clear--hidden': this.searchText === '',
|
|
56
|
-
}, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, h("sd-icon", { key: '
|
|
56
|
+
}, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, h("sd-icon", { key: 'fe32e9e44afbaa0f7ad07db665022839facbaf83', name: "close", size: 12, color: "#888888" })))));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "sd-select-list-item-search"; }
|
|
59
59
|
static get originalStyleUrls() {
|
|
@@ -19,6 +19,22 @@
|
|
|
19
19
|
overflow-y: auto;
|
|
20
20
|
padding-bottom: 0;
|
|
21
21
|
}
|
|
22
|
+
:host .sd-select-listbox__list::-webkit-scrollbar {
|
|
23
|
+
opacity: 0;
|
|
24
|
+
width: 8px;
|
|
25
|
+
background: #E5E5E5;
|
|
26
|
+
}
|
|
27
|
+
:host .sd-select-listbox__list::-webkit-scrollbar:horizontal {
|
|
28
|
+
height: 8px;
|
|
29
|
+
}
|
|
30
|
+
:host .sd-select-listbox__list::-webkit-scrollbar-thumb {
|
|
31
|
+
height: 80px;
|
|
32
|
+
background-color: #CCCCCC;
|
|
33
|
+
border-radius: 4px;
|
|
34
|
+
}
|
|
35
|
+
:host .sd-select-listbox__list::-webkit-scrollbar-track {
|
|
36
|
+
background-color: #E5E5E5;
|
|
37
|
+
}
|
|
22
38
|
:host .sd-select-listbox__empty {
|
|
23
39
|
padding: 12px;
|
|
24
40
|
text-align: center;
|
|
@@ -361,9 +361,9 @@ export class SdSelectListbox {
|
|
|
361
361
|
'--listbox-max-height': this.maxHeight ?? '260px',
|
|
362
362
|
'--listbox-radius': `${LIST_BOX_LAYOUT.radius}px`,
|
|
363
363
|
};
|
|
364
|
-
return (h("div", { key: '
|
|
364
|
+
return (h("div", { key: 'bb8c7f22a164d29e30d2f9da7740883daef4fc27', class: "sd-select-listbox", style: cssVars }, this.showSearch && (h("sd-select-list-item-search", { key: 'ac1b06b12ec20d2b9d57ca3b4074b3752b5da5e1', isScrolled: this.isScrolled, onSdSearchFilter: this.handleSearchFilter })), h("div", { key: '2c7735e7098090762f573d63c2673d6face702c1', class: "sd-select-listbox__list", onScroll: this.handleScroll, ref: el => {
|
|
365
365
|
this.listEl = el;
|
|
366
|
-
} }, this.showSelectAll && (h("sd-select-list-item", { key: '
|
|
366
|
+
} }, this.showSelectAll && (h("sd-select-list-item", { key: '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 ? (h("div", { class: "sd-select-listbox__empty" }, EMPTY_MESSAGE)) : this.isDepth ? (this.renderOptions(this.filteredOptions)) : (this.filteredOptions.map(option => (h("sd-select-list-item", { option: option, depth: 1, isSelected: this.isOptionSelected(option), isFocused: this.isOptionFocused(option), useCheckbox: this.isMulti, onSdListItemClick: this.handleOptionClick, onMouseEnter: () => this.handleOptionHover(option) })))))));
|
|
367
367
|
}
|
|
368
368
|
static get is() { return "sd-select-listbox"; }
|
|
369
369
|
static get encapsulation() { return "shadow"; }
|
|
@@ -51,7 +51,7 @@ export class SdSelectTrigger {
|
|
|
51
51
|
? SELECT_COLORS.icon.disabled
|
|
52
52
|
: SELECT_COLORS.icon.default,
|
|
53
53
|
};
|
|
54
|
-
return (h("div", { key: '
|
|
54
|
+
return (h("div", { key: 'b2f140907d6e4454a3adfb9d3dd9babd9058c178', ref: el => {
|
|
55
55
|
this.triggerEl = el;
|
|
56
56
|
}, role: "button", "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? 'true' : 'false', tabindex: this.disabled ? -1 : 0, class: {
|
|
57
57
|
'sd-select-trigger': true,
|
|
@@ -62,7 +62,7 @@ export class SdSelectTrigger {
|
|
|
62
62
|
e.preventDefault();
|
|
63
63
|
this.handleClick();
|
|
64
64
|
}
|
|
65
|
-
}, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: '
|
|
65
|
+
}, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: '6803bc50c5f62dce1b1e9d874559f8ca5fca7b75', class: "sd-select-trigger__content" }, hasValue && isHtmlLabel(this.displayText) ? (h("span", { class: "sd-select-trigger__text", ref: el => el && (el.innerHTML = sanitizeInlineHtml(this.displayText)) })) : (h("span", { class: "sd-select-trigger__text" }, hasValue ? this.displayText : (this.placeholder ?? '선택'))), h("sd-icon", { key: '397264b3179fb6699c1ee5454f76ac9d0779488c', name: "chevronDown", size: 12, color: "var(--trigger-icon-color)", class: {
|
|
66
66
|
'sd-select-trigger__icon': true,
|
|
67
67
|
'sd-select-trigger__icon--open': this.isOpen,
|
|
68
68
|
} }))));
|
|
@@ -283,15 +283,15 @@ export class SdSelect {
|
|
|
283
283
|
this.closeDropdown();
|
|
284
284
|
},
|
|
285
285
|
};
|
|
286
|
-
return (h("sd-field", { key: '
|
|
286
|
+
return (h("sd-field", { key: '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: () => {
|
|
287
287
|
this.hovered = true;
|
|
288
288
|
}, onMouseLeave: () => {
|
|
289
289
|
this.hovered = false;
|
|
290
|
-
} }, h("div", { key: '
|
|
290
|
+
} }, h("div", { key: '781819ed75f47395e96fd6808766e6bb8c246fa5', class: "sd-select", ref: el => {
|
|
291
291
|
this.triggerRef = el;
|
|
292
|
-
} }, h("sd-select-trigger", { key: '
|
|
292
|
+
} }, h("sd-select-trigger", { key: '8cebad98f0cd4b333954a55857aec3fbb6f3d283', ref: el => {
|
|
293
293
|
this.triggerComponentRef = el;
|
|
294
|
-
}, displayText: this.displayText, placeholder: this.placeholder ?? '선택', disabled: this.disabled, isOpen: this.isOpen, onSdTriggerClick: this.handleTriggerClick, onSdTriggerFocus: this.handleTriggerFocus, onSdTriggerBlur: this.handleTriggerBlur })), (this.isOpen || this.isAnimatingOut) && (h("sd-portal", { key: '
|
|
294
|
+
}, displayText: this.displayText, placeholder: this.placeholder ?? '선택', disabled: this.disabled, isOpen: this.isOpen, onSdTriggerClick: this.handleTriggerClick, onSdTriggerFocus: this.handleTriggerFocus, onSdTriggerBlur: this.handleTriggerBlur })), (this.isOpen || this.isAnimatingOut) && (h("sd-portal", { key: 'fe68f0b01256e1c1d3200f9f5fd17c2adf97f0e0', ...portalProps }, 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) })))));
|
|
295
295
|
}
|
|
296
296
|
static get is() { return "sd-select"; }
|
|
297
297
|
static get originalStyleUrls() {
|
|
@@ -45,7 +45,7 @@ export class SdSwitch {
|
|
|
45
45
|
'--sd-switch-line-height': `${SWITCH_TYPOGRAPHY.lineHeight}px`,
|
|
46
46
|
'--sd-switch-text-decoration': SWITCH_TYPOGRAPHY.textDecoration,
|
|
47
47
|
};
|
|
48
|
-
return (h("label", { key: '
|
|
48
|
+
return (h("label", { key: 'ae476f0bb6600cdb10bafd1a06ced3e60d50a2f6', "aria-label": this.label || 'switch', class: this.switchClasses, style: cssVars }, h("input", { key: '765320376e0cd0ec82b980a264b979c381907f75', type: "checkbox", checked: this.value, disabled: this.disabled, onInput: this.handleChange }), h("div", { key: 'f00db86513aa3da5c17a5a7e13d5928806a6fc0a', class: "sd-switch__track" }, h("div", { key: '12f2f817acace26a8cbfc9075e0319f3e5c2ada4', class: "sd-switch__knob" })), this.label && h("span", { key: '24598221b90e8ea9504ff80a464a10e3e5310e98', class: "sd-switch__label" }, this.label)));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "sd-switch"; }
|
|
51
51
|
static get originalStyleUrls() {
|
|
@@ -30,8 +30,8 @@ export const TABLE_BODY_LAYOUT = {
|
|
|
30
30
|
height: tableTokens.table.body.dense.height,
|
|
31
31
|
paddingY: tableTokens.table.body.dense.paddingY,
|
|
32
32
|
},
|
|
33
|
-
paddingX: tableTokens.table.body.paddingX,
|
|
34
|
-
framePadding: tableTokens.table.body.frame
|
|
33
|
+
paddingX: tableTokens.table.body.paddingX.default,
|
|
34
|
+
framePadding: tableTokens.table.body.paddingX.frame,
|
|
35
35
|
};
|
|
36
36
|
export const TABLE_BODY_TYPOGRAPHY = {
|
|
37
37
|
fontFamily: tableTokens.table.body.typography.fontFamily,
|
|
@@ -69,7 +69,7 @@ export const TABLE_BAR_COLORS = {
|
|
|
69
69
|
};
|
|
70
70
|
// ── KeyValue Tokens ──
|
|
71
71
|
export const TABLE_KEY_VALUE = {
|
|
72
|
-
bodyPadding: tableTokens.table.keyValue.body.
|
|
72
|
+
bodyPadding: tableTokens.table.keyValue.body.paddingY,
|
|
73
73
|
height: tableTokens.table.keyValue.height,
|
|
74
74
|
};
|
|
75
75
|
// ── Selectable Column ──
|
|
@@ -50,6 +50,22 @@ sd-table *,
|
|
|
50
50
|
overflow: auto;
|
|
51
51
|
background: #FFFFFF;
|
|
52
52
|
}
|
|
53
|
+
.sd-table__scroll-container::-webkit-scrollbar {
|
|
54
|
+
opacity: 0;
|
|
55
|
+
width: 8px;
|
|
56
|
+
background: #E5E5E5;
|
|
57
|
+
}
|
|
58
|
+
.sd-table__scroll-container::-webkit-scrollbar:horizontal {
|
|
59
|
+
height: 8px;
|
|
60
|
+
}
|
|
61
|
+
.sd-table__scroll-container::-webkit-scrollbar-thumb {
|
|
62
|
+
height: 80px;
|
|
63
|
+
background-color: #CCCCCC;
|
|
64
|
+
border-radius: 4px;
|
|
65
|
+
}
|
|
66
|
+
.sd-table__scroll-container::-webkit-scrollbar-track {
|
|
67
|
+
background-color: #E5E5E5;
|
|
68
|
+
}
|
|
53
69
|
.sd-table__scroll-container--loading {
|
|
54
70
|
overflow: hidden !important;
|
|
55
71
|
pointer-events: none;
|
|
@@ -853,25 +853,25 @@ export class SdTable {
|
|
|
853
853
|
'--table-selectable-width': `${TABLE_SELECTABLE_COLUMN_WIDTH}px`,
|
|
854
854
|
'--table-host-height': hostHeight,
|
|
855
855
|
};
|
|
856
|
-
return (h(Host, { key: '
|
|
856
|
+
return (h(Host, { key: 'd080b561e43c55d34a5f1f6571991183ebdd39b7', style: hostStyle }, h("div", { key: '0ef7831905dca8fde2bb8eb6cde81e1fd9706074', class: "sd-table__container", style: {
|
|
857
857
|
'--table-width': this.width,
|
|
858
858
|
'--pagination-height': `${paginationHeight}px`,
|
|
859
|
-
} }, h("div", { key: '
|
|
859
|
+
} }, h("div", { key: 'c6a836574f4b4c3cd72a3718061dcf727d1ec823', class: {
|
|
860
860
|
'sd-table__wrapper': true,
|
|
861
861
|
'sd-table__wrapper--radius-useTop': this.radius === 'useTop',
|
|
862
862
|
'sd-table__wrapper--radius-full': this.radius === 'full',
|
|
863
|
-
} }, h("div", { key: '
|
|
863
|
+
} }, h("div", { key: '8343d8c82c4575733254ad92c968fbbb1588af1f', class: {
|
|
864
864
|
'sd-table__scroll-container': true,
|
|
865
865
|
'sd-table__scroll-container--loading': this.isLoading,
|
|
866
866
|
'sd-table__scroll-container--no-data': isNoData,
|
|
867
|
-
} }, this.isLoading && (h("div", { key: '
|
|
867
|
+
} }, this.isLoading && (h("div", { key: 'a6e049c2c1f5f825d874f25e184efb1915713074', class: "sd-table__loading", style: { top: `${this.loadingScrollTop}px` } }, h("sd-circle-progress", { key: 'ea110a9e185c3af02c9d0da3c2c36bd675952696', indeterminate: true }))), isNoData && (h(h.Fragment, null, h("div", { key: '56861d20b5bd57ed3f43f5774e67cc4ae7e6c947', class: "sd-table__no-data-header-overlay" }), h("div", { key: '19e463e0524b09ca72ba457b66f97dfd97fddf95', class: "sd-table__no-data" }, h("div", { key: 'ed0c669a55a562772d37d89f7f332759a73fbab6', class: "sd-table__no-data-content", ref: el => {
|
|
868
868
|
this.noDataContentEl = el;
|
|
869
869
|
if (el)
|
|
870
870
|
this.syncNoDataContentObserver();
|
|
871
|
-
} }, h("slot", { key: '
|
|
871
|
+
} }, h("slot", { key: '06998e931804fb94b95df49a5c4b6c5976cefe41', name: "no-data" }, h("span", { key: '4f639ae85d63f516f593f2d88d788f96ba7c538f' }, this.resolvedNoDataLabel)))))), h("table", { key: 'a32058798111bfa84bf81279bcf424d2423cebfa', class: this.tableClasses }, this.autoThead ? (h("slot", { name: `${resolvedTableId}-head`, onSlotchange: this.handleStructureSlotChange }, h("sd-thead", { rows: this.rows ?? [] }))) : (h("slot", { name: `${resolvedTableId}-head`, onSlotchange: this.handleStructureSlotChange })), this.autoTbody ? (h("slot", { name: `${resolvedTableId}-body`, onSlotchange: this.handleStructureSlotChange }, h("sd-tbody", { rows: this.rows ?? [] }, this.renderAutoRows()))) : (h("slot", { name: `${resolvedTableId}-body`, onSlotchange: this.handleStructureSlotChange }))))), this.pagination &&
|
|
872
872
|
this.pagination.rowsPerPage > 0 &&
|
|
873
873
|
this.rowCount > 0 &&
|
|
874
|
-
!this.useVirtualScroll && (h("div", { key: '
|
|
874
|
+
!this.useVirtualScroll && (h("div", { key: '9d1c500b147c2b11ea2df7cb095d9b28527b6902', class: "sd-table__pagination" }, 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 && (h("sd-select", { key: '275dfb2c4c3bb4c76ce71c123795d967aa155bf8', value: this.useInternalPagination
|
|
875
875
|
? this.innerRowsPerPage
|
|
876
876
|
: this.pagination.rowsPerPage, options: this.rowsPerPageOption, width: "128px", emitValue: true, onSdUpdate: e => {
|
|
877
877
|
if (!this.isRowsPerPageValue(e.detail))
|
|
@@ -46,9 +46,9 @@ export class SdTbody {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: 'e8d3873248658b9899e4daf1d6ffb1c60ad658e4', slot: `${this.tableId}-body` }, h("tbody", { key: 'ae9617a588e45bce5ffaa50bc300fdd038b1db1e', class: { tbody: true } }, [
|
|
50
50
|
this.topSpacerHeight > 0 && (h("tr", { key: "spacer-top", class: "tbody__spacer", style: { height: `${this.topSpacerHeight}px`, display: 'block' } })),
|
|
51
|
-
h("slot", { key: '
|
|
51
|
+
h("slot", { key: '1bd8ca3179ad36584813c14e1df1c1c175fcf77b' }),
|
|
52
52
|
this.bottomSpacerHeight > 0 && (h("tr", { key: "spacer-bottom", class: "tbody__spacer", style: { height: `${this.bottomSpacerHeight}px`, display: 'block' } })),
|
|
53
53
|
])));
|
|
54
54
|
}
|
|
@@ -159,7 +159,7 @@ export class SdTd {
|
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
render() {
|
|
162
|
-
return (h(Host, { key: '
|
|
162
|
+
return (h(Host, { key: '28d45d8cd629c6cdd826834cbae719fd7c851511', class: { [`align-${this.align}`]: Boolean(this.align) } }, h("slot", { key: '0bab0005e4513464ad18698c111a55eb684434e9' })));
|
|
163
163
|
}
|
|
164
164
|
static get is() { return "sd-td"; }
|
|
165
165
|
static get originalStyleUrls() {
|
|
@@ -241,16 +241,16 @@ export class SdThead {
|
|
|
241
241
|
'--table-border-color': TABLE_BORDER.color,
|
|
242
242
|
'--table-border-width': `${TABLE_BORDER.width}px`,
|
|
243
243
|
};
|
|
244
|
-
return (h(Host, { key: '
|
|
244
|
+
return (h(Host, { key: '89bb8a5873c480544cc6a298ca9738577469ae43', slot: `${this.tableId}-head`, style: headStyle }, h("thead", { key: '390aad02b5e42bc39c9eb72091b1bcb54eae8098', class: {
|
|
245
245
|
'thead': true,
|
|
246
246
|
'thead--sticky': this._stickyHeader,
|
|
247
|
-
} }, h("tr", { key: '
|
|
247
|
+
} }, h("tr", { key: 'a5889ed5b9fe810590f1c1d869aa6b72dabe195b', class: "tr" }, this._selectable && (h("th", { key: '8cf6b81cd5b02cf08597b1b4f8d1b858f10d9403', class: {
|
|
248
248
|
'th': true,
|
|
249
249
|
'th--selected': true,
|
|
250
250
|
'sticky-left': true,
|
|
251
251
|
'sticky-left-edge': stickyLeftCount === 0,
|
|
252
252
|
'is-scrolled-left': stickyLeftCount === 0 && this._scrolledLeft,
|
|
253
|
-
}, style: { '--sticky-left-offset': '0px' } }, h("sd-checkbox", { key: '
|
|
253
|
+
}, style: { '--sticky-left-offset': '0px' } }, h("sd-checkbox", { key: '94b92d786fde6d5382e7955f97e54915597c04ad', value: this.getIsAllChecked(), disabled: safeRows.length === 0, onSdUpdate: (e) => this.handleSelectAll(e.detail) }), h("div", { key: 'fefd1a1de41b524e0525e60684bec2fb85ac9db6', class: "th__bar" }))), stickyLeftCols.map((col, idx) => (h("th", { key: col.name, class: {
|
|
254
254
|
'th': true,
|
|
255
255
|
[`${col.thClass}`]: Boolean(col.thClass),
|
|
256
256
|
'sticky-left': true,
|
|
@@ -78,7 +78,7 @@ export class SdTabs {
|
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
80
|
render() {
|
|
81
|
-
return (h("div", { key: '
|
|
81
|
+
return (h("div", { key: 'f43d5e2e441e11b57d488f8fe612a4e555006c2e', class: this.getContainerClasses(), style: this.buildCssVars() }, this.tabs.map((tab, index) => {
|
|
82
82
|
const badgeName = this.getBadgeName(tab);
|
|
83
83
|
return (h("div", { key: `tab-${index}`, role: "tab", tabindex: 0, "aria-selected": tab.value === this.value ? 'true' : 'false', class: this.getTabClasses(tab), "aria-label": tab.label || 'tab', onClick: () => this.handleTabClick(tab), onKeyDown: e => {
|
|
84
84
|
if (e.key === 'Enter' || e.key === ' ') {
|