@sellmate/design-system 1.32.0 → 1.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{component.field-C7it8cZm.js → component.field-TjxaMQMn.js} +8 -6
- package/dist/cjs/{component.listItem-cAO_ppOz.js → component.listItem-CfZSDrA7.js} +4 -2
- package/dist/cjs/{component.textinput-Bb-nU5xI.js → component.textinput-BTgbHS8t.js} +2 -1
- package/dist/cjs/design-system.cjs.js +2 -2
- package/dist/cjs/{index-Cg7X15Hq.js → index-PIjvNamO.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/sd-action-modal.cjs.entry.js +1 -1
- package/dist/cjs/sd-badge.cjs.entry.js +1 -1
- package/dist/cjs/sd-barcode-input.cjs.entry.js +2 -2
- package/dist/cjs/sd-button_2.cjs.entry.js +1 -1
- package/dist/cjs/sd-calendar_2.cjs.entry.js +4 -4
- package/dist/cjs/sd-callout.cjs.entry.js +1 -1
- package/dist/cjs/sd-card.cjs.entry.js +1 -1
- package/dist/cjs/sd-checkbox.cjs.entry.js +5 -3
- package/dist/cjs/sd-chip-input.cjs.entry.js +4 -3
- package/dist/cjs/sd-chip.cjs.entry.js +1 -1
- package/dist/cjs/sd-circle-progress.cjs.entry.js +1 -1
- package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +2 -2
- package/dist/cjs/sd-date-box.cjs.entry.js +1 -1
- package/dist/cjs/{sd-date-picker.config-CgyNxY03.js → sd-date-picker.config-CvdiwEii.js} +7 -5
- package/dist/cjs/sd-date-picker_8.cjs.entry.js +25 -24
- package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +4 -4
- package/dist/cjs/sd-divider.cjs.entry.js +2 -2
- package/dist/cjs/sd-dropdown-button.cjs.entry.js +1 -1
- package/dist/cjs/sd-expansion-item.cjs.entry.js +68 -0
- package/dist/cjs/sd-field_3.cjs.entry.js +21 -14
- package/dist/cjs/sd-form.cjs.entry.js +1 -1
- package/dist/cjs/sd-ghost-button_3.cjs.entry.js +1 -1
- package/dist/cjs/sd-guide.cjs.entry.js +3 -2
- package/dist/cjs/sd-key-value-table.cjs.entry.js +1 -1
- package/dist/cjs/sd-linear-progress.cjs.entry.js +2 -2
- 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-pagination.cjs.entry.js +4 -4
- package/dist/cjs/sd-popover.cjs.entry.js +7 -7
- package/dist/cjs/sd-popup.cjs.entry.js +2 -2
- package/dist/cjs/sd-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/sd-radio.cjs.entry.js +5 -3
- package/dist/cjs/sd-scroll-area.cjs.entry.js +3 -3
- package/dist/cjs/sd-select-list-item_4.cjs.entry.js +14 -13
- package/dist/cjs/sd-stepper.cjs.entry.js +2 -2
- package/dist/cjs/sd-switch.cjs.entry.js +4 -4
- package/dist/cjs/sd-tabs.cjs.entry.js +2 -2
- package/dist/cjs/sd-text-link.cjs.entry.js +4 -4
- package/dist/cjs/sd-time-picker-selector.cjs.entry.js +4 -4
- package/dist/cjs/sd-time-picker-trigger.cjs.entry.js +5 -5
- package/dist/cjs/sd-time-picker.cjs.entry.js +5 -5
- package/dist/cjs/{sd-time-picker.config-C7REB08L.js → sd-time-picker.config-BR3hVQiH.js} +28 -29
- package/dist/cjs/sd-time-range-picker-selector.cjs.entry.js +4 -4
- package/dist/cjs/sd-time-range-picker.cjs.entry.js +5 -5
- 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/{tooltipArrow-CZff77W-.js → tooltipArrow-BUV7X2B8.js} +1 -1
- package/dist/cjs/{useDatePicker-j06ymWZ_.js → useDatePicker-D4fa6SZx.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/sd-divider/sd-divider.js +1 -1
- package/dist/collection/components/sd-expansion-item/sd-expansion-item.config.js +2 -0
- package/dist/collection/components/sd-expansion-item/sd-expansion-item.css +61 -0
- package/dist/collection/components/sd-expansion-item/sd-expansion-item.js +201 -0
- package/dist/collection/components/sd-field/sd-field.css +8 -0
- package/dist/collection/components/sd-field/sd-field.js +16 -9
- package/dist/collection/components/sd-file-picker/sd-file-picker.js +6 -6
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
- 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-number-input/sd-number-input.js +4 -4
- package/dist/collection/components/sd-pagination/sd-pagination.js +3 -3
- package/dist/collection/components/sd-popover/sd-popover.js +5 -5
- package/dist/collection/components/sd-popup/sd-popup.js +1 -1
- package/dist/collection/components/sd-scroll-area/sd-scroll-area.js +2 -2
- package/dist/collection/components/sd-select/sd-select-list-item/sd-select-list-item.js +2 -2
- package/dist/collection/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.js +4 -4
- package/dist/collection/components/sd-select/sd-select-listbox/sd-select-listbox.js +2 -2
- package/dist/collection/components/sd-select/sd-select-trigger/sd-select-trigger.js +2 -2
- package/dist/collection/components/sd-select/sd-select.js +4 -4
- package/dist/collection/components/sd-stepper/sd-stepper.js +1 -1
- package/dist/collection/components/sd-switch/sd-switch.js +1 -1
- package/dist/collection/components/sd-tabs/sd-tabs.js +1 -1
- 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-time-picker/sd-time-picker-selector/sd-time-picker-selector.js +1 -1
- package/dist/collection/components/sd-time-picker/sd-time-picker-trigger/sd-time-picker-trigger.js +2 -2
- package/dist/collection/components/sd-time-picker/sd-time-picker.js +2 -2
- package/dist/collection/components/sd-time-range-picker/sd-time-range-picker-selector/sd-time-range-picker-selector.js +1 -1
- package/dist/collection/components/sd-time-range-picker/sd-time-range-picker.js +2 -2
- 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/components/index.js +1 -1
- package/dist/components/{p-DvlLDBO7.js → p-1ZYElZaM.js} +1 -1
- package/dist/components/p-7VzVE0oV.js +1 -0
- package/dist/components/{p-DtadjLky.js → p-B-DK72cc.js} +1 -1
- package/dist/components/{p-C1KeTx0Z.js → p-B7_BI_-L.js} +1 -1
- package/dist/components/{p-22hyxPno.js → p-B7fiz4d8.js} +1 -1
- package/dist/components/{p-BhLF3gGb.js → p-B7yWar7A.js} +1 -1
- package/dist/components/{p-DjKOoQuF.js → p-B9hmJn6D.js} +1 -1
- package/dist/components/{p-CikPzSw-.js → p-BD30POlo.js} +1 -1
- package/dist/components/{p-BBAwMOGx.js → p-BFBKrBpn.js} +1 -1
- package/dist/components/{p-CghFB91T.js → p-BPC5SuWU.js} +1 -1
- package/dist/components/{p-C0IFrSzM.js → p-BUNdqbhQ.js} +1 -1
- package/dist/components/{p-DONA7SlO.js → p-BnioPrIq.js} +1 -1
- package/dist/components/{p-BU1DclrU.js → p-Bq8PIS3p.js} +1 -1
- package/dist/components/p-Br8E2gpA.js +1 -0
- package/dist/components/{p-ETWwVYq6.js → p-BsNOZUfc.js} +1 -1
- package/dist/components/{p-CRDS2TOy.js → p-Bt0JuXIx.js} +1 -1
- package/dist/components/{p-BkyM9ded.js → p-C5P9PUI3.js} +1 -1
- package/dist/components/{p-sLMSwbXi.js → p-CLhUHKxg.js} +1 -1
- package/dist/components/{p-B6BgOB_-.js → p-CWXl1y4p.js} +1 -1
- package/dist/components/{p-CNNjhHTA.js → p-CZym_85X.js} +1 -1
- package/dist/components/{p-D0IDp-M3.js → p-CbffRIae.js} +1 -1
- package/dist/components/{p-DdYWQ4Z5.js → p-Cf3_sXLv.js} +1 -1
- package/dist/components/p-Cj1tlXCY.js +1 -0
- package/dist/components/{p-DApl37Qw.js → p-Cl_48yfz.js} +1 -1
- package/dist/components/{p-DGAzuK5C.js → p-CsBK3_Oz.js} +1 -1
- package/dist/components/{p-CdeywvU6.js → p-DI0Ozqgn.js} +1 -1
- package/dist/components/{p-BDULNyBw.js → p-DQi-e0ko.js} +1 -1
- package/dist/components/{p-DVdDYnTl.js → p-DWyPo9fo.js} +1 -1
- package/dist/components/{p-x9AWBHPy.js → p-D_XhV8nM.js} +1 -1
- package/dist/components/{p-BPzs63D8.js → p-DdvvWKaG.js} +1 -1
- package/dist/components/{p-D2oNz1s-.js → p-Do-jFKZ8.js} +1 -1
- package/dist/components/p-DoeAW35u.js +1 -0
- package/dist/components/{p--BJuy06e.js → p-Dq0k3GHj.js} +1 -1
- package/dist/components/{p-BoJ_gLp7.js → p-DrZYy9kv.js} +1 -1
- package/dist/components/{p-CBx8KWmu.js → p-GBy_9AmI.js} +1 -1
- package/dist/components/{p-irA7XFIS.js → p-Hh0L_XZ6.js} +1 -1
- package/dist/components/{p-7lGaExLM.js → p-MquwxbYp.js} +1 -1
- package/dist/components/{p-UFNg7rhE.js → p-YMr1C1Dx.js} +1 -1
- package/dist/components/{p-BI1iKxNN.js → p-hXul9Vdx.js} +1 -1
- package/dist/components/{p-BpTKv3vN.js → p-jbqIrDHw.js} +1 -1
- package/dist/components/{p-ISXxxDfX.js → p-n7Aqcaet.js} +1 -1
- package/dist/components/{p-DMm_GeZC.js → p-tH_3uKAX.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.js +1 -1
- package/dist/components/sd-calendar.js +1 -1
- package/dist/components/sd-callout.js +1 -1
- package/dist/components/sd-card.js +1 -1
- package/dist/components/sd-checkbox.js +1 -1
- package/dist/components/sd-chip-input.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-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-divider.js +1 -1
- package/dist/components/sd-dropdown-button.js +1 -1
- package/dist/components/sd-expansion-item.d.ts +11 -0
- package/dist/components/sd-expansion-item.js +1 -0
- 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-key-value-table.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-popup.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-scroll-area.js +1 -1
- package/dist/components/sd-select-list-item-search.js +1 -1
- package/dist/components/sd-select-list-item.js +1 -1
- package/dist/components/sd-select-listbox.js +1 -1
- package/dist/components/sd-select-trigger.js +1 -1
- package/dist/components/sd-select.js +1 -1
- package/dist/components/sd-stepper.js +1 -1
- package/dist/components/sd-switch.js +1 -1
- package/dist/components/sd-tabs.js +1 -1
- package/dist/components/sd-tag.js +1 -1
- package/dist/components/sd-text-link.js +1 -1
- package/dist/components/sd-textarea.js +1 -1
- package/dist/components/sd-time-picker-selector.js +1 -1
- package/dist/components/sd-time-picker-trigger.js +1 -1
- package/dist/components/sd-time-picker.js +1 -1
- package/dist/components/sd-time-range-picker-selector.js +1 -1
- package/dist/components/sd-time-range-picker.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/design-system/design-system.css +1 -1
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/{p-BnUjeY2n.js → p--VkAQGHJ.js} +1 -1
- package/dist/design-system/{p-fc9577d9.entry.js → p-013bc087.entry.js} +1 -1
- package/dist/design-system/{p-a05f4888.entry.js → p-06dd824e.entry.js} +1 -1
- package/dist/design-system/{p-8ea038d7.entry.js → p-115023e4.entry.js} +1 -1
- package/dist/design-system/{p-9afada52.entry.js → p-11f0b27f.entry.js} +1 -1
- package/dist/design-system/{p-1c4ba7ae.entry.js → p-1226fe8a.entry.js} +1 -1
- package/dist/design-system/{p-c5eea64c.entry.js → p-151e6c9a.entry.js} +1 -1
- package/dist/design-system/{p-7837f8f8.entry.js → p-199eaf3b.entry.js} +1 -1
- package/dist/design-system/{p-3a2be559.entry.js → p-25bb7c8d.entry.js} +1 -1
- package/dist/design-system/{p-5b725381.entry.js → p-3874f72a.entry.js} +1 -1
- package/dist/design-system/{p-5d7820f7.entry.js → p-39d9250a.entry.js} +1 -1
- package/dist/design-system/{p-405cb160.entry.js → p-3cb1bd19.entry.js} +1 -1
- package/dist/design-system/p-3d1f8228.entry.js +1 -0
- package/dist/design-system/{p-aaa551fa.entry.js → p-409d9ad3.entry.js} +1 -1
- package/dist/design-system/{p-4d845113.entry.js → p-444bb9d8.entry.js} +1 -1
- package/dist/design-system/{p-39db3098.entry.js → p-4dd46ee3.entry.js} +1 -1
- package/dist/design-system/p-4e04d600.entry.js +1 -0
- package/dist/design-system/{p-703bb49a.entry.js → p-4edcb754.entry.js} +1 -1
- package/dist/design-system/{p-a81e4ae0.entry.js → p-5121075d.entry.js} +1 -1
- package/dist/design-system/{p-814ae5f1.entry.js → p-513e9cbd.entry.js} +1 -1
- package/dist/design-system/p-52cf9533.entry.js +1 -0
- package/dist/design-system/{p-94d4c093.entry.js → p-56c15038.entry.js} +1 -1
- package/dist/design-system/{p-5dd631fe.entry.js → p-6726cdf9.entry.js} +1 -1
- package/dist/design-system/{p-b90eaebd.entry.js → p-67f1f4da.entry.js} +1 -1
- package/dist/design-system/{p-34e8dda6.entry.js → p-697fe396.entry.js} +1 -1
- package/dist/design-system/{p-71e7031e.entry.js → p-6bd2918c.entry.js} +1 -1
- package/dist/design-system/{p-e72706ea.entry.js → p-6cc37004.entry.js} +1 -1
- package/dist/design-system/{p-9df0dd32.entry.js → p-7dbfbdc6.entry.js} +1 -1
- package/dist/design-system/{p-937a30af.entry.js → p-909740d3.entry.js} +1 -1
- package/dist/design-system/{p-adc218f5.entry.js → p-91b33f8c.entry.js} +1 -1
- package/dist/design-system/{p-e16725f7.entry.js → p-94e8016a.entry.js} +1 -1
- package/dist/design-system/{p-c906d22d.entry.js → p-9a75c827.entry.js} +1 -1
- package/dist/design-system/{p-c5263a22.entry.js → p-9bdc1024.entry.js} +1 -1
- package/dist/design-system/{p-DjKOoQuF.js → p-B9hmJn6D.js} +1 -1
- package/dist/design-system/{p-Dz23PPdF.js → p-Bc1bqF3P.js} +1 -1
- package/dist/design-system/p-YU6oWX32.js +2 -0
- package/dist/design-system/{p-8804e3f3.entry.js → p-a4063e6e.entry.js} +1 -1
- package/dist/design-system/{p-456479cc.entry.js → p-a6ad7139.entry.js} +1 -1
- package/dist/design-system/{p-2e76157e.entry.js → p-a8dc243c.entry.js} +1 -1
- package/dist/design-system/{p-5761352f.entry.js → p-c0b77a96.entry.js} +1 -1
- package/dist/design-system/{p-2a36028d.entry.js → p-d2fd5d5a.entry.js} +1 -1
- package/dist/design-system/{p-e4096b72.entry.js → p-d346f5bf.entry.js} +1 -1
- package/dist/design-system/{p-0cdd05eb.entry.js → p-d3f6262e.entry.js} +1 -1
- package/dist/design-system/{p-370b820e.entry.js → p-d52ed5b8.entry.js} +1 -1
- package/dist/design-system/{p-b7e913e7.entry.js → p-e722acec.entry.js} +1 -1
- package/dist/design-system/{p-66e3fba3.entry.js → p-f3b1e6d4.entry.js} +1 -1
- package/dist/design-system/{p-fb01f963.entry.js → p-f77ca71d.entry.js} +1 -1
- package/dist/design-system/{p-6a5540d8.entry.js → p-fc5cf632.entry.js} +1 -1
- package/dist/design-system/{p-defe65db.entry.js → p-fd73281c.entry.js} +1 -1
- package/dist/design-system/{p-CHijmX_D.js → p-qK7MPoKS.js} +1 -1
- package/dist/design-system/{p-DMm_GeZC.js → p-tH_3uKAX.js} +1 -1
- package/dist/esm/{component.field-DjKOoQuF.js → component.field-B9hmJn6D.js} +8 -6
- package/dist/esm/{component.listItem-4S0_Ykmo.js → component.listItem-DgXp5DEl.js} +4 -2
- package/dist/esm/{component.textinput-e0ABNkP6.js → component.textinput-BqZ8dpm7.js} +2 -1
- package/dist/esm/design-system.js +3 -3
- package/dist/esm/{index-CdvQqvIe.js → index-YU6oWX32.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/sd-action-modal.entry.js +1 -1
- package/dist/esm/sd-badge.entry.js +1 -1
- package/dist/esm/sd-barcode-input.entry.js +2 -2
- package/dist/esm/sd-button_2.entry.js +1 -1
- package/dist/esm/sd-calendar_2.entry.js +4 -4
- package/dist/esm/sd-callout.entry.js +1 -1
- package/dist/esm/sd-card.entry.js +1 -1
- package/dist/esm/sd-checkbox.entry.js +5 -3
- package/dist/esm/sd-chip-input.entry.js +4 -3
- package/dist/esm/sd-chip.entry.js +1 -1
- package/dist/esm/sd-circle-progress.entry.js +1 -1
- package/dist/esm/sd-confirm-modal_2.entry.js +2 -2
- package/dist/esm/sd-date-box.entry.js +1 -1
- package/dist/esm/{sd-date-picker.config-CdXJcOGr.js → sd-date-picker.config-ab8NXZUc.js} +7 -5
- package/dist/esm/sd-date-picker_8.entry.js +25 -24
- package/dist/esm/sd-date-range-picker-calendar.entry.js +4 -4
- package/dist/esm/sd-divider.entry.js +2 -2
- package/dist/esm/sd-dropdown-button.entry.js +1 -1
- package/dist/esm/sd-expansion-item.entry.js +66 -0
- package/dist/esm/sd-field_3.entry.js +21 -14
- package/dist/esm/sd-form.entry.js +1 -1
- package/dist/esm/sd-ghost-button_3.entry.js +1 -1
- package/dist/esm/sd-guide.entry.js +3 -2
- package/dist/esm/sd-key-value-table.entry.js +1 -1
- package/dist/esm/sd-linear-progress.entry.js +2 -2
- package/dist/esm/sd-loading-container.entry.js +3 -3
- package/dist/esm/sd-modal-container.entry.js +1 -1
- package/dist/esm/sd-pagination.entry.js +4 -4
- package/dist/esm/sd-popover.entry.js +7 -7
- package/dist/esm/sd-popup.entry.js +2 -2
- package/dist/esm/sd-radio-button.entry.js +1 -1
- package/dist/esm/sd-radio.entry.js +5 -3
- package/dist/esm/sd-scroll-area.entry.js +3 -3
- package/dist/esm/sd-select-list-item_4.entry.js +14 -13
- package/dist/esm/sd-stepper.entry.js +2 -2
- package/dist/esm/sd-switch.entry.js +4 -4
- package/dist/esm/sd-tabs.entry.js +2 -2
- package/dist/esm/sd-text-link.entry.js +4 -4
- package/dist/esm/sd-time-picker-selector.entry.js +4 -4
- package/dist/esm/sd-time-picker-trigger.entry.js +5 -5
- package/dist/esm/{sd-time-picker.config-DUq29Nhs.js → sd-time-picker.config-nR5BQAyT.js} +28 -29
- package/dist/esm/sd-time-picker.entry.js +5 -5
- package/dist/esm/sd-time-range-picker-selector.entry.js +4 -4
- package/dist/esm/sd-time-range-picker.entry.js +5 -5
- 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/{tooltipArrow-BsQ__AbZ.js → tooltipArrow-D3op61Yf.js} +1 -1
- package/dist/esm/{useDatePicker-DQ5Kyy_D.js → useDatePicker-DFUnA3DH.js} +1 -1
- package/dist/types/components/sd-expansion-item/sd-expansion-item.config.d.ts +57 -0
- package/dist/types/components/sd-expansion-item/sd-expansion-item.d.ts +21 -0
- package/dist/types/components/sd-field/sd-field.d.ts +5 -1
- package/dist/types/components/sd-number-input/sd-number-input.config.d.ts +2 -2
- package/dist/types/components/sd-time-picker/sd-time-picker.config.d.ts +10 -3
- package/dist/types/components.d.ts +102 -2
- package/hydrate/index.js +227 -126
- package/hydrate/index.mjs +227 -126
- package/package.json +1 -1
- package/dist/components/p-Bk6mL1Ml.js +0 -1
- package/dist/components/p-C8x8VEb8.js +0 -1
- package/dist/components/p-bXzpfkfN.js +0 -1
- package/dist/components/p-vj3gimgB.js +0 -1
- package/dist/design-system/p-336cb0c1.entry.js +0 -1
- package/dist/design-system/p-97a059b0.entry.js +0 -1
- package/dist/design-system/p-CdvQqvIe.js +0 -2
- /package/dist/components/{p-e0ABNkP6.js → p-BqZ8dpm7.js} +0 -0
- /package/dist/components/{p-4S0_Ykmo.js → p-DgXp5DEl.js} +0 -0
- /package/dist/design-system/{p-e0ABNkP6.js → p-BqZ8dpm7.js} +0 -0
- /package/dist/design-system/{p-4S0_Ykmo.js → p-DgXp5DEl.js} +0 -0
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { EXPANSION_ITEM } from "./sd-expansion-item.config";
|
|
3
|
+
export class SdExpansionItem {
|
|
4
|
+
/** 헤더에 표시할 텍스트 */
|
|
5
|
+
title = '';
|
|
6
|
+
/** 펼침 상태 */
|
|
7
|
+
expanded = false;
|
|
8
|
+
/** compact 높이 사용 여부 */
|
|
9
|
+
dense = false;
|
|
10
|
+
/** 중첩 단계 (1~3) */
|
|
11
|
+
depth = 1;
|
|
12
|
+
hasBody = false;
|
|
13
|
+
/** body 내부 패딩 사용 여부 */
|
|
14
|
+
bodyPadding = true;
|
|
15
|
+
/** 토글 비활성화 여부 */
|
|
16
|
+
disabled = false;
|
|
17
|
+
/** 펼침 상태 변경 시 발생합니다. */
|
|
18
|
+
toggle;
|
|
19
|
+
handleToggle = () => {
|
|
20
|
+
if (this.disabled)
|
|
21
|
+
return;
|
|
22
|
+
this.expanded = !this.expanded;
|
|
23
|
+
this.toggle.emit(this.expanded);
|
|
24
|
+
};
|
|
25
|
+
handleSlotChange = (event) => {
|
|
26
|
+
const slot = event.target;
|
|
27
|
+
this.hasBody = slot.assignedNodes({ flatten: true }).some(node => node.nodeType === Node.ELEMENT_NODE || (node.textContent ?? '').trim() !== '');
|
|
28
|
+
};
|
|
29
|
+
render() {
|
|
30
|
+
const contentId = `sd-expansion-item-content-${this.title.replace(/\W+/g, '-').toLowerCase() || 'content'}`;
|
|
31
|
+
return (h("div", { key: 'd9914623cb545eb9782dd9f99aba586525a8db34', class: {
|
|
32
|
+
'sd-expansion-item': true,
|
|
33
|
+
'sd-expansion-item--dense': this.dense,
|
|
34
|
+
'sd-expansion-item--expanded': this.expanded,
|
|
35
|
+
'sd-expansion-item--disabled': this.disabled,
|
|
36
|
+
} }, h("button", { key: 'fc5b2f42015c3cf717653dc541e41a7dee526bfa', class: "sd-expansion-item__header", style: {
|
|
37
|
+
'--sd-expansion-item-padding-x': `${EXPANSION_ITEM.title.paddingX}px`,
|
|
38
|
+
'--sd-expansion-item-padding-y': `${this.dense ? EXPANSION_ITEM.title.paddingY.dense : EXPANSION_ITEM.title.paddingY.normal}px`,
|
|
39
|
+
'--sd-expansion-item-gap': `${EXPANSION_ITEM.title.gap}px`,
|
|
40
|
+
'--sd-expansion-item-indent': `${(this.depth - 1) * 32}px`,
|
|
41
|
+
}, type: "button", disabled: this.disabled, "aria-expanded": this.expanded ? 'true' : 'false', "aria-controls": contentId, onClick: this.handleToggle }, this.hasBody && h("sd-icon", { key: '754d7c535b20fad28f1b8efaedfa7efa44ea39d6', name: this.expanded ? 'caretUp' : 'caretDown', size: "12" }), h("slot", { key: '2d958b7cb20bab23861a548e45376214cc6ee50e', name: "leading" }), h("span", { key: '0b61cddfdebec252d8b7e22cd2586d475978fbeb', class: "sd-expansion-item__title" }, h("slot", { key: 'd8bf71d9589d2c642bf914bfe1bc5212559dd787', name: "title" }, this.title)), h("slot", { key: 'f1bf03fb094cab7e3f4c7bca41e10ea906b3e628', name: "trailing" })), h("div", { key: 'ff12f0643b1bdb098e2d7312f963ede03e857913', id: contentId, class: "sd-expansion-item__body", hidden: !this.expanded }, h("div", { key: '635b91b1ff04957b015fd81ed4ab0d84d56a793e', class: { 'sd-expansion-item__content': this.bodyPadding } }, h("slot", { key: '1f3937ffde6f83db745e6d362ddc2bb95a959ad5', onSlotchange: this.handleSlotChange })))));
|
|
42
|
+
}
|
|
43
|
+
static get is() { return "sd-expansion-item"; }
|
|
44
|
+
static get originalStyleUrls() {
|
|
45
|
+
return {
|
|
46
|
+
"$": ["sd-expansion-item.scss"]
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
static get styleUrls() {
|
|
50
|
+
return {
|
|
51
|
+
"$": ["sd-expansion-item.css"]
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
static get properties() {
|
|
55
|
+
return {
|
|
56
|
+
"title": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"mutable": false,
|
|
59
|
+
"complexType": {
|
|
60
|
+
"original": "string",
|
|
61
|
+
"resolved": "string",
|
|
62
|
+
"references": {}
|
|
63
|
+
},
|
|
64
|
+
"required": false,
|
|
65
|
+
"optional": false,
|
|
66
|
+
"docs": {
|
|
67
|
+
"tags": [],
|
|
68
|
+
"text": "\uD5E4\uB354\uC5D0 \uD45C\uC2DC\uD560 \uD14D\uC2A4\uD2B8"
|
|
69
|
+
},
|
|
70
|
+
"getter": false,
|
|
71
|
+
"setter": false,
|
|
72
|
+
"reflect": false,
|
|
73
|
+
"attribute": "title",
|
|
74
|
+
"defaultValue": "''"
|
|
75
|
+
},
|
|
76
|
+
"expanded": {
|
|
77
|
+
"type": "boolean",
|
|
78
|
+
"mutable": true,
|
|
79
|
+
"complexType": {
|
|
80
|
+
"original": "boolean",
|
|
81
|
+
"resolved": "boolean",
|
|
82
|
+
"references": {}
|
|
83
|
+
},
|
|
84
|
+
"required": false,
|
|
85
|
+
"optional": false,
|
|
86
|
+
"docs": {
|
|
87
|
+
"tags": [],
|
|
88
|
+
"text": "\uD3BC\uCE68 \uC0C1\uD0DC"
|
|
89
|
+
},
|
|
90
|
+
"getter": false,
|
|
91
|
+
"setter": false,
|
|
92
|
+
"reflect": true,
|
|
93
|
+
"attribute": "expanded",
|
|
94
|
+
"defaultValue": "false"
|
|
95
|
+
},
|
|
96
|
+
"dense": {
|
|
97
|
+
"type": "boolean",
|
|
98
|
+
"mutable": false,
|
|
99
|
+
"complexType": {
|
|
100
|
+
"original": "boolean",
|
|
101
|
+
"resolved": "boolean",
|
|
102
|
+
"references": {}
|
|
103
|
+
},
|
|
104
|
+
"required": false,
|
|
105
|
+
"optional": false,
|
|
106
|
+
"docs": {
|
|
107
|
+
"tags": [],
|
|
108
|
+
"text": "compact \uB192\uC774 \uC0AC\uC6A9 \uC5EC\uBD80"
|
|
109
|
+
},
|
|
110
|
+
"getter": false,
|
|
111
|
+
"setter": false,
|
|
112
|
+
"reflect": false,
|
|
113
|
+
"attribute": "dense",
|
|
114
|
+
"defaultValue": "false"
|
|
115
|
+
},
|
|
116
|
+
"depth": {
|
|
117
|
+
"type": "number",
|
|
118
|
+
"mutable": false,
|
|
119
|
+
"complexType": {
|
|
120
|
+
"original": "1 | 2 | 3",
|
|
121
|
+
"resolved": "1 | 2 | 3",
|
|
122
|
+
"references": {}
|
|
123
|
+
},
|
|
124
|
+
"required": false,
|
|
125
|
+
"optional": false,
|
|
126
|
+
"docs": {
|
|
127
|
+
"tags": [],
|
|
128
|
+
"text": "\uC911\uCCA9 \uB2E8\uACC4 (1~3)"
|
|
129
|
+
},
|
|
130
|
+
"getter": false,
|
|
131
|
+
"setter": false,
|
|
132
|
+
"reflect": false,
|
|
133
|
+
"attribute": "depth",
|
|
134
|
+
"defaultValue": "1"
|
|
135
|
+
},
|
|
136
|
+
"bodyPadding": {
|
|
137
|
+
"type": "boolean",
|
|
138
|
+
"mutable": false,
|
|
139
|
+
"complexType": {
|
|
140
|
+
"original": "boolean",
|
|
141
|
+
"resolved": "boolean",
|
|
142
|
+
"references": {}
|
|
143
|
+
},
|
|
144
|
+
"required": false,
|
|
145
|
+
"optional": false,
|
|
146
|
+
"docs": {
|
|
147
|
+
"tags": [],
|
|
148
|
+
"text": "body \uB0B4\uBD80 \uD328\uB529 \uC0AC\uC6A9 \uC5EC\uBD80"
|
|
149
|
+
},
|
|
150
|
+
"getter": false,
|
|
151
|
+
"setter": false,
|
|
152
|
+
"reflect": false,
|
|
153
|
+
"attribute": "body-padding",
|
|
154
|
+
"defaultValue": "true"
|
|
155
|
+
},
|
|
156
|
+
"disabled": {
|
|
157
|
+
"type": "boolean",
|
|
158
|
+
"mutable": false,
|
|
159
|
+
"complexType": {
|
|
160
|
+
"original": "boolean",
|
|
161
|
+
"resolved": "boolean",
|
|
162
|
+
"references": {}
|
|
163
|
+
},
|
|
164
|
+
"required": false,
|
|
165
|
+
"optional": false,
|
|
166
|
+
"docs": {
|
|
167
|
+
"tags": [],
|
|
168
|
+
"text": "\uD1A0\uAE00 \uBE44\uD65C\uC131\uD654 \uC5EC\uBD80"
|
|
169
|
+
},
|
|
170
|
+
"getter": false,
|
|
171
|
+
"setter": false,
|
|
172
|
+
"reflect": false,
|
|
173
|
+
"attribute": "disabled",
|
|
174
|
+
"defaultValue": "false"
|
|
175
|
+
}
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
static get states() {
|
|
179
|
+
return {
|
|
180
|
+
"hasBody": {}
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
static get events() {
|
|
184
|
+
return [{
|
|
185
|
+
"method": "toggle",
|
|
186
|
+
"name": "sdToggle",
|
|
187
|
+
"bubbles": true,
|
|
188
|
+
"cancelable": true,
|
|
189
|
+
"composed": true,
|
|
190
|
+
"docs": {
|
|
191
|
+
"tags": [],
|
|
192
|
+
"text": "\uD3BC\uCE68 \uC0C1\uD0DC \uBCC0\uACBD \uC2DC \uBC1C\uC0DD\uD569\uB2C8\uB2E4."
|
|
193
|
+
},
|
|
194
|
+
"complexType": {
|
|
195
|
+
"original": "boolean",
|
|
196
|
+
"resolved": "boolean",
|
|
197
|
+
"references": {}
|
|
198
|
+
}
|
|
199
|
+
}];
|
|
200
|
+
}
|
|
201
|
+
}
|
|
@@ -4,6 +4,11 @@ sd-field {
|
|
|
4
4
|
height: fit-content;
|
|
5
5
|
width: 100%;
|
|
6
6
|
}
|
|
7
|
+
sd-field.sd-field-host--hug {
|
|
8
|
+
display: flex;
|
|
9
|
+
width: fit-content;
|
|
10
|
+
max-width: 100%;
|
|
11
|
+
}
|
|
7
12
|
sd-field .sd-field *:focus,
|
|
8
13
|
sd-field .sd-field *:focus-visible,
|
|
9
14
|
sd-field .sd-field *:focus-within {
|
|
@@ -93,6 +98,9 @@ sd-field .sd-field__wrapper .sd-field__main {
|
|
|
93
98
|
display: flex;
|
|
94
99
|
flex-direction: column;
|
|
95
100
|
}
|
|
101
|
+
sd-field .sd-field__wrapper .sd-field__main--fixed {
|
|
102
|
+
flex: 0 1 auto;
|
|
103
|
+
}
|
|
96
104
|
sd-field .sd-field__wrapper .sd-field__control {
|
|
97
105
|
position: relative;
|
|
98
106
|
height: var(--sd-field-wrapper-height);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
2
|
import fieldTokens from "../../tokens/generated/component.field.json";
|
|
3
3
|
import { FIELD_ADDON_ALIGN_MAP, FIELD_LABEL_SIZE_MAP, } from "./sd-field.config";
|
|
4
4
|
const FORM_PARENT_TAGS = [
|
|
@@ -36,7 +36,11 @@ export class SdField {
|
|
|
36
36
|
hint = '';
|
|
37
37
|
/** 에러 메시지 */
|
|
38
38
|
errorMessage = '';
|
|
39
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* 필드 너비 (숫자면 px, 문자열이면 그대로 적용).
|
|
41
|
+
* 지정하면 필드가 부모 폭을 다 먹지 않고 (레이블 + width) 만큼만 차지한다.
|
|
42
|
+
* 다른 요소와 나란히 놓으려면 부모를 flex 로 두면 된다.
|
|
43
|
+
*/
|
|
40
44
|
width = '';
|
|
41
45
|
/** 필드 크기 */
|
|
42
46
|
size = 'sm';
|
|
@@ -168,6 +172,11 @@ export class SdField {
|
|
|
168
172
|
}
|
|
169
173
|
render() {
|
|
170
174
|
const addon = this.addonLabel;
|
|
175
|
+
// width 가 지정되면 호스트가 부모 폭을 다 먹지 않고 (label + width) 만큼만 hug 한다.
|
|
176
|
+
const hasWidth = this.width !== '' && this.width !== 0 && this.width !== undefined;
|
|
177
|
+
const widthStyle = hasWidth
|
|
178
|
+
? { width: typeof this.width === 'number' ? `${this.width}px` : String(this.width) }
|
|
179
|
+
: {};
|
|
171
180
|
const addonTokens = fieldTokens.field.addonLabel;
|
|
172
181
|
const size = this.size in FIELD_LABEL_SIZE_MAP ? this.size : 'sm';
|
|
173
182
|
const labelTokens = FIELD_LABEL_SIZE_MAP[size];
|
|
@@ -223,20 +232,18 @@ export class SdField {
|
|
|
223
232
|
: {}),
|
|
224
233
|
}
|
|
225
234
|
: {};
|
|
226
|
-
return (h("div", { key: '
|
|
235
|
+
return (h(Host, { key: '1a9732da019834d223e497e263fc6c5c98b117de', class: { 'sd-field-host--hug': hasWidth } }, h("div", { key: '875872a3a781335c0109f3221f8c6a46c6f0e5f8', class: {
|
|
227
236
|
'sd-field': true,
|
|
228
237
|
'sd-field--has-label': this.label !== '',
|
|
229
238
|
'sd-field--has-addon': addon !== '',
|
|
230
239
|
'sd-field--multiline': this.multiline,
|
|
231
240
|
'sd-field--borderless': this.borderless,
|
|
232
241
|
[this.fieldStatus]: this.fieldStatus !== '',
|
|
233
|
-
}, style: { ...sizeCssVars, ...labelCssVars, ...addonCssVars, ...messageCssVars } }, h("div", { key: '
|
|
242
|
+
}, style: { ...sizeCssVars, ...labelCssVars, ...addonCssVars, ...messageCssVars } }, h("div", { key: 'd72d11850cd82c920412b2d8ab8d2eb87b6b1c07', class: "sd-field__wrapper" }, this.renderLabel(this.label), h("div", { key: '8182b5023ccd43964b3a2a838088b254f1435a8e', class: { 'sd-field__main': true, 'sd-field__main--fixed': hasWidth }, style: widthStyle }, h("div", { key: 'fd0324d231bdf3877a44cdbff12e29c4fcc95fb5', class: {
|
|
234
243
|
'sd-field__control': true,
|
|
235
244
|
'sd-field__control--has-addon': addon !== '',
|
|
236
|
-
},
|
|
237
|
-
? {
|
|
238
|
-
: {} }, addon && (h("div", { key: '7ac28abf5f37b7ada42b16f81227afb5c7f8d656', class: "sd-field__addon" }, this.icon && (h("sd-icon", { key: 'd995424c6f620b090006cdbcf8645d2ff822e802', name: this.icon.name, size: this.icon.size ??
|
|
239
|
-
Number(FIELD_LABEL_SIZE_MAP[(this.size in FIELD_LABEL_SIZE_MAP ? this.size : 'sm')].icon), color: this.icon.color, rotate: this.icon.rotate })), addon)), h("slot", { key: 'd105a65b5c926b5db9dd1d68239c0a2015739aba' })), this.errorMsg !== '' || this.errorMessage !== '' ? (h("div", { class: "sd-field__error-message" }, this.errorMsg !== '' ? this.errorMsg : this.errorMessage)) : (this.hint !== '' && h("div", { class: "sd-field__hint" }, this.hint))))));
|
|
245
|
+
} }, addon && (h("div", { key: '0ed9f83d5d1be42107f0d8d873694c0283c81f71', class: "sd-field__addon" }, this.icon && (h("sd-icon", { key: 'ee553842c50e4170b835dc7af1d98e02d1f821cb', name: this.icon.name, size: this.icon.size ??
|
|
246
|
+
Number(FIELD_LABEL_SIZE_MAP[(this.size in FIELD_LABEL_SIZE_MAP ? this.size : 'sm')].icon), color: this.icon.color, rotate: this.icon.rotate })), addon)), h("slot", { key: '05952088edba5a354150b9b1cf5238ce5c911f3e' })), this.errorMsg !== '' || this.errorMessage !== '' ? (h("div", { class: "sd-field__error-message" }, this.errorMsg !== '' ? this.errorMsg : this.errorMessage)) : (this.hint !== '' && h("div", { class: "sd-field__hint" }, this.hint)))))));
|
|
240
247
|
}
|
|
241
248
|
renderLabel(label) {
|
|
242
249
|
if (label == null || label === '')
|
|
@@ -473,7 +480,7 @@ export class SdField {
|
|
|
473
480
|
"optional": false,
|
|
474
481
|
"docs": {
|
|
475
482
|
"tags": [],
|
|
476
|
-
"text": "\uD544\uB4DC \uB108\uBE44 (\uC22B\uC790\uBA74 px, \uBB38\uC790\uC5F4\uC774\uBA74 \uADF8\uB300\uB85C \uC801\uC6A9)"
|
|
483
|
+
"text": "\uD544\uB4DC \uB108\uBE44 (\uC22B\uC790\uBA74 px, \uBB38\uC790\uC5F4\uC774\uBA74 \uADF8\uB300\uB85C \uC801\uC6A9).\n\uC9C0\uC815\uD558\uBA74 \uD544\uB4DC\uAC00 \uBD80\uBAA8 \uD3ED\uC744 \uB2E4 \uBA39\uC9C0 \uC54A\uACE0 (\uB808\uC774\uBE14 + width) \uB9CC\uD07C\uB9CC \uCC28\uC9C0\uD55C\uB2E4.\n\uB2E4\uB978 \uC694\uC18C\uC640 \uB098\uB780\uD788 \uB193\uC73C\uB824\uBA74 \uBD80\uBAA8\uB97C flex \uB85C \uB450\uBA74 \uB41C\uB2E4."
|
|
477
484
|
},
|
|
478
485
|
"getter": false,
|
|
479
486
|
"setter": false,
|
|
@@ -269,24 +269,24 @@ export class SdFilePicker {
|
|
|
269
269
|
[`--sd-system-radius-field-${this.size}`]: `${layout.radius}px`,
|
|
270
270
|
};
|
|
271
271
|
const showListbox = this.multiple && this.useMultipleListBox;
|
|
272
|
-
const content = (h("div", { key: '
|
|
272
|
+
const content = (h("div", { key: '89b5383f3aaf2f230fd16b64e5587b4d7c37e82e', role: "button", tabindex: this.disabled ? -1 : 0, class: "sd-file-picker__content", ref: el => (this.contentRef = el), onClick: this.handleClick, onKeyDown: e => {
|
|
273
273
|
if (e.key === 'Enter' || e.key === ' ') {
|
|
274
274
|
e.preventDefault();
|
|
275
275
|
this.handleClick();
|
|
276
276
|
}
|
|
277
|
-
} }, h("input", { key: '
|
|
277
|
+
} }, h("input", { key: '58ca8f7af6b7760eefb3a37a0b076ea3eccd7d07', ref: el => (this.fileInputRef = el), type: "file", class: "sd-file-picker__input", disabled: this.disabled, multiple: this.multiple, accept: this.accept, onInput: this.handleFileChange, "aria-label": this.placeholder ?? 'Click to upload' }), h("sd-icon", { key: '3ed78b87ebd74fe12184f76d52ed6dc03fad5730', name: "attachFile", size: Number(layout.iconSize), color: this.getIconColor(), class: "sd-file-picker__icon" }), h("div", { key: '035e18f041ad7ed5da3890f80c2fe33990496efa', ref: el => (this.fileNamesRef = el), class: {
|
|
278
278
|
'sd-file-picker__text': true,
|
|
279
279
|
'sd-file-picker__text--placeholder': !hasFiles,
|
|
280
280
|
'sd-file-picker__text--active': hasFiles,
|
|
281
|
-
} }, displayText), showListbox && hasFiles && !this.disabled && (h("sd-ghost-button", { key: '
|
|
281
|
+
} }, displayText), showListbox && hasFiles && !this.disabled && (h("sd-ghost-button", { key: 'da396b601196f3bd9c23f8a1113b4aa5401e3725', icon: "caretDown", size: "xxs", ariaLabel: "toggle file list", disabled: this.disabled, class: {
|
|
282
282
|
'sd-file-picker__caret': true,
|
|
283
283
|
'sd-file-picker__caret--open': this.isListboxOpen,
|
|
284
|
-
}, onClick: this.handleListboxToggle })), !this.disabled && hasFiles && (h("sd-ghost-button", { key: '
|
|
285
|
-
return (h("div", { key: '
|
|
284
|
+
}, onClick: this.handleListboxToggle })), !this.disabled && hasFiles && (h("sd-ghost-button", { key: '1b73bb7ef8c9a8e4367a7d1983a75a85f96c35fa', icon: "close", size: "xxs", ariaLabel: "clear", disabled: this.disabled, class: "sd-file-picker__clear-icon", onClick: this.handleClear })), this.showTooltip && hasFiles && this.hovered && (h("div", { key: 'a1f532e4a680592d8cff62926405846f7ae386e0', class: "sd-file-picker__tooltip" }, displayText))));
|
|
285
|
+
return (h("div", { key: '1f235bfb586260961d00b4058009bbdd4a4eb8e7', class: {
|
|
286
286
|
'sd-file-picker__wrapper': true,
|
|
287
287
|
'sd-file-picker--inline': this.inline,
|
|
288
288
|
'sd-file-picker--inline-disabled': this.inline && this.disabled,
|
|
289
|
-
}, style: cssVars }, h("sd-field", { key: '
|
|
289
|
+
}, style: cssVars }, h("sd-field", { key: '7354bb733c65d30947fc35f6e67083eb255c07f9', borderless: this.inline, size: this.size, name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, status: this.status, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, content), this.useMultipleListBox ? this.renderListbox() : this.renderChipList()));
|
|
290
290
|
}
|
|
291
291
|
static get is() { return "sd-file-picker"; }
|
|
292
292
|
static get originalStyleUrls() {
|
|
@@ -173,7 +173,7 @@ export class SdFloatingPopover {
|
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
render() {
|
|
176
|
-
return h("slot", { key: '
|
|
176
|
+
return h("slot", { key: '3bb6b4021e838211556f8d64f1714094ce53ef9c' });
|
|
177
177
|
}
|
|
178
178
|
static get is() { return "sd-floating-portal"; }
|
|
179
179
|
static get originalStyleUrls() {
|
|
@@ -152,12 +152,12 @@ export class SdInput {
|
|
|
152
152
|
'--sd-system-size-field-sm-height': `${sizeTokens.height}px`,
|
|
153
153
|
'--sd-system-radius-field-sm': `${sizeTokens.radius}px`,
|
|
154
154
|
};
|
|
155
|
-
return (h("sd-field", { key: '
|
|
155
|
+
return (h("sd-field", { key: '3ae7b521de6759b8def5ff40f439628f18c7a91c', 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, readonly: this.readonly, focused: this.focused, hovered: this.hovered, status: this.status, size: this.size, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, h("label", { key: '2a36f4af08b6fd5263491aeae7ada7a3038dbe8c', class: "sd-input__content" }, h("slot", { key: 'c13be01f5aedba1076401aa3ba41a8503d9f14ce', name: "prefix" }), h("input", { key: '7cd2bfd289b9f0e87e6de45772c3fdb9d74d1c21', name: this.name, ref: el => (this.nativeEl = el), class: `sd-input__native ${this.inputClass}`, type: this.type === 'password' && this.passwordVisible ? 'text' : (this.type ?? 'text'), value: this.internalValue || '', placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, autocomplete: this.autocomplete || undefined, maxlength: this.maxlength, minlength: this.minlength, inputmode: this.inputmode, enterkeyhint: this.enterkeyhint, spellcheck: this.spellcheck, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.inputStyle }), h("slot", { key: '036abcab351dd45705e1a4abf87cf6b6181171ac', name: "suffix" }), this.clearable && this.internalValue && !this.disabled && !this.readonly && (h("sd-ghost-button", { key: 'a6ad01e9586019b30189cd8facf45eef4ddb80f5', icon: "close", ariaLabel: "clear", size: "xxs", disabled: this.disabled, class: "sd-input__clear-icon", onClick: async () => {
|
|
156
156
|
if (this.disabled || this.readonly)
|
|
157
157
|
return;
|
|
158
158
|
this.internalValue = '';
|
|
159
159
|
await this.formField?.sdValidate();
|
|
160
|
-
} })), this.type === 'password' && (h("sd-ghost-button", { key: '
|
|
160
|
+
} })), this.type === 'password' && (h("sd-ghost-button", { key: 'abd32a3b71cda45e67b62d57c10c3fa59840ad75', icon: this.passwordVisible ? 'visibilityOn' : 'visibilityOff', ariaLabel: "visibility", size: "xxs", disabled: this.disabled || this.readonly, class: "sd-input__password-icon", onClick: () => {
|
|
161
161
|
if (this.disabled || this.readonly)
|
|
162
162
|
return;
|
|
163
163
|
this.passwordVisible = !this.passwordVisible;
|
|
@@ -31,7 +31,7 @@ export class SdLinearProgress {
|
|
|
31
31
|
clipPath: `inset(0 ${100 - this.clampedValue}% 0 0)`,
|
|
32
32
|
};
|
|
33
33
|
const valueText = `${Math.round(this.clampedValue)}%`;
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: 'ebed80a75ed922c7a51fac5ee6e76a708476c2a5', style: hostStyle }, h("div", { key: '31867c35250dbb0131071d96af50eee5fc6c286d', class: "sd-linear-progress__track" }, h("div", { key: '379bcb00908b9c47ecb6661a0e0351deb3f5f0d8', class: "sd-linear-progress__fill", style: fillStyle }), !this.indeterminate && (h("span", { key: 'badb47b8d0ae486988b1f3ac40960dbb7c68ef80', class: "sd-linear-progress__value sd-linear-progress__value--on-track" }, valueText)), !this.indeterminate && (h("span", { key: '0a884b1e3cdf262b7b22a2f7c2593bd4b2028d0a', class: "sd-linear-progress__value sd-linear-progress__value--on-fill", style: valueOnFillStyle }, valueText))), this.label && h("span", { key: 'fd4fce63d80521cfa1b5a0c64d610dd4a7d7f701', class: "sd-linear-progress__label" }, this.label)));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "sd-linear-progress"; }
|
|
37
37
|
static get originalStyleUrls() {
|
|
@@ -32,10 +32,10 @@ export class SdLoadingContainer {
|
|
|
32
32
|
this.prevBodyOverflow = null;
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (h("div", { key: '
|
|
35
|
+
return (h("div", { key: '2b2f22bf65020005652698c748c6f809e966c6c5', class: {
|
|
36
36
|
'sd-loading-container': true,
|
|
37
37
|
'sd-loading-container--visible': this.visible,
|
|
38
|
-
}, "aria-hidden": this.visible ? 'false' : 'true' }, h("div", { key: '
|
|
38
|
+
}, "aria-hidden": this.visible ? 'false' : 'true' }, h("div", { key: 'c2eb1da1c4e702ad318a79f952c0afaeca61cbb8', class: "sd-loading-container__backdrop" }), h("div", { key: '6f9640f155cd62cd49428999f4d13edead099108', class: "sd-loading-container__content" }, h("sd-circle-progress", { key: 'ff891f62d4534b0ce6367bc5a2972eda5fe41792', indeterminate: true, type: "inverse" }), this.message && h("p", { key: 'f353e27e3d8d087f60ca6c34c80e6f488f1f5ec6', class: "sd-loading-container__message" }, this.message))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "sd-loading-container"; }
|
|
41
41
|
static get originalStyleUrls() {
|
|
@@ -60,7 +60,7 @@ export class SdLoadingModal {
|
|
|
60
60
|
'--sd-loading-modal-width': this.toCssSize(this.width) ?? `${LOADING_MODAL_LAYOUT.minWidth}px`,
|
|
61
61
|
'--sd-loading-modal-height': this.toCssSize(this.height) ?? `${LOADING_MODAL_LAYOUT.minHeight}px`,
|
|
62
62
|
};
|
|
63
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: '3345eafdbadbeafbded749980fc430a562641186', style: hostStyle }, h("div", { key: 'f2e176fef188efddf8da7c1eb7ec1b81c297103a', class: "sd-loading-modal" }, this.resolvedState === 'error' && (h("sd-ghost-button", { key: '10467944830b01596eaf0d2b71bed674965a4c49', class: "sd-loading-modal__close", icon: "close", ariaLabel: "close", onClick: () => this.close.emit() })), h("div", { key: '93f086d4e84705eebd44ad08eaca0a99f9d604a0', class: "sd-loading-modal__content" }, this.resolvedState === 'loading' ? (this.progress !== undefined ? (h("sd-circle-progress", { value: this.progress })) : (h("sd-circle-progress", { indeterminate: true }))) : (h("sd-icon", { class: "sd-loading-modal__icon", name: "warningOutline", size: LOADING_MODAL_LAYOUT.contentSize, color: LOADING_MODAL_COLORS.errorIcon }))), h("div", { key: 'c18752743b70f933746d8057c78c126b2f02520e', class: "sd-loading-modal__message-wrapper" }, Array.isArray(this.resolvedMessage) ? (this.resolvedMessage.map(message => (h("p", { class: "sd-loading-modal__message" }, message)))) : (h("p", { class: "sd-loading-modal__message" }, this.resolvedMessage))), this.showButton && (h("div", { key: '260f9247f8a7e66ea16ddf7866b560f15c824be8', class: "sd-loading-modal__button" }, h("sd-button", { key: 'ab5ca5a2bc6adb63b15f7a8cc22fa9c091f627bd', name: LOADING_MODAL_BUTTON_PRESET, label: this.resolvedButtonLabel, onSdClick: this.handleClick }))))));
|
|
64
64
|
}
|
|
65
65
|
static get is() { return "sd-loading-modal"; }
|
|
66
66
|
static get originalStyleUrls() {
|
|
@@ -346,15 +346,15 @@ export class SdNumberInput {
|
|
|
346
346
|
'--sd-textinput-input-hint-typography-line-height': `${NUMBER_INPUT_HINT.typography.lineHeight}px`,
|
|
347
347
|
'--sd-textinput-input-contents-gap': `${NUMBER_INPUT_CONTENTS_GAP}px`,
|
|
348
348
|
};
|
|
349
|
-
return (h("sd-field", { key: '
|
|
349
|
+
return (h("sd-field", { key: '4a54c567270f657086819fc6e3856d84c60315d5', 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, readonly: this.readonly, focused: this.focused, hovered: this.hovered, status: this.status, size: this.size, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, h("div", { key: 'ce88be1aa4f4b684e3a4036495b39a3b0fc88289', class: {
|
|
350
350
|
'sd-number-input__content': true,
|
|
351
351
|
'sd-number-input__content--no-stepper': !this.useButton,
|
|
352
|
-
} }, this.useButton && (h("button", { key: '
|
|
352
|
+
} }, this.useButton && (h("button", { key: 'fb7b50a15c6925fb39ab0ccc0b6df2ad14d07aa6', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--decrement", disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, h("sd-icon", { key: '6e53dc6237c049c0a766f5c141abe872abc17e32', name: "minus", size: iconSize, color: this.isDecrementDisabled()
|
|
353
353
|
? NUMBER_INPUT_STEPPER.icon.disabled
|
|
354
|
-
: NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && h("span", { key: '
|
|
354
|
+
: NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && h("span", { key: 'c378b1efe0df186b2a6137fd7738467b53892d12', class: "sd-number-input__prefix" }, this.inputPrefix), h("input", { key: 'f264c7af10764a0d4b49bd5696b5f84985b9df2d', 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: {
|
|
355
355
|
textAlign: this.useButton ? 'center' : 'right',
|
|
356
356
|
...this.inputStyle,
|
|
357
|
-
} }), this.inputSuffix && h("span", { key: '
|
|
357
|
+
} }), this.inputSuffix && h("span", { key: '100aeecc5de810c6f67679bf214ec9d612decf26', class: "sd-number-input__suffix" }, this.inputSuffix), this.useButton && (h("button", { key: '2fa415cdfa3e0b2bb8f4bdd992ff69457d496913', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--increment", disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, h("sd-icon", { key: 'ec2e9109753f67d28d3b819e4902d4c00ce7e4e6', name: "add", size: iconSize, color: this.isIncrementDisabled()
|
|
358
358
|
? NUMBER_INPUT_STEPPER.icon.disabled
|
|
359
359
|
: NUMBER_INPUT_STEPPER.icon.default }))))));
|
|
360
360
|
}
|
|
@@ -88,13 +88,13 @@ export class SdPagination {
|
|
|
88
88
|
'--sd-pagination-bg-selected': PAGINATION_COLORS.bgSelected,
|
|
89
89
|
'--sd-pagination-item-width': `${this.buttonWidth}px`,
|
|
90
90
|
};
|
|
91
|
-
return (h("div", { key: '
|
|
91
|
+
return (h("div", { key: '9ed057ae1af69f0703c7191f5f3367806d2a3081', class: {
|
|
92
92
|
'sd-pagination': true,
|
|
93
93
|
'sd-pagination--simple': this.simple,
|
|
94
|
-
}, style: cssVars }, h("div", { key: '
|
|
94
|
+
}, style: cssVars }, h("div", { key: '7808a3b793aeb0dafc3fb04b6b16ea0fc0a0beb9', 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: {
|
|
95
95
|
'sd-pagination__item': true,
|
|
96
96
|
'sd-pagination__item--selected': this.currentPage === n,
|
|
97
|
-
}, onClick: () => this.handlePageChange(n) }, n))))), h("div", { key: '
|
|
97
|
+
}, onClick: () => this.handlePageChange(n) }, n))))), h("div", { key: 'be54a6060c5811bd8b3853fb6b1f6f1b124a5856', class: "sd-pagination__group sd-pagination__group--next" }, this.renderNextButtons())));
|
|
98
98
|
}
|
|
99
99
|
static get is() { return "sd-pagination"; }
|
|
100
100
|
static get originalStyleUrls() {
|
|
@@ -82,10 +82,10 @@ export class SdPopover {
|
|
|
82
82
|
const typeConfig = POPOVER_TYPE_CONFIG[this.type ?? 'default'] ?? POPOVER_TYPE_CONFIG.default;
|
|
83
83
|
const menuClassName = this.menuClassName ?? '';
|
|
84
84
|
const hasLeftLink = this.leftLinkLabel !== undefined && this.leftLinkLabel !== '';
|
|
85
|
-
return (h(Fragment, { key: '
|
|
85
|
+
return (h(Fragment, { key: 'f0849060d410a5ef747e7da4f0287456a465fc06' }, this.triggerHTML !== '' ? (
|
|
86
86
|
// 사용자가 넘긴 slot="trigger" 콘텐츠를 감싸 클릭을 전달하는 래퍼(키보드 상호작용은 내부 트리거가 담당)
|
|
87
87
|
// eslint-disable-next-line jsx-a11y/no-static-element-interactions, jsx-a11y/click-events-have-key-events
|
|
88
|
-
h("span", { ref: el => (this.triggerEl = el), class: "sd-popover", "aria-label": this.ariaLabel || undefined, innerHTML: this.triggerHTML, onClick: () => this.setOpen(!this.isOpen) })) : (h("sd-icon", { ref: el => (this.triggerEl = el), name: this.icon ?? 'helpOutline', size: this.iconSize ?? 12, color: this.color ?? '#01BB4B', class: "sd-popover", "aria-label": this.ariaLabel || undefined, onClick: () => this.setOpen(!this.isOpen) })), this.isOpen && (h("sd-floating-portal", { key: '
|
|
88
|
+
h("span", { ref: el => (this.triggerEl = el), class: "sd-popover", "aria-label": this.ariaLabel || undefined, innerHTML: this.triggerHTML, onClick: () => this.setOpen(!this.isOpen) })) : (h("sd-icon", { ref: el => (this.triggerEl = el), name: this.icon ?? 'helpOutline', size: this.iconSize ?? 12, color: this.color ?? '#01BB4B', class: "sd-popover", "aria-label": this.ariaLabel || undefined, onClick: () => this.setOpen(!this.isOpen) })), this.isOpen && (h("sd-floating-portal", { key: 'ac56aff939de31ac2c0c3d4fdb84795ea2d93794', parentRef: this.triggerEl, onSdClose: this.handleClose, placement: placement, offset: this.popoverOffset }, h("div", { key: '4a909c45f386c87b47202f366dcf29ec9c65e579', class: {
|
|
89
89
|
'sd-floating-menu': true,
|
|
90
90
|
'sd-floating-menu--popover': true,
|
|
91
91
|
[`sd-floating-menu--${placement}`]: true,
|
|
@@ -93,15 +93,15 @@ export class SdPopover {
|
|
|
93
93
|
}, style: {
|
|
94
94
|
'--sd-floating-bg': typeConfig.bg,
|
|
95
95
|
'--sd-floating-content': typeConfig.description,
|
|
96
|
-
} }, h("i", { key: '
|
|
96
|
+
} }, h("i", { key: '577c0547175d2a9780b06ec5acc111e5f1f86fa2', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${placement}` }, h(TooltipArrow, { key: 'c13302edc4af665fcfaaf191efb8e50bc7aaf847' })), h("div", { key: '30ec8cb2c957a99884437cc7e696518ca6865f3f', class: "sd-floating-menu__content" }, this.menuTitle && (h("div", { key: '12ccc7ca3b48d989d48905c83883a67e89571b7c', class: "sd-floating-menu__title", style: {
|
|
97
97
|
color: typeConfig.title,
|
|
98
98
|
display: 'flex',
|
|
99
99
|
alignItems: 'center',
|
|
100
100
|
gap: `${POPOVER_TITLE_GAP}px`,
|
|
101
|
-
} }, this.titleIcon && (h("sd-icon", { key: '
|
|
101
|
+
} }, this.titleIcon && (h("sd-icon", { key: '164a41e2d4c14b715eb4387f1af0a61389faefcc', name: this.titleIcon, size: Number(POPOVER_TITLE_ICON_SIZE), color: typeConfig.title })), h("span", { key: '8128f3c7b098434c4405e63e6dff453f1d03706c' }, this.menuTitle))), this.slotContentHTML && (h("div", { key: '1647bab6f71a8a9cdcf24a5d84119bb49ad94d59', class: "sd-floating-menu__messages", innerHTML: this.slotContentHTML })), h("div", { key: '01e3b60765a680517ddf2331c2e606bcf2b8c1ee', class: {
|
|
102
102
|
'sd-floating-menu__buttons': true,
|
|
103
103
|
'sd-floating-menu__buttons--with-link': hasLeftLink,
|
|
104
|
-
} }, hasLeftLink && (h("sd-text-link", { key: '
|
|
104
|
+
} }, hasLeftLink && (h("sd-text-link", { key: 'a23b8c584d949011cbee5aa3f53b54e5b3bc7a40', class: "sd-floating-menu__left-link", style: { '--sd-text-link-color': typeConfig.subAction }, label: this.leftLinkLabel, onSdClick: () => this.leftLinkClick.emit() })), h("sd-button", { key: '7369617d40af365fa8f54b62cbec68e3121c2d23', name: typeConfig.buttonName, label: this.buttonLabel, ariaLabel: this.buttonLabel || 'confirm', onSdClick: () => this.buttonClick.emit() }))), h("sd-ghost-button", { key: 'ef95a47efa7b7ea73b6b56a2fbb13880132773a8', class: "sd-floating-menu__close-button", icon: "close", ariaLabel: "close", size: "xs", onClick: this.handleClose }))))));
|
|
105
105
|
}
|
|
106
106
|
static get is() { return "sd-popover"; }
|
|
107
107
|
static get originalStyleUrls() {
|
|
@@ -40,7 +40,7 @@ export class SdPopup {
|
|
|
40
40
|
...DEFAULT_SUBMIT_BUTTON_PROPS,
|
|
41
41
|
...this.submitButtonProps,
|
|
42
42
|
};
|
|
43
|
-
return (h("div", { key: '
|
|
43
|
+
return (h("div", { key: 'e899263de5d4302c9a58c8e22ca1366abcd43587', class: `sd-popup sd-popup--${this.type}`, style: cssVars }, h("header", { key: '53e061eec94ad45d381fb15e94dff0f690a20223', class: "sd-popup__header" }, h("h2", { key: '39fcc038b4e903fcb4d86ec6e0e70d73873138e9', class: "sd-popup__title" }, this.popupTitle)), h("div", { key: 'df51ca67e7107f8b221500613d97d823cf94bb8a', class: "sd-popup__body" }, h("slot", { key: 'cbeeddd919167af08e67b9d15fe90099b40a7725' })), this.useFooter && (h("footer", { key: '8811d33320a3034b38f11628bced2aa7dc07df80', class: "sd-popup__footer" }, h("div", { key: 'c58051284ec4d304ec49782f1ef05a9e6622888a', class: "sd-popup__footer-slot sd-popup__footer-slot--left" }, h("slot", { key: '4b5bdf0dd89940af008ffc09f527c19afdcb8f84', name: "footer-left" })), h("sd-button", { key: '7257231b31aa62b47af221bc5899ba3960c8c2af', ...submitButtonProps, class: "sd-popup__submit", onSdClick: () => this.submit.emit() })))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "sd-popup"; }
|
|
46
46
|
static get originalStyleUrls() {
|
|
@@ -19,12 +19,12 @@ export class SdScrollArea {
|
|
|
19
19
|
viewportStyle.maxHeight = this.maxHeight;
|
|
20
20
|
if (this.maxWidth !== '')
|
|
21
21
|
viewportStyle.maxWidth = this.maxWidth;
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: '238d7d1221187a0c679b486e7f2dd61fa902bc94' }, h("div", { key: 'cfe4d56bdc5c8749f84fa42990eab6b872bc9e10', class: {
|
|
23
23
|
'sd-scroll-area__viewport': true,
|
|
24
24
|
[`sd-scroll-area__viewport--${this.axis}`]: true,
|
|
25
25
|
'sd-scroll-area__viewport--bg': this.background,
|
|
26
26
|
'sd-scroll-area__viewport--bordered': this.bordered,
|
|
27
|
-
}, style: viewportStyle }, h("slot", { key: '
|
|
27
|
+
}, style: viewportStyle }, h("slot", { key: 'be9fbcce4477fd96a485af314f561cbd538faac4' }))));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "sd-scroll-area"; }
|
|
30
30
|
static get originalStyleUrls() {
|
|
@@ -78,7 +78,7 @@ export class SdSelectListItem {
|
|
|
78
78
|
return (
|
|
79
79
|
// 키보드 네비게이션은 부모 listbox 의 ArrowUp/Down + Enter 가 담당. 항목 자체는 role=option, tabindex=-1 으로 표시.
|
|
80
80
|
// eslint-disable-next-line jsx-a11y/click-events-have-key-events
|
|
81
|
-
h("div", { key: '
|
|
81
|
+
h("div", { key: '20492e7ba882ac768bee279fe1506e69186ec958', role: "option", tabindex: -1, "aria-selected": this.isSelected === true ? 'true' : 'false', class: {
|
|
82
82
|
'sd-select-list-item': true,
|
|
83
83
|
'sd-select-list-item--group': isGroup,
|
|
84
84
|
'sd-select-list-item--depth1-group': isDepth1Group,
|
|
@@ -88,7 +88,7 @@ export class SdSelectListItem {
|
|
|
88
88
|
'sd-select-list-item--focused': this.isFocused,
|
|
89
89
|
'sd-select-list-item--selectable': this.isSelectable && !this.option.disabled,
|
|
90
90
|
'sd-select-list-item--disabled': !!this.option.disabled,
|
|
91
|
-
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: '
|
|
91
|
+
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: '1b413ea873fb41380928bbc1de435242966e8649', 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 })), isHtmlLabel(this.option.label) ? (h("span", { class: "sd-select-list-item__label", ref: el => el && (el.innerHTML = sanitizeInlineHtml(this.option.label)) })) : (h("span", { class: "sd-select-list-item__label" }, this.option.label)), this.countInfo && (h("span", { key: 'b6b97fcfc49794b61ec27e48680a0168ce895a6b', class: "sd-select-list-item__count" }, "(", this.countInfo.selected, "/", this.countInfo.total, ")"))));
|
|
92
92
|
}
|
|
93
93
|
static get is() { return "sd-select-list-item"; }
|
|
94
94
|
static get originalStyleUrls() {
|
|
@@ -45,15 +45,15 @@ export class SdSelectListItemSearch {
|
|
|
45
45
|
clearTimeout(this.debounceTimer);
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h("div", { key: '
|
|
48
|
+
return (h("div", { key: 'e461ae14d90896bf0abfbe357b0d8068c25b439b', class: {
|
|
49
49
|
'sd-select-list-item-search': true,
|
|
50
50
|
'sd-select-list-item-search--scrolled': this.isScrolled,
|
|
51
|
-
} }, h("div", { key: '
|
|
51
|
+
} }, h("div", { key: '870b68748e166f56fbf921ab6431e165c397278c', class: "sd-select-list-item-search__inner" }, h("sd-icon", { key: '0252b5648c10042ce7b7db6af880f00a0f81f50a', name: "search", size: 16, color: "grey_70", class: "sd-select-list-item-search__icon" }), h("input", { key: '5154a2d317f66d4722dfcd4f9ae8a87a3e9d651f', ref: el => {
|
|
52
52
|
this.inputEl = el;
|
|
53
|
-
}, 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: '
|
|
53
|
+
}, 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: 'a6d7e8ee24139325d66ff0e987d6b1140ea88ea7', type: "button", class: {
|
|
54
54
|
'sd-select-list-item-search__clear': true,
|
|
55
55
|
'sd-select-list-item-search__clear--hidden': this.searchText === '',
|
|
56
|
-
}, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, h("sd-icon", { key: '
|
|
56
|
+
}, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, h("sd-icon", { key: '03a33242101dbe710cb3c3327b6f2c695d76baab', name: "close", size: 12, color: "#888888" })))));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "sd-select-list-item-search"; }
|
|
59
59
|
static get originalStyleUrls() {
|
|
@@ -361,9 +361,9 @@ export class SdSelectListbox {
|
|
|
361
361
|
'--listbox-max-height': this.maxHeight ?? '260px',
|
|
362
362
|
'--listbox-radius': `${LIST_BOX_LAYOUT.radius}px`,
|
|
363
363
|
};
|
|
364
|
-
return (h("div", { key: '
|
|
364
|
+
return (h("div", { key: 'c336ef386ead6881694925cc3e1fb1cd99e92037', class: "sd-select-listbox", style: cssVars }, this.showSearch && (h("sd-select-list-item-search", { key: '9b8db37fbd34b71e2206e6919c122fa2666a68f9', isScrolled: this.isScrolled, onSdSearchFilter: this.handleSearchFilter })), h("div", { key: '5e02d3d337dd337c2029c50a7582abd0dbaafd33', class: "sd-select-listbox__list", onScroll: this.handleScroll, ref: el => {
|
|
365
365
|
this.listEl = el;
|
|
366
|
-
} }, this.showSelectAll && (h("sd-select-list-item", { key: '
|
|
366
|
+
} }, this.showSelectAll && (h("sd-select-list-item", { key: '955b332da48d42a76637827e966568af3b495b39', 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) })))))));
|
|
367
367
|
}
|
|
368
368
|
static get is() { return "sd-select-listbox"; }
|
|
369
369
|
static get encapsulation() { return "shadow"; }
|