@sellmate/design-system 1.0.70 → 1.0.72
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 +26 -12
- 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 +9 -9
- 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 +33 -14
- 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.css +0 -1
- 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-raiEivQ1.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-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-8f66586f.entry.js +1 -0
- 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-f47fb87a.entry.js +1 -0
- 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 +26 -12
- 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 +9 -9
- 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 +7 -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 +58 -8
- package/hydrate/index.js +389 -138
- package/hydrate/index.mjs +389 -138
- 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-2196f439.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
|
@@ -41,15 +41,15 @@ export class SdSelectV2ListItemSearch {
|
|
|
41
41
|
clearTimeout(this.debounceTimer);
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
return (h("div", { key: '75c6b01fbe256bca732553a27711fa7197535688', class: {
|
|
45
45
|
'sd-select-v2-list-item-search': true,
|
|
46
46
|
'sd-select-v2-list-item-search--scrolled': this.isScrolled,
|
|
47
|
-
} }, h("div", { key: '
|
|
47
|
+
} }, 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 => {
|
|
48
48
|
this.inputEl = el;
|
|
49
|
-
}, 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: '
|
|
49
|
+
}, 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: {
|
|
50
50
|
'sd-select-v2-list-item-search__clear': true,
|
|
51
51
|
'sd-select-v2-list-item-search__clear--hidden': !this.searchText,
|
|
52
|
-
}, onClick: this.handleClear, tabindex: this.searchText ? 0 : -1, "aria-hidden": this.searchText ? 'false' : 'true' }, h("sd-icon", { key: '
|
|
52
|
+
}, 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" })))));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "sd-select-v2-list-item-search"; }
|
|
55
55
|
static get originalStyleUrls() {
|
package/dist/collection/components/sd-select-v2/sd-select-v2-listbox/sd-select-v2-listbox.js
CHANGED
|
@@ -288,7 +288,7 @@ export class SdSelectV2Listbox {
|
|
|
288
288
|
'--listbox-max-height': this.maxHeight,
|
|
289
289
|
'--listbox-radius': `${LIST_BOX_LAYOUT.radius}px`,
|
|
290
290
|
};
|
|
291
|
-
return (h("div", { key: '
|
|
291
|
+
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 => {
|
|
292
292
|
this.listEl = el;
|
|
293
293
|
} }, 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) })))))));
|
|
294
294
|
}
|
package/dist/collection/components/sd-select-v2/sd-select-v2-trigger/sd-select-v2-trigger.js
CHANGED
|
@@ -42,13 +42,13 @@ export class SdSelectV2Trigger {
|
|
|
42
42
|
? SELECT_COLORS.icon.disabled
|
|
43
43
|
: SELECT_COLORS.icon.default,
|
|
44
44
|
};
|
|
45
|
-
return (h("div", { key: '
|
|
45
|
+
return (h("div", { key: '7c4f60c972c17b5954cbf0d0cc7ee38c8e6c16a3', ref: el => {
|
|
46
46
|
this.triggerEl = el;
|
|
47
47
|
}, tabindex: this.disabled ? -1 : 0, class: {
|
|
48
48
|
'sd-select-v2-trigger': true,
|
|
49
49
|
'sd-select-v2-trigger--open': this.isOpen,
|
|
50
50
|
'sd-select-v2-trigger--disabled': this.disabled,
|
|
51
|
-
}, style: cssVars, onClick: this.handleClick, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: '
|
|
51
|
+
}, 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: {
|
|
52
52
|
'sd-select-v2-trigger__icon': true,
|
|
53
53
|
'sd-select-v2-trigger__icon--open': this.isOpen,
|
|
54
54
|
} }))));
|
|
@@ -237,15 +237,15 @@ export class SdSelectV2 {
|
|
|
237
237
|
this.closeDropdown();
|
|
238
238
|
},
|
|
239
239
|
};
|
|
240
|
-
return (h("sd-field", { key: '
|
|
240
|
+
return (h("sd-field", { key: '183d00eba196e665b851fd45d0bbdcfe9ed3a7a5', name: this.fieldName || this.internalName, 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: () => {
|
|
241
241
|
this.hovered = true;
|
|
242
242
|
}, onMouseLeave: () => {
|
|
243
243
|
this.hovered = false;
|
|
244
|
-
} }, h("div", { key: '
|
|
244
|
+
} }, h("div", { key: '304b37a0c04af29f77d7cd26c2b95abcdba4e373', class: "sd-select-v2", ref: el => {
|
|
245
245
|
this.triggerRef = el;
|
|
246
|
-
} }, h("sd-select-v2-trigger", { key: '
|
|
246
|
+
} }, h("sd-select-v2-trigger", { key: '7e146d8b5b08da4703c5e5ba65c6930ca0e8addd', ref: el => {
|
|
247
247
|
this.triggerComponentRef = el;
|
|
248
|
-
}, 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: '
|
|
248
|
+
}, 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: '97039b0f6efe8000494b388152b8e8ae99a77b23', ...portalProps }, h("sd-select-v2-listbox", { key: 'aafdb2097795bebe1fdf45183cc70ee588a776e6', name: this.name, options: this.options, value: this.value, emitValue: this.emitValue, triggerWidth: this.triggerWidth, maxWidth: this.resolvedMaxDropdownWidth, maxHeight: this.resolvedDropdownHeight, onSdOptionSelect: event => this.handleOptionSelect(event.detail) })))));
|
|
249
249
|
}
|
|
250
250
|
static get is() { return "sd-select-v2"; }
|
|
251
251
|
static get originalStyleUrls() {
|
|
@@ -40,7 +40,7 @@ export class SdSwitch {
|
|
|
40
40
|
'--sd-switch-line-height': `${SWITCH_TYPOGRAPHY.lineHeight}px`,
|
|
41
41
|
'--sd-switch-text-decoration': SWITCH_TYPOGRAPHY.textDecoration,
|
|
42
42
|
};
|
|
43
|
-
return (h("label", { key: '
|
|
43
|
+
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)));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "sd-switch"; }
|
|
46
46
|
static get originalStyleUrls() {
|
|
@@ -495,24 +495,24 @@ export class SdTable {
|
|
|
495
495
|
}
|
|
496
496
|
render() {
|
|
497
497
|
const resolvedTableId = this.getResolvedTableId();
|
|
498
|
-
return (h(Host, { key: '
|
|
498
|
+
return (h(Host, { key: '0b90643721a90b7bb59a6c31f6edeb313849b973' }, h("div", { key: 'e55fe4f476dbea4888a168861e7e6d6951d7d489', class: "sd-table__container", style: {
|
|
499
499
|
'--table-width': this.width,
|
|
500
500
|
'--table-height': this.height,
|
|
501
501
|
'--table-container-height': `calc(${this.height || '100%'} - ${this.pagination && this.rowCount > 0 && !this.useVirtualScroll ? 48 : 0}px)`,
|
|
502
|
-
} }, h("div", { key: '
|
|
502
|
+
} }, h("div", { key: 'de18a900037a7b2f619dd22981c30ed76f5a8111', class: {
|
|
503
503
|
'sd-table__clip': true,
|
|
504
504
|
'sd-table__clip--has-pagination': !!(this.pagination &&
|
|
505
505
|
this.pagination.rowsPerPage > 0 &&
|
|
506
506
|
this.rowCount > 0 &&
|
|
507
507
|
!this.useVirtualScroll),
|
|
508
|
-
} }, h("div", { key: '
|
|
508
|
+
} }, h("div", { key: '028e0982d415033adaf420ee6b953241c8f3dbec', class: {
|
|
509
509
|
'sd-table__wrapper': true,
|
|
510
510
|
'sd-table__wrapper--loading': this.isLoading,
|
|
511
511
|
'sd-table__wrapper--no-data': this.rowCount === 0 && !this.isLoading,
|
|
512
|
-
} }, this.isLoading && (h("div", { key: '
|
|
512
|
+
} }, 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 &&
|
|
513
513
|
this.pagination.rowsPerPage > 0 &&
|
|
514
514
|
this.rowCount > 0 &&
|
|
515
|
-
!this.useVirtualScroll && (h("div", { key: '
|
|
515
|
+
!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
|
|
516
516
|
? this.innerRowsPerPage
|
|
517
517
|
: this.pagination.rowsPerPage, options: this.rowsPerPageOption, width: "128px", emitValue: true, onSdUpdate: e => {
|
|
518
518
|
if (!this.isRowsPerPageValue(e.detail))
|
|
@@ -41,7 +41,7 @@ export class SdTbody {
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
const hasRows = this.rows.length > 0;
|
|
44
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: 'e4c64dbf97185bbc6eaec4b883c65dc8ebd34ece', slot: `${this.tableId}-body` }, h("tbody", { key: 'b2fb886684a5a6055d3af659bba75dd9bc801b73', class: { 'tbody': true, 'tbody--empty': !hasRows } }, hasRows ? ([
|
|
45
45
|
this.topSpacerHeight > 0 && (h("tr", { key: "spacer-top", class: "tbody__spacer", style: { height: `${this.topSpacerHeight}px`, display: 'block' } })),
|
|
46
46
|
h("slot", null),
|
|
47
47
|
this.bottomSpacerHeight > 0 && (h("tr", { key: "spacer-bottom", class: "tbody__spacer", style: { height: `${this.bottomSpacerHeight}px`, display: 'block' } })),
|
|
@@ -34,7 +34,7 @@ export class SdTd {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '672c967273dac405ed4a47fa5939463265075681', class: { [`align-${this.align}`]: Boolean(this.align) } }, h("slot", { key: 'c15e572fdf4a8c68fff8b69b586dfbf9f01dce1b' })));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "sd-td"; }
|
|
40
40
|
static get originalStyleUrls() {
|
|
@@ -128,16 +128,16 @@ export class SdThead {
|
|
|
128
128
|
const stickyLeftCols = this.visibleColumns.slice(0, stickyLeftCount);
|
|
129
129
|
const middleCols = this.visibleColumns.slice(stickyLeftCount, this.visibleColumns.length - stickyRightCount);
|
|
130
130
|
const stickyRightCols = this.visibleColumns.slice(this.visibleColumns.length - stickyRightCount);
|
|
131
|
-
return (h(Host, { key: '
|
|
131
|
+
return (h(Host, { key: '2358499ef65d88005d03b1246604c0fd8eefdde1', slot: `${this.tableId}-head` }, h("thead", { key: '49bb43a19aeb83f3a60367b26dbb6535ebcec743', class: {
|
|
132
132
|
'thead': true,
|
|
133
133
|
'thead--sticky': this._stickyHeader,
|
|
134
|
-
} }, h("tr", { key: '
|
|
134
|
+
} }, h("tr", { key: 'cd6388d79e9a4a5d9edbbda05601abbbefcb1ff4', class: "tr" }, this._selectable && (h("th", { key: 'fa09e82368d45e9fb1d32838ef44e609c698609d', class: {
|
|
135
135
|
'th': true,
|
|
136
136
|
'th--selected': true,
|
|
137
137
|
'sticky-left': true,
|
|
138
138
|
'sticky-left-edge': stickyLeftCount === 0,
|
|
139
139
|
'is-scrolled-left': stickyLeftCount === 0 && this._scrolledLeft,
|
|
140
|
-
}, style: { '--sticky-left-offset': '0px' } }, h("sd-checkbox", { key: '
|
|
140
|
+
}, 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: {
|
|
141
141
|
'th': true,
|
|
142
142
|
[`${col.thClass}`]: Boolean(col.thClass),
|
|
143
143
|
'sticky-left': true,
|
|
@@ -123,13 +123,13 @@ export class SdTr {
|
|
|
123
123
|
const stickyLeftCols = this.visibleColumns.slice(0, stickyLeftCount);
|
|
124
124
|
const middleCols = this.visibleColumns.slice(stickyLeftCount, this.visibleColumns.length - stickyRightCount);
|
|
125
125
|
const stickyRightCols = this.visibleColumns.slice(this.visibleColumns.length - stickyRightCount);
|
|
126
|
-
return (h(Host, { key: '
|
|
126
|
+
return (h(Host, { key: 'd6259e5c87cce0fa70f1d849e11416ad69b0cac1', style: { display: this.isVisible ? '' : 'none' } }, h("tr", { key: '90e36c39bede0e07fc1c4d90183a73ebc99b6ed8', class: "tr" }, this._selectable && (h("td", { key: '601f1747063d8e73803304abc2cd767f420f359c', class: {
|
|
127
127
|
'td': true,
|
|
128
128
|
'td--selected': true,
|
|
129
129
|
'sticky-left': true,
|
|
130
130
|
'sticky-left-edge': stickyLeftCount === 0,
|
|
131
131
|
'is-scrolled-left': stickyLeftCount === 0 && this._scrolledLeft,
|
|
132
|
-
}, style: { '--sticky-left-offset': '0px' } }, h("sd-checkbox", { key: '
|
|
132
|
+
}, style: { '--sticky-left-offset': '0px' } }, h("sd-checkbox", { key: '97068a623d3b7876c7e6392e3f5ed81cfc60d592', value: this.isSelected(), onSdUpdate: () => this.handleSelect() }))), stickyLeftCols.map((col, idx) => (h("td", { key: col.name, class: {
|
|
133
133
|
'td': true,
|
|
134
134
|
[`td--${col.align || 'left'}`]: true,
|
|
135
135
|
'sticky-left': true,
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import tabTokens from "../../tokens/generated/component.tab.json";
|
|
2
|
+
export const TAB_MAIN_LAYOUT = {
|
|
3
|
+
md: {
|
|
4
|
+
height: Number(tabTokens.tab.main.md.height),
|
|
5
|
+
paddingX: Number(tabTokens.tab.main.md.paddingX),
|
|
6
|
+
},
|
|
7
|
+
lg: {
|
|
8
|
+
height: Number(tabTokens.tab.main.lg.height),
|
|
9
|
+
paddingX: Number(tabTokens.tab.main.lg.paddingX),
|
|
10
|
+
},
|
|
11
|
+
gap: Number(tabTokens.tab.main.gap),
|
|
12
|
+
containerGap: Number(tabTokens.tab.main.container.gap),
|
|
13
|
+
radius: Number(tabTokens.tab.main.radius),
|
|
14
|
+
borderWidth: Number(tabTokens.tab.main.border.width),
|
|
15
|
+
};
|
|
16
|
+
export const TAB_MAIN_COLORS = {
|
|
17
|
+
selected: {
|
|
18
|
+
bg: tabTokens.tab.main.selected.bg,
|
|
19
|
+
text: tabTokens.tab.main.selected.text,
|
|
20
|
+
border: tabTokens.tab.main.selected.border,
|
|
21
|
+
},
|
|
22
|
+
default: {
|
|
23
|
+
bg: tabTokens.tab.main.default.bg,
|
|
24
|
+
text: tabTokens.tab.main.default.text,
|
|
25
|
+
border: tabTokens.tab.main.default.border,
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
export const TAB_MAIN_TYPOGRAPHY = {
|
|
29
|
+
selected: tabTokens.tab.main.selected.typography,
|
|
30
|
+
default: tabTokens.tab.main.default.typography,
|
|
31
|
+
};
|
|
32
|
+
export const TAB_SUB_LAYOUT = {
|
|
33
|
+
gap: Number(tabTokens.tab.sub.gap),
|
|
34
|
+
contentGap: Number(tabTokens.tab.sub.content.gap),
|
|
35
|
+
borderWidth: Number(tabTokens.tab.sub.border.width),
|
|
36
|
+
};
|
|
37
|
+
export const TAB_SUB_COLORS = {
|
|
38
|
+
selected: {
|
|
39
|
+
text: tabTokens.tab.sub.selected.text,
|
|
40
|
+
line: tabTokens.tab.sub.selected.line,
|
|
41
|
+
},
|
|
42
|
+
default: {
|
|
43
|
+
text: tabTokens.tab.sub.default.text,
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
export const TAB_SUB_TYPOGRAPHY = {
|
|
47
|
+
selected: tabTokens.tab.sub.selected.typography,
|
|
48
|
+
default: tabTokens.tab.sub.default.typography,
|
|
49
|
+
};
|
|
@@ -5,21 +5,28 @@ sd-tabs {
|
|
|
5
5
|
sd-tabs .sd-tabs {
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-direction: row;
|
|
8
|
-
gap:
|
|
9
|
-
border-bottom:
|
|
8
|
+
gap: var(--sd-tabs-main-container-gap);
|
|
9
|
+
border-bottom: var(--sd-tabs-main-border-width) solid var(--sd-tabs-main-selected-border);
|
|
10
|
+
font-family: var(--sd-tabs-main-font-family);
|
|
10
11
|
}
|
|
11
12
|
sd-tabs .sd-tabs__tab {
|
|
12
13
|
display: flex;
|
|
13
14
|
align-items: center;
|
|
14
15
|
justify-content: center;
|
|
15
|
-
gap:
|
|
16
|
+
gap: var(--sd-tabs-main-gap);
|
|
16
17
|
cursor: pointer;
|
|
17
|
-
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
height: var(--sd-tabs-main-height);
|
|
20
|
+
padding: 0 var(--sd-tabs-main-padding-x);
|
|
21
|
+
border: var(--sd-tabs-main-border-width) solid var(--sd-tabs-main-default-border);
|
|
18
22
|
border-bottom: none;
|
|
19
|
-
border-radius:
|
|
20
|
-
|
|
21
|
-
color:
|
|
22
|
-
|
|
23
|
+
border-top-left-radius: var(--sd-tabs-main-radius);
|
|
24
|
+
border-top-right-radius: var(--sd-tabs-main-radius);
|
|
25
|
+
background-color: var(--sd-tabs-main-default-bg);
|
|
26
|
+
color: var(--sd-tabs-main-default-text);
|
|
27
|
+
font-size: var(--sd-tabs-main-font-size);
|
|
28
|
+
line-height: var(--sd-tabs-main-line-height);
|
|
29
|
+
font-weight: var(--sd-tabs-main-font-weight-default);
|
|
23
30
|
transition: all 0.2s ease;
|
|
24
31
|
position: relative;
|
|
25
32
|
user-select: none;
|
|
@@ -29,27 +36,28 @@ sd-tabs .sd-tabs__tab::before {
|
|
|
29
36
|
position: absolute;
|
|
30
37
|
inset: 0;
|
|
31
38
|
opacity: 0;
|
|
32
|
-
transition: all 0.
|
|
39
|
+
transition: all 0.2s;
|
|
40
|
+
pointer-events: none;
|
|
33
41
|
}
|
|
34
42
|
sd-tabs .sd-tabs__tab--selected {
|
|
35
|
-
border-color:
|
|
36
|
-
color:
|
|
37
|
-
background-color:
|
|
43
|
+
border-color: var(--sd-tabs-main-selected-border);
|
|
44
|
+
color: var(--sd-tabs-main-selected-text);
|
|
45
|
+
background-color: var(--sd-tabs-main-selected-bg);
|
|
38
46
|
}
|
|
39
47
|
sd-tabs .sd-tabs__tab--selected .sd-tabs__label::before {
|
|
40
|
-
font-weight:
|
|
48
|
+
font-weight: var(--sd-tabs-main-font-weight-selected);
|
|
41
49
|
}
|
|
42
50
|
sd-tabs .sd-tabs__tab--selected:hover::before {
|
|
43
|
-
background-color:
|
|
51
|
+
background-color: var(--sd-tabs-main-selected-border);
|
|
44
52
|
opacity: 0.15;
|
|
45
53
|
}
|
|
46
54
|
sd-tabs .sd-tabs__tab--unselected:hover::before {
|
|
47
|
-
background-color:
|
|
55
|
+
background-color: var(--sd-tabs-main-default-text);
|
|
48
56
|
opacity: 0.15;
|
|
49
57
|
}
|
|
50
58
|
sd-tabs .sd-tabs__label {
|
|
51
59
|
user-select: none;
|
|
52
|
-
font-weight:
|
|
60
|
+
font-weight: var(--sd-tabs-main-font-weight-selected);
|
|
53
61
|
visibility: hidden;
|
|
54
62
|
position: relative;
|
|
55
63
|
white-space: nowrap;
|
|
@@ -59,54 +67,52 @@ sd-tabs .sd-tabs__label::before {
|
|
|
59
67
|
visibility: visible;
|
|
60
68
|
position: absolute;
|
|
61
69
|
inset: 0;
|
|
62
|
-
font-weight:
|
|
70
|
+
font-weight: var(--sd-tabs-main-font-weight-default);
|
|
63
71
|
transition: font-weight 0.2s ease;
|
|
64
72
|
}
|
|
65
|
-
sd-tabs .sd-tabs--md .sd-tabs__tab {
|
|
66
|
-
padding: 12px 32px;
|
|
67
|
-
font-size: 12px;
|
|
68
|
-
line-height: 20px;
|
|
69
|
-
}
|
|
70
|
-
sd-tabs .sd-tabs--sm .sd-tabs__tab {
|
|
71
|
-
padding: 8px 20px;
|
|
72
|
-
font-size: 12px;
|
|
73
|
-
line-height: 16px;
|
|
74
|
-
}
|
|
75
73
|
sd-tabs .sd-tabs--sub {
|
|
76
|
-
gap:
|
|
74
|
+
gap: var(--sd-tabs-sub-gap);
|
|
77
75
|
border-bottom: none;
|
|
76
|
+
font-family: var(--sd-tabs-sub-font-family);
|
|
78
77
|
}
|
|
79
78
|
sd-tabs .sd-tabs--sub .sd-tabs__tab {
|
|
79
|
+
height: auto;
|
|
80
|
+
padding: 0 0 var(--sd-tabs-sub-content-gap) 0;
|
|
80
81
|
border: none;
|
|
81
82
|
border-radius: 0;
|
|
82
83
|
background-color: transparent;
|
|
83
|
-
color:
|
|
84
|
-
font-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
color: var(--sd-tabs-sub-default-text);
|
|
85
|
+
font-size: var(--sd-tabs-sub-font-size);
|
|
86
|
+
line-height: var(--sd-tabs-sub-line-height);
|
|
87
|
+
font-weight: var(--sd-tabs-sub-font-weight-default);
|
|
87
88
|
}
|
|
88
89
|
sd-tabs .sd-tabs--sub .sd-tabs__tab::before {
|
|
89
90
|
content: "";
|
|
90
91
|
position: absolute;
|
|
91
|
-
top: 100%;
|
|
92
92
|
left: 0;
|
|
93
93
|
right: 0;
|
|
94
|
-
|
|
94
|
+
bottom: 0;
|
|
95
|
+
height: var(--sd-tabs-sub-border-width);
|
|
95
96
|
width: 100%;
|
|
96
|
-
background-color:
|
|
97
|
+
background-color: var(--sd-tabs-sub-selected-line);
|
|
97
98
|
opacity: 0;
|
|
98
99
|
transition: opacity 0.2s ease;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
font-weight: 400;
|
|
100
|
+
inset: auto 0 0 0;
|
|
101
|
+
pointer-events: none;
|
|
102
102
|
}
|
|
103
103
|
sd-tabs .sd-tabs--sub .sd-tabs__tab--selected {
|
|
104
|
-
color:
|
|
104
|
+
color: var(--sd-tabs-sub-selected-text);
|
|
105
105
|
background-color: transparent;
|
|
106
106
|
}
|
|
107
107
|
sd-tabs .sd-tabs--sub .sd-tabs__tab--selected::before {
|
|
108
108
|
opacity: 1;
|
|
109
109
|
}
|
|
110
|
-
sd-tabs .sd-tabs--sub .sd-tabs__tab--selected::
|
|
111
|
-
font-weight:
|
|
110
|
+
sd-tabs .sd-tabs--sub .sd-tabs__tab--selected .sd-tabs__label::before {
|
|
111
|
+
font-weight: var(--sd-tabs-sub-font-weight-selected);
|
|
112
|
+
}
|
|
113
|
+
sd-tabs .sd-tabs--sub .sd-tabs__label {
|
|
114
|
+
font-weight: var(--sd-tabs-sub-font-weight-selected);
|
|
115
|
+
}
|
|
116
|
+
sd-tabs .sd-tabs--sub .sd-tabs__label::before {
|
|
117
|
+
font-weight: var(--sd-tabs-sub-font-weight-default);
|
|
112
118
|
}
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
+
import { TAB_MAIN_LAYOUT, TAB_MAIN_COLORS, TAB_MAIN_TYPOGRAPHY, TAB_SUB_LAYOUT, TAB_SUB_COLORS, TAB_SUB_TYPOGRAPHY, } from "./sd-tabs.config";
|
|
2
3
|
export class SdTabs {
|
|
3
4
|
value;
|
|
4
5
|
tabs = [];
|
|
5
6
|
size = 'md';
|
|
6
7
|
isSub = false;
|
|
7
8
|
update;
|
|
8
|
-
componentWillLoad() {
|
|
9
|
-
if (this.value !== undefined && this.value !== null) {
|
|
10
|
-
this.value = this.value;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
9
|
valueChanged(newValue) {
|
|
14
10
|
this.value = newValue;
|
|
15
11
|
}
|
|
16
|
-
handleTabClick = (
|
|
17
|
-
this.value =
|
|
18
|
-
this.update.emit(
|
|
12
|
+
handleTabClick = (tab) => {
|
|
13
|
+
this.value = tab.value;
|
|
14
|
+
this.update.emit(tab.value);
|
|
19
15
|
};
|
|
20
16
|
isTabSelected(tab) {
|
|
21
17
|
return this.value === tab.value;
|
|
@@ -28,20 +24,52 @@ export class SdTabs {
|
|
|
28
24
|
return classes.join(' ');
|
|
29
25
|
}
|
|
30
26
|
getContainerClasses() {
|
|
31
|
-
const classes = ['sd-tabs', `sd-tabs--${this.size}`];
|
|
32
|
-
if (this.isSub)
|
|
27
|
+
const classes = ['sd-tabs', `sd-tabs--${this.size ?? 'md'}`];
|
|
28
|
+
if (this.isSub)
|
|
33
29
|
classes.push('sd-tabs--sub');
|
|
34
|
-
}
|
|
35
30
|
return classes.join(' ');
|
|
36
31
|
}
|
|
37
32
|
getBadgeName(tab) {
|
|
38
33
|
const color = this.isTabSelected(tab) ? 'blue' : 'grey';
|
|
39
34
|
return `square_xs_${color}`;
|
|
40
35
|
}
|
|
36
|
+
buildCssVars() {
|
|
37
|
+
const mainSize = TAB_MAIN_LAYOUT[this.size ?? 'md'];
|
|
38
|
+
return {
|
|
39
|
+
'--sd-tabs-main-height': `${mainSize.height}px`,
|
|
40
|
+
'--sd-tabs-main-padding-x': `${mainSize.paddingX}px`,
|
|
41
|
+
'--sd-tabs-main-gap': `${TAB_MAIN_LAYOUT.gap}px`,
|
|
42
|
+
'--sd-tabs-main-container-gap': `${TAB_MAIN_LAYOUT.containerGap}px`,
|
|
43
|
+
'--sd-tabs-main-radius': `${TAB_MAIN_LAYOUT.radius}px`,
|
|
44
|
+
'--sd-tabs-main-border-width': `${TAB_MAIN_LAYOUT.borderWidth}px`,
|
|
45
|
+
'--sd-tabs-main-selected-bg': TAB_MAIN_COLORS.selected.bg,
|
|
46
|
+
'--sd-tabs-main-selected-text': TAB_MAIN_COLORS.selected.text,
|
|
47
|
+
'--sd-tabs-main-selected-border': TAB_MAIN_COLORS.selected.border,
|
|
48
|
+
'--sd-tabs-main-default-bg': TAB_MAIN_COLORS.default.bg,
|
|
49
|
+
'--sd-tabs-main-default-text': TAB_MAIN_COLORS.default.text,
|
|
50
|
+
'--sd-tabs-main-default-border': TAB_MAIN_COLORS.default.border,
|
|
51
|
+
'--sd-tabs-main-font-family': TAB_MAIN_TYPOGRAPHY.default.fontFamily,
|
|
52
|
+
'--sd-tabs-main-font-size': `${TAB_MAIN_TYPOGRAPHY.default.fontSize}px`,
|
|
53
|
+
'--sd-tabs-main-line-height': `${TAB_MAIN_TYPOGRAPHY.default.lineHeight}px`,
|
|
54
|
+
'--sd-tabs-main-font-weight-default': TAB_MAIN_TYPOGRAPHY.default.fontWeight,
|
|
55
|
+
'--sd-tabs-main-font-weight-selected': TAB_MAIN_TYPOGRAPHY.selected.fontWeight,
|
|
56
|
+
'--sd-tabs-sub-gap': `${TAB_SUB_LAYOUT.gap}px`,
|
|
57
|
+
'--sd-tabs-sub-content-gap': `${TAB_SUB_LAYOUT.contentGap}px`,
|
|
58
|
+
'--sd-tabs-sub-border-width': `${TAB_SUB_LAYOUT.borderWidth}px`,
|
|
59
|
+
'--sd-tabs-sub-selected-text': TAB_SUB_COLORS.selected.text,
|
|
60
|
+
'--sd-tabs-sub-selected-line': TAB_SUB_COLORS.selected.line,
|
|
61
|
+
'--sd-tabs-sub-default-text': TAB_SUB_COLORS.default.text,
|
|
62
|
+
'--sd-tabs-sub-font-family': TAB_SUB_TYPOGRAPHY.default.fontFamily,
|
|
63
|
+
'--sd-tabs-sub-font-size': `${TAB_SUB_TYPOGRAPHY.default.fontSize}px`,
|
|
64
|
+
'--sd-tabs-sub-line-height': `${TAB_SUB_TYPOGRAPHY.default.lineHeight}px`,
|
|
65
|
+
'--sd-tabs-sub-font-weight-default': TAB_SUB_TYPOGRAPHY.default.fontWeight,
|
|
66
|
+
'--sd-tabs-sub-font-weight-selected': TAB_SUB_TYPOGRAPHY.selected.fontWeight,
|
|
67
|
+
};
|
|
68
|
+
}
|
|
41
69
|
render() {
|
|
42
|
-
return (h("div", { key: '
|
|
70
|
+
return (h("div", { key: '390edfad274caa06df38af9d04580015a1744a44', class: this.getContainerClasses(), style: this.buildCssVars() }, this.tabs.map((tab, index) => {
|
|
43
71
|
const badgeName = this.getBadgeName(tab);
|
|
44
|
-
return (h("div", { key: `tab-${index}`, class: this.getTabClasses(tab), "aria-label": tab.label || 'tab', onClick: () => this.handleTabClick(tab
|
|
72
|
+
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() }))));
|
|
45
73
|
})));
|
|
46
74
|
}
|
|
47
75
|
static get is() { return "sd-tabs"; }
|
|
@@ -84,9 +112,10 @@ export class SdTabs {
|
|
|
84
112
|
"resolved": "TabOption[]",
|
|
85
113
|
"references": {
|
|
86
114
|
"TabOption": {
|
|
87
|
-
"location": "
|
|
88
|
-
"path": "
|
|
89
|
-
"id": "src/components/sd-tabs/sd-tabs.
|
|
115
|
+
"location": "import",
|
|
116
|
+
"path": "./sd-tabs.config",
|
|
117
|
+
"id": "src/components/sd-tabs/sd-tabs.config.ts::TabOption",
|
|
118
|
+
"referenceLocation": "TabOption"
|
|
90
119
|
}
|
|
91
120
|
}
|
|
92
121
|
},
|
|
@@ -104,9 +133,16 @@ export class SdTabs {
|
|
|
104
133
|
"type": "string",
|
|
105
134
|
"mutable": false,
|
|
106
135
|
"complexType": {
|
|
107
|
-
"original": "
|
|
108
|
-
"resolved": "\"
|
|
109
|
-
"references": {
|
|
136
|
+
"original": "TabSize",
|
|
137
|
+
"resolved": "\"lg\" | \"md\"",
|
|
138
|
+
"references": {
|
|
139
|
+
"TabSize": {
|
|
140
|
+
"location": "import",
|
|
141
|
+
"path": "./sd-tabs.config",
|
|
142
|
+
"id": "src/components/sd-tabs/sd-tabs.config.ts::TabSize",
|
|
143
|
+
"referenceLocation": "TabSize"
|
|
144
|
+
}
|
|
145
|
+
}
|
|
110
146
|
},
|
|
111
147
|
"required": false,
|
|
112
148
|
"optional": false,
|
|
@@ -19,7 +19,7 @@ export class SdTag {
|
|
|
19
19
|
render() {
|
|
20
20
|
const config = this.resolvedConfig;
|
|
21
21
|
const iconNode = this.renderIcon(config.icon, config.iconSize);
|
|
22
|
-
return (h("span", { key: '
|
|
22
|
+
return (h("span", { key: 'da19900d267d2b2f000e1790133966a7976bcded', class: "sd-tag", style: {
|
|
23
23
|
'--sd-tag-background': config.background,
|
|
24
24
|
'--sd-tag-content': config.content,
|
|
25
25
|
'--sd-tag-height': config.height,
|
|
@@ -29,7 +29,7 @@ export class SdTag {
|
|
|
29
29
|
'--sd-tag-font-weight': config.fontWeight,
|
|
30
30
|
'--sd-tag-line-height': config.lineHeight,
|
|
31
31
|
'--sd-tag-radius': config.radius,
|
|
32
|
-
}, "aria-label": this.label || 'tag' }, this.icon && this.isLeft && iconNode, h("span", { key: '
|
|
32
|
+
}, "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));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "sd-tag"; }
|
|
35
35
|
static get originalStyleUrls() {
|
|
@@ -26,16 +26,16 @@ export class SdTextLink {
|
|
|
26
26
|
'--sd-text-link-text-decoration': typo.textDecoration,
|
|
27
27
|
...(this.disabled ? { '--sd-text-link-color': TEXT_LINK_COLORS.content.disabled } : {}),
|
|
28
28
|
};
|
|
29
|
-
return (h("span", { key: '
|
|
29
|
+
return (h("span", { key: '1128254cddacf5869f320ce2b788b06646f27d7f', class: {
|
|
30
30
|
'sd-text-link': true,
|
|
31
31
|
'sd-text-link--disabled': this.disabled,
|
|
32
|
-
}, style: cssVars, onClick: this.handleClick }, this.icon && (h("sd-icon", { key: '
|
|
32
|
+
}, 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: {
|
|
33
33
|
width: `${TEXT_LINK_LAYOUT.arrowFrame}px`,
|
|
34
34
|
height: `${TEXT_LINK_LAYOUT.arrowFrame}px`,
|
|
35
35
|
display: 'inline-flex',
|
|
36
36
|
alignItems: 'center',
|
|
37
37
|
justifyContent: 'center',
|
|
38
|
-
} }, h("sd-icon", { key: '
|
|
38
|
+
} }, h("sd-icon", { key: '677c88823b02084449cd2dec83cc6bd27dfb8006', name: "chevronRight", size: TEXT_LINK_LAYOUT.arrowIconSize, color: arrowColor })))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "sd-text-link"; }
|
|
41
41
|
static get originalStyleUrls() {
|
|
@@ -105,7 +105,7 @@ export class SdTextarea {
|
|
|
105
105
|
'--sd-system-size-field-sm-height': 'auto',
|
|
106
106
|
'--sd-system-radius-field-sm': `${TEXTAREA_TOKENS.radius}px`,
|
|
107
107
|
};
|
|
108
|
-
return (h("sd-field", { key: '
|
|
108
|
+
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 }))));
|
|
109
109
|
}
|
|
110
110
|
static get is() { return "sd-textarea"; }
|
|
111
111
|
static get originalStyleUrls() {
|
|
@@ -11,10 +11,10 @@ export class SdToast {
|
|
|
11
11
|
render() {
|
|
12
12
|
const typeConfig = TOAST_TYPE_CONFIG[this.type] ?? TOAST_TYPE_CONFIG.default;
|
|
13
13
|
const iconSize = Number(TOAST_LAYOUT.iconSize);
|
|
14
|
-
return (h("div", { key: '
|
|
14
|
+
return (h("div", { key: 'd4b73e2503514143f5174bc8859baf0e59c2f8da', style: {
|
|
15
15
|
'--sd-toast-bg': typeConfig.bg,
|
|
16
16
|
'--sd-toast-text': typeConfig.content,
|
|
17
|
-
} }, h("div", { key: '
|
|
17
|
+
} }, 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() })))));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "sd-toast"; }
|
|
20
20
|
static get originalStyleUrls() {
|
|
@@ -216,7 +216,7 @@ export class SdToastContainer {
|
|
|
216
216
|
const activeToasts = toasts.filter(t => t.state !== 'exiting').reverse();
|
|
217
217
|
const indexMap = new Map();
|
|
218
218
|
activeToasts.forEach((t, i) => indexMap.set(t.id, i));
|
|
219
|
-
return (h("div", { key: '
|
|
219
|
+
return (h("div", { key: '601c4c5aa55df02459866607ca7c59da53c2eda5', class: "sd-toast-container", style: this.getContainerStyles(), onMouseEnter: () => {
|
|
220
220
|
this.expanded = true;
|
|
221
221
|
this.pauseTimers();
|
|
222
222
|
}, onMouseLeave: () => {
|
|
@@ -45,7 +45,7 @@ export class SdToggle {
|
|
|
45
45
|
'--sd-toggle-content-select': TOGGLE_COLORS.content.select,
|
|
46
46
|
'--sd-toggle-content-disabled': TOGGLE_COLORS.content.disabled,
|
|
47
47
|
};
|
|
48
|
-
return (h("label", { key: '
|
|
48
|
+
return (h("label", { key: 'fe56ffe876ccc859536ca74703e0870ad97e1668', class: this.toggleClasses, style: cssVars, "aria-label": this.label || 'toggle' }, this.label, h("input", { key: 'f473fd71c03d0e4e3e8fb354753d769033f148f2', style: { display: 'none' }, type: "checkbox", onInput: this.handleChange })));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "sd-toggle"; }
|
|
51
51
|
static get originalStyleUrls() {
|