@sellmate/design-system 1.0.71 → 1.0.73
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.progress-Bmg3vAAy.js +25 -0
- package/dist/cjs/design-system.cjs.js +2 -2
- package/dist/cjs/{index-B2QvhbC3.js → index-Dptupbm0.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/sd-action-modal.cjs.entry.js +2 -2
- package/dist/cjs/sd-badge.cjs.entry.js +2 -2
- package/dist/cjs/sd-barcode-input.cjs.entry.js +2 -2
- package/dist/cjs/sd-button-v2_2.cjs.entry.js +3 -3
- package/dist/cjs/sd-button_4.cjs.entry.js +10 -10
- package/dist/cjs/sd-calendar.cjs.entry.js +1 -1
- package/dist/cjs/sd-card.cjs.entry.js +2 -2
- package/dist/cjs/sd-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/sd-chip.cjs.entry.js +3 -3
- package/dist/cjs/sd-circle-progress.cjs.entry.js +12 -3
- package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +4 -4
- package/dist/cjs/sd-date-box.cjs.entry.js +1 -1
- package/dist/cjs/sd-date-picker-calendar.cjs.entry.js +3 -3
- package/dist/cjs/sd-date-picker-trigger.cjs.entry.js +4 -4
- package/dist/cjs/sd-date-picker.cjs.entry.js +4 -4
- package/dist/cjs/{sd-date-picker.config-D8xSALVj.js → sd-date-picker.config-B705zdZd.js} +3 -2
- package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +3 -3
- package/dist/cjs/sd-date-range-picker.cjs.entry.js +2 -2
- package/dist/cjs/sd-dropdown-button.cjs.entry.js +5 -5
- package/dist/cjs/sd-file-picker.cjs.entry.js +1 -1
- package/dist/cjs/sd-form.cjs.entry.js +39 -28
- package/dist/cjs/sd-ghost-button.cjs.entry.js +3 -3
- package/dist/cjs/sd-guide.cjs.entry.js +2 -2
- package/dist/cjs/sd-input_2.cjs.entry.js +6 -6
- package/dist/cjs/sd-linear-progress.cjs.entry.js +57 -0
- 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-number-input.cjs.entry.js +7 -6
- package/dist/cjs/sd-pagination_2.cjs.entry.js +8 -8
- package/dist/cjs/sd-popover.cjs.entry.js +2 -2
- package/dist/cjs/sd-portal.cjs.entry.js +2 -2
- package/dist/cjs/sd-progress.cjs.entry.js +3 -3
- package/dist/cjs/sd-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/sd-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/sd-radio.cjs.entry.js +1 -1
- package/dist/cjs/sd-select-dropdown_2.cjs.entry.js +4 -4
- package/dist/cjs/sd-select-group.cjs.entry.js +2 -2
- package/dist/cjs/sd-select-multiple-group.cjs.entry.js +1 -1
- package/dist/cjs/sd-select-multiple.cjs.entry.js +2 -2
- package/dist/cjs/sd-select-option-group.cjs.entry.js +4 -4
- package/dist/cjs/sd-select-v2-list-item_4.cjs.entry.js +10 -10
- package/dist/cjs/sd-select.cjs.entry.js +1 -1
- package/dist/cjs/sd-switch.cjs.entry.js +2 -2
- package/dist/cjs/sd-table.cjs.entry.js +6 -6
- package/dist/cjs/sd-tabs.cjs.entry.js +155 -15
- package/dist/cjs/sd-tag.cjs.entry.js +3 -3
- package/dist/cjs/sd-tbody.cjs.entry.js +2 -2
- package/dist/cjs/sd-td.cjs.entry.js +2 -2
- package/dist/cjs/sd-text-link.cjs.entry.js +4 -4
- package/dist/cjs/sd-textarea.cjs.entry.js +2 -2
- package/dist/cjs/sd-thead.cjs.entry.js +4 -4
- package/dist/cjs/sd-toast-container.cjs.entry.js +2 -2
- package/dist/cjs/sd-toast.cjs.entry.js +3 -3
- package/dist/cjs/sd-toggle.cjs.entry.js +2 -2
- package/dist/cjs/sd-tr.cjs.entry.js +3 -3
- package/dist/cjs/{system-C89o3A9Z.js → system-BbCUNhDJ.js} +1 -0
- package/dist/cjs/table-test.cjs.entry.js +2 -2
- package/dist/cjs/{tooltipArrow-Xkv-p1bY.js → tooltipArrow-DuANjCfc.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/sd-action-modal/sd-action-modal.js +1 -1
- package/dist/collection/components/sd-badge/sd-badge.js +1 -1
- package/dist/collection/components/sd-barcode-input/sd-barcode-input.js +1 -1
- package/dist/collection/components/sd-button-v2/sd-button-v2.js +2 -2
- package/dist/collection/components/sd-card/sd-card.js +1 -1
- package/dist/collection/components/sd-chip/sd-chip.js +2 -2
- package/dist/collection/components/sd-circle-progress/sd-circle-progress.config.js +4 -0
- package/dist/collection/components/sd-circle-progress/sd-circle-progress.css +22 -5
- package/dist/collection/components/sd-circle-progress/sd-circle-progress.js +26 -2
- package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.js +2 -2
- package/dist/collection/components/sd-date-picker/sd-date-picker-calendar/sd-date-picker-calendar.js +1 -1
- package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.js +2 -2
- package/dist/collection/components/sd-date-picker/sd-date-picker.js +2 -2
- package/dist/collection/components/sd-date-range-picker/sd-date-range-picker-calendar/sd-date-range-picker-calendar.js +1 -1
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +3 -3
- package/dist/collection/components/sd-field/sd-field.js +5 -5
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
- package/dist/collection/components/sd-form/sd-form.js +48 -32
- package/dist/collection/components/sd-ghost-button/sd-ghost-button.js +2 -2
- package/dist/collection/components/sd-input/sd-input.js +2 -2
- package/dist/collection/components/sd-linear-progress/sd-linear-progress.config.js +22 -0
- package/dist/collection/components/sd-linear-progress/sd-linear-progress.css +68 -0
- package/dist/collection/components/sd-linear-progress/sd-linear-progress.js +134 -0
- 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 +3 -3
- package/dist/collection/components/sd-pagination/sd-pagination.js +3 -3
- package/dist/collection/components/sd-portal/sd-portal.js +1 -1
- package/dist/collection/components/sd-progress/sd-progress.js +2 -2
- package/dist/collection/components/sd-select/sd-select-dropdown/sd-select-dropdown.js +2 -2
- package/dist/collection/components/sd-select/sd-select-option/sd-select-option.js +1 -1
- package/dist/collection/components/sd-select/sd-select-search-input/sd-select-search-input.js +3 -3
- package/dist/collection/components/sd-select-group/sd-select-group.js +1 -1
- package/dist/collection/components/sd-select-multiple/sd-select-multiple.js +1 -1
- package/dist/collection/components/sd-select-multiple-group/sd-select-option-group/sd-select-option-group.js +3 -3
- package/dist/collection/components/sd-select-v2/sd-select-v2-list-item/sd-select-v2-list-item.js +2 -2
- package/dist/collection/components/sd-select-v2/sd-select-v2-list-item-search/sd-select-v2-list-item-search.js +4 -4
- package/dist/collection/components/sd-select-v2/sd-select-v2-listbox/sd-select-v2-listbox.js +1 -1
- package/dist/collection/components/sd-select-v2/sd-select-v2-trigger/sd-select-v2-trigger.js +2 -2
- package/dist/collection/components/sd-select-v2/sd-select-v2.js +4 -4
- package/dist/collection/components/sd-switch/sd-switch.js +1 -1
- package/dist/collection/components/sd-table/sd-table.js +5 -5
- package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +1 -1
- package/dist/collection/components/sd-table/sd-td/sd-td.js +1 -1
- package/dist/collection/components/sd-table/sd-thead/sd-thead.js +3 -3
- package/dist/collection/components/sd-table/sd-tr/sd-tr.js +2 -2
- package/dist/collection/components/sd-tabs/sd-tabs.config.js +49 -0
- package/dist/collection/components/sd-tabs/sd-tabs.css +47 -41
- package/dist/collection/components/sd-tabs/sd-tabs.js +55 -19
- package/dist/collection/components/sd-tag/sd-tag.js +2 -2
- package/dist/collection/components/sd-text-link/sd-text-link.js +3 -3
- package/dist/collection/components/sd-textarea/sd-textarea.js +1 -1
- package/dist/collection/components/sd-toast/sd-toast.js +2 -2
- package/dist/collection/components/sd-toast-container/sd-toast-container.js +1 -1
- package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
- package/dist/collection/components/sd-tooltip/sd-tooltip.js +2 -2
- package/dist/collection/components/table-test/table-test.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-BylHC3lv.js → p-6LtMeKKA.js} +1 -1
- package/dist/components/{p-COM91Bya.js → p-9ZtJl4s6.js} +1 -1
- package/dist/components/{p-CeHRQb7A.js → p-B3xZdEDI.js} +1 -1
- package/dist/components/{p-D1SaZEYh.js → p-BALOEavB.js} +1 -1
- package/dist/components/{p-B8XV0vD8.js → p-BC1rdUkh.js} +1 -1
- package/dist/components/{p-BfG60atH.js → p-BH5mLw-t.js} +1 -1
- package/dist/components/{p-W6QlwGnP.js → p-BLwIhCdO.js} +1 -1
- package/dist/components/{p-CU7IOtCw.js → p-BM0sVq5Z.js} +1 -1
- package/dist/components/p-BXdEjuI_.js +1 -0
- package/dist/components/{p-D6C4-apu.js → p-BZc6lwGD.js} +1 -1
- package/dist/components/{p-Csfk-CtX.js → p-BZm6KN1s.js} +1 -1
- package/dist/components/{p-CoOl8zeX.js → p-Bbs5Ws0k.js} +1 -1
- package/dist/components/p-BgFLSKqC.js +1 -0
- package/dist/components/{p-BM9Fr6OX.js → p-Biplmgfa.js} +1 -1
- package/dist/components/p-Bp0B8tcl.js +1 -0
- package/dist/components/{p-BlqLear7.js → p-Btx5sC7s.js} +1 -1
- package/dist/components/{p-DboqT9Do.js → p-C3dI7f7C.js} +1 -1
- package/dist/components/p-CNAzAL53.js +1 -0
- package/dist/components/{p-9HhG23Vy.js → p-CTwEbxRN.js} +1 -1
- package/dist/components/{p-CuiFB2yQ.js → p-CWEeXx2E.js} +1 -1
- package/dist/components/{p-Cc3bTBBn.js → p-CZPR_5mk.js} +1 -1
- package/dist/components/{p-r8kAA1Su.js → p-CiSap3Ks.js} +1 -1
- package/dist/components/{p-CsVPC3FD.js → p-CqghR1aS.js} +1 -1
- package/dist/components/p-D1vaasIp.js +1 -0
- package/dist/components/p-D5HLYqT-.js +1 -0
- package/dist/components/{p-CLZ8NObl.js → p-DBex-RJU.js} +1 -1
- package/dist/components/{p-bYCOh35g.js → p-DMbVR8K4.js} +1 -1
- package/dist/components/{p-BBluw-CU.js → p-DWMY9O2B.js} +1 -1
- package/dist/components/{p-YgnF5oje.js → p-DaAhgdib.js} +1 -1
- package/dist/components/{p-Cj4NAUzE.js → p-DdJyzIYe.js} +1 -1
- package/dist/components/{p-DM5vbfxB.js → p-DdPLfQ4q.js} +1 -1
- package/dist/components/{p-DkHyt3Dz.js → p-DuyLeqsh.js} +1 -1
- package/dist/components/{p-BLxwBD2G.js → p-H-9uoufd.js} +1 -1
- package/dist/components/{p-CX0V7awA.js → p-SDBnyM8D.js} +1 -1
- package/dist/components/{p-Dmk-f7qn.js → p-iAWNMLXh.js} +1 -1
- package/dist/components/p-vQDL-PZ8.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-v2.js +1 -1
- package/dist/components/sd-button.js +1 -1
- package/dist/components/sd-calendar.js +1 -1
- package/dist/components/sd-card.js +1 -1
- package/dist/components/sd-checkbox.js +1 -1
- package/dist/components/sd-chip.js +1 -1
- package/dist/components/sd-circle-progress.js +1 -1
- package/dist/components/sd-confirm-modal.js +1 -1
- package/dist/components/sd-date-box.js +1 -1
- package/dist/components/sd-date-picker-calendar.js +1 -1
- package/dist/components/sd-date-picker-trigger.js +1 -1
- package/dist/components/sd-date-picker.js +1 -1
- package/dist/components/sd-date-range-picker-calendar.js +1 -1
- package/dist/components/sd-date-range-picker.js +1 -1
- package/dist/components/sd-dropdown-button.js +1 -1
- package/dist/components/sd-field.js +1 -1
- package/dist/components/sd-file-picker.js +1 -1
- package/dist/components/sd-floating-portal.js +1 -1
- package/dist/components/sd-form.js +1 -1
- package/dist/components/sd-ghost-button.js +1 -1
- package/dist/components/sd-guide.js +1 -1
- package/dist/components/sd-icon.js +1 -1
- package/dist/components/sd-input.js +1 -1
- package/dist/components/sd-linear-progress.d.ts +11 -0
- package/dist/components/sd-linear-progress.js +1 -0
- 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-portal.js +1 -1
- package/dist/components/sd-progress.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-dropdown.js +1 -1
- package/dist/components/sd-select-group.js +1 -1
- package/dist/components/sd-select-multiple-group.js +1 -1
- package/dist/components/sd-select-multiple.js +1 -1
- package/dist/components/sd-select-option-group.js +1 -1
- package/dist/components/sd-select-option.js +1 -1
- package/dist/components/sd-select-search-input.js +1 -1
- package/dist/components/sd-select-v2-list-item-search.js +1 -1
- package/dist/components/sd-select-v2-list-item.js +1 -1
- package/dist/components/sd-select-v2-listbox.js +1 -1
- package/dist/components/sd-select-v2-trigger.js +1 -1
- package/dist/components/sd-select-v2.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/components/table-test.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-00612047.entry.js +1 -0
- package/dist/design-system/{p-beb8d3de.entry.js → p-0069c4f6.entry.js} +1 -1
- package/dist/design-system/p-05a1c092.entry.js +1 -0
- package/dist/design-system/p-07adda3c.entry.js +1 -0
- package/dist/design-system/{p-ac9f7551.entry.js → p-0883bb11.entry.js} +1 -1
- package/dist/design-system/{p-c68e37f2.entry.js → p-109a10e4.entry.js} +1 -1
- package/dist/design-system/{p-12f13678.entry.js → p-1573f415.entry.js} +1 -1
- package/dist/design-system/{p-6b2f6efb.entry.js → p-16a15368.entry.js} +1 -1
- package/dist/design-system/p-17cd3a33.entry.js +1 -0
- package/dist/design-system/{p-308c2a72.entry.js → p-1b9f6cef.entry.js} +1 -1
- package/dist/design-system/{p-a4e85dba.entry.js → p-1cc7d81f.entry.js} +1 -1
- package/dist/design-system/{p-3c64616c.entry.js → p-280dc548.entry.js} +1 -1
- package/dist/design-system/{p-a8e7406e.entry.js → p-2cd2f2dd.entry.js} +1 -1
- package/dist/design-system/{p-75c5e31b.entry.js → p-2eb910ec.entry.js} +1 -1
- package/dist/design-system/{p-d43772c0.entry.js → p-33bec0e3.entry.js} +1 -1
- package/dist/design-system/{p-ade9319d.entry.js → p-380198bc.entry.js} +1 -1
- package/dist/design-system/{p-8cb8444e.entry.js → p-3a9559ee.entry.js} +1 -1
- package/dist/design-system/{p-27165b31.entry.js → p-3ca5c303.entry.js} +1 -1
- package/dist/design-system/{p-e1288299.entry.js → p-4114eea3.entry.js} +1 -1
- package/dist/design-system/{p-06080355.entry.js → p-4145b7cc.entry.js} +1 -1
- package/dist/design-system/{p-c67ff78d.entry.js → p-49f78122.entry.js} +1 -1
- package/dist/design-system/{p-9dd7befe.entry.js → p-4aeec574.entry.js} +1 -1
- package/dist/design-system/p-5e300b77.entry.js +1 -0
- package/dist/design-system/{p-4ba03850.entry.js → p-5ef82428.entry.js} +1 -1
- package/dist/design-system/{p-a70ca82b.entry.js → p-5f6379e9.entry.js} +1 -1
- package/dist/design-system/{p-7232731b.entry.js → p-6b537e2f.entry.js} +1 -1
- package/dist/design-system/{p-9960d880.entry.js → p-711c59fc.entry.js} +1 -1
- package/dist/design-system/{p-64a56a4e.entry.js → p-7b77c65c.entry.js} +1 -1
- package/dist/design-system/{p-2a4b6bc7.entry.js → p-8200b5f2.entry.js} +1 -1
- package/dist/design-system/p-8f88bd67.entry.js +1 -0
- package/dist/design-system/p-8ff967f7.entry.js +1 -0
- package/dist/design-system/{p-c62ad2f4.entry.js → p-9349f176.entry.js} +1 -1
- package/dist/design-system/{p-fa888a37.entry.js → p-9fee77f0.entry.js} +1 -1
- package/dist/design-system/p-BPGLtKk5.js +1 -0
- package/dist/design-system/p-BgFLSKqC.js +1 -0
- package/dist/design-system/p-Bp7ytJz5.js +2 -0
- package/dist/design-system/p-D1vaasIp.js +1 -0
- package/dist/design-system/{p-bYCOh35g.js → p-DMbVR8K4.js} +1 -1
- package/dist/design-system/{p-d668fd71.entry.js → p-a0cf8a1d.entry.js} +1 -1
- package/dist/design-system/{p-7ef0c428.entry.js → p-a8bde8d9.entry.js} +1 -1
- package/dist/design-system/{p-703eee55.entry.js → p-a9fc2c21.entry.js} +1 -1
- package/dist/design-system/p-ba5fea6f.entry.js +1 -0
- package/dist/design-system/{p-dc43ebf9.entry.js → p-bb492ba7.entry.js} +1 -1
- package/dist/design-system/{p-641c2f3d.entry.js → p-be54d6bd.entry.js} +1 -1
- package/dist/design-system/{p-ac441e78.entry.js → p-c3379a6e.entry.js} +1 -1
- package/dist/design-system/p-cc62c180.entry.js +1 -0
- package/dist/design-system/{p-132721ad.entry.js → p-ce3d0f9c.entry.js} +1 -1
- package/dist/design-system/{p-0b216b11.entry.js → p-d1dfa0e1.entry.js} +1 -1
- package/dist/design-system/{p-dfa716e0.entry.js → p-d52f25c6.entry.js} +1 -1
- package/dist/design-system/{p-639d237f.entry.js → p-d788d842.entry.js} +1 -1
- package/dist/design-system/{p-d8a48add.entry.js → p-dad07e1a.entry.js} +1 -1
- package/dist/design-system/{p-0bffdbf4.entry.js → p-dbcbbf1e.entry.js} +1 -1
- package/dist/design-system/{p-aeadfb9c.entry.js → p-dc07d618.entry.js} +1 -1
- package/dist/design-system/{p-1af3c5c5.entry.js → p-eb29dc9f.entry.js} +1 -1
- package/dist/design-system/{p-38e8fe7c.entry.js → p-f47fb87a.entry.js} +1 -1
- package/dist/design-system/{p-f6869087.entry.js → p-f4a00276.entry.js} +1 -1
- package/dist/design-system/{p-2319b722.entry.js → p-f503a1ef.entry.js} +1 -1
- package/dist/design-system/{p-b3b1f25d.entry.js → p-f637919e.entry.js} +1 -1
- package/dist/design-system/{p-0929f910.entry.js → p-f8237991.entry.js} +1 -1
- package/dist/design-system/{p-59aa62ff.entry.js → p-fdcfaa7c.entry.js} +1 -1
- package/dist/esm/component.progress-D1vaasIp.js +23 -0
- package/dist/esm/design-system.js +3 -3
- package/dist/esm/{index-BGyJgVXm.js → index-Bp7ytJz5.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/sd-action-modal.entry.js +2 -2
- package/dist/esm/sd-badge.entry.js +2 -2
- package/dist/esm/sd-barcode-input.entry.js +2 -2
- package/dist/esm/sd-button-v2_2.entry.js +3 -3
- package/dist/esm/sd-button_4.entry.js +10 -10
- package/dist/esm/sd-calendar.entry.js +1 -1
- package/dist/esm/sd-card.entry.js +2 -2
- package/dist/esm/sd-checkbox.entry.js +1 -1
- package/dist/esm/sd-chip.entry.js +3 -3
- package/dist/esm/sd-circle-progress.entry.js +12 -3
- package/dist/esm/sd-confirm-modal_2.entry.js +4 -4
- package/dist/esm/sd-date-box.entry.js +1 -1
- package/dist/esm/sd-date-picker-calendar.entry.js +3 -3
- package/dist/esm/sd-date-picker-trigger.entry.js +4 -4
- package/dist/esm/{sd-date-picker.config-bYCOh35g.js → sd-date-picker.config-DMbVR8K4.js} +3 -2
- package/dist/esm/sd-date-picker.entry.js +4 -4
- package/dist/esm/sd-date-range-picker-calendar.entry.js +3 -3
- package/dist/esm/sd-date-range-picker.entry.js +2 -2
- package/dist/esm/sd-dropdown-button.entry.js +5 -5
- package/dist/esm/sd-file-picker.entry.js +1 -1
- package/dist/esm/sd-form.entry.js +39 -28
- package/dist/esm/sd-ghost-button.entry.js +3 -3
- package/dist/esm/sd-guide.entry.js +2 -2
- package/dist/esm/sd-input_2.entry.js +6 -6
- package/dist/esm/sd-linear-progress.entry.js +55 -0
- package/dist/esm/sd-loading-container.entry.js +3 -3
- package/dist/esm/sd-modal-container.entry.js +1 -1
- package/dist/esm/sd-number-input.entry.js +7 -6
- package/dist/esm/sd-pagination_2.entry.js +8 -8
- package/dist/esm/sd-popover.entry.js +2 -2
- package/dist/esm/sd-portal.entry.js +2 -2
- package/dist/esm/sd-progress.entry.js +3 -3
- package/dist/esm/sd-radio-button.entry.js +1 -1
- package/dist/esm/sd-radio-group.entry.js +1 -1
- package/dist/esm/sd-radio.entry.js +1 -1
- package/dist/esm/sd-select-dropdown_2.entry.js +4 -4
- package/dist/esm/sd-select-group.entry.js +2 -2
- package/dist/esm/sd-select-multiple-group.entry.js +1 -1
- package/dist/esm/sd-select-multiple.entry.js +2 -2
- package/dist/esm/sd-select-option-group.entry.js +4 -4
- package/dist/esm/sd-select-v2-list-item_4.entry.js +10 -10
- package/dist/esm/sd-select.entry.js +1 -1
- package/dist/esm/sd-switch.entry.js +2 -2
- package/dist/esm/sd-table.entry.js +6 -6
- package/dist/esm/sd-tabs.entry.js +155 -15
- package/dist/esm/sd-tag.entry.js +3 -3
- package/dist/esm/sd-tbody.entry.js +2 -2
- package/dist/esm/sd-td.entry.js +2 -2
- package/dist/esm/sd-text-link.entry.js +4 -4
- package/dist/esm/sd-textarea.entry.js +2 -2
- package/dist/esm/sd-thead.entry.js +4 -4
- package/dist/esm/sd-toast-container.entry.js +2 -2
- package/dist/esm/sd-toast.entry.js +3 -3
- package/dist/esm/sd-toggle.entry.js +2 -2
- package/dist/esm/sd-tr.entry.js +3 -3
- package/dist/esm/{system-C-txBx-h.js → system-BgFLSKqC.js} +1 -0
- package/dist/esm/table-test.entry.js +2 -2
- package/dist/esm/{tooltipArrow-BAjP9_Hx.js → tooltipArrow-BHRQVawd.js} +1 -1
- package/dist/types/components/sd-circle-progress/sd-circle-progress.config.d.ts +2 -0
- package/dist/types/components/sd-circle-progress/sd-circle-progress.d.ts +1 -0
- package/dist/types/components/sd-form/sd-form.d.ts +10 -6
- package/dist/types/components/sd-linear-progress/sd-linear-progress.config.d.ts +29 -0
- package/dist/types/components/sd-linear-progress/sd-linear-progress.d.ts +9 -0
- package/dist/types/components/sd-tabs/sd-tabs.config.d.ts +78 -0
- package/dist/types/components/sd-tabs/sd-tabs.d.ts +3 -7
- package/dist/types/components.d.ts +60 -10
- package/hydrate/index.js +401 -153
- package/hydrate/index.mjs +401 -153
- package/package.json +1 -1
- package/dist/components/p-C-txBx-h.js +0 -1
- package/dist/components/p-C0VkfKIA.js +0 -1
- package/dist/components/p-CscUxW9p.js +0 -1
- package/dist/components/p-DWJ3CIKO.js +0 -1
- package/dist/components/p-D_XZAh9v.js +0 -1
- package/dist/components/p-DpBU4AWy.js +0 -1
- package/dist/design-system/p-0967ef4b.entry.js +0 -1
- package/dist/design-system/p-3677b3ce.entry.js +0 -1
- package/dist/design-system/p-7dc33db0.entry.js +0 -1
- package/dist/design-system/p-8d65090b.entry.js +0 -1
- package/dist/design-system/p-95d96917.entry.js +0 -1
- package/dist/design-system/p-9ecde011.entry.js +0 -1
- package/dist/design-system/p-BGyJgVXm.js +0 -2
- package/dist/design-system/p-C-txBx-h.js +0 -1
- package/dist/design-system/p-C4tHYnB4.js +0 -1
- package/dist/design-system/p-c290c0e0.entry.js +0 -1
- package/dist/design-system/p-e3a1e677.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, a as getElement, h, F as Fragment } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, a as getElement, h, F as Fragment } from './index-Bp7ytJz5.js';
|
|
2
2
|
import { n as nanoid } from './index-CCwNgVmC.js';
|
|
3
3
|
import { B as BaseDropdownEvent } from './base-dropdown-event-CRdYeSBK.js';
|
|
4
4
|
import { S as SelectKeyboardNavigation } from './select-keyboard-navigation-Cy6HMEsK.js';
|
|
@@ -275,7 +275,7 @@ const SdSelectGroup = class extends BaseDropdownEvent {
|
|
|
275
275
|
});
|
|
276
276
|
}
|
|
277
277
|
render() {
|
|
278
|
-
return (h("sd-field", { key: '
|
|
278
|
+
return (h("sd-field", { key: 'd4d80ad428cc1eb5a1d6878354c213bd25ea944a', label: this.label, labelWidth: this.labelWidth, name: this.name, rules: this.rules, error: this.error, disabled: this.disabled, icon: this.icon, addonLabel: this.addonLabel, addonAlign: this.addonAlign, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), style: { '--field-width': this.width || '200px' } }, h("div", { key: '1f9a8c1c9e34635ce7c1f91fc8d456b84a668c63', class: {
|
|
279
279
|
'sd-select-group': true,
|
|
280
280
|
'sd-select-group--open': this.isOpen,
|
|
281
281
|
'sd-select-group--disabled': this.disabled,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, a as getElement, h, F as Fragment } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, a as getElement, h, F as Fragment } from './index-Bp7ytJz5.js';
|
|
2
2
|
import { n as nanoid } from './index-CCwNgVmC.js';
|
|
3
3
|
import { B as BaseDropdownEvent } from './base-dropdown-event-CRdYeSBK.js';
|
|
4
4
|
import { S as SelectKeyboardNavigation } from './select-keyboard-navigation-Cy6HMEsK.js';
|
|
@@ -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-Bp7ytJz5.js';
|
|
2
2
|
import { S as SelectKeyboardNavigation } from './select-keyboard-navigation-Cy6HMEsK.js';
|
|
3
3
|
import { B as BaseDropdownEvent } from './base-dropdown-event-CRdYeSBK.js';
|
|
4
4
|
import { n as nanoid } from './index-CCwNgVmC.js';
|
|
@@ -154,7 +154,7 @@ const SdSelectMultiple = class extends BaseDropdownEvent {
|
|
|
154
154
|
this.handleOptionSelection(option);
|
|
155
155
|
};
|
|
156
156
|
render() {
|
|
157
|
-
return (h("sd-field", { key: '
|
|
157
|
+
return (h("sd-field", { key: '6fc9d0059e91044ef8e40881276bbef857ef1225', label: this.label, labelWidth: this.labelWidth, name: this.name, rules: this.rules, error: this.error, disabled: this.disabled, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el) }, h("div", { key: 'b2591c655dc27b1db16e8f40c0a33997acbee35b', class: {
|
|
158
158
|
'sd-select-multiple': true,
|
|
159
159
|
'sd-select-multiple--open': this.isOpen,
|
|
160
160
|
'sd-select-multiple--disabled': this.disabled,
|
|
@@ -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-Bp7ytJz5.js';
|
|
2
2
|
|
|
3
3
|
const sdSelectOptionGroupCss = () => `sd-select-option-group{display:block;height:fit-content}sd-select-option-group .sd-select__option-group{display:flex;padding:4px 12px;padding-left:12px;font-size:12px;line-height:20px;cursor:pointer}sd-select-option-group .sd-select__option-group.sd-select__option-group--group:not(.sd-select__option-group--use-checkbox),sd-select-option-group .sd-select__option-group.sd-select__option-group--subgroup:not(.sd-select__option-group--use-checkbox){cursor:default !important}sd-select-option-group .sd-select__option-group.sd-select__option-group--group{background-color:#F5FAFF !important;color:#333333 !important;font-weight:700}sd-select-option-group .sd-select__option-group.sd-select__option-group--subgroup{padding-left:20px;background-color:#F9F9F9 !important;color:#333333 !important;font-weight:500}sd-select-option-group .sd-select__option-group.sd-select__option-group--item{padding-left:28px}sd-select-option-group .sd-select__option-group sd-checkbox__bg{border-color:#888888}sd-select-option-group .sd-select__option-group__label-wrapper{display:flex;width:100%;column-gap:8px;align-items:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}sd-select-option-group .sd-select__option-group__label-wrapper sd-checkbox{flex-shrink:0}sd-select-option-group .sd-select__option-group__label-wrapper .sd-select__option-group-label{flex:0 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}sd-select-option-group .sd-select__option-group__label-wrapper .sd-select__option-group__count-indicator{width:fit-content;flex-shrink:0;font-size:12px;font-weight:500;color:#888888}sd-select-option-group .sd-select__option-group--focused{background-color:#E6F1FF}sd-select-option-group .sd-select__option-group--selected.sd-select__option-group--item:not(:hover):not(.sd-select__option-group--use-checkbox),sd-select-option-group .sd-select__option-group--focused.sd-select__option-group--item:not(:hover):not(.sd-select__option-group--use-checkbox){color:#0075FF;font-weight:700}sd-select-option-group .sd-select__option-group--disabled{color:#AAAAAA;cursor:not-allowed}sd-select-option-group .sd-select__option-group:hover:not(.sd-select__option-group--disabled){background-color:#0075FF;color:white}sd-select-option-group .sd-select__option-group:hover.sd-select__option-group--selected:not(.sd-select__option-group--group):not(.sd-select__option-group--subgroup) sd-checkbox .sd-checkbox__bg{border-color:white !important}`;
|
|
4
4
|
|
|
@@ -46,7 +46,7 @@ const SdSelectOptionGroup = class {
|
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
48
|
render() {
|
|
49
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: '647a7be115df96fe30d3b69d3b09ee45d229d86c', class: {
|
|
50
50
|
'sd-select__option-group': true,
|
|
51
51
|
'sd-select__option-group--selected': !!this.isSelected,
|
|
52
52
|
'sd-select__option-group--disabled': !!this.option.disabled,
|
|
@@ -55,10 +55,10 @@ const SdSelectOptionGroup = class {
|
|
|
55
55
|
'sd-select__option-group--group': this.option.type === 'group',
|
|
56
56
|
'sd-select__option-group--subgroup': this.option.type === 'subgroup',
|
|
57
57
|
'sd-select__option-group--item': this.option.type === 'item',
|
|
58
|
-
}, onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), style: this.optionStyle, "data-index": this.index, onClick: event => this.handleClick(this.option, this.isSelected, event) }, h("div", { key: '
|
|
58
|
+
}, onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), style: this.optionStyle, "data-index": this.index, onClick: event => this.handleClick(this.option, this.isSelected, event) }, h("div", { key: 'b1b1697c34e57667203992f8e4e6e9438f204dea', class: "sd-select__option-group__label-wrapper" }, this.useCheckbox && (h("sd-checkbox", { key: 'b67bec9cfd93739348f7d6c3e93945c28171e752', value: this.isSelected, disabled: this.option.disabled, onClick: e => {
|
|
59
59
|
e.preventDefault();
|
|
60
60
|
this.handleClick(this.option, this.isSelected, e);
|
|
61
|
-
} })), h("span", { key: '
|
|
61
|
+
} })), h("span", { key: 'a65090e487a45acec39155aa6df00a1500249e20', class: "sd-select__option-group-label" }, this.option.label), this.useIndicator && this.option.type !== 'item' && (h("span", { key: '5024421742568127097655bcb39af70b61cc3403', class: "sd-select__option-group__count-indicator" }, `(${this.countInfo?.selectedCount}/${this.countInfo?.totalCount})`)))));
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
64
|
SdSelectOptionGroup.style = sdSelectOptionGroupCss();
|
|
@@ -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-Bp7ytJz5.js';
|
|
2
2
|
|
|
3
3
|
const select = {
|
|
4
4
|
paddingX: "12",
|
|
@@ -236,7 +236,7 @@ const SdSelectV2ListItem = class {
|
|
|
236
236
|
if (isDepth1Group) {
|
|
237
237
|
cssVars['--list-item-border-top'] = `${LIST_ITEM_COLORS.depth1.borderWidth}px solid ${LIST_ITEM_COLORS.depth1.border}`;
|
|
238
238
|
}
|
|
239
|
-
return (h("div", { key: '
|
|
239
|
+
return (h("div", { key: '62974a8d1442730ca752b3fc11f151c4a5be4ad1', class: {
|
|
240
240
|
'sd-select-v2-list-item': true,
|
|
241
241
|
'sd-select-v2-list-item--group': isGroup,
|
|
242
242
|
'sd-select-v2-list-item--depth1-group': isDepth1Group,
|
|
@@ -246,7 +246,7 @@ const SdSelectV2ListItem = class {
|
|
|
246
246
|
'sd-select-v2-list-item--focused': this.isFocused,
|
|
247
247
|
'sd-select-v2-list-item--selectable': this.isSelectable && !this.option.disabled,
|
|
248
248
|
'sd-select-v2-list-item--disabled': !!this.option.disabled,
|
|
249
|
-
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: '
|
|
249
|
+
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: 'cf29df3617e45f3b9415b8da1beed7ba5918b8cd', value: this.isSelected === null ? null : !!this.isSelected, disabled: this.option.disabled, inverse: this.isFocused && this.isSelected !== false, class: "sd-select-v2-list-item__checkbox", onClick: this.handleCheckboxClick, onSdUpdate: this.handleCheckboxUpdate })), h("span", { key: '478e566c74c0078ef72b90d836f67156e905bbac', class: "sd-select-v2-list-item__label" }, this.option.label), this.countInfo && (h("span", { key: '0cde990cb1fff4898581c8c7d321c8669dfac226', class: "sd-select-v2-list-item__count" }, "(", this.countInfo.selected, "/", this.countInfo.total, ")"))));
|
|
250
250
|
}
|
|
251
251
|
};
|
|
252
252
|
SdSelectV2ListItem.style = sdSelectV2ListItemCss();
|
|
@@ -299,15 +299,15 @@ const SdSelectV2ListItemSearch = class {
|
|
|
299
299
|
clearTimeout(this.debounceTimer);
|
|
300
300
|
}
|
|
301
301
|
render() {
|
|
302
|
-
return (h("div", { key: '
|
|
302
|
+
return (h("div", { key: '75c6b01fbe256bca732553a27711fa7197535688', class: {
|
|
303
303
|
'sd-select-v2-list-item-search': true,
|
|
304
304
|
'sd-select-v2-list-item-search--scrolled': this.isScrolled,
|
|
305
|
-
} }, h("div", { key: '
|
|
305
|
+
} }, h("div", { key: 'b66cd053b89942f3de55feecdd0eee79b863eb0d', class: "sd-select-v2-list-item-search__inner" }, h("sd-icon", { key: 'bed6f00452187d1087b6bb4653c04e8babeaa277', name: "search", size: 16, color: "grey_70", class: "sd-select-v2-list-item-search__icon" }), h("input", { key: '4c29192547fcf9ec2563b7d843b8e77a3eb900b1', ref: el => {
|
|
306
306
|
this.inputEl = el;
|
|
307
|
-
}, type: "text", class: "sd-select-v2-list-item-search__input", placeholder: "\uAC80\uC0C9\uC5B4 \uC785\uB825", value: this.searchText, onInput: this.handleInput, onFocus: () => this.searchFocus.emit() }), h("button", { key: '
|
|
307
|
+
}, type: "text", class: "sd-select-v2-list-item-search__input", placeholder: "\uAC80\uC0C9\uC5B4 \uC785\uB825", value: this.searchText, onInput: this.handleInput, onFocus: () => this.searchFocus.emit() }), h("button", { key: '55f94ce6eb29cec10897259b894c3460d766268e', type: "button", class: {
|
|
308
308
|
'sd-select-v2-list-item-search__clear': true,
|
|
309
309
|
'sd-select-v2-list-item-search__clear--hidden': !this.searchText,
|
|
310
|
-
}, onClick: this.handleClear, tabindex: this.searchText ? 0 : -1, "aria-hidden": this.searchText ? 'false' : 'true' }, h("sd-icon", { key: '
|
|
310
|
+
}, onClick: this.handleClear, tabindex: this.searchText ? 0 : -1, "aria-hidden": this.searchText ? 'false' : 'true' }, h("sd-icon", { key: 'a7332ec5ecebf522797bb6db1fdc385c0dfa1abe', name: "close", size: 12, color: "#888888" })))));
|
|
311
311
|
}
|
|
312
312
|
};
|
|
313
313
|
SdSelectV2ListItemSearch.style = sdSelectV2ListItemSearchCss();
|
|
@@ -606,7 +606,7 @@ const SdSelectV2Listbox = class {
|
|
|
606
606
|
'--listbox-max-height': this.maxHeight,
|
|
607
607
|
'--listbox-radius': `${LIST_BOX_LAYOUT.radius}px`,
|
|
608
608
|
};
|
|
609
|
-
return (h("div", { key: '
|
|
609
|
+
return (h("div", { key: 'd4d80ebd565436cd929961a2f9ce50adf92c124b', class: "sd-select-v2-listbox", style: cssVars }, this.showSearch && (h("sd-select-v2-list-item-search", { key: 'bd549975fe6187aa7e77e718c8d2ba4a6d6e33de', isScrolled: this.isScrolled, onSdSearchFilter: this.handleSearchFilter })), h("div", { key: '4ac6a1512781942fef3e42d6ca32762962df1836', class: "sd-select-v2-listbox__list", onScroll: this.handleScroll, ref: el => {
|
|
610
610
|
this.listEl = el;
|
|
611
611
|
} }, this.isEmpty ? (h("div", { class: "sd-select-v2-listbox__empty" }, EMPTY_MESSAGE)) : this.isDepth ? (this.renderOptions(this.filteredOptions)) : (this.filteredOptions.map(option => (h("sd-select-v2-list-item", { option: option, depth: 1, isSelected: this.isOptionSelected(option), isFocused: this.isOptionFocused(option), useCheckbox: this.isMulti, onSdListItemClick: this.handleOptionClick, onMouseEnter: () => this.handleOptionHover(option) })))))));
|
|
612
612
|
}
|
|
@@ -668,13 +668,13 @@ const SdSelectV2Trigger = class {
|
|
|
668
668
|
? SELECT_COLORS.icon.disabled
|
|
669
669
|
: SELECT_COLORS.icon.default,
|
|
670
670
|
};
|
|
671
|
-
return (h("div", { key: '
|
|
671
|
+
return (h("div", { key: '7c4f60c972c17b5954cbf0d0cc7ee38c8e6c16a3', ref: el => {
|
|
672
672
|
this.triggerEl = el;
|
|
673
673
|
}, tabindex: this.disabled ? -1 : 0, class: {
|
|
674
674
|
'sd-select-v2-trigger': true,
|
|
675
675
|
'sd-select-v2-trigger--open': this.isOpen,
|
|
676
676
|
'sd-select-v2-trigger--disabled': this.disabled,
|
|
677
|
-
}, style: cssVars, onClick: this.handleClick, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: '
|
|
677
|
+
}, style: cssVars, onClick: this.handleClick, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: 'de5f5a44626fce29c5a83cf0a14dd03352d40b57', class: "sd-select-v2-trigger__content" }, h("span", { key: 'a36a013e9ef359160c2b9d24b42ee6f228aca302', class: "sd-select-v2-trigger__text" }, hasValue ? this.displayText : this.placeholder), h("sd-icon", { key: '4bfcfce96fbe2008517ee26d7802d4492292faa5', name: "chevronDown", size: 12, color: "var(--trigger-icon-color)", class: {
|
|
678
678
|
'sd-select-v2-trigger__icon': true,
|
|
679
679
|
'sd-select-v2-trigger__icon--open': this.isOpen,
|
|
680
680
|
} }))));
|
|
@@ -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-Bp7ytJz5.js';
|
|
2
2
|
import { B as BaseDropdownEvent } from './base-dropdown-event-CRdYeSBK.js';
|
|
3
3
|
import { S as SelectKeyboardNavigation } from './select-keyboard-navigation-Cy6HMEsK.js';
|
|
4
4
|
import { n as nanoid } from './index-CCwNgVmC.js';
|
|
@@ -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-Bp7ytJz5.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: 'ac6a35d06ddd04bc94369014ff586766dd745bbb', "aria-label": this.label || 'switch', class: this.switchClasses, style: cssVars }, h("input", { key: '9ebc810e93c9dfa3bf7407f279dadbada579196e', type: "checkbox", checked: this.value, disabled: this.disabled, onInput: this.handleChange }), h("div", { key: '7add76be99645d6434e95305f6318fac7da0de57', class: "sd-switch__track" }, h("div", { key: 'ed90778aa4dcd6f0853029579c36cfdb8640afcf', class: "sd-switch__knob" })), this.label && h("span", { key: '70e3ddf819e77da4c693a4853ddb7f392381964e', class: "sd-switch__label" }, this.label)));
|
|
104
104
|
}
|
|
105
105
|
};
|
|
106
106
|
SdSwitch.style = sdSwitchCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, a as getElement, d as readTask, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, a as getElement, d as readTask, h, H as Host } from './index-Bp7ytJz5.js';
|
|
2
2
|
import { T as TABLE_ID_ATTR } from './constants-sZMi_32I.js';
|
|
3
3
|
|
|
4
4
|
const urlAlphabet =
|
|
@@ -518,24 +518,24 @@ const SdTable = class {
|
|
|
518
518
|
}
|
|
519
519
|
render() {
|
|
520
520
|
const resolvedTableId = this.getResolvedTableId();
|
|
521
|
-
return (h(Host, { key: '
|
|
521
|
+
return (h(Host, { key: '0b90643721a90b7bb59a6c31f6edeb313849b973' }, h("div", { key: 'e55fe4f476dbea4888a168861e7e6d6951d7d489', class: "sd-table__container", style: {
|
|
522
522
|
'--table-width': this.width,
|
|
523
523
|
'--table-height': this.height,
|
|
524
524
|
'--table-container-height': `calc(${this.height || '100%'} - ${this.pagination && this.rowCount > 0 && !this.useVirtualScroll ? 48 : 0}px)`,
|
|
525
|
-
} }, h("div", { key: '
|
|
525
|
+
} }, h("div", { key: 'de18a900037a7b2f619dd22981c30ed76f5a8111', class: {
|
|
526
526
|
'sd-table__clip': true,
|
|
527
527
|
'sd-table__clip--has-pagination': !!(this.pagination &&
|
|
528
528
|
this.pagination.rowsPerPage > 0 &&
|
|
529
529
|
this.rowCount > 0 &&
|
|
530
530
|
!this.useVirtualScroll),
|
|
531
|
-
} }, h("div", { key: '
|
|
531
|
+
} }, h("div", { key: '028e0982d415033adaf420ee6b953241c8f3dbec', class: {
|
|
532
532
|
'sd-table__wrapper': true,
|
|
533
533
|
'sd-table__wrapper--loading': this.isLoading,
|
|
534
534
|
'sd-table__wrapper--no-data': this.rowCount === 0 && !this.isLoading,
|
|
535
|
-
} }, this.isLoading && (h("div", { key: '
|
|
535
|
+
} }, this.isLoading && (h("div", { key: '8c9110c9c2c26cddbbed8e1f2782ecfaafd3679c', class: "sd-table__loading", style: { top: `${this.loadingScrollTop}px` } }, h("sd-circle-progress", { key: '51b61f91b0ecebf63fe3e65b94012963f0375e5c', indeterminate: true }))), this.rowCount === 0 && !this.isLoading && (h("div", { key: '0a7a45049014869b8164b081a251218d3c814e87', class: "sd-table__no-data" }, h("slot", { key: 'd4b6219e5dcaaa22be3360f7f0f05a8b32533890', name: "no-data" }, h("span", { key: 'c76848aad8a1d3967f3cd239090e97266e46ab3e' }, this.resolvedNoDataLabel)))), h("table", { key: '2b560d112402549c7043b337d944b0de88c3ba0e', class: this.tableClasses }, h("slot", { key: '1c4583148df6a585f389c1bed0426fa4a3cb4899', name: `${resolvedTableId}-head`, onSlotchange: this.handleStructureSlotChange }), h("slot", { key: 'a5d983106de61c829f9cbeb541d1908fee48468c', name: `${resolvedTableId}-body`, onSlotchange: this.handleStructureSlotChange })))), this.pagination &&
|
|
536
536
|
this.pagination.rowsPerPage > 0 &&
|
|
537
537
|
this.rowCount > 0 &&
|
|
538
|
-
!this.useVirtualScroll && (h("div", { key: '
|
|
538
|
+
!this.useVirtualScroll && (h("div", { key: '004355d84e2cfc2fd38a9d4811f14fd66dc5c21b', class: "sd-table__pagination" }, h("sd-pagination", { key: '463586c7e57782a7989962f73cb3d4e8c04f5bce', 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-v2", { key: '1f26de447da63ef0c4a24ffb49666a0687db9991', value: this.useInternalPagination
|
|
539
539
|
? this.innerRowsPerPage
|
|
540
540
|
: this.pagination.rowsPerPage, options: this.rowsPerPageOption, width: "128px", emitValue: true, onSdUpdate: e => {
|
|
541
541
|
if (!this.isRowsPerPageValue(e.detail))
|
|
@@ -1,6 +1,119 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-Bp7ytJz5.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const tab = {
|
|
4
|
+
main: {
|
|
5
|
+
lg: {
|
|
6
|
+
height: "44",
|
|
7
|
+
paddingX: "32"
|
|
8
|
+
},
|
|
9
|
+
md: {
|
|
10
|
+
height: "36",
|
|
11
|
+
paddingX: "24"
|
|
12
|
+
},
|
|
13
|
+
gap: "8",
|
|
14
|
+
container: {
|
|
15
|
+
gap: "4"
|
|
16
|
+
},
|
|
17
|
+
radius: "6",
|
|
18
|
+
border: {
|
|
19
|
+
width: "1"
|
|
20
|
+
},
|
|
21
|
+
selected: {
|
|
22
|
+
bg: "#FFFFFF",
|
|
23
|
+
text: "#0075FF",
|
|
24
|
+
border: "#0075FF",
|
|
25
|
+
typography: {
|
|
26
|
+
fontWeight: "700"}
|
|
27
|
+
},
|
|
28
|
+
"default": {
|
|
29
|
+
bg: "#F6F6F6",
|
|
30
|
+
text: "#888888",
|
|
31
|
+
border: "#CCCCCC",
|
|
32
|
+
typography: {
|
|
33
|
+
fontFamily: "Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif",
|
|
34
|
+
fontWeight: "400",
|
|
35
|
+
fontSize: "12",
|
|
36
|
+
lineHeight: "20"}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
sub: {
|
|
40
|
+
selected: {
|
|
41
|
+
text: "#0075FF",
|
|
42
|
+
line: "#0075FF",
|
|
43
|
+
typography: {
|
|
44
|
+
fontWeight: "700"}
|
|
45
|
+
},
|
|
46
|
+
"default": {
|
|
47
|
+
text: "#222222",
|
|
48
|
+
typography: {
|
|
49
|
+
fontFamily: "Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif",
|
|
50
|
+
fontWeight: "400",
|
|
51
|
+
fontSize: "12",
|
|
52
|
+
lineHeight: "20"}
|
|
53
|
+
},
|
|
54
|
+
border: {
|
|
55
|
+
width: "1"
|
|
56
|
+
},
|
|
57
|
+
gap: "24",
|
|
58
|
+
content: {
|
|
59
|
+
gap: "4"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
var tabTokens = {
|
|
64
|
+
tab: tab
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
const TAB_MAIN_LAYOUT = {
|
|
68
|
+
md: {
|
|
69
|
+
height: Number(tabTokens.tab.main.md.height),
|
|
70
|
+
paddingX: Number(tabTokens.tab.main.md.paddingX),
|
|
71
|
+
},
|
|
72
|
+
lg: {
|
|
73
|
+
height: Number(tabTokens.tab.main.lg.height),
|
|
74
|
+
paddingX: Number(tabTokens.tab.main.lg.paddingX),
|
|
75
|
+
},
|
|
76
|
+
gap: Number(tabTokens.tab.main.gap),
|
|
77
|
+
containerGap: Number(tabTokens.tab.main.container.gap),
|
|
78
|
+
radius: Number(tabTokens.tab.main.radius),
|
|
79
|
+
borderWidth: Number(tabTokens.tab.main.border.width),
|
|
80
|
+
};
|
|
81
|
+
const TAB_MAIN_COLORS = {
|
|
82
|
+
selected: {
|
|
83
|
+
bg: tabTokens.tab.main.selected.bg,
|
|
84
|
+
text: tabTokens.tab.main.selected.text,
|
|
85
|
+
border: tabTokens.tab.main.selected.border,
|
|
86
|
+
},
|
|
87
|
+
default: {
|
|
88
|
+
bg: tabTokens.tab.main.default.bg,
|
|
89
|
+
text: tabTokens.tab.main.default.text,
|
|
90
|
+
border: tabTokens.tab.main.default.border,
|
|
91
|
+
},
|
|
92
|
+
};
|
|
93
|
+
const TAB_MAIN_TYPOGRAPHY = {
|
|
94
|
+
selected: tabTokens.tab.main.selected.typography,
|
|
95
|
+
default: tabTokens.tab.main.default.typography,
|
|
96
|
+
};
|
|
97
|
+
const TAB_SUB_LAYOUT = {
|
|
98
|
+
gap: Number(tabTokens.tab.sub.gap),
|
|
99
|
+
contentGap: Number(tabTokens.tab.sub.content.gap),
|
|
100
|
+
borderWidth: Number(tabTokens.tab.sub.border.width),
|
|
101
|
+
};
|
|
102
|
+
const TAB_SUB_COLORS = {
|
|
103
|
+
selected: {
|
|
104
|
+
text: tabTokens.tab.sub.selected.text,
|
|
105
|
+
line: tabTokens.tab.sub.selected.line,
|
|
106
|
+
},
|
|
107
|
+
default: {
|
|
108
|
+
text: tabTokens.tab.sub.default.text,
|
|
109
|
+
},
|
|
110
|
+
};
|
|
111
|
+
const TAB_SUB_TYPOGRAPHY = {
|
|
112
|
+
selected: tabTokens.tab.sub.selected.typography,
|
|
113
|
+
default: tabTokens.tab.sub.default.typography,
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
const sdTabsCss = () => `sd-tabs{display:inline-block;width:100%}sd-tabs .sd-tabs{display:flex;flex-direction:row;gap:var(--sd-tabs-main-container-gap);border-bottom:var(--sd-tabs-main-border-width) solid var(--sd-tabs-main-selected-border);font-family:var(--sd-tabs-main-font-family)}sd-tabs .sd-tabs__tab{display:flex;align-items:center;justify-content:center;gap:var(--sd-tabs-main-gap);cursor:pointer;box-sizing:border-box;height:var(--sd-tabs-main-height);padding:0 var(--sd-tabs-main-padding-x);border:var(--sd-tabs-main-border-width) solid var(--sd-tabs-main-default-border);border-bottom:none;border-top-left-radius:var(--sd-tabs-main-radius);border-top-right-radius:var(--sd-tabs-main-radius);background-color:var(--sd-tabs-main-default-bg);color:var(--sd-tabs-main-default-text);font-size:var(--sd-tabs-main-font-size);line-height:var(--sd-tabs-main-line-height);font-weight:var(--sd-tabs-main-font-weight-default);transition:all 0.2s ease;position:relative;user-select:none}sd-tabs .sd-tabs__tab::before{content:"";position:absolute;inset:0;opacity:0;transition:all 0.2s;pointer-events:none}sd-tabs .sd-tabs__tab--selected{border-color:var(--sd-tabs-main-selected-border);color:var(--sd-tabs-main-selected-text);background-color:var(--sd-tabs-main-selected-bg)}sd-tabs .sd-tabs__tab--selected .sd-tabs__label::before{font-weight:var(--sd-tabs-main-font-weight-selected)}sd-tabs .sd-tabs__tab--selected:hover::before{background-color:var(--sd-tabs-main-selected-border);opacity:0.15}sd-tabs .sd-tabs__tab--unselected:hover::before{background-color:var(--sd-tabs-main-default-text);opacity:0.15}sd-tabs .sd-tabs__label{user-select:none;font-weight:var(--sd-tabs-main-font-weight-selected);visibility:hidden;position:relative;white-space:nowrap}sd-tabs .sd-tabs__label::before{content:attr(data-label);visibility:visible;position:absolute;inset:0;font-weight:var(--sd-tabs-main-font-weight-default);transition:font-weight 0.2s ease}sd-tabs .sd-tabs--sub{gap:var(--sd-tabs-sub-gap);border-bottom:none;font-family:var(--sd-tabs-sub-font-family)}sd-tabs .sd-tabs--sub .sd-tabs__tab{height:auto;padding:0 0 var(--sd-tabs-sub-content-gap) 0;border:none;border-radius:0;background-color:transparent;color:var(--sd-tabs-sub-default-text);font-size:var(--sd-tabs-sub-font-size);line-height:var(--sd-tabs-sub-line-height);font-weight:var(--sd-tabs-sub-font-weight-default)}sd-tabs .sd-tabs--sub .sd-tabs__tab::before{content:"";position:absolute;left:0;right:0;bottom:0;height:var(--sd-tabs-sub-border-width);width:100%;background-color:var(--sd-tabs-sub-selected-line);opacity:0;transition:opacity 0.2s ease;inset:auto 0 0 0;pointer-events:none}sd-tabs .sd-tabs--sub .sd-tabs__tab--selected{color:var(--sd-tabs-sub-selected-text);background-color:transparent}sd-tabs .sd-tabs--sub .sd-tabs__tab--selected::before{opacity:1}sd-tabs .sd-tabs--sub .sd-tabs__tab--selected .sd-tabs__label::before{font-weight:var(--sd-tabs-sub-font-weight-selected)}sd-tabs .sd-tabs--sub .sd-tabs__label{font-weight:var(--sd-tabs-sub-font-weight-selected)}sd-tabs .sd-tabs--sub .sd-tabs__label::before{font-weight:var(--sd-tabs-sub-font-weight-default)}`;
|
|
4
117
|
|
|
5
118
|
const SdTabs = class {
|
|
6
119
|
constructor(hostRef) {
|
|
@@ -12,17 +125,12 @@ const SdTabs = class {
|
|
|
12
125
|
size = 'md';
|
|
13
126
|
isSub = false;
|
|
14
127
|
update;
|
|
15
|
-
componentWillLoad() {
|
|
16
|
-
if (this.value !== undefined && this.value !== null) {
|
|
17
|
-
this.value = this.value;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
128
|
valueChanged(newValue) {
|
|
21
129
|
this.value = newValue;
|
|
22
130
|
}
|
|
23
|
-
handleTabClick = (
|
|
24
|
-
this.value =
|
|
25
|
-
this.update.emit(
|
|
131
|
+
handleTabClick = (tab) => {
|
|
132
|
+
this.value = tab.value;
|
|
133
|
+
this.update.emit(tab.value);
|
|
26
134
|
};
|
|
27
135
|
isTabSelected(tab) {
|
|
28
136
|
return this.value === tab.value;
|
|
@@ -35,20 +143,52 @@ const SdTabs = class {
|
|
|
35
143
|
return classes.join(' ');
|
|
36
144
|
}
|
|
37
145
|
getContainerClasses() {
|
|
38
|
-
const classes = ['sd-tabs', `sd-tabs--${this.size}`];
|
|
39
|
-
if (this.isSub)
|
|
146
|
+
const classes = ['sd-tabs', `sd-tabs--${this.size ?? 'md'}`];
|
|
147
|
+
if (this.isSub)
|
|
40
148
|
classes.push('sd-tabs--sub');
|
|
41
|
-
}
|
|
42
149
|
return classes.join(' ');
|
|
43
150
|
}
|
|
44
151
|
getBadgeName(tab) {
|
|
45
152
|
const color = this.isTabSelected(tab) ? 'blue' : 'grey';
|
|
46
153
|
return `square_xs_${color}`;
|
|
47
154
|
}
|
|
155
|
+
buildCssVars() {
|
|
156
|
+
const mainSize = TAB_MAIN_LAYOUT[this.size ?? 'md'];
|
|
157
|
+
return {
|
|
158
|
+
'--sd-tabs-main-height': `${mainSize.height}px`,
|
|
159
|
+
'--sd-tabs-main-padding-x': `${mainSize.paddingX}px`,
|
|
160
|
+
'--sd-tabs-main-gap': `${TAB_MAIN_LAYOUT.gap}px`,
|
|
161
|
+
'--sd-tabs-main-container-gap': `${TAB_MAIN_LAYOUT.containerGap}px`,
|
|
162
|
+
'--sd-tabs-main-radius': `${TAB_MAIN_LAYOUT.radius}px`,
|
|
163
|
+
'--sd-tabs-main-border-width': `${TAB_MAIN_LAYOUT.borderWidth}px`,
|
|
164
|
+
'--sd-tabs-main-selected-bg': TAB_MAIN_COLORS.selected.bg,
|
|
165
|
+
'--sd-tabs-main-selected-text': TAB_MAIN_COLORS.selected.text,
|
|
166
|
+
'--sd-tabs-main-selected-border': TAB_MAIN_COLORS.selected.border,
|
|
167
|
+
'--sd-tabs-main-default-bg': TAB_MAIN_COLORS.default.bg,
|
|
168
|
+
'--sd-tabs-main-default-text': TAB_MAIN_COLORS.default.text,
|
|
169
|
+
'--sd-tabs-main-default-border': TAB_MAIN_COLORS.default.border,
|
|
170
|
+
'--sd-tabs-main-font-family': TAB_MAIN_TYPOGRAPHY.default.fontFamily,
|
|
171
|
+
'--sd-tabs-main-font-size': `${TAB_MAIN_TYPOGRAPHY.default.fontSize}px`,
|
|
172
|
+
'--sd-tabs-main-line-height': `${TAB_MAIN_TYPOGRAPHY.default.lineHeight}px`,
|
|
173
|
+
'--sd-tabs-main-font-weight-default': TAB_MAIN_TYPOGRAPHY.default.fontWeight,
|
|
174
|
+
'--sd-tabs-main-font-weight-selected': TAB_MAIN_TYPOGRAPHY.selected.fontWeight,
|
|
175
|
+
'--sd-tabs-sub-gap': `${TAB_SUB_LAYOUT.gap}px`,
|
|
176
|
+
'--sd-tabs-sub-content-gap': `${TAB_SUB_LAYOUT.contentGap}px`,
|
|
177
|
+
'--sd-tabs-sub-border-width': `${TAB_SUB_LAYOUT.borderWidth}px`,
|
|
178
|
+
'--sd-tabs-sub-selected-text': TAB_SUB_COLORS.selected.text,
|
|
179
|
+
'--sd-tabs-sub-selected-line': TAB_SUB_COLORS.selected.line,
|
|
180
|
+
'--sd-tabs-sub-default-text': TAB_SUB_COLORS.default.text,
|
|
181
|
+
'--sd-tabs-sub-font-family': TAB_SUB_TYPOGRAPHY.default.fontFamily,
|
|
182
|
+
'--sd-tabs-sub-font-size': `${TAB_SUB_TYPOGRAPHY.default.fontSize}px`,
|
|
183
|
+
'--sd-tabs-sub-line-height': `${TAB_SUB_TYPOGRAPHY.default.lineHeight}px`,
|
|
184
|
+
'--sd-tabs-sub-font-weight-default': TAB_SUB_TYPOGRAPHY.default.fontWeight,
|
|
185
|
+
'--sd-tabs-sub-font-weight-selected': TAB_SUB_TYPOGRAPHY.selected.fontWeight,
|
|
186
|
+
};
|
|
187
|
+
}
|
|
48
188
|
render() {
|
|
49
|
-
return (h("div", { key: '
|
|
189
|
+
return (h("div", { key: '390edfad274caa06df38af9d04580015a1744a44', class: this.getContainerClasses(), style: this.buildCssVars() }, this.tabs.map((tab, index) => {
|
|
50
190
|
const badgeName = this.getBadgeName(tab);
|
|
51
|
-
return (h("div", { key: `tab-${index}`, class: this.getTabClasses(tab), "aria-label": tab.label || 'tab', onClick: () => this.handleTabClick(tab
|
|
191
|
+
return (h("div", { key: `tab-${index}`, class: this.getTabClasses(tab), "aria-label": tab.label || 'tab', onClick: () => this.handleTabClick(tab) }, h("span", { "data-label": tab.label, class: "sd-tabs__label" }, tab.label), tab.badge !== undefined && tab.badge !== null && tab.badge !== '' && (h("sd-tag", { name: badgeName, label: tab.badge.toString() }))));
|
|
52
192
|
})));
|
|
53
193
|
}
|
|
54
194
|
static get watchers() { return {
|
package/dist/esm/sd-tag.entry.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-Bp7ytJz5.js';
|
|
2
2
|
|
|
3
3
|
const tag = {
|
|
4
4
|
xs: {
|
|
@@ -170,7 +170,7 @@ const SdTag = class {
|
|
|
170
170
|
render() {
|
|
171
171
|
const config = this.resolvedConfig;
|
|
172
172
|
const iconNode = this.renderIcon(config.icon, config.iconSize);
|
|
173
|
-
return (h("span", { key: '
|
|
173
|
+
return (h("span", { key: 'da19900d267d2b2f000e1790133966a7976bcded', class: "sd-tag", style: {
|
|
174
174
|
'--sd-tag-background': config.background,
|
|
175
175
|
'--sd-tag-content': config.content,
|
|
176
176
|
'--sd-tag-height': config.height,
|
|
@@ -180,7 +180,7 @@ const SdTag = class {
|
|
|
180
180
|
'--sd-tag-font-weight': config.fontWeight,
|
|
181
181
|
'--sd-tag-line-height': config.lineHeight,
|
|
182
182
|
'--sd-tag-radius': config.radius,
|
|
183
|
-
}, "aria-label": this.label || 'tag' }, this.icon && this.isLeft && iconNode, h("span", { key: '
|
|
183
|
+
}, "aria-label": this.label || 'tag' }, this.icon && this.isLeft && iconNode, h("span", { key: 'e426021988395058367872ac23658586b2895764', class: "sd-tag__label" }, this.label), this.icon && !this.isLeft && iconNode));
|
|
184
184
|
}
|
|
185
185
|
};
|
|
186
186
|
SdTag.style = sdTagCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, a as getElement, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, a as getElement, h, H as Host } from './index-Bp7ytJz5.js';
|
|
2
2
|
import { T as TABLE_ID_ATTR } from './constants-sZMi_32I.js';
|
|
3
3
|
|
|
4
4
|
const sdTbodyCss = () => `:host{display:contents}:host *{box-sizing:border-box}.tbody{display:table-row-group}.tbody--empty .tbody__no-data-row{display:table-row}.tbody--empty .tbody__no-data-cell{display:table-cell;padding:0;border-bottom:none}`;
|
|
@@ -47,7 +47,7 @@ const SdTbody = class {
|
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
49
|
const hasRows = this.rows.length > 0;
|
|
50
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: 'e4c64dbf97185bbc6eaec4b883c65dc8ebd34ece', slot: `${this.tableId}-body` }, h("tbody", { key: 'b2fb886684a5a6055d3af659bba75dd9bc801b73', class: { 'tbody': true, 'tbody--empty': !hasRows } }, hasRows ? ([
|
|
51
51
|
this.topSpacerHeight > 0 && (h("tr", { key: "spacer-top", class: "tbody__spacer", style: { height: `${this.topSpacerHeight}px`, display: 'block' } })),
|
|
52
52
|
h("slot", null),
|
|
53
53
|
this.bottomSpacerHeight > 0 && (h("tr", { key: "spacer-bottom", class: "tbody__spacer", style: { height: `${this.bottomSpacerHeight}px`, display: 'block' } })),
|
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-Bp7ytJz5.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}`;
|
|
@@ -40,7 +40,7 @@ const SdTd = class {
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '672c967273dac405ed4a47fa5939463265075681', class: { [`align-${this.align}`]: Boolean(this.align) } }, h("slot", { key: 'c15e572fdf4a8c68fff8b69b586dfbf9f01dce1b' })));
|
|
44
44
|
}
|
|
45
45
|
static get watchers() { return {
|
|
46
46
|
"field": [{
|
|
@@ -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-Bp7ytJz5.js';
|
|
2
2
|
|
|
3
3
|
const textLink = {
|
|
4
4
|
gap: "4",
|
|
@@ -71,16 +71,16 @@ const SdTextLink = class {
|
|
|
71
71
|
'--sd-text-link-text-decoration': typo.textDecoration,
|
|
72
72
|
...(this.disabled ? { '--sd-text-link-color': TEXT_LINK_COLORS.content.disabled } : {}),
|
|
73
73
|
};
|
|
74
|
-
return (h("span", { key: '
|
|
74
|
+
return (h("span", { key: '1128254cddacf5869f320ce2b788b06646f27d7f', class: {
|
|
75
75
|
'sd-text-link': true,
|
|
76
76
|
'sd-text-link--disabled': this.disabled,
|
|
77
|
-
}, style: cssVars, onClick: this.handleClick }, this.icon && (h("sd-icon", { key: '
|
|
77
|
+
}, style: cssVars, onClick: this.handleClick }, this.icon && (h("sd-icon", { key: '52c069d637a2ccf9cd4e7bd1ab3a62ea981d2e1e', name: this.icon, size: TEXT_LINK_LAYOUT.iconSize, color: iconColor, class: "sd-text-link__icon" })), h("span", { key: '99a09359c75c2eb6c2e2ef6b9e3b87d92c3f7810', class: labelClassName }, this.label), this.useArrow && (h("span", { key: 'c7e77454d9d002c0e043dc71a418c65ecd60cff5', class: "sd-text-link__arrow", style: {
|
|
78
78
|
width: `${TEXT_LINK_LAYOUT.arrowFrame}px`,
|
|
79
79
|
height: `${TEXT_LINK_LAYOUT.arrowFrame}px`,
|
|
80
80
|
display: 'inline-flex',
|
|
81
81
|
alignItems: 'center',
|
|
82
82
|
justifyContent: 'center',
|
|
83
|
-
} }, h("sd-icon", { key: '
|
|
83
|
+
} }, h("sd-icon", { key: '677c88823b02084449cd2dec83cc6bd27dfb8006', name: "chevronRight", size: TEXT_LINK_LAYOUT.arrowIconSize, color: arrowColor })))));
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
86
|
SdTextLink.style = sdTextLinkCss();
|
|
@@ -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-Bp7ytJz5.js';
|
|
2
2
|
import { n as nanoid } from './index-CCwNgVmC.js';
|
|
3
3
|
import { i as inputTokens } from './component.textinput-ByhWX2NK.js';
|
|
4
4
|
|
|
@@ -128,7 +128,7 @@ const SdTextarea = class {
|
|
|
128
128
|
'--sd-system-size-field-sm-height': 'auto',
|
|
129
129
|
'--sd-system-radius-field-sm': `${TEXTAREA_TOKENS.radius}px`,
|
|
130
130
|
};
|
|
131
|
-
return (h("sd-field", { key: '
|
|
131
|
+
return (h("sd-field", { key: '1f0a9119fae56ef1fc7c558635e042239644ec22', 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, status: this.status, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, h("div", { key: '8ef4635e280dd8dc2c0b7c0e7c3feef5b1c66c40', class: "sd-textarea__content" }, h("textarea", { key: 'd9e2a569cbe36cb8f4c812eec19f375e41f70108', name: this.name, ref: el => (this.nativeEl = el), class: `sd-textarea__native ${this.textareaClass}`, value: this.internalValue || '', placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, autofocus: this.autoFocus, maxLength: this.maxLength, rows: this.rows, spellcheck: this.spellcheck, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.textareaStyle }))));
|
|
132
132
|
}
|
|
133
133
|
static get watchers() { return {
|
|
134
134
|
"value": [{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, a as getElement, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, a as getElement, h, H as Host } from './index-Bp7ytJz5.js';
|
|
2
2
|
import { T as TABLE_ID_ATTR } from './constants-sZMi_32I.js';
|
|
3
3
|
|
|
4
4
|
const sdTheadCss = () => `sd-thead{display:contents}sd-thead *{box-sizing:border-box}.thead{display:table-header-group;height:36px}.thead--sticky{position:sticky;top:0;z-index:120}.tr{display:table-row;width:100%}.th{display:table-cell;background:#F5FAFF;height:36px;padding:0 16px;font-weight:500;vertical-align:middle;border-bottom:1px solid #E1E1E1;-webkit-user-select:none;user-select:none;position:relative;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all}.th--selected{position:relative;width:52px !important;max-width:52px !important;min-width:52px !important;padding:0 10px 0 24px;text-align:left}.th--selected sd-checkbox label{position:relative}.th--selected sd-checkbox label:before{content:"";position:absolute;inset:-6px}.th.sticky-left{position:sticky;background-color:#F5FAFF;z-index:110 !important;left:var(--sticky-left-offset, 0)}.th.sticky-right{position:sticky;background-color:#F5FAFF;z-index:110 !important;right:var(--sticky-right-offset, 0)}.th.sticky-left-edge:after{content:"";position:absolute;top:0;left:100%;right:-20px;width:20px;height:100%;z-index:101 !important;box-shadow:inset 12px 0 20px -25px;opacity:0;pointer-events:none;transition:opacity 0.2s}.th.sticky-right-edge:after{content:"";position:absolute;top:0;left:-20px;width:20px;height:100%;z-index:101 !important;box-shadow:inset -12px 0 20px -25px;opacity:0;pointer-events:none;transition:opacity 0.2s}.th.sticky-left-edge.is-scrolled-left{overflow:visible}.th.sticky-left-edge.is-scrolled-left:after{opacity:1}.th.sticky-right-edge.is-scrolled-right{overflow:visible}.th.sticky-right-edge.is-scrolled-right:after{opacity:1}.th__content{display:flex;flex-flow:row nowrap;align-items:center;gap:4px}.th__content--left{justify-content:flex-start}.th__content--center{justify-content:center}.th__content--right{justify-content:flex-end}.th__content--label{white-space:nowrap;text-overflow:ellipsis;word-break:keep-all}.th__resizer{position:absolute;top:50%;right:0;transform:translateY(-50%);width:4px;height:16px;cursor:col-resize;z-index:3;border-left:1px solid #CCCCCC;border-right:1px solid #CCCCCC}.th__resizer--left{right:auto;left:0}`;
|
|
@@ -134,16 +134,16 @@ const SdThead = class {
|
|
|
134
134
|
const stickyLeftCols = this.visibleColumns.slice(0, stickyLeftCount);
|
|
135
135
|
const middleCols = this.visibleColumns.slice(stickyLeftCount, this.visibleColumns.length - stickyRightCount);
|
|
136
136
|
const stickyRightCols = this.visibleColumns.slice(this.visibleColumns.length - stickyRightCount);
|
|
137
|
-
return (h(Host, { key: '
|
|
137
|
+
return (h(Host, { key: '2358499ef65d88005d03b1246604c0fd8eefdde1', slot: `${this.tableId}-head` }, h("thead", { key: '49bb43a19aeb83f3a60367b26dbb6535ebcec743', class: {
|
|
138
138
|
'thead': true,
|
|
139
139
|
'thead--sticky': this._stickyHeader,
|
|
140
|
-
} }, h("tr", { key: '
|
|
140
|
+
} }, h("tr", { key: 'cd6388d79e9a4a5d9edbbda05601abbbefcb1ff4', class: "tr" }, this._selectable && (h("th", { key: 'fa09e82368d45e9fb1d32838ef44e609c698609d', class: {
|
|
141
141
|
'th': true,
|
|
142
142
|
'th--selected': true,
|
|
143
143
|
'sticky-left': true,
|
|
144
144
|
'sticky-left-edge': stickyLeftCount === 0,
|
|
145
145
|
'is-scrolled-left': stickyLeftCount === 0 && this._scrolledLeft,
|
|
146
|
-
}, style: { '--sticky-left-offset': '0px' } }, h("sd-checkbox", { key: '
|
|
146
|
+
}, style: { '--sticky-left-offset': '0px' } }, h("sd-checkbox", { key: '5ab4861aecfac9495101363d5bd809d077c7dbc3', value: this.getIsAllChecked(), disabled: !safeRows.length, onSdUpdate: (e) => this.handleSelectAll(e.detail) }))), stickyLeftCols.map((col, idx) => (h("th", { key: col.name, class: {
|
|
147
147
|
'th': true,
|
|
148
148
|
[`${col.thClass}`]: Boolean(col.thClass),
|
|
149
149
|
'sticky-left': true,
|
|
@@ -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-Bp7ytJz5.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: '601c4c5aa55df02459866607ca7c59da53c2eda5', 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-Bp7ytJz5.js';
|
|
2
2
|
|
|
3
3
|
const toast = {
|
|
4
4
|
icon: "16",
|
|
@@ -55,10 +55,10 @@ const SdToast = class {
|
|
|
55
55
|
render() {
|
|
56
56
|
const typeConfig = TOAST_TYPE_CONFIG[this.type] ?? TOAST_TYPE_CONFIG.default;
|
|
57
57
|
const iconSize = Number(TOAST_LAYOUT.iconSize);
|
|
58
|
-
return (h("div", { key: '
|
|
58
|
+
return (h("div", { key: 'd4b73e2503514143f5174bc8859baf0e59c2f8da', style: {
|
|
59
59
|
'--sd-toast-bg': typeConfig.bg,
|
|
60
60
|
'--sd-toast-text': typeConfig.content,
|
|
61
|
-
} }, h("div", { key: '
|
|
61
|
+
} }, h("div", { key: '7334daee691fb03a1005c2afac64033554489046', class: "sd-toast", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.icon && (h("div", { key: '297ada835b0710bf43a936b02e53b0873b7f4af3', class: "sd-toast__icon" }, h("sd-icon", { key: 'b5bc4716df28231dc7af15db63595ae9044189b5', name: this.icon, size: iconSize, color: typeConfig.content }))), h("div", { key: 'd0239c8f8b495fbdaedad0f65a6d0a0edfaada60', class: "sd-toast__content" }, h("span", { key: 'dc70d403673bb8f99cfd91393054a86bf17e5ac2', class: "sd-toast__message" }, this.message)), this.link && (h("a", { key: '1a76bcee482720693b501d3a13c54e720bbe44fc', href: this.link, class: "sd-toast__link", target: "_blank", rel: "noopener noreferrer" }, this.linkLabel || this.link)), this.useClose && (h("sd-ghost-button", { key: 'a8dc3c15cabf5ca4e075e75c4fb2744dd5da4fa0', class: "sd-toast__close", icon: "close", intent: this.type === 'caution' ? 'default' : 'inverse', ariaLabel: "close", size: "xs", onClick: () => this.close.emit() })))));
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
64
|
SdToast.style = sdToastCss();
|