@sellmate/design-system 1.2.0 → 1.4.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 +121 -0
- package/dist/cjs/{component.table-CMqGfEui.js → component.table-qOFez3z3.js} +3 -0
- package/dist/cjs/design-system.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/sd-action-modal.cjs.entry.js +1 -1
- package/dist/cjs/sd-badge.cjs.entry.js +1 -1
- package/dist/cjs/sd-barcode-input.cjs.entry.js +1 -1
- package/dist/cjs/sd-button_2.cjs.entry.js +270 -4
- package/dist/cjs/sd-calendar_2.cjs.entry.js +263 -0
- package/dist/cjs/sd-card.cjs.entry.js +1 -1
- package/dist/cjs/sd-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/sd-chip.cjs.entry.js +1 -1
- package/dist/cjs/sd-circle-progress.cjs.entry.js +1 -1
- package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +3 -3
- package/dist/cjs/sd-date-box.cjs.entry.js +2 -2
- package/dist/cjs/sd-date-picker.config-D3lTpa6W.js +37 -0
- package/dist/cjs/sd-date-picker_7.cjs.entry.js +15 -13
- package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +37 -37
- package/dist/cjs/sd-dropdown-button.cjs.entry.js +3 -3
- package/dist/cjs/sd-field_3.cjs.entry.js +7 -7
- package/dist/cjs/sd-form.cjs.entry.js +1 -1
- package/dist/cjs/sd-ghost-button.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/sd-pagination_4.cjs.entry.js +27 -36
- package/dist/cjs/sd-popover.cjs.entry.js +3 -3
- 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 +6 -6
- package/dist/cjs/sd-select_3.cjs.entry.js +8 -8
- package/dist/cjs/sd-switch.cjs.entry.js +1 -1
- package/dist/cjs/sd-table.cjs.entry.js +25 -27
- package/dist/cjs/{sd-table.config-BIpldZtw.js → sd-table.config-B7psrvV4.js} +4 -2
- package/dist/cjs/sd-tabs.cjs.entry.js +1 -1
- package/dist/cjs/sd-tag.cjs.entry.js +2 -2
- package/dist/cjs/sd-td.cjs.entry.js +18 -9
- package/dist/cjs/sd-text-link.cjs.entry.js +3 -3
- package/dist/cjs/sd-toast-container.cjs.entry.js +1 -1
- package/dist/cjs/sd-toast.cjs.entry.js +2 -2
- package/dist/cjs/sd-toggle.cjs.entry.js +1 -1
- package/dist/cjs/useDatePicker-dCuEgvjX.js +103 -0
- package/dist/collection/collection-manifest.json +1 -2
- package/dist/collection/components/sd-action-modal/sd-action-modal.js +1 -1
- package/dist/collection/components/sd-badge/sd-badge.js +1 -1
- package/dist/collection/components/sd-barcode-input/sd-barcode-input.js +1 -1
- package/dist/collection/components/sd-button/sd-button.js +2 -2
- package/dist/collection/components/sd-calendar/sd-calendar.config.js +51 -0
- package/dist/collection/components/sd-calendar/sd-calendar.css +136 -73
- package/dist/collection/components/sd-calendar/sd-calendar.js +173 -133
- package/dist/collection/components/sd-card/sd-card.js +1 -1
- package/dist/collection/components/sd-checkbox/sd-checkbox.js +3 -3
- package/dist/collection/components/sd-chip/sd-chip.js +1 -1
- package/dist/collection/components/sd-circle-progress/sd-circle-progress.js +1 -1
- package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.js +2 -2
- package/dist/collection/components/sd-date-box/sd-date-box.js +2 -2
- package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.js +2 -2
- package/dist/collection/components/sd-date-picker/sd-date-picker.config.js +0 -38
- package/dist/collection/components/sd-date-picker/sd-date-picker.js +3 -2
- package/dist/collection/components/sd-date-range-picker/sd-date-range-picker-calendar/sd-date-range-picker-calendar.js +1 -1
- package/dist/collection/components/sd-date-range-picker/sd-date-range-picker.config.js +2 -1
- package/dist/collection/components/sd-date-range-picker/sd-date-range-picker.js +2 -2
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +3 -3
- package/dist/collection/components/sd-field/sd-field.js +4 -4
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
- package/dist/collection/components/sd-form/sd-form.js +1 -1
- package/dist/collection/components/sd-ghost-button/sd-ghost-button.js +2 -2
- package/dist/collection/components/sd-guide/sd-guide.js +2 -2
- package/dist/collection/components/sd-input/sd-input.js +2 -2
- package/dist/collection/components/sd-linear-progress/sd-linear-progress.js +1 -1
- package/dist/collection/components/sd-loading-container/sd-loading-container.js +2 -2
- package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +1 -1
- package/dist/collection/components/sd-number-input/sd-number-input.js +4 -4
- package/dist/collection/components/sd-pagination/sd-pagination.js +3 -3
- package/dist/collection/components/sd-popover/sd-popover.js +4 -4
- package/dist/collection/components/sd-popup/sd-popup.js +1 -1
- package/dist/collection/components/sd-portal/sd-portal.js +1 -1
- package/dist/collection/components/sd-radio/sd-radio.js +1 -1
- package/dist/collection/components/sd-radio-button/sd-radio-button.js +1 -1
- package/dist/collection/components/sd-radio-group/sd-radio-group.js +1 -1
- package/dist/collection/components/sd-select/sd-select-list-item/sd-select-list-item.js +2 -2
- package/dist/collection/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.js +4 -4
- package/dist/collection/components/sd-select/sd-select-listbox/sd-select-listbox.js +2 -2
- package/dist/collection/components/sd-select/sd-select-trigger/sd-select-trigger.js +2 -2
- package/dist/collection/components/sd-select/sd-select.js +4 -4
- package/dist/collection/components/sd-switch/sd-switch.js +1 -1
- package/dist/collection/components/sd-table/sd-table.js +24 -26
- package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +2 -2
- package/dist/collection/components/sd-table/sd-td/sd-td.js +18 -9
- package/dist/collection/components/sd-table/sd-thead/sd-thead.js +3 -3
- package/dist/collection/components/sd-table/sd-tr/sd-tr.css +6 -2
- package/dist/collection/components/sd-table/sd-tr/sd-tr.js +16 -25
- package/dist/collection/components/sd-tabs/sd-tabs.js +1 -1
- package/dist/collection/components/sd-tag/sd-tag.js +2 -2
- package/dist/collection/components/sd-text-link/sd-text-link.js +3 -3
- 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/index.js +1 -1
- package/dist/components/p-BDVrZ5mV.js +1 -0
- package/dist/components/{p-BY1LGlfc.js → p-BFC3Etk2.js} +1 -1
- package/dist/components/p-BQn6le_Y.js +1 -0
- package/dist/components/{p-nOCYbyW4.js → p-BRk9YZBe.js} +1 -1
- package/dist/components/{p-Jts7ueOa.js → p-BRxXhFqt.js} +1 -1
- package/dist/components/{p-Cktiasfd.js → p-BSfu4DO2.js} +1 -1
- package/dist/components/{p-B3D43x7F.js → p-BZabVWBD.js} +1 -1
- package/dist/components/{p-BsM-fwYd.js → p-BeBiPTbd.js} +1 -1
- package/dist/components/{p-Dl8TIEQu.js → p-BjpbUGud.js} +1 -1
- package/dist/components/{p-DL1ac1QS.js → p-Bs1Z5QtN.js} +1 -1
- package/dist/components/{p-teN3CfOr.js → p-BwPmM1Pm.js} +1 -1
- package/dist/components/{p-DBFgk0rX.js → p-C3fqSH7A.js} +1 -1
- package/dist/components/p-CETxX4-M.js +1 -0
- package/dist/components/{p-D0Jiw-Zk.js → p-CIUE4qr7.js} +1 -1
- package/dist/components/{p-BXCyVrle.js → p-CLxVZFEG.js} +1 -1
- package/dist/components/{p-B-sK7I83.js → p-CpgTSxf0.js} +1 -1
- package/dist/components/p-Cx_d5vsS.js +1 -0
- package/dist/components/{p-CQI40kiY.js → p-CyObYB-g.js} +1 -1
- package/dist/components/{p-DFLCjX1a.js → p-D7nYP2a4.js} +1 -1
- package/dist/components/p-DQFHAKL_.js +1 -0
- package/dist/components/{p-wCNRlKLa.js → p-DS7Ypvt5.js} +1 -1
- package/dist/components/{p-CsVAx6KV.js → p-Da5i_Sa6.js} +1 -1
- package/dist/components/p-DiP0LJGq.js +1 -0
- package/dist/components/{p-CdOHomUp.js → p-DlREBZ-C.js} +1 -1
- package/dist/components/p-DnW8EAqd.js +1 -0
- package/dist/components/{p-C5CH-s6a.js → p-DwgaMhOM.js} +1 -1
- package/dist/components/p-DykVq5VY.js +1 -0
- package/dist/components/{p-BorUSgEK.js → p-FKKk7Bk8.js} +1 -1
- package/dist/components/{p-CRL7TjSB.js → p-INdVvadB.js} +1 -1
- package/dist/components/p-JlZdKw4C.js +1 -0
- package/dist/components/{p-C7WLft_0.js → p-VuxN5d2D.js} +1 -1
- package/dist/components/{p-u8teDaMa.js → p-X-8I-A3g.js} +1 -1
- package/dist/components/{p-arZfxxPn.js → p-Z5Vk33zf.js} +1 -1
- package/dist/components/{p-BAcmO7w0.js → p-kSfaCwf1.js} +1 -1
- package/dist/components/p-oyZgWRnC.js +1 -0
- package/dist/components/{p-2wB9cing.js → p-t161LJqb.js} +1 -1
- package/dist/components/{p-CK9ciBIR.js → p-wOAxmZ1V.js} +1 -1
- package/dist/components/{p-B7mpdnNl.js → p-xX3QT-8K.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-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-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.esm.js +1 -1
- package/dist/design-system/{p-1baa05ae.entry.js → p-00b2c850.entry.js} +1 -1
- package/dist/design-system/{p-8f22106e.entry.js → p-03badf68.entry.js} +1 -1
- package/dist/design-system/{p-f4d73a0c.entry.js → p-11b904a3.entry.js} +1 -1
- package/dist/design-system/p-29fd86d8.entry.js +1 -0
- package/dist/design-system/{p-78cc0289.entry.js → p-32e2d71e.entry.js} +1 -1
- package/dist/design-system/p-36d744fb.entry.js +1 -0
- package/dist/design-system/{p-a6545130.entry.js → p-399d416c.entry.js} +1 -1
- package/dist/design-system/{p-e2334c1c.entry.js → p-3b8954d9.entry.js} +1 -1
- package/dist/design-system/{p-fe0a5368.entry.js → p-42f7febe.entry.js} +1 -1
- package/dist/design-system/{p-435ae69e.entry.js → p-481e6934.entry.js} +1 -1
- package/dist/design-system/{p-501fae20.entry.js → p-4a91875c.entry.js} +1 -1
- package/dist/design-system/p-522d1481.entry.js +1 -0
- package/dist/design-system/{p-b3c144ff.entry.js → p-679bce6c.entry.js} +1 -1
- package/dist/design-system/{p-5705e6d6.entry.js → p-74bf0ed9.entry.js} +1 -1
- package/dist/design-system/{p-87c868c3.entry.js → p-84a94775.entry.js} +1 -1
- package/dist/design-system/p-8f4ccae4.entry.js +1 -0
- package/dist/design-system/p-92f368a2.entry.js +1 -0
- package/dist/design-system/p-9681b0ba.entry.js +1 -0
- package/dist/design-system/{p-d3212544.entry.js → p-9b9bf9db.entry.js} +1 -1
- package/dist/design-system/{p-2c63404f.entry.js → p-9f7f1b8b.entry.js} +1 -1
- package/dist/design-system/p-BGtUaScP.js +1 -0
- package/dist/design-system/p-BQn6le_Y.js +1 -0
- package/dist/design-system/p-DQFHAKL_.js +1 -0
- package/dist/design-system/p-DykVq5VY.js +1 -0
- package/dist/design-system/p-TF8_Lyhq.js +1 -0
- package/dist/design-system/{p-100f5887.entry.js → p-a640e509.entry.js} +1 -1
- package/dist/design-system/{p-b0aad445.entry.js → p-a71d4947.entry.js} +1 -1
- package/dist/design-system/{p-fc973500.entry.js → p-a7ea1cf0.entry.js} +1 -1
- package/dist/design-system/{p-44d05570.entry.js → p-a97033a2.entry.js} +1 -1
- package/dist/design-system/{p-ae2d45a2.entry.js → p-a98f9a29.entry.js} +1 -1
- package/dist/design-system/{p-de8bb9ba.entry.js → p-ae117afa.entry.js} +1 -1
- package/dist/design-system/{p-5cbaf1db.entry.js → p-c7099e9e.entry.js} +1 -1
- package/dist/design-system/{p-8ee990bd.entry.js → p-cc97f4b4.entry.js} +1 -1
- package/dist/design-system/{p-04fdb4b1.entry.js → p-d39e515d.entry.js} +1 -1
- package/dist/design-system/{p-5ed0becf.entry.js → p-d890a680.entry.js} +1 -1
- package/dist/design-system/{p-d30c823e.entry.js → p-dbeaeb31.entry.js} +1 -1
- package/dist/design-system/{p-5f1c39b8.entry.js → p-e23dac79.entry.js} +1 -1
- package/dist/design-system/{p-857c44e8.entry.js → p-e611dcd4.entry.js} +1 -1
- package/dist/design-system/{p-77690440.entry.js → p-e8e64511.entry.js} +1 -1
- package/dist/design-system/{p-0fe603a4.entry.js → p-e902a3f4.entry.js} +1 -1
- package/dist/design-system/{p-18c5ae1a.entry.js → p-f7074386.entry.js} +1 -1
- package/dist/design-system/{p-caee95b0.entry.js → p-fc5c4f85.entry.js} +1 -1
- package/dist/design-system/{p-43e97572.entry.js → p-fe3ae346.entry.js} +1 -1
- package/dist/esm/component.datepicker-BQn6le_Y.js +119 -0
- package/dist/esm/{component.table-BnfUIhUj.js → component.table-DQFHAKL_.js} +3 -0
- package/dist/esm/design-system.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/sd-action-modal.entry.js +1 -1
- package/dist/esm/sd-badge.entry.js +1 -1
- package/dist/esm/sd-barcode-input.entry.js +1 -1
- package/dist/esm/sd-button_2.entry.js +269 -3
- package/dist/esm/sd-calendar_2.entry.js +260 -0
- package/dist/esm/sd-card.entry.js +1 -1
- package/dist/esm/sd-checkbox.entry.js +3 -3
- package/dist/esm/sd-chip.entry.js +1 -1
- package/dist/esm/sd-circle-progress.entry.js +1 -1
- package/dist/esm/sd-confirm-modal_2.entry.js +3 -3
- package/dist/esm/sd-date-box.entry.js +2 -2
- package/dist/esm/sd-date-picker.config-CGEE3DkI.js +34 -0
- package/dist/esm/sd-date-picker_7.entry.js +15 -13
- package/dist/esm/sd-date-range-picker-calendar.entry.js +10 -10
- package/dist/esm/sd-dropdown-button.entry.js +3 -3
- package/dist/esm/sd-field_3.entry.js +7 -7
- package/dist/esm/sd-form.entry.js +1 -1
- package/dist/esm/sd-ghost-button.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/sd-pagination_4.entry.js +27 -36
- package/dist/esm/sd-popover.entry.js +3 -3
- 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 +6 -6
- package/dist/esm/sd-select_3.entry.js +8 -8
- package/dist/esm/sd-switch.entry.js +1 -1
- package/dist/esm/{sd-table.config-B-VgXXT7.js → sd-table.config-DU7Pc6YH.js} +4 -2
- package/dist/esm/sd-table.entry.js +25 -27
- package/dist/esm/sd-tabs.entry.js +1 -1
- package/dist/esm/sd-tag.entry.js +2 -2
- package/dist/esm/sd-td.entry.js +18 -9
- package/dist/esm/sd-text-link.entry.js +3 -3
- package/dist/esm/sd-toast-container.entry.js +1 -1
- package/dist/esm/sd-toast.entry.js +2 -2
- package/dist/esm/sd-toggle.entry.js +1 -1
- package/dist/esm/useDatePicker-D5RmWGOp.js +98 -0
- package/dist/types/components/sd-calendar/sd-calendar.config.d.ts +55 -0
- package/dist/types/components/sd-calendar/sd-calendar.d.ts +18 -21
- package/dist/types/components/sd-date-picker/sd-date-picker.config.d.ts +0 -38
- package/dist/types/components/sd-date-range-picker/sd-date-range-picker.config.d.ts +2 -1
- package/dist/types/components/sd-table/sd-table.d.ts +1 -1
- package/dist/types/components/sd-table/sd-td/sd-td.d.ts +2 -2
- package/dist/types/components/sd-table/sd-tr/sd-tr.d.ts +1 -2
- package/dist/types/components.d.ts +6 -52
- package/dist/types/index.d.ts +4 -3
- package/hydrate/index.js +1035 -1110
- package/hydrate/index.mjs +1035 -1110
- package/package.json +1 -1
- package/dist/cjs/resolveColor-B0hzQNLG.js +0 -270
- package/dist/cjs/sd-calendar.cjs.entry.js +0 -143
- package/dist/cjs/sd-date-picker-calendar_2.cjs.entry.js +0 -219
- package/dist/cjs/sd-date-picker.config-CjvrFpYK.js +0 -177
- package/dist/cjs/useDatePicker-cK_XK_P6.js +0 -48
- package/dist/collection/components/sd-date-picker/sd-date-picker-calendar/sd-date-picker-calendar.css +0 -117
- package/dist/collection/components/sd-date-picker/sd-date-picker-calendar/sd-date-picker-calendar.js +0 -246
- package/dist/components/p-B6cqMQaM.js +0 -1
- package/dist/components/p-BL0ZcHK8.js +0 -1
- package/dist/components/p-Bm3W_eBv.js +0 -1
- package/dist/components/p-BnfUIhUj.js +0 -1
- package/dist/components/p-Ch5Yu1qd.js +0 -1
- package/dist/components/p-D5F7wCNo.js +0 -1
- package/dist/components/p-DTrMR0rx.js +0 -1
- package/dist/components/p-DeQcDHpn.js +0 -1
- package/dist/components/p-DfK4DiDI.js +0 -1
- package/dist/components/p-DyAnn9ea.js +0 -1
- package/dist/components/p-mmdt-WnS.js +0 -1
- package/dist/components/sd-date-picker-calendar.d.ts +0 -11
- package/dist/components/sd-date-picker-calendar.js +0 -1
- package/dist/design-system/p-05611ff7.entry.js +0 -1
- package/dist/design-system/p-2a1ef965.entry.js +0 -1
- package/dist/design-system/p-66af0ba0.entry.js +0 -1
- package/dist/design-system/p-790165f8.entry.js +0 -1
- package/dist/design-system/p-80466582.entry.js +0 -1
- package/dist/design-system/p-8db7d8f2.entry.js +0 -1
- package/dist/design-system/p-B6cqMQaM.js +0 -1
- package/dist/design-system/p-BnfUIhUj.js +0 -1
- package/dist/design-system/p-Ce0cmS4R.js +0 -1
- package/dist/design-system/p-DTrMR0rx.js +0 -1
- package/dist/design-system/p-d8c41313.entry.js +0 -1
- package/dist/design-system/p-mmdt-WnS.js +0 -1
- package/dist/esm/resolveColor-Ce0cmS4R.js +0 -268
- package/dist/esm/sd-calendar.entry.js +0 -141
- package/dist/esm/sd-date-picker-calendar_2.entry.js +0 -216
- package/dist/esm/sd-date-picker.config-B6cqMQaM.js +0 -171
- package/dist/esm/useDatePicker-DTrMR0rx.js +0 -45
- package/dist/types/components/sd-date-picker/sd-date-picker-calendar/sd-date-picker-calendar.d.ts +0 -26
|
@@ -63,17 +63,17 @@ const SdPopover = class {
|
|
|
63
63
|
const leftLink = this.leftLink;
|
|
64
64
|
const button = this.button;
|
|
65
65
|
const hasFooter = !!leftLink || !!button;
|
|
66
|
-
return (h(Fragment, { key: '
|
|
66
|
+
return (h(Fragment, { key: 'b50da46efd85cdb48f66b24c591ab662a9fd62cb' }, 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, 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: 'a31d6c00a9b61826fa412247f603d78874a3dba6', parentRef: this.buttonEl, onSdClose: this.handleClose, placement: placement, offset: this.popoverOffset }, h("div", { key: '11020f31a14dbb7325b30ebc48315b344662cf43', class: {
|
|
67
67
|
'sd-floating-menu': true,
|
|
68
68
|
'sd-floating-menu--popover': true,
|
|
69
69
|
[`sd-floating-menu--${placement}`]: true,
|
|
70
70
|
[menuClass]: menuClass !== '',
|
|
71
71
|
}, style: {
|
|
72
72
|
'--sd-floating-bg': popoverTokens.popover.bg,
|
|
73
|
-
} }, h("i", { key: '
|
|
73
|
+
} }, h("i", { key: '51b35ade68a68c92b7488b97f2b1808d7fcf33e5', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${placement}` }, h(TooltipArrow, { key: 'd491c997e07a2bb2d4a3ad3624d5098457f91c05' })), h("div", { key: '19bfc90b0c5da4fe736aad3b8b2061ac58d8efb4', class: "sd-floating-menu__content" }, this.menuTitle && h("div", { key: '31875711b7cd54c0c48f0017ac94365c3cc97821', class: "sd-floating-menu__title" }, this.menuTitle), messages.length > 0 && (h("div", { key: '9c78a748831045f96fe48fd2ae9dcd85b1335aa0', class: "sd-floating-menu__messages" }, messages.map((message, i) => (h("div", { key: `msg-${i}` }, message))))), hasFooter && (h("div", { key: '787f0d2ac133bef9f72ce248b943b0ff9883db9e', class: {
|
|
74
74
|
'sd-floating-menu__buttons': true,
|
|
75
75
|
'sd-floating-menu__buttons--with-link': !!leftLink,
|
|
76
|
-
} }, leftLink && (h("sd-text-link", { key: '
|
|
76
|
+
} }, leftLink && (h("sd-text-link", { key: '2000a926c2c808e6ee51f47905fadf8847553bfe', class: "sd-floating-menu__left-link", label: leftLink.label, icon: leftLink.icon ?? '', iconColor: leftLink.iconColor ?? '', useArrow: !!leftLink.useArrow, underline: !!leftLink.underline, disabled: !!leftLink.disabled, onSdClick: leftLink.onClick })), button && (h("sd-button", { key: 'cca9d6bef231fe4c469d8895fefa8b6d5855a57c', name: button.name ?? 'secondary_xs', label: button.label, icon: button.icon, rightIcon: button.rightIcon, ariaLabel: button.ariaLabel, disabled: button.disabled, type: button.type, onSdClick: button.onClick }))))), this.useClose && (h("sd-ghost-button", { key: '032461787d74367ea047c088e08704ce7409f74b', class: "sd-floating-menu__close-button", icon: "close", ariaLabel: "close", size: "xs", onClick: this.handleClose })))))));
|
|
77
77
|
}
|
|
78
78
|
};
|
|
79
79
|
SdPopover.style = sdPopoverCss();
|
|
@@ -102,7 +102,7 @@ const SdPopup = class {
|
|
|
102
102
|
...DEFAULT_SUBMIT_BUTTON_PROPS,
|
|
103
103
|
...this.submitButtonProps,
|
|
104
104
|
};
|
|
105
|
-
return (h("div", { key: '
|
|
105
|
+
return (h("div", { key: '0c9f1cd261fa533044309342cfbaae8f5b87ae31', class: `sd-popup sd-popup--${this.type}`, style: cssVars }, h("header", { key: 'd8aa4db4d150419f5653fd93e204cc4bd865c35e', class: "sd-popup__header" }, h("h2", { key: 'fce95fce48a91c3a2b60f0b1169113cd2ff157d6', class: "sd-popup__title" }, this.popupTitle)), h("div", { key: 'c730895828c14a6a80fe6bebecb08f386cc84a78', class: "sd-popup__body" }, h("slot", { key: 'f3402c32fdc55794fb2c877a41c9f73e3c0d6d9f' })), this.useFooter && (h("footer", { key: '4b04ebc0dccc07dd9466c06c940d3444346603ba', class: "sd-popup__footer" }, h("div", { key: '78b35347121652d647e3601e6c6164e8e21288ca', class: "sd-popup__footer-slot sd-popup__footer-slot--left" }, h("slot", { key: '98836c28e7de97466cf4285c0458a8709c3788bb', name: "footer-left" })), h("sd-button", { key: 'd9ab45765c66a2f86aec2df9fc056fa1f4605259', ...submitButtonProps, class: "sd-popup__submit", onSdClick: () => this.submit.emit() })))));
|
|
106
106
|
}
|
|
107
107
|
};
|
|
108
108
|
SdPopup.style = sdPopupCss();
|
|
@@ -225,7 +225,7 @@ const SdPortal = class {
|
|
|
225
225
|
this.close.emit();
|
|
226
226
|
}
|
|
227
227
|
render() {
|
|
228
|
-
return h("slot", { key: '
|
|
228
|
+
return h("slot", { key: '1f46253fe0f70fda84643e8d3025c1fd47090f5c' });
|
|
229
229
|
}
|
|
230
230
|
static get watchers() { return {
|
|
231
231
|
"open": [{
|
|
@@ -176,7 +176,7 @@ const SdRadioButton = class {
|
|
|
176
176
|
'--sd-radio-button-content-select': RADIO_BUTTON_COLORS.content.select,
|
|
177
177
|
'--sd-radio-button-content-disabled': RADIO_BUTTON_COLORS.content.disabled,
|
|
178
178
|
};
|
|
179
|
-
return (h("div", { key: '
|
|
179
|
+
return (h("div", { key: 'd1f572315ee66c5defebc4386e815fb21928b548', class: this.getGroupClasses(), style: cssVars, role: "radiogroup", "aria-disabled": this.disabled.toString() }, this.options.map(option => {
|
|
180
180
|
const isSelected = this.isOptionSelected(option);
|
|
181
181
|
const isDisabled = this.isOptionDisabled(option);
|
|
182
182
|
return (h("label", { key: `radio-${option.value}`, class: this.getButtonClasses(option), "aria-label": option.label || 'radio option', "data-label": option.label }, h("input", { type: "radio", name: this.groupName, value: option.value.toString(), checked: isSelected, disabled: isDisabled, onInput: () => this.handleRadioChange(option.value, option.disabled) }), option.label && h("span", { class: "sd-radio-button__label" }, option.label)));
|
|
@@ -116,7 +116,7 @@ const SdRadio = class {
|
|
|
116
116
|
'--sd-radio-disabled-dot': RADIO_COLORS.disabled.dot,
|
|
117
117
|
'--sd-radio-label-color': RADIO_COLORS.label,
|
|
118
118
|
};
|
|
119
|
-
return (h("label", { key: '
|
|
119
|
+
return (h("label", { key: '2b7819249e5070a22b626530011db4a8e56194f1', class: this.radioClasses, style: cssVars, "aria-checked": this.isSelected ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false' }, h("input", { key: '233699a7c3bc13708d43ca3719f61edf53836c83', type: "radio", name: String(this.val), value: String(this.val), checked: this.isSelected, disabled: this.disabled, "aria-label": this.label || String(this.val), onInput: this.handleRadioChange }), h("span", { key: 'eb665c5f8c6202b66b65b6b120f144970fba0a38', class: "sd-radio__circle" }), this.label && h("span", { key: '3d0db13e083bacb4cb7ace9129fcfcd61f18dfc7', class: "sd-radio__label" }, this.label)));
|
|
120
120
|
}
|
|
121
121
|
static get watchers() { return {
|
|
122
122
|
"value": [{
|
|
@@ -77,7 +77,7 @@ const SdSelectListItem = class {
|
|
|
77
77
|
return (
|
|
78
78
|
// 키보드 네비게이션은 부모 listbox 의 ArrowUp/Down + Enter 가 담당. 항목 자체는 role=option, tabindex=-1 으로 표시.
|
|
79
79
|
// eslint-disable-next-line jsx-a11y/click-events-have-key-events
|
|
80
|
-
h("div", { key: '
|
|
80
|
+
h("div", { key: '93e8bf04e69d9e6f066952570ed06076bdd17e57', role: "option", tabindex: -1, "aria-selected": this.isSelected === true ? 'true' : 'false', class: {
|
|
81
81
|
'sd-select-list-item': true,
|
|
82
82
|
'sd-select-list-item--group': isGroup,
|
|
83
83
|
'sd-select-list-item--depth1-group': isDepth1Group,
|
|
@@ -87,7 +87,7 @@ const SdSelectListItem = class {
|
|
|
87
87
|
'sd-select-list-item--focused': this.isFocused,
|
|
88
88
|
'sd-select-list-item--selectable': this.isSelectable && !this.option.disabled,
|
|
89
89
|
'sd-select-list-item--disabled': !!this.option.disabled,
|
|
90
|
-
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: '
|
|
90
|
+
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: '2b6a17361c2e5c65c6dac21895ef397cadeec9a3', 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 })), h("span", { key: '158e45d52b3b5394f7c4e2ffff97d23f83ce5e49', class: "sd-select-list-item__label" }, this.option.label), this.countInfo && (h("span", { key: '48adac9df92cd19f5e2b39bed828a9ad7c22c945', class: "sd-select-list-item__count" }, "(", this.countInfo.selected, "/", this.countInfo.total, ")"))));
|
|
91
91
|
}
|
|
92
92
|
};
|
|
93
93
|
SdSelectListItem.style = sdSelectListItemCss();
|
|
@@ -140,15 +140,15 @@ const SdSelectListItemSearch = class {
|
|
|
140
140
|
clearTimeout(this.debounceTimer);
|
|
141
141
|
}
|
|
142
142
|
render() {
|
|
143
|
-
return (h("div", { key: '
|
|
143
|
+
return (h("div", { key: '0b8e55a2f39d72bc6fc5c7d8c6262c9fffb52ba7', class: {
|
|
144
144
|
'sd-select-list-item-search': true,
|
|
145
145
|
'sd-select-list-item-search--scrolled': this.isScrolled,
|
|
146
|
-
} }, h("div", { key: '
|
|
146
|
+
} }, h("div", { key: '30c4f5d6c8002579da129cebb06c026c278fb555', class: "sd-select-list-item-search__inner" }, h("sd-icon", { key: 'be9076a1fd6d7fd9a1990fd9e32aebd04c1bc4b4', name: "search", size: 16, color: "grey_70", class: "sd-select-list-item-search__icon" }), h("input", { key: 'c9400184f607d0385e5e8c25615e1a955256c6f4', ref: el => {
|
|
147
147
|
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: '
|
|
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: 'dcb18eff068dea3fcb9144c4dfd4500806f68753', type: "button", class: {
|
|
149
149
|
'sd-select-list-item-search__clear': true,
|
|
150
150
|
'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: '
|
|
151
|
+
}, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, h("sd-icon", { key: 'beb2cf23258aa1eaff2c9fdb63dae99570691af1', name: "close", size: 12, color: "#888888" })))));
|
|
152
152
|
}
|
|
153
153
|
};
|
|
154
154
|
SdSelectListItemSearch.style = sdSelectListItemSearchCss();
|
|
@@ -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: 'c433e21047632ae1e7901e11f6f9d83070f8d83c', 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: 'f04f2f331c27745035c35d96d5262398065589a8', class: "sd-select", ref: el => {
|
|
271
271
|
this.triggerRef = el;
|
|
272
|
-
} }, h("sd-select-trigger", { key: '
|
|
272
|
+
} }, h("sd-select-trigger", { key: 'b66e83ff248618c815b155f27445f3da9e91361b', 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: 'bd5b46d8e4849d235e39a9d9cfc549fdbe260076', ...portalProps }, h("sd-select-listbox", { key: '81266da14ee4e59b4cedd4b364c18fea4d3c4f7f', 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": [{
|
|
@@ -635,9 +635,9 @@ const SdSelectListbox = class {
|
|
|
635
635
|
'--listbox-max-height': this.maxHeight ?? '260px',
|
|
636
636
|
'--listbox-radius': `${LIST_BOX_LAYOUT.radius}px`,
|
|
637
637
|
};
|
|
638
|
-
return (h("div", { key: '
|
|
638
|
+
return (h("div", { key: '4173255a866459bf0aeb98d517263d12f1c39fa5', class: "sd-select-listbox", style: cssVars }, this.showSearch && (h("sd-select-list-item-search", { key: '79e7d48d7234ebfd32d3cd242822dfa93a73c151', isScrolled: this.isScrolled, onSdSearchFilter: this.handleSearchFilter })), h("div", { key: '22981c1e049d0d526af06bb5b563de5130c14477', class: "sd-select-listbox__list", onScroll: this.handleScroll, ref: el => {
|
|
639
639
|
this.listEl = el;
|
|
640
|
-
} }, this.showSelectAll && (h("sd-select-list-item", { key: '
|
|
640
|
+
} }, this.showSelectAll && (h("sd-select-list-item", { key: '7acd37c5663bb101d6853cbd6629a78d402d6cde', 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
641
|
}
|
|
642
642
|
static get watchers() { return {
|
|
643
643
|
"searchKeyword": [{
|
|
@@ -697,7 +697,7 @@ const SdSelectTrigger = class {
|
|
|
697
697
|
? SELECT_COLORS.icon.disabled
|
|
698
698
|
: SELECT_COLORS.icon.default,
|
|
699
699
|
};
|
|
700
|
-
return (h("div", { key: '
|
|
700
|
+
return (h("div", { key: '6694f35a396f368d5df9860db30d817beddb8bec', ref: el => {
|
|
701
701
|
this.triggerEl = el;
|
|
702
702
|
}, role: "button", "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? 'true' : 'false', tabindex: this.disabled ? -1 : 0, class: {
|
|
703
703
|
'sd-select-trigger': true,
|
|
@@ -708,7 +708,7 @@ const SdSelectTrigger = class {
|
|
|
708
708
|
e.preventDefault();
|
|
709
709
|
this.handleClick();
|
|
710
710
|
}
|
|
711
|
-
}, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: '
|
|
711
|
+
}, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: 'd8ff247ca362a8fc3677d9803261343a1e891298', class: "sd-select-trigger__content" }, h("span", { key: 'cd81a7c7c135372aad80fa9391b160337632643c', class: "sd-select-trigger__text" }, hasValue ? this.displayText : (this.placeholder ?? '선택')), h("sd-icon", { key: '838c12e2a9ce06036eee766ffd2f88f3215b8420', name: "chevronDown", size: 12, color: "var(--trigger-icon-color)", class: {
|
|
712
712
|
'sd-select-trigger__icon': true,
|
|
713
713
|
'sd-select-trigger__icon--open': this.isOpen,
|
|
714
714
|
} }))));
|
|
@@ -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: 'ebb195a1bb93ae476b4bf3e697623809d626eed6', "aria-label": this.label || 'switch', class: this.switchClasses, style: cssVars }, h("input", { key: 'a6de6298d35c54ad83dc6285b90e67c8d3564d15', type: "checkbox", checked: this.value, disabled: this.disabled, onInput: this.handleChange }), h("div", { key: '7881f46be572edcfc82888564a7f85ad4207dd8e', class: "sd-switch__track" }, h("div", { key: 'c08c9d5894a6f9ddf3ecdaaa9253628478479043', class: "sd-switch__knob" })), this.label && h("span", { key: '4e01b185502829d8fb647d3eafaaf6565489b2f3', class: "sd-switch__label" }, this.label)));
|
|
104
104
|
}
|
|
105
105
|
};
|
|
106
106
|
SdSwitch.style = sdSwitchCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as tableTokens } from './component.table-
|
|
1
|
+
import { t as tableTokens } from './component.table-DQFHAKL_.js';
|
|
2
2
|
import { s as systemTokens } from './system-GBlVDmy4.js';
|
|
3
3
|
|
|
4
4
|
// ── Header Tokens ──
|
|
@@ -31,7 +31,9 @@ const TABLE_BODY_LAYOUT = {
|
|
|
31
31
|
height: tableTokens.table.body.dense.height,
|
|
32
32
|
paddingY: tableTokens.table.body.dense.paddingY,
|
|
33
33
|
},
|
|
34
|
-
paddingX: tableTokens.table.body.paddingX
|
|
34
|
+
paddingX: tableTokens.table.body.paddingX,
|
|
35
|
+
framePadding: tableTokens.table.body.frame.padding,
|
|
36
|
+
};
|
|
35
37
|
const TABLE_BODY_TYPOGRAPHY = {
|
|
36
38
|
fontFamily: tableTokens.table.body.typography.fontFamily,
|
|
37
39
|
fontWeight: tableTokens.table.body.typography.fontWeight,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, a as getElement, d as readTask, f as forceUpdate, h, H as Host } from './index-0U6dRjlq.js';
|
|
2
2
|
import { T as TABLE_ID_ATTR } from './constants-sZMi_32I.js';
|
|
3
|
-
import { T as TABLE_BODY_LAYOUT, a as TABLE_BODY_TYPOGRAPHY, b as TABLE_BORDER, c as TABLE_RADIUS } from './sd-table.config-
|
|
4
|
-
import './component.table-
|
|
3
|
+
import { T as TABLE_BODY_LAYOUT, a as TABLE_BODY_TYPOGRAPHY, b as TABLE_BORDER, c as TABLE_RADIUS } from './sd-table.config-DU7Pc6YH.js';
|
|
4
|
+
import './component.table-DQFHAKL_.js';
|
|
5
5
|
import './system-GBlVDmy4.js';
|
|
6
6
|
|
|
7
7
|
let urlAlphabet =
|
|
@@ -56,7 +56,9 @@ const SdTable = class {
|
|
|
56
56
|
get effectiveRowHeight() {
|
|
57
57
|
if (this.rowHeight != null)
|
|
58
58
|
return this.rowHeight;
|
|
59
|
-
return this.dense
|
|
59
|
+
return this.dense
|
|
60
|
+
? Number(TABLE_BODY_LAYOUT.dense.height)
|
|
61
|
+
: Number(TABLE_BODY_LAYOUT.default.height);
|
|
60
62
|
}
|
|
61
63
|
virtualBuffer = 5;
|
|
62
64
|
virtualEndThreshold = 10;
|
|
@@ -250,7 +252,6 @@ const SdTable = class {
|
|
|
250
252
|
el.unregisterSpanSync = this.unregisterSpanSync.bind(this);
|
|
251
253
|
el.getSpanSync = this.getSpanSync.bind(this);
|
|
252
254
|
el.isCoveredSync = this.isCoveredSync.bind(this);
|
|
253
|
-
el.isVisualLastRowSync = this.isVisualLastRowSync.bind(this);
|
|
254
255
|
el.registerSeparatorSync = this.registerSeparatorSync.bind(this);
|
|
255
256
|
el.unregisterSeparatorSync = this.unregisterSeparatorSync.bind(this);
|
|
256
257
|
el.isVisualLastRowBeforeSeparatorSync = this.isVisualLastRowBeforeSeparatorSync.bind(this);
|
|
@@ -261,6 +262,7 @@ const SdTable = class {
|
|
|
261
262
|
el.registerUseFrameSync = this.registerUseFrameSync.bind(this);
|
|
262
263
|
el.unregisterUseFrameSync = this.unregisterUseFrameSync.bind(this);
|
|
263
264
|
el.hasUseFrameInRowSync = this.hasUseFrameInRowSync.bind(this);
|
|
265
|
+
el.isCellUseFrameSync = this.isCellUseFrameSync.bind(this);
|
|
264
266
|
if (Array.isArray(this.rows)) {
|
|
265
267
|
this.rowCount = this.rows.length;
|
|
266
268
|
this.pushRowsToChildren(this.rows);
|
|
@@ -338,8 +340,15 @@ const SdTable = class {
|
|
|
338
340
|
}
|
|
339
341
|
});
|
|
340
342
|
this.noDataContentResizeObserver.observe(target);
|
|
341
|
-
|
|
342
|
-
|
|
343
|
+
readTask(() => {
|
|
344
|
+
if (!this.noDataContentEl)
|
|
345
|
+
return;
|
|
346
|
+
const measured = Math.ceil(this.noDataContentEl.scrollHeight);
|
|
347
|
+
const next = Math.max(60, measured);
|
|
348
|
+
if (next !== this.noDataBodyHeight) {
|
|
349
|
+
this.noDataBodyHeight = next;
|
|
350
|
+
}
|
|
351
|
+
});
|
|
343
352
|
}
|
|
344
353
|
// light DOM(manual mode 자식)과 shadow DOM(autoThead/autoTbody fallback) 양쪽 모두에서 자식을 찾는다.
|
|
345
354
|
queryChildEl(selector) {
|
|
@@ -463,6 +472,9 @@ const SdTable = class {
|
|
|
463
472
|
const fields = this.useFrameRegistry.get(rowKey);
|
|
464
473
|
return fields != null && fields.size > 0;
|
|
465
474
|
}
|
|
475
|
+
isCellUseFrameSync(rowKey, field) {
|
|
476
|
+
return this.useFrameRegistry.get(rowKey)?.has(field) ?? false;
|
|
477
|
+
}
|
|
466
478
|
isRowSelectedSync(row) {
|
|
467
479
|
return Array.from(this.innerSelected).some(r => r[this.rowKey ?? 'id'] === row[this.rowKey ?? 'id']);
|
|
468
480
|
}
|
|
@@ -734,7 +746,7 @@ const SdTable = class {
|
|
|
734
746
|
return false;
|
|
735
747
|
}
|
|
736
748
|
// rowspan을 반영한 셀의 시각적 하단 행 인덱스를 반환한다.
|
|
737
|
-
//
|
|
749
|
+
// isVisualLastRowBeforeSeparatorSync 헬퍼.
|
|
738
750
|
resolveVisualBottom(rowKey, field) {
|
|
739
751
|
const myRowIdx = this.resolveRowIndex(rowKey);
|
|
740
752
|
if (myRowIdx == null)
|
|
@@ -743,20 +755,6 @@ const SdTable = class {
|
|
|
743
755
|
const rs = Math.max(1, span?.rowspan ?? 1);
|
|
744
756
|
return myRowIdx + rs - 1;
|
|
745
757
|
}
|
|
746
|
-
// 셀의 시각적 하단이 테이블(또는 현재 페이지)의 마지막 행인지 판정.
|
|
747
|
-
// 마지막 행에 border-bottom: none을 적용하기 위함.
|
|
748
|
-
isVisualLastRowSync(rowKey, field) {
|
|
749
|
-
if (this.rowCount <= 0)
|
|
750
|
-
return false;
|
|
751
|
-
const visualBottom = this.resolveVisualBottom(rowKey, field);
|
|
752
|
-
if (visualBottom == null)
|
|
753
|
-
return false;
|
|
754
|
-
const pageInfo = this.getPaginationInfoSync();
|
|
755
|
-
const lastVisibleIdx = pageInfo
|
|
756
|
-
? Math.min(pageInfo.endIndex - 1, this.rowCount - 1)
|
|
757
|
-
: this.rowCount - 1;
|
|
758
|
-
return visualBottom === lastVisibleIdx;
|
|
759
|
-
}
|
|
760
758
|
registerSeparatorSync(prevRowKey) {
|
|
761
759
|
const idx = this.resolveRowIndex(prevRowKey);
|
|
762
760
|
if (idx != null)
|
|
@@ -873,25 +871,25 @@ const SdTable = class {
|
|
|
873
871
|
'--table-body-line-height': `${TABLE_BODY_TYPOGRAPHY.lineHeight}px`,
|
|
874
872
|
'--table-body-text-decoration': TABLE_BODY_TYPOGRAPHY.textDecoration,
|
|
875
873
|
};
|
|
876
|
-
return (h(Host, { key: '
|
|
874
|
+
return (h(Host, { key: '2b7c1eaf862c45c73751af6035a022e8ce0314b4', style: hostStyle }, h("div", { key: '35851e539eef8ff69ff03bd31f5d55d95eb8bf7a', class: "sd-table__container", style: {
|
|
877
875
|
'--table-width': this.width,
|
|
878
876
|
'--table-height': effectiveTableHeight,
|
|
879
877
|
'--table-container-height': `calc(${effectiveTableHeight} - ${paginationHeight}px)`,
|
|
880
|
-
} }, h("div", { key: '
|
|
878
|
+
} }, h("div", { key: 'e3bf5576fd1b1ee9ffab5d240de904204f4288d5', class: {
|
|
881
879
|
'sd-table__wrapper': true,
|
|
882
880
|
'sd-table__wrapper--radius-use-top': this.radius === 'useTop',
|
|
883
|
-
} }, h("div", { key: '
|
|
881
|
+
} }, h("div", { key: 'a67ebcb802a3ed443cca1fc33a00787642e08e84', class: {
|
|
884
882
|
'sd-table__scroll-container': true,
|
|
885
883
|
'sd-table__scroll-container--loading': this.isLoading,
|
|
886
884
|
'sd-table__scroll-container--no-data': isNoData,
|
|
887
|
-
} }, this.isLoading && (h("div", { key: '
|
|
885
|
+
} }, this.isLoading && (h("div", { key: '2cdaff94dab50598c05364930dd3e763a6f2f79a', class: "sd-table__loading", style: { top: `${this.loadingScrollTop}px` } }, h("sd-circle-progress", { key: '49211d7555a38996d3fd9cfce0df50bb626fa1d6', indeterminate: true }))), isNoData && (h(h.Fragment, null, h("div", { key: '3da9d42ecedbdc63858a06040f0e22d265a8183b', class: "sd-table__no-data-header-overlay" }), h("div", { key: '20b5d8be682572a4ddbce21b6cd265894d014499', class: "sd-table__no-data" }, h("div", { key: 'a024fa084f4a137a70fe176cee6918b4f701fd42', class: "sd-table__no-data-content", ref: el => {
|
|
888
886
|
this.noDataContentEl = el;
|
|
889
887
|
if (el)
|
|
890
888
|
this.syncNoDataContentObserver();
|
|
891
|
-
} }, h("slot", { key: '
|
|
889
|
+
} }, h("slot", { key: '9603eefa63fd5bc05dfa132c6be2302497d4c228', name: "no-data" }, h("span", { key: '0dad4e143d8251e375f748d1e5e1a77909fab164' }, this.resolvedNoDataLabel)))))), h("table", { key: '83325a8970f18bb9cf7a78dc665d16a24edc18da', 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 &&
|
|
892
890
|
this.pagination.rowsPerPage > 0 &&
|
|
893
891
|
this.rowCount > 0 &&
|
|
894
|
-
!this.useVirtualScroll && (h("div", { key: '
|
|
892
|
+
!this.useVirtualScroll && (h("div", { key: '935b0f916cbc1de29a7f6b3805a5a3c25eaba467', class: "sd-table__pagination" }, h("sd-pagination", { key: '7faad5d0b2efe652a9ed989910551aa8bc5592ec', 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: 'd514c41459a60ac47ffcd476a635c47386232c50', value: this.useInternalPagination
|
|
895
893
|
? this.innerRowsPerPage
|
|
896
894
|
: this.pagination.rowsPerPage, options: this.rowsPerPageOption, width: "128px", emitValue: true, onSdUpdate: e => {
|
|
897
895
|
if (!this.isRowsPerPageValue(e.detail))
|
|
@@ -186,7 +186,7 @@ const SdTabs = class {
|
|
|
186
186
|
};
|
|
187
187
|
}
|
|
188
188
|
render() {
|
|
189
|
-
return (h("div", { key: '
|
|
189
|
+
return (h("div", { key: '880f1aa80c29f2d578ffe2d5e5e5e0c008c898d3', 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
|
@@ -205,7 +205,7 @@ const SdTag = class {
|
|
|
205
205
|
render() {
|
|
206
206
|
const config = this.resolvedConfig;
|
|
207
207
|
const iconNode = this.renderIcon(config.icon, config.iconSize);
|
|
208
|
-
return (h("span", { key: '
|
|
208
|
+
return (h("span", { key: '57f3c3f9ad53059fabff205cb44ffa3d1da9a711', class: "sd-tag", style: {
|
|
209
209
|
'--sd-tag-background': config.background,
|
|
210
210
|
'--sd-tag-content': config.content,
|
|
211
211
|
'--sd-tag-height': config.height,
|
|
@@ -215,7 +215,7 @@ const SdTag = class {
|
|
|
215
215
|
'--sd-tag-font-weight': config.fontWeight,
|
|
216
216
|
'--sd-tag-line-height': config.lineHeight,
|
|
217
217
|
'--sd-tag-radius': config.radius,
|
|
218
|
-
}, "aria-label": this.label || 'tag' }, this.icon && this.isLeft && iconNode, h("span", { key: '
|
|
218
|
+
}, "aria-label": this.label || 'tag' }, this.icon && this.isLeft && iconNode, h("span", { key: '3360f36d18f073cd24699b6b8db2e731fda351ac', class: "sd-tag__label" }, this.label), this.icon && !this.isLeft && iconNode));
|
|
219
219
|
}
|
|
220
220
|
};
|
|
221
221
|
SdTag.style = sdTagCss();
|
package/dist/esm/sd-td.entry.js
CHANGED
|
@@ -25,11 +25,13 @@ const SdTd = class {
|
|
|
25
25
|
this.syncSlotName();
|
|
26
26
|
this.syncSpanRegistration();
|
|
27
27
|
this.syncCellClassRegistration(oldField);
|
|
28
|
+
this.syncUseFrameRegistration(oldField);
|
|
28
29
|
}
|
|
29
30
|
handleRowKeyChange(_newKey, oldKey) {
|
|
30
31
|
this.syncSlotName();
|
|
31
32
|
this.syncSpanRegistration();
|
|
32
33
|
this.syncCellClassRegistration(undefined, oldKey);
|
|
34
|
+
this.syncUseFrameRegistration(undefined, oldKey);
|
|
33
35
|
}
|
|
34
36
|
handleSpanChange() {
|
|
35
37
|
this.syncSpanRegistration();
|
|
@@ -40,15 +42,15 @@ const SdTd = class {
|
|
|
40
42
|
handleDividerChange() {
|
|
41
43
|
this.syncCellClassRegistration();
|
|
42
44
|
}
|
|
43
|
-
|
|
44
|
-
this.
|
|
45
|
+
handleUseFrameChange() {
|
|
46
|
+
this.syncUseFrameRegistration();
|
|
45
47
|
this.requestParentTrUpdate();
|
|
46
48
|
}
|
|
47
49
|
componentWillLoad() {
|
|
48
50
|
this.syncSlotName();
|
|
49
51
|
this.syncSpanRegistration();
|
|
50
52
|
this.syncCellClassRegistration();
|
|
51
|
-
this.
|
|
53
|
+
this.syncUseFrameRegistration();
|
|
52
54
|
// slot 타이밍 엇갈림 대응: 부모 sd-tr forceUpdate로 슬롯 재매칭
|
|
53
55
|
const parentTr = this.el.parentElement;
|
|
54
56
|
if (parentTr?.tagName?.toLowerCase() === 'sd-tr') {
|
|
@@ -59,7 +61,7 @@ const SdTd = class {
|
|
|
59
61
|
this.syncSlotName();
|
|
60
62
|
this.syncSpanRegistration();
|
|
61
63
|
this.syncCellClassRegistration();
|
|
62
|
-
this.
|
|
64
|
+
this.syncUseFrameRegistration();
|
|
63
65
|
}
|
|
64
66
|
// React StrictMode에서는 disconnect/reconnect 사이클이 일어나면서
|
|
65
67
|
// 동일 인스턴스의 componentWillLoad는 더 이상 호출되지 않는다.
|
|
@@ -67,7 +69,7 @@ const SdTd = class {
|
|
|
67
69
|
connectedCallback() {
|
|
68
70
|
this.syncSpanRegistration();
|
|
69
71
|
this.syncCellClassRegistration();
|
|
70
|
-
this.
|
|
72
|
+
this.syncUseFrameRegistration();
|
|
71
73
|
}
|
|
72
74
|
disconnectedCallback() {
|
|
73
75
|
const table = this.findTable();
|
|
@@ -124,9 +126,16 @@ const SdTd = class {
|
|
|
124
126
|
table.registerCellClassSync(String(this.rowKey), this.field, combinedClass);
|
|
125
127
|
this.requestParentTrUpdate();
|
|
126
128
|
}
|
|
127
|
-
|
|
129
|
+
syncUseFrameRegistration(prevField, prevRowKey) {
|
|
128
130
|
const table = this.findTable();
|
|
129
|
-
if (!table
|
|
131
|
+
if (!table)
|
|
132
|
+
return;
|
|
133
|
+
const oldField = prevField ?? this.field;
|
|
134
|
+
const oldRowKey = prevRowKey ?? (this.rowKey != null ? String(this.rowKey) : undefined);
|
|
135
|
+
if (oldField !== '' && oldRowKey != null) {
|
|
136
|
+
table.unregisterUseFrameSync?.(oldRowKey, oldField);
|
|
137
|
+
}
|
|
138
|
+
if (this.field === '' || this.rowKey == null)
|
|
130
139
|
return;
|
|
131
140
|
if (this.useFrame) {
|
|
132
141
|
table.registerUseFrameSync?.(String(this.rowKey), this.field);
|
|
@@ -147,7 +156,7 @@ const SdTd = class {
|
|
|
147
156
|
}
|
|
148
157
|
}
|
|
149
158
|
render() {
|
|
150
|
-
return (h(Host, { key: '
|
|
159
|
+
return (h(Host, { key: '505b602b609050870e7e80df9157dbc50d0cb8c1', class: { [`align-${this.align}`]: Boolean(this.align) } }, h("slot", { key: '9910f02d98ce5e115b2a380954dd0a994f9f1c12' })));
|
|
151
160
|
}
|
|
152
161
|
static get watchers() { return {
|
|
153
162
|
"field": [{
|
|
@@ -172,7 +181,7 @@ const SdTd = class {
|
|
|
172
181
|
"handleDividerChange": 0
|
|
173
182
|
}],
|
|
174
183
|
"useFrame": [{
|
|
175
|
-
"
|
|
184
|
+
"handleUseFrameChange": 0
|
|
176
185
|
}]
|
|
177
186
|
}; }
|
|
178
187
|
};
|
|
@@ -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: '11d2153cc91818c1214e21ffa14bd08249ad1116', 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: '23972d53b4968c9bdef9b54dfa785e658ba117ef', name: this.icon, size: TEXT_LINK_LAYOUT.iconSize, color: iconColor, class: "sd-text-link__icon" })), h("span", { key: '5e99a6c1151093929086ec4398b93d7db590d959', class: labelClassName }, this.label), this.useArrow && (h("span", { key: 'b814759278cefe229a5321556374438f281ce0f3', 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: 'dfe3286eaeef9a176f5ff1a69950713e2712a550', name: "chevronRight", size: TEXT_LINK_LAYOUT.arrowIconSize, color: arrowColor })))));
|
|
92
92
|
}
|
|
93
93
|
};
|
|
94
94
|
SdTextLink.style = sdTextLinkCss();
|
|
@@ -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: 'bc3c9591b6453eed7df462841e29784c29b3aeef', class: "sd-toast-container", style: this.getContainerStyles(), onMouseEnter: () => {
|
|
236
236
|
this.expanded = true;
|
|
237
237
|
this.pauseTimers();
|
|
238
238
|
}, onMouseLeave: () => {
|
|
@@ -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: 'db3ffaf51dc96c39c05558017f25929c679a59df', 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: '92344f5bb95b0d4787591207f2e017d7dd177091', class: "sd-toast", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.icon && (h("div", { key: '991db58b2cb019dd3a787e000e9d8813014bbb09', class: "sd-toast__icon" }, h("sd-icon", { key: '24d53cd77fdea82ec07663a8968493ec2b794751', name: this.icon, size: iconSize, color: iconColor }))), h("div", { key: '70cfad4ef389cca798be9baeac99bfc41efcc615', class: "sd-toast__content" }, h("span", { key: '5927023435b17dc25ee07630fc4ae4568aadd9b9', class: "sd-toast__message" }, this.message)), this.link && (h("a", { key: '410c024fd81ebcc78175c1855a86f590566d1a81', href: this.link, class: "sd-toast__link", target: "_blank", rel: "noopener noreferrer" }, this.linkLabel || this.link)), this.buttonLabel && (h("sd-button", { key: 'd85287e7ef796a11f850a0ce5cde87f5881fa5c9', class: "sd-toast__button", name: buttonName, label: this.buttonLabel, onSdClick: (event) => this.buttonClick.emit(event.detail) })), this.useClose && (h("sd-ghost-button", { key: '55a6bf6457bd89254f6eb01072d46a0edbb8b510', 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();
|
|
@@ -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: 'b16577aa25863a9dc337314d9059328799c1cd1e', class: this.toggleClasses, style: cssVars, "aria-label": this.label || 'toggle' }, this.label, h("input", { key: '6130825b74df8a573f4e062671fd694508759e82', style: { display: 'none' }, type: "checkbox", onInput: this.handleChange })));
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
124
|
SdToggle.style = sdToggleCss();
|