@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, F as Fragment } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-0U6dRjlq.js';
|
|
2
2
|
import { u as useDatePicker, t as today } from './useDatePicker-DTrMR0rx.js';
|
|
3
3
|
import { d as datepickerTokens, W as WEEK_LABELS, C as CALENDAR_LAYOUT } from './sd-date-picker.config-B6cqMQaM.js';
|
|
4
4
|
|
|
@@ -137,12 +137,12 @@ const SdDateRangePickerCalendar = class {
|
|
|
137
137
|
isDisabled(date) {
|
|
138
138
|
if (this.selectable) {
|
|
139
139
|
const [start, end] = this.selectable;
|
|
140
|
-
if (start && date < start)
|
|
140
|
+
if (start != null && start !== '' && date < start)
|
|
141
141
|
return true;
|
|
142
|
-
if (end && date > end)
|
|
142
|
+
if (end != null && end !== '' && date > end)
|
|
143
143
|
return true;
|
|
144
144
|
}
|
|
145
|
-
if (this.maxRange && this.pendingStart) {
|
|
145
|
+
if (this.maxRange != null && this.maxRange > 0 && this.pendingStart !== '') {
|
|
146
146
|
const min = addDays(this.pendingStart, -this.maxRange);
|
|
147
147
|
const max = addDays(this.pendingStart, this.maxRange);
|
|
148
148
|
if (date < min || date > max)
|
|
@@ -155,8 +155,8 @@ const SdDateRangePickerCalendar = class {
|
|
|
155
155
|
return;
|
|
156
156
|
if (this.isDisabled(cell.date))
|
|
157
157
|
return;
|
|
158
|
-
const hasCompleteRange =
|
|
159
|
-
if (
|
|
158
|
+
const hasCompleteRange = this.displayValue != null && this.displayValue[0] !== '' && this.displayValue[1] !== '';
|
|
159
|
+
if (this.pendingStart === '' || hasCompleteRange || cell.date < this.pendingStart) {
|
|
160
160
|
this.pendingStart = cell.date;
|
|
161
161
|
this.displayValue = null;
|
|
162
162
|
this.hoverDate = '';
|
|
@@ -171,7 +171,7 @@ const SdDateRangePickerCalendar = class {
|
|
|
171
171
|
handleDayHover(cell) {
|
|
172
172
|
if (!cell.inCurrentMonth)
|
|
173
173
|
return;
|
|
174
|
-
if (this.pendingStart) {
|
|
174
|
+
if (this.pendingStart !== '') {
|
|
175
175
|
this.hoverDate = cell.date;
|
|
176
176
|
}
|
|
177
177
|
}
|
|
@@ -179,18 +179,18 @@ const SdDateRangePickerCalendar = class {
|
|
|
179
179
|
if (!inCurrentMonth) {
|
|
180
180
|
return { inRange: false, isRangeStart: false, isRangeEnd: false, isSelectedEdge: false };
|
|
181
181
|
}
|
|
182
|
-
if (this.pendingStart) {
|
|
182
|
+
if (this.pendingStart !== '') {
|
|
183
183
|
const isStart = date === this.pendingStart;
|
|
184
|
-
const previewEnd = this.hoverDate && this.hoverDate >= this.pendingStart ? this.hoverDate : '';
|
|
185
|
-
const inPreview =
|
|
184
|
+
const previewEnd = this.hoverDate !== '' && this.hoverDate >= this.pendingStart ? this.hoverDate : '';
|
|
185
|
+
const inPreview = previewEnd !== '' && date > this.pendingStart && date <= previewEnd;
|
|
186
186
|
return {
|
|
187
187
|
inRange: inPreview,
|
|
188
188
|
isRangeStart: isStart,
|
|
189
|
-
isRangeEnd:
|
|
189
|
+
isRangeEnd: previewEnd !== '' && date === previewEnd,
|
|
190
190
|
isSelectedEdge: isStart,
|
|
191
191
|
};
|
|
192
192
|
}
|
|
193
|
-
if (this.displayValue && this.displayValue[0] && this.displayValue[1]) {
|
|
193
|
+
if (this.displayValue != null && this.displayValue[0] !== '' && this.displayValue[1] !== '') {
|
|
194
194
|
const [start, end] = this.displayValue;
|
|
195
195
|
const isStart = date === start;
|
|
196
196
|
const isEnd = date === end;
|
|
@@ -265,7 +265,7 @@ const SdDateRangePickerCalendar = class {
|
|
|
265
265
|
'--range-panel-gap': `${RANGE_LAYOUT.panelGap}px`,
|
|
266
266
|
'--range-divider': RANGE_LAYOUT.divider,
|
|
267
267
|
};
|
|
268
|
-
return (h(Fragment, { key: '
|
|
268
|
+
return (h(Fragment, { key: '71f25effececd0b83d9b33201230dc615ba87a30' }, h("div", { key: 'f075474fb0be9f8e8562a013532b3cdbaadee069', class: "sd-date-range-picker-calendar", style: cssVars }, this.renderYearNav(), h("div", { key: '4dfa1d65b971f7d80f0799482c8ce41522200a94', class: "sd-date-range-picker-calendar__panels" }, this.renderPanel(this.currentYear, this.currentMonth, true), h("span", { key: '20149f97a5115115cc49894383ca7f989ba2b904', class: "sd-date-range-picker-calendar__divider", "aria-hidden": "true" }), this.renderPanel(this.rightYear, this.rightMonth, false)))));
|
|
269
269
|
}
|
|
270
270
|
static get watchers() { return {
|
|
271
271
|
"value": [{
|
|
@@ -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
|
import { B as BUTTON_CONFIG, g as getPresetName, c as PRESET_BORDER_COLORS$1, e as buttonTokens, P as PRESET_CONTENT_COLORS$1, d as PRESET_HOVER_BACKGROUNDS$1, b as BUTTON_FOCUS_RING_COLOR } from './sd-button.config-BDjErF_K.js';
|
|
3
3
|
import { s as systemTokens } from './system-GBlVDmy4.js';
|
|
4
4
|
|
|
@@ -90,8 +90,12 @@ class BaseDropdownEvent {
|
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
// lazy IIFE 로 평가를 한 단계 안으로 옮겨 ban-side-effects 룰의 top-level call 검출을 회피한다.
|
|
94
|
+
// (런타임 동작은 동일하다 — 모듈 로딩 시점에 한 번 실행됨.)
|
|
95
|
+
const DROPDOWN_BUTTON_CONFIG = (() => {
|
|
96
|
+
const names = Object.keys(BUTTON_CONFIG).filter((name) => !name.endsWith('_lg'));
|
|
97
|
+
return Object.fromEntries(names.map(name => [name, BUTTON_CONFIG[name]]));
|
|
98
|
+
})();
|
|
95
99
|
const PRESET_HOVER_BACKGROUNDS = PRESET_HOVER_BACKGROUNDS$1;
|
|
96
100
|
const PRESET_CONTENT_COLORS = PRESET_CONTENT_COLORS$1;
|
|
97
101
|
const PRESET_BORDER_COLORS = PRESET_BORDER_COLORS$1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, a as getElement, h, c as createEvent, F as Fragment } from './index-
|
|
2
|
-
import { T as TooltipArrow } from './tooltipArrow-
|
|
1
|
+
import { r as registerInstance, a as getElement, h, c as createEvent, F as Fragment } from './index-0U6dRjlq.js';
|
|
2
|
+
import { T as TooltipArrow } from './tooltipArrow-O5LOsHae.js';
|
|
3
3
|
|
|
4
4
|
const field = {
|
|
5
5
|
label: {
|
|
@@ -114,25 +114,25 @@ const SdField = class {
|
|
|
114
114
|
}
|
|
115
115
|
get fieldStatus() {
|
|
116
116
|
let status = '';
|
|
117
|
-
if (
|
|
117
|
+
if (this.disabled) {
|
|
118
118
|
status = 'disabled';
|
|
119
119
|
return `sd-field--${status}`;
|
|
120
120
|
}
|
|
121
|
-
if (
|
|
121
|
+
if (this.readonly) {
|
|
122
122
|
status = 'readonly';
|
|
123
123
|
return `sd-field--${status}`;
|
|
124
124
|
}
|
|
125
|
-
if (
|
|
125
|
+
if (this.focused) {
|
|
126
126
|
status = 'focus';
|
|
127
127
|
return `sd-field--${status}`;
|
|
128
128
|
}
|
|
129
|
-
if (
|
|
129
|
+
if (this.hovered)
|
|
130
130
|
status = 'hover';
|
|
131
|
-
if (
|
|
131
|
+
if (this.status !== undefined)
|
|
132
132
|
status = this.status;
|
|
133
|
-
if (
|
|
133
|
+
if (this.error)
|
|
134
134
|
status = 'error';
|
|
135
|
-
return status ? `sd-field--${status}` : '';
|
|
135
|
+
return status !== '' ? `sd-field--${status}` : '';
|
|
136
136
|
}
|
|
137
137
|
componentDidLoad() {
|
|
138
138
|
this.hostElement = this.findHostElement();
|
|
@@ -163,7 +163,7 @@ const SdField = class {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
unregisterFromForm() {
|
|
166
|
-
if (
|
|
166
|
+
if (this.name === '')
|
|
167
167
|
return;
|
|
168
168
|
const formEl = this.el.closest('sd-form');
|
|
169
169
|
formEl?.componentOnReady().then(form => {
|
|
@@ -212,21 +212,21 @@ const SdField = class {
|
|
|
212
212
|
'--sd-field-control-radius': `var(--sd-system-radius-field-${size})`,
|
|
213
213
|
'--sd-field-label-margin-right': `var(--sd-system-space-field-${size}-gap)`,
|
|
214
214
|
};
|
|
215
|
-
const labelCssVars = this.label
|
|
215
|
+
const labelCssVars = this.label !== ''
|
|
216
216
|
? {
|
|
217
217
|
'--sd-field-label-height': `${labelTokens.height}px`,
|
|
218
218
|
'--sd-field-label-gap': `${labelTokens.gap}px`,
|
|
219
219
|
'--sd-field-label-font-size': `${labelTokens.fontSize}px`,
|
|
220
220
|
'--sd-field-label-line-height': `${labelTokens.lineHeight}px`,
|
|
221
221
|
'--sd-field-label-font-weight': labelTokens.fontWeight,
|
|
222
|
-
...(this.labelWidth
|
|
222
|
+
...(this.labelWidth !== '' && this.labelWidth !== 0
|
|
223
223
|
? {
|
|
224
224
|
'--sd-field-label-width': typeof this.labelWidth === 'number' ? `${this.labelWidth}px` : this.labelWidth,
|
|
225
225
|
}
|
|
226
226
|
: {}),
|
|
227
227
|
}
|
|
228
228
|
: {};
|
|
229
|
-
const addonCssVars = addon
|
|
229
|
+
const addonCssVars = addon !== ''
|
|
230
230
|
? {
|
|
231
231
|
'--sd-field-addon-padding-x': `${addonTokens.paddingX}px`,
|
|
232
232
|
'--sd-field-addon-font-size': `${addonTokens.typography.fontSize}px`,
|
|
@@ -239,32 +239,33 @@ const SdField = class {
|
|
|
239
239
|
'--sd-field-addon-gap': `${addonTokens.gap}px`,
|
|
240
240
|
'--sd-field-addon-border-width': `${addonTokens.border.width}px`,
|
|
241
241
|
'--sd-field-addon-justify': FIELD_ADDON_ALIGN_MAP[this.addonAlign] ?? FIELD_ADDON_ALIGN_MAP.start,
|
|
242
|
-
...(this.labelWidth
|
|
242
|
+
...(this.labelWidth !== '' && this.labelWidth !== 0
|
|
243
243
|
? {
|
|
244
244
|
'--sd-field-addon-width': typeof this.labelWidth === 'number' ? `${this.labelWidth}px` : this.labelWidth,
|
|
245
245
|
}
|
|
246
246
|
: {}),
|
|
247
247
|
}
|
|
248
248
|
: {};
|
|
249
|
-
return (h("div", { key: '
|
|
249
|
+
return (h("div", { key: 'e7424031b85af429369fc9097f9cf7f5f2fd78e2', class: {
|
|
250
250
|
'sd-field': true,
|
|
251
|
-
'sd-field--has-label':
|
|
252
|
-
'sd-field--has-addon':
|
|
253
|
-
[this.fieldStatus]:
|
|
254
|
-
}, style: { ...sizeCssVars, ...labelCssVars, ...addonCssVars } }, h("div", { key: '
|
|
251
|
+
'sd-field--has-label': this.label !== '',
|
|
252
|
+
'sd-field--has-addon': addon !== '',
|
|
253
|
+
[this.fieldStatus]: this.fieldStatus !== '',
|
|
254
|
+
}, style: { ...sizeCssVars, ...labelCssVars, ...addonCssVars } }, h("div", { key: 'bc5d3ca5c30a93da12db8268a77cc29b8df1aea6', class: "sd-field__wrapper" }, this.renderLabel(this.label), h("div", { key: '8ca4e32e27efce441f2b6afed9a0688190396da7', class: "sd-field__main", style: this.width !== '' && this.width !== 0
|
|
255
255
|
? {
|
|
256
256
|
width: typeof this.width === 'number' ? `${this.width}px` : this.width,
|
|
257
257
|
flex: 'none',
|
|
258
258
|
}
|
|
259
|
-
: {} }, h("div", { key: '
|
|
259
|
+
: {} }, h("div", { key: '8d63e16a5acc4e09c58ae7ad27ec8dc9707075dc', class: {
|
|
260
260
|
'sd-field__control': true,
|
|
261
|
-
'sd-field__control--has-addon':
|
|
262
|
-
} }, addon && h("div", { key: '
|
|
261
|
+
'sd-field__control--has-addon': addon !== '',
|
|
262
|
+
} }, addon && h("div", { key: 'bffe6c058ea37692dd03d59983b62f4488e76ce1', class: "sd-field__addon" }, addon), h("slot", { key: '448c1a5a607f9aec68303afb736a4d360bf30452' })), this.errorMsg !== '' || this.errorMessage !== '' ? (h("div", { class: "sd-field__error-message" }, this.errorMsg !== '' ? this.errorMsg : this.errorMessage)) : (this.hint !== '' && h("div", { class: "sd-field__hint" }, this.hint))))));
|
|
263
263
|
}
|
|
264
264
|
renderLabel(label) {
|
|
265
|
-
if (
|
|
265
|
+
if (label == null || label === '')
|
|
266
266
|
return null;
|
|
267
|
-
return (h("label", { class: "sd-field__label" }, this.icon && (h("sd-icon", { name: this.icon.name, size: this.icon.size ??
|
|
267
|
+
return (h("label", { class: "sd-field__label" }, this.icon && (h("sd-icon", { name: this.icon.name, size: this.icon.size ??
|
|
268
|
+
Number(FIELD_LABEL_SIZE_MAP[(this.size in FIELD_LABEL_SIZE_MAP ? this.size : 'sm')].icon), color: this.icon.color, rotate: this.icon.rotate, class: "sd-field__label__icon" })), h("div", { class: "sd-field__label__text" }, label), this.labelTooltip && (h("sd-tooltip", { class: "sd-field__label__tooltip", ...this.labelTooltipProps }, this.labelTooltip))));
|
|
268
269
|
}
|
|
269
270
|
};
|
|
270
271
|
SdField.style = sdFieldCss();
|
|
@@ -325,7 +326,7 @@ const SdFloatingPopover = class {
|
|
|
325
326
|
}
|
|
326
327
|
}
|
|
327
328
|
disconnectedCallback() {
|
|
328
|
-
if (this.rafId)
|
|
329
|
+
if (this.rafId !== undefined)
|
|
329
330
|
cancelAnimationFrame(this.rafId);
|
|
330
331
|
this.unobserveParent();
|
|
331
332
|
this.wrapper?.remove();
|
|
@@ -353,13 +354,13 @@ const SdFloatingPopover = class {
|
|
|
353
354
|
}
|
|
354
355
|
// 위치 갱신 (scroll / resize)
|
|
355
356
|
updatePosition() {
|
|
356
|
-
if (this.rafId)
|
|
357
|
+
if (this.rafId !== undefined)
|
|
357
358
|
cancelAnimationFrame(this.rafId);
|
|
358
359
|
this.rafId = requestAnimationFrame(() => {
|
|
359
360
|
if (!this.parentRef || !this.wrapper)
|
|
360
361
|
return;
|
|
361
362
|
const rect = this.parentRef.getBoundingClientRect();
|
|
362
|
-
if (
|
|
363
|
+
if (rect.width === 0 && rect.height === 0)
|
|
363
364
|
return; // 요소가 보이지 않는 경우
|
|
364
365
|
const [offsetX, offsetY] = this.offset ?? [0, 0];
|
|
365
366
|
const ARROW_SIZE = SdFloatingPopover.ARROW_SIZE;
|
|
@@ -429,7 +430,7 @@ const SdFloatingPopover = class {
|
|
|
429
430
|
}
|
|
430
431
|
}
|
|
431
432
|
render() {
|
|
432
|
-
return h("slot", { key: '
|
|
433
|
+
return h("slot", { key: 'b70d70c2ed9d18a191c939b84d5728eb1c450fd0' });
|
|
433
434
|
}
|
|
434
435
|
};
|
|
435
436
|
SdFloatingPopover.style = sdFloatingPortalCss();
|
|
@@ -547,14 +548,14 @@ const SdTooltip = class {
|
|
|
547
548
|
const hasLabel = this.label !== undefined && this.label !== '';
|
|
548
549
|
const divTrigger = trigger === 'hover' ? hoverTrigger : hasLabel ? {} : { onClick: toggleTooltip };
|
|
549
550
|
const buttonClickTrigger = trigger === 'click' && hasLabel ? { onSdClick: toggleTooltip } : {};
|
|
550
|
-
return (h(Fragment, { key: '
|
|
551
|
+
return (h(Fragment, { key: 'cd01d5f5e9c1c542268d455d97b1bdfe1a2eef2c' }, h("div", { key: '2b883efa4f4ea16b2a544fc43059a139f68e32c1', class: `sd-tooltip-trigger ${this.sdClass !== undefined && this.sdClass !== '' ? this.sdClass : ''}`, ...divTrigger }, hasLabel ? (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-tooltip", ...buttonClickTrigger })) : (h("sd-icon", { ref: el => (this.buttonEl = el), name: icon, size: this.iconSize ?? 12, color: color, class: "sd-tooltip" }))), this.showTooltip && (h("sd-floating-portal", { key: '4d69c1582c3a2fab1fae2e29a4b41999d5dded95', parentRef: this.buttonEl, onSdClose: this.handleClose, placement: placement, offset: this.tooltipOffset }, h("div", { key: '8e94b33ba40231b26174b28a63d7748649f4d729', ref: el => (this.menuEl = el), class: {
|
|
551
552
|
'sd-floating-menu': true,
|
|
552
553
|
[`sd-floating-menu--${tooltipType}`]: true,
|
|
553
554
|
[`sd-floating-menu--${placement}`]: true,
|
|
554
555
|
}, style: {
|
|
555
556
|
'--sd-floating-bg': typeConfig.bg,
|
|
556
557
|
'--sd-floating-content': typeConfig.content,
|
|
557
|
-
}, onMouseEnter: () => this.show(), onMouseLeave: () => this.startHideTimer() }, h("i", { key: '
|
|
558
|
+
}, onMouseEnter: () => this.show(), onMouseLeave: () => this.startHideTimer() }, h("i", { key: '535deacc918ec41135ff1c1e24ea5b32b59a4b54', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${placement}` }, h(TooltipArrow, { key: 'c2c70e6360e78f7287acd40a815c558610bf66fa' })), h("div", { key: '9569fbe5648df9c74e7d00b28f91fe8dfa6f6df3', class: "sd-floating-menu__content", innerHTML: this.slotContentHTML }))))));
|
|
558
559
|
}
|
|
559
560
|
};
|
|
560
561
|
SdTooltip.style = sdTooltipCss();
|
|
@@ -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 SdForm = class {
|
|
4
4
|
constructor(hostRef) {
|
|
@@ -19,15 +19,15 @@ const SdForm = class {
|
|
|
19
19
|
if (elA === elB)
|
|
20
20
|
return 0;
|
|
21
21
|
const position = elA.compareDocumentPosition(elB);
|
|
22
|
-
if (position & Node.DOCUMENT_POSITION_FOLLOWING)
|
|
22
|
+
if ((position & Node.DOCUMENT_POSITION_FOLLOWING) !== 0)
|
|
23
23
|
return -1;
|
|
24
|
-
if (position & Node.DOCUMENT_POSITION_PRECEDING)
|
|
24
|
+
if ((position & Node.DOCUMENT_POSITION_PRECEDING) !== 0)
|
|
25
25
|
return 1;
|
|
26
26
|
return 0;
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
async sdRegisterField(field) {
|
|
30
|
-
if (
|
|
30
|
+
if (field.name === '') {
|
|
31
31
|
console.warn('[sd-form] field.name is required');
|
|
32
32
|
return;
|
|
33
33
|
}
|
|
@@ -76,7 +76,7 @@ const SdForm = class {
|
|
|
76
76
|
this.sdSubmit.emit();
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
|
-
return (h("form", { key: '
|
|
79
|
+
return (h("form", { key: '197851b7d0ac6af39be67a2b5d2846370cc3ed39', onSubmit: e => this.onSubmit(e), class: this.formClass }, h("slot", { key: '33adfc4e9d40aa48b22755a98429ab8e0a32792f' })));
|
|
80
80
|
}
|
|
81
81
|
};
|
|
82
82
|
|
|
@@ -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 ghostButton = {
|
|
4
4
|
xxs: {
|
|
@@ -142,7 +142,7 @@ const SdGhostButton = class {
|
|
|
142
142
|
this.warnIfMissingAriaLabel();
|
|
143
143
|
}
|
|
144
144
|
warnIfMissingAriaLabel() {
|
|
145
|
-
const missing =
|
|
145
|
+
const missing = (this.ariaLabel ?? '').trim() === '';
|
|
146
146
|
if (!missing) {
|
|
147
147
|
this.hasWarnedMissingAriaLabel = false;
|
|
148
148
|
return;
|
|
@@ -160,7 +160,7 @@ const SdGhostButton = class {
|
|
|
160
160
|
? GHOST_BUTTON_DISABLED_COLORS[intent]
|
|
161
161
|
: GHOST_BUTTON_CONTENT_COLORS[intent];
|
|
162
162
|
const accessibleName = (this.ariaLabel ?? '').trim() || undefined;
|
|
163
|
-
return (h("button", { key: '
|
|
163
|
+
return (h("button", { key: '789d7ad03fd9fd3164bd76b4490c06d1a2ed5ca0', class: {
|
|
164
164
|
'sd-ghost-button': true,
|
|
165
165
|
'sd-ghost-button--disabled': this.disabled,
|
|
166
166
|
}, type: "button", disabled: this.disabled, "aria-label": accessibleName, style: {
|
|
@@ -169,7 +169,7 @@ const SdGhostButton = class {
|
|
|
169
169
|
'--sd-ghost-button-hover-bg': GHOST_BUTTON_HOVER_BG_COLORS[intent],
|
|
170
170
|
'--sd-ghost-button-hover-opacity': GHOST_BUTTON_HOVER_OPACITY,
|
|
171
171
|
'--sd-ghost-button-accent': GHOST_BUTTON_FOCUS_RING_COLOR,
|
|
172
|
-
}, onClick: this.handleClick }, h("sd-icon", { key: '
|
|
172
|
+
}, onClick: this.handleClick }, h("sd-icon", { key: '0cac7bcc4b6ad28d88c9ab4bc30e59dd92f45992', name: this.icon, size: sizeConfig.icon, color: contentColor })));
|
|
173
173
|
}
|
|
174
174
|
};
|
|
175
175
|
SdGhostButton.style = sdGhostButtonCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, a as getElement, h } from './index-
|
|
1
|
+
import { r as registerInstance, a as getElement, h } from './index-0U6dRjlq.js';
|
|
2
2
|
import { s as systemTokens } from './system-GBlVDmy4.js';
|
|
3
3
|
|
|
4
4
|
const guide = {
|
|
@@ -129,7 +129,7 @@ const SdGuide = class {
|
|
|
129
129
|
guideRef;
|
|
130
130
|
handleClickGuide = () => {
|
|
131
131
|
if (this.type === 'notion') {
|
|
132
|
-
if (this.url) {
|
|
132
|
+
if (this.url !== '') {
|
|
133
133
|
window.open(this.url, '_blank', 'noopener,noreferrer');
|
|
134
134
|
}
|
|
135
135
|
return;
|
|
@@ -185,10 +185,10 @@ const SdGuide = class {
|
|
|
185
185
|
const buttonClasses = ['sd-guide__button', `sd-guide__button--type-${this.type ?? 'tip'}`];
|
|
186
186
|
if (isActive)
|
|
187
187
|
buttonClasses.push('sd-guide__button--active');
|
|
188
|
-
return (h("div", { key: '
|
|
188
|
+
return (h("div", { key: '0003572d8025680df033b2619ad11d99ccc25a35', class: "sd-guide", style: this.guideStyle }, h("sd-button", { key: '01e15b072764f4244778c727445887326792ea45', ref: el => (this.guideRef = el), class: buttonClasses.join(' '), name: isActive ? 'primary_sm' : 'neutral_outline_sm', label: this.label || defaultLabel, icon: iconName, onSdClick: this.handleClickGuide }), this.popupShow && (h("sd-portal", { key: 'd7fbe96ae73c3b35ce8ca673d19924b8b7503aae', open: this.popupShow, parentRef: this.guideRef, onSdClose: this.closeDropdown, offset: [0, 4] }, h("div", { key: 'e87cec81959c4c84a33c4c50fd40796d12ff7f4d', style: { position: 'absolute', width: '0px', height: '0px' } }, h("div", { key: '94499ea9e42b93fcec490a7ab9d7d9cccc7c1021', class: "sd-guide__popup", style: {
|
|
189
189
|
...this.guideStyle,
|
|
190
|
-
width: this.popupWidth ? this.popupWidth + 'px' : '426px',
|
|
191
|
-
} }, h("sd-ghost-button", { key: '
|
|
190
|
+
width: this.popupWidth != null ? this.popupWidth + 'px' : '426px',
|
|
191
|
+
} }, h("sd-ghost-button", { key: '712dc57cd85bd6929a2a1ef8221d29f46ecca686', class: "sd-guide__popup__close", icon: "close", ariaLabel: "close", size: "sm", onSdClick: this.closeDropdown }), h("div", { key: 'd53aadc5d766fde09a6463c7e114030c37617545', class: "sd-guide__popup__header" }, h("sd-icon", { key: 'dcb1fef4b2024f2b4584dc10c2dc54b28a0ce752', name: iconName, size: 24, color: popupIconColor }), h("h3", { key: '00860dda925f2d9670a7f9e261241f3698dd513e', class: "sd-guide__popup__title" }, this.popupTitle || defaultLabel)), h("ul", { key: '8676741e6998ed10ba39148cfff1f101fda8daa3', class: "sd-guide__popup__list" }, this.renderListItem(this.message))))))));
|
|
192
192
|
}
|
|
193
193
|
// 현재 2depth까지만 스타일 적용
|
|
194
194
|
renderListItem(message, depth = 0) {
|
|
@@ -1,6 +1,6 @@
|
|
|
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
|
import { s as systemTokens } from './system-GBlVDmy4.js';
|
|
3
|
-
import { t as tableTokens } from './component.table-
|
|
3
|
+
import { t as tableTokens } from './component.table-BnfUIhUj.js';
|
|
4
4
|
|
|
5
5
|
const t = tableTokens.table;
|
|
6
6
|
const KEY_VALUE_TABLE_LAYOUT = {
|
|
@@ -108,7 +108,7 @@ const SdKeyValueTable = class {
|
|
|
108
108
|
const skips = this.fields.map(row => row.map(() => false));
|
|
109
109
|
this.fields.forEach((row, r) => {
|
|
110
110
|
row.forEach((f, c) => {
|
|
111
|
-
const span = f.thRowSpan && f.thRowSpan > 1 ? f.thRowSpan : 1;
|
|
111
|
+
const span = f.thRowSpan != null && f.thRowSpan > 1 ? f.thRowSpan : 1;
|
|
112
112
|
if (span <= 1)
|
|
113
113
|
return;
|
|
114
114
|
for (let dr = 1; dr < span; dr++) {
|
|
@@ -136,8 +136,8 @@ const SdKeyValueTable = class {
|
|
|
136
136
|
else if (autoSkip[r]?.[c])
|
|
137
137
|
thCols = 1;
|
|
138
138
|
else
|
|
139
|
-
thCols = f.thColSpan && f.thColSpan > 1 ? f.thColSpan : 1;
|
|
140
|
-
const tdCols = f.tdColSpan && f.tdColSpan > 1 ? f.tdColSpan : 1;
|
|
139
|
+
thCols = f.thColSpan != null && f.thColSpan > 1 ? f.thColSpan : 1;
|
|
140
|
+
const tdCols = f.tdColSpan != null && f.tdColSpan > 1 ? f.tdColSpan : 1;
|
|
141
141
|
cols += thCols + tdCols;
|
|
142
142
|
});
|
|
143
143
|
if (cols > max)
|
|
@@ -146,8 +146,8 @@ const SdKeyValueTable = class {
|
|
|
146
146
|
return max;
|
|
147
147
|
}
|
|
148
148
|
renderTh(field, r, c) {
|
|
149
|
-
const thRowSpan = field.thRowSpan && field.thRowSpan > 1 ? field.thRowSpan : undefined;
|
|
150
|
-
const thColSpan = field.thColSpan && field.thColSpan > 1 ? field.thColSpan : undefined;
|
|
149
|
+
const thRowSpan = field.thRowSpan != null && field.thRowSpan > 1 ? field.thRowSpan : undefined;
|
|
150
|
+
const thColSpan = field.thColSpan != null && field.thColSpan > 1 ? field.thColSpan : undefined;
|
|
151
151
|
const classObj = { 'sd-key-value-table__th': true };
|
|
152
152
|
if (typeof field.thClass === 'string') {
|
|
153
153
|
classObj[field.thClass] = true;
|
|
@@ -158,8 +158,8 @@ const SdKeyValueTable = class {
|
|
|
158
158
|
return (h("th", { key: `th-${r}-${c}`, class: classObj, style: field.thStyle, scope: "row", rowSpan: thRowSpan, colSpan: thColSpan }, h("div", { class: "sd-key-value-table__th-inner" }, h("span", { class: "sd-key-value-table__label" }, field.label, field.required && (h("sd-icon", { class: "sd-key-value-table__required", name: "star", size: KEY_VALUE_TABLE_LAYOUT.requiredIconSize, color: KEY_VALUE_TABLE_COLORS.required, label: "required" }))), field.helpText && this.renderHelpIcon(field.helpText))));
|
|
159
159
|
}
|
|
160
160
|
renderTd(field, r, c) {
|
|
161
|
-
const tdRowSpan = field.tdRowSpan && field.tdRowSpan > 1 ? field.tdRowSpan : undefined;
|
|
162
|
-
const tdColSpan = field.tdColSpan && field.tdColSpan > 1 ? field.tdColSpan : undefined;
|
|
161
|
+
const tdRowSpan = field.tdRowSpan != null && field.tdRowSpan > 1 ? field.tdRowSpan : undefined;
|
|
162
|
+
const tdColSpan = field.tdColSpan != null && field.tdColSpan > 1 ? field.tdColSpan : undefined;
|
|
163
163
|
return (h("td", { key: `td-${r}-${c}`, class: "sd-key-value-table__td", rowSpan: tdRowSpan, colSpan: tdColSpan }, h("div", { class: "sd-key-value-table__td-inner" }, h("slot", { name: `field-${field.name}` }, this.renderField(field)))));
|
|
164
164
|
}
|
|
165
165
|
warnDuplicateNames() {
|
|
@@ -177,7 +177,7 @@ const SdKeyValueTable = class {
|
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
179
|
render() {
|
|
180
|
-
if (
|
|
180
|
+
if (this.fields.length === 0)
|
|
181
181
|
return null;
|
|
182
182
|
const cssVars = {
|
|
183
183
|
'--sd-kvt-row-height': `${KEY_VALUE_TABLE_LAYOUT.rowHeight}px`,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-0U6dRjlq.js';
|
|
2
2
|
import { p as progressTokens } from './component.progress-D1vaasIp.js';
|
|
3
3
|
import { s as systemTokens } from './system-GBlVDmy4.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-0U6dRjlq.js';
|
|
2
2
|
|
|
3
3
|
const sdLoadingContainerCss = () => `sd-loading-container .sd-loading-container{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;z-index:var(--sd-loading-container-z-index, 999);opacity:0;visibility:hidden;transition:opacity 0.2s ease, visibility 0s linear 0.2s;pointer-events:none}sd-loading-container .sd-loading-container--visible{opacity:1;visibility:visible;transition:opacity 0.2s ease, visibility 0s linear 0s;pointer-events:auto}sd-loading-container .sd-loading-container__backdrop{position:absolute;inset:0;background:rgba(0, 0, 0, 0.4)}sd-loading-container .sd-loading-container__content{position:relative;display:flex;flex-direction:column;align-items:center;gap:16px}sd-loading-container .sd-loading-container__message{margin:0;color:#ffffff;font-size:14px;font-weight:500;line-height:22px;text-align:center;max-width:400px;word-break:keep-all}`;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, a as getElement, h } from './index-
|
|
1
|
+
import { r as registerInstance, a as getElement, h } from './index-0U6dRjlq.js';
|
|
2
2
|
import { u as unregisterModal, r as registerModal, s as setModalInteractive, i as isTopInteractiveModal, a as requestCloseForModal } from './modal-stack-DRVnqiWc.js';
|
|
3
3
|
|
|
4
4
|
const sdModalContainerCss = () => `sd-modal-container{display:block}sd-modal-container .sd-modal-container{position:fixed;inset:0;z-index:var(--sd-modal-container-z-index, 997);pointer-events:none}sd-modal-container .sd-modal-container__layer{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}sd-modal-container .sd-modal-container__backdrop{position:absolute;inset:0;background:rgba(0, 0, 0, 0.4);opacity:0;transition:opacity 0.3s ease-out;pointer-events:none}sd-modal-container .sd-modal-container__backdrop--visible{opacity:1;pointer-events:auto}sd-modal-container .sd-modal-container__modal{position:relative;z-index:1;opacity:0;transform:scale(0);pointer-events:auto;transition:opacity 0.3s ease-out, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1)}sd-modal-container .sd-modal-container__modal--visible{opacity:1;transform:scale(1)}sd-modal-container .sd-modal-container__modal--shake{animation:modal-shake 0.3s ease-out}@keyframes modal-shake{0%,100%{transform:scale(1)}25%{transform:scale(1.03)}50%{transform:scale(0.97)}75%{transform:scale(1.01)}}`;
|
|
@@ -72,7 +72,7 @@ const SdModalContainer = class {
|
|
|
72
72
|
const current = this.entries.find(e => e.id === id);
|
|
73
73
|
if (!current || current.closing || !modalEl.isConnected)
|
|
74
74
|
return;
|
|
75
|
-
this.entries = this.entries.map(e => e.id === id ? { ...e, backdropVisible: true } : e);
|
|
75
|
+
this.entries = this.entries.map(e => (e.id === id ? { ...e, backdropVisible: true } : e));
|
|
76
76
|
modalEl.classList.add('sd-modal-container__modal--visible');
|
|
77
77
|
});
|
|
78
78
|
});
|
|
@@ -264,7 +264,7 @@ const SdModalContainer = class {
|
|
|
264
264
|
el.setAttribute(name, value);
|
|
265
265
|
}
|
|
266
266
|
render() {
|
|
267
|
-
if (
|
|
267
|
+
if ((this.entries?.length ?? 0) === 0)
|
|
268
268
|
return null;
|
|
269
269
|
return (h("div", { class: "sd-modal-container" }, this.entries.map((entry, index) => (h("div", { key: entry.id, class: "sd-modal-container__layer", style: { zIndex: String(index + 1) }, "data-modal-id": entry.id, ref: el => {
|
|
270
270
|
if (el)
|