@limetech/lime-elements 40.18.2 → 40.19.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/CHANGELOG.md +25 -0
- package/dist/cjs/controlled-element-Ajn5eA-q.js +26 -0
- package/dist/cjs/{index-zZvs6xK-.js → index-DIiA99Er.js} +271 -71
- package/dist/cjs/lime-elements.cjs.js +1 -1
- package/dist/cjs/limel-3d-hover-effect-glow.cjs.entry.js +1 -1
- package/dist/cjs/limel-action-bar_3.cjs.entry.js +4 -4
- package/dist/cjs/limel-ai-avatar.cjs.entry.js +2 -2
- package/dist/cjs/limel-badge.cjs.entry.js +2 -2
- package/dist/cjs/limel-banner.cjs.entry.js +1 -1
- package/dist/cjs/limel-breadcrumbs_6.cjs.entry.js +131 -39
- package/dist/cjs/limel-button-group.cjs.entry.js +1 -1
- package/dist/cjs/limel-button.cjs.entry.js +2 -2
- package/dist/cjs/limel-callout.cjs.entry.js +2 -2
- package/dist/cjs/limel-card.cjs.entry.js +1 -1
- package/dist/cjs/limel-chart.cjs.entry.js +1 -1
- package/dist/cjs/limel-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/limel-chip-set.cjs.entry.js +23 -4
- package/dist/cjs/limel-chip_2.cjs.entry.js +2 -2
- package/dist/cjs/limel-circular-progress.cjs.entry.js +1 -1
- package/dist/cjs/limel-code-diff.cjs.entry.js +2 -2
- package/dist/cjs/limel-code-editor.cjs.entry.js +2 -2
- package/dist/cjs/limel-collapsible-section.cjs.entry.js +2 -2
- package/dist/cjs/limel-color-picker-palette.cjs.entry.js +2 -2
- package/dist/cjs/limel-color-picker.cjs.entry.js +1 -1
- package/dist/cjs/limel-dialog.cjs.entry.js +2 -2
- package/dist/cjs/limel-dock.cjs.entry.js +3 -3
- package/dist/cjs/limel-drag-handle_2.cjs.entry.js +4 -4
- package/dist/cjs/limel-email-viewer.cjs.entry.js +2 -2
- package/dist/cjs/limel-file-dropzone_2.cjs.entry.js +2 -2
- package/dist/cjs/limel-file-viewer.cjs.entry.js +2 -2
- package/dist/cjs/limel-file.cjs.entry.js +2 -2
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +2 -2
- package/dist/cjs/limel-flex-container.cjs.entry.js +1 -1
- package/dist/cjs/limel-form-header.cjs.entry.js +1 -1
- package/dist/cjs/limel-form.cjs.entry.js +1 -1
- package/dist/cjs/limel-grid.cjs.entry.js +1 -1
- package/dist/cjs/limel-header.cjs.entry.js +1 -1
- package/dist/cjs/limel-help_2.cjs.entry.js +3 -3
- package/dist/cjs/limel-helper-line_3.cjs.entry.js +15 -24
- package/dist/cjs/limel-hotkey_4.cjs.entry.js +5 -5
- package/dist/cjs/limel-icon-button.cjs.entry.js +1 -1
- package/dist/cjs/limel-icon.cjs.entry.js +1 -1
- package/dist/cjs/limel-info-tile.cjs.entry.js +2 -2
- package/dist/cjs/limel-list-item.cjs.entry.js +3 -3
- package/dist/cjs/limel-markdown.cjs.entry.js +4 -4
- package/dist/cjs/limel-masonry-layout.cjs.entry.js +1 -1
- package/dist/cjs/limel-menu-item-meta.cjs.entry.js +1 -1
- package/dist/cjs/limel-pagination-jump.cjs.entry.js +1 -1
- package/dist/cjs/limel-pagination.cjs.entry.js +2 -2
- package/dist/cjs/limel-picker.cjs.entry.js +58 -36
- package/dist/cjs/limel-popover_2.cjs.entry.js +4 -11
- package/dist/cjs/limel-profile-picture.cjs.entry.js +1 -1
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +4 -4
- package/dist/cjs/limel-radio-button-group.cjs.entry.js +1 -1
- package/dist/cjs/limel-radio-button.cjs.entry.js +2 -2
- package/dist/cjs/limel-resize-handle.cjs.entry.js +2 -2
- package/dist/cjs/limel-select.cjs.entry.js +10 -169
- package/dist/cjs/limel-shortcut.cjs.entry.js +1 -1
- package/dist/cjs/limel-side-panel.cjs.entry.js +2 -2
- package/dist/cjs/limel-slider.cjs.entry.js +4 -4
- package/dist/cjs/limel-snackbar.cjs.entry.js +3 -3
- package/dist/cjs/limel-split-button.cjs.entry.js +2 -2
- package/dist/cjs/limel-switch.cjs.entry.js +1 -1
- package/dist/cjs/limel-tab-bar.cjs.entry.js +1 -1
- package/dist/cjs/limel-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/limel-table.cjs.entry.js +3 -3
- package/dist/cjs/limel-text-editor-link-menu.cjs.entry.js +4 -4
- package/dist/cjs/limel-text-editor.cjs.entry.js +1 -1
- package/dist/cjs/live-message-BNl3Ihcz.js +65 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{markdown-exporter-VtX_2D1d.js → markdown-exporter-BWS2EBxq.js} +2 -2
- package/dist/cjs/{markdown-parser-BYtTHL4W.js → markdown-parser-toAp9-Eq.js} +1 -1
- package/dist/cjs/{translations-CLSqfR3x.js → translations-CqJEWcfw.js} +8 -0
- package/dist/cjs/typeahead-CnyIjog_.js +194 -0
- package/dist/collection/components/3d-hover-effect-glow/3d-hover-effect-glow.js +1 -1
- package/dist/collection/components/action-bar/action-bar-item/action-bar-overflow-menu.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +2 -2
- package/dist/collection/components/ai-avatar/ai-avatar.js +1 -1
- package/dist/collection/components/badge/badge.js +2 -2
- package/dist/collection/components/banner/banner.js +1 -1
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +1 -1
- package/dist/collection/components/button/button.js +2 -2
- package/dist/collection/components/button-group/button-group.js +1 -1
- package/dist/collection/components/callout/callout.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip-set/chip-set.js +66 -3
- package/dist/collection/components/circular-progress/circular-progress.js +1 -1
- package/dist/collection/components/code-diff/code-diff.js +1 -1
- package/dist/collection/components/code-editor/code-editor.js +1 -1
- package/dist/collection/components/collapsible-section/collapsible-section.js +1 -1
- package/dist/collection/components/color-picker/color-picker-palette.js +2 -2
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js +1 -1
- package/dist/collection/components/dialog/dialog.js +2 -2
- package/dist/collection/components/dock/dock.js +2 -2
- package/dist/collection/components/drag-handle/drag-handle.js +1 -1
- package/dist/collection/components/email-viewer/email-viewer.js +1 -1
- package/dist/collection/components/file/file.js +1 -1
- package/dist/collection/components/file-dropzone/file-dropzone.js +1 -1
- package/dist/collection/components/file-input/file-input.js +1 -1
- package/dist/collection/components/flex-container/flex-container.js +1 -1
- package/dist/collection/components/form/form.js +1 -1
- package/dist/collection/components/form-header/form-header.js +1 -1
- package/dist/collection/components/grid/grid.js +1 -1
- package/dist/collection/components/header/header.js +1 -1
- package/dist/collection/components/help/help-content.js +1 -1
- package/dist/collection/components/help/help.js +2 -2
- package/dist/collection/components/helper-line/helper-line.js +2 -2
- package/dist/collection/components/hotkey/hotkey.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon-button/icon-button.js +1 -1
- package/dist/collection/components/info-tile/info-tile.js +2 -2
- package/dist/collection/components/input-field/input-field.css +13 -0
- package/dist/collection/components/input-field/input-field.js +152 -32
- package/dist/collection/components/list/list-renderer.js +1 -1
- package/dist/collection/components/list/list.js +31 -20
- package/dist/collection/components/list-item/list-item.js +2 -2
- package/dist/collection/components/list-item/menu-item-meta/menu-item-meta.js +1 -1
- package/dist/collection/components/markdown/markdown.js +1 -1
- package/dist/collection/components/masonry-layout/masonry-layout.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-list/menu-list.js +1 -1
- package/dist/collection/components/menu-surface/menu-surface.js +1 -1
- package/dist/collection/components/notched-outline/notched-outline.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/picker/picker.css +112 -0
- package/dist/collection/components/picker/picker.js +56 -32
- package/dist/collection/components/popover/popover.js +3 -10
- package/dist/collection/components/popover-surface/popover-surface.js +1 -1
- package/dist/collection/components/portal/portal.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button.js +2 -2
- package/dist/collection/components/resize-handle/resize-handle.js +1 -1
- package/dist/collection/components/scroller/scroller.js +2 -2
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shortcut/shortcut.js +1 -1
- package/dist/collection/components/side-panel/side-panel.js +1 -1
- package/dist/collection/components/slider/slider.js +3 -3
- package/dist/collection/components/snackbar/snackbar.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-button/split-button.js +2 -2
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab-bar/tab-bar.js +1 -1
- package/dist/collection/components/tab-panel/tab-panel.js +1 -1
- package/dist/collection/components/table/table.js +2 -2
- package/dist/collection/components/text-editor/link-menu/editor-link-menu.js +3 -3
- package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.js +1 -1
- package/dist/collection/components/text-editor/text-editor.js +1 -1
- package/dist/collection/components/tooltip/tooltip-content.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/translations/da.js +1 -0
- package/dist/collection/translations/de.js +1 -0
- package/dist/collection/translations/en.js +1 -0
- package/dist/collection/translations/fi.js +1 -0
- package/dist/collection/translations/fr.js +1 -0
- package/dist/collection/translations/nl.js +1 -0
- package/dist/collection/translations/no.js +1 -0
- package/dist/collection/translations/sv.js +1 -0
- package/dist/collection/util/controlled-element.js +22 -0
- package/dist/collection/util/live-message.js +30 -0
- package/dist/collection/util/typeahead.js +26 -0
- package/dist/esm/controlled-element-ByOXsysp.js +24 -0
- package/dist/esm/{index-BN64nlbO.js → index-CofmbCdQ.js} +271 -71
- package/dist/esm/lime-elements.js +1 -1
- package/dist/esm/limel-3d-hover-effect-glow.entry.js +1 -1
- package/dist/esm/limel-action-bar_3.entry.js +4 -4
- package/dist/esm/limel-ai-avatar.entry.js +2 -2
- package/dist/esm/limel-badge.entry.js +2 -2
- package/dist/esm/limel-banner.entry.js +1 -1
- package/dist/esm/limel-breadcrumbs_6.entry.js +131 -39
- package/dist/esm/limel-button-group.entry.js +1 -1
- package/dist/esm/limel-button.entry.js +2 -2
- package/dist/esm/limel-callout.entry.js +2 -2
- package/dist/esm/limel-card.entry.js +1 -1
- package/dist/esm/limel-chart.entry.js +1 -1
- package/dist/esm/limel-checkbox.entry.js +1 -1
- package/dist/esm/limel-chip-set.entry.js +23 -4
- package/dist/esm/limel-chip_2.entry.js +2 -2
- package/dist/esm/limel-circular-progress.entry.js +1 -1
- package/dist/esm/limel-code-diff.entry.js +2 -2
- package/dist/esm/limel-code-editor.entry.js +2 -2
- package/dist/esm/limel-collapsible-section.entry.js +2 -2
- package/dist/esm/limel-color-picker-palette.entry.js +2 -2
- package/dist/esm/limel-color-picker.entry.js +1 -1
- package/dist/esm/limel-dialog.entry.js +2 -2
- package/dist/esm/limel-dock.entry.js +3 -3
- package/dist/esm/limel-drag-handle_2.entry.js +4 -4
- package/dist/esm/limel-email-viewer.entry.js +2 -2
- package/dist/esm/limel-file-dropzone_2.entry.js +2 -2
- package/dist/esm/limel-file-viewer.entry.js +2 -2
- package/dist/esm/limel-file.entry.js +2 -2
- package/dist/esm/limel-flatpickr-adapter.entry.js +2 -2
- package/dist/esm/limel-flex-container.entry.js +1 -1
- package/dist/esm/limel-form-header.entry.js +1 -1
- package/dist/esm/limel-form.entry.js +1 -1
- package/dist/esm/limel-grid.entry.js +1 -1
- package/dist/esm/limel-header.entry.js +1 -1
- package/dist/esm/limel-help_2.entry.js +3 -3
- package/dist/esm/limel-helper-line_3.entry.js +15 -24
- package/dist/esm/limel-hotkey_4.entry.js +5 -5
- package/dist/esm/limel-icon-button.entry.js +1 -1
- package/dist/esm/limel-icon.entry.js +1 -1
- package/dist/esm/limel-info-tile.entry.js +2 -2
- package/dist/esm/limel-list-item.entry.js +3 -3
- package/dist/esm/limel-markdown.entry.js +4 -4
- package/dist/esm/limel-masonry-layout.entry.js +1 -1
- package/dist/esm/limel-menu-item-meta.entry.js +1 -1
- package/dist/esm/limel-pagination-jump.entry.js +1 -1
- package/dist/esm/limel-pagination.entry.js +2 -2
- package/dist/esm/limel-picker.entry.js +57 -35
- package/dist/esm/limel-popover_2.entry.js +4 -11
- package/dist/esm/limel-profile-picture.entry.js +1 -1
- package/dist/esm/limel-prosemirror-adapter.entry.js +4 -4
- package/dist/esm/limel-radio-button-group.entry.js +1 -1
- package/dist/esm/limel-radio-button.entry.js +2 -2
- package/dist/esm/limel-resize-handle.entry.js +2 -2
- package/dist/esm/limel-select.entry.js +2 -161
- package/dist/esm/limel-shortcut.entry.js +1 -1
- package/dist/esm/limel-side-panel.entry.js +2 -2
- package/dist/esm/limel-slider.entry.js +4 -4
- package/dist/esm/limel-snackbar.entry.js +3 -3
- package/dist/esm/limel-split-button.entry.js +2 -2
- package/dist/esm/limel-switch.entry.js +1 -1
- package/dist/esm/limel-tab-bar.entry.js +1 -1
- package/dist/esm/limel-tab-panel.entry.js +1 -1
- package/dist/esm/limel-table.entry.js +3 -3
- package/dist/esm/limel-text-editor-link-menu.entry.js +4 -4
- package/dist/esm/limel-text-editor.entry.js +1 -1
- package/dist/esm/live-message-BQAYeNiX.js +62 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{markdown-exporter-tb8ft8Gq.js → markdown-exporter-B2vFxSLw.js} +2 -2
- package/dist/esm/{markdown-parser-DFP65EFu.js → markdown-parser-Cw8iW5R9.js} +1 -1
- package/dist/esm/{translations-Drl5LNAD.js → translations-kct5Kybu.js} +8 -0
- package/dist/esm/typeahead-DOlnT3wh.js +188 -0
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-55f7c9f5.entry.js → p-02aac2c0.entry.js} +1 -1
- package/dist/lime-elements/{p-a608ebe3.entry.js → p-0319f07f.entry.js} +1 -1
- package/dist/lime-elements/{p-dd383c12.entry.js → p-0910aefc.entry.js} +1 -1
- package/dist/lime-elements/{p-a7a84633.entry.js → p-1a7d1d2b.entry.js} +1 -1
- package/dist/lime-elements/{p-f8566c5b.entry.js → p-1d9bc526.entry.js} +1 -1
- package/dist/lime-elements/{p-e0ab0046.entry.js → p-1e0ced6a.entry.js} +1 -1
- package/dist/lime-elements/{p-5f2a34ed.entry.js → p-28957b5c.entry.js} +1 -1
- package/dist/lime-elements/{p-fdc7da58.entry.js → p-38ab193f.entry.js} +1 -1
- package/dist/lime-elements/{p-3ae5fb67.entry.js → p-39d1e157.entry.js} +1 -1
- package/dist/lime-elements/{p-d0908a85.entry.js → p-3ac39bd5.entry.js} +2 -2
- package/dist/lime-elements/p-3ca188f6.entry.js +159 -0
- package/dist/lime-elements/{p-7f1a1ed5.entry.js → p-3f7fa772.entry.js} +1 -1
- package/dist/lime-elements/{p-b80433be.entry.js → p-40940a6c.entry.js} +1 -1
- package/dist/lime-elements/{p-7235d147.entry.js → p-438fe49b.entry.js} +1 -1
- package/dist/lime-elements/p-45572e9d.entry.js +1 -0
- package/dist/lime-elements/{p-0c314c3c.entry.js → p-47fe76a8.entry.js} +1 -1
- package/dist/lime-elements/p-4834e7c1.entry.js +1 -0
- package/dist/lime-elements/{p-22c44279.entry.js → p-48a412ed.entry.js} +1 -1
- package/dist/lime-elements/{p-eb5a18ff.entry.js → p-496b2437.entry.js} +1 -1
- package/dist/lime-elements/{p-5d9a2877.entry.js → p-4c080cd9.entry.js} +1 -1
- package/dist/lime-elements/{p-be0a8125.entry.js → p-54537c85.entry.js} +1 -1
- package/dist/lime-elements/{p-2c29c27f.entry.js → p-55fa19ae.entry.js} +1 -1
- package/dist/lime-elements/{p-da4b4a81.entry.js → p-5dce791c.entry.js} +1 -1
- package/dist/lime-elements/{p-b983531f.entry.js → p-6053608a.entry.js} +1 -1
- package/dist/lime-elements/{p-164e1ad0.entry.js → p-6ae093c8.entry.js} +1 -1
- package/dist/lime-elements/{p-29815107.entry.js → p-6d2d25b9.entry.js} +1 -1
- package/dist/lime-elements/{p-9e30d206.entry.js → p-6d9b89db.entry.js} +1 -1
- package/dist/lime-elements/{p-be2b8c1e.entry.js → p-6e9eeb0a.entry.js} +1 -1
- package/dist/lime-elements/{p-68129487.entry.js → p-764d2f86.entry.js} +1 -1
- package/dist/lime-elements/{p-49a53f0b.entry.js → p-7ab726c2.entry.js} +1 -1
- package/dist/lime-elements/{p-cced022b.entry.js → p-7b87e547.entry.js} +1 -1
- package/dist/lime-elements/{p-65eafc85.entry.js → p-7bf3bf8a.entry.js} +1 -1
- package/dist/lime-elements/{p-586ee40c.entry.js → p-7d0ffc60.entry.js} +1 -1
- package/dist/lime-elements/{p-fad7a3fa.entry.js → p-7f0743d6.entry.js} +1 -1
- package/dist/lime-elements/{p-7d27d572.entry.js → p-814b4934.entry.js} +1 -1
- package/dist/lime-elements/p-843886fe.entry.js +1 -0
- package/dist/lime-elements/p-8d602078.entry.js +1 -0
- package/dist/lime-elements/p-8fe28845.entry.js +1 -0
- package/dist/lime-elements/{p-f35880ef.entry.js → p-909466b8.entry.js} +1 -1
- package/dist/lime-elements/{p-545c087b.entry.js → p-933ffaa8.entry.js} +1 -1
- package/dist/lime-elements/p-94ae27e2.entry.js +23 -0
- package/dist/lime-elements/{p-cc8d6198.entry.js → p-95a486c8.entry.js} +1 -1
- package/dist/lime-elements/{p-565c85ac.entry.js → p-9b2623fe.entry.js} +1 -1
- package/dist/lime-elements/{p-C0wwdPYT.js → p-Bd37Vplf.js} +2 -2
- package/dist/lime-elements/p-ByOXsysp.js +1 -0
- package/dist/lime-elements/{p-_UXAljNc.js → p-CbPYnlF-.js} +1 -1
- package/dist/lime-elements/{p-Bgn2bikC.js → p-CvHpvp0f.js} +1 -1
- package/dist/lime-elements/p-Cw7VQSGU.js +1 -0
- package/dist/lime-elements/p-Dzp8dXTo.js +1 -0
- package/dist/lime-elements/{p-565e5ea7.entry.js → p-a6387dc7.entry.js} +1 -1
- package/dist/lime-elements/{p-40a48f70.entry.js → p-a6c6a31b.entry.js} +1 -1
- package/dist/lime-elements/{p-e8255f0b.entry.js → p-a7be03e1.entry.js} +1 -1
- package/dist/lime-elements/{p-67acf39d.entry.js → p-af7d07fd.entry.js} +1 -1
- package/dist/lime-elements/{p-707d4b28.entry.js → p-bffb5ed2.entry.js} +1 -1
- package/dist/lime-elements/{p-7035d93d.entry.js → p-c0ebf7cc.entry.js} +1 -1
- package/dist/lime-elements/{p-7aae3d13.entry.js → p-c2056ebc.entry.js} +1 -1
- package/dist/lime-elements/{p-19681a98.entry.js → p-c2f993cc.entry.js} +1 -1
- package/dist/lime-elements/{p-c73f4160.entry.js → p-c61e9b83.entry.js} +1 -1
- package/dist/lime-elements/{p-519603f5.entry.js → p-c6b3448c.entry.js} +1 -1
- package/dist/lime-elements/{p-153e91e1.entry.js → p-ce71c5b9.entry.js} +1 -1
- package/dist/lime-elements/{p-2a375a65.entry.js → p-d35d2859.entry.js} +1 -1
- package/dist/lime-elements/{p-26347009.entry.js → p-d3f13124.entry.js} +1 -1
- package/dist/lime-elements/{p-300f80e7.entry.js → p-d4702653.entry.js} +1 -1
- package/dist/lime-elements/{p-a2dc6645.entry.js → p-d8559847.entry.js} +1 -1
- package/dist/lime-elements/{p-c8f09dd5.entry.js → p-db9cb7ef.entry.js} +1 -1
- package/dist/lime-elements/{p-05c1f5a0.entry.js → p-e5abe390.entry.js} +1 -1
- package/dist/lime-elements/p-f036ad27.entry.js +1 -0
- package/dist/lime-elements/{p-2f5face5.entry.js → p-f59447bf.entry.js} +1 -1
- package/dist/lime-elements/{p-a81f6962.entry.js → p-f5bb17eb.entry.js} +1 -1
- package/dist/lime-elements/{p-9bbf2612.entry.js → p-f7a90228.entry.js} +1 -1
- package/dist/lime-elements/p-fYs7n6yY.js +1 -0
- package/dist/types/components/chip-set/chip-set.d.ts +15 -0
- package/dist/types/components/input-field/input-field.d.ts +19 -6
- package/dist/types/components/list/list-renderer-config.d.ts +1 -0
- package/dist/types/components/list/list.d.ts +6 -0
- package/dist/types/components/picker/picker.d.ts +12 -5
- package/dist/types/components/popover/popover.d.ts +0 -1
- package/dist/types/components.d.ts +46 -0
- package/dist/types/translations/da.d.ts +1 -0
- package/dist/types/translations/de.d.ts +1 -0
- package/dist/types/translations/en.d.ts +1 -0
- package/dist/types/translations/fi.d.ts +1 -0
- package/dist/types/translations/fr.d.ts +1 -0
- package/dist/types/translations/nl.d.ts +1 -0
- package/dist/types/translations/no.d.ts +1 -0
- package/dist/types/translations/sv.d.ts +1 -0
- package/dist/types/util/controlled-element.d.ts +11 -0
- package/dist/types/util/live-message.d.ts +17 -0
- package/dist/types/util/typeahead.d.ts +16 -0
- package/package.json +2 -2
- package/dist/cjs/dom-BWMDM6En.js +0 -32
- package/dist/esm/dom-B9Ofc5RB.js +0 -30
- package/dist/lime-elements/p-27d7c255.entry.js +0 -159
- package/dist/lime-elements/p-3c861ca8.entry.js +0 -23
- package/dist/lime-elements/p-513d2a5e.entry.js +0 -1
- package/dist/lime-elements/p-55abec82.entry.js +0 -1
- package/dist/lime-elements/p-6aae3f58.entry.js +0 -1
- package/dist/lime-elements/p-7af16e1d.entry.js +0 -1
- package/dist/lime-elements/p-813cb15c.entry.js +0 -1
- package/dist/lime-elements/p-895a68c5.entry.js +0 -1
- package/dist/lime-elements/p-B26k4gw8.js +0 -1
- package/dist/lime-elements/p-B9Ofc5RB.js +0 -1
|
@@ -114,9 +114,9 @@ const InfoTile = class {
|
|
|
114
114
|
this.checkProps((_d = this === null || this === void 0 ? void 0 : this.link) === null || _d === void 0 ? void 0 : _d.title);
|
|
115
115
|
const link = this.disabled ? '#' : (_e = this.link) === null || _e === void 0 ? void 0 : _e.href;
|
|
116
116
|
const rel = getRel((_f = this.link) === null || _f === void 0 ? void 0 : _f.target, (_g = this.link) === null || _g === void 0 ? void 0 : _g.rel);
|
|
117
|
-
return (h(Host, { key: '
|
|
117
|
+
return (h(Host, { key: '2d5b3fb9509298316af814acac20bbb1f6c22f85', onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, class: { 'has-primary-slot-content': this.hasPrimarySlot } }, h("a", { key: '2ce2856cca107671b539b5b462af04c3a9536a39', title: (_h = this.link) === null || _h === void 0 ? void 0 : _h.title, href: link, target: (_j = this.link) === null || _j === void 0 ? void 0 : _j.target, rel: rel, tabindex: "0", "aria-label": extendedAriaLabel, "aria-disabled": this.disabled, "aria-busy": this.loading ? 'true' : 'false', "aria-live": "polite", class: {
|
|
118
118
|
'is-clickable': !!((_k = this.link) === null || _k === void 0 ? void 0 : _k.href) && !this.disabled,
|
|
119
|
-
} }, this.renderIcon(), this.renderProgress(), h("slot", { key: '
|
|
119
|
+
} }, this.renderIcon(), this.renderProgress(), h("slot", { key: '8cf1cdd2c841a3c30512b390748ec7af9ccaaa06', name: "primary", onSlotchange: this.updateHasPrimarySlotContent }), h("div", { key: '4b999b693dd6e882370006edfede8a54488a2873', class: "value-group" }, this.renderPrefix(), h("div", { key: '5b06443fe1171e158f78cadb11291501507e16bc', class: "value-and-suffix" }, this.renderValue(), this.renderSuffix()), this.renderSpinner()), this.renderLabel(), h("limel-3d-hover-effect-glow", { key: '18c6b6dd3bdaacce430ddd4e2f7dbc65e400b3d0' })), this.renderNotification()));
|
|
120
120
|
}
|
|
121
121
|
checkProps(propValue) {
|
|
122
122
|
return propValue ? propValue + ' ' : '';
|
|
@@ -3,7 +3,7 @@ import { g as getIconName } from './get-icon-props-CgNJbSP4.js';
|
|
|
3
3
|
import { c as createRandomString } from './random-string-BrjD-ITe.js';
|
|
4
4
|
import { r as renderListComponent } from './render-list-component-J1IzNpbv.js';
|
|
5
5
|
import { C as CheckboxTemplate } from './checkbox.template-CAja2LKZ.js';
|
|
6
|
-
import { t as translations } from './translations-
|
|
6
|
+
import { t as translations } from './translations-kct5Kybu.js';
|
|
7
7
|
import { I as ImageTemplate } from './image.template-BGjw97m_.js';
|
|
8
8
|
import './language-ChagAaNf.js';
|
|
9
9
|
|
|
@@ -129,9 +129,9 @@ const ListItemComponent = class {
|
|
|
129
129
|
// also keep for `menuitem` for visual state consistency
|
|
130
130
|
ariaProps['aria-selected'] = this.selected ? 'true' : 'false';
|
|
131
131
|
}
|
|
132
|
-
return (h(Host, Object.assign({ key: '
|
|
132
|
+
return (h(Host, Object.assign({ key: 'fc4d7eab0b57e21d39c7d4fcc5ec7678a4e9662f', role: this.getHostRole(), class: {
|
|
133
133
|
'has-primary-component': !!((_a = this.primaryComponent) === null || _a === void 0 ? void 0 : _a.name),
|
|
134
|
-
} }, ariaProps), this.renderRadioButton(), this.renderCheckbox(), this.renderIcon(), this.renderImage(), this.renderPrimaryComponent(), h("div", { key: '
|
|
134
|
+
} }, ariaProps), this.renderRadioButton(), this.renderCheckbox(), this.renderIcon(), this.renderImage(), this.renderPrimaryComponent(), h("div", { key: 'bf56c25af2a5f6c0e7ed7ea7b5cd6952888efb61', class: "text" }, this.renderLabel(), this.renderDescription()), this.renderActionMenu(this.actions)));
|
|
135
135
|
}
|
|
136
136
|
/**
|
|
137
137
|
* Returns a stable reference for the provided actions array to avoid
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-BU9IJqli.js';
|
|
2
|
-
import { m as markdownToHTML } from './markdown-parser-
|
|
2
|
+
import { m as markdownToHTML } from './markdown-parser-Cw8iW5R9.js';
|
|
3
3
|
import { g as globalConfig } from './config-Dnt5w_Bp.js';
|
|
4
|
-
import { d as defaultSchema } from './index-
|
|
4
|
+
import { d as defaultSchema } from './index-CofmbCdQ.js';
|
|
5
5
|
import { a as adaptColorContrast } from './adapt-color-contrast-BQoih_t0.js';
|
|
6
6
|
import './_commonjsHelpers-B85MJLTf.js';
|
|
7
7
|
|
|
@@ -1136,7 +1136,7 @@ const Markdown = class {
|
|
|
1136
1136
|
*/
|
|
1137
1137
|
async toMarkdown() {
|
|
1138
1138
|
await this.rendering;
|
|
1139
|
-
const { exportMarkdown } = await import('./markdown-exporter-
|
|
1139
|
+
const { exportMarkdown } = await import('./markdown-exporter-B2vFxSLw.js');
|
|
1140
1140
|
return exportMarkdown(this.rootElement, this.cachedCombinedWhitelist);
|
|
1141
1141
|
}
|
|
1142
1142
|
textChanged() {
|
|
@@ -1191,7 +1191,7 @@ const Markdown = class {
|
|
|
1191
1191
|
this.cleanupImageIntersectionObserver();
|
|
1192
1192
|
}
|
|
1193
1193
|
render() {
|
|
1194
|
-
return (h(Host, { key: '
|
|
1194
|
+
return (h(Host, { key: '847bffc9b7fa4fbec42b705d3019c635d88fb6c6' }, h("div", { key: 'cd84ef0919fc4b2b80090de836366b317e60e51a', id: "markdown", ref: (el) => (this.rootElement = el) })));
|
|
1195
1195
|
}
|
|
1196
1196
|
setupImageIntersectionObserver() {
|
|
1197
1197
|
if (this.lazyLoadImages) {
|
|
@@ -42,7 +42,7 @@ const MasonryLayout = class {
|
|
|
42
42
|
const style = {
|
|
43
43
|
height: `${this.containerHeight}rem`,
|
|
44
44
|
};
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '08a40d19c6457ff0d8a1da75de5b3e9379b05999', style: style, class: { 'is-laid-out': this.hasRendered } }, h("slot", { key: '736ef2dd358e6fb03daf87fe9b23d4625c5c3d64' })));
|
|
46
46
|
}
|
|
47
47
|
setupObservers() {
|
|
48
48
|
this.resizeObserver = new ResizeObserver(() => {
|
|
@@ -16,7 +16,7 @@ const MenuItemMeta = class {
|
|
|
16
16
|
this.showChevron = false;
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '966057ee998af91916099c59398ea93742175fb5' }, this.renderCommandText(), this.renderBadge(), this.renderChevron()));
|
|
20
20
|
}
|
|
21
21
|
renderCommandText() {
|
|
22
22
|
if (this.hotkey) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-BU9IJqli.js';
|
|
2
|
-
import { t as translations } from './translations-
|
|
2
|
+
import { t as translations } from './translations-kct5Kybu.js';
|
|
3
3
|
import { a as ENTER } from './keycodes-Bu6-QXrA.js';
|
|
4
4
|
import { p as pageFromInput } from './pagination.util-CSC2LJ7P.js';
|
|
5
5
|
import './language-ChagAaNf.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BU9IJqli.js';
|
|
2
|
-
import { t as translations } from './translations-
|
|
2
|
+
import { t as translations } from './translations-kct5Kybu.js';
|
|
3
3
|
import { c as createRandomString } from './random-string-BrjD-ITe.js';
|
|
4
4
|
import { g as getPrimarySubtag } from './language-ChagAaNf.js';
|
|
5
5
|
import { g as getPageSlots } from './pagination.util-CSC2LJ7P.js';
|
|
@@ -287,7 +287,7 @@ const Pagination = class {
|
|
|
287
287
|
}
|
|
288
288
|
render() {
|
|
289
289
|
const { slots } = this.view;
|
|
290
|
-
return (h(Host, { key: '
|
|
290
|
+
return (h(Host, { key: '924becb588f7d773572b61865b9dd79b14171153' }, h("nav", { key: 'f517b62cf0107c912d576f08e9d99594f868be44', "aria-label": this.translate('pagination.label'), "aria-busy": this.loading ? 'true' : null }, this.renderArrow('previous'), slots.map((slot, index) => this.renderSlot(slot, index)), this.renderArrow('next')), h("span", { key: '21758520849acfe32f43e86570fe60a040cf2748', class: "live-region", "aria-live": "polite" }, this.liveMessage)));
|
|
291
291
|
}
|
|
292
292
|
/**
|
|
293
293
|
* Without a count we know where the user is but not how far the set goes,
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-BU9IJqli.js';
|
|
2
|
-
import { t as translations } from './translations-
|
|
3
|
-
import { i as isDescendant } from './
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BU9IJqli.js';
|
|
2
|
+
import { t as translations } from './translations-kct5Kybu.js';
|
|
3
|
+
import { c as createLiveMessage, i as isDescendant } from './live-message-BQAYeNiX.js';
|
|
4
4
|
import { E as ESCAPE, T as TAB, a as ENTER, A as ARROW_UP, b as ARROW_DOWN } from './keycodes-Bu6-QXrA.js';
|
|
5
5
|
import { c as createRandomString } from './random-string-BrjD-ITe.js';
|
|
6
|
+
import { i as isTextEditingKey } from './typeahead-DOlnT3wh.js';
|
|
6
7
|
import { a as getIconFillColor, g as getIconName } from './get-icon-props-CgNJbSP4.js';
|
|
7
8
|
import { d as debounce } from './debounce-B67JMchz.js';
|
|
8
9
|
import './language-ChagAaNf.js';
|
|
@@ -11,7 +12,7 @@ import './toNumber-D6JYpQI9.js';
|
|
|
11
12
|
import './isSymbol-ClAke5ga.js';
|
|
12
13
|
import './isObjectLike-oiMYqRQ0.js';
|
|
13
14
|
|
|
14
|
-
const pickerCss = () =>
|
|
15
|
+
const pickerCss = () => `@charset "UTF-8";:host{position:relative;display:block}:host([hidden]){display:none}.suggestions-message{position:absolute;width:0;height:0;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0, 0, 0, 0);clip-path:inset(50%);white-space:nowrap}`;
|
|
15
16
|
|
|
16
17
|
const SEARCH_DEBOUNCE = 300;
|
|
17
18
|
const CHIP_SET_TAG_NAME = 'limel-chip-set';
|
|
@@ -87,11 +88,13 @@ const Picker = class {
|
|
|
87
88
|
*/
|
|
88
89
|
this.badgeIcons = false;
|
|
89
90
|
this.textValue = '';
|
|
91
|
+
this.suggestionsEngaged = false;
|
|
90
92
|
this.loading = false;
|
|
91
93
|
this.chips = [];
|
|
92
94
|
// Should NOT be decorated with State(), since this
|
|
93
95
|
// should not trigger a re-render by itself.
|
|
94
96
|
this.chipSetEditMode = false;
|
|
97
|
+
this.suggestionsMessage = createLiveMessage(() => this.getSuggestionsMessage());
|
|
95
98
|
this.getValueId = (item) => {
|
|
96
99
|
const value = item.value;
|
|
97
100
|
if (!!value && typeof value === 'object') {
|
|
@@ -170,8 +173,12 @@ const Picker = class {
|
|
|
170
173
|
this.chipSet = this.host.shadowRoot.querySelector(CHIP_SET_TAG_NAME);
|
|
171
174
|
this.updateTabIndex();
|
|
172
175
|
}
|
|
176
|
+
componentDidRender() {
|
|
177
|
+
this.suggestionsMessage.update();
|
|
178
|
+
}
|
|
173
179
|
disconnectedCallback() {
|
|
174
180
|
this.debouncedSearch.cancel();
|
|
181
|
+
this.suggestionsMessage.update.cancel();
|
|
175
182
|
}
|
|
176
183
|
onDisabledChange() {
|
|
177
184
|
this.updateTabIndex();
|
|
@@ -191,13 +198,11 @@ const Picker = class {
|
|
|
191
198
|
}
|
|
192
199
|
render() {
|
|
193
200
|
const props = {};
|
|
201
|
+
const dropdownContent = this.getDropdownContentList();
|
|
194
202
|
if (!this.multiple) {
|
|
195
203
|
props.maxItems = 1;
|
|
196
204
|
}
|
|
197
|
-
return
|
|
198
|
-
h("limel-chip-set", Object.assign({ key: 'eed0789b538bd50638936e1c6ad7e9deaef954ec', type: "input", inputType: "search", label: this.label, helperText: this.helperText, leadingIcon: this.leadingIcon, value: this.chips, disabled: this.disabled, invalid: this.invalid, delimiter: this.renderDelimiter(), readonly: this.readonly, required: this.required, searchLabel: this.searchLabel, language: this.language, onInput: this.handleTextInput, onKeyDown: this.handleInputKeyDown, onChange: this.handleChange, onInteract: this.handleInteract, onStartEdit: this.handleInputFieldFocus, onStopEdit: this.handleStopEditAndBlur, emptyInputOnBlur: false, emptyInputOnChange: false, clearAllButton: this.multiple && !this.chipSetEditMode }, props)),
|
|
199
|
-
this.renderDropdown(),
|
|
200
|
-
];
|
|
205
|
+
return (h(Host, { key: 'b8a2414331b89aa646ecdab2a0e5fb9bfce06de4' }, h("limel-chip-set", Object.assign({ key: 'bf4fe7ed7973f40c903116cd538f485e3f44881d', type: "input", inputType: "search", label: this.label, helperText: this.helperText, leadingIcon: this.leadingIcon, value: this.chips, disabled: this.disabled, invalid: this.invalid, delimiter: this.renderDelimiter(), readonly: this.readonly, required: this.required, searchLabel: this.searchLabel, language: this.language, onInput: this.handleTextInput, onKeyDown: this.handleInputKeyDown, onChange: this.handleChange, onInteract: this.handleInteract, onStartEdit: this.handleInputFieldFocus, onStopEdit: this.handleStopEditAndBlur, emptyInputOnBlur: false, emptyInputOnChange: false, clearAllButton: this.multiple && !this.chipSetEditMode, suggestionListId: this.canOpenList() ? this.portalId : undefined, suggestionListOpen: this.suggestionsEngaged && dropdownContent.length > 0 }, props)), this.renderPortal(dropdownContent), h("span", { key: '3967fc14d3207567c5976c48c1154b96ea3fe285', class: "suggestions-message", "aria-live": "polite", ref: this.suggestionsMessage.setElement })));
|
|
201
206
|
}
|
|
202
207
|
onChangeValue() {
|
|
203
208
|
this.chips = this.createChips(this.value);
|
|
@@ -209,27 +214,44 @@ const Picker = class {
|
|
|
209
214
|
return null;
|
|
210
215
|
}
|
|
211
216
|
/**
|
|
212
|
-
*
|
|
213
|
-
* is waiting for items to be received
|
|
217
|
+
* Collects what the dropdown shows: the items to pick from, or a spinner
|
|
218
|
+
* if the picker is waiting for items to be received, and the actions. The
|
|
219
|
+
* dropdown is open when there is anything to show.
|
|
214
220
|
*
|
|
215
|
-
* @returns
|
|
221
|
+
* @returns the pieces of the dropdown
|
|
216
222
|
*/
|
|
217
|
-
|
|
223
|
+
getDropdownContentList() {
|
|
218
224
|
const dropDownContent = this.getDropdownContent();
|
|
219
225
|
const content = [];
|
|
220
226
|
if (this.shouldShowDropDownContent()) {
|
|
221
227
|
const actionContent = this.getActionContent();
|
|
222
|
-
if (this.actionPosition === 'top') {
|
|
228
|
+
if (actionContent && this.actionPosition === 'top') {
|
|
223
229
|
content.push(actionContent);
|
|
224
230
|
}
|
|
225
231
|
if (dropDownContent) {
|
|
226
232
|
content.push(dropDownContent);
|
|
227
233
|
}
|
|
228
|
-
if (this.actionPosition === 'bottom') {
|
|
234
|
+
if (actionContent && this.actionPosition === 'bottom') {
|
|
229
235
|
content.push(actionContent);
|
|
230
236
|
}
|
|
231
237
|
}
|
|
232
|
-
return
|
|
238
|
+
return content;
|
|
239
|
+
}
|
|
240
|
+
getSuggestionsMessage() {
|
|
241
|
+
var _a;
|
|
242
|
+
if (!this.shouldShowDropDownContent()) {
|
|
243
|
+
return '';
|
|
244
|
+
}
|
|
245
|
+
if (this.loading) {
|
|
246
|
+
return translations.get('loading', this.language);
|
|
247
|
+
}
|
|
248
|
+
if (!((_a = this.items) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
249
|
+
return this.textValue === '' ? '' : this.getEmptyResultMessage();
|
|
250
|
+
}
|
|
251
|
+
const count = this.items.filter((item) => !('separator' in item)).length;
|
|
252
|
+
return count
|
|
253
|
+
? translations.get('suggestions.available', this.language, { count })
|
|
254
|
+
: '';
|
|
233
255
|
}
|
|
234
256
|
getActionContent() {
|
|
235
257
|
var _a, _b;
|
|
@@ -243,17 +265,17 @@ const Picker = class {
|
|
|
243
265
|
'is-on-top': this.actionPosition === 'top',
|
|
244
266
|
'is-at-bottom': this.actionPosition === 'bottom',
|
|
245
267
|
'has-position-sticky': this.actionScrollBehavior === 'sticky',
|
|
246
|
-
}, badgeIcons: true, type: 'selectable', onChange: this.handleActionListChange, items: this.actions.map(this.removeUnusedPropertiesOnAction) }),
|
|
268
|
+
}, badgeIcons: true, type: 'selectable', onChange: this.handleActionListChange, onKeyDown: this.onListKeyDown, items: this.actions.map(this.removeUnusedPropertiesOnAction) }),
|
|
247
269
|
];
|
|
248
270
|
}
|
|
249
271
|
removeUnusedPropertiesOnAction(action) {
|
|
250
272
|
return Object.assign(Object.assign({}, action), { actions: [] });
|
|
251
273
|
}
|
|
274
|
+
canOpenList() {
|
|
275
|
+
return !this.readonly && !this.isFull();
|
|
276
|
+
}
|
|
252
277
|
shouldShowDropDownContent() {
|
|
253
|
-
|
|
254
|
-
return false;
|
|
255
|
-
}
|
|
256
|
-
return !!this.chipSetEditMode;
|
|
278
|
+
return this.canOpenList() && !!this.chipSetEditMode;
|
|
257
279
|
}
|
|
258
280
|
getDropdownContent() {
|
|
259
281
|
var _a;
|
|
@@ -293,11 +315,14 @@ const Picker = class {
|
|
|
293
315
|
padding: '1rem 0',
|
|
294
316
|
} }, h("limel-spinner", { limeBranded: false })));
|
|
295
317
|
}
|
|
296
|
-
|
|
297
|
-
|
|
318
|
+
getEmptyResultMessage() {
|
|
319
|
+
return (this.emptyResultMessage ||
|
|
298
320
|
translations.get('picker.no-matching-results', this.language, {
|
|
299
321
|
query: this.textValue,
|
|
300
|
-
});
|
|
322
|
+
}));
|
|
323
|
+
}
|
|
324
|
+
renderEmptyMessage() {
|
|
325
|
+
const text = this.getEmptyResultMessage();
|
|
301
326
|
const style = {
|
|
302
327
|
color: 'rgb(var(--contrast-1100))',
|
|
303
328
|
textAlign: 'center',
|
|
@@ -307,7 +332,7 @@ const Picker = class {
|
|
|
307
332
|
return h("p", { style: style }, text);
|
|
308
333
|
}
|
|
309
334
|
renderListResult() {
|
|
310
|
-
return (h("limel-list", { badgeIcons: this.badgeIcons, onChange: this.handleListChange, onKeyDown: this.onListKeyDown, type: "selectable", items: this.items }));
|
|
335
|
+
return (h("limel-list", { "data-suggestions": "", accessibleLabel: this.label || this.searchLabel, badgeIcons: this.badgeIcons, onChange: this.handleListChange, onKeyDown: this.onListKeyDown, type: "selectable", items: this.items }));
|
|
311
336
|
}
|
|
312
337
|
onListKeyDown(event) {
|
|
313
338
|
if (event.key === ESCAPE) {
|
|
@@ -319,7 +344,7 @@ const Picker = class {
|
|
|
319
344
|
this.chipSet.setFocus();
|
|
320
345
|
return;
|
|
321
346
|
}
|
|
322
|
-
if ([TAB, ENTER].includes(event.key)) {
|
|
347
|
+
if ([TAB, ENTER].includes(event.key) || isTextEditingKey(event)) {
|
|
323
348
|
this.chipSet.setFocus();
|
|
324
349
|
}
|
|
325
350
|
}
|
|
@@ -343,6 +368,7 @@ const Picker = class {
|
|
|
343
368
|
isDescendant(element, portalElement)) {
|
|
344
369
|
return;
|
|
345
370
|
}
|
|
371
|
+
this.suggestionsEngaged = false;
|
|
346
372
|
this.clearInputField();
|
|
347
373
|
}
|
|
348
374
|
/**
|
|
@@ -354,6 +380,7 @@ const Picker = class {
|
|
|
354
380
|
event.stopPropagation();
|
|
355
381
|
const query = event.detail;
|
|
356
382
|
this.textValue = query;
|
|
383
|
+
this.suggestionsEngaged = true;
|
|
357
384
|
this.debouncedSearch(query);
|
|
358
385
|
// If the search-query is an empty string, bypass debouncing.
|
|
359
386
|
if (query === '') {
|
|
@@ -448,10 +475,8 @@ const Picker = class {
|
|
|
448
475
|
* @param event - event
|
|
449
476
|
*/
|
|
450
477
|
handleInputKeyDown(event) {
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
!event.metaKey &&
|
|
454
|
-
!event.shiftKey;
|
|
478
|
+
var _a;
|
|
479
|
+
this.suggestionsEngaged = true;
|
|
455
480
|
const isUp = event.key === ARROW_UP;
|
|
456
481
|
const isDown = event.key === ARROW_DOWN;
|
|
457
482
|
const isEscape = event.key === ESCAPE;
|
|
@@ -461,14 +486,14 @@ const Picker = class {
|
|
|
461
486
|
this.handleEscape();
|
|
462
487
|
return;
|
|
463
488
|
}
|
|
464
|
-
if (!
|
|
489
|
+
if (!isUp && !isDown) {
|
|
465
490
|
return;
|
|
466
491
|
}
|
|
467
|
-
const list = document.querySelector(` #${this.portalId} limel-list`);
|
|
492
|
+
const list = (_a = document.querySelector(` #${this.portalId} limel-list[data-suggestions]`)) !== null && _a !== void 0 ? _a : document.querySelector(` #${this.portalId} limel-list`);
|
|
468
493
|
if (!list) {
|
|
469
494
|
return;
|
|
470
495
|
}
|
|
471
|
-
if (
|
|
496
|
+
if (isDown) {
|
|
472
497
|
// Match by class only (not `:first-child`) so a leading
|
|
473
498
|
// `ListSeparator` doesn't shadow the first focusable item.
|
|
474
499
|
const listElement = list.shadowRoot.querySelector('.mdc-deprecated-list-item');
|
|
@@ -479,9 +504,6 @@ const Picker = class {
|
|
|
479
504
|
listElement.focus();
|
|
480
505
|
return;
|
|
481
506
|
}
|
|
482
|
-
if (!isUp) {
|
|
483
|
-
return;
|
|
484
|
-
}
|
|
485
507
|
const listItems = list.shadowRoot.querySelectorAll('.mdc-deprecated-list-item');
|
|
486
508
|
const listElement = [...listItems].at(-1);
|
|
487
509
|
if (!listElement) {
|
|
@@ -2,6 +2,7 @@ import { r as registerInstance, c as createEvent, h, a as getElement } from './i
|
|
|
2
2
|
import { c as createRandomString } from './random-string-BrjD-ITe.js';
|
|
3
3
|
import { E as ESCAPE } from './keycodes-Bu6-QXrA.js';
|
|
4
4
|
import { f as focusTriggerElement, z as zipObject } from './focus-trigger-element-CIEHI_yk.js';
|
|
5
|
+
import { s as setControlledElement } from './controlled-element-ByOXsysp.js';
|
|
5
6
|
import './_assignValue-CEFvyZxO.js';
|
|
6
7
|
import './_defineProperty-C69Btzid.js';
|
|
7
8
|
import './_getNative-COawFdVX.js';
|
|
@@ -80,7 +81,7 @@ const Popover = class {
|
|
|
80
81
|
// `aria-expanded` is needed even when the popover is closed. Without
|
|
81
82
|
// it, the trigger reads as an ordinary button to a screen reader.
|
|
82
83
|
element.setAttribute('aria-expanded', this.open ? 'true' : 'false');
|
|
83
|
-
this.
|
|
84
|
+
setControlledElement(element, this.portalId);
|
|
84
85
|
element.setAttribute('role', 'button');
|
|
85
86
|
};
|
|
86
87
|
this.portalId = createRandomString();
|
|
@@ -139,7 +140,7 @@ const Popover = class {
|
|
|
139
140
|
render() {
|
|
140
141
|
const cssProperties = this.getCssProperties();
|
|
141
142
|
const popoverZIndex = getComputedStyle(this.host).getPropertyValue('--popover-z-index');
|
|
142
|
-
return (h("div", { key: '
|
|
143
|
+
return (h("div", { key: '25f9721cd8faad3f7f8d2d6f6f5152bfa507783c', class: "trigger-anchor" }, h("slot", { key: 'b3a48d53f82b3caaf6ba3123b8df0c6b2880a6d7', name: "trigger", ref: this.setTriggerRef }), h("limel-portal", { key: '3707b6a5157e89bc57f0687ef2ca74a592226e70', visible: this.open, containerId: this.portalId, containerStyle: { 'z-index': popoverZIndex }, openDirection: this.openDirection }, h("limel-popover-surface", { key: 'bb5eb9c961732fe8582cc3e95787803efec6e6a4', contentCollection: this.host.children, popupRole: this.getNamedPopupRole(), accessibleLabel: this.accessibleLabel, style: cssProperties }))));
|
|
143
144
|
}
|
|
144
145
|
globalClickListener(event) {
|
|
145
146
|
const element = event.target;
|
|
@@ -174,14 +175,6 @@ const Popover = class {
|
|
|
174
175
|
}
|
|
175
176
|
this.hasWarnedAboutMissingName = hasNoName;
|
|
176
177
|
}
|
|
177
|
-
setControlledPopup(element) {
|
|
178
|
-
const popup = document.querySelector(`#${this.portalId}`);
|
|
179
|
-
if ('ariaControlsElements' in element) {
|
|
180
|
-
element.ariaControlsElements = popup ? [popup] : null;
|
|
181
|
-
return;
|
|
182
|
-
}
|
|
183
|
-
element.setAttribute('aria-controls', this.portalId);
|
|
184
|
-
}
|
|
185
178
|
get host() { return getElement(this); }
|
|
186
179
|
static get watchers() { return {
|
|
187
180
|
"open": [{
|
|
@@ -201,7 +194,7 @@ const PopoverSurface = class {
|
|
|
201
194
|
this.appendElement();
|
|
202
195
|
}
|
|
203
196
|
render() {
|
|
204
|
-
return (h("div", { key: '
|
|
197
|
+
return (h("div", { key: 'b3b766fa5d9b26b48136c0856bbfb40745498b7c', class: "limel-popover-surface", tabindex: "0", role: this.popupRole, "aria-label": this.accessibleLabel }));
|
|
205
198
|
}
|
|
206
199
|
appendElement() {
|
|
207
200
|
const portalContainer = this.host.shadowRoot.querySelector('.limel-popover-surface');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-BU9IJqli.js';
|
|
2
2
|
import { i as isTypeAccepted } from './files-CKnLqPDj.js';
|
|
3
3
|
import { g as getIconName } from './get-icon-props-CgNJbSP4.js';
|
|
4
|
-
import { t as translations } from './translations-
|
|
4
|
+
import { t as translations } from './translations-kct5Kybu.js';
|
|
5
5
|
import { c as createRandomString } from './random-string-BrjD-ITe.js';
|
|
6
6
|
import { r as resizeImage } from './image-resize-Dv2HOgWN.js';
|
|
7
7
|
import { I as ImageTemplate } from './image.template-BGjw97m_.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BU9IJqli.js';
|
|
2
2
|
import { L as LevelMapping, E as EditorMenuTypes, i as isInlineImageTag, M as MouseButtons, e as editorMenuTypesArray } from './types-C_Yu8dOg.js';
|
|
3
|
-
import { g as getLinkAttributes, m as markdownToHTML, s as sanitizeHTML } from './markdown-parser-
|
|
3
|
+
import { g as getLinkAttributes, m as markdownToHTML, s as sanitizeHTML } from './markdown-parser-Cw8iW5R9.js';
|
|
4
4
|
import { c as cloneDeep } from './cloneDeep-BYrS7zqD.js';
|
|
5
|
-
import { t as translations } from './translations-
|
|
6
|
-
import { c as decodeHTML, e as decodeHTMLStrict } from './index-
|
|
5
|
+
import { t as translations } from './translations-kct5Kybu.js';
|
|
6
|
+
import { c as decodeHTML, e as decodeHTMLStrict } from './index-CofmbCdQ.js';
|
|
7
7
|
import { c as createRandomString } from './random-string-BrjD-ITe.js';
|
|
8
8
|
import { i as isItem } from './is-item-CrvUOVvg.js';
|
|
9
9
|
import { c as createFileInfo } from './files-CKnLqPDj.js';
|
|
@@ -28657,7 +28657,7 @@ const ProsemirrorAdapter = class {
|
|
|
28657
28657
|
(_e = this.view) === null || _e === void 0 ? void 0 : _e.destroy();
|
|
28658
28658
|
}
|
|
28659
28659
|
render() {
|
|
28660
|
-
return (h(Host, { key: '
|
|
28660
|
+
return (h(Host, { key: '8146122990b6020e7c1062938123d233e6c4e6aa', onFocus: this.handleFocus }, h("div", { key: '49dfd2b845efad4528689a9890e2f59cb5cd030e', id: "editor" }), this.renderToolbar(), this.renderLinkMenu()));
|
|
28661
28661
|
}
|
|
28662
28662
|
renderToolbar() {
|
|
28663
28663
|
if (this.actionBarItems.length === 0 || this.ui === 'no-toolbar') {
|
|
@@ -24,7 +24,7 @@ const RadioButtonGroup = class {
|
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h("limel-list", { key: '
|
|
27
|
+
return (h("limel-list", { key: 'b9c2e1312803c82e8729e0f55b2e2c06e24c00a0', items: this.createItems(), type: "radio", badgeIcons: this.badgeIcons, maxLinesSecondaryText: this.maxLinesSecondaryText, onChange: this.handleChange }));
|
|
28
28
|
}
|
|
29
29
|
createItems() {
|
|
30
30
|
return this.items.map((option) => {
|
|
@@ -7,12 +7,12 @@ const RadioButtonComponent = class {
|
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '9fd754e0cad07b0dafc27ff12966f1ecc43ac94c', class: {
|
|
11
11
|
'boolean-input': true,
|
|
12
12
|
'radio-button': true,
|
|
13
13
|
checked: this.checked,
|
|
14
14
|
disabled: this.disabled,
|
|
15
|
-
} }, h("input", { key: '
|
|
15
|
+
} }, h("input", { key: 'e6dfb4a56fd955db9718400bdf9f1315d768883c', type: "radio", id: this.id, checked: this.checked, disabled: this.disabled, onChange: this.onChange }), h("div", { key: '371b6ff8362f34dc1dcedb254c99246c36bbd8db', class: "box" }), h("label", { key: '2a65aee91c5f82a13b9e469f6bd5eb9126d798cf', class: "boolean-input-label", htmlFor: this.id }, this.label)));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
RadioButtonComponent.style = radioButtonCss();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BU9IJqli.js';
|
|
2
|
-
import { t as translations } from './translations-
|
|
2
|
+
import { t as translations } from './translations-kct5Kybu.js';
|
|
3
3
|
import { A as ARROW_UP, b as ARROW_DOWN, c as ARROW_LEFT, d as ARROW_RIGHT } from './keycodes-Bu6-QXrA.js';
|
|
4
4
|
import './language-ChagAaNf.js';
|
|
5
5
|
|
|
@@ -246,7 +246,7 @@ const ResizeHandle = class {
|
|
|
246
246
|
}
|
|
247
247
|
render() {
|
|
248
248
|
const name = this.getName();
|
|
249
|
-
return (h(Host, { key: '
|
|
249
|
+
return (h(Host, { key: 'ae82ff62dfeb954f5dec181a8d3e0a0e564e0219', onKeyDown: this.handleKeyDown, onPointerEnter: this.handlePointerEnter, onPointerLeave: this.handlePointerLeave }, h("div", { key: '68826930c86850047893b5f8edcb8203000b0126', role: "separator", id: SEPARATOR_ID, tabindex: "0", "aria-orientation": getOrientation(this.location), "aria-label": name, "aria-valuenow": this.value, "aria-valuemin": this.min, "aria-valuemax": this.max, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: '15be73014f20e7788cdb3a9ff0d332a0c036a1fe', role: "presentation" }, h("span", { key: '69e9b4c0496d659db9b82d91339ab60e455b8bcc' }), h("span", { key: '9549feb07707e9ba8751ab4d06e6c2b5f9d1bbd7' }), h("span", { key: '4ce59a99ca80989774915fa499a5251ef041db83' }))), h("limel-tooltip", { key: 'cbadd628e570b83c4bd3944e7e87d5834dbcd418', elementId: SEPARATOR_ID, label: name, helperLabel: this.getHint(), openDirection: this.location })));
|
|
250
250
|
}
|
|
251
251
|
getName() {
|
|
252
252
|
if (!this.resizableRegionLabel) {
|