@sellmate/design-system 1.7.3 → 1.9.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.datepicker-Cw_-oidk.js → component.datepicker-CUQbDSku.js} +0 -1
- package/dist/cjs/component.field-YIQ9TAhV.js +61 -0
- package/dist/cjs/{component.textinput-BpXDeZPD.js → component.textinput-Bb-nU5xI.js} +3 -2
- package/dist/cjs/design-system.cjs.js +2 -2
- package/dist/cjs/{index-BGwB03Tk.js → index-C63F8C0_.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{sanitize-inline-html-BZCCwH_U.js → sanitize-inline-html-CRCAeQ46.js} +28 -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 +2 -2
- package/dist/cjs/{sd-button.config-BSHkfgdC.js → sd-button.config-WeoddlTQ.js} +2 -3
- package/dist/cjs/sd-button_2.cjs.entry.js +2 -2
- package/dist/cjs/sd-calendar_2.cjs.entry.js +5 -4
- package/dist/cjs/sd-callout.cjs.entry.js +3 -3
- 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.cjs.entry.js +4 -6
- package/dist/cjs/sd-circle-progress.cjs.entry.js +1 -1
- package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +2 -2
- package/dist/cjs/sd-date-box.cjs.entry.js +1 -1
- package/dist/cjs/{sd-date-picker.config-D3lTpa6W.js → sd-date-picker.config-CtXmufyj.js} +6 -2
- package/dist/cjs/sd-date-picker_7.cjs.entry.js +26 -40
- package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +3 -3
- 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 +8 -50
- package/dist/cjs/sd-form.cjs.entry.js +1 -1
- package/dist/cjs/sd-ghost-button.cjs.entry.js +1 -1
- package/dist/cjs/sd-guide.cjs.entry.js +2 -2
- package/dist/cjs/sd-key-value-table.cjs.entry.js +1 -1
- package/dist/cjs/sd-linear-progress.cjs.entry.js +1 -1
- package/dist/cjs/sd-loading-container.cjs.entry.js +1 -1
- package/dist/cjs/sd-modal-container.cjs.entry.js +1 -1
- package/dist/cjs/sd-pagination_4.cjs.entry.js +6 -8
- package/dist/cjs/sd-popover.cjs.entry.js +8 -7
- package/dist/cjs/sd-popup.cjs.entry.js +1 -1
- package/dist/cjs/sd-portal.cjs.entry.js +1 -1
- 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 +9 -8
- package/dist/cjs/{sd-select.config-B19ptCT2.js → sd-select.config-DrJ4LNVz.js} +24 -13
- package/dist/cjs/sd-select_3.cjs.entry.js +16 -13
- package/dist/cjs/sd-switch.cjs.entry.js +2 -2
- package/dist/cjs/sd-table.cjs.entry.js +15 -13
- package/dist/cjs/sd-tabs.cjs.entry.js +2 -2
- package/dist/cjs/sd-tag.cjs.entry.js +1 -1
- package/dist/cjs/sd-td.cjs.entry.js +2 -2
- package/dist/cjs/sd-text-link.cjs.entry.js +20 -20
- 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 +2 -2
- package/dist/cjs/{tooltipArrow-COD-SNZL.js → tooltipArrow-DONQ8MML.js} +1 -1
- package/dist/cjs/{useDatePicker-dCuEgvjX.js → useDatePicker-iMd6WToc.js} +1 -1
- package/dist/collection/components/sd-button/sd-button.config.js +1 -1
- package/dist/collection/components/sd-callout/sd-callout.css +2 -2
- package/dist/collection/components/sd-date-picker/sd-date-picker.config.js +5 -1
- package/dist/collection/components/sd-file-picker/sd-file-picker.config.js +11 -10
- package/dist/collection/components/sd-number-input/sd-number-input.config.js +4 -3
- package/dist/collection/components/sd-popover/sd-popover.js +5 -5
- package/dist/collection/components/sd-select/sd-select-list-item/sd-select-list-item.js +4 -3
- 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 +7 -4
- package/dist/collection/components/sd-select/sd-select-trigger/sd-select-trigger.js +4 -3
- package/dist/collection/components/sd-select/sd-select.config.js +17 -10
- package/dist/collection/components/sd-select/sd-select.js +5 -6
- package/dist/collection/components/sd-switch/sd-switch.js +1 -1
- package/dist/collection/components/sd-table/sd-table.css +3 -2
- package/dist/collection/components/sd-table/sd-table.js +13 -11
- 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 +0 -2
- package/dist/collection/components/sd-tabs/sd-tabs.js +1 -1
- package/dist/collection/components/sd-text-link/sd-text-link.config.js +4 -4
- package/dist/collection/components/sd-text-link/sd-text-link.js +11 -11
- 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/collection/utils/html/sanitize-inline-html.js +28 -2
- package/dist/components/index.js +1 -1
- package/dist/components/{p-lOVBaLB7.js → p-7TYtYYrb.js} +1 -1
- package/dist/components/{p-p4bNikji.js → p-B3vmDhWb.js} +1 -1
- package/dist/components/p-B5XCkCeg.js +1 -0
- package/dist/components/{p-2z2c2umH.js → p-B8QZRiYH.js} +1 -1
- package/dist/components/{p-DKwnEkHE.js → p-B8Z5qc_1.js} +1 -1
- package/dist/components/p-BDUIw6As.js +1 -0
- package/dist/components/p-BE4tnQ2Z.js +1 -0
- package/dist/components/{p-DQj-S8AC.js → p-BNkExhYB.js} +1 -1
- package/dist/components/p-BOJJ_sQS.js +1 -0
- package/dist/components/{p-CwQTEZWO.js → p-BS1cT5dG.js} +1 -1
- package/dist/components/{p-I9SoAcVO.js → p-BYgOJUk0.js} +1 -1
- package/dist/components/p-B_FQcRtk.js +1 -0
- package/dist/components/{p-wLoP3KMv.js → p-BaOCZ7B6.js} +1 -1
- package/dist/components/{p-DMrXwfmf.js → p-BmmIQQlT.js} +1 -1
- package/dist/components/{p-BWJtQGYo.js → p-BnJJAhY6.js} +1 -1
- package/dist/components/{p-DnW8EAqd.js → p-BysikR_g.js} +1 -1
- package/dist/components/{p-uVZjhyvS.js → p-C2LhOf89.js} +1 -1
- package/dist/components/p-C5wgHjtx.js +1 -0
- package/dist/components/p-C79Cowjq.js +1 -0
- package/dist/components/{p-y_6iWhDy.js → p-C8MKSPNX.js} +1 -1
- package/dist/components/{p-Cye8r1MG.js → p-CFL9Rfh8.js} +1 -1
- package/dist/components/{p-B6G64i5a.js → p-CMUpMkva.js} +1 -1
- package/dist/components/p-C_RL1gZR.js +1 -0
- package/dist/components/p-CeoBnd3w.js +1 -0
- package/dist/components/p-CnCH_nnG.js +1 -0
- package/dist/components/p-CpdFMy8s.js +1 -0
- package/dist/components/{p-B6JOxZKP.js → p-CqcGVHzJ.js} +1 -1
- package/dist/components/{p-DhtKHJ7-.js → p-CtxH9xQc.js} +1 -1
- package/dist/components/{p-CwRItc2J.js → p-CwUPCrDk.js} +1 -1
- package/dist/components/{p-f10Mw7qM.js → p-DEfG8t7h.js} +1 -1
- package/dist/components/p-DGCbSjhn.js +1 -0
- package/dist/components/p-DLNwV8Wa.js +1 -0
- package/dist/components/{p-cX2DD74L.js → p-DLeITJ-j.js} +1 -1
- package/dist/components/{p-BasCjDiE.js → p-DjS-dtF5.js} +1 -1
- package/dist/components/{p-B6L3bPm2.js → p-DqXt80Qn.js} +1 -1
- package/dist/components/{p-DCFqtVBm.js → p-Due8URWT.js} +1 -1
- package/dist/components/{p-DhmsCQrB.js → p-J57vnHhu.js} +1 -1
- package/dist/components/{p-D6cUtm8p.js → p-PDLDFsH7.js} +1 -1
- package/dist/components/{p-ByhWX2NK.js → p-e0ABNkP6.js} +1 -1
- package/dist/components/{p-B45aOf4I.js → p-ipduET5U.js} +1 -1
- package/dist/components/p-laVsm9VM.js +1 -0
- package/dist/components/{p-CTuKWVTh.js → p-pfGv13eX.js} +1 -1
- package/dist/components/p-siTDlOb6.js +1 -0
- package/dist/components/{p-EcuI_UmK.js → p-yTY5CmAx.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.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-18d3ae55.entry.js → p-06344171.entry.js} +1 -1
- package/dist/design-system/{p-95bbba4f.entry.js → p-0a225a4a.entry.js} +1 -1
- package/dist/design-system/{p-ff33d019.entry.js → p-11e99ac5.entry.js} +1 -1
- package/dist/design-system/{p-9d34518e.entry.js → p-17d8457d.entry.js} +1 -1
- package/dist/design-system/p-19d47ac2.entry.js +1 -0
- package/dist/design-system/{p-cffa6da7.entry.js → p-1dd139cb.entry.js} +1 -1
- package/dist/design-system/{p-e6bd8ab1.entry.js → p-21f654e3.entry.js} +1 -1
- package/dist/design-system/{p-ea586c5e.entry.js → p-27f61c1f.entry.js} +1 -1
- package/dist/design-system/{p-18057222.entry.js → p-2bd09b2f.entry.js} +1 -1
- package/dist/design-system/{p-78c2fd6d.entry.js → p-2ef3cd00.entry.js} +1 -1
- package/dist/design-system/p-362ac234.entry.js +1 -0
- package/dist/design-system/{p-1219699a.entry.js → p-39a2bf05.entry.js} +1 -1
- package/dist/design-system/{p-78b0b759.entry.js → p-3eb72b33.entry.js} +1 -1
- package/dist/design-system/{p-c73cadc7.entry.js → p-4ca63a2d.entry.js} +1 -1
- package/dist/design-system/{p-74b3e95b.entry.js → p-515e837b.entry.js} +1 -1
- package/dist/design-system/p-5b7ea330.entry.js +1 -0
- package/dist/design-system/{p-f3dff8b8.entry.js → p-5ee1e5e6.entry.js} +1 -1
- package/dist/design-system/{p-e81cb8c9.entry.js → p-6716691b.entry.js} +1 -1
- package/dist/design-system/{p-f14962bd.entry.js → p-7440fbe7.entry.js} +1 -1
- package/dist/design-system/{p-54086285.entry.js → p-79e73305.entry.js} +1 -1
- package/dist/design-system/{p-cce38339.entry.js → p-7b01d78b.entry.js} +1 -1
- package/dist/design-system/{p-2d3d25bd.entry.js → p-86db28ce.entry.js} +1 -1
- package/dist/design-system/{p-5d5d8220.entry.js → p-8926c5ec.entry.js} +1 -1
- package/dist/design-system/p-90cc9785.entry.js +1 -0
- package/dist/design-system/p-95cce55d.entry.js +1 -0
- package/dist/design-system/{p-8674d868.entry.js → p-97b16b63.entry.js} +1 -1
- package/dist/design-system/p-BE4tnQ2Z.js +1 -0
- package/dist/design-system/p-BOJJ_sQS.js +1 -0
- package/dist/design-system/p-BpO2YWvq.js +2 -0
- package/dist/design-system/{p-BGtUaScP.js → p-BqWuC4-J.js} +1 -1
- package/dist/design-system/{p-LIf7YMBN.js → p-CcVraVK0.js} +1 -1
- package/dist/design-system/p-CdRvJ-Uc.js +1 -0
- package/dist/design-system/p-DtrsLG0Z.js +1 -0
- package/dist/design-system/{p-2c0a8333.entry.js → p-a0607a9f.entry.js} +1 -1
- package/dist/design-system/{p-1aafbc7b.entry.js → p-a0daadc8.entry.js} +1 -1
- package/dist/design-system/{p-46faa7ed.entry.js → p-a39016ac.entry.js} +1 -1
- package/dist/design-system/{p-9e75a5dc.entry.js → p-a4fff652.entry.js} +1 -1
- package/dist/design-system/{p-969665c0.entry.js → p-acfe5585.entry.js} +1 -1
- package/dist/design-system/{p-bd4e5141.entry.js → p-b3b46576.entry.js} +1 -1
- package/dist/design-system/{p-d8292621.entry.js → p-b456b9ac.entry.js} +1 -1
- package/dist/design-system/{p-8fc49d2d.entry.js → p-cad22f63.entry.js} +1 -1
- package/dist/design-system/p-d24F7UcR.js +1 -0
- package/dist/design-system/{p-5c4fd9c1.entry.js → p-d9c1ec16.entry.js} +1 -1
- package/dist/design-system/p-de565b9f.entry.js +1 -0
- package/dist/design-system/{p-07b0d118.entry.js → p-de743615.entry.js} +1 -1
- package/dist/design-system/{p-ByhWX2NK.js → p-e0ABNkP6.js} +1 -1
- package/dist/design-system/{p-a5930cbd.entry.js → p-e1ef1eb8.entry.js} +1 -1
- package/dist/design-system/p-f4597b6e.entry.js +1 -0
- package/dist/design-system/{p-4b43648c.entry.js → p-f5eb4e2f.entry.js} +1 -1
- package/dist/design-system/{p-25fad267.entry.js → p-ff24fcb2.entry.js} +1 -1
- package/dist/design-system/p-laVsm9VM.js +1 -0
- package/dist/esm/{component.datepicker-BQn6le_Y.js → component.datepicker-laVsm9VM.js} +0 -1
- package/dist/esm/component.field-BOJJ_sQS.js +59 -0
- package/dist/esm/{component.textinput-ByhWX2NK.js → component.textinput-e0ABNkP6.js} +3 -2
- package/dist/esm/design-system.js +3 -3
- package/dist/esm/{index-DNWwGHho.js → index-BpO2YWvq.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{sanitize-inline-html-DopVneZA.js → sanitize-inline-html-BE4tnQ2Z.js} +28 -2
- 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 +2 -2
- package/dist/esm/{sd-button.config-C7p6g_sM.js → sd-button.config-CdRvJ-Uc.js} +2 -3
- package/dist/esm/sd-button_2.entry.js +2 -2
- package/dist/esm/sd-calendar_2.entry.js +5 -4
- package/dist/esm/sd-callout.entry.js +3 -3
- package/dist/esm/sd-card.entry.js +1 -1
- package/dist/esm/sd-checkbox.entry.js +1 -1
- package/dist/esm/sd-chip.entry.js +4 -6
- package/dist/esm/sd-circle-progress.entry.js +1 -1
- package/dist/esm/sd-confirm-modal_2.entry.js +2 -2
- package/dist/esm/sd-date-box.entry.js +1 -1
- package/dist/esm/{sd-date-picker.config-CGEE3DkI.js → sd-date-picker.config-6dvDZPGx.js} +6 -2
- package/dist/esm/sd-date-picker_7.entry.js +26 -40
- package/dist/esm/sd-date-range-picker-calendar.entry.js +3 -3
- 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 +5 -47
- package/dist/esm/sd-form.entry.js +1 -1
- package/dist/esm/sd-ghost-button.entry.js +1 -1
- package/dist/esm/sd-guide.entry.js +2 -2
- package/dist/esm/sd-key-value-table.entry.js +1 -1
- package/dist/esm/sd-linear-progress.entry.js +1 -1
- package/dist/esm/sd-loading-container.entry.js +1 -1
- package/dist/esm/sd-modal-container.entry.js +1 -1
- package/dist/esm/sd-pagination_4.entry.js +6 -8
- package/dist/esm/sd-popover.entry.js +8 -7
- package/dist/esm/sd-popup.entry.js +1 -1
- package/dist/esm/sd-portal.entry.js +1 -1
- 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 +9 -8
- package/dist/esm/{sd-select.config-CxOCk_ge.js → sd-select.config-DtrsLG0Z.js} +23 -14
- package/dist/esm/sd-select_3.entry.js +16 -13
- package/dist/esm/sd-switch.entry.js +2 -2
- package/dist/esm/sd-table.entry.js +15 -13
- package/dist/esm/sd-tabs.entry.js +2 -2
- package/dist/esm/sd-tag.entry.js +1 -1
- package/dist/esm/sd-td.entry.js +2 -2
- package/dist/esm/sd-text-link.entry.js +20 -20
- 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 +2 -2
- package/dist/esm/{tooltipArrow-Cj3AqWK0.js → tooltipArrow-DrrY_fPj.js} +1 -1
- package/dist/esm/{useDatePicker-D5RmWGOp.js → useDatePicker-DoUg--aq.js} +1 -1
- package/dist/types/components/sd-barcode-input/sd-barcode-input.config.d.ts +0 -2
- package/dist/types/components/sd-date-picker/sd-date-picker.config.d.ts +1 -1
- package/dist/types/components/sd-input/sd-input.config.d.ts +0 -2
- package/dist/types/components/sd-number-input/sd-number-input.config.d.ts +2 -2
- package/dist/types/components/sd-popover/sd-popover.d.ts +1 -1
- package/dist/types/components/sd-select/sd-select.config.d.ts +2 -0
- package/dist/types/components/sd-text-link/sd-text-link.d.ts +1 -1
- package/dist/types/components/sd-textarea/sd-textarea.config.d.ts +0 -2
- package/dist/types/components.d.ts +7 -7
- package/hydrate/index.js +217 -179
- package/hydrate/index.mjs +217 -179
- package/package.json +1 -1
- package/dist/components/p-BQn6le_Y.js +0 -1
- package/dist/components/p-Bhh7ig9Q.js +0 -1
- package/dist/components/p-C4uWhzoG.js +0 -1
- package/dist/components/p-C8c6MuKQ.js +0 -1
- package/dist/components/p-CkR5oiLy.js +0 -1
- package/dist/components/p-CvfW21oo.js +0 -1
- package/dist/components/p-D7g33VZR.js +0 -1
- package/dist/components/p-DISZkQqT.js +0 -1
- package/dist/components/p-DP0Dp12H.js +0 -1
- package/dist/components/p-DmDGMDzt.js +0 -1
- package/dist/components/p-DoREs-rv.js +0 -1
- package/dist/components/p-DopVneZA.js +0 -1
- package/dist/components/p-_zllPZMm.js +0 -1
- package/dist/components/p-pwNG5WaX.js +0 -1
- package/dist/design-system/p-0de5a53b.entry.js +0 -1
- package/dist/design-system/p-25204798.entry.js +0 -1
- package/dist/design-system/p-3e2b5e01.entry.js +0 -1
- package/dist/design-system/p-4c3ead1b.entry.js +0 -1
- package/dist/design-system/p-60b80bf3.entry.js +0 -1
- package/dist/design-system/p-BQn6le_Y.js +0 -1
- package/dist/design-system/p-C7p6g_sM.js +0 -1
- package/dist/design-system/p-CxOCk_ge.js +0 -1
- package/dist/design-system/p-DNWwGHho.js +0 -2
- package/dist/design-system/p-DopVneZA.js +0 -1
- package/dist/design-system/p-TF8_Lyhq.js +0 -1
- package/dist/design-system/p-c1bac61e.entry.js +0 -1
- package/dist/design-system/p-deec1ef0.entry.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, a as getElement, h } from './index-
|
|
1
|
+
import { r as registerInstance, a as getElement, h } from './index-BpO2YWvq.js';
|
|
2
2
|
import { s as systemTokens } from './system-j2khhcHY.js';
|
|
3
|
-
import { s as sanitizeInlineHtml } from './sanitize-inline-html-
|
|
3
|
+
import { s as sanitizeInlineHtml } from './sanitize-inline-html-BE4tnQ2Z.js';
|
|
4
4
|
|
|
5
5
|
const guide = {
|
|
6
6
|
button: {
|
|
@@ -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-BpO2YWvq.js';
|
|
2
2
|
import { s as systemTokens } from './system-j2khhcHY.js';
|
|
3
3
|
import { t as tableTokens } from './component.table-D6GUzecR.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-BpO2YWvq.js';
|
|
2
2
|
import { p as progressTokens } from './component.progress-D1vaasIp.js';
|
|
3
3
|
import { s as systemTokens } from './system-j2khhcHY.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-BpO2YWvq.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
|
|
|
@@ -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-BpO2YWvq.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,4 +1,4 @@
|
|
|
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-BpO2YWvq.js';
|
|
2
2
|
import { T as TABLE_ID_ATTR } from './constants-sZMi_32I.js';
|
|
3
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-D9meRqTx.js';
|
|
4
4
|
import './component.table-D6GUzecR.js';
|
|
@@ -213,9 +213,9 @@ const SdTbody = class {
|
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
215
|
render() {
|
|
216
|
-
return (h(Host, { key: '
|
|
216
|
+
return (h(Host, { key: '835dc8ccba601a916fdd8466176a8ad8896c2bf7', slot: `${this.tableId}-body` }, h("tbody", { key: 'e2013dde727695abc366e4e3a1660c8a5835fe67', class: { tbody: true } }, [
|
|
217
217
|
this.topSpacerHeight > 0 && (h("tr", { key: "spacer-top", class: "tbody__spacer", style: { height: `${this.topSpacerHeight}px`, display: 'block' } })),
|
|
218
|
-
h("slot", { key: '
|
|
218
|
+
h("slot", { key: '1d75d1880a9b8e0c646b93443cf708c7d4e399c7' }),
|
|
219
219
|
this.bottomSpacerHeight > 0 && (h("tr", { key: "spacer-bottom", class: "tbody__spacer", style: { height: `${this.bottomSpacerHeight}px`, display: 'block' } })),
|
|
220
220
|
])));
|
|
221
221
|
}
|
|
@@ -390,16 +390,16 @@ const SdThead = class {
|
|
|
390
390
|
'--table-border-color': TABLE_BORDER.color,
|
|
391
391
|
'--table-border-width': `${TABLE_BORDER.width}px`,
|
|
392
392
|
};
|
|
393
|
-
return (h(Host, { key: '
|
|
393
|
+
return (h(Host, { key: '6984dbdc0ac520bda1aff4dcb3468d88ba4f5f47', slot: `${this.tableId}-head`, style: headStyle }, h("thead", { key: 'e2c83c062219727f33ae8b7d67c54910a2d907a0', class: {
|
|
394
394
|
'thead': true,
|
|
395
395
|
'thead--sticky': this._stickyHeader,
|
|
396
|
-
} }, h("tr", { key: '
|
|
396
|
+
} }, h("tr", { key: '43ff9b8c3c7c6c2941a87defcc296936300664c8', class: "tr" }, this._selectable && (h("th", { key: '5126c20814657af0731b18359ac160717439a388', class: {
|
|
397
397
|
'th': true,
|
|
398
398
|
'th--selected': true,
|
|
399
399
|
'sticky-left': true,
|
|
400
400
|
'sticky-left-edge': stickyLeftCount === 0,
|
|
401
401
|
'is-scrolled-left': stickyLeftCount === 0 && this._scrolledLeft,
|
|
402
|
-
}, style: { '--sticky-left-offset': '0px' } }, h("sd-checkbox", { key: '
|
|
402
|
+
}, style: { '--sticky-left-offset': '0px' } }, h("sd-checkbox", { key: '39777a1e26376d9ed4c59ae3fcf1d6190b9007eb', value: this.getIsAllChecked(), disabled: safeRows.length === 0, onSdUpdate: (e) => this.handleSelectAll(e.detail) }), h("div", { key: 'd4212b9d4e2905cd5dfd57046e4455d12d09988d', class: "th__bar" }))), stickyLeftCols.map((col, idx) => (h("th", { key: col.name, class: {
|
|
403
403
|
'th': true,
|
|
404
404
|
[`${col.thClass}`]: Boolean(col.thClass),
|
|
405
405
|
'sticky-left': true,
|
|
@@ -600,8 +600,6 @@ const SdTr = class {
|
|
|
600
600
|
return this.tableEl.getCellClassSync(this.rowKey, fieldName);
|
|
601
601
|
}
|
|
602
602
|
getFramePaddingStyle(field) {
|
|
603
|
-
if (!this._dense)
|
|
604
|
-
return undefined;
|
|
605
603
|
if (!(this.tableEl?.isCellUseFrameSync?.(this.rowKey, field) ?? false))
|
|
606
604
|
return undefined;
|
|
607
605
|
return { padding: `${TABLE_BODY_LAYOUT.framePadding}px` };
|
|
@@ -1,8 +1,9 @@
|
|
|
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-BpO2YWvq.js';
|
|
2
|
+
import { T as TooltipArrow } from './tooltipArrow-DrrY_fPj.js';
|
|
3
3
|
|
|
4
4
|
const popover = {
|
|
5
|
-
|
|
5
|
+
"default": {
|
|
6
|
+
bg: "#07284A"}};
|
|
6
7
|
var popoverTokens = {
|
|
7
8
|
popover: popover
|
|
8
9
|
};
|
|
@@ -65,17 +66,17 @@ const SdPopover = class {
|
|
|
65
66
|
const leftLink = this.leftLink;
|
|
66
67
|
const button = this.button;
|
|
67
68
|
const hasFooter = !!leftLink || !!button;
|
|
68
|
-
return (h(Fragment, { key: '
|
|
69
|
+
return (h(Fragment, { key: '649e07ee45d3e7e5f72a438ef2939bfe6d3c56e4' }, this.label !== '' ? (h("sd-button", { ref: el => (this.buttonEl = el), name: this.name ?? 'primary_sm', label: this.label, icon: icon, rightIcon: this.rightIcon, ariaLabel: this.ariaLabel || this.label || icon || 'Open popover', disabled: this.disabled, type: this.type ?? 'button', class: "sd-popover", onSdClick: () => this.setShow(!this.show) })) : (h("sd-icon", { ref: el => (this.buttonEl = el), name: icon, size: iconSize, color: color, class: "sd-popover", onClick: () => this.setShow(!this.show) })), this.show && (h("sd-floating-portal", { key: '486d1859387b0c8cc82646ab5e7b6800792ca2be', parentRef: this.buttonEl, onSdClose: this.handleClose, placement: placement, offset: this.popoverOffset }, h("div", { key: '4418e064c76478a5b4dfd2fb69d11e1603a22530', class: {
|
|
69
70
|
'sd-floating-menu': true,
|
|
70
71
|
'sd-floating-menu--popover': true,
|
|
71
72
|
[`sd-floating-menu--${placement}`]: true,
|
|
72
73
|
[menuClass]: menuClass !== '',
|
|
73
74
|
}, style: {
|
|
74
|
-
'--sd-floating-bg': popoverTokens.popover.bg,
|
|
75
|
-
} }, h("i", { key: '
|
|
75
|
+
'--sd-floating-bg': popoverTokens.popover.default.bg,
|
|
76
|
+
} }, h("i", { key: 'a181ce40ae957e77be7c8f9b10e6f1fe8190cd52', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${placement}` }, h(TooltipArrow, { key: '323bca17c3c245063cbd1ac55ed64bf6f6df9e3e' })), h("div", { key: '06e98cf6e888dc66a6a700710669c61ac9d9c494', class: "sd-floating-menu__content" }, this.menuTitle && h("div", { key: '831ca9893ccafcad8e0858fb28269428ebac6a07', class: "sd-floating-menu__title" }, this.menuTitle), this.slotContentHTML && (h("div", { key: 'cdd2eafe18d5b0b44f10dbebbb68ed9d010173b1', class: "sd-floating-menu__messages", innerHTML: this.slotContentHTML })), hasFooter && (h("div", { key: '8149044a08de968ef38f432ee3303d969b49eace', class: {
|
|
76
77
|
'sd-floating-menu__buttons': true,
|
|
77
78
|
'sd-floating-menu__buttons--with-link': !!leftLink,
|
|
78
|
-
} }, leftLink && (h("sd-text-link", { key: '
|
|
79
|
+
} }, leftLink && (h("sd-text-link", { key: '4c7e9c2b4fe8664b3af375a3c89b1cd50d64a9c3', class: "sd-floating-menu__left-link", label: leftLink.label, icon: leftLink.icon ?? '', iconColor: leftLink.iconColor ?? '', rightArrow: leftLink.rightArrow ?? 'none', underline: !!leftLink.underline, disabled: !!leftLink.disabled, onSdClick: leftLink.onClick })), button && (h("sd-button", { key: '730d867339257f168c11d7d1417c9d28a408f462', name: button.name ?? 'secondary_xs', label: button.label, icon: button.icon, rightIcon: button.rightIcon, ariaLabel: button.ariaLabel || button.label || button.icon || 'Open popover', disabled: button.disabled, type: button.type, onSdClick: button.onClick }))))), h("sd-ghost-button", { key: '7a1f2edf0a601c0dfa91b4a02405c815d3257214', class: "sd-floating-menu__close-button", icon: "close", ariaLabel: "close", size: "xs", onClick: this.handleClose }))))));
|
|
79
80
|
}
|
|
80
81
|
};
|
|
81
82
|
SdPopover.style = sdPopoverCss();
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import {
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-BpO2YWvq.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-DtrsLG0Z.js';
|
|
3
|
+
import { s as sanitizeInlineHtml } from './sanitize-inline-html-BE4tnQ2Z.js';
|
|
3
4
|
|
|
4
5
|
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}`;
|
|
5
6
|
|
|
@@ -77,7 +78,7 @@ const SdSelectListItem = class {
|
|
|
77
78
|
return (
|
|
78
79
|
// 키보드 네비게이션은 부모 listbox 의 ArrowUp/Down + Enter 가 담당. 항목 자체는 role=option, tabindex=-1 으로 표시.
|
|
79
80
|
// eslint-disable-next-line jsx-a11y/click-events-have-key-events
|
|
80
|
-
h("div", { key: '
|
|
81
|
+
h("div", { key: 'f85ad121abc818e1a46d4a8d69621b62d4d42197', role: "option", tabindex: -1, "aria-selected": this.isSelected === true ? 'true' : 'false', class: {
|
|
81
82
|
'sd-select-list-item': true,
|
|
82
83
|
'sd-select-list-item--group': isGroup,
|
|
83
84
|
'sd-select-list-item--depth1-group': isDepth1Group,
|
|
@@ -87,7 +88,7 @@ const SdSelectListItem = class {
|
|
|
87
88
|
'sd-select-list-item--focused': this.isFocused,
|
|
88
89
|
'sd-select-list-item--selectable': this.isSelectable && !this.option.disabled,
|
|
89
90
|
'sd-select-list-item--disabled': !!this.option.disabled,
|
|
90
|
-
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: '
|
|
91
|
+
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: '1ba65cfb53d1f41b71081608a331171e30763213', 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: '22b1552a6fc6c60e3c985b38bf6874067efc5ec0', class: "sd-select-list-item__count" }, "(", this.countInfo.selected, "/", this.countInfo.total, ")"))));
|
|
91
92
|
}
|
|
92
93
|
};
|
|
93
94
|
SdSelectListItem.style = sdSelectListItemCss();
|
|
@@ -140,15 +141,15 @@ const SdSelectListItemSearch = class {
|
|
|
140
141
|
clearTimeout(this.debounceTimer);
|
|
141
142
|
}
|
|
142
143
|
render() {
|
|
143
|
-
return (h("div", { key: '
|
|
144
|
+
return (h("div", { key: 'fed22be7a3156cd526c006a256434c93cbb34b78', class: {
|
|
144
145
|
'sd-select-list-item-search': true,
|
|
145
146
|
'sd-select-list-item-search--scrolled': this.isScrolled,
|
|
146
|
-
} }, h("div", { key: '
|
|
147
|
+
} }, h("div", { key: '27dd47fc17ad02da989febef2c05f32e0310f8cf', class: "sd-select-list-item-search__inner" }, h("sd-icon", { key: 'd6cda28af6d9100f03c7378ca3e435bb0d7813eb', name: "search", size: 16, color: "grey_70", class: "sd-select-list-item-search__icon" }), h("input", { key: 'fc3a77a9dd1171b4ef6a66c4cc27f7dfd00ac611', ref: el => {
|
|
147
148
|
this.inputEl = el;
|
|
148
|
-
}, 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: '
|
|
149
|
+
}, 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: '3173d3ab47f961bc2277f729089d26656bdbdf19', type: "button", class: {
|
|
149
150
|
'sd-select-list-item-search__clear': true,
|
|
150
151
|
'sd-select-list-item-search__clear--hidden': this.searchText === '',
|
|
151
|
-
}, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, h("sd-icon", { key: '
|
|
152
|
+
}, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, h("sd-icon", { key: '18285bbf608ea53a44f35a608d1c2bb7abc11697', name: "close", size: 12, color: "#888888" })))));
|
|
152
153
|
}
|
|
153
154
|
};
|
|
154
155
|
SdSelectListItemSearch.style = sdSelectListItemSearchCss();
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
const select = {
|
|
2
|
-
|
|
2
|
+
sm: {
|
|
3
|
+
paddingX: "12",
|
|
4
|
+
gap: "8",
|
|
5
|
+
typography: {
|
|
6
|
+
fontWeight: "400",
|
|
7
|
+
fontSize: "12",
|
|
8
|
+
lineHeight: "20"}},
|
|
3
9
|
icon: {
|
|
4
10
|
"default": "#888888",
|
|
5
11
|
disabled: "#BBBBBB"
|
|
6
12
|
},
|
|
7
|
-
gap: "8",
|
|
8
|
-
typography: {
|
|
9
|
-
fontWeight: "400",
|
|
10
|
-
fontSize: "12",
|
|
11
|
-
lineHeight: "20"},
|
|
12
13
|
text: {
|
|
13
14
|
"default": "#222222",
|
|
14
15
|
disabled: "#888888"
|
|
15
|
-
}
|
|
16
|
+
}
|
|
17
|
+
};
|
|
16
18
|
var selectTokens = {
|
|
17
19
|
select: select
|
|
18
20
|
};
|
|
@@ -67,12 +69,12 @@ var listBoxTokens = {
|
|
|
67
69
|
|
|
68
70
|
// ── Select Trigger Tokens ──
|
|
69
71
|
const SELECT_LAYOUT = {
|
|
70
|
-
paddingX: selectTokens.select.paddingX,
|
|
71
|
-
gap: selectTokens.select.gap};
|
|
72
|
+
paddingX: selectTokens.select.sm.paddingX,
|
|
73
|
+
gap: selectTokens.select.sm.gap};
|
|
72
74
|
const SELECT_TYPOGRAPHY = {
|
|
73
|
-
fontSize: selectTokens.select.typography.fontSize,
|
|
74
|
-
lineHeight: selectTokens.select.typography.lineHeight,
|
|
75
|
-
fontWeight: selectTokens.select.typography.fontWeight,
|
|
75
|
+
fontSize: selectTokens.select.sm.typography.fontSize,
|
|
76
|
+
lineHeight: selectTokens.select.sm.typography.lineHeight,
|
|
77
|
+
fontWeight: selectTokens.select.sm.typography.fontWeight,
|
|
76
78
|
};
|
|
77
79
|
const SELECT_COLORS = {
|
|
78
80
|
icon: {
|
|
@@ -129,6 +131,12 @@ const SEARCH_THRESHOLD = 11;
|
|
|
129
131
|
const SEARCH_DEBOUNCE_MS = 1000;
|
|
130
132
|
const EMPTY_MESSAGE = '표시할 항목이 없습니다.';
|
|
131
133
|
// ── Utilities ──
|
|
134
|
+
function isHtmlLabel(label) {
|
|
135
|
+
return /<[a-z][\s\S]*>/i.test(label);
|
|
136
|
+
}
|
|
137
|
+
function extractText(html) {
|
|
138
|
+
return html.replace(/<[^>]*>/g, '');
|
|
139
|
+
}
|
|
132
140
|
function countLeaves(options) {
|
|
133
141
|
return options.reduce((sum, option) => {
|
|
134
142
|
if (option.children) {
|
|
@@ -140,7 +148,8 @@ function countLeaves(options) {
|
|
|
140
148
|
function filterTree(options, keyword) {
|
|
141
149
|
const lowerKeyword = keyword.toLowerCase();
|
|
142
150
|
return options.reduce((acc, option) => {
|
|
143
|
-
const
|
|
151
|
+
const labelText = isHtmlLabel(option.label) ? extractText(option.label) : option.label;
|
|
152
|
+
const selfMatch = labelText.toLowerCase().includes(lowerKeyword);
|
|
144
153
|
if (option.children) {
|
|
145
154
|
// 그룹: 자식은 항상 추가로 필터링한다.
|
|
146
155
|
// - 자식 중 일치하는 게 있으면 그 자식들만 노출
|
|
@@ -162,4 +171,4 @@ function filterTree(options, keyword) {
|
|
|
162
171
|
}, []);
|
|
163
172
|
}
|
|
164
173
|
|
|
165
|
-
export { EMPTY_MESSAGE as E, LIST_BOX_LAYOUT as L, SEARCH_THRESHOLD as S, SELECT_COLORS as a, SELECT_TYPOGRAPHY as b, countLeaves as c, SELECT_LAYOUT as d,
|
|
174
|
+
export { EMPTY_MESSAGE as E, LIST_BOX_LAYOUT as L, SEARCH_THRESHOLD as S, SELECT_COLORS as a, SELECT_TYPOGRAPHY as b, countLeaves as c, SELECT_LAYOUT as d, extractText as e, filterTree as f, LIST_ITEM_LAYOUT as g, LIST_ITEM_TYPOGRAPHY as h, isHtmlLabel as i, LIST_ITEM_COLORS as j, SEARCH_DEBOUNCE_MS as k };
|
|
@@ -1,6 +1,7 @@
|
|
|
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-BpO2YWvq.js';
|
|
2
2
|
import { n as nanoid } from './index-CCwNgVmC.js';
|
|
3
|
-
import { c as countLeaves, S as SEARCH_THRESHOLD, f as filterTree, 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-DtrsLG0Z.js';
|
|
4
|
+
import { s as sanitizeInlineHtml } from './sanitize-inline-html-BE4tnQ2Z.js';
|
|
4
5
|
|
|
5
6
|
const sdSelectCss = () => `sd-select{display:inline-flex}sd-select sd-portal{display:none}sd-select .sd-select{position:relative;width:100%;height:100%}`;
|
|
6
7
|
|
|
@@ -102,8 +103,7 @@ const SdSelect = class {
|
|
|
102
103
|
return this.value.label ?? '';
|
|
103
104
|
}
|
|
104
105
|
const flat = this.flattenOptions(this.options);
|
|
105
|
-
|
|
106
|
-
return found?.label ?? '';
|
|
106
|
+
return flat.find(o => o.value === this.value)?.label ?? '';
|
|
107
107
|
}
|
|
108
108
|
flattenOptions(options) {
|
|
109
109
|
return options.flatMap(o => (o.children ? this.flattenOptions(o.children) : [o]));
|
|
@@ -263,15 +263,15 @@ const SdSelect = class {
|
|
|
263
263
|
this.closeDropdown();
|
|
264
264
|
},
|
|
265
265
|
};
|
|
266
|
-
return (h("sd-field", { key: '
|
|
266
|
+
return (h("sd-field", { key: '4ce9951b423a779ce291dcb674cd9c9afce7c0ee', 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: () => {
|
|
267
267
|
this.hovered = true;
|
|
268
268
|
}, onMouseLeave: () => {
|
|
269
269
|
this.hovered = false;
|
|
270
|
-
} }, h("div", { key: '
|
|
270
|
+
} }, h("div", { key: 'd100c33179cb3eadbdd5e6bbd6ca7425424df717', class: "sd-select", ref: el => {
|
|
271
271
|
this.triggerRef = el;
|
|
272
|
-
} }, h("sd-select-trigger", { key: '
|
|
272
|
+
} }, h("sd-select-trigger", { key: 'e1e577f92cb5d5817e0c5bf92a959de505176bb2', ref: el => {
|
|
273
273
|
this.triggerComponentRef = el;
|
|
274
|
-
}, 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: '
|
|
274
|
+
}, 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: 'fc85f29e40eec288cbf8432417b012e8d1a9503f', ...portalProps }, h("sd-select-listbox", { key: '0232651347600d021bcbe89636dcdf27e31e9b5f', type: this.type, options: this.options, value: this.value, emitValue: this.emitValue, useSearch: this.useSearch, useSelectAll: this.useSelectAll, triggerWidth: this.triggerWidth, maxWidth: this.resolvedMaxDropdownWidth, maxHeight: this.resolvedDropdownHeight, onSdOptionSelect: event => this.handleOptionSelect(event.detail) })))));
|
|
275
275
|
}
|
|
276
276
|
static get watchers() { return {
|
|
277
277
|
"isOpen": [{
|
|
@@ -354,7 +354,10 @@ const SdSelectListbox = class {
|
|
|
354
354
|
if (this.isDepth)
|
|
355
355
|
return filterTree(this.options, this.searchKeyword);
|
|
356
356
|
const keyword = this.searchKeyword.toLowerCase();
|
|
357
|
-
return this.options.filter(o =>
|
|
357
|
+
return this.options.filter(o => {
|
|
358
|
+
const labelText = isHtmlLabel(o.label) ? extractText(o.label) : o.label;
|
|
359
|
+
return labelText.toLowerCase().includes(keyword);
|
|
360
|
+
});
|
|
358
361
|
}
|
|
359
362
|
get isEmpty() {
|
|
360
363
|
if (this.isDepth)
|
|
@@ -635,9 +638,9 @@ const SdSelectListbox = class {
|
|
|
635
638
|
'--listbox-max-height': this.maxHeight ?? '260px',
|
|
636
639
|
'--listbox-radius': `${LIST_BOX_LAYOUT.radius}px`,
|
|
637
640
|
};
|
|
638
|
-
return (h("div", { key: '
|
|
641
|
+
return (h("div", { key: 'e0547836378ca809ba48bad194a9ff307af5e23f', class: "sd-select-listbox", style: cssVars }, this.showSearch && (h("sd-select-list-item-search", { key: 'e561d5f372f1fcbf31c3bde8042e9bcd06bac0e1', isScrolled: this.isScrolled, onSdSearchFilter: this.handleSearchFilter })), h("div", { key: '851fb60b4063da678bcf1c3ae127f248be0c0bfe', class: "sd-select-listbox__list", onScroll: this.handleScroll, ref: el => {
|
|
639
642
|
this.listEl = el;
|
|
640
|
-
} }, this.showSelectAll && (h("sd-select-list-item", { key: '
|
|
643
|
+
} }, this.showSelectAll && (h("sd-select-list-item", { key: 'a88151c3f15a35de5b9bc7b7dd4e9e7658fb18de', 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) })))))));
|
|
641
644
|
}
|
|
642
645
|
static get watchers() { return {
|
|
643
646
|
"searchKeyword": [{
|
|
@@ -697,7 +700,7 @@ const SdSelectTrigger = class {
|
|
|
697
700
|
? SELECT_COLORS.icon.disabled
|
|
698
701
|
: SELECT_COLORS.icon.default,
|
|
699
702
|
};
|
|
700
|
-
return (h("div", { key: '
|
|
703
|
+
return (h("div", { key: '463a86e25dbed4aaa8a785f26c5441828e9265d4', ref: el => {
|
|
701
704
|
this.triggerEl = el;
|
|
702
705
|
}, role: "button", "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? 'true' : 'false', tabindex: this.disabled ? -1 : 0, class: {
|
|
703
706
|
'sd-select-trigger': true,
|
|
@@ -708,7 +711,7 @@ const SdSelectTrigger = class {
|
|
|
708
711
|
e.preventDefault();
|
|
709
712
|
this.handleClick();
|
|
710
713
|
}
|
|
711
|
-
}, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: '
|
|
714
|
+
}, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: '0067809554f428497ee1324307cf613f03ce7f6a', 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: '425163158c134c003f75165f1af0b2a5add62bb6', name: "chevronDown", size: 12, color: "var(--trigger-icon-color)", class: {
|
|
712
715
|
'sd-select-trigger__icon': true,
|
|
713
716
|
'sd-select-trigger__icon--open': this.isOpen,
|
|
714
717
|
} }))));
|
|
@@ -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-BpO2YWvq.js';
|
|
2
2
|
|
|
3
3
|
var switchTokens = {
|
|
4
4
|
"switch": {
|
|
@@ -100,7 +100,7 @@ const SdSwitch = class {
|
|
|
100
100
|
'--sd-switch-line-height': `${SWITCH_TYPOGRAPHY.lineHeight}px`,
|
|
101
101
|
'--sd-switch-text-decoration': SWITCH_TYPOGRAPHY.textDecoration,
|
|
102
102
|
};
|
|
103
|
-
return (h("label", { key: '
|
|
103
|
+
return (h("label", { key: '7862eed6e08c9837c50cb2a8b3ad018d9aa614e0', "aria-label": this.label || 'switch', class: this.switchClasses, style: cssVars }, h("input", { key: 'cabab7d30e2edc9bd5f295dad96e5945ef6f0a1e', type: "checkbox", checked: this.value, disabled: this.disabled, onInput: this.handleChange }), h("div", { key: 'ad78625af9b6ae95e46636269748ebd00f3553e3', class: "sd-switch__track" }, h("div", { key: '55b0daaf2f5fc048f38b5d52adad55786b16843e', class: "sd-switch__knob" })), this.label && h("span", { key: '99dcdf1afbbedc253469fb06392eb27532acac80', class: "sd-switch__label" }, this.label)));
|
|
104
104
|
}
|
|
105
105
|
};
|
|
106
106
|
SdSwitch.style = sdSwitchCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
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-BpO2YWvq.js';
|
|
2
2
|
import { T as TABLE_ID_ATTR } from './constants-sZMi_32I.js';
|
|
3
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-D9meRqTx.js';
|
|
4
4
|
import './component.table-D6GUzecR.js';
|
|
@@ -17,7 +17,7 @@ let nanoid = (size = 21) => {
|
|
|
17
17
|
return id
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
const sdTableCss = () => `sd-table,:host{display:block;width:100%;max-width:100%;min-width:0}sd-table *,:host *{box-sizing:border-box}.sd-table__container{height:
|
|
20
|
+
const sdTableCss = () => `sd-table,:host{display:block;width:100%;height:var(--table-host-height);max-width:100%;min-width:0}sd-table *,:host *{box-sizing:border-box}.sd-table__container{height:100%;width:var(--table-width, 100%);max-width:100%;min-width:0;color:#222222;display:flex;flex-direction:column}.sd-table__wrapper{width:100%;min-width:0;height:calc(100% - var(--pagination-height, 0px));border:var(--table-border-width, 1px) solid var(--table-border-color, #E1E1E1);border-radius:var(--table-radius, 8px);overflow:hidden}.sd-table__wrapper--use-top{border-radius:0 0 var(--table-radius, 8px) var(--table-radius, 8px)}.sd-table__scroll-container{width:100%;height:100%;display:flex;flex-direction:column;position:relative;font-family:var(--table-body-font-family, inherit);font-weight:var(--table-body-font-weight, 400);font-size:var(--table-body-font-size, 12px);line-height:var(--table-body-line-height, 20px);text-decoration:var(--table-body-text-decoration, none);overflow:auto;background:#FFFFFF}.sd-table__scroll-container--loading{overflow:hidden !important;pointer-events:none}.sd-table__scroll-container--no-data{overflow:hidden;pointer-events:none}.sd-table__no-data{position:absolute;top:36px;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;font-size:var(--table-body-font-size, 12px);color:#888888;pointer-events:none;z-index:200;background:rgba(255, 255, 255, 0.6)}.sd-table__no-data-header-overlay{position:absolute;top:0;left:0;right:0;height:36px;background:rgba(255, 255, 255, 0.6);z-index:210;pointer-events:none}.sd-table__no-data-content{pointer-events:auto;min-height:60px;width:100%;display:flex;align-items:center;justify-content:center}.sd-table__loading{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(255, 255, 255, 0.6);z-index:200;display:flex;align-items:center;justify-content:center;pointer-events:none}.sd-table{background-color:white;display:table;width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.sd-table--selectable sd-thead,.sd-table--selectable sd-tbody{--selectable:true}.sd-table--sticky-header sd-thead thead{position:sticky;top:0;z-index:120}.sd-table--sticky-column sd-thead,.sd-table--sticky-column sd-tbody{--sticky-column:true}.sd-table--scrolled-left sd-thead,.sd-table--scrolled-left sd-tbody{--scrolled-left:true}.sd-table--scrolled-right sd-thead,.sd-table--scrolled-right sd-tbody{--scrolled-right:true}.sd-table--resizable sd-thead{--resizable:true}.sd-table--no-data sd-thead{opacity:0.4}.sd-table__pagination{position:relative;background:#F9F9F9;height:48px;display:flex;align-items:center;justify-content:center;border:var(--table-border-width, 1px) solid var(--table-border-color, #E1E1E1);margin-top:-1px;border-radius:var(--table-radius, 8px)}.sd-table__pagination sd-select{position:absolute;right:10px;top:50%;transform:translateY(-50%)}`;
|
|
21
21
|
|
|
22
22
|
const SdTable = class {
|
|
23
23
|
constructor(hostRef) {
|
|
@@ -826,9 +826,11 @@ const SdTable = class {
|
|
|
826
826
|
const isNoData = this.rowCount === 0 && !this.isLoading;
|
|
827
827
|
const paginationHeight = this.pagination && this.rowCount > 0 && !this.useVirtualScroll ? 48 : 0;
|
|
828
828
|
const noDataTotalHeight = 36 + this.noDataBodyHeight;
|
|
829
|
-
const
|
|
830
|
-
?
|
|
831
|
-
|
|
829
|
+
const hostHeight = isNoData
|
|
830
|
+
? this.height !== undefined
|
|
831
|
+
? `max(${this.height}, ${noDataTotalHeight}px)`
|
|
832
|
+
: `max(${noDataTotalHeight}px, 100%)`
|
|
833
|
+
: (this.height ?? '100%');
|
|
832
834
|
const hostStyle = {
|
|
833
835
|
'--table-radius': `${TABLE_RADIUS}px`,
|
|
834
836
|
'--table-border-color': TABLE_BORDER.color,
|
|
@@ -839,26 +841,26 @@ const SdTable = class {
|
|
|
839
841
|
'--table-body-line-height': `${TABLE_BODY_TYPOGRAPHY.lineHeight}px`,
|
|
840
842
|
'--table-body-text-decoration': TABLE_BODY_TYPOGRAPHY.textDecoration,
|
|
841
843
|
'--table-selectable-width': `${TABLE_SELECTABLE_COLUMN_WIDTH}px`,
|
|
844
|
+
'--table-host-height': hostHeight,
|
|
842
845
|
};
|
|
843
|
-
return (h(Host, { key: '
|
|
846
|
+
return (h(Host, { key: '4ff57911317dc62deffef856f33388973fa4daa7', style: hostStyle }, h("div", { key: '10ace7494c9c7af101c8409b0c2156b3cc2a289f', class: "sd-table__container", style: {
|
|
844
847
|
'--table-width': this.width,
|
|
845
|
-
'--
|
|
846
|
-
|
|
847
|
-
} }, h("div", { key: 'f4f3acf584dc4eacdae25b11aa2b62b73ffab949', class: {
|
|
848
|
+
'--pagination-height': `${paginationHeight}px`,
|
|
849
|
+
} }, h("div", { key: '97d0d9e3ad3184fcd10eb2850c66570ac0f2d3cf', class: {
|
|
848
850
|
'sd-table__wrapper': true,
|
|
849
851
|
'sd-table__wrapper--use-top': this.useTop,
|
|
850
|
-
} }, h("div", { key: '
|
|
852
|
+
} }, h("div", { key: '5317351ccca4e10af0ed6ecb5b077b4f22b95f27', class: {
|
|
851
853
|
'sd-table__scroll-container': true,
|
|
852
854
|
'sd-table__scroll-container--loading': this.isLoading,
|
|
853
855
|
'sd-table__scroll-container--no-data': isNoData,
|
|
854
|
-
} }, this.isLoading && (h("div", { key: '
|
|
856
|
+
} }, this.isLoading && (h("div", { key: 'bb34b1fce3210ea7245bb282818dee6d35be0dac', class: "sd-table__loading", style: { top: `${this.loadingScrollTop}px` } }, h("sd-circle-progress", { key: '5a6103e03854583ef16ab45f442c2b0e9ea635f3', indeterminate: true }))), isNoData && (h(h.Fragment, null, h("div", { key: 'f2c3836bd2c69980603f93a4b241533a18a10d2c', class: "sd-table__no-data-header-overlay" }), h("div", { key: '7b44240dcd92522bd5b02da01a8868c5ba91f3bc', class: "sd-table__no-data" }, h("div", { key: '3ea50fc748f6ace4941d6d28f80acb458b07d206', class: "sd-table__no-data-content", ref: el => {
|
|
855
857
|
this.noDataContentEl = el;
|
|
856
858
|
if (el)
|
|
857
859
|
this.syncNoDataContentObserver();
|
|
858
|
-
} }, h("slot", { key: '
|
|
860
|
+
} }, h("slot", { key: 'f3d20d973c6e4e416bfbecefd55e373425949602', name: "no-data" }, h("span", { key: '5fe8b1fe2a358a393e18587a3bf2a5c37294ff6b' }, this.resolvedNoDataLabel)))))), h("table", { key: 'c8b5304b4ae1828f7a3c0aaedb5b37d40c071378', 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 &&
|
|
859
861
|
this.pagination.rowsPerPage > 0 &&
|
|
860
862
|
this.rowCount > 0 &&
|
|
861
|
-
!this.useVirtualScroll && (h("div", { key: '
|
|
863
|
+
!this.useVirtualScroll && (h("div", { key: '462bd9e4eab9ea45ec6ebf1c510c652c47659b1a', class: "sd-table__pagination" }, h("sd-pagination", { key: 'b934539ab253b1ca7ec2ffd7dfccc576762e0455', 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: '4c636cbf4f04c189018ae32dff24444aab0d480a', value: this.useInternalPagination
|
|
862
864
|
? this.innerRowsPerPage
|
|
863
865
|
: this.pagination.rowsPerPage, options: this.rowsPerPageOption, width: "128px", emitValue: true, onSdUpdate: e => {
|
|
864
866
|
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-BpO2YWvq.js';
|
|
2
2
|
|
|
3
3
|
const tab = {
|
|
4
4
|
main: {
|
|
@@ -186,7 +186,7 @@ const SdTabs = class {
|
|
|
186
186
|
};
|
|
187
187
|
}
|
|
188
188
|
render() {
|
|
189
|
-
return (h("div", { key: '
|
|
189
|
+
return (h("div", { key: '543ca85d1e1edf809688da0636094478966f4fff', class: this.getContainerClasses(), style: this.buildCssVars() }, this.tabs.map((tab, index) => {
|
|
190
190
|
const badgeName = this.getBadgeName(tab);
|
|
191
191
|
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 => {
|
|
192
192
|
if (e.key === 'Enter' || e.key === ' ') {
|
package/dist/esm/sd-tag.entry.js
CHANGED
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-BpO2YWvq.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}`;
|
|
@@ -156,7 +156,7 @@ const SdTd = class {
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
render() {
|
|
159
|
-
return (h(Host, { key: '
|
|
159
|
+
return (h(Host, { key: 'e033a5018da4dd82db1707d339fb0c78e86b017e', class: { [`align-${this.align}`]: Boolean(this.align) } }, h("slot", { key: 'd9a303a00702f867d621f142d61ded542bb1d34f' })));
|
|
160
160
|
}
|
|
161
161
|
static get watchers() { return {
|
|
162
162
|
"field": [{
|