@sellmate/design-system 1.0.78 → 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-CMqGfEui.js +66 -0
- package/dist/cjs/design-system.cjs.js +2 -2
- package/dist/cjs/{index--F2wGuAi.js → index-Cw-78mnC.js} +1 -1
- package/dist/cjs/index.cjs.js +5 -5
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{resolveColor-LhfOKtTZ.js → resolveColor-B0hzQNLG.js} +2 -2
- package/dist/cjs/sd-action-modal.cjs.entry.js +3 -3
- package/dist/cjs/sd-badge.cjs.entry.js +2 -3
- package/dist/cjs/sd-barcode-input.cjs.entry.js +3 -3
- package/dist/cjs/{sd-button-v2.config-CnqCQQMi.js → sd-button.config-DH08UNfl.js} +114 -28
- package/dist/cjs/{sd-button-v2_2.cjs.entry.js → sd-button_2.cjs.entry.js} +102 -85
- package/dist/cjs/sd-calendar.cjs.entry.js +15 -15
- package/dist/cjs/sd-card.cjs.entry.js +2 -2
- package/dist/cjs/sd-checkbox.cjs.entry.js +4 -4
- package/dist/cjs/sd-chip.cjs.entry.js +4 -4
- package/dist/cjs/sd-circle-progress.cjs.entry.js +3 -3
- package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +19 -11
- package/dist/cjs/sd-date-box.cjs.entry.js +9 -4
- package/dist/cjs/{sd-date-picker-calendar.cjs.entry.js → sd-date-picker-calendar_2.cjs.entry.js} +59 -6
- package/dist/cjs/{sd-date-picker.config-CRgCT5dn.js → sd-date-picker.config-CjvrFpYK.js} +1 -2
- package/dist/cjs/sd-date-picker_7.cjs.entry.js +1235 -0
- package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +14 -14
- package/dist/cjs/sd-dropdown-button.cjs.entry.js +32 -27
- package/dist/cjs/{sd-button_4.cjs.entry.js → sd-field_3.cjs.entry.js} +47 -102
- package/dist/cjs/sd-form.cjs.entry.js +5 -5
- package/dist/cjs/sd-ghost-button.cjs.entry.js +12 -10
- package/dist/cjs/sd-guide.cjs.entry.js +11 -11
- package/dist/cjs/sd-key-value-table.cjs.entry.js +230 -0
- package/dist/cjs/sd-linear-progress.cjs.entry.js +3 -3
- package/dist/cjs/sd-loading-container.cjs.entry.js +3 -3
- package/dist/cjs/sd-modal-container.cjs.entry.js +3 -3
- package/dist/cjs/{sd-pagination_5.cjs.entry.js → sd-pagination_4.cjs.entry.js} +136 -325
- package/dist/cjs/sd-popover.cjs.entry.js +18 -11
- package/dist/cjs/sd-popup.cjs.entry.js +112 -0
- package/dist/cjs/sd-portal.cjs.entry.js +3 -3
- package/dist/cjs/sd-radio-button.cjs.entry.js +9 -6
- package/dist/cjs/sd-radio.cjs.entry.js +2 -2
- package/dist/cjs/sd-select-list-item_2.cjs.entry.js +159 -0
- package/dist/cjs/sd-select.config-B19ptCT2.js +178 -0
- package/dist/cjs/{sd-select-list-item_4.cjs.entry.js → sd-select_3.cjs.entry.js} +296 -323
- package/dist/cjs/sd-switch.cjs.entry.js +2 -2
- package/dist/cjs/sd-table.cjs.entry.js +188 -48
- package/dist/cjs/sd-table.config-BIpldZtw.js +76 -0
- package/dist/cjs/sd-tabs.cjs.entry.js +8 -3
- package/dist/cjs/sd-tag.cjs.entry.js +56 -21
- package/dist/cjs/sd-td.cjs.entry.js +52 -10
- package/dist/cjs/sd-text-link.cjs.entry.js +13 -5
- package/dist/cjs/sd-toast-container.cjs.entry.js +5 -5
- package/dist/cjs/sd-toast.cjs.entry.js +35 -5
- package/dist/cjs/sd-toggle.cjs.entry.js +2 -2
- package/dist/cjs/{system-DpTN1vBC.js → system-VmZRYp6V.js} +4 -2
- package/dist/cjs/{tooltipArrow-D1-wcNm1.js → tooltipArrow-BjSFKIUq.js} +1 -1
- package/dist/collection/collection-manifest.json +4 -3
- package/dist/collection/components/assets/CheckboxCheck.js +5 -0
- package/dist/collection/components/assets/CheckboxIndeterminate.js +5 -0
- package/dist/collection/components/assets/index.js +4 -0
- package/dist/collection/components/sd-action-modal/sd-action-modal.css +1 -1
- package/dist/collection/components/sd-action-modal/sd-action-modal.js +7 -7
- package/dist/collection/components/sd-badge/sd-badge.config.js +10 -1
- package/dist/collection/components/sd-badge/sd-badge.js +1 -22
- package/dist/collection/components/sd-barcode-input/sd-barcode-input.js +4 -4
- package/dist/collection/components/{sd-button-v2/sd-button-v2.config.js → sd-button/sd-button.config.js} +1 -1
- package/dist/collection/components/sd-button/sd-button.css +47 -93
- package/dist/collection/components/sd-button/sd-button.js +100 -173
- package/dist/collection/components/sd-calendar/sd-calendar.js +14 -14
- package/dist/collection/components/sd-card/sd-card.js +1 -1
- package/dist/collection/components/sd-checkbox/sd-checkbox.js +3 -3
- package/dist/collection/components/sd-chip/sd-chip.js +4 -4
- package/dist/collection/components/sd-circle-progress/sd-circle-progress.js +1 -1
- package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.js +13 -8
- package/dist/collection/components/sd-date-box/sd-date-box.js +8 -3
- 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.css +1 -1
- package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.js +13 -6
- package/dist/collection/components/sd-date-picker/sd-date-picker.js +4 -4
- 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 +5 -5
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.config.js +7 -3
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +13 -11
- package/dist/collection/components/sd-field/sd-field.css +6 -2
- package/dist/collection/components/sd-field/sd-field.js +48 -22
- package/dist/collection/components/sd-file-picker/sd-file-picker.js +10 -5
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.css +1 -3
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +6 -6
- package/dist/collection/components/sd-form/sd-form.js +4 -4
- package/dist/collection/components/sd-ghost-button/sd-ghost-button.js +12 -10
- package/dist/collection/components/sd-guide/sd-guide.css +8 -172
- package/dist/collection/components/sd-guide/sd-guide.js +8 -6
- package/dist/collection/components/sd-icon/sd-icon.js +4 -4
- package/dist/collection/components/sd-input/sd-input.css +4 -2
- package/dist/collection/components/sd-input/sd-input.js +6 -6
- package/dist/collection/components/sd-key-value-table/sd-key-value-table.config.js +36 -0
- package/dist/collection/components/sd-key-value-table/sd-key-value-table.css +119 -0
- package/dist/collection/components/sd-key-value-table/sd-key-value-table.js +301 -0
- package/dist/collection/components/sd-linear-progress/sd-linear-progress.js +1 -1
- package/dist/collection/components/sd-loading-container/sd-loading-container.js +2 -2
- package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +6 -3
- package/dist/collection/components/sd-modal-container/sd-modal-container.js +2 -2
- package/dist/collection/components/sd-number-input/sd-number-input.css +7 -0
- package/dist/collection/components/sd-number-input/sd-number-input.js +8 -5
- package/dist/collection/components/sd-pagination/sd-pagination.js +3 -3
- package/dist/collection/components/sd-popover/sd-popover.js +129 -36
- package/dist/collection/components/sd-popup/sd-popup.config.js +34 -0
- package/dist/collection/components/sd-popup/sd-popup.css +73 -0
- package/dist/collection/components/sd-popup/sd-popup.js +163 -0
- package/dist/collection/components/sd-portal/sd-portal.js +2 -2
- package/dist/collection/components/sd-radio/sd-radio.js +1 -1
- package/dist/collection/components/sd-radio-button/sd-radio-button.js +8 -5
- package/dist/collection/components/sd-radio-group/sd-radio-group.js +2 -2
- 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.css +4 -4
- 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 +8 -8
- package/dist/collection/components/sd-select/sd-select-trigger/sd-select-trigger.js +9 -4
- package/dist/collection/components/sd-select/sd-select.js +6 -6
- package/dist/collection/components/sd-switch/sd-switch.js +1 -1
- package/dist/collection/components/sd-table/sd-table.config.js +6 -2
- package/dist/collection/components/sd-table/sd-table.css +30 -11
- package/dist/collection/components/sd-table/sd-table.js +233 -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 +24 -1
- package/dist/collection/components/sd-table/sd-tr/sd-tr.js +116 -19
- package/dist/collection/components/sd-tabs/sd-tabs.js +7 -2
- package/dist/collection/components/sd-tag/sd-tag.config.js +43 -11
- package/dist/collection/components/sd-tag/sd-tag.js +13 -7
- package/dist/collection/components/sd-text-link/sd-text-link.css +1 -0
- package/dist/collection/components/sd-text-link/sd-text-link.js +10 -4
- package/dist/collection/components/sd-textarea/sd-textarea.css +3 -0
- package/dist/collection/components/sd-textarea/sd-textarea.js +2 -2
- package/dist/collection/components/sd-toast/sd-toast.config.js +14 -0
- package/dist/collection/components/sd-toast/sd-toast.css +3 -5
- package/dist/collection/components/sd-toast/sd-toast.js +52 -5
- package/dist/collection/components/sd-toast-container/sd-toast-container.js +4 -4
- package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
- package/dist/collection/components/sd-tooltip/sd-tooltip.js +77 -30
- package/dist/collection/utils/color/resolveColor.js +2 -2
- package/dist/collection/utils/dropdown-manager.js +1 -1
- package/dist/collection/utils/modal.js +1 -1
- package/dist/collection/utils/toast.js +4 -4
- 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-TwGlKfsC.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-Dcc2Vm6z.js → p-BorUSgEK.js} +1 -1
- package/dist/components/{p-Bvq0Vpln.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-CK9ciBIR.js +1 -0
- package/dist/components/p-CQI40kiY.js +1 -0
- package/dist/components/p-CRL7TjSB.js +1 -0
- package/dist/components/p-CdOHomUp.js +1 -0
- package/dist/components/p-Ch5Yu1qd.js +1 -0
- package/dist/components/p-Cktiasfd.js +1 -0
- 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-DdLntfiw.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-DyAnn9ea.js +1 -0
- package/dist/components/p-GBlVDmy4.js +1 -0
- package/dist/components/p-Jts7ueOa.js +1 -0
- package/dist/components/p-arZfxxPn.js +1 -0
- package/dist/components/p-mmdt-WnS.js +1 -0
- package/dist/components/p-nOCYbyW4.js +1 -0
- package/dist/components/p-teN3CfOr.js +1 -0
- package/dist/components/p-u8teDaMa.js +1 -0
- package/dist/components/p-wCNRlKLa.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/sd-key-value-table.js +1 -0
- 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-button-v2.d.ts → sd-popup.d.ts} +4 -4
- package/dist/components/sd-popup.js +1 -0
- 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-04fdb4b1.entry.js +1 -0
- package/dist/design-system/p-05611ff7.entry.js +1 -0
- package/dist/design-system/p-0U6dRjlq.js +2 -0
- package/dist/design-system/{p-fe9cef6a.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-33bc3176.entry.js → p-435ae69e.entry.js} +1 -1
- package/dist/design-system/p-43e97572.entry.js +1 -0
- package/dist/design-system/p-44d05570.entry.js +1 -0
- package/dist/design-system/p-501fae20.entry.js +1 -0
- package/dist/design-system/{p-ead3e688.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-77690440.entry.js +1 -0
- package/dist/design-system/p-78cc0289.entry.js +1 -0
- package/dist/design-system/p-790165f8.entry.js +1 -0
- package/dist/design-system/p-80466582.entry.js +1 -0
- package/dist/design-system/{p-e5cebccd.entry.js → p-857c44e8.entry.js} +1 -1
- package/dist/design-system/{p-f522c91d.entry.js → p-87c868c3.entry.js} +1 -1
- package/dist/design-system/p-8db7d8f2.entry.js +1 -0
- package/dist/design-system/p-8ee990bd.entry.js +1 -0
- package/dist/design-system/p-8f22106e.entry.js +1 -0
- package/dist/design-system/p-BDjErF_K.js +1 -0
- package/dist/design-system/p-BnfUIhUj.js +1 -0
- package/dist/{components/p-DkJqVXpD.js → design-system/p-C29HUShl.js} +1 -1
- package/dist/design-system/{p-BxPyZJaz.js → p-Ce0cmS4R.js} +1 -1
- package/dist/design-system/p-CxOCk_ge.js +1 -0
- package/dist/design-system/p-GBlVDmy4.js +1 -0
- 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-797517b5.entry.js → p-aeccfb2b.entry.js} +1 -1
- package/dist/design-system/p-b0aad445.entry.js +1 -0
- package/dist/design-system/p-b3c144ff.entry.js +1 -0
- package/dist/design-system/p-caee95b0.entry.js +1 -0
- package/dist/design-system/p-d30c823e.entry.js +1 -0
- package/dist/design-system/{p-3f7bc660.entry.js → p-d3212544.entry.js} +1 -1
- package/dist/design-system/p-d8c41313.entry.js +1 -0
- package/dist/design-system/{p-6bfe3612.entry.js → p-de8bb9ba.entry.js} +1 -1
- package/dist/design-system/p-e2334c1c.entry.js +1 -0
- package/dist/design-system/p-f4d73a0c.entry.js +1 -0
- 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-BnfUIhUj.js +64 -0
- package/dist/esm/design-system.js +3 -3
- package/dist/esm/{index-Cnwbjz1F.js → index-0U6dRjlq.js} +1 -1
- package/dist/esm/index.js +5 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{resolveColor-BxPyZJaz.js → resolveColor-Ce0cmS4R.js} +2 -2
- package/dist/esm/sd-action-modal.entry.js +3 -3
- package/dist/esm/sd-badge.entry.js +2 -3
- package/dist/esm/sd-barcode-input.entry.js +3 -3
- package/dist/esm/{sd-button-v2.config-CV4xelxV.js → sd-button.config-BDjErF_K.js} +88 -3
- package/dist/esm/{sd-button-v2_2.entry.js → sd-button_2.entry.js} +102 -85
- package/dist/esm/sd-calendar.entry.js +15 -15
- package/dist/esm/sd-card.entry.js +2 -2
- package/dist/esm/sd-checkbox.entry.js +4 -4
- package/dist/esm/sd-chip.entry.js +4 -4
- package/dist/esm/sd-circle-progress.entry.js +3 -3
- package/dist/esm/sd-confirm-modal_2.entry.js +19 -11
- package/dist/esm/sd-date-box.entry.js +9 -4
- package/dist/esm/{sd-date-picker-calendar.entry.js → sd-date-picker-calendar_2.entry.js} +59 -7
- package/dist/esm/{sd-date-picker.config-C2fDbE9d.js → sd-date-picker.config-B6cqMQaM.js} +1 -2
- package/dist/esm/sd-date-picker_7.entry.js +1227 -0
- package/dist/esm/sd-date-range-picker-calendar.entry.js +14 -14
- package/dist/esm/sd-dropdown-button.entry.js +21 -16
- package/dist/esm/{sd-button_4.entry.js → sd-field_3.entry.js} +48 -102
- package/dist/esm/sd-form.entry.js +5 -5
- package/dist/esm/sd-ghost-button.entry.js +12 -10
- package/dist/esm/sd-guide.entry.js +11 -11
- package/dist/esm/sd-key-value-table.entry.js +228 -0
- package/dist/esm/sd-linear-progress.entry.js +3 -3
- package/dist/esm/sd-loading-container.entry.js +3 -3
- package/dist/esm/sd-modal-container.entry.js +3 -3
- package/dist/esm/{sd-pagination_5.entry.js → sd-pagination_4.entry.js} +137 -325
- package/dist/esm/sd-popover.entry.js +18 -11
- package/dist/esm/sd-popup.entry.js +110 -0
- package/dist/esm/sd-portal.entry.js +3 -3
- package/dist/esm/sd-radio-button.entry.js +9 -6
- package/dist/esm/sd-radio.entry.js +2 -2
- package/dist/esm/sd-select-list-item_2.entry.js +156 -0
- package/dist/esm/sd-select.config-CxOCk_ge.js +165 -0
- package/dist/esm/{sd-select-list-item_4.entry.js → sd-select_3.entry.js} +281 -307
- package/dist/esm/sd-switch.entry.js +2 -2
- package/dist/esm/{sd-table.config-Bj-EEo7N.js → sd-table.config-B-VgXXT7.js} +16 -46
- package/dist/esm/sd-table.entry.js +188 -48
- package/dist/esm/sd-tabs.entry.js +8 -3
- package/dist/esm/sd-tag.entry.js +56 -21
- package/dist/esm/sd-td.entry.js +52 -10
- package/dist/esm/sd-text-link.entry.js +13 -5
- package/dist/esm/sd-toast-container.entry.js +5 -5
- package/dist/esm/sd-toast.entry.js +35 -5
- package/dist/esm/sd-toggle.entry.js +2 -2
- package/dist/esm/{system-CZ4ltUOw.js → system-GBlVDmy4.js} +4 -2
- package/dist/esm/{tooltipArrow-D8sr81Xw.js → tooltipArrow-O5LOsHae.js} +1 -1
- package/dist/types/components/assets/CheckboxCheck.d.ts +1 -0
- package/dist/types/components/assets/CheckboxIndeterminate.d.ts +1 -0
- package/dist/types/components/assets/index.d.ts +2 -0
- package/dist/types/components/sd-action-modal/sd-action-modal.d.ts +2 -2
- package/dist/types/components/sd-badge/sd-badge.d.ts +0 -1
- package/dist/types/components/{sd-button-v2/sd-button-v2.config.d.ts → sd-button/sd-button.config.d.ts} +9 -15
- package/dist/types/components/sd-button/sd-button.d.ts +11 -13
- package/dist/types/components/sd-confirm-modal/sd-confirm-modal.config.d.ts +3 -3
- package/dist/types/components/sd-confirm-modal/sd-confirm-modal.d.ts +2 -1
- package/dist/types/components/sd-dropdown-button/sd-dropdown-button.config.d.ts +6 -5
- package/dist/types/components/sd-dropdown-button/sd-dropdown-button.d.ts +1 -0
- package/dist/types/components/sd-field/sd-field.d.ts +1 -0
- package/dist/types/components/sd-key-value-table/sd-key-value-table.config.d.ts +105 -0
- package/dist/types/components/sd-key-value-table/sd-key-value-table.d.ts +38 -0
- package/dist/types/components/sd-loading-modal/sd-loading-modal.config.d.ts +2 -2
- package/dist/types/components/sd-loading-modal/sd-loading-modal.d.ts +1 -0
- package/dist/types/components/sd-modal-container/sd-modal-container.config.d.ts +1 -1
- package/dist/types/components/sd-popover/sd-popover.d.ts +16 -10
- package/dist/types/components/sd-popup/sd-popup.config.d.ts +30 -0
- package/dist/types/components/sd-popup/sd-popup.d.ts +11 -0
- 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 +21 -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 +9 -0
- package/dist/types/components/sd-tag/sd-tag.d.ts +2 -0
- package/dist/types/components/sd-toast/sd-toast.config.d.ts +5 -1
- package/dist/types/components/sd-toast/sd-toast.d.ts +2 -0
- package/dist/types/components/sd-toast-container/sd-toast-container.config.d.ts +2 -0
- package/dist/types/components/sd-tooltip/sd-tooltip.config.d.ts +2 -13
- package/dist/types/components/sd-tooltip/sd-tooltip.d.ts +6 -4
- package/dist/types/components.d.ts +278 -192
- package/dist/types/index.d.ts +1 -1
- package/dist/types/types/form.d.ts +1 -1
- package/dist/types/types/global.d.ts +14 -13
- package/dist/types/utils/toast.d.ts +1 -1
- package/hydrate/index.js +5513 -4761
- package/hydrate/index.mjs +5513 -4761
- package/package.json +111 -97
- package/readme.md +13 -7
- package/dist/cjs/component.button-cqV-iCG5.js +0 -90
- package/dist/cjs/sd-date-picker-trigger.cjs.entry.js +0 -51
- package/dist/cjs/sd-date-picker.cjs.entry.js +0 -117
- package/dist/cjs/sd-date-range-picker.cjs.entry.js +0 -123
- package/dist/cjs/sd-file-picker.cjs.entry.js +0 -244
- package/dist/cjs/sd-input.cjs.entry.js +0 -175
- package/dist/cjs/sd-number-input.cjs.entry.js +0 -409
- package/dist/cjs/sd-radio-group.cjs.entry.js +0 -46
- package/dist/cjs/sd-table.config-Cb0Ot3C6.js +0 -105
- package/dist/cjs/sd-textarea.cjs.entry.js +0 -146
- package/dist/collection/components/sd-button-v2/sd-button-v2.css +0 -125
- package/dist/collection/components/sd-button-v2/sd-button-v2.js +0 -273
- package/dist/components/p-B1XBwjCW.js +0 -1
- package/dist/components/p-B8jXOXtJ.js +0 -1
- package/dist/components/p-BE6TxbtX.js +0 -1
- package/dist/components/p-BJsHakU2.js +0 -1
- package/dist/components/p-BStczlLa.js +0 -1
- package/dist/components/p-BcMNA89i.js +0 -1
- package/dist/components/p-BheX6lAy.js +0 -1
- package/dist/components/p-BmYM7-4v.js +0 -1
- package/dist/components/p-BppjYHF6.js +0 -1
- package/dist/components/p-BwWDMpJc.js +0 -1
- package/dist/components/p-C-kw2p2a.js +0 -1
- package/dist/components/p-C5qZtNLl.js +0 -1
- package/dist/components/p-C7DajKYn.js +0 -1
- package/dist/components/p-CZ4ltUOw.js +0 -1
- package/dist/components/p-CeVMl_M9.js +0 -1
- package/dist/components/p-D1DpOp6M.js +0 -1
- package/dist/components/p-D3gjBBCU.js +0 -1
- package/dist/components/p-DC-6inj0.js +0 -1
- package/dist/components/p-DRF0He-x.js +0 -1
- package/dist/components/p-DegvQLTF.js +0 -1
- package/dist/components/p-Dey-lS6x.js +0 -1
- package/dist/components/p-DfH_fO01.js +0 -1
- package/dist/components/p-DngV3MT1.js +0 -1
- package/dist/components/p-EbjZr2OA.js +0 -1
- package/dist/components/p-LwWOleLJ.js +0 -1
- package/dist/components/p-Nvx13YlG.js +0 -1
- package/dist/components/p-ZMpCZhXP.js +0 -1
- package/dist/components/p-dNJIFthT.js +0 -1
- package/dist/components/p-q0VWISKA.js +0 -1
- package/dist/components/p-xnLvZ-xn.js +0 -1
- package/dist/components/sd-button-v2.js +0 -1
- package/dist/design-system/p-0356c195.entry.js +0 -1
- package/dist/design-system/p-045bc426.entry.js +0 -1
- package/dist/design-system/p-12dfd239.entry.js +0 -1
- package/dist/design-system/p-16d3a485.entry.js +0 -1
- package/dist/design-system/p-1706ed6f.entry.js +0 -1
- package/dist/design-system/p-182548f7.entry.js +0 -1
- package/dist/design-system/p-1a79edce.entry.js +0 -1
- package/dist/design-system/p-1cf87e87.entry.js +0 -1
- package/dist/design-system/p-25a08e98.entry.js +0 -1
- package/dist/design-system/p-2812b9ce.entry.js +0 -1
- package/dist/design-system/p-38f661ea.entry.js +0 -1
- package/dist/design-system/p-429dab5c.entry.js +0 -1
- package/dist/design-system/p-455dccf5.entry.js +0 -1
- package/dist/design-system/p-59313838.entry.js +0 -1
- package/dist/design-system/p-6af01ab0.entry.js +0 -1
- package/dist/design-system/p-70d4903f.entry.js +0 -1
- package/dist/design-system/p-767e99f9.entry.js +0 -1
- package/dist/design-system/p-7c370335.entry.js +0 -1
- package/dist/design-system/p-7fe8be6a.entry.js +0 -1
- package/dist/design-system/p-83b262dc.entry.js +0 -1
- package/dist/design-system/p-881adaa5.entry.js +0 -1
- package/dist/design-system/p-88d7303c.entry.js +0 -1
- package/dist/design-system/p-8a601e0f.entry.js +0 -1
- package/dist/design-system/p-B1XBwjCW.js +0 -1
- package/dist/design-system/p-BsrEibf7.js +0 -1
- package/dist/design-system/p-C5qZtNLl.js +0 -1
- package/dist/design-system/p-CZ4ltUOw.js +0 -1
- package/dist/design-system/p-Cnwbjz1F.js +0 -2
- package/dist/design-system/p-DnCBBIoq.js +0 -1
- package/dist/design-system/p-a82be987.entry.js +0 -1
- package/dist/design-system/p-b917c82a.entry.js +0 -1
- package/dist/design-system/p-b9f00eef.entry.js +0 -1
- package/dist/design-system/p-bcb53788.entry.js +0 -1
- package/dist/design-system/p-c24344ac.entry.js +0 -1
- package/dist/design-system/p-d76192bd.entry.js +0 -1
- package/dist/design-system/p-d9d8c51b.entry.js +0 -1
- package/dist/design-system/p-de67937d.entry.js +0 -1
- package/dist/design-system/p-ea5e6c2c.entry.js +0 -1
- package/dist/design-system/p-eeb1cac2.entry.js +0 -1
- package/dist/design-system/p-f1a74359.entry.js +0 -1
- package/dist/design-system/p-f44786a9.entry.js +0 -1
- package/dist/design-system/p-f69c7539.entry.js +0 -1
- package/dist/esm/component.button-B1XBwjCW.js +0 -88
- package/dist/esm/sd-date-picker-trigger.entry.js +0 -49
- package/dist/esm/sd-date-picker.entry.js +0 -115
- package/dist/esm/sd-date-range-picker.entry.js +0 -121
- package/dist/esm/sd-file-picker.entry.js +0 -242
- package/dist/esm/sd-input.entry.js +0 -173
- package/dist/esm/sd-number-input.entry.js +0 -407
- package/dist/esm/sd-radio-group.entry.js +0 -44
- package/dist/esm/sd-textarea.entry.js +0 -144
- package/dist/types/components/sd-button-v2/sd-button-v2.d.ts +0 -19
- /package/dist/components/{p-C2fDbE9d.js → p-B6cqMQaM.js} +0 -0
- /package/dist/design-system/{p-C2fDbE9d.js → p-B6cqMQaM.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import { type
|
|
2
|
+
import { type ConfirmModalMainButton, type ConfirmModalType, type TagName } from './sd-confirm-modal.config';
|
|
3
3
|
export declare class SdConfirmModal {
|
|
4
4
|
el: HTMLElement;
|
|
5
5
|
private hasSlottedContent;
|
|
@@ -24,6 +24,7 @@ export declare class SdConfirmModal {
|
|
|
24
24
|
componentDidLoad(): void;
|
|
25
25
|
componentDidRender(): void;
|
|
26
26
|
disconnectedCallback(): void;
|
|
27
|
+
private get resolvedType();
|
|
27
28
|
private get resolvedMainButton();
|
|
28
29
|
private get hasTagContent();
|
|
29
30
|
private get showContentBox();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type ButtonName, type ButtonPreset } from '../sd-button/sd-button.config';
|
|
2
2
|
export interface DropdownButtonItem {
|
|
3
3
|
value: string | number;
|
|
4
4
|
label: string;
|
|
@@ -8,13 +8,14 @@ export interface DropdownButtonItem {
|
|
|
8
8
|
export type DropdownButtonValue = DropdownButtonItem['value'];
|
|
9
9
|
export type DropdownButtonSize = 'xs' | 'sm' | 'md';
|
|
10
10
|
type UnsupportedDropdownButtonName = `${string}_lg`;
|
|
11
|
-
export type DropdownButtonName = Exclude<
|
|
12
|
-
export type DropdownButtonPreset =
|
|
13
|
-
|
|
14
|
-
variant:
|
|
11
|
+
export type DropdownButtonName = Exclude<ButtonName, UnsupportedDropdownButtonName>;
|
|
12
|
+
export type DropdownButtonPreset = ButtonPreset;
|
|
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;
|
|
@@ -26,6 +26,7 @@ export declare class SdDropdownButton extends BaseDropdownEvent {
|
|
|
26
26
|
closeDropdown: () => void;
|
|
27
27
|
protected handleDocumentClick(event: Event): void;
|
|
28
28
|
protected handleDocumentKeydown(event: KeyboardEvent): void;
|
|
29
|
+
private get resolvedName();
|
|
29
30
|
private get resolvedConfig();
|
|
30
31
|
private getNextEnabledIndex;
|
|
31
32
|
private toggleDropdown;
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import type { Components } from '../../components';
|
|
2
|
+
export declare const KEY_VALUE_TABLE_LAYOUT: {
|
|
3
|
+
rowHeight: number;
|
|
4
|
+
thWidth: number;
|
|
5
|
+
borderRadius: number;
|
|
6
|
+
paddingX: number;
|
|
7
|
+
paddingY: number;
|
|
8
|
+
helpIconSize: number;
|
|
9
|
+
requiredIconSize: number;
|
|
10
|
+
gap: number;
|
|
11
|
+
labelGap: number;
|
|
12
|
+
borderWidth: number;
|
|
13
|
+
searchPaddingX: number;
|
|
14
|
+
};
|
|
15
|
+
export declare const KEY_VALUE_TABLE_COLORS: {
|
|
16
|
+
border: string;
|
|
17
|
+
thBg: string;
|
|
18
|
+
thLabel: string;
|
|
19
|
+
required: string;
|
|
20
|
+
helpIcon: string;
|
|
21
|
+
tdBg: string;
|
|
22
|
+
tdText: string;
|
|
23
|
+
searchBg: string;
|
|
24
|
+
};
|
|
25
|
+
export declare const KEY_VALUE_TABLE_TYPOGRAPHY: {
|
|
26
|
+
labelFontFamily: string;
|
|
27
|
+
labelFontSize: number;
|
|
28
|
+
labelFontWeight: number;
|
|
29
|
+
labelLineHeight: number;
|
|
30
|
+
tdFontFamily: string;
|
|
31
|
+
tdFontSize: number;
|
|
32
|
+
tdFontWeight: number;
|
|
33
|
+
tdLineHeight: number;
|
|
34
|
+
};
|
|
35
|
+
export type SdKeyValueFieldType = 'text' | 'input' | 'textarea' | 'number-input' | 'select' | 'radio' | 'checkbox' | 'date-picker' | 'date-range-picker' | 'file-picker';
|
|
36
|
+
export interface SdKeyValueTextOptions {
|
|
37
|
+
value?: string | number | null;
|
|
38
|
+
}
|
|
39
|
+
export type SdKeyValueInputOptions = Partial<Components.SdInput>;
|
|
40
|
+
export type SdKeyValueSelectOptions = Partial<Components.SdSelect>;
|
|
41
|
+
export type SdKeyValueRadioOptions = Partial<Components.SdRadioGroup>;
|
|
42
|
+
export type SdKeyValueCheckboxOptions = Partial<Components.SdCheckbox>;
|
|
43
|
+
export type SdKeyValueDatePickerOptions = Partial<Components.SdDatePicker>;
|
|
44
|
+
export type SdKeyValueDateRangePickerOptions = Partial<Components.SdDateRangePicker>;
|
|
45
|
+
export type SdKeyValueTextareaOptions = Partial<Components.SdTextarea>;
|
|
46
|
+
export type SdKeyValueNumberInputOptions = Partial<Components.SdNumberInput>;
|
|
47
|
+
export type SdKeyValueFilePickerOptions = Partial<Components.SdFilePicker>;
|
|
48
|
+
interface FieldBase {
|
|
49
|
+
name: string;
|
|
50
|
+
label?: string;
|
|
51
|
+
required?: boolean;
|
|
52
|
+
helpText?: string;
|
|
53
|
+
/** th 셀 자체를 렌더링하지 않음. 위 row의 thRowSpan으로 가려진 위치를 명시할 때 사용 */
|
|
54
|
+
hideTh?: boolean;
|
|
55
|
+
/** th 셀이 아래 row까지 확장 (HTML rowspan). 같은 컬럼 인덱스의 다음 (N-1)개 row는 th 자동 생략 */
|
|
56
|
+
thRowSpan?: number;
|
|
57
|
+
/** th 셀이 옆 컬럼까지 확장 (HTML colspan) */
|
|
58
|
+
thColSpan?: number;
|
|
59
|
+
/** td 셀이 아래 row까지 확장 (HTML rowspan) */
|
|
60
|
+
tdRowSpan?: number;
|
|
61
|
+
/** td 셀이 옆 컬럼까지 확장 (HTML colspan) */
|
|
62
|
+
tdColSpan?: number;
|
|
63
|
+
/** th 셀에 추가할 클래스 (string 또는 클래스명 배열) */
|
|
64
|
+
thClass?: string | string[];
|
|
65
|
+
/** th 셀에 적용할 인라인 스타일 */
|
|
66
|
+
thStyle?: {
|
|
67
|
+
[key: string]: string;
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
export type SdKeyValueField = (FieldBase & {
|
|
71
|
+
type?: 'text';
|
|
72
|
+
options?: SdKeyValueTextOptions;
|
|
73
|
+
}) | (FieldBase & {
|
|
74
|
+
type: 'input';
|
|
75
|
+
options?: SdKeyValueInputOptions;
|
|
76
|
+
}) | (FieldBase & {
|
|
77
|
+
type: 'textarea';
|
|
78
|
+
options?: SdKeyValueTextareaOptions;
|
|
79
|
+
}) | (FieldBase & {
|
|
80
|
+
type: 'number-input';
|
|
81
|
+
options?: SdKeyValueNumberInputOptions;
|
|
82
|
+
}) | (FieldBase & {
|
|
83
|
+
type: 'select';
|
|
84
|
+
options?: SdKeyValueSelectOptions;
|
|
85
|
+
}) | (FieldBase & {
|
|
86
|
+
type: 'radio';
|
|
87
|
+
options?: SdKeyValueRadioOptions;
|
|
88
|
+
}) | (FieldBase & {
|
|
89
|
+
type: 'checkbox';
|
|
90
|
+
options?: SdKeyValueCheckboxOptions;
|
|
91
|
+
}) | (FieldBase & {
|
|
92
|
+
type: 'date-picker';
|
|
93
|
+
options?: SdKeyValueDatePickerOptions;
|
|
94
|
+
}) | (FieldBase & {
|
|
95
|
+
type: 'date-range-picker';
|
|
96
|
+
options?: SdKeyValueDateRangePickerOptions;
|
|
97
|
+
}) | (FieldBase & {
|
|
98
|
+
type: 'file-picker';
|
|
99
|
+
options?: SdKeyValueFilePickerOptions;
|
|
100
|
+
});
|
|
101
|
+
export interface SdKeyValueChangeDetail {
|
|
102
|
+
name: string;
|
|
103
|
+
value: unknown;
|
|
104
|
+
}
|
|
105
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { SdKeyValueField, SdKeyValueChangeDetail } from './sd-key-value-table.config';
|
|
3
|
+
export declare class SdKeyValueTable {
|
|
4
|
+
/**
|
|
5
|
+
* 2차원 배열. 외부 배열 = row, 내부 배열 = 한 row에 들어가는 [th|td] field들.
|
|
6
|
+
* 한 row에 여러 field를 넣으면 [th|td|th|td...] 형태로 렌더.
|
|
7
|
+
*/
|
|
8
|
+
fields: SdKeyValueField[][];
|
|
9
|
+
/**
|
|
10
|
+
* true이면 테이블 우측에 검색 버튼 패널을 표시. 클릭 시 `sdSearch` 이벤트 emit.
|
|
11
|
+
*/
|
|
12
|
+
search: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* true이면 테이블 상단 border-radius를 0으로 처리.
|
|
15
|
+
* 다른 요소(헤더, 탭 등) 하단에 붙여 쓸 때 사용.
|
|
16
|
+
*/
|
|
17
|
+
useTop: boolean;
|
|
18
|
+
change: EventEmitter<SdKeyValueChangeDetail>;
|
|
19
|
+
searchEvent: EventEmitter<void>;
|
|
20
|
+
private emit;
|
|
21
|
+
private handleSearchClick;
|
|
22
|
+
private renderField;
|
|
23
|
+
private renderHelpIcon;
|
|
24
|
+
/**
|
|
25
|
+
* 같은 컬럼 인덱스의 thRowSpan에 의해 가려지는 위치를 자동 계산.
|
|
26
|
+
* `skip[r][c] === true` 이면 row r의 c번째 field는 th 셀을 렌더하지 않음.
|
|
27
|
+
*/
|
|
28
|
+
private computeAutoSkipTh;
|
|
29
|
+
/**
|
|
30
|
+
* 모든 row를 훑어 전체 컬럼 수를 계산.
|
|
31
|
+
* th/td 자체와 thColSpan/tdColSpan, hideTh, thRowSpan(autoSkip)을 모두 반영.
|
|
32
|
+
*/
|
|
33
|
+
private computeMaxCols;
|
|
34
|
+
private renderTh;
|
|
35
|
+
private renderTd;
|
|
36
|
+
private warnDuplicateNames;
|
|
37
|
+
render(): any;
|
|
38
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ButtonName } from '../sd-button/sd-button.config';
|
|
2
2
|
export type LoadingModalState = 'loading' | 'error';
|
|
3
3
|
export declare const LOADING_MODAL_LAYOUT: {
|
|
4
4
|
minWidth: number;
|
|
@@ -22,4 +22,4 @@ export declare const LOADING_MODAL_TYPOGRAPHY: {
|
|
|
22
22
|
};
|
|
23
23
|
export declare const LOADING_MODAL_DEFAULT_MESSAGE: Record<LoadingModalState, string>;
|
|
24
24
|
export declare const LOADING_MODAL_DEFAULT_BUTTON_LABEL: Record<LoadingModalState, string>;
|
|
25
|
-
export declare const LOADING_MODAL_BUTTON_PRESET:
|
|
25
|
+
export declare const LOADING_MODAL_BUTTON_PRESET: ButtonName;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ConfirmModalMainButton, ConfirmModalType } from '../sd-confirm-modal/sd-confirm-modal.config';
|
|
2
2
|
import type { LoadingModalState } from '../sd-loading-modal/sd-loading-modal.config';
|
|
3
3
|
import type { TagName } from '../sd-tag/sd-tag.config';
|
|
4
4
|
export interface ConfirmModalOptions {
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import { type ButtonName, type ButtonType } from '../sd-button/sd-button.config';
|
|
3
|
+
import type { SdButton } from '../sd-button/sd-button';
|
|
4
|
+
import type { SdTextLink } from '../sd-text-link/sd-text-link';
|
|
5
|
+
export type PopoverButton = Partial<Pick<SdButton, 'name' | 'icon' | 'rightIcon' | 'ariaLabel' | 'disabled' | 'type'>> & {
|
|
4
6
|
label: string;
|
|
5
|
-
variant?: ButtonVariant;
|
|
6
|
-
color?: string;
|
|
7
|
-
size?: ButtonSize;
|
|
8
|
-
icon?: IconName;
|
|
9
7
|
onClick?: (e: Event) => void;
|
|
10
|
-
}
|
|
8
|
+
};
|
|
9
|
+
export type PopoverLink = Partial<Pick<SdTextLink, 'icon' | 'iconColor' | 'useArrow' | 'underline' | 'disabled'>> & {
|
|
10
|
+
label: string;
|
|
11
|
+
onClick?: (e: Event) => void;
|
|
12
|
+
};
|
|
11
13
|
export declare class SdPopover {
|
|
12
14
|
el: HTMLElement;
|
|
13
15
|
show: boolean;
|
|
@@ -16,11 +18,15 @@ export declare class SdPopover {
|
|
|
16
18
|
icon: IconName;
|
|
17
19
|
iconSize: number;
|
|
18
20
|
label: string;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
+
name: ButtonName;
|
|
22
|
+
rightIcon?: IconName;
|
|
23
|
+
ariaLabel: string;
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
type: ButtonType;
|
|
21
26
|
menuTitle?: string;
|
|
22
27
|
messages: string[];
|
|
23
|
-
|
|
28
|
+
leftLink?: PopoverLink;
|
|
29
|
+
button?: PopoverButton;
|
|
24
30
|
menuClass: string;
|
|
25
31
|
useClose: boolean;
|
|
26
32
|
showChange: EventEmitter<boolean>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export type PopupType = 'default' | 'light';
|
|
2
|
+
export declare const POPUP_LAYOUT: {
|
|
3
|
+
bodyBg: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const POPUP_HEADER: {
|
|
6
|
+
bg: {
|
|
7
|
+
default: string;
|
|
8
|
+
light: string;
|
|
9
|
+
};
|
|
10
|
+
titleColor: {
|
|
11
|
+
default: string;
|
|
12
|
+
light: string;
|
|
13
|
+
};
|
|
14
|
+
fontFamily: string;
|
|
15
|
+
fontWeight: string;
|
|
16
|
+
fontSize: number;
|
|
17
|
+
lineHeight: number;
|
|
18
|
+
height: number;
|
|
19
|
+
paddingX: number;
|
|
20
|
+
paddingY: number;
|
|
21
|
+
};
|
|
22
|
+
export declare const POPUP_FOOTER: {
|
|
23
|
+
bg: string;
|
|
24
|
+
paddingX: number;
|
|
25
|
+
paddingY: number;
|
|
26
|
+
gap: number;
|
|
27
|
+
height: number;
|
|
28
|
+
slotHeight: number;
|
|
29
|
+
shadow: string;
|
|
30
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import type { ButtonProps } from '../sd-button/sd-button.config';
|
|
3
|
+
import { type PopupType } from './sd-popup.config';
|
|
4
|
+
export declare class SdPopup {
|
|
5
|
+
popupTitle: string;
|
|
6
|
+
type: PopupType;
|
|
7
|
+
useFooter: boolean;
|
|
8
|
+
submitButtonProps?: ButtonProps;
|
|
9
|
+
submit: EventEmitter<void>;
|
|
10
|
+
render(): any;
|
|
11
|
+
}
|
|
@@ -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;
|
|
@@ -15,14 +15,17 @@ export declare class SdTable {
|
|
|
15
15
|
height?: string;
|
|
16
16
|
stickyHeader: boolean;
|
|
17
17
|
stickyColumn: SdTableStickyColumn;
|
|
18
|
+
radius: 'default' | 'useTop';
|
|
18
19
|
noDataLabel: string;
|
|
19
20
|
resolvedNoDataLabel: string;
|
|
20
21
|
isLoading: boolean;
|
|
21
22
|
pagination?: SdTablePagination;
|
|
22
23
|
useInternalPagination: boolean;
|
|
23
24
|
useRowsPerPageSelect: boolean;
|
|
25
|
+
dense: boolean;
|
|
24
26
|
useVirtualScroll: boolean;
|
|
25
|
-
rowHeight
|
|
27
|
+
rowHeight?: number;
|
|
28
|
+
private get effectiveRowHeight();
|
|
26
29
|
virtualBuffer: number;
|
|
27
30
|
virtualEndThreshold: number;
|
|
28
31
|
rowsPerPageOption: SelectOption[];
|
|
@@ -47,15 +50,20 @@ export declare class SdTable {
|
|
|
47
50
|
scrolledRight: boolean;
|
|
48
51
|
rowCount: number;
|
|
49
52
|
loadingScrollTop: number;
|
|
53
|
+
noDataBodyHeight: number;
|
|
50
54
|
autoThead: boolean;
|
|
51
55
|
autoTbody: boolean;
|
|
52
56
|
private vsStart;
|
|
53
57
|
private vsEnd;
|
|
54
58
|
private lastReachEndNotifiedRowCount;
|
|
55
59
|
private scrollContainer;
|
|
60
|
+
private noDataContentEl;
|
|
61
|
+
private noDataContentResizeObserver?;
|
|
56
62
|
private onScroll?;
|
|
57
63
|
private spanRegistry;
|
|
64
|
+
private useFrameRegistry;
|
|
58
65
|
private cellClassRegistry;
|
|
66
|
+
private separatorPrevIndices;
|
|
59
67
|
private rowIndexMap;
|
|
60
68
|
private rebuildRowIndexMap;
|
|
61
69
|
private resolveRowIndex;
|
|
@@ -78,6 +86,8 @@ export declare class SdTable {
|
|
|
78
86
|
componentWillLoad(): void;
|
|
79
87
|
componentDidLoad(): void;
|
|
80
88
|
disconnectedCallback(): void;
|
|
89
|
+
private syncNoDataContentObserver;
|
|
90
|
+
private observeNoDataContentHeight;
|
|
81
91
|
private queryChildEl;
|
|
82
92
|
private queryAllTr;
|
|
83
93
|
private pushRowsToChildren;
|
|
@@ -95,6 +105,9 @@ export declare class SdTable {
|
|
|
95
105
|
rowCount: number;
|
|
96
106
|
};
|
|
97
107
|
getConfigSync(): SdTableConfig;
|
|
108
|
+
registerUseFrameSync(rowKey: string, field: string): void;
|
|
109
|
+
unregisterUseFrameSync(rowKey: string, field: string): void;
|
|
110
|
+
hasUseFrameInRowSync(rowKey: string): boolean;
|
|
98
111
|
isRowSelectedSync(row: Row): boolean;
|
|
99
112
|
isRowSelected(row: Row): Promise<boolean>;
|
|
100
113
|
updateRowSelectSync(row: Row): void;
|
|
@@ -108,20 +121,8 @@ export declare class SdTable {
|
|
|
108
121
|
private changeRowsPerPage;
|
|
109
122
|
private get lastPageNumber();
|
|
110
123
|
handleResize(index: number, event: MouseEvent, reversed?: boolean): void;
|
|
111
|
-
getStickyStyleSync(colIdx: number):
|
|
112
|
-
|
|
113
|
-
'--sticky-right-offset': string;
|
|
114
|
-
width: string;
|
|
115
|
-
minWidth: string;
|
|
116
|
-
maxWidth: string;
|
|
117
|
-
};
|
|
118
|
-
getStickyStyle(colIdx: number): Promise<{
|
|
119
|
-
'--sticky-left-offset': string;
|
|
120
|
-
'--sticky-right-offset': string;
|
|
121
|
-
width: string;
|
|
122
|
-
minWidth: string;
|
|
123
|
-
maxWidth: string;
|
|
124
|
-
}>;
|
|
124
|
+
getStickyStyleSync(colIdx: number): Record<string, string>;
|
|
125
|
+
getStickyStyle(colIdx: number): Promise<Record<string, string>>;
|
|
125
126
|
private spanKey;
|
|
126
127
|
private requestAllTrUpdate;
|
|
127
128
|
registerSpanSync(rowKey: string, field: string, rowspan: number, colspan: number): void;
|
|
@@ -135,6 +136,11 @@ export declare class SdTable {
|
|
|
135
136
|
getCellClassSync(rowKey: string, field: string): string | undefined;
|
|
136
137
|
hasRowspanSync(): boolean;
|
|
137
138
|
isCoveredSync(rowKey: string, colIdx: number, columns: SdTableColumn[]): boolean;
|
|
139
|
+
private resolveVisualBottom;
|
|
140
|
+
isVisualLastRowSync(rowKey: string, field: string): boolean;
|
|
141
|
+
registerSeparatorSync(prevRowKey: string): void;
|
|
142
|
+
unregisterSeparatorSync(prevRowKey: string): void;
|
|
143
|
+
isVisualLastRowBeforeSeparatorSync(rowKey: string, field: string): boolean;
|
|
138
144
|
setRowCountSync(count: number): void;
|
|
139
145
|
setRowCount(count: number): Promise<void>;
|
|
140
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,5 +39,10 @@ export declare class SdTr {
|
|
|
35
39
|
private getSpanFor;
|
|
36
40
|
private isCovered;
|
|
37
41
|
private getCellClassFor;
|
|
42
|
+
private expandCellClass;
|
|
43
|
+
private isVisualLastRow;
|
|
44
|
+
private isVisualLastRowForSelfRow;
|
|
45
|
+
private isVisualLastRowBeforeSeparator;
|
|
46
|
+
private isVisualLastRowBeforeSeparatorForSelfRow;
|
|
38
47
|
render(): any;
|
|
39
48
|
}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import type { ButtonName } from '../sd-button/sd-button.config';
|
|
2
|
+
export type ToastType = 'default' | 'danger' | 'caution' | 'complete' | 'accent' | 'info';
|
|
3
|
+
export declare const TOAST_BUTTON_NAME_BY_TYPE: Record<ToastType, ButtonName>;
|
|
2
4
|
export declare const TOAST_TYPE_CONFIG: Record<ToastType, {
|
|
3
5
|
bg: string;
|
|
4
6
|
content: string;
|
|
7
|
+
icon?: string;
|
|
8
|
+
linkColor?: string;
|
|
5
9
|
}>;
|
|
6
10
|
export declare const TOAST_LAYOUT: {
|
|
7
11
|
radius: string;
|
|
@@ -6,8 +6,10 @@ export interface ToastNotifyOptions {
|
|
|
6
6
|
icon?: IconName;
|
|
7
7
|
link?: string;
|
|
8
8
|
linkLabel?: string;
|
|
9
|
+
buttonLabel?: string;
|
|
9
10
|
useClose?: boolean;
|
|
10
11
|
duration?: number;
|
|
12
|
+
onButtonClick?: (event: MouseEvent) => void;
|
|
11
13
|
}
|
|
12
14
|
export interface ToastEntry {
|
|
13
15
|
id: string;
|
|
@@ -1,18 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Components } from '../../components';
|
|
2
2
|
export type TooltipType = 'default' | 'danger' | 'warning' | 'accent';
|
|
3
3
|
export declare const TOOLTIP_TYPE_CONFIG: Record<TooltipType, {
|
|
4
4
|
bg: string;
|
|
5
5
|
content: string;
|
|
6
6
|
}>;
|
|
7
|
-
export
|
|
8
|
-
trigger?: 'hover' | 'click';
|
|
9
|
-
placement?: 'top' | 'bottom' | 'left' | 'right';
|
|
10
|
-
color?: string;
|
|
11
|
-
tooltipType?: TooltipType;
|
|
12
|
-
icon?: IconName;
|
|
13
|
-
iconSize?: number;
|
|
14
|
-
label?: string;
|
|
15
|
-
buttonSize?: ButtonSize;
|
|
16
|
-
buttonVariant?: ButtonVariant;
|
|
17
|
-
noHover?: boolean;
|
|
18
|
-
}
|
|
7
|
+
export type SdTooltipProps = Partial<Components.SdTooltip>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type ButtonName, type ButtonType } from '../sd-button/sd-button.config';
|
|
2
2
|
import { type TooltipType } from './sd-tooltip.config';
|
|
3
3
|
export declare class SdTooltip {
|
|
4
4
|
el: HTMLElement;
|
|
@@ -9,9 +9,11 @@ export declare class SdTooltip {
|
|
|
9
9
|
icon: IconName;
|
|
10
10
|
iconSize: number;
|
|
11
11
|
label: string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
name: ButtonName;
|
|
13
|
+
rightIcon?: IconName;
|
|
14
|
+
ariaLabel: string;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
type: ButtonType;
|
|
15
17
|
sdClass?: string;
|
|
16
18
|
showTooltip: boolean;
|
|
17
19
|
slotContentHTML: string;
|