@sellmate/design-system 1.0.76 → 1.0.78
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--F2wGuAi.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 -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 +4 -4
- 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-B705zdZd.js → sd-date-picker.config-CRgCT5dn.js} +4 -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 +96 -9
- 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 +3 -3
- package/dist/cjs/sd-guide.cjs.entry.js +3 -3
- 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 +4 -4
- 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 +4 -4
- package/dist/cjs/sd-pagination_5.cjs.entry.js +77 -33
- 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 +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-v2-list-item_4.cjs.entry.js → sd-select-list-item_4.cjs.entry.js} +50 -50
- package/dist/cjs/sd-switch.cjs.entry.js +2 -2
- package/dist/cjs/sd-table.cjs.entry.js +91 -16
- package/dist/cjs/sd-table.config-Cb0Ot3C6.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 +37 -6
- 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 +4 -5
- package/dist/cjs/sd-toggle.cjs.entry.js +2 -2
- package/dist/cjs/{system-BbCUNhDJ.js → system-DpTN1vBC.js} +8 -2
- package/dist/cjs/{tooltipArrow-DuANjCfc.js → tooltipArrow-D1-wcNm1.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.config.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.config.js +2 -2
- 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 +2 -2
- package/dist/collection/components/sd-guide/sd-guide.config.js +1 -1
- package/dist/collection/components/sd-input/sd-input.js +2 -2
- package/dist/collection/components/sd-linear-progress/sd-linear-progress.config.js +1 -1
- 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-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-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} +35 -35
- 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 +80 -0
- package/dist/collection/components/sd-table/sd-table.css +16 -8
- package/dist/collection/components/sd-table/sd-table.js +88 -14
- package/dist/collection/components/sd-table/sd-tbody/sd-tbody.css +0 -8
- package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +3 -4
- package/dist/collection/components/sd-table/sd-td/sd-td.js +55 -5
- package/dist/collection/components/sd-table/sd-thead/sd-thead.css +16 -12
- package/dist/collection/components/sd-table/sd-thead/sd-thead.js +52 -8
- package/dist/collection/components/sd-table/sd-tr/sd-tr.css +3 -3
- package/dist/collection/components/sd-table/sd-tr/sd-tr.js +27 -2
- 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/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-D5HLYqT-.js → p-B8jXOXtJ.js} +1 -1
- package/dist/components/p-BE6TxbtX.js +1 -0
- package/dist/components/{p-BBD_1E3n.js → p-BJsHakU2.js} +1 -1
- package/dist/components/{p-CgMyz4NQ.js → p-BStczlLa.js} +1 -1
- package/dist/components/{p-BM0sVq5Z.js → p-BcMNA89i.js} +1 -1
- package/dist/components/{p-6PsyRF61.js → p-BheX6lAy.js} +1 -1
- package/dist/components/p-BmYM7-4v.js +1 -0
- package/dist/components/{p-CUg9NH6y.js → p-BppjYHF6.js} +1 -1
- package/dist/components/{p-BLwIhCdO.js → p-Bvq0Vpln.js} +1 -1
- package/dist/components/{p-C7h8lwnU.js → p-BwWDMpJc.js} +1 -1
- package/dist/components/p-C5qZtNLl.js +1 -0
- package/dist/components/p-C7DajKYn.js +1 -0
- package/dist/components/p-CZ4ltUOw.js +1 -0
- package/dist/components/{p-d4UB2UF7.js → p-CeVMl_M9.js} +1 -1
- package/dist/components/p-D1DpOp6M.js +1 -0
- package/dist/components/p-D3gjBBCU.js +1 -0
- package/dist/components/{p-DQfNwvwx.js → p-DC-6inj0.js} +1 -1
- package/dist/components/p-DRF0He-x.js +1 -0
- package/dist/components/{p-B3xZdEDI.js → p-Dcc2Vm6z.js} +1 -1
- package/dist/components/p-DegvQLTF.js +1 -0
- package/dist/components/{p-Csfj4h1A.js → p-Dey-lS6x.js} +1 -1
- package/dist/components/p-DfH_fO01.js +1 -0
- package/dist/components/{p-DdJyzIYe.js → p-DkJqVXpD.js} +1 -1
- package/dist/components/{p-CZPR_5mk.js → p-DngV3MT1.js} +1 -1
- package/dist/components/{p-DaAhgdib.js → p-EbjZr2OA.js} +1 -1
- package/dist/components/p-LwWOleLJ.js +1 -0
- package/dist/components/p-Nvx13YlG.js +1 -0
- package/dist/components/{p-BXdEjuI_.js → p-TwGlKfsC.js} +1 -1
- package/dist/components/{p-6LtMeKKA.js → p-ZMpCZhXP.js} +1 -1
- package/dist/components/{p-BZm6KN1s.js → p-dNJIFthT.js} +1 -1
- package/dist/components/{p-iAWNMLXh.js → p-q0VWISKA.js} +1 -1
- package/dist/components/{p-BQvugXhH.js → p-xnLvZ-xn.js} +1 -1
- 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/{p-6a3f8588.entry.js → p-0356c195.entry.js} +1 -1
- package/dist/design-system/{p-3a9559ee.entry.js → p-045bc426.entry.js} +1 -1
- package/dist/design-system/{p-c7bcb232.entry.js → p-12dfd239.entry.js} +1 -1
- package/dist/design-system/p-16d3a485.entry.js +1 -0
- package/dist/design-system/p-1706ed6f.entry.js +1 -0
- package/dist/design-system/{p-506f2b68.entry.js → p-182548f7.entry.js} +1 -1
- package/dist/design-system/p-1a79edce.entry.js +1 -0
- package/dist/design-system/{p-17cd3a33.entry.js → p-1cf87e87.entry.js} +1 -1
- package/dist/design-system/{p-dad07e1a.entry.js → p-25a08e98.entry.js} +1 -1
- package/dist/design-system/{p-b683f2fe.entry.js → p-2812b9ce.entry.js} +1 -1
- package/dist/design-system/{p-49f78122.entry.js → p-33bc3176.entry.js} +1 -1
- package/dist/design-system/p-38f661ea.entry.js +1 -0
- package/dist/design-system/{p-280dc548.entry.js → p-3f7bc660.entry.js} +1 -1
- package/dist/design-system/{p-eb29dc9f.entry.js → p-429dab5c.entry.js} +1 -1
- package/dist/design-system/p-455dccf5.entry.js +1 -0
- package/dist/design-system/{p-97ebf578.entry.js → p-59313838.entry.js} +1 -1
- package/dist/design-system/{p-5f6379e9.entry.js → p-6af01ab0.entry.js} +1 -1
- package/dist/design-system/{p-531a6a82.entry.js → p-6bfe3612.entry.js} +1 -1
- package/dist/design-system/{p-7fe3a466.entry.js → p-70d4903f.entry.js} +1 -1
- package/dist/design-system/p-767e99f9.entry.js +1 -0
- package/dist/design-system/{p-34f7345b.entry.js → p-797517b5.entry.js} +1 -1
- package/dist/design-system/p-7c370335.entry.js +1 -0
- package/dist/design-system/{p-a8bde8d9.entry.js → p-7fe8be6a.entry.js} +1 -1
- package/dist/design-system/{p-6af9e663.entry.js → p-83b262dc.entry.js} +1 -1
- package/dist/design-system/{p-11029f6e.entry.js → p-881adaa5.entry.js} +1 -1
- package/dist/design-system/{p-3ca5c303.entry.js → p-88d7303c.entry.js} +1 -1
- package/dist/design-system/{p-fdb52620.entry.js → p-8a601e0f.entry.js} +1 -1
- package/dist/design-system/p-C5qZtNLl.js +1 -0
- package/dist/design-system/p-CZ4ltUOw.js +1 -0
- package/dist/design-system/p-Cnwbjz1F.js +2 -0
- package/dist/design-system/p-DnCBBIoq.js +1 -0
- package/dist/design-system/{p-b745cd95.entry.js → p-a82be987.entry.js} +1 -1
- package/dist/design-system/p-b917c82a.entry.js +1 -0
- package/dist/design-system/{p-c9eb70f5.entry.js → p-b9f00eef.entry.js} +1 -1
- package/dist/design-system/{p-55b65a41.entry.js → p-bcb53788.entry.js} +1 -1
- package/dist/design-system/p-c24344ac.entry.js +1 -0
- package/dist/design-system/{p-2cd2f2dd.entry.js → p-d76192bd.entry.js} +1 -1
- package/dist/design-system/p-d9d8c51b.entry.js +1 -0
- package/dist/design-system/p-de67937d.entry.js +1 -0
- package/dist/design-system/{p-68d0d67e.entry.js → p-e5cebccd.entry.js} +1 -1
- package/dist/design-system/{p-a9fc2c21.entry.js → p-ea5e6c2c.entry.js} +1 -1
- package/dist/design-system/p-ead3e688.entry.js +1 -0
- package/dist/design-system/{p-f4a00276.entry.js → p-eeb1cac2.entry.js} +1 -1
- package/dist/design-system/{p-d6896893.entry.js → p-f1a74359.entry.js} +1 -1
- package/dist/design-system/{p-9466cd93.entry.js → p-f44786a9.entry.js} +1 -1
- package/dist/design-system/p-f522c91d.entry.js +1 -0
- package/dist/design-system/{p-bb492ba7.entry.js → p-f69c7539.entry.js} +1 -1
- package/dist/design-system/{p-ce3d0f9c.entry.js → p-fe9cef6a.entry.js} +1 -1
- package/dist/esm/design-system.js +3 -3
- package/dist/esm/{index-Bp7ytJz5.js → index-Cnwbjz1F.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 -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 +4 -4
- 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-DMbVR8K4.js → sd-date-picker.config-C2fDbE9d.js} +4 -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 +95 -8
- 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 +3 -3
- package/dist/esm/sd-guide.entry.js +3 -3
- package/dist/esm/{sd-input_2.entry.js → sd-input.entry.js} +4 -43
- package/dist/esm/sd-linear-progress.entry.js +4 -4
- 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 +4 -4
- package/dist/esm/sd-pagination_5.entry.js +77 -33
- 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 +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-v2-list-item_4.entry.js → sd-select-list-item_4.entry.js} +47 -47
- package/dist/esm/sd-switch.entry.js +2 -2
- package/dist/esm/sd-table.config-Bj-EEo7N.js +94 -0
- package/dist/esm/sd-table.entry.js +91 -16
- 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 +37 -6
- 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 +4 -5
- package/dist/esm/sd-toggle.entry.js +2 -2
- package/dist/esm/{system-BgFLSKqC.js → system-CZ4ltUOw.js} +8 -2
- package/dist/esm/{tooltipArrow-BHRQVawd.js → tooltipArrow-D8sr81Xw.js} +1 -1
- 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} +6 -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 +8 -0
- package/dist/types/components/sd-table/sd-td/sd-td.d.ts +5 -2
- 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 +1 -0
- package/dist/types/components.d.ts +943 -2382
- package/dist/types/utils/testing/index.d.ts +2 -0
- package/dist/types/utils/testing/mocks.d.ts +4 -0
- package/hydrate/index.js +533 -2214
- package/hydrate/index.mjs +533 -2214
- package/package.json +1 -1
- package/dist/cjs/base-dropdown-event-BTPlZ1KF.js +0 -91
- 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/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 -897
- 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-6AvsuYqF.js +0 -1
- package/dist/components/p-7DKZPPev.js +0 -1
- package/dist/components/p-9ZtJl4s6.js +0 -1
- package/dist/components/p-BRfPoWUn.js +0 -1
- package/dist/components/p-BZc6lwGD.js +0 -1
- package/dist/components/p-BgFLSKqC.js +0 -1
- package/dist/components/p-Btx5sC7s.js +0 -1
- package/dist/components/p-C-BOe23n.js +0 -1
- package/dist/components/p-CNAzAL53.js +0 -1
- package/dist/components/p-CqghR1aS.js +0 -1
- package/dist/components/p-Cy6HMEsK.js +0 -1
- package/dist/components/p-DAC3TaZV.js +0 -1
- package/dist/components/p-DBex-RJU.js +0 -1
- package/dist/components/p-DWMY9O2B.js +0 -1
- package/dist/components/p-DfOYYI9m.js +0 -1
- package/dist/components/p-eEC3ITv0.js +0 -1
- package/dist/components/p-nVHDJc9g.js +0 -1
- package/dist/components/p-rnbt1m4L.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-0e1b27cc.entry.js +0 -1
- package/dist/design-system/p-140b40ab.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-2eb910ec.entry.js +0 -1
- package/dist/design-system/p-363c9451.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-711c59fc.entry.js +0 -1
- package/dist/design-system/p-850de8d4.entry.js +0 -1
- package/dist/design-system/p-8ff967f7.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-BgFLSKqC.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-c521e731.entry.js +0 -1
- package/dist/design-system/p-ce2210ad.entry.js +0 -1
- package/dist/design-system/p-d1846df9.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/esm/base-dropdown-event-CRdYeSBK.js +0 -89
- 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/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 -75
- 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
- /package/dist/components/{p-DMbVR8K4.js → p-C2fDbE9d.js} +0 -0
- /package/dist/design-system/{p-DMbVR8K4.js → p-C2fDbE9d.js} +0 -0
|
@@ -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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import { LIST_BOX_LAYOUT, SEARCH_THRESHOLD, EMPTY_MESSAGE, countLeaves, filterTree, } from "../sd-select
|
|
3
|
-
export class
|
|
2
|
+
import { LIST_BOX_LAYOUT, SEARCH_THRESHOLD, EMPTY_MESSAGE, countLeaves, filterTree, } from "../sd-select.config";
|
|
3
|
+
export class SdSelectListbox {
|
|
4
4
|
type = 'default';
|
|
5
5
|
options = [];
|
|
6
6
|
value = null;
|
|
@@ -160,7 +160,7 @@ export class SdSelectV2Listbox {
|
|
|
160
160
|
get navigableOptions() {
|
|
161
161
|
const items = [];
|
|
162
162
|
if (this.showSelectAll) {
|
|
163
|
-
items.push(
|
|
163
|
+
items.push(SdSelectListbox.SELECT_ALL_OPTION);
|
|
164
164
|
}
|
|
165
165
|
const walk = (opts) => {
|
|
166
166
|
for (const opt of opts) {
|
|
@@ -176,14 +176,14 @@ export class SdSelectV2Listbox {
|
|
|
176
176
|
return items;
|
|
177
177
|
}
|
|
178
178
|
isSelectAllOption(option) {
|
|
179
|
-
return this.showSelectAll && option.value ===
|
|
179
|
+
return this.showSelectAll && option.value === SdSelectListbox.SELECT_ALL_OPTION.value;
|
|
180
180
|
}
|
|
181
181
|
emitSelectAll() {
|
|
182
182
|
if (!this.showSelectAll)
|
|
183
183
|
return;
|
|
184
184
|
const allLeaves = this.getAllNonDisabledLeaves();
|
|
185
185
|
this.optionSelect.emit({
|
|
186
|
-
option: { ...
|
|
186
|
+
option: { ...SdSelectListbox.SELECT_ALL_OPTION, children: allLeaves },
|
|
187
187
|
leaves: allLeaves,
|
|
188
188
|
});
|
|
189
189
|
}
|
|
@@ -290,7 +290,7 @@ export class SdSelectV2Listbox {
|
|
|
290
290
|
*/
|
|
291
291
|
scrollFocusedIntoView() {
|
|
292
292
|
const list = this.listEl;
|
|
293
|
-
const focusedEl = list?.querySelector('.sd-select-
|
|
293
|
+
const focusedEl = list?.querySelector('.sd-select-list-item--focused');
|
|
294
294
|
if (!list || !focusedEl)
|
|
295
295
|
return;
|
|
296
296
|
const listRect = list.getBoundingClientRect();
|
|
@@ -336,7 +336,7 @@ export class SdSelectV2Listbox {
|
|
|
336
336
|
return options.map(option => {
|
|
337
337
|
const isGroup = !!option.children;
|
|
338
338
|
return [
|
|
339
|
-
h("sd-select-
|
|
339
|
+
h("sd-select-list-item", { option: option, depth: depth, isSelected: isGroup ? this.getGroupSelectionState(option) : this.isOptionSelected(option), isFocused: this.isOptionFocused(option), useCheckbox: this.isMulti, countInfo: this.getCountInfo(option), onSdListItemClick: this.handleOptionClick, onMouseEnter: () => this.handleOptionHover(option) }),
|
|
340
340
|
isGroup && option.children ? this.renderOptions(option.children, depth + 1) : null,
|
|
341
341
|
];
|
|
342
342
|
});
|
|
@@ -348,20 +348,20 @@ export class SdSelectV2Listbox {
|
|
|
348
348
|
'--listbox-max-height': this.maxHeight,
|
|
349
349
|
'--listbox-radius': `${LIST_BOX_LAYOUT.radius}px`,
|
|
350
350
|
};
|
|
351
|
-
return (h("div", { key: '
|
|
351
|
+
return (h("div", { key: 'c1582b1bc6058b78a8581511854f0878e7f39a94', class: "sd-select-listbox", style: cssVars }, this.showSearch && (h("sd-select-list-item-search", { key: '4fd2099bf8069f258596479123053a34a41c528d', isScrolled: this.isScrolled, onSdSearchFilter: this.handleSearchFilter })), h("div", { key: 'ff8643a308b07dbaebf627c7082a37efa6b72a10', class: "sd-select-listbox__list", onScroll: this.handleScroll, ref: el => {
|
|
352
352
|
this.listEl = el;
|
|
353
|
-
} }, this.showSelectAll && (h("sd-select-
|
|
353
|
+
} }, this.showSelectAll && (h("sd-select-list-item", { key: '30f0cfbc24304af8c704db33d0e51236971226ee', option: SdSelectListbox.SELECT_ALL_OPTION, depth: 1, isSelected: this.selectAllState, isFocused: this.isOptionFocused(SdSelectListbox.SELECT_ALL_OPTION), useCheckbox: true, onSdListItemClick: this.handleSelectAllClick, onMouseEnter: () => this.handleOptionHover(SdSelectListbox.SELECT_ALL_OPTION) })), this.isEmpty ? (h("div", { class: "sd-select-listbox__empty" }, EMPTY_MESSAGE)) : this.isDepth ? (this.renderOptions(this.filteredOptions)) : (this.filteredOptions.map(option => (h("sd-select-list-item", { option: option, depth: 1, isSelected: this.isOptionSelected(option), isFocused: this.isOptionFocused(option), useCheckbox: this.isMulti, onSdListItemClick: this.handleOptionClick, onMouseEnter: () => this.handleOptionHover(option) })))))));
|
|
354
354
|
}
|
|
355
|
-
static get is() { return "sd-select-
|
|
355
|
+
static get is() { return "sd-select-listbox"; }
|
|
356
356
|
static get encapsulation() { return "shadow"; }
|
|
357
357
|
static get originalStyleUrls() {
|
|
358
358
|
return {
|
|
359
|
-
"$": ["sd-select-
|
|
359
|
+
"$": ["sd-select-listbox.scss"]
|
|
360
360
|
};
|
|
361
361
|
}
|
|
362
362
|
static get styleUrls() {
|
|
363
363
|
return {
|
|
364
|
-
"$": ["sd-select-
|
|
364
|
+
"$": ["sd-select-listbox.css"]
|
|
365
365
|
};
|
|
366
366
|
}
|
|
367
367
|
static get properties() {
|
|
@@ -370,14 +370,14 @@ export class SdSelectV2Listbox {
|
|
|
370
370
|
"type": "string",
|
|
371
371
|
"mutable": false,
|
|
372
372
|
"complexType": {
|
|
373
|
-
"original": "
|
|
373
|
+
"original": "SelectType",
|
|
374
374
|
"resolved": "\"default\" | \"default_depth\" | \"multi\" | \"multi_depth\"",
|
|
375
375
|
"references": {
|
|
376
|
-
"
|
|
376
|
+
"SelectType": {
|
|
377
377
|
"location": "import",
|
|
378
|
-
"path": "../sd-select
|
|
379
|
-
"id": "src/components/sd-select
|
|
380
|
-
"referenceLocation": "
|
|
378
|
+
"path": "../sd-select.config",
|
|
379
|
+
"id": "src/components/sd-select/sd-select.config.ts::SelectType",
|
|
380
|
+
"referenceLocation": "SelectType"
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
383
|
},
|
|
@@ -397,14 +397,14 @@ export class SdSelectV2Listbox {
|
|
|
397
397
|
"type": "unknown",
|
|
398
398
|
"mutable": false,
|
|
399
399
|
"complexType": {
|
|
400
|
-
"original": "
|
|
401
|
-
"resolved": "
|
|
400
|
+
"original": "SelectOption[]",
|
|
401
|
+
"resolved": "SelectOption[]",
|
|
402
402
|
"references": {
|
|
403
|
-
"
|
|
403
|
+
"SelectOption": {
|
|
404
404
|
"location": "import",
|
|
405
|
-
"path": "../sd-select
|
|
406
|
-
"id": "src/components/sd-select
|
|
407
|
-
"referenceLocation": "
|
|
405
|
+
"path": "../sd-select.config",
|
|
406
|
+
"id": "src/components/sd-select/sd-select.config.ts::SelectOption",
|
|
407
|
+
"referenceLocation": "SelectOption"
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
410
|
},
|
|
@@ -422,14 +422,14 @@ export class SdSelectV2Listbox {
|
|
|
422
422
|
"type": "any",
|
|
423
423
|
"mutable": false,
|
|
424
424
|
"complexType": {
|
|
425
|
-
"original": "
|
|
426
|
-
"resolved": "(string | number)[] |
|
|
425
|
+
"original": "SelectValue",
|
|
426
|
+
"resolved": "(string | number)[] | SelectOption | SelectOption[] | null | number | string",
|
|
427
427
|
"references": {
|
|
428
|
-
"
|
|
428
|
+
"SelectValue": {
|
|
429
429
|
"location": "import",
|
|
430
|
-
"path": "../sd-select
|
|
431
|
-
"id": "src/components/sd-select
|
|
432
|
-
"referenceLocation": "
|
|
430
|
+
"path": "../sd-select.config",
|
|
431
|
+
"id": "src/components/sd-select/sd-select.config.ts::SelectValue",
|
|
432
|
+
"referenceLocation": "SelectValue"
|
|
433
433
|
}
|
|
434
434
|
}
|
|
435
435
|
},
|
|
@@ -586,14 +586,14 @@ export class SdSelectV2Listbox {
|
|
|
586
586
|
"text": ""
|
|
587
587
|
},
|
|
588
588
|
"complexType": {
|
|
589
|
-
"original": "
|
|
590
|
-
"resolved": "
|
|
589
|
+
"original": "SelectOptionSelectDetail",
|
|
590
|
+
"resolved": "SelectOptionSelectDetail",
|
|
591
591
|
"references": {
|
|
592
|
-
"
|
|
592
|
+
"SelectOptionSelectDetail": {
|
|
593
593
|
"location": "import",
|
|
594
|
-
"path": "../sd-select
|
|
595
|
-
"id": "src/components/sd-select
|
|
596
|
-
"referenceLocation": "
|
|
594
|
+
"path": "../sd-select.config",
|
|
595
|
+
"id": "src/components/sd-select/sd-select.config.ts::SelectOptionSelectDetail",
|
|
596
|
+
"referenceLocation": "SelectOptionSelectDetail"
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
599
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
sd-select-
|
|
1
|
+
sd-select-trigger {
|
|
2
2
|
display: block;
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: 100%;
|
|
5
5
|
}
|
|
6
|
-
sd-select-
|
|
6
|
+
sd-select-trigger .sd-select-trigger {
|
|
7
7
|
display: flex;
|
|
8
8
|
width: 100%;
|
|
9
9
|
height: 100%;
|
|
@@ -12,10 +12,10 @@ sd-select-v2-trigger .sd-select-v2-trigger {
|
|
|
12
12
|
overflow: hidden;
|
|
13
13
|
border-radius: 3px;
|
|
14
14
|
}
|
|
15
|
-
sd-select-
|
|
15
|
+
sd-select-trigger .sd-select-trigger--disabled {
|
|
16
16
|
cursor: not-allowed;
|
|
17
17
|
}
|
|
18
|
-
sd-select-
|
|
18
|
+
sd-select-trigger .sd-select-trigger__content {
|
|
19
19
|
display: flex;
|
|
20
20
|
align-items: center;
|
|
21
21
|
gap: var(--trigger-gap);
|
|
@@ -23,7 +23,7 @@ sd-select-v2-trigger .sd-select-v2-trigger__content {
|
|
|
23
23
|
padding: 0 var(--trigger-padding-x);
|
|
24
24
|
min-width: 0;
|
|
25
25
|
}
|
|
26
|
-
sd-select-
|
|
26
|
+
sd-select-trigger .sd-select-trigger__text {
|
|
27
27
|
flex: 1;
|
|
28
28
|
font-size: var(--trigger-font-size);
|
|
29
29
|
line-height: var(--trigger-line-height);
|
|
@@ -33,10 +33,10 @@ sd-select-v2-trigger .sd-select-v2-trigger__text {
|
|
|
33
33
|
overflow: hidden;
|
|
34
34
|
text-overflow: ellipsis;
|
|
35
35
|
}
|
|
36
|
-
sd-select-
|
|
36
|
+
sd-select-trigger .sd-select-trigger__icon {
|
|
37
37
|
flex-shrink: 0;
|
|
38
38
|
transition: transform 0.2s ease;
|
|
39
39
|
}
|
|
40
|
-
sd-select-
|
|
40
|
+
sd-select-trigger .sd-select-trigger__icon--open {
|
|
41
41
|
transform: rotate(180deg);
|
|
42
42
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import { SELECT_LAYOUT, SELECT_TYPOGRAPHY, SELECT_COLORS } from "../sd-select
|
|
3
|
-
export class
|
|
2
|
+
import { SELECT_LAYOUT, SELECT_TYPOGRAPHY, SELECT_COLORS } from "../sd-select.config";
|
|
3
|
+
export class SdSelectTrigger {
|
|
4
4
|
displayText = '';
|
|
5
5
|
placeholder = '선택';
|
|
6
6
|
disabled = false;
|
|
@@ -42,26 +42,26 @@ export class SdSelectV2Trigger {
|
|
|
42
42
|
? SELECT_COLORS.icon.disabled
|
|
43
43
|
: SELECT_COLORS.icon.default,
|
|
44
44
|
};
|
|
45
|
-
return (h("div", { key: '
|
|
45
|
+
return (h("div", { key: 'dddccfd47738e104a9c715a0c93df1882d28d704', ref: el => {
|
|
46
46
|
this.triggerEl = el;
|
|
47
47
|
}, tabindex: this.disabled ? -1 : 0, class: {
|
|
48
|
-
'sd-select-
|
|
49
|
-
'sd-select-
|
|
50
|
-
'sd-select-
|
|
51
|
-
}, style: cssVars, onClick: this.handleClick, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: '
|
|
52
|
-
'sd-select-
|
|
53
|
-
'sd-select-
|
|
48
|
+
'sd-select-trigger': true,
|
|
49
|
+
'sd-select-trigger--open': this.isOpen,
|
|
50
|
+
'sd-select-trigger--disabled': this.disabled,
|
|
51
|
+
}, style: cssVars, onClick: this.handleClick, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: '9f8572c4ec3fa02c9f94bb94a8a10358c4d6b3ae', class: "sd-select-trigger__content" }, h("span", { key: 'a4b5b27fc3a84adbd2e24981742ca45402993afb', class: "sd-select-trigger__text" }, hasValue ? this.displayText : this.placeholder), h("sd-icon", { key: '97bbcda656bae2248ca83fb2bd56373b2dd8dd41', name: "chevronDown", size: 12, color: "var(--trigger-icon-color)", class: {
|
|
52
|
+
'sd-select-trigger__icon': true,
|
|
53
|
+
'sd-select-trigger__icon--open': this.isOpen,
|
|
54
54
|
} }))));
|
|
55
55
|
}
|
|
56
|
-
static get is() { return "sd-select-
|
|
56
|
+
static get is() { return "sd-select-trigger"; }
|
|
57
57
|
static get originalStyleUrls() {
|
|
58
58
|
return {
|
|
59
|
-
"$": ["sd-select-
|
|
59
|
+
"$": ["sd-select-trigger.scss"]
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
62
|
static get styleUrls() {
|
|
63
63
|
return {
|
|
64
|
-
"$": ["sd-select-
|
|
64
|
+
"$": ["sd-select-trigger.css"]
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
67
|
static get properties() {
|
|
@@ -1,55 +1,11 @@
|
|
|
1
1
|
sd-select {
|
|
2
2
|
display: inline-flex;
|
|
3
|
-
flex-flow: column nowrap;
|
|
4
|
-
height: fit-content;
|
|
5
3
|
}
|
|
6
|
-
sd-select
|
|
7
|
-
|
|
8
|
-
sd-select *:focus-within {
|
|
9
|
-
outline: none !important;
|
|
4
|
+
sd-select sd-portal {
|
|
5
|
+
display: none;
|
|
10
6
|
}
|
|
11
7
|
sd-select .sd-select {
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
sd-select .sd-select .sd-select__trigger {
|
|
15
|
-
padding: 4px 28px 4px 12px;
|
|
16
|
-
display: flex;
|
|
8
|
+
position: relative;
|
|
17
9
|
width: 100%;
|
|
18
10
|
height: 100%;
|
|
19
|
-
align-items: center;
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
}
|
|
22
|
-
.sd-field--disabled sd-select .sd-select .sd-select__trigger {
|
|
23
|
-
cursor: not-allowed;
|
|
24
|
-
}
|
|
25
|
-
sd-select .sd-select .sd-select__trigger .sd-select__value {
|
|
26
|
-
flex: 1;
|
|
27
|
-
overflow: hidden;
|
|
28
|
-
text-overflow: ellipsis;
|
|
29
|
-
white-space: nowrap;
|
|
30
|
-
line-height: 20px;
|
|
31
|
-
font-size: 12px;
|
|
32
|
-
font-weight: 400;
|
|
33
|
-
text-align: left;
|
|
34
|
-
}
|
|
35
|
-
sd-select .sd-select .sd-select__trigger .sd-select__clear {
|
|
36
|
-
margin: 0 4px;
|
|
37
|
-
width: 8px;
|
|
38
|
-
height: 8px;
|
|
39
|
-
background-color: transparent;
|
|
40
|
-
outline: none;
|
|
41
|
-
border: none;
|
|
42
|
-
}
|
|
43
|
-
sd-select .sd-select .sd-select__arrow {
|
|
44
|
-
position: absolute;
|
|
45
|
-
top: 8px;
|
|
46
|
-
right: 8px;
|
|
47
|
-
width: 12px;
|
|
48
|
-
height: 12px;
|
|
49
|
-
color: #888888;
|
|
50
|
-
transition: transform 0.3s ease;
|
|
51
|
-
margin-left: 8px;
|
|
52
|
-
}
|
|
53
|
-
sd-select .sd-select .sd-select__arrow--open {
|
|
54
|
-
transform: rotate(180deg);
|
|
55
11
|
}
|