@limetech/lime-elements 40.18.3 → 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 +13 -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 +65 -12
- 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 +6 -5
- 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 +51 -24
- 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 +1 -1
- 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/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 +86 -5
- package/dist/collection/components/list/list-renderer.js +1 -1
- package/dist/collection/components/list/list.js +22 -1
- 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 +49 -20
- 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/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 +64 -11
- 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 +6 -5
- 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 +50 -23
- 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 +1 -1
- 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/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-c1678d3a.entry.js → p-94ae27e2.entry.js} +1 -1
- 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/types/components/chip-set/chip-set.d.ts +15 -0
- package/dist/types/components/input-field/input-field.d.ts +13 -0
- 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/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-513d2a5e.entry.js +0 -1
- package/dist/lime-elements/p-55abec82.entry.js +0 -1
- package/dist/lime-elements/p-70272ea2.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-93a2d3b3.entry.js +0 -159
- package/dist/lime-elements/p-B26k4gw8.js +0 -1
- package/dist/lime-elements/p-B9Ofc5RB.js +0 -1
- package/dist/lime-elements/p-ea11f365.entry.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
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
6
|
import { i as isTextEditingKey } from './typeahead-DOlnT3wh.js';
|
|
@@ -12,7 +12,7 @@ import './toNumber-D6JYpQI9.js';
|
|
|
12
12
|
import './isSymbol-ClAke5ga.js';
|
|
13
13
|
import './isObjectLike-oiMYqRQ0.js';
|
|
14
14
|
|
|
15
|
-
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}`;
|
|
16
16
|
|
|
17
17
|
const SEARCH_DEBOUNCE = 300;
|
|
18
18
|
const CHIP_SET_TAG_NAME = 'limel-chip-set';
|
|
@@ -88,11 +88,13 @@ const Picker = class {
|
|
|
88
88
|
*/
|
|
89
89
|
this.badgeIcons = false;
|
|
90
90
|
this.textValue = '';
|
|
91
|
+
this.suggestionsEngaged = false;
|
|
91
92
|
this.loading = false;
|
|
92
93
|
this.chips = [];
|
|
93
94
|
// Should NOT be decorated with State(), since this
|
|
94
95
|
// should not trigger a re-render by itself.
|
|
95
96
|
this.chipSetEditMode = false;
|
|
97
|
+
this.suggestionsMessage = createLiveMessage(() => this.getSuggestionsMessage());
|
|
96
98
|
this.getValueId = (item) => {
|
|
97
99
|
const value = item.value;
|
|
98
100
|
if (!!value && typeof value === 'object') {
|
|
@@ -171,8 +173,12 @@ const Picker = class {
|
|
|
171
173
|
this.chipSet = this.host.shadowRoot.querySelector(CHIP_SET_TAG_NAME);
|
|
172
174
|
this.updateTabIndex();
|
|
173
175
|
}
|
|
176
|
+
componentDidRender() {
|
|
177
|
+
this.suggestionsMessage.update();
|
|
178
|
+
}
|
|
174
179
|
disconnectedCallback() {
|
|
175
180
|
this.debouncedSearch.cancel();
|
|
181
|
+
this.suggestionsMessage.update.cancel();
|
|
176
182
|
}
|
|
177
183
|
onDisabledChange() {
|
|
178
184
|
this.updateTabIndex();
|
|
@@ -192,13 +198,11 @@ const Picker = class {
|
|
|
192
198
|
}
|
|
193
199
|
render() {
|
|
194
200
|
const props = {};
|
|
201
|
+
const dropdownContent = this.getDropdownContentList();
|
|
195
202
|
if (!this.multiple) {
|
|
196
203
|
props.maxItems = 1;
|
|
197
204
|
}
|
|
198
|
-
return
|
|
199
|
-
h("limel-chip-set", Object.assign({ key: 'c3f4fd001d63a287a8a9f447f7c9df65279fbc34', 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)),
|
|
200
|
-
this.renderDropdown(),
|
|
201
|
-
];
|
|
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 })));
|
|
202
206
|
}
|
|
203
207
|
onChangeValue() {
|
|
204
208
|
this.chips = this.createChips(this.value);
|
|
@@ -210,27 +214,44 @@ const Picker = class {
|
|
|
210
214
|
return null;
|
|
211
215
|
}
|
|
212
216
|
/**
|
|
213
|
-
*
|
|
214
|
-
* 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.
|
|
215
220
|
*
|
|
216
|
-
* @returns
|
|
221
|
+
* @returns the pieces of the dropdown
|
|
217
222
|
*/
|
|
218
|
-
|
|
223
|
+
getDropdownContentList() {
|
|
219
224
|
const dropDownContent = this.getDropdownContent();
|
|
220
225
|
const content = [];
|
|
221
226
|
if (this.shouldShowDropDownContent()) {
|
|
222
227
|
const actionContent = this.getActionContent();
|
|
223
|
-
if (this.actionPosition === 'top') {
|
|
228
|
+
if (actionContent && this.actionPosition === 'top') {
|
|
224
229
|
content.push(actionContent);
|
|
225
230
|
}
|
|
226
231
|
if (dropDownContent) {
|
|
227
232
|
content.push(dropDownContent);
|
|
228
233
|
}
|
|
229
|
-
if (this.actionPosition === 'bottom') {
|
|
234
|
+
if (actionContent && this.actionPosition === 'bottom') {
|
|
230
235
|
content.push(actionContent);
|
|
231
236
|
}
|
|
232
237
|
}
|
|
233
|
-
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
|
+
: '';
|
|
234
255
|
}
|
|
235
256
|
getActionContent() {
|
|
236
257
|
var _a, _b;
|
|
@@ -250,11 +271,11 @@ const Picker = class {
|
|
|
250
271
|
removeUnusedPropertiesOnAction(action) {
|
|
251
272
|
return Object.assign(Object.assign({}, action), { actions: [] });
|
|
252
273
|
}
|
|
274
|
+
canOpenList() {
|
|
275
|
+
return !this.readonly && !this.isFull();
|
|
276
|
+
}
|
|
253
277
|
shouldShowDropDownContent() {
|
|
254
|
-
|
|
255
|
-
return false;
|
|
256
|
-
}
|
|
257
|
-
return !!this.chipSetEditMode;
|
|
278
|
+
return this.canOpenList() && !!this.chipSetEditMode;
|
|
258
279
|
}
|
|
259
280
|
getDropdownContent() {
|
|
260
281
|
var _a;
|
|
@@ -294,11 +315,14 @@ const Picker = class {
|
|
|
294
315
|
padding: '1rem 0',
|
|
295
316
|
} }, h("limel-spinner", { limeBranded: false })));
|
|
296
317
|
}
|
|
297
|
-
|
|
298
|
-
|
|
318
|
+
getEmptyResultMessage() {
|
|
319
|
+
return (this.emptyResultMessage ||
|
|
299
320
|
translations.get('picker.no-matching-results', this.language, {
|
|
300
321
|
query: this.textValue,
|
|
301
|
-
});
|
|
322
|
+
}));
|
|
323
|
+
}
|
|
324
|
+
renderEmptyMessage() {
|
|
325
|
+
const text = this.getEmptyResultMessage();
|
|
302
326
|
const style = {
|
|
303
327
|
color: 'rgb(var(--contrast-1100))',
|
|
304
328
|
textAlign: 'center',
|
|
@@ -308,7 +332,7 @@ const Picker = class {
|
|
|
308
332
|
return h("p", { style: style }, text);
|
|
309
333
|
}
|
|
310
334
|
renderListResult() {
|
|
311
|
-
return (h("limel-list", { "data-suggestions": "", 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 }));
|
|
312
336
|
}
|
|
313
337
|
onListKeyDown(event) {
|
|
314
338
|
if (event.key === ESCAPE) {
|
|
@@ -344,6 +368,7 @@ const Picker = class {
|
|
|
344
368
|
isDescendant(element, portalElement)) {
|
|
345
369
|
return;
|
|
346
370
|
}
|
|
371
|
+
this.suggestionsEngaged = false;
|
|
347
372
|
this.clearInputField();
|
|
348
373
|
}
|
|
349
374
|
/**
|
|
@@ -355,6 +380,7 @@ const Picker = class {
|
|
|
355
380
|
event.stopPropagation();
|
|
356
381
|
const query = event.detail;
|
|
357
382
|
this.textValue = query;
|
|
383
|
+
this.suggestionsEngaged = true;
|
|
358
384
|
this.debouncedSearch(query);
|
|
359
385
|
// If the search-query is an empty string, bypass debouncing.
|
|
360
386
|
if (query === '') {
|
|
@@ -450,6 +476,7 @@ const Picker = class {
|
|
|
450
476
|
*/
|
|
451
477
|
handleInputKeyDown(event) {
|
|
452
478
|
var _a;
|
|
479
|
+
this.suggestionsEngaged = true;
|
|
453
480
|
const isUp = event.key === ARROW_UP;
|
|
454
481
|
const isDown = event.key === ARROW_DOWN;
|
|
455
482
|
const isEscape = event.key === ESCAPE;
|
|
@@ -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) {
|
|
@@ -658,7 +658,7 @@ const Select = class {
|
|
|
658
658
|
}
|
|
659
659
|
render() {
|
|
660
660
|
const dropdownZIndex = getComputedStyle(this.host).getPropertyValue('--dropdown-z-index');
|
|
661
|
-
return (h(SelectTemplate, { key: '
|
|
661
|
+
return (h(SelectTemplate, { key: '4e7a0b4acfc0a76fa2e10089d974796a08b81f22', id: this.portalId, disabled: this.disabled, readonly: this.readonly, required: this.required, invalid: this.invalid, label: this.label, helperText: this.helperText, value: this.value, options: this.options, onMenuChange: this.handleMenuChange, onNativeChange: this.handleNativeChange, onTriggerKeyDown: this.handleMenuTriggerKeyDown, listRef: this.setListElement, multiple: this.multiple, isOpen: this.menuOpen, open: this.openMenu, close: this.closeMenu, checkValid: this.checkValid, native: this.shouldRenderNative(), dropdownZIndex: dropdownZIndex, anchor: this.getAnchorElement() }));
|
|
662
662
|
}
|
|
663
663
|
watchOpen(newValue, oldValue) {
|
|
664
664
|
if (this.checkValid) {
|
|
@@ -51,7 +51,7 @@ const Shortcut = class {
|
|
|
51
51
|
render() {
|
|
52
52
|
var _a, _b, _c, _d, _e;
|
|
53
53
|
const rel = getRel((_a = this.link) === null || _a === void 0 ? void 0 : _a.target, (_b = this.link) === null || _b === void 0 ? void 0 : _b.rel);
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: '85fa2d40b55cf7760d741790a1c46aed214b9138', onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, h("a", { key: 'd0947264d9e635538b680c49f6d63d9b1fe5c276', "aria-disabled": this.disabled, href: (_c = this.link) === null || _c === void 0 ? void 0 : _c.href, target: (_d = this.link) === null || _d === void 0 ? void 0 : _d.target, rel: rel, tabindex: "0", "aria-label": this.getAriaLabel(), title: (_e = this.link) === null || _e === void 0 ? void 0 : _e.title }, h("limel-icon", { key: '49f8738c4f675badac5c048a74b15070f883e425', name: this.icon }), h("limel-3d-hover-effect-glow", { key: 'd079dc72de9f71b9694ce6dad18f37082ebf4c8b' })), this.renderLabel(), this.renderNotification()));
|
|
55
55
|
}
|
|
56
56
|
get host() { return getElement(this); }
|
|
57
57
|
};
|
|
@@ -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 { E as ESCAPE } from './keycodes-Bu6-QXrA.js';
|
|
4
4
|
import { c as createRandomString } from './random-string-BrjD-ITe.js';
|
|
5
5
|
import './language-ChagAaNf.js';
|
|
@@ -228,7 +228,7 @@ const SidePanel = class {
|
|
|
228
228
|
.querySelector('button.close')) === null || _a === void 0 ? void 0 : _a.focus();
|
|
229
229
|
}
|
|
230
230
|
render() {
|
|
231
|
-
return (h(Host, { key: '
|
|
231
|
+
return (h(Host, { key: '9b897330f9b462ea664d78d5886c1a192b95b037' }, h("section", { key: 'dd60b5b91233d1dedde3fbdabf6145a2f008e99a', ref: this.setPanel, role: "dialog", "aria-label": this.label, tabindex: "-1" }, this.renderHandle(), h("div", { key: 'd6e145ccba5ca797168eeb39da030844a03d1dc1', class: "content" }, h("div", { key: 'f1b5b41bcd39b5b1192ed080ddb770a7b5f694ac', class: "toolbar" }, this.renderCloseButton(), this.renderActions()), this.renderHeader(), this.renderBody())), this.renderStack(), h("span", { key: 'b84046762f4f9c81a8a93eb388037b7565f6457a', "data-limit": "min", ref: this.setMinLimit }), h("span", { key: '2a3c7a1084875e6d57fe401716e550a365d8adc8', "data-limit": "max", ref: this.setMaxLimit })));
|
|
232
232
|
}
|
|
233
233
|
// A native button and not `limel-icon-button`, because the hover animation
|
|
234
234
|
// styles the icon, which is inside the shadow root of `limel-icon-button`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-BU9IJqli.js';
|
|
2
2
|
import { c as createRandomString } from './random-string-BrjD-ITe.js';
|
|
3
|
-
import { t as translations } from './translations-
|
|
3
|
+
import { t as translations } from './translations-kct5Kybu.js';
|
|
4
4
|
import './language-ChagAaNf.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -306,15 +306,15 @@ const Slider = class {
|
|
|
306
306
|
if (this.disabled || this.readonly) {
|
|
307
307
|
inputProps.disabled = true;
|
|
308
308
|
}
|
|
309
|
-
return (h(Host, { key: '
|
|
309
|
+
return (h(Host, { key: 'f36c727962bfff9e4b4d1f59659edf19e3d7966f', class: this.getContainerClassList() }, h("limel-notched-outline", { key: '0e87be789bc4f5462b45d9ac9e7f2318ca59000f', labelId: this.inputId, label: this.label, required: this.required, invalid: this.invalid, disabled: this.disabled, readonly: this.readonly, hasValue: !this.isUnset, hasFloatingLabel: true }, h("div", { key: '2d46c8256b2497a041ad0ef70a17a8a9c3a68646', slot: "content" }, h("div", { key: '55f05f623a70dd946189a70b399372c1409757e2', class: "slider", style: { '--slider-fraction': `${fraction}` } }, h("input", Object.assign({ key: 'f56b592cdab90fd824081529800ad995b0129dc4', id: this.inputId, type: "range", min: min, max: max, value: this.displayValue, "aria-describedby": this.helperText
|
|
310
310
|
? this.helperTextId
|
|
311
311
|
: undefined, "aria-invalid": this.invalid ? 'true' : undefined, "aria-valuetext": this.isUnset
|
|
312
312
|
? translations.get('value-not-set', this.language)
|
|
313
313
|
: undefined, ref: (el) => {
|
|
314
314
|
this.inputElement = el;
|
|
315
|
-
}, onInput: this.handleInput, onChange: this.handleChange, onClick: this.handleClick }, inputProps)), h("div", { key: '
|
|
315
|
+
}, onInput: this.handleInput, onChange: this.handleChange, onClick: this.handleClick }, inputProps)), h("div", { key: 'bc8caf7e40128a09bd09c5dfaa1932702a3181ec', class: "track" }, h("div", { key: 'b76f3d65f499dfc0b0c689bc1f18af79842847e1', class: "active" }), this.renderStepDots(min, max)), h("div", { key: '197a21d948777705839baf6c9e37606675d92952', class: "thumb" }, h("div", { key: 'e9f5ec56849f8165071d6c0b79f0366b4dbe664d', class: "knob" }), h("div", { key: '932a98222a1bd85cfcec64f318aaf7acb9b03e97', class: "indicator", "aria-hidden": "true" }, this.isUnset
|
|
316
316
|
? '\u{2194}\u{FE0E}'
|
|
317
|
-
: this.displayValue))), h("div", { key: '
|
|
317
|
+
: this.displayValue))), h("div", { key: '19f3779a56a21d317bf350f99a5f93068b1be09d', class: "range-labels" }, h("span", { key: '4e4ad708a44753912606aa177dfe6a7c742138fe', class: "min" }, this.multiplyByFactor(this.valuemin), this.unit), h("span", { key: 'b9e990eabfbe6284c732189be3609cc476caf169', class: "max" }, this.multiplyByFactor(this.valuemax), this.unit)))), this.renderClearButton(), this.renderHelperLine()));
|
|
318
318
|
}
|
|
319
319
|
watchValue() {
|
|
320
320
|
this.syncStateFromValue();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, 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 './language-ChagAaNf.js';
|
|
5
5
|
|
|
@@ -146,14 +146,14 @@ const Snackbar = class {
|
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
render() {
|
|
149
|
-
return (h("aside", { key: '
|
|
149
|
+
return (h("aside", { key: '86271cf61d1b060d3f12b753be16190d111ea3d1', popover: "manual", style: {
|
|
150
150
|
'--snackbar-timeout': `${Math.max(this.timeout || 0, 0)}ms`,
|
|
151
151
|
'--snackbar-distance-to-top-edge': `${this.offset}px`,
|
|
152
152
|
}, class: {
|
|
153
153
|
open: this.open,
|
|
154
154
|
'is-closing': this.closing,
|
|
155
155
|
'limel-portal--parent': true,
|
|
156
|
-
}, id: this.snackbarId, role: this.setAriaRoles(), "aria-atomic": this.open ? 'true' : undefined, "aria-relevant": this.open ? 'additions' : undefined }, h("div", { key: '
|
|
156
|
+
}, id: this.snackbarId, role: this.setAriaRoles(), "aria-atomic": this.open ? 'true' : undefined, "aria-relevant": this.open ? 'additions' : undefined }, h("div", { key: 'cf0e868a834c0ec189cb42a6f22bbc7435d9f566', class: "surface" }, h("limel-markdown", { key: '4d55bc3eac78572795aaa1eef0d3d43721150123', class: "label", value: this.message }), this.renderActions(this.actionText), this.renderDismissButton(this.dismissible))));
|
|
157
157
|
}
|
|
158
158
|
setAriaRoles() {
|
|
159
159
|
if (!this.open) {
|
|
@@ -43,9 +43,9 @@ const SplitButton = class {
|
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: 'e9fb690c19e7e7276bbe1457f7c9ddf34535f2e5', class: {
|
|
47
47
|
'has-menu': this.items.length > 0,
|
|
48
|
-
}, onClick: this.filterClickWhenDisabled }, h("limel-button", { key: '
|
|
48
|
+
}, onClick: this.filterClickWhenDisabled }, h("limel-button", { key: '3dbc886df3854572ef0a1655aa815925150a6987', label: this.label, primary: this.primary, icon: this.icon, disabled: this.disabled, loading: this.loading, loadingFailed: this.loadingFailed }), this.renderMenu()));
|
|
49
49
|
}
|
|
50
50
|
static get delegatesFocus() { return true; }
|
|
51
51
|
};
|
|
@@ -66,7 +66,7 @@ const Switch = class {
|
|
|
66
66
|
removeEnterClickable(this.host);
|
|
67
67
|
}
|
|
68
68
|
render() {
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: 'dd5e5f289e3d62bfe697d93b178ffc0ecd84e498' }, this.readonly
|
|
70
70
|
? this.renderReadonly()
|
|
71
71
|
: this.renderInteractive(), this.renderHelperLine()));
|
|
72
72
|
}
|
|
@@ -358,7 +358,7 @@ const TabBar = class {
|
|
|
358
358
|
}
|
|
359
359
|
render() {
|
|
360
360
|
const tabStop = findTabStop(this.tabs, this.tabs.findIndex((tab) => tab.active), this.getNavigationOptions());
|
|
361
|
-
return (h("div", { key: '
|
|
361
|
+
return (h("div", { key: '520c0e3987f3de626ca2c01809b42b504146eb76', role: "tablist", "aria-orientation": this.getOrientation(), onKeyDown: this.handleKeyDown }, h("limel-scroller", { key: '60512f257f8ef89cc0b6142ac80d515060bbbba0', orientation: this.getOrientation() }, this.tabs.map((tab, index) => this.renderTabOrMovableTab(tab, index, index === tabStop)))));
|
|
362
362
|
}
|
|
363
363
|
tabsChanged(newTabs = [], oldTabs = []) {
|
|
364
364
|
const newIds = newTabs.map((tab) => tab.id);
|
|
@@ -55,7 +55,7 @@ const TabPanel = class {
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: 'b914d64b43fdcb450e1e4d229952a1a9af8b7eed', onChangeTab: this.handleChangeTabs }, h("div", { key: 'b01a95d321115f07399d3ee40780f234bf8a3ed7', class: "tab-panel" }, h("limel-tab-bar", { key: '96a9dc357929d64c3dbbbb23441b5729efea33b3', tabs: this.tabs, orientation: this.orientation, allowTabReorder: this.allowTabReorder }), h("div", { key: '0dd475dbc1fbc58a3e826dec668d35b1ce0f4318', class: "tab-content" }, h("slot", { key: '3918e9fc54b588e898c8280fc92e89270fd896a1' })))));
|
|
59
59
|
}
|
|
60
60
|
setSlotElements() {
|
|
61
61
|
const slot = this.getSlot();
|
|
@@ -11,7 +11,7 @@ import { i as isArrayLike } from './isArrayLike-wfLI14yj.js';
|
|
|
11
11
|
import { n as negate } from './negate-ooVD-6_a.js';
|
|
12
12
|
import { _ as _mapLayout } from './layout-C4zsCPOF.js';
|
|
13
13
|
import { i as isEqual } from './isEqual-BIfg0KPc.js';
|
|
14
|
-
import { t as translations } from './translations-
|
|
14
|
+
import { t as translations } from './translations-kct5Kybu.js';
|
|
15
15
|
import './isArray-B8VKuhvH.js';
|
|
16
16
|
import './isSymbol-ClAke5ga.js';
|
|
17
17
|
import './isObjectLike-oiMYqRQ0.js';
|
|
@@ -32319,13 +32319,13 @@ const Table = class {
|
|
|
32319
32319
|
render() {
|
|
32320
32320
|
var _a, _b;
|
|
32321
32321
|
const totalRows = (_a = this.totalRows) !== null && _a !== void 0 ? _a : this.data.length;
|
|
32322
|
-
return (h(Host, { key: '
|
|
32322
|
+
return (h(Host, { key: '14890d8a92126d1e7e07071b40f745a3bc110ef4', class: {
|
|
32323
32323
|
'has-low-density': this.layout === 'lowDensity',
|
|
32324
32324
|
'has-pagination-on-top': this.paginationLocation === 'top',
|
|
32325
32325
|
'has-aggregation': this.hasAggregation(this.columns),
|
|
32326
32326
|
'has-pagination': totalRows > this.pageSize,
|
|
32327
32327
|
'has-selection': (_b = this.tableSelection) === null || _b === void 0 ? void 0 : _b.hasSelection,
|
|
32328
|
-
} }, h("div", { key: '
|
|
32328
|
+
} }, h("div", { key: '07aec37799ff2dd44949e24655b44da04b9ae4de', id: "tabulator-container" }, h("div", { key: '97984b2a9bf59cef4b04395cbb1248c48bac5bc3', id: "tabulator-loader", style: { display: this.loading ? 'flex' : 'none' } }, h("limel-spinner", { key: '29a35c732185becb5192c854ad1bceea43a395fd', size: "large" })), this.renderEmptyMessage(), this.renderSelectAll(), h("div", { key: '22a46313cf345b16e17b4ddc46283a3610accac5', id: "tabulator-table" }))));
|
|
32329
32329
|
}
|
|
32330
32330
|
renderSelectAll() {
|
|
32331
32331
|
var _a, _b, _c;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } 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, E as ESCAPE } from './keycodes-Bu6-QXrA.js';
|
|
4
4
|
import './language-ChagAaNf.js';
|
|
5
5
|
|
|
@@ -109,9 +109,9 @@ const TextEditorLinkMenu = class {
|
|
|
109
109
|
var _a, _b;
|
|
110
110
|
const isValid = this.isValid(this.link.href);
|
|
111
111
|
return [
|
|
112
|
-
h("limel-input-field", { key: '
|
|
113
|
-
h("limel-input-field", { key: '
|
|
114
|
-
h("div", { key: '
|
|
112
|
+
h("limel-input-field", { key: 'e9ff24b3ef0ffbc098c32f77c1cefeac9b2dbcd9', label: this.getTranslation('editor-link-menu.text'), value: ((_a = this.link) === null || _a === void 0 ? void 0 : _a.text) || '', leadingIcon: "text_cursor", onChange: this.handleLinkTitleChange, onKeyDown: this.handleKeyDown }),
|
|
113
|
+
h("limel-input-field", { key: 'df5552b700c8c73d28ab83658b31e817b7dedceb', label: this.getTranslation('editor-link-menu.link'), value: ((_b = this.link) === null || _b === void 0 ? void 0 : _b.href) || '', type: "text", leadingIcon: "-lime-text-link", trailingIcon: "external_link", invalid: !isValid, onChange: this.handleLinkValueChange, onAction: this.handleLinkInputAction, onKeyDown: this.handleKeyDown, ref: (el) => (this.linkInput = el) }),
|
|
114
|
+
h("div", { key: 'd4243e548a1227865ec40af31a5868e7f7214b5e', class: "actions" }, h("limel-button", { key: 'a16b1a026825dd3441a5ce018704f6ae9e0ed576', label: this.getTranslation('cancel'), onClick: this.handleCancel }), h("limel-button", { key: '8c4b46e58487ef17c9e2637127a17b5a2847863d', primary: true, label: this.getTranslation('save'), disabled: !isValid, onClick: this.handleSave, ref: (el) => (this.saveButton = el), slot: "button" })),
|
|
115
115
|
];
|
|
116
116
|
}
|
|
117
117
|
};
|
|
@@ -159,7 +159,7 @@ const TextEditor = class {
|
|
|
159
159
|
await ((_a = this.adapterElement) === null || _a === void 0 ? void 0 : _a.clear());
|
|
160
160
|
}
|
|
161
161
|
render() {
|
|
162
|
-
return (h(Host, { key: '
|
|
162
|
+
return (h(Host, { key: 'e0ebfa29ceaf175ab0dc5fe78f7eb055f80d045c' }, h("limel-notched-outline", { key: '2f2823bb140c77e1af697adb75985729c01cfbb4', label: this.label, required: this.required, invalid: this.invalid, disabled: this.disabled, readonly: this.readonly, hasValue: !!this.value, hasFloatingLabel: true }, this.renderEditor(), this.renderPlaceholder()), this.renderHelperLine()));
|
|
163
163
|
}
|
|
164
164
|
renderEditor() {
|
|
165
165
|
if (this.readonly) {
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { d as debounce } from './debounce-B67JMchz.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Check if an element is a descendant of another, even if it is located within a shadow root
|
|
5
|
+
*
|
|
6
|
+
* @param element - The element to check
|
|
7
|
+
* @param parent - The parent element
|
|
8
|
+
* @returns True if the element is a descendant of the parent element, false otherwise
|
|
9
|
+
*/
|
|
10
|
+
function isDescendant(element, parent) {
|
|
11
|
+
if (!parent) {
|
|
12
|
+
return false;
|
|
13
|
+
}
|
|
14
|
+
if (parent.contains(element)) {
|
|
15
|
+
return true;
|
|
16
|
+
}
|
|
17
|
+
let currentNode = element;
|
|
18
|
+
let i = 0; // Just in case something weird happens, let's not crash the browser…
|
|
19
|
+
const DEPTH = 1000; // Max depth to search.
|
|
20
|
+
while (i < DEPTH &&
|
|
21
|
+
currentNode &&
|
|
22
|
+
currentNode.getRootNode().nodeName === '#document-fragment') {
|
|
23
|
+
currentNode = currentNode.getRootNode().host;
|
|
24
|
+
if (parent.contains(currentNode)) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
i += 1;
|
|
28
|
+
}
|
|
29
|
+
return parent.contains(currentNode);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
const LIVE_MESSAGE_DELAY = 500;
|
|
33
|
+
/**
|
|
34
|
+
* Creates what a component needs to speak a message through a visually hidden
|
|
35
|
+
* element with `aria-live`. The text is written straight into that element
|
|
36
|
+
* and not through the state of the component, so speaking costs no render.
|
|
37
|
+
* It is written a short while after the last update, so that a screen reader
|
|
38
|
+
* does not read out every change while the user is typing.
|
|
39
|
+
*
|
|
40
|
+
* @param getMessage - Returns the text to speak. An empty text clears the
|
|
41
|
+
* element, so that the same message is spoken again the next time.
|
|
42
|
+
* @returns `setElement`, to be used as the `ref` of the live element, and
|
|
43
|
+
* `update`, to be called when the message may have changed.
|
|
44
|
+
*/
|
|
45
|
+
const createLiveMessage = (getMessage) => {
|
|
46
|
+
let element;
|
|
47
|
+
const setElement = (liveElement) => {
|
|
48
|
+
element = liveElement;
|
|
49
|
+
};
|
|
50
|
+
const update = debounce(() => {
|
|
51
|
+
if (!element) {
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
const message = getMessage();
|
|
55
|
+
if (element.textContent !== message) {
|
|
56
|
+
element.textContent = message;
|
|
57
|
+
}
|
|
58
|
+
}, LIVE_MESSAGE_DELAY);
|
|
59
|
+
return { setElement, update };
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
export { createLiveMessage as c, isDescendant as i };
|