@sellmate/design-system 1.8.0 → 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/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 +1 -1
- package/dist/cjs/sd-card.cjs.entry.js +1 -1
- package/dist/cjs/sd-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/sd-chip.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 +1 -1
- 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 +2 -2
- 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 +1 -1
- 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 -6
- 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 +7 -7
- 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-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.js +6 -6
- package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +2 -2
- package/dist/collection/components/sd-table/sd-td/sd-td.js +1 -1
- package/dist/collection/components/sd-table/sd-thead/sd-thead.js +3 -3
- package/dist/collection/components/sd-tabs/sd-tabs.js +1 -1
- package/dist/collection/components/sd-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/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-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-gqfJ-KUj.js → p-C79Cowjq.js} +1 -1
- 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-Bx9dlLbs.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-db826b91.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-1632a28d.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-cf685d90.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-eb18d812.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-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-aa28712a.entry.js → p-acfe5585.entry.js} +1 -1
- package/dist/design-system/{p-8528ba1e.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/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 +1 -1
- package/dist/esm/sd-card.entry.js +1 -1
- package/dist/esm/sd-checkbox.entry.js +1 -1
- package/dist/esm/sd-chip.entry.js +4 -6
- package/dist/esm/sd-circle-progress.entry.js +1 -1
- package/dist/esm/sd-confirm-modal_2.entry.js +1 -1
- 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 +2 -2
- 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 +1 -1
- 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 -6
- 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 +7 -7
- 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 +180 -168
- package/hydrate/index.mjs +180 -168
- 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-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-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,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,
|
|
@@ -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';
|
|
@@ -843,24 +843,24 @@ const SdTable = class {
|
|
|
843
843
|
'--table-selectable-width': `${TABLE_SELECTABLE_COLUMN_WIDTH}px`,
|
|
844
844
|
'--table-host-height': hostHeight,
|
|
845
845
|
};
|
|
846
|
-
return (h(Host, { key: '
|
|
846
|
+
return (h(Host, { key: '4ff57911317dc62deffef856f33388973fa4daa7', style: hostStyle }, h("div", { key: '10ace7494c9c7af101c8409b0c2156b3cc2a289f', class: "sd-table__container", style: {
|
|
847
847
|
'--table-width': this.width,
|
|
848
848
|
'--pagination-height': `${paginationHeight}px`,
|
|
849
|
-
} }, h("div", { key: '
|
|
849
|
+
} }, h("div", { key: '97d0d9e3ad3184fcd10eb2850c66570ac0f2d3cf', class: {
|
|
850
850
|
'sd-table__wrapper': true,
|
|
851
851
|
'sd-table__wrapper--use-top': this.useTop,
|
|
852
|
-
} }, h("div", { key: '
|
|
852
|
+
} }, h("div", { key: '5317351ccca4e10af0ed6ecb5b077b4f22b95f27', class: {
|
|
853
853
|
'sd-table__scroll-container': true,
|
|
854
854
|
'sd-table__scroll-container--loading': this.isLoading,
|
|
855
855
|
'sd-table__scroll-container--no-data': isNoData,
|
|
856
|
-
} }, 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 => {
|
|
857
857
|
this.noDataContentEl = el;
|
|
858
858
|
if (el)
|
|
859
859
|
this.syncNoDataContentObserver();
|
|
860
|
-
} }, 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 &&
|
|
861
861
|
this.pagination.rowsPerPage > 0 &&
|
|
862
862
|
this.rowCount > 0 &&
|
|
863
|
-
!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
|
|
864
864
|
? this.innerRowsPerPage
|
|
865
865
|
: this.pagination.rowsPerPage, options: this.rowsPerPageOption, width: "128px", emitValue: true, onSdUpdate: e => {
|
|
866
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": [{
|
|
@@ -1,17 +1,17 @@
|
|
|
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 textLink = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
icon: "16"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
4
|
+
sm: {
|
|
5
|
+
gap: "4",
|
|
6
|
+
icon: "16",
|
|
7
|
+
typography: {
|
|
8
|
+
"default": {
|
|
9
|
+
fontSize: "12",
|
|
10
|
+
textDecoration: "none"},
|
|
11
|
+
underline: {
|
|
12
|
+
fontSize: "12",
|
|
13
|
+
textDecoration: "underline"}
|
|
14
|
+
}
|
|
15
15
|
},
|
|
16
16
|
content: {
|
|
17
17
|
disabled: "#888888"
|
|
@@ -26,15 +26,15 @@ var textLinkTokens = {
|
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
const TEXT_LINK_LAYOUT = {
|
|
29
|
-
gap: textLinkTokens.textLink.gap,
|
|
30
|
-
iconSize: Number(textLinkTokens.textLink.
|
|
29
|
+
gap: textLinkTokens.textLink.sm.gap,
|
|
30
|
+
iconSize: Number(textLinkTokens.textLink.sm.icon),
|
|
31
31
|
arrowFrame: 16, // TODO: 토큰 반영 후 교체
|
|
32
32
|
arrowIconSize: 12, // TODO: 토큰 반영 후 교체
|
|
33
33
|
arrowColor: '#888888', // TODO: 토큰 반영 후 교체 (grey_65)
|
|
34
34
|
};
|
|
35
35
|
const TEXT_LINK_TYPOGRAPHY = {
|
|
36
|
-
default: textLinkTokens.textLink.typography.default,
|
|
37
|
-
underline: textLinkTokens.textLink.typography.underline,
|
|
36
|
+
default: textLinkTokens.textLink.sm.typography.default,
|
|
37
|
+
underline: textLinkTokens.textLink.sm.typography.underline,
|
|
38
38
|
};
|
|
39
39
|
const TEXT_LINK_COLORS = {
|
|
40
40
|
content: textLinkTokens.textLink.content,
|
|
@@ -52,7 +52,7 @@ const SdTextLink = class {
|
|
|
52
52
|
icon = '';
|
|
53
53
|
iconColor = '';
|
|
54
54
|
labelClass = '';
|
|
55
|
-
|
|
55
|
+
rightArrow = 'none';
|
|
56
56
|
underline = false;
|
|
57
57
|
disabled = false;
|
|
58
58
|
click;
|
|
@@ -74,7 +74,7 @@ const SdTextLink = class {
|
|
|
74
74
|
'--sd-text-link-text-decoration': typo.textDecoration,
|
|
75
75
|
...(this.disabled ? { '--sd-text-link-color': TEXT_LINK_COLORS.content.disabled } : {}),
|
|
76
76
|
};
|
|
77
|
-
return (h("span", { key: '
|
|
77
|
+
return (h("span", { key: '26955b1626c09a6712b42454c6fb057e3a28a5b5', role: "button", tabindex: this.disabled ? -1 : 0, class: {
|
|
78
78
|
'sd-text-link': true,
|
|
79
79
|
'sd-text-link--disabled': this.disabled,
|
|
80
80
|
}, style: cssVars, onClick: this.handleClick, onKeyDown: e => {
|
|
@@ -82,13 +82,13 @@ const SdTextLink = class {
|
|
|
82
82
|
e.preventDefault();
|
|
83
83
|
this.handleClick();
|
|
84
84
|
}
|
|
85
|
-
} }, this.icon && (h("sd-icon", { key: '
|
|
85
|
+
} }, this.icon && (h("sd-icon", { key: 'caa180d6b2cdc054c4c2becc486ac0bb5f1abdf7', name: this.icon, size: TEXT_LINK_LAYOUT.iconSize, color: iconColor, class: "sd-text-link__icon" })), h("span", { key: '65940e935169cfc2fabe1b52ec8a70111f726519', class: labelClassName }, this.label), this.rightArrow && this.rightArrow !== 'none' && (h("span", { key: 'e7c988784da2b38087f35a209f9bd912b742a688', class: "sd-text-link__arrow", style: {
|
|
86
86
|
width: `${TEXT_LINK_LAYOUT.arrowFrame}px`,
|
|
87
87
|
height: `${TEXT_LINK_LAYOUT.arrowFrame}px`,
|
|
88
88
|
display: 'inline-flex',
|
|
89
89
|
alignItems: 'center',
|
|
90
90
|
justifyContent: 'center',
|
|
91
|
-
} }, h("sd-icon", { key: '
|
|
91
|
+
} }, h("sd-icon", { key: '29da741e45513a6d33876c4ed4316cb6d6418266', name: this.rightArrow === 'chevron' ? 'chevronRight' : 'caretRight', size: TEXT_LINK_LAYOUT.arrowIconSize, color: arrowColor })))));
|
|
92
92
|
}
|
|
93
93
|
};
|
|
94
94
|
SdTextLink.style = sdTextLinkCss();
|
|
@@ -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-BpO2YWvq.js';
|
|
2
2
|
|
|
3
3
|
const DEFAULT_DURATION = 4000;
|
|
4
4
|
const DEFAULT_MAX_VISIBLE = 3;
|
|
@@ -232,7 +232,7 @@ const SdToastContainer = class {
|
|
|
232
232
|
const activeToasts = toasts.filter(t => t.state !== 'exiting').reverse();
|
|
233
233
|
const indexMap = new Map();
|
|
234
234
|
activeToasts.forEach((t, i) => indexMap.set(t.id, i));
|
|
235
|
-
return (h("div", { key: '
|
|
235
|
+
return (h("div", { key: 'b5847f65c728fb5f31bda0f6756118fa975e4987', class: "sd-toast-container", style: this.getContainerStyles(), onMouseEnter: () => {
|
|
236
236
|
this.expanded = true;
|
|
237
237
|
this.pauseTimers();
|
|
238
238
|
}, 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-BpO2YWvq.js';
|
|
2
2
|
|
|
3
3
|
const toast = {
|
|
4
4
|
icon: "16",
|
|
@@ -82,12 +82,12 @@ const SdToast = class {
|
|
|
82
82
|
const linkColor = typeConfig.linkColor ?? typeConfig.content;
|
|
83
83
|
const useDefaultCloseIntent = ['default', 'caution', 'info'].includes(this.type);
|
|
84
84
|
const buttonName = TOAST_BUTTON_NAME_BY_TYPE[this.type] ?? TOAST_BUTTON_NAME_BY_TYPE.default;
|
|
85
|
-
return (h("div", { key: '
|
|
85
|
+
return (h("div", { key: '0073ea37731ad1d8a54cb45f0eee8103159cbd65', style: {
|
|
86
86
|
'--sd-toast-bg': typeConfig.bg,
|
|
87
87
|
'--sd-toast-text': typeConfig.content,
|
|
88
88
|
'--sd-toast-icon': iconColor,
|
|
89
89
|
'--sd-toast-link': linkColor,
|
|
90
|
-
} }, h("div", { key: '
|
|
90
|
+
} }, h("div", { key: 'e14f7d2d5e15630989c4cb19ed375a704a8a783a', class: "sd-toast", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.icon && (h("div", { key: '72b20a3e5920cd173ea2fa05393d991d477e948b', class: "sd-toast__icon" }, h("sd-icon", { key: 'ac2c30b63ae84da53066ba0ddc2fb211ef6b8bbf', name: this.icon, size: iconSize, color: iconColor }))), h("div", { key: '605dca0bcf05059e325f0c05800c11adc55d5da5', class: "sd-toast__content" }, h("span", { key: 'ba8d91256c01bd897b177a69372f813131bd4b03', class: "sd-toast__message" }, this.message)), this.link && (h("a", { key: 'a9283bacb928dc5d92ddc2e554967928035a5fab', href: this.link, class: "sd-toast__link", target: "_blank", rel: "noopener noreferrer" }, this.linkLabel || this.link)), this.buttonLabel && (h("sd-button", { key: '87b7d6bae7f0321e9557967f856e1b5e17697d17', class: "sd-toast__button", name: buttonName, label: this.buttonLabel, onSdClick: (event) => this.buttonClick.emit(event.detail) })), this.useClose && (h("sd-ghost-button", { key: 'e89b2cdd29115e366bb5665a483433393eb1b420', class: "sd-toast__close", icon: "close", intent: useDefaultCloseIntent ? 'default' : 'inverse', ariaLabel: "close", size: "xs", onClick: () => this.close.emit() })))));
|
|
91
91
|
}
|
|
92
92
|
};
|
|
93
93
|
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-BpO2YWvq.js';
|
|
2
2
|
|
|
3
3
|
const toggle = {
|
|
4
4
|
height: "28",
|
|
@@ -118,7 +118,7 @@ const SdToggle = class {
|
|
|
118
118
|
'--sd-toggle-content-select': TOGGLE_COLORS.content.select,
|
|
119
119
|
'--sd-toggle-content-disabled': TOGGLE_COLORS.content.disabled,
|
|
120
120
|
};
|
|
121
|
-
return (h("label", { key: '
|
|
121
|
+
return (h("label", { key: '83b94f28bd8364edefcbfbadccb258b10d01df92', class: this.toggleClasses, style: cssVars, "aria-label": this.label || 'toggle' }, this.label, h("input", { key: '9becc0c6a5337c6d16301e998a9a5bbd92b198a6', style: { display: 'none' }, type: "checkbox", onInput: this.handleChange })));
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
124
|
SdToggle.style = sdToggleCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h } from './index-
|
|
1
|
+
import { h } from './index-BpO2YWvq.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
|
|