@sellmate/design-system 1.1.0 → 1.2.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.table-B7brIpIQ.js → component.table-CMqGfEui.js} +11 -1
- package/dist/cjs/design-system.cjs.js +2 -2
- package/dist/cjs/{index-BlxrCRYi.js → index-Cw-78mnC.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/sd-action-modal.cjs.entry.js +1 -1
- package/dist/cjs/sd-badge.cjs.entry.js +1 -1
- package/dist/cjs/sd-barcode-input.cjs.entry.js +1 -1
- package/dist/cjs/sd-button_2.cjs.entry.js +10 -9
- package/dist/cjs/sd-calendar.cjs.entry.js +1 -1
- package/dist/cjs/sd-card.cjs.entry.js +1 -1
- package/dist/cjs/sd-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/sd-chip.cjs.entry.js +4 -4
- package/dist/cjs/sd-circle-progress.cjs.entry.js +1 -1
- package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +1 -1
- package/dist/cjs/sd-date-box.cjs.entry.js +8 -3
- package/dist/cjs/sd-date-picker-calendar_2.cjs.entry.js +13 -8
- package/dist/cjs/sd-date-picker_7.cjs.entry.js +22 -17
- package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +13 -13
- package/dist/cjs/sd-dropdown-button.cjs.entry.js +7 -3
- package/dist/cjs/sd-field_3.cjs.entry.js +31 -30
- package/dist/cjs/sd-form.cjs.entry.js +5 -5
- package/dist/cjs/sd-ghost-button.cjs.entry.js +4 -4
- package/dist/cjs/sd-guide.cjs.entry.js +5 -5
- package/dist/cjs/sd-key-value-table.cjs.entry.js +10 -10
- package/dist/cjs/sd-linear-progress.cjs.entry.js +1 -1
- package/dist/cjs/sd-loading-container.cjs.entry.js +1 -1
- package/dist/cjs/sd-modal-container.cjs.entry.js +3 -3
- package/dist/cjs/sd-pagination_4.cjs.entry.js +113 -40
- package/dist/cjs/sd-popover.cjs.entry.js +6 -6
- package/dist/cjs/sd-popup.cjs.entry.js +1 -1
- package/dist/cjs/sd-portal.cjs.entry.js +3 -3
- package/dist/cjs/sd-radio-button.cjs.entry.js +7 -4
- package/dist/cjs/sd-radio.cjs.entry.js +1 -1
- package/dist/cjs/sd-select-list-item_2.cjs.entry.js +15 -11
- package/dist/cjs/sd-select_3.cjs.entry.js +20 -15
- package/dist/cjs/sd-switch.cjs.entry.js +1 -1
- package/dist/cjs/sd-table.cjs.entry.js +170 -47
- package/dist/cjs/{sd-table.config-CDyioyE2.js → sd-table.config-BIpldZtw.js} +13 -2
- package/dist/cjs/sd-tabs.cjs.entry.js +8 -3
- package/dist/cjs/sd-tag.cjs.entry.js +10 -10
- package/dist/cjs/sd-td.cjs.entry.js +52 -10
- package/dist/cjs/sd-text-link.cjs.entry.js +9 -4
- package/dist/cjs/sd-toast-container.cjs.entry.js +2 -2
- package/dist/cjs/sd-toast.cjs.entry.js +3 -3
- package/dist/cjs/sd-toggle.cjs.entry.js +2 -2
- package/dist/cjs/{tooltipArrow-N6nQ1QT-.js → tooltipArrow-BjSFKIUq.js} +1 -1
- package/dist/collection/components/sd-button/sd-button.js +9 -8
- package/dist/collection/components/sd-chip/sd-chip.js +4 -4
- package/dist/collection/components/sd-date-box/sd-date-box.js +7 -2
- package/dist/collection/components/sd-date-picker/sd-date-picker-calendar/sd-date-picker-calendar.js +4 -4
- package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.js +8 -3
- package/dist/collection/components/sd-date-range-picker/sd-date-range-picker-calendar/sd-date-range-picker-calendar.js +12 -12
- package/dist/collection/components/sd-date-range-picker/sd-date-range-picker.js +3 -3
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.config.js +6 -2
- package/dist/collection/components/sd-field/sd-field.js +23 -22
- package/dist/collection/components/sd-file-picker/sd-file-picker.js +7 -2
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +4 -4
- package/dist/collection/components/sd-form/sd-form.js +4 -4
- package/dist/collection/components/sd-ghost-button/sd-ghost-button.js +3 -3
- package/dist/collection/components/sd-guide/sd-guide.js +4 -4
- package/dist/collection/components/sd-input/sd-input.js +3 -3
- package/dist/collection/components/sd-key-value-table/sd-key-value-table.js +8 -8
- package/dist/collection/components/sd-modal-container/sd-modal-container.js +2 -2
- package/dist/collection/components/sd-number-input/sd-number-input.js +6 -6
- package/dist/collection/components/sd-popover/sd-popover.js +4 -4
- package/dist/collection/components/sd-portal/sd-portal.js +2 -2
- package/dist/collection/components/sd-radio-button/sd-radio-button.js +6 -3
- 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 +7 -3
- package/dist/collection/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.js +7 -7
- package/dist/collection/components/sd-select/sd-select-listbox/sd-select-listbox.js +5 -5
- package/dist/collection/components/sd-select/sd-select-trigger/sd-select-trigger.js +9 -4
- package/dist/collection/components/sd-select/sd-select.js +5 -5
- package/dist/collection/components/sd-table/sd-table.config.js +4 -0
- package/dist/collection/components/sd-table/sd-table.css +22 -3
- package/dist/collection/components/sd-table/sd-table.js +197 -50
- package/dist/collection/components/sd-table/sd-table.stories.helpers.js +2 -3
- package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +5 -5
- package/dist/collection/components/sd-table/sd-td/sd-td.js +111 -9
- package/dist/collection/components/sd-table/sd-thead/sd-thead.js +30 -16
- package/dist/collection/components/sd-table/sd-tr/sd-tr.css +20 -1
- package/dist/collection/components/sd-table/sd-tr/sd-tr.js +97 -18
- package/dist/collection/components/sd-tabs/sd-tabs.js +7 -2
- package/dist/collection/components/sd-tag/sd-tag.config.js +3 -3
- package/dist/collection/components/sd-tag/sd-tag.js +6 -3
- package/dist/collection/components/sd-text-link/sd-text-link.js +8 -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/utils/modal.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/p-2wB9cing.js +1 -0
- package/dist/components/p-B-sK7I83.js +1 -0
- package/dist/components/p-B3D43x7F.js +1 -0
- package/dist/components/p-B7mpdnNl.js +1 -0
- package/dist/components/{p-DG45uNxd.js → p-BAcmO7w0.js} +1 -1
- package/dist/components/p-BL0ZcHK8.js +1 -0
- package/dist/components/p-BXCyVrle.js +1 -0
- package/dist/components/p-BY1LGlfc.js +1 -0
- package/dist/components/p-BjkROjjt.js +1 -0
- package/dist/components/p-Bm3W_eBv.js +1 -0
- package/dist/components/p-BnfUIhUj.js +1 -0
- package/dist/components/{p-D5TRyquv.js → p-BorUSgEK.js} +1 -1
- package/dist/components/{p-BfkuCNCI.js → p-BsM-fwYd.js} +1 -1
- package/dist/components/p-C5CH-s6a.js +1 -0
- package/dist/components/p-C7WLft_0.js +1 -0
- package/dist/components/{p-CGBnxqG2.js → p-CK9ciBIR.js} +1 -1
- package/dist/components/{p-BeK8amzx.js → p-CQI40kiY.js} +1 -1
- package/dist/components/{p-Dr1AMbBj.js → p-CRL7TjSB.js} +1 -1
- package/dist/components/p-CdOHomUp.js +1 -0
- package/dist/components/p-Ch5Yu1qd.js +1 -0
- package/dist/components/{p-D8WAP9T3.js → p-Cktiasfd.js} +1 -1
- package/dist/components/p-CsVAx6KV.js +1 -0
- package/dist/components/p-D0Jiw-Zk.js +1 -0
- package/dist/components/p-D5F7wCNo.js +1 -0
- package/dist/components/p-DBFgk0rX.js +1 -0
- package/dist/components/p-DFLCjX1a.js +1 -0
- package/dist/components/p-DL1ac1QS.js +1 -0
- package/dist/components/p-DeQcDHpn.js +1 -0
- package/dist/components/p-DfK4DiDI.js +1 -0
- package/dist/components/p-DhTcn6jX.js +1 -0
- package/dist/components/p-Dl8TIEQu.js +1 -0
- package/dist/components/{p--t9jBTYS.js → p-DyAnn9ea.js} +1 -1
- package/dist/components/p-Jts7ueOa.js +1 -0
- package/dist/components/{p-B1MabGRR.js → p-arZfxxPn.js} +1 -1
- package/dist/components/p-mmdt-WnS.js +1 -0
- package/dist/components/p-nOCYbyW4.js +1 -0
- package/dist/components/{p-MQTl8fGT.js → p-teN3CfOr.js} +1 -1
- package/dist/components/{p-ofkgu5aS.js → p-u8teDaMa.js} +1 -1
- package/dist/components/{p-BPsOJlCP.js → p-wCNRlKLa.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-calendar.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.css +1 -1
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/index.esm.js +1 -1
- package/dist/design-system/{p-b96c694c.entry.js → p-04fdb4b1.entry.js} +1 -1
- package/dist/design-system/p-05611ff7.entry.js +1 -0
- package/dist/design-system/p-0U6dRjlq.js +2 -0
- package/dist/design-system/{p-cd8e4dd6.entry.js → p-0fe603a4.entry.js} +1 -1
- package/dist/design-system/p-100f5887.entry.js +1 -0
- package/dist/design-system/p-18c5ae1a.entry.js +1 -0
- package/dist/design-system/p-1baa05ae.entry.js +1 -0
- package/dist/design-system/p-2a1ef965.entry.js +1 -0
- package/dist/design-system/p-2c63404f.entry.js +1 -0
- package/dist/design-system/{p-feeb0cc5.entry.js → p-435ae69e.entry.js} +1 -1
- package/dist/design-system/{p-cbda9194.entry.js → p-43e97572.entry.js} +1 -1
- package/dist/design-system/{p-e1c0a3c9.entry.js → p-44d05570.entry.js} +1 -1
- package/dist/design-system/{p-328fae12.entry.js → p-501fae20.entry.js} +1 -1
- package/dist/design-system/{p-b6ca4461.entry.js → p-5705e6d6.entry.js} +1 -1
- package/dist/design-system/p-5cbaf1db.entry.js +1 -0
- package/dist/design-system/p-5ed0becf.entry.js +1 -0
- package/dist/design-system/p-5f1c39b8.entry.js +1 -0
- package/dist/design-system/p-66af0ba0.entry.js +1 -0
- package/dist/design-system/{p-a942dfbe.entry.js → p-77690440.entry.js} +1 -1
- package/dist/design-system/p-78cc0289.entry.js +1 -0
- package/dist/design-system/{p-b04b22c6.entry.js → p-790165f8.entry.js} +1 -1
- package/dist/design-system/p-80466582.entry.js +1 -0
- package/dist/design-system/{p-c0f60b00.entry.js → p-857c44e8.entry.js} +1 -1
- package/dist/design-system/{p-4e2953eb.entry.js → p-87c868c3.entry.js} +1 -1
- package/dist/design-system/{p-f60cc7be.entry.js → p-8db7d8f2.entry.js} +1 -1
- package/dist/design-system/{p-18466728.entry.js → p-8ee990bd.entry.js} +1 -1
- package/dist/design-system/p-8f22106e.entry.js +1 -0
- package/dist/design-system/p-BnfUIhUj.js +1 -0
- package/dist/{components/p-CT3dfy3K.js → design-system/p-C29HUShl.js} +1 -1
- package/dist/design-system/p-a6545130.entry.js +1 -0
- package/dist/design-system/p-ae2d45a2.entry.js +1 -0
- package/dist/design-system/{p-f3cfff78.entry.js → p-aeccfb2b.entry.js} +1 -1
- package/dist/design-system/{p-20a50702.entry.js → p-b0aad445.entry.js} +1 -1
- package/dist/design-system/p-b3c144ff.entry.js +1 -0
- package/dist/design-system/{p-b1bb0d72.entry.js → p-caee95b0.entry.js} +1 -1
- package/dist/design-system/p-d30c823e.entry.js +1 -0
- package/dist/design-system/{p-f5576a0d.entry.js → p-d3212544.entry.js} +1 -1
- package/dist/design-system/p-d8c41313.entry.js +1 -0
- package/dist/design-system/{p-7882e388.entry.js → p-de8bb9ba.entry.js} +1 -1
- package/dist/design-system/{p-29ed11e5.entry.js → p-e2334c1c.entry.js} +1 -1
- package/dist/design-system/{p-d78fbe16.entry.js → p-f4d73a0c.entry.js} +1 -1
- package/dist/design-system/p-fc973500.entry.js +1 -0
- package/dist/design-system/p-fe0a5368.entry.js +1 -0
- package/dist/design-system/p-mmdt-WnS.js +1 -0
- package/dist/esm/{component.table-BQ6at17Y.js → component.table-BnfUIhUj.js} +11 -1
- package/dist/esm/design-system.js +3 -3
- package/dist/esm/{index-CLCoul8o.js → index-0U6dRjlq.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/sd-action-modal.entry.js +1 -1
- package/dist/esm/sd-badge.entry.js +1 -1
- package/dist/esm/sd-barcode-input.entry.js +1 -1
- package/dist/esm/sd-button_2.entry.js +10 -9
- package/dist/esm/sd-calendar.entry.js +1 -1
- package/dist/esm/sd-card.entry.js +1 -1
- package/dist/esm/sd-checkbox.entry.js +1 -1
- package/dist/esm/sd-chip.entry.js +4 -4
- package/dist/esm/sd-circle-progress.entry.js +1 -1
- package/dist/esm/sd-confirm-modal_2.entry.js +1 -1
- package/dist/esm/sd-date-box.entry.js +8 -3
- package/dist/esm/sd-date-picker-calendar_2.entry.js +13 -8
- package/dist/esm/sd-date-picker_7.entry.js +22 -17
- package/dist/esm/sd-date-range-picker-calendar.entry.js +13 -13
- package/dist/esm/sd-dropdown-button.entry.js +7 -3
- package/dist/esm/sd-field_3.entry.js +31 -30
- package/dist/esm/sd-form.entry.js +5 -5
- package/dist/esm/sd-ghost-button.entry.js +4 -4
- package/dist/esm/sd-guide.entry.js +5 -5
- package/dist/esm/sd-key-value-table.entry.js +10 -10
- package/dist/esm/sd-linear-progress.entry.js +1 -1
- package/dist/esm/sd-loading-container.entry.js +1 -1
- package/dist/esm/sd-modal-container.entry.js +3 -3
- package/dist/esm/sd-pagination_4.entry.js +113 -40
- package/dist/esm/sd-popover.entry.js +6 -6
- package/dist/esm/sd-popup.entry.js +1 -1
- package/dist/esm/sd-portal.entry.js +3 -3
- package/dist/esm/sd-radio-button.entry.js +7 -4
- package/dist/esm/sd-radio.entry.js +1 -1
- package/dist/esm/sd-select-list-item_2.entry.js +15 -11
- package/dist/esm/sd-select_3.entry.js +20 -15
- package/dist/esm/sd-switch.entry.js +1 -1
- package/dist/esm/{sd-table.config-0Te8GLCI.js → sd-table.config-B-VgXXT7.js} +13 -3
- package/dist/esm/sd-table.entry.js +170 -47
- package/dist/esm/sd-tabs.entry.js +8 -3
- package/dist/esm/sd-tag.entry.js +10 -10
- package/dist/esm/sd-td.entry.js +52 -10
- package/dist/esm/sd-text-link.entry.js +9 -4
- package/dist/esm/sd-toast-container.entry.js +2 -2
- package/dist/esm/sd-toast.entry.js +3 -3
- package/dist/esm/sd-toggle.entry.js +2 -2
- package/dist/esm/{tooltipArrow-Bc-yw2nt.js → tooltipArrow-O5LOsHae.js} +1 -1
- package/dist/types/components/sd-dropdown-button/sd-dropdown-button.config.d.ts +3 -2
- package/dist/types/components/sd-table/constants.d.ts +2 -0
- package/dist/types/components/sd-table/sd-table.config.d.ts +4 -0
- package/dist/types/components/sd-table/sd-table.d.ts +19 -15
- package/dist/types/components/sd-table/sd-td/sd-td.d.ts +6 -0
- package/dist/types/components/sd-table/sd-tr/sd-tr.d.ts +7 -0
- package/dist/types/components/sd-tag/sd-tag.d.ts +1 -0
- package/dist/types/components.d.ts +41 -8
- package/hydrate/index.js +552 -244
- package/hydrate/index.mjs +552 -244
- package/package.json +1 -1
- package/dist/components/p-At6nBeyO.js +0 -1
- package/dist/components/p-B73VhbYi.js +0 -1
- package/dist/components/p-BDQQllAo.js +0 -1
- package/dist/components/p-BDr27lvk.js +0 -1
- package/dist/components/p-BQ6at17Y.js +0 -1
- package/dist/components/p-BW_sBt7X.js +0 -1
- package/dist/components/p-BX3TJuQY.js +0 -1
- package/dist/components/p-Bm_T3qE0.js +0 -1
- package/dist/components/p-BnzK4uU4.js +0 -1
- package/dist/components/p-BqkJ0rZv.js +0 -1
- package/dist/components/p-C4PmGpW8.js +0 -1
- package/dist/components/p-C9CszVFl.js +0 -1
- package/dist/components/p-CGQWERwE.js +0 -1
- package/dist/components/p-CZmKBmKx.js +0 -1
- package/dist/components/p-CnarDyZi.js +0 -1
- package/dist/components/p-Cr2ghUra.js +0 -1
- package/dist/components/p-Cspm6LxP.js +0 -1
- package/dist/components/p-Cx3jXw9J.js +0 -1
- package/dist/components/p-DG-4Ifco.js +0 -1
- package/dist/components/p-DfXAgw0E.js +0 -1
- package/dist/components/p-MMkRcTBd.js +0 -1
- package/dist/components/p-ZstG0XdT.js +0 -1
- package/dist/components/p-h7eBUL4i.js +0 -1
- package/dist/components/p-lyB7zSp-.js +0 -1
- package/dist/components/p-oIM6jNZe.js +0 -1
- package/dist/components/p-oKHZl8yu.js +0 -1
- package/dist/design-system/p-02289728.entry.js +0 -1
- package/dist/design-system/p-17d66d85.entry.js +0 -1
- package/dist/design-system/p-1bb86d69.entry.js +0 -1
- package/dist/design-system/p-21874054.entry.js +0 -1
- package/dist/design-system/p-282cbefa.entry.js +0 -1
- package/dist/design-system/p-35dce399.entry.js +0 -1
- package/dist/design-system/p-39ff56b4.entry.js +0 -1
- package/dist/design-system/p-3cb712a6.entry.js +0 -1
- package/dist/design-system/p-7610153d.entry.js +0 -1
- package/dist/design-system/p-7722ddeb.entry.js +0 -1
- package/dist/design-system/p-7bfa0cf9.entry.js +0 -1
- package/dist/design-system/p-824ecfb5.entry.js +0 -1
- package/dist/design-system/p-9a04b341.entry.js +0 -1
- package/dist/design-system/p-BQ6at17Y.js +0 -1
- package/dist/design-system/p-CGQWERwE.js +0 -1
- package/dist/design-system/p-CLCoul8o.js +0 -2
- package/dist/design-system/p-Dmf0PYdM.js +0 -1
- package/dist/design-system/p-a7a0ca14.entry.js +0 -1
- package/dist/design-system/p-baed13e4.entry.js +0 -1
- package/dist/design-system/p-bd45e65d.entry.js +0 -1
- package/dist/design-system/p-bf4156d8.entry.js +0 -1
- package/dist/design-system/p-c228c2c7.entry.js +0 -1
- package/dist/design-system/p-cf382479.entry.js +0 -1
- package/dist/design-system/p-d0de34fd.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-0U6dRjlq.js';
|
|
2
2
|
|
|
3
3
|
const tab = {
|
|
4
4
|
main: {
|
|
@@ -186,9 +186,14 @@ const SdTabs = class {
|
|
|
186
186
|
};
|
|
187
187
|
}
|
|
188
188
|
render() {
|
|
189
|
-
return (h("div", { key: '
|
|
189
|
+
return (h("div", { key: 'dd4377850ef052d22b6eb790b7766a3521a41c1c', class: this.getContainerClasses(), style: this.buildCssVars() }, this.tabs.map((tab, index) => {
|
|
190
190
|
const badgeName = this.getBadgeName(tab);
|
|
191
|
-
return (h("div", { key: `tab-${index}`,
|
|
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
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
193
|
+
e.preventDefault();
|
|
194
|
+
this.handleTabClick(tab);
|
|
195
|
+
}
|
|
196
|
+
} }, h("span", { "data-label": tab.label, class: "sd-tabs__label" }, tab.label), tab.badge !== undefined && tab.badge !== null && tab.badge !== '' && (h("sd-tag", { name: badgeName, label: tab.badge.toString() }))));
|
|
192
197
|
})));
|
|
193
198
|
}
|
|
194
199
|
static get watchers() { return {
|
package/dist/esm/sd-tag.entry.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-0U6dRjlq.js';
|
|
2
2
|
|
|
3
3
|
const tag = {
|
|
4
4
|
xs: {
|
|
5
5
|
height: "20",
|
|
6
6
|
paddingX: "8",
|
|
7
7
|
gap: "4",
|
|
8
|
-
icon: "12",
|
|
9
8
|
typography: {
|
|
10
9
|
fontSize: "11",
|
|
11
10
|
fontWeight: "500",
|
|
@@ -16,7 +15,6 @@ const tag = {
|
|
|
16
15
|
height: "24",
|
|
17
16
|
paddingX: "8",
|
|
18
17
|
gap: "4",
|
|
19
|
-
icon: "16",
|
|
20
18
|
typography: {
|
|
21
19
|
fontSize: "12",
|
|
22
20
|
fontWeight: "700",
|
|
@@ -28,7 +26,6 @@ const tag = {
|
|
|
28
26
|
height: "28",
|
|
29
27
|
paddingX: "12",
|
|
30
28
|
gap: "6",
|
|
31
|
-
icon: "16",
|
|
32
29
|
typography: {
|
|
33
30
|
fontSize: "14",
|
|
34
31
|
fontWeight: "700",
|
|
@@ -134,7 +131,7 @@ const SQUARE_SIZE_CONFIG = {
|
|
|
134
131
|
fontSize: `${tagTokens.tag.xs.typography.fontSize}px`,
|
|
135
132
|
fontWeight: tagTokens.tag.xs.typography.fontWeight,
|
|
136
133
|
lineHeight: `${tagTokens.tag.xs.typography.lineHeight}px`,
|
|
137
|
-
iconSize:
|
|
134
|
+
iconSize: 12,
|
|
138
135
|
radius: `${tagTokens.tag.xs.radius}px`,
|
|
139
136
|
},
|
|
140
137
|
sm: {
|
|
@@ -144,7 +141,7 @@ const SQUARE_SIZE_CONFIG = {
|
|
|
144
141
|
fontSize: `${tagTokens.tag.sm.typography.fontSize}px`,
|
|
145
142
|
fontWeight: tagTokens.tag.sm.typography.fontWeight,
|
|
146
143
|
lineHeight: `${tagTokens.tag.sm.typography.lineHeight}px`,
|
|
147
|
-
iconSize:
|
|
144
|
+
iconSize: 16,
|
|
148
145
|
radius: `${tagTokens.tag.sm.radius}px`,
|
|
149
146
|
},
|
|
150
147
|
md: {
|
|
@@ -154,7 +151,7 @@ const SQUARE_SIZE_CONFIG = {
|
|
|
154
151
|
fontSize: `${tagTokens.tag.md.typography.fontSize}px`,
|
|
155
152
|
fontWeight: tagTokens.tag.md.typography.fontWeight,
|
|
156
153
|
lineHeight: `${tagTokens.tag.md.typography.lineHeight}px`,
|
|
157
|
-
iconSize:
|
|
154
|
+
iconSize: 16,
|
|
158
155
|
radius: `${tagTokens.tag.md.radius}px`,
|
|
159
156
|
},
|
|
160
157
|
};
|
|
@@ -188,6 +185,9 @@ const SdTag = class {
|
|
|
188
185
|
label = '';
|
|
189
186
|
icon;
|
|
190
187
|
isLeft = true;
|
|
188
|
+
componentWillLoad() {
|
|
189
|
+
this.name = this.name ?? 'square_sm_grey';
|
|
190
|
+
}
|
|
191
191
|
get resolvedName() {
|
|
192
192
|
if (!isTagName(this.name)) {
|
|
193
193
|
throw new Error(`Invalid sd-tag name: "${this.name}"`);
|
|
@@ -198,14 +198,14 @@ const SdTag = class {
|
|
|
198
198
|
return TAG_CONFIG[this.resolvedName];
|
|
199
199
|
}
|
|
200
200
|
renderIcon(color, size) {
|
|
201
|
-
if (
|
|
201
|
+
if (this.icon == null)
|
|
202
202
|
return null;
|
|
203
203
|
return h("sd-icon", { class: "sd-tag__icon", name: this.icon, size: size, color: color });
|
|
204
204
|
}
|
|
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: 'bcf16350c162da2907ddf4ac53924d016a2457dd', 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: '248f9d8df1ff10af3c533580203cac1f816d8000', 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, a as getElement, f as forceUpdate, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, a as getElement, f as forceUpdate, h, H as Host } from './index-0U6dRjlq.js';
|
|
2
2
|
import { T as TABLE_ID_ATTR } from './constants-sZMi_32I.js';
|
|
3
3
|
|
|
4
4
|
const sdTdCss = () => `sd-td *{box-sizing:border-box}sd-td{display:contents}sd-td.align-left{text-align:left}sd-td.align-center{text-align:center}sd-td.align-right{text-align:right}`;
|
|
@@ -17,6 +17,10 @@ const SdTd = class {
|
|
|
17
17
|
// <sd-td> 호스트는 display:contents라 호스트의 class는 시각 효과가 없기 때문에,
|
|
18
18
|
// 이 prop을 통해 sd-table 레지스트리에 등록 → sd-tr가 td 렌더 시 합쳐 사용한다.
|
|
19
19
|
sdClass;
|
|
20
|
+
dividerLeft = false;
|
|
21
|
+
dividerRight = false;
|
|
22
|
+
// true이면 이 셀이 속한 행 전체가 dense를 무시하고 default 레이아웃으로 동작한다.
|
|
23
|
+
useFrame = false;
|
|
20
24
|
handleFieldChange(_newField, oldField) {
|
|
21
25
|
this.syncSlotName();
|
|
22
26
|
this.syncSpanRegistration();
|
|
@@ -33,10 +37,18 @@ const SdTd = class {
|
|
|
33
37
|
handleSdClassChange() {
|
|
34
38
|
this.syncCellClassRegistration();
|
|
35
39
|
}
|
|
40
|
+
handleDividerChange() {
|
|
41
|
+
this.syncCellClassRegistration();
|
|
42
|
+
}
|
|
43
|
+
handleUseFieldChange() {
|
|
44
|
+
this.syncUseFieldRegistration();
|
|
45
|
+
this.requestParentTrUpdate();
|
|
46
|
+
}
|
|
36
47
|
componentWillLoad() {
|
|
37
48
|
this.syncSlotName();
|
|
38
49
|
this.syncSpanRegistration();
|
|
39
50
|
this.syncCellClassRegistration();
|
|
51
|
+
this.syncUseFieldRegistration();
|
|
40
52
|
// slot 타이밍 엇갈림 대응: 부모 sd-tr forceUpdate로 슬롯 재매칭
|
|
41
53
|
const parentTr = this.el.parentElement;
|
|
42
54
|
if (parentTr?.tagName?.toLowerCase() === 'sd-tr') {
|
|
@@ -47,6 +59,7 @@ const SdTd = class {
|
|
|
47
59
|
this.syncSlotName();
|
|
48
60
|
this.syncSpanRegistration();
|
|
49
61
|
this.syncCellClassRegistration();
|
|
62
|
+
this.syncUseFieldRegistration();
|
|
50
63
|
}
|
|
51
64
|
// React StrictMode에서는 disconnect/reconnect 사이클이 일어나면서
|
|
52
65
|
// 동일 인스턴스의 componentWillLoad는 더 이상 호출되지 않는다.
|
|
@@ -54,12 +67,14 @@ const SdTd = class {
|
|
|
54
67
|
connectedCallback() {
|
|
55
68
|
this.syncSpanRegistration();
|
|
56
69
|
this.syncCellClassRegistration();
|
|
70
|
+
this.syncUseFieldRegistration();
|
|
57
71
|
}
|
|
58
72
|
disconnectedCallback() {
|
|
59
73
|
const table = this.findTable();
|
|
60
|
-
if (table && this.field && this.rowKey != null) {
|
|
74
|
+
if (table != null && this.field !== '' && this.rowKey != null) {
|
|
61
75
|
table.unregisterSpanSync?.(String(this.rowKey), this.field);
|
|
62
76
|
table.unregisterCellClassSync?.(String(this.rowKey), this.field);
|
|
77
|
+
table.unregisterUseFrameSync?.(String(this.rowKey), this.field);
|
|
63
78
|
this.requestParentTrUpdate();
|
|
64
79
|
}
|
|
65
80
|
}
|
|
@@ -80,7 +95,7 @@ const SdTd = class {
|
|
|
80
95
|
}
|
|
81
96
|
syncSpanRegistration() {
|
|
82
97
|
const table = this.findTable();
|
|
83
|
-
if (
|
|
98
|
+
if (table?.registerSpanSync == null || this.field === '' || this.rowKey == null)
|
|
84
99
|
return;
|
|
85
100
|
const rs = Math.max(1, Math.floor(Number(this.rowspan) || 1));
|
|
86
101
|
const cs = Math.max(1, Math.floor(Number(this.colspan) || 1));
|
|
@@ -94,27 +109,45 @@ const SdTd = class {
|
|
|
94
109
|
return;
|
|
95
110
|
const oldField = prevField ?? this.field;
|
|
96
111
|
const oldRowKey = prevRowKey ?? (this.rowKey != null ? String(this.rowKey) : undefined);
|
|
97
|
-
if (oldField && oldRowKey != null) {
|
|
112
|
+
if (oldField !== '' && oldRowKey != null) {
|
|
98
113
|
table.unregisterCellClassSync?.(oldRowKey, oldField);
|
|
99
114
|
}
|
|
100
|
-
if (!table.registerCellClassSync ||
|
|
115
|
+
if (!table.registerCellClassSync || this.field === '' || this.rowKey == null)
|
|
101
116
|
return;
|
|
102
|
-
|
|
117
|
+
const combinedClass = [
|
|
118
|
+
this.sdClass,
|
|
119
|
+
this.dividerLeft && 'td--divider-left',
|
|
120
|
+
this.dividerRight && 'td--divider-right',
|
|
121
|
+
]
|
|
122
|
+
.filter(Boolean)
|
|
123
|
+
.join(' ') || undefined;
|
|
124
|
+
table.registerCellClassSync(String(this.rowKey), this.field, combinedClass);
|
|
103
125
|
this.requestParentTrUpdate();
|
|
104
126
|
}
|
|
127
|
+
syncUseFieldRegistration() {
|
|
128
|
+
const table = this.findTable();
|
|
129
|
+
if (!table || this.field === '' || this.rowKey == null)
|
|
130
|
+
return;
|
|
131
|
+
if (this.useFrame) {
|
|
132
|
+
table.registerUseFrameSync?.(String(this.rowKey), this.field);
|
|
133
|
+
}
|
|
134
|
+
else {
|
|
135
|
+
table.unregisterUseFrameSync?.(String(this.rowKey), this.field);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
105
138
|
syncSlotName() {
|
|
106
139
|
const table = this.el.closest('sd-table');
|
|
107
140
|
const fromMethod = table?.getTableIdSync?.();
|
|
108
141
|
const fromAttr = table?.getAttribute(TABLE_ID_ATTR);
|
|
109
|
-
const tableId = (fromMethod && fromMethod !== 'undefined' ? fromMethod : null) ??
|
|
110
|
-
(fromAttr && fromAttr !== 'undefined' ? fromAttr : null) ??
|
|
142
|
+
const tableId = (fromMethod != null && fromMethod !== '' && fromMethod !== 'undefined' ? fromMethod : null) ??
|
|
143
|
+
(fromAttr != null && fromAttr !== '' && fromAttr !== 'undefined' ? fromAttr : null) ??
|
|
111
144
|
'';
|
|
112
|
-
if (this.field && this.rowKey !== undefined && tableId) {
|
|
145
|
+
if (this.field !== '' && this.rowKey !== undefined && tableId !== '') {
|
|
113
146
|
this.el.setAttribute('slot', `${tableId}-${this.field}-${this.rowKey}`);
|
|
114
147
|
}
|
|
115
148
|
}
|
|
116
149
|
render() {
|
|
117
|
-
return (h(Host, { key: '
|
|
150
|
+
return (h(Host, { key: 'ececfaf265a550ee38c5c2cc2ddd2875352deb10', class: { [`align-${this.align}`]: Boolean(this.align) } }, h("slot", { key: 'c4a43f9affc1938d882e63e91ac90d570efffa37' })));
|
|
118
151
|
}
|
|
119
152
|
static get watchers() { return {
|
|
120
153
|
"field": [{
|
|
@@ -131,6 +164,15 @@ const SdTd = class {
|
|
|
131
164
|
}],
|
|
132
165
|
"sdClass": [{
|
|
133
166
|
"handleSdClassChange": 0
|
|
167
|
+
}],
|
|
168
|
+
"dividerLeft": [{
|
|
169
|
+
"handleDividerChange": 0
|
|
170
|
+
}],
|
|
171
|
+
"dividerRight": [{
|
|
172
|
+
"handleDividerChange": 0
|
|
173
|
+
}],
|
|
174
|
+
"useFrame": [{
|
|
175
|
+
"handleUseFieldChange": 0
|
|
134
176
|
}]
|
|
135
177
|
}; }
|
|
136
178
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-0U6dRjlq.js';
|
|
2
2
|
|
|
3
3
|
const textLink = {
|
|
4
4
|
gap: "4",
|
|
@@ -74,16 +74,21 @@ 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: '284a073ec6aca3ad91bffe084c3b84813df58772', role: "button", tabindex: this.disabled ? -1 : 0, class: {
|
|
78
78
|
'sd-text-link': true,
|
|
79
79
|
'sd-text-link--disabled': this.disabled,
|
|
80
|
-
}, style: cssVars, onClick: this.handleClick
|
|
80
|
+
}, style: cssVars, onClick: this.handleClick, onKeyDown: e => {
|
|
81
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
82
|
+
e.preventDefault();
|
|
83
|
+
this.handleClick();
|
|
84
|
+
}
|
|
85
|
+
} }, this.icon && (h("sd-icon", { key: '1e2021703a766769aa647f418fb4b287039d58a5', name: this.icon, size: TEXT_LINK_LAYOUT.iconSize, color: iconColor, class: "sd-text-link__icon" })), h("span", { key: 'a25f207b8bf5bc2c221f0b370159b61ba2f27040', class: labelClassName }, this.label), this.useArrow && (h("span", { key: 'f273671ee796224bada0d2d27fc58ff893c433e7', class: "sd-text-link__arrow", style: {
|
|
81
86
|
width: `${TEXT_LINK_LAYOUT.arrowFrame}px`,
|
|
82
87
|
height: `${TEXT_LINK_LAYOUT.arrowFrame}px`,
|
|
83
88
|
display: 'inline-flex',
|
|
84
89
|
alignItems: 'center',
|
|
85
90
|
justifyContent: 'center',
|
|
86
|
-
} }, h("sd-icon", { key: '
|
|
91
|
+
} }, h("sd-icon", { key: '2e499bf0c1cd57d1ffb90999daa1c38d0cf43df8', name: "chevronRight", size: TEXT_LINK_LAYOUT.arrowIconSize, color: arrowColor })))));
|
|
87
92
|
}
|
|
88
93
|
};
|
|
89
94
|
SdTextLink.style = sdTextLinkCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, a as getElement, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, a as getElement, h } from './index-0U6dRjlq.js';
|
|
2
2
|
|
|
3
3
|
const DEFAULT_DURATION = 4000;
|
|
4
4
|
const DEFAULT_MAX_VISIBLE = 3;
|
|
@@ -232,7 +232,7 @@ const SdToastContainer = class {
|
|
|
232
232
|
const activeToasts = toasts.filter(t => t.state !== 'exiting').reverse();
|
|
233
233
|
const indexMap = new Map();
|
|
234
234
|
activeToasts.forEach((t, i) => indexMap.set(t.id, i));
|
|
235
|
-
return (h("div", { key: '
|
|
235
|
+
return (h("div", { key: '4cf4413f350c2a1adc475c567d874252b1786e91', class: "sd-toast-container", style: this.getContainerStyles(), onMouseEnter: () => {
|
|
236
236
|
this.expanded = true;
|
|
237
237
|
this.pauseTimers();
|
|
238
238
|
}, onMouseLeave: () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-0U6dRjlq.js';
|
|
2
2
|
|
|
3
3
|
const toast = {
|
|
4
4
|
icon: "16",
|
|
@@ -82,12 +82,12 @@ const SdToast = class {
|
|
|
82
82
|
const linkColor = typeConfig.linkColor ?? typeConfig.content;
|
|
83
83
|
const useDefaultCloseIntent = ['default', 'caution', 'info'].includes(this.type);
|
|
84
84
|
const buttonName = TOAST_BUTTON_NAME_BY_TYPE[this.type] ?? TOAST_BUTTON_NAME_BY_TYPE.default;
|
|
85
|
-
return (h("div", { key: '
|
|
85
|
+
return (h("div", { key: 'edab2d1d8ac8222a988d38279f1a002281454f51', 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: '8dd98dd58cdf003ce031e5ae96b749a037333ce1', class: "sd-toast", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.icon && (h("div", { key: '2b78cbc4fe96cc00d444fb49956da1fe245993ef', class: "sd-toast__icon" }, h("sd-icon", { key: '679852c9a19046ce1d2c9a0cdb4346f6e23c77fb', name: this.icon, size: iconSize, color: iconColor }))), h("div", { key: '2798bd2392e9fc3c4c0375d894572da13d3d7e25', class: "sd-toast__content" }, h("span", { key: '76ab798742baa63b21bda60867cbeb5aa20f7957', class: "sd-toast__message" }, this.message)), this.link && (h("a", { key: '6eb61ca5737f9af06ad63cfcef671e46ecc8de47', href: this.link, class: "sd-toast__link", target: "_blank", rel: "noopener noreferrer" }, this.linkLabel || this.link)), this.buttonLabel && (h("sd-button", { key: '6c1ad7d494c7cc218b1058fec1ed3e42af0c83fc', class: "sd-toast__button", name: buttonName, label: this.buttonLabel, onSdClick: (event) => this.buttonClick.emit(event.detail) })), this.useClose && (h("sd-ghost-button", { key: '32dd9adcc951a3a852bf20540376bd4d7ced7526', class: "sd-toast__close", icon: "close", intent: useDefaultCloseIntent ? 'default' : 'inverse', ariaLabel: "close", size: "xs", onClick: () => this.close.emit() })))));
|
|
91
91
|
}
|
|
92
92
|
};
|
|
93
93
|
SdToast.style = sdToastCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-0U6dRjlq.js';
|
|
2
2
|
|
|
3
3
|
const toggle = {
|
|
4
4
|
height: "28",
|
|
@@ -118,7 +118,7 @@ const SdToggle = class {
|
|
|
118
118
|
'--sd-toggle-content-select': TOGGLE_COLORS.content.select,
|
|
119
119
|
'--sd-toggle-content-disabled': TOGGLE_COLORS.content.disabled,
|
|
120
120
|
};
|
|
121
|
-
return (h("label", { key: '
|
|
121
|
+
return (h("label", { key: '0b8273ed8f8efae70de32b92671bbd1353e877dc', class: this.toggleClasses, style: cssVars, "aria-label": this.label || 'toggle' }, this.label, h("input", { key: '2ec9909142463f8ba556ad885cb7f97bedad6b31', style: { display: 'none' }, type: "checkbox", onInput: this.handleChange })));
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
124
|
SdToggle.style = sdToggleCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h } from './index-
|
|
1
|
+
import { h } from './index-0U6dRjlq.js';
|
|
2
2
|
|
|
3
3
|
const TooltipArrow = (props) => (h("svg", { width: "16", height: "12", viewBox: "0 0 16 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, h("path", { d: "M8.83205 10.7519C8.43623 11.3457 7.56377 11.3457 7.16795 10.7519L1.04907e-06 -1.39876e-06L16 0L8.83205 10.7519Z", fill: "currentColor" })));
|
|
4
4
|
|
|
@@ -10,11 +10,12 @@ export type DropdownButtonSize = 'xs' | 'sm' | 'md';
|
|
|
10
10
|
type UnsupportedDropdownButtonName = `${string}_lg`;
|
|
11
11
|
export type DropdownButtonName = Exclude<ButtonName, UnsupportedDropdownButtonName>;
|
|
12
12
|
export type DropdownButtonPreset = ButtonPreset;
|
|
13
|
-
|
|
14
|
-
variant:
|
|
13
|
+
type DropdownButtonConfigMap = Record<DropdownButtonName, {
|
|
14
|
+
variant: 'primary' | 'outline';
|
|
15
15
|
size: DropdownButtonSize;
|
|
16
16
|
color: string;
|
|
17
17
|
}>;
|
|
18
|
+
export declare const DROPDOWN_BUTTON_CONFIG: DropdownButtonConfigMap;
|
|
18
19
|
export declare const PRESET_HOVER_BACKGROUNDS: {
|
|
19
20
|
readonly primary: string;
|
|
20
21
|
readonly secondary: string;
|
|
@@ -6,6 +6,7 @@ export interface SdTableColumn {
|
|
|
6
6
|
field: string | ((row: any) => any);
|
|
7
7
|
align?: 'left' | 'center' | 'right';
|
|
8
8
|
width?: string;
|
|
9
|
+
autoWidth?: boolean;
|
|
9
10
|
format?: (value: any, row: any) => string;
|
|
10
11
|
visible?: boolean;
|
|
11
12
|
icon?: IconName;
|
|
@@ -44,4 +45,5 @@ export interface SdTableConfig {
|
|
|
44
45
|
scrolledLeft: boolean;
|
|
45
46
|
scrolledRight: boolean;
|
|
46
47
|
columnWidths: number[];
|
|
48
|
+
dense: boolean;
|
|
47
49
|
}
|
|
@@ -41,6 +41,10 @@ export declare const TABLE_BORDER: {
|
|
|
41
41
|
color: string;
|
|
42
42
|
width: string;
|
|
43
43
|
};
|
|
44
|
+
export declare const TABLE_SEPARATOR: {
|
|
45
|
+
color: string;
|
|
46
|
+
width: string;
|
|
47
|
+
};
|
|
44
48
|
export declare const TABLE_RADIUS: string;
|
|
45
49
|
export declare const TABLE_CONTENT: {
|
|
46
50
|
gap: string;
|
|
@@ -22,8 +22,10 @@ export declare class SdTable {
|
|
|
22
22
|
pagination?: SdTablePagination;
|
|
23
23
|
useInternalPagination: boolean;
|
|
24
24
|
useRowsPerPageSelect: boolean;
|
|
25
|
+
dense: boolean;
|
|
25
26
|
useVirtualScroll: boolean;
|
|
26
|
-
rowHeight
|
|
27
|
+
rowHeight?: number;
|
|
28
|
+
private get effectiveRowHeight();
|
|
27
29
|
virtualBuffer: number;
|
|
28
30
|
virtualEndThreshold: number;
|
|
29
31
|
rowsPerPageOption: SelectOption[];
|
|
@@ -48,15 +50,20 @@ export declare class SdTable {
|
|
|
48
50
|
scrolledRight: boolean;
|
|
49
51
|
rowCount: number;
|
|
50
52
|
loadingScrollTop: number;
|
|
53
|
+
noDataBodyHeight: number;
|
|
51
54
|
autoThead: boolean;
|
|
52
55
|
autoTbody: boolean;
|
|
53
56
|
private vsStart;
|
|
54
57
|
private vsEnd;
|
|
55
58
|
private lastReachEndNotifiedRowCount;
|
|
56
59
|
private scrollContainer;
|
|
60
|
+
private noDataContentEl;
|
|
61
|
+
private noDataContentResizeObserver?;
|
|
57
62
|
private onScroll?;
|
|
58
63
|
private spanRegistry;
|
|
64
|
+
private useFrameRegistry;
|
|
59
65
|
private cellClassRegistry;
|
|
66
|
+
private separatorPrevIndices;
|
|
60
67
|
private rowIndexMap;
|
|
61
68
|
private rebuildRowIndexMap;
|
|
62
69
|
private resolveRowIndex;
|
|
@@ -79,6 +86,8 @@ export declare class SdTable {
|
|
|
79
86
|
componentWillLoad(): void;
|
|
80
87
|
componentDidLoad(): void;
|
|
81
88
|
disconnectedCallback(): void;
|
|
89
|
+
private syncNoDataContentObserver;
|
|
90
|
+
private observeNoDataContentHeight;
|
|
82
91
|
private queryChildEl;
|
|
83
92
|
private queryAllTr;
|
|
84
93
|
private pushRowsToChildren;
|
|
@@ -96,6 +105,9 @@ export declare class SdTable {
|
|
|
96
105
|
rowCount: number;
|
|
97
106
|
};
|
|
98
107
|
getConfigSync(): SdTableConfig;
|
|
108
|
+
registerUseFrameSync(rowKey: string, field: string): void;
|
|
109
|
+
unregisterUseFrameSync(rowKey: string, field: string): void;
|
|
110
|
+
hasUseFrameInRowSync(rowKey: string): boolean;
|
|
99
111
|
isRowSelectedSync(row: Row): boolean;
|
|
100
112
|
isRowSelected(row: Row): Promise<boolean>;
|
|
101
113
|
updateRowSelectSync(row: Row): void;
|
|
@@ -109,20 +121,8 @@ export declare class SdTable {
|
|
|
109
121
|
private changeRowsPerPage;
|
|
110
122
|
private get lastPageNumber();
|
|
111
123
|
handleResize(index: number, event: MouseEvent, reversed?: boolean): void;
|
|
112
|
-
getStickyStyleSync(colIdx: number):
|
|
113
|
-
|
|
114
|
-
'--sticky-right-offset': string;
|
|
115
|
-
width: string;
|
|
116
|
-
minWidth: string;
|
|
117
|
-
maxWidth: string;
|
|
118
|
-
};
|
|
119
|
-
getStickyStyle(colIdx: number): Promise<{
|
|
120
|
-
'--sticky-left-offset': string;
|
|
121
|
-
'--sticky-right-offset': string;
|
|
122
|
-
width: string;
|
|
123
|
-
minWidth: string;
|
|
124
|
-
maxWidth: string;
|
|
125
|
-
}>;
|
|
124
|
+
getStickyStyleSync(colIdx: number): Record<string, string>;
|
|
125
|
+
getStickyStyle(colIdx: number): Promise<Record<string, string>>;
|
|
126
126
|
private spanKey;
|
|
127
127
|
private requestAllTrUpdate;
|
|
128
128
|
registerSpanSync(rowKey: string, field: string, rowspan: number, colspan: number): void;
|
|
@@ -136,7 +136,11 @@ export declare class SdTable {
|
|
|
136
136
|
getCellClassSync(rowKey: string, field: string): string | undefined;
|
|
137
137
|
hasRowspanSync(): boolean;
|
|
138
138
|
isCoveredSync(rowKey: string, colIdx: number, columns: SdTableColumn[]): boolean;
|
|
139
|
+
private resolveVisualBottom;
|
|
139
140
|
isVisualLastRowSync(rowKey: string, field: string): boolean;
|
|
141
|
+
registerSeparatorSync(prevRowKey: string): void;
|
|
142
|
+
unregisterSeparatorSync(prevRowKey: string): void;
|
|
143
|
+
isVisualLastRowBeforeSeparatorSync(rowKey: string, field: string): boolean;
|
|
140
144
|
setRowCountSync(count: number): void;
|
|
141
145
|
setRowCount(count: number): Promise<void>;
|
|
142
146
|
calculateVisibleRange(scrollTop: number, containerHeight: number): {
|
|
@@ -6,10 +6,15 @@ export declare class SdTd {
|
|
|
6
6
|
rowspan?: number;
|
|
7
7
|
colspan?: number;
|
|
8
8
|
sdClass?: string;
|
|
9
|
+
dividerLeft: boolean;
|
|
10
|
+
dividerRight: boolean;
|
|
11
|
+
useFrame: boolean;
|
|
9
12
|
handleFieldChange(_newField: string, oldField: string): void;
|
|
10
13
|
handleRowKeyChange(_newKey: string, oldKey: string): void;
|
|
11
14
|
handleSpanChange(): void;
|
|
12
15
|
handleSdClassChange(): void;
|
|
16
|
+
handleDividerChange(): void;
|
|
17
|
+
handleUseFieldChange(): void;
|
|
13
18
|
componentWillLoad(): void;
|
|
14
19
|
componentDidLoad(): void;
|
|
15
20
|
connectedCallback(): void;
|
|
@@ -18,6 +23,7 @@ export declare class SdTd {
|
|
|
18
23
|
private requestParentTrUpdate;
|
|
19
24
|
private syncSpanRegistration;
|
|
20
25
|
private syncCellClassRegistration;
|
|
26
|
+
private syncUseFieldRegistration;
|
|
21
27
|
private syncSlotName;
|
|
22
28
|
render(): any;
|
|
23
29
|
}
|
|
@@ -6,6 +6,7 @@ export declare class SdTr {
|
|
|
6
6
|
stickyColumn?: SdTableStickyColumn;
|
|
7
7
|
rowKey: string;
|
|
8
8
|
row: Row;
|
|
9
|
+
separator?: boolean;
|
|
9
10
|
tableId: string;
|
|
10
11
|
columnWidths: number[];
|
|
11
12
|
isVisible: boolean;
|
|
@@ -15,9 +16,12 @@ export declare class SdTr {
|
|
|
15
16
|
private _stickyColumn;
|
|
16
17
|
private _scrolledLeft;
|
|
17
18
|
private _scrolledRight;
|
|
19
|
+
private _dense;
|
|
18
20
|
private tableEl;
|
|
21
|
+
private _prevRowKey;
|
|
19
22
|
componentWillLoad(): void;
|
|
20
23
|
componentDidLoad(): void;
|
|
24
|
+
disconnectedCallback(): void;
|
|
21
25
|
private syncTableContext;
|
|
22
26
|
private resolveConfig;
|
|
23
27
|
refreshConfig(): Promise<void>;
|
|
@@ -35,7 +39,10 @@ export declare class SdTr {
|
|
|
35
39
|
private getSpanFor;
|
|
36
40
|
private isCovered;
|
|
37
41
|
private getCellClassFor;
|
|
42
|
+
private expandCellClass;
|
|
38
43
|
private isVisualLastRow;
|
|
39
44
|
private isVisualLastRowForSelfRow;
|
|
45
|
+
private isVisualLastRowBeforeSeparator;
|
|
46
|
+
private isVisualLastRowBeforeSeparatorForSelfRow;
|
|
40
47
|
render(): any;
|
|
41
48
|
}
|