@sellmate/design-system 1.0.71 → 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 +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 +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.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-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-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 +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 +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 +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 +388 -137
- package/hydrate/index.mjs +388 -137
- 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
|
@@ -2,15 +2,22 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
export class SdForm {
|
|
3
3
|
formClass = '';
|
|
4
4
|
fields = [];
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
sdSubmit;
|
|
6
|
+
sdValidationError;
|
|
7
7
|
sortFieldsByDomOrder() {
|
|
8
8
|
this.fields.sort((a, b) => {
|
|
9
9
|
const elA = a.el;
|
|
10
10
|
const elB = b.el;
|
|
11
11
|
if (!elA || !elB)
|
|
12
12
|
return 0;
|
|
13
|
-
|
|
13
|
+
if (elA === elB)
|
|
14
|
+
return 0;
|
|
15
|
+
const position = elA.compareDocumentPosition(elB);
|
|
16
|
+
if (position & Node.DOCUMENT_POSITION_FOLLOWING)
|
|
17
|
+
return -1;
|
|
18
|
+
if (position & Node.DOCUMENT_POSITION_PRECEDING)
|
|
19
|
+
return 1;
|
|
20
|
+
return 0;
|
|
14
21
|
});
|
|
15
22
|
}
|
|
16
23
|
async sdRegisterField(field) {
|
|
@@ -18,13 +25,20 @@ export class SdForm {
|
|
|
18
25
|
console.warn('[sd-form] field.name is required');
|
|
19
26
|
return;
|
|
20
27
|
}
|
|
21
|
-
if (this.fields.
|
|
28
|
+
if (this.fields.includes(field))
|
|
22
29
|
return;
|
|
23
30
|
this.fields.push(field);
|
|
24
31
|
this.sortFieldsByDomOrder();
|
|
25
32
|
}
|
|
26
|
-
async sdUnregisterField(
|
|
27
|
-
|
|
33
|
+
async sdUnregisterField(fieldOrName) {
|
|
34
|
+
if (typeof fieldOrName === 'string') {
|
|
35
|
+
const index = this.fields.findIndex(field => field.name === fieldOrName);
|
|
36
|
+
if (index !== -1) {
|
|
37
|
+
this.fields.splice(index, 1);
|
|
38
|
+
}
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
this.fields = this.fields.filter(field => field !== fieldOrName);
|
|
28
42
|
}
|
|
29
43
|
async sdValidate() {
|
|
30
44
|
const fieldValidationResults = await Promise.all(this.fields.map(async (field) => {
|
|
@@ -53,13 +67,13 @@ export class SdForm {
|
|
|
53
67
|
e.preventDefault();
|
|
54
68
|
const valid = await this.sdValidate();
|
|
55
69
|
if (!valid) {
|
|
56
|
-
this.
|
|
70
|
+
this.sdValidationError.emit();
|
|
57
71
|
return;
|
|
58
72
|
}
|
|
59
|
-
this.
|
|
73
|
+
this.sdSubmit.emit();
|
|
60
74
|
}
|
|
61
75
|
render() {
|
|
62
|
-
return (h("form", { key: '
|
|
76
|
+
return (h("form", { key: 'f8276276d117709062f263c1ebbf814f398ed06d', onSubmit: e => this.onSubmit(e), class: this.formClass }, h("slot", { key: '24a4bd4c3140c89b49d6763113068ce1fb03cc6e' })));
|
|
63
77
|
}
|
|
64
78
|
static get is() { return "sd-form"; }
|
|
65
79
|
static get properties() {
|
|
@@ -88,7 +102,7 @@ export class SdForm {
|
|
|
88
102
|
}
|
|
89
103
|
static get events() {
|
|
90
104
|
return [{
|
|
91
|
-
"method": "
|
|
105
|
+
"method": "sdSubmit",
|
|
92
106
|
"name": "sdSubmit",
|
|
93
107
|
"bubbles": true,
|
|
94
108
|
"cancelable": true,
|
|
@@ -103,7 +117,7 @@ export class SdForm {
|
|
|
103
117
|
"references": {}
|
|
104
118
|
}
|
|
105
119
|
}, {
|
|
106
|
-
"method": "
|
|
120
|
+
"method": "sdValidationError",
|
|
107
121
|
"name": "sdValidationError",
|
|
108
122
|
"bubbles": true,
|
|
109
123
|
"cancelable": true,
|
|
@@ -149,16 +163,21 @@ export class SdForm {
|
|
|
149
163
|
},
|
|
150
164
|
"sdUnregisterField": {
|
|
151
165
|
"complexType": {
|
|
152
|
-
"signature": "(
|
|
166
|
+
"signature": "(fieldOrName: FieldIdentifier) => Promise<void>",
|
|
153
167
|
"parameters": [{
|
|
154
|
-
"name": "
|
|
155
|
-
"type": "string",
|
|
168
|
+
"name": "fieldOrName",
|
|
169
|
+
"type": "string | ValidatableField",
|
|
156
170
|
"docs": ""
|
|
157
171
|
}],
|
|
158
172
|
"references": {
|
|
159
173
|
"Promise": {
|
|
160
174
|
"location": "global",
|
|
161
175
|
"id": "global::Promise"
|
|
176
|
+
},
|
|
177
|
+
"FieldIdentifier": {
|
|
178
|
+
"location": "local",
|
|
179
|
+
"path": "/Users/meijing/Documents/sellmate/frontend/design-system/packages/stencil/src/components/sd-form/sd-form.tsx",
|
|
180
|
+
"id": "src/components/sd-form/sd-form.tsx::FieldIdentifier"
|
|
162
181
|
}
|
|
163
182
|
},
|
|
164
183
|
"return": "Promise<void>"
|
|
@@ -35,7 +35,7 @@ export class SdGhostButton {
|
|
|
35
35
|
? GHOST_BUTTON_DISABLED_COLORS[this.intent ?? 'default']
|
|
36
36
|
: GHOST_BUTTON_CONTENT_COLORS[this.intent ?? 'default'];
|
|
37
37
|
const accessibleName = this.ariaLabel.trim() || undefined;
|
|
38
|
-
return (h("button", { key: '
|
|
38
|
+
return (h("button", { key: '34c5026b4819b624b19d1773bad413b689633c2a', class: {
|
|
39
39
|
'sd-ghost-button': true,
|
|
40
40
|
'sd-ghost-button--disabled': this.disabled,
|
|
41
41
|
}, type: "button", disabled: this.disabled, "aria-label": accessibleName, style: {
|
|
@@ -44,7 +44,7 @@ export class SdGhostButton {
|
|
|
44
44
|
'--sd-ghost-button-hover-bg': GHOST_BUTTON_HOVER_BG_COLORS[this.intent ?? 'default'],
|
|
45
45
|
'--sd-ghost-button-hover-opacity': GHOST_BUTTON_HOVER_OPACITY,
|
|
46
46
|
'--sd-ghost-button-accent': GHOST_BUTTON_FOCUS_RING_COLOR,
|
|
47
|
-
}, onClick: this.handleClick }, h("sd-icon", { key: '
|
|
47
|
+
}, onClick: this.handleClick }, h("sd-icon", { key: '063f7cfabfdbf0f4f2f4c1a2c811e6c3734d941f', name: this.icon, size: sizeConfig.icon, color: contentColor })));
|
|
48
48
|
}
|
|
49
49
|
static get is() { return "sd-ghost-button"; }
|
|
50
50
|
static get originalStyleUrls() {
|
|
@@ -112,12 +112,12 @@ export class SdInput {
|
|
|
112
112
|
'--sd-system-size-field-sm-height': `${sizeTokens.height}px`,
|
|
113
113
|
'--sd-system-radius-field-sm': `${sizeTokens.radius}px`,
|
|
114
114
|
};
|
|
115
|
-
return (h("sd-field", { key: '
|
|
115
|
+
return (h("sd-field", { key: '89ec87626ee611a233cfd6673471bfb856bf9c7b', 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, size: this.size, 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("label", { key: '092ec9af34a505e2be74f35e3bf48002067b860f', class: "sd-input__content" }, h("slot", { key: 'cd3ae3cdda60df770ce690f7af7201e1e04515a1', name: "prefix" }), h("input", { key: 'bcce3bdab7fad50c38c3c1a7841dcaf6fbe2c735', name: this.name, ref: el => (this.nativeEl = el), class: `sd-input__native ${this.inputClass}`, type: this.type === 'password' && this.passwordVisible ? 'text' : this.type, value: this.internalValue || '', placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, autocomplete: this.autocomplete || undefined, maxlength: this.maxlength, minlength: this.minlength, inputmode: this.inputmode, enterkeyhint: this.enterkeyhint, spellcheck: this.spellcheck, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.inputStyle }), h("slot", { key: '6491b3ccdc5a9a993980d4a3668b0c62fc28e064', name: "suffix" }), this.clearable && this.internalValue && !this.disabled && (h("sd-ghost-button", { key: 'e24bfdd0706bb6cb05b3a6e6edce7e9bbf79df38', icon: "close", ariaLabel: "clear", size: "xxs", disabled: this.disabled, class: "sd-input__clear-icon", onClick: async () => {
|
|
116
116
|
if (this.disabled)
|
|
117
117
|
return;
|
|
118
118
|
this.internalValue = '';
|
|
119
119
|
await this.formField?.sdValidate();
|
|
120
|
-
} })), this.type === 'password' && (h("sd-ghost-button", { key: '
|
|
120
|
+
} })), this.type === 'password' && (h("sd-ghost-button", { key: '561ec06be116aa1c083dd82414f43a284307053b', icon: this.passwordVisible ? 'visibilityOn' : 'visibilityOff', ariaLabel: "visibility", size: "xxs", disabled: this.disabled, class: "sd-input__password-icon", onClick: () => {
|
|
121
121
|
if (this.disabled)
|
|
122
122
|
return;
|
|
123
123
|
this.passwordVisible = !this.passwordVisible;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import progressTokens from "../../tokens/generated/component.progress.json";
|
|
2
|
+
import systemTokens from "../../tokens/generated/system.json";
|
|
3
|
+
export const LINEAR_PROGRESS_LAYOUT = {
|
|
4
|
+
height: Number(progressTokens.progress.linear.height),
|
|
5
|
+
radius: Number(progressTokens.progress.linear.radius),
|
|
6
|
+
gap: Number(progressTokens.progress.linear.gap),
|
|
7
|
+
};
|
|
8
|
+
export const LINEAR_PROGRESS_TYPOGRAPHY = {
|
|
9
|
+
bar: progressTokens.progress.linear.typography,
|
|
10
|
+
label: progressTokens.progress.label.typography,
|
|
11
|
+
};
|
|
12
|
+
export const LINEAR_PROGRESS_COLORS = {
|
|
13
|
+
track: progressTokens.progress.color.track,
|
|
14
|
+
label: progressTokens.progress.color.label,
|
|
15
|
+
valueOnFill: progressTokens.progress.bar.text,
|
|
16
|
+
valueZero: systemTokens.color.content.tertiary,
|
|
17
|
+
};
|
|
18
|
+
export const LINEAR_PROGRESS_FILL_COLOR_MAP = {
|
|
19
|
+
primary: progressTokens.progress.active.color,
|
|
20
|
+
error: progressTokens.progress.error.color,
|
|
21
|
+
complete: progressTokens.progress.success.color,
|
|
22
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
sd-linear-progress {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: 12px;
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
sd-linear-progress .sd-linear-progress__track {
|
|
8
|
+
position: relative;
|
|
9
|
+
width: 100%;
|
|
10
|
+
height: 20px;
|
|
11
|
+
border-radius: 9999px;
|
|
12
|
+
background-color: var(--sd-linear-progress-track-color);
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
}
|
|
15
|
+
sd-linear-progress .sd-linear-progress__fill {
|
|
16
|
+
position: absolute;
|
|
17
|
+
inset: 0 auto 0 0;
|
|
18
|
+
height: 100%;
|
|
19
|
+
background-color: var(--sd-linear-progress-fill-color);
|
|
20
|
+
border-radius: inherit;
|
|
21
|
+
transition: width 0.4s linear;
|
|
22
|
+
}
|
|
23
|
+
sd-linear-progress .sd-linear-progress__value {
|
|
24
|
+
position: absolute;
|
|
25
|
+
top: 50%;
|
|
26
|
+
left: 0;
|
|
27
|
+
right: 0;
|
|
28
|
+
transform: translateY(-50%);
|
|
29
|
+
text-align: center;
|
|
30
|
+
font-family: "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;
|
|
31
|
+
font-size: 12px;
|
|
32
|
+
font-weight: 700;
|
|
33
|
+
line-height: 20px;
|
|
34
|
+
pointer-events: none;
|
|
35
|
+
user-select: none;
|
|
36
|
+
}
|
|
37
|
+
sd-linear-progress .sd-linear-progress__value--on-track {
|
|
38
|
+
color: var(--sd-linear-progress-value-color);
|
|
39
|
+
}
|
|
40
|
+
sd-linear-progress .sd-linear-progress__value--on-fill {
|
|
41
|
+
color: var(--sd-linear-progress-value-on-fill);
|
|
42
|
+
}
|
|
43
|
+
sd-linear-progress .sd-linear-progress__label {
|
|
44
|
+
text-align: center;
|
|
45
|
+
color: var(--sd-linear-progress-label-color);
|
|
46
|
+
font-family: "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;
|
|
47
|
+
font-size: 12px;
|
|
48
|
+
font-weight: 400;
|
|
49
|
+
line-height: 20px;
|
|
50
|
+
}
|
|
51
|
+
sd-linear-progress[indeterminate] .sd-linear-progress__fill {
|
|
52
|
+
inset: 0;
|
|
53
|
+
width: auto;
|
|
54
|
+
transform-origin: left center;
|
|
55
|
+
transition: none;
|
|
56
|
+
animation: sd-linear-progress-indeterminate 1.2s linear infinite;
|
|
57
|
+
}
|
|
58
|
+
@keyframes sd-linear-progress-indeterminate {
|
|
59
|
+
0% {
|
|
60
|
+
transform: translateX(-100%) scaleX(0.2);
|
|
61
|
+
}
|
|
62
|
+
50% {
|
|
63
|
+
transform: translateX(20%) scaleX(0.6);
|
|
64
|
+
}
|
|
65
|
+
100% {
|
|
66
|
+
transform: translateX(120%) scaleX(0.2);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
import { LINEAR_PROGRESS_COLORS, LINEAR_PROGRESS_FILL_COLOR_MAP, } from "./sd-linear-progress.config";
|
|
3
|
+
export class SdLinearProgress {
|
|
4
|
+
indeterminate = false;
|
|
5
|
+
value = 0;
|
|
6
|
+
type = 'primary';
|
|
7
|
+
label;
|
|
8
|
+
get clampedValue() {
|
|
9
|
+
if (!Number.isFinite(this.value))
|
|
10
|
+
return 0;
|
|
11
|
+
return Math.max(0, Math.min(100, this.value));
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
const fillColor = LINEAR_PROGRESS_FILL_COLOR_MAP[this.type] ??
|
|
15
|
+
LINEAR_PROGRESS_FILL_COLOR_MAP.primary;
|
|
16
|
+
const valueColor = this.clampedValue === 0 ? LINEAR_PROGRESS_COLORS.valueZero : fillColor;
|
|
17
|
+
const hostStyle = {
|
|
18
|
+
'--sd-linear-progress-track-color': LINEAR_PROGRESS_COLORS.track,
|
|
19
|
+
'--sd-linear-progress-fill-color': fillColor,
|
|
20
|
+
'--sd-linear-progress-value-color': valueColor,
|
|
21
|
+
'--sd-linear-progress-value-on-fill': LINEAR_PROGRESS_COLORS.valueOnFill,
|
|
22
|
+
'--sd-linear-progress-label-color': LINEAR_PROGRESS_COLORS.label,
|
|
23
|
+
};
|
|
24
|
+
const fillStyle = this.indeterminate
|
|
25
|
+
? {}
|
|
26
|
+
: { width: `${this.clampedValue}%` };
|
|
27
|
+
const valueOnFillStyle = {
|
|
28
|
+
clipPath: `inset(0 ${100 - this.clampedValue}% 0 0)`,
|
|
29
|
+
};
|
|
30
|
+
const valueText = `${Math.round(this.clampedValue)}%`;
|
|
31
|
+
return (h(Host, { key: '7a639f88907718e71692f08beaa4ff32a913990c', style: hostStyle }, h("div", { key: '0e9dc34a18d5497c67ce890e9976d98ff46a7cae', class: 'sd-linear-progress__track' }, h("div", { key: 'b06985fa70196b47046907bbf72f73518e731614', class: 'sd-linear-progress__fill', style: fillStyle }), !this.indeterminate && (h("span", { key: 'b7ca66daa73439d52243f21991131dd40704c018', class: 'sd-linear-progress__value sd-linear-progress__value--on-track' }, valueText)), !this.indeterminate && (h("span", { key: 'c2a8886d6e8402c29607287ae3a1c489138b38ce', class: 'sd-linear-progress__value sd-linear-progress__value--on-fill', style: valueOnFillStyle }, valueText))), this.label && h("span", { key: '36024d7cfbe5c932821744fa30f6366bf7a75302', class: 'sd-linear-progress__label' }, this.label)));
|
|
32
|
+
}
|
|
33
|
+
static get is() { return "sd-linear-progress"; }
|
|
34
|
+
static get originalStyleUrls() {
|
|
35
|
+
return {
|
|
36
|
+
"$": ["sd-linear-progress.scss"]
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
static get styleUrls() {
|
|
40
|
+
return {
|
|
41
|
+
"$": ["sd-linear-progress.css"]
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
static get properties() {
|
|
45
|
+
return {
|
|
46
|
+
"indeterminate": {
|
|
47
|
+
"type": "boolean",
|
|
48
|
+
"mutable": false,
|
|
49
|
+
"complexType": {
|
|
50
|
+
"original": "boolean",
|
|
51
|
+
"resolved": "boolean",
|
|
52
|
+
"references": {}
|
|
53
|
+
},
|
|
54
|
+
"required": false,
|
|
55
|
+
"optional": false,
|
|
56
|
+
"docs": {
|
|
57
|
+
"tags": [],
|
|
58
|
+
"text": ""
|
|
59
|
+
},
|
|
60
|
+
"getter": false,
|
|
61
|
+
"setter": false,
|
|
62
|
+
"reflect": true,
|
|
63
|
+
"attribute": "indeterminate",
|
|
64
|
+
"defaultValue": "false"
|
|
65
|
+
},
|
|
66
|
+
"value": {
|
|
67
|
+
"type": "number",
|
|
68
|
+
"mutable": false,
|
|
69
|
+
"complexType": {
|
|
70
|
+
"original": "number",
|
|
71
|
+
"resolved": "number",
|
|
72
|
+
"references": {}
|
|
73
|
+
},
|
|
74
|
+
"required": false,
|
|
75
|
+
"optional": false,
|
|
76
|
+
"docs": {
|
|
77
|
+
"tags": [],
|
|
78
|
+
"text": ""
|
|
79
|
+
},
|
|
80
|
+
"getter": false,
|
|
81
|
+
"setter": false,
|
|
82
|
+
"reflect": false,
|
|
83
|
+
"attribute": "value",
|
|
84
|
+
"defaultValue": "0"
|
|
85
|
+
},
|
|
86
|
+
"type": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"mutable": false,
|
|
89
|
+
"complexType": {
|
|
90
|
+
"original": "LinearProgressType",
|
|
91
|
+
"resolved": "\"complete\" | \"error\" | \"primary\"",
|
|
92
|
+
"references": {
|
|
93
|
+
"LinearProgressType": {
|
|
94
|
+
"location": "import",
|
|
95
|
+
"path": "./sd-linear-progress.config",
|
|
96
|
+
"id": "src/components/sd-linear-progress/sd-linear-progress.config.ts::LinearProgressType",
|
|
97
|
+
"referenceLocation": "LinearProgressType"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"required": false,
|
|
102
|
+
"optional": false,
|
|
103
|
+
"docs": {
|
|
104
|
+
"tags": [],
|
|
105
|
+
"text": ""
|
|
106
|
+
},
|
|
107
|
+
"getter": false,
|
|
108
|
+
"setter": false,
|
|
109
|
+
"reflect": true,
|
|
110
|
+
"attribute": "type",
|
|
111
|
+
"defaultValue": "'primary'"
|
|
112
|
+
},
|
|
113
|
+
"label": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"mutable": false,
|
|
116
|
+
"complexType": {
|
|
117
|
+
"original": "string",
|
|
118
|
+
"resolved": "string | undefined",
|
|
119
|
+
"references": {}
|
|
120
|
+
},
|
|
121
|
+
"required": false,
|
|
122
|
+
"optional": true,
|
|
123
|
+
"docs": {
|
|
124
|
+
"tags": [],
|
|
125
|
+
"text": ""
|
|
126
|
+
},
|
|
127
|
+
"getter": false,
|
|
128
|
+
"setter": false,
|
|
129
|
+
"reflect": false,
|
|
130
|
+
"attribute": "label"
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
}
|
|
@@ -10,10 +10,10 @@ export class SdLoadingContainer {
|
|
|
10
10
|
this.visible = false;
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h("div", { key: '
|
|
13
|
+
return (h("div", { key: '14ae9c222f613129ac2819ee46b7dd0a248b93da', class: {
|
|
14
14
|
'sd-loading-container': true,
|
|
15
15
|
'sd-loading-container--visible': this.visible,
|
|
16
|
-
}, "aria-hidden": this.visible ? 'false' : 'true' }, h("div", { key: '
|
|
16
|
+
}, "aria-hidden": this.visible ? 'false' : 'true' }, h("div", { key: 'a84dca0f4d3582c041ee97965db92a1fff778bd4', class: "sd-loading-container__backdrop" }), h("div", { key: '9793e443e8371a30572ca9b185e0bcfb09d2d1e1', class: "sd-loading-container__content" }, h("sd-circle-progress", { key: '1ea2e88043ece1b7c6ff9fe210d7d765d738bbfa', indeterminate: true, type: "inverse" }), this.message && (h("p", { key: '20e8a1cd1205186ec419b164b9e4873eb37045ea', class: "sd-loading-container__message" }, this.message)))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "sd-loading-container"; }
|
|
19
19
|
static get originalStyleUrls() {
|
|
@@ -42,7 +42,7 @@ export class SdLoadingModal {
|
|
|
42
42
|
'--sd-loading-modal-width': this.toCssSize(this.width) ?? `${LOADING_MODAL_LAYOUT.minWidth}px`,
|
|
43
43
|
'--sd-loading-modal-height': this.toCssSize(this.height) ?? `${LOADING_MODAL_LAYOUT.minHeight}px`,
|
|
44
44
|
};
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '91fe223de0146ad3a631284728597d6dca312a7e', style: hostStyle }, h("div", { key: 'e3284b3e8fd775b0128ae2e7495141d04d07eaa8', class: "sd-loading-modal" }, h("div", { key: '4975a8e75f7cf983c54a015f25520c34aef855a5', class: "sd-loading-modal__content" }, this.state === 'loading' ? (h("sd-circle-progress", { indeterminate: true })) : (h("sd-icon", { class: "sd-loading-modal__icon", name: "warningOutline", size: LOADING_MODAL_LAYOUT.contentSize, color: LOADING_MODAL_COLORS.errorIcon }))), h("p", { key: 'c3d09b0c957a0cf2097772499a91bb8f86f19e98', class: "sd-loading-modal__message" }, this.resolvedMessage), this.useButton && (h("div", { key: 'c5c1fa02e3c7c3dd3747a1609dc1fa9aab70c61c', class: "sd-loading-modal__button" }, h("sd-button-v2", { key: '849bdd00035bfa602ec814e55b585588f15871c6', name: LOADING_MODAL_BUTTON_PRESET, label: this.resolvedButtonLabel, onSdClick: this.handleClick }))))));
|
|
46
46
|
}
|
|
47
47
|
static get is() { return "sd-loading-modal"; }
|
|
48
48
|
static get originalStyleUrls() {
|
|
@@ -272,12 +272,12 @@ export class SdNumberInput {
|
|
|
272
272
|
'--sd-textinput-input-hint-typography-line-height': `${NUMBER_INPUT_HINT.typography.lineHeight}px`,
|
|
273
273
|
'--sd-textinput-input-contents-gap': `${NUMBER_INPUT_CONTENTS_GAP}px`,
|
|
274
274
|
};
|
|
275
|
-
return (h("sd-field", { key: '
|
|
275
|
+
return (h("sd-field", { key: '04aea42c0e7ae2c81a50d0fbb106d5834d42f7c3', 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, size: this.size, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, h("div", { key: '8089ebd24ce12922d73c5f7909d3ef1d944e99d3', class: "sd-number-input__content" }, this.useButton && (h("button", { key: '27b630b4e12ba8f107b8c1053ab89f39b5df966f', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--decrement", disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, h("sd-icon", { key: 'b916a9f5f4c2579b9d3c3365790b29eb98f55c84', name: "minus", size: iconSize, color: this.isDecrementDisabled()
|
|
276
276
|
? NUMBER_INPUT_STEPPER.icon.disabled
|
|
277
|
-
: NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && (h("span", { key: '
|
|
277
|
+
: NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && (h("span", { key: '6e669bfdd4cf68d9ca6182748cd9e60db9ae36f2', class: "sd-number-input__prefix" }, this.inputPrefix)), h("input", { key: '0fe251f87da94d35d50986ec8381b8e9df85d70e', name: this.name, ref: el => (this.nativeEl = el), class: `sd-number-input__native ${this.inputClass}`, type: "text", inputMode: "numeric", value: this.displayValue, placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur, style: {
|
|
278
278
|
textAlign: this.useButton ? 'center' : 'right',
|
|
279
279
|
...this.inputStyle,
|
|
280
|
-
} }), this.inputSuffix && (h("span", { key: '
|
|
280
|
+
} }), this.inputSuffix && (h("span", { key: '0842beeb5d5834909909b5120af69cdbe3fac299', class: "sd-number-input__suffix" }, this.inputSuffix)), this.useButton && (h("button", { key: 'dd2706a9882164812d65fe35e05e5865bb4fc4c8', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--increment", disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, h("sd-icon", { key: '578b0030421db07da89717039ae9773d537db5e6', name: "add", size: iconSize, color: this.isIncrementDisabled()
|
|
281
281
|
? NUMBER_INPUT_STEPPER.icon.disabled
|
|
282
282
|
: NUMBER_INPUT_STEPPER.icon.default }))))));
|
|
283
283
|
}
|
|
@@ -83,13 +83,13 @@ export class SdPagination {
|
|
|
83
83
|
'--sd-pagination-bg-selected': PAGINATION_COLORS.bgSelected,
|
|
84
84
|
'--sd-pagination-item-width': `${this.buttonWidth}px`,
|
|
85
85
|
};
|
|
86
|
-
return (h("div", { key: '
|
|
86
|
+
return (h("div", { key: '386fdd2d1c0b5a7284c299201f19fd3384670ab1', class: {
|
|
87
87
|
'sd-pagination': true,
|
|
88
88
|
'sd-pagination--simple': this.simple,
|
|
89
|
-
}, style: cssVars }, h("div", { key: '
|
|
89
|
+
}, style: cssVars }, h("div", { key: 'cd73997ae59f87b70c31e88fd5b4246bd6044bd0', class: "sd-pagination__group sd-pagination__group--prev" }, this.renderPrevButtons()), this.simple ? (h("div", { class: "sd-pagination__info" }, h("span", { class: "sd-pagination__current" }, this.currentPage), h("span", { class: "sd-pagination__divider" }, "/"), h("span", { class: "sd-pagination__last" }, this.lastPage))) : (h("div", { class: "sd-pagination__numbers" }, this.pageNumbers.map(n => (h("button", { type: "button", "aria-current": this.currentPage === n ? 'page' : undefined, class: {
|
|
90
90
|
'sd-pagination__item': true,
|
|
91
91
|
'sd-pagination__item--selected': this.currentPage === n,
|
|
92
|
-
}, onClick: () => this.handlePageChange(n) }, n))))), h("div", { key: '
|
|
92
|
+
}, onClick: () => this.handlePageChange(n) }, n))))), h("div", { key: '86389ea83d2965efdd938d2f9b2e2c3469f05fe8', class: "sd-pagination__group sd-pagination__group--next" }, this.renderNextButtons())));
|
|
93
93
|
}
|
|
94
94
|
static get is() { return "sd-pagination"; }
|
|
95
95
|
static get originalStyleUrls() {
|
|
@@ -220,7 +220,7 @@ export class SdPortal {
|
|
|
220
220
|
this.close.emit();
|
|
221
221
|
}
|
|
222
222
|
render() {
|
|
223
|
-
return h("slot", { key: '
|
|
223
|
+
return h("slot", { key: '6fa44238ddbc26c355ddde102d2639db7dd50b94' });
|
|
224
224
|
}
|
|
225
225
|
static get is() { return "sd-portal"; }
|
|
226
226
|
static get properties() {
|
|
@@ -33,10 +33,10 @@ export class SdProgress {
|
|
|
33
33
|
return this.statusColor[this.progressStatus];
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h("div", { key: '
|
|
36
|
+
return (h("div", { key: '34c1ecf23c120f53595529004ed3d6818896e816', style: {
|
|
37
37
|
'--progress-color': this.progressColor,
|
|
38
38
|
'--progress-percentage': `${this.progressPercentage}%`,
|
|
39
|
-
} }, this.type === 'bar' ? this.renderBarProgress() : this.renderSpinnerProgress(), this.label && h("div", { key: '
|
|
39
|
+
} }, this.type === 'bar' ? this.renderBarProgress() : this.renderSpinnerProgress(), this.label && h("div", { key: '29461b9428416262c10b1917eaee4e0091d290dc', class: "sd-progress__label" }, this.label)));
|
|
40
40
|
}
|
|
41
41
|
renderBarProgress() {
|
|
42
42
|
return (h("div", { class: `sd-progress__bar sd-progress__bar--${this.progressStatus}` }, h("div", { class: ['sd-progress__bar__percent', this.progressPercentage < 100 ? 'proceed' : ''].join(' ') }), h("div", { class: "sd-progress__bar__indicator sd-progress__bar__indicator--left" }, this.progressPercentage, "%"), h("div", { class: "sd-progress__bar__indicator sd-progress__bar__indicator--right" }, this.progressPercentage, "%")));
|
|
@@ -144,10 +144,10 @@ export class SdSelectDropdown {
|
|
|
144
144
|
this.isScrolled = scrollTop > 0;
|
|
145
145
|
};
|
|
146
146
|
render() {
|
|
147
|
-
return (h("div", { key: '
|
|
147
|
+
return (h("div", { key: 'a831a99130074fa072534d76f4b0db7169d906e2', class: {
|
|
148
148
|
'sd-select-dropdown': true,
|
|
149
149
|
'sd-select-dropdown--ready': this.isDropdownReady,
|
|
150
|
-
}, style: this.dropdownSize, onScroll: this.handleDropdownScroll, ref: el => (this.dropdownRef = el) }, this.searchable && (h("sd-select-search-input", { key: '
|
|
150
|
+
}, style: this.dropdownSize, onScroll: this.handleDropdownScroll, ref: el => (this.dropdownRef = el) }, this.searchable && (h("sd-select-search-input", { key: 'f09a5575454c30387aeac9996d15625d7581a367', ref: el => (this.searchRef = el), isScrolled: this.isScrolled, searchText: this.searchText, onSdSearchInput: (event) => (this.searchText = event.detail || ''), onSdSearchFocus: () => (this.itemIndex = -1) })), this.filteredOptions.length > 0 ? (this.filteredOptions.map((option, index) => (h("slot", { name: `option-${option.value}` }, h("sd-select-option", { option: option, index: index, isSelected: this.isOptionSelected(option.value), isFocused: index === this.itemIndex, onOptionClick: ({ detail }) => this.optionClick.emit(detail), useCheckbox: this.useCheckbox }))))) : (h("slot", { name: "option-placeholder" }, h("div", { class: 'sd-select-option-placeholder' }, this.optionPlaceholder)))));
|
|
151
151
|
}
|
|
152
152
|
static get is() { return "sd-select-dropdown"; }
|
|
153
153
|
static get originalStyleUrls() {
|
|
@@ -24,7 +24,7 @@ export class SdSelectOption {
|
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
render() {
|
|
27
|
-
return (h("div", { key: '
|
|
27
|
+
return (h("div", { key: '413176678e27ad80c3ba51f8e32681f017d210ac', class: {
|
|
28
28
|
'sd-select__option': true,
|
|
29
29
|
'sd-select__option--selected': this.isSelected,
|
|
30
30
|
'sd-select__option--disabled': !!this.option.disabled,
|
package/dist/collection/components/sd-select/sd-select-search-input/sd-select-search-input.js
CHANGED
|
@@ -16,17 +16,17 @@ export class SdSelectSearchInput {
|
|
|
16
16
|
input?.focus({ preventScroll: true });
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h("div", { key: '
|
|
19
|
+
return (h("div", { key: 'f056d50b2a0ca1e40efabaae5071d56259d2094b', class: {
|
|
20
20
|
'sd-select-search-input': true,
|
|
21
21
|
'sd-select-search-input--scrolled': !!this.isScrolled,
|
|
22
|
-
}, onClick: event => event.stopPropagation() }, h("sd-input", { key: '
|
|
22
|
+
}, onClick: event => event.stopPropagation() }, h("sd-input", { key: '14a59374d1c7d661247ea506b4f5670893f16294', ref: el => (this.searchRef = el), value: this.searchText, placeholder: "\uAC80\uC0C9", clearable: true, inputStyle: { 'padding-left': '8px' }, autofocus: true, onSdUpdate: event => {
|
|
23
23
|
this.searchInput.emit(String(event?.detail));
|
|
24
24
|
}, onSdFocus: () => {
|
|
25
25
|
this.searchFocus.emit();
|
|
26
26
|
}, onKeyDown: event => {
|
|
27
27
|
if (event.code === 'Enter')
|
|
28
28
|
event.stopPropagation();
|
|
29
|
-
} }, h("sd-icon", { key: '
|
|
29
|
+
} }, h("sd-icon", { key: 'd7e976a06b6a889a1be2b79252f1d57729953522', name: "search", size: 16, color: "#737373", style: { marginRight: '4px' }, slot: "prefix" }))));
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "sd-select-search-input"; }
|
|
32
32
|
static get originalStyleUrls() {
|
|
@@ -272,7 +272,7 @@ export class SdSelectGroup extends BaseDropdownEvent {
|
|
|
272
272
|
});
|
|
273
273
|
}
|
|
274
274
|
render() {
|
|
275
|
-
return (h("sd-field", { key: '
|
|
275
|
+
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: {
|
|
276
276
|
'sd-select-group': true,
|
|
277
277
|
'sd-select-group--open': this.isOpen,
|
|
278
278
|
'sd-select-group--disabled': this.disabled,
|
|
@@ -151,7 +151,7 @@ export class SdSelectMultiple extends BaseDropdownEvent {
|
|
|
151
151
|
this.handleOptionSelection(option);
|
|
152
152
|
};
|
|
153
153
|
render() {
|
|
154
|
-
return (h("sd-field", { key: '
|
|
154
|
+
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: {
|
|
155
155
|
'sd-select-multiple': true,
|
|
156
156
|
'sd-select-multiple--open': this.isOpen,
|
|
157
157
|
'sd-select-multiple--disabled': this.disabled,
|
|
@@ -39,7 +39,7 @@ export class SdSelectOptionGroup {
|
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
render() {
|
|
42
|
-
return (h("div", { key: '
|
|
42
|
+
return (h("div", { key: '647a7be115df96fe30d3b69d3b09ee45d229d86c', class: {
|
|
43
43
|
'sd-select__option-group': true,
|
|
44
44
|
'sd-select__option-group--selected': !!this.isSelected,
|
|
45
45
|
'sd-select__option-group--disabled': !!this.option.disabled,
|
|
@@ -48,10 +48,10 @@ export class SdSelectOptionGroup {
|
|
|
48
48
|
'sd-select__option-group--group': this.option.type === 'group',
|
|
49
49
|
'sd-select__option-group--subgroup': this.option.type === 'subgroup',
|
|
50
50
|
'sd-select__option-group--item': this.option.type === 'item',
|
|
51
|
-
}, 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: '
|
|
51
|
+
}, 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 => {
|
|
52
52
|
e.preventDefault();
|
|
53
53
|
this.handleClick(this.option, this.isSelected, e);
|
|
54
|
-
} })), h("span", { key: '
|
|
54
|
+
} })), 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})`)))));
|
|
55
55
|
}
|
|
56
56
|
static get is() { return "sd-select-option-group"; }
|
|
57
57
|
static get originalStyleUrls() {
|
package/dist/collection/components/sd-select-v2/sd-select-v2-list-item/sd-select-v2-list-item.js
CHANGED
|
@@ -66,7 +66,7 @@ export class SdSelectV2ListItem {
|
|
|
66
66
|
if (isDepth1Group) {
|
|
67
67
|
cssVars['--list-item-border-top'] = `${LIST_ITEM_COLORS.depth1.borderWidth}px solid ${LIST_ITEM_COLORS.depth1.border}`;
|
|
68
68
|
}
|
|
69
|
-
return (h("div", { key: '
|
|
69
|
+
return (h("div", { key: '62974a8d1442730ca752b3fc11f151c4a5be4ad1', class: {
|
|
70
70
|
'sd-select-v2-list-item': true,
|
|
71
71
|
'sd-select-v2-list-item--group': isGroup,
|
|
72
72
|
'sd-select-v2-list-item--depth1-group': isDepth1Group,
|
|
@@ -76,7 +76,7 @@ export class SdSelectV2ListItem {
|
|
|
76
76
|
'sd-select-v2-list-item--focused': this.isFocused,
|
|
77
77
|
'sd-select-v2-list-item--selectable': this.isSelectable && !this.option.disabled,
|
|
78
78
|
'sd-select-v2-list-item--disabled': !!this.option.disabled,
|
|
79
|
-
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: '
|
|
79
|
+
}, 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, ")"))));
|
|
80
80
|
}
|
|
81
81
|
static get is() { return "sd-select-v2-list-item"; }
|
|
82
82
|
static get originalStyleUrls() {
|
|
@@ -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() {
|