@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,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-C-F-JEv_.js');
|
|
4
4
|
|
|
5
5
|
const DEFAULT_DURATION = 4000;
|
|
6
6
|
const DEFAULT_MAX_VISIBLE = 3;
|
|
@@ -21,15 +21,22 @@ const SdToastContainer = class {
|
|
|
21
21
|
this.toastDismiss = index.createEvent(this, "sdToastDismiss", 7);
|
|
22
22
|
}
|
|
23
23
|
get el() { return index.getElement(this); }
|
|
24
|
+
/** 토스트 표시 위치 */
|
|
24
25
|
position = 'bottom-center';
|
|
26
|
+
/** 동시에 표시할 최대 토스트 수 */
|
|
25
27
|
maxVisible = DEFAULT_MAX_VISIBLE;
|
|
28
|
+
/** 자동 닫힘 지연 시간 (ms, 0이면 자동 닫힘 없음) */
|
|
26
29
|
defaultDuration = DEFAULT_DURATION;
|
|
30
|
+
/** z-index */
|
|
27
31
|
zIndex = DEFAULT_Z_INDEX;
|
|
28
32
|
toasts = [];
|
|
29
33
|
expanded = false;
|
|
30
34
|
toastRefs = new Map();
|
|
35
|
+
/** 토스트가 표시될 때 발생합니다. */
|
|
31
36
|
toastShow;
|
|
37
|
+
/** 토스트가 제거될 때 발생합니다. */
|
|
32
38
|
toastDismiss;
|
|
39
|
+
/** 토스트를 생성하고 ID를 반환합니다. */
|
|
33
40
|
async create(options) {
|
|
34
41
|
const id = `toast-${++toastIdCounter}`;
|
|
35
42
|
const entry = { id, options, state: 'entering' };
|
|
@@ -54,9 +61,11 @@ const SdToastContainer = class {
|
|
|
54
61
|
this.toastShow.emit({ id });
|
|
55
62
|
return id;
|
|
56
63
|
}
|
|
64
|
+
/** 지정한 ID의 토스트를 닫습니다. */
|
|
57
65
|
async dismiss(id) {
|
|
58
66
|
this.startDismiss(id);
|
|
59
67
|
}
|
|
68
|
+
/** 모든 토스트를 닫습니다. */
|
|
60
69
|
async dismissAll() {
|
|
61
70
|
(this.toasts || []).forEach(t => this.startDismiss(t.id));
|
|
62
71
|
}
|
|
@@ -234,7 +243,7 @@ const SdToastContainer = class {
|
|
|
234
243
|
const activeToasts = toasts.filter(t => t.state !== 'exiting').reverse();
|
|
235
244
|
const indexMap = new Map();
|
|
236
245
|
activeToasts.forEach((t, i) => indexMap.set(t.id, i));
|
|
237
|
-
return (index.h("div", { key: '
|
|
246
|
+
return (index.h("div", { key: 'b75aeffdddcd16267169ae99305ef5f475f53950', class: "sd-toast-container", style: this.getContainerStyles(), onMouseEnter: () => {
|
|
238
247
|
this.expanded = true;
|
|
239
248
|
this.pauseTimers();
|
|
240
249
|
}, onMouseLeave: () => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-C-F-JEv_.js');
|
|
4
4
|
|
|
5
5
|
const toast = {
|
|
6
6
|
icon: "16",
|
|
@@ -68,14 +68,23 @@ const SdToast = class {
|
|
|
68
68
|
this.close = index.createEvent(this, "sdClose", 7);
|
|
69
69
|
this.buttonClick = index.createEvent(this, "sdButtonClick", 7);
|
|
70
70
|
}
|
|
71
|
+
/** 좌측 아이콘명 */
|
|
71
72
|
icon;
|
|
73
|
+
/** 표시할 메시지 */
|
|
72
74
|
message;
|
|
75
|
+
/** 우측 링크 URL */
|
|
73
76
|
link;
|
|
77
|
+
/** 링크 표시 레이블 (없으면 URL 표시) */
|
|
74
78
|
linkLabel;
|
|
79
|
+
/** 우측 버튼 레이블 */
|
|
75
80
|
buttonLabel;
|
|
81
|
+
/** 닫기 버튼 표시 여부 */
|
|
76
82
|
useClose = false;
|
|
83
|
+
/** 토스트 타입 (색상/아이콘 프리셋) */
|
|
77
84
|
type = 'default';
|
|
85
|
+
/** 닫기 버튼 클릭 또는 자동 닫힘 시 발생합니다. */
|
|
78
86
|
close;
|
|
87
|
+
/** 우측 버튼 클릭 시 발생합니다. */
|
|
79
88
|
buttonClick;
|
|
80
89
|
render() {
|
|
81
90
|
const typeConfig = TOAST_TYPE_CONFIG[this.type] ?? TOAST_TYPE_CONFIG.default;
|
|
@@ -84,12 +93,12 @@ const SdToast = class {
|
|
|
84
93
|
const linkColor = typeConfig.linkColor ?? typeConfig.content;
|
|
85
94
|
const useDefaultCloseIntent = ['default', 'caution', 'info'].includes(this.type);
|
|
86
95
|
const buttonName = TOAST_BUTTON_NAME_BY_TYPE[this.type] ?? TOAST_BUTTON_NAME_BY_TYPE.default;
|
|
87
|
-
return (index.h("div", { key: '
|
|
96
|
+
return (index.h("div", { key: 'ee54d9d9821821e0c422725c94d465f1e2df7bc6', style: {
|
|
88
97
|
'--sd-toast-bg': typeConfig.bg,
|
|
89
98
|
'--sd-toast-text': typeConfig.content,
|
|
90
99
|
'--sd-toast-icon': iconColor,
|
|
91
100
|
'--sd-toast-link': linkColor,
|
|
92
|
-
} }, index.h("div", { key: '
|
|
101
|
+
} }, index.h("div", { key: 'b258e4b49fe530c778c0003516a2ad159805158a', class: "sd-toast", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.icon && (index.h("div", { key: '850a02dd996c7d1ca214b887e0d3d9899972e319', class: "sd-toast__icon" }, index.h("sd-icon", { key: '50d2817b160bd767a509956338347ee09a34a845', name: this.icon, size: iconSize, color: iconColor }))), index.h("div", { key: '0200da1ef6cfa9fcafa4cacf08998a33847038dc', class: "sd-toast__content" }, index.h("span", { key: 'af039afb2f457acded350ae2323e0bc59765a09e', class: "sd-toast__message" }, this.message)), this.link && (index.h("a", { key: '98fdcf360ca632e9f919e01ab0dce8369a1ebe79', href: this.link, class: "sd-toast__link", target: "_blank", rel: "noopener noreferrer" }, this.linkLabel || this.link)), this.buttonLabel && (index.h("sd-button", { key: '45202c0f969ab64e50265ee81f34fc14def26ce2', class: "sd-toast__button", name: buttonName, label: this.buttonLabel, onSdClick: (event) => this.buttonClick.emit(event.detail) })), this.useClose && (index.h("sd-ghost-button", { key: '48f30258527ae7a8a96db9609f096f5d216246ff', class: "sd-toast__close", icon: "close", intent: useDefaultCloseIntent ? 'default' : 'inverse', ariaLabel: "close", size: "xs", onClick: () => this.close.emit() })))));
|
|
93
102
|
}
|
|
94
103
|
};
|
|
95
104
|
SdToast.style = sdToastCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-C-F-JEv_.js');
|
|
4
4
|
|
|
5
5
|
const toggle = {
|
|
6
6
|
height: "28",
|
|
@@ -76,9 +76,13 @@ const SdToggle = class {
|
|
|
76
76
|
index.registerInstance(this, hostRef);
|
|
77
77
|
this.change = index.createEvent(this, "sdUpdate", 7);
|
|
78
78
|
}
|
|
79
|
+
/** 현재 선택 상태 */
|
|
79
80
|
value = false;
|
|
81
|
+
/** 표시할 레이블 텍스트 */
|
|
80
82
|
label = '';
|
|
83
|
+
/** 비활성 상태 여부 */
|
|
81
84
|
disabled = false;
|
|
85
|
+
/** 상태가 변경될 때 발생합니다. */
|
|
82
86
|
change;
|
|
83
87
|
get toggleClasses() {
|
|
84
88
|
const classes = ['sd-toggle'];
|
|
@@ -120,7 +124,7 @@ const SdToggle = class {
|
|
|
120
124
|
'--sd-toggle-content-select': TOGGLE_COLORS.content.select,
|
|
121
125
|
'--sd-toggle-content-disabled': TOGGLE_COLORS.content.disabled,
|
|
122
126
|
};
|
|
123
|
-
return (index.h("label", { key: '
|
|
127
|
+
return (index.h("label", { key: '1a03763c5cfcb5159b69e62a9db9893297082e2b', class: this.toggleClasses, style: cssVars, "aria-label": this.label || 'toggle' }, this.label, index.h("input", { key: '099cbbb02ebf283883ab7fe748f605491ae84808', style: { display: 'none' }, type: "checkbox", onInput: this.handleChange })));
|
|
124
128
|
}
|
|
125
129
|
};
|
|
126
130
|
SdToggle.style = sdToggleCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-C-F-JEv_.js');
|
|
4
4
|
|
|
5
5
|
const TooltipArrow = (props) => (index.h("svg", { width: "16", height: "12", viewBox: "0 0 16 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, index.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" })));
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export const Close = (props) => {
|
|
3
3
|
const { size = 24, ...rest } = props;
|
|
4
|
-
return (h("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest }, h("path", { d: "
|
|
4
|
+
return (h("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest }, h("path", { d: "M18.8281 4.11135C19.121 3.81849 19.5958 3.81854 19.8887 4.11135C20.1816 4.40424 20.1816 4.879 19.8887 5.1719L13.0596 12L19.8887 18.8291C20.1815 19.122 20.1815 19.5968 19.8887 19.8897C19.5958 20.1822 19.1209 20.1824 18.8281 19.8897L12 13.0606L5.17188 19.8897C4.87911 20.1823 4.40422 20.1821 4.11133 19.8897C3.81844 19.5968 3.81844 19.121 4.11133 18.8281L10.9385 12L4.11133 5.1719C3.81844 4.879 3.81844 4.40424 4.11133 4.11135C4.40424 3.8186 4.87903 3.81851 5.17188 4.11135L11.999 10.9395L18.8281 4.11135Z", fill: "currentColor" })));
|
|
5
5
|
};
|
|
@@ -5,11 +5,17 @@ const DEFAULT_BUTTON_PROPS = {
|
|
|
5
5
|
label: '확인',
|
|
6
6
|
};
|
|
7
7
|
export class SdActionModal {
|
|
8
|
+
/** 모달 헤더에 표시할 제목 */
|
|
8
9
|
modalTitle = '';
|
|
10
|
+
/** 하단 확인 버튼의 props (없으면 footer 미표시) */
|
|
9
11
|
buttonProps;
|
|
12
|
+
/** 모달 너비 (숫자면 px, 문자열이면 그대로 적용) */
|
|
10
13
|
width;
|
|
14
|
+
/** 모달 높이 (숫자면 px, 문자열이면 그대로 적용) */
|
|
11
15
|
height;
|
|
16
|
+
/** 닫기 버튼 클릭 시 발생 */
|
|
12
17
|
close;
|
|
18
|
+
/** 확인 버튼 클릭 시 발생 */
|
|
13
19
|
ok;
|
|
14
20
|
render() {
|
|
15
21
|
const cssVars = {
|
|
@@ -39,7 +45,7 @@ export class SdActionModal {
|
|
|
39
45
|
if (this.height != null && this.height !== '') {
|
|
40
46
|
sizeStyle.height = typeof this.height === 'number' ? `${this.height}px` : this.height;
|
|
41
47
|
}
|
|
42
|
-
return (h("div", { key: '
|
|
48
|
+
return (h("div", { key: '1bed831bf4534b5936d151d9cf085dda4657295f', class: "sd-action-modal", style: { ...cssVars, ...sizeStyle } }, h("header", { key: '2e5855be8128695e85e397acc91432d573572a12', class: "sd-action-modal__header" }, h("h2", { key: '1551d022b29288f38c1288c595d66acffb7cd81a', class: "sd-action-modal__title" }, this.modalTitle), h("div", { key: '8d4ec549ebebc6b2d61ad3c9dc4808d0275d3c55', class: "sd-action-modal__header-sub" }, h("slot", { key: 'aac69288e31316de16c6cdd8a5b5641b5afc2f5a', name: "header-sub-title" })), h("sd-ghost-button", { key: 'd48d05b60cdc53e5d71e7694149b2e2e77c0cde8', class: "sd-action-modal__close", icon: "close", ariaLabel: "close", onClick: () => this.close.emit() })), h("div", { key: 'abd5db2432dea9639bfa91fb3f3019105a47e409', class: "sd-action-modal__body" }, h("slot", { key: 'debfb64dd617e6d027b9acdea2081141ad78ff5d', name: "body" })), (this.buttonProps != null || this.buttonProps != undefined) && (h("footer", { key: '9cf1510e0ce5aea2e5b4e504e832073f533e166e', class: "sd-action-modal__footer" }, h("div", { key: '677d0e26fe8d416419fd247c808206955df82b16', class: "sd-action-modal__footer-sub" }, h("slot", { key: '24e400c96a0fec93ea76d2a037432901e3050618', name: "bottom-sub-content" })), h("sd-button", { key: 'b52c5c7837a06f25738533dc769f5daff1169696', ...DEFAULT_BUTTON_PROPS, ...this.buttonProps, onSdClick: () => this.ok.emit() })))));
|
|
43
49
|
}
|
|
44
50
|
static get is() { return "sd-action-modal"; }
|
|
45
51
|
static get originalStyleUrls() {
|
|
@@ -66,7 +72,7 @@ export class SdActionModal {
|
|
|
66
72
|
"optional": false,
|
|
67
73
|
"docs": {
|
|
68
74
|
"tags": [],
|
|
69
|
-
"text": ""
|
|
75
|
+
"text": "\uBAA8\uB2EC \uD5E4\uB354\uC5D0 \uD45C\uC2DC\uD560 \uC81C\uBAA9"
|
|
70
76
|
},
|
|
71
77
|
"getter": false,
|
|
72
78
|
"setter": false,
|
|
@@ -93,7 +99,7 @@ export class SdActionModal {
|
|
|
93
99
|
"optional": true,
|
|
94
100
|
"docs": {
|
|
95
101
|
"tags": [],
|
|
96
|
-
"text": ""
|
|
102
|
+
"text": "\uD558\uB2E8 \uD655\uC778 \uBC84\uD2BC\uC758 props (\uC5C6\uC73C\uBA74 footer \uBBF8\uD45C\uC2DC)"
|
|
97
103
|
},
|
|
98
104
|
"getter": false,
|
|
99
105
|
"setter": false
|
|
@@ -110,7 +116,7 @@ export class SdActionModal {
|
|
|
110
116
|
"optional": true,
|
|
111
117
|
"docs": {
|
|
112
118
|
"tags": [],
|
|
113
|
-
"text": ""
|
|
119
|
+
"text": "\uBAA8\uB2EC \uB108\uBE44 (\uC22B\uC790\uBA74 px, \uBB38\uC790\uC5F4\uC774\uBA74 \uADF8\uB300\uB85C \uC801\uC6A9)"
|
|
114
120
|
},
|
|
115
121
|
"getter": false,
|
|
116
122
|
"setter": false,
|
|
@@ -129,7 +135,7 @@ export class SdActionModal {
|
|
|
129
135
|
"optional": true,
|
|
130
136
|
"docs": {
|
|
131
137
|
"tags": [],
|
|
132
|
-
"text": ""
|
|
138
|
+
"text": "\uBAA8\uB2EC \uB192\uC774 (\uC22B\uC790\uBA74 px, \uBB38\uC790\uC5F4\uC774\uBA74 \uADF8\uB300\uB85C \uC801\uC6A9)"
|
|
133
139
|
},
|
|
134
140
|
"getter": false,
|
|
135
141
|
"setter": false,
|
|
@@ -147,7 +153,7 @@ export class SdActionModal {
|
|
|
147
153
|
"composed": true,
|
|
148
154
|
"docs": {
|
|
149
155
|
"tags": [],
|
|
150
|
-
"text": ""
|
|
156
|
+
"text": "\uB2EB\uAE30 \uBC84\uD2BC \uD074\uB9AD \uC2DC \uBC1C\uC0DD"
|
|
151
157
|
},
|
|
152
158
|
"complexType": {
|
|
153
159
|
"original": "void",
|
|
@@ -162,7 +168,7 @@ export class SdActionModal {
|
|
|
162
168
|
"composed": true,
|
|
163
169
|
"docs": {
|
|
164
170
|
"tags": [],
|
|
165
|
-
"text": ""
|
|
171
|
+
"text": "\uD655\uC778 \uBC84\uD2BC \uD074\uB9AD \uC2DC \uBC1C\uC0DD"
|
|
166
172
|
},
|
|
167
173
|
"complexType": {
|
|
168
174
|
"original": "void",
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { BADGE_COLOR_MAP } from "./sd-badge.config";
|
|
3
3
|
export class SdBadge {
|
|
4
|
+
/** 뱃지 색상 */
|
|
4
5
|
color = 'blue';
|
|
5
6
|
render() {
|
|
6
7
|
const resolvedColor = BADGE_COLOR_MAP[this.color] ?? BADGE_COLOR_MAP.blue;
|
|
7
|
-
return (h("div", { key: '
|
|
8
|
+
return (h("div", { key: '72a1ff1775b431b12a0765416d50256a91e34180', class: "sd-badge", style: { '--sd-badge-color': resolvedColor } }, h("div", { key: '427bc1c523aff73dc52edf729a414b26f52faf68', class: "sd-badge__dot" })));
|
|
8
9
|
}
|
|
9
10
|
static get is() { return "sd-badge"; }
|
|
10
11
|
static get originalStyleUrls() {
|
|
@@ -38,7 +39,7 @@ export class SdBadge {
|
|
|
38
39
|
"optional": false,
|
|
39
40
|
"docs": {
|
|
40
41
|
"tags": [],
|
|
41
|
-
"text": ""
|
|
42
|
+
"text": "\uBC43\uC9C0 \uC0C9\uC0C1"
|
|
42
43
|
},
|
|
43
44
|
"getter": false,
|
|
44
45
|
"setter": false,
|
|
@@ -3,38 +3,66 @@ import { nanoid } from "nanoid/non-secure";
|
|
|
3
3
|
import { BARCODE_INPUT_COLORS, BARCODE_INPUT_SIZE_MAP, } from "./sd-barcode-input.config";
|
|
4
4
|
export class SdBarcodeInput {
|
|
5
5
|
host;
|
|
6
|
+
/** 입력값 */
|
|
6
7
|
value = null;
|
|
8
|
+
/** 입력 필드 크기 */
|
|
7
9
|
size = 'sm';
|
|
10
|
+
/** 필드 우측 어드온 레이블 */
|
|
8
11
|
addonLabel = '';
|
|
12
|
+
/** 어드온 정렬 방향 */
|
|
9
13
|
addonAlign = 'start';
|
|
14
|
+
/** 입력 placeholder */
|
|
10
15
|
placeholder = '입력해 주세요.';
|
|
16
|
+
/** 비활성 상태 여부 */
|
|
11
17
|
disabled = false;
|
|
18
|
+
/** 입력값 지우기 버튼 표시 여부 */
|
|
12
19
|
clearable = false;
|
|
20
|
+
/** 필드 너비 (숫자면 px, 문자열이면 그대로 적용) */
|
|
13
21
|
width = '';
|
|
22
|
+
/** 유효성 검사 규칙 목록 */
|
|
14
23
|
rules = [];
|
|
24
|
+
/** 마운트 시 자동 포커스 여부 */
|
|
15
25
|
autoFocus = false;
|
|
26
|
+
/** 필드 상태 (없으면 rules 결과로 자동 결정) */
|
|
16
27
|
status;
|
|
28
|
+
/** 필드 하단 힌트 텍스트 */
|
|
17
29
|
hint = '';
|
|
30
|
+
/** 에러 메시지 */
|
|
18
31
|
errorMessage = '';
|
|
32
|
+
/** 네이티브 input에 추가할 클래스 */
|
|
19
33
|
inputClass = '';
|
|
34
|
+
/** 읽기 전용 여부 */
|
|
20
35
|
readonly = false;
|
|
36
|
+
/** 에러 상태 여부 */
|
|
21
37
|
error = false;
|
|
38
|
+
/** 포커스 상태 여부 */
|
|
22
39
|
focused = false;
|
|
40
|
+
/** 호버 상태 여부 */
|
|
23
41
|
hovered = false;
|
|
24
42
|
// props - label
|
|
43
|
+
/** 레이블 텍스트 */
|
|
25
44
|
label = '';
|
|
45
|
+
/** 레이블 너비 */
|
|
26
46
|
labelWidth = '';
|
|
47
|
+
/** 레이블 영역 아이콘 */
|
|
27
48
|
icon = undefined;
|
|
49
|
+
/** 레이블 툴팁 텍스트 */
|
|
28
50
|
labelTooltip = '';
|
|
51
|
+
/** 레이블 툴팁 상세 옵션 */
|
|
29
52
|
labelTooltipProps = null;
|
|
30
53
|
// props - custom styles
|
|
54
|
+
/** 네이티브 input에 적용할 인라인 스타일 */
|
|
31
55
|
inputStyle = {};
|
|
32
56
|
internalValue = null;
|
|
33
57
|
nativeEl = undefined;
|
|
34
58
|
formField;
|
|
59
|
+
/** 폼 연동용 name 속성 */
|
|
35
60
|
name = nanoid();
|
|
61
|
+
/** 입력값 변경 시 발생합니다. */
|
|
36
62
|
input;
|
|
63
|
+
/** 포커스 진입 시 발생합니다. */
|
|
37
64
|
focus;
|
|
65
|
+
/** 포커스 이탈 시 발생합니다. */
|
|
38
66
|
blur;
|
|
39
67
|
valueChanged(newValue) {
|
|
40
68
|
this.internalValue = newValue;
|
|
@@ -45,18 +73,23 @@ export class SdBarcodeInput {
|
|
|
45
73
|
this.input?.emit(this.value);
|
|
46
74
|
}
|
|
47
75
|
}
|
|
76
|
+
/** 네이티브 input 엘리먼트를 반환합니다. */
|
|
48
77
|
async sdGetNativeElement() {
|
|
49
78
|
return this.nativeEl || null;
|
|
50
79
|
}
|
|
80
|
+
/** 유효성 검사를 실행합니다. */
|
|
51
81
|
async sdValidate() {
|
|
52
82
|
this.formField?.sdValidate();
|
|
53
83
|
}
|
|
84
|
+
/** 입력값과 유효성 상태를 초기화합니다. */
|
|
54
85
|
async sdReset() {
|
|
55
86
|
this.formField?.sdReset();
|
|
56
87
|
}
|
|
88
|
+
/** 유효성 상태만 초기화합니다. */
|
|
57
89
|
async sdResetValidate() {
|
|
58
90
|
this.formField?.sdResetValidation();
|
|
59
91
|
}
|
|
92
|
+
/** 입력 필드에 포커스를 이동합니다. */
|
|
60
93
|
async sdFocus() {
|
|
61
94
|
this.formField?.sdFocus();
|
|
62
95
|
}
|
|
@@ -102,7 +135,7 @@ export class SdBarcodeInput {
|
|
|
102
135
|
'--sd-system-radius-field-sm': `${sizeTokens.radius}px`,
|
|
103
136
|
'--sd-system-color-field-bg-default': BARCODE_INPUT_COLORS.bg.barcode,
|
|
104
137
|
};
|
|
105
|
-
return (h("sd-field", { key: '
|
|
138
|
+
return (h("sd-field", { key: '9f9831c9f39e4723cad6567b22155ab89856c9be', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, status: this.status, size: this.size, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, h("label", { key: '1da8ce2ef66e48f269b79f22e6751ccf18ca9cc0', class: "sd-barcode-input__content" }, h("slot", { key: '06850214ee5118ff3d13266c1ade37902c19f379', name: "prefix" }), h("input", { key: '0384b010946b635cc6b19ddb1a83be593ba5806b', name: this.name, ref: el => (this.nativeEl = el), class: `sd-barcode-input__native ${this.inputClass}`, type: "text", value: this.internalValue || '', placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.inputStyle }), h("slot", { key: '2bb5baed7b300014e52795d3a7665a580b7ff5a2', name: "suffix" }), this.clearable && this.internalValue && (h("sd-ghost-button", { key: 'fc586fdb39a1dc25eeba32c76aa86a653416c38e', icon: "close", ariaLabel: "clear", size: "xxs", disabled: this.disabled, class: "sd-barcode-input__clear-icon", onClick: async () => {
|
|
106
139
|
if (this.disabled)
|
|
107
140
|
return;
|
|
108
141
|
this.internalValue = '';
|
|
@@ -134,7 +167,7 @@ export class SdBarcodeInput {
|
|
|
134
167
|
"optional": true,
|
|
135
168
|
"docs": {
|
|
136
169
|
"tags": [],
|
|
137
|
-
"text": ""
|
|
170
|
+
"text": "\uC785\uB825\uAC12"
|
|
138
171
|
},
|
|
139
172
|
"getter": false,
|
|
140
173
|
"setter": false,
|
|
@@ -161,7 +194,7 @@ export class SdBarcodeInput {
|
|
|
161
194
|
"optional": false,
|
|
162
195
|
"docs": {
|
|
163
196
|
"tags": [],
|
|
164
|
-
"text": ""
|
|
197
|
+
"text": "\uC785\uB825 \uD544\uB4DC \uD06C\uAE30"
|
|
165
198
|
},
|
|
166
199
|
"getter": false,
|
|
167
200
|
"setter": false,
|
|
@@ -181,7 +214,7 @@ export class SdBarcodeInput {
|
|
|
181
214
|
"optional": false,
|
|
182
215
|
"docs": {
|
|
183
216
|
"tags": [],
|
|
184
|
-
"text": ""
|
|
217
|
+
"text": "\uD544\uB4DC \uC6B0\uCE21 \uC5B4\uB4DC\uC628 \uB808\uC774\uBE14"
|
|
185
218
|
},
|
|
186
219
|
"getter": false,
|
|
187
220
|
"setter": false,
|
|
@@ -208,7 +241,7 @@ export class SdBarcodeInput {
|
|
|
208
241
|
"optional": false,
|
|
209
242
|
"docs": {
|
|
210
243
|
"tags": [],
|
|
211
|
-
"text": ""
|
|
244
|
+
"text": "\uC5B4\uB4DC\uC628 \uC815\uB82C \uBC29\uD5A5"
|
|
212
245
|
},
|
|
213
246
|
"getter": false,
|
|
214
247
|
"setter": false,
|
|
@@ -228,7 +261,7 @@ export class SdBarcodeInput {
|
|
|
228
261
|
"optional": false,
|
|
229
262
|
"docs": {
|
|
230
263
|
"tags": [],
|
|
231
|
-
"text": ""
|
|
264
|
+
"text": "\uC785\uB825 placeholder"
|
|
232
265
|
},
|
|
233
266
|
"getter": false,
|
|
234
267
|
"setter": false,
|
|
@@ -248,7 +281,7 @@ export class SdBarcodeInput {
|
|
|
248
281
|
"optional": false,
|
|
249
282
|
"docs": {
|
|
250
283
|
"tags": [],
|
|
251
|
-
"text": ""
|
|
284
|
+
"text": "\uBE44\uD65C\uC131 \uC0C1\uD0DC \uC5EC\uBD80"
|
|
252
285
|
},
|
|
253
286
|
"getter": false,
|
|
254
287
|
"setter": false,
|
|
@@ -268,7 +301,7 @@ export class SdBarcodeInput {
|
|
|
268
301
|
"optional": false,
|
|
269
302
|
"docs": {
|
|
270
303
|
"tags": [],
|
|
271
|
-
"text": ""
|
|
304
|
+
"text": "\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30 \uBC84\uD2BC \uD45C\uC2DC \uC5EC\uBD80"
|
|
272
305
|
},
|
|
273
306
|
"getter": false,
|
|
274
307
|
"setter": false,
|
|
@@ -288,7 +321,7 @@ export class SdBarcodeInput {
|
|
|
288
321
|
"optional": false,
|
|
289
322
|
"docs": {
|
|
290
323
|
"tags": [],
|
|
291
|
-
"text": ""
|
|
324
|
+
"text": "\uD544\uB4DC \uB108\uBE44 (\uC22B\uC790\uBA74 px, \uBB38\uC790\uC5F4\uC774\uBA74 \uADF8\uB300\uB85C \uC801\uC6A9)"
|
|
292
325
|
},
|
|
293
326
|
"getter": false,
|
|
294
327
|
"setter": false,
|
|
@@ -315,7 +348,7 @@ export class SdBarcodeInput {
|
|
|
315
348
|
"optional": true,
|
|
316
349
|
"docs": {
|
|
317
350
|
"tags": [],
|
|
318
|
-
"text": ""
|
|
351
|
+
"text": "\uC720\uD6A8\uC131 \uAC80\uC0AC \uADDC\uCE59 \uBAA9\uB85D"
|
|
319
352
|
},
|
|
320
353
|
"getter": false,
|
|
321
354
|
"setter": false,
|
|
@@ -333,7 +366,7 @@ export class SdBarcodeInput {
|
|
|
333
366
|
"optional": false,
|
|
334
367
|
"docs": {
|
|
335
368
|
"tags": [],
|
|
336
|
-
"text": ""
|
|
369
|
+
"text": "\uB9C8\uC6B4\uD2B8 \uC2DC \uC790\uB3D9 \uD3EC\uCEE4\uC2A4 \uC5EC\uBD80"
|
|
337
370
|
},
|
|
338
371
|
"getter": false,
|
|
339
372
|
"setter": false,
|
|
@@ -353,7 +386,7 @@ export class SdBarcodeInput {
|
|
|
353
386
|
"optional": true,
|
|
354
387
|
"docs": {
|
|
355
388
|
"tags": [],
|
|
356
|
-
"text": ""
|
|
389
|
+
"text": "\uD544\uB4DC \uC0C1\uD0DC (\uC5C6\uC73C\uBA74 rules \uACB0\uACFC\uB85C \uC790\uB3D9 \uACB0\uC815)"
|
|
357
390
|
},
|
|
358
391
|
"getter": false,
|
|
359
392
|
"setter": false,
|
|
@@ -372,7 +405,7 @@ export class SdBarcodeInput {
|
|
|
372
405
|
"optional": false,
|
|
373
406
|
"docs": {
|
|
374
407
|
"tags": [],
|
|
375
|
-
"text": ""
|
|
408
|
+
"text": "\uD544\uB4DC \uD558\uB2E8 \uD78C\uD2B8 \uD14D\uC2A4\uD2B8"
|
|
376
409
|
},
|
|
377
410
|
"getter": false,
|
|
378
411
|
"setter": false,
|
|
@@ -392,7 +425,7 @@ export class SdBarcodeInput {
|
|
|
392
425
|
"optional": false,
|
|
393
426
|
"docs": {
|
|
394
427
|
"tags": [],
|
|
395
|
-
"text": ""
|
|
428
|
+
"text": "\uC5D0\uB7EC \uBA54\uC2DC\uC9C0"
|
|
396
429
|
},
|
|
397
430
|
"getter": false,
|
|
398
431
|
"setter": false,
|
|
@@ -412,7 +445,7 @@ export class SdBarcodeInput {
|
|
|
412
445
|
"optional": false,
|
|
413
446
|
"docs": {
|
|
414
447
|
"tags": [],
|
|
415
|
-
"text": ""
|
|
448
|
+
"text": "\uB124\uC774\uD2F0\uBE0C input\uC5D0 \uCD94\uAC00\uD560 \uD074\uB798\uC2A4"
|
|
416
449
|
},
|
|
417
450
|
"getter": false,
|
|
418
451
|
"setter": false,
|
|
@@ -432,7 +465,7 @@ export class SdBarcodeInput {
|
|
|
432
465
|
"optional": false,
|
|
433
466
|
"docs": {
|
|
434
467
|
"tags": [],
|
|
435
|
-
"text": ""
|
|
468
|
+
"text": "\uC77D\uAE30 \uC804\uC6A9 \uC5EC\uBD80"
|
|
436
469
|
},
|
|
437
470
|
"getter": false,
|
|
438
471
|
"setter": false,
|
|
@@ -452,7 +485,7 @@ export class SdBarcodeInput {
|
|
|
452
485
|
"optional": false,
|
|
453
486
|
"docs": {
|
|
454
487
|
"tags": [],
|
|
455
|
-
"text": ""
|
|
488
|
+
"text": "\uC5D0\uB7EC \uC0C1\uD0DC \uC5EC\uBD80"
|
|
456
489
|
},
|
|
457
490
|
"getter": false,
|
|
458
491
|
"setter": false,
|
|
@@ -472,7 +505,7 @@ export class SdBarcodeInput {
|
|
|
472
505
|
"optional": false,
|
|
473
506
|
"docs": {
|
|
474
507
|
"tags": [],
|
|
475
|
-
"text": ""
|
|
508
|
+
"text": "\uD3EC\uCEE4\uC2A4 \uC0C1\uD0DC \uC5EC\uBD80"
|
|
476
509
|
},
|
|
477
510
|
"getter": false,
|
|
478
511
|
"setter": false,
|
|
@@ -492,7 +525,7 @@ export class SdBarcodeInput {
|
|
|
492
525
|
"optional": false,
|
|
493
526
|
"docs": {
|
|
494
527
|
"tags": [],
|
|
495
|
-
"text": ""
|
|
528
|
+
"text": "\uD638\uBC84 \uC0C1\uD0DC \uC5EC\uBD80"
|
|
496
529
|
},
|
|
497
530
|
"getter": false,
|
|
498
531
|
"setter": false,
|
|
@@ -512,7 +545,7 @@ export class SdBarcodeInput {
|
|
|
512
545
|
"optional": true,
|
|
513
546
|
"docs": {
|
|
514
547
|
"tags": [],
|
|
515
|
-
"text": ""
|
|
548
|
+
"text": "\uB808\uC774\uBE14 \uD14D\uC2A4\uD2B8"
|
|
516
549
|
},
|
|
517
550
|
"getter": false,
|
|
518
551
|
"setter": false,
|
|
@@ -532,7 +565,7 @@ export class SdBarcodeInput {
|
|
|
532
565
|
"optional": false,
|
|
533
566
|
"docs": {
|
|
534
567
|
"tags": [],
|
|
535
|
-
"text": ""
|
|
568
|
+
"text": "\uB808\uC774\uBE14 \uB108\uBE44"
|
|
536
569
|
},
|
|
537
570
|
"getter": false,
|
|
538
571
|
"setter": false,
|
|
@@ -557,7 +590,7 @@ export class SdBarcodeInput {
|
|
|
557
590
|
"optional": true,
|
|
558
591
|
"docs": {
|
|
559
592
|
"tags": [],
|
|
560
|
-
"text": ""
|
|
593
|
+
"text": "\uB808\uC774\uBE14 \uC601\uC5ED \uC544\uC774\uCF58"
|
|
561
594
|
},
|
|
562
595
|
"getter": false,
|
|
563
596
|
"setter": false,
|
|
@@ -575,7 +608,7 @@ export class SdBarcodeInput {
|
|
|
575
608
|
"optional": false,
|
|
576
609
|
"docs": {
|
|
577
610
|
"tags": [],
|
|
578
|
-
"text": ""
|
|
611
|
+
"text": "\uB808\uC774\uBE14 \uD234\uD301 \uD14D\uC2A4\uD2B8"
|
|
579
612
|
},
|
|
580
613
|
"getter": false,
|
|
581
614
|
"setter": false,
|
|
@@ -602,7 +635,7 @@ export class SdBarcodeInput {
|
|
|
602
635
|
"optional": false,
|
|
603
636
|
"docs": {
|
|
604
637
|
"tags": [],
|
|
605
|
-
"text": ""
|
|
638
|
+
"text": "\uB808\uC774\uBE14 \uD234\uD301 \uC0C1\uC138 \uC635\uC158"
|
|
606
639
|
},
|
|
607
640
|
"getter": false,
|
|
608
641
|
"setter": false,
|
|
@@ -620,7 +653,7 @@ export class SdBarcodeInput {
|
|
|
620
653
|
"optional": false,
|
|
621
654
|
"docs": {
|
|
622
655
|
"tags": [],
|
|
623
|
-
"text": ""
|
|
656
|
+
"text": "\uB124\uC774\uD2F0\uBE0C input\uC5D0 \uC801\uC6A9\uD560 \uC778\uB77C\uC778 \uC2A4\uD0C0\uC77C"
|
|
624
657
|
},
|
|
625
658
|
"getter": false,
|
|
626
659
|
"setter": false,
|
|
@@ -638,7 +671,7 @@ export class SdBarcodeInput {
|
|
|
638
671
|
"optional": false,
|
|
639
672
|
"docs": {
|
|
640
673
|
"tags": [],
|
|
641
|
-
"text": ""
|
|
674
|
+
"text": "\uD3FC \uC5F0\uB3D9\uC6A9 name \uC18D\uC131"
|
|
642
675
|
},
|
|
643
676
|
"getter": false,
|
|
644
677
|
"setter": false,
|
|
@@ -662,7 +695,7 @@ export class SdBarcodeInput {
|
|
|
662
695
|
"composed": true,
|
|
663
696
|
"docs": {
|
|
664
697
|
"tags": [],
|
|
665
|
-
"text": ""
|
|
698
|
+
"text": "\uC785\uB825\uAC12 \uBCC0\uACBD \uC2DC \uBC1C\uC0DD\uD569\uB2C8\uB2E4."
|
|
666
699
|
},
|
|
667
700
|
"complexType": {
|
|
668
701
|
"original": "string | number | null",
|
|
@@ -677,7 +710,7 @@ export class SdBarcodeInput {
|
|
|
677
710
|
"composed": true,
|
|
678
711
|
"docs": {
|
|
679
712
|
"tags": [],
|
|
680
|
-
"text": ""
|
|
713
|
+
"text": "\uD3EC\uCEE4\uC2A4 \uC9C4\uC785 \uC2DC \uBC1C\uC0DD\uD569\uB2C8\uB2E4."
|
|
681
714
|
},
|
|
682
715
|
"complexType": {
|
|
683
716
|
"original": "Event",
|
|
@@ -699,7 +732,7 @@ export class SdBarcodeInput {
|
|
|
699
732
|
"composed": true,
|
|
700
733
|
"docs": {
|
|
701
734
|
"tags": [],
|
|
702
|
-
"text": ""
|
|
735
|
+
"text": "\uD3EC\uCEE4\uC2A4 \uC774\uD0C8 \uC2DC \uBC1C\uC0DD\uD569\uB2C8\uB2E4."
|
|
703
736
|
},
|
|
704
737
|
"complexType": {
|
|
705
738
|
"original": "Event",
|
|
@@ -734,7 +767,7 @@ export class SdBarcodeInput {
|
|
|
734
767
|
"return": "Promise<HTMLInputElement | null>"
|
|
735
768
|
},
|
|
736
769
|
"docs": {
|
|
737
|
-
"text": "",
|
|
770
|
+
"text": "\uB124\uC774\uD2F0\uBE0C input \uC5D8\uB9AC\uBA3C\uD2B8\uB97C \uBC18\uD658\uD569\uB2C8\uB2E4.",
|
|
738
771
|
"tags": []
|
|
739
772
|
}
|
|
740
773
|
},
|
|
@@ -751,7 +784,7 @@ export class SdBarcodeInput {
|
|
|
751
784
|
"return": "Promise<void>"
|
|
752
785
|
},
|
|
753
786
|
"docs": {
|
|
754
|
-
"text": "",
|
|
787
|
+
"text": "\uC720\uD6A8\uC131 \uAC80\uC0AC\uB97C \uC2E4\uD589\uD569\uB2C8\uB2E4.",
|
|
755
788
|
"tags": []
|
|
756
789
|
}
|
|
757
790
|
},
|
|
@@ -768,7 +801,7 @@ export class SdBarcodeInput {
|
|
|
768
801
|
"return": "Promise<void>"
|
|
769
802
|
},
|
|
770
803
|
"docs": {
|
|
771
|
-
"text": "",
|
|
804
|
+
"text": "\uC785\uB825\uAC12\uACFC \uC720\uD6A8\uC131 \uC0C1\uD0DC\uB97C \uCD08\uAE30\uD654\uD569\uB2C8\uB2E4.",
|
|
772
805
|
"tags": []
|
|
773
806
|
}
|
|
774
807
|
},
|
|
@@ -785,7 +818,7 @@ export class SdBarcodeInput {
|
|
|
785
818
|
"return": "Promise<void>"
|
|
786
819
|
},
|
|
787
820
|
"docs": {
|
|
788
|
-
"text": "",
|
|
821
|
+
"text": "\uC720\uD6A8\uC131 \uC0C1\uD0DC\uB9CC \uCD08\uAE30\uD654\uD569\uB2C8\uB2E4.",
|
|
789
822
|
"tags": []
|
|
790
823
|
}
|
|
791
824
|
},
|
|
@@ -802,7 +835,7 @@ export class SdBarcodeInput {
|
|
|
802
835
|
"return": "Promise<void>"
|
|
803
836
|
},
|
|
804
837
|
"docs": {
|
|
805
|
-
"text": "",
|
|
838
|
+
"text": "\uC785\uB825 \uD544\uB4DC\uC5D0 \uD3EC\uCEE4\uC2A4\uB97C \uC774\uB3D9\uD569\uB2C8\uB2E4.",
|
|
806
839
|
"tags": []
|
|
807
840
|
}
|
|
808
841
|
}
|