@sellmate/design-system 1.5.0 → 1.6.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-qOFez3z3.js → component.table-DIxmbGBT.js} +4 -1
- package/dist/cjs/design-system.cjs.js +2 -2
- package/dist/cjs/{index-Cw-78mnC.js → index-BGwB03Tk.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/sd-action-modal.cjs.entry.js +1 -1
- package/dist/cjs/sd-badge.cjs.entry.js +1 -1
- package/dist/cjs/sd-barcode-input.cjs.entry.js +1 -1
- package/dist/cjs/{sd-button.config-DH08UNfl.js → sd-button.config-BSHkfgdC.js} +17 -12
- package/dist/cjs/sd-button_2.cjs.entry.js +2 -2
- package/dist/cjs/sd-calendar_2.cjs.entry.js +1 -1
- package/dist/cjs/sd-callout.cjs.entry.js +1 -1
- package/dist/cjs/sd-card.cjs.entry.js +1 -1
- package/dist/cjs/sd-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/sd-chip.cjs.entry.js +1 -1
- package/dist/cjs/sd-circle-progress.cjs.entry.js +2 -2
- package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +2 -2
- package/dist/cjs/sd-date-box.cjs.entry.js +1 -1
- package/dist/cjs/sd-date-picker_7.cjs.entry.js +11 -8
- package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +1 -1
- package/dist/cjs/sd-divider.cjs.entry.js +27 -0
- package/dist/cjs/sd-dropdown-button.cjs.entry.js +47 -22
- package/dist/cjs/sd-field_3.cjs.entry.js +5 -5
- package/dist/cjs/sd-form.cjs.entry.js +1 -1
- package/dist/cjs/sd-ghost-button.cjs.entry.js +1 -1
- package/dist/cjs/sd-guide.cjs.entry.js +2 -2
- package/dist/cjs/sd-key-value-table.cjs.entry.js +3 -3
- 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 +1 -1
- package/dist/cjs/sd-pagination_4.cjs.entry.js +31 -51
- package/dist/cjs/sd-popover.cjs.entry.js +5 -6
- package/dist/cjs/sd-popup.cjs.entry.js +3 -3
- package/dist/cjs/sd-portal.cjs.entry.js +1 -1
- package/dist/cjs/sd-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/sd-radio.cjs.entry.js +1 -1
- package/dist/cjs/sd-select-list-item_2.cjs.entry.js +7 -7
- package/dist/cjs/sd-select_3.cjs.entry.js +9 -9
- package/dist/cjs/sd-switch.cjs.entry.js +2 -2
- package/dist/cjs/sd-table.cjs.entry.js +15 -49
- package/dist/cjs/{sd-table.config-DqgNOdXO.js → sd-table.config-BjJW74Zx.js} +7 -3
- package/dist/cjs/sd-tabs.cjs.entry.js +2 -2
- package/dist/cjs/sd-tag.cjs.entry.js +1 -1
- package/dist/cjs/sd-td.cjs.entry.js +2 -2
- package/dist/cjs/sd-text-link.cjs.entry.js +1 -1
- package/dist/cjs/sd-toast-container.cjs.entry.js +2 -2
- package/dist/cjs/sd-toast.cjs.entry.js +3 -3
- package/dist/cjs/sd-toggle.cjs.entry.js +2 -2
- package/dist/cjs/{system-wrt-tcOq.js → system-CdAyz3ej.js} +3 -0
- package/dist/cjs/{tooltipArrow-BjSFKIUq.js → tooltipArrow-COD-SNZL.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/sd-divider/sd-divider.config.js +4 -0
- package/dist/collection/components/sd-divider/sd-divider.css +25 -0
- package/dist/collection/components/sd-divider/sd-divider.js +47 -0
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.config.js +3 -3
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.css +29 -10
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +74 -15
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
- package/dist/collection/components/sd-input/sd-input.js +2 -2
- package/dist/collection/components/sd-linear-progress/sd-linear-progress.js +1 -1
- package/dist/collection/components/sd-loading-container/sd-loading-container.js +2 -2
- package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +1 -1
- package/dist/collection/components/sd-number-input/sd-number-input.js +75 -4
- package/dist/collection/components/sd-pagination/sd-pagination.js +3 -3
- package/dist/collection/components/sd-popover/sd-popover.js +3 -24
- package/dist/collection/components/sd-popup/sd-popup.js +1 -1
- package/dist/collection/components/sd-select/sd-select-list-item/sd-select-list-item.js +2 -2
- package/dist/collection/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.js +4 -4
- package/dist/collection/components/sd-select/sd-select-listbox/sd-select-listbox.js +2 -2
- package/dist/collection/components/sd-select/sd-select-trigger/sd-select-trigger.js +2 -2
- package/dist/collection/components/sd-select/sd-select.js +4 -4
- package/dist/collection/components/sd-switch/sd-switch.js +1 -1
- package/dist/collection/components/sd-table/sd-table.config.js +4 -1
- package/dist/collection/components/sd-table/sd-table.css +1 -1
- package/dist/collection/components/sd-table/sd-table.js +17 -51
- package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +2 -2
- package/dist/collection/components/sd-table/sd-td/sd-td.js +1 -1
- package/dist/collection/components/sd-table/sd-thead/sd-thead.css +15 -5
- package/dist/collection/components/sd-table/sd-thead/sd-thead.js +6 -5
- package/dist/collection/components/sd-table/sd-tr/sd-tr.css +6 -7
- package/dist/collection/components/sd-table/sd-tr/sd-tr.js +20 -40
- package/dist/collection/components/sd-tabs/sd-tabs.js +1 -1
- package/dist/collection/components/sd-textarea/sd-textarea.js +1 -1
- package/dist/collection/components/sd-toast/sd-toast.js +2 -2
- package/dist/collection/components/sd-toast-container/sd-toast-container.js +1 -1
- package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
- package/dist/collection/components/sd-tooltip/sd-tooltip.js +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/{p-CJ-QHG0F.js → p-2aQ4cVXp.js} +1 -1
- package/dist/components/{p-fpzgqVv1.js → p-BCeq6-MU.js} +1 -1
- package/dist/components/{p-wOAxmZ1V.js → p-BDJJQALT.js} +1 -1
- package/dist/components/p-BE-21GLH.js +1 -0
- package/dist/components/{p-C54v30vB.js → p-BNUsawW7.js} +1 -1
- package/dist/components/{p-BZCvsLRf.js → p-BUW6I_d5.js} +1 -1
- package/dist/components/{p-FKKk7Bk8.js → p-BYRvYsiC.js} +1 -1
- package/dist/components/{p-IThoLpLs.js → p-BYU3wOaN.js} +1 -1
- package/dist/components/{p-Cvk-Luhs.js → p-BZRMoE3E.js} +1 -1
- package/dist/components/{p-DmaopssQ.js → p-B_2U9h3P.js} +1 -1
- package/dist/{design-system/p-C29HUShl.js → components/p-BasCjDiE.js} +1 -1
- package/dist/components/p-BqYASycS.js +1 -0
- package/dist/components/{p-VuxN5d2D.js → p-CAP-9lnL.js} +1 -1
- package/dist/components/{p-Co3H5873.js → p-CARYLqH9.js} +1 -1
- package/dist/components/{p-BZabVWBD.js → p-CJRGLvgC.js} +1 -1
- package/dist/components/{p-m_OtjUs1.js → p-CK6jFkqR.js} +1 -1
- package/dist/components/{p-DrrsZftV.js → p-CRq8zgt_.js} +1 -1
- package/dist/components/{p-BqrZA_Nl.js → p-CSbyXQa9.js} +1 -1
- package/dist/components/p-CvfW21oo.js +1 -0
- package/dist/components/{p-BGb86o0p.js → p-CwQTEZWO.js} +1 -1
- package/dist/components/{p-BSQsJHnV.js → p-Cye8r1MG.js} +1 -1
- package/dist/components/{p-J3eT660D.js → p-D4mjSR0u.js} +1 -1
- package/dist/components/{p-DQFHAKL_.js → p-D6GUzecR.js} +1 -1
- package/dist/components/p-DGyTYauz.js +1 -0
- package/dist/components/{p-BLhu2So8.js → p-DP0Dp12H.js} +1 -1
- package/dist/components/{p-BSfu4DO2.js → p-DQj-S8AC.js} +1 -1
- package/dist/components/{p-uHITnW_J.js → p-DSIM5Mkt.js} +1 -1
- package/dist/components/{p-DeK3og10.js → p-DZ_3ZYMC.js} +1 -1
- package/dist/components/{p-D7nYP2a4.js → p-DfKa36bs.js} +1 -1
- package/dist/components/p-DoREs-rv.js +1 -0
- package/dist/components/{p-DyZNk1VT.js → p-Dwko_Bx3.js} +1 -1
- package/dist/components/{p-AO2RGdjH.js → p-EcuI_UmK.js} +1 -1
- package/dist/components/p-_zllPZMm.js +1 -0
- package/dist/components/p-j2khhcHY.js +1 -0
- package/dist/components/{p-D5inekTL.js → p-lOVBaLB7.js} +1 -1
- package/dist/components/{p-CbXb6ylI.js → p-pTx5xpqU.js} +1 -1
- package/dist/components/p-pwNG5WaX.js +1 -0
- package/dist/components/{p-yH47DvUh.js → p-sRzhIrJR.js} +1 -1
- package/dist/components/{p-CgYjGJEh.js → p-uVZjhyvS.js} +1 -1
- package/dist/components/{p-B3sb3aIX.js → p-z564gmGG.js} +1 -1
- package/dist/components/sd-action-modal.js +1 -1
- package/dist/components/sd-badge.js +1 -1
- package/dist/components/sd-barcode-input.js +1 -1
- package/dist/components/sd-button.js +1 -1
- package/dist/components/sd-calendar.js +1 -1
- package/dist/components/sd-callout.js +1 -1
- package/dist/components/sd-card.js +1 -1
- package/dist/components/sd-checkbox.js +1 -1
- package/dist/components/sd-chip.js +1 -1
- package/dist/components/sd-circle-progress.js +1 -1
- package/dist/components/sd-confirm-modal.js +1 -1
- package/dist/components/sd-date-box.js +1 -1
- package/dist/components/sd-date-picker-trigger.js +1 -1
- package/dist/components/sd-date-picker.js +1 -1
- package/dist/components/sd-date-range-picker-calendar.js +1 -1
- package/dist/components/sd-date-range-picker.js +1 -1
- package/dist/components/sd-divider.d.ts +11 -0
- package/dist/components/sd-divider.js +1 -0
- package/dist/components/sd-dropdown-button.js +1 -1
- package/dist/components/sd-field.js +1 -1
- package/dist/components/sd-file-picker.js +1 -1
- package/dist/components/sd-floating-portal.js +1 -1
- package/dist/components/sd-form.js +1 -1
- package/dist/components/sd-ghost-button.js +1 -1
- package/dist/components/sd-guide.js +1 -1
- package/dist/components/sd-icon.js +1 -1
- package/dist/components/sd-input.js +1 -1
- package/dist/components/sd-key-value-table.js +1 -1
- package/dist/components/sd-linear-progress.js +1 -1
- package/dist/components/sd-loading-container.js +1 -1
- package/dist/components/sd-loading-modal.js +1 -1
- package/dist/components/sd-modal-container.js +1 -1
- package/dist/components/sd-number-input.js +1 -1
- package/dist/components/sd-pagination.js +1 -1
- package/dist/components/sd-popover.js +1 -1
- package/dist/components/sd-popup.js +1 -1
- package/dist/components/sd-portal.js +1 -1
- package/dist/components/sd-radio-button.js +1 -1
- package/dist/components/sd-radio-group.js +1 -1
- package/dist/components/sd-radio.js +1 -1
- package/dist/components/sd-select-list-item-search.js +1 -1
- package/dist/components/sd-select-list-item.js +1 -1
- package/dist/components/sd-select-listbox.js +1 -1
- package/dist/components/sd-select-trigger.js +1 -1
- package/dist/components/sd-select.js +1 -1
- package/dist/components/sd-switch.js +1 -1
- package/dist/components/sd-table.js +1 -1
- package/dist/components/sd-tabs.js +1 -1
- package/dist/components/sd-tag.js +1 -1
- package/dist/components/sd-tbody.js +1 -1
- package/dist/components/sd-td.js +1 -1
- package/dist/components/sd-text-link.js +1 -1
- package/dist/components/sd-textarea.js +1 -1
- package/dist/components/sd-thead.js +1 -1
- package/dist/components/sd-toast-container.js +1 -1
- package/dist/components/sd-toast.js +1 -1
- package/dist/components/sd-toggle.js +1 -1
- package/dist/components/sd-tooltip.js +1 -1
- package/dist/components/sd-tr.js +1 -1
- package/dist/design-system/design-system.css +1 -1
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/{p-819e28fe.entry.js → p-07b0d118.entry.js} +1 -1
- package/dist/design-system/{p-d39e515d.entry.js → p-0964c79a.entry.js} +1 -1
- package/dist/design-system/{p-eae21a79.entry.js → p-1219699a.entry.js} +1 -1
- package/dist/design-system/{p-b868d747.entry.js → p-1743651a.entry.js} +1 -1
- package/dist/design-system/{p-435ae69e.entry.js → p-17883b40.entry.js} +1 -1
- package/dist/design-system/p-18057222.entry.js +1 -0
- package/dist/design-system/{p-0894c492.entry.js → p-18d3ae55.entry.js} +1 -1
- package/dist/design-system/{p-3f4a281f.entry.js → p-1aafbc7b.entry.js} +1 -1
- package/dist/design-system/{p-4473c051.entry.js → p-20a2e0d2.entry.js} +1 -1
- package/dist/design-system/{p-399d416c.entry.js → p-25fad267.entry.js} +1 -1
- package/dist/design-system/{p-c3e4853c.entry.js → p-2c0a8333.entry.js} +1 -1
- package/dist/design-system/p-3a848c36.entry.js +1 -0
- package/dist/design-system/{p-b8e34533.entry.js → p-4b43648c.entry.js} +1 -1
- package/dist/design-system/{p-843d4b16.entry.js → p-4bd9f005.entry.js} +1 -1
- package/dist/design-system/{p-61f4238b.entry.js → p-4cf1c8ae.entry.js} +1 -1
- package/dist/design-system/{p-9681b0ba.entry.js → p-521e5d2e.entry.js} +1 -1
- package/dist/design-system/p-54086285.entry.js +1 -0
- package/dist/design-system/{p-aeccfb2b.entry.js → p-696764b0.entry.js} +1 -1
- package/dist/design-system/{p-795bae4c.entry.js → p-70f47e43.entry.js} +1 -1
- package/dist/design-system/{p-c7099e9e.entry.js → p-733aa107.entry.js} +1 -1
- package/dist/design-system/{p-352c68ae.entry.js → p-7444d475.entry.js} +1 -1
- package/dist/design-system/{p-03badf68.entry.js → p-840f592d.entry.js} +1 -1
- package/dist/design-system/{p-d3cc8538.entry.js → p-8d2815cf.entry.js} +1 -1
- package/dist/design-system/{p-9404ab06.entry.js → p-8fc49d2d.entry.js} +1 -1
- package/dist/design-system/{p-aac84d22.entry.js → p-95bbba4f.entry.js} +1 -1
- package/dist/design-system/p-969665c0.entry.js +1 -0
- package/dist/design-system/{p-fa670cc4.entry.js → p-97b405aa.entry.js} +1 -1
- package/dist/design-system/p-C7p6g_sM.js +1 -0
- package/dist/design-system/{p-DQFHAKL_.js → p-D6GUzecR.js} +1 -1
- package/dist/design-system/p-DGyTYauz.js +1 -0
- package/dist/design-system/p-DNWwGHho.js +2 -0
- package/dist/design-system/p-LIf7YMBN.js +1 -0
- package/dist/design-system/{p-1e530c87.entry.js → p-a5930cbd.entry.js} +1 -1
- package/dist/design-system/{p-2bdceecb.entry.js → p-a6c9baa5.entry.js} +1 -1
- package/dist/design-system/{p-4a91875c.entry.js → p-afdca5bb.entry.js} +1 -1
- package/dist/design-system/{p-00b2c850.entry.js → p-b08ca29b.entry.js} +1 -1
- package/dist/design-system/p-c5c4a66b.entry.js +1 -0
- package/dist/design-system/p-c73cadc7.entry.js +1 -0
- package/dist/design-system/{p-679bce6c.entry.js → p-d8292621.entry.js} +1 -1
- package/dist/design-system/{p-339cb954.entry.js → p-deec1ef0.entry.js} +1 -1
- package/dist/design-system/{p-d226bd61.entry.js → p-e6bd8ab1.entry.js} +1 -1
- package/dist/design-system/{p-e902a3f4.entry.js → p-e9079238.entry.js} +1 -1
- package/dist/design-system/{p-14e30f67.entry.js → p-ea17a361.entry.js} +1 -1
- package/dist/design-system/{p-a71d4947.entry.js → p-eef5f8d7.entry.js} +1 -1
- package/dist/design-system/{p-8ee990bd.entry.js → p-f97b75d3.entry.js} +1 -1
- package/dist/design-system/{p-06a6798d.entry.js → p-ff33d019.entry.js} +1 -1
- package/dist/design-system/p-j2khhcHY.js +1 -0
- package/dist/esm/{component.table-DQFHAKL_.js → component.table-D6GUzecR.js} +4 -1
- package/dist/esm/design-system.js +3 -3
- package/dist/esm/{index-0U6dRjlq.js → index-DNWwGHho.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/sd-action-modal.entry.js +1 -1
- package/dist/esm/sd-badge.entry.js +1 -1
- package/dist/esm/sd-barcode-input.entry.js +1 -1
- package/dist/esm/{sd-button.config-BDjErF_K.js → sd-button.config-C7p6g_sM.js} +17 -12
- package/dist/esm/sd-button_2.entry.js +2 -2
- package/dist/esm/sd-calendar_2.entry.js +1 -1
- package/dist/esm/sd-callout.entry.js +1 -1
- package/dist/esm/sd-card.entry.js +1 -1
- package/dist/esm/sd-checkbox.entry.js +1 -1
- package/dist/esm/sd-chip.entry.js +1 -1
- package/dist/esm/sd-circle-progress.entry.js +2 -2
- package/dist/esm/sd-confirm-modal_2.entry.js +2 -2
- package/dist/esm/sd-date-box.entry.js +1 -1
- package/dist/esm/sd-date-picker_7.entry.js +11 -8
- package/dist/esm/sd-date-range-picker-calendar.entry.js +1 -1
- package/dist/esm/sd-divider.entry.js +25 -0
- package/dist/esm/sd-dropdown-button.entry.js +47 -22
- package/dist/esm/sd-field_3.entry.js +5 -5
- package/dist/esm/sd-form.entry.js +1 -1
- package/dist/esm/sd-ghost-button.entry.js +1 -1
- package/dist/esm/sd-guide.entry.js +2 -2
- package/dist/esm/sd-key-value-table.entry.js +3 -3
- 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 +1 -1
- package/dist/esm/sd-pagination_4.entry.js +31 -51
- package/dist/esm/sd-popover.entry.js +5 -6
- package/dist/esm/sd-popup.entry.js +3 -3
- package/dist/esm/sd-portal.entry.js +1 -1
- package/dist/esm/sd-radio-button.entry.js +1 -1
- package/dist/esm/sd-radio.entry.js +1 -1
- package/dist/esm/sd-select-list-item_2.entry.js +7 -7
- package/dist/esm/sd-select_3.entry.js +9 -9
- package/dist/esm/sd-switch.entry.js +2 -2
- package/dist/esm/{sd-table.config-CFHtQ8LX.js → sd-table.config-D9meRqTx.js} +7 -4
- package/dist/esm/sd-table.entry.js +15 -49
- package/dist/esm/sd-tabs.entry.js +2 -2
- package/dist/esm/sd-tag.entry.js +1 -1
- package/dist/esm/sd-td.entry.js +2 -2
- package/dist/esm/sd-text-link.entry.js +1 -1
- package/dist/esm/sd-toast-container.entry.js +2 -2
- package/dist/esm/sd-toast.entry.js +3 -3
- package/dist/esm/sd-toggle.entry.js +2 -2
- package/dist/esm/{system-DGlmvjGc.js → system-j2khhcHY.js} +3 -0
- package/dist/esm/{tooltipArrow-O5LOsHae.js → tooltipArrow-Cj3AqWK0.js} +1 -1
- package/dist/types/components/sd-divider/sd-divider.config.d.ts +3 -0
- package/dist/types/components/sd-divider/sd-divider.d.ts +5 -0
- package/dist/types/components/sd-dropdown-button/sd-dropdown-button.d.ts +5 -0
- package/dist/types/components/sd-number-input/sd-number-input.d.ts +4 -0
- package/dist/types/components/sd-popover/sd-popover.d.ts +0 -1
- package/dist/types/components/sd-table/sd-table.config.d.ts +2 -0
- package/dist/types/components/sd-table/sd-table.d.ts +1 -6
- package/dist/types/components/sd-table/sd-tr/sd-tr.d.ts +1 -5
- package/dist/types/components.d.ts +80 -21
- package/hydrate/index.js +192 -170
- package/hydrate/index.mjs +192 -170
- package/package.json +1 -1
- package/dist/components/p-BjkROjjt.js +0 -1
- package/dist/components/p-DChOBMCc.js +0 -1
- package/dist/components/p-DGlmvjGc.js +0 -1
- package/dist/components/p-DUcbofDO.js +0 -1
- package/dist/components/p-DZbc1mgp.js +0 -1
- package/dist/components/p-DdLntfiw.js +0 -1
- package/dist/components/p-DhTcn6jX.js +0 -1
- package/dist/components/p-HK6Bwtz8.js +0 -1
- package/dist/components/p-iCuIUhaK.js +0 -1
- package/dist/design-system/p-0U6dRjlq.js +0 -2
- package/dist/design-system/p-3d61e68f.entry.js +0 -1
- package/dist/design-system/p-40bdbe5a.entry.js +0 -1
- package/dist/design-system/p-786c72e9.entry.js +0 -1
- package/dist/design-system/p-78de36f2.entry.js +0 -1
- package/dist/design-system/p-92f368a2.entry.js +0 -1
- package/dist/design-system/p-BDjErF_K.js +0 -1
- package/dist/design-system/p-DGlmvjGc.js +0 -1
- package/dist/design-system/p-DZbc1mgp.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as tableTokens } from './component.table-
|
|
2
|
-
import { s as systemTokens } from './system-
|
|
1
|
+
import { t as tableTokens } from './component.table-D6GUzecR.js';
|
|
2
|
+
import { s as systemTokens } from './system-j2khhcHY.js';
|
|
3
3
|
|
|
4
4
|
// ── Header Tokens ──
|
|
5
5
|
const TABLE_HEADER_LAYOUT = {
|
|
@@ -48,9 +48,12 @@ const TABLE_BORDER = {
|
|
|
48
48
|
};
|
|
49
49
|
const TABLE_SEPARATOR = {
|
|
50
50
|
color: tableTokens.table.separator.color,
|
|
51
|
-
width: tableTokens.table.separator.
|
|
51
|
+
width: tableTokens.table.separator.width.default,
|
|
52
|
+
denseWidth: tableTokens.table.separator.width.dense,
|
|
52
53
|
};
|
|
53
54
|
const TABLE_RADIUS = tableTokens.table.radius;
|
|
55
|
+
// ── Selectable Column ──
|
|
56
|
+
const TABLE_SELECTABLE_COLUMN_WIDTH = 48;
|
|
54
57
|
// ── Header Icon Color Defaults ──
|
|
55
58
|
const ICON_DEFAULT_COLOR = {
|
|
56
59
|
pageEdit: systemTokens.color.darkblue.strong,
|
|
@@ -63,4 +66,4 @@ const ICON_DEFAULT_COLOR = {
|
|
|
63
66
|
const resolveTableIconColor = (name, override) => override ?? ICON_DEFAULT_COLOR[name];
|
|
64
67
|
const resolveSortIconName = (sort) => sort === 'asc' ? 'arrowDown' : sort === 'desc' ? 'arrowUp' : 'updown';
|
|
65
68
|
|
|
66
|
-
export { TABLE_BODY_LAYOUT as T,
|
|
69
|
+
export { TABLE_BODY_LAYOUT as T, TABLE_SELECTABLE_COLUMN_WIDTH as a, TABLE_BODY_TYPOGRAPHY as b, TABLE_BORDER as c, TABLE_RADIUS as d, resolveSortIconName as e, TABLE_HEADER_RESIZING_BAR as f, TABLE_HEADER_TYPOGRAPHY as g, TABLE_HEADER_COLORS as h, TABLE_HEADER_LAYOUT as i, TABLE_SEPARATOR as j, resolveTableIconColor as r };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, a as getElement, d as readTask, f as forceUpdate, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, a as getElement, d as readTask, f as forceUpdate, h, H as Host } from './index-DNWwGHho.js';
|
|
2
2
|
import { T as TABLE_ID_ATTR } from './constants-sZMi_32I.js';
|
|
3
|
-
import { T as TABLE_BODY_LAYOUT, a as
|
|
4
|
-
import './component.table-
|
|
5
|
-
import './system-
|
|
3
|
+
import { T as TABLE_BODY_LAYOUT, a as TABLE_SELECTABLE_COLUMN_WIDTH, b as TABLE_BODY_TYPOGRAPHY, c as TABLE_BORDER, d as TABLE_RADIUS } from './sd-table.config-D9meRqTx.js';
|
|
4
|
+
import './component.table-D6GUzecR.js';
|
|
5
|
+
import './system-j2khhcHY.js';
|
|
6
6
|
|
|
7
7
|
let urlAlphabet =
|
|
8
8
|
'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict';
|
|
@@ -17,7 +17,7 @@ let nanoid = (size = 21) => {
|
|
|
17
17
|
return id
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
const sdTableCss = () => `sd-table,:host{display:block;width:100%;max-width:100%;min-width:0}sd-table *,:host *{box-sizing:border-box}.sd-table__container{height:var(--table-height, 100%);width:var(--table-width, 100%);max-width:100%;min-width:0;color:#222222;display:flex;flex-direction:column}.sd-table__wrapper{width:100%;min-width:0;height:var(--table-container-height, 400px);border:var(--table-border-width, 1px) solid var(--table-border-color, #E1E1E1);border-radius:var(--table-radius, 8px);overflow:hidden}.sd-table__wrapper--
|
|
20
|
+
const sdTableCss = () => `sd-table,:host{display:block;width:100%;max-width:100%;min-width:0}sd-table *,:host *{box-sizing:border-box}.sd-table__container{height:var(--table-height, 100%);width:var(--table-width, 100%);max-width:100%;min-width:0;color:#222222;display:flex;flex-direction:column}.sd-table__wrapper{width:100%;min-width:0;height:var(--table-container-height, 400px);border:var(--table-border-width, 1px) solid var(--table-border-color, #E1E1E1);border-radius:var(--table-radius, 8px);overflow:hidden}.sd-table__wrapper--use-top{border-radius:0 0 var(--table-radius, 8px) var(--table-radius, 8px)}.sd-table__scroll-container{width:100%;height:100%;display:flex;flex-direction:column;position:relative;font-family:var(--table-body-font-family, inherit);font-weight:var(--table-body-font-weight, 400);font-size:var(--table-body-font-size, 12px);line-height:var(--table-body-line-height, 20px);text-decoration:var(--table-body-text-decoration, none);overflow:auto;background:#FFFFFF}.sd-table__scroll-container--loading{overflow:hidden !important;pointer-events:none}.sd-table__scroll-container--no-data{overflow:hidden;pointer-events:none}.sd-table__no-data{position:absolute;top:36px;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;font-size:var(--table-body-font-size, 12px);color:#888888;pointer-events:none;z-index:200;background:rgba(255, 255, 255, 0.6)}.sd-table__no-data-header-overlay{position:absolute;top:0;left:0;right:0;height:36px;background:rgba(255, 255, 255, 0.6);z-index:210;pointer-events:none}.sd-table__no-data-content{pointer-events:auto;min-height:60px;width:100%;display:flex;align-items:center;justify-content:center}.sd-table__loading{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(255, 255, 255, 0.6);z-index:200;display:flex;align-items:center;justify-content:center;pointer-events:none}.sd-table{background-color:white;display:table;width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.sd-table--selectable sd-thead,.sd-table--selectable sd-tbody{--selectable:true}.sd-table--sticky-header sd-thead thead{position:sticky;top:0;z-index:120}.sd-table--sticky-column sd-thead,.sd-table--sticky-column sd-tbody{--sticky-column:true}.sd-table--scrolled-left sd-thead,.sd-table--scrolled-left sd-tbody{--scrolled-left:true}.sd-table--scrolled-right sd-thead,.sd-table--scrolled-right sd-tbody{--scrolled-right:true}.sd-table--resizable sd-thead{--resizable:true}.sd-table--no-data sd-thead{opacity:0.4}.sd-table__pagination{position:relative;background:#F9F9F9;height:48px;display:flex;align-items:center;justify-content:center;border:var(--table-border-width, 1px) solid var(--table-border-color, #E1E1E1);margin-top:-1px;border-radius:var(--table-radius, 8px)}.sd-table__pagination sd-select{position:absolute;right:10px;top:50%;transform:translateY(-50%)}`;
|
|
21
21
|
|
|
22
22
|
const SdTable = class {
|
|
23
23
|
constructor(hostRef) {
|
|
@@ -42,7 +42,7 @@ const SdTable = class {
|
|
|
42
42
|
height;
|
|
43
43
|
stickyHeader = false;
|
|
44
44
|
stickyColumn = { left: 0, right: 0 };
|
|
45
|
-
|
|
45
|
+
useTop = false;
|
|
46
46
|
noDataLabel = SdTable.DEFAULT_NO_DATA_LABEL;
|
|
47
47
|
resolvedNoDataLabel = SdTable.DEFAULT_NO_DATA_LABEL;
|
|
48
48
|
isLoading = false;
|
|
@@ -102,8 +102,6 @@ const SdTable = class {
|
|
|
102
102
|
// 키: `${rowKey}::${field}` → sd-td의 sdClass 문자열
|
|
103
103
|
// sd-tr가 td를 그릴 때 머지해서 셀-단위 커스텀 클래스를 적용한다.
|
|
104
104
|
cellClassRegistry = new Map();
|
|
105
|
-
// separator 직전 행의 시각적 인덱스 집합
|
|
106
|
-
separatorPrevIndices = new Set();
|
|
107
105
|
// rowKey 문자열 → rows 배열에서의 visual index.
|
|
108
106
|
// rowspan 위쪽 행 스캔에서 "내 위에 있느냐"를 판정하기 위한 시각적 순서 소스.
|
|
109
107
|
// rows prop이 있으면 채워지고, 없으면 비어 있어 Number(rowKey) fallback이 사용된다.
|
|
@@ -256,9 +254,6 @@ const SdTable = class {
|
|
|
256
254
|
el.unregisterSpanSync = this.unregisterSpanSync.bind(this);
|
|
257
255
|
el.getSpanSync = this.getSpanSync.bind(this);
|
|
258
256
|
el.isCoveredSync = this.isCoveredSync.bind(this);
|
|
259
|
-
el.registerSeparatorSync = this.registerSeparatorSync.bind(this);
|
|
260
|
-
el.unregisterSeparatorSync = this.unregisterSeparatorSync.bind(this);
|
|
261
|
-
el.isVisualLastRowBeforeSeparatorSync = this.isVisualLastRowBeforeSeparatorSync.bind(this);
|
|
262
257
|
el.hasRowspanSync = this.hasRowspanSync.bind(this);
|
|
263
258
|
el.registerCellClassSync = this.registerCellClassSync.bind(this);
|
|
264
259
|
el.unregisterCellClassSync = this.unregisterCellClassSync.bind(this);
|
|
@@ -598,7 +593,7 @@ const SdTable = class {
|
|
|
598
593
|
getStickyStyleSync(colIdx) {
|
|
599
594
|
const leftOffset = this.columnWidths
|
|
600
595
|
.slice(0, colIdx)
|
|
601
|
-
.reduce((a, b) => a + b, this.selectable ?
|
|
596
|
+
.reduce((a, b) => a + b, this.selectable ? TABLE_SELECTABLE_COLUMN_WIDTH : 0);
|
|
602
597
|
const rightOffset = this.columnWidths
|
|
603
598
|
.filter((_, i) => i >=
|
|
604
599
|
this.columns.filter(c => c.visible !== false).length -
|
|
@@ -748,36 +743,6 @@ const SdTable = class {
|
|
|
748
743
|
}
|
|
749
744
|
return false;
|
|
750
745
|
}
|
|
751
|
-
// rowspan을 반영한 셀의 시각적 하단 행 인덱스를 반환한다.
|
|
752
|
-
// isVisualLastRowBeforeSeparatorSync 헬퍼.
|
|
753
|
-
resolveVisualBottom(rowKey, field) {
|
|
754
|
-
const myRowIdx = this.resolveRowIndex(rowKey);
|
|
755
|
-
if (myRowIdx == null)
|
|
756
|
-
return null;
|
|
757
|
-
const span = this.spanRegistry.get(this.spanKey(rowKey, field));
|
|
758
|
-
const rs = Math.max(1, span?.rowspan ?? 1);
|
|
759
|
-
return myRowIdx + rs - 1;
|
|
760
|
-
}
|
|
761
|
-
registerSeparatorSync(prevRowKey) {
|
|
762
|
-
const idx = this.resolveRowIndex(prevRowKey);
|
|
763
|
-
if (idx != null)
|
|
764
|
-
this.separatorPrevIndices.add(idx);
|
|
765
|
-
}
|
|
766
|
-
unregisterSeparatorSync(prevRowKey) {
|
|
767
|
-
const idx = this.resolveRowIndex(prevRowKey);
|
|
768
|
-
if (idx != null)
|
|
769
|
-
this.separatorPrevIndices.delete(idx);
|
|
770
|
-
}
|
|
771
|
-
// 셀의 시각적 하단이 separator 바로 앞 행인지 판정.
|
|
772
|
-
// 해당 셀에 border-bottom: none을 적용하기 위함.
|
|
773
|
-
isVisualLastRowBeforeSeparatorSync(rowKey, field) {
|
|
774
|
-
if (this.separatorPrevIndices.size === 0)
|
|
775
|
-
return false;
|
|
776
|
-
const visualBottom = this.resolveVisualBottom(rowKey, field);
|
|
777
|
-
if (visualBottom == null)
|
|
778
|
-
return false;
|
|
779
|
-
return this.separatorPrevIndices.has(visualBottom);
|
|
780
|
-
}
|
|
781
746
|
setRowCountSync(count) {
|
|
782
747
|
const safeCount = Math.max(0, Math.floor(this.toFiniteNumber(count, 0)));
|
|
783
748
|
if (safeCount !== this.rowCount) {
|
|
@@ -873,26 +838,27 @@ const SdTable = class {
|
|
|
873
838
|
'--table-body-font-size': `${TABLE_BODY_TYPOGRAPHY.fontSize}px`,
|
|
874
839
|
'--table-body-line-height': `${TABLE_BODY_TYPOGRAPHY.lineHeight}px`,
|
|
875
840
|
'--table-body-text-decoration': TABLE_BODY_TYPOGRAPHY.textDecoration,
|
|
841
|
+
'--table-selectable-width': `${TABLE_SELECTABLE_COLUMN_WIDTH}px`,
|
|
876
842
|
};
|
|
877
|
-
return (h(Host, { key: '
|
|
843
|
+
return (h(Host, { key: '4596e04bd57aca00fa6378fd26ce33a06a795eaf', style: hostStyle }, h("div", { key: '11a20d327410b0be659cede32917164e036e796c', class: "sd-table__container", style: {
|
|
878
844
|
'--table-width': this.width,
|
|
879
845
|
'--table-height': effectiveTableHeight,
|
|
880
846
|
'--table-container-height': `calc(${effectiveTableHeight} - ${paginationHeight}px)`,
|
|
881
|
-
} }, h("div", { key: '
|
|
847
|
+
} }, h("div", { key: 'f4f3acf584dc4eacdae25b11aa2b62b73ffab949', class: {
|
|
882
848
|
'sd-table__wrapper': true,
|
|
883
|
-
'sd-table__wrapper--
|
|
884
|
-
} }, h("div", { key: '
|
|
849
|
+
'sd-table__wrapper--use-top': this.useTop,
|
|
850
|
+
} }, h("div", { key: 'c8ab618b9c990a22b8e9466a5bfb5f02f4de8b12', class: {
|
|
885
851
|
'sd-table__scroll-container': true,
|
|
886
852
|
'sd-table__scroll-container--loading': this.isLoading,
|
|
887
853
|
'sd-table__scroll-container--no-data': isNoData,
|
|
888
|
-
} }, this.isLoading && (h("div", { key: '
|
|
854
|
+
} }, this.isLoading && (h("div", { key: 'a696933a70799ba282fc743281d0af27fd691a2e', class: "sd-table__loading", style: { top: `${this.loadingScrollTop}px` } }, h("sd-circle-progress", { key: 'cba6ac47367ef6499bf338b9b757ee74fdd7e6c1', indeterminate: true }))), isNoData && (h(h.Fragment, null, h("div", { key: '6e22156bf5b0fb9814d9bf9cad57506758c6284b', class: "sd-table__no-data-header-overlay" }), h("div", { key: 'b72f9fabcc8acb8e700ad55acc4d7aff08355a1c', class: "sd-table__no-data" }, h("div", { key: '43f271a8803121362f16e8153748328658f073ec', class: "sd-table__no-data-content", ref: el => {
|
|
889
855
|
this.noDataContentEl = el;
|
|
890
856
|
if (el)
|
|
891
857
|
this.syncNoDataContentObserver();
|
|
892
|
-
} }, h("slot", { key: '
|
|
858
|
+
} }, h("slot", { key: '4b8533115bbc81962b80c9c2533fe4b44a87193c', name: "no-data" }, h("span", { key: 'd94c4f7cf9eca7901b99434f712480a7b20c869a' }, this.resolvedNoDataLabel)))))), h("table", { key: 'a9a353aca09124ed8a82fcd2f8a0a7de09b234f5', class: this.tableClasses }, this.autoThead ? (h("slot", { name: `${resolvedTableId}-head`, onSlotchange: this.handleStructureSlotChange }, h("sd-thead", { rows: this.rows ?? [] }))) : (h("slot", { name: `${resolvedTableId}-head`, onSlotchange: this.handleStructureSlotChange })), this.autoTbody ? (h("slot", { name: `${resolvedTableId}-body`, onSlotchange: this.handleStructureSlotChange }, h("sd-tbody", { rows: this.rows ?? [] }, this.renderAutoRows()))) : (h("slot", { name: `${resolvedTableId}-body`, onSlotchange: this.handleStructureSlotChange }))))), this.pagination &&
|
|
893
859
|
this.pagination.rowsPerPage > 0 &&
|
|
894
860
|
this.rowCount > 0 &&
|
|
895
|
-
!this.useVirtualScroll && (h("div", { key: '
|
|
861
|
+
!this.useVirtualScroll && (h("div", { key: '8afeb9398c3d7540a54b9a3660fb9685ae1cddca', class: "sd-table__pagination" }, h("sd-pagination", { key: 'e2cbb3f7414f65b81ab2d33eaec5d9f28bed6cc8', currentPage: !this.useInternalPagination ? this.pagination.page : this.currentPage, lastPage: !this.useInternalPagination ? this.pagination.lastPage : this.lastPageNumber, onSdPageChange: (e) => this.changePage(e.detail) }), this.useRowsPerPageSelect && (h("sd-select", { key: 'ce723544dbc7e4cc0d77ced3b685b8575cf67e6f', value: this.useInternalPagination
|
|
896
862
|
? this.innerRowsPerPage
|
|
897
863
|
: this.pagination.rowsPerPage, options: this.rowsPerPageOption, width: "128px", emitValue: true, onSdUpdate: e => {
|
|
898
864
|
if (!this.isRowsPerPageValue(e.detail))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-DNWwGHho.js';
|
|
2
2
|
|
|
3
3
|
const tab = {
|
|
4
4
|
main: {
|
|
@@ -186,7 +186,7 @@ const SdTabs = class {
|
|
|
186
186
|
};
|
|
187
187
|
}
|
|
188
188
|
render() {
|
|
189
|
-
return (h("div", { key: '
|
|
189
|
+
return (h("div", { key: '92384577bf4ce85de90ae05a32e44715e595fe16', class: this.getContainerClasses(), style: this.buildCssVars() }, this.tabs.map((tab, index) => {
|
|
190
190
|
const badgeName = this.getBadgeName(tab);
|
|
191
191
|
return (h("div", { key: `tab-${index}`, role: "tab", tabindex: 0, "aria-selected": tab.value === this.value ? 'true' : 'false', class: this.getTabClasses(tab), "aria-label": tab.label || 'tab', onClick: () => this.handleTabClick(tab), onKeyDown: e => {
|
|
192
192
|
if (e.key === 'Enter' || e.key === ' ') {
|
package/dist/esm/sd-tag.entry.js
CHANGED
package/dist/esm/sd-td.entry.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, a as getElement, f as forceUpdate, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, a as getElement, f as forceUpdate, h, H as Host } from './index-DNWwGHho.js';
|
|
2
2
|
import { T as TABLE_ID_ATTR } from './constants-sZMi_32I.js';
|
|
3
3
|
|
|
4
4
|
const sdTdCss = () => `sd-td *{box-sizing:border-box}sd-td{display:contents}sd-td.align-left{text-align:left}sd-td.align-center{text-align:center}sd-td.align-right{text-align:right}`;
|
|
@@ -156,7 +156,7 @@ const SdTd = class {
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
render() {
|
|
159
|
-
return (h(Host, { key: '
|
|
159
|
+
return (h(Host, { key: '1d7123e1f35cfb513a1fa89b4d60f8dde7715a2f', class: { [`align-${this.align}`]: Boolean(this.align) } }, h("slot", { key: 'f7b9266106a6df93e2101ca9a324035960281a6f' })));
|
|
160
160
|
}
|
|
161
161
|
static get watchers() { return {
|
|
162
162
|
"field": [{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, a as getElement, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, a as getElement, h } from './index-DNWwGHho.js';
|
|
2
2
|
|
|
3
3
|
const DEFAULT_DURATION = 4000;
|
|
4
4
|
const DEFAULT_MAX_VISIBLE = 3;
|
|
@@ -232,7 +232,7 @@ const SdToastContainer = class {
|
|
|
232
232
|
const activeToasts = toasts.filter(t => t.state !== 'exiting').reverse();
|
|
233
233
|
const indexMap = new Map();
|
|
234
234
|
activeToasts.forEach((t, i) => indexMap.set(t.id, i));
|
|
235
|
-
return (h("div", { key: '
|
|
235
|
+
return (h("div", { key: '1de55d255b75842f52e3f0a147a69493ed1a7de5', class: "sd-toast-container", style: this.getContainerStyles(), onMouseEnter: () => {
|
|
236
236
|
this.expanded = true;
|
|
237
237
|
this.pauseTimers();
|
|
238
238
|
}, onMouseLeave: () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-DNWwGHho.js';
|
|
2
2
|
|
|
3
3
|
const toast = {
|
|
4
4
|
icon: "16",
|
|
@@ -82,12 +82,12 @@ const SdToast = class {
|
|
|
82
82
|
const linkColor = typeConfig.linkColor ?? typeConfig.content;
|
|
83
83
|
const useDefaultCloseIntent = ['default', 'caution', 'info'].includes(this.type);
|
|
84
84
|
const buttonName = TOAST_BUTTON_NAME_BY_TYPE[this.type] ?? TOAST_BUTTON_NAME_BY_TYPE.default;
|
|
85
|
-
return (h("div", { key: '
|
|
85
|
+
return (h("div", { key: '735fa3f949ee4c7d0178f999c02e90c829c133b4', style: {
|
|
86
86
|
'--sd-toast-bg': typeConfig.bg,
|
|
87
87
|
'--sd-toast-text': typeConfig.content,
|
|
88
88
|
'--sd-toast-icon': iconColor,
|
|
89
89
|
'--sd-toast-link': linkColor,
|
|
90
|
-
} }, h("div", { key: '
|
|
90
|
+
} }, h("div", { key: '4e483d858c3268bde838ddc5c5c9cb5065855326', class: "sd-toast", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.icon && (h("div", { key: '007eded85c508bdd2da05b1c9d489ff2d03a4df9', class: "sd-toast__icon" }, h("sd-icon", { key: '099d5556f4b0a11f5162cb76a6166a2d662d9590', name: this.icon, size: iconSize, color: iconColor }))), h("div", { key: '3825916248bc2385fe87c8aeb6d741b59738246f', class: "sd-toast__content" }, h("span", { key: 'fba817baf33179296f50d3fe4147cc99c38fbb83', class: "sd-toast__message" }, this.message)), this.link && (h("a", { key: '39667765a9a72c761f0b464f78c7652e60e6dd16', href: this.link, class: "sd-toast__link", target: "_blank", rel: "noopener noreferrer" }, this.linkLabel || this.link)), this.buttonLabel && (h("sd-button", { key: '3da2f9a5daf53de4400bfec79654b5795c3b6af4', class: "sd-toast__button", name: buttonName, label: this.buttonLabel, onSdClick: (event) => this.buttonClick.emit(event.detail) })), this.useClose && (h("sd-ghost-button", { key: '2578d35dc11e06178c6902cb358bcdb8ccabbf36', class: "sd-toast__close", icon: "close", intent: useDefaultCloseIntent ? 'default' : 'inverse', ariaLabel: "close", size: "xs", onClick: () => this.close.emit() })))));
|
|
91
91
|
}
|
|
92
92
|
};
|
|
93
93
|
SdToast.style = sdToastCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-DNWwGHho.js';
|
|
2
2
|
|
|
3
3
|
const toggle = {
|
|
4
4
|
height: "28",
|
|
@@ -118,7 +118,7 @@ const SdToggle = class {
|
|
|
118
118
|
'--sd-toggle-content-select': TOGGLE_COLORS.content.select,
|
|
119
119
|
'--sd-toggle-content-disabled': TOGGLE_COLORS.content.disabled,
|
|
120
120
|
};
|
|
121
|
-
return (h("label", { key: '
|
|
121
|
+
return (h("label", { key: 'f1b1b68270d523f7f3e40c8145f35e93df269d73', class: this.toggleClasses, style: cssVars, "aria-label": this.label || 'toggle' }, this.label, h("input", { key: '7e07c190916e19ffe8744f6b491e92e6bf8efd36', style: { display: 'none' }, type: "checkbox", onInput: this.handleChange })));
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
124
|
SdToggle.style = sdToggleCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h } from './index-
|
|
1
|
+
import { h } from './index-DNWwGHho.js';
|
|
2
2
|
|
|
3
3
|
const TooltipArrow = (props) => (h("svg", { width: "16", height: "12", viewBox: "0 0 16 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, h("path", { d: "M8.83205 10.7519C8.43623 11.3457 7.56377 11.3457 7.16795 10.7519L1.04907e-06 -1.39876e-06L16 0L8.83205 10.7519Z", fill: "currentColor" })));
|
|
4
4
|
|
|
@@ -7,6 +7,7 @@ export declare class SdDropdownButton extends BaseDropdownEvent {
|
|
|
7
7
|
label: string;
|
|
8
8
|
items: DropdownButtonItem[];
|
|
9
9
|
disabled: boolean;
|
|
10
|
+
split: boolean;
|
|
10
11
|
private static readonly CLOSE_ANIMATION_DURATION;
|
|
11
12
|
isOpen: boolean;
|
|
12
13
|
isAnimatingOut: boolean;
|
|
@@ -15,6 +16,7 @@ export declare class SdDropdownButton extends BaseDropdownEvent {
|
|
|
15
16
|
private menuRef?;
|
|
16
17
|
private closeAnimationTimer?;
|
|
17
18
|
click: EventEmitter<DropdownButtonValue>;
|
|
19
|
+
buttonClick: EventEmitter<void>;
|
|
18
20
|
dropDownShow: EventEmitter<{
|
|
19
21
|
isOpen: boolean;
|
|
20
22
|
}>;
|
|
@@ -30,9 +32,12 @@ export declare class SdDropdownButton extends BaseDropdownEvent {
|
|
|
30
32
|
private get resolvedConfig();
|
|
31
33
|
private getNextEnabledIndex;
|
|
32
34
|
private toggleDropdown;
|
|
35
|
+
private handleButtonClick;
|
|
33
36
|
private selectItem;
|
|
34
37
|
private getTriggerClasses;
|
|
38
|
+
private getTriggerStyle;
|
|
35
39
|
private getMenuItemClasses;
|
|
36
40
|
private renderDropdown;
|
|
41
|
+
private renderChevron;
|
|
37
42
|
render(): any;
|
|
38
43
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { Rule } from '../../types/form';
|
|
3
|
+
import { SdTooltipProps } from '../sd-tooltip/sd-tooltip.config';
|
|
3
4
|
import { type NumberInputSize } from './sd-number-input.config';
|
|
4
5
|
import { type FieldAddonAlign } from '../sd-field/sd-field.config';
|
|
5
6
|
export declare class SdNumberInput {
|
|
@@ -13,6 +14,9 @@ export declare class SdNumberInput {
|
|
|
13
14
|
value?: string | number | null;
|
|
14
15
|
label?: string;
|
|
15
16
|
labelWidth: string | number;
|
|
17
|
+
icon?: IconProps;
|
|
18
|
+
labelTooltip: string;
|
|
19
|
+
labelTooltipProps: SdTooltipProps | null;
|
|
16
20
|
addonLabel: string;
|
|
17
21
|
addonAlign: FieldAddonAlign;
|
|
18
22
|
placeholder: string;
|
|
@@ -44,6 +44,7 @@ export declare const TABLE_BORDER: {
|
|
|
44
44
|
export declare const TABLE_SEPARATOR: {
|
|
45
45
|
color: string;
|
|
46
46
|
width: string;
|
|
47
|
+
denseWidth: string;
|
|
47
48
|
};
|
|
48
49
|
export declare const TABLE_RADIUS: string;
|
|
49
50
|
export declare const TABLE_CONTENT: {
|
|
@@ -64,5 +65,6 @@ export declare const TABLE_KEY_VALUE: {
|
|
|
64
65
|
bodyPadding: string;
|
|
65
66
|
height: string;
|
|
66
67
|
};
|
|
68
|
+
export declare const TABLE_SELECTABLE_COLUMN_WIDTH = 48;
|
|
67
69
|
export declare const resolveTableIconColor: (name: IconName, override?: string) => string | undefined;
|
|
68
70
|
export declare const resolveSortIconName: (sort: SdTableColumnSort) => IconName;
|
|
@@ -15,7 +15,7 @@ export declare class SdTable {
|
|
|
15
15
|
height?: string;
|
|
16
16
|
stickyHeader: boolean;
|
|
17
17
|
stickyColumn: SdTableStickyColumn;
|
|
18
|
-
|
|
18
|
+
useTop: boolean;
|
|
19
19
|
noDataLabel: string;
|
|
20
20
|
resolvedNoDataLabel: string;
|
|
21
21
|
isLoading: boolean;
|
|
@@ -63,7 +63,6 @@ export declare class SdTable {
|
|
|
63
63
|
private spanRegistry;
|
|
64
64
|
private useFrameRegistry;
|
|
65
65
|
private cellClassRegistry;
|
|
66
|
-
private separatorPrevIndices;
|
|
67
66
|
private rowIndexMap;
|
|
68
67
|
private rebuildRowIndexMap;
|
|
69
68
|
private resolveRowIndex;
|
|
@@ -137,10 +136,6 @@ export declare class SdTable {
|
|
|
137
136
|
getCellClassSync(rowKey: string, field: string): string | undefined;
|
|
138
137
|
hasRowspanSync(): boolean;
|
|
139
138
|
isCoveredSync(rowKey: string, colIdx: number, columns: SdTableColumn[]): boolean;
|
|
140
|
-
private resolveVisualBottom;
|
|
141
|
-
registerSeparatorSync(prevRowKey: string): void;
|
|
142
|
-
unregisterSeparatorSync(prevRowKey: string): void;
|
|
143
|
-
isVisualLastRowBeforeSeparatorSync(rowKey: string, field: string): boolean;
|
|
144
139
|
setRowCountSync(count: number): void;
|
|
145
140
|
setRowCount(count: number): Promise<void>;
|
|
146
141
|
calculateVisibleRange(scrollTop: number, containerHeight: number): {
|
|
@@ -6,7 +6,7 @@ export declare class SdTr {
|
|
|
6
6
|
stickyColumn?: SdTableStickyColumn;
|
|
7
7
|
rowKey: string;
|
|
8
8
|
row: Row;
|
|
9
|
-
separator?:
|
|
9
|
+
separator?: '4' | '6' | 4 | 6 | null;
|
|
10
10
|
tableId: string;
|
|
11
11
|
columnWidths: number[];
|
|
12
12
|
isVisible: boolean;
|
|
@@ -18,10 +18,8 @@ export declare class SdTr {
|
|
|
18
18
|
private _scrolledRight;
|
|
19
19
|
private _dense;
|
|
20
20
|
private tableEl;
|
|
21
|
-
private _prevRowKey;
|
|
22
21
|
componentWillLoad(): void;
|
|
23
22
|
componentDidLoad(): void;
|
|
24
|
-
disconnectedCallback(): void;
|
|
25
23
|
private syncTableContext;
|
|
26
24
|
private resolveConfig;
|
|
27
25
|
refreshConfig(): Promise<void>;
|
|
@@ -41,7 +39,5 @@ export declare class SdTr {
|
|
|
41
39
|
private getCellClassFor;
|
|
42
40
|
private getFramePaddingStyle;
|
|
43
41
|
private expandCellClass;
|
|
44
|
-
private isVisualLastRowBeforeSeparator;
|
|
45
|
-
private isVisualLastRowBeforeSeparatorForSelfRow;
|
|
46
42
|
render(): any;
|
|
47
43
|
}
|