@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
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { d as datepickerTokens } from './component.datepicker-BQn6le_Y.js';
|
|
2
|
+
|
|
3
|
+
const CALENDAR_LAYOUT = {
|
|
4
|
+
bg: datepickerTokens.datepicker.calendar.bg,
|
|
5
|
+
paddingXY: datepickerTokens.datepicker.calendar.paddingXY,
|
|
6
|
+
gap: datepickerTokens.datepicker.calendar.gap,
|
|
7
|
+
radius: datepickerTokens.datepicker.calendar.radius,
|
|
8
|
+
header: {
|
|
9
|
+
gap: datepickerTokens.datepicker.calendar.header.gap,
|
|
10
|
+
divider: datepickerTokens.datepicker.calendar.header.divider,
|
|
11
|
+
fontSize: datepickerTokens.datepicker.calendar.header.typography.fontSize,
|
|
12
|
+
lineHeight: datepickerTokens.datepicker.calendar.header.typography.lineHeight,
|
|
13
|
+
fontWeight: datepickerTokens.datepicker.calendar.header.typography.fontWeight,
|
|
14
|
+
},
|
|
15
|
+
week: {
|
|
16
|
+
fontSize: datepickerTokens.datepicker.calendar.week.typography.fontSize,
|
|
17
|
+
lineHeight: datepickerTokens.datepicker.calendar.week.typography.lineHeight,
|
|
18
|
+
fontWeight: datepickerTokens.datepicker.calendar.week.typography.fontWeight,
|
|
19
|
+
color: datepickerTokens.datepicker.calendar.week.color,
|
|
20
|
+
},
|
|
21
|
+
grid: {
|
|
22
|
+
rowGap: datepickerTokens.datepicker.calendar.grid.rowGap,
|
|
23
|
+
},
|
|
24
|
+
day: {
|
|
25
|
+
size: datepickerTokens.datepicker.calendar.day.width,
|
|
26
|
+
circleSize: datepickerTokens.datepicker.calendar.day.circle.size,
|
|
27
|
+
circleRadius: datepickerTokens.datepicker.calendar.day.circle.radius,
|
|
28
|
+
defaultText: datepickerTokens.datepicker.calendar.day.default.text,
|
|
29
|
+
hoverText: datepickerTokens.datepicker.calendar.day.hover.text,
|
|
30
|
+
hoverBorder: datepickerTokens.datepicker.calendar.day.hover.border,
|
|
31
|
+
selectBg: datepickerTokens.datepicker.calendar.day.select.bg,
|
|
32
|
+
selectText: datepickerTokens.datepicker.calendar.day.select.text,
|
|
33
|
+
disabledText: datepickerTokens.datepicker.calendar.day.disabled.text,
|
|
34
|
+
fontSize: datepickerTokens.datepicker.calendar.day.typography.default.fontSize,
|
|
35
|
+
lineHeight: datepickerTokens.datepicker.calendar.day.typography.default.lineHeight,
|
|
36
|
+
fontWeight: datepickerTokens.datepicker.calendar.day.typography.default.fontWeight,
|
|
37
|
+
boldFontWeight: datepickerTokens.datepicker.calendar.day.typography.bold.fontWeight,
|
|
38
|
+
dot: {
|
|
39
|
+
size: datepickerTokens.datepicker.calendar.day.dot.size,
|
|
40
|
+
gap: datepickerTokens.datepicker.calendar.day.dot.gap,
|
|
41
|
+
paddingY: datepickerTokens.datepicker.calendar.day.dot.paddingY,
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
legend: {
|
|
45
|
+
fontSize: datepickerTokens.datepicker.calendar.legend.typography.fontSize,
|
|
46
|
+
lineHeight: datepickerTokens.datepicker.calendar.legend.typography.lineHeight,
|
|
47
|
+
fontWeight: datepickerTokens.datepicker.calendar.legend.typography.fontWeight,
|
|
48
|
+
gap: datepickerTokens.datepicker.calendar.legend.gap,
|
|
49
|
+
groupGap: datepickerTokens.datepicker.calendar.legend.group.gap,
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
const WEEK_LABELS = ['일', '월', '화', '수', '목', '금', '토'];
|
|
53
|
+
|
|
54
|
+
const daysInMonth = (date) => {
|
|
55
|
+
const year = Number(date.split('-')[0]);
|
|
56
|
+
const month = Number(date.split('-')[1]);
|
|
57
|
+
const daysInMonth = new Date(year, month, 0).getDate(); // month에 0을 전달하면 전달의 마지막 날짜를 반환
|
|
58
|
+
return Array.from({ length: daysInMonth }, (_, i) => i + 1);
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
const getToday = () => {
|
|
62
|
+
const today = new Date();
|
|
63
|
+
const year = today.getFullYear();
|
|
64
|
+
const month = String(today.getMonth() + 1).padStart(2, '0');
|
|
65
|
+
const day = String(today.getDate()).padStart(2, '0');
|
|
66
|
+
return `${year}-${month}-${day}`;
|
|
67
|
+
};
|
|
68
|
+
const today = getToday();
|
|
69
|
+
|
|
70
|
+
const useDatePicker = () => {
|
|
71
|
+
const formatDate = (year, month, day) => {
|
|
72
|
+
return `${year}-${String(month).padStart(2, '0')}-${String(day).padStart(2, '0')}`;
|
|
73
|
+
};
|
|
74
|
+
const createCalendar = (year, month) => {
|
|
75
|
+
const days = daysInMonth(`${year}-${String(month).padStart(2, '0')}-01`);
|
|
76
|
+
const firstDayIndex = new Date(year, month - 1, 1).getDay();
|
|
77
|
+
const prevMonthDays = Array.from({ length: firstDayIndex });
|
|
78
|
+
const remainingDays = (7 - ((days.length + firstDayIndex) % 7)) % 7;
|
|
79
|
+
const afterMonthDays = Array.from({ length: remainingDays });
|
|
80
|
+
return { days, prevMonthDays, afterMonthDays };
|
|
81
|
+
};
|
|
82
|
+
const calculateYearMonth = (year, month, type) => {
|
|
83
|
+
let newYear = year;
|
|
84
|
+
let newMonth = type === 'prev' ? month - 1 : month + 1;
|
|
85
|
+
if (newMonth < 1) {
|
|
86
|
+
newYear = year - 1;
|
|
87
|
+
newMonth = 12;
|
|
88
|
+
}
|
|
89
|
+
else if (newMonth > 12) {
|
|
90
|
+
newYear = year + 1;
|
|
91
|
+
newMonth = 1;
|
|
92
|
+
}
|
|
93
|
+
return { newYear, newMonth };
|
|
94
|
+
};
|
|
95
|
+
return { formatDate, createCalendar, calculateYearMonth };
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
export { CALENDAR_LAYOUT as C, WEEK_LABELS as W, today as t, useDatePicker as u };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export declare const CALENDAR_LAYOUT: {
|
|
2
|
+
bg: string;
|
|
3
|
+
paddingXY: string;
|
|
4
|
+
gap: string;
|
|
5
|
+
radius: string;
|
|
6
|
+
header: {
|
|
7
|
+
gap: string;
|
|
8
|
+
divider: string;
|
|
9
|
+
fontSize: string;
|
|
10
|
+
lineHeight: string;
|
|
11
|
+
fontWeight: string;
|
|
12
|
+
};
|
|
13
|
+
week: {
|
|
14
|
+
fontSize: string;
|
|
15
|
+
lineHeight: string;
|
|
16
|
+
fontWeight: string;
|
|
17
|
+
color: string;
|
|
18
|
+
};
|
|
19
|
+
grid: {
|
|
20
|
+
rowGap: string;
|
|
21
|
+
};
|
|
22
|
+
day: {
|
|
23
|
+
size: string;
|
|
24
|
+
circleSize: string;
|
|
25
|
+
circleRadius: string;
|
|
26
|
+
defaultText: string;
|
|
27
|
+
hoverText: string;
|
|
28
|
+
hoverBorder: string;
|
|
29
|
+
selectBg: string;
|
|
30
|
+
selectText: string;
|
|
31
|
+
disabledText: string;
|
|
32
|
+
fontSize: string;
|
|
33
|
+
lineHeight: string;
|
|
34
|
+
fontWeight: string;
|
|
35
|
+
boldFontWeight: string;
|
|
36
|
+
dot: {
|
|
37
|
+
size: string;
|
|
38
|
+
gap: string;
|
|
39
|
+
paddingY: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
legend: {
|
|
43
|
+
fontSize: string;
|
|
44
|
+
lineHeight: string;
|
|
45
|
+
fontWeight: string;
|
|
46
|
+
gap: string;
|
|
47
|
+
groupGap: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
export declare const WEEK_LABELS: readonly ["일", "월", "화", "수", "목", "금", "토"];
|
|
51
|
+
export interface CalendarEventGroup {
|
|
52
|
+
color: string;
|
|
53
|
+
label: string;
|
|
54
|
+
dates: string[];
|
|
55
|
+
}
|
|
@@ -1,34 +1,31 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
|
|
3
|
-
[date: string]: string[];
|
|
4
|
-
}
|
|
5
|
-
export interface CalendarEventColors {
|
|
6
|
-
[eventName: string]: string;
|
|
7
|
-
}
|
|
2
|
+
import { type CalendarEventGroup } from './sd-calendar.config';
|
|
8
3
|
export declare class SdCalendar {
|
|
9
4
|
value: string | null;
|
|
10
5
|
selectable?: [string, string];
|
|
11
|
-
events?:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
eventsRevision: number;
|
|
16
|
-
select: EventEmitter<string>;
|
|
6
|
+
events?: CalendarEventGroup[];
|
|
7
|
+
private currentYear;
|
|
8
|
+
private currentMonth;
|
|
9
|
+
update: EventEmitter<string>;
|
|
17
10
|
viewChange: EventEmitter<{
|
|
18
11
|
year: number;
|
|
19
12
|
month: number;
|
|
20
13
|
}>;
|
|
21
14
|
private dateUtil;
|
|
15
|
+
private _eventMapCache?;
|
|
16
|
+
private get eventMap();
|
|
17
|
+
private get legendItems();
|
|
22
18
|
componentWillLoad(): void;
|
|
23
19
|
handleValueChange(): void;
|
|
24
|
-
|
|
25
|
-
private
|
|
26
|
-
private get
|
|
27
|
-
private
|
|
28
|
-
private
|
|
29
|
-
private
|
|
30
|
-
private
|
|
31
|
-
private
|
|
32
|
-
private
|
|
20
|
+
private syncViewFromValue;
|
|
21
|
+
private formatDate;
|
|
22
|
+
private get cells();
|
|
23
|
+
private emitViewChange;
|
|
24
|
+
private goPrevYear;
|
|
25
|
+
private goNextYear;
|
|
26
|
+
private goPrevMonth;
|
|
27
|
+
private goNextMonth;
|
|
28
|
+
private isDisabled;
|
|
29
|
+
private handleDayClick;
|
|
33
30
|
render(): any;
|
|
34
31
|
}
|
|
@@ -31,41 +31,3 @@ export declare const DATEPICKER_COLORS: {
|
|
|
31
31
|
disabled: string;
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
|
-
export declare const CALENDAR_LAYOUT: {
|
|
35
|
-
bg: string;
|
|
36
|
-
paddingXY: string;
|
|
37
|
-
gap: string;
|
|
38
|
-
radius: string;
|
|
39
|
-
header: {
|
|
40
|
-
gap: string;
|
|
41
|
-
divider: string;
|
|
42
|
-
fontSize: string;
|
|
43
|
-
lineHeight: string;
|
|
44
|
-
fontWeight: string;
|
|
45
|
-
};
|
|
46
|
-
week: {
|
|
47
|
-
fontSize: string;
|
|
48
|
-
lineHeight: string;
|
|
49
|
-
fontWeight: string;
|
|
50
|
-
color: string;
|
|
51
|
-
};
|
|
52
|
-
grid: {
|
|
53
|
-
rowGap: string;
|
|
54
|
-
};
|
|
55
|
-
day: {
|
|
56
|
-
size: string;
|
|
57
|
-
circleSize: string;
|
|
58
|
-
circleRadius: string;
|
|
59
|
-
defaultText: string;
|
|
60
|
-
hoverText: string;
|
|
61
|
-
hoverBorder: string;
|
|
62
|
-
selectBg: string;
|
|
63
|
-
selectText: string;
|
|
64
|
-
disabledText: string;
|
|
65
|
-
fontSize: string;
|
|
66
|
-
lineHeight: string;
|
|
67
|
-
fontWeight: string;
|
|
68
|
-
boldFontWeight: string;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
export declare const WEEK_LABELS: readonly ["일", "월", "화", "수", "목", "금", "토"];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { DATEPICKER_SIZE_MAP, DATEPICKER_COLORS,
|
|
1
|
+
import { DATEPICKER_SIZE_MAP, DATEPICKER_COLORS, type DatePickerSize, type DatePickerSizeTokens } from '../sd-date-picker/sd-date-picker.config';
|
|
2
|
+
import { CALENDAR_LAYOUT, WEEK_LABELS } from '../sd-calendar/sd-calendar.config';
|
|
2
3
|
export { DATEPICKER_SIZE_MAP, DATEPICKER_COLORS, CALENDAR_LAYOUT, WEEK_LABELS };
|
|
3
4
|
export type { DatePickerSize, DatePickerSizeTokens };
|
|
4
5
|
export declare const RANGE_LAYOUT: {
|
|
@@ -108,6 +108,7 @@ export declare class SdTable {
|
|
|
108
108
|
registerUseFrameSync(rowKey: string, field: string): void;
|
|
109
109
|
unregisterUseFrameSync(rowKey: string, field: string): void;
|
|
110
110
|
hasUseFrameInRowSync(rowKey: string): boolean;
|
|
111
|
+
isCellUseFrameSync(rowKey: string, field: string): boolean;
|
|
111
112
|
isRowSelectedSync(row: Row): boolean;
|
|
112
113
|
isRowSelected(row: Row): Promise<boolean>;
|
|
113
114
|
updateRowSelectSync(row: Row): void;
|
|
@@ -137,7 +138,6 @@ export declare class SdTable {
|
|
|
137
138
|
hasRowspanSync(): boolean;
|
|
138
139
|
isCoveredSync(rowKey: string, colIdx: number, columns: SdTableColumn[]): boolean;
|
|
139
140
|
private resolveVisualBottom;
|
|
140
|
-
isVisualLastRowSync(rowKey: string, field: string): boolean;
|
|
141
141
|
registerSeparatorSync(prevRowKey: string): void;
|
|
142
142
|
unregisterSeparatorSync(prevRowKey: string): void;
|
|
143
143
|
isVisualLastRowBeforeSeparatorSync(rowKey: string, field: string): boolean;
|
|
@@ -14,7 +14,7 @@ export declare class SdTd {
|
|
|
14
14
|
handleSpanChange(): void;
|
|
15
15
|
handleSdClassChange(): void;
|
|
16
16
|
handleDividerChange(): void;
|
|
17
|
-
|
|
17
|
+
handleUseFrameChange(): void;
|
|
18
18
|
componentWillLoad(): void;
|
|
19
19
|
componentDidLoad(): void;
|
|
20
20
|
connectedCallback(): void;
|
|
@@ -23,7 +23,7 @@ export declare class SdTd {
|
|
|
23
23
|
private requestParentTrUpdate;
|
|
24
24
|
private syncSpanRegistration;
|
|
25
25
|
private syncCellClassRegistration;
|
|
26
|
-
private
|
|
26
|
+
private syncUseFrameRegistration;
|
|
27
27
|
private syncSlotName;
|
|
28
28
|
render(): any;
|
|
29
29
|
}
|
|
@@ -39,9 +39,8 @@ export declare class SdTr {
|
|
|
39
39
|
private getSpanFor;
|
|
40
40
|
private isCovered;
|
|
41
41
|
private getCellClassFor;
|
|
42
|
+
private getFramePaddingStyle;
|
|
42
43
|
private expandCellClass;
|
|
43
|
-
private isVisualLastRow;
|
|
44
|
-
private isVisualLastRowForSelfRow;
|
|
45
44
|
private isVisualLastRowBeforeSeparator;
|
|
46
45
|
private isVisualLastRowBeforeSeparatorForSelfRow;
|
|
47
46
|
render(): any;
|
|
@@ -12,7 +12,7 @@ import { FieldAddonAlign, FieldSize } from "./components/sd-field/sd-field.confi
|
|
|
12
12
|
import { Rule } from "./types/form";
|
|
13
13
|
import { SdTooltipProps, TooltipType } from "./components/sd-tooltip/sd-tooltip.config";
|
|
14
14
|
import { Event } from "./stencil-public-runtime";
|
|
15
|
-
import {
|
|
15
|
+
import { CalendarEventGroup } from "./components/sd-calendar/sd-calendar.config";
|
|
16
16
|
import { CheckedType } from "./components/sd-checkbox/sd-checkbox";
|
|
17
17
|
import { CircleProgressType } from "./components/sd-circle-progress/sd-circle-progress.config";
|
|
18
18
|
import { ConfirmModalMainButton, ConfirmModalType, TagName } from "./components/sd-confirm-modal/sd-confirm-modal.config";
|
|
@@ -50,7 +50,7 @@ export { FieldAddonAlign, FieldSize } from "./components/sd-field/sd-field.confi
|
|
|
50
50
|
export { Rule } from "./types/form";
|
|
51
51
|
export { SdTooltipProps, TooltipType } from "./components/sd-tooltip/sd-tooltip.config";
|
|
52
52
|
export { Event } from "./stencil-public-runtime";
|
|
53
|
-
export {
|
|
53
|
+
export { CalendarEventGroup } from "./components/sd-calendar/sd-calendar.config";
|
|
54
54
|
export { CheckedType } from "./components/sd-checkbox/sd-checkbox";
|
|
55
55
|
export { CircleProgressType } from "./components/sd-circle-progress/sd-circle-progress.config";
|
|
56
56
|
export { ConfirmModalMainButton, ConfirmModalType, TagName } from "./components/sd-confirm-modal/sd-confirm-modal.config";
|
|
@@ -226,8 +226,7 @@ export namespace Components {
|
|
|
226
226
|
"type": ButtonType;
|
|
227
227
|
}
|
|
228
228
|
interface SdCalendar {
|
|
229
|
-
"
|
|
230
|
-
"events"?: CalendarEvents;
|
|
229
|
+
"events"?: CalendarEventGroup[];
|
|
231
230
|
"selectable"?: [string, string];
|
|
232
231
|
/**
|
|
233
232
|
* @default null
|
|
@@ -468,13 +467,6 @@ export namespace Components {
|
|
|
468
467
|
*/
|
|
469
468
|
"width": string | number;
|
|
470
469
|
}
|
|
471
|
-
interface SdDatePickerCalendar {
|
|
472
|
-
"selectable"?: [string, string];
|
|
473
|
-
/**
|
|
474
|
-
* @default null
|
|
475
|
-
*/
|
|
476
|
-
"value": string | null;
|
|
477
|
-
}
|
|
478
470
|
interface SdDatePickerTrigger {
|
|
479
471
|
/**
|
|
480
472
|
* @default false
|
|
@@ -1968,10 +1960,6 @@ export interface SdDatePickerCustomEvent<T> extends CustomEvent<T> {
|
|
|
1968
1960
|
detail: T;
|
|
1969
1961
|
target: HTMLSdDatePickerElement;
|
|
1970
1962
|
}
|
|
1971
|
-
export interface SdDatePickerCalendarCustomEvent<T> extends CustomEvent<T> {
|
|
1972
|
-
detail: T;
|
|
1973
|
-
target: HTMLSdDatePickerCalendarElement;
|
|
1974
|
-
}
|
|
1975
1963
|
export interface SdDatePickerTriggerCustomEvent<T> extends CustomEvent<T> {
|
|
1976
1964
|
detail: T;
|
|
1977
1965
|
target: HTMLSdDatePickerTriggerElement;
|
|
@@ -2166,7 +2154,7 @@ declare global {
|
|
|
2166
2154
|
new (): HTMLSdButtonElement;
|
|
2167
2155
|
};
|
|
2168
2156
|
interface HTMLSdCalendarElementEventMap {
|
|
2169
|
-
"
|
|
2157
|
+
"sdUpdate": string;
|
|
2170
2158
|
"sdViewChange": { year: number; month: number };
|
|
2171
2159
|
}
|
|
2172
2160
|
interface HTMLSdCalendarElement extends Components.SdCalendar, HTMLStencilElement {
|
|
@@ -2287,24 +2275,6 @@ declare global {
|
|
|
2287
2275
|
prototype: HTMLSdDatePickerElement;
|
|
2288
2276
|
new (): HTMLSdDatePickerElement;
|
|
2289
2277
|
};
|
|
2290
|
-
interface HTMLSdDatePickerCalendarElementEventMap {
|
|
2291
|
-
"sdSelect": string;
|
|
2292
|
-
"sdViewChange": { year: number; month: number };
|
|
2293
|
-
}
|
|
2294
|
-
interface HTMLSdDatePickerCalendarElement extends Components.SdDatePickerCalendar, HTMLStencilElement {
|
|
2295
|
-
addEventListener<K extends keyof HTMLSdDatePickerCalendarElementEventMap>(type: K, listener: (this: HTMLSdDatePickerCalendarElement, ev: SdDatePickerCalendarCustomEvent<HTMLSdDatePickerCalendarElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2296
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2297
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2298
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2299
|
-
removeEventListener<K extends keyof HTMLSdDatePickerCalendarElementEventMap>(type: K, listener: (this: HTMLSdDatePickerCalendarElement, ev: SdDatePickerCalendarCustomEvent<HTMLSdDatePickerCalendarElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2300
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2301
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2302
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2303
|
-
}
|
|
2304
|
-
var HTMLSdDatePickerCalendarElement: {
|
|
2305
|
-
prototype: HTMLSdDatePickerCalendarElement;
|
|
2306
|
-
new (): HTMLSdDatePickerCalendarElement;
|
|
2307
|
-
};
|
|
2308
2278
|
interface HTMLSdDatePickerTriggerElementEventMap {
|
|
2309
2279
|
"sdTriggerClick": void;
|
|
2310
2280
|
}
|
|
@@ -2978,7 +2948,6 @@ declare global {
|
|
|
2978
2948
|
"sd-confirm-modal": HTMLSdConfirmModalElement;
|
|
2979
2949
|
"sd-date-box": HTMLSdDateBoxElement;
|
|
2980
2950
|
"sd-date-picker": HTMLSdDatePickerElement;
|
|
2981
|
-
"sd-date-picker-calendar": HTMLSdDatePickerCalendarElement;
|
|
2982
2951
|
"sd-date-picker-trigger": HTMLSdDatePickerTriggerElement;
|
|
2983
2952
|
"sd-date-range-picker": HTMLSdDateRangePickerElement;
|
|
2984
2953
|
"sd-date-range-picker-calendar": HTMLSdDateRangePickerCalendarElement;
|
|
@@ -3173,9 +3142,8 @@ declare namespace LocalJSX {
|
|
|
3173
3142
|
"type"?: ButtonType;
|
|
3174
3143
|
}
|
|
3175
3144
|
interface SdCalendar {
|
|
3176
|
-
"
|
|
3177
|
-
"
|
|
3178
|
-
"onSdSelect"?: (event: SdCalendarCustomEvent<string>) => void;
|
|
3145
|
+
"events"?: CalendarEventGroup[];
|
|
3146
|
+
"onSdUpdate"?: (event: SdCalendarCustomEvent<string>) => void;
|
|
3179
3147
|
"onSdViewChange"?: (event: SdCalendarCustomEvent<{ year: number; month: number }>) => void;
|
|
3180
3148
|
"selectable"?: [string, string];
|
|
3181
3149
|
/**
|
|
@@ -3423,15 +3391,6 @@ declare namespace LocalJSX {
|
|
|
3423
3391
|
*/
|
|
3424
3392
|
"width"?: string | number;
|
|
3425
3393
|
}
|
|
3426
|
-
interface SdDatePickerCalendar {
|
|
3427
|
-
"onSdSelect"?: (event: SdDatePickerCalendarCustomEvent<string>) => void;
|
|
3428
|
-
"onSdViewChange"?: (event: SdDatePickerCalendarCustomEvent<{ year: number; month: number }>) => void;
|
|
3429
|
-
"selectable"?: [string, string];
|
|
3430
|
-
/**
|
|
3431
|
-
* @default null
|
|
3432
|
-
*/
|
|
3433
|
-
"value"?: string | null;
|
|
3434
|
-
}
|
|
3435
3394
|
interface SdDatePickerTrigger {
|
|
3436
3395
|
/**
|
|
3437
3396
|
* @default false
|
|
@@ -4998,9 +4957,6 @@ declare namespace LocalJSX {
|
|
|
4998
4957
|
"labelTooltip": string;
|
|
4999
4958
|
"name": string;
|
|
5000
4959
|
}
|
|
5001
|
-
interface SdDatePickerCalendarAttributes {
|
|
5002
|
-
"value": string | null;
|
|
5003
|
-
}
|
|
5004
4960
|
interface SdDatePickerTriggerAttributes {
|
|
5005
4961
|
"displayText": string;
|
|
5006
4962
|
"placeholder": string;
|
|
@@ -5419,7 +5375,6 @@ declare namespace LocalJSX {
|
|
|
5419
5375
|
"sd-confirm-modal": Omit<SdConfirmModal, keyof SdConfirmModalAttributes> & { [K in keyof SdConfirmModal & keyof SdConfirmModalAttributes]?: SdConfirmModal[K] } & { [K in keyof SdConfirmModal & keyof SdConfirmModalAttributes as `attr:${K}`]?: SdConfirmModalAttributes[K] } & { [K in keyof SdConfirmModal & keyof SdConfirmModalAttributes as `prop:${K}`]?: SdConfirmModal[K] };
|
|
5420
5376
|
"sd-date-box": Omit<SdDateBox, keyof SdDateBoxAttributes> & { [K in keyof SdDateBox & keyof SdDateBoxAttributes]?: SdDateBox[K] } & { [K in keyof SdDateBox & keyof SdDateBoxAttributes as `attr:${K}`]?: SdDateBoxAttributes[K] } & { [K in keyof SdDateBox & keyof SdDateBoxAttributes as `prop:${K}`]?: SdDateBox[K] };
|
|
5421
5377
|
"sd-date-picker": Omit<SdDatePicker, keyof SdDatePickerAttributes> & { [K in keyof SdDatePicker & keyof SdDatePickerAttributes]?: SdDatePicker[K] } & { [K in keyof SdDatePicker & keyof SdDatePickerAttributes as `attr:${K}`]?: SdDatePickerAttributes[K] } & { [K in keyof SdDatePicker & keyof SdDatePickerAttributes as `prop:${K}`]?: SdDatePicker[K] };
|
|
5422
|
-
"sd-date-picker-calendar": Omit<SdDatePickerCalendar, keyof SdDatePickerCalendarAttributes> & { [K in keyof SdDatePickerCalendar & keyof SdDatePickerCalendarAttributes]?: SdDatePickerCalendar[K] } & { [K in keyof SdDatePickerCalendar & keyof SdDatePickerCalendarAttributes as `attr:${K}`]?: SdDatePickerCalendarAttributes[K] } & { [K in keyof SdDatePickerCalendar & keyof SdDatePickerCalendarAttributes as `prop:${K}`]?: SdDatePickerCalendar[K] };
|
|
5423
5378
|
"sd-date-picker-trigger": Omit<SdDatePickerTrigger, keyof SdDatePickerTriggerAttributes> & { [K in keyof SdDatePickerTrigger & keyof SdDatePickerTriggerAttributes]?: SdDatePickerTrigger[K] } & { [K in keyof SdDatePickerTrigger & keyof SdDatePickerTriggerAttributes as `attr:${K}`]?: SdDatePickerTriggerAttributes[K] } & { [K in keyof SdDatePickerTrigger & keyof SdDatePickerTriggerAttributes as `prop:${K}`]?: SdDatePickerTrigger[K] };
|
|
5424
5379
|
"sd-date-range-picker": Omit<SdDateRangePicker, keyof SdDateRangePickerAttributes> & { [K in keyof SdDateRangePicker & keyof SdDateRangePickerAttributes]?: SdDateRangePicker[K] } & { [K in keyof SdDateRangePicker & keyof SdDateRangePickerAttributes as `attr:${K}`]?: SdDateRangePickerAttributes[K] } & { [K in keyof SdDateRangePicker & keyof SdDateRangePickerAttributes as `prop:${K}`]?: SdDateRangePicker[K] };
|
|
5425
5380
|
"sd-date-range-picker-calendar": Omit<SdDateRangePickerCalendar, keyof SdDateRangePickerCalendarAttributes> & { [K in keyof SdDateRangePickerCalendar & keyof SdDateRangePickerCalendarAttributes]?: SdDateRangePickerCalendar[K] } & { [K in keyof SdDateRangePickerCalendar & keyof SdDateRangePickerCalendarAttributes as `attr:${K}`]?: SdDateRangePickerCalendarAttributes[K] } & { [K in keyof SdDateRangePickerCalendar & keyof SdDateRangePickerCalendarAttributes as `prop:${K}`]?: SdDateRangePickerCalendar[K] };
|
|
@@ -5482,7 +5437,6 @@ declare module "@stencil/core" {
|
|
|
5482
5437
|
"sd-confirm-modal": LocalJSX.IntrinsicElements["sd-confirm-modal"] & JSXBase.HTMLAttributes<HTMLSdConfirmModalElement>;
|
|
5483
5438
|
"sd-date-box": LocalJSX.IntrinsicElements["sd-date-box"] & JSXBase.HTMLAttributes<HTMLSdDateBoxElement>;
|
|
5484
5439
|
"sd-date-picker": LocalJSX.IntrinsicElements["sd-date-picker"] & JSXBase.HTMLAttributes<HTMLSdDatePickerElement>;
|
|
5485
|
-
"sd-date-picker-calendar": LocalJSX.IntrinsicElements["sd-date-picker-calendar"] & JSXBase.HTMLAttributes<HTMLSdDatePickerCalendarElement>;
|
|
5486
5440
|
"sd-date-picker-trigger": LocalJSX.IntrinsicElements["sd-date-picker-trigger"] & JSXBase.HTMLAttributes<HTMLSdDatePickerTriggerElement>;
|
|
5487
5441
|
"sd-date-range-picker": LocalJSX.IntrinsicElements["sd-date-range-picker"] & JSXBase.HTMLAttributes<HTMLSdDateRangePickerElement>;
|
|
5488
5442
|
"sd-date-range-picker-calendar": LocalJSX.IntrinsicElements["sd-date-range-picker-calendar"] & JSXBase.HTMLAttributes<HTMLSdDateRangePickerCalendarElement>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -8,14 +8,15 @@
|
|
|
8
8
|
* to consume components of this package as outlined in the `README.md`.
|
|
9
9
|
*/
|
|
10
10
|
export type * from './components.d.ts';
|
|
11
|
-
export type { SdTableColumn, SdTablePagination, SdTableStickyColumn, SdTableConfig, Row } from './components/sd-table/constants';
|
|
12
|
-
export type { ButtonName, ButtonSize, ButtonType
|
|
11
|
+
export type { SdTableColumn, SdTablePagination, SdTableStickyColumn, SdTableConfig, Row, } from './components/sd-table/constants';
|
|
12
|
+
export type { ButtonName, ButtonSize, ButtonType } from './components/sd-button/sd-button.config';
|
|
13
13
|
export type { DropdownButtonItem, DropdownButtonName, DropdownButtonSize, DropdownButtonValue, } from './components/sd-dropdown-button/sd-dropdown-button.config';
|
|
14
14
|
export type { ToastType } from './components/sd-toast/sd-toast.config';
|
|
15
|
+
export type { CalendarEventGroup } from './components/sd-calendar/sd-calendar.config';
|
|
15
16
|
export type { ToastPosition, ToastNotifyOptions, } from './components/sd-toast-container/sd-toast-container.config';
|
|
16
17
|
export { sdToast } from './utils/toast';
|
|
17
18
|
export type { SdToastGlobalOptions } from './utils/toast';
|
|
18
|
-
export { sdModal, _createSdModalRef, _attachSdModalWithRef
|
|
19
|
+
export { sdModal, _createSdModalRef, _attachSdModalWithRef } from './utils/modal';
|
|
19
20
|
export type { ModalDialogRef, ModalDismissReason, ConfirmModalOptions, SdModalGlobalOptions, SdModalCreateOptions, SdModalCreateOption, } from './utils/modal';
|
|
20
21
|
export { sdLoading } from './utils/loading';
|
|
21
22
|
export type { SdLoadingShowOptions } from './utils/loading';
|