@sellmate/design-system 1.0.75 → 1.0.77
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/design-system.cjs.js +2 -2
- package/dist/cjs/{index-Dptupbm0.js → index-CaGGRpd8.js} +1 -1
- package/dist/cjs/index.cjs.js +5 -0
- 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 -13
- 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 +7 -4
- package/dist/cjs/sd-chip.cjs.entry.js +2 -2
- package/dist/cjs/sd-circle-progress.cjs.entry.js +3 -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 +2 -2
- package/dist/cjs/sd-date-picker-trigger.cjs.entry.js +3 -3
- package/dist/cjs/sd-date-picker.cjs.entry.js +3 -3
- package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +2 -2
- package/dist/cjs/sd-date-range-picker.cjs.entry.js +1 -1
- package/dist/cjs/sd-dropdown-button.cjs.entry.js +94 -7
- package/dist/cjs/sd-file-picker.cjs.entry.js +2 -2
- package/dist/cjs/sd-form.cjs.entry.js +1 -1
- package/dist/cjs/sd-ghost-button.cjs.entry.js +11 -6
- package/dist/cjs/sd-guide.cjs.entry.js +2 -2
- package/dist/cjs/{sd-input_2.cjs.entry.js → sd-input.cjs.entry.js} +3 -43
- package/dist/cjs/sd-linear-progress.cjs.entry.js +3 -3
- package/dist/cjs/sd-loading-container.cjs.entry.js +3 -3
- package/dist/cjs/sd-modal-container.cjs.entry.js +77 -69
- package/dist/cjs/sd-number-input.cjs.entry.js +4 -4
- package/dist/cjs/sd-pagination_5.cjs.entry.js +921 -0
- package/dist/cjs/sd-popover.cjs.entry.js +2 -2
- package/dist/cjs/sd-portal.cjs.entry.js +2 -2
- package/dist/cjs/sd-radio-button.cjs.entry.js +7 -2
- 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-v2-list-item_4.cjs.entry.js → sd-select-list-item_4.cjs.entry.js} +108 -48
- package/dist/cjs/sd-switch.cjs.entry.js +2 -2
- package/dist/cjs/sd-table.cjs.entry.js +178 -21
- package/dist/cjs/sd-table.config-hnNodd18.js +105 -0
- package/dist/cjs/sd-tabs.cjs.entry.js +2 -2
- package/dist/cjs/sd-tag.cjs.entry.js +3 -3
- package/dist/cjs/sd-td.cjs.entry.js +54 -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-toast-container.cjs.entry.js +2 -2
- package/dist/cjs/sd-toast.cjs.entry.js +3 -3
- package/dist/cjs/sd-toggle.cjs.entry.js +2 -2
- package/dist/cjs/{system-BbCUNhDJ.js → system-DRemSdU1.js} +7 -1
- package/dist/cjs/{tooltipArrow-DuANjCfc.js → tooltipArrow-BEff0q3z.js} +1 -1
- package/dist/collection/collection-manifest.json +11 -21
- 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-checkbox/sd-checkbox.js +6 -3
- package/dist/collection/components/sd-chip/sd-chip.js +1 -1
- package/dist/collection/components/sd-circle-progress/sd-circle-progress.js +1 -1
- 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 -8
- package/dist/collection/components/sd-file-picker/sd-file-picker.js +1 -1
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
- package/dist/collection/components/sd-ghost-button/sd-ghost-button.js +10 -5
- package/dist/collection/components/sd-input/sd-input.js +2 -2
- package/dist/collection/components/sd-linear-progress/sd-linear-progress.js +1 -1
- package/dist/collection/components/sd-loading-container/sd-loading-container.js +2 -2
- package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +1 -1
- package/dist/collection/components/sd-modal-container/sd-modal-container.js +77 -71
- 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-radio-button/sd-radio-button.js +6 -1
- package/dist/collection/components/{sd-select-v2/sd-select-v2-list-item/sd-select-v2-list-item.css → sd-select/sd-select-list-item/sd-select-list-item.css} +13 -13
- package/dist/collection/components/{sd-select-v2/sd-select-v2-list-item/sd-select-v2-list-item.js → sd-select/sd-select-list-item/sd-select-list-item.js} +28 -28
- package/dist/collection/components/{sd-select-v2/sd-select-v2-list-item-search/sd-select-v2-list-item-search.css → sd-select/sd-select-list-item-search/sd-select-list-item-search.css} +11 -11
- package/dist/collection/components/{sd-select-v2/sd-select-v2-list-item-search/sd-select-v2-list-item-search.js → sd-select/sd-select-list-item-search/sd-select-list-item-search.js} +13 -13
- package/dist/collection/components/{sd-select-v2/sd-select-v2-listbox/sd-select-v2-listbox.css → sd-select/sd-select-listbox/sd-select-listbox.css} +3 -3
- package/dist/collection/components/{sd-select-v2/sd-select-v2-listbox/sd-select-v2-listbox.js → sd-select/sd-select-listbox/sd-select-listbox.js} +133 -33
- package/dist/collection/components/{sd-select-v2/sd-select-v2-trigger/sd-select-v2-trigger.css → sd-select/sd-select-trigger/sd-select-trigger.css} +7 -7
- package/dist/collection/components/{sd-select-v2/sd-select-v2-trigger/sd-select-v2-trigger.js → sd-select/sd-select-trigger/sd-select-trigger.js} +12 -12
- package/dist/collection/components/sd-select/sd-select.css +3 -47
- package/dist/collection/components/sd-select/sd-select.js +413 -294
- package/dist/collection/components/sd-switch/sd-switch.js +1 -1
- package/dist/collection/components/sd-table/sd-table.config.js +81 -0
- package/dist/collection/components/sd-table/sd-table.css +17 -9
- package/dist/collection/components/sd-table/sd-table.js +179 -21
- package/dist/collection/components/sd-table/sd-tbody/sd-tbody.css +0 -8
- package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +9 -5
- package/dist/collection/components/sd-table/sd-td/sd-td.js +91 -1
- package/dist/collection/components/sd-table/sd-thead/sd-thead.css +16 -12
- package/dist/collection/components/sd-table/sd-thead/sd-thead.js +58 -9
- package/dist/collection/components/sd-table/sd-tr/sd-tr.css +11 -3
- package/dist/collection/components/sd-table/sd-tr/sd-tr.js +75 -12
- package/dist/collection/components/sd-tabs/sd-tabs.js +1 -1
- 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/utils/modal.js +5 -0
- package/dist/collection/utils/testing/index.js +2 -0
- package/dist/collection/utils/testing/mocks.js +35 -0
- package/dist/components/index.js +1 -1
- package/dist/components/p-B6KZfiQ5.js +1 -0
- package/dist/components/{p-CTwEbxRN.js → p-BEOrkEV1.js} +1 -1
- package/dist/components/p-BJJvCBQs.js +1 -0
- package/dist/components/p-BM_PRj8W.js +1 -0
- package/dist/components/p-BR_ZAr48.js +1 -0
- package/dist/components/p-BeNJfxnb.js +1 -0
- package/dist/components/{p-BLwIhCdO.js → p-BfoLbEZx.js} +1 -1
- package/dist/components/p-Bm8Fue-a.js +1 -0
- package/dist/components/{p-DaAhgdib.js → p-BynnUMVZ.js} +1 -1
- package/dist/components/{p-D5HLYqT-.js → p-C52iEAqd.js} +1 -1
- package/dist/components/p-C8Dy_x5h.js +1 -0
- package/dist/components/{p-C3dI7f7C.js → p-CJAQuJik.js} +1 -1
- package/dist/components/{p-iAWNMLXh.js → p-CJqZcEqD.js} +1 -1
- package/dist/components/{p-H-9uoufd.js → p-CNm5Qbf-.js} +1 -1
- package/dist/components/{p-B3xZdEDI.js → p-CQy5JErK.js} +1 -1
- package/dist/components/{p-BgFLSKqC.js → p-CZxeqYuw.js} +1 -1
- package/dist/components/{p-SDBnyM8D.js → p-CkgQbCMR.js} +1 -1
- package/dist/components/p-CvnC61M9.js +1 -0
- package/dist/components/{p-6LtMeKKA.js → p-D1SJ2TMu.js} +1 -1
- package/dist/components/{p-BXdEjuI_.js → p-D2FOkhao.js} +1 -1
- package/dist/components/p-D66nhMt3.js +1 -0
- package/dist/components/p-DDDZWrWj.js +1 -0
- package/dist/components/p-DK3vj3bG.js +1 -0
- package/dist/components/{p-CZPR_5mk.js → p-DcuLMUdl.js} +1 -1
- package/dist/components/p-DxXwz3cY.js +1 -0
- package/dist/components/p-NlCzTjK4.js +1 -0
- package/dist/components/{p-BZm6KN1s.js → p-RpjjrX78.js} +1 -1
- package/dist/components/{p-BM0sVq5Z.js → p-ZH78tQXS.js} +1 -1
- package/dist/components/{p-DQfNwvwx.js → p-ZLsQA11g.js} +1 -1
- package/dist/components/{p-DdJyzIYe.js → p-eGToaKCt.js} +1 -1
- package/dist/components/p-hTUSl23P.js +1 -0
- package/dist/components/p-mqa9-iql.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.js +1 -1
- package/dist/components/sd-loading-container.js +1 -1
- package/dist/components/sd-loading-modal.js +1 -1
- package/dist/components/sd-modal-container.js +1 -1
- package/dist/components/sd-number-input.js +1 -1
- package/dist/components/sd-pagination.js +1 -1
- package/dist/components/sd-popover.js +1 -1
- package/dist/components/sd-portal.js +1 -1
- package/dist/components/sd-radio-button.js +1 -1
- package/dist/components/sd-radio-group.js +1 -1
- package/dist/components/sd-radio.js +1 -1
- package/dist/components/sd-select-list-item-search.d.ts +11 -0
- package/dist/components/sd-select-list-item-search.js +1 -0
- package/dist/components/{sd-select-multiple.d.ts → sd-select-list-item.d.ts} +4 -4
- package/dist/components/sd-select-list-item.js +1 -0
- package/dist/components/{sd-select-option.d.ts → sd-select-listbox.d.ts} +4 -4
- package/dist/components/sd-select-listbox.js +1 -0
- package/dist/components/{sd-select-group.d.ts → sd-select-trigger.d.ts} +4 -4
- package/dist/components/sd-select-trigger.js +1 -0
- package/dist/components/sd-select.js +1 -1
- package/dist/components/sd-switch.js +1 -1
- package/dist/components/sd-table.js +1 -1
- package/dist/components/sd-tabs.js +1 -1
- package/dist/components/sd-tag.js +1 -1
- package/dist/components/sd-tbody.js +1 -1
- package/dist/components/sd-td.js +1 -1
- package/dist/components/sd-text-link.js +1 -1
- package/dist/components/sd-textarea.js +1 -1
- package/dist/components/sd-thead.js +1 -1
- package/dist/components/sd-toast-container.js +1 -1
- package/dist/components/sd-toast.js +1 -1
- package/dist/components/sd-toggle.js +1 -1
- package/dist/components/sd-tooltip.js +1 -1
- package/dist/components/sd-tr.js +1 -1
- package/dist/design-system/design-system.css +1 -1
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/index.esm.js +1 -1
- package/dist/design-system/{p-dad07e1a.entry.js → p-120df622.entry.js} +1 -1
- package/dist/design-system/{p-6af9e663.entry.js → p-28b727df.entry.js} +1 -1
- package/dist/design-system/{p-05a1c092.entry.js → p-2cd2fb76.entry.js} +1 -1
- package/dist/design-system/p-3f9d60a0.entry.js +1 -0
- package/dist/design-system/p-400b3676.entry.js +1 -0
- package/dist/design-system/{p-2eb910ec.entry.js → p-41ea33fb.entry.js} +1 -1
- package/dist/design-system/{p-c7bcb232.entry.js → p-42906763.entry.js} +1 -1
- package/dist/design-system/p-42a8f8a2.entry.js +1 -0
- package/dist/design-system/{p-fdcfaa7c.entry.js → p-43ffe7b0.entry.js} +1 -1
- package/dist/design-system/p-4ad9a5b8.entry.js +1 -0
- package/dist/design-system/{p-3a9559ee.entry.js → p-504033e8.entry.js} +1 -1
- package/dist/design-system/p-64d3c984.entry.js +1 -0
- package/dist/design-system/{p-ce3d0f9c.entry.js → p-67f88b1a.entry.js} +1 -1
- package/dist/design-system/{p-6a3f8588.entry.js → p-68d0fa15.entry.js} +1 -1
- package/dist/design-system/p-6dc47f4c.entry.js +1 -0
- package/dist/design-system/{p-d6896893.entry.js → p-6f9b0b32.entry.js} +1 -1
- package/dist/design-system/{p-3ca5c303.entry.js → p-704dc1f1.entry.js} +1 -1
- package/dist/design-system/{p-17cd3a33.entry.js → p-732ee178.entry.js} +1 -1
- package/dist/design-system/{p-8200b5f2.entry.js → p-7d892b68.entry.js} +1 -1
- package/dist/design-system/{p-16a15368.entry.js → p-809e616c.entry.js} +1 -1
- package/dist/design-system/p-80c51996.entry.js +1 -0
- package/dist/design-system/{p-b745cd95.entry.js → p-889971bc.entry.js} +1 -1
- package/dist/design-system/{p-33bec0e3.entry.js → p-8abc2413.entry.js} +1 -1
- package/dist/design-system/{p-bb492ba7.entry.js → p-970f9ea5.entry.js} +1 -1
- package/dist/design-system/p-BHmXH7dZ.js +2 -0
- package/dist/design-system/{p-BgFLSKqC.js → p-CZxeqYuw.js} +1 -1
- package/dist/design-system/p-DDDZWrWj.js +1 -0
- package/dist/design-system/p-DG7d45mX.js +1 -0
- package/dist/design-system/{p-280dc548.entry.js → p-a69d6a99.entry.js} +1 -1
- package/dist/design-system/{p-49f78122.entry.js → p-ab5a94c8.entry.js} +1 -1
- package/dist/design-system/{p-f4a00276.entry.js → p-ae626d30.entry.js} +1 -1
- package/dist/design-system/p-b9a870bf.entry.js +1 -0
- package/dist/design-system/{p-97ebf578.entry.js → p-bab814c5.entry.js} +1 -1
- package/dist/design-system/{p-eb29dc9f.entry.js → p-c21f30de.entry.js} +1 -1
- package/dist/design-system/p-c863a31d.entry.js +1 -0
- package/dist/design-system/{p-a8bde8d9.entry.js → p-cab35b9a.entry.js} +1 -1
- package/dist/design-system/p-cea424f6.entry.js +1 -0
- package/dist/design-system/p-d8bb2cb4.entry.js +1 -0
- package/dist/design-system/p-dd63e10f.entry.js +1 -0
- package/dist/design-system/p-e04302a2.entry.js +1 -0
- package/dist/design-system/{p-5f6379e9.entry.js → p-e84d1bac.entry.js} +1 -1
- package/dist/design-system/p-ebbffddb.entry.js +1 -0
- package/dist/design-system/{p-d1dfa0e1.entry.js → p-ec02b3e8.entry.js} +1 -1
- package/dist/design-system/{p-8ff967f7.entry.js → p-ed1c4625.entry.js} +1 -1
- package/dist/design-system/{p-2d154fe0.entry.js → p-f06038fd.entry.js} +1 -1
- package/dist/design-system/{p-2cd2f2dd.entry.js → p-f80d10ad.entry.js} +1 -1
- package/dist/design-system/p-fbb7e090.entry.js +1 -0
- package/dist/design-system/{p-a9fc2c21.entry.js → p-feb84f87.entry.js} +1 -1
- package/dist/esm/design-system.js +3 -3
- package/dist/esm/{index-Bp7ytJz5.js → index-BHmXH7dZ.js} +1 -1
- package/dist/esm/index.js +5 -0
- 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 -13
- 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 +7 -4
- package/dist/esm/sd-chip.entry.js +2 -2
- package/dist/esm/sd-circle-progress.entry.js +3 -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 +2 -2
- package/dist/esm/sd-date-picker-trigger.entry.js +3 -3
- package/dist/esm/sd-date-picker.entry.js +3 -3
- package/dist/esm/sd-date-range-picker-calendar.entry.js +2 -2
- package/dist/esm/sd-date-range-picker.entry.js +1 -1
- package/dist/esm/sd-dropdown-button.entry.js +93 -6
- package/dist/esm/sd-file-picker.entry.js +2 -2
- package/dist/esm/sd-form.entry.js +1 -1
- package/dist/esm/sd-ghost-button.entry.js +11 -6
- package/dist/esm/sd-guide.entry.js +2 -2
- package/dist/esm/{sd-input_2.entry.js → sd-input.entry.js} +4 -43
- package/dist/esm/sd-linear-progress.entry.js +3 -3
- package/dist/esm/sd-loading-container.entry.js +3 -3
- package/dist/esm/sd-modal-container.entry.js +77 -69
- package/dist/esm/sd-number-input.entry.js +4 -4
- package/dist/esm/sd-pagination_5.entry.js +915 -0
- package/dist/esm/sd-popover.entry.js +2 -2
- package/dist/esm/sd-portal.entry.js +2 -2
- package/dist/esm/sd-radio-button.entry.js +7 -2
- package/dist/esm/sd-radio-group.entry.js +1 -1
- package/dist/esm/sd-radio.entry.js +1 -1
- package/dist/esm/{sd-select-v2-list-item_4.entry.js → sd-select-list-item_4.entry.js} +105 -45
- package/dist/esm/sd-switch.entry.js +2 -2
- package/dist/esm/sd-table.config-DKkzCQwJ.js +94 -0
- package/dist/esm/sd-table.entry.js +178 -21
- package/dist/esm/sd-tabs.entry.js +2 -2
- package/dist/esm/sd-tag.entry.js +3 -3
- package/dist/esm/sd-td.entry.js +54 -2
- package/dist/esm/sd-text-link.entry.js +4 -4
- package/dist/esm/sd-textarea.entry.js +2 -2
- package/dist/esm/sd-toast-container.entry.js +2 -2
- package/dist/esm/sd-toast.entry.js +3 -3
- package/dist/esm/sd-toggle.entry.js +2 -2
- package/dist/esm/{system-BgFLSKqC.js → system-CZxeqYuw.js} +7 -1
- package/dist/esm/{tooltipArrow-BHRQVawd.js → tooltipArrow-DZ-N5HBq.js} +1 -1
- package/dist/types/components/sd-ghost-button/sd-ghost-button.d.ts +1 -0
- package/dist/types/components/sd-modal-container/sd-modal-container.config.d.ts +1 -1
- package/dist/types/components/sd-modal-container/sd-modal-container.d.ts +6 -4
- package/dist/types/components/sd-radio-button/sd-radio-button.d.ts +1 -0
- package/dist/types/components/{sd-select-v2/sd-select-v2-list-item/sd-select-v2-list-item.d.ts → sd-select/sd-select-list-item/sd-select-list-item.d.ts} +4 -4
- package/dist/types/components/{sd-select-v2/sd-select-v2-list-item-search/sd-select-v2-list-item-search.d.ts → sd-select/sd-select-list-item-search/sd-select-list-item-search.d.ts} +1 -1
- package/dist/types/components/{sd-select-v2/sd-select-v2-listbox/sd-select-v2-listbox.d.ts → sd-select/sd-select-listbox/sd-select-listbox.d.ts} +15 -6
- package/dist/types/components/{sd-select-v2/sd-select-v2-trigger/sd-select-v2-trigger.d.ts → sd-select/sd-select-trigger/sd-select-trigger.d.ts} +1 -1
- package/dist/types/components/{sd-select-v2/sd-select-v2.config.d.ts → sd-select/sd-select.config.d.ts} +12 -12
- package/dist/types/components/sd-select/sd-select.d.ts +56 -84
- package/dist/types/components/sd-table/constants.d.ts +4 -1
- package/dist/types/components/sd-table/sd-table.config.d.ts +64 -0
- package/dist/types/components/sd-table/sd-table.d.ts +17 -0
- package/dist/types/components/sd-table/sd-td/sd-td.d.ts +8 -0
- package/dist/types/components/sd-table/sd-thead/sd-thead.d.ts +5 -0
- package/dist/types/components/sd-table/sd-tr/sd-tr.d.ts +4 -0
- package/dist/types/components.d.ts +1012 -2402
- package/dist/types/utils/testing/index.d.ts +2 -0
- package/dist/types/utils/testing/mocks.d.ts +4 -0
- package/hydrate/index.js +821 -2272
- package/hydrate/index.mjs +821 -2272
- package/package.json +1 -1
- package/dist/cjs/base-dropdown-event-BTPlZ1KF.js +0 -91
- package/dist/cjs/sd-pagination_2.cjs.entry.js +0 -427
- package/dist/cjs/sd-progress.cjs.entry.js +0 -63
- package/dist/cjs/sd-select-dropdown_2.cjs.entry.js +0 -231
- package/dist/cjs/sd-select-group.cjs.entry.js +0 -332
- package/dist/cjs/sd-select-multiple-group.cjs.entry.js +0 -458
- package/dist/cjs/sd-select-multiple.cjs.entry.js +0 -191
- package/dist/cjs/sd-select-option-group.cjs.entry.js +0 -68
- package/dist/cjs/sd-select.cjs.entry.js +0 -181
- package/dist/cjs/sd-tbody.cjs.entry.js +0 -66
- package/dist/cjs/sd-thead.cjs.entry.js +0 -179
- package/dist/cjs/sd-tr.cjs.entry.js +0 -171
- package/dist/cjs/select-keyboard-navigation-CErfIrGV.js +0 -27
- package/dist/cjs/table-test.cjs.entry.js +0 -96
- package/dist/collection/components/sd-progress/sd-progress.css +0 -63
- package/dist/collection/components/sd-progress/sd-progress.js +0 -186
- package/dist/collection/components/sd-select/sd-select-dropdown/sd-select-dropdown.css +0 -30
- package/dist/collection/components/sd-select/sd-select-dropdown/sd-select-dropdown.js +0 -444
- package/dist/collection/components/sd-select/sd-select-option/sd-select-option.css +0 -36
- package/dist/collection/components/sd-select/sd-select-option/sd-select-option.js +0 -257
- package/dist/collection/components/sd-select/sd-select-search-input/sd-select-search-input.css +0 -23
- package/dist/collection/components/sd-select/sd-select-search-input/sd-select-search-input.js +0 -161
- package/dist/collection/components/sd-select-group/sd-select-group.css +0 -81
- package/dist/collection/components/sd-select-group/sd-select-group.js +0 -1061
- package/dist/collection/components/sd-select-multiple/sd-select-multiple.css +0 -54
- package/dist/collection/components/sd-select-multiple/sd-select-multiple.js +0 -770
- package/dist/collection/components/sd-select-multiple-group/sd-select-multiple-group.css +0 -79
- package/dist/collection/components/sd-select-multiple-group/sd-select-multiple-group.js +0 -1183
- package/dist/collection/components/sd-select-multiple-group/sd-select-option-group/sd-select-option-group.css +0 -75
- package/dist/collection/components/sd-select-multiple-group/sd-select-option-group/sd-select-option-group.js +0 -305
- package/dist/collection/components/sd-select-v2/sd-select-v2.css +0 -11
- package/dist/collection/components/sd-select-v2/sd-select-v2.js +0 -819
- package/dist/collection/components/table-test/table-test.css +0 -59
- package/dist/collection/components/table-test/table-test.js +0 -316
- package/dist/components/p-9ZtJl4s6.js +0 -1
- package/dist/components/p-BALOEavB.js +0 -1
- package/dist/components/p-BZc6lwGD.js +0 -1
- package/dist/components/p-Bbs5Ws0k.js +0 -1
- package/dist/components/p-Bp0B8tcl.js +0 -1
- package/dist/components/p-Btx5sC7s.js +0 -1
- package/dist/components/p-CHFGWh0m.js +0 -1
- package/dist/components/p-CNAzAL53.js +0 -1
- package/dist/components/p-CWEeXx2E.js +0 -1
- package/dist/components/p-CgL8_FSD.js +0 -1
- package/dist/components/p-CqghR1aS.js +0 -1
- package/dist/components/p-Cy6HMEsK.js +0 -1
- package/dist/components/p-D8fG9Yt7.js +0 -1
- package/dist/components/p-DBex-RJU.js +0 -1
- package/dist/components/p-DEBakAhm.js +0 -1
- package/dist/components/p-DWMY9O2B.js +0 -1
- package/dist/components/p-DuMkBStM.js +0 -1
- package/dist/components/p-vQDL-PZ8.js +0 -1
- package/dist/components/sd-progress.d.ts +0 -11
- package/dist/components/sd-progress.js +0 -1
- package/dist/components/sd-select-dropdown.d.ts +0 -11
- package/dist/components/sd-select-dropdown.js +0 -1
- package/dist/components/sd-select-group.js +0 -1
- package/dist/components/sd-select-multiple-group.d.ts +0 -11
- package/dist/components/sd-select-multiple-group.js +0 -1
- package/dist/components/sd-select-multiple.js +0 -1
- package/dist/components/sd-select-option-group.d.ts +0 -11
- package/dist/components/sd-select-option-group.js +0 -1
- package/dist/components/sd-select-option.js +0 -1
- package/dist/components/sd-select-search-input.d.ts +0 -11
- package/dist/components/sd-select-search-input.js +0 -1
- package/dist/components/sd-select-v2-list-item-search.d.ts +0 -11
- package/dist/components/sd-select-v2-list-item-search.js +0 -1
- package/dist/components/sd-select-v2-list-item.d.ts +0 -11
- package/dist/components/sd-select-v2-list-item.js +0 -1
- package/dist/components/sd-select-v2-listbox.d.ts +0 -11
- package/dist/components/sd-select-v2-listbox.js +0 -1
- package/dist/components/sd-select-v2-trigger.d.ts +0 -11
- package/dist/components/sd-select-v2-trigger.js +0 -1
- package/dist/components/sd-select-v2.d.ts +0 -11
- package/dist/components/sd-select-v2.js +0 -1
- package/dist/components/table-test.d.ts +0 -11
- package/dist/components/table-test.js +0 -1
- package/dist/design-system/p-00612047.entry.js +0 -1
- package/dist/design-system/p-07adda3c.entry.js +0 -1
- package/dist/design-system/p-1573f415.entry.js +0 -1
- package/dist/design-system/p-1b9f6cef.entry.js +0 -1
- package/dist/design-system/p-1cc7d81f.entry.js +0 -1
- package/dist/design-system/p-1fa6c17f.entry.js +0 -1
- package/dist/design-system/p-380198bc.entry.js +0 -1
- package/dist/design-system/p-4114eea3.entry.js +0 -1
- package/dist/design-system/p-5e300b77.entry.js +0 -1
- package/dist/design-system/p-6b537e2f.entry.js +0 -1
- package/dist/design-system/p-6e90fb80.entry.js +0 -1
- package/dist/design-system/p-711c59fc.entry.js +0 -1
- package/dist/design-system/p-7b77c65c.entry.js +0 -1
- package/dist/design-system/p-850de8d4.entry.js +0 -1
- package/dist/design-system/p-8f88bd67.entry.js +0 -1
- package/dist/design-system/p-9fee77f0.entry.js +0 -1
- package/dist/design-system/p-BPGLtKk5.js +0 -1
- package/dist/design-system/p-Bp7ytJz5.js +0 -2
- package/dist/design-system/p-CRdYeSBK.js +0 -1
- package/dist/design-system/p-Cy6HMEsK.js +0 -1
- package/dist/design-system/p-ba5fea6f.entry.js +0 -1
- package/dist/design-system/p-be54d6bd.entry.js +0 -1
- package/dist/design-system/p-c3379a6e.entry.js +0 -1
- package/dist/design-system/p-cc62c180.entry.js +0 -1
- package/dist/design-system/p-ce2210ad.entry.js +0 -1
- package/dist/design-system/p-d52f25c6.entry.js +0 -1
- package/dist/design-system/p-dbcbbf1e.entry.js +0 -1
- package/dist/design-system/p-dc07d618.entry.js +0 -1
- package/dist/design-system/p-ef09409c.entry.js +0 -1
- package/dist/design-system/p-f8237991.entry.js +0 -1
- package/dist/esm/base-dropdown-event-CRdYeSBK.js +0 -89
- package/dist/esm/sd-pagination_2.entry.js +0 -424
- package/dist/esm/sd-progress.entry.js +0 -61
- package/dist/esm/sd-select-dropdown_2.entry.js +0 -228
- package/dist/esm/sd-select-group.entry.js +0 -330
- package/dist/esm/sd-select-multiple-group.entry.js +0 -456
- package/dist/esm/sd-select-multiple.entry.js +0 -189
- package/dist/esm/sd-select-option-group.entry.js +0 -66
- package/dist/esm/sd-select.entry.js +0 -179
- package/dist/esm/sd-tbody.entry.js +0 -64
- package/dist/esm/sd-thead.entry.js +0 -177
- package/dist/esm/sd-tr.entry.js +0 -169
- package/dist/esm/select-keyboard-navigation-Cy6HMEsK.js +0 -25
- package/dist/esm/table-test.entry.js +0 -94
- package/dist/types/components/sd-progress/sd-progress.d.ts +0 -15
- package/dist/types/components/sd-select/sd-select-dropdown/sd-select-dropdown.d.ts +0 -41
- package/dist/types/components/sd-select/sd-select-option/sd-select-option.d.ts +0 -23
- package/dist/types/components/sd-select/sd-select-search-input/sd-select-search-input.d.ts +0 -11
- package/dist/types/components/sd-select-group/sd-select-group.d.ts +0 -86
- package/dist/types/components/sd-select-multiple/sd-select-multiple.d.ts +0 -64
- package/dist/types/components/sd-select-multiple-group/sd-select-multiple-group.d.ts +0 -110
- package/dist/types/components/sd-select-multiple-group/sd-select-option-group/sd-select-option-group.d.ts +0 -29
- package/dist/types/components/sd-select-v2/sd-select-v2.d.ts +0 -71
- package/dist/types/components/table-test/table-test.d.ts +0 -46
- /package/dist/collection/components/{sd-select-v2/sd-select-v2.config.js → sd-select/sd-select.config.js} +0 -0
|
@@ -5,10 +5,8 @@ const ANIMATION_DURATION = 350;
|
|
|
5
5
|
export class SdModalContainer {
|
|
6
6
|
el;
|
|
7
7
|
autoRemove = false;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
backdropVisible = false;
|
|
11
|
-
layerRef;
|
|
8
|
+
entries = [];
|
|
9
|
+
layerRefs = new Map();
|
|
12
10
|
async open(options, modalRef) {
|
|
13
11
|
const id = `modal-${++modalIdCounter}`;
|
|
14
12
|
const modalEl = this.createConfirmModal(id, options);
|
|
@@ -19,6 +17,7 @@ export class SdModalContainer {
|
|
|
19
17
|
modalRef,
|
|
20
18
|
persistent: !!options.persistent,
|
|
21
19
|
closing: false,
|
|
20
|
+
backdropVisible: false,
|
|
22
21
|
});
|
|
23
22
|
return id;
|
|
24
23
|
}
|
|
@@ -32,6 +31,7 @@ export class SdModalContainer {
|
|
|
32
31
|
modalRef,
|
|
33
32
|
persistent: !!options.persistent,
|
|
34
33
|
closing: false,
|
|
34
|
+
backdropVisible: false,
|
|
35
35
|
});
|
|
36
36
|
return id;
|
|
37
37
|
}
|
|
@@ -46,91 +46,93 @@ export class SdModalContainer {
|
|
|
46
46
|
modalRef,
|
|
47
47
|
persistent: !!options.persistent,
|
|
48
48
|
closing: false,
|
|
49
|
+
backdropVisible: false,
|
|
49
50
|
});
|
|
50
51
|
return id;
|
|
51
52
|
}
|
|
52
53
|
componentDidRender() {
|
|
53
|
-
if (!
|
|
54
|
+
if (!Array.isArray(this.entries))
|
|
54
55
|
return;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
56
|
+
for (const entry of this.entries) {
|
|
57
|
+
if (entry.closing || entry.modalEl.isConnected)
|
|
58
|
+
continue;
|
|
59
|
+
const layerRef = this.layerRefs.get(entry.id);
|
|
60
|
+
if (!layerRef)
|
|
61
|
+
continue;
|
|
62
|
+
const { id, modalEl } = entry;
|
|
63
|
+
layerRef.appendChild(modalEl);
|
|
64
|
+
this.waitForModalReady(modalEl).then(() => {
|
|
65
|
+
requestAnimationFrame(() => {
|
|
66
|
+
const current = this.entries.find(e => e.id === id);
|
|
67
|
+
if (!current || current.closing || !modalEl.isConnected)
|
|
68
|
+
return;
|
|
69
|
+
this.entries = this.entries.map(e => e.id === id ? { ...e, backdropVisible: true } : e);
|
|
70
|
+
modalEl.classList.add('sd-modal-container__modal--visible');
|
|
71
|
+
});
|
|
65
72
|
});
|
|
66
|
-
}
|
|
73
|
+
}
|
|
67
74
|
}
|
|
68
75
|
disconnectedCallback() {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
unregisterModal(
|
|
76
|
+
for (const entry of this.entries ?? []) {
|
|
77
|
+
if (entry.dismissTimerId)
|
|
78
|
+
clearTimeout(entry.dismissTimerId);
|
|
79
|
+
unregisterModal(entry.id);
|
|
80
|
+
}
|
|
73
81
|
}
|
|
74
82
|
async dismissById(id, reason) {
|
|
75
|
-
|
|
83
|
+
const entry = this.entries.find(e => e.id === id);
|
|
84
|
+
if (!entry)
|
|
76
85
|
return;
|
|
77
|
-
this.requestDismiss(reason);
|
|
86
|
+
this.requestDismiss(id, reason);
|
|
78
87
|
}
|
|
79
88
|
async update(id, props) {
|
|
80
|
-
|
|
89
|
+
const entry = this.entries.find(e => e.id === id && !e.closing);
|
|
90
|
+
if (!entry)
|
|
81
91
|
return;
|
|
82
|
-
const tag =
|
|
92
|
+
const tag = entry.modalEl.tagName.toLowerCase();
|
|
83
93
|
if (tag === 'sd-loading-modal') {
|
|
84
|
-
this.applyLoadingProps(
|
|
94
|
+
this.applyLoadingProps(entry.modalEl, props);
|
|
85
95
|
return;
|
|
86
96
|
}
|
|
87
|
-
this.applyProps(
|
|
97
|
+
this.applyProps(entry.modalEl, props);
|
|
88
98
|
}
|
|
89
99
|
mountEntry(entry) {
|
|
90
|
-
|
|
91
|
-
throw new Error('[sd-modal-container] This instance already manages an active modal.');
|
|
92
|
-
}
|
|
93
|
-
this.entry = entry;
|
|
94
|
-
this.backdropVisible = false;
|
|
95
|
-
this.isVisible = true;
|
|
100
|
+
this.entries = [...(this.entries ?? []), entry];
|
|
96
101
|
registerModal({
|
|
97
102
|
id: entry.id,
|
|
98
103
|
persistent: entry.persistent,
|
|
99
|
-
requestClose: () => this.dispatchClose(),
|
|
104
|
+
requestClose: () => this.dispatchClose(entry.id),
|
|
100
105
|
shake: () => this.shakeModal(entry.modalEl),
|
|
101
106
|
setZIndex: zIndex => {
|
|
102
107
|
this.el.style.setProperty('--sd-modal-container-z-index', String(zIndex));
|
|
103
108
|
},
|
|
104
109
|
});
|
|
105
110
|
}
|
|
106
|
-
attachModalEventListeners(
|
|
107
|
-
modalEl.addEventListener('sdOk', () => this.requestDismiss('confirm'));
|
|
108
|
-
modalEl.addEventListener('sdCancel', () => this.requestDismiss('cancel'));
|
|
109
|
-
modalEl.addEventListener('sdClose', () => this.requestDismiss('close'));
|
|
111
|
+
attachModalEventListeners(id, modalEl) {
|
|
112
|
+
modalEl.addEventListener('sdOk', () => this.requestDismiss(id, 'confirm'));
|
|
113
|
+
modalEl.addEventListener('sdCancel', () => this.requestDismiss(id, 'cancel'));
|
|
114
|
+
modalEl.addEventListener('sdClose', () => this.requestDismiss(id, 'close'));
|
|
110
115
|
}
|
|
111
|
-
attachLoadingModalEventListeners(
|
|
116
|
+
attachLoadingModalEventListeners(id, modalEl) {
|
|
112
117
|
modalEl.addEventListener('sdClick', () => {
|
|
113
|
-
this.
|
|
118
|
+
const entry = this.entries.find(e => e.id === id);
|
|
119
|
+
entry?.modalRef._triggerClick?.();
|
|
114
120
|
});
|
|
115
121
|
}
|
|
116
|
-
dispatchClose() {
|
|
117
|
-
this.
|
|
122
|
+
dispatchClose(id) {
|
|
123
|
+
const entry = this.entries.find(e => e.id === id);
|
|
124
|
+
entry?.modalEl.dispatchEvent(new CustomEvent('sdClose'));
|
|
118
125
|
}
|
|
119
|
-
requestDismiss(reason) {
|
|
120
|
-
const currentEntry = this.
|
|
126
|
+
requestDismiss(id, reason) {
|
|
127
|
+
const currentEntry = this.entries.find(e => e.id === id);
|
|
121
128
|
if (!currentEntry || currentEntry.closing)
|
|
122
129
|
return;
|
|
123
130
|
currentEntry.modalEl.classList.remove('sd-modal-container__modal--visible');
|
|
124
131
|
const dismissTimerId = setTimeout(() => {
|
|
125
|
-
this.finalizeDismiss(
|
|
132
|
+
this.finalizeDismiss(id);
|
|
126
133
|
}, ANIMATION_DURATION);
|
|
127
|
-
setModalInteractive(
|
|
128
|
-
this.
|
|
129
|
-
...currentEntry,
|
|
130
|
-
closing: true,
|
|
131
|
-
dismissTimerId,
|
|
132
|
-
};
|
|
133
|
-
this.backdropVisible = false;
|
|
134
|
+
setModalInteractive(id, false);
|
|
135
|
+
this.entries = (this.entries ?? []).map(e => e.id === id ? { ...e, closing: true, dismissTimerId, backdropVisible: false } : e);
|
|
134
136
|
if (reason === 'confirm')
|
|
135
137
|
currentEntry.modalRef._triggerOk();
|
|
136
138
|
else if (reason === 'cancel')
|
|
@@ -139,18 +141,17 @@ export class SdModalContainer {
|
|
|
139
141
|
currentEntry.modalRef._triggerClose();
|
|
140
142
|
}
|
|
141
143
|
finalizeDismiss(id) {
|
|
142
|
-
const currentEntry = this.
|
|
143
|
-
if (!currentEntry
|
|
144
|
+
const currentEntry = this.entries.find(e => e.id === id);
|
|
145
|
+
if (!currentEntry)
|
|
144
146
|
return;
|
|
145
147
|
if (currentEntry.dismissTimerId)
|
|
146
148
|
clearTimeout(currentEntry.dismissTimerId);
|
|
147
149
|
currentEntry.modalEl.remove();
|
|
148
150
|
unregisterModal(id);
|
|
149
151
|
currentEntry.modalRef._triggerDismissed();
|
|
150
|
-
this.
|
|
151
|
-
this.
|
|
152
|
-
this.
|
|
153
|
-
if (this.autoRemove) {
|
|
152
|
+
this.layerRefs.delete(id);
|
|
153
|
+
this.entries = (this.entries ?? []).filter(e => e.id !== id);
|
|
154
|
+
if (this.autoRemove && this.entries.length === 0) {
|
|
154
155
|
this.el.remove();
|
|
155
156
|
}
|
|
156
157
|
}
|
|
@@ -171,8 +172,14 @@ export class SdModalContainer {
|
|
|
171
172
|
applyLoadingProps(el, options) {
|
|
172
173
|
if (this.hasOwnProp(options, 'state'))
|
|
173
174
|
this.setAttr(el, 'state', options.state);
|
|
174
|
-
if (this.hasOwnProp(options, 'message'))
|
|
175
|
-
|
|
175
|
+
if (this.hasOwnProp(options, 'message')) {
|
|
176
|
+
if (Array.isArray(options.message)) {
|
|
177
|
+
el.message = options.message;
|
|
178
|
+
}
|
|
179
|
+
else {
|
|
180
|
+
this.setAttr(el, 'message', options.message);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
176
183
|
if (this.hasOwnProp(options, 'useButton')) {
|
|
177
184
|
if (options.useButton)
|
|
178
185
|
el.setAttribute('use-button', '');
|
|
@@ -218,11 +225,11 @@ export class SdModalContainer {
|
|
|
218
225
|
if (this.hasOwnProp(options, 'tagContents'))
|
|
219
226
|
el.tagContents = options.tagContents;
|
|
220
227
|
}
|
|
221
|
-
handleBackdropClick
|
|
222
|
-
if (!
|
|
228
|
+
handleBackdropClick(id) {
|
|
229
|
+
if (!isTopInteractiveModal(id))
|
|
223
230
|
return;
|
|
224
|
-
requestCloseForModal(
|
|
225
|
-
}
|
|
231
|
+
requestCloseForModal(id);
|
|
232
|
+
}
|
|
226
233
|
shakeModal(modalEl) {
|
|
227
234
|
const cls = 'sd-modal-container__modal--shake';
|
|
228
235
|
modalEl.classList.remove(cls);
|
|
@@ -251,14 +258,15 @@ export class SdModalContainer {
|
|
|
251
258
|
el.setAttribute(name, value);
|
|
252
259
|
}
|
|
253
260
|
render() {
|
|
254
|
-
if (!this.
|
|
261
|
+
if (!this.entries?.length)
|
|
255
262
|
return null;
|
|
256
|
-
return (h("div", { class: "sd-modal-container" }, h("div", { class: "sd-modal-container__layer", "data-modal-id":
|
|
257
|
-
|
|
263
|
+
return (h("div", { class: "sd-modal-container" }, this.entries.map((entry, index) => (h("div", { key: entry.id, class: "sd-modal-container__layer", style: { zIndex: String(index + 1) }, "data-modal-id": entry.id, ref: el => {
|
|
264
|
+
if (el)
|
|
265
|
+
this.layerRefs.set(entry.id, el);
|
|
258
266
|
} }, h("div", { class: {
|
|
259
267
|
'sd-modal-container__backdrop': true,
|
|
260
|
-
'sd-modal-container__backdrop--visible':
|
|
261
|
-
}, onClick: this.handleBackdropClick }))));
|
|
268
|
+
'sd-modal-container__backdrop--visible': entry.backdropVisible,
|
|
269
|
+
}, onClick: () => this.handleBackdropClick(entry.id) }))))));
|
|
262
270
|
}
|
|
263
271
|
static get is() { return "sd-modal-container"; }
|
|
264
272
|
static get originalStyleUrls() {
|
|
@@ -297,9 +305,7 @@ export class SdModalContainer {
|
|
|
297
305
|
}
|
|
298
306
|
static get states() {
|
|
299
307
|
return {
|
|
300
|
-
"
|
|
301
|
-
"isVisible": {},
|
|
302
|
-
"backdropVisible": {}
|
|
308
|
+
"entries": {}
|
|
303
309
|
};
|
|
304
310
|
}
|
|
305
311
|
static get methods() {
|
|
@@ -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: '7f4012ec048ab69f3c6b241c7fc103fd798572ca', 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: '975c0800b1fd6e4ab3502fc966db8917fe60bb3e', class: "sd-number-input__content" }, this.useButton && (h("button", { key: 'f2a630109b883740362dd2946ceeeaa93bbfeb36', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--decrement", disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, h("sd-icon", { key: 'dcd539c5035b1363edacadf7ed9c1096ef24714a', 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: '5acf113c5e60dd5f77fb1206a60d4b5ce14e2b7f', class: "sd-number-input__prefix" }, this.inputPrefix)), h("input", { key: '5dd0f9ba9643fce07de811b2a93c8763a3d84b2c', 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: 'aa7e4dbb29d7e8de4e94f0411f2f4b622411a60a', class: "sd-number-input__suffix" }, this.inputSuffix)), this.useButton && (h("button", { key: '40deeadfcfe87cb61f09ee2959b6afb5757ff56b', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--increment", disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, h("sd-icon", { key: 'b8ffcbbf663bacb7249e696d3eabf8b9ac832ddc', 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: 'e648886fbec4723b7be767d9e1bfc04004cca234', 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: '43ff8b8f6682c4d2b70c5085a6d3199de1d01596', 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: '1975d14028485438a728b23d717abfcde8722fcf', 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: '28858d6833d8ff7f86295f7e445d51ffc84db99a' });
|
|
224
224
|
}
|
|
225
225
|
static get is() { return "sd-portal"; }
|
|
226
226
|
static get properties() {
|
|
@@ -7,6 +7,11 @@ export class SdRadioButton {
|
|
|
7
7
|
disabled = false;
|
|
8
8
|
name;
|
|
9
9
|
change;
|
|
10
|
+
componentWillLoad() {
|
|
11
|
+
this.size ??= 'sm';
|
|
12
|
+
this.options ??= [];
|
|
13
|
+
this.disabled ??= false;
|
|
14
|
+
}
|
|
10
15
|
handleRadioChange = (optionValue, optionDisabled) => {
|
|
11
16
|
if (this.disabled || optionDisabled)
|
|
12
17
|
return;
|
|
@@ -67,7 +72,7 @@ export class SdRadioButton {
|
|
|
67
72
|
'--sd-radio-button-content-select': RADIO_BUTTON_COLORS.content.select,
|
|
68
73
|
'--sd-radio-button-content-disabled': RADIO_BUTTON_COLORS.content.disabled,
|
|
69
74
|
};
|
|
70
|
-
return (h("div", { key: '
|
|
75
|
+
return (h("div", { key: 'fbc0246d9cf615956121295e29bf8c702ee73edc', class: this.getGroupClasses(), style: cssVars, role: "radiogroup", "aria-disabled": this.disabled.toString() }, this.options.map(option => {
|
|
71
76
|
const isSelected = this.isOptionSelected(option);
|
|
72
77
|
const isDisabled = this.isOptionDisabled(option);
|
|
73
78
|
return (h("label", { key: `radio-${option.value}`, class: this.getButtonClasses(option), "aria-label": option.label || 'radio option', "data-label": option.label }, h("input", { type: "radio", name: this.groupName, value: option.value.toString(), checked: isSelected, disabled: isDisabled, onInput: () => this.handleRadioChange(option.value, option.disabled) }), option.label && h("span", { class: "sd-radio-button__label" }, option.label)));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
sd-select-
|
|
1
|
+
sd-select-list-item {
|
|
2
2
|
display: block;
|
|
3
3
|
}
|
|
4
|
-
sd-select-
|
|
4
|
+
sd-select-list-item .sd-select-list-item {
|
|
5
5
|
display: flex;
|
|
6
6
|
align-items: center;
|
|
7
7
|
gap: var(--list-item-gap);
|
|
@@ -14,46 +14,46 @@ sd-select-v2-list-item .sd-select-v2-list-item {
|
|
|
14
14
|
cursor: default;
|
|
15
15
|
user-select: none;
|
|
16
16
|
}
|
|
17
|
-
sd-select-
|
|
17
|
+
sd-select-list-item .sd-select-list-item--selectable {
|
|
18
18
|
cursor: pointer;
|
|
19
19
|
}
|
|
20
|
-
sd-select-
|
|
20
|
+
sd-select-list-item .sd-select-list-item--depth1-group {
|
|
21
21
|
border-top: var(--list-item-border-top);
|
|
22
22
|
font-weight: 700;
|
|
23
23
|
}
|
|
24
|
-
sd-select-
|
|
24
|
+
sd-select-list-item .sd-select-list-item--depth2-group {
|
|
25
25
|
font-weight: 500;
|
|
26
26
|
}
|
|
27
|
-
sd-select-
|
|
27
|
+
sd-select-list-item .sd-select-list-item--focused.sd-select-list-item--selectable:not(.sd-select-list-item--disabled) {
|
|
28
28
|
background: var(--list-item-bg-hover);
|
|
29
29
|
color: var(--list-item-color-hover);
|
|
30
30
|
}
|
|
31
|
-
sd-select-
|
|
31
|
+
sd-select-list-item .sd-select-list-item--selected:not(.sd-select-list-item--group) {
|
|
32
32
|
font-weight: var(--list-item-font-weight-selected);
|
|
33
33
|
color: var(--list-item-color-selected);
|
|
34
34
|
}
|
|
35
|
-
sd-select-
|
|
35
|
+
sd-select-list-item .sd-select-list-item--selected.sd-select-list-item--focused {
|
|
36
36
|
color: var(--list-item-color-hover);
|
|
37
37
|
}
|
|
38
|
-
sd-select-
|
|
38
|
+
sd-select-list-item .sd-select-list-item--disabled {
|
|
39
39
|
color: var(--list-item-color-disabled);
|
|
40
40
|
cursor: not-allowed;
|
|
41
41
|
}
|
|
42
|
-
sd-select-
|
|
42
|
+
sd-select-list-item .sd-select-list-item__label {
|
|
43
43
|
flex: 0 1 auto;
|
|
44
44
|
min-width: 0;
|
|
45
45
|
white-space: nowrap;
|
|
46
46
|
overflow: hidden;
|
|
47
47
|
text-overflow: ellipsis;
|
|
48
48
|
}
|
|
49
|
-
sd-select-
|
|
49
|
+
sd-select-list-item .sd-select-list-item__count {
|
|
50
50
|
flex-shrink: 0;
|
|
51
51
|
font-weight: 500;
|
|
52
52
|
color: var(--list-item-color-disabled);
|
|
53
53
|
}
|
|
54
|
-
sd-select-
|
|
54
|
+
sd-select-list-item .sd-select-list-item--group.sd-select-list-item--focused .sd-select-list-item__count {
|
|
55
55
|
color: #ffffff;
|
|
56
56
|
}
|
|
57
|
-
sd-select-
|
|
57
|
+
sd-select-list-item .sd-select-list-item__checkbox {
|
|
58
58
|
flex-shrink: 0;
|
|
59
59
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import { LIST_ITEM_LAYOUT, LIST_ITEM_TYPOGRAPHY, LIST_ITEM_COLORS, } from "../sd-select
|
|
3
|
-
export class
|
|
2
|
+
import { LIST_ITEM_LAYOUT, LIST_ITEM_TYPOGRAPHY, LIST_ITEM_COLORS, } from "../sd-select.config";
|
|
3
|
+
export class SdSelectListItem {
|
|
4
4
|
option;
|
|
5
5
|
depth = 1;
|
|
6
6
|
isSelected = false;
|
|
@@ -66,27 +66,27 @@ 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: '
|
|
70
|
-
'sd-select-
|
|
71
|
-
'sd-select-
|
|
72
|
-
'sd-select-
|
|
73
|
-
'sd-select-
|
|
74
|
-
'sd-select-
|
|
75
|
-
'sd-select-
|
|
76
|
-
'sd-select-
|
|
77
|
-
'sd-select-
|
|
78
|
-
'sd-select-
|
|
79
|
-
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: '
|
|
69
|
+
return (h("div", { key: 'c6f959e9290213c9003914dbdd696c3c339cce51', class: {
|
|
70
|
+
'sd-select-list-item': true,
|
|
71
|
+
'sd-select-list-item--group': isGroup,
|
|
72
|
+
'sd-select-list-item--depth1-group': isDepth1Group,
|
|
73
|
+
'sd-select-list-item--depth2-group': isDepth2Group,
|
|
74
|
+
'sd-select-list-item--selected': this.isSelected === true,
|
|
75
|
+
'sd-select-list-item--indeterminate': this.isSelected === null,
|
|
76
|
+
'sd-select-list-item--focused': this.isFocused,
|
|
77
|
+
'sd-select-list-item--selectable': this.isSelectable && !this.option.disabled,
|
|
78
|
+
'sd-select-list-item--disabled': !!this.option.disabled,
|
|
79
|
+
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: 'a884bd82722cd45efc19abd2139d08596f7eda86', value: this.isSelected === null ? null : !!this.isSelected, disabled: this.option.disabled, inverse: this.isFocused && this.isSelected !== false, class: "sd-select-list-item__checkbox", onClick: this.handleCheckboxClick, onSdUpdate: this.handleCheckboxUpdate })), h("span", { key: '9aacbeca13e591406454ef7e1c7be40a56a2926b', class: "sd-select-list-item__label" }, this.option.label), this.countInfo && (h("span", { key: '76be4eda3799cfa329016c2ea636feaf624e5025', class: "sd-select-list-item__count" }, "(", this.countInfo.selected, "/", this.countInfo.total, ")"))));
|
|
80
80
|
}
|
|
81
|
-
static get is() { return "sd-select-
|
|
81
|
+
static get is() { return "sd-select-list-item"; }
|
|
82
82
|
static get originalStyleUrls() {
|
|
83
83
|
return {
|
|
84
|
-
"$": ["sd-select-
|
|
84
|
+
"$": ["sd-select-list-item.scss"]
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
87
|
static get styleUrls() {
|
|
88
88
|
return {
|
|
89
|
-
"$": ["sd-select-
|
|
89
|
+
"$": ["sd-select-list-item.css"]
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
92
|
static get properties() {
|
|
@@ -95,14 +95,14 @@ export class SdSelectV2ListItem {
|
|
|
95
95
|
"type": "unknown",
|
|
96
96
|
"mutable": false,
|
|
97
97
|
"complexType": {
|
|
98
|
-
"original": "
|
|
99
|
-
"resolved": "
|
|
98
|
+
"original": "SelectOption",
|
|
99
|
+
"resolved": "SelectOption",
|
|
100
100
|
"references": {
|
|
101
|
-
"
|
|
101
|
+
"SelectOption": {
|
|
102
102
|
"location": "import",
|
|
103
|
-
"path": "../sd-select
|
|
104
|
-
"id": "src/components/sd-select
|
|
105
|
-
"referenceLocation": "
|
|
103
|
+
"path": "../sd-select.config",
|
|
104
|
+
"id": "src/components/sd-select/sd-select.config.ts::SelectOption",
|
|
105
|
+
"referenceLocation": "SelectOption"
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
},
|
|
@@ -226,14 +226,14 @@ export class SdSelectV2ListItem {
|
|
|
226
226
|
"text": ""
|
|
227
227
|
},
|
|
228
228
|
"complexType": {
|
|
229
|
-
"original": "
|
|
230
|
-
"resolved": "
|
|
229
|
+
"original": "SelectOption",
|
|
230
|
+
"resolved": "SelectOption",
|
|
231
231
|
"references": {
|
|
232
|
-
"
|
|
232
|
+
"SelectOption": {
|
|
233
233
|
"location": "import",
|
|
234
|
-
"path": "../sd-select
|
|
235
|
-
"id": "src/components/sd-select
|
|
236
|
-
"referenceLocation": "
|
|
234
|
+
"path": "../sd-select.config",
|
|
235
|
+
"id": "src/components/sd-select/sd-select.config.ts::SelectOption",
|
|
236
|
+
"referenceLocation": "SelectOption"
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
239
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
sd-select-
|
|
1
|
+
sd-select-list-item-search {
|
|
2
2
|
display: block;
|
|
3
3
|
}
|
|
4
|
-
sd-select-
|
|
4
|
+
sd-select-list-item-search .sd-select-list-item-search {
|
|
5
5
|
padding: 4px 8px;
|
|
6
6
|
position: sticky;
|
|
7
7
|
top: 0;
|
|
8
8
|
z-index: 1;
|
|
9
9
|
background: white;
|
|
10
10
|
}
|
|
11
|
-
sd-select-
|
|
11
|
+
sd-select-list-item-search .sd-select-list-item-search--scrolled {
|
|
12
12
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
|
|
13
13
|
}
|
|
14
|
-
sd-select-
|
|
14
|
+
sd-select-list-item-search .sd-select-list-item-search__inner {
|
|
15
15
|
display: flex;
|
|
16
16
|
align-items: center;
|
|
17
17
|
gap: 6px;
|
|
@@ -20,13 +20,13 @@ sd-select-v2-list-item-search .sd-select-v2-list-item-search__inner {
|
|
|
20
20
|
border-radius: 4px;
|
|
21
21
|
background: white;
|
|
22
22
|
}
|
|
23
|
-
sd-select-
|
|
23
|
+
sd-select-list-item-search .sd-select-list-item-search__inner:focus-within {
|
|
24
24
|
border-color: #0075FF;
|
|
25
25
|
}
|
|
26
|
-
sd-select-
|
|
26
|
+
sd-select-list-item-search .sd-select-list-item-search__icon {
|
|
27
27
|
flex-shrink: 0;
|
|
28
28
|
}
|
|
29
|
-
sd-select-
|
|
29
|
+
sd-select-list-item-search .sd-select-list-item-search__input {
|
|
30
30
|
flex: 1;
|
|
31
31
|
border: none;
|
|
32
32
|
outline: none;
|
|
@@ -36,10 +36,10 @@ sd-select-v2-list-item-search .sd-select-v2-list-item-search__input {
|
|
|
36
36
|
background: transparent;
|
|
37
37
|
min-width: 0;
|
|
38
38
|
}
|
|
39
|
-
sd-select-
|
|
39
|
+
sd-select-list-item-search .sd-select-list-item-search__input::placeholder {
|
|
40
40
|
color: #AAAAAA;
|
|
41
41
|
}
|
|
42
|
-
sd-select-
|
|
42
|
+
sd-select-list-item-search .sd-select-list-item-search__clear {
|
|
43
43
|
flex-shrink: 0;
|
|
44
44
|
display: flex;
|
|
45
45
|
align-items: center;
|
|
@@ -50,10 +50,10 @@ sd-select-v2-list-item-search .sd-select-v2-list-item-search__clear {
|
|
|
50
50
|
cursor: pointer;
|
|
51
51
|
border-radius: 2px;
|
|
52
52
|
}
|
|
53
|
-
sd-select-
|
|
53
|
+
sd-select-list-item-search .sd-select-list-item-search__clear:hover {
|
|
54
54
|
background: #F0F0F0;
|
|
55
55
|
}
|
|
56
|
-
sd-select-
|
|
56
|
+
sd-select-list-item-search .sd-select-list-item-search__clear--hidden {
|
|
57
57
|
visibility: hidden;
|
|
58
58
|
pointer-events: none;
|
|
59
59
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import { SEARCH_DEBOUNCE_MS } from "../sd-select
|
|
3
|
-
export class
|
|
2
|
+
import { SEARCH_DEBOUNCE_MS } from "../sd-select.config";
|
|
3
|
+
export class SdSelectListItemSearch {
|
|
4
4
|
isScrolled = false;
|
|
5
5
|
searchText = '';
|
|
6
6
|
searchFilter;
|
|
@@ -41,25 +41,25 @@ export class SdSelectV2ListItemSearch {
|
|
|
41
41
|
clearTimeout(this.debounceTimer);
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
-
return (h("div", { key: '
|
|
45
|
-
'sd-select-
|
|
46
|
-
'sd-select-
|
|
47
|
-
} }, h("div", { key: '
|
|
44
|
+
return (h("div", { key: '139aa74cb44baef15a5a75008dd291f11ad2965b', class: {
|
|
45
|
+
'sd-select-list-item-search': true,
|
|
46
|
+
'sd-select-list-item-search--scrolled': this.isScrolled,
|
|
47
|
+
} }, h("div", { key: '2df6559c3a0e769e50e72ef06828adcf595fc433', class: "sd-select-list-item-search__inner" }, h("sd-icon", { key: '20dfe4a309c7879bcdd1e5890f183a9e1eb98fae', name: "search", size: 16, color: "grey_70", class: "sd-select-list-item-search__icon" }), h("input", { key: '825724eedf71693ce39a21f413c5a4eb6f1495e3', ref: el => {
|
|
48
48
|
this.inputEl = el;
|
|
49
|
-
}, type: "text", class: "sd-select-
|
|
50
|
-
'sd-select-
|
|
51
|
-
'sd-select-
|
|
52
|
-
}, onClick: this.handleClear, tabindex: this.searchText ? 0 : -1, "aria-hidden": this.searchText ? 'false' : 'true' }, h("sd-icon", { key: '
|
|
49
|
+
}, type: "text", class: "sd-select-list-item-search__input", placeholder: "\uAC80\uC0C9\uC5B4 \uC785\uB825", value: this.searchText, onInput: this.handleInput, onFocus: () => this.searchFocus.emit() }), h("button", { key: '20fb0c745d423b008f482a2e33e7e711ea40b5df', type: "button", class: {
|
|
50
|
+
'sd-select-list-item-search__clear': true,
|
|
51
|
+
'sd-select-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: 'ce6e4f9b5281ebb767d6542a223e425660ec01c9', name: "close", size: 12, color: "#888888" })))));
|
|
53
53
|
}
|
|
54
|
-
static get is() { return "sd-select-
|
|
54
|
+
static get is() { return "sd-select-list-item-search"; }
|
|
55
55
|
static get originalStyleUrls() {
|
|
56
56
|
return {
|
|
57
|
-
"$": ["sd-select-
|
|
57
|
+
"$": ["sd-select-list-item-search.scss"]
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
60
|
static get styleUrls() {
|
|
61
61
|
return {
|
|
62
|
-
"$": ["sd-select-
|
|
62
|
+
"$": ["sd-select-list-item-search.css"]
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
65
|
static get properties() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
:host {
|
|
2
2
|
display: block;
|
|
3
3
|
}
|
|
4
|
-
:host .sd-select-
|
|
4
|
+
:host .sd-select-listbox {
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
width: var(--listbox-trigger-width);
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
overflow: hidden;
|
|
14
14
|
outline: none;
|
|
15
15
|
}
|
|
16
|
-
:host .sd-select-
|
|
16
|
+
:host .sd-select-listbox__list {
|
|
17
17
|
flex: 1;
|
|
18
18
|
min-height: 0;
|
|
19
19
|
overflow-y: auto;
|
|
20
20
|
padding-bottom: 0;
|
|
21
21
|
}
|
|
22
|
-
:host .sd-select-
|
|
22
|
+
:host .sd-select-listbox__empty {
|
|
23
23
|
padding: 12px;
|
|
24
24
|
text-align: center;
|
|
25
25
|
font-size: 12px;
|