@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
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-YU6oWX32.js';
|
|
2
|
+
|
|
3
|
+
const stepper$1 = {
|
|
4
|
+
sm: {
|
|
5
|
+
sequence: {
|
|
6
|
+
size: "20"
|
|
7
|
+
},
|
|
8
|
+
typography: {
|
|
9
|
+
active: {
|
|
10
|
+
fontWeight: "700"},
|
|
11
|
+
"default": {
|
|
12
|
+
fontFamily: "Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif",
|
|
13
|
+
fontWeight: "500",
|
|
14
|
+
fontSize: "12",
|
|
15
|
+
lineHeight: "20"}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
dash: {
|
|
19
|
+
width: "20",
|
|
20
|
+
color: "#888888"
|
|
21
|
+
},
|
|
22
|
+
lg: {
|
|
23
|
+
sequence: {
|
|
24
|
+
size: "24"
|
|
25
|
+
},
|
|
26
|
+
typography: {
|
|
27
|
+
active: {
|
|
28
|
+
fontWeight: "700"},
|
|
29
|
+
"default": {
|
|
30
|
+
fontFamily: "Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif",
|
|
31
|
+
fontWeight: "500",
|
|
32
|
+
fontSize: "14",
|
|
33
|
+
lineHeight: "24"}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
container: {
|
|
37
|
+
gap: "12"
|
|
38
|
+
},
|
|
39
|
+
item: {
|
|
40
|
+
gap: "8"
|
|
41
|
+
},
|
|
42
|
+
sequence: {
|
|
43
|
+
radius: "9999",
|
|
44
|
+
border: {
|
|
45
|
+
active: "#93C4FF",
|
|
46
|
+
"default": "#E1E1E1",
|
|
47
|
+
completed: "#CCCCCC",
|
|
48
|
+
witdh: "1"
|
|
49
|
+
},
|
|
50
|
+
icon: "12",
|
|
51
|
+
bg: {
|
|
52
|
+
active: "#D9EAFF",
|
|
53
|
+
"default": "#FFFFFF",
|
|
54
|
+
completed: "#E1E1E1"
|
|
55
|
+
},
|
|
56
|
+
text: {
|
|
57
|
+
active: "#0075FF",
|
|
58
|
+
"default": "#AAAAAA"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
text: {
|
|
62
|
+
active: "#0075FF",
|
|
63
|
+
"default": "#888888"
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
var stepperTokens = {
|
|
67
|
+
stepper: stepper$1
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
const stepper = stepperTokens.stepper;
|
|
71
|
+
const STEPPER_SIZES = {
|
|
72
|
+
sm: {
|
|
73
|
+
sequenceSize: stepper.sm.sequence.size,
|
|
74
|
+
fontFamily: stepper.sm.typography.default.fontFamily,
|
|
75
|
+
fontSize: stepper.sm.typography.default.fontSize,
|
|
76
|
+
lineHeight: stepper.sm.typography.default.lineHeight,
|
|
77
|
+
fontWeightActive: stepper.sm.typography.active.fontWeight,
|
|
78
|
+
fontWeightDefault: stepper.sm.typography.default.fontWeight,
|
|
79
|
+
},
|
|
80
|
+
lg: {
|
|
81
|
+
sequenceSize: stepper.lg.sequence.size,
|
|
82
|
+
fontFamily: stepper.lg.typography.default.fontFamily,
|
|
83
|
+
fontSize: stepper.lg.typography.default.fontSize,
|
|
84
|
+
lineHeight: stepper.lg.typography.default.lineHeight,
|
|
85
|
+
fontWeightActive: stepper.lg.typography.active.fontWeight,
|
|
86
|
+
fontWeightDefault: stepper.lg.typography.default.fontWeight,
|
|
87
|
+
},
|
|
88
|
+
};
|
|
89
|
+
const STEPPER_LAYOUT = {
|
|
90
|
+
containerGap: stepper.container.gap,
|
|
91
|
+
itemGap: stepper.item.gap,
|
|
92
|
+
dashWidth: stepper.dash.width,
|
|
93
|
+
radius: stepper.sequence.radius,
|
|
94
|
+
borderWidth: stepper.sequence.border.witdh,
|
|
95
|
+
iconSize: stepper.sequence.icon,
|
|
96
|
+
};
|
|
97
|
+
const STEPPER_COLORS = {
|
|
98
|
+
dash: stepper.dash.color,
|
|
99
|
+
sequenceBorder: stepper.sequence.border,
|
|
100
|
+
sequenceBg: stepper.sequence.bg,
|
|
101
|
+
sequenceText: stepper.sequence.text,
|
|
102
|
+
text: stepper.text,
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
const sdStepperCss = () => `sd-stepper{display:inline-flex}sd-stepper .sd-stepper{display:inline-flex;align-items:center;gap:var(--sd-stepper-container-gap);font-family:var(--sd-stepper-font-family);font-size:var(--sd-stepper-font-size);line-height:var(--sd-stepper-line-height)}sd-stepper .sd-stepper__item{display:inline-flex;align-items:center;gap:var(--sd-stepper-item-gap);color:var(--sd-stepper-text-default);font-weight:var(--sd-stepper-font-weight-default);white-space:nowrap}sd-stepper .sd-stepper__item--active{color:var(--sd-stepper-text-active);font-weight:var(--sd-stepper-font-weight-active)}sd-stepper .sd-stepper__sequence{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:var(--sd-stepper-sequence-size);height:var(--sd-stepper-sequence-size);flex:0 0 var(--sd-stepper-sequence-size);border-radius:var(--sd-stepper-sequence-radius);border:var(--sd-stepper-sequence-border-width) solid var(--sd-stepper-sequence-border);background:var(--sd-stepper-sequence-bg);color:var(--sd-stepper-sequence-text);font-size:12px;line-height:20px;font-weight:700}sd-stepper .sd-stepper__label{color:inherit}sd-stepper .sd-stepper__dash{display:inline-flex;align-items:center;width:var(--sd-stepper-dash-width);height:1px;flex:0 0 var(--sd-stepper-dash-width);color:var(--sd-stepper-dash-color)}`;
|
|
106
|
+
|
|
107
|
+
const SdStepper = class {
|
|
108
|
+
constructor(hostRef) {
|
|
109
|
+
registerInstance(this, hostRef);
|
|
110
|
+
}
|
|
111
|
+
/** 단계 목록 */
|
|
112
|
+
items = [];
|
|
113
|
+
/** 현재 활성 단계 value */
|
|
114
|
+
value = '';
|
|
115
|
+
/** 크기 */
|
|
116
|
+
size = 'sm';
|
|
117
|
+
/** 접근성 레이블 */
|
|
118
|
+
ariaLabel = '진행 단계';
|
|
119
|
+
valueChanged(newValue) {
|
|
120
|
+
this.value = newValue;
|
|
121
|
+
}
|
|
122
|
+
getItemValue(item, index) {
|
|
123
|
+
return item.value ?? String(index + 1);
|
|
124
|
+
}
|
|
125
|
+
getActiveIndex() {
|
|
126
|
+
const found = this.items.findIndex((item, index) => this.getItemValue(item, index) === this.value);
|
|
127
|
+
return found >= 0 ? found : 0;
|
|
128
|
+
}
|
|
129
|
+
getState(index) {
|
|
130
|
+
const activeIndex = this.getActiveIndex();
|
|
131
|
+
if (index < activeIndex)
|
|
132
|
+
return 'completed';
|
|
133
|
+
if (index === activeIndex)
|
|
134
|
+
return 'active';
|
|
135
|
+
return 'default';
|
|
136
|
+
}
|
|
137
|
+
buildCssVars() {
|
|
138
|
+
const size = STEPPER_SIZES[this.size];
|
|
139
|
+
return {
|
|
140
|
+
'--sd-stepper-sequence-size': `${size.sequenceSize}px`,
|
|
141
|
+
'--sd-stepper-font-family': size.fontFamily,
|
|
142
|
+
'--sd-stepper-font-size': `${size.fontSize}px`,
|
|
143
|
+
'--sd-stepper-line-height': `${size.lineHeight}px`,
|
|
144
|
+
'--sd-stepper-font-weight-active': size.fontWeightActive,
|
|
145
|
+
'--sd-stepper-font-weight-default': size.fontWeightDefault,
|
|
146
|
+
'--sd-stepper-container-gap': `${STEPPER_LAYOUT.containerGap}px`,
|
|
147
|
+
'--sd-stepper-item-gap': `${STEPPER_LAYOUT.itemGap}px`,
|
|
148
|
+
'--sd-stepper-dash-width': `${STEPPER_LAYOUT.dashWidth}px`,
|
|
149
|
+
'--sd-stepper-dash-color': STEPPER_COLORS.dash,
|
|
150
|
+
'--sd-stepper-sequence-radius': `${STEPPER_LAYOUT.radius}px`,
|
|
151
|
+
'--sd-stepper-sequence-border-width': `${STEPPER_LAYOUT.borderWidth}px`,
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
getStateVars(state) {
|
|
155
|
+
return {
|
|
156
|
+
'--sd-stepper-sequence-border': STEPPER_COLORS.sequenceBorder[state],
|
|
157
|
+
'--sd-stepper-sequence-bg': STEPPER_COLORS.sequenceBg[state],
|
|
158
|
+
'--sd-stepper-sequence-text': state === 'completed'
|
|
159
|
+
? STEPPER_COLORS.text.default
|
|
160
|
+
: STEPPER_COLORS.sequenceText[state],
|
|
161
|
+
'--sd-stepper-text-active': STEPPER_COLORS.text.active,
|
|
162
|
+
'--sd-stepper-text-default': STEPPER_COLORS.text.default,
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
render() {
|
|
166
|
+
return (h("div", { key: 'c9edfcc75319e8ad0ec5b135c44df1285397b995', class: "sd-stepper", role: "list", "aria-label": this.ariaLabel, style: this.buildCssVars() }, this.items.map((item, index) => {
|
|
167
|
+
const state = this.getState(index);
|
|
168
|
+
const className = [
|
|
169
|
+
'sd-stepper__item',
|
|
170
|
+
`sd-stepper__item--${state}`,
|
|
171
|
+
]
|
|
172
|
+
.filter(Boolean)
|
|
173
|
+
.join(' ');
|
|
174
|
+
return [
|
|
175
|
+
h("span", { class: className, role: "listitem", "aria-current": state === 'active' ? 'step' : undefined, style: this.getStateVars(state) }, h("span", { class: "sd-stepper__sequence", "aria-hidden": "true" }, state === 'completed' ? (h("sd-icon", { name: "check", size: STEPPER_LAYOUT.iconSize, color: "currentColor" })) : (index + 1)), h("span", { class: "sd-stepper__label" }, item.label)),
|
|
176
|
+
index < this.items.length - 1 && (h("span", { class: "sd-stepper__dash", "aria-hidden": "true" }, h("svg", { width: STEPPER_LAYOUT.dashWidth, height: "1", viewBox: `0 0 ${STEPPER_LAYOUT.dashWidth} 1`, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("rect", { width: "1.6", height: "1", fill: "#888888" }), h("rect", { x: "5", width: "3.3", height: "1", fill: "#888888" }), h("rect", { x: "11.7", width: "3.3", height: "1", fill: "#888888" }), h("rect", { x: "18.4", width: "1.6", height: "1", fill: "#888888" })))),
|
|
177
|
+
];
|
|
178
|
+
})));
|
|
179
|
+
}
|
|
180
|
+
static get watchers() { return {
|
|
181
|
+
"value": [{
|
|
182
|
+
"valueChanged": 0
|
|
183
|
+
}]
|
|
184
|
+
}; }
|
|
185
|
+
};
|
|
186
|
+
SdStepper.style = sdStepperCss();
|
|
187
|
+
|
|
188
|
+
export { SdStepper as sd_stepper };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-YU6oWX32.js';
|
|
2
2
|
|
|
3
3
|
var switchTokens = {
|
|
4
4
|
"switch": {
|
|
@@ -22,10 +22,10 @@ var switchTokens = {
|
|
|
22
22
|
label: {
|
|
23
23
|
typography: {
|
|
24
24
|
fontFamily: "Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif",
|
|
25
|
-
fontWeight: "500",
|
|
26
25
|
fontSize: "12",
|
|
27
26
|
textDecoration: "none",
|
|
28
|
-
lineHeight: "20"
|
|
27
|
+
lineHeight: "20",
|
|
28
|
+
fontWeight: "500"
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
gap: "6"
|
|
@@ -117,7 +117,7 @@ const SdSwitch = class {
|
|
|
117
117
|
// label(deprecated)은 rightLabel 로 흡수 (하위호환)
|
|
118
118
|
const right = this.rightLabel ?? this.label;
|
|
119
119
|
const accessibleName = [this.leftLabel, right].filter(Boolean).join(' ') || 'switch';
|
|
120
|
-
return (h("label", { key: '
|
|
120
|
+
return (h("label", { key: '8da2080c4831bc39b04cc66c6b2794772524dbe1', "aria-label": accessibleName, class: this.switchClasses, style: cssVars }, h("input", { key: '54d784547ac811f323aa13e69813f41ef313c76d', type: "checkbox", checked: this.value, disabled: this.disabled, onInput: this.handleChange }), this.leftLabel && h("span", { key: 'bf4912d9c441f471a6eb96d277facb82d9ee62a3', class: "sd-switch__label" }, this.leftLabel), h("div", { key: 'c3a80ed0d787eb354812128c4348e6f65d727e4f', class: "sd-switch__track" }, h("div", { key: 'e4e56aa002ea7a010471bdf745f197f1a8486e2b', class: "sd-switch__knob" })), right && h("span", { key: '9e5734ea2767508a6c2172f9c3cb515693288e23', class: "sd-switch__label" }, right)));
|
|
121
121
|
}
|
|
122
122
|
};
|
|
123
123
|
SdSwitch.style = sdSwitchCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-YU6oWX32.js';
|
|
2
2
|
|
|
3
3
|
const tab = {
|
|
4
4
|
main: {
|
|
@@ -205,7 +205,7 @@ const SdTabs = class {
|
|
|
205
205
|
};
|
|
206
206
|
}
|
|
207
207
|
render() {
|
|
208
|
-
return (h("div", { key: '
|
|
208
|
+
return (h("div", { key: '814a74aa2e17e22e2c8ea8fbd22be4505940e2b0', class: this.getContainerClasses(), style: this.buildCssVars() }, this.tabs.map((tab, index) => {
|
|
209
209
|
const badgeName = this.getBadgeName(tab);
|
|
210
210
|
return (h("div", { key: `tab-${index}`, role: "tab", tabindex: 0, "aria-selected": tab.value === this.value ? 'true' : 'false', class: this.getTabClasses(tab), "aria-label": tab.label || 'tab', onClick: () => this.handleTabClick(tab), onKeyDown: e => {
|
|
211
211
|
if (e.key === 'Enter' || e.key === ' ') {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, a as getElement, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, a as getElement, h } from './index-YU6oWX32.js';
|
|
2
2
|
|
|
3
3
|
const textLink = {
|
|
4
4
|
sm: {
|
|
@@ -171,7 +171,7 @@ const SdTextLink = class {
|
|
|
171
171
|
};
|
|
172
172
|
const tooltipText = (this.tooltipText ?? '').trim();
|
|
173
173
|
const hasTooltip = tooltipText.length > 0;
|
|
174
|
-
return (h("span", { key: '
|
|
174
|
+
return (h("span", { key: '93860b9f84f8234a39b47ce75c9f9a3d4ac0088a', role: "button", tabindex: this.disabled ? -1 : 0, class: {
|
|
175
175
|
'sd-text-link': true,
|
|
176
176
|
'sd-text-link--disabled': this.disabled,
|
|
177
177
|
}, style: cssVars, onClick: this.handleClick, onKeyDown: e => {
|
|
@@ -179,13 +179,13 @@ const SdTextLink = class {
|
|
|
179
179
|
e.preventDefault();
|
|
180
180
|
this.handleClick();
|
|
181
181
|
}
|
|
182
|
-
}, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onFocus: this.handleFocus, onBlur: this.handleBlur }, hasTooltip && this.isTooltipOpen && (h("sd-portal", { key: '
|
|
182
|
+
}, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onFocus: this.handleFocus, onBlur: this.handleBlur }, hasTooltip && this.isTooltipOpen && (h("sd-portal", { key: '13fb262c32c6d915ed1e8b18bde36583ab474cf9', parentRef: this.hostEl, open: true, offset: [this.hostEl.offsetWidth / 2, 4], placement: "top" }, h("div", { key: '6b142c5005d96de09c28a85787277e11d9d97166', class: "sd-text-link__tooltip-inner", "aria-hidden": "true" }, h("sd-tag", { key: '488b146e3bb668b8ae0e806f33ec4fbd59015b06', name: "square_xs_grey", label: tooltipText })))), this.icon && (h("sd-icon", { key: '95d09755d74b541b93d76f87889b28a9e1cf06d5', name: this.icon, size: sizeConfig.iconSize, color: iconColor, class: "sd-text-link__icon" })), h("span", { key: 'db7e9655587951dcb9f614dd8e8b49a7a2a9de2c', class: labelClassName }, this.label), this.rightArrow && this.rightArrow !== 'none' && (h("span", { key: '5b97b910f0e5e650712a1b3ee4c1bcdf701049eb', class: "sd-text-link__arrow", style: {
|
|
183
183
|
width: `${TEXT_LINK_ARROW.arrowFrame}px`,
|
|
184
184
|
height: `${TEXT_LINK_ARROW.arrowFrame}px`,
|
|
185
185
|
display: 'inline-flex',
|
|
186
186
|
alignItems: 'center',
|
|
187
187
|
justifyContent: 'center',
|
|
188
|
-
} }, h("sd-icon", { key: '
|
|
188
|
+
} }, h("sd-icon", { key: 'b4407d744efb69994b18f7eaa61bd69be6773f82', name: this.rightArrow === 'chevron' ? 'chevronRight' : 'caretRight', size: TEXT_LINK_ARROW.arrowIconSize, color: arrowColor })))));
|
|
189
189
|
}
|
|
190
190
|
};
|
|
191
191
|
SdTextLink.style = sdTextLinkCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import { p as parseTimeValue, c as clampTimePart, f as formatTimeValue, d as TIMEPICKER_SELECTOR } from './sd-time-picker.config-
|
|
3
|
-
import './component.field-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-YU6oWX32.js';
|
|
2
|
+
import { p as parseTimeValue, c as clampTimePart, f as formatTimeValue, d as TIMEPICKER_SELECTOR } from './sd-time-picker.config-nR5BQAyT.js';
|
|
3
|
+
import './component.field-B9hmJn6D.js';
|
|
4
4
|
|
|
5
5
|
const sdTimePickerSelectorCss = () => `sd-time-picker-selector{display:block}sd-time-picker-selector .sd-time-picker-selector{display:flex;flex-direction:column;align-items:stretch;justify-content:center;overflow:hidden;background:var(--selector-bg);border-radius:var(--selector-radius);box-shadow:4px 8px 16px -4px rgba(34, 34, 34, 0.1), 0 0 24px -6px rgba(34, 34, 34, 0.12)}sd-time-picker-selector .sd-time-picker-selector__meridiem{display:flex;align-items:center;justify-content:center;padding:var(--selector-section-padding-y) var(--selector-section-padding-x);background:var(--selector-bg)}sd-time-picker-selector .sd-time-picker-selector__meridiem-group{display:flex;isolation:isolate}sd-time-picker-selector .sd-time-picker-selector__meridiem-button{width:61px;height:28px;border:1px solid #ccc;background:#fff;color:#555;font-size:12px;line-height:20px;font-weight:500;cursor:pointer}sd-time-picker-selector .sd-time-picker-selector__meridiem-button--first{border-radius:4px 0 0 4px;margin-right:-1px}sd-time-picker-selector .sd-time-picker-selector__meridiem-button--end{border-radius:0 4px 4px 0}sd-time-picker-selector .sd-time-picker-selector__meridiem-button--selected{z-index:1;border-color:#0075ff;color:#0075ff}sd-time-picker-selector .sd-time-picker-selector__divider{height:1px;width:100%;background:#e1e1e1}sd-time-picker-selector .sd-time-picker-selector__time{display:flex;align-items:center;justify-content:center;gap:var(--selector-time-gap);padding:var(--selector-section-padding-y) var(--selector-section-padding-x);background:var(--selector-bg)}sd-time-picker-selector .sd-time-picker-selector__column{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--selector-time-column-gap)}sd-time-picker-selector .sd-time-picker-selector__input{width:var(--selector-input-width);height:28px;box-sizing:border-box;border:1px solid #aaa;border-radius:4px;background:#fff;color:#222;font-size:12px;line-height:20px;text-align:center;outline:none}sd-time-picker-selector .sd-time-picker-selector__colon{width:var(--selector-colon-size);color:#555;font-size:16px;line-height:16px;text-align:center}`;
|
|
6
6
|
|
|
@@ -164,7 +164,7 @@ const SdTimePickerSelector = class {
|
|
|
164
164
|
'--selector-input-width': `${TIMEPICKER_SELECTOR.inputWidth}px`,
|
|
165
165
|
'--selector-colon-size': `${TIMEPICKER_SELECTOR.colonSize}px`,
|
|
166
166
|
};
|
|
167
|
-
return (h("div", { key: '
|
|
167
|
+
return (h("div", { key: '690a2ee3a338498102444cd3ffb2442e84d1e5c5', class: "sd-time-picker-selector", style: cssVars }, this.useMeridiem && (h("div", { key: '29acf35f8b8081f074dd081762e798247da1ca0b', class: "sd-time-picker-selector__meridiem" }, h("div", { key: 'b115a20d0214e1180c17c59f3a8aad3b3d730466', class: "sd-time-picker-selector__meridiem-group" }, this.renderMeridiemButton('오전', 'AM', 'first'), this.renderMeridiemButton('오후', 'PM', 'end')))), this.useMeridiem && h("div", { key: '2a3c9f4b16521af48544fb430a2572b066a20647', class: "sd-time-picker-selector__divider" }), h("div", { key: '46e80292e25405564861cd75fdfc661fba93a5b1', class: "sd-time-picker-selector__time" }, this.renderColumn('hour'), h("span", { key: '48629faacd39b228deb0b29647500d3c5667d941', class: "sd-time-picker-selector__colon" }, ":"), this.renderColumn('minute'))));
|
|
168
168
|
}
|
|
169
169
|
static get watchers() { return {
|
|
170
170
|
"value": [{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import { b as TIMEPICKER_SIZE_MAP, T as TIMEPICKER_COLORS } from './sd-time-picker.config-
|
|
3
|
-
import './component.field-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-YU6oWX32.js';
|
|
2
|
+
import { b as TIMEPICKER_SIZE_MAP, T as TIMEPICKER_COLORS } from './sd-time-picker.config-nR5BQAyT.js';
|
|
3
|
+
import './component.field-B9hmJn6D.js';
|
|
4
4
|
|
|
5
5
|
const sdTimePickerTriggerCss = () => `sd-time-picker-trigger{display:block;width:100%;height:100%}sd-time-picker-trigger .sd-time-picker-trigger{display:flex;align-items:center;gap:var(--trigger-gap);width:100%;height:100%;padding:0 var(--trigger-padding-x);cursor:pointer;user-select:none;overflow:hidden;border-radius:var(--trigger-radius)}sd-time-picker-trigger .sd-time-picker-trigger--disabled{cursor:not-allowed}sd-time-picker-trigger .sd-time-picker-trigger__icon,sd-time-picker-trigger .sd-time-picker-trigger__clear{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center}sd-time-picker-trigger .sd-time-picker-trigger__text{flex:1;min-width:var(--trigger-text-min-width, 80px);font-size:var(--trigger-font-size);line-height:var(--trigger-line-height);font-weight:var(--trigger-font-weight);color:var(--trigger-text-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}`;
|
|
6
6
|
|
|
@@ -57,7 +57,7 @@ const SdTimePickerTrigger = class {
|
|
|
57
57
|
? TIMEPICKER_COLORS.icon.disabled
|
|
58
58
|
: TIMEPICKER_COLORS.icon.default,
|
|
59
59
|
};
|
|
60
|
-
return (h("div", { key: '
|
|
60
|
+
return (h("div", { key: '3671871d1abb524d7e76eaf0e902a1081d340ebb', role: "button", tabindex: this.disabled ? -1 : 0, class: {
|
|
61
61
|
'sd-time-picker-trigger': true,
|
|
62
62
|
'sd-time-picker-trigger--disabled': this.disabled,
|
|
63
63
|
}, style: cssVars, onClick: this.handleClick, onKeyDown: e => {
|
|
@@ -65,7 +65,7 @@ const SdTimePickerTrigger = class {
|
|
|
65
65
|
e.preventDefault();
|
|
66
66
|
this.handleClick();
|
|
67
67
|
}
|
|
68
|
-
} }, h("sd-icon", { key: '
|
|
68
|
+
} }, h("sd-icon", { key: 'a522d81a6af432b758a16f785ca8b96110589ae6', name: "clockOutline", size: Number(sizeTokens.iconSize), color: "var(--trigger-icon-color)", class: "sd-time-picker-trigger__icon" }), h("span", { key: '3c4f96441cb01e9e94ae4e5294fb032e160bcde9', class: "sd-time-picker-trigger__text" }, hasValue ? this.displayText : this.placeholder), this.clearable && hasValue && !this.disabled && (h("sd-ghost-button", { key: '7133f68a7c73e12e4aaa1f49652c06836ed2d465', class: "sd-time-picker-trigger__clear", icon: "close", size: "xs", ariaLabel: "\uC2DC\uAC04 \uC9C0\uC6B0\uAE30", onSdClick: this.handleClear }))));
|
|
69
69
|
}
|
|
70
70
|
};
|
|
71
71
|
SdTimePickerTrigger.style = sdTimePickerTriggerCss();
|
|
@@ -1,11 +1,24 @@
|
|
|
1
|
-
import { f as fieldTokens } from './component.field-
|
|
1
|
+
import { f as fieldTokens } from './component.field-B9hmJn6D.js';
|
|
2
2
|
|
|
3
3
|
const timepicker = {
|
|
4
|
+
sm: {
|
|
5
|
+
height: "28",
|
|
6
|
+
paddingX: "12",
|
|
7
|
+
gap: "8",
|
|
8
|
+
icon: "16",
|
|
9
|
+
radius: "4"
|
|
10
|
+
},
|
|
11
|
+
md: {
|
|
12
|
+
height: "36",
|
|
13
|
+
paddingX: "16",
|
|
14
|
+
gap: "12",
|
|
15
|
+
icon: "20",
|
|
16
|
+
radius: "6"
|
|
17
|
+
},
|
|
4
18
|
border: {
|
|
19
|
+
width: "1",
|
|
5
20
|
"default": "#AAAAAA",
|
|
6
|
-
focus: "#0075FF",
|
|
7
|
-
width: "1"
|
|
8
|
-
},
|
|
21
|
+
focus: "#0075FF"},
|
|
9
22
|
bg: {
|
|
10
23
|
"default": "#FFFFFF",
|
|
11
24
|
disabled: "#E1E1E1"
|
|
@@ -20,17 +33,6 @@ const timepicker = {
|
|
|
20
33
|
},
|
|
21
34
|
selector: {
|
|
22
35
|
bg: "#FFFFFF",
|
|
23
|
-
range: {
|
|
24
|
-
heading: {
|
|
25
|
-
color: "#555555",
|
|
26
|
-
gap: "16"
|
|
27
|
-
},
|
|
28
|
-
paddingXY: "24",
|
|
29
|
-
panelGap: "24",
|
|
30
|
-
section: {
|
|
31
|
-
gap: "12"
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
36
|
radius: "8",
|
|
35
37
|
section: {
|
|
36
38
|
paddingX: "16",
|
|
@@ -47,21 +49,18 @@ const timepicker = {
|
|
|
47
49
|
},
|
|
48
50
|
colon: {
|
|
49
51
|
size: "16"
|
|
52
|
+
},
|
|
53
|
+
range: {
|
|
54
|
+
paddingXY: "24",
|
|
55
|
+
panelGap: "24",
|
|
56
|
+
heading: {
|
|
57
|
+
color: "#555555",
|
|
58
|
+
gap: "16"
|
|
59
|
+
},
|
|
60
|
+
section: {
|
|
61
|
+
gap: "12"
|
|
62
|
+
}
|
|
50
63
|
}
|
|
51
|
-
},
|
|
52
|
-
sm: {
|
|
53
|
-
height: "28",
|
|
54
|
-
paddingX: "12",
|
|
55
|
-
gap: "8",
|
|
56
|
-
icon: "16",
|
|
57
|
-
radius: "4"
|
|
58
|
-
},
|
|
59
|
-
md: {
|
|
60
|
-
height: "36",
|
|
61
|
-
paddingX: "16",
|
|
62
|
-
gap: "12",
|
|
63
|
-
icon: "20",
|
|
64
|
-
radius: "6"
|
|
65
64
|
}
|
|
66
65
|
};
|
|
67
66
|
var timepickerTokens = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, a as getElement, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, a as getElement, h } from './index-YU6oWX32.js';
|
|
2
2
|
import { n as nanoid } from './index-CCwNgVmC.js';
|
|
3
|
-
import { f as formatTimeValue, a as formatTimeDisplay, T as TIMEPICKER_COLORS, b as TIMEPICKER_SIZE_MAP, p as parseTimeValue } from './sd-time-picker.config-
|
|
4
|
-
import './component.field-
|
|
3
|
+
import { f as formatTimeValue, a as formatTimeDisplay, T as TIMEPICKER_COLORS, b as TIMEPICKER_SIZE_MAP, p as parseTimeValue } from './sd-time-picker.config-nR5BQAyT.js';
|
|
4
|
+
import './component.field-B9hmJn6D.js';
|
|
5
5
|
|
|
6
6
|
const sdTimePickerCss = () => `sd-time-picker{display:inline-flex}sd-time-picker sd-portal{display:none}sd-time-picker .sd-time-picker{position:relative;min-width:var(--sd-time-picker-min-width);width:100%;height:100%}`;
|
|
7
7
|
|
|
@@ -153,9 +153,9 @@ const SdTimePicker = class {
|
|
|
153
153
|
'--sd-system-color-field-border-focus': TIMEPICKER_COLORS.border.focus,
|
|
154
154
|
'--sd-system-color-field-bg-default': TIMEPICKER_COLORS.bg.default,
|
|
155
155
|
};
|
|
156
|
-
return (h("sd-field", { key: '
|
|
156
|
+
return (h("sd-field", { key: '4891d77f0e98a9028fff6fcf720144f6d84e527e', 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, status: this.status, disabled: this.disabled, focused: this.focused, hovered: this.hovered, 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: '86f2c4975ffb9ce8e9644e0e70fc9386266d6d71', class: "sd-time-picker", ref: el => {
|
|
157
157
|
this.triggerRef = el;
|
|
158
|
-
} }, h("sd-time-picker-trigger", { key: '
|
|
158
|
+
} }, h("sd-time-picker-trigger", { key: '6df1aa71c8f94ca5191e61c79125c90ff56124d9', displayText: formatTimeDisplay(this.value, this.effectiveUseMeridiem ? 'midday' : 'default'), placeholder: this.placeholder, disabled: this.disabled, clearable: this.clearable, size: this.size, onSdTriggerClick: this.handleTriggerClick, onSdClear: this.handleClear })), (this.isOpen || this.isAnimatingOut) && (h("sd-portal", { key: 'ffe406dc3b6e076fea9890ae1433bf11e2a9ca3e', open: this.isOpen, parentRef: this.triggerRef, onSdClose: () => this.closeDropdown() }, h("sd-time-picker-selector", { key: '523d6e6bb0fb8abf830d29086c7b2e48cbb5bdc9', value: this.value, useMeridiem: this.effectiveUseMeridiem, minuteStep: this.minuteStep, onSdUpdate: this.handleSelect })))));
|
|
159
159
|
}
|
|
160
160
|
static get watchers() { return {
|
|
161
161
|
"isOpen": [{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import { p as parseTimeValue, f as formatTimeValue, c as clampTimePart, T as TIMEPICKER_COLORS, d as TIMEPICKER_SELECTOR } from './sd-time-picker.config-
|
|
3
|
-
import './component.field-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-YU6oWX32.js';
|
|
2
|
+
import { p as parseTimeValue, f as formatTimeValue, c as clampTimePart, T as TIMEPICKER_COLORS, d as TIMEPICKER_SELECTOR } from './sd-time-picker.config-nR5BQAyT.js';
|
|
3
|
+
import './component.field-B9hmJn6D.js';
|
|
4
4
|
|
|
5
5
|
const sdTimeRangePickerSelectorCss = () => `sd-time-range-picker-selector{display:block}sd-time-range-picker-selector .sd-time-range-picker-selector{display:flex;align-items:flex-start;justify-content:center;gap:var(--selector-range-panel-gap);padding:var(--selector-range-padding);overflow:hidden;background:var(--selector-bg);border-radius:var(--selector-radius);box-shadow:var(--sd-system-shadow-spread-sm-x) var(--sd-system-shadow-spread-sm-y) var(--sd-system-shadow-spread-sm-blur) var(--sd-system-shadow-spread-sm-spread) var(--sd-system-shadow-spread-sm-color), var(--sd-system-shadow-spread-md-x) var(--sd-system-shadow-spread-md-y) var(--sd-system-shadow-spread-md-blur) var(--sd-system-shadow-spread-md-spread) var(--sd-system-shadow-spread-md-color)}sd-time-range-picker-selector .sd-time-range-picker-selector__panel{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--selector-range-section-gap)}sd-time-range-picker-selector .sd-time-range-picker-selector__heading{display:flex;flex-direction:column;align-items:center;gap:var(--selector-range-heading-gap)}sd-time-range-picker-selector .sd-time-range-picker-selector__heading-text{color:var(--selector-range-heading-color);font-size:12px;line-height:20px;font-weight:700;text-align:center;white-space:nowrap}sd-time-range-picker-selector .sd-time-range-picker-selector__meridiem-group{display:flex;isolation:isolate}sd-time-range-picker-selector .sd-time-range-picker-selector__meridiem-button{width:61px;height:28px;border:var(--selector-border-width) solid var(--selector-border-default);background:var(--selector-bg);color:var(--selector-range-heading-color);font-size:12px;line-height:20px;font-weight:500;cursor:pointer}sd-time-range-picker-selector .sd-time-range-picker-selector__meridiem-button--first{border-radius:4px 0 0 4px;margin-right:-1px}sd-time-range-picker-selector .sd-time-range-picker-selector__meridiem-button--end{border-radius:0 4px 4px 0}sd-time-range-picker-selector .sd-time-range-picker-selector__meridiem-button--selected{z-index:1;border-color:var(--selector-border-focus);color:var(--selector-border-focus)}sd-time-range-picker-selector .sd-time-range-picker-selector__divider{align-self:stretch;width:1px;background:var(--selector-bg-disabled)}sd-time-range-picker-selector .sd-time-range-picker-selector__time{display:flex;align-items:center;justify-content:center;gap:var(--selector-time-gap);padding:0 16px;background:var(--selector-bg)}sd-time-range-picker-selector .sd-time-range-picker-selector__column{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--selector-time-column-gap)}sd-time-range-picker-selector .sd-time-range-picker-selector__input{width:var(--selector-input-width);height:28px;box-sizing:border-box;border:var(--selector-border-width) solid var(--selector-border-default);border-radius:4px;background:var(--selector-bg);color:var(--selector-text-default);font-size:12px;line-height:20px;text-align:center;outline:none}sd-time-range-picker-selector .sd-time-range-picker-selector__colon{width:var(--selector-colon-size);color:var(--selector-range-heading-color);font-size:16px;line-height:16px;text-align:center}`;
|
|
6
6
|
|
|
@@ -209,7 +209,7 @@ const SdTimeRangePickerSelector = class {
|
|
|
209
209
|
'--selector-bg-disabled': TIMEPICKER_COLORS.bg.disabled,
|
|
210
210
|
'--selector-text-default': TIMEPICKER_COLORS.text.default,
|
|
211
211
|
};
|
|
212
|
-
return (h("div", { key: '
|
|
212
|
+
return (h("div", { key: 'eceb5c9016499ae57fe40ec65a9c0066ba6509b1', class: "sd-time-range-picker-selector", style: cssVars }, this.renderPanel('start', '시작 시간'), h("div", { key: 'ce5d81d905de10a507fa3dfeda1c98ebbaace906', class: "sd-time-range-picker-selector__divider" }), this.renderPanel('end', '종료 시간')));
|
|
213
213
|
}
|
|
214
214
|
};
|
|
215
215
|
SdTimeRangePickerSelector.style = sdTimeRangePickerSelectorCss();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, a as getElement, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, a as getElement, h } from './index-YU6oWX32.js';
|
|
2
2
|
import { n as nanoid } from './index-CCwNgVmC.js';
|
|
3
|
-
import { f as formatTimeValue, a as formatTimeDisplay, p as parseTimeValue, T as TIMEPICKER_COLORS, b as TIMEPICKER_SIZE_MAP } from './sd-time-picker.config-
|
|
4
|
-
import './component.field-
|
|
3
|
+
import { f as formatTimeValue, a as formatTimeDisplay, p as parseTimeValue, T as TIMEPICKER_COLORS, b as TIMEPICKER_SIZE_MAP } from './sd-time-picker.config-nR5BQAyT.js';
|
|
4
|
+
import './component.field-B9hmJn6D.js';
|
|
5
5
|
|
|
6
6
|
function getTimeMinutes(value) {
|
|
7
7
|
const { hour, minute } = parseTimeValue(value);
|
|
@@ -181,9 +181,9 @@ const SdTimeRangePicker = class {
|
|
|
181
181
|
'--sd-system-color-field-border-focus': TIMEPICKER_COLORS.border.focus,
|
|
182
182
|
'--sd-system-color-field-bg-default': TIMEPICKER_COLORS.bg.default,
|
|
183
183
|
};
|
|
184
|
-
return (h("sd-field", { key: '
|
|
184
|
+
return (h("sd-field", { key: '4259e2257aa9edccd9c567f57ec18837fa831281', 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, status: this.status, disabled: this.disabled, focused: this.focused, hovered: this.hovered, 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: 'e1412d82e5eae70bbdb140f6bf06c0867f75c35c', class: "sd-time-range-picker", ref: el => {
|
|
185
185
|
this.triggerRef = el;
|
|
186
|
-
} }, h("sd-time-picker-trigger", { key: '
|
|
186
|
+
} }, h("sd-time-picker-trigger", { key: '719492ec16aaba4a05cf97348c6c9179238b6b09', displayText: this.displayText, placeholder: this.placeholder, disabled: this.disabled, clearable: this.clearable, size: this.size, onSdTriggerClick: this.handleTriggerClick, onSdClear: this.handleClear })), (this.isOpen || this.isAnimatingOut) && (h("sd-portal", { key: '13ddc4c3a22661bdc170d47a533e36ada9c431c6', open: this.isOpen, parentRef: this.triggerRef, onSdClose: () => this.closeDropdown() }, h("sd-time-range-picker-selector", { key: 'e5423e09b2c7282b8c59cfac2ebd9de9c7a3d091', value: this.value, useMeridiem: this.effectiveUseMeridiem, minuteStep: this.minuteStep, "range-order": this.rangeOrder, onSdUpdate: this.handleSelect })))));
|
|
187
187
|
}
|
|
188
188
|
static get watchers() { return {
|
|
189
189
|
"isOpen": [{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, a as getElement, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, a as getElement, h } from './index-YU6oWX32.js';
|
|
2
2
|
|
|
3
3
|
const DEFAULT_DURATION = 4000;
|
|
4
4
|
const DEFAULT_MAX_VISIBLE = 3;
|
|
@@ -241,7 +241,7 @@ const SdToastContainer = class {
|
|
|
241
241
|
const activeToasts = toasts.filter(t => t.state !== 'exiting').reverse();
|
|
242
242
|
const indexMap = new Map();
|
|
243
243
|
activeToasts.forEach((t, i) => indexMap.set(t.id, i));
|
|
244
|
-
return (h("div", { key: '
|
|
244
|
+
return (h("div", { key: '7a69bd0ea72cfb94e4e78287f6d6a0ea1a1a60a9', class: "sd-toast-container", style: this.getContainerStyles(), onMouseEnter: () => {
|
|
245
245
|
this.expanded = true;
|
|
246
246
|
this.pauseTimers();
|
|
247
247
|
}, onMouseLeave: () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-YU6oWX32.js';
|
|
2
2
|
|
|
3
3
|
const toast = {
|
|
4
4
|
icon: "16",
|
|
@@ -91,12 +91,12 @@ const SdToast = class {
|
|
|
91
91
|
const linkColor = typeConfig.linkColor ?? typeConfig.content;
|
|
92
92
|
const useDefaultCloseIntent = ['default', 'caution', 'info'].includes(this.type);
|
|
93
93
|
const buttonName = TOAST_BUTTON_NAME_BY_TYPE[this.type] ?? TOAST_BUTTON_NAME_BY_TYPE.default;
|
|
94
|
-
return (h("div", { key: '
|
|
94
|
+
return (h("div", { key: 'c9e3741a53f59d37f2b384379aa6adef9cf3bb4b', style: {
|
|
95
95
|
'--sd-toast-bg': typeConfig.bg,
|
|
96
96
|
'--sd-toast-text': typeConfig.content,
|
|
97
97
|
'--sd-toast-icon': iconColor,
|
|
98
98
|
'--sd-toast-link': linkColor,
|
|
99
|
-
} }, h("div", { key: '
|
|
99
|
+
} }, h("div", { key: '6340355a0ffa73765040930cca2e742427d796e2', class: "sd-toast", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.icon && (h("div", { key: '2b2b03b9e7d46a71f7178b4e45f0fe3b383abc49', class: "sd-toast__icon" }, h("sd-icon", { key: '641a3f15b31009e81d590ca8dc7318c55c773e22', name: this.icon, size: iconSize, color: iconColor }))), h("div", { key: 'ec6396936145b1fb7e1071221de0d67a3415ab77', class: "sd-toast__content" }, h("span", { key: '0cc6791d14db783003c1aaefaa32757f39a7f043', class: "sd-toast__message" }, this.message)), this.link && (h("a", { key: '19989545eb1f2d6f984565314de3da581ef666e4', href: this.link, class: "sd-toast__link", target: "_blank", rel: "noopener noreferrer" }, this.linkLabel || this.link)), this.buttonLabel && (h("sd-button", { key: '3ca5c3b9d77a04c2c4d70a48641c51053794bd33', class: "sd-toast__button", name: buttonName, label: this.buttonLabel, onSdClick: (event) => this.buttonClick.emit(event.detail) })), this.useClose && (h("sd-ghost-button", { key: 'd5daf926f8a23f9d6bbec06cc560afc6c89aa064', class: "sd-toast__close", icon: "close", intent: useDefaultCloseIntent ? 'default' : 'inverse', ariaLabel: "close", size: "xs", onClick: () => this.close.emit() })))));
|
|
100
100
|
}
|
|
101
101
|
};
|
|
102
102
|
SdToast.style = sdToastCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-YU6oWX32.js';
|
|
2
2
|
|
|
3
3
|
const toggle = {
|
|
4
4
|
height: "28",
|
|
@@ -121,7 +121,7 @@ const SdToggle = class {
|
|
|
121
121
|
'--sd-toggle-content-select': TOGGLE_COLORS.content.select,
|
|
122
122
|
'--sd-toggle-content-disabled': TOGGLE_COLORS.content.disabled,
|
|
123
123
|
};
|
|
124
|
-
return (h("label", { key: '
|
|
124
|
+
return (h("label", { key: 'f1e459f54be93de764c504b9719db5f4754c07d9', class: this.toggleClasses, style: cssVars, "aria-label": this.label || 'toggle' }, this.label, h("input", { key: 'b0ab7d28248db1286eaf4da5d93adc1fc93a155c', style: { display: 'none' }, type: "checkbox", onInput: this.handleChange })));
|
|
125
125
|
}
|
|
126
126
|
};
|
|
127
127
|
SdToggle.style = sdToggleCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h } from './index-
|
|
1
|
+
import { h } from './index-YU6oWX32.js';
|
|
2
2
|
|
|
3
3
|
const TooltipArrow = (props) => (h("svg", { width: "16", height: "12", viewBox: "0 0 16 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, h("path", { d: "M8.83205 10.7519C8.43623 11.3457 7.56377 11.3457 7.16795 10.7519L1.04907e-06 -1.39876e-06L16 0L8.83205 10.7519Z", fill: "currentColor" })));
|
|
4
4
|
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export declare const EXPANSION_ITEM: {
|
|
2
|
+
title: {
|
|
3
|
+
paddingX: string;
|
|
4
|
+
paddingY: {
|
|
5
|
+
normal: string;
|
|
6
|
+
dense: string;
|
|
7
|
+
};
|
|
8
|
+
gap: string;
|
|
9
|
+
icon: string;
|
|
10
|
+
typography: {
|
|
11
|
+
depth1: {
|
|
12
|
+
fontFamily: string;
|
|
13
|
+
fontWeight: string;
|
|
14
|
+
fontSize: string;
|
|
15
|
+
lineHeight: string;
|
|
16
|
+
textDecoration: string;
|
|
17
|
+
};
|
|
18
|
+
subitem: {
|
|
19
|
+
default: {
|
|
20
|
+
fontFamily: string;
|
|
21
|
+
fontWeight: string;
|
|
22
|
+
fontSize: string;
|
|
23
|
+
textDecoration: string;
|
|
24
|
+
lineHeight: string;
|
|
25
|
+
};
|
|
26
|
+
hover: {
|
|
27
|
+
fontFamily: string;
|
|
28
|
+
fontWeight: string;
|
|
29
|
+
fontSize: string;
|
|
30
|
+
textDecoration: string;
|
|
31
|
+
lineHeight: string;
|
|
32
|
+
};
|
|
33
|
+
expanded: {
|
|
34
|
+
fontFamily: string;
|
|
35
|
+
fontWeight: string;
|
|
36
|
+
fontSize: string;
|
|
37
|
+
textDecoration: string;
|
|
38
|
+
lineHeight: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
border: string;
|
|
43
|
+
bg: {
|
|
44
|
+
default: string;
|
|
45
|
+
hover: string;
|
|
46
|
+
expanded: string;
|
|
47
|
+
};
|
|
48
|
+
text: {
|
|
49
|
+
default: string;
|
|
50
|
+
expanded: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
body: {
|
|
54
|
+
bg: string;
|
|
55
|
+
padding: string;
|
|
56
|
+
};
|
|
57
|
+
};
|