@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
|
@@ -3,43 +3,77 @@ import { nanoid } from "nanoid/non-secure";
|
|
|
3
3
|
import { NUMBER_INPUT_SIZE_MAP, NUMBER_INPUT_COLORS, NUMBER_INPUT_STEPPER, NUMBER_INPUT_HINT, NUMBER_INPUT_ERROR_MESSAGE, NUMBER_INPUT_CONTENTS_GAP, } from "./sd-number-input.config";
|
|
4
4
|
export class SdNumberInput {
|
|
5
5
|
el;
|
|
6
|
+
/** 입력 크기 */
|
|
6
7
|
size = 'sm';
|
|
8
|
+
/** 최솟값 */
|
|
7
9
|
min = Number.NEGATIVE_INFINITY;
|
|
10
|
+
/** 최댓값 */
|
|
8
11
|
max = Number.POSITIVE_INFINITY;
|
|
12
|
+
/** 스텝 단위 */
|
|
9
13
|
step = 1;
|
|
14
|
+
/** 증감 버튼 표시 여부 */
|
|
10
15
|
useButton = false;
|
|
16
|
+
/** 소수점 입력 허용 여부 */
|
|
11
17
|
useDecimal = false;
|
|
18
|
+
/** 입력 값 */
|
|
12
19
|
value = null;
|
|
20
|
+
/** 레이블 텍스트 */
|
|
13
21
|
label;
|
|
22
|
+
/** 레이블 너비 */
|
|
14
23
|
labelWidth = '';
|
|
24
|
+
/** 레이블 영역 아이콘 */
|
|
15
25
|
icon = undefined;
|
|
26
|
+
/** 레이블 툴팁 텍스트 */
|
|
16
27
|
labelTooltip = '';
|
|
28
|
+
/** 레이블 툴팁 상세 옵션 */
|
|
17
29
|
labelTooltipProps = null;
|
|
30
|
+
/** 필드 우측 어드온 레이블 */
|
|
18
31
|
addonLabel = '';
|
|
32
|
+
/** 어드온 정렬 방향 */
|
|
19
33
|
addonAlign = 'start';
|
|
34
|
+
/** 플레이스홀더 텍스트 */
|
|
20
35
|
placeholder = '입력해 주세요.';
|
|
36
|
+
/** 비활성 상태 여부 */
|
|
21
37
|
disabled = false;
|
|
38
|
+
/** 필드 너비 (숫자면 px, 문자열이면 그대로 적용) */
|
|
22
39
|
width;
|
|
40
|
+
/** 유효성 검사 규칙 목록 */
|
|
23
41
|
rules = [];
|
|
42
|
+
/** 마운트 시 자동 포커스 여부 */
|
|
24
43
|
autoFocus = false;
|
|
44
|
+
/** 필드 상태 (없으면 rules 결과로 자동 결정) */
|
|
25
45
|
status;
|
|
46
|
+
/** 필드 하단 힌트 텍스트 */
|
|
26
47
|
hint = '';
|
|
48
|
+
/** 에러 메시지 */
|
|
27
49
|
errorMessage = '';
|
|
50
|
+
/** 입력 앞에 표시할 접두 텍스트 */
|
|
28
51
|
inputPrefix = '';
|
|
52
|
+
/** 입력 뒤에 표시할 접미 텍스트 */
|
|
29
53
|
inputSuffix = '';
|
|
54
|
+
/** 네이티브 input에 추가할 클래스 */
|
|
30
55
|
inputClass = '';
|
|
56
|
+
/** 읽기 전용 여부 */
|
|
31
57
|
readonly = false;
|
|
58
|
+
/** 네이티브 input에 적용할 인라인 스타일 */
|
|
32
59
|
inputStyle = {};
|
|
60
|
+
/** 에러 상태 여부 */
|
|
33
61
|
error = false;
|
|
62
|
+
/** 포커스 상태 여부 */
|
|
34
63
|
focused = false;
|
|
64
|
+
/** 호버 상태 여부 */
|
|
35
65
|
hovered = false;
|
|
36
66
|
internalValue = null;
|
|
37
67
|
displayValue = '';
|
|
38
68
|
nativeEl = undefined;
|
|
39
69
|
formField;
|
|
70
|
+
/** 폼 연동용 name 속성 */
|
|
40
71
|
name = nanoid();
|
|
72
|
+
/** 값이 변경될 때 발생합니다. */
|
|
41
73
|
update;
|
|
74
|
+
/** 포커스될 때 발생합니다. */
|
|
42
75
|
focus;
|
|
76
|
+
/** 포커스를 잃을 때 발생합니다. */
|
|
43
77
|
blur;
|
|
44
78
|
toNumber(val) {
|
|
45
79
|
if (val === null || val === undefined || val === '')
|
|
@@ -117,18 +151,23 @@ export class SdNumberInput {
|
|
|
117
151
|
this.update?.emit(newValue);
|
|
118
152
|
}
|
|
119
153
|
}
|
|
154
|
+
/** 유효성 검사를 실행합니다. */
|
|
120
155
|
async sdValidate() {
|
|
121
156
|
this.formField?.sdValidate();
|
|
122
157
|
}
|
|
158
|
+
/** 값과 유효성 상태를 초기화합니다. */
|
|
123
159
|
async sdReset() {
|
|
124
160
|
this.formField?.sdReset();
|
|
125
161
|
}
|
|
162
|
+
/** 유효성 상태만 초기화합니다. */
|
|
126
163
|
async sdResetValidate() {
|
|
127
164
|
this.formField?.sdResetValidation();
|
|
128
165
|
}
|
|
166
|
+
/** 입력 필드에 포커스를 이동합니다. */
|
|
129
167
|
async sdFocus() {
|
|
130
168
|
this.formField?.sdFocus();
|
|
131
169
|
}
|
|
170
|
+
/** 네이티브 input 엘리먼트를 반환합니다. */
|
|
132
171
|
async sdGetNativeElement() {
|
|
133
172
|
return this.nativeEl || null;
|
|
134
173
|
}
|
|
@@ -275,15 +314,15 @@ export class SdNumberInput {
|
|
|
275
314
|
'--sd-textinput-input-hint-typography-line-height': `${NUMBER_INPUT_HINT.typography.lineHeight}px`,
|
|
276
315
|
'--sd-textinput-input-contents-gap': `${NUMBER_INPUT_CONTENTS_GAP}px`,
|
|
277
316
|
};
|
|
278
|
-
return (h("sd-field", { key: '
|
|
317
|
+
return (h("sd-field", { key: 'f07710abbe74849369a3d0d6444750f71ed75e7b', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, readonly: this.readonly, focused: this.focused, hovered: this.hovered, status: this.status, size: this.size, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, h("div", { key: 'ad70ff68bb24fe02c25a57dd3de0b5ef38ceef8a', class: {
|
|
279
318
|
'sd-number-input__content': true,
|
|
280
319
|
'sd-number-input__content--no-stepper': !this.useButton,
|
|
281
|
-
} }, this.useButton && (h("button", { key: '
|
|
320
|
+
} }, this.useButton && (h("button", { key: '90305a8863c6b6ba3d3afce695c5f61204424c46', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--decrement", disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, h("sd-icon", { key: 'e6440e5b63d4860d05f0573690a4064f7e6729ac', name: "minus", size: iconSize, color: this.isDecrementDisabled()
|
|
282
321
|
? NUMBER_INPUT_STEPPER.icon.disabled
|
|
283
|
-
: NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && h("span", { key: '
|
|
322
|
+
: NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && h("span", { key: 'ae2e8d052471925a5c794dcf1041a7ddbfe66652', class: "sd-number-input__prefix" }, this.inputPrefix), h("input", { key: 'a19917bfbe10b6d121e61e374a134207c9eb7fd7', name: this.name, ref: el => (this.nativeEl = el), class: `sd-number-input__native ${this.inputClass}`, type: "text", inputMode: "numeric", value: this.displayValue, placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur, style: {
|
|
284
323
|
textAlign: this.useButton ? 'center' : 'right',
|
|
285
324
|
...this.inputStyle,
|
|
286
|
-
} }), this.inputSuffix && h("span", { key: '
|
|
325
|
+
} }), this.inputSuffix && h("span", { key: '352e2a645c8db62c8d887b1a1f490ade187d05f0', class: "sd-number-input__suffix" }, this.inputSuffix), this.useButton && (h("button", { key: '5c4f1153f6488cb95502bfa7f2bcad073bccb593', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--increment", disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, h("sd-icon", { key: 'c9e0924126fb39492e8a696fa2628f367b8e2058', name: "add", size: iconSize, color: this.isIncrementDisabled()
|
|
287
326
|
? NUMBER_INPUT_STEPPER.icon.disabled
|
|
288
327
|
: NUMBER_INPUT_STEPPER.icon.default }))))));
|
|
289
328
|
}
|
|
@@ -319,7 +358,7 @@ export class SdNumberInput {
|
|
|
319
358
|
"optional": false,
|
|
320
359
|
"docs": {
|
|
321
360
|
"tags": [],
|
|
322
|
-
"text": ""
|
|
361
|
+
"text": "\uC785\uB825 \uD06C\uAE30"
|
|
323
362
|
},
|
|
324
363
|
"getter": false,
|
|
325
364
|
"setter": false,
|
|
@@ -339,7 +378,7 @@ export class SdNumberInput {
|
|
|
339
378
|
"optional": false,
|
|
340
379
|
"docs": {
|
|
341
380
|
"tags": [],
|
|
342
|
-
"text": ""
|
|
381
|
+
"text": "\uCD5C\uC19F\uAC12"
|
|
343
382
|
},
|
|
344
383
|
"getter": false,
|
|
345
384
|
"setter": false,
|
|
@@ -359,7 +398,7 @@ export class SdNumberInput {
|
|
|
359
398
|
"optional": false,
|
|
360
399
|
"docs": {
|
|
361
400
|
"tags": [],
|
|
362
|
-
"text": ""
|
|
401
|
+
"text": "\uCD5C\uB313\uAC12"
|
|
363
402
|
},
|
|
364
403
|
"getter": false,
|
|
365
404
|
"setter": false,
|
|
@@ -379,7 +418,7 @@ export class SdNumberInput {
|
|
|
379
418
|
"optional": false,
|
|
380
419
|
"docs": {
|
|
381
420
|
"tags": [],
|
|
382
|
-
"text": ""
|
|
421
|
+
"text": "\uC2A4\uD15D \uB2E8\uC704"
|
|
383
422
|
},
|
|
384
423
|
"getter": false,
|
|
385
424
|
"setter": false,
|
|
@@ -399,7 +438,7 @@ export class SdNumberInput {
|
|
|
399
438
|
"optional": false,
|
|
400
439
|
"docs": {
|
|
401
440
|
"tags": [],
|
|
402
|
-
"text": ""
|
|
441
|
+
"text": "\uC99D\uAC10 \uBC84\uD2BC \uD45C\uC2DC \uC5EC\uBD80"
|
|
403
442
|
},
|
|
404
443
|
"getter": false,
|
|
405
444
|
"setter": false,
|
|
@@ -419,7 +458,7 @@ export class SdNumberInput {
|
|
|
419
458
|
"optional": false,
|
|
420
459
|
"docs": {
|
|
421
460
|
"tags": [],
|
|
422
|
-
"text": ""
|
|
461
|
+
"text": "\uC18C\uC218\uC810 \uC785\uB825 \uD5C8\uC6A9 \uC5EC\uBD80"
|
|
423
462
|
},
|
|
424
463
|
"getter": false,
|
|
425
464
|
"setter": false,
|
|
@@ -439,7 +478,7 @@ export class SdNumberInput {
|
|
|
439
478
|
"optional": true,
|
|
440
479
|
"docs": {
|
|
441
480
|
"tags": [],
|
|
442
|
-
"text": ""
|
|
481
|
+
"text": "\uC785\uB825 \uAC12"
|
|
443
482
|
},
|
|
444
483
|
"getter": false,
|
|
445
484
|
"setter": false,
|
|
@@ -459,7 +498,7 @@ export class SdNumberInput {
|
|
|
459
498
|
"optional": true,
|
|
460
499
|
"docs": {
|
|
461
500
|
"tags": [],
|
|
462
|
-
"text": ""
|
|
501
|
+
"text": "\uB808\uC774\uBE14 \uD14D\uC2A4\uD2B8"
|
|
463
502
|
},
|
|
464
503
|
"getter": false,
|
|
465
504
|
"setter": false,
|
|
@@ -478,7 +517,7 @@ export class SdNumberInput {
|
|
|
478
517
|
"optional": false,
|
|
479
518
|
"docs": {
|
|
480
519
|
"tags": [],
|
|
481
|
-
"text": ""
|
|
520
|
+
"text": "\uB808\uC774\uBE14 \uB108\uBE44"
|
|
482
521
|
},
|
|
483
522
|
"getter": false,
|
|
484
523
|
"setter": false,
|
|
@@ -503,7 +542,7 @@ export class SdNumberInput {
|
|
|
503
542
|
"optional": true,
|
|
504
543
|
"docs": {
|
|
505
544
|
"tags": [],
|
|
506
|
-
"text": ""
|
|
545
|
+
"text": "\uB808\uC774\uBE14 \uC601\uC5ED \uC544\uC774\uCF58"
|
|
507
546
|
},
|
|
508
547
|
"getter": false,
|
|
509
548
|
"setter": false,
|
|
@@ -521,7 +560,7 @@ export class SdNumberInput {
|
|
|
521
560
|
"optional": false,
|
|
522
561
|
"docs": {
|
|
523
562
|
"tags": [],
|
|
524
|
-
"text": ""
|
|
563
|
+
"text": "\uB808\uC774\uBE14 \uD234\uD301 \uD14D\uC2A4\uD2B8"
|
|
525
564
|
},
|
|
526
565
|
"getter": false,
|
|
527
566
|
"setter": false,
|
|
@@ -548,7 +587,7 @@ export class SdNumberInput {
|
|
|
548
587
|
"optional": false,
|
|
549
588
|
"docs": {
|
|
550
589
|
"tags": [],
|
|
551
|
-
"text": ""
|
|
590
|
+
"text": "\uB808\uC774\uBE14 \uD234\uD301 \uC0C1\uC138 \uC635\uC158"
|
|
552
591
|
},
|
|
553
592
|
"getter": false,
|
|
554
593
|
"setter": false,
|
|
@@ -566,7 +605,7 @@ export class SdNumberInput {
|
|
|
566
605
|
"optional": false,
|
|
567
606
|
"docs": {
|
|
568
607
|
"tags": [],
|
|
569
|
-
"text": ""
|
|
608
|
+
"text": "\uD544\uB4DC \uC6B0\uCE21 \uC5B4\uB4DC\uC628 \uB808\uC774\uBE14"
|
|
570
609
|
},
|
|
571
610
|
"getter": false,
|
|
572
611
|
"setter": false,
|
|
@@ -593,7 +632,7 @@ export class SdNumberInput {
|
|
|
593
632
|
"optional": false,
|
|
594
633
|
"docs": {
|
|
595
634
|
"tags": [],
|
|
596
|
-
"text": ""
|
|
635
|
+
"text": "\uC5B4\uB4DC\uC628 \uC815\uB82C \uBC29\uD5A5"
|
|
597
636
|
},
|
|
598
637
|
"getter": false,
|
|
599
638
|
"setter": false,
|
|
@@ -613,7 +652,7 @@ export class SdNumberInput {
|
|
|
613
652
|
"optional": false,
|
|
614
653
|
"docs": {
|
|
615
654
|
"tags": [],
|
|
616
|
-
"text": ""
|
|
655
|
+
"text": "\uD50C\uB808\uC774\uC2A4\uD640\uB354 \uD14D\uC2A4\uD2B8"
|
|
617
656
|
},
|
|
618
657
|
"getter": false,
|
|
619
658
|
"setter": false,
|
|
@@ -633,7 +672,7 @@ export class SdNumberInput {
|
|
|
633
672
|
"optional": false,
|
|
634
673
|
"docs": {
|
|
635
674
|
"tags": [],
|
|
636
|
-
"text": ""
|
|
675
|
+
"text": "\uBE44\uD65C\uC131 \uC0C1\uD0DC \uC5EC\uBD80"
|
|
637
676
|
},
|
|
638
677
|
"getter": false,
|
|
639
678
|
"setter": false,
|
|
@@ -653,7 +692,7 @@ export class SdNumberInput {
|
|
|
653
692
|
"optional": true,
|
|
654
693
|
"docs": {
|
|
655
694
|
"tags": [],
|
|
656
|
-
"text": ""
|
|
695
|
+
"text": "\uD544\uB4DC \uB108\uBE44 (\uC22B\uC790\uBA74 px, \uBB38\uC790\uC5F4\uC774\uBA74 \uADF8\uB300\uB85C \uC801\uC6A9)"
|
|
657
696
|
},
|
|
658
697
|
"getter": false,
|
|
659
698
|
"setter": false,
|
|
@@ -679,7 +718,7 @@ export class SdNumberInput {
|
|
|
679
718
|
"optional": true,
|
|
680
719
|
"docs": {
|
|
681
720
|
"tags": [],
|
|
682
|
-
"text": ""
|
|
721
|
+
"text": "\uC720\uD6A8\uC131 \uAC80\uC0AC \uADDC\uCE59 \uBAA9\uB85D"
|
|
683
722
|
},
|
|
684
723
|
"getter": false,
|
|
685
724
|
"setter": false,
|
|
@@ -697,7 +736,7 @@ export class SdNumberInput {
|
|
|
697
736
|
"optional": false,
|
|
698
737
|
"docs": {
|
|
699
738
|
"tags": [],
|
|
700
|
-
"text": ""
|
|
739
|
+
"text": "\uB9C8\uC6B4\uD2B8 \uC2DC \uC790\uB3D9 \uD3EC\uCEE4\uC2A4 \uC5EC\uBD80"
|
|
701
740
|
},
|
|
702
741
|
"getter": false,
|
|
703
742
|
"setter": false,
|
|
@@ -717,7 +756,7 @@ export class SdNumberInput {
|
|
|
717
756
|
"optional": true,
|
|
718
757
|
"docs": {
|
|
719
758
|
"tags": [],
|
|
720
|
-
"text": ""
|
|
759
|
+
"text": "\uD544\uB4DC \uC0C1\uD0DC (\uC5C6\uC73C\uBA74 rules \uACB0\uACFC\uB85C \uC790\uB3D9 \uACB0\uC815)"
|
|
721
760
|
},
|
|
722
761
|
"getter": false,
|
|
723
762
|
"setter": false,
|
|
@@ -736,7 +775,7 @@ export class SdNumberInput {
|
|
|
736
775
|
"optional": false,
|
|
737
776
|
"docs": {
|
|
738
777
|
"tags": [],
|
|
739
|
-
"text": ""
|
|
778
|
+
"text": "\uD544\uB4DC \uD558\uB2E8 \uD78C\uD2B8 \uD14D\uC2A4\uD2B8"
|
|
740
779
|
},
|
|
741
780
|
"getter": false,
|
|
742
781
|
"setter": false,
|
|
@@ -756,7 +795,7 @@ export class SdNumberInput {
|
|
|
756
795
|
"optional": false,
|
|
757
796
|
"docs": {
|
|
758
797
|
"tags": [],
|
|
759
|
-
"text": ""
|
|
798
|
+
"text": "\uC5D0\uB7EC \uBA54\uC2DC\uC9C0"
|
|
760
799
|
},
|
|
761
800
|
"getter": false,
|
|
762
801
|
"setter": false,
|
|
@@ -776,7 +815,7 @@ export class SdNumberInput {
|
|
|
776
815
|
"optional": false,
|
|
777
816
|
"docs": {
|
|
778
817
|
"tags": [],
|
|
779
|
-
"text": ""
|
|
818
|
+
"text": "\uC785\uB825 \uC55E\uC5D0 \uD45C\uC2DC\uD560 \uC811\uB450 \uD14D\uC2A4\uD2B8"
|
|
780
819
|
},
|
|
781
820
|
"getter": false,
|
|
782
821
|
"setter": false,
|
|
@@ -796,7 +835,7 @@ export class SdNumberInput {
|
|
|
796
835
|
"optional": false,
|
|
797
836
|
"docs": {
|
|
798
837
|
"tags": [],
|
|
799
|
-
"text": ""
|
|
838
|
+
"text": "\uC785\uB825 \uB4A4\uC5D0 \uD45C\uC2DC\uD560 \uC811\uBBF8 \uD14D\uC2A4\uD2B8"
|
|
800
839
|
},
|
|
801
840
|
"getter": false,
|
|
802
841
|
"setter": false,
|
|
@@ -816,7 +855,7 @@ export class SdNumberInput {
|
|
|
816
855
|
"optional": false,
|
|
817
856
|
"docs": {
|
|
818
857
|
"tags": [],
|
|
819
|
-
"text": ""
|
|
858
|
+
"text": "\uB124\uC774\uD2F0\uBE0C input\uC5D0 \uCD94\uAC00\uD560 \uD074\uB798\uC2A4"
|
|
820
859
|
},
|
|
821
860
|
"getter": false,
|
|
822
861
|
"setter": false,
|
|
@@ -836,7 +875,7 @@ export class SdNumberInput {
|
|
|
836
875
|
"optional": false,
|
|
837
876
|
"docs": {
|
|
838
877
|
"tags": [],
|
|
839
|
-
"text": ""
|
|
878
|
+
"text": "\uC77D\uAE30 \uC804\uC6A9 \uC5EC\uBD80"
|
|
840
879
|
},
|
|
841
880
|
"getter": false,
|
|
842
881
|
"setter": false,
|
|
@@ -856,7 +895,7 @@ export class SdNumberInput {
|
|
|
856
895
|
"optional": false,
|
|
857
896
|
"docs": {
|
|
858
897
|
"tags": [],
|
|
859
|
-
"text": ""
|
|
898
|
+
"text": "\uB124\uC774\uD2F0\uBE0C input\uC5D0 \uC801\uC6A9\uD560 \uC778\uB77C\uC778 \uC2A4\uD0C0\uC77C"
|
|
860
899
|
},
|
|
861
900
|
"getter": false,
|
|
862
901
|
"setter": false,
|
|
@@ -874,7 +913,7 @@ export class SdNumberInput {
|
|
|
874
913
|
"optional": false,
|
|
875
914
|
"docs": {
|
|
876
915
|
"tags": [],
|
|
877
|
-
"text": ""
|
|
916
|
+
"text": "\uC5D0\uB7EC \uC0C1\uD0DC \uC5EC\uBD80"
|
|
878
917
|
},
|
|
879
918
|
"getter": false,
|
|
880
919
|
"setter": false,
|
|
@@ -894,7 +933,7 @@ export class SdNumberInput {
|
|
|
894
933
|
"optional": false,
|
|
895
934
|
"docs": {
|
|
896
935
|
"tags": [],
|
|
897
|
-
"text": ""
|
|
936
|
+
"text": "\uD3EC\uCEE4\uC2A4 \uC0C1\uD0DC \uC5EC\uBD80"
|
|
898
937
|
},
|
|
899
938
|
"getter": false,
|
|
900
939
|
"setter": false,
|
|
@@ -914,7 +953,7 @@ export class SdNumberInput {
|
|
|
914
953
|
"optional": false,
|
|
915
954
|
"docs": {
|
|
916
955
|
"tags": [],
|
|
917
|
-
"text": ""
|
|
956
|
+
"text": "\uD638\uBC84 \uC0C1\uD0DC \uC5EC\uBD80"
|
|
918
957
|
},
|
|
919
958
|
"getter": false,
|
|
920
959
|
"setter": false,
|
|
@@ -934,7 +973,7 @@ export class SdNumberInput {
|
|
|
934
973
|
"optional": false,
|
|
935
974
|
"docs": {
|
|
936
975
|
"tags": [],
|
|
937
|
-
"text": ""
|
|
976
|
+
"text": "\uD3FC \uC5F0\uB3D9\uC6A9 name \uC18D\uC131"
|
|
938
977
|
},
|
|
939
978
|
"getter": false,
|
|
940
979
|
"setter": false,
|
|
@@ -959,7 +998,7 @@ export class SdNumberInput {
|
|
|
959
998
|
"composed": true,
|
|
960
999
|
"docs": {
|
|
961
1000
|
"tags": [],
|
|
962
|
-
"text": ""
|
|
1001
|
+
"text": "\uAC12\uC774 \uBCC0\uACBD\uB420 \uB54C \uBC1C\uC0DD\uD569\uB2C8\uB2E4."
|
|
963
1002
|
},
|
|
964
1003
|
"complexType": {
|
|
965
1004
|
"original": "number | null",
|
|
@@ -974,7 +1013,7 @@ export class SdNumberInput {
|
|
|
974
1013
|
"composed": true,
|
|
975
1014
|
"docs": {
|
|
976
1015
|
"tags": [],
|
|
977
|
-
"text": ""
|
|
1016
|
+
"text": "\uD3EC\uCEE4\uC2A4\uB420 \uB54C \uBC1C\uC0DD\uD569\uB2C8\uB2E4."
|
|
978
1017
|
},
|
|
979
1018
|
"complexType": {
|
|
980
1019
|
"original": "Event",
|
|
@@ -996,7 +1035,7 @@ export class SdNumberInput {
|
|
|
996
1035
|
"composed": true,
|
|
997
1036
|
"docs": {
|
|
998
1037
|
"tags": [],
|
|
999
|
-
"text": ""
|
|
1038
|
+
"text": "\uD3EC\uCEE4\uC2A4\uB97C \uC783\uC744 \uB54C \uBC1C\uC0DD\uD569\uB2C8\uB2E4."
|
|
1000
1039
|
},
|
|
1001
1040
|
"complexType": {
|
|
1002
1041
|
"original": "Event",
|
|
@@ -1027,7 +1066,7 @@ export class SdNumberInput {
|
|
|
1027
1066
|
"return": "Promise<void>"
|
|
1028
1067
|
},
|
|
1029
1068
|
"docs": {
|
|
1030
|
-
"text": "",
|
|
1069
|
+
"text": "\uC720\uD6A8\uC131 \uAC80\uC0AC\uB97C \uC2E4\uD589\uD569\uB2C8\uB2E4.",
|
|
1031
1070
|
"tags": []
|
|
1032
1071
|
}
|
|
1033
1072
|
},
|
|
@@ -1044,7 +1083,7 @@ export class SdNumberInput {
|
|
|
1044
1083
|
"return": "Promise<void>"
|
|
1045
1084
|
},
|
|
1046
1085
|
"docs": {
|
|
1047
|
-
"text": "",
|
|
1086
|
+
"text": "\uAC12\uACFC \uC720\uD6A8\uC131 \uC0C1\uD0DC\uB97C \uCD08\uAE30\uD654\uD569\uB2C8\uB2E4.",
|
|
1048
1087
|
"tags": []
|
|
1049
1088
|
}
|
|
1050
1089
|
},
|
|
@@ -1061,7 +1100,7 @@ export class SdNumberInput {
|
|
|
1061
1100
|
"return": "Promise<void>"
|
|
1062
1101
|
},
|
|
1063
1102
|
"docs": {
|
|
1064
|
-
"text": "",
|
|
1103
|
+
"text": "\uC720\uD6A8\uC131 \uC0C1\uD0DC\uB9CC \uCD08\uAE30\uD654\uD569\uB2C8\uB2E4.",
|
|
1065
1104
|
"tags": []
|
|
1066
1105
|
}
|
|
1067
1106
|
},
|
|
@@ -1078,7 +1117,7 @@ export class SdNumberInput {
|
|
|
1078
1117
|
"return": "Promise<void>"
|
|
1079
1118
|
},
|
|
1080
1119
|
"docs": {
|
|
1081
|
-
"text": "",
|
|
1120
|
+
"text": "\uC785\uB825 \uD544\uB4DC\uC5D0 \uD3EC\uCEE4\uC2A4\uB97C \uC774\uB3D9\uD569\uB2C8\uB2E4.",
|
|
1082
1121
|
"tags": []
|
|
1083
1122
|
}
|
|
1084
1123
|
},
|
|
@@ -1099,7 +1138,7 @@ export class SdNumberInput {
|
|
|
1099
1138
|
"return": "Promise<HTMLInputElement | null>"
|
|
1100
1139
|
},
|
|
1101
1140
|
"docs": {
|
|
1102
|
-
"text": "",
|
|
1141
|
+
"text": "\uB124\uC774\uD2F0\uBE0C input \uC5D8\uB9AC\uBA3C\uD2B8\uB97C \uBC18\uD658\uD569\uB2C8\uB2E4.",
|
|
1103
1142
|
"tags": []
|
|
1104
1143
|
}
|
|
1105
1144
|
}
|
|
@@ -9,9 +9,13 @@ const BUTTON_WIDTH = {
|
|
|
9
9
|
5: 56,
|
|
10
10
|
};
|
|
11
11
|
export class SdPagination {
|
|
12
|
+
/** 현재 페이지 번호 */
|
|
12
13
|
currentPage = 1;
|
|
14
|
+
/** 마지막 페이지 번호 */
|
|
13
15
|
lastPage = 1;
|
|
16
|
+
/** true이면 현재/마지막 페이지만 표시하는 단순 모드 */
|
|
14
17
|
simple = false;
|
|
18
|
+
/** 페이지가 변경될 때 새 페이지 번호를 전달합니다. */
|
|
15
19
|
pageChange;
|
|
16
20
|
get pageNumbers() {
|
|
17
21
|
const start = Math.floor((this.currentPage - 1) / PER_PAGE) * PER_PAGE + 1;
|
|
@@ -83,13 +87,13 @@ export class SdPagination {
|
|
|
83
87
|
'--sd-pagination-bg-selected': PAGINATION_COLORS.bgSelected,
|
|
84
88
|
'--sd-pagination-item-width': `${this.buttonWidth}px`,
|
|
85
89
|
};
|
|
86
|
-
return (h("div", { key: '
|
|
90
|
+
return (h("div", { key: '733bf7952c4e38a65a1042c6a8784d6502c81667', class: {
|
|
87
91
|
'sd-pagination': true,
|
|
88
92
|
'sd-pagination--simple': this.simple,
|
|
89
|
-
}, style: cssVars }, h("div", { key: '
|
|
93
|
+
}, style: cssVars }, h("div", { key: '4c23bdfb9a58950a04107fc4b4c921bbafa4e601', class: "sd-pagination__group sd-pagination__group--prev" }, this.renderPrevButtons()), this.simple ? (h("div", { class: "sd-pagination__info" }, h("span", { class: "sd-pagination__current" }, this.currentPage), h("span", { class: "sd-pagination__divider" }, "/"), h("span", { class: "sd-pagination__last" }, this.lastPage))) : (h("div", { class: "sd-pagination__numbers" }, this.pageNumbers.map(n => (h("button", { type: "button", "aria-current": this.currentPage === n ? 'page' : undefined, class: {
|
|
90
94
|
'sd-pagination__item': true,
|
|
91
95
|
'sd-pagination__item--selected': this.currentPage === n,
|
|
92
|
-
}, onClick: () => this.handlePageChange(n) }, n))))), h("div", { key: '
|
|
96
|
+
}, onClick: () => this.handlePageChange(n) }, n))))), h("div", { key: 'a0406c1f9cd13970d47f25ed88095ac1c684203c', class: "sd-pagination__group sd-pagination__group--next" }, this.renderNextButtons())));
|
|
93
97
|
}
|
|
94
98
|
static get is() { return "sd-pagination"; }
|
|
95
99
|
static get originalStyleUrls() {
|
|
@@ -116,7 +120,7 @@ export class SdPagination {
|
|
|
116
120
|
"optional": false,
|
|
117
121
|
"docs": {
|
|
118
122
|
"tags": [],
|
|
119
|
-
"text": ""
|
|
123
|
+
"text": "\uD604\uC7AC \uD398\uC774\uC9C0 \uBC88\uD638"
|
|
120
124
|
},
|
|
121
125
|
"getter": false,
|
|
122
126
|
"setter": false,
|
|
@@ -136,7 +140,7 @@ export class SdPagination {
|
|
|
136
140
|
"optional": false,
|
|
137
141
|
"docs": {
|
|
138
142
|
"tags": [],
|
|
139
|
-
"text": ""
|
|
143
|
+
"text": "\uB9C8\uC9C0\uB9C9 \uD398\uC774\uC9C0 \uBC88\uD638"
|
|
140
144
|
},
|
|
141
145
|
"getter": false,
|
|
142
146
|
"setter": false,
|
|
@@ -156,7 +160,7 @@ export class SdPagination {
|
|
|
156
160
|
"optional": false,
|
|
157
161
|
"docs": {
|
|
158
162
|
"tags": [],
|
|
159
|
-
"text": ""
|
|
163
|
+
"text": "true\uC774\uBA74 \uD604\uC7AC/\uB9C8\uC9C0\uB9C9 \uD398\uC774\uC9C0\uB9CC \uD45C\uC2DC\uD558\uB294 \uB2E8\uC21C \uBAA8\uB4DC"
|
|
160
164
|
},
|
|
161
165
|
"getter": false,
|
|
162
166
|
"setter": false,
|
|
@@ -175,7 +179,7 @@ export class SdPagination {
|
|
|
175
179
|
"composed": true,
|
|
176
180
|
"docs": {
|
|
177
181
|
"tags": [],
|
|
178
|
-
"text": ""
|
|
182
|
+
"text": "\uD398\uC774\uC9C0\uAC00 \uBCC0\uACBD\uB420 \uB54C \uC0C8 \uD398\uC774\uC9C0 \uBC88\uD638\uB97C \uC804\uB2EC\uD569\uB2C8\uB2E4."
|
|
179
183
|
},
|
|
180
184
|
"complexType": {
|
|
181
185
|
"original": "number",
|