@sellmate/design-system 1.27.0 → 1.28.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.field-YIQ9TAhV.js → component.field-C7it8cZm.js} +2 -2
- package/dist/cjs/component.listBox-MHAv4Yy7.js +15 -0
- package/dist/cjs/{component.listItem-Bnh0r_CA.js → component.listItem-cAO_ppOz.js} +0 -7
- package/dist/cjs/{component.table-BrI3b--h.js → component.table-POXY492T.js} +5 -4
- package/dist/cjs/design-system.cjs.js +2 -2
- package/dist/cjs/{index-BTqAmfdr.js → index-D12oddge.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/sd-action-modal.cjs.entry.js +1 -1
- 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_2.cjs.entry.js +1 -1
- 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 +2 -3
- package/dist/cjs/sd-chip-input.cjs.entry.js +4 -3
- package/dist/cjs/sd-chip.cjs.entry.js +1 -1
- package/dist/cjs/sd-circle-progress.cjs.entry.js +5 -3
- package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +11 -4
- package/dist/cjs/sd-date-box.cjs.entry.js +1 -1
- package/dist/cjs/{sd-date-picker.config-CtXmufyj.js → sd-date-picker.config-De7ahWIs.js} +1 -1
- package/dist/cjs/sd-date-picker_7.cjs.entry.js +79 -30
- package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +1 -1
- package/dist/cjs/sd-divider.cjs.entry.js +1 -1
- package/dist/cjs/sd-dropdown-button.cjs.entry.js +3 -3
- package/dist/cjs/sd-field_3.cjs.entry.js +18 -12
- package/dist/cjs/sd-form.cjs.entry.js +1 -1
- package/dist/cjs/sd-ghost-button_3.cjs.entry.js +2 -3
- package/dist/cjs/sd-guide.cjs.entry.js +4 -9
- package/dist/cjs/sd-key-value-table.cjs.entry.js +2 -2
- package/dist/cjs/sd-linear-progress.cjs.entry.js +2 -2
- package/dist/cjs/sd-loading-container.cjs.entry.js +23 -3
- package/dist/cjs/sd-modal-container.cjs.entry.js +1 -1
- package/dist/cjs/sd-pagination_4.cjs.entry.js +20 -13
- package/dist/cjs/sd-popover.cjs.entry.js +2 -2
- package/dist/cjs/sd-popup.cjs.entry.js +2 -2
- package/dist/cjs/sd-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/sd-radio.cjs.entry.js +2 -3
- package/dist/cjs/sd-select-list-item_2.cjs.entry.js +10 -9
- package/dist/cjs/{sd-select.config-C9Ohe1QA.js → sd-select.config-omyxekRa.js} +3 -2
- package/dist/cjs/sd-select_3.cjs.entry.js +12 -11
- package/dist/cjs/sd-switch.cjs.entry.js +2 -2
- package/dist/cjs/sd-table.cjs.entry.js +9 -9
- package/dist/cjs/{sd-table.config-DzC55sap.js → sd-table.config-DFy_S4bc.js} +5 -4
- 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 +1 -1
- package/dist/cjs/sd-toast-container.cjs.entry.js +5 -5
- package/dist/cjs/sd-toast.cjs.entry.js +3 -3
- package/dist/cjs/sd-toggle.cjs.entry.js +2 -2
- package/dist/cjs/{tooltipArrow-CiM3irtY.js → tooltipArrow-Dda4ik0V.js} +1 -1
- package/dist/collection/components/sd-circle-progress/sd-circle-progress.css +12 -0
- package/dist/collection/components/sd-circle-progress/sd-circle-progress.js +23 -1
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.config.js +2 -2
- package/dist/collection/components/sd-field/sd-field.css +5 -0
- package/dist/collection/components/sd-field/sd-field.js +30 -4
- package/dist/collection/components/sd-file-picker/sd-file-picker.config.js +9 -0
- package/dist/collection/components/sd-file-picker/sd-file-picker.css +20 -5
- package/dist/collection/components/sd-file-picker/sd-file-picker.js +82 -19
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.css +1 -0
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
- package/dist/collection/components/sd-guide/sd-guide.config.js +0 -1
- package/dist/collection/components/sd-guide/sd-guide.css +0 -3
- package/dist/collection/components/sd-guide/sd-guide.js +2 -3
- package/dist/collection/components/sd-input/sd-input.js +2 -2
- package/dist/collection/components/sd-linear-progress/sd-linear-progress.js +1 -1
- package/dist/collection/components/sd-loading-container/sd-loading-container.js +22 -2
- package/dist/collection/components/sd-loading-modal/sd-loading-modal.config.js +1 -1
- package/dist/collection/components/sd-loading-modal/sd-loading-modal.css +7 -0
- package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +22 -1
- package/dist/collection/components/sd-number-input/sd-number-input.js +4 -4
- package/dist/collection/components/sd-pagination/sd-pagination.config.js +1 -0
- package/dist/collection/components/sd-pagination/sd-pagination.css +1 -1
- package/dist/collection/components/sd-pagination/sd-pagination.js +4 -3
- package/dist/collection/components/sd-popup/sd-popup.js +1 -1
- package/dist/collection/components/sd-radio-group/sd-radio-group.css +2 -2
- 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.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 +4 -3
- 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-table/sd-tr/sd-tr.js +3 -1
- package/dist/collection/components/sd-tabs/sd-tabs.js +1 -1
- package/dist/collection/components/sd-textarea/sd-textarea.js +1 -1
- package/dist/collection/components/sd-toast/sd-toast.js +2 -2
- package/dist/collection/components/sd-toast-container/sd-toast-container.js +4 -4
- package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
- package/dist/collection/components/sd-tooltip/sd-tooltip.js +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/{p-CJYl_ssf.js → p-1i6Q61TF.js} +1 -1
- package/dist/components/p-4S0_Ykmo.js +1 -0
- package/dist/components/p-5pkzwl5N.js +1 -0
- package/dist/components/p-B-pJW3nY.js +1 -0
- package/dist/components/{p-CygiHfH3.js → p-B2pYDEK7.js} +1 -1
- package/dist/components/{p-B0NEmngm.js → p-B3HYnTGx.js} +1 -1
- package/dist/components/{p-C-xm1A4R.js → p-B6ezDhRg.js} +1 -1
- package/dist/components/{p-CHvrvQsZ.js → p-BAVsc1Ml.js} +1 -1
- package/dist/components/{p-Dv7x-UAd.js → p-BCxePXvg.js} +1 -1
- package/dist/components/{p-DObwsGYE.js → p-BE6ymp9E.js} +1 -1
- package/dist/components/{p-DTEO2eLq.js → p-BKV1WAFb.js} +1 -1
- package/dist/components/{p-CDiIm8f6.js → p-BNHhtZUf.js} +1 -1
- package/dist/components/{p-DYHntcvV.js → p-BQ4Okfcm.js} +1 -1
- package/dist/components/p-BSxleKw8.js +1 -0
- package/dist/components/{p-B8qPlbcL.js → p-BUgGuigd.js} +1 -1
- package/dist/components/{p-BIFt5zIX.js → p-BWHQn4fD.js} +1 -1
- package/dist/components/{p-DJsKwChT.js → p-BZXgIBUG.js} +1 -1
- package/dist/components/p-Bgxca9o5.js +1 -0
- package/dist/components/{p-BJoG95Kt.js → p-BnI9HUOv.js} +1 -1
- package/dist/components/{p-CD0706HD.js → p-BuADVB78.js} +1 -1
- package/dist/components/{p-B7Fy6FMY.js → p-Bxb7TcZh.js} +1 -1
- package/dist/components/p-C0tnN4yn.js +1 -0
- package/dist/components/{p-DgK8EUjx.js → p-CHHlQceE.js} +1 -1
- package/dist/components/{p-P6SE7iQV.js → p-CMvHDxR5.js} +1 -1
- package/dist/components/{p-7NIombHr.js → p-CSh-DcM7.js} +1 -1
- package/dist/components/{p-D60P6BdJ.js → p-CTDPl65u.js} +1 -1
- package/dist/components/p-Cf62Nvrx.js +1 -0
- package/dist/components/{p-BKg1YV-H.js → p-ClD0nx1l.js} +1 -1
- package/dist/components/{p-DuMx_9he.js → p-DNbbdJIc.js} +1 -1
- package/dist/components/p-DbPS61bp.js +1 -0
- package/dist/components/{p-mbe7jmT5.js → p-DckXBMgo.js} +1 -1
- package/dist/components/{p-BOJJ_sQS.js → p-DjKOoQuF.js} +1 -1
- package/dist/components/p-DlJaYVWf.js +1 -0
- package/dist/components/p-DmAnTwUx.js +1 -0
- package/dist/components/{p-BArxAQLx.js → p-E8OA_psS.js} +1 -1
- package/dist/components/{p-BKBd44No.js → p-IDlLs_KA.js} +1 -1
- package/dist/components/p-PFLrdhQj.js +1 -0
- package/dist/components/{p-DHINsZ60.js → p-l9RiSWRc.js} +1 -1
- package/dist/components/{p-BeR_5Fwe.js → p-paSLRXAR.js} +1 -1
- package/dist/components/{p-BL9Vy4Fd.js → p-pwGA4sDj.js} +1 -1
- package/dist/components/{p-hd2Gc2Z3.js → p-vtuEYpc6.js} +1 -1
- package/dist/components/p-x9AWBHPy.js +1 -0
- package/dist/components/{p-V8hUcpnj.js → p-yxZBh03f.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-0048de73.entry.js +1 -0
- package/dist/design-system/{p-9991485c.entry.js → p-071e73e0.entry.js} +1 -1
- package/dist/design-system/{p-a2796cd6.entry.js → p-0b8c86c3.entry.js} +1 -1
- package/dist/design-system/{p-8e428210.entry.js → p-1230b51b.entry.js} +1 -1
- package/dist/design-system/p-20f69606.entry.js +1 -0
- package/dist/design-system/{p-e0fa6937.entry.js → p-2553bb1f.entry.js} +1 -1
- package/dist/design-system/{p-29b84d12.entry.js → p-26f2f4c2.entry.js} +1 -1
- package/dist/design-system/p-27197194.entry.js +1 -0
- package/dist/design-system/{p-d7e1a303.entry.js → p-287d8016.entry.js} +1 -1
- package/dist/design-system/p-3b3a46cd.entry.js +1 -0
- package/dist/design-system/{p-4f4b3dab.entry.js → p-4970f1ff.entry.js} +1 -1
- package/dist/design-system/p-4S0_Ykmo.js +1 -0
- package/dist/design-system/p-5687ed0c.entry.js +1 -0
- package/dist/design-system/{p-93c7c640.entry.js → p-58ec51db.entry.js} +1 -1
- package/dist/design-system/{p-030b0602.entry.js → p-5c8f4d9c.entry.js} +1 -1
- package/dist/design-system/p-5pkzwl5N.js +1 -0
- package/dist/design-system/{p-0dfdcfed.entry.js → p-61f5d5ea.entry.js} +1 -1
- package/dist/design-system/{p-df3faae8.entry.js → p-67f19734.entry.js} +1 -1
- package/dist/design-system/{p-c561595a.entry.js → p-70608fec.entry.js} +1 -1
- package/dist/design-system/{p-59ecccb2.entry.js → p-750a9112.entry.js} +1 -1
- package/dist/design-system/p-75726e20.entry.js +1 -0
- package/dist/design-system/{p-9adb306b.entry.js → p-7abf62f3.entry.js} +1 -1
- package/dist/design-system/p-7ae27a26.entry.js +1 -0
- package/dist/design-system/p-84d0181b.entry.js +1 -0
- package/dist/design-system/{p-e0d4193a.entry.js → p-91f7be74.entry.js} +1 -1
- package/dist/design-system/p-94d6b7b4.entry.js +1 -0
- package/dist/design-system/{p-c5bd0dc9.entry.js → p-9b21773a.entry.js} +1 -1
- package/dist/design-system/{p-ceda6367.entry.js → p-9c0bca09.entry.js} +1 -1
- package/dist/design-system/{p-C2-fl-Dc.js → p-CRWmn35N.js} +1 -1
- package/dist/design-system/p-Cf62Nvrx.js +1 -0
- package/dist/design-system/p-CuAh9n2o.js +1 -0
- package/dist/design-system/{p-d24F7UcR.js → p-D2S9Zafz.js} +1 -1
- package/dist/design-system/p-DDNBPrZh.js +2 -0
- package/dist/design-system/{p-BOJJ_sQS.js → p-DjKOoQuF.js} +1 -1
- package/dist/design-system/p-DlJaYVWf.js +1 -0
- package/dist/design-system/{p-f43dd680.entry.js → p-a12d7362.entry.js} +1 -1
- package/dist/design-system/{p-d6bb5c82.entry.js → p-a938ffee.entry.js} +1 -1
- package/dist/design-system/{p-089235d2.entry.js → p-b831eded.entry.js} +1 -1
- package/dist/design-system/{p-e2dabf85.entry.js → p-bab692c6.entry.js} +1 -1
- package/dist/design-system/{p-d87b75ff.entry.js → p-bbd24816.entry.js} +1 -1
- package/dist/design-system/{p-669dfbe4.entry.js → p-c5502585.entry.js} +1 -1
- package/dist/design-system/p-c81898a0.entry.js +1 -0
- package/dist/design-system/{p-b0b9995e.entry.js → p-d4e2f412.entry.js} +1 -1
- package/dist/design-system/{p-12eabcc9.entry.js → p-d6b3d78b.entry.js} +1 -1
- package/dist/design-system/{p-63804698.entry.js → p-d7e302af.entry.js} +1 -1
- package/dist/design-system/{p-3f347a3a.entry.js → p-dbfa3931.entry.js} +1 -1
- package/dist/design-system/p-f16985c9.entry.js +1 -0
- package/dist/design-system/{p-b6a139b7.entry.js → p-fa967329.entry.js} +1 -1
- package/dist/design-system/{p-024c1605.entry.js → p-fbeed0e4.entry.js} +1 -1
- package/dist/esm/{component.field-BOJJ_sQS.js → component.field-DjKOoQuF.js} +2 -2
- package/dist/esm/component.listBox-DlJaYVWf.js +13 -0
- package/dist/esm/{component.listItem-U8VaRj9c.js → component.listItem-4S0_Ykmo.js} +1 -7
- package/dist/esm/{component.table-D9tQwTWy.js → component.table-5pkzwl5N.js} +5 -4
- package/dist/esm/design-system.js +3 -3
- package/dist/esm/{index-BwIs2-fm.js → index-DDNBPrZh.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/sd-action-modal.entry.js +1 -1
- package/dist/esm/sd-badge.entry.js +1 -1
- package/dist/esm/sd-barcode-input.entry.js +1 -1
- package/dist/esm/sd-button_2.entry.js +1 -1
- 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 +2 -3
- package/dist/esm/sd-chip-input.entry.js +3 -2
- package/dist/esm/sd-chip.entry.js +1 -1
- package/dist/esm/sd-circle-progress.entry.js +5 -3
- package/dist/esm/sd-confirm-modal_2.entry.js +11 -4
- package/dist/esm/sd-date-box.entry.js +1 -1
- package/dist/esm/{sd-date-picker.config-6dvDZPGx.js → sd-date-picker.config-D-ks6qNf.js} +1 -1
- package/dist/esm/sd-date-picker_7.entry.js +79 -30
- package/dist/esm/sd-date-range-picker-calendar.entry.js +1 -1
- package/dist/esm/sd-divider.entry.js +1 -1
- package/dist/esm/sd-dropdown-button.entry.js +3 -3
- package/dist/esm/sd-field_3.entry.js +18 -12
- package/dist/esm/sd-form.entry.js +1 -1
- package/dist/esm/sd-ghost-button_3.entry.js +2 -3
- package/dist/esm/sd-guide.entry.js +4 -9
- package/dist/esm/sd-key-value-table.entry.js +2 -2
- package/dist/esm/sd-linear-progress.entry.js +2 -2
- package/dist/esm/sd-loading-container.entry.js +23 -3
- package/dist/esm/sd-modal-container.entry.js +1 -1
- package/dist/esm/sd-pagination_4.entry.js +20 -13
- package/dist/esm/sd-popover.entry.js +2 -2
- package/dist/esm/sd-popup.entry.js +2 -2
- package/dist/esm/sd-radio-button.entry.js +1 -1
- package/dist/esm/sd-radio.entry.js +2 -3
- package/dist/esm/sd-select-list-item_2.entry.js +10 -9
- package/dist/esm/{sd-select.config-D6ktrl7E.js → sd-select.config-CeHGlqOT.js} +2 -1
- package/dist/esm/sd-select_3.entry.js +12 -11
- package/dist/esm/sd-switch.entry.js +2 -2
- package/dist/esm/{sd-table.config-BbIWNUE2.js → sd-table.config-DmOBlnsM.js} +5 -4
- package/dist/esm/sd-table.entry.js +9 -9
- 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 +1 -1
- package/dist/esm/sd-toast-container.entry.js +5 -5
- package/dist/esm/sd-toast.entry.js +3 -3
- package/dist/esm/sd-toggle.entry.js +2 -2
- package/dist/esm/{tooltipArrow-CJxhdfqT.js → tooltipArrow-blL0aWPE.js} +1 -1
- package/dist/types/components/sd-circle-progress/sd-circle-progress.d.ts +2 -0
- package/dist/types/components/sd-field/sd-field.d.ts +5 -0
- package/dist/types/components/sd-file-picker/sd-file-picker.config.d.ts +6 -0
- package/dist/types/components/sd-file-picker/sd-file-picker.d.ts +11 -1
- package/dist/types/components/sd-guide/sd-guide.config.d.ts +0 -1
- package/dist/types/components/sd-loading-container/sd-loading-container.d.ts +6 -0
- package/dist/types/components/sd-loading-modal/sd-loading-modal.d.ts +4 -0
- package/dist/types/components/sd-pagination/sd-pagination.config.d.ts +1 -0
- package/dist/types/components/sd-table/sd-table.config.d.ts +1 -0
- package/dist/types/components.d.ts +40 -2
- package/hydrate/index.js +210 -115
- package/hydrate/index.mjs +210 -115
- package/package.json +1 -1
- package/dist/components/p-BXcizROm.js +0 -1
- package/dist/components/p-Bcp4vs0m.js +0 -1
- package/dist/components/p-BsJ3_flK.js +0 -1
- package/dist/components/p-BuubsWWz.js +0 -1
- package/dist/components/p-CbsRJTHs.js +0 -1
- package/dist/components/p-CrpzIzUy.js +0 -1
- package/dist/components/p-D9tQwTWy.js +0 -1
- package/dist/components/p-DvvGi4J_.js +0 -1
- package/dist/components/p-KSTsd4qM.js +0 -1
- package/dist/components/p-U8VaRj9c.js +0 -1
- package/dist/components/p-b9Q4MYgR.js +0 -1
- package/dist/design-system/p-0f3d40f2.entry.js +0 -1
- package/dist/design-system/p-2b2aaa32.entry.js +0 -1
- package/dist/design-system/p-36275d32.entry.js +0 -1
- package/dist/design-system/p-6324bbde.entry.js +0 -1
- package/dist/design-system/p-66cb4a7c.entry.js +0 -1
- package/dist/design-system/p-7e1f14a6.entry.js +0 -1
- package/dist/design-system/p-8d340091.entry.js +0 -1
- package/dist/design-system/p-9860b9d9.entry.js +0 -1
- package/dist/design-system/p-BXcizROm.js +0 -1
- package/dist/design-system/p-BwIs2-fm.js +0 -2
- package/dist/design-system/p-CAFz8W8_.js +0 -1
- package/dist/design-system/p-D9tQwTWy.js +0 -1
- package/dist/design-system/p-U8VaRj9c.js +0 -1
- package/dist/design-system/p-b8394ddb.entry.js +0 -1
- package/dist/design-system/p-ef60be0f.entry.js +0 -1
- package/dist/design-system/p-f7123e89.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-DDNBPrZh.js';
|
|
2
2
|
|
|
3
3
|
const sdLoadingContainerCss = () => `sd-loading-container .sd-loading-container{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;z-index:var(--sd-loading-container-z-index, 999);opacity:0;visibility:hidden;transition:opacity 0.2s ease, visibility 0s linear 0.2s;pointer-events:none}sd-loading-container .sd-loading-container--visible{opacity:1;visibility:visible;transition:opacity 0.2s ease, visibility 0s linear 0s;pointer-events:auto}sd-loading-container .sd-loading-container__backdrop{position:absolute;inset:0;background:rgba(0, 0, 0, 0.4)}sd-loading-container .sd-loading-container__content{position:relative;display:flex;flex-direction:column;align-items:center;gap:16px}sd-loading-container .sd-loading-container__message{margin:0;color:#ffffff;font-size:14px;font-weight:500;line-height:22px;text-align:center;max-width:400px;word-break:keep-all}`;
|
|
4
4
|
|
|
@@ -8,20 +8,40 @@ const SdLoadingContainer = class {
|
|
|
8
8
|
}
|
|
9
9
|
visible = false;
|
|
10
10
|
message = '';
|
|
11
|
+
prevBodyOverflow = null;
|
|
11
12
|
/** 로딩 오버레이를 표시합니다. */
|
|
12
13
|
async show(options = {}) {
|
|
13
14
|
this.message = options.message ?? '';
|
|
14
15
|
this.visible = true;
|
|
16
|
+
this.lockScroll();
|
|
15
17
|
}
|
|
16
18
|
/** 로딩 오버레이를 숨깁니다. */
|
|
17
19
|
async hide() {
|
|
18
20
|
this.visible = false;
|
|
21
|
+
this.unlockScroll();
|
|
22
|
+
}
|
|
23
|
+
disconnectedCallback() {
|
|
24
|
+
this.unlockScroll();
|
|
25
|
+
}
|
|
26
|
+
/** 오버레이 표시 중 배경 스크롤을 차단합니다. */
|
|
27
|
+
lockScroll() {
|
|
28
|
+
if (this.prevBodyOverflow !== null)
|
|
29
|
+
return;
|
|
30
|
+
this.prevBodyOverflow = document.body.style.overflow;
|
|
31
|
+
document.body.style.overflow = 'hidden';
|
|
32
|
+
}
|
|
33
|
+
/** 배경 스크롤 차단을 해제합니다. */
|
|
34
|
+
unlockScroll() {
|
|
35
|
+
if (this.prevBodyOverflow === null)
|
|
36
|
+
return;
|
|
37
|
+
document.body.style.overflow = this.prevBodyOverflow;
|
|
38
|
+
this.prevBodyOverflow = null;
|
|
19
39
|
}
|
|
20
40
|
render() {
|
|
21
|
-
return (h("div", { key: '
|
|
41
|
+
return (h("div", { key: 'c2dad1bed0e513341a447f164fecbb2f879ed523', class: {
|
|
22
42
|
'sd-loading-container': true,
|
|
23
43
|
'sd-loading-container--visible': this.visible,
|
|
24
|
-
}, "aria-hidden": this.visible ? 'false' : 'true' }, h("div", { key: '
|
|
44
|
+
}, "aria-hidden": this.visible ? 'false' : 'true' }, h("div", { key: '254c3cb5eeb25b6c69b3812fbaada2a26d6620e0', class: "sd-loading-container__backdrop" }), h("div", { key: '58ca4033b25302d8a7ea3f25e6b5e8aa7ce9f51c', class: "sd-loading-container__content" }, h("sd-circle-progress", { key: 'c8d48fa1814186a674d3f7c8b63bcd26541299ba', indeterminate: true, type: "inverse" }), this.message && h("p", { key: '899a5f32ceecb23b4f88b750aa634106bb42b394', class: "sd-loading-container__message" }, this.message))));
|
|
25
45
|
}
|
|
26
46
|
};
|
|
27
47
|
SdLoadingContainer.style = sdLoadingContainerCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, a as getElement, h } from './index-
|
|
1
|
+
import { r as registerInstance, a as getElement, h } from './index-DDNBPrZh.js';
|
|
2
2
|
import { u as unregisterModal, r as registerModal, s as setModalInteractive, i as isTopInteractiveModal, a as requestCloseForModal } from './modal-stack-DRVnqiWc.js';
|
|
3
3
|
|
|
4
4
|
const sdModalContainerCss = () => `sd-modal-container{display:block}sd-modal-container .sd-modal-container{position:fixed;inset:0;z-index:var(--sd-modal-container-z-index, 997);pointer-events:none}sd-modal-container .sd-modal-container__layer{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}sd-modal-container .sd-modal-container__backdrop{position:absolute;inset:0;background:rgba(0, 0, 0, 0.4);opacity:0;transition:opacity 0.3s ease-out;pointer-events:none}sd-modal-container .sd-modal-container__backdrop--visible{opacity:1;pointer-events:auto}sd-modal-container .sd-modal-container__modal{position:relative;z-index:1;opacity:0;transform:scale(0);pointer-events:auto;transition:opacity 0.3s ease-out, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1)}sd-modal-container .sd-modal-container__modal--visible{opacity:1;transform:scale(1)}sd-modal-container .sd-modal-container__modal--shake{animation:modal-shake 0.3s ease-out}@keyframes modal-shake{0%,100%{transform:scale(1)}25%{transform:scale(1.03)}50%{transform:scale(0.97)}75%{transform:scale(1.01)}}`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, a as getElement, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, a as getElement, H as Host } from './index-DDNBPrZh.js';
|
|
2
2
|
import { T as TABLE_ID_ATTR } from './constants-sZMi_32I.js';
|
|
3
|
-
import { a as TABLE_SELECTABLE_COLUMN_WIDTH, r as resolveTableIconColor, e as resolveSortIconName, c as TABLE_BORDER, f as TABLE_HEADER_RESIZING_BAR, g as TABLE_HEADER_TYPOGRAPHY, h as TABLE_HEADER_COLORS, i as TABLE_HEADER_LAYOUT, T as TABLE_BODY_LAYOUT, j as TABLE_SEPARATOR, b as TABLE_BODY_TYPOGRAPHY } from './sd-table.config-
|
|
4
|
-
import './component.table-
|
|
3
|
+
import { a as TABLE_SELECTABLE_COLUMN_WIDTH, r as resolveTableIconColor, e as resolveSortIconName, c as TABLE_BORDER, f as TABLE_HEADER_RESIZING_BAR, g as TABLE_HEADER_TYPOGRAPHY, h as TABLE_HEADER_COLORS, i as TABLE_HEADER_LAYOUT, T as TABLE_BODY_LAYOUT, j as TABLE_SEPARATOR, b as TABLE_BODY_TYPOGRAPHY } from './sd-table.config-DmOBlnsM.js';
|
|
4
|
+
import './component.table-5pkzwl5N.js';
|
|
5
5
|
import './system-BJfiMC9H.js';
|
|
6
6
|
|
|
7
7
|
const pagination = {
|
|
@@ -32,6 +32,9 @@ const pagination = {
|
|
|
32
32
|
hover: "#004290",
|
|
33
33
|
selected: "#004290"
|
|
34
34
|
}
|
|
35
|
+
},
|
|
36
|
+
simple: {
|
|
37
|
+
gap: "8"
|
|
35
38
|
}
|
|
36
39
|
};
|
|
37
40
|
var paginationTokens = {
|
|
@@ -44,6 +47,7 @@ const PAGINATION_LAYOUT = {
|
|
|
44
47
|
radius: `${paginationTokens.pagination.radius}px`,
|
|
45
48
|
gap: `${paginationTokens.pagination.gap}px`,
|
|
46
49
|
moveGap: `${paginationTokens.pagination.move.gap}px`,
|
|
50
|
+
simpleGap: `${paginationTokens.pagination.simple.gap}px`,
|
|
47
51
|
iconSize: Number(paginationTokens.pagination.icon),
|
|
48
52
|
};
|
|
49
53
|
const PAGINATION_TYPOGRAPHY = {
|
|
@@ -63,7 +67,7 @@ const PAGINATION_COLORS = {
|
|
|
63
67
|
iconDefault: '#888888',
|
|
64
68
|
};
|
|
65
69
|
|
|
66
|
-
const sdPaginationCss = () => `sd-pagination{display:inline-flex}.sd-pagination{display:inline-flex;align-items:center;gap:var(--sd-pagination-gap);font-family:var(--sd-pagination-font-family)}.sd-pagination__group{display:inline-flex;align-items:center;gap:var(--sd-pagination-move-gap);min-width:calc(var(--sd-pagination-height) * 2 + var(--sd-pagination-move-gap))}.sd-pagination__group--prev{justify-content:flex-end}.sd-pagination__group--next{justify-content:flex-start}.sd-pagination__numbers{display:inline-flex;align-items:center;gap:var(--sd-pagination-move-gap)}.sd-pagination__nav{display:inline-flex;align-items:center;justify-content:center;width:var(--sd-pagination-height);height:var(--sd-pagination-height);padding:0;background:transparent;border:0;border-radius:var(--sd-pagination-radius);cursor:pointer;outline:none}.sd-pagination__nav:hover{background-color:var(--sd-pagination-bg-hover)}.sd-pagination__item{display:inline-flex;align-items:center;justify-content:center;width:var(--sd-pagination-item-width);height:var(--sd-pagination-height);padding:0 var(--sd-pagination-padding-x);background:transparent;border:0;border-radius:var(--sd-pagination-radius);color:var(--sd-pagination-content);font-size:var(--sd-pagination-font-size);font-weight:var(--sd-pagination-font-weight-default);line-height:var(--sd-pagination-line-height);cursor:pointer;outline:none;box-sizing:border-box}.sd-pagination__item:hover{background-color:var(--sd-pagination-bg-hover);color:var(--sd-pagination-content-hover)}.sd-pagination__item--selected{background-color:var(--sd-pagination-bg-selected);color:var(--sd-pagination-content-selected);font-weight:var(--sd-pagination-font-weight-selected)}.sd-pagination__item--selected:hover{background-color:var(--sd-pagination-bg-selected);color:var(--sd-pagination-content-selected)}.sd-pagination__info{display:inline-flex;align-items:center;gap:var(--sd-pagination-
|
|
70
|
+
const sdPaginationCss = () => `sd-pagination{display:inline-flex}.sd-pagination{display:inline-flex;align-items:center;gap:var(--sd-pagination-gap);font-family:var(--sd-pagination-font-family)}.sd-pagination__group{display:inline-flex;align-items:center;gap:var(--sd-pagination-move-gap);min-width:calc(var(--sd-pagination-height) * 2 + var(--sd-pagination-move-gap))}.sd-pagination__group--prev{justify-content:flex-end}.sd-pagination__group--next{justify-content:flex-start}.sd-pagination__numbers{display:inline-flex;align-items:center;gap:var(--sd-pagination-move-gap)}.sd-pagination__nav{display:inline-flex;align-items:center;justify-content:center;width:var(--sd-pagination-height);height:var(--sd-pagination-height);padding:0;background:transparent;border:0;border-radius:var(--sd-pagination-radius);cursor:pointer;outline:none}.sd-pagination__nav:hover{background-color:var(--sd-pagination-bg-hover)}.sd-pagination__item{display:inline-flex;align-items:center;justify-content:center;width:var(--sd-pagination-item-width);height:var(--sd-pagination-height);padding:0 var(--sd-pagination-padding-x);background:transparent;border:0;border-radius:var(--sd-pagination-radius);color:var(--sd-pagination-content);font-size:var(--sd-pagination-font-size);font-weight:var(--sd-pagination-font-weight-default);line-height:var(--sd-pagination-line-height);cursor:pointer;outline:none;box-sizing:border-box}.sd-pagination__item:hover{background-color:var(--sd-pagination-bg-hover);color:var(--sd-pagination-content-hover)}.sd-pagination__item--selected{background-color:var(--sd-pagination-bg-selected);color:var(--sd-pagination-content-selected);font-weight:var(--sd-pagination-font-weight-selected)}.sd-pagination__item--selected:hover{background-color:var(--sd-pagination-bg-selected);color:var(--sd-pagination-content-selected)}.sd-pagination__info{display:inline-flex;align-items:center;gap:var(--sd-pagination-simple-gap);height:var(--sd-pagination-height);padding:0 var(--sd-pagination-padding-x);color:var(--sd-pagination-content);font-size:var(--sd-pagination-font-size);font-weight:var(--sd-pagination-font-weight-default);line-height:var(--sd-pagination-line-height)}.sd-pagination__current{color:var(--sd-pagination-content-selected);font-weight:var(--sd-pagination-font-weight-selected)}`;
|
|
67
71
|
|
|
68
72
|
const PER_PAGE = 10;
|
|
69
73
|
const BUTTON_WIDTH = {
|
|
@@ -144,6 +148,7 @@ const SdPagination = class {
|
|
|
144
148
|
'--sd-pagination-radius': PAGINATION_LAYOUT.radius,
|
|
145
149
|
'--sd-pagination-gap': PAGINATION_LAYOUT.gap,
|
|
146
150
|
'--sd-pagination-move-gap': PAGINATION_LAYOUT.moveGap,
|
|
151
|
+
'--sd-pagination-simple-gap': PAGINATION_LAYOUT.simpleGap,
|
|
147
152
|
'--sd-pagination-font-family': PAGINATION_TYPOGRAPHY.fontFamily,
|
|
148
153
|
'--sd-pagination-font-size': PAGINATION_TYPOGRAPHY.fontSize,
|
|
149
154
|
'--sd-pagination-line-height': PAGINATION_TYPOGRAPHY.lineHeight,
|
|
@@ -156,13 +161,13 @@ const SdPagination = class {
|
|
|
156
161
|
'--sd-pagination-bg-selected': PAGINATION_COLORS.bgSelected,
|
|
157
162
|
'--sd-pagination-item-width': `${this.buttonWidth}px`,
|
|
158
163
|
};
|
|
159
|
-
return (h("div", { key: '
|
|
164
|
+
return (h("div", { key: '4a67cbb9ed9d3cafbd3d9f99562948e3b3840210', class: {
|
|
160
165
|
'sd-pagination': true,
|
|
161
166
|
'sd-pagination--simple': this.simple,
|
|
162
|
-
}, style: cssVars }, h("div", { key: '
|
|
167
|
+
}, style: cssVars }, h("div", { key: 'f0cc77abd3b03a1525f52fbcd2587b6ad9cd468d', 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: {
|
|
163
168
|
'sd-pagination__item': true,
|
|
164
169
|
'sd-pagination__item--selected': this.currentPage === n,
|
|
165
|
-
}, onClick: () => this.handlePageChange(n) }, n))))), h("div", { key: '
|
|
170
|
+
}, onClick: () => this.handlePageChange(n) }, n))))), h("div", { key: 'c4053f5917345cf1e7fcea9f3c2fa0d6b5fa7a3f', class: "sd-pagination__group sd-pagination__group--next" }, this.renderNextButtons())));
|
|
166
171
|
}
|
|
167
172
|
};
|
|
168
173
|
SdPagination.style = sdPaginationCss();
|
|
@@ -218,9 +223,9 @@ const SdTbody = class {
|
|
|
218
223
|
}
|
|
219
224
|
}
|
|
220
225
|
render() {
|
|
221
|
-
return (h(Host, { key: '
|
|
226
|
+
return (h(Host, { key: '72061abfda67f548675b6def5d217d2263b693a9', slot: `${this.tableId}-body` }, h("tbody", { key: 'e2ac60a7c395d2a411ac7811851a2916fe762f3c', class: { tbody: true } }, [
|
|
222
227
|
this.topSpacerHeight > 0 && (h("tr", { key: "spacer-top", class: "tbody__spacer", style: { height: `${this.topSpacerHeight}px`, display: 'block' } })),
|
|
223
|
-
h("slot", { key: '
|
|
228
|
+
h("slot", { key: 'af37117b1e162581569bcf6d14a8cc3289f9c6d4' }),
|
|
224
229
|
this.bottomSpacerHeight > 0 && (h("tr", { key: "spacer-bottom", class: "tbody__spacer", style: { height: `${this.bottomSpacerHeight}px`, display: 'block' } })),
|
|
225
230
|
])));
|
|
226
231
|
}
|
|
@@ -478,16 +483,16 @@ const SdThead = class {
|
|
|
478
483
|
'--table-border-color': TABLE_BORDER.color,
|
|
479
484
|
'--table-border-width': `${TABLE_BORDER.width}px`,
|
|
480
485
|
};
|
|
481
|
-
return (h(Host, { key: '
|
|
486
|
+
return (h(Host, { key: '2f2218c9c0ba02fc59eb026944a3e26fbf741f23', slot: `${this.tableId}-head`, style: headStyle }, h("thead", { key: '008fc1ef83c882dd85fd9d6b8490a3246183e758', class: {
|
|
482
487
|
'thead': true,
|
|
483
488
|
'thead--sticky': this._stickyHeader,
|
|
484
|
-
} }, h("tr", { key: '
|
|
489
|
+
} }, h("tr", { key: 'ff679599539ea36d74160d31258bc06c4c6d0fda', class: "tr" }, this._selectable && (h("th", { key: '9fd149c26ec979f3f82eb5b1fad56cf963ee1e7f', class: {
|
|
485
490
|
'th': true,
|
|
486
491
|
'th--selected': true,
|
|
487
492
|
'sticky-left': true,
|
|
488
493
|
'sticky-left-edge': stickyLeftCount === 0,
|
|
489
494
|
'is-scrolled-left': stickyLeftCount === 0 && this._scrolledLeft,
|
|
490
|
-
}, style: { '--sticky-left-offset': '0px' } }, h("sd-checkbox", { key: '
|
|
495
|
+
}, style: { '--sticky-left-offset': '0px' } }, h("sd-checkbox", { key: 'feab85e049c99a1a565b250f5b0aa0ed6d986d65', value: this.getIsAllChecked(), disabled: safeRows.length === 0, onSdUpdate: (e) => this.handleSelectAll(e.detail) }), h("div", { key: 'bf68afc8990977e607cbd6f25b19f6442b7fbab3', class: "th__bar" }))), stickyLeftCols.map((col, idx) => (h("th", { key: col.name, class: {
|
|
491
496
|
'th': true,
|
|
492
497
|
[`${col.thClass}`]: Boolean(col.thClass),
|
|
493
498
|
'sticky-left': true,
|
|
@@ -760,7 +765,9 @@ const SdTr = class {
|
|
|
760
765
|
const isUseFrameRow = this.tableEl?.hasUseFrameInRowSync?.(this.rowKey) ?? false;
|
|
761
766
|
const effectiveDense = this._dense && !isUseFrameRow;
|
|
762
767
|
const rowLayoutY = effectiveDense ? TABLE_BODY_LAYOUT.dense : TABLE_BODY_LAYOUT.default;
|
|
763
|
-
const rowPaddingX =
|
|
768
|
+
const rowPaddingX = effectiveDense
|
|
769
|
+
? TABLE_BODY_LAYOUT.densePaddingX
|
|
770
|
+
: TABLE_BODY_LAYOUT.paddingX;
|
|
764
771
|
const rowStyle = {
|
|
765
772
|
'display': this.isVisible ? '' : 'none',
|
|
766
773
|
'--table-body-height': `${rowLayoutY.height}px`,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, a as getElement, h, F as Fragment } from './index-
|
|
2
|
-
import { T as TooltipArrow } from './tooltipArrow-
|
|
1
|
+
import { r as registerInstance, c as createEvent, a as getElement, h, F as Fragment } from './index-DDNBPrZh.js';
|
|
2
|
+
import { T as TooltipArrow } from './tooltipArrow-blL0aWPE.js';
|
|
3
3
|
|
|
4
4
|
const popover = {
|
|
5
5
|
"default": {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-DDNBPrZh.js';
|
|
2
2
|
import { o as overlayTokens } from './component.overlay-De0OtxK5.js';
|
|
3
3
|
import { s as systemTokens } from './system-BJfiMC9H.js';
|
|
4
4
|
|
|
@@ -102,7 +102,7 @@ const SdPopup = class {
|
|
|
102
102
|
...DEFAULT_SUBMIT_BUTTON_PROPS,
|
|
103
103
|
...this.submitButtonProps,
|
|
104
104
|
};
|
|
105
|
-
return (h("div", { key: '
|
|
105
|
+
return (h("div", { key: 'f138f3d792295a6e1cb3894033547176cfd03163', class: `sd-popup sd-popup--${this.type}`, style: cssVars }, h("header", { key: '7ff26c89a03cd79d5abe83513d96ae5f40b83869', class: "sd-popup__header" }, h("h2", { key: 'd9d3282b60b5b6baa5c2b1568c13db5847e9f9af', class: "sd-popup__title" }, this.popupTitle)), h("div", { key: 'a296adcd58df30f4915b2523931c5b9eb4588e5d', class: "sd-popup__body" }, h("slot", { key: 'aaf4dfc93d5664ca19a8071e3f37bf8a5857e471' })), this.useFooter && (h("footer", { key: '1afb1b638fa8bfa69f5d4bc87fca538800614312', class: "sd-popup__footer" }, h("div", { key: '7539bc751847a03fef6ec1e15587b346ffb19c83', class: "sd-popup__footer-slot sd-popup__footer-slot--left" }, h("slot", { key: '66fbec51d23bd1a203159f6c968935034a4c086c', name: "footer-left" })), h("sd-button", { key: '8d236d5fcd9b5fdae1c27ade7bff6bc605ef8bde', ...submitButtonProps, class: "sd-popup__submit", onSdClick: () => this.submit.emit() })))));
|
|
106
106
|
}
|
|
107
107
|
};
|
|
108
108
|
SdPopup.style = sdPopupCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-DDNBPrZh.js';
|
|
2
2
|
|
|
3
3
|
const radio = {
|
|
4
4
|
size: "16",
|
|
@@ -31,8 +31,7 @@ const radio = {
|
|
|
31
31
|
label: {
|
|
32
32
|
"default": "#222222",
|
|
33
33
|
disabled: "#888888"
|
|
34
|
-
}
|
|
35
|
-
};
|
|
34
|
+
}};
|
|
36
35
|
var radioTokens = {
|
|
37
36
|
radio: radio
|
|
38
37
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import { g as LIST_ITEM_LAYOUT, i as isHtmlLabel, h as LIST_ITEM_TYPOGRAPHY, j as LIST_ITEM_COLORS, k as SEARCH_DEBOUNCE_MS } from './sd-select.config-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-DDNBPrZh.js';
|
|
2
|
+
import { g as LIST_ITEM_LAYOUT, i as isHtmlLabel, h as LIST_ITEM_TYPOGRAPHY, j as LIST_ITEM_COLORS, k as SEARCH_DEBOUNCE_MS } from './sd-select.config-CeHGlqOT.js';
|
|
3
3
|
import { s as sanitizeInlineHtml } from './sanitize-inline-html-BE4tnQ2Z.js';
|
|
4
|
-
import './component.listItem-
|
|
4
|
+
import './component.listItem-4S0_Ykmo.js';
|
|
5
|
+
import './component.listBox-DlJaYVWf.js';
|
|
5
6
|
|
|
6
7
|
const sdSelectListItemCss = () => `sd-select-list-item{display:block}sd-select-list-item .sd-select-list-item{display:flex;align-items:center;gap:var(--list-item-gap);padding:var(--list-item-padding-y) var(--list-item-padding-right) var(--list-item-padding-y) var(--list-item-padding-left);font-size:var(--list-item-font-size);line-height:var(--list-item-line-height);font-weight:var(--list-item-font-weight);background:var(--list-item-bg);color:var(--list-item-color);cursor:default;user-select:none}sd-select-list-item .sd-select-list-item--selectable{cursor:pointer}sd-select-list-item .sd-select-list-item--depth1-group{border-top:var(--list-item-border-top);font-weight:700}sd-select-list-item .sd-select-list-item--depth2-group{font-weight:500}sd-select-list-item .sd-select-list-item--focused.sd-select-list-item--selectable:not(.sd-select-list-item--disabled){background:var(--list-item-bg-hover);color:var(--list-item-color-hover)}sd-select-list-item .sd-select-list-item--selected:not(.sd-select-list-item--group){font-weight:var(--list-item-font-weight-selected);color:var(--list-item-color-selected)}sd-select-list-item .sd-select-list-item--selected.sd-select-list-item--focused{color:var(--list-item-color-hover)}sd-select-list-item .sd-select-list-item--disabled{color:var(--list-item-color-disabled);cursor:not-allowed}sd-select-list-item .sd-select-list-item__label{flex:0 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}sd-select-list-item .sd-select-list-item__count{flex-shrink:0;font-weight:500;color:var(--list-item-color-disabled)}sd-select-list-item .sd-select-list-item--group.sd-select-list-item--focused .sd-select-list-item__count{color:#ffffff}sd-select-list-item .sd-select-list-item__checkbox{flex-shrink:0}`;
|
|
7
8
|
|
|
@@ -86,7 +87,7 @@ const SdSelectListItem = class {
|
|
|
86
87
|
return (
|
|
87
88
|
// 키보드 네비게이션은 부모 listbox 의 ArrowUp/Down + Enter 가 담당. 항목 자체는 role=option, tabindex=-1 으로 표시.
|
|
88
89
|
// eslint-disable-next-line jsx-a11y/click-events-have-key-events
|
|
89
|
-
h("div", { key: '
|
|
90
|
+
h("div", { key: '0e0a07c33c9e6718771ba8cc27d62e4909434562', role: "option", tabindex: -1, "aria-selected": this.isSelected === true ? 'true' : 'false', class: {
|
|
90
91
|
'sd-select-list-item': true,
|
|
91
92
|
'sd-select-list-item--group': isGroup,
|
|
92
93
|
'sd-select-list-item--depth1-group': isDepth1Group,
|
|
@@ -96,7 +97,7 @@ const SdSelectListItem = class {
|
|
|
96
97
|
'sd-select-list-item--focused': this.isFocused,
|
|
97
98
|
'sd-select-list-item--selectable': this.isSelectable && !this.option.disabled,
|
|
98
99
|
'sd-select-list-item--disabled': !!this.option.disabled,
|
|
99
|
-
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: '
|
|
100
|
+
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: 'd3078da8737c28b279f2057c06266710af6191cd', 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: '36b88dbda0d2bbd27b5df60eaaa855ebe77e0905', class: "sd-select-list-item__count" }, "(", this.countInfo.selected, "/", this.countInfo.total, ")"))));
|
|
100
101
|
}
|
|
101
102
|
};
|
|
102
103
|
SdSelectListItem.style = sdSelectListItemCss();
|
|
@@ -153,15 +154,15 @@ const SdSelectListItemSearch = class {
|
|
|
153
154
|
clearTimeout(this.debounceTimer);
|
|
154
155
|
}
|
|
155
156
|
render() {
|
|
156
|
-
return (h("div", { key: '
|
|
157
|
+
return (h("div", { key: '6caac256fb6b1fc3e7b3fc7f7ee66b163737f944', class: {
|
|
157
158
|
'sd-select-list-item-search': true,
|
|
158
159
|
'sd-select-list-item-search--scrolled': this.isScrolled,
|
|
159
|
-
} }, h("div", { key: '
|
|
160
|
+
} }, h("div", { key: '3193b47072cb73c4400e606aa8dbd4553e178738', class: "sd-select-list-item-search__inner" }, h("sd-icon", { key: '6165dae71933cbdf5c66d533d4cae43ae95f7bd4', name: "search", size: 16, color: "grey_70", class: "sd-select-list-item-search__icon" }), h("input", { key: 'd0526a3a20e220068a4b4cb489af060c80952325', ref: el => {
|
|
160
161
|
this.inputEl = el;
|
|
161
|
-
}, 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: '
|
|
162
|
+
}, 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: 'e139b3ddab9ac793bfcf44480161a1d0c501a861', type: "button", class: {
|
|
162
163
|
'sd-select-list-item-search__clear': true,
|
|
163
164
|
'sd-select-list-item-search__clear--hidden': this.searchText === '',
|
|
164
|
-
}, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, h("sd-icon", { key: '
|
|
165
|
+
}, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, h("sd-icon", { key: '4d29274a17767dec92bb6052196832272ab215df', name: "close", size: 12, color: "#888888" })))));
|
|
165
166
|
}
|
|
166
167
|
};
|
|
167
168
|
SdSelectListItemSearch.style = sdSelectListItemSearchCss();
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, a as getElement, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, a as getElement, h } from './index-DDNBPrZh.js';
|
|
2
2
|
import { n as nanoid } from './index-CCwNgVmC.js';
|
|
3
|
-
import { c as countLeaves, S as SEARCH_THRESHOLD, f as filterTree, i as isHtmlLabel, e as extractText, E as EMPTY_MESSAGE, L as LIST_BOX_LAYOUT, a as SELECT_COLORS, b as SELECT_TYPOGRAPHY, d as SELECT_LAYOUT } from './sd-select.config-
|
|
3
|
+
import { c as countLeaves, S as SEARCH_THRESHOLD, f as filterTree, i as isHtmlLabel, e as extractText, E as EMPTY_MESSAGE, L as LIST_BOX_LAYOUT, a as SELECT_COLORS, b as SELECT_TYPOGRAPHY, d as SELECT_LAYOUT } from './sd-select.config-CeHGlqOT.js';
|
|
4
4
|
import { s as sanitizeInlineHtml } from './sanitize-inline-html-BE4tnQ2Z.js';
|
|
5
|
-
import './component.listItem-
|
|
5
|
+
import './component.listItem-4S0_Ykmo.js';
|
|
6
|
+
import './component.listBox-DlJaYVWf.js';
|
|
6
7
|
|
|
7
8
|
const sdSelectCss = () => `sd-select{display:inline-flex}sd-select sd-portal{display:none}sd-select .sd-select{position:relative;width:100%;height:100%}`;
|
|
8
9
|
|
|
@@ -294,15 +295,15 @@ const SdSelect = class {
|
|
|
294
295
|
this.closeDropdown();
|
|
295
296
|
},
|
|
296
297
|
};
|
|
297
|
-
return (h("sd-field", { key: '
|
|
298
|
+
return (h("sd-field", { key: '2272f300b9aa6645dd772d06694e728f9abcea28', 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: () => {
|
|
298
299
|
this.hovered = true;
|
|
299
300
|
}, onMouseLeave: () => {
|
|
300
301
|
this.hovered = false;
|
|
301
|
-
} }, h("div", { key: '
|
|
302
|
+
} }, h("div", { key: 'b9c769146720634abb4d018d022e28749ef0b939', class: "sd-select", ref: el => {
|
|
302
303
|
this.triggerRef = el;
|
|
303
|
-
} }, h("sd-select-trigger", { key: '
|
|
304
|
+
} }, h("sd-select-trigger", { key: '792bbee6e36298a306d720bc15bff61d5bba7545', ref: el => {
|
|
304
305
|
this.triggerComponentRef = el;
|
|
305
|
-
}, 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: '
|
|
306
|
+
}, 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: 'c70299735ea4f9fd257a0b3384e728bbf9fc9d97', ...portalProps }, h("sd-select-listbox", { key: 'd0dbfc0382131e998f54d6a0cb04fc6b1a9128c8', 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) })))));
|
|
306
307
|
}
|
|
307
308
|
static get watchers() { return {
|
|
308
309
|
"isOpen": [{
|
|
@@ -679,9 +680,9 @@ const SdSelectListbox = class {
|
|
|
679
680
|
'--listbox-max-height': this.maxHeight ?? '260px',
|
|
680
681
|
'--listbox-radius': `${LIST_BOX_LAYOUT.radius}px`,
|
|
681
682
|
};
|
|
682
|
-
return (h("div", { key: '
|
|
683
|
+
return (h("div", { key: '4de15e4c150ee542656ee3f73aa41dd32379748f', class: "sd-select-listbox", style: cssVars }, this.showSearch && (h("sd-select-list-item-search", { key: 'cb656ccafc2833b438f14ac48ca8686684212ead', isScrolled: this.isScrolled, onSdSearchFilter: this.handleSearchFilter })), h("div", { key: '5ffaefb63605c4319810046e9d40aa5fcb4754de', class: "sd-select-listbox__list", onScroll: this.handleScroll, ref: el => {
|
|
683
684
|
this.listEl = el;
|
|
684
|
-
} }, this.showSelectAll && (h("sd-select-list-item", { key: '
|
|
685
|
+
} }, this.showSelectAll && (h("sd-select-list-item", { key: 'e1d3f7a37a037b386aae50cceb61e2b79d37453e', 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) })))))));
|
|
685
686
|
}
|
|
686
687
|
static get watchers() { return {
|
|
687
688
|
"searchKeyword": [{
|
|
@@ -749,7 +750,7 @@ const SdSelectTrigger = class {
|
|
|
749
750
|
? SELECT_COLORS.icon.disabled
|
|
750
751
|
: SELECT_COLORS.icon.default,
|
|
751
752
|
};
|
|
752
|
-
return (h("div", { key: '
|
|
753
|
+
return (h("div", { key: '33e639898a581e8556e1e9c966f14cb863246c35', ref: el => {
|
|
753
754
|
this.triggerEl = el;
|
|
754
755
|
}, role: "button", "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? 'true' : 'false', tabindex: this.disabled ? -1 : 0, class: {
|
|
755
756
|
'sd-select-trigger': true,
|
|
@@ -760,7 +761,7 @@ const SdSelectTrigger = class {
|
|
|
760
761
|
e.preventDefault();
|
|
761
762
|
this.handleClick();
|
|
762
763
|
}
|
|
763
|
-
}, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: '
|
|
764
|
+
}, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: 'a935f82879727eb212422c875b16e5fbf01460ba', 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: 'e98e8e317aa86a960674b21714ca90cfa3920197', name: "chevronDown", size: 12, color: "var(--trigger-icon-color)", class: {
|
|
764
765
|
'sd-select-trigger__icon': true,
|
|
765
766
|
'sd-select-trigger__icon--open': this.isOpen,
|
|
766
767
|
} }))));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-DDNBPrZh.js';
|
|
2
2
|
|
|
3
3
|
var switchTokens = {
|
|
4
4
|
"switch": {
|
|
@@ -107,7 +107,7 @@ const SdSwitch = class {
|
|
|
107
107
|
'--sd-switch-line-height': `${SWITCH_TYPOGRAPHY.lineHeight}px`,
|
|
108
108
|
'--sd-switch-text-decoration': SWITCH_TYPOGRAPHY.textDecoration,
|
|
109
109
|
};
|
|
110
|
-
return (h("label", { key: '
|
|
110
|
+
return (h("label", { key: '0dd7063a45e2adc589e2e8dfc7cdb5c0c585aeac', "aria-label": this.label || 'switch', class: this.switchClasses, style: cssVars }, h("input", { key: '01b94b14edd1571b8e21ba5a8bb72a0bd151b3a2', type: "checkbox", checked: this.value, disabled: this.disabled, onInput: this.handleChange }), h("div", { key: '6c6bfaa3909ed885811f3e2af402d3a16c9b75e2', class: "sd-switch__track" }, h("div", { key: 'd3861a5c67779b7e871d7a2f45b20439648402cc', class: "sd-switch__knob" })), this.label && h("span", { key: '25c5198adb208b1016e9eb5bf01eaa6fb501ebe5', class: "sd-switch__label" }, this.label)));
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
113
|
SdSwitch.style = sdSwitchCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as tableTokens } from './component.table-
|
|
1
|
+
import { t as tableTokens } from './component.table-5pkzwl5N.js';
|
|
2
2
|
import { s as systemTokens } from './system-BJfiMC9H.js';
|
|
3
3
|
|
|
4
4
|
// ── Header Tokens ──
|
|
@@ -29,10 +29,11 @@ const TABLE_BODY_LAYOUT = {
|
|
|
29
29
|
},
|
|
30
30
|
dense: {
|
|
31
31
|
height: tableTokens.table.body.dense.height,
|
|
32
|
-
paddingY: tableTokens.table.body.dense
|
|
32
|
+
paddingY: tableTokens.table.body.paddingY.dense,
|
|
33
33
|
},
|
|
34
|
-
paddingX: tableTokens.table.body.paddingX.
|
|
35
|
-
|
|
34
|
+
paddingX: tableTokens.table.body.paddingX.wide,
|
|
35
|
+
densePaddingX: tableTokens.table.body.paddingX.default,
|
|
36
|
+
framePadding: tableTokens.table.body.paddingX.default,
|
|
36
37
|
};
|
|
37
38
|
const TABLE_BODY_TYPOGRAPHY = {
|
|
38
39
|
fontFamily: tableTokens.table.body.typography.fontFamily,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, a as getElement, d as readTask, f as forceUpdate, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, a as getElement, d as readTask, f as forceUpdate, h, H as Host } from './index-DDNBPrZh.js';
|
|
2
2
|
import { T as TABLE_ID_ATTR } from './constants-sZMi_32I.js';
|
|
3
|
-
import { T as TABLE_BODY_LAYOUT, a as TABLE_SELECTABLE_COLUMN_WIDTH, b as TABLE_BODY_TYPOGRAPHY, c as TABLE_BORDER, d as TABLE_RADIUS } from './sd-table.config-
|
|
4
|
-
import './component.table-
|
|
3
|
+
import { T as TABLE_BODY_LAYOUT, a as TABLE_SELECTABLE_COLUMN_WIDTH, b as TABLE_BODY_TYPOGRAPHY, c as TABLE_BORDER, d as TABLE_RADIUS } from './sd-table.config-DmOBlnsM.js';
|
|
4
|
+
import './component.table-5pkzwl5N.js';
|
|
5
5
|
import './system-BJfiMC9H.js';
|
|
6
6
|
|
|
7
7
|
let urlAlphabet =
|
|
@@ -878,25 +878,25 @@ const SdTable = class {
|
|
|
878
878
|
'--table-selectable-width': `${TABLE_SELECTABLE_COLUMN_WIDTH}px`,
|
|
879
879
|
'--table-host-height': hostHeight,
|
|
880
880
|
};
|
|
881
|
-
return (h(Host, { key: '
|
|
881
|
+
return (h(Host, { key: 'e4f8c5d93a6fdae077abab4641ea4ea883249cae', style: hostStyle }, h("div", { key: '4af67aafb4cadc6de00ae92884e7d3585d85990b', class: "sd-table__container", style: {
|
|
882
882
|
'--table-width': this.width,
|
|
883
883
|
'--pagination-height': `${paginationHeight}px`,
|
|
884
|
-
} }, h("div", { key: '
|
|
884
|
+
} }, h("div", { key: 'd88a3f49c6cd1c0798774d06b9510fa62592138f', class: {
|
|
885
885
|
'sd-table__wrapper': true,
|
|
886
886
|
'sd-table__wrapper--radius-useTop': this.radius === 'useTop',
|
|
887
887
|
'sd-table__wrapper--radius-full': this.radius === 'full',
|
|
888
|
-
} }, h("div", { key: '
|
|
888
|
+
} }, h("div", { key: '891e2acca41a9224acaa1a688eedbb2defea7964', class: {
|
|
889
889
|
'sd-table__scroll-container': true,
|
|
890
890
|
'sd-table__scroll-container--loading': this.isLoading,
|
|
891
891
|
'sd-table__scroll-container--no-data': isNoData,
|
|
892
|
-
} }, this.isLoading && (h("div", { key: '
|
|
892
|
+
} }, this.isLoading && (h("div", { key: 'e59045daf43b2ac2e34a77e6b3532d5f6b18d1f5', class: "sd-table__loading", style: { top: `${this.loadingScrollTop}px` } }, h("sd-circle-progress", { key: '88023a5a6a25fef9f643e9c25a822adc292d8dff', indeterminate: true }))), isNoData && (h(h.Fragment, null, h("div", { key: 'd532beb284595d75086b9fd529ecd23c8ca9f03d', class: "sd-table__no-data-header-overlay" }), h("div", { key: 'f0d1047870fdb069bfc89caf14e52c14c664e57e', class: "sd-table__no-data" }, h("div", { key: '827123263a6dfaef37a59f6773e1385d4fc56579', class: "sd-table__no-data-content", ref: el => {
|
|
893
893
|
this.noDataContentEl = el;
|
|
894
894
|
if (el)
|
|
895
895
|
this.syncNoDataContentObserver();
|
|
896
|
-
} }, h("slot", { key: '
|
|
896
|
+
} }, h("slot", { key: '208dec9639a23e294eb8b2d806a0bc4a33fbfee7', name: "no-data" }, h("span", { key: '7afeda8315328ffb550bbf977ad8c68aaf7ea8cb' }, this.resolvedNoDataLabel)))))), h("table", { key: '66fc88a1ce062da02512fa4ec8f147cb8a24c876', 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 &&
|
|
897
897
|
this.pagination.rowsPerPage > 0 &&
|
|
898
898
|
this.rowCount > 0 &&
|
|
899
|
-
!this.useVirtualScroll && (h("div", { key: '
|
|
899
|
+
!this.useVirtualScroll && (h("div", { key: '98a0feac03369f0fb49db1378b0a1bdc84b4cf8e', class: "sd-table__pagination" }, h("sd-pagination", { key: 'b030119f0952a7375176775c666a16952828057b', 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: '3873d513d3f17a3ff3ae92fcbe38132faef8e07a', value: this.useInternalPagination
|
|
900
900
|
? this.innerRowsPerPage
|
|
901
901
|
: this.pagination.rowsPerPage, options: this.rowsPerPageOption, width: "128px", emitValue: true, onSdUpdate: e => {
|
|
902
902
|
if (!this.isRowsPerPageValue(e.detail))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-DDNBPrZh.js';
|
|
2
2
|
|
|
3
3
|
const tab = {
|
|
4
4
|
main: {
|
|
@@ -205,7 +205,7 @@ const SdTabs = class {
|
|
|
205
205
|
};
|
|
206
206
|
}
|
|
207
207
|
render() {
|
|
208
|
-
return (h("div", { key: '
|
|
208
|
+
return (h("div", { key: 'a844eb9710ff03e3878225aa8dc5e14ed270efde', class: this.getContainerClasses(), style: this.buildCssVars() }, this.tabs.map((tab, index) => {
|
|
209
209
|
const badgeName = this.getBadgeName(tab);
|
|
210
210
|
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 => {
|
|
211
211
|
if (e.key === 'Enter' || e.key === ' ') {
|
package/dist/esm/sd-td.entry.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, a as getElement, f as forceUpdate, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, a as getElement, f as forceUpdate, h, H as Host } from './index-DDNBPrZh.js';
|
|
2
2
|
import { T as TABLE_ID_ATTR } from './constants-sZMi_32I.js';
|
|
3
3
|
|
|
4
4
|
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}`;
|
|
@@ -165,7 +165,7 @@ const SdTd = class {
|
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
render() {
|
|
168
|
-
return (h(Host, { key: '
|
|
168
|
+
return (h(Host, { key: 'b2037351ddf7c9a8998befd477ffb81b7f204c99', class: { [`align-${this.align}`]: Boolean(this.align) } }, h("slot", { key: 'f9d2bd1433c737fc6cb209f45e773c5317cf3cde' })));
|
|
169
169
|
}
|
|
170
170
|
static get watchers() { return {
|
|
171
171
|
"field": [{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, a as getElement, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, a as getElement, h } from './index-DDNBPrZh.js';
|
|
2
2
|
|
|
3
3
|
const DEFAULT_DURATION = 4000;
|
|
4
4
|
const DEFAULT_MAX_VISIBLE = 3;
|
|
@@ -159,9 +159,9 @@ const SdToastContainer = class {
|
|
|
159
159
|
'top-left': { top: '20px', left: '20px' },
|
|
160
160
|
'top-center': { top: '20px', left: '50%', transform: 'translateX(-50%)' },
|
|
161
161
|
'top-right': { top: '20px', right: '20px' },
|
|
162
|
-
'bottom-left': { bottom: '
|
|
163
|
-
'bottom-center': { bottom: '
|
|
164
|
-
'bottom-right': { bottom: '
|
|
162
|
+
'bottom-left': { bottom: '100px', left: '20px' },
|
|
163
|
+
'bottom-center': { bottom: '100px', left: '50%', transform: 'translateX(-50%)' },
|
|
164
|
+
'bottom-right': { bottom: '100px', right: '20px' },
|
|
165
165
|
};
|
|
166
166
|
return { ...base, ...posMap[position] };
|
|
167
167
|
}
|
|
@@ -241,7 +241,7 @@ const SdToastContainer = class {
|
|
|
241
241
|
const activeToasts = toasts.filter(t => t.state !== 'exiting').reverse();
|
|
242
242
|
const indexMap = new Map();
|
|
243
243
|
activeToasts.forEach((t, i) => indexMap.set(t.id, i));
|
|
244
|
-
return (h("div", { key: '
|
|
244
|
+
return (h("div", { key: '005ce1d424e17b13a685c99e49d2eeda295d4346', class: "sd-toast-container", style: this.getContainerStyles(), onMouseEnter: () => {
|
|
245
245
|
this.expanded = true;
|
|
246
246
|
this.pauseTimers();
|
|
247
247
|
}, onMouseLeave: () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-DDNBPrZh.js';
|
|
2
2
|
|
|
3
3
|
const toast = {
|
|
4
4
|
icon: "16",
|
|
@@ -91,12 +91,12 @@ const SdToast = class {
|
|
|
91
91
|
const linkColor = typeConfig.linkColor ?? typeConfig.content;
|
|
92
92
|
const useDefaultCloseIntent = ['default', 'caution', 'info'].includes(this.type);
|
|
93
93
|
const buttonName = TOAST_BUTTON_NAME_BY_TYPE[this.type] ?? TOAST_BUTTON_NAME_BY_TYPE.default;
|
|
94
|
-
return (h("div", { key: '
|
|
94
|
+
return (h("div", { key: '434d4e58eed6589ed5cceb9df4c131a0594055e6', style: {
|
|
95
95
|
'--sd-toast-bg': typeConfig.bg,
|
|
96
96
|
'--sd-toast-text': typeConfig.content,
|
|
97
97
|
'--sd-toast-icon': iconColor,
|
|
98
98
|
'--sd-toast-link': linkColor,
|
|
99
|
-
} }, h("div", { key: '
|
|
99
|
+
} }, h("div", { key: '51209146aa46961d9a673417b72e96e1aef3f53b', class: "sd-toast", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.icon && (h("div", { key: 'a2b10d38936b85174d0315cae7bee2115ae06aba', class: "sd-toast__icon" }, h("sd-icon", { key: '96243916be0cf117a0f85801de8294eec8f7900b', name: this.icon, size: iconSize, color: iconColor }))), h("div", { key: 'bb5b2363aafb9322a356f7e0e94acd5b2723f8d2', class: "sd-toast__content" }, h("span", { key: '25535fc30123491e5cea78ae17ee8e32c2c8b986', class: "sd-toast__message" }, this.message)), this.link && (h("a", { key: 'bf110d2492ae38fbac422f7fbf6177bbd56fae2d', href: this.link, class: "sd-toast__link", target: "_blank", rel: "noopener noreferrer" }, this.linkLabel || this.link)), this.buttonLabel && (h("sd-button", { key: 'f8543c13d11222bac64dd4eab79cda0eaf78a396', class: "sd-toast__button", name: buttonName, label: this.buttonLabel, onSdClick: (event) => this.buttonClick.emit(event.detail) })), this.useClose && (h("sd-ghost-button", { key: 'c9ccf9348f116c3a5b22d649407c281cb22c09ab', class: "sd-toast__close", icon: "close", intent: useDefaultCloseIntent ? 'default' : 'inverse', ariaLabel: "close", size: "xs", onClick: () => this.close.emit() })))));
|
|
100
100
|
}
|
|
101
101
|
};
|
|
102
102
|
SdToast.style = sdToastCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-DDNBPrZh.js';
|
|
2
2
|
|
|
3
3
|
const toggle = {
|
|
4
4
|
height: "28",
|
|
@@ -121,7 +121,7 @@ const SdToggle = class {
|
|
|
121
121
|
'--sd-toggle-content-select': TOGGLE_COLORS.content.select,
|
|
122
122
|
'--sd-toggle-content-disabled': TOGGLE_COLORS.content.disabled,
|
|
123
123
|
};
|
|
124
|
-
return (h("label", { key: '
|
|
124
|
+
return (h("label", { key: 'e60aa1379566c4586ea4f7e852425f8829e806d1', class: this.toggleClasses, style: cssVars, "aria-label": this.label || 'toggle' }, this.label, h("input", { key: '9f2260749b392c0c72ad2a53b515f0b886e62c3a', style: { display: 'none' }, type: "checkbox", onInput: this.handleChange })));
|
|
125
125
|
}
|
|
126
126
|
};
|
|
127
127
|
SdToggle.style = sdToggleCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h } from './index-
|
|
1
|
+
import { h } from './index-DDNBPrZh.js';
|
|
2
2
|
|
|
3
3
|
const TooltipArrow = (props) => (h("svg", { width: "16", height: "12", viewBox: "0 0 16 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, 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" })));
|
|
4
4
|
|