@sellmate/design-system 1.5.0 → 1.7.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 +4 -4
- package/dist/cjs/sd-circle-progress.cjs.entry.js +2 -2
- package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +3 -2
- package/dist/cjs/sd-date-box.cjs.entry.js +1 -1
- package/dist/cjs/sd-date-picker_7.cjs.entry.js +56 -25
- 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 +7 -6
- 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 +4 -1
- package/dist/cjs/sd-pagination_4.cjs.entry.js +31 -51
- package/dist/cjs/sd-popover.cjs.entry.js +10 -8
- 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-chip/sd-chip.js +3 -3
- 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-field/sd-field.js +2 -1
- package/dist/collection/components/sd-file-picker/sd-file-picker.css +15 -1
- package/dist/collection/components/sd-file-picker/sd-file-picker.js +44 -16
- 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 +21 -1
- package/dist/collection/components/sd-modal-container/sd-modal-container.js +3 -0
- 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 +13 -44
- 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-BGb86o0p.js → p-5_BC8C6x.js} +1 -1
- package/dist/components/{p-wOAxmZ1V.js → p-BDJJQALT.js} +1 -1
- package/dist/components/{p-HK6Bwtz8.js → p-BFAQ4nY2.js} +1 -1
- package/dist/components/{p-AO2RGdjH.js → p-BNXKU1BW.js} +1 -1
- package/dist/components/{p-DeK3og10.js → p-BVvVDIo0.js} +1 -1
- package/dist/components/{p-FKKk7Bk8.js → p-BYRvYsiC.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-B3sb3aIX.js → p-C1Fk1556.js} +1 -1
- package/dist/components/{p-VuxN5d2D.js → p-CAP-9lnL.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-fpzgqVv1.js → p-CWGbMz0J.js} +1 -1
- package/dist/components/{p-Cvk-Luhs.js → p-CnbeQ2DI.js} +1 -1
- package/dist/components/{p-IThoLpLs.js → p-CtXad9by.js} +1 -1
- package/dist/components/p-CvfW21oo.js +1 -0
- package/dist/components/{p-BSQsJHnV.js → p-Cye8r1MG.js} +1 -1
- package/dist/components/{p-D5inekTL.js → p-D155awu4.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-DAAHX92J.js +1 -0
- package/dist/components/p-DGyTYauz.js +1 -0
- package/dist/components/p-DK4Jvax0.js +1 -0
- package/dist/components/{p-BSfu4DO2.js → p-DQj-S8AC.js} +1 -1
- package/dist/components/p-DR1f1cS9.js +1 -0
- package/dist/components/p-DY1iQfib.js +1 -0
- package/dist/components/{p-C54v30vB.js → p-DeHt0RYQ.js} +1 -1
- package/dist/components/{p-D7nYP2a4.js → p-DfKa36bs.js} +1 -1
- package/dist/components/{p-Co3H5873.js → p-Dq38kgOY.js} +1 -1
- package/dist/components/{p-BLhu2So8.js → p-DwKYjjIC.js} +1 -1
- package/dist/components/{p-CgYjGJEh.js → p-EbF6qsnG.js} +1 -1
- package/dist/components/{p-yH47DvUh.js → p-F7yyGdIc.js} +1 -1
- package/dist/components/p-LZKaKr8O.js +1 -0
- package/dist/components/p-_zllPZMm.js +1 -0
- package/dist/components/p-j2khhcHY.js +1 -0
- package/dist/components/{p-CbXb6ylI.js → p-pTx5xpqU.js} +1 -1
- package/dist/components/p-pwNG5WaX.js +1 -0
- package/dist/components/p-vZLoby4N.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-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-c3e4853c.entry.js → p-0060136e.entry.js} +1 -1
- package/dist/design-system/{p-0894c492.entry.js → p-08798232.entry.js} +1 -1
- package/dist/design-system/{p-d39e515d.entry.js → p-0964c79a.entry.js} +1 -1
- package/dist/design-system/{p-4473c051.entry.js → p-102c2153.entry.js} +1 -1
- package/dist/design-system/{p-aac84d22.entry.js → p-10f579ba.entry.js} +1 -1
- package/dist/design-system/{p-b868d747.entry.js → p-1743651a.entry.js} +1 -1
- package/dist/design-system/p-17ec576c.entry.js +1 -0
- package/dist/design-system/{p-399d416c.entry.js → p-25fad267.entry.js} +1 -1
- package/dist/design-system/{p-06a6798d.entry.js → p-282b1260.entry.js} +1 -1
- package/dist/design-system/{p-d226bd61.entry.js → p-2e4d1fe1.entry.js} +1 -1
- package/dist/design-system/{p-819e28fe.entry.js → p-32d96a70.entry.js} +1 -1
- package/dist/design-system/{p-b8e34533.entry.js → p-4b43648c.entry.js} +1 -1
- package/dist/design-system/{p-61f4238b.entry.js → p-4cf1c8ae.entry.js} +1 -1
- package/dist/design-system/{p-435ae69e.entry.js → p-4ef942a8.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-3f4a281f.entry.js → p-643c004a.entry.js} +1 -1
- package/dist/design-system/p-69a208c0.entry.js +1 -0
- 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-339cb954.entry.js → p-914d74c4.entry.js} +1 -1
- package/dist/design-system/p-9c74571a.entry.js +1 -0
- package/dist/design-system/{p-aeccfb2b.entry.js → p-9e75a5dc.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-2bdceecb.entry.js → p-a6c9baa5.entry.js} +1 -1
- package/dist/design-system/{p-fa670cc4.entry.js → p-adce8704.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-b5e9320f.entry.js +1 -0
- package/dist/design-system/{p-1e530c87.entry.js → p-d1da969d.entry.js} +1 -1
- package/dist/design-system/{p-679bce6c.entry.js → p-d8292621.entry.js} +1 -1
- package/dist/design-system/{p-eae21a79.entry.js → p-e1350f4d.entry.js} +1 -1
- package/dist/design-system/p-e159f70d.entry.js +1 -0
- 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-f172920e.entry.js +1 -0
- package/dist/design-system/{p-8ee990bd.entry.js → p-f97b75d3.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 +4 -4
- package/dist/esm/sd-circle-progress.entry.js +2 -2
- package/dist/esm/sd-confirm-modal_2.entry.js +3 -2
- package/dist/esm/sd-date-box.entry.js +1 -1
- package/dist/esm/sd-date-picker_7.entry.js +56 -25
- 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 +7 -6
- 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 +4 -1
- package/dist/esm/sd-pagination_4.entry.js +31 -51
- package/dist/esm/sd-popover.entry.js +10 -8
- 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-chip/sd-chip.d.ts +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-file-picker/sd-file-picker.d.ts +3 -0
- 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 -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 +2 -2
- 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 +83 -29
- package/hydrate/index.js +253 -194
- package/hydrate/index.mjs +253 -194
- package/package.json +1 -1
- package/dist/components/p-BZCvsLRf.js +0 -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-DyZNk1VT.js +0 -1
- package/dist/components/p-iCuIUhaK.js +0 -1
- package/dist/components/p-uHITnW_J.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-843d4b16.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 { r as registerInstance, c as createEvent, a as getElement, h, F as Fragment } from './index-
|
|
2
|
-
import { T as TooltipArrow } from './tooltipArrow-
|
|
1
|
+
import { r as registerInstance, c as createEvent, a as getElement, h, F as Fragment } from './index-DNWwGHho.js';
|
|
2
|
+
import { T as TooltipArrow } from './tooltipArrow-Cj3AqWK0.js';
|
|
3
3
|
|
|
4
4
|
const popover = {
|
|
5
5
|
bg: "#07284A"};
|
|
@@ -27,11 +27,10 @@ const SdPopover = class {
|
|
|
27
27
|
disabled = false;
|
|
28
28
|
type = 'button';
|
|
29
29
|
menuTitle;
|
|
30
|
-
messages = [];
|
|
31
30
|
leftLink;
|
|
32
31
|
button;
|
|
33
32
|
menuClass = '';
|
|
34
|
-
|
|
33
|
+
slotContentHTML = '';
|
|
35
34
|
showChange;
|
|
36
35
|
buttonEl;
|
|
37
36
|
setShow = (next) => {
|
|
@@ -53,27 +52,30 @@ const SdPopover = class {
|
|
|
53
52
|
}
|
|
54
53
|
}
|
|
55
54
|
handleClose = () => this.setShow(false);
|
|
55
|
+
componentWillLoad() {
|
|
56
|
+
this.slotContentHTML = this.el.innerHTML;
|
|
57
|
+
this.el.innerHTML = '';
|
|
58
|
+
}
|
|
56
59
|
render() {
|
|
57
60
|
const placement = this.placement ?? 'bottom';
|
|
58
61
|
const color = this.color ?? '#01BB4B';
|
|
59
62
|
const icon = this.icon ?? 'helpOutline';
|
|
60
63
|
const iconSize = this.iconSize ?? 12;
|
|
61
64
|
const menuClass = this.menuClass ?? '';
|
|
62
|
-
const messages = Array.isArray(this.messages) ? this.messages : [];
|
|
63
65
|
const leftLink = this.leftLink;
|
|
64
66
|
const button = this.button;
|
|
65
67
|
const hasFooter = !!leftLink || !!button;
|
|
66
|
-
return (h(Fragment, { key: '
|
|
68
|
+
return (h(Fragment, { key: '3eb48b91ccf49d78cf332bf2c83268ca903be3ef' }, this.label !== '' ? (h("sd-button", { ref: el => (this.buttonEl = el), name: this.name ?? 'primary_sm', label: this.label, icon: icon, rightIcon: this.rightIcon, ariaLabel: this.ariaLabel || this.label || icon || 'Open popover', disabled: this.disabled, type: this.type ?? 'button', class: "sd-popover", onSdClick: () => this.setShow(!this.show) })) : (h("sd-icon", { ref: el => (this.buttonEl = el), name: icon, size: iconSize, color: color, class: "sd-popover", onClick: () => this.setShow(!this.show) })), this.show && (h("sd-floating-portal", { key: '94c0b1d56307b29944d078d03bdd686c3eacaee0', parentRef: this.buttonEl, onSdClose: this.handleClose, placement: placement, offset: this.popoverOffset }, h("div", { key: '3f969dcad5785973e80cab6090e8b687461bbbe2', class: {
|
|
67
69
|
'sd-floating-menu': true,
|
|
68
70
|
'sd-floating-menu--popover': true,
|
|
69
71
|
[`sd-floating-menu--${placement}`]: true,
|
|
70
72
|
[menuClass]: menuClass !== '',
|
|
71
73
|
}, style: {
|
|
72
74
|
'--sd-floating-bg': popoverTokens.popover.bg,
|
|
73
|
-
} }, h("i", { key: '
|
|
75
|
+
} }, h("i", { key: '3992cc7f589dc932c59a9bd88376b93e66e37cd0', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${placement}` }, h(TooltipArrow, { key: 'b2d27b5131e022d3d22a82cccf9cd80afc414194' })), h("div", { key: '48b33b11d8179e51fe4b3f0fbc24084d197b5447', class: "sd-floating-menu__content" }, this.menuTitle && h("div", { key: 'b955fb4707b66d003414197254a165388ceafb11', class: "sd-floating-menu__title" }, this.menuTitle), this.slotContentHTML && (h("div", { key: 'c5416ab9a7f4f0bcda01af31304e4358f25ff6e2', class: "sd-floating-menu__messages", innerHTML: this.slotContentHTML })), hasFooter && (h("div", { key: '51db3b7a70e4f1befc49b7ee26422a634a38d9e1', class: {
|
|
74
76
|
'sd-floating-menu__buttons': true,
|
|
75
77
|
'sd-floating-menu__buttons--with-link': !!leftLink,
|
|
76
|
-
} }, leftLink && (h("sd-text-link", { key: '
|
|
78
|
+
} }, leftLink && (h("sd-text-link", { key: 'a2a164fa9ab3294c0b0e726c7c69405a612de264', class: "sd-floating-menu__left-link", label: leftLink.label, icon: leftLink.icon ?? '', iconColor: leftLink.iconColor ?? '', useArrow: !!leftLink.useArrow, underline: !!leftLink.underline, disabled: !!leftLink.disabled, onSdClick: leftLink.onClick })), button && (h("sd-button", { key: '41c917026e1255ac2bd355042500c6efa0e76cb0', name: button.name ?? 'secondary_xs', label: button.label, icon: button.icon, rightIcon: button.rightIcon, ariaLabel: button.ariaLabel || button.label || button.icon || 'Open popover', disabled: button.disabled, type: button.type, onSdClick: button.onClick }))))), h("sd-ghost-button", { key: 'dde5bbb7bc8b9b5ce6b122eb566ce961dd640ad0', class: "sd-floating-menu__close-button", icon: "close", ariaLabel: "close", size: "xs", onClick: this.handleClose }))))));
|
|
77
79
|
}
|
|
78
80
|
};
|
|
79
81
|
SdPopover.style = sdPopoverCss();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import { s as systemTokens } from './system-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-DNWwGHho.js';
|
|
2
|
+
import { s as systemTokens } from './system-j2khhcHY.js';
|
|
3
3
|
|
|
4
4
|
const popup$1 = {
|
|
5
5
|
header: {
|
|
@@ -103,7 +103,7 @@ const SdPopup = class {
|
|
|
103
103
|
...DEFAULT_SUBMIT_BUTTON_PROPS,
|
|
104
104
|
...this.submitButtonProps,
|
|
105
105
|
};
|
|
106
|
-
return (h("div", { key: '
|
|
106
|
+
return (h("div", { key: '53c0cca8c1188f36569ffaf79767fe81f9a5bf87', class: `sd-popup sd-popup--${this.type}`, style: cssVars }, h("header", { key: 'f8459d43d2568e1f8fbcb19f789ba2a9998db8e7', class: "sd-popup__header" }, h("h2", { key: '56b960c73d215e4ce878007acd0b04e1371ee87b', class: "sd-popup__title" }, this.popupTitle)), h("div", { key: '513de018b9826c54672bdc8019447b3026fb2d9f', class: "sd-popup__body" }, h("slot", { key: '60109bc7ee30ac100a08285e50d24027e6bc22d0' })), this.useFooter && (h("footer", { key: '4daa5fa938f2d79b2ab4d13de1d6aeb0b02d78e1', class: "sd-popup__footer" }, h("div", { key: '6f885be6acb363054c659f7f844558b9bda1ca74', class: "sd-popup__footer-slot sd-popup__footer-slot--left" }, h("slot", { key: '57231c78bb0512407323c8ef16a90011027abbc4', name: "footer-left" })), h("sd-button", { key: 'ce4c1e577d4b3346d368e22ce713ccc57f54f231', ...submitButtonProps, class: "sd-popup__submit", onSdClick: () => this.submit.emit() })))));
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
109
|
SdPopup.style = sdPopupCss();
|
|
@@ -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
|
import { e as LIST_ITEM_LAYOUT, g as LIST_ITEM_TYPOGRAPHY, h as LIST_ITEM_COLORS, i as SEARCH_DEBOUNCE_MS } from './sd-select.config-CxOCk_ge.js';
|
|
3
3
|
|
|
4
4
|
const sdSelectListItemCss = () => `sd-select-list-item{display:block}sd-select-list-item .sd-select-list-item{display:flex;align-items:center;gap:var(--list-item-gap);padding:var(--list-item-padding-y) var(--list-item-padding-right) var(--list-item-padding-y) var(--list-item-padding-left);font-size:var(--list-item-font-size);line-height:var(--list-item-line-height);font-weight:var(--list-item-font-weight);background:var(--list-item-bg);color:var(--list-item-color);cursor:default;user-select:none}sd-select-list-item .sd-select-list-item--selectable{cursor:pointer}sd-select-list-item .sd-select-list-item--depth1-group{border-top:var(--list-item-border-top);font-weight:700}sd-select-list-item .sd-select-list-item--depth2-group{font-weight:500}sd-select-list-item .sd-select-list-item--focused.sd-select-list-item--selectable:not(.sd-select-list-item--disabled){background:var(--list-item-bg-hover);color:var(--list-item-color-hover)}sd-select-list-item .sd-select-list-item--selected:not(.sd-select-list-item--group){font-weight:var(--list-item-font-weight-selected);color:var(--list-item-color-selected)}sd-select-list-item .sd-select-list-item--selected.sd-select-list-item--focused{color:var(--list-item-color-hover)}sd-select-list-item .sd-select-list-item--disabled{color:var(--list-item-color-disabled);cursor:not-allowed}sd-select-list-item .sd-select-list-item__label{flex:0 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}sd-select-list-item .sd-select-list-item__count{flex-shrink:0;font-weight:500;color:var(--list-item-color-disabled)}sd-select-list-item .sd-select-list-item--group.sd-select-list-item--focused .sd-select-list-item__count{color:#ffffff}sd-select-list-item .sd-select-list-item__checkbox{flex-shrink:0}`;
|
|
@@ -77,7 +77,7 @@ const SdSelectListItem = class {
|
|
|
77
77
|
return (
|
|
78
78
|
// 키보드 네비게이션은 부모 listbox 의 ArrowUp/Down + Enter 가 담당. 항목 자체는 role=option, tabindex=-1 으로 표시.
|
|
79
79
|
// eslint-disable-next-line jsx-a11y/click-events-have-key-events
|
|
80
|
-
h("div", { key: '
|
|
80
|
+
h("div", { key: 'd1030a5fb5797ea6be89f6a3a32201145e5fa387', role: "option", tabindex: -1, "aria-selected": this.isSelected === true ? 'true' : 'false', class: {
|
|
81
81
|
'sd-select-list-item': true,
|
|
82
82
|
'sd-select-list-item--group': isGroup,
|
|
83
83
|
'sd-select-list-item--depth1-group': isDepth1Group,
|
|
@@ -87,7 +87,7 @@ const SdSelectListItem = class {
|
|
|
87
87
|
'sd-select-list-item--focused': this.isFocused,
|
|
88
88
|
'sd-select-list-item--selectable': this.isSelectable && !this.option.disabled,
|
|
89
89
|
'sd-select-list-item--disabled': !!this.option.disabled,
|
|
90
|
-
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: '
|
|
90
|
+
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: '1f8a7812f567ece12b7e064a9e9738366b0a0e11', value: this.isSelected === null ? null : !!this.isSelected, disabled: this.option.disabled, inverse: this.isFocused && this.isSelected !== false, class: "sd-select-list-item__checkbox", onClick: this.handleCheckboxClick, onSdUpdate: this.handleCheckboxUpdate })), h("span", { key: '55e2e4c9497aea99fc0502b40ac16809c257206e', class: "sd-select-list-item__label" }, this.option.label), this.countInfo && (h("span", { key: '722599bf0022770c91c02d4e67a6e234da4e0f80', class: "sd-select-list-item__count" }, "(", this.countInfo.selected, "/", this.countInfo.total, ")"))));
|
|
91
91
|
}
|
|
92
92
|
};
|
|
93
93
|
SdSelectListItem.style = sdSelectListItemCss();
|
|
@@ -140,15 +140,15 @@ const SdSelectListItemSearch = class {
|
|
|
140
140
|
clearTimeout(this.debounceTimer);
|
|
141
141
|
}
|
|
142
142
|
render() {
|
|
143
|
-
return (h("div", { key: '
|
|
143
|
+
return (h("div", { key: '69416e32b3915ca27d8e2f25a7f36d1868835696', class: {
|
|
144
144
|
'sd-select-list-item-search': true,
|
|
145
145
|
'sd-select-list-item-search--scrolled': this.isScrolled,
|
|
146
|
-
} }, h("div", { key: '
|
|
146
|
+
} }, h("div", { key: '3917460421d197d70abc7b6b9c75fa85ce9e6631', class: "sd-select-list-item-search__inner" }, h("sd-icon", { key: '42a0d8221d2479457af32db35111bb35d7a28e53', name: "search", size: 16, color: "grey_70", class: "sd-select-list-item-search__icon" }), h("input", { key: '48ab6ef174ddf194aa2616d0cbfbc09fa2032222', ref: el => {
|
|
147
147
|
this.inputEl = el;
|
|
148
|
-
}, type: "text", class: "sd-select-list-item-search__input", placeholder: "\uAC80\uC0C9\uC5B4 \uC785\uB825", value: this.searchText, onInput: this.handleInput, onFocus: () => this.searchFocus.emit() }), h("button", { key: '
|
|
148
|
+
}, type: "text", class: "sd-select-list-item-search__input", placeholder: "\uAC80\uC0C9\uC5B4 \uC785\uB825", value: this.searchText, onInput: this.handleInput, onFocus: () => this.searchFocus.emit() }), h("button", { key: 'ead5c189a8ef2b8cb3696cc6536c58dd4864c71e', type: "button", class: {
|
|
149
149
|
'sd-select-list-item-search__clear': true,
|
|
150
150
|
'sd-select-list-item-search__clear--hidden': this.searchText === '',
|
|
151
|
-
}, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, h("sd-icon", { key: '
|
|
151
|
+
}, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, h("sd-icon", { key: '6590c0acd5114722126459f4886c587b320a17e1', name: "close", size: 12, color: "#888888" })))));
|
|
152
152
|
}
|
|
153
153
|
};
|
|
154
154
|
SdSelectListItemSearch.style = sdSelectListItemSearchCss();
|
|
@@ -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
|
import { n as nanoid } from './index-CCwNgVmC.js';
|
|
3
3
|
import { c as countLeaves, S as SEARCH_THRESHOLD, f as filterTree, E as EMPTY_MESSAGE, L as LIST_BOX_LAYOUT, a as SELECT_COLORS, b as SELECT_TYPOGRAPHY, d as SELECT_LAYOUT } from './sd-select.config-CxOCk_ge.js';
|
|
4
4
|
|
|
@@ -263,15 +263,15 @@ const SdSelect = class {
|
|
|
263
263
|
this.closeDropdown();
|
|
264
264
|
},
|
|
265
265
|
};
|
|
266
|
-
return (h("sd-field", { key: '
|
|
266
|
+
return (h("sd-field", { key: '08992d05403b6e7ba6aec7968dd6fa99d8857666', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, onMouseEnter: () => {
|
|
267
267
|
this.hovered = true;
|
|
268
268
|
}, onMouseLeave: () => {
|
|
269
269
|
this.hovered = false;
|
|
270
|
-
} }, h("div", { key: '
|
|
270
|
+
} }, h("div", { key: '3372029d54087654b8172d4d374126c0be703f5c', class: "sd-select", ref: el => {
|
|
271
271
|
this.triggerRef = el;
|
|
272
|
-
} }, h("sd-select-trigger", { key: '
|
|
272
|
+
} }, h("sd-select-trigger", { key: 'af832319b490501468b05da69eeed964a07f00ea', ref: el => {
|
|
273
273
|
this.triggerComponentRef = el;
|
|
274
|
-
}, displayText: this.displayText, placeholder: this.placeholder ?? '선택', disabled: this.disabled, isOpen: this.isOpen, onSdTriggerClick: this.handleTriggerClick, onSdTriggerFocus: this.handleTriggerFocus, onSdTriggerBlur: this.handleTriggerBlur })), (this.isOpen || this.isAnimatingOut) && (h("sd-portal", { key: '
|
|
274
|
+
}, displayText: this.displayText, placeholder: this.placeholder ?? '선택', disabled: this.disabled, isOpen: this.isOpen, onSdTriggerClick: this.handleTriggerClick, onSdTriggerFocus: this.handleTriggerFocus, onSdTriggerBlur: this.handleTriggerBlur })), (this.isOpen || this.isAnimatingOut) && (h("sd-portal", { key: 'b6b9211aadd5ef643716948dfa67d6d923420679', ...portalProps }, h("sd-select-listbox", { key: '9d532180439c8d1867e349d89914626b644ac224', type: this.type, options: this.options, value: this.value, emitValue: this.emitValue, useSearch: this.useSearch, useSelectAll: this.useSelectAll, triggerWidth: this.triggerWidth, maxWidth: this.resolvedMaxDropdownWidth, maxHeight: this.resolvedDropdownHeight, onSdOptionSelect: event => this.handleOptionSelect(event.detail) })))));
|
|
275
275
|
}
|
|
276
276
|
static get watchers() { return {
|
|
277
277
|
"isOpen": [{
|
|
@@ -635,9 +635,9 @@ const SdSelectListbox = class {
|
|
|
635
635
|
'--listbox-max-height': this.maxHeight ?? '260px',
|
|
636
636
|
'--listbox-radius': `${LIST_BOX_LAYOUT.radius}px`,
|
|
637
637
|
};
|
|
638
|
-
return (h("div", { key: '
|
|
638
|
+
return (h("div", { key: 'f2b243788074de1aa3e78a78566a622ab3116351', class: "sd-select-listbox", style: cssVars }, this.showSearch && (h("sd-select-list-item-search", { key: 'a9f9f30a43e1965756095e29a24f75b4f1c14100', isScrolled: this.isScrolled, onSdSearchFilter: this.handleSearchFilter })), h("div", { key: 'b500f705a69e2c98e3ad79bf04c2bb2a4b8a6162', class: "sd-select-listbox__list", onScroll: this.handleScroll, ref: el => {
|
|
639
639
|
this.listEl = el;
|
|
640
|
-
} }, this.showSelectAll && (h("sd-select-list-item", { key: '
|
|
640
|
+
} }, this.showSelectAll && (h("sd-select-list-item", { key: 'c47e41ebce483ee311cae261b2f4fe21c134e437', option: SdSelectListbox.SELECT_ALL_OPTION, depth: 1, isSelected: this.selectAllState, isFocused: this.isOptionFocused(SdSelectListbox.SELECT_ALL_OPTION), useCheckbox: true, onSdListItemClick: this.handleSelectAllClick, onMouseEnter: () => this.handleOptionHover(SdSelectListbox.SELECT_ALL_OPTION) })), this.isEmpty ? (h("div", { class: "sd-select-listbox__empty" }, EMPTY_MESSAGE)) : this.isDepth ? (this.renderOptions(this.filteredOptions)) : (this.filteredOptions.map(option => (h("sd-select-list-item", { option: option, depth: 1, isSelected: this.isOptionSelected(option), isFocused: this.isOptionFocused(option), useCheckbox: this.isMulti, onSdListItemClick: this.handleOptionClick, onMouseEnter: () => this.handleOptionHover(option) })))))));
|
|
641
641
|
}
|
|
642
642
|
static get watchers() { return {
|
|
643
643
|
"searchKeyword": [{
|
|
@@ -697,7 +697,7 @@ const SdSelectTrigger = class {
|
|
|
697
697
|
? SELECT_COLORS.icon.disabled
|
|
698
698
|
: SELECT_COLORS.icon.default,
|
|
699
699
|
};
|
|
700
|
-
return (h("div", { key: '
|
|
700
|
+
return (h("div", { key: '471e6df2948987989fa192474b0305ad0c8bcd32', ref: el => {
|
|
701
701
|
this.triggerEl = el;
|
|
702
702
|
}, role: "button", "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? 'true' : 'false', tabindex: this.disabled ? -1 : 0, class: {
|
|
703
703
|
'sd-select-trigger': true,
|
|
@@ -708,7 +708,7 @@ const SdSelectTrigger = class {
|
|
|
708
708
|
e.preventDefault();
|
|
709
709
|
this.handleClick();
|
|
710
710
|
}
|
|
711
|
-
}, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: '
|
|
711
|
+
}, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: '8133b44065cd4a27d6aa71980c8684c363c7e7ba', class: "sd-select-trigger__content" }, h("span", { key: 'd8ee3d118cf760b687b491387592efe0c7532cf2', class: "sd-select-trigger__text" }, hasValue ? this.displayText : (this.placeholder ?? '선택')), h("sd-icon", { key: '0271061d32f1236346812a21a2e483402a94415c', name: "chevronDown", size: 12, color: "var(--trigger-icon-color)", class: {
|
|
712
712
|
'sd-select-trigger__icon': true,
|
|
713
713
|
'sd-select-trigger__icon--open': this.isOpen,
|
|
714
714
|
} }))));
|
|
@@ -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
|
var switchTokens = {
|
|
4
4
|
"switch": {
|
|
@@ -100,7 +100,7 @@ const SdSwitch = class {
|
|
|
100
100
|
'--sd-switch-line-height': `${SWITCH_TYPOGRAPHY.lineHeight}px`,
|
|
101
101
|
'--sd-switch-text-decoration': SWITCH_TYPOGRAPHY.textDecoration,
|
|
102
102
|
};
|
|
103
|
-
return (h("label", { key: '
|
|
103
|
+
return (h("label", { key: 'b5dc0e7a9a59d679402226aa18f3155e42f6b7c2', "aria-label": this.label || 'switch', class: this.switchClasses, style: cssVars }, h("input", { key: 'aa77eb38e07dfc911eb3a72c3ab3b3287423deaa', type: "checkbox", checked: this.value, disabled: this.disabled, onInput: this.handleChange }), h("div", { key: 'b973671f6229fea3aab8d4040cc2916e32001eaf', class: "sd-switch__track" }, h("div", { key: 'db6073df05c1d77681559490fd773fdce24c6ca4', class: "sd-switch__knob" })), this.label && h("span", { key: '8ee1f5ba9fc1561a351d6982929721cc33ce0650', class: "sd-switch__label" }, this.label)));
|
|
104
104
|
}
|
|
105
105
|
};
|
|
106
106
|
SdSwitch.style = sdSwitchCss();
|
|
@@ -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: '73046beb47b356f351ae89b162c8e8af2942b0b2', style: hostStyle }, h("div", { key: 'f56b8a425d15a3598e6c1f3373d21ef263cbd800', 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: '519a193ab21616ce0a423c9043e0114c489539f3', 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: 'ef96c9e2ef6b70023c35e5709048f3d994a5bebc', 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: '94f9bbc56855af3548a73ccbbf228b2247764f54', class: "sd-table__loading", style: { top: `${this.loadingScrollTop}px` } }, h("sd-circle-progress", { key: '2f8a0bfbc0c5829779b7474a9520ddec70a977ea', indeterminate: true }))), isNoData && (h(h.Fragment, null, h("div", { key: 'fab3d44147ecbc99ff3745908ec69da003b4e7cf', class: "sd-table__no-data-header-overlay" }), h("div", { key: '10f8b13e6bba12c80001e5d4432715b0abe2f2f2', class: "sd-table__no-data" }, h("div", { key: '8c411450fc0780df83e69c86ad06c2d09cf80350', 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: '661b982cde4f4a6dfa9f6c712efed6745e20f3bf', name: "no-data" }, h("span", { key: '76330839b2614611266315bb8b482b6a8571f1f4' }, this.resolvedNoDataLabel)))))), h("table", { key: '89d9f80c6a0c9963b311d2c121ae0cb0a3289da0', 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: '02e675535bbdc30ab7177378f1b2b13799a9e5c8', class: "sd-table__pagination" }, h("sd-pagination", { key: '83537d5e2f6d5b92e2a4b7dd9e4624372adf0433', 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: 'f843f063b736e534b017fd7f881f049c4258c792', 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: '880f1aa80c29f2d578ffe2d5e5e5e0c008c898d3', 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: '5c40fa3dd98dbd88850bd14836ee5578ceb04349', class: { [`align-${this.align}`]: Boolean(this.align) } }, h("slot", { key: '864b000e178c0b6de25b930aa5a84b4f7d7c189b' })));
|
|
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: 'bc3c9591b6453eed7df462841e29784c29b3aeef', 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: 'db3ffaf51dc96c39c05558017f25929c679a59df', 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: '92344f5bb95b0d4787591207f2e017d7dd177091', class: "sd-toast", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.icon && (h("div", { key: '991db58b2cb019dd3a787e000e9d8813014bbb09', class: "sd-toast__icon" }, h("sd-icon", { key: '24d53cd77fdea82ec07663a8968493ec2b794751', name: this.icon, size: iconSize, color: iconColor }))), h("div", { key: '70cfad4ef389cca798be9baeac99bfc41efcc615', class: "sd-toast__content" }, h("span", { key: '5927023435b17dc25ee07630fc4ae4568aadd9b9', class: "sd-toast__message" }, this.message)), this.link && (h("a", { key: '410c024fd81ebcc78175c1855a86f590566d1a81', href: this.link, class: "sd-toast__link", target: "_blank", rel: "noopener noreferrer" }, this.linkLabel || this.link)), this.buttonLabel && (h("sd-button", { key: 'd85287e7ef796a11f850a0ce5cde87f5881fa5c9', class: "sd-toast__button", name: buttonName, label: this.buttonLabel, onSdClick: (event) => this.buttonClick.emit(event.detail) })), this.useClose && (h("sd-ghost-button", { key: '55a6bf6457bd89254f6eb01072d46a0edbb8b510', 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: 'b16577aa25863a9dc337314d9059328799c1cd1e', class: this.toggleClasses, style: cssVars, "aria-label": this.label || 'toggle' }, this.label, h("input", { key: '6130825b74df8a573f4e062671fd694508759e82', 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
|
|
|
@@ -12,7 +12,7 @@ export declare class SdChip implements ValidatableField {
|
|
|
12
12
|
internalValue: string;
|
|
13
13
|
isEditing: boolean;
|
|
14
14
|
update: EventEmitter<string>;
|
|
15
|
-
|
|
15
|
+
delete: EventEmitter<void>;
|
|
16
16
|
focus: EventEmitter<void>;
|
|
17
17
|
blur: EventEmitter<void>;
|
|
18
18
|
private inputEl?;
|
|
@@ -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
|
}
|
|
@@ -51,7 +51,10 @@ export declare class SdFilePicker implements ComponentInterface {
|
|
|
51
51
|
private handleClear;
|
|
52
52
|
private handleClick;
|
|
53
53
|
private hasFiles;
|
|
54
|
+
private hasChips;
|
|
54
55
|
private getDisplayText;
|
|
56
|
+
private handleChipRemove;
|
|
57
|
+
private renderChipList;
|
|
55
58
|
private checkOverflow;
|
|
56
59
|
private getIconColor;
|
|
57
60
|
render(): any;
|