@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,13 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index
|
|
3
|
+
var index = require('./index-Cw-78mnC.js');
|
|
4
4
|
|
|
5
5
|
const tag = {
|
|
6
6
|
xs: {
|
|
7
7
|
height: "20",
|
|
8
8
|
paddingX: "8",
|
|
9
9
|
gap: "4",
|
|
10
|
-
icon: "12",
|
|
11
10
|
typography: {
|
|
12
11
|
fontSize: "11",
|
|
13
12
|
fontWeight: "500",
|
|
@@ -18,7 +17,6 @@ const tag = {
|
|
|
18
17
|
height: "24",
|
|
19
18
|
paddingX: "8",
|
|
20
19
|
gap: "4",
|
|
21
|
-
icon: "16",
|
|
22
20
|
typography: {
|
|
23
21
|
fontSize: "12",
|
|
24
22
|
fontWeight: "700",
|
|
@@ -30,7 +28,6 @@ const tag = {
|
|
|
30
28
|
height: "28",
|
|
31
29
|
paddingX: "12",
|
|
32
30
|
gap: "6",
|
|
33
|
-
icon: "16",
|
|
34
31
|
typography: {
|
|
35
32
|
fontSize: "14",
|
|
36
33
|
fontWeight: "700",
|
|
@@ -87,14 +84,46 @@ const TAG_COLORS = [
|
|
|
87
84
|
'indigo',
|
|
88
85
|
];
|
|
89
86
|
const TAG_COLOR_CONFIG = {
|
|
90
|
-
grey: {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
87
|
+
grey: {
|
|
88
|
+
background: tagTokens.tag.grey.bg,
|
|
89
|
+
content: tagTokens.tag.grey.content,
|
|
90
|
+
icon: tagTokens.tag.grey.content,
|
|
91
|
+
},
|
|
92
|
+
red: {
|
|
93
|
+
background: tagTokens.tag.red.bg,
|
|
94
|
+
content: tagTokens.tag.red.content,
|
|
95
|
+
icon: tagTokens.tag.red.content,
|
|
96
|
+
},
|
|
97
|
+
orange: {
|
|
98
|
+
background: tagTokens.tag.orange.bg,
|
|
99
|
+
content: tagTokens.tag.orange.content,
|
|
100
|
+
icon: tagTokens.tag.orange.content,
|
|
101
|
+
},
|
|
102
|
+
yellow: {
|
|
103
|
+
background: tagTokens.tag.yellow.bg,
|
|
104
|
+
content: tagTokens.tag.yellow.content,
|
|
105
|
+
icon: tagTokens.tag.yellow.content,
|
|
106
|
+
},
|
|
107
|
+
green: {
|
|
108
|
+
background: tagTokens.tag.green.bg,
|
|
109
|
+
content: tagTokens.tag.green.content,
|
|
110
|
+
icon: tagTokens.tag.green.content,
|
|
111
|
+
},
|
|
112
|
+
blue: {
|
|
113
|
+
background: tagTokens.tag.blue.bg,
|
|
114
|
+
content: tagTokens.tag.blue.content,
|
|
115
|
+
icon: tagTokens.tag.blue.content,
|
|
116
|
+
},
|
|
117
|
+
darkblue: {
|
|
118
|
+
background: tagTokens.tag.darkblue.bg,
|
|
119
|
+
content: tagTokens.tag.darkblue.content,
|
|
120
|
+
icon: tagTokens.tag.darkblue.content,
|
|
121
|
+
},
|
|
122
|
+
indigo: {
|
|
123
|
+
background: tagTokens.tag.indigo.bg,
|
|
124
|
+
content: tagTokens.tag.indigo.content,
|
|
125
|
+
icon: tagTokens.tag.indigo.content,
|
|
126
|
+
},
|
|
98
127
|
};
|
|
99
128
|
const SQUARE_SIZE_CONFIG = {
|
|
100
129
|
xs: {
|
|
@@ -104,7 +133,7 @@ const SQUARE_SIZE_CONFIG = {
|
|
|
104
133
|
fontSize: `${tagTokens.tag.xs.typography.fontSize}px`,
|
|
105
134
|
fontWeight: tagTokens.tag.xs.typography.fontWeight,
|
|
106
135
|
lineHeight: `${tagTokens.tag.xs.typography.lineHeight}px`,
|
|
107
|
-
iconSize:
|
|
136
|
+
iconSize: 12,
|
|
108
137
|
radius: `${tagTokens.tag.xs.radius}px`,
|
|
109
138
|
},
|
|
110
139
|
sm: {
|
|
@@ -114,7 +143,7 @@ const SQUARE_SIZE_CONFIG = {
|
|
|
114
143
|
fontSize: `${tagTokens.tag.sm.typography.fontSize}px`,
|
|
115
144
|
fontWeight: tagTokens.tag.sm.typography.fontWeight,
|
|
116
145
|
lineHeight: `${tagTokens.tag.sm.typography.lineHeight}px`,
|
|
117
|
-
iconSize:
|
|
146
|
+
iconSize: 16,
|
|
118
147
|
radius: `${tagTokens.tag.sm.radius}px`,
|
|
119
148
|
},
|
|
120
149
|
md: {
|
|
@@ -124,7 +153,7 @@ const SQUARE_SIZE_CONFIG = {
|
|
|
124
153
|
fontSize: `${tagTokens.tag.md.typography.fontSize}px`,
|
|
125
154
|
fontWeight: tagTokens.tag.md.typography.fontWeight,
|
|
126
155
|
lineHeight: `${tagTokens.tag.md.typography.lineHeight}px`,
|
|
127
|
-
iconSize:
|
|
156
|
+
iconSize: 16,
|
|
128
157
|
radius: `${tagTokens.tag.md.radius}px`,
|
|
129
158
|
},
|
|
130
159
|
};
|
|
@@ -158,21 +187,27 @@ const SdTag = class {
|
|
|
158
187
|
label = '';
|
|
159
188
|
icon;
|
|
160
189
|
isLeft = true;
|
|
161
|
-
|
|
190
|
+
componentWillLoad() {
|
|
191
|
+
this.name = this.name ?? 'square_sm_grey';
|
|
192
|
+
}
|
|
193
|
+
get resolvedName() {
|
|
162
194
|
if (!isTagName(this.name)) {
|
|
163
|
-
throw new Error(`Invalid sd-tag name: ${this.name}`);
|
|
195
|
+
throw new Error(`Invalid sd-tag name: "${this.name}"`);
|
|
164
196
|
}
|
|
165
|
-
return
|
|
197
|
+
return this.name;
|
|
198
|
+
}
|
|
199
|
+
get resolvedConfig() {
|
|
200
|
+
return TAG_CONFIG[this.resolvedName];
|
|
166
201
|
}
|
|
167
202
|
renderIcon(color, size) {
|
|
168
|
-
if (
|
|
203
|
+
if (this.icon == null)
|
|
169
204
|
return null;
|
|
170
205
|
return index.h("sd-icon", { class: "sd-tag__icon", name: this.icon, size: size, color: color });
|
|
171
206
|
}
|
|
172
207
|
render() {
|
|
173
208
|
const config = this.resolvedConfig;
|
|
174
209
|
const iconNode = this.renderIcon(config.icon, config.iconSize);
|
|
175
|
-
return (index.h("span", { key: '
|
|
210
|
+
return (index.h("span", { key: 'bcf16350c162da2907ddf4ac53924d016a2457dd', class: "sd-tag", style: {
|
|
176
211
|
'--sd-tag-background': config.background,
|
|
177
212
|
'--sd-tag-content': config.content,
|
|
178
213
|
'--sd-tag-height': config.height,
|
|
@@ -182,7 +217,7 @@ const SdTag = class {
|
|
|
182
217
|
'--sd-tag-font-weight': config.fontWeight,
|
|
183
218
|
'--sd-tag-line-height': config.lineHeight,
|
|
184
219
|
'--sd-tag-radius': config.radius,
|
|
185
|
-
}, "aria-label": this.label || 'tag' }, this.icon && this.isLeft && iconNode, index.h("span", { key: '
|
|
220
|
+
}, "aria-label": this.label || 'tag' }, this.icon && this.isLeft && iconNode, index.h("span", { key: '248f9d8df1ff10af3c533580203cac1f816d8000', class: "sd-tag__label" }, this.label), this.icon && !this.isLeft && iconNode));
|
|
186
221
|
}
|
|
187
222
|
};
|
|
188
223
|
SdTag.style = sdTagCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index
|
|
3
|
+
var index = require('./index-Cw-78mnC.js');
|
|
4
4
|
var constants = require('./constants-DJRV1upE.js');
|
|
5
5
|
|
|
6
6
|
const sdTdCss = () => `sd-td *{box-sizing:border-box}sd-td{display:contents}sd-td.align-left{text-align:left}sd-td.align-center{text-align:center}sd-td.align-right{text-align:right}`;
|
|
@@ -19,6 +19,10 @@ const SdTd = class {
|
|
|
19
19
|
// <sd-td> 호스트는 display:contents라 호스트의 class는 시각 효과가 없기 때문에,
|
|
20
20
|
// 이 prop을 통해 sd-table 레지스트리에 등록 → sd-tr가 td 렌더 시 합쳐 사용한다.
|
|
21
21
|
sdClass;
|
|
22
|
+
dividerLeft = false;
|
|
23
|
+
dividerRight = false;
|
|
24
|
+
// true이면 이 셀이 속한 행 전체가 dense를 무시하고 default 레이아웃으로 동작한다.
|
|
25
|
+
useFrame = false;
|
|
22
26
|
handleFieldChange(_newField, oldField) {
|
|
23
27
|
this.syncSlotName();
|
|
24
28
|
this.syncSpanRegistration();
|
|
@@ -35,10 +39,18 @@ const SdTd = class {
|
|
|
35
39
|
handleSdClassChange() {
|
|
36
40
|
this.syncCellClassRegistration();
|
|
37
41
|
}
|
|
42
|
+
handleDividerChange() {
|
|
43
|
+
this.syncCellClassRegistration();
|
|
44
|
+
}
|
|
45
|
+
handleUseFieldChange() {
|
|
46
|
+
this.syncUseFieldRegistration();
|
|
47
|
+
this.requestParentTrUpdate();
|
|
48
|
+
}
|
|
38
49
|
componentWillLoad() {
|
|
39
50
|
this.syncSlotName();
|
|
40
51
|
this.syncSpanRegistration();
|
|
41
52
|
this.syncCellClassRegistration();
|
|
53
|
+
this.syncUseFieldRegistration();
|
|
42
54
|
// slot 타이밍 엇갈림 대응: 부모 sd-tr forceUpdate로 슬롯 재매칭
|
|
43
55
|
const parentTr = this.el.parentElement;
|
|
44
56
|
if (parentTr?.tagName?.toLowerCase() === 'sd-tr') {
|
|
@@ -49,6 +61,7 @@ const SdTd = class {
|
|
|
49
61
|
this.syncSlotName();
|
|
50
62
|
this.syncSpanRegistration();
|
|
51
63
|
this.syncCellClassRegistration();
|
|
64
|
+
this.syncUseFieldRegistration();
|
|
52
65
|
}
|
|
53
66
|
// React StrictMode에서는 disconnect/reconnect 사이클이 일어나면서
|
|
54
67
|
// 동일 인스턴스의 componentWillLoad는 더 이상 호출되지 않는다.
|
|
@@ -56,12 +69,14 @@ const SdTd = class {
|
|
|
56
69
|
connectedCallback() {
|
|
57
70
|
this.syncSpanRegistration();
|
|
58
71
|
this.syncCellClassRegistration();
|
|
72
|
+
this.syncUseFieldRegistration();
|
|
59
73
|
}
|
|
60
74
|
disconnectedCallback() {
|
|
61
75
|
const table = this.findTable();
|
|
62
|
-
if (table && this.field && this.rowKey != null) {
|
|
76
|
+
if (table != null && this.field !== '' && this.rowKey != null) {
|
|
63
77
|
table.unregisterSpanSync?.(String(this.rowKey), this.field);
|
|
64
78
|
table.unregisterCellClassSync?.(String(this.rowKey), this.field);
|
|
79
|
+
table.unregisterUseFrameSync?.(String(this.rowKey), this.field);
|
|
65
80
|
this.requestParentTrUpdate();
|
|
66
81
|
}
|
|
67
82
|
}
|
|
@@ -82,7 +97,7 @@ const SdTd = class {
|
|
|
82
97
|
}
|
|
83
98
|
syncSpanRegistration() {
|
|
84
99
|
const table = this.findTable();
|
|
85
|
-
if (
|
|
100
|
+
if (table?.registerSpanSync == null || this.field === '' || this.rowKey == null)
|
|
86
101
|
return;
|
|
87
102
|
const rs = Math.max(1, Math.floor(Number(this.rowspan) || 1));
|
|
88
103
|
const cs = Math.max(1, Math.floor(Number(this.colspan) || 1));
|
|
@@ -96,27 +111,45 @@ const SdTd = class {
|
|
|
96
111
|
return;
|
|
97
112
|
const oldField = prevField ?? this.field;
|
|
98
113
|
const oldRowKey = prevRowKey ?? (this.rowKey != null ? String(this.rowKey) : undefined);
|
|
99
|
-
if (oldField && oldRowKey != null) {
|
|
114
|
+
if (oldField !== '' && oldRowKey != null) {
|
|
100
115
|
table.unregisterCellClassSync?.(oldRowKey, oldField);
|
|
101
116
|
}
|
|
102
|
-
if (!table.registerCellClassSync ||
|
|
117
|
+
if (!table.registerCellClassSync || this.field === '' || this.rowKey == null)
|
|
103
118
|
return;
|
|
104
|
-
|
|
119
|
+
const combinedClass = [
|
|
120
|
+
this.sdClass,
|
|
121
|
+
this.dividerLeft && 'td--divider-left',
|
|
122
|
+
this.dividerRight && 'td--divider-right',
|
|
123
|
+
]
|
|
124
|
+
.filter(Boolean)
|
|
125
|
+
.join(' ') || undefined;
|
|
126
|
+
table.registerCellClassSync(String(this.rowKey), this.field, combinedClass);
|
|
105
127
|
this.requestParentTrUpdate();
|
|
106
128
|
}
|
|
129
|
+
syncUseFieldRegistration() {
|
|
130
|
+
const table = this.findTable();
|
|
131
|
+
if (!table || this.field === '' || this.rowKey == null)
|
|
132
|
+
return;
|
|
133
|
+
if (this.useFrame) {
|
|
134
|
+
table.registerUseFrameSync?.(String(this.rowKey), this.field);
|
|
135
|
+
}
|
|
136
|
+
else {
|
|
137
|
+
table.unregisterUseFrameSync?.(String(this.rowKey), this.field);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
107
140
|
syncSlotName() {
|
|
108
141
|
const table = this.el.closest('sd-table');
|
|
109
142
|
const fromMethod = table?.getTableIdSync?.();
|
|
110
143
|
const fromAttr = table?.getAttribute(constants.TABLE_ID_ATTR);
|
|
111
|
-
const tableId = (fromMethod && fromMethod !== 'undefined' ? fromMethod : null) ??
|
|
112
|
-
(fromAttr && fromAttr !== 'undefined' ? fromAttr : null) ??
|
|
144
|
+
const tableId = (fromMethod != null && fromMethod !== '' && fromMethod !== 'undefined' ? fromMethod : null) ??
|
|
145
|
+
(fromAttr != null && fromAttr !== '' && fromAttr !== 'undefined' ? fromAttr : null) ??
|
|
113
146
|
'';
|
|
114
|
-
if (this.field && this.rowKey !== undefined && tableId) {
|
|
147
|
+
if (this.field !== '' && this.rowKey !== undefined && tableId !== '') {
|
|
115
148
|
this.el.setAttribute('slot', `${tableId}-${this.field}-${this.rowKey}`);
|
|
116
149
|
}
|
|
117
150
|
}
|
|
118
151
|
render() {
|
|
119
|
-
return (index.h(index.Host, { key: '
|
|
152
|
+
return (index.h(index.Host, { key: 'ececfaf265a550ee38c5c2cc2ddd2875352deb10', class: { [`align-${this.align}`]: Boolean(this.align) } }, index.h("slot", { key: 'c4a43f9affc1938d882e63e91ac90d570efffa37' })));
|
|
120
153
|
}
|
|
121
154
|
static get watchers() { return {
|
|
122
155
|
"field": [{
|
|
@@ -133,6 +166,15 @@ const SdTd = class {
|
|
|
133
166
|
}],
|
|
134
167
|
"sdClass": [{
|
|
135
168
|
"handleSdClassChange": 0
|
|
169
|
+
}],
|
|
170
|
+
"dividerLeft": [{
|
|
171
|
+
"handleDividerChange": 0
|
|
172
|
+
}],
|
|
173
|
+
"dividerRight": [{
|
|
174
|
+
"handleDividerChange": 0
|
|
175
|
+
}],
|
|
176
|
+
"useFrame": [{
|
|
177
|
+
"handleUseFieldChange": 0
|
|
136
178
|
}]
|
|
137
179
|
}; }
|
|
138
180
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index
|
|
3
|
+
var index = require('./index-Cw-78mnC.js');
|
|
4
4
|
|
|
5
5
|
const textLink = {
|
|
6
6
|
gap: "4",
|
|
@@ -9,8 +9,10 @@ const textLink = {
|
|
|
9
9
|
},
|
|
10
10
|
typography: {
|
|
11
11
|
"default": {
|
|
12
|
+
fontSize: "12",
|
|
12
13
|
textDecoration: "none"},
|
|
13
14
|
underline: {
|
|
15
|
+
fontSize: "12",
|
|
14
16
|
textDecoration: "underline"}
|
|
15
17
|
},
|
|
16
18
|
content: {
|
|
@@ -41,7 +43,7 @@ const TEXT_LINK_COLORS = {
|
|
|
41
43
|
icon: textLinkTokens.textLink.icon,
|
|
42
44
|
};
|
|
43
45
|
|
|
44
|
-
const sdTextLinkCss = () => `sd-text-link{display:inline-flex}sd-text-link .sd-text-link{display:inline-flex;align-items:center;gap:var(--sd-text-link-gap);cursor:pointer;user-select:none}sd-text-link .sd-text-link__label{text-decoration:var(--sd-text-link-text-decoration);color:var(--sd-text-link-color, inherit)}sd-text-link .sd-text-link:not(.sd-text-link--disabled):hover .sd-text-link__label{text-decoration:underline}sd-text-link .sd-text-link--disabled{cursor:not-allowed}`;
|
|
46
|
+
const sdTextLinkCss = () => `sd-text-link{display:inline-flex}sd-text-link .sd-text-link{display:inline-flex;align-items:center;gap:var(--sd-text-link-gap);cursor:pointer;user-select:none}sd-text-link .sd-text-link__label{font-size:var(--sd-text-link-font-size, 12px);text-decoration:var(--sd-text-link-text-decoration);color:var(--sd-text-link-color, inherit)}sd-text-link .sd-text-link:not(.sd-text-link--disabled):hover .sd-text-link__label{text-decoration:underline}sd-text-link .sd-text-link--disabled{cursor:not-allowed}`;
|
|
45
47
|
|
|
46
48
|
const SdTextLink = class {
|
|
47
49
|
constructor(hostRef) {
|
|
@@ -70,19 +72,25 @@ const SdTextLink = class {
|
|
|
70
72
|
const arrowColor = this.disabled ? TEXT_LINK_COLORS.icon.disabled : TEXT_LINK_LAYOUT.arrowColor;
|
|
71
73
|
const cssVars = {
|
|
72
74
|
'--sd-text-link-gap': `${TEXT_LINK_LAYOUT.gap}px`,
|
|
75
|
+
'--sd-text-link-font-size': `${typo.fontSize}px`,
|
|
73
76
|
'--sd-text-link-text-decoration': typo.textDecoration,
|
|
74
77
|
...(this.disabled ? { '--sd-text-link-color': TEXT_LINK_COLORS.content.disabled } : {}),
|
|
75
78
|
};
|
|
76
|
-
return (index.h("span", { key: '
|
|
79
|
+
return (index.h("span", { key: '284a073ec6aca3ad91bffe084c3b84813df58772', role: "button", tabindex: this.disabled ? -1 : 0, class: {
|
|
77
80
|
'sd-text-link': true,
|
|
78
81
|
'sd-text-link--disabled': this.disabled,
|
|
79
|
-
}, style: cssVars, onClick: this.handleClick
|
|
82
|
+
}, style: cssVars, onClick: this.handleClick, onKeyDown: e => {
|
|
83
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
84
|
+
e.preventDefault();
|
|
85
|
+
this.handleClick();
|
|
86
|
+
}
|
|
87
|
+
} }, this.icon && (index.h("sd-icon", { key: '1e2021703a766769aa647f418fb4b287039d58a5', name: this.icon, size: TEXT_LINK_LAYOUT.iconSize, color: iconColor, class: "sd-text-link__icon" })), index.h("span", { key: 'a25f207b8bf5bc2c221f0b370159b61ba2f27040', class: labelClassName }, this.label), this.useArrow && (index.h("span", { key: 'f273671ee796224bada0d2d27fc58ff893c433e7', class: "sd-text-link__arrow", style: {
|
|
80
88
|
width: `${TEXT_LINK_LAYOUT.arrowFrame}px`,
|
|
81
89
|
height: `${TEXT_LINK_LAYOUT.arrowFrame}px`,
|
|
82
90
|
display: 'inline-flex',
|
|
83
91
|
alignItems: 'center',
|
|
84
92
|
justifyContent: 'center',
|
|
85
|
-
} }, index.h("sd-icon", { key: '
|
|
93
|
+
} }, index.h("sd-icon", { key: '2e499bf0c1cd57d1ffb90999daa1c38d0cf43df8', name: "chevronRight", size: TEXT_LINK_LAYOUT.arrowIconSize, color: arrowColor })))));
|
|
86
94
|
}
|
|
87
95
|
};
|
|
88
96
|
SdTextLink.style = sdTextLinkCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index
|
|
3
|
+
var index = require('./index-Cw-78mnC.js');
|
|
4
4
|
|
|
5
5
|
const DEFAULT_DURATION = 4000;
|
|
6
6
|
const DEFAULT_MAX_VISIBLE = 3;
|
|
@@ -103,12 +103,12 @@ const SdToastContainer = class {
|
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
componentDidRender() {
|
|
106
|
-
if (
|
|
106
|
+
if (this.toasts === undefined || this.toasts.length === 0)
|
|
107
107
|
return;
|
|
108
108
|
const hasEntering = this.toasts.some(t => t.state === 'entering');
|
|
109
109
|
if (hasEntering) {
|
|
110
110
|
requestAnimationFrame(() => {
|
|
111
|
-
this.toasts = (this.toasts || []).map(t =>
|
|
111
|
+
this.toasts = (this.toasts || []).map(t => t.state === 'entering' ? { ...t, state: 'visible' } : t);
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
114
|
this.measureHeights();
|
|
@@ -234,7 +234,7 @@ const SdToastContainer = class {
|
|
|
234
234
|
const activeToasts = toasts.filter(t => t.state !== 'exiting').reverse();
|
|
235
235
|
const indexMap = new Map();
|
|
236
236
|
activeToasts.forEach((t, i) => indexMap.set(t.id, i));
|
|
237
|
-
return (index.h("div", { key: '
|
|
237
|
+
return (index.h("div", { key: '4cf4413f350c2a1adc475c567d874252b1786e91', class: "sd-toast-container", style: this.getContainerStyles(), onMouseEnter: () => {
|
|
238
238
|
this.expanded = true;
|
|
239
239
|
this.pauseTimers();
|
|
240
240
|
}, onMouseLeave: () => {
|
|
@@ -250,7 +250,7 @@ const SdToastContainer = class {
|
|
|
250
250
|
}, style: this.getToastItemStyle(entry, frontIndex, activeToasts), ref: el => {
|
|
251
251
|
if (el)
|
|
252
252
|
this.toastRefs.set(entry.id, el);
|
|
253
|
-
}, onTransitionEnd: () => this.handleTransitionEnd(entry.id) }, index.h("sd-toast", { message: entry.options.message, type: entry.options.type || 'default', icon: entry.options.icon, link: entry.options.link, linkLabel: entry.options.linkLabel, useClose: entry.options.useClose, onSdClose: () => this.startDismiss(entry.id) })));
|
|
253
|
+
}, onTransitionEnd: () => this.handleTransitionEnd(entry.id) }, index.h("sd-toast", { message: entry.options.message, type: entry.options.type || 'default', icon: entry.options.icon, link: entry.options.link, linkLabel: entry.options.linkLabel, buttonLabel: entry.options.buttonLabel, useClose: entry.options.useClose, onSdClose: () => this.startDismiss(entry.id), onSdButtonClick: (event) => entry.options.onButtonClick?.(event.detail) })));
|
|
254
254
|
})));
|
|
255
255
|
}
|
|
256
256
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index
|
|
3
|
+
var index = require('./index-Cw-78mnC.js');
|
|
4
4
|
|
|
5
5
|
const toast = {
|
|
6
6
|
icon: "16",
|
|
@@ -23,43 +23,73 @@ const toast = {
|
|
|
23
23
|
accent: {
|
|
24
24
|
bg: "#005CC9",
|
|
25
25
|
content: "#FFFFFF"
|
|
26
|
-
}
|
|
26
|
+
},
|
|
27
|
+
info: {
|
|
28
|
+
bg: "#E6F1FF",
|
|
29
|
+
icon: "#0075FF",
|
|
30
|
+
text: "#222222",
|
|
31
|
+
textLink: "#555555"
|
|
32
|
+
}
|
|
33
|
+
};
|
|
27
34
|
var toastTokens = {
|
|
28
35
|
toast: toast
|
|
29
36
|
};
|
|
30
37
|
|
|
38
|
+
const TOAST_BUTTON_NAME_BY_TYPE = {
|
|
39
|
+
default: 'secondary_sm',
|
|
40
|
+
danger: 'danger_outline_sm',
|
|
41
|
+
caution: 'neutral_outline_sm',
|
|
42
|
+
complete: 'neutral_outline_sm',
|
|
43
|
+
accent: 'neutral_outline_sm',
|
|
44
|
+
info: 'secondary_sm',
|
|
45
|
+
};
|
|
31
46
|
const TOAST_TYPE_CONFIG = {
|
|
32
47
|
default: { bg: toastTokens.toast.default.bg, content: toastTokens.toast.default.content },
|
|
33
48
|
danger: { bg: toastTokens.toast.danger.bg, content: toastTokens.toast.danger.content },
|
|
34
49
|
caution: { bg: toastTokens.toast.caution.bg, content: toastTokens.toast.caution.content },
|
|
35
50
|
complete: { bg: toastTokens.toast.complete.bg, content: toastTokens.toast.complete.content },
|
|
36
51
|
accent: { bg: toastTokens.toast.accent.bg, content: toastTokens.toast.accent.content },
|
|
52
|
+
info: {
|
|
53
|
+
bg: toastTokens.toast.info.bg,
|
|
54
|
+
content: toastTokens.toast.info.text,
|
|
55
|
+
icon: toastTokens.toast.info.icon,
|
|
56
|
+
linkColor: toastTokens.toast.info.textLink,
|
|
57
|
+
},
|
|
37
58
|
};
|
|
38
59
|
const TOAST_LAYOUT = {
|
|
39
60
|
iconSize: toastTokens.toast.icon,
|
|
40
61
|
};
|
|
41
62
|
|
|
42
|
-
const sdToastCss = () => `sd-toast{display:block;width:fit-content;height:fit-content}sd-toast .sd-toast{display:flex;width:fit-content;align-items:center;gap:var(--sd-toast-gap, 16px);padding:var(--sd-toast-padding-y, 12px) var(--sd-toast-padding-x, 24px);border-radius:var(--sd-toast-radius, 8px);background-color:var(--sd-toast-bg);color:var(--sd-toast-text);box-shadow:2px 2px 8px 2px rgba(0, 0, 0, 0.2)}sd-toast .sd-toast__icon{display:flex;align-items:center;flex-shrink:0}sd-toast .sd-toast__content{display:flex;flex:1}sd-toast .sd-toast__message{font-size:14px;line-height:24px;font-weight:
|
|
63
|
+
const sdToastCss = () => `sd-toast{display:block;width:fit-content;height:fit-content}sd-toast .sd-toast{display:flex;width:fit-content;align-items:center;gap:var(--sd-toast-gap, 16px);padding:var(--sd-toast-padding-y, 12px) var(--sd-toast-padding-x, 24px);border-radius:var(--sd-toast-radius, 8px);background-color:var(--sd-toast-bg);color:var(--sd-toast-text);box-shadow:2px 2px 8px 2px rgba(0, 0, 0, 0.2)}sd-toast .sd-toast__icon{display:flex;align-items:center;flex-shrink:0}sd-toast .sd-toast__content{display:flex;flex:1}sd-toast .sd-toast__message{font-size:14px;line-height:24px;font-weight:500;white-space:nowrap}sd-toast .sd-toast__link{font-size:14px;line-height:24px;font-weight:700;color:var(--sd-toast-link, var(--sd-toast-text));text-decoration:underline;cursor:pointer;transition:opacity 0.2s ease;margin-left:4px;white-space:nowrap}sd-toast .sd-toast__link:hover{opacity:0.8}sd-toast .sd-toast__button{flex-shrink:0}sd-toast .sd-toast__close{flex-shrink:0}`;
|
|
43
64
|
|
|
44
65
|
const SdToast = class {
|
|
45
66
|
constructor(hostRef) {
|
|
46
67
|
index.registerInstance(this, hostRef);
|
|
47
68
|
this.close = index.createEvent(this, "sdClose", 7);
|
|
69
|
+
this.buttonClick = index.createEvent(this, "sdButtonClick", 7);
|
|
48
70
|
}
|
|
49
71
|
icon;
|
|
50
72
|
message;
|
|
51
73
|
link;
|
|
52
74
|
linkLabel;
|
|
75
|
+
buttonLabel;
|
|
53
76
|
useClose = false;
|
|
54
77
|
type = 'default';
|
|
55
78
|
close;
|
|
79
|
+
buttonClick;
|
|
56
80
|
render() {
|
|
57
81
|
const typeConfig = TOAST_TYPE_CONFIG[this.type] ?? TOAST_TYPE_CONFIG.default;
|
|
58
82
|
const iconSize = Number(TOAST_LAYOUT.iconSize);
|
|
59
|
-
|
|
83
|
+
const iconColor = typeConfig.icon ?? typeConfig.content;
|
|
84
|
+
const linkColor = typeConfig.linkColor ?? typeConfig.content;
|
|
85
|
+
const useDefaultCloseIntent = ['default', 'caution', 'info'].includes(this.type);
|
|
86
|
+
const buttonName = TOAST_BUTTON_NAME_BY_TYPE[this.type] ?? TOAST_BUTTON_NAME_BY_TYPE.default;
|
|
87
|
+
return (index.h("div", { key: 'edab2d1d8ac8222a988d38279f1a002281454f51', style: {
|
|
60
88
|
'--sd-toast-bg': typeConfig.bg,
|
|
61
89
|
'--sd-toast-text': typeConfig.content,
|
|
62
|
-
|
|
90
|
+
'--sd-toast-icon': iconColor,
|
|
91
|
+
'--sd-toast-link': linkColor,
|
|
92
|
+
} }, index.h("div", { key: '8dd98dd58cdf003ce031e5ae96b749a037333ce1', class: "sd-toast", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.icon && (index.h("div", { key: '2b78cbc4fe96cc00d444fb49956da1fe245993ef', class: "sd-toast__icon" }, index.h("sd-icon", { key: '679852c9a19046ce1d2c9a0cdb4346f6e23c77fb', name: this.icon, size: iconSize, color: iconColor }))), index.h("div", { key: '2798bd2392e9fc3c4c0375d894572da13d3d7e25', class: "sd-toast__content" }, index.h("span", { key: '76ab798742baa63b21bda60867cbeb5aa20f7957', class: "sd-toast__message" }, this.message)), this.link && (index.h("a", { key: '6eb61ca5737f9af06ad63cfcef671e46ecc8de47', href: this.link, class: "sd-toast__link", target: "_blank", rel: "noopener noreferrer" }, this.linkLabel || this.link)), this.buttonLabel && (index.h("sd-button", { key: '6c1ad7d494c7cc218b1058fec1ed3e42af0c83fc', class: "sd-toast__button", name: buttonName, label: this.buttonLabel, onSdClick: (event) => this.buttonClick.emit(event.detail) })), this.useClose && (index.h("sd-ghost-button", { key: '32dd9adcc951a3a852bf20540376bd4d7ced7526', class: "sd-toast__close", icon: "close", intent: useDefaultCloseIntent ? 'default' : 'inverse', ariaLabel: "close", size: "xs", onClick: () => this.close.emit() })))));
|
|
63
93
|
}
|
|
64
94
|
};
|
|
65
95
|
SdToast.style = sdToastCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index
|
|
3
|
+
var index = require('./index-Cw-78mnC.js');
|
|
4
4
|
|
|
5
5
|
const toggle = {
|
|
6
6
|
height: "28",
|
|
@@ -120,7 +120,7 @@ const SdToggle = class {
|
|
|
120
120
|
'--sd-toggle-content-select': TOGGLE_COLORS.content.select,
|
|
121
121
|
'--sd-toggle-content-disabled': TOGGLE_COLORS.content.disabled,
|
|
122
122
|
};
|
|
123
|
-
return (index.h("label", { key: '
|
|
123
|
+
return (index.h("label", { key: '0b8273ed8f8efae70de32b92671bbd1353e877dc', class: this.toggleClasses, style: cssVars, "aria-label": this.label || 'toggle' }, this.label, index.h("input", { key: '2ec9909142463f8ba556ad885cb7f97bedad6b31', style: { display: 'none' }, type: "checkbox", onInput: this.handleChange })));
|
|
124
124
|
}
|
|
125
125
|
};
|
|
126
126
|
SdToggle.style = sdToggleCss();
|
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
const color = {
|
|
4
4
|
bg: {
|
|
5
|
+
frame: "#FFFFFF",
|
|
5
6
|
accent: {
|
|
6
7
|
"default": "#0075FF"}},
|
|
7
8
|
fg: {
|
|
8
9
|
primary: "#222222",
|
|
9
10
|
secondary: "#555555",
|
|
10
11
|
tertiary: "#888888",
|
|
12
|
+
success: "#00973C",
|
|
13
|
+
accent: "#0075FF",
|
|
11
14
|
inverse: "#FFFFFF"
|
|
12
15
|
},
|
|
13
16
|
blue: {
|
|
@@ -17,7 +20,6 @@ const color = {
|
|
|
17
20
|
grey: {
|
|
18
21
|
strong: "#737373"}};
|
|
19
22
|
var systemTokens = {
|
|
20
|
-
color: color
|
|
21
|
-
};
|
|
23
|
+
color: color};
|
|
22
24
|
|
|
23
25
|
exports.systemTokens = systemTokens;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index
|
|
3
|
+
var index = require('./index-Cw-78mnC.js');
|
|
4
4
|
|
|
5
5
|
const TooltipArrow = (props) => (index.h("svg", { width: "16", height: "12", viewBox: "0 0 16 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, index.h("path", { d: "M8.83205 10.7519C8.43623 11.3457 7.56377 11.3457 7.16795 10.7519L1.04907e-06 -1.39876e-06L16 0L8.83205 10.7519Z", fill: "currentColor" })));
|
|
6
6
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"entries": [
|
|
3
|
-
"components/sd-button/sd-button.js",
|
|
4
3
|
"components/sd-calendar/sd-calendar.js",
|
|
5
4
|
"components/sd-checkbox/sd-checkbox.js",
|
|
6
5
|
"components/sd-date-box/sd-date-box.js",
|
|
7
6
|
"components/sd-date-range-picker/sd-date-range-picker.js",
|
|
8
7
|
"components/sd-form/sd-form.js",
|
|
9
8
|
"components/sd-guide/sd-guide.js",
|
|
9
|
+
"components/sd-button/sd-button.js",
|
|
10
|
+
"components/sd-text-link/sd-text-link.js",
|
|
10
11
|
"components/sd-popover/sd-popover.js",
|
|
11
12
|
"components/sd-radio/sd-radio.js",
|
|
12
13
|
"components/sd-radio-button/sd-radio-button.js",
|
|
13
14
|
"components/sd-radio-group/sd-radio-group.js",
|
|
14
15
|
"components/sd-action-modal/sd-action-modal.js",
|
|
15
16
|
"components/sd-ghost-button/sd-ghost-button.js",
|
|
16
|
-
"components/sd-button-v2/sd-button-v2.js",
|
|
17
17
|
"components/sd-badge/sd-badge.js",
|
|
18
18
|
"components/sd-barcode-input/sd-barcode-input.js",
|
|
19
19
|
"components/sd-card/sd-card.js",
|
|
@@ -32,12 +32,14 @@
|
|
|
32
32
|
"components/sd-file-picker/sd-file-picker.js",
|
|
33
33
|
"components/sd-floating-portal/sd-floating-portal.js",
|
|
34
34
|
"components/sd-input/sd-input.js",
|
|
35
|
+
"components/sd-key-value-table/sd-key-value-table.js",
|
|
35
36
|
"components/sd-linear-progress/sd-linear-progress.js",
|
|
36
37
|
"components/sd-loading-container/sd-loading-container.js",
|
|
37
38
|
"components/sd-loading-modal/sd-loading-modal.js",
|
|
38
39
|
"components/sd-modal-container/sd-modal-container.js",
|
|
39
40
|
"components/sd-number-input/sd-number-input.js",
|
|
40
41
|
"components/sd-pagination/sd-pagination.js",
|
|
42
|
+
"components/sd-popup/sd-popup.js",
|
|
41
43
|
"components/sd-select/sd-select.js",
|
|
42
44
|
"components/sd-select/sd-select-trigger/sd-select-trigger.js",
|
|
43
45
|
"components/sd-select/sd-select-list-item/sd-select-list-item.js",
|
|
@@ -50,7 +52,6 @@
|
|
|
50
52
|
"components/sd-table/sd-thead/sd-thead.js",
|
|
51
53
|
"components/sd-table/sd-tr/sd-tr.js",
|
|
52
54
|
"components/sd-tabs/sd-tabs.js",
|
|
53
|
-
"components/sd-text-link/sd-text-link.js",
|
|
54
55
|
"components/sd-textarea/sd-textarea.js",
|
|
55
56
|
"components/sd-toast/sd-toast.js",
|
|
56
57
|
"components/sd-toast-container/sd-toast-container.js",
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
export const CheckboxCheck = (props) => {
|
|
3
|
+
const { size = 12, ...rest } = props;
|
|
4
|
+
return (h("svg", { width: size, height: size, viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest }, h("path", { d: "M10.5962 3.19751L5.02773 8.76598C4.97891 8.81479 4.89977 8.81479 4.85095 8.76598L1.40381 5.31883", stroke: "currentColor", "stroke-width": "1.25", "stroke-linecap": "round" })));
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
export const CheckboxIndeterminate = (props) => {
|
|
3
|
+
const { size = 12, ...rest } = props;
|
|
4
|
+
return (h("svg", { width: size, height: size, viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest }, h("path", { d: "M2 6H10", stroke: "currentColor", "stroke-width": "1.25", "stroke-linecap": "round" })));
|
|
5
|
+
};
|
|
@@ -21,6 +21,8 @@ import { CaretUp } from "./CaretUp";
|
|
|
21
21
|
import { Check } from "./Check";
|
|
22
22
|
import { CheckFill } from "./CheckFill";
|
|
23
23
|
import { CheckOutline } from "./CheckOutline";
|
|
24
|
+
import { CheckboxCheck } from "./CheckboxCheck";
|
|
25
|
+
import { CheckboxIndeterminate } from "./CheckboxIndeterminate";
|
|
24
26
|
import { ChevronDown } from "./ChevronDown";
|
|
25
27
|
import { ChevronLeft } from "./ChevronLeft";
|
|
26
28
|
import { ChevronLeftEnd } from "./ChevronLeftEnd";
|
|
@@ -100,6 +102,8 @@ export const Icons = {
|
|
|
100
102
|
check: Check,
|
|
101
103
|
checkFill: CheckFill,
|
|
102
104
|
checkOutline: CheckOutline,
|
|
105
|
+
checkboxCheck: CheckboxCheck,
|
|
106
|
+
checkboxIndeterminate: CheckboxIndeterminate,
|
|
103
107
|
chevronDown: ChevronDown,
|
|
104
108
|
chevronLeft: ChevronLeft,
|
|
105
109
|
chevronLeftEnd: ChevronLeftEnd,
|
|
@@ -59,7 +59,7 @@ sd-action-modal .sd-action-modal__footer {
|
|
|
59
59
|
background: var(--sd-action-modal-footer-bg);
|
|
60
60
|
border-top: 1px solid var(--sd-action-modal-footer-border);
|
|
61
61
|
}
|
|
62
|
-
sd-action-modal .sd-action-modal__footer > sd-button
|
|
62
|
+
sd-action-modal .sd-action-modal__footer > sd-button {
|
|
63
63
|
margin-left: auto;
|
|
64
64
|
}
|
|
65
65
|
sd-action-modal .sd-action-modal__footer-sub {
|