@sellmate/design-system 1.9.0 → 1.11.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 +2 -2
- package/dist/cjs/{index-C63F8C0_.js → index-erbAlKp-.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/sd-action-modal.cjs.entry.js +1 -1
- package/dist/cjs/sd-badge.cjs.entry.js +2 -2
- package/dist/cjs/sd-barcode-input.cjs.entry.js +2 -2
- package/dist/cjs/{sd-button.config-WeoddlTQ.js → sd-button.config-eTAJM2iW.js} +17 -3
- package/dist/cjs/sd-button_2.cjs.entry.js +7 -6
- package/dist/cjs/sd-calendar_2.cjs.entry.js +6 -6
- package/dist/cjs/sd-callout.cjs.entry.js +2 -2
- 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-input.cjs.entry.js +274 -0
- package/dist/cjs/sd-chip.cjs.entry.js +15 -85
- package/dist/cjs/sd-chip.config-DiLoRpct.js +71 -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_7.cjs.entry.js +10 -10
- package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +2 -2
- package/dist/cjs/sd-divider.cjs.entry.js +2 -2
- package/dist/cjs/sd-dropdown-button.cjs.entry.js +10 -6
- package/dist/cjs/sd-field_3.cjs.entry.js +11 -10
- package/dist/cjs/sd-form.cjs.entry.js +1 -1
- package/dist/cjs/sd-ghost-button_2.cjs.entry.js +407 -0
- package/dist/cjs/sd-guide.cjs.entry.js +1 -1
- package/dist/cjs/sd-key-value-table.cjs.entry.js +1 -1
- package/dist/cjs/sd-linear-progress.cjs.entry.js +2 -2
- package/dist/cjs/sd-loading-container.cjs.entry.js +3 -3
- package/dist/cjs/sd-modal-container.cjs.entry.js +1 -1
- package/dist/cjs/sd-pagination_4.cjs.entry.js +9 -9
- package/dist/cjs/sd-popover.cjs.entry.js +2 -2
- package/dist/cjs/sd-popup.cjs.entry.js +2 -2
- package/dist/cjs/sd-portal.cjs.entry.js +2 -2
- package/dist/cjs/sd-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/sd-radio.cjs.entry.js +1 -1
- package/dist/cjs/sd-select-list-item_2.cjs.entry.js +7 -7
- package/dist/cjs/sd-select_3.cjs.entry.js +9 -9
- package/dist/cjs/sd-switch.cjs.entry.js +2 -2
- package/dist/cjs/sd-table.cjs.entry.js +7 -7
- package/dist/cjs/sd-tabs.cjs.entry.js +19 -6
- package/dist/cjs/sd-td.cjs.entry.js +2 -2
- package/dist/cjs/sd-text-link.cjs.entry.js +1 -1
- package/dist/cjs/sd-toast-container.cjs.entry.js +2 -2
- package/dist/cjs/sd-toast.cjs.entry.js +3 -3
- package/dist/cjs/sd-toggle.cjs.entry.js +2 -2
- package/dist/cjs/{tooltipArrow-DONQ8MML.js → tooltipArrow-CYf_WBPN.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/sd-badge/sd-badge.js +1 -1
- package/dist/collection/components/sd-barcode-input/sd-barcode-input.js +1 -1
- package/dist/collection/components/sd-button/sd-button.config.js +9 -1
- package/dist/collection/components/sd-button/sd-button.css +6 -5
- package/dist/collection/components/sd-button/sd-button.js +5 -4
- package/dist/collection/components/sd-calendar/sd-calendar.js +3 -3
- package/dist/collection/components/sd-callout/sd-callout.js +1 -1
- package/dist/collection/components/sd-card/sd-card.js +1 -1
- package/dist/collection/components/sd-chip/sd-chip.config.js +0 -1
- package/dist/collection/components/sd-chip/sd-chip.css +5 -0
- package/dist/collection/components/sd-chip/sd-chip.js +7 -5
- package/dist/collection/components/sd-chip-input/sd-chip-input.config.js +48 -0
- package/dist/collection/components/sd-chip-input/sd-chip-input.css +92 -0
- package/dist/collection/components/sd-chip-input/sd-chip-input.js +709 -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-trigger/sd-date-picker-trigger.js +2 -2
- package/dist/collection/components/sd-date-picker/sd-date-picker.js +2 -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-divider/sd-divider.js +1 -1
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.config.js +3 -2
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.css +4 -0
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +5 -3
- package/dist/collection/components/sd-field/sd-field.js +6 -5
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
- package/dist/collection/components/sd-ghost-button/sd-ghost-button.css +21 -0
- package/dist/collection/components/sd-ghost-button/sd-ghost-button.js +27 -2
- package/dist/collection/components/sd-input/sd-input.js +2 -2
- package/dist/collection/components/sd-linear-progress/sd-linear-progress.js +1 -1
- package/dist/collection/components/sd-loading-container/sd-loading-container.js +2 -2
- package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +1 -1
- package/dist/collection/components/sd-number-input/sd-number-input.js +4 -4
- package/dist/collection/components/sd-pagination/sd-pagination.js +3 -3
- package/dist/collection/components/sd-popup/sd-popup.js +1 -1
- package/dist/collection/components/sd-portal/sd-portal.js +1 -1
- package/dist/collection/components/sd-select/sd-select-list-item/sd-select-list-item.js +2 -2
- package/dist/collection/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.js +4 -4
- package/dist/collection/components/sd-select/sd-select-listbox/sd-select-listbox.js +2 -2
- package/dist/collection/components/sd-select/sd-select-trigger/sd-select-trigger.js +2 -2
- package/dist/collection/components/sd-select/sd-select.js +4 -4
- package/dist/collection/components/sd-switch/sd-switch.js +1 -1
- package/dist/collection/components/sd-table/sd-table.js +6 -6
- package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +2 -2
- 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-tabs/sd-tabs.config.js +3 -1
- package/dist/collection/components/sd-tabs/sd-tabs.css +29 -2
- package/dist/collection/components/sd-tabs/sd-tabs.js +27 -2
- package/dist/collection/components/sd-tag/sd-tag.js +2 -2
- package/dist/collection/components/sd-textarea/sd-textarea.js +1 -1
- package/dist/collection/components/sd-toast/sd-toast.js +2 -2
- package/dist/collection/components/sd-toast-container/sd-toast-container.js +1 -1
- package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
- package/dist/collection/components/sd-tooltip/sd-tooltip.js +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/{p-PDLDFsH7.js → p-9S3tUKro.js} +1 -1
- package/dist/components/{p-C8MKSPNX.js → p-B-pYYTgJ.js} +1 -1
- package/dist/components/p-B0Aqa3rl.js +1 -0
- package/dist/components/{p-siTDlOb6.js → p-BFjxNqDj.js} +1 -1
- package/dist/components/p-Bc81OXqj.js +1 -0
- package/dist/components/p-Bd7NDNZR.js +1 -0
- package/dist/components/{p-Due8URWT.js → p-BdmCYhiG.js} +1 -1
- package/dist/components/{p-B8Z5qc_1.js → p-BkL6ut5U.js} +1 -1
- package/dist/components/p-BklUnzX5.js +1 -0
- package/dist/components/{p-BNkExhYB.js → p-BoXTUvyq.js} +1 -1
- package/dist/components/{p-CwUPCrDk.js → p-BzMV13Xr.js} +1 -1
- package/dist/components/{p-ipduET5U.js → p-C-0-0BCQ.js} +1 -1
- package/dist/components/{p-BnJJAhY6.js → p-C8vzShov.js} +1 -1
- package/dist/components/{p-DLNwV8Wa.js → p-C9pDOVrU.js} +1 -1
- package/dist/components/{p-BaOCZ7B6.js → p-CMVIH_LA.js} +1 -1
- package/dist/components/{p-C79Cowjq.js → p-CYJoJT1r.js} +1 -1
- package/dist/components/{p-CnCH_nnG.js → p-CZP1wFmE.js} +1 -1
- package/dist/components/{p-C2LhOf89.js → p-C_3H0ef6.js} +1 -1
- package/dist/components/{p-C_RL1gZR.js → p-CcyPWdvG.js} +1 -1
- package/dist/components/p-Ce3p4Wwc.js +1 -0
- package/dist/components/{p-pfGv13eX.js → p-CoX_ozJQ.js} +1 -1
- package/dist/components/p-CuuPUA52.js +1 -0
- package/dist/components/{p-BS1cT5dG.js → p-D8F2mTyh.js} +1 -1
- package/dist/components/{p-DjS-dtF5.js → p-D9fTZjTl.js} +1 -1
- package/dist/components/{p-CFL9Rfh8.js → p-DG5mmAZR.js} +1 -1
- package/dist/components/{p-B_FQcRtk.js → p-DRFcrZ_2.js} +1 -1
- package/dist/components/{p-7TYtYYrb.js → p-DRoYx4ox.js} +1 -1
- package/dist/components/p-DUaqwhdO.js +1 -0
- package/dist/components/{p-B3vmDhWb.js → p-DetgSxJr.js} +1 -1
- package/dist/components/p-Dp6NByuZ.js +1 -0
- package/dist/components/p-Dqabylmm.js +1 -0
- package/dist/components/{p-B5XCkCeg.js → p-Dt8isS3r.js} +1 -1
- package/dist/components/p-F7m_gfg2.js +1 -0
- package/dist/components/{p-yTY5CmAx.js → p-KENiwV56.js} +1 -1
- package/dist/components/{p-J57vnHhu.js → p-TD8DiYYC.js} +1 -1
- package/dist/components/p-ebOv6eVT.js +1 -0
- package/dist/components/{p-BDUIw6As.js → p-pt9ANL-l.js} +1 -1
- package/dist/components/p-vS--1dHy.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/sd-chip-input.js +1 -0
- 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-19d47ac2.entry.js → p-01ee066e.entry.js} +1 -1
- package/dist/design-system/p-099b1fa6.entry.js +1 -0
- package/dist/design-system/p-1a06b680.entry.js +1 -0
- package/dist/design-system/{p-acfe5585.entry.js → p-29d72776.entry.js} +1 -1
- package/dist/design-system/{p-ff24fcb2.entry.js → p-308abc0e.entry.js} +1 -1
- package/dist/design-system/{p-e1ef1eb8.entry.js → p-3148fdbb.entry.js} +1 -1
- package/dist/design-system/{p-7b01d78b.entry.js → p-3c4396bf.entry.js} +1 -1
- package/dist/design-system/{p-86db28ce.entry.js → p-43d36198.entry.js} +1 -1
- package/dist/design-system/{p-21f654e3.entry.js → p-548b799f.entry.js} +1 -1
- package/dist/design-system/{p-11e99ac5.entry.js → p-56c6c243.entry.js} +1 -1
- package/dist/design-system/{p-a0daadc8.entry.js → p-5ea98503.entry.js} +1 -1
- package/dist/design-system/{p-a4fff652.entry.js → p-63d49ccb.entry.js} +1 -1
- package/dist/design-system/{p-b3b46576.entry.js → p-6785b122.entry.js} +1 -1
- package/dist/design-system/p-67a3f9ca.entry.js +1 -0
- package/dist/design-system/p-69c41f34.entry.js +1 -0
- package/dist/design-system/{p-cad22f63.entry.js → p-7ae98de4.entry.js} +1 -1
- package/dist/design-system/{p-362ac234.entry.js → p-7b3fec0d.entry.js} +1 -1
- package/dist/design-system/{p-f4597b6e.entry.js → p-7f0e8752.entry.js} +1 -1
- package/dist/design-system/{p-2ef3cd00.entry.js → p-845b95cc.entry.js} +1 -1
- package/dist/design-system/p-88f8fa16.entry.js +1 -0
- package/dist/design-system/{p-b456b9ac.entry.js → p-90997ca5.entry.js} +1 -1
- package/dist/design-system/{p-4ca63a2d.entry.js → p-929ba1b6.entry.js} +1 -1
- package/dist/design-system/{p-6716691b.entry.js → p-9470e031.entry.js} +1 -1
- package/dist/design-system/{p-90cc9785.entry.js → p-973eed65.entry.js} +1 -1
- package/dist/design-system/p-97fceb51.entry.js +1 -0
- package/dist/design-system/{p-f5eb4e2f.entry.js → p-9c658fdd.entry.js} +1 -1
- package/dist/design-system/{p-BpO2YWvq.js → p-D3yCWQNg.js} +1 -1
- package/dist/design-system/{p-CcVraVK0.js → p-DDgZHadT.js} +1 -1
- package/dist/design-system/p-DDj5KTBF.js +1 -0
- package/dist/design-system/p-DjcjlPt7.js +1 -0
- package/dist/design-system/p-acf7099e.entry.js +1 -0
- package/dist/design-system/p-b06e4b77.entry.js +1 -0
- package/dist/design-system/{p-a0607a9f.entry.js → p-b33b18c7.entry.js} +1 -1
- package/dist/design-system/{p-8926c5ec.entry.js → p-b5252a07.entry.js} +1 -1
- package/dist/design-system/{p-1dd139cb.entry.js → p-c068f61a.entry.js} +1 -1
- package/dist/design-system/p-c148947c.entry.js +1 -0
- package/dist/design-system/p-c4ebb7d1.entry.js +1 -0
- package/dist/design-system/{p-de743615.entry.js → p-cf301438.entry.js} +1 -1
- package/dist/design-system/{p-27f61c1f.entry.js → p-d3fc5510.entry.js} +1 -1
- package/dist/design-system/{p-95cce55d.entry.js → p-e0ea08ba.entry.js} +1 -1
- package/dist/design-system/{p-3eb72b33.entry.js → p-e53d6089.entry.js} +1 -1
- package/dist/design-system/{p-5b7ea330.entry.js → p-f22590e4.entry.js} +1 -1
- package/dist/design-system/{p-06344171.entry.js → p-f46d4199.entry.js} +1 -1
- package/dist/design-system/{p-7440fbe7.entry.js → p-f66f4eee.entry.js} +1 -1
- package/dist/design-system/{p-39a2bf05.entry.js → p-febd7c47.entry.js} +1 -1
- package/dist/esm/design-system.js +3 -3
- package/dist/esm/{index-BpO2YWvq.js → index-D3yCWQNg.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/sd-action-modal.entry.js +1 -1
- package/dist/esm/sd-badge.entry.js +2 -2
- package/dist/esm/sd-barcode-input.entry.js +2 -2
- package/dist/esm/{sd-button.config-CdRvJ-Uc.js → sd-button.config-DjcjlPt7.js} +16 -3
- package/dist/esm/sd-button_2.entry.js +7 -6
- package/dist/esm/sd-calendar_2.entry.js +6 -6
- package/dist/esm/sd-callout.entry.js +2 -2
- package/dist/esm/sd-card.entry.js +2 -2
- package/dist/esm/sd-checkbox.entry.js +1 -1
- package/dist/esm/sd-chip-input.entry.js +272 -0
- package/dist/esm/sd-chip.config-DDj5KTBF.js +67 -0
- package/dist/esm/sd-chip.entry.js +10 -80
- 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_7.entry.js +10 -10
- package/dist/esm/sd-date-range-picker-calendar.entry.js +2 -2
- package/dist/esm/sd-divider.entry.js +2 -2
- package/dist/esm/sd-dropdown-button.entry.js +10 -6
- package/dist/esm/sd-field_3.entry.js +11 -10
- package/dist/esm/sd-form.entry.js +1 -1
- package/dist/esm/sd-ghost-button_2.entry.js +404 -0
- package/dist/esm/sd-guide.entry.js +1 -1
- package/dist/esm/sd-key-value-table.entry.js +1 -1
- package/dist/esm/sd-linear-progress.entry.js +2 -2
- package/dist/esm/sd-loading-container.entry.js +3 -3
- package/dist/esm/sd-modal-container.entry.js +1 -1
- package/dist/esm/sd-pagination_4.entry.js +9 -9
- package/dist/esm/sd-popover.entry.js +2 -2
- package/dist/esm/sd-popup.entry.js +2 -2
- package/dist/esm/sd-portal.entry.js +2 -2
- package/dist/esm/sd-radio-button.entry.js +1 -1
- package/dist/esm/sd-radio.entry.js +1 -1
- package/dist/esm/sd-select-list-item_2.entry.js +7 -7
- package/dist/esm/sd-select_3.entry.js +9 -9
- package/dist/esm/sd-switch.entry.js +2 -2
- package/dist/esm/sd-table.entry.js +7 -7
- package/dist/esm/sd-tabs.entry.js +19 -6
- package/dist/esm/sd-td.entry.js +2 -2
- package/dist/esm/sd-text-link.entry.js +1 -1
- package/dist/esm/sd-toast-container.entry.js +2 -2
- package/dist/esm/sd-toast.entry.js +3 -3
- package/dist/esm/sd-toggle.entry.js +2 -2
- package/dist/esm/{tooltipArrow-DrrY_fPj.js → tooltipArrow-CUCfrch1.js} +1 -1
- package/dist/types/components/sd-button/sd-button.config.d.ts +10 -2
- package/dist/types/components/sd-chip/sd-chip.config.d.ts +0 -1
- package/dist/types/components/sd-chip-input/sd-chip-input.config.d.ts +34 -0
- package/dist/types/components/sd-chip-input/sd-chip-input.d.ts +53 -0
- package/dist/types/components/sd-dropdown-button/sd-dropdown-button.config.d.ts +9 -1
- package/dist/types/components/sd-ghost-button/sd-ghost-button.d.ts +1 -0
- package/dist/types/components/sd-tabs/sd-tabs.config.d.ts +3 -1
- package/dist/types/components/sd-tabs/sd-tabs.d.ts +1 -0
- package/dist/types/components.d.ts +210 -0
- package/hydrate/index.js +463 -125
- package/hydrate/index.mjs +463 -125
- package/package.json +1 -1
- package/dist/cjs/sd-ghost-button.cjs.entry.js +0 -179
- package/dist/cjs/sd-tag.cjs.entry.js +0 -227
- package/dist/components/p-B8QZRiYH.js +0 -1
- package/dist/components/p-BYgOJUk0.js +0 -1
- package/dist/components/p-BmmIQQlT.js +0 -1
- package/dist/components/p-CMUpMkva.js +0 -1
- package/dist/components/p-CeoBnd3w.js +0 -1
- package/dist/components/p-CpdFMy8s.js +0 -1
- package/dist/components/p-CqcGVHzJ.js +0 -1
- package/dist/components/p-CtxH9xQc.js +0 -1
- package/dist/components/p-DEfG8t7h.js +0 -1
- package/dist/components/p-DGCbSjhn.js +0 -1
- package/dist/components/p-DLeITJ-j.js +0 -1
- package/dist/components/p-DqXt80Qn.js +0 -1
- package/dist/design-system/p-0a225a4a.entry.js +0 -1
- package/dist/design-system/p-17d8457d.entry.js +0 -1
- package/dist/design-system/p-2bd09b2f.entry.js +0 -1
- package/dist/design-system/p-515e837b.entry.js +0 -1
- package/dist/design-system/p-5ee1e5e6.entry.js +0 -1
- package/dist/design-system/p-79e73305.entry.js +0 -1
- package/dist/design-system/p-97b16b63.entry.js +0 -1
- package/dist/design-system/p-CdRvJ-Uc.js +0 -1
- package/dist/design-system/p-a39016ac.entry.js +0 -1
- package/dist/design-system/p-d9c1ec16.entry.js +0 -1
- package/dist/design-system/p-de565b9f.entry.js +0 -1
- package/dist/esm/sd-ghost-button.entry.js +0 -177
- package/dist/esm/sd-tag.entry.js +0 -225
|
@@ -0,0 +1,709 @@
|
|
|
1
|
+
import { h, } from "@stencil/core";
|
|
2
|
+
import { nanoid } from "nanoid/non-secure";
|
|
3
|
+
import { CHIP_INPUT_SIZE_MAP, CHIP_INPUT_COLORS, CHIP_INPUT_LAYOUT, CHIP_INPUT_RESET, } from "./sd-chip-input.config";
|
|
4
|
+
import { CHIP_LAYOUT, CHIP_COLORS, CHIP_TYPOGRAPHY } from "../sd-chip/sd-chip.config";
|
|
5
|
+
export class SdChipInput {
|
|
6
|
+
host;
|
|
7
|
+
values = [];
|
|
8
|
+
errors = [];
|
|
9
|
+
size = 'sm';
|
|
10
|
+
disabled = false;
|
|
11
|
+
placeholder = '입력해 주세요.';
|
|
12
|
+
name = nanoid();
|
|
13
|
+
rules = [];
|
|
14
|
+
error = false;
|
|
15
|
+
useReset = false;
|
|
16
|
+
// sd-field props
|
|
17
|
+
label = '';
|
|
18
|
+
labelWidth = '';
|
|
19
|
+
hint = '';
|
|
20
|
+
errorMessage = '';
|
|
21
|
+
width = '';
|
|
22
|
+
status;
|
|
23
|
+
icon = undefined;
|
|
24
|
+
labelTooltip = '';
|
|
25
|
+
labelTooltipProps = null;
|
|
26
|
+
internalValues = [];
|
|
27
|
+
internalErrors = [];
|
|
28
|
+
focused = false;
|
|
29
|
+
hovered = false;
|
|
30
|
+
inputValue = '';
|
|
31
|
+
inputEl;
|
|
32
|
+
formField;
|
|
33
|
+
get value() {
|
|
34
|
+
return this.internalValues;
|
|
35
|
+
}
|
|
36
|
+
valuesChanged(newValues) {
|
|
37
|
+
this.internalValues = [...(newValues ?? [])];
|
|
38
|
+
}
|
|
39
|
+
errorsChanged(newErrors) {
|
|
40
|
+
if (Array.isArray(newErrors)) {
|
|
41
|
+
this.internalErrors = [...newErrors];
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
componentWillLoad() {
|
|
45
|
+
this.internalValues = [...(this.values ?? [])];
|
|
46
|
+
if (Array.isArray(this.errors)) {
|
|
47
|
+
this.internalErrors = [...this.errors];
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
getChipError(index) {
|
|
51
|
+
if (typeof this.errors === 'function') {
|
|
52
|
+
return this.errors(this.internalValues[index] ?? '');
|
|
53
|
+
}
|
|
54
|
+
return this.internalErrors[index] ?? false;
|
|
55
|
+
}
|
|
56
|
+
update;
|
|
57
|
+
focusEvent;
|
|
58
|
+
blurEvent;
|
|
59
|
+
async sdValidate() {
|
|
60
|
+
return this.formField?.sdValidate();
|
|
61
|
+
}
|
|
62
|
+
async sdReset() {
|
|
63
|
+
return this.formField?.sdReset();
|
|
64
|
+
}
|
|
65
|
+
async sdResetValidate() {
|
|
66
|
+
return this.formField?.sdResetValidation();
|
|
67
|
+
}
|
|
68
|
+
async sdFocus() {
|
|
69
|
+
return this.formField?.sdFocus();
|
|
70
|
+
}
|
|
71
|
+
handleChipUpdate = (index, newValue) => {
|
|
72
|
+
if (newValue.trim() === '') {
|
|
73
|
+
this.handleChipRemove(index);
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
const next = [...this.internalValues];
|
|
77
|
+
next[index] = newValue;
|
|
78
|
+
this.internalValues = next;
|
|
79
|
+
this.values = next;
|
|
80
|
+
this.update.emit(next);
|
|
81
|
+
};
|
|
82
|
+
handleChipRemove = (index) => {
|
|
83
|
+
const next = this.internalValues.filter((_, i) => i !== index);
|
|
84
|
+
this.internalValues = next;
|
|
85
|
+
this.values = next;
|
|
86
|
+
if (Array.isArray(this.errors)) {
|
|
87
|
+
const nextErrors = this.internalErrors.filter((_, i) => i !== index);
|
|
88
|
+
this.internalErrors = nextErrors;
|
|
89
|
+
this.errors = nextErrors;
|
|
90
|
+
}
|
|
91
|
+
this.update.emit(next);
|
|
92
|
+
this.inputEl?.focus();
|
|
93
|
+
};
|
|
94
|
+
handleKeyDown = (event) => {
|
|
95
|
+
const input = event.target;
|
|
96
|
+
if (event.key === 'Enter' && !event.isComposing && input.value.trim() !== '') {
|
|
97
|
+
event.preventDefault();
|
|
98
|
+
const next = [...this.internalValues, input.value.trim()];
|
|
99
|
+
this.internalValues = next;
|
|
100
|
+
this.values = next;
|
|
101
|
+
input.value = '';
|
|
102
|
+
this.inputValue = '';
|
|
103
|
+
this.update.emit(next);
|
|
104
|
+
}
|
|
105
|
+
else if (event.key === 'Backspace' && input.value === '' && this.internalValues.length > 0) {
|
|
106
|
+
event.preventDefault();
|
|
107
|
+
const next = this.internalValues.slice(0, -1);
|
|
108
|
+
const nextErrors = this.internalErrors.slice(0, -1);
|
|
109
|
+
this.internalValues = next;
|
|
110
|
+
this.internalErrors = nextErrors;
|
|
111
|
+
this.values = next;
|
|
112
|
+
this.errors = nextErrors;
|
|
113
|
+
this.update.emit(next);
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
handleInput = (event) => {
|
|
117
|
+
this.inputValue = event.target.value;
|
|
118
|
+
};
|
|
119
|
+
handleFocus = () => {
|
|
120
|
+
this.focused = true;
|
|
121
|
+
this.focusEvent.emit();
|
|
122
|
+
};
|
|
123
|
+
handleBlur = () => {
|
|
124
|
+
this.focused = false;
|
|
125
|
+
this.blurEvent.emit();
|
|
126
|
+
};
|
|
127
|
+
handleContainerClick = () => {
|
|
128
|
+
if (!this.disabled) {
|
|
129
|
+
this.inputEl?.focus();
|
|
130
|
+
}
|
|
131
|
+
};
|
|
132
|
+
handleResetInput = () => {
|
|
133
|
+
this.internalValues = [];
|
|
134
|
+
this.internalErrors = [];
|
|
135
|
+
this.values = [];
|
|
136
|
+
if (Array.isArray(this.errors)) {
|
|
137
|
+
this.errors = [];
|
|
138
|
+
}
|
|
139
|
+
this.update.emit([]);
|
|
140
|
+
this.inputEl?.focus();
|
|
141
|
+
};
|
|
142
|
+
render() {
|
|
143
|
+
const sizeTokens = CHIP_INPUT_SIZE_MAP[this.size] ?? CHIP_INPUT_SIZE_MAP.sm;
|
|
144
|
+
const cssVars = {
|
|
145
|
+
[`--sd-system-size-field-${this.size}-height`]: 'auto',
|
|
146
|
+
[`--sd-system-radius-field-${this.size}`]: `${sizeTokens.radius}px`,
|
|
147
|
+
'--sd-chip-input-min-height': `${sizeTokens.minHeight}px`,
|
|
148
|
+
'--sd-chip-input-padding-x': `${sizeTokens.paddingX}px`,
|
|
149
|
+
'--sd-chip-input-padding-y': `${sizeTokens.paddingY}px`,
|
|
150
|
+
'--sd-chip-input-font-size': `${sizeTokens.fontSize}px`,
|
|
151
|
+
'--sd-chip-input-line-height': `${sizeTokens.lineHeight}px`,
|
|
152
|
+
'--sd-chip-input-font-weight': sizeTokens.fontWeight,
|
|
153
|
+
'--sd-chip-input-font-family': sizeTokens.fontFamily,
|
|
154
|
+
'--sd-chip-input-chip-gap': CHIP_INPUT_LAYOUT.chipGap,
|
|
155
|
+
'--sd-chip-input-placeholder-color': CHIP_INPUT_COLORS.text.placeholder,
|
|
156
|
+
'--sd-chip-input-reset-gap': CHIP_INPUT_LAYOUT.chipGap,
|
|
157
|
+
'--sd-chip-input-divider-color': CHIP_INPUT_RESET.dividerColor,
|
|
158
|
+
'--sd-chip-input-field-height': CHIP_LAYOUT.height,
|
|
159
|
+
'--sd-chip-input-field-padding-x': CHIP_LAYOUT.paddingX,
|
|
160
|
+
'--sd-chip-input-field-radius': CHIP_LAYOUT.radius,
|
|
161
|
+
'--sd-chip-input-field-border-width': CHIP_LAYOUT.borderWidth,
|
|
162
|
+
'--sd-chip-input-field-bg': CHIP_COLORS.bg.default,
|
|
163
|
+
'--sd-chip-input-field-border-color': 'transparent',
|
|
164
|
+
'--sd-chip-input-field-content': CHIP_COLORS.content.focus,
|
|
165
|
+
'--sd-chip-input-field-font-size': CHIP_TYPOGRAPHY.focus.fontSize,
|
|
166
|
+
'--sd-chip-input-field-font-weight': CHIP_TYPOGRAPHY.focus.fontWeight,
|
|
167
|
+
'--sd-chip-input-field-line-height': CHIP_TYPOGRAPHY.focus.lineHeight,
|
|
168
|
+
'--sd-chip-input-field-font-family': CHIP_TYPOGRAPHY.focus.fontFamily,
|
|
169
|
+
};
|
|
170
|
+
return (h("sd-field", { key: 'cfff85a1732e23052fb2c736512f48f5653c4e1a', name: this.name, label: this.label, labelWidth: this.labelWidth, hint: this.hint, errorMessage: this.errorMessage, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, status: this.status, size: this.size, width: this.width, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), style: cssVars, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, h("div", { key: '872d73f015e8aa79a9afcf1592372b3ba3bbb9a5', class: "sd-chip-input", onClick: this.handleContainerClick }, this.internalValues.map((value, i) => (h("sd-chip", { key: i, value: value, error: this.getChipError(i), disabled: this.disabled, onSdUpdate: (e) => this.handleChipUpdate(i, e.detail), onSdRemove: () => this.handleChipRemove(i), onSdFocus: () => {
|
|
171
|
+
this.focused = true;
|
|
172
|
+
}, onSdBlur: () => {
|
|
173
|
+
this.focused = false;
|
|
174
|
+
} }))), h("div", { key: '33746a3ce014b5d28329c193d93d8bf1fc4957a6', class: {
|
|
175
|
+
'sd-chip-input__field': true,
|
|
176
|
+
'sd-chip-input__field--filled': this.inputValue !== '',
|
|
177
|
+
'sd-chip-input__field--empty': this.inputValue === '' && this.internalValues.length > 0 && !this.focused,
|
|
178
|
+
}, "data-value": this.inputValue !== '' ? this.inputValue : this.internalValues.length === 0 ? this.placeholder : '' }, h("input", { key: '74b1e76b3123c371fffe344d922ff42801f028e7', ref: el => (this.inputEl = el), class: "sd-chip-input__input", placeholder: this.internalValues.length === 0 ? this.placeholder : '', disabled: this.disabled, size: 1, onInput: this.handleInput, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur })), this.useReset && this.internalValues.length > 0 && (h("div", { key: '3343b3d3fed05856739675d802115f7e5b2ea110', class: "sd-chip-input__reset" }, this.inputValue === '' && h("span", { key: 'c0398e9c476309964c132b3647dd95cd2a65d948', class: "sd-chip-input__divider" }), h("sd-text-link", { key: 'e00af312380d40e8b6a3c9a463cea796146632a1', icon: "reset", iconColor: CHIP_INPUT_RESET.iconColor, label: "\uC785\uB825 \uCD08\uAE30\uD654", underline: true, disabled: this.disabled, style: { '--sd-text-link-color': CHIP_INPUT_RESET.labelColor }, onSdClick: this.handleResetInput }))))));
|
|
179
|
+
}
|
|
180
|
+
static get is() { return "sd-chip-input"; }
|
|
181
|
+
static get originalStyleUrls() {
|
|
182
|
+
return {
|
|
183
|
+
"$": ["sd-chip-input.scss"]
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
static get styleUrls() {
|
|
187
|
+
return {
|
|
188
|
+
"$": ["sd-chip-input.css"]
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
static get properties() {
|
|
192
|
+
return {
|
|
193
|
+
"values": {
|
|
194
|
+
"type": "unknown",
|
|
195
|
+
"mutable": true,
|
|
196
|
+
"complexType": {
|
|
197
|
+
"original": "string[]",
|
|
198
|
+
"resolved": "string[]",
|
|
199
|
+
"references": {}
|
|
200
|
+
},
|
|
201
|
+
"required": false,
|
|
202
|
+
"optional": false,
|
|
203
|
+
"docs": {
|
|
204
|
+
"tags": [],
|
|
205
|
+
"text": ""
|
|
206
|
+
},
|
|
207
|
+
"getter": false,
|
|
208
|
+
"setter": false,
|
|
209
|
+
"defaultValue": "[]"
|
|
210
|
+
},
|
|
211
|
+
"errors": {
|
|
212
|
+
"type": "unknown",
|
|
213
|
+
"mutable": true,
|
|
214
|
+
"complexType": {
|
|
215
|
+
"original": "boolean[] | ((value: string) => boolean)",
|
|
216
|
+
"resolved": "((value: string) => boolean) | boolean[]",
|
|
217
|
+
"references": {}
|
|
218
|
+
},
|
|
219
|
+
"required": false,
|
|
220
|
+
"optional": false,
|
|
221
|
+
"docs": {
|
|
222
|
+
"tags": [],
|
|
223
|
+
"text": ""
|
|
224
|
+
},
|
|
225
|
+
"getter": false,
|
|
226
|
+
"setter": false,
|
|
227
|
+
"defaultValue": "[]"
|
|
228
|
+
},
|
|
229
|
+
"size": {
|
|
230
|
+
"type": "string",
|
|
231
|
+
"mutable": false,
|
|
232
|
+
"complexType": {
|
|
233
|
+
"original": "ChipInputSize",
|
|
234
|
+
"resolved": "\"md\" | \"sm\"",
|
|
235
|
+
"references": {
|
|
236
|
+
"ChipInputSize": {
|
|
237
|
+
"location": "import",
|
|
238
|
+
"path": "./sd-chip-input.config",
|
|
239
|
+
"id": "src/components/sd-chip-input/sd-chip-input.config.ts::ChipInputSize",
|
|
240
|
+
"referenceLocation": "ChipInputSize"
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
"required": false,
|
|
245
|
+
"optional": false,
|
|
246
|
+
"docs": {
|
|
247
|
+
"tags": [],
|
|
248
|
+
"text": ""
|
|
249
|
+
},
|
|
250
|
+
"getter": false,
|
|
251
|
+
"setter": false,
|
|
252
|
+
"reflect": false,
|
|
253
|
+
"attribute": "size",
|
|
254
|
+
"defaultValue": "'sm'"
|
|
255
|
+
},
|
|
256
|
+
"disabled": {
|
|
257
|
+
"type": "boolean",
|
|
258
|
+
"mutable": false,
|
|
259
|
+
"complexType": {
|
|
260
|
+
"original": "boolean",
|
|
261
|
+
"resolved": "boolean",
|
|
262
|
+
"references": {}
|
|
263
|
+
},
|
|
264
|
+
"required": false,
|
|
265
|
+
"optional": false,
|
|
266
|
+
"docs": {
|
|
267
|
+
"tags": [],
|
|
268
|
+
"text": ""
|
|
269
|
+
},
|
|
270
|
+
"getter": false,
|
|
271
|
+
"setter": false,
|
|
272
|
+
"reflect": false,
|
|
273
|
+
"attribute": "disabled",
|
|
274
|
+
"defaultValue": "false"
|
|
275
|
+
},
|
|
276
|
+
"placeholder": {
|
|
277
|
+
"type": "string",
|
|
278
|
+
"mutable": false,
|
|
279
|
+
"complexType": {
|
|
280
|
+
"original": "string",
|
|
281
|
+
"resolved": "string",
|
|
282
|
+
"references": {}
|
|
283
|
+
},
|
|
284
|
+
"required": false,
|
|
285
|
+
"optional": false,
|
|
286
|
+
"docs": {
|
|
287
|
+
"tags": [],
|
|
288
|
+
"text": ""
|
|
289
|
+
},
|
|
290
|
+
"getter": false,
|
|
291
|
+
"setter": false,
|
|
292
|
+
"reflect": false,
|
|
293
|
+
"attribute": "placeholder",
|
|
294
|
+
"defaultValue": "'\uC785\uB825\uD574 \uC8FC\uC138\uC694.'"
|
|
295
|
+
},
|
|
296
|
+
"name": {
|
|
297
|
+
"type": "string",
|
|
298
|
+
"mutable": false,
|
|
299
|
+
"complexType": {
|
|
300
|
+
"original": "string",
|
|
301
|
+
"resolved": "string",
|
|
302
|
+
"references": {}
|
|
303
|
+
},
|
|
304
|
+
"required": false,
|
|
305
|
+
"optional": false,
|
|
306
|
+
"docs": {
|
|
307
|
+
"tags": [],
|
|
308
|
+
"text": ""
|
|
309
|
+
},
|
|
310
|
+
"getter": false,
|
|
311
|
+
"setter": false,
|
|
312
|
+
"reflect": false,
|
|
313
|
+
"attribute": "name",
|
|
314
|
+
"defaultValue": "nanoid()"
|
|
315
|
+
},
|
|
316
|
+
"rules": {
|
|
317
|
+
"type": "unknown",
|
|
318
|
+
"mutable": false,
|
|
319
|
+
"complexType": {
|
|
320
|
+
"original": "Rule[]",
|
|
321
|
+
"resolved": "Rule[] | undefined",
|
|
322
|
+
"references": {
|
|
323
|
+
"Rule": {
|
|
324
|
+
"location": "import",
|
|
325
|
+
"path": "../../types/form",
|
|
326
|
+
"id": "src/types/form.d.ts::Rule",
|
|
327
|
+
"referenceLocation": "Rule"
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
"required": false,
|
|
332
|
+
"optional": true,
|
|
333
|
+
"docs": {
|
|
334
|
+
"tags": [],
|
|
335
|
+
"text": ""
|
|
336
|
+
},
|
|
337
|
+
"getter": false,
|
|
338
|
+
"setter": false,
|
|
339
|
+
"defaultValue": "[]"
|
|
340
|
+
},
|
|
341
|
+
"error": {
|
|
342
|
+
"type": "boolean",
|
|
343
|
+
"mutable": true,
|
|
344
|
+
"complexType": {
|
|
345
|
+
"original": "boolean",
|
|
346
|
+
"resolved": "boolean",
|
|
347
|
+
"references": {}
|
|
348
|
+
},
|
|
349
|
+
"required": false,
|
|
350
|
+
"optional": false,
|
|
351
|
+
"docs": {
|
|
352
|
+
"tags": [],
|
|
353
|
+
"text": ""
|
|
354
|
+
},
|
|
355
|
+
"getter": false,
|
|
356
|
+
"setter": false,
|
|
357
|
+
"reflect": false,
|
|
358
|
+
"attribute": "error",
|
|
359
|
+
"defaultValue": "false"
|
|
360
|
+
},
|
|
361
|
+
"useReset": {
|
|
362
|
+
"type": "boolean",
|
|
363
|
+
"mutable": false,
|
|
364
|
+
"complexType": {
|
|
365
|
+
"original": "boolean",
|
|
366
|
+
"resolved": "boolean",
|
|
367
|
+
"references": {}
|
|
368
|
+
},
|
|
369
|
+
"required": false,
|
|
370
|
+
"optional": false,
|
|
371
|
+
"docs": {
|
|
372
|
+
"tags": [],
|
|
373
|
+
"text": ""
|
|
374
|
+
},
|
|
375
|
+
"getter": false,
|
|
376
|
+
"setter": false,
|
|
377
|
+
"reflect": false,
|
|
378
|
+
"attribute": "use-reset",
|
|
379
|
+
"defaultValue": "false"
|
|
380
|
+
},
|
|
381
|
+
"label": {
|
|
382
|
+
"type": "string",
|
|
383
|
+
"mutable": false,
|
|
384
|
+
"complexType": {
|
|
385
|
+
"original": "string",
|
|
386
|
+
"resolved": "string | undefined",
|
|
387
|
+
"references": {}
|
|
388
|
+
},
|
|
389
|
+
"required": false,
|
|
390
|
+
"optional": true,
|
|
391
|
+
"docs": {
|
|
392
|
+
"tags": [],
|
|
393
|
+
"text": ""
|
|
394
|
+
},
|
|
395
|
+
"getter": false,
|
|
396
|
+
"setter": false,
|
|
397
|
+
"reflect": false,
|
|
398
|
+
"attribute": "label",
|
|
399
|
+
"defaultValue": "''"
|
|
400
|
+
},
|
|
401
|
+
"labelWidth": {
|
|
402
|
+
"type": "any",
|
|
403
|
+
"mutable": false,
|
|
404
|
+
"complexType": {
|
|
405
|
+
"original": "string | number",
|
|
406
|
+
"resolved": "number | string",
|
|
407
|
+
"references": {}
|
|
408
|
+
},
|
|
409
|
+
"required": false,
|
|
410
|
+
"optional": false,
|
|
411
|
+
"docs": {
|
|
412
|
+
"tags": [],
|
|
413
|
+
"text": ""
|
|
414
|
+
},
|
|
415
|
+
"getter": false,
|
|
416
|
+
"setter": false,
|
|
417
|
+
"reflect": false,
|
|
418
|
+
"attribute": "label-width",
|
|
419
|
+
"defaultValue": "''"
|
|
420
|
+
},
|
|
421
|
+
"hint": {
|
|
422
|
+
"type": "string",
|
|
423
|
+
"mutable": false,
|
|
424
|
+
"complexType": {
|
|
425
|
+
"original": "string",
|
|
426
|
+
"resolved": "string",
|
|
427
|
+
"references": {}
|
|
428
|
+
},
|
|
429
|
+
"required": false,
|
|
430
|
+
"optional": false,
|
|
431
|
+
"docs": {
|
|
432
|
+
"tags": [],
|
|
433
|
+
"text": ""
|
|
434
|
+
},
|
|
435
|
+
"getter": false,
|
|
436
|
+
"setter": false,
|
|
437
|
+
"reflect": false,
|
|
438
|
+
"attribute": "hint",
|
|
439
|
+
"defaultValue": "''"
|
|
440
|
+
},
|
|
441
|
+
"errorMessage": {
|
|
442
|
+
"type": "string",
|
|
443
|
+
"mutable": false,
|
|
444
|
+
"complexType": {
|
|
445
|
+
"original": "string",
|
|
446
|
+
"resolved": "string",
|
|
447
|
+
"references": {}
|
|
448
|
+
},
|
|
449
|
+
"required": false,
|
|
450
|
+
"optional": false,
|
|
451
|
+
"docs": {
|
|
452
|
+
"tags": [],
|
|
453
|
+
"text": ""
|
|
454
|
+
},
|
|
455
|
+
"getter": false,
|
|
456
|
+
"setter": false,
|
|
457
|
+
"reflect": false,
|
|
458
|
+
"attribute": "error-message",
|
|
459
|
+
"defaultValue": "''"
|
|
460
|
+
},
|
|
461
|
+
"width": {
|
|
462
|
+
"type": "any",
|
|
463
|
+
"mutable": false,
|
|
464
|
+
"complexType": {
|
|
465
|
+
"original": "string | number",
|
|
466
|
+
"resolved": "number | string",
|
|
467
|
+
"references": {}
|
|
468
|
+
},
|
|
469
|
+
"required": false,
|
|
470
|
+
"optional": false,
|
|
471
|
+
"docs": {
|
|
472
|
+
"tags": [],
|
|
473
|
+
"text": ""
|
|
474
|
+
},
|
|
475
|
+
"getter": false,
|
|
476
|
+
"setter": false,
|
|
477
|
+
"reflect": false,
|
|
478
|
+
"attribute": "width",
|
|
479
|
+
"defaultValue": "''"
|
|
480
|
+
},
|
|
481
|
+
"status": {
|
|
482
|
+
"type": "string",
|
|
483
|
+
"mutable": false,
|
|
484
|
+
"complexType": {
|
|
485
|
+
"original": "'default' | 'pass' | 'error'",
|
|
486
|
+
"resolved": "\"default\" | \"error\" | \"pass\" | undefined",
|
|
487
|
+
"references": {}
|
|
488
|
+
},
|
|
489
|
+
"required": false,
|
|
490
|
+
"optional": true,
|
|
491
|
+
"docs": {
|
|
492
|
+
"tags": [],
|
|
493
|
+
"text": ""
|
|
494
|
+
},
|
|
495
|
+
"getter": false,
|
|
496
|
+
"setter": false,
|
|
497
|
+
"reflect": false,
|
|
498
|
+
"attribute": "status"
|
|
499
|
+
},
|
|
500
|
+
"icon": {
|
|
501
|
+
"type": "unknown",
|
|
502
|
+
"mutable": false,
|
|
503
|
+
"complexType": {
|
|
504
|
+
"original": "IconProps",
|
|
505
|
+
"resolved": "IconProps | undefined",
|
|
506
|
+
"references": {
|
|
507
|
+
"IconProps": {
|
|
508
|
+
"location": "global",
|
|
509
|
+
"id": "global::IconProps"
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
"required": false,
|
|
514
|
+
"optional": true,
|
|
515
|
+
"docs": {
|
|
516
|
+
"tags": [],
|
|
517
|
+
"text": ""
|
|
518
|
+
},
|
|
519
|
+
"getter": false,
|
|
520
|
+
"setter": false,
|
|
521
|
+
"defaultValue": "undefined"
|
|
522
|
+
},
|
|
523
|
+
"labelTooltip": {
|
|
524
|
+
"type": "string",
|
|
525
|
+
"mutable": false,
|
|
526
|
+
"complexType": {
|
|
527
|
+
"original": "string",
|
|
528
|
+
"resolved": "string",
|
|
529
|
+
"references": {}
|
|
530
|
+
},
|
|
531
|
+
"required": false,
|
|
532
|
+
"optional": false,
|
|
533
|
+
"docs": {
|
|
534
|
+
"tags": [],
|
|
535
|
+
"text": ""
|
|
536
|
+
},
|
|
537
|
+
"getter": false,
|
|
538
|
+
"setter": false,
|
|
539
|
+
"reflect": false,
|
|
540
|
+
"attribute": "label-tooltip",
|
|
541
|
+
"defaultValue": "''"
|
|
542
|
+
},
|
|
543
|
+
"labelTooltipProps": {
|
|
544
|
+
"type": "unknown",
|
|
545
|
+
"mutable": false,
|
|
546
|
+
"complexType": {
|
|
547
|
+
"original": "SdTooltipProps | null",
|
|
548
|
+
"resolved": "SdTooltip | null",
|
|
549
|
+
"references": {
|
|
550
|
+
"SdTooltipProps": {
|
|
551
|
+
"location": "import",
|
|
552
|
+
"path": "../sd-tooltip/sd-tooltip.config",
|
|
553
|
+
"id": "src/components/sd-tooltip/sd-tooltip.config.ts::SdTooltipProps",
|
|
554
|
+
"referenceLocation": "SdTooltipProps"
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
},
|
|
558
|
+
"required": false,
|
|
559
|
+
"optional": false,
|
|
560
|
+
"docs": {
|
|
561
|
+
"tags": [],
|
|
562
|
+
"text": ""
|
|
563
|
+
},
|
|
564
|
+
"getter": false,
|
|
565
|
+
"setter": false,
|
|
566
|
+
"defaultValue": "null"
|
|
567
|
+
}
|
|
568
|
+
};
|
|
569
|
+
}
|
|
570
|
+
static get states() {
|
|
571
|
+
return {
|
|
572
|
+
"internalValues": {},
|
|
573
|
+
"internalErrors": {},
|
|
574
|
+
"focused": {},
|
|
575
|
+
"hovered": {},
|
|
576
|
+
"inputValue": {}
|
|
577
|
+
};
|
|
578
|
+
}
|
|
579
|
+
static get events() {
|
|
580
|
+
return [{
|
|
581
|
+
"method": "update",
|
|
582
|
+
"name": "sdUpdate",
|
|
583
|
+
"bubbles": true,
|
|
584
|
+
"cancelable": true,
|
|
585
|
+
"composed": true,
|
|
586
|
+
"docs": {
|
|
587
|
+
"tags": [],
|
|
588
|
+
"text": ""
|
|
589
|
+
},
|
|
590
|
+
"complexType": {
|
|
591
|
+
"original": "string[]",
|
|
592
|
+
"resolved": "string[]",
|
|
593
|
+
"references": {}
|
|
594
|
+
}
|
|
595
|
+
}, {
|
|
596
|
+
"method": "focusEvent",
|
|
597
|
+
"name": "sdFocus",
|
|
598
|
+
"bubbles": true,
|
|
599
|
+
"cancelable": true,
|
|
600
|
+
"composed": true,
|
|
601
|
+
"docs": {
|
|
602
|
+
"tags": [],
|
|
603
|
+
"text": ""
|
|
604
|
+
},
|
|
605
|
+
"complexType": {
|
|
606
|
+
"original": "void",
|
|
607
|
+
"resolved": "void",
|
|
608
|
+
"references": {}
|
|
609
|
+
}
|
|
610
|
+
}, {
|
|
611
|
+
"method": "blurEvent",
|
|
612
|
+
"name": "sdBlur",
|
|
613
|
+
"bubbles": true,
|
|
614
|
+
"cancelable": true,
|
|
615
|
+
"composed": true,
|
|
616
|
+
"docs": {
|
|
617
|
+
"tags": [],
|
|
618
|
+
"text": ""
|
|
619
|
+
},
|
|
620
|
+
"complexType": {
|
|
621
|
+
"original": "void",
|
|
622
|
+
"resolved": "void",
|
|
623
|
+
"references": {}
|
|
624
|
+
}
|
|
625
|
+
}];
|
|
626
|
+
}
|
|
627
|
+
static get methods() {
|
|
628
|
+
return {
|
|
629
|
+
"sdValidate": {
|
|
630
|
+
"complexType": {
|
|
631
|
+
"signature": "() => Promise<boolean | undefined>",
|
|
632
|
+
"parameters": [],
|
|
633
|
+
"references": {
|
|
634
|
+
"Promise": {
|
|
635
|
+
"location": "global",
|
|
636
|
+
"id": "global::Promise"
|
|
637
|
+
}
|
|
638
|
+
},
|
|
639
|
+
"return": "Promise<boolean | undefined>"
|
|
640
|
+
},
|
|
641
|
+
"docs": {
|
|
642
|
+
"text": "",
|
|
643
|
+
"tags": []
|
|
644
|
+
}
|
|
645
|
+
},
|
|
646
|
+
"sdReset": {
|
|
647
|
+
"complexType": {
|
|
648
|
+
"signature": "() => Promise<void | undefined>",
|
|
649
|
+
"parameters": [],
|
|
650
|
+
"references": {
|
|
651
|
+
"Promise": {
|
|
652
|
+
"location": "global",
|
|
653
|
+
"id": "global::Promise"
|
|
654
|
+
}
|
|
655
|
+
},
|
|
656
|
+
"return": "Promise<void | undefined>"
|
|
657
|
+
},
|
|
658
|
+
"docs": {
|
|
659
|
+
"text": "",
|
|
660
|
+
"tags": []
|
|
661
|
+
}
|
|
662
|
+
},
|
|
663
|
+
"sdResetValidate": {
|
|
664
|
+
"complexType": {
|
|
665
|
+
"signature": "() => Promise<void | undefined>",
|
|
666
|
+
"parameters": [],
|
|
667
|
+
"references": {
|
|
668
|
+
"Promise": {
|
|
669
|
+
"location": "global",
|
|
670
|
+
"id": "global::Promise"
|
|
671
|
+
}
|
|
672
|
+
},
|
|
673
|
+
"return": "Promise<void | undefined>"
|
|
674
|
+
},
|
|
675
|
+
"docs": {
|
|
676
|
+
"text": "",
|
|
677
|
+
"tags": []
|
|
678
|
+
}
|
|
679
|
+
},
|
|
680
|
+
"sdFocus": {
|
|
681
|
+
"complexType": {
|
|
682
|
+
"signature": "() => Promise<void | undefined>",
|
|
683
|
+
"parameters": [],
|
|
684
|
+
"references": {
|
|
685
|
+
"Promise": {
|
|
686
|
+
"location": "global",
|
|
687
|
+
"id": "global::Promise"
|
|
688
|
+
}
|
|
689
|
+
},
|
|
690
|
+
"return": "Promise<void | undefined>"
|
|
691
|
+
},
|
|
692
|
+
"docs": {
|
|
693
|
+
"text": "",
|
|
694
|
+
"tags": []
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
};
|
|
698
|
+
}
|
|
699
|
+
static get elementRef() { return "host"; }
|
|
700
|
+
static get watchers() {
|
|
701
|
+
return [{
|
|
702
|
+
"propName": "values",
|
|
703
|
+
"methodName": "valuesChanged"
|
|
704
|
+
}, {
|
|
705
|
+
"propName": "errors",
|
|
706
|
+
"methodName": "errorsChanged"
|
|
707
|
+
}];
|
|
708
|
+
}
|
|
709
|
+
}
|