@sellmate/design-system 1.20.0 → 1.21.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/design-system.cjs.js +1 -1
- package/dist/cjs/{index-DXm0PH2A.js → index-C-F-JEv_.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/sd-action-modal.cjs.entry.js +8 -2
- package/dist/cjs/sd-badge.cjs.entry.js +3 -2
- package/dist/cjs/sd-barcode-input.cjs.entry.js +35 -2
- package/dist/cjs/sd-button_2.cjs.entry.js +13 -4
- package/dist/cjs/sd-calendar_2.cjs.entry.js +17 -6
- package/dist/cjs/sd-callout.cjs.entry.js +4 -2
- package/dist/cjs/sd-card.cjs.entry.js +4 -2
- package/dist/cjs/sd-checkbox.cjs.entry.js +21 -12
- package/dist/cjs/sd-chip-input.cjs.entry.js +38 -4
- package/dist/cjs/sd-chip.cjs.entry.js +19 -2
- package/dist/cjs/sd-circle-progress.cjs.entry.js +6 -2
- package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +27 -4
- package/dist/cjs/sd-date-box.cjs.entry.js +13 -3
- package/dist/cjs/sd-date-picker_7.cjs.entry.js +209 -13
- package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +7 -2
- package/dist/cjs/sd-divider.cjs.entry.js +1 -1
- package/dist/cjs/sd-dropdown-button.cjs.entry.js +11 -1
- package/dist/cjs/sd-field_3.cjs.entry.js +70 -12
- package/dist/cjs/sd-form.cjs.entry.js +10 -2
- package/dist/cjs/sd-ghost-button_3.cjs.entry.js +54 -15
- package/dist/cjs/sd-guide.cjs.entry.js +9 -3
- package/dist/cjs/sd-key-value-table.cjs.entry.js +3 -1
- package/dist/cjs/sd-linear-progress.cjs.entry.js +7 -4
- package/dist/cjs/sd-loading-container.cjs.entry.js +5 -3
- package/dist/cjs/sd-modal-container.cjs.entry.js +56 -2
- package/dist/cjs/sd-pagination_4.cjs.entry.js +38 -9
- package/dist/cjs/sd-popover.cjs.entry.js +21 -5
- package/dist/cjs/sd-popup.cjs.entry.js +7 -3
- package/dist/cjs/sd-radio-button.cjs.entry.js +8 -2
- package/dist/cjs/sd-radio.cjs.entry.js +7 -2
- package/dist/cjs/sd-select-list-item_2.cjs.entry.js +18 -7
- package/dist/cjs/sd-select_3.cjs.entry.js +56 -9
- package/dist/cjs/sd-switch.cjs.entry.js +6 -2
- package/dist/cjs/sd-table.cjs.entry.js +42 -7
- package/dist/cjs/sd-tabs.cjs.entry.js +8 -2
- package/dist/cjs/sd-td.cjs.entry.js +11 -2
- package/dist/cjs/sd-text-link.cjs.entry.js +13 -4
- package/dist/cjs/sd-toast-container.cjs.entry.js +11 -2
- package/dist/cjs/sd-toast.cjs.entry.js +12 -3
- package/dist/cjs/sd-toggle.cjs.entry.js +6 -2
- package/dist/cjs/{tooltipArrow-D3P3JC08.js → tooltipArrow-26hYtSrD.js} +1 -1
- package/dist/collection/components/assets/Close.js +1 -1
- package/dist/collection/components/sd-action-modal/sd-action-modal.js +13 -7
- package/dist/collection/components/sd-badge/sd-badge.js +3 -2
- package/dist/collection/components/sd-barcode-input/sd-barcode-input.js +67 -34
- package/dist/collection/components/sd-button/sd-button.js +18 -10
- package/dist/collection/components/sd-calendar/sd-calendar.js +15 -9
- package/dist/collection/components/sd-callout/sd-callout.js +5 -3
- package/dist/collection/components/sd-card/sd-card.js +5 -3
- package/dist/collection/components/sd-checkbox/sd-checkbox.config.js +5 -3
- package/dist/collection/components/sd-checkbox/sd-checkbox.css +16 -0
- package/dist/collection/components/sd-checkbox/sd-checkbox.js +5 -3
- package/dist/collection/components/sd-chip/sd-chip.js +35 -18
- package/dist/collection/components/sd-chip-input/sd-chip-input.css +1 -0
- package/dist/collection/components/sd-chip-input/sd-chip-input.js +69 -35
- package/dist/collection/components/sd-circle-progress/sd-circle-progress.js +9 -5
- package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.js +32 -17
- package/dist/collection/components/sd-date-box/sd-date-box.js +22 -12
- package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.js +12 -7
- package/dist/collection/components/sd-date-picker/sd-date-picker.js +48 -25
- package/dist/collection/components/sd-date-range-picker/sd-date-range-picker-calendar/sd-date-range-picker-calendar.js +11 -6
- package/dist/collection/components/sd-date-range-picker/sd-date-range-picker.js +50 -26
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +20 -10
- package/dist/collection/components/sd-field/sd-field.js +51 -28
- package/dist/collection/components/sd-file-picker/sd-file-picker.js +60 -30
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +32 -11
- package/dist/collection/components/sd-form/sd-form.js +17 -9
- package/dist/collection/components/sd-ghost-button/sd-ghost-button.js +28 -13
- package/dist/collection/components/sd-guide/sd-guide.js +14 -8
- package/dist/collection/components/sd-icon/sd-icon.js +2 -1
- package/dist/collection/components/sd-input/sd-input.js +82 -42
- package/dist/collection/components/sd-key-value-table/sd-key-value-table.js +4 -2
- package/dist/collection/components/sd-linear-progress/sd-linear-progress.js +10 -7
- package/dist/collection/components/sd-loading-container/sd-loading-container.js +6 -4
- package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +17 -9
- package/dist/collection/components/sd-modal-container/sd-modal-container.js +61 -7
- package/dist/collection/components/sd-number-input/sd-number-input.js +82 -43
- package/dist/collection/components/sd-pagination/sd-pagination.js +11 -7
- package/dist/collection/components/sd-popover/sd-popover.js +35 -19
- package/dist/collection/components/sd-popup/sd-popup.js +11 -7
- package/dist/collection/components/sd-portal/sd-portal.js +35 -14
- package/dist/collection/components/sd-radio/sd-radio.js +11 -6
- package/dist/collection/components/sd-radio-button/sd-radio-button.js +13 -7
- package/dist/collection/components/sd-radio-group/sd-radio-group.js +13 -7
- package/dist/collection/components/sd-select/sd-select-list-item/sd-select-list-item.js +16 -9
- package/dist/collection/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.js +12 -8
- package/dist/collection/components/sd-select/sd-select-listbox/sd-select-listbox.js +22 -12
- package/dist/collection/components/sd-select/sd-select-trigger/sd-select-trigger.js +18 -10
- package/dist/collection/components/sd-select/sd-select.js +62 -33
- package/dist/collection/components/sd-switch/sd-switch.js +9 -5
- package/dist/collection/components/sd-table/sd-table.js +76 -41
- package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +4 -3
- package/dist/collection/components/sd-table/sd-td/sd-td.js +19 -10
- package/dist/collection/components/sd-table/sd-thead/sd-thead.js +29 -16
- package/dist/collection/components/sd-table/sd-tr/sd-tr.js +22 -11
- package/dist/collection/components/sd-tabs/sd-tabs.js +13 -7
- package/dist/collection/components/sd-tag/sd-tag.js +10 -7
- package/dist/collection/components/sd-text-link/sd-text-link.js +21 -12
- package/dist/collection/components/sd-textarea/sd-textarea.js +69 -35
- package/dist/collection/components/sd-toast/sd-toast.js +20 -11
- package/dist/collection/components/sd-toast-container/sd-toast-container.js +19 -10
- package/dist/collection/components/sd-toggle/sd-toggle.js +9 -5
- package/dist/collection/components/sd-tooltip/sd-tooltip.js +30 -16
- package/dist/components/index.js +1 -1
- package/dist/components/{p-pSthmtsz.js → p-4MIzxb0h.js} +1 -1
- package/dist/components/{p-CQozoo2-.js → p-B-Igud6n.js} +1 -1
- package/dist/components/{p-CtWfOIxb.js → p-B5VNSTAf.js} +1 -1
- package/dist/components/{p-5GcM22aW.js → p-B76pFg6k.js} +1 -1
- package/dist/components/{p-MJG6EZeP.js → p-BFlmHQm9.js} +1 -1
- package/dist/components/{p-DrSHJYop.js → p-BIHVGo10.js} +1 -1
- package/dist/components/{p-De7UsPPk.js → p-BQQC-6k4.js} +1 -1
- package/dist/{design-system/p-L_He_WSA.js → components/p-BRmilX-4.js} +1 -1
- package/dist/components/p-BVlg0BoC.js +1 -0
- package/dist/components/{p-Df1g_kVH.js → p-BjSMh85k.js} +1 -1
- package/dist/components/{p-BuFzlA0M.js → p-BrHnpCXR.js} +1 -1
- package/dist/components/{p-DaMzYzXI.js → p-Btj50AUe.js} +1 -1
- package/dist/components/p-BzsHwLh6.js +1 -0
- package/dist/components/{p-9Z-q6kKD.js → p-C1QezE7u.js} +1 -1
- package/dist/components/{p-Bd-fDbVE.js → p-C3mTIE8H.js} +1 -1
- package/dist/components/{p-CEhI4kUA.js → p-CBDBmMmw.js} +1 -1
- package/dist/components/p-CCCwPJ5p.js +1 -0
- package/dist/components/p-CEKu7cxA.js +1 -0
- package/dist/components/{p-Cfko62rU.js → p-CTw1Deo8.js} +1 -1
- package/dist/components/p-CTxZT3Je.js +1 -0
- package/dist/components/{p-CiEAVQT4.js → p-CZYTZeMe.js} +1 -1
- package/dist/components/{p-DAJIg-VD.js → p-CcwzTAJC.js} +1 -1
- package/dist/components/p-Cj_1bYZF.js +1 -0
- package/dist/components/{p-DpfXh55-.js → p-Cugxp5lo.js} +1 -1
- package/dist/components/{p-BzUU-npj.js → p-D4zy1T3V.js} +1 -1
- package/dist/components/{p-BHW1fnDC.js → p-DC5W8Uy1.js} +1 -1
- package/dist/components/{p-BZjIn1hr.js → p-DIc8C633.js} +1 -1
- package/dist/components/{p-BeYMZ1fR.js → p-DJY7lCe4.js} +1 -1
- package/dist/components/{p-ChncPmp-.js → p-DPXOBYhf.js} +1 -1
- package/dist/components/{p-nruUh8p1.js → p-DU0IkIvI.js} +1 -1
- package/dist/components/{p-DRgPF0Fp.js → p-DZikCqcw.js} +1 -1
- package/dist/components/{p-vTnMooAF.js → p-Dz7VXmIA.js} +1 -1
- package/dist/components/p-FA9fGvbL.js +1 -0
- package/dist/components/p-S2-XqY2R.js +1 -0
- package/dist/components/{p-CjYYBlrZ.js → p-YpyfqzoP.js} +1 -1
- package/dist/components/{p-E5buAge1.js → p-l7TaS8q9.js} +1 -1
- package/dist/components/{p-lmVlfugh.js → p-s_75vJTu.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-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-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-switch.js +1 -1
- package/dist/components/sd-table.js +1 -1
- package/dist/components/sd-tabs.js +1 -1
- package/dist/components/sd-tag.js +1 -1
- package/dist/components/sd-tbody.js +1 -1
- package/dist/components/sd-td.js +1 -1
- package/dist/components/sd-text-link.js +1 -1
- package/dist/components/sd-textarea.js +1 -1
- package/dist/components/sd-thead.js +1 -1
- package/dist/components/sd-toast-container.js +1 -1
- package/dist/components/sd-toast.js +1 -1
- package/dist/components/sd-toggle.js +1 -1
- package/dist/components/sd-tooltip.js +1 -1
- package/dist/components/sd-tr.js +1 -1
- package/dist/design-system/design-system.css +1 -1
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/p-0f35cd21.entry.js +1 -0
- package/dist/design-system/{p-e9d1dbb5.entry.js → p-274dbc65.entry.js} +1 -1
- package/dist/design-system/{p-b291baab.entry.js → p-2ba0b35a.entry.js} +1 -1
- package/dist/design-system/{p-52f551a1.entry.js → p-2ca4902b.entry.js} +1 -1
- package/dist/design-system/p-2df32f8c.entry.js +1 -0
- package/dist/design-system/{p-cb80327c.entry.js → p-35da166a.entry.js} +1 -1
- package/dist/design-system/p-35e1e2fa.entry.js +1 -0
- package/dist/design-system/{p-6ce68bf2.entry.js → p-4bc0ce52.entry.js} +1 -1
- package/dist/design-system/p-4c1559c8.entry.js +1 -0
- package/dist/design-system/{p-9c38ee79.entry.js → p-4e44b45b.entry.js} +1 -1
- package/dist/design-system/{p-da4e2674.entry.js → p-4eeca0cb.entry.js} +1 -1
- package/dist/design-system/{p-646a7830.entry.js → p-4f69fde0.entry.js} +1 -1
- package/dist/design-system/{p-ccf1a3fc.entry.js → p-50b5cf37.entry.js} +1 -1
- package/dist/design-system/p-52e88677.entry.js +1 -0
- package/dist/design-system/{p-4acfc5f9.entry.js → p-552acf98.entry.js} +1 -1
- package/dist/design-system/{p-23006577.entry.js → p-563a8242.entry.js} +1 -1
- package/dist/design-system/{p-e3990243.entry.js → p-68687503.entry.js} +1 -1
- package/dist/design-system/{p-1f3c1cca.entry.js → p-6d8a4a23.entry.js} +1 -1
- package/dist/design-system/{p-d5032f31.entry.js → p-7c507d39.entry.js} +1 -1
- package/dist/design-system/{p-717eba5f.entry.js → p-88926a42.entry.js} +1 -1
- package/dist/design-system/{p-35d390f1.entry.js → p-90436be8.entry.js} +1 -1
- package/dist/design-system/{p-9289eb14.entry.js → p-99f33027.entry.js} +1 -1
- package/dist/design-system/{p-c47198fc.entry.js → p-9a010c12.entry.js} +1 -1
- package/dist/design-system/{p-54853a2b.entry.js → p-9dc0c2f9.entry.js} +1 -1
- package/dist/{components/p-Bg9XySrz.js → design-system/p-C7HJ-NfO.js} +2 -1
- package/dist/{components/p-0VCXAYrh.js → design-system/p-DUyBmuH_.js} +1 -1
- package/dist/design-system/{p-d5c3bac9.entry.js → p-a71a8b31.entry.js} +1 -1
- package/dist/design-system/{p-a4331364.entry.js → p-a80cc067.entry.js} +1 -1
- package/dist/design-system/{p-ae344950.entry.js → p-abcc9367.entry.js} +1 -1
- package/dist/design-system/p-ac81b46e.entry.js +1 -0
- package/dist/design-system/{p-08343698.entry.js → p-b881bbb6.entry.js} +1 -1
- package/dist/design-system/{p-2151e081.entry.js → p-bfba449b.entry.js} +1 -1
- package/dist/design-system/p-c684cd96.entry.js +1 -0
- package/dist/design-system/{p-b63b8df9.entry.js → p-c93c623f.entry.js} +1 -1
- package/dist/design-system/{p-98e0b332.entry.js → p-ccc85130.entry.js} +1 -1
- package/dist/design-system/{p-aa1c6202.entry.js → p-ce5df7ef.entry.js} +1 -1
- package/dist/design-system/{p-adfddf3b.entry.js → p-ce83eca1.entry.js} +1 -1
- package/dist/design-system/p-d5b535ad.entry.js +1 -0
- package/dist/design-system/{p-df7c721d.entry.js → p-e310f188.entry.js} +1 -1
- package/dist/design-system/{p-bdb7492c.entry.js → p-fc65bbe2.entry.js} +1 -1
- package/dist/design-system/p-fe5b8eaa.entry.js +1 -0
- package/dist/design-system/{p-a5a586da.entry.js → p-ff726fad.entry.js} +1 -1
- package/dist/esm/design-system.js +2 -2
- package/dist/esm/{index-CAxodB5I.js → index-C7HJ-NfO.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/sd-action-modal.entry.js +8 -2
- package/dist/esm/sd-badge.entry.js +3 -2
- package/dist/esm/sd-barcode-input.entry.js +35 -2
- package/dist/esm/sd-button_2.entry.js +13 -4
- package/dist/esm/sd-calendar_2.entry.js +17 -6
- package/dist/esm/sd-callout.entry.js +4 -2
- package/dist/esm/sd-card.entry.js +4 -2
- package/dist/esm/sd-checkbox.entry.js +21 -12
- package/dist/esm/sd-chip-input.entry.js +38 -4
- package/dist/esm/sd-chip.entry.js +19 -2
- package/dist/esm/sd-circle-progress.entry.js +6 -2
- package/dist/esm/sd-confirm-modal_2.entry.js +27 -4
- package/dist/esm/sd-date-box.entry.js +13 -3
- package/dist/esm/sd-date-picker_7.entry.js +209 -13
- package/dist/esm/sd-date-range-picker-calendar.entry.js +7 -2
- package/dist/esm/sd-divider.entry.js +1 -1
- package/dist/esm/sd-dropdown-button.entry.js +11 -1
- package/dist/esm/sd-field_3.entry.js +70 -12
- package/dist/esm/sd-form.entry.js +10 -2
- package/dist/esm/sd-ghost-button_3.entry.js +54 -15
- package/dist/esm/sd-guide.entry.js +9 -3
- package/dist/esm/sd-key-value-table.entry.js +3 -1
- package/dist/esm/sd-linear-progress.entry.js +7 -4
- package/dist/esm/sd-loading-container.entry.js +5 -3
- package/dist/esm/sd-modal-container.entry.js +56 -2
- package/dist/esm/sd-pagination_4.entry.js +38 -9
- package/dist/esm/sd-popover.entry.js +21 -5
- package/dist/esm/sd-popup.entry.js +7 -3
- package/dist/esm/sd-radio-button.entry.js +8 -2
- package/dist/esm/sd-radio.entry.js +7 -2
- package/dist/esm/sd-select-list-item_2.entry.js +18 -7
- package/dist/esm/sd-select_3.entry.js +56 -9
- package/dist/esm/sd-switch.entry.js +6 -2
- package/dist/esm/sd-table.entry.js +42 -7
- package/dist/esm/sd-tabs.entry.js +8 -2
- package/dist/esm/sd-td.entry.js +11 -2
- package/dist/esm/sd-text-link.entry.js +13 -4
- package/dist/esm/sd-toast-container.entry.js +11 -2
- package/dist/esm/sd-toast.entry.js +12 -3
- package/dist/esm/sd-toggle.entry.js +6 -2
- package/dist/esm/{tooltipArrow-DLr6VvUK.js → tooltipArrow-Bgf3crs7.js} +1 -1
- package/dist/types/components/sd-action-modal/sd-action-modal.d.ts +6 -0
- package/dist/types/components/sd-badge/sd-badge.d.ts +1 -0
- package/dist/types/components/sd-barcode-input/sd-barcode-input.d.ts +33 -0
- package/dist/types/components/sd-button/sd-button.d.ts +8 -0
- package/dist/types/components/sd-calendar/sd-calendar.d.ts +6 -0
- package/dist/types/components/sd-callout/sd-callout.d.ts +2 -0
- package/dist/types/components/sd-card/sd-card.d.ts +2 -0
- package/dist/types/components/sd-checkbox/sd-checkbox.config.d.ts +2 -0
- package/dist/types/components/sd-chip/sd-chip.d.ts +17 -0
- package/dist/types/components/sd-chip-input/sd-chip-input.d.ts +33 -0
- package/dist/types/components/sd-circle-progress/sd-circle-progress.d.ts +4 -0
- package/dist/types/components/sd-confirm-modal/sd-confirm-modal.d.ts +15 -0
- package/dist/types/components/sd-date-box/sd-date-box.d.ts +10 -0
- package/dist/types/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.d.ts +5 -0
- package/dist/types/components/sd-date-picker/sd-date-picker.d.ts +23 -0
- package/dist/types/components/sd-date-range-picker/sd-date-range-picker-calendar/sd-date-range-picker-calendar.d.ts +5 -0
- package/dist/types/components/sd-date-range-picker/sd-date-range-picker.d.ts +24 -0
- package/dist/types/components/sd-dropdown-button/sd-dropdown-button.d.ts +10 -0
- package/dist/types/components/sd-field/sd-field.d.ts +23 -0
- package/dist/types/components/sd-file-picker/sd-file-picker.d.ts +30 -0
- package/dist/types/components/sd-floating-portal/sd-floating-portal.d.ts +12 -0
- package/dist/types/components/sd-form/sd-form.d.ts +8 -0
- package/dist/types/components/sd-ghost-button/sd-ghost-button.d.ts +7 -0
- package/dist/types/components/sd-guide/sd-guide.d.ts +6 -0
- package/dist/types/components/sd-icon/sd-icon.d.ts +1 -0
- package/dist/types/components/sd-input/sd-input.d.ts +40 -0
- package/dist/types/components/sd-key-value-table/sd-key-value-table.d.ts +2 -0
- package/dist/types/components/sd-linear-progress/sd-linear-progress.d.ts +4 -0
- package/dist/types/components/sd-loading-container/sd-loading-container.d.ts +2 -0
- package/dist/types/components/sd-loading-modal/sd-loading-modal.d.ts +8 -0
- package/dist/types/components/sd-modal-container/sd-modal-container.d.ts +15 -0
- package/dist/types/components/sd-number-input/sd-number-input.d.ts +39 -0
- package/dist/types/components/sd-pagination/sd-pagination.d.ts +4 -0
- package/dist/types/components/sd-popover/sd-popover.d.ts +16 -0
- package/dist/types/components/sd-popup/sd-popup.d.ts +5 -0
- package/dist/types/components/sd-portal/sd-portal.d.ts +13 -0
- package/dist/types/components/sd-radio/sd-radio.d.ts +5 -0
- package/dist/types/components/sd-radio-button/sd-radio-button.d.ts +6 -0
- package/dist/types/components/sd-radio-group/sd-radio-group.d.ts +6 -0
- package/dist/types/components/sd-select/sd-select-list-item/sd-select-list-item.d.ts +7 -0
- package/dist/types/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.d.ts +4 -0
- package/dist/types/components/sd-select/sd-select-listbox/sd-select-listbox.d.ts +10 -0
- package/dist/types/components/sd-select/sd-select-trigger/sd-select-trigger.d.ts +8 -0
- package/dist/types/components/sd-select/sd-select.d.ts +29 -0
- package/dist/types/components/sd-switch/sd-switch.d.ts +4 -0
- package/dist/types/components/sd-table/sd-table.d.ts +35 -0
- package/dist/types/components/sd-table/sd-tbody/sd-tbody.d.ts +1 -0
- package/dist/types/components/sd-table/sd-td/sd-td.d.ts +9 -0
- package/dist/types/components/sd-table/sd-thead/sd-thead.d.ts +13 -0
- package/dist/types/components/sd-table/sd-tr/sd-tr.d.ts +11 -0
- package/dist/types/components/sd-tabs/sd-tabs.d.ts +6 -0
- package/dist/types/components/sd-tag/sd-tag.d.ts +4 -0
- package/dist/types/components/sd-text-link/sd-text-link.d.ts +9 -0
- package/dist/types/components/sd-textarea/sd-textarea.d.ts +34 -0
- package/dist/types/components/sd-toast/sd-toast.d.ts +9 -0
- package/dist/types/components/sd-toast-container/sd-toast-container.d.ts +9 -0
- package/dist/types/components/sd-toggle/sd-toggle.d.ts +4 -0
- package/dist/types/components/sd-tooltip/sd-tooltip.d.ts +14 -0
- package/dist/types/components.d.ts +1827 -7
- package/hydrate/index.js +873 -126
- package/hydrate/index.mjs +873 -126
- package/package.json +1 -1
- package/dist/components/p-B7PHGGFH.js +0 -1
- package/dist/components/p-ClKABgST.js +0 -1
- package/dist/components/p-CvSqieCH.js +0 -1
- package/dist/components/p-DDR0VcRU.js +0 -1
- package/dist/components/p-DYOyb7rq.js +0 -1
- package/dist/components/p-DbLQoVx6.js +0 -1
- package/dist/components/p-P2jWtk8J.js +0 -1
- package/dist/design-system/p-316b8a08.entry.js +0 -1
- package/dist/design-system/p-3f7349ae.entry.js +0 -1
- package/dist/design-system/p-5039241c.entry.js +0 -1
- package/dist/design-system/p-5eaa12af.entry.js +0 -1
- package/dist/design-system/p-CAxodB5I.js +0 -2
- package/dist/design-system/p-aa312937.entry.js +0 -1
- package/dist/design-system/p-c995e6c3.entry.js +0 -1
- package/dist/design-system/p-eef6d4a3.entry.js +0 -1
- package/dist/design-system/p-faf7b64c.entry.js +0 -1
- package/dist/design-system/p-fd7abbfa.entry.js +0 -1
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class SdFloatingPopover {
|
|
3
3
|
el;
|
|
4
|
+
/** 포탈 콘텐츠를 마운트할 대상 (CSS 선택자 또는 HTMLElement) */
|
|
4
5
|
to = 'body';
|
|
6
|
+
/** 위치 기준이 되는 부모 엘리먼트 */
|
|
5
7
|
parentRef = null;
|
|
8
|
+
/** [x, y] 오프셋 (px) */
|
|
6
9
|
offset = [0, 0];
|
|
7
|
-
|
|
10
|
+
/** z-index */
|
|
11
|
+
zIndex = 996;
|
|
12
|
+
/** 콘텐츠를 표시할 방향 */
|
|
8
13
|
placement = 'bottom';
|
|
14
|
+
/** 표시 여부 */
|
|
9
15
|
open = false;
|
|
16
|
+
/** 외부 클릭 등으로 닫힐 때 발생합니다. */
|
|
10
17
|
close;
|
|
11
18
|
container;
|
|
12
19
|
wrapper;
|
|
@@ -61,11 +68,25 @@ export class SdFloatingPopover {
|
|
|
61
68
|
const el = typeof this.to === 'string' ? document.querySelector(this.to) : this.to;
|
|
62
69
|
return el instanceof HTMLElement ? el : document.body;
|
|
63
70
|
}
|
|
71
|
+
/**
|
|
72
|
+
* 트리거(parentRef)가 모달 내부에 있으면 해당 모달보다 위에, 아니면 페이지 기본값에 둔다.
|
|
73
|
+
* 페이지 기본값(996)은 모달(997)보다 낮아, 모달 뒤의 페이지 포털이 모달 위로 떠오르지 않는다.
|
|
74
|
+
*/
|
|
75
|
+
resolveZIndex() {
|
|
76
|
+
const base = this.zIndex ?? 996;
|
|
77
|
+
const layer = this.parentRef?.closest('.sd-modal-container__layer');
|
|
78
|
+
if (!layer)
|
|
79
|
+
return base;
|
|
80
|
+
const container = layer.closest('.sd-modal-container');
|
|
81
|
+
const z = container instanceof HTMLElement ? parseInt(getComputedStyle(container).zIndex, 10) : NaN;
|
|
82
|
+
const modalZIndex = Number.isFinite(z) ? z : 997;
|
|
83
|
+
return Math.max(base, modalZIndex + 1);
|
|
84
|
+
}
|
|
64
85
|
createWrapper() {
|
|
65
86
|
this.wrapper = document.createElement('div');
|
|
66
87
|
Object.assign(this.wrapper.style, {
|
|
67
88
|
position: 'fixed',
|
|
68
|
-
zIndex:
|
|
89
|
+
zIndex: this.resolveZIndex().toString(),
|
|
69
90
|
transition: 'opacity 0.4s',
|
|
70
91
|
top: '-9999px',
|
|
71
92
|
left: '-9999px',
|
|
@@ -152,7 +173,7 @@ export class SdFloatingPopover {
|
|
|
152
173
|
}
|
|
153
174
|
}
|
|
154
175
|
render() {
|
|
155
|
-
return h("slot", { key: '
|
|
176
|
+
return h("slot", { key: 'ee2a502ac1c924abb9be9fae19b4450659515c15' });
|
|
156
177
|
}
|
|
157
178
|
static get is() { return "sd-floating-portal"; }
|
|
158
179
|
static get originalStyleUrls() {
|
|
@@ -184,7 +205,7 @@ export class SdFloatingPopover {
|
|
|
184
205
|
"optional": false,
|
|
185
206
|
"docs": {
|
|
186
207
|
"tags": [],
|
|
187
|
-
"text": ""
|
|
208
|
+
"text": "\uD3EC\uD0C8 \uCF58\uD150\uCE20\uB97C \uB9C8\uC6B4\uD2B8\uD560 \uB300\uC0C1 (CSS \uC120\uD0DD\uC790 \uB610\uB294 HTMLElement)"
|
|
188
209
|
},
|
|
189
210
|
"getter": false,
|
|
190
211
|
"setter": false,
|
|
@@ -209,7 +230,7 @@ export class SdFloatingPopover {
|
|
|
209
230
|
"optional": false,
|
|
210
231
|
"docs": {
|
|
211
232
|
"tags": [],
|
|
212
|
-
"text": ""
|
|
233
|
+
"text": "\uC704\uCE58 \uAE30\uC900\uC774 \uB418\uB294 \uBD80\uBAA8 \uC5D8\uB9AC\uBA3C\uD2B8"
|
|
213
234
|
},
|
|
214
235
|
"getter": false,
|
|
215
236
|
"setter": false,
|
|
@@ -227,7 +248,7 @@ export class SdFloatingPopover {
|
|
|
227
248
|
"optional": false,
|
|
228
249
|
"docs": {
|
|
229
250
|
"tags": [],
|
|
230
|
-
"text": ""
|
|
251
|
+
"text": "[x, y] \uC624\uD504\uC14B (px)"
|
|
231
252
|
},
|
|
232
253
|
"getter": false,
|
|
233
254
|
"setter": false,
|
|
@@ -245,13 +266,13 @@ export class SdFloatingPopover {
|
|
|
245
266
|
"optional": false,
|
|
246
267
|
"docs": {
|
|
247
268
|
"tags": [],
|
|
248
|
-
"text": ""
|
|
269
|
+
"text": "z-index"
|
|
249
270
|
},
|
|
250
271
|
"getter": false,
|
|
251
272
|
"setter": false,
|
|
252
273
|
"reflect": false,
|
|
253
274
|
"attribute": "z-index",
|
|
254
|
-
"defaultValue": "
|
|
275
|
+
"defaultValue": "996"
|
|
255
276
|
},
|
|
256
277
|
"placement": {
|
|
257
278
|
"type": "string",
|
|
@@ -265,7 +286,7 @@ export class SdFloatingPopover {
|
|
|
265
286
|
"optional": false,
|
|
266
287
|
"docs": {
|
|
267
288
|
"tags": [],
|
|
268
|
-
"text": ""
|
|
289
|
+
"text": "\uCF58\uD150\uCE20\uB97C \uD45C\uC2DC\uD560 \uBC29\uD5A5"
|
|
269
290
|
},
|
|
270
291
|
"getter": false,
|
|
271
292
|
"setter": false,
|
|
@@ -285,7 +306,7 @@ export class SdFloatingPopover {
|
|
|
285
306
|
"optional": false,
|
|
286
307
|
"docs": {
|
|
287
308
|
"tags": [],
|
|
288
|
-
"text": ""
|
|
309
|
+
"text": "\uD45C\uC2DC \uC5EC\uBD80"
|
|
289
310
|
},
|
|
290
311
|
"getter": false,
|
|
291
312
|
"setter": false,
|
|
@@ -304,7 +325,7 @@ export class SdFloatingPopover {
|
|
|
304
325
|
"composed": true,
|
|
305
326
|
"docs": {
|
|
306
327
|
"tags": [],
|
|
307
|
-
"text": ""
|
|
328
|
+
"text": "\uC678\uBD80 \uD074\uB9AD \uB4F1\uC73C\uB85C \uB2EB\uD790 \uB54C \uBC1C\uC0DD\uD569\uB2C8\uB2E4."
|
|
308
329
|
},
|
|
309
330
|
"complexType": {
|
|
310
331
|
"original": "void",
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class SdForm {
|
|
3
|
+
/** form 엘리먼트에 추가할 클래스 */
|
|
3
4
|
formClass = '';
|
|
4
5
|
fields = [];
|
|
6
|
+
/** 유효성 검사 통과 후 submit 시 발생합니다. */
|
|
5
7
|
sdSubmit;
|
|
8
|
+
/** 유효성 검사 실패 시 실패한 필드 name 목록을 전달합니다. */
|
|
6
9
|
sdValidationError;
|
|
7
10
|
sortFieldsByDomOrder() {
|
|
8
11
|
this.fields.sort((a, b) => {
|
|
@@ -20,6 +23,7 @@ export class SdForm {
|
|
|
20
23
|
return 0;
|
|
21
24
|
});
|
|
22
25
|
}
|
|
26
|
+
/** 폼에 필드를 등록합니다. */
|
|
23
27
|
async sdRegisterField(field) {
|
|
24
28
|
if (field.name === '') {
|
|
25
29
|
console.warn('[sd-form] field.name is required');
|
|
@@ -30,6 +34,7 @@ export class SdForm {
|
|
|
30
34
|
this.fields.push(field);
|
|
31
35
|
this.sortFieldsByDomOrder();
|
|
32
36
|
}
|
|
37
|
+
/** 폼에서 필드를 제거합니다. */
|
|
33
38
|
async sdUnregisterField(fieldOrName) {
|
|
34
39
|
if (typeof fieldOrName === 'string') {
|
|
35
40
|
const index = this.fields.findIndex(field => field.name === fieldOrName);
|
|
@@ -50,13 +55,16 @@ export class SdForm {
|
|
|
50
55
|
}
|
|
51
56
|
return { valid: invalidFields.length === 0, invalidFields };
|
|
52
57
|
}
|
|
58
|
+
/** 모든 등록된 필드의 유효성 검사를 실행합니다. */
|
|
53
59
|
async sdValidate() {
|
|
54
60
|
const { valid } = await this.runValidation();
|
|
55
61
|
return valid;
|
|
56
62
|
}
|
|
63
|
+
/** 모든 필드의 값과 유효성 상태를 초기화합니다. */
|
|
57
64
|
async sdReset() {
|
|
58
65
|
this.fields.forEach(f => f.sdReset());
|
|
59
66
|
}
|
|
67
|
+
/** 모든 필드의 유효성 상태만 초기화합니다. */
|
|
60
68
|
async sdResetValidation() {
|
|
61
69
|
this.fields.forEach(f => f.sdResetValidation());
|
|
62
70
|
}
|
|
@@ -70,7 +78,7 @@ export class SdForm {
|
|
|
70
78
|
this.sdSubmit.emit();
|
|
71
79
|
}
|
|
72
80
|
render() {
|
|
73
|
-
return (h("form", { key: '
|
|
81
|
+
return (h("form", { key: 'f533f9dcf3a13e66d37644baa5217b90a67350a2', onSubmit: e => this.onSubmit(e), class: this.formClass }, h("slot", { key: '8a108703faeb2ed7d1e47a72b407b7a7fc88063d' })));
|
|
74
82
|
}
|
|
75
83
|
static get is() { return "sd-form"; }
|
|
76
84
|
static get properties() {
|
|
@@ -87,7 +95,7 @@ export class SdForm {
|
|
|
87
95
|
"optional": false,
|
|
88
96
|
"docs": {
|
|
89
97
|
"tags": [],
|
|
90
|
-
"text": ""
|
|
98
|
+
"text": "form \uC5D8\uB9AC\uBA3C\uD2B8\uC5D0 \uCD94\uAC00\uD560 \uD074\uB798\uC2A4"
|
|
91
99
|
},
|
|
92
100
|
"getter": false,
|
|
93
101
|
"setter": false,
|
|
@@ -106,7 +114,7 @@ export class SdForm {
|
|
|
106
114
|
"composed": true,
|
|
107
115
|
"docs": {
|
|
108
116
|
"tags": [],
|
|
109
|
-
"text": ""
|
|
117
|
+
"text": "\uC720\uD6A8\uC131 \uAC80\uC0AC \uD1B5\uACFC \uD6C4 submit \uC2DC \uBC1C\uC0DD\uD569\uB2C8\uB2E4."
|
|
110
118
|
},
|
|
111
119
|
"complexType": {
|
|
112
120
|
"original": "void",
|
|
@@ -121,7 +129,7 @@ export class SdForm {
|
|
|
121
129
|
"composed": true,
|
|
122
130
|
"docs": {
|
|
123
131
|
"tags": [],
|
|
124
|
-
"text": ""
|
|
132
|
+
"text": "\uC720\uD6A8\uC131 \uAC80\uC0AC \uC2E4\uD328 \uC2DC \uC2E4\uD328\uD55C \uD544\uB4DC name \uBAA9\uB85D\uC744 \uC804\uB2EC\uD569\uB2C8\uB2E4."
|
|
125
133
|
},
|
|
126
134
|
"complexType": {
|
|
127
135
|
"original": "{ names: string[] }",
|
|
@@ -154,7 +162,7 @@ export class SdForm {
|
|
|
154
162
|
"return": "Promise<void>"
|
|
155
163
|
},
|
|
156
164
|
"docs": {
|
|
157
|
-
"text": "",
|
|
165
|
+
"text": "\uD3FC\uC5D0 \uD544\uB4DC\uB97C \uB4F1\uB85D\uD569\uB2C8\uB2E4.",
|
|
158
166
|
"tags": []
|
|
159
167
|
}
|
|
160
168
|
},
|
|
@@ -180,7 +188,7 @@ export class SdForm {
|
|
|
180
188
|
"return": "Promise<void>"
|
|
181
189
|
},
|
|
182
190
|
"docs": {
|
|
183
|
-
"text": "",
|
|
191
|
+
"text": "\uD3FC\uC5D0\uC11C \uD544\uB4DC\uB97C \uC81C\uAC70\uD569\uB2C8\uB2E4.",
|
|
184
192
|
"tags": []
|
|
185
193
|
}
|
|
186
194
|
},
|
|
@@ -197,7 +205,7 @@ export class SdForm {
|
|
|
197
205
|
"return": "Promise<boolean>"
|
|
198
206
|
},
|
|
199
207
|
"docs": {
|
|
200
|
-
"text": "",
|
|
208
|
+
"text": "\uBAA8\uB4E0 \uB4F1\uB85D\uB41C \uD544\uB4DC\uC758 \uC720\uD6A8\uC131 \uAC80\uC0AC\uB97C \uC2E4\uD589\uD569\uB2C8\uB2E4.",
|
|
201
209
|
"tags": []
|
|
202
210
|
}
|
|
203
211
|
},
|
|
@@ -214,7 +222,7 @@ export class SdForm {
|
|
|
214
222
|
"return": "Promise<void>"
|
|
215
223
|
},
|
|
216
224
|
"docs": {
|
|
217
|
-
"text": "",
|
|
225
|
+
"text": "\uBAA8\uB4E0 \uD544\uB4DC\uC758 \uAC12\uACFC \uC720\uD6A8\uC131 \uC0C1\uD0DC\uB97C \uCD08\uAE30\uD654\uD569\uB2C8\uB2E4.",
|
|
218
226
|
"tags": []
|
|
219
227
|
}
|
|
220
228
|
},
|
|
@@ -231,7 +239,7 @@ export class SdForm {
|
|
|
231
239
|
"return": "Promise<void>"
|
|
232
240
|
},
|
|
233
241
|
"docs": {
|
|
234
|
-
"text": "",
|
|
242
|
+
"text": "\uBAA8\uB4E0 \uD544\uB4DC\uC758 \uC720\uD6A8\uC131 \uC0C1\uD0DC\uB9CC \uCD08\uAE30\uD654\uD569\uB2C8\uB2E4.",
|
|
235
243
|
"tags": []
|
|
236
244
|
}
|
|
237
245
|
}
|
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { GHOST_BUTTON_CONTENT_COLORS, GHOST_BUTTON_DISABLED_COLORS, GHOST_BUTTON_FOCUS_RING_COLOR, GHOST_BUTTON_HOVER_BG_COLORS, GHOST_BUTTON_HOVER_OPACITY, GHOST_BUTTON_RADIUS, GHOST_BUTTON_SIZES, } from "./sd-ghost-button.config";
|
|
3
3
|
export class SdGhostButton {
|
|
4
|
+
/** 버튼에 표시할 아이콘명 */
|
|
4
5
|
icon;
|
|
6
|
+
/** 버튼 크기 */
|
|
5
7
|
size = 'sm';
|
|
8
|
+
/** 버튼 색상 의도 */
|
|
6
9
|
intent = 'default';
|
|
10
|
+
/** 스크린리더용 접근성 레이블 */
|
|
7
11
|
ariaLabel = '';
|
|
12
|
+
/** 호버 시 표시할 툴팁 텍스트 */
|
|
8
13
|
tooltipText;
|
|
14
|
+
/** 비활성 상태 여부 */
|
|
9
15
|
disabled = false;
|
|
10
16
|
hostEl;
|
|
11
17
|
isTooltipOpen = false;
|
|
18
|
+
/** 버튼 클릭 시 발생합니다. */
|
|
12
19
|
click;
|
|
13
20
|
hasWarnedMissingAriaLabel = false;
|
|
14
21
|
componentWillLoad() {
|
|
@@ -23,10 +30,18 @@ export class SdGhostButton {
|
|
|
23
30
|
}
|
|
24
31
|
this.click.emit(event);
|
|
25
32
|
};
|
|
26
|
-
handleMouseEnter = () => {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
33
|
+
handleMouseEnter = () => {
|
|
34
|
+
this.isTooltipOpen = true;
|
|
35
|
+
};
|
|
36
|
+
handleMouseLeave = () => {
|
|
37
|
+
this.isTooltipOpen = false;
|
|
38
|
+
};
|
|
39
|
+
handleFocus = () => {
|
|
40
|
+
this.isTooltipOpen = true;
|
|
41
|
+
};
|
|
42
|
+
handleBlur = () => {
|
|
43
|
+
this.isTooltipOpen = false;
|
|
44
|
+
};
|
|
30
45
|
componentWillRender() {
|
|
31
46
|
this.warnIfMissingAriaLabel();
|
|
32
47
|
}
|
|
@@ -51,7 +66,7 @@ export class SdGhostButton {
|
|
|
51
66
|
const accessibleName = (this.ariaLabel ?? '').trim() || undefined;
|
|
52
67
|
const tooltipText = (this.tooltipText ?? '').trim();
|
|
53
68
|
const hasTooltip = tooltipText.length > 0;
|
|
54
|
-
return (h("button", { key: '
|
|
69
|
+
return (h("button", { key: 'a49c5b93f4dfcd434c20225acae4c7454e8f8e4f', class: {
|
|
55
70
|
'sd-ghost-button': true,
|
|
56
71
|
'sd-ghost-button--disabled': this.disabled,
|
|
57
72
|
}, type: "button", disabled: this.disabled, "aria-label": accessibleName, style: {
|
|
@@ -60,7 +75,7 @@ export class SdGhostButton {
|
|
|
60
75
|
'--sd-ghost-button-hover-bg': GHOST_BUTTON_HOVER_BG_COLORS[intent],
|
|
61
76
|
'--sd-ghost-button-hover-opacity': GHOST_BUTTON_HOVER_OPACITY,
|
|
62
77
|
'--sd-ghost-button-accent': GHOST_BUTTON_FOCUS_RING_COLOR,
|
|
63
|
-
}, onClick: this.handleClick, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onFocus: this.handleFocus, onBlur: this.handleBlur }, hasTooltip && this.isTooltipOpen && !this.disabled && (h("sd-portal", { key: '
|
|
78
|
+
}, onClick: this.handleClick, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onFocus: this.handleFocus, onBlur: this.handleBlur }, hasTooltip && this.isTooltipOpen && !this.disabled && (h("sd-portal", { key: '36ef78d79a99da1fd26c282ef68293b9fb9f87b1', parentRef: this.hostEl, open: true, offset: [sizeConfig.size / 2, 4], placement: "top" }, h("div", { key: 'a0cf8b4e84a79841ab09e6a81ee6bcbfe57e6805', class: "sd-ghost-button__tooltip-inner", "aria-hidden": "true" }, h("sd-tag", { key: 'a263167142b891add0a32900504f541dcb3a4959', name: "square_xs_grey", label: tooltipText })))), h("sd-icon", { key: 'ba90e9b489b4f43577313052635db598e3d30037', name: this.icon, size: sizeConfig.icon, color: contentColor })));
|
|
64
79
|
}
|
|
65
80
|
static get is() { return "sd-ghost-button"; }
|
|
66
81
|
static get originalStyleUrls() {
|
|
@@ -92,7 +107,7 @@ export class SdGhostButton {
|
|
|
92
107
|
"optional": false,
|
|
93
108
|
"docs": {
|
|
94
109
|
"tags": [],
|
|
95
|
-
"text": ""
|
|
110
|
+
"text": "\uBC84\uD2BC\uC5D0 \uD45C\uC2DC\uD560 \uC544\uC774\uCF58\uBA85"
|
|
96
111
|
},
|
|
97
112
|
"getter": false,
|
|
98
113
|
"setter": false,
|
|
@@ -118,7 +133,7 @@ export class SdGhostButton {
|
|
|
118
133
|
"optional": false,
|
|
119
134
|
"docs": {
|
|
120
135
|
"tags": [],
|
|
121
|
-
"text": ""
|
|
136
|
+
"text": "\uBC84\uD2BC \uD06C\uAE30"
|
|
122
137
|
},
|
|
123
138
|
"getter": false,
|
|
124
139
|
"setter": false,
|
|
@@ -145,7 +160,7 @@ export class SdGhostButton {
|
|
|
145
160
|
"optional": false,
|
|
146
161
|
"docs": {
|
|
147
162
|
"tags": [],
|
|
148
|
-
"text": ""
|
|
163
|
+
"text": "\uBC84\uD2BC \uC0C9\uC0C1 \uC758\uB3C4"
|
|
149
164
|
},
|
|
150
165
|
"getter": false,
|
|
151
166
|
"setter": false,
|
|
@@ -165,7 +180,7 @@ export class SdGhostButton {
|
|
|
165
180
|
"optional": false,
|
|
166
181
|
"docs": {
|
|
167
182
|
"tags": [],
|
|
168
|
-
"text": ""
|
|
183
|
+
"text": "\uC2A4\uD06C\uB9B0\uB9AC\uB354\uC6A9 \uC811\uADFC\uC131 \uB808\uC774\uBE14"
|
|
169
184
|
},
|
|
170
185
|
"getter": false,
|
|
171
186
|
"setter": false,
|
|
@@ -185,7 +200,7 @@ export class SdGhostButton {
|
|
|
185
200
|
"optional": true,
|
|
186
201
|
"docs": {
|
|
187
202
|
"tags": [],
|
|
188
|
-
"text": ""
|
|
203
|
+
"text": "\uD638\uBC84 \uC2DC \uD45C\uC2DC\uD560 \uD234\uD301 \uD14D\uC2A4\uD2B8"
|
|
189
204
|
},
|
|
190
205
|
"getter": false,
|
|
191
206
|
"setter": false,
|
|
@@ -204,7 +219,7 @@ export class SdGhostButton {
|
|
|
204
219
|
"optional": false,
|
|
205
220
|
"docs": {
|
|
206
221
|
"tags": [],
|
|
207
|
-
"text": ""
|
|
222
|
+
"text": "\uBE44\uD65C\uC131 \uC0C1\uD0DC \uC5EC\uBD80"
|
|
208
223
|
},
|
|
209
224
|
"getter": false,
|
|
210
225
|
"setter": false,
|
|
@@ -228,7 +243,7 @@ export class SdGhostButton {
|
|
|
228
243
|
"composed": true,
|
|
229
244
|
"docs": {
|
|
230
245
|
"tags": [],
|
|
231
|
-
"text": ""
|
|
246
|
+
"text": "\uBC84\uD2BC \uD074\uB9AD \uC2DC \uBC1C\uC0DD\uD569\uB2C8\uB2E4."
|
|
232
247
|
},
|
|
233
248
|
"complexType": {
|
|
234
249
|
"original": "MouseEvent",
|
|
@@ -11,11 +11,17 @@ const ICON_BY_TYPE = {
|
|
|
11
11
|
};
|
|
12
12
|
export class SdGuide {
|
|
13
13
|
el;
|
|
14
|
+
/** 가이드 타입 (tip: 팝업, notion: 외부 링크) */
|
|
14
15
|
type = 'tip';
|
|
16
|
+
/** 버튼에 표시할 레이블 (없으면 type에 따른 기본값 사용) */
|
|
15
17
|
label = '';
|
|
18
|
+
/** 팝업에 표시할 메시지 (배열이면 리스트로 렌더링) */
|
|
16
19
|
message = '';
|
|
20
|
+
/** notion 타입일 때 클릭 시 이동할 URL */
|
|
17
21
|
url = '';
|
|
22
|
+
/** 팝업 제목 (없으면 type에 따른 기본값 사용) */
|
|
18
23
|
popupTitle = '';
|
|
24
|
+
/** 팝업 너비 (px, 없으면 426px) */
|
|
19
25
|
popupWidth;
|
|
20
26
|
popupShow = false;
|
|
21
27
|
guideRef;
|
|
@@ -77,10 +83,10 @@ export class SdGuide {
|
|
|
77
83
|
const buttonClasses = ['sd-guide__button', `sd-guide__button--type-${this.type ?? 'tip'}`];
|
|
78
84
|
if (isActive)
|
|
79
85
|
buttonClasses.push('sd-guide__button--active');
|
|
80
|
-
return (h("div", { key: '
|
|
86
|
+
return (h("div", { key: 'd89a517d78a8f9624c94d320291e5a4b5bd0715d', class: "sd-guide", style: this.guideStyle }, h("sd-button", { key: '6e959f0f5fd6f816fd1cef4545852b860d30de85', ref: el => (this.guideRef = el), class: buttonClasses.join(' '), name: isActive ? 'primary_sm' : 'neutral_outline_sm', label: this.label || defaultLabel, icon: iconName, onSdClick: this.handleClickGuide }), this.popupShow && (h("sd-portal", { key: 'a837cababa5504400293729ad28e4dcd2450eeec', open: this.popupShow, parentRef: this.guideRef, onSdClose: this.closeDropdown, offset: [0, 4] }, h("div", { key: '61dd3c574495f85021495d80865e162999368f9c', class: "sd-guide__popup", style: {
|
|
81
87
|
...this.guideStyle,
|
|
82
88
|
width: this.popupWidth != null ? this.popupWidth + 'px' : '426px',
|
|
83
|
-
} }, h("sd-ghost-button", { key: '
|
|
89
|
+
} }, h("sd-ghost-button", { key: 'dbf8aebd1be4b5286bf726d22e0a5f80c29e867f', class: "sd-guide__popup__close", icon: "close", ariaLabel: "close", size: "sm", onSdClick: this.closeDropdown }), h("div", { key: '5a08fa823bb8839e654d7bb2ba027df2dc68b85b', class: "sd-guide__popup__header" }, h("sd-icon", { key: '1dda43d100b4f5f3b7fa81115a1ac4bfbd584a51', name: iconName, size: 24, color: popupIconColor }), h("h3", { key: 'cfe6342f44f4e1355397ed94d6db74807f917548', class: "sd-guide__popup__title" }, this.popupTitle || defaultLabel)), h("ul", { key: '9acc2f507ed3d3d6f1fda27a9e5cf66dcc2f619d', class: "sd-guide__popup__list" }, this.renderListItem(this.message)))))));
|
|
84
90
|
}
|
|
85
91
|
// 현재 2depth까지만 스타일 적용
|
|
86
92
|
renderListItem(message, depth = 0) {
|
|
@@ -128,7 +134,7 @@ export class SdGuide {
|
|
|
128
134
|
"optional": false,
|
|
129
135
|
"docs": {
|
|
130
136
|
"tags": [],
|
|
131
|
-
"text": ""
|
|
137
|
+
"text": "\uAC00\uC774\uB4DC \uD0C0\uC785 (tip: \uD31D\uC5C5, notion: \uC678\uBD80 \uB9C1\uD06C)"
|
|
132
138
|
},
|
|
133
139
|
"getter": false,
|
|
134
140
|
"setter": false,
|
|
@@ -148,7 +154,7 @@ export class SdGuide {
|
|
|
148
154
|
"optional": false,
|
|
149
155
|
"docs": {
|
|
150
156
|
"tags": [],
|
|
151
|
-
"text": ""
|
|
157
|
+
"text": "\uBC84\uD2BC\uC5D0 \uD45C\uC2DC\uD560 \uB808\uC774\uBE14 (\uC5C6\uC73C\uBA74 type\uC5D0 \uB530\uB978 \uAE30\uBCF8\uAC12 \uC0AC\uC6A9)"
|
|
152
158
|
},
|
|
153
159
|
"getter": false,
|
|
154
160
|
"setter": false,
|
|
@@ -168,7 +174,7 @@ export class SdGuide {
|
|
|
168
174
|
"optional": false,
|
|
169
175
|
"docs": {
|
|
170
176
|
"tags": [],
|
|
171
|
-
"text": ""
|
|
177
|
+
"text": "\uD31D\uC5C5\uC5D0 \uD45C\uC2DC\uD560 \uBA54\uC2DC\uC9C0 (\uBC30\uC5F4\uC774\uBA74 \uB9AC\uC2A4\uD2B8\uB85C \uB80C\uB354\uB9C1)"
|
|
172
178
|
},
|
|
173
179
|
"getter": false,
|
|
174
180
|
"setter": false,
|
|
@@ -188,7 +194,7 @@ export class SdGuide {
|
|
|
188
194
|
"optional": false,
|
|
189
195
|
"docs": {
|
|
190
196
|
"tags": [],
|
|
191
|
-
"text": ""
|
|
197
|
+
"text": "notion \uD0C0\uC785\uC77C \uB54C \uD074\uB9AD \uC2DC \uC774\uB3D9\uD560 URL"
|
|
192
198
|
},
|
|
193
199
|
"getter": false,
|
|
194
200
|
"setter": false,
|
|
@@ -208,7 +214,7 @@ export class SdGuide {
|
|
|
208
214
|
"optional": false,
|
|
209
215
|
"docs": {
|
|
210
216
|
"tags": [],
|
|
211
|
-
"text": ""
|
|
217
|
+
"text": "\uD31D\uC5C5 \uC81C\uBAA9 (\uC5C6\uC73C\uBA74 type\uC5D0 \uB530\uB978 \uAE30\uBCF8\uAC12 \uC0AC\uC6A9)"
|
|
212
218
|
},
|
|
213
219
|
"getter": false,
|
|
214
220
|
"setter": false,
|
|
@@ -228,7 +234,7 @@ export class SdGuide {
|
|
|
228
234
|
"optional": true,
|
|
229
235
|
"docs": {
|
|
230
236
|
"tags": [],
|
|
231
|
-
"text": ""
|
|
237
|
+
"text": "\uD31D\uC5C5 \uB108\uBE44 (px, \uC5C6\uC73C\uBA74 426px)"
|
|
232
238
|
},
|
|
233
239
|
"getter": false,
|
|
234
240
|
"setter": false,
|
|
@@ -12,6 +12,7 @@ export class SdIcon {
|
|
|
12
12
|
rotate;
|
|
13
13
|
/** 접근성을 위한 라벨 */
|
|
14
14
|
label;
|
|
15
|
+
/** 아이콘 i 엘리먼트에 적용할 인라인 스타일 */
|
|
15
16
|
iconStyle = {};
|
|
16
17
|
getIconClasses() {
|
|
17
18
|
const classes = ['sd-icon'];
|
|
@@ -161,7 +162,7 @@ export class SdIcon {
|
|
|
161
162
|
"optional": false,
|
|
162
163
|
"docs": {
|
|
163
164
|
"tags": [],
|
|
164
|
-
"text": ""
|
|
165
|
+
"text": "\uC544\uC774\uCF58 i \uC5D8\uB9AC\uBA3C\uD2B8\uC5D0 \uC801\uC6A9\uD560 \uC778\uB77C\uC778 \uC2A4\uD0C0\uC77C"
|
|
165
166
|
},
|
|
166
167
|
"getter": false,
|
|
167
168
|
"setter": false,
|