@sellmate/design-system 1.0.67 → 1.0.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{component.textinput-C4SsDjA1.js → component.textinput-BpXDeZPD.js} +3 -2
- package/dist/cjs/design-system.cjs.js +2 -2
- package/dist/cjs/{index-BpT5VmKY.js → index-B2QvhbC3.js} +1 -1
- package/dist/cjs/index.cjs.js +36 -41
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/modal-stack-DucFLON7.js +112 -0
- package/dist/cjs/sd-action-modal.cjs.entry.js +2 -2
- package/dist/cjs/sd-badge.cjs.entry.js +2 -2
- package/dist/cjs/sd-barcode-input.cjs.entry.js +4 -3
- package/dist/cjs/sd-button-v2_2.cjs.entry.js +3 -3
- package/dist/cjs/sd-button_4.cjs.entry.js +35 -18
- package/dist/cjs/sd-calendar.cjs.entry.js +1 -1
- package/dist/cjs/sd-card.cjs.entry.js +2 -2
- package/dist/cjs/sd-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/sd-chip.cjs.entry.js +312 -0
- package/dist/cjs/sd-circle-progress.cjs.entry.js +2 -2
- package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +4 -4
- package/dist/cjs/sd-date-box.cjs.entry.js +1 -1
- package/dist/cjs/sd-date-picker-calendar.cjs.entry.js +2 -2
- package/dist/cjs/sd-date-picker-trigger.cjs.entry.js +3 -3
- package/dist/cjs/sd-date-picker.cjs.entry.js +4 -3
- package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +2 -2
- package/dist/cjs/sd-date-range-picker.cjs.entry.js +4 -3
- package/dist/cjs/sd-dropdown-button.cjs.entry.js +8 -19
- package/dist/cjs/sd-file-picker.cjs.entry.js +5 -4
- package/dist/cjs/sd-form.cjs.entry.js +1 -1
- package/dist/cjs/sd-ghost-button.cjs.entry.js +6 -6
- package/dist/cjs/sd-guide.cjs.entry.js +167 -34
- package/dist/cjs/sd-input_2.cjs.entry.js +8 -7
- package/dist/cjs/sd-loading-container.cjs.entry.js +4 -4
- package/dist/cjs/sd-modal-container.cjs.entry.js +126 -155
- package/dist/cjs/sd-number-input.cjs.entry.js +5 -4
- package/dist/cjs/sd-pagination_2.cjs.entry.js +117 -42
- package/dist/cjs/sd-popover.cjs.entry.js +4 -4
- package/dist/cjs/sd-portal.cjs.entry.js +4 -4
- package/dist/cjs/sd-progress.cjs.entry.js +3 -3
- package/dist/cjs/sd-radio-button.cjs.entry.js +2 -2
- package/dist/cjs/sd-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/sd-radio.cjs.entry.js +2 -2
- package/dist/cjs/sd-select-dropdown_2.cjs.entry.js +4 -4
- package/dist/cjs/sd-select-group.cjs.entry.js +3 -2
- package/dist/cjs/sd-select-multiple-group.cjs.entry.js +2 -2
- package/dist/cjs/sd-select-multiple.cjs.entry.js +2 -2
- package/dist/cjs/sd-select-option-group.cjs.entry.js +4 -4
- package/dist/cjs/sd-select-v2-list-item_4.cjs.entry.js +12 -16
- package/dist/cjs/sd-select.cjs.entry.js +3 -2
- package/dist/cjs/sd-switch.cjs.entry.js +2 -2
- package/dist/cjs/sd-table.cjs.entry.js +6 -6
- package/dist/cjs/sd-tabs.cjs.entry.js +2 -2
- package/dist/cjs/sd-tag.cjs.entry.js +3 -3
- package/dist/cjs/sd-tbody.cjs.entry.js +2 -2
- package/dist/cjs/sd-td.cjs.entry.js +2 -2
- package/dist/cjs/sd-text-link.cjs.entry.js +4 -4
- package/dist/cjs/sd-textarea.cjs.entry.js +4 -3
- package/dist/cjs/sd-thead.cjs.entry.js +4 -4
- package/dist/cjs/sd-toast-container.cjs.entry.js +3 -3
- package/dist/cjs/sd-toast.cjs.entry.js +3 -3
- package/dist/cjs/sd-toggle.cjs.entry.js +2 -2
- package/dist/cjs/sd-tr.cjs.entry.js +3 -3
- package/dist/cjs/system-C89o3A9Z.js +16 -0
- package/dist/cjs/table-test.cjs.entry.js +2 -2
- package/dist/cjs/{tooltipArrow-C9i0ZsG_.js → tooltipArrow-Xkv-p1bY.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/sd-action-modal/sd-action-modal.js +1 -1
- package/dist/collection/components/sd-badge/sd-badge.js +1 -1
- package/dist/collection/components/sd-barcode-input/sd-barcode-input.js +29 -1
- package/dist/collection/components/sd-button-v2/sd-button-v2.js +2 -2
- package/dist/collection/components/sd-card/sd-card.js +1 -1
- package/dist/collection/components/sd-chip/sd-chip.config.js +37 -0
- package/dist/collection/components/sd-chip/sd-chip.css +56 -0
- package/dist/collection/components/sd-chip/sd-chip.js +544 -0
- package/dist/collection/components/sd-circle-progress/sd-circle-progress.js +1 -1
- package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.js +2 -2
- package/dist/collection/components/sd-date-picker/sd-date-picker-calendar/sd-date-picker-calendar.js +1 -1
- package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.js +2 -2
- package/dist/collection/components/sd-date-picker/sd-date-picker.js +30 -2
- package/dist/collection/components/sd-date-range-picker/sd-date-range-picker-calendar/sd-date-range-picker-calendar.js +1 -1
- package/dist/collection/components/sd-date-range-picker/sd-date-range-picker.js +30 -2
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +3 -3
- package/dist/collection/components/sd-field/sd-field.config.js +5 -0
- package/dist/collection/components/sd-field/sd-field.css +4 -0
- package/dist/collection/components/sd-field/sd-field.js +39 -5
- package/dist/collection/components/sd-file-picker/sd-file-picker.css +1 -1
- package/dist/collection/components/sd-file-picker/sd-file-picker.js +30 -2
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +12 -8
- package/dist/collection/components/sd-ghost-button/sd-ghost-button.js +5 -5
- package/dist/collection/components/sd-guide/sd-guide.config.js +48 -0
- package/dist/collection/components/sd-guide/sd-guide.css +58 -29
- package/dist/collection/components/sd-guide/sd-guide.js +69 -40
- package/dist/collection/components/sd-input/sd-input.js +30 -2
- package/dist/collection/components/sd-loading-container/sd-loading-container.config.js +1 -1
- package/dist/collection/components/sd-loading-container/sd-loading-container.css +1 -1
- package/dist/collection/components/sd-loading-container/sd-loading-container.js +2 -2
- package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +1 -1
- package/dist/collection/components/sd-modal-container/sd-modal-container.css +11 -10
- package/dist/collection/components/sd-modal-container/sd-modal-container.js +150 -164
- package/dist/collection/components/sd-number-input/sd-number-input.js +31 -3
- package/dist/collection/components/sd-pagination/sd-pagination.config.js +25 -0
- package/dist/collection/components/sd-pagination/sd-pagination.css +69 -53
- package/dist/collection/components/sd-pagination/sd-pagination.js +53 -37
- package/dist/collection/components/sd-popover/sd-popover.js +2 -2
- package/dist/collection/components/sd-portal/sd-portal.js +4 -4
- package/dist/collection/components/sd-progress/sd-progress.js +2 -2
- package/dist/collection/components/sd-radio/sd-radio.js +1 -1
- package/dist/collection/components/sd-radio-button/sd-radio-button.js +1 -1
- package/dist/collection/components/sd-radio-group/sd-radio-group.js +1 -1
- package/dist/collection/components/sd-select/sd-select-dropdown/sd-select-dropdown.js +2 -2
- package/dist/collection/components/sd-select/sd-select-option/sd-select-option.js +1 -1
- package/dist/collection/components/sd-select/sd-select-search-input/sd-select-search-input.js +3 -3
- package/dist/collection/components/sd-select/sd-select.js +29 -1
- package/dist/collection/components/sd-select-group/sd-select-group.js +29 -1
- package/dist/collection/components/sd-select-multiple/sd-select-multiple.js +1 -1
- package/dist/collection/components/sd-select-multiple-group/sd-select-multiple-group.js +1 -1
- package/dist/collection/components/sd-select-multiple-group/sd-select-option-group/sd-select-option-group.js +3 -3
- package/dist/collection/components/sd-select-v2/sd-select-v2-list-item/sd-select-v2-list-item.js +2 -2
- package/dist/collection/components/sd-select-v2/sd-select-v2-list-item-search/sd-select-v2-list-item-search.js +4 -4
- package/dist/collection/components/sd-select-v2/sd-select-v2-listbox/sd-select-v2-listbox.css +5 -5
- package/dist/collection/components/sd-select-v2/sd-select-v2-listbox/sd-select-v2-listbox.js +2 -2
- package/dist/collection/components/sd-select-v2/sd-select-v2-trigger/sd-select-v2-trigger.js +2 -2
- package/dist/collection/components/sd-select-v2/sd-select-v2.config.js +0 -1
- package/dist/collection/components/sd-select-v2/sd-select-v2.js +31 -3
- package/dist/collection/components/sd-switch/sd-switch.js +1 -1
- package/dist/collection/components/sd-table/sd-table.js +5 -5
- package/dist/collection/components/sd-table/sd-table.stories.helpers.js +146 -0
- package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +1 -1
- package/dist/collection/components/sd-table/sd-td/sd-td.js +1 -1
- package/dist/collection/components/sd-table/sd-thead/sd-thead.js +3 -3
- package/dist/collection/components/sd-table/sd-tr/sd-tr.js +2 -2
- package/dist/collection/components/sd-tabs/sd-tabs.js +1 -1
- package/dist/collection/components/sd-tag/sd-tag.js +2 -2
- package/dist/collection/components/sd-text-link/sd-text-link.js +3 -3
- package/dist/collection/components/sd-textarea/sd-textarea.js +29 -1
- package/dist/collection/components/sd-toast/sd-toast.js +2 -2
- package/dist/collection/components/sd-toast-container/sd-toast-container.config.js +1 -1
- package/dist/collection/components/sd-toast-container/sd-toast-container.js +1 -1
- package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
- package/dist/collection/components/sd-tooltip/sd-tooltip.js +2 -2
- package/dist/collection/components/table-test/table-test.js +1 -1
- package/dist/collection/utils/modal-stack.js +109 -0
- package/dist/collection/utils/modal.js +17 -23
- package/dist/components/index.js +1 -1
- package/dist/components/{p-DHh_uT9m.js → p-B1j9ZWLJ.js} +1 -1
- package/dist/components/{p-DPJPXCqf.js → p-BBluw-CU.js} +1 -1
- package/dist/components/{p-D74FHxKd.js → p-BFd54Imz.js} +1 -1
- package/dist/components/{p-IbLrnrk8.js → p-BJshZele.js} +1 -1
- package/dist/components/p-BaHpEtbz.js +1 -0
- package/dist/components/{p-DZJZLfsh.js → p-BlqLear7.js} +1 -1
- package/dist/components/{p-CJwbBrt5.js → p-ByhWX2NK.js} +1 -1
- package/dist/components/{p-ByYIyCZY.js → p-BylHC3lv.js} +1 -1
- package/dist/components/p-C-txBx-h.js +1 -0
- package/dist/components/p-C0VkfKIA.js +1 -0
- package/dist/components/p-C4uWhzoG.js +1 -0
- package/dist/components/p-CEnwrYaY.js +1 -0
- package/dist/components/{p-DDOw5GBw.js → p-CLZ8NObl.js} +1 -1
- package/dist/components/{p-tZWFjQm2.js → p-COM91Bya.js} +1 -1
- package/dist/components/{p-BH4I7hqf.js → p-CS62OEXf.js} +1 -1
- package/dist/components/{p-iWu6aGXE.js → p-CX0V7awA.js} +1 -1
- package/dist/components/{p-DlsWuYWL.js → p-Cb1M05mf.js} +1 -1
- package/dist/{design-system/p-CRTx3YEe.js → components/p-Cj4NAUzE.js} +1 -1
- package/dist/components/{p-1iOCtFn5.js → p-CsPyZohK.js} +1 -1
- package/dist/components/{p-DhkPKN1J.js → p-CsVPC3FD.js} +1 -1
- package/dist/components/{p-tvysh3yO.js → p-Csfk-CtX.js} +1 -1
- package/dist/components/{p-DqYRbHxW.js → p-CtrDZYN5.js} +1 -1
- package/dist/components/p-D21iKAp7.js +1 -0
- package/dist/components/{p-cNJ6VOYI.js → p-D6C4-apu.js} +1 -1
- package/dist/components/p-D99-lhhk.js +1 -0
- package/dist/components/{p-V6yl4lMM.js → p-DGPGMB_Z.js} +1 -1
- package/dist/components/{p-CymMpTU-.js → p-DIro-Wat.js} +1 -1
- package/dist/components/{p-BstWg2vS.js → p-DPCj-bFr.js} +1 -1
- package/dist/components/p-DRVnqiWc.js +1 -0
- package/dist/components/p-D_lyw4rN.js +1 -0
- package/dist/components/{p-DL69hClF.js → p-Diis5oCN.js} +1 -1
- package/dist/components/{p-BRRvU4ZQ.js → p-DlkxQ9Jn.js} +1 -1
- package/dist/components/{p-Ds4UCVE1.js → p-DoSEK0_q.js} +1 -1
- package/dist/components/p-DukibDDA.js +1 -0
- package/dist/components/{p-hN9rpxkR.js → p-T5BGXHZg.js} +1 -1
- package/dist/components/{p-BF4hokOY.js → p-YgnF5oje.js} +1 -1
- package/dist/components/{p-CX2EDIQM.js → p-z9MoRjYX.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-v2.js +1 -1
- package/dist/components/sd-button.js +1 -1
- package/dist/components/sd-calendar.js +1 -1
- package/dist/components/sd-card.js +1 -1
- package/dist/components/sd-checkbox.js +1 -1
- package/dist/components/sd-chip.d.ts +11 -0
- package/dist/components/sd-chip.js +1 -0
- 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-calendar.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-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-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-portal.js +1 -1
- package/dist/components/sd-progress.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-dropdown.js +1 -1
- package/dist/components/sd-select-group.js +1 -1
- package/dist/components/sd-select-multiple-group.js +1 -1
- package/dist/components/sd-select-multiple.js +1 -1
- package/dist/components/sd-select-option-group.js +1 -1
- package/dist/components/sd-select-option.js +1 -1
- package/dist/components/sd-select-search-input.js +1 -1
- package/dist/components/sd-select-v2-list-item-search.js +1 -1
- package/dist/components/sd-select-v2-list-item.js +1 -1
- package/dist/components/sd-select-v2-listbox.js +1 -1
- package/dist/components/sd-select-v2-trigger.js +1 -1
- package/dist/components/sd-select-v2.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/components/table-test.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/index.esm.js +1 -1
- package/dist/design-system/{p-c44ba991.entry.js → p-002e10ac.entry.js} +1 -1
- package/dist/design-system/p-01ac7743.entry.js +1 -0
- package/dist/design-system/p-06080355.entry.js +1 -0
- package/dist/design-system/p-0929f910.entry.js +1 -0
- package/dist/design-system/{p-b2b5b2d3.entry.js → p-0b216b11.entry.js} +1 -1
- package/dist/design-system/{p-5b2486c9.entry.js → p-0bffdbf4.entry.js} +1 -1
- package/dist/design-system/{p-5224553e.entry.js → p-0d485537.entry.js} +1 -1
- package/dist/design-system/p-1389a68e.entry.js +1 -0
- package/dist/design-system/{p-aebf903f.entry.js → p-1a455448.entry.js} +1 -1
- package/dist/design-system/{p-10763304.entry.js → p-1b8e63a6.entry.js} +1 -1
- package/dist/design-system/{p-525aefd5.entry.js → p-23c31074.entry.js} +1 -1
- package/dist/design-system/{p-87a23bd0.entry.js → p-2a4b6bc7.entry.js} +1 -1
- package/dist/design-system/{p-fa1072f7.entry.js → p-308c2a72.entry.js} +1 -1
- package/dist/design-system/p-35b29182.entry.js +1 -0
- package/dist/design-system/{p-9e0b944f.entry.js → p-449e58ee.entry.js} +1 -1
- package/dist/design-system/{p-73383b2f.entry.js → p-48f1f9ff.entry.js} +1 -1
- package/dist/design-system/{p-504fdb4e.entry.js → p-4d434794.entry.js} +1 -1
- package/dist/design-system/p-4de3b6b1.entry.js +1 -0
- package/dist/design-system/p-4f9f25a1.entry.js +1 -0
- package/dist/design-system/p-5442b4b4.entry.js +1 -0
- package/dist/design-system/{p-40371bf6.entry.js → p-59aa62ff.entry.js} +1 -1
- package/dist/design-system/{p-7b433296.entry.js → p-5a0b0a1b.entry.js} +1 -1
- package/dist/design-system/p-609b3748.entry.js +1 -0
- package/dist/design-system/p-60ece09d.entry.js +1 -0
- package/dist/design-system/{p-10ed0768.entry.js → p-641c2f3d.entry.js} +1 -1
- package/dist/design-system/{p-2841d5e1.entry.js → p-64a56a4e.entry.js} +1 -1
- package/dist/design-system/{p-dff0060e.entry.js → p-6b2f6efb.entry.js} +1 -1
- package/dist/design-system/{p-e1202ad3.entry.js → p-6b478f5c.entry.js} +1 -1
- package/dist/design-system/{p-337267a7.entry.js → p-6ef2d08f.entry.js} +1 -1
- package/dist/design-system/{p-51fcc29f.entry.js → p-703eee55.entry.js} +1 -1
- package/dist/design-system/p-71897864.entry.js +1 -0
- package/dist/design-system/p-731429da.entry.js +1 -0
- package/dist/design-system/p-75c5e31b.entry.js +1 -0
- package/dist/design-system/{p-768efd5a.entry.js → p-7dd8beba.entry.js} +1 -1
- package/dist/design-system/{p-348eff76.entry.js → p-7ef0c428.entry.js} +1 -1
- package/dist/design-system/p-87222184.entry.js +1 -0
- package/dist/design-system/p-8cd1b533.entry.js +1 -0
- package/dist/design-system/{p-f9559741.entry.js → p-92a52f89.entry.js} +1 -1
- package/dist/design-system/{p-19257b97.entry.js → p-95d96917.entry.js} +1 -1
- package/dist/design-system/p-9dd7befe.entry.js +1 -0
- package/dist/design-system/{p-fb7e8c54.entry.js → p-9ecde011.entry.js} +1 -1
- package/dist/design-system/{p-b4e56b67.entry.js → p-9f0fe1f6.entry.js} +1 -1
- package/dist/design-system/p-BGyJgVXm.js +2 -0
- package/dist/design-system/{p-CJwbBrt5.js → p-ByhWX2NK.js} +1 -1
- package/dist/design-system/p-C-txBx-h.js +1 -0
- package/dist/design-system/p-C4tHYnB4.js +1 -0
- package/dist/design-system/p-DRVnqiWc.js +1 -0
- package/dist/design-system/p-a7ef7465.entry.js +1 -0
- package/dist/design-system/p-ac9f7551.entry.js +1 -0
- package/dist/design-system/{p-513d85e1.entry.js → p-ade9319d.entry.js} +1 -1
- package/dist/design-system/{p-671a9ca8.entry.js → p-aeadfb9c.entry.js} +1 -1
- package/dist/design-system/p-b3d959b0.entry.js +1 -0
- package/dist/design-system/{p-b6e7b8c8.entry.js → p-cdedac3c.entry.js} +1 -1
- package/dist/design-system/{p-5982bcd0.entry.js → p-d43772c0.entry.js} +1 -1
- package/dist/design-system/p-d668fd71.entry.js +1 -0
- package/dist/design-system/{p-c6d2f909.entry.js → p-dfa716e0.entry.js} +1 -1
- package/dist/design-system/{p-a66529a5.entry.js → p-e1288299.entry.js} +1 -1
- package/dist/design-system/p-e3a1e677.entry.js +1 -0
- package/dist/design-system/{p-e385cbf4.entry.js → p-fa888a37.entry.js} +1 -1
- package/dist/esm/{component.textinput-CJwbBrt5.js → component.textinput-ByhWX2NK.js} +3 -2
- package/dist/esm/design-system.js +3 -3
- package/dist/esm/{index-Dcpqhs6V.js → index-BGyJgVXm.js} +1 -1
- package/dist/esm/index.js +36 -41
- package/dist/esm/loader.js +3 -3
- package/dist/esm/modal-stack-DRVnqiWc.js +105 -0
- package/dist/esm/sd-action-modal.entry.js +2 -2
- package/dist/esm/sd-badge.entry.js +2 -2
- package/dist/esm/sd-barcode-input.entry.js +4 -3
- package/dist/esm/sd-button-v2_2.entry.js +3 -3
- package/dist/esm/sd-button_4.entry.js +35 -18
- package/dist/esm/sd-calendar.entry.js +1 -1
- package/dist/esm/sd-card.entry.js +2 -2
- package/dist/esm/sd-checkbox.entry.js +1 -1
- package/dist/esm/sd-chip.entry.js +310 -0
- package/dist/esm/sd-circle-progress.entry.js +2 -2
- package/dist/esm/sd-confirm-modal_2.entry.js +4 -4
- package/dist/esm/sd-date-box.entry.js +1 -1
- package/dist/esm/sd-date-picker-calendar.entry.js +2 -2
- package/dist/esm/sd-date-picker-trigger.entry.js +3 -3
- package/dist/esm/sd-date-picker.entry.js +4 -3
- package/dist/esm/sd-date-range-picker-calendar.entry.js +2 -2
- package/dist/esm/sd-date-range-picker.entry.js +4 -3
- package/dist/esm/sd-dropdown-button.entry.js +5 -16
- package/dist/esm/sd-file-picker.entry.js +5 -4
- package/dist/esm/sd-form.entry.js +1 -1
- package/dist/esm/sd-ghost-button.entry.js +6 -6
- package/dist/esm/sd-guide.entry.js +167 -34
- package/dist/esm/sd-input_2.entry.js +8 -7
- package/dist/esm/sd-loading-container.entry.js +4 -4
- package/dist/esm/sd-modal-container.entry.js +126 -155
- package/dist/esm/sd-number-input.entry.js +5 -4
- package/dist/esm/sd-pagination_2.entry.js +117 -42
- package/dist/esm/sd-popover.entry.js +4 -4
- package/dist/esm/sd-portal.entry.js +4 -4
- package/dist/esm/sd-progress.entry.js +3 -3
- package/dist/esm/sd-radio-button.entry.js +2 -2
- package/dist/esm/sd-radio-group.entry.js +2 -2
- package/dist/esm/sd-radio.entry.js +2 -2
- package/dist/esm/sd-select-dropdown_2.entry.js +4 -4
- package/dist/esm/sd-select-group.entry.js +3 -2
- package/dist/esm/sd-select-multiple-group.entry.js +2 -2
- package/dist/esm/sd-select-multiple.entry.js +2 -2
- package/dist/esm/sd-select-option-group.entry.js +4 -4
- package/dist/esm/sd-select-v2-list-item_4.entry.js +12 -16
- package/dist/esm/sd-select.entry.js +3 -2
- package/dist/esm/sd-switch.entry.js +2 -2
- package/dist/esm/sd-table.entry.js +6 -6
- package/dist/esm/sd-tabs.entry.js +2 -2
- package/dist/esm/sd-tag.entry.js +3 -3
- package/dist/esm/sd-tbody.entry.js +2 -2
- package/dist/esm/sd-td.entry.js +2 -2
- package/dist/esm/sd-text-link.entry.js +4 -4
- package/dist/esm/sd-textarea.entry.js +4 -3
- package/dist/esm/sd-thead.entry.js +4 -4
- package/dist/esm/sd-toast-container.entry.js +3 -3
- package/dist/esm/sd-toast.entry.js +3 -3
- package/dist/esm/sd-toggle.entry.js +2 -2
- package/dist/esm/sd-tr.entry.js +3 -3
- package/dist/esm/system-C-txBx-h.js +14 -0
- package/dist/esm/table-test.entry.js +2 -2
- package/dist/esm/{tooltipArrow-fP-ISMAm.js → tooltipArrow-BAjP9_Hx.js} +1 -1
- package/dist/types/components/sd-barcode-input/sd-barcode-input.d.ts +2 -0
- package/dist/types/components/sd-chip/sd-chip.config.d.ts +36 -0
- package/dist/types/components/sd-chip/sd-chip.d.ts +47 -0
- package/dist/types/components/sd-date-picker/sd-date-picker.d.ts +2 -0
- package/dist/types/components/sd-date-range-picker/sd-date-range-picker.d.ts +2 -0
- package/dist/types/components/sd-field/sd-field.config.d.ts +2 -0
- package/dist/types/components/sd-field/sd-field.d.ts +2 -1
- package/dist/types/components/sd-file-picker/sd-file-picker.d.ts +2 -0
- package/dist/types/components/sd-guide/sd-guide.config.d.ts +44 -0
- package/dist/types/components/sd-guide/sd-guide.d.ts +3 -4
- package/dist/types/components/sd-input/sd-input.d.ts +2 -0
- package/dist/types/components/sd-loading-container/sd-loading-container.config.d.ts +1 -1
- package/dist/types/components/sd-modal-container/sd-modal-container.d.ts +12 -16
- package/dist/types/components/sd-number-input/sd-number-input.d.ts +2 -0
- package/dist/types/components/sd-pagination/sd-pagination.config.d.ts +23 -0
- package/dist/types/components/sd-pagination/sd-pagination.d.ts +3 -3
- package/dist/types/components/sd-select/sd-select.d.ts +2 -0
- package/dist/types/components/sd-select-group/sd-select-group.d.ts +2 -0
- package/dist/types/components/sd-select-v2/sd-select-v2.config.d.ts +0 -1
- package/dist/types/components/sd-select-v2/sd-select-v2.d.ts +2 -0
- package/dist/types/components/sd-table/sd-table.stories.helpers.d.ts +29 -0
- package/dist/types/components/sd-textarea/sd-textarea.d.ts +2 -0
- package/dist/types/components/sd-toast-container/sd-toast-container.config.d.ts +1 -1
- package/dist/types/components.d.ts +226 -18
- package/dist/types/utils/modal-stack.d.ts +17 -0
- package/hydrate/index.js +1000 -358
- package/hydrate/index.mjs +1000 -358
- package/package.json +1 -1
- package/dist/components/p-B_7ozne7.js +0 -1
- package/dist/components/p-BsPBl6g5.js +0 -1
- package/dist/components/p-BuSniZ67.js +0 -1
- package/dist/components/p-C02KLCcO.js +0 -1
- package/dist/components/p-CCHce_Dt.js +0 -1
- package/dist/components/p-CkMs7IA8.js +0 -1
- package/dist/components/p-DLeCo2gh.js +0 -1
- package/dist/components/p-DNVUhw5A.js +0 -1
- package/dist/components/p-UR2Cf2Sm.js +0 -1
- package/dist/design-system/p-1645da95.entry.js +0 -1
- package/dist/design-system/p-244d2d6e.entry.js +0 -1
- package/dist/design-system/p-298d9b57.entry.js +0 -1
- package/dist/design-system/p-2edd355b.entry.js +0 -1
- package/dist/design-system/p-3b8595de.entry.js +0 -1
- package/dist/design-system/p-3bbf23b4.entry.js +0 -1
- package/dist/design-system/p-4c55ba79.entry.js +0 -1
- package/dist/design-system/p-6e9d6063.entry.js +0 -1
- package/dist/design-system/p-6eb3462d.entry.js +0 -1
- package/dist/design-system/p-7cf63a80.entry.js +0 -1
- package/dist/design-system/p-7fe09661.entry.js +0 -1
- package/dist/design-system/p-87b2c270.entry.js +0 -1
- package/dist/design-system/p-9925857c.entry.js +0 -1
- package/dist/design-system/p-9cb3be8c.entry.js +0 -1
- package/dist/design-system/p-Dcpqhs6V.js +0 -2
- package/dist/design-system/p-b56ae914.entry.js +0 -1
- package/dist/design-system/p-d263d476.entry.js +0 -1
- package/dist/design-system/p-e1c17466.entry.js +0 -1
- package/dist/design-system/p-e232fb11.entry.js +0 -1
- package/dist/design-system/p-e474fa8c.entry.js +0 -1
- package/dist/design-system/p-e9d36c02.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, a as getElement, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, a as getElement, h, H as Host } from './index-BGyJgVXm.js';
|
|
2
2
|
import { T as TABLE_ID_ATTR } from './constants-sZMi_32I.js';
|
|
3
3
|
|
|
4
4
|
const sdTheadCss = () => `sd-thead{display:contents}sd-thead *{box-sizing:border-box}.thead{display:table-header-group;height:36px}.thead--sticky{position:sticky;top:0;z-index:120}.tr{display:table-row;width:100%}.th{display:table-cell;background:#F5FAFF;height:36px;padding:0 16px;font-weight:500;vertical-align:middle;border-bottom:1px solid #E1E1E1;-webkit-user-select:none;user-select:none;position:relative;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all}.th--selected{position:relative;width:52px !important;max-width:52px !important;min-width:52px !important;padding:0 10px 0 24px;text-align:left}.th--selected sd-checkbox label{position:relative}.th--selected sd-checkbox label:before{content:"";position:absolute;inset:-6px}.th.sticky-left{position:sticky;background-color:#F5FAFF;z-index:110 !important;left:var(--sticky-left-offset, 0)}.th.sticky-right{position:sticky;background-color:#F5FAFF;z-index:110 !important;right:var(--sticky-right-offset, 0)}.th.sticky-left-edge:after{content:"";position:absolute;top:0;left:100%;right:-20px;width:20px;height:100%;z-index:101 !important;box-shadow:inset 12px 0 20px -25px;opacity:0;pointer-events:none;transition:opacity 0.2s}.th.sticky-right-edge:after{content:"";position:absolute;top:0;left:-20px;width:20px;height:100%;z-index:101 !important;box-shadow:inset -12px 0 20px -25px;opacity:0;pointer-events:none;transition:opacity 0.2s}.th.sticky-left-edge.is-scrolled-left{overflow:visible}.th.sticky-left-edge.is-scrolled-left:after{opacity:1}.th.sticky-right-edge.is-scrolled-right{overflow:visible}.th.sticky-right-edge.is-scrolled-right:after{opacity:1}.th__content{display:flex;flex-flow:row nowrap;align-items:center;gap:4px}.th__content--left{justify-content:flex-start}.th__content--center{justify-content:center}.th__content--right{justify-content:flex-end}.th__content--label{white-space:nowrap;text-overflow:ellipsis;word-break:keep-all}.th__resizer{position:absolute;top:50%;right:0;transform:translateY(-50%);width:4px;height:16px;cursor:col-resize;z-index:3;border-left:1px solid #CCCCCC;border-right:1px solid #CCCCCC}.th__resizer--left{right:auto;left:0}`;
|
|
@@ -134,16 +134,16 @@ const SdThead = class {
|
|
|
134
134
|
const stickyLeftCols = this.visibleColumns.slice(0, stickyLeftCount);
|
|
135
135
|
const middleCols = this.visibleColumns.slice(stickyLeftCount, this.visibleColumns.length - stickyRightCount);
|
|
136
136
|
const stickyRightCols = this.visibleColumns.slice(this.visibleColumns.length - stickyRightCount);
|
|
137
|
-
return (h(Host, { key: '
|
|
137
|
+
return (h(Host, { key: '97badde9634e2e7363eace5a402fc49a587459c3', slot: `${this.tableId}-head` }, h("thead", { key: 'd1ce731f6082679d8d61f4b74ac122f28f344909', class: {
|
|
138
138
|
'thead': true,
|
|
139
139
|
'thead--sticky': this._stickyHeader,
|
|
140
|
-
} }, h("tr", { key: '
|
|
140
|
+
} }, h("tr", { key: 'd0f8b1e8b8a7174cc9b39fabf782eddf2e2accaa', class: "tr" }, this._selectable && (h("th", { key: 'c422f5bd9f9a045785d2d91dd9e2dee6e8f91185', class: {
|
|
141
141
|
'th': true,
|
|
142
142
|
'th--selected': true,
|
|
143
143
|
'sticky-left': true,
|
|
144
144
|
'sticky-left-edge': stickyLeftCount === 0,
|
|
145
145
|
'is-scrolled-left': stickyLeftCount === 0 && this._scrolledLeft,
|
|
146
|
-
}, style: { '--sticky-left-offset': '0px' } }, h("sd-checkbox", { key: '
|
|
146
|
+
}, style: { '--sticky-left-offset': '0px' } }, h("sd-checkbox", { key: '32cea740457b21d4d6fd53a8f1c10b505a24a481', value: this.getIsAllChecked(), disabled: !safeRows.length, onSdUpdate: (e) => this.handleSelectAll(e.detail) }))), stickyLeftCols.map((col, idx) => (h("th", { key: col.name, class: {
|
|
147
147
|
'th': true,
|
|
148
148
|
[`${col.thClass}`]: Boolean(col.thClass),
|
|
149
149
|
'sticky-left': true,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, a as getElement, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, a as getElement, h } from './index-BGyJgVXm.js';
|
|
2
2
|
|
|
3
3
|
const DEFAULT_DURATION = 4000;
|
|
4
4
|
const DEFAULT_MAX_VISIBLE = 3;
|
|
5
5
|
const DEFAULT_GAP = 8;
|
|
6
|
-
const DEFAULT_Z_INDEX =
|
|
6
|
+
const DEFAULT_Z_INDEX = 999;
|
|
7
7
|
const TRANSITION_DURATION = 400;
|
|
8
8
|
const TRANSITION_FALLBACK_BUFFER = 100;
|
|
9
9
|
const COLLAPSED_SCALE_STEP = 0.05;
|
|
@@ -232,7 +232,7 @@ const SdToastContainer = class {
|
|
|
232
232
|
const activeToasts = toasts.filter(t => t.state !== 'exiting').reverse();
|
|
233
233
|
const indexMap = new Map();
|
|
234
234
|
activeToasts.forEach((t, i) => indexMap.set(t.id, i));
|
|
235
|
-
return (h("div", { key: '
|
|
235
|
+
return (h("div", { key: '4660dd2f2626d391bbcca7da59e16e6c4204d80d', class: "sd-toast-container", style: this.getContainerStyles(), onMouseEnter: () => {
|
|
236
236
|
this.expanded = true;
|
|
237
237
|
this.pauseTimers();
|
|
238
238
|
}, onMouseLeave: () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-BGyJgVXm.js';
|
|
2
2
|
|
|
3
3
|
const toast = {
|
|
4
4
|
icon: "16",
|
|
@@ -55,10 +55,10 @@ const SdToast = class {
|
|
|
55
55
|
render() {
|
|
56
56
|
const typeConfig = TOAST_TYPE_CONFIG[this.type] ?? TOAST_TYPE_CONFIG.default;
|
|
57
57
|
const iconSize = Number(TOAST_LAYOUT.iconSize);
|
|
58
|
-
return (h("div", { key: '
|
|
58
|
+
return (h("div", { key: 'a041d5561d09ef56f4afd722e141b0a2e3a9453f', style: {
|
|
59
59
|
'--sd-toast-bg': typeConfig.bg,
|
|
60
60
|
'--sd-toast-text': typeConfig.content,
|
|
61
|
-
} }, h("div", { key: '
|
|
61
|
+
} }, h("div", { key: 'bf2a397484ec5938c0442ee0ee98f0ce00ad1ec0', class: "sd-toast", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.icon && (h("div", { key: '4ea8468b31909e3aea1a293c393621e1815dea5c', class: "sd-toast__icon" }, h("sd-icon", { key: '407a0be71e36a6dca30f5cfb300f2c9ebf6b32c2', name: this.icon, size: iconSize, color: typeConfig.content }))), h("div", { key: '756ca54899ec4d6c3543f8fb1f681d09181674c9', class: "sd-toast__content" }, h("span", { key: 'f0e66dbd5e99bc3921a354ac51294a3c29fe9ea0', class: "sd-toast__message" }, this.message)), this.link && (h("a", { key: '9f4a1a938b7559b03d7dd824c7f2fdbcb093e6fe', href: this.link, class: "sd-toast__link", target: "_blank", rel: "noopener noreferrer" }, this.linkLabel || this.link)), this.useClose && (h("sd-ghost-button", { key: '03d64765901bc8a93f09642b09ae733fa9da0db4', class: "sd-toast__close", icon: "close", intent: this.type === 'caution' ? 'default' : 'inverse', ariaLabel: "close", size: "xs", onClick: () => this.close.emit() })))));
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
64
|
SdToast.style = sdToastCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-BGyJgVXm.js';
|
|
2
2
|
|
|
3
3
|
const toggle = {
|
|
4
4
|
height: "28",
|
|
@@ -118,7 +118,7 @@ const SdToggle = class {
|
|
|
118
118
|
'--sd-toggle-content-select': TOGGLE_COLORS.content.select,
|
|
119
119
|
'--sd-toggle-content-disabled': TOGGLE_COLORS.content.disabled,
|
|
120
120
|
};
|
|
121
|
-
return (h("label", { key: '
|
|
121
|
+
return (h("label", { key: '1e0864450b0447ec08643290d1050e4d0ee0c4a4', class: this.toggleClasses, style: cssVars, "aria-label": this.label || 'toggle' }, this.label, h("input", { key: '7e44e8569de24839c41e8c28f579923e3a837366', style: { display: 'none' }, type: "checkbox", onInput: this.handleChange })));
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
124
|
SdToggle.style = sdToggleCss();
|
package/dist/esm/sd-tr.entry.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, a as getElement, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, a as getElement, h, H as Host } from './index-BGyJgVXm.js';
|
|
2
2
|
import { T as TABLE_ID_ATTR } from './constants-sZMi_32I.js';
|
|
3
3
|
|
|
4
4
|
const sdTrCss = () => `sd-tr{display:contents}sd-tr *{box-sizing:border-box}.tr{display:table-row}.tr:hover .td{background-color:#F9F9F9}.td{display:table-cell;height:44px;padding:0 16px;border-bottom:1px solid #E1E1E1;background:white;vertical-align:middle;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all}.td--left{text-align:left}.td--center{text-align:center}.td--right{text-align:right}.td--selected{position:relative;width:52px !important;max-width:52px !important;min-width:52px !important;padding:0 10px 0 24px;text-align:left}.td--selected sd-checkbox label{position:relative}.td--selected sd-checkbox label:before{content:"";position:absolute;inset:-6px}.td.sticky-left{position:sticky;background-color:white;z-index:100 !important;left:var(--sticky-left-offset, 0)}.td.sticky-right{position:sticky;background-color:white;z-index:100 !important;right:var(--sticky-right-offset, 0)}.td.sticky-left-edge:after{content:"";position:absolute;top:0;left:100%;right:-20px;width:20px;height:100%;z-index:101 !important;box-shadow:inset 12px 0 20px -25px;opacity:0;pointer-events:none;transition:opacity 0.2s}.td.sticky-right-edge:after{content:"";position:absolute;top:0;left:-20px;width:20px;height:100%;z-index:101 !important;box-shadow:inset -12px 0 20px -25px;opacity:0;pointer-events:none;transition:opacity 0.2s}.td.sticky-left-edge.is-scrolled-left{overflow:visible}.td.sticky-left-edge.is-scrolled-left:after{opacity:1}.td.sticky-right-edge.is-scrolled-right{overflow:visible}.td.sticky-right-edge.is-scrolled-right:after{opacity:1}.tr:hover .td.sticky-left,.tr:hover .td.sticky-right{background-color:#F9F9F9}`;
|
|
@@ -129,13 +129,13 @@ const SdTr = class {
|
|
|
129
129
|
const stickyLeftCols = this.visibleColumns.slice(0, stickyLeftCount);
|
|
130
130
|
const middleCols = this.visibleColumns.slice(stickyLeftCount, this.visibleColumns.length - stickyRightCount);
|
|
131
131
|
const stickyRightCols = this.visibleColumns.slice(this.visibleColumns.length - stickyRightCount);
|
|
132
|
-
return (h(Host, { key: '
|
|
132
|
+
return (h(Host, { key: '3bc910f3afa801d7824eee2e73456ef152c7dc93', style: { display: this.isVisible ? '' : 'none' } }, h("tr", { key: '93b1f4113ae63aa1c0cf79addaa9e8d15c9e8287', class: "tr" }, this._selectable && (h("td", { key: '0caba47c216126f4b7407dfe26afb9f0c75f6450', class: {
|
|
133
133
|
'td': true,
|
|
134
134
|
'td--selected': true,
|
|
135
135
|
'sticky-left': true,
|
|
136
136
|
'sticky-left-edge': stickyLeftCount === 0,
|
|
137
137
|
'is-scrolled-left': stickyLeftCount === 0 && this._scrolledLeft,
|
|
138
|
-
}, style: { '--sticky-left-offset': '0px' } }, h("sd-checkbox", { key: '
|
|
138
|
+
}, style: { '--sticky-left-offset': '0px' } }, h("sd-checkbox", { key: '2e41b3902f489877b624266e588221698aaa8f12', value: this.isSelected(), onSdUpdate: () => this.handleSelect() }))), stickyLeftCols.map((col, idx) => (h("td", { key: col.name, class: {
|
|
139
139
|
'td': true,
|
|
140
140
|
[`td--${col.align || 'left'}`]: true,
|
|
141
141
|
'sticky-left': true,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, a as getElement, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, a as getElement, h } from './index-BGyJgVXm.js';
|
|
2
2
|
|
|
3
3
|
const tableTestCss = () => `:host{display:block}.table-wrapper{width:100%;overflow-x:auto}.templates-slot{display:none}.data-table{width:100%;border-collapse:collapse;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;font-size:14px}.data-table th,.data-table td{padding:12px 16px;text-align:left;vertical-align:middle}.data-table th{font-weight:600;background-color:#f8f9fa;color:#333}.data-table.bordered th,.data-table.bordered td{border:1px solid #dee2e6}.data-table.striped tbody tr:nth-child(odd){background-color:#f8f9fa}.data-table tbody tr:hover{background-color:#e9ecef}.data-table .cell-flex{display:flex;align-items:center;gap:8px}.data-table .cell-image{width:24px;height:16px;object-fit:cover;border-radius:2px}`;
|
|
4
4
|
|
|
@@ -78,7 +78,7 @@ const DataTable = class {
|
|
|
78
78
|
return el.innerHTML;
|
|
79
79
|
}
|
|
80
80
|
render() {
|
|
81
|
-
return (h("div", { key: '
|
|
81
|
+
return (h("div", { key: 'eb6246d49bb46a1c2b2b9d93cff90e7c0d6788b4', class: "table-wrapper" }, h("table", { key: '584d752e51f252f2dd7a29868ae4300b55c47065', class: { 'data-table': true, 'bordered': this.bordered, 'striped': this.striped } }, h("thead", { key: 'fd35de9ad1cb79cf77ab9f7a806d2d7258d8b11b' }, h("tr", { key: '39a42d9fc76571aa5ef6073ec554471d5fd1b4c1' }, this.columns.map(column => (h("th", { key: column.field, style: { width: column.width } }, this.renderHeaderContent(column)))))), h("tbody", { key: '5c3a2b5853f619666b20145e0f7a221c75969071' }, this.rows.map((row, rowIndex) => (h("tr", { key: rowIndex }, this.columns.map(column => (h("td", { key: `${rowIndex}-${column.field}` }, this.renderCellContent(column, row, rowIndex))))))))), h("div", { key: 'bbbd15c2d1b517774340dbcdfb59338f260df21b', class: "templates-slot", hidden: true }, h("slot", { key: '28733f09dd4a90976d9bb60102039981c736cf87' }))));
|
|
82
82
|
}
|
|
83
83
|
static get watchers() { return {
|
|
84
84
|
"columns": [{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h } from './index-
|
|
1
|
+
import { h } from './index-BGyJgVXm.js';
|
|
2
2
|
|
|
3
3
|
const TooltipArrow = (props) => (h("svg", { width: "16", height: "12", viewBox: "0 0 16 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, h("path", { d: "M8.83205 10.7519C8.43623 11.3457 7.56377 11.3457 7.16795 10.7519L1.04907e-06 -1.39876e-06L16 0L8.83205 10.7519Z", fill: "currentColor" })));
|
|
4
4
|
|
|
@@ -2,11 +2,13 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
2
2
|
import { Rule } from '../../types/form';
|
|
3
3
|
import { SdTooltipProps } from '../sd-tooltip/sd-tooltip.config';
|
|
4
4
|
import { type BarcodeInputSize } from './sd-barcode-input.config';
|
|
5
|
+
import { type FieldAddonAlign } from '../sd-field/sd-field.config';
|
|
5
6
|
export declare class SdBarcodeInput {
|
|
6
7
|
host: HTMLElement;
|
|
7
8
|
value?: string | number | null;
|
|
8
9
|
size: BarcodeInputSize;
|
|
9
10
|
addonLabel: string;
|
|
11
|
+
addonAlign: FieldAddonAlign;
|
|
10
12
|
placeholder: string;
|
|
11
13
|
disabled: boolean;
|
|
12
14
|
clearable: boolean;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare const CHIP_LAYOUT: {
|
|
2
|
+
height: string;
|
|
3
|
+
paddingX: string;
|
|
4
|
+
gap: string;
|
|
5
|
+
radius: string;
|
|
6
|
+
borderWidth: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const CHIP_COLORS: {
|
|
9
|
+
bg: {
|
|
10
|
+
default: string;
|
|
11
|
+
error: string;
|
|
12
|
+
focus: string;
|
|
13
|
+
};
|
|
14
|
+
content: {
|
|
15
|
+
default: string;
|
|
16
|
+
error: string;
|
|
17
|
+
focus: string;
|
|
18
|
+
};
|
|
19
|
+
border: {
|
|
20
|
+
focus: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export declare const CHIP_TYPOGRAPHY: {
|
|
24
|
+
default: {
|
|
25
|
+
fontFamily: string;
|
|
26
|
+
fontSize: string;
|
|
27
|
+
fontWeight: string;
|
|
28
|
+
lineHeight: string;
|
|
29
|
+
};
|
|
30
|
+
focus: {
|
|
31
|
+
fontFamily: string;
|
|
32
|
+
fontSize: string;
|
|
33
|
+
fontWeight: string;
|
|
34
|
+
lineHeight: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { ValidatableField } from '../sd-form/sd-form';
|
|
3
|
+
import { Rule } from '../../types/form';
|
|
4
|
+
export declare class SdChip implements ValidatableField {
|
|
5
|
+
el: HTMLElement;
|
|
6
|
+
name: string;
|
|
7
|
+
value: string;
|
|
8
|
+
error: boolean;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
placeholder: string;
|
|
11
|
+
rules?: Rule[];
|
|
12
|
+
internalValue: string;
|
|
13
|
+
isEditing: boolean;
|
|
14
|
+
update: EventEmitter<string>;
|
|
15
|
+
remove: EventEmitter<void>;
|
|
16
|
+
focus: EventEmitter<void>;
|
|
17
|
+
blur: EventEmitter<void>;
|
|
18
|
+
private inputEl?;
|
|
19
|
+
private draftValue;
|
|
20
|
+
private shouldInitInput;
|
|
21
|
+
valueChanged(newValue: string): void;
|
|
22
|
+
componentWillLoad(): void;
|
|
23
|
+
componentDidLoad(): void;
|
|
24
|
+
disconnectedCallback(): void;
|
|
25
|
+
sdValidate(): Promise<boolean>;
|
|
26
|
+
sdReset(): Promise<void>;
|
|
27
|
+
sdResetValidate(): Promise<void>;
|
|
28
|
+
sdResetValidation(): Promise<void>;
|
|
29
|
+
sdFocus(): Promise<void>;
|
|
30
|
+
sdGetNativeElement(): Promise<HTMLSpanElement | null>;
|
|
31
|
+
private enterEditMode;
|
|
32
|
+
private commitEdit;
|
|
33
|
+
private cancelEdit;
|
|
34
|
+
private handleChipClick;
|
|
35
|
+
private handleChipKeyDown;
|
|
36
|
+
private handleInputChange;
|
|
37
|
+
private handleInputKeyDown;
|
|
38
|
+
private handleInputBlur;
|
|
39
|
+
private handlePaste;
|
|
40
|
+
private handleRemoveClick;
|
|
41
|
+
private syncInputValue;
|
|
42
|
+
private registerToForm;
|
|
43
|
+
private unregisterFromForm;
|
|
44
|
+
componentDidUpdate(): void;
|
|
45
|
+
private resolveState;
|
|
46
|
+
render(): any;
|
|
47
|
+
}
|
|
@@ -2,6 +2,7 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
2
2
|
import type { Rule } from '../../types/form';
|
|
3
3
|
import type { SdTooltipProps } from '../sd-tooltip/sd-tooltip.config';
|
|
4
4
|
import { type DatePickerSize } from './sd-date-picker.config';
|
|
5
|
+
import { type FieldAddonAlign } from '../sd-field/sd-field.config';
|
|
5
6
|
export declare class SdDatePicker {
|
|
6
7
|
private static readonly CLOSE_ANIMATION_DURATION;
|
|
7
8
|
el: HTMLElement;
|
|
@@ -14,6 +15,7 @@ export declare class SdDatePicker {
|
|
|
14
15
|
label: string;
|
|
15
16
|
labelWidth: string | number;
|
|
16
17
|
addonLabel: string;
|
|
18
|
+
addonAlign: FieldAddonAlign;
|
|
17
19
|
hint: string;
|
|
18
20
|
errorMessage: string;
|
|
19
21
|
fieldName: string;
|
|
@@ -2,6 +2,7 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
2
2
|
import type { Rule } from '../../types/form';
|
|
3
3
|
import type { SdTooltipProps } from '../sd-tooltip/sd-tooltip.config';
|
|
4
4
|
import { type DatePickerSize } from './sd-date-range-picker.config';
|
|
5
|
+
import { type FieldAddonAlign } from '../sd-field/sd-field.config';
|
|
5
6
|
export type DateRangeValue = [string, string] | null;
|
|
6
7
|
export declare class SdDateRangePicker {
|
|
7
8
|
private static readonly CLOSE_ANIMATION_DURATION;
|
|
@@ -16,6 +17,7 @@ export declare class SdDateRangePicker {
|
|
|
16
17
|
label: string;
|
|
17
18
|
labelWidth: string | number;
|
|
18
19
|
addonLabel: string;
|
|
20
|
+
addonAlign: FieldAddonAlign;
|
|
19
21
|
hint: string;
|
|
20
22
|
errorMessage: string;
|
|
21
23
|
fieldName: string;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export type FieldSize = 'sm' | 'md';
|
|
2
|
+
export type FieldAddonAlign = 'start' | 'center' | 'end';
|
|
3
|
+
export declare const FIELD_ADDON_ALIGN_MAP: Record<FieldAddonAlign, string>;
|
|
2
4
|
export declare const FIELD_LABEL_SIZE_MAP: Record<FieldSize, {
|
|
3
5
|
height: string;
|
|
4
6
|
gap: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ValidatableField } from '../sd-form/sd-form';
|
|
2
2
|
import { Rule } from '../../types/form';
|
|
3
3
|
import { SdTooltipProps } from '../sd-tooltip/sd-tooltip.config';
|
|
4
|
-
import { type FieldSize } from './sd-field.config';
|
|
4
|
+
import { type FieldAddonAlign, type FieldSize } from './sd-field.config';
|
|
5
5
|
export declare class SdField implements ValidatableField {
|
|
6
6
|
el: HTMLElement;
|
|
7
7
|
name: string;
|
|
@@ -18,6 +18,7 @@ export declare class SdField implements ValidatableField {
|
|
|
18
18
|
label: string;
|
|
19
19
|
labelWidth: string | number;
|
|
20
20
|
addonLabel: string;
|
|
21
|
+
addonAlign: FieldAddonAlign;
|
|
21
22
|
icon?: IconProps;
|
|
22
23
|
labelTooltip: string;
|
|
23
24
|
labelTooltipProps: SdTooltipProps | null;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { Rule } from '../../types/form';
|
|
3
3
|
import { SdTooltipProps } from '../sd-tooltip/sd-tooltip.config';
|
|
4
|
+
import { type FieldAddonAlign } from '../sd-field/sd-field.config';
|
|
4
5
|
export declare class SdFilePicker implements ComponentInterface {
|
|
5
6
|
el: HTMLElement;
|
|
6
7
|
value?: File[] | File | null;
|
|
@@ -16,6 +17,7 @@ export declare class SdFilePicker implements ComponentInterface {
|
|
|
16
17
|
label: string;
|
|
17
18
|
labelWidth: string | number;
|
|
18
19
|
addonLabel: string;
|
|
20
|
+
addonAlign: FieldAddonAlign;
|
|
19
21
|
hint: string;
|
|
20
22
|
errorMessage: string;
|
|
21
23
|
width: string | number;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export declare const GUIDE_CONFIG: {
|
|
2
|
+
readonly gap: `${string}px`;
|
|
3
|
+
readonly button: {
|
|
4
|
+
readonly height: `${string}px`;
|
|
5
|
+
readonly paddingX: `${string}px`;
|
|
6
|
+
readonly radius: `${string}px`;
|
|
7
|
+
readonly gap: `${string}px`;
|
|
8
|
+
readonly fontFamily: string;
|
|
9
|
+
readonly fontSize: `${string}px`;
|
|
10
|
+
readonly fontWeight: string;
|
|
11
|
+
readonly lineHeight: `${string}px`;
|
|
12
|
+
readonly iconSize: number;
|
|
13
|
+
readonly iconColorDefault: string;
|
|
14
|
+
readonly iconColorActive: string;
|
|
15
|
+
readonly iconColorNotion: string;
|
|
16
|
+
readonly borderWidth: `${string}px`;
|
|
17
|
+
readonly borderColor: string;
|
|
18
|
+
readonly bgDefault: string;
|
|
19
|
+
readonly bgTip: string;
|
|
20
|
+
readonly bgNotion: string;
|
|
21
|
+
readonly textDefault: string;
|
|
22
|
+
readonly textActive: string;
|
|
23
|
+
};
|
|
24
|
+
readonly contents: {
|
|
25
|
+
readonly paddingX: `${string}px`;
|
|
26
|
+
readonly paddingY: `${string}px`;
|
|
27
|
+
readonly gap: `${string}px`;
|
|
28
|
+
readonly rowGap: `${string}px`;
|
|
29
|
+
readonly bodyGap: `${string}px`;
|
|
30
|
+
readonly titleGap: `${string}px`;
|
|
31
|
+
readonly radius: `${string}px`;
|
|
32
|
+
readonly iconColor: string;
|
|
33
|
+
readonly iconColorNotion: string;
|
|
34
|
+
readonly titleFontFamily: string;
|
|
35
|
+
readonly titleFontSize: `${string}px`;
|
|
36
|
+
readonly titleFontWeight: string;
|
|
37
|
+
readonly titleLineHeight: `${string}px`;
|
|
38
|
+
readonly bodyFontFamily: string;
|
|
39
|
+
readonly bodyFontSize: `${string}px`;
|
|
40
|
+
readonly bodyFontWeight: string;
|
|
41
|
+
readonly bodyLineHeight: `${string}px`;
|
|
42
|
+
readonly textColor: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
type GuideType = '
|
|
1
|
+
export type GuideType = 'tip' | 'notion';
|
|
2
2
|
export declare class SdGuide {
|
|
3
3
|
el: HTMLElement;
|
|
4
4
|
type: GuideType;
|
|
5
5
|
label: string;
|
|
6
6
|
message: string | string[];
|
|
7
|
-
|
|
7
|
+
url: string;
|
|
8
8
|
popupTitle: string;
|
|
9
9
|
popupWidth?: number;
|
|
10
10
|
popupShow: boolean;
|
|
11
11
|
private guideRef?;
|
|
12
12
|
private handleClickGuide;
|
|
13
|
-
private get guideClass();
|
|
14
13
|
closeDropdown: () => void;
|
|
14
|
+
private get guideStyle();
|
|
15
15
|
render(): any;
|
|
16
16
|
renderListItem(message: string | string[], depth?: number): HTMLElement[];
|
|
17
17
|
renderLi: (message: string, depth: number) => any;
|
|
18
18
|
}
|
|
19
|
-
export {};
|
|
@@ -2,12 +2,14 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
2
2
|
import { Rule } from '../../types/form';
|
|
3
3
|
import { SdTooltipProps } from '../sd-tooltip/sd-tooltip.config';
|
|
4
4
|
import { type InputSize } from './sd-input.config';
|
|
5
|
+
import { type FieldAddonAlign } from '../sd-field/sd-field.config';
|
|
5
6
|
export declare class SdInput {
|
|
6
7
|
host: HTMLElement;
|
|
7
8
|
value?: string | number | null;
|
|
8
9
|
type: 'text' | 'password' | 'email';
|
|
9
10
|
size: InputSize;
|
|
10
11
|
addonLabel: string;
|
|
12
|
+
addonAlign: FieldAddonAlign;
|
|
11
13
|
placeholder: string;
|
|
12
14
|
disabled: boolean;
|
|
13
15
|
clearable: boolean;
|
|
@@ -1,34 +1,30 @@
|
|
|
1
|
-
import type { ConfirmModalOptions, LoadingModalOptions,
|
|
1
|
+
import type { ConfirmModalOptions, LoadingModalOptions, ModalDialogRefLike, ModalEntry, SdModalCreateOptions } from './sd-modal-container.config';
|
|
2
2
|
export declare class SdModalContainer {
|
|
3
3
|
el: HTMLElement;
|
|
4
|
-
|
|
4
|
+
autoRemove: boolean;
|
|
5
|
+
entry?: ModalEntry;
|
|
5
6
|
isVisible: boolean;
|
|
6
|
-
|
|
7
|
-
private
|
|
8
|
-
private containerDismissTimerId?;
|
|
9
|
-
private previousBodyOverflow;
|
|
10
|
-
private bodyScrollLocked;
|
|
11
|
-
handleKeydown(e: KeyboardEvent): void;
|
|
7
|
+
backdropVisible: boolean;
|
|
8
|
+
private layerRef?;
|
|
12
9
|
open(options: ConfirmModalOptions, modalRef: ModalDialogRefLike): Promise<string>;
|
|
13
10
|
openLoading(options: LoadingModalOptions, modalRef: ModalDialogRefLike): Promise<string>;
|
|
14
11
|
createCustom(element: HTMLElement, options: SdModalCreateOptions, modalRef: ModalDialogRefLike): Promise<string>;
|
|
12
|
+
componentDidRender(): void;
|
|
13
|
+
disconnectedCallback(): void;
|
|
14
|
+
dismissById(id: string, reason?: 'confirm' | 'cancel' | 'close'): Promise<void>;
|
|
15
|
+
update(id: string, props: Partial<ConfirmModalOptions> | Partial<LoadingModalOptions>): Promise<void>;
|
|
16
|
+
private mountEntry;
|
|
15
17
|
private attachModalEventListeners;
|
|
16
18
|
private attachLoadingModalEventListeners;
|
|
17
19
|
private dispatchClose;
|
|
18
|
-
private
|
|
19
|
-
|
|
20
|
-
update(id: string, props: Partial<ConfirmModalOptions> | Partial<LoadingModalOptions>): Promise<void>;
|
|
20
|
+
private requestDismiss;
|
|
21
|
+
private finalizeDismiss;
|
|
21
22
|
private createConfirmModal;
|
|
22
23
|
private createLoadingModal;
|
|
23
24
|
private applyLoadingProps;
|
|
24
25
|
private applyProps;
|
|
25
26
|
private handleBackdropClick;
|
|
26
27
|
private shakeModal;
|
|
27
|
-
disconnectedCallback(): void;
|
|
28
|
-
private setBodyScrollLock;
|
|
29
|
-
private getTopEntry;
|
|
30
|
-
private requestDismiss;
|
|
31
|
-
private finalizeDismiss;
|
|
32
28
|
private waitForModalReady;
|
|
33
29
|
private hasOwnProp;
|
|
34
30
|
private setAttr;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { Rule } from '../../types/form';
|
|
3
3
|
import { type NumberInputSize } from './sd-number-input.config';
|
|
4
|
+
import { type FieldAddonAlign } from '../sd-field/sd-field.config';
|
|
4
5
|
export declare class SdNumberInput {
|
|
5
6
|
el: HTMLElement;
|
|
6
7
|
size: NumberInputSize;
|
|
@@ -13,6 +14,7 @@ export declare class SdNumberInput {
|
|
|
13
14
|
label?: string;
|
|
14
15
|
labelWidth: string | number;
|
|
15
16
|
addonLabel: string;
|
|
17
|
+
addonAlign: FieldAddonAlign;
|
|
16
18
|
placeholder: string;
|
|
17
19
|
disabled: boolean;
|
|
18
20
|
width?: number | string;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const PAGINATION_LAYOUT: {
|
|
2
|
+
height: string;
|
|
3
|
+
paddingX: string;
|
|
4
|
+
radius: string;
|
|
5
|
+
gap: string;
|
|
6
|
+
moveGap: string;
|
|
7
|
+
iconSize: number;
|
|
8
|
+
};
|
|
9
|
+
export declare const PAGINATION_TYPOGRAPHY: {
|
|
10
|
+
fontFamily: string;
|
|
11
|
+
fontSize: string;
|
|
12
|
+
lineHeight: string;
|
|
13
|
+
fontWeightDefault: string;
|
|
14
|
+
fontWeightSelected: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const PAGINATION_COLORS: {
|
|
17
|
+
contentDefault: string;
|
|
18
|
+
contentHover: string;
|
|
19
|
+
contentSelected: string;
|
|
20
|
+
bgHover: string;
|
|
21
|
+
bgSelected: string;
|
|
22
|
+
iconDefault: string;
|
|
23
|
+
};
|
|
@@ -4,13 +4,13 @@ export declare class SdPagination {
|
|
|
4
4
|
lastPage: number;
|
|
5
5
|
simple: boolean;
|
|
6
6
|
pageChange: EventEmitter<number>;
|
|
7
|
-
private get paginationClasses();
|
|
8
7
|
private get pageNumbers();
|
|
9
8
|
private get buttonWidth();
|
|
10
|
-
private handlePageChange;
|
|
11
|
-
private handleGroupChange;
|
|
12
9
|
private get isFirstGroup();
|
|
13
10
|
private get isLastGroup();
|
|
11
|
+
private handlePageChange;
|
|
12
|
+
private handleGroupChange;
|
|
13
|
+
private renderNavButton;
|
|
14
14
|
private renderPrevButtons;
|
|
15
15
|
private renderNextButtons;
|
|
16
16
|
render(): any;
|
|
@@ -2,6 +2,7 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
2
2
|
import { BaseDropdownEvent } from '../../utils/base-dropdown-event';
|
|
3
3
|
import { SdTooltipProps } from '../sd-tooltip/sd-tooltip.config';
|
|
4
4
|
import { Rule } from '../../components';
|
|
5
|
+
import { type FieldAddonAlign } from '../sd-field/sd-field.config';
|
|
5
6
|
export interface SelectOption {
|
|
6
7
|
value: string | number;
|
|
7
8
|
label: string;
|
|
@@ -59,6 +60,7 @@ export declare class SdSelect extends BaseDropdownEvent {
|
|
|
59
60
|
label: string;
|
|
60
61
|
labelWidth: string | number;
|
|
61
62
|
addonLabel: string;
|
|
63
|
+
addonAlign: FieldAddonAlign;
|
|
62
64
|
icon?: IconProps;
|
|
63
65
|
labelTooltip: string;
|
|
64
66
|
labelTooltipProps: SdTooltipProps | null;
|
|
@@ -3,6 +3,7 @@ import { BaseDropdownEvent } from '../../utils/base-dropdown-event';
|
|
|
3
3
|
import { SelectEvents, SelectOptionGroup, SelectStyleProps } from '../sd-select/sd-select';
|
|
4
4
|
import { SdTooltipProps } from '../sd-tooltip/sd-tooltip.config';
|
|
5
5
|
import { Rule } from '../../components';
|
|
6
|
+
import { type FieldAddonAlign } from '../sd-field/sd-field.config';
|
|
6
7
|
/**
|
|
7
8
|
* @deprecated sd-select-v2 (name="default_depth")를 사용하세요.
|
|
8
9
|
*/
|
|
@@ -21,6 +22,7 @@ export declare class SdSelectGroup extends BaseDropdownEvent {
|
|
|
21
22
|
label: string;
|
|
22
23
|
labelWidth: string | number;
|
|
23
24
|
addonLabel: string;
|
|
25
|
+
addonAlign: FieldAddonAlign;
|
|
24
26
|
icon?: IconProps;
|
|
25
27
|
labelTooltip: string;
|
|
26
28
|
labelTooltipProps: SdTooltipProps | null;
|
|
@@ -2,6 +2,7 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
2
2
|
import type { SelectV2Option, SelectV2Name, SelectV2Value } from './sd-select-v2.config';
|
|
3
3
|
import type { Rule } from '../../types/form';
|
|
4
4
|
import type { SdTooltipProps } from '../sd-tooltip/sd-tooltip.config';
|
|
5
|
+
import { type FieldAddonAlign } from '../sd-field/sd-field.config';
|
|
5
6
|
export declare class SdSelectV2 {
|
|
6
7
|
private static readonly VIEWPORT_PADDING;
|
|
7
8
|
private static readonly PORTAL_OFFSET_Y;
|
|
@@ -17,6 +18,7 @@ export declare class SdSelectV2 {
|
|
|
17
18
|
label: string;
|
|
18
19
|
labelWidth: string | number;
|
|
19
20
|
addonLabel: string;
|
|
21
|
+
addonAlign: FieldAddonAlign;
|
|
20
22
|
error: boolean;
|
|
21
23
|
hint: string;
|
|
22
24
|
errorMessage: string;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { LitElement, nothing, type TemplateResult } from 'lit';
|
|
2
|
+
import type { Row, SdTableColumn, SdTableStickyColumn } from './constants';
|
|
3
|
+
export declare class StoryVirtualTable extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult;
|
|
5
|
+
columns: SdTableColumn[];
|
|
6
|
+
rows: Row[];
|
|
7
|
+
stickyColumn: SdTableStickyColumn;
|
|
8
|
+
stickyHeader: boolean;
|
|
9
|
+
selectable: boolean;
|
|
10
|
+
resizable: boolean;
|
|
11
|
+
height: string;
|
|
12
|
+
width: string;
|
|
13
|
+
rowHeight: number;
|
|
14
|
+
rowKey: string;
|
|
15
|
+
renderRow?: (row: Row, absoluteIndex: number) => TemplateResult | typeof nothing;
|
|
16
|
+
private range;
|
|
17
|
+
private tableRef;
|
|
18
|
+
private detachListener?;
|
|
19
|
+
private syncRafId;
|
|
20
|
+
constructor();
|
|
21
|
+
disconnectedCallback(): void;
|
|
22
|
+
firstUpdated(): void;
|
|
23
|
+
render(): TemplateResult<1>;
|
|
24
|
+
}
|
|
25
|
+
declare global {
|
|
26
|
+
interface HTMLElementTagNameMap {
|
|
27
|
+
'story-virtual-table': StoryVirtualTable;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { Rule } from '../../types/form';
|
|
3
3
|
import { SdTooltipProps } from '../sd-tooltip/sd-tooltip.config';
|
|
4
|
+
import { type FieldAddonAlign } from '../sd-field/sd-field.config';
|
|
4
5
|
export declare class SdTextarea {
|
|
5
6
|
host: HTMLElement;
|
|
6
7
|
value?: string | null;
|
|
@@ -19,6 +20,7 @@ export declare class SdTextarea {
|
|
|
19
20
|
label?: string;
|
|
20
21
|
labelWidth: string | number;
|
|
21
22
|
addonLabel: string;
|
|
23
|
+
addonAlign: FieldAddonAlign;
|
|
22
24
|
hint: string;
|
|
23
25
|
errorMessage: string;
|
|
24
26
|
icon?: IconProps;
|