@sellmate/design-system 1.31.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-Jr8OU0y9.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 +5 -4
- package/dist/cjs/sd-chip.cjs.entry.js +1 -1
- package/dist/cjs/sd-circle-progress.cjs.entry.js +2 -2
- 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 +3 -3
- package/dist/cjs/sd-dropdown-button.cjs.entry.js +2 -2
- 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 +4 -3
- package/dist/cjs/sd-key-value-table.cjs.entry.js +2 -2
- package/dist/cjs/sd-linear-progress.cjs.entry.js +3 -3
- package/dist/cjs/sd-loading-container.cjs.entry.js +3 -3
- package/dist/cjs/sd-modal-container.cjs.entry.js +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 +4 -4
- 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 +44 -0
- package/dist/cjs/sd-select-list-item_4.cjs.entry.js +15 -14
- package/dist/cjs/sd-stepper.cjs.entry.js +190 -0
- 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/{system-B4KkVpu2.js → system-BGCBFBcM.js} +3 -1
- package/dist/cjs/{tooltipArrow-BlrFItn5.js → tooltipArrow-BUV7X2B8.js} +1 -1
- package/dist/cjs/{useDatePicker-j06ymWZ_.js → useDatePicker-D4fa6SZx.js} +1 -1
- package/dist/collection/collection-manifest.json +3 -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.css +40 -0
- package/dist/collection/components/sd-popup/sd-popup.js +1 -1
- package/dist/collection/components/sd-scroll-area/sd-scroll-area.config.js +8 -0
- package/dist/collection/components/sd-scroll-area/sd-scroll-area.css +61 -0
- package/dist/collection/components/sd-scroll-area/sd-scroll-area.js +151 -0
- 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.css +33 -9
- 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.config.js +35 -0
- package/dist/collection/components/sd-stepper/sd-stepper.css +50 -0
- package/dist/collection/components/sd-stepper/sd-stepper.js +186 -0
- 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-D8yhjm54.js → p-1ZYElZaM.js} +1 -1
- package/dist/components/p-7VzVE0oV.js +1 -0
- package/dist/components/{p-SYnTIeiO.js → p-B-DK72cc.js} +1 -1
- package/dist/components/{p-D9qp3o5Y.js → p-B7_BI_-L.js} +1 -1
- package/dist/components/{p-qZxAQy4p.js → p-B7fiz4d8.js} +1 -1
- package/dist/components/{p-DE8Ws9As.js → p-B7yWar7A.js} +1 -1
- package/dist/components/{p-DjKOoQuF.js → p-B9hmJn6D.js} +1 -1
- package/dist/components/{p-mcbwNjNT.js → p-BD30POlo.js} +1 -1
- package/dist/components/{p-DSWD8udu.js → p-BFBKrBpn.js} +1 -1
- package/dist/components/{p-CghFB91T.js → p-BPC5SuWU.js} +1 -1
- package/dist/components/{p-OnBLxJAP.js → p-BUNdqbhQ.js} +1 -1
- package/dist/components/{p-6U1qyU5A.js → p-BnioPrIq.js} +1 -1
- package/dist/components/{p-FGII920I.js → p-Bq8PIS3p.js} +1 -1
- package/dist/components/p-Br8E2gpA.js +1 -0
- package/dist/components/{p-CmCOLnc0.js → p-BsNOZUfc.js} +1 -1
- package/dist/components/{p-Dc9g3-5z.js → p-Bt0JuXIx.js} +1 -1
- package/dist/components/{p-Bxv2AFOb.js → p-C5P9PUI3.js} +1 -1
- package/dist/components/{p-B-EV9bey.js → p-CLhUHKxg.js} +1 -1
- package/dist/components/{p-CKV2W-zU.js → p-CWXl1y4p.js} +1 -1
- package/dist/components/{p-CTCt17CE.js → p-CZym_85X.js} +1 -1
- package/dist/components/{p-DasiqnrU.js → p-CbffRIae.js} +1 -1
- package/dist/components/{p-BvJ14GuJ.js → p-Cf3_sXLv.js} +1 -1
- package/dist/components/p-Cj1tlXCY.js +1 -0
- package/dist/components/{p-2g4jlJ3i.js → p-Cl_48yfz.js} +1 -1
- package/dist/components/{p-In6mljvA.js → p-CsBK3_Oz.js} +1 -1
- package/dist/components/{p-Hjv7LqkN.js → p-DI0Ozqgn.js} +1 -1
- package/dist/components/{p-C9IKm4j5.js → p-DQi-e0ko.js} +1 -1
- package/dist/components/{p-CwzkplrI.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-C6o10dl7.js → p-Do-jFKZ8.js} +1 -1
- package/dist/components/{p-DYjaQs6e.js → p-DoeAW35u.js} +1 -1
- package/dist/components/{p-1DsQj3tv.js → p-Dq0k3GHj.js} +1 -1
- package/dist/components/{p-DnlLqzGM.js → p-DrZYy9kv.js} +1 -1
- package/dist/components/{p-ClbD4Gsr.js → p-GBy_9AmI.js} +1 -1
- package/dist/components/{p-CH9dgzTr.js → p-Hh0L_XZ6.js} +1 -1
- package/dist/components/{p-Ckr9iuVb.js → p-MquwxbYp.js} +1 -1
- package/dist/components/{p-B887QQl2.js → p-YMr1C1Dx.js} +1 -1
- package/dist/components/{p-CzJ9g73f.js → p-hXul9Vdx.js} +1 -1
- package/dist/components/{p-DWnuCSqC.js → p-jbqIrDHw.js} +1 -1
- package/dist/components/{p-DOfLrOEu.js → p-n7Aqcaet.js} +1 -1
- package/dist/components/{p-Bth2l1cy.js → p-rayWyWtG.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.d.ts +11 -0
- package/dist/components/sd-scroll-area.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/sd-stepper.js +1 -0
- 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-15f43b9b.entry.js → p-013bc087.entry.js} +1 -1
- package/dist/design-system/{p-b2dc1202.entry.js → p-06dd824e.entry.js} +1 -1
- package/dist/design-system/{p-e0e4a451.entry.js → p-115023e4.entry.js} +1 -1
- package/dist/design-system/{p-46da4e95.entry.js → p-11f0b27f.entry.js} +1 -1
- package/dist/design-system/p-1226fe8a.entry.js +1 -0
- package/dist/design-system/{p-82cb62a9.entry.js → p-151e6c9a.entry.js} +1 -1
- package/dist/design-system/{p-cdb2433a.entry.js → p-199eaf3b.entry.js} +1 -1
- package/dist/design-system/{p-843d1a8a.entry.js → p-25bb7c8d.entry.js} +1 -1
- package/dist/design-system/{p-c1e625e5.entry.js → p-3874f72a.entry.js} +1 -1
- package/dist/design-system/p-39d9250a.entry.js +1 -0
- package/dist/design-system/{p-e387ec65.entry.js → p-3cb1bd19.entry.js} +1 -1
- package/dist/design-system/{p-16b9eac4.entry.js → p-3d1f8228.entry.js} +1 -1
- package/dist/design-system/{p-2534d3d4.entry.js → p-409d9ad3.entry.js} +1 -1
- package/dist/design-system/{p-b5229957.entry.js → p-444bb9d8.entry.js} +1 -1
- package/dist/design-system/{p-22ac9e05.entry.js → p-4dd46ee3.entry.js} +1 -1
- package/dist/design-system/p-4e04d600.entry.js +1 -0
- package/dist/design-system/{p-4ae0a64a.entry.js → p-4edcb754.entry.js} +1 -1
- package/dist/design-system/{p-a9cc4697.entry.js → p-5121075d.entry.js} +1 -1
- package/dist/design-system/{p-4a117dd6.entry.js → p-513e9cbd.entry.js} +1 -1
- package/dist/design-system/p-52cf9533.entry.js +1 -0
- package/dist/design-system/{p-c7f03dea.entry.js → p-56c15038.entry.js} +1 -1
- package/dist/design-system/p-6726cdf9.entry.js +1 -0
- package/dist/design-system/{p-a0c55a19.entry.js → p-67f1f4da.entry.js} +1 -1
- package/dist/design-system/{p-570b9e91.entry.js → p-697fe396.entry.js} +1 -1
- package/dist/design-system/{p-6c4fa9d7.entry.js → p-6bd2918c.entry.js} +1 -1
- package/dist/design-system/{p-46eb3421.entry.js → p-6cc37004.entry.js} +1 -1
- package/dist/design-system/{p-8af8e302.entry.js → p-7dbfbdc6.entry.js} +1 -1
- package/dist/design-system/{p-129b6330.entry.js → p-909740d3.entry.js} +1 -1
- package/dist/design-system/p-91b33f8c.entry.js +1 -0
- package/dist/design-system/{p-efe3601d.entry.js → p-94e8016a.entry.js} +1 -1
- package/dist/design-system/{p-8836d9ff.entry.js → p-9a75c827.entry.js} +1 -1
- package/dist/design-system/{p-d5325895.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-9c131122.entry.js → p-a4063e6e.entry.js} +1 -1
- package/dist/design-system/{p-52b1be6f.entry.js → p-a6ad7139.entry.js} +1 -1
- package/dist/design-system/{p-3859316f.entry.js → p-a8dc243c.entry.js} +1 -1
- package/dist/design-system/{p-a6c292d1.entry.js → p-c0b77a96.entry.js} +1 -1
- package/dist/design-system/{p-219288ef.entry.js → p-d2fd5d5a.entry.js} +1 -1
- package/dist/design-system/{p-5a113197.entry.js → p-d346f5bf.entry.js} +1 -1
- package/dist/design-system/{p-21672bb8.entry.js → p-d3f6262e.entry.js} +1 -1
- package/dist/design-system/{p-62ff77e4.entry.js → p-d52ed5b8.entry.js} +1 -1
- package/dist/design-system/{p-809a0a71.entry.js → p-e722acec.entry.js} +1 -1
- package/dist/design-system/p-f3b1e6d4.entry.js +1 -0
- package/dist/design-system/{p-66cff123.entry.js → p-f77ca71d.entry.js} +1 -1
- package/dist/design-system/{p-1858636f.entry.js → p-fc5cf632.entry.js} +1 -1
- package/dist/design-system/{p-655324cd.entry.js → p-fd73281c.entry.js} +1 -1
- package/dist/design-system/{p-Cn8LZw1e.js → p-qK7MPoKS.js} +1 -1
- package/dist/design-system/{p-Bth2l1cy.js → p-rayWyWtG.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-C599jhDs.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 +5 -4
- package/dist/esm/sd-chip.entry.js +1 -1
- package/dist/esm/sd-circle-progress.entry.js +2 -2
- 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 +3 -3
- package/dist/esm/sd-dropdown-button.entry.js +2 -2
- 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 +4 -3
- package/dist/esm/sd-key-value-table.entry.js +2 -2
- package/dist/esm/sd-linear-progress.entry.js +3 -3
- package/dist/esm/sd-loading-container.entry.js +3 -3
- package/dist/esm/sd-modal-container.entry.js +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 +4 -4
- 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 +42 -0
- package/dist/esm/sd-select-list-item_4.entry.js +15 -14
- package/dist/esm/sd-stepper.entry.js +188 -0
- 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/{system-Bth2l1cy.js → system-rayWyWtG.js} +3 -1
- package/dist/esm/{tooltipArrow-DbLihSLI.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-scroll-area/sd-scroll-area.config.d.ts +5 -0
- package/dist/types/components/sd-scroll-area/sd-scroll-area.d.ts +14 -0
- package/dist/types/components/sd-stepper/sd-stepper.config.d.ts +43 -0
- package/dist/types/components/sd-stepper/sd-stepper.d.ts +18 -0
- package/dist/types/components/sd-time-picker/sd-time-picker.config.d.ts +10 -3
- package/dist/types/components.d.ts +234 -2
- package/hydrate/index.js +481 -126
- package/hydrate/index.mjs +481 -126
- package/package.json +1 -1
- package/dist/components/p-C6wuKkUq.js +0 -1
- package/dist/components/p-DsZwiWiU.js +0 -1
- package/dist/components/p-bXzpfkfN.js +0 -1
- package/dist/design-system/p-4782331f.entry.js +0 -1
- package/dist/design-system/p-56e7c87b.entry.js +0 -1
- package/dist/design-system/p-C599jhDs.js +0 -2
- package/dist/design-system/p-b75cc0dd.entry.js +0 -1
- package/dist/design-system/p-b97a6cf3.entry.js +0 -1
- /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
|
@@ -7,7 +7,7 @@ export class SdDivider {
|
|
|
7
7
|
const hostStyle = {
|
|
8
8
|
'--sd-divider-color': DIVIDER_COLORS.default,
|
|
9
9
|
};
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '22df8aed1422f827eb82dbabf044ce2ed8943895', style: hostStyle }, h("hr", { key: '72ce366b0ecb69db905544867990c8fc9580ccf3', "aria-orientation": this.vertical ? 'vertical' : 'horizontal' })));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "sd-divider"; }
|
|
13
13
|
static get originalStyleUrls() {
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
sd-expansion-item {
|
|
2
|
+
display: block;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.sd-expansion-item {
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
background: var(--cmp-expansionItem-title-bg-default, #fff);
|
|
8
|
+
}
|
|
9
|
+
.sd-expansion-item__header {
|
|
10
|
+
display: flex;
|
|
11
|
+
width: 100%;
|
|
12
|
+
min-height: 40px;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: space-between;
|
|
15
|
+
gap: var(--sd-expansion-item-gap);
|
|
16
|
+
padding: var(--sd-expansion-item-padding-y) var(--sd-expansion-item-padding-x);
|
|
17
|
+
padding-left: calc(var(--sd-expansion-item-padding-x) + var(--sd-expansion-item-indent));
|
|
18
|
+
border: 0;
|
|
19
|
+
border-bottom: 0;
|
|
20
|
+
background: transparent;
|
|
21
|
+
color: var(--sys-color-fg-primary, #222);
|
|
22
|
+
font: 700 14px/24px "Pretendard Variable", sans-serif;
|
|
23
|
+
text-align: left;
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
}
|
|
26
|
+
.sd-expansion-item__header:hover:not(:disabled) {
|
|
27
|
+
background: var(--cmp-expansionItem-title-bg-hover, #f9f9f9);
|
|
28
|
+
}
|
|
29
|
+
.sd-expansion-item__header:focus-visible {
|
|
30
|
+
outline: 2px solid var(--sys-color-border-accent, #0075ff);
|
|
31
|
+
outline-offset: -2px;
|
|
32
|
+
}
|
|
33
|
+
.sd-expansion-item--expanded .sd-expansion-item__header {
|
|
34
|
+
border-bottom: 1px solid var(--cmp-expansionItem-title-border, #e1e1e1);
|
|
35
|
+
}
|
|
36
|
+
.sd-expansion-item--dense .sd-expansion-item__header {
|
|
37
|
+
min-height: 32px;
|
|
38
|
+
}
|
|
39
|
+
.sd-expansion-item--expanded .sd-expansion-item__header {
|
|
40
|
+
background: var(--cmp-expansionItem-title-bg-expanded, #eff6ff);
|
|
41
|
+
color: var(--cmp-expansionItem-title-text-expanded, #005cc9);
|
|
42
|
+
}
|
|
43
|
+
.sd-expansion-item--expanded .sd-expansion-item__header:hover:not(:disabled) {
|
|
44
|
+
background: var(--cmp-expansionItem-title-bg-expanded, #eff6ff);
|
|
45
|
+
}
|
|
46
|
+
.sd-expansion-item--disabled .sd-expansion-item__header {
|
|
47
|
+
color: var(--sys-color-disabled-text, #888);
|
|
48
|
+
cursor: not-allowed;
|
|
49
|
+
}
|
|
50
|
+
.sd-expansion-item__body {
|
|
51
|
+
background: var(--cmp-expansionItem-body-bg, #fff);
|
|
52
|
+
}
|
|
53
|
+
.sd-expansion-item__content {
|
|
54
|
+
padding: var(--cmp-expansionItem-body-padding, 16px);
|
|
55
|
+
}
|
|
56
|
+
.sd-expansion-item__title {
|
|
57
|
+
display: flex;
|
|
58
|
+
min-width: 0;
|
|
59
|
+
flex: 1;
|
|
60
|
+
flex-direction: column;
|
|
61
|
+
}
|
|
@@ -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,6 +40,46 @@ sd-popup .sd-popup__body {
|
|
|
40
40
|
min-height: 0;
|
|
41
41
|
overflow: auto;
|
|
42
42
|
}
|
|
43
|
+
sd-popup .sd-popup__body::-webkit-scrollbar {
|
|
44
|
+
width: 12px;
|
|
45
|
+
height: 12px;
|
|
46
|
+
background: transparent;
|
|
47
|
+
}
|
|
48
|
+
sd-popup .sd-popup__body::-webkit-scrollbar-track {
|
|
49
|
+
background: transparent;
|
|
50
|
+
}
|
|
51
|
+
sd-popup .sd-popup__body::-webkit-scrollbar-thumb {
|
|
52
|
+
background-color: #CCCCCC;
|
|
53
|
+
border: 2px solid transparent;
|
|
54
|
+
border-radius: 8px;
|
|
55
|
+
background-clip: padding-box;
|
|
56
|
+
}
|
|
57
|
+
@supports not selector(::-webkit-scrollbar) {
|
|
58
|
+
sd-popup .sd-popup__body {
|
|
59
|
+
scrollbar-width: thin;
|
|
60
|
+
scrollbar-color: #CCCCCC transparent;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
sd-popup .sd-popup__body::-webkit-scrollbar, sd-popup .sd-popup__body::-webkit-scrollbar-track {
|
|
64
|
+
background: #F6F6F6;
|
|
65
|
+
}
|
|
66
|
+
@supports not selector(::-webkit-scrollbar) {
|
|
67
|
+
sd-popup .sd-popup__body {
|
|
68
|
+
scrollbar-color: #CCCCCC #F6F6F6;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
sd-popup .sd-popup__body::-webkit-scrollbar-track:vertical {
|
|
72
|
+
border-left: 1px solid #E1E1E1;
|
|
73
|
+
}
|
|
74
|
+
sd-popup .sd-popup__body::-webkit-scrollbar-track:horizontal {
|
|
75
|
+
border-top: 1px solid #E1E1E1;
|
|
76
|
+
}
|
|
77
|
+
sd-popup .sd-popup__body::-webkit-scrollbar-thumb:vertical {
|
|
78
|
+
border-left-width: 3px;
|
|
79
|
+
}
|
|
80
|
+
sd-popup .sd-popup__body::-webkit-scrollbar-thumb:horizontal {
|
|
81
|
+
border-top-width: 3px;
|
|
82
|
+
}
|
|
43
83
|
sd-popup .sd-popup__footer {
|
|
44
84
|
display: flex;
|
|
45
85
|
align-items: center;
|