@limetech/lime-elements 40.9.0 → 40.10.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 +14 -0
- 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 +3 -3
- package/dist/cjs/limel-ai-avatar.cjs.entry.js +1 -1
- 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 +6 -6
- 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 +1 -1
- package/dist/cjs/limel-card.cjs.entry.js +1 -1
- package/dist/cjs/limel-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/limel-chip-set.cjs.entry.js +1 -1
- package/dist/cjs/limel-chip_2.cjs.entry.js +1 -1
- package/dist/cjs/limel-circular-progress.cjs.entry.js +1 -1
- package/dist/cjs/limel-code-diff.cjs.entry.js +1 -1
- package/dist/cjs/limel-code-editor.cjs.entry.js +1 -1
- package/dist/cjs/limel-collapsible-section.cjs.entry.js +1 -1
- 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 +2 -2
- package/dist/cjs/limel-drag-handle.cjs.entry.js +1 -1
- package/dist/cjs/limel-email-viewer.cjs.entry.js +1 -1
- package/dist/cjs/limel-file-dropzone_2.cjs.entry.js +2 -2
- package/dist/cjs/limel-file.cjs.entry.js +1 -1
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +1 -1
- package/dist/cjs/limel-flex-container.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-content.cjs.entry.js +1 -1
- package/dist/cjs/limel-help.cjs.entry.js +2 -2
- package/dist/cjs/limel-helper-line_3.cjs.entry.js +4 -4
- 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 +2 -2
- package/dist/cjs/limel-markdown.cjs.entry.js +1 -1
- 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.cjs.entry.js +1 -1
- package/dist/cjs/limel-picker.cjs.entry.js +1 -1
- package/dist/cjs/limel-popover_2.cjs.entry.js +2 -2
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +1 -1
- 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 +240 -0
- package/dist/cjs/limel-scroller.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 +283 -0
- package/dist/cjs/limel-slider.cjs.entry.js +3 -3
- package/dist/cjs/limel-snackbar.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/limel-text-editor-link-menu.cjs.entry.js +3 -3
- package/dist/cjs/limel-text-editor.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -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 +1 -1
- 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/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.js +1 -1
- package/dist/collection/components/list/list.js +1 -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.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- 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.css +274 -0
- package/dist/collection/components/resize-handle/resize-handle.js +210 -0
- 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.css +300 -0
- package/dist/collection/components/side-panel/side-panel.js +433 -0
- 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/util/drag-to-resize.js +108 -0
- package/dist/collection/util/get-deep-active-element.js +15 -0
- package/dist/collection/util/resize-location.js +76 -0
- package/dist/esm/{keycodes-DQ5DmW_Y.js → keycodes-Bu6-QXrA.js} +1 -1
- 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 +3 -3
- package/dist/esm/limel-ai-avatar.entry.js +1 -1
- 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 +7 -7
- 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 +1 -1
- package/dist/esm/limel-card.entry.js +1 -1
- package/dist/esm/limel-checkbox.entry.js +1 -1
- package/dist/esm/limel-chip-set.entry.js +2 -2
- 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 +1 -1
- package/dist/esm/limel-code-editor.entry.js +1 -1
- package/dist/esm/limel-collapsible-section.entry.js +1 -1
- 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 +2 -2
- package/dist/esm/limel-drag-handle.entry.js +1 -1
- package/dist/esm/limel-email-viewer.entry.js +1 -1
- package/dist/esm/limel-file-dropzone_2.entry.js +2 -2
- package/dist/esm/limel-file.entry.js +1 -1
- package/dist/esm/limel-flatpickr-adapter.entry.js +1 -1
- package/dist/esm/limel-flex-container.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-content.entry.js +1 -1
- package/dist/esm/limel-help.entry.js +2 -2
- package/dist/esm/limel-helper-line_3.entry.js +4 -4
- 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 +2 -2
- package/dist/esm/limel-markdown.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/limel-picker.entry.js +2 -2
- package/dist/esm/limel-popover_2.entry.js +3 -3
- package/dist/esm/limel-prosemirror-adapter.entry.js +1 -1
- 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 +238 -0
- package/dist/esm/limel-scroller.entry.js +2 -2
- package/dist/esm/limel-select.entry.js +2 -2
- package/dist/esm/limel-shortcut.entry.js +1 -1
- package/dist/esm/limel-side-panel.entry.js +281 -0
- package/dist/esm/limel-slider.entry.js +3 -3
- package/dist/esm/limel-snackbar.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/limel-tab-panel.entry.js +1 -1
- package/dist/esm/limel-table.entry.js +2 -2
- 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/loader.js +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-5da47a8a.entry.js → p-065f1635.entry.js} +1 -1
- package/dist/lime-elements/{p-0e13ec91.entry.js → p-06cd9512.entry.js} +1 -1
- package/dist/lime-elements/{p-96246494.entry.js → p-07916acc.entry.js} +1 -1
- package/dist/lime-elements/{p-fdec09e9.entry.js → p-0c2ce99b.entry.js} +1 -1
- package/dist/lime-elements/{p-00c36c9e.entry.js → p-1020ca20.entry.js} +1 -1
- package/dist/lime-elements/{p-288ef79a.entry.js → p-14aff731.entry.js} +1 -1
- package/dist/lime-elements/{p-2b033dfa.entry.js → p-24e5d420.entry.js} +1 -1
- package/dist/lime-elements/{p-9afa4721.entry.js → p-262a3d66.entry.js} +1 -1
- package/dist/lime-elements/{p-45461ec5.entry.js → p-29b2a176.entry.js} +1 -1
- package/dist/lime-elements/{p-e752dc7f.entry.js → p-2ba9d62f.entry.js} +1 -1
- package/dist/lime-elements/{p-a1c69e0c.entry.js → p-33ed0c68.entry.js} +1 -1
- package/dist/lime-elements/{p-efaf2616.entry.js → p-35bc5ed2.entry.js} +1 -1
- package/dist/lime-elements/{p-d37fbbd2.entry.js → p-3ee121fa.entry.js} +1 -1
- package/dist/lime-elements/{p-d1b7cc55.entry.js → p-458c131f.entry.js} +3 -3
- package/dist/lime-elements/{p-c439b68b.entry.js → p-46bf8b22.entry.js} +1 -1
- package/dist/lime-elements/{p-303edb1a.entry.js → p-4882acaa.entry.js} +1 -1
- package/dist/lime-elements/{p-7b4351f6.entry.js → p-4a7df81a.entry.js} +1 -1
- package/dist/lime-elements/{p-982a0f10.entry.js → p-527e9c95.entry.js} +1 -1
- package/dist/lime-elements/{p-5f5c6e7d.entry.js → p-54631dbf.entry.js} +1 -1
- package/dist/lime-elements/{p-d5800180.entry.js → p-5473eb74.entry.js} +1 -1
- package/dist/lime-elements/p-566750e5.entry.js +1 -0
- package/dist/lime-elements/{p-f4a0b1bc.entry.js → p-622660dd.entry.js} +1 -1
- package/dist/lime-elements/{p-d19c7a3a.entry.js → p-646731b6.entry.js} +1 -1
- package/dist/lime-elements/{p-7eab1341.entry.js → p-68542e00.entry.js} +1 -1
- package/dist/lime-elements/p-780dae0b.entry.js +1 -0
- package/dist/lime-elements/{p-8ac79ef5.entry.js → p-7a290372.entry.js} +1 -1
- package/dist/lime-elements/{p-ff1a8b2e.entry.js → p-7a2e0e18.entry.js} +1 -1
- package/dist/lime-elements/{p-7fa85785.entry.js → p-7cdbbffe.entry.js} +2 -2
- package/dist/lime-elements/{p-b6d39581.entry.js → p-887eea11.entry.js} +1 -1
- package/dist/lime-elements/{p-9c8c2fb7.entry.js → p-8a59698f.entry.js} +1 -1
- package/dist/lime-elements/p-8d567e42.entry.js +1 -0
- package/dist/lime-elements/{p-b22b52a1.entry.js → p-910807cb.entry.js} +1 -1
- package/dist/lime-elements/p-9168793f.entry.js +1 -0
- package/dist/lime-elements/{p-58b7c634.entry.js → p-9461c6bb.entry.js} +1 -1
- package/dist/lime-elements/{p-a98cbd1f.entry.js → p-9b1934fb.entry.js} +1 -1
- package/dist/lime-elements/p-9b384d62.entry.js +1 -0
- package/dist/lime-elements/{p-ee719744.entry.js → p-9ca18ba5.entry.js} +1 -1
- package/dist/lime-elements/{p-DQ5DmW_Y.js → p-Bu6-QXrA.js} +1 -1
- package/dist/lime-elements/{p-ab91cfff.entry.js → p-a317f2fa.entry.js} +1 -1
- package/dist/lime-elements/{p-a1d1470c.entry.js → p-a373013f.entry.js} +1 -1
- package/dist/lime-elements/{p-32a050a3.entry.js → p-a449ca04.entry.js} +1 -1
- package/dist/lime-elements/p-a5246373.entry.js +1 -0
- package/dist/lime-elements/{p-9992b5f9.entry.js → p-a78aaf37.entry.js} +1 -1
- package/dist/lime-elements/p-abcc451a.entry.js +1 -0
- package/dist/lime-elements/{p-9e016212.entry.js → p-abed5afd.entry.js} +1 -1
- package/dist/lime-elements/{p-107654bb.entry.js → p-ae2e5e87.entry.js} +1 -1
- package/dist/lime-elements/{p-fdd674fc.entry.js → p-b69af611.entry.js} +1 -1
- package/dist/lime-elements/{p-74060535.entry.js → p-b9da0108.entry.js} +2 -2
- package/dist/lime-elements/{p-4cbcafae.entry.js → p-bf849dc9.entry.js} +1 -1
- package/dist/lime-elements/{p-0d6925f4.entry.js → p-c12fbc91.entry.js} +1 -1
- package/dist/lime-elements/{p-03cb609e.entry.js → p-cf6fab84.entry.js} +1 -1
- package/dist/lime-elements/{p-29c73bdf.entry.js → p-d3475514.entry.js} +1 -1
- package/dist/lime-elements/{p-006cfb3d.entry.js → p-d5144955.entry.js} +1 -1
- package/dist/lime-elements/{p-91a572c8.entry.js → p-d79d777e.entry.js} +1 -1
- package/dist/lime-elements/p-d7e5a4a7.entry.js +1 -0
- package/dist/lime-elements/{p-9415411e.entry.js → p-db1f9eba.entry.js} +1 -1
- package/dist/lime-elements/{p-a736ea08.entry.js → p-dd075353.entry.js} +1 -1
- package/dist/lime-elements/{p-526ede01.entry.js → p-de4d261a.entry.js} +1 -1
- package/dist/lime-elements/{p-e6a34047.entry.js → p-def7b38f.entry.js} +1 -1
- package/dist/lime-elements/{p-bc70090d.entry.js → p-e247e9fe.entry.js} +1 -1
- package/dist/lime-elements/{p-e2b074aa.entry.js → p-e25bfb2c.entry.js} +1 -1
- package/dist/lime-elements/{p-727b6c11.entry.js → p-ec74a07a.entry.js} +1 -1
- package/dist/lime-elements/{p-d1e5dd12.entry.js → p-ecded772.entry.js} +1 -1
- package/dist/types/components/resize-handle/resize-handle.d.ts +64 -0
- package/dist/types/components/side-panel/side-panel.d.ts +134 -0
- package/dist/types/components.d.ts +319 -0
- package/dist/types/util/drag-to-resize.d.ts +33 -0
- package/dist/types/util/get-deep-active-element.d.ts +9 -0
- package/dist/types/util/resize-location.d.ts +59 -0
- package/package.json +2 -2
- package/dist/lime-elements/p-14a28a08.entry.js +0 -1
- package/dist/lime-elements/p-3d05e21f.entry.js +0 -1
- package/dist/lime-elements/p-681cb6de.entry.js +0 -1
- package/dist/lime-elements/p-a2e6f16e.entry.js +0 -1
- package/dist/lime-elements/p-aa897903.entry.js +0 -1
- package/dist/lime-elements/p-de4719a6.entry.js +0 -1
|
@@ -1301,7 +1301,7 @@ const CodeDiff = class {
|
|
|
1301
1301
|
// Capture total matches after rendering completes
|
|
1302
1302
|
this.totalSearchMatches = this.searchMatchCounter;
|
|
1303
1303
|
const lineNumberWidth = this.computeLineNumberWidth();
|
|
1304
|
-
return (h(Host, { key: '
|
|
1304
|
+
return (h(Host, { key: '13e3760d20dc968eb4a544fa8f440e7da85c00ea', style: { '--limel-line-number-min-width': lineNumberWidth } }, this.renderHeader(), this.renderScreenReaderSummary(), this.searchVisible && this.renderSearchBar(), h("div", { key: 'b88c8d9f1d6290eb8d442b4015f7fdb89d6ea2c9', class: "diff-body", role: "table", "aria-label": this.getTranslation('code-diff.table-label'), tabindex: "0", onKeyDown: (event) => this.handleKeyDown(event) }, diffContent), h("div", { key: '8d63b99fb744892f49db1ba8d394353bc1a759b0', class: "screen-reader-only", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.liveAnnouncement)));
|
|
1305
1305
|
}
|
|
1306
1306
|
watchInputs() {
|
|
1307
1307
|
this.recomputeDiff();
|
|
@@ -14878,7 +14878,7 @@ const CodeEditor = class {
|
|
|
14878
14878
|
'is-dark-mode': this.isDarkMode(),
|
|
14879
14879
|
'is-light-mode': !this.isDarkMode(),
|
|
14880
14880
|
};
|
|
14881
|
-
return (h(Host, { key: '
|
|
14881
|
+
return (h(Host, { key: '184f26afa1c867d86ba5a36d877e38be4a4263f3' }, this.renderCopyButton(), h("limel-notched-outline", { key: '42e0a2a1790d22f1ad28cacd7c9f948f8328d9cb', labelId: this.labelId, label: this.label, required: this.required, invalid: this.invalid, disabled: this.disabled, readonly: this.readonly, hasValue: !!this.value, hasFloatingLabel: true }, h("div", { key: '3f107668ca36f1bb3c86e238ffe2e86ef1205e22', slot: "content", class: classList })), this.renderHelperLine()));
|
|
14882
14882
|
}
|
|
14883
14883
|
forceRedraw() {
|
|
14884
14884
|
// eslint-disable-next-line sonarjs/pseudo-random
|
|
@@ -98,7 +98,7 @@ const CollapsibleSection = class {
|
|
|
98
98
|
removeEnterClickable(button);
|
|
99
99
|
}
|
|
100
100
|
render() {
|
|
101
|
-
return (h("section", { key: '
|
|
101
|
+
return (h("section", { key: '392e1bffb71032613a58bfd44be360ad5feb1562', class: `${this.isOpen ? 'open' : ''}`, "aria-invalid": this.invalid, "aria-labelledby": this.header ? this.headingId : null }, h("header", { key: '1ca781122b0e6a211c6e12bfdd5aba15ed3b6769' }, h("button", { key: '154e1b372e62b3451cbd298e3d2be732ab573bc5', class: "open-close-toggle", onClick: this.onClick, "aria-controls": this.bodyId, "aria-expanded": this.isOpen ? 'true' : 'false', "aria-label": this.getCollapsibleSectionAriaLabel(), type: "button" }), this.renderExpandCollapseSign(), this.renderIcon(), this.renderHeading(), h("div", { key: '8454716fb737daa803371cd306a6e295354aef97', class: "divider-line", role: "presentation" }), this.renderHeaderSlot(), this.renderActions()), h("div", { key: '0f7512b72aae26ffaf6dc862d5377c120a4e8758', class: "body", inert: !this.isOpen, "aria-hidden": String(!this.isOpen), id: this.bodyId, role: "region" }, h("slot", { key: '36eae40684e97805634690b668ed11c306a1253f' }))));
|
|
102
102
|
}
|
|
103
103
|
renderHeaderSlot() {
|
|
104
104
|
return h("slot", { name: "header" });
|
|
@@ -101,10 +101,10 @@ const Palette = class {
|
|
|
101
101
|
render() {
|
|
102
102
|
const background = this.value ? { '--background': this.value } : {};
|
|
103
103
|
return [
|
|
104
|
-
h("div", { key: '
|
|
104
|
+
h("div", { key: '3832db244fa668ef6b78e211b69c6e7bab53ec77', class: "color-picker-palette", style: {
|
|
105
105
|
'--color-picker-column-count': `${this.getColumnCount()}`,
|
|
106
106
|
} }, this.renderSwatches()),
|
|
107
|
-
h("div", { key: '
|
|
107
|
+
h("div", { key: 'b082ed6dd12f6eafbfc4c8870cf860dbb5579506', class: "chosen-color-name" }, h("limel-input-field", { key: '024ce76b65357da456390953e0c68248b8a3c729', label: this.label, helperText: this.helperText, value: this.value, onChange: this.handleChange, required: this.required, invalid: this.invalid, placeholder: this.placeholder, disabled: !this.manualInput }), h("div", { key: 'bc2f938c3eae4e39aaaa416d286e2e053f6ae64c', class: "chosen-color-preview", style: background })),
|
|
108
108
|
];
|
|
109
109
|
}
|
|
110
110
|
getPalette() {
|
|
@@ -76,7 +76,7 @@ const ColorPicker = class {
|
|
|
76
76
|
(_a = this.contentElement) === null || _a === void 0 ? void 0 : _a.focus();
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
|
-
return (h(Host, { key: '
|
|
79
|
+
return (h(Host, { key: 'cf7bd266bdf2f3351616467e24dc2be249f258da' }, this.renderTooltip(), this.renderPickerPalette(), h("limel-input-field", { key: '54acaedf89d52d5f1dd7c9e2c794e216539dfd82', label: this.label, helperText: this.helperText, value: this.value, onChange: this.handleChange, required: this.required, readonly: this.readonly, disabled: this.disabled || !this.manualInput, invalid: this.invalid, placeholder: this.placeholder })));
|
|
80
80
|
}
|
|
81
81
|
};
|
|
82
82
|
ColorPicker.style = colorPickerCss();
|
|
@@ -1015,10 +1015,10 @@ const Dialog = class {
|
|
|
1015
1015
|
this.mdcDialog.destroy();
|
|
1016
1016
|
}
|
|
1017
1017
|
render() {
|
|
1018
|
-
return (h("div", { key: '
|
|
1018
|
+
return (h("div", { key: 'd8827ca3327d18f6d52d0e3a1f4aa09046dde8e2', class: {
|
|
1019
1019
|
'mdc-dialog': true,
|
|
1020
1020
|
'full-screen': !!this.fullscreen,
|
|
1021
|
-
}, role: "alertdialog", "aria-modal": "true", "aria-labelledby": 'limel-dialog-title-' + this.id, "aria-describedby": 'limel-dialog-content-' + this.id }, h("input", { key: '
|
|
1021
|
+
}, role: "alertdialog", "aria-modal": "true", "aria-labelledby": 'limel-dialog-title-' + this.id, "aria-describedby": 'limel-dialog-content-' + this.id }, h("input", { key: '941dc7a8d6c779912c5bd0bfe85c8ed2542fb438', hidden: true, id: "initialFocusEl" }), h("div", { key: '435969f643d7ab2f3274981ec3b7125de73a0eda', class: "mdc-dialog__container" }, h("div", { key: 'e9284f9a13ef6aa37742f38fe3f17cf35ce7647a', class: "mdc-dialog__surface" }, h("input", { key: 'c930e13c55db2aa081be7f3c8a7f9ba48bf4e636', type: "button", id: "initialFocusElement" }), this.renderHeading(), h("div", { key: '8967a34e50cd285c5c91749fd254f96c7b6b6a25', class: "mdc-dialog__content", id: 'limel-dialog-content-' + this.id }, h("slot", { key: 'aeb23f666f0724cf1f9b283a210387bd9431d65e' })), this.renderFooter())), h("div", { key: '11d4a090d5fb0a38ff893825453034b858430ab0', class: "mdc-dialog__scrim" })));
|
|
1022
1022
|
}
|
|
1023
1023
|
watchHandler(newValue, oldValue) {
|
|
1024
1024
|
if (oldValue === newValue || !this.mdcDialog) {
|
|
@@ -95,11 +95,11 @@ const Dock = class {
|
|
|
95
95
|
this.resizeObserver.disconnect();
|
|
96
96
|
}
|
|
97
97
|
render() {
|
|
98
|
-
return (h(Host, { key: '
|
|
98
|
+
return (h(Host, { key: '42483e781906b34b452ce608280a4c9413c7ef8b', class: {
|
|
99
99
|
dock: true,
|
|
100
100
|
expanded: this.expanded,
|
|
101
101
|
'has-mobile-layout': this.useMobileLayout,
|
|
102
|
-
} }, h("nav", { key: '
|
|
102
|
+
} }, h("nav", { key: 'fe46daba5b59ad2103b543f7bc07238c7e1bcc90', "aria-label": this.accessibleLabel }, this.dockItems.map(this.renderDockItem), this.renderSeparator(), this.dockFooterItems.map(this.renderDockItem)), this.renderExpandShrinkToggle()));
|
|
103
103
|
}
|
|
104
104
|
renderExpandShrinkToggle() {
|
|
105
105
|
if (this.useMobileLayout || !this.allowResize) {
|
|
@@ -32,7 +32,7 @@ const DragHandleComponent = class {
|
|
|
32
32
|
render() {
|
|
33
33
|
const tooltipLabel = translations.get('drag-handle.drag-to-reorder', this.language);
|
|
34
34
|
const ariaLabel = translations.get('drag-handle.drag-handle', this.language);
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: '7ec003311284f01a8ab6fcfa681b859d80c751c9' }, h("button", { key: '6c8eecad5a1ee902f8cde0d582a7f61881186516', "data-drag-handle": true, type: "button", class: "limel-drag-handle", tabindex: -1, "aria-label": ariaLabel, id: this.dragHandleId, onClick: this.handleClick }, h("div", { key: 'ff1b68465914660147a3813950ca89e8aefd3579', class: "drag-icon", role: "presentation", "aria-hidden": "true" }, h("div", { key: "1" }), h("div", { key: "2" }), h("div", { key: "3" }), h("div", { key: "4" }), h("div", { key: "5" }), h("div", { key: "6" })), h("limel-tooltip", { key: '6e4858827eaf55787d5a30a1842c4ec8f106b158', openDirection: this.tooltipOpenDirection, elementId: this.dragHandleId, label: tooltipLabel }))));
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
DragHandleComponent.style = dragHandleCss();
|
|
@@ -214,7 +214,7 @@ const EmailViewer = class {
|
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
render() {
|
|
217
|
-
return (h(Host, { key: '
|
|
217
|
+
return (h(Host, { key: 'f28d5f5b43643c9bb0ce9640d4d774d36e87e5ba' }, h("div", { key: '33383fce3618029de03eab77b920c8ba7784ee76', class: "email", part: "email" }, this.renderHeaders(), this.renderRemoteImageBanner(), h("section", { key: '64141b9920deaf952f80db9f65a7627bb36aefd9' }, this.renderAttachments(), this.renderBody()))));
|
|
218
218
|
}
|
|
219
219
|
renderHeaders() {
|
|
220
220
|
const headerFields = [
|
|
@@ -231,7 +231,7 @@ const FileDropzone = class {
|
|
|
231
231
|
};
|
|
232
232
|
}
|
|
233
233
|
render() {
|
|
234
|
-
return (h(Host, { key: '
|
|
234
|
+
return (h(Host, { key: '5323ec725e0f49a0d10879955fe0c09fd4d54880', onDrop: this.handleDrop, onDragOver: this.handleDragOver, onDragLeave: this.handleDragLeave }, h("slot", { key: 'ffbf75fbe962bfc3db501cced37dc9c56e8a9092' }), this.renderOnDragLayout()));
|
|
235
235
|
}
|
|
236
236
|
};
|
|
237
237
|
FileDropzone.style = fileDropzoneCss();
|
|
@@ -292,7 +292,7 @@ const FileInput = class {
|
|
|
292
292
|
this.fileInput = this.element.shadowRoot.getElementById(this.fileInputId);
|
|
293
293
|
}
|
|
294
294
|
render() {
|
|
295
|
-
return (h(Host, { key: '
|
|
295
|
+
return (h(Host, { key: '3f50f6c3dd1b0111be466ddb5fbd1feac8760159', onClick: this.handleClick, onKeyUp: this.handleKeyUp, onKeyDown: this.handleKeyDown }, h("input", { key: '1c3b89baf7511a4de2b32543ee77135a58a7ecbe', hidden: true, id: this.fileInputId, onChange: this.handleFileChange, type: "file", accept: this.accept, disabled: this.disabled, multiple: this.multiple }), h("slot", { key: '857a60a5108c6b179537270e0be02bb7009f294c' })));
|
|
296
296
|
}
|
|
297
297
|
handleKeyDown(event) {
|
|
298
298
|
if (['Tab', 'Backspace', 'Enter'].includes(event.code)) {
|
|
@@ -120,7 +120,7 @@ const File = class {
|
|
|
120
120
|
this.resizingFile = undefined;
|
|
121
121
|
}
|
|
122
122
|
render() {
|
|
123
|
-
return (h(Host, { key: '
|
|
123
|
+
return (h(Host, { key: 'ecfb98bb1d97078de666e3b92649cf17241ea533', "aria-busy": this.isBusy ? 'true' : 'false' }, h("limel-file-dropzone", { key: 'f41a99e5614efacf6428eef83f5567db10ca7c94', disabled: this.disabled || this.readonly || !!this.displayedFile, accept: this.accept, onFilesSelected: this.handleNewFiles }, this.renderChipset()), this.renderDragAndDropTip(), this.renderSpinner()));
|
|
124
124
|
}
|
|
125
125
|
get statusText() {
|
|
126
126
|
var _a, _b, _c;
|
|
@@ -7722,7 +7722,7 @@ const DatePickerCalendar = class {
|
|
|
7722
7722
|
});
|
|
7723
7723
|
}
|
|
7724
7724
|
render() {
|
|
7725
|
-
return (h("div", { key: '
|
|
7725
|
+
return (h("div", { key: 'a1e6de699055b7bd6c86eb194ff3ce756d9b4834', class: "container", ref: (el) => (this.container = el), style: {
|
|
7726
7726
|
'--today-label': `"${translations.get('date-picker.today', this.language)}"`,
|
|
7727
7727
|
} }));
|
|
7728
7728
|
}
|
|
@@ -26,7 +26,7 @@ const FlexContainer = class {
|
|
|
26
26
|
console.warn('limel-flex-container is deprecated, please use CSS instead: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox');
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return h("slot", { key: '
|
|
29
|
+
return h("slot", { key: '791a96736443febd2103b7aeb1437299b103be80' });
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
FlexContainer.style = flexContainerCss();
|
|
@@ -48458,7 +48458,7 @@ const Form = class {
|
|
|
48458
48458
|
this.initialized = false;
|
|
48459
48459
|
}
|
|
48460
48460
|
render() {
|
|
48461
|
-
return h$1("div", { key: '
|
|
48461
|
+
return h$1("div", { key: '9c5db05ffcc594473a3ca7b2e3962f1659d3601d', class: "root" });
|
|
48462
48462
|
}
|
|
48463
48463
|
reactRender() {
|
|
48464
48464
|
if (!this.root) {
|
|
@@ -10,7 +10,7 @@ const Grid = class {
|
|
|
10
10
|
console.warn('limel-grid is deprecated, please use CSS instead: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout');
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return h("slot", { key: '
|
|
13
|
+
return h("slot", { key: 'fcc80e1ddf56068650e342120441027bce5263b5' });
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
Grid.style = gridCss();
|
|
@@ -13,7 +13,7 @@ const Header = class {
|
|
|
13
13
|
this.subheadingDivider = '·';
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: 'e90e33e08296a0215db2467226e09da918df2e89' }, h("div", { key: '82c18d96c84e78109a38add09df18b0b8b6dd0e3', class: "information" }, this.renderIcon(), h("div", { key: '16e17dfe84b683aece74dafd2ab6a9c433014959', class: "headings" }, h("h1", { key: '1dc86af4d544af7d610442f05fb88c24cc3bb969', class: "heading", title: this.heading }, this.heading), h("h2", { key: '8dcec7cba249b55b543025e7484e3b5cf6b2a6d8', class: "subheading", title: this.subheading }, this.subheading, this.renderSupportingText()))), h("slot", { key: '589ab97c6f9574b84e785ff79c57ecccd51a633d', name: "actions" }, h("slot", { key: '5c1b4d222d5200690917c7a25ef7bb7565d07ef5' }))));
|
|
17
17
|
}
|
|
18
18
|
renderIcon() {
|
|
19
19
|
var _a, _b, _c, _d, _e;
|
|
@@ -14,7 +14,7 @@ const HelpContent = class {
|
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: 'dd9facb6511b80349bc2da0b226bb660b6d90027' }, h("limel-markdown", { key: 'e74f0a9a0321bfb0fb16544c39b0c05c736e0d8b', value: this.value }), this.renderReadMoreLink()));
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
20
|
HelpContent.style = limelHelpContentCss();
|
|
@@ -24,9 +24,9 @@ const HelpComponent = class {
|
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: '0a59bc47d2f8281466fb478804656d4d69707293' }, h("limel-popover", { key: '4fbb9cc254d7d8428dac179dfecdec15589646cb', open: this.isOpen, onClose: this.onPopoverClose, openDirection: this.openDirection }, h("button", { key: 'b15e2219cb9850fc571d6b2441e2efa999ae3c2d', slot: "trigger", type: "button", onClick: this.openPopover, class: {
|
|
28
28
|
'is-open': this.isOpen,
|
|
29
|
-
} }, this.trigger), h("limel-help-content", { key: '
|
|
29
|
+
} }, this.trigger), h("limel-help-content", { key: '38e1a3222de220e2da82cf0cfc6e7885d7af0c6d', value: this.value, readMoreLink: this.readMoreLink }))));
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
HelpComponent.style = helpCss();
|
|
@@ -32,9 +32,9 @@ const HelperLine = class {
|
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: '69872d6dcdbecf1d703a9fb441f118f9389596bc', tabIndex: -1, class: {
|
|
36
36
|
invalid: this.invalid,
|
|
37
|
-
}, style: this.hasContent() ? {} : { display: 'none' }, "aria-hidden": !this.hasContent() }, h("div", { key: '
|
|
37
|
+
}, style: this.hasContent() ? {} : { display: 'none' }, "aria-hidden": !this.hasContent() }, h("div", { key: 'bf63441b2481b1d91fae50d7f85630e361fb2089' }, this.renderHelperText(), this.renderCharacterCounter())));
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
40
|
HelperLine.style = helperLineCss();
|
|
@@ -332,7 +332,7 @@ const List = class {
|
|
|
332
332
|
maxLinesSecondaryText = 1;
|
|
333
333
|
}
|
|
334
334
|
const html = this.listRenderer.render(this.items, this.config);
|
|
335
|
-
return (h(Host, { key: '
|
|
335
|
+
return (h(Host, { key: '5a259a6d125ba3cc5ee04a68dd3ab761bceb2cfb', style: {
|
|
336
336
|
'--maxLinesSecondaryText': `${maxLinesSecondaryText}`,
|
|
337
337
|
} }, html));
|
|
338
338
|
}
|
|
@@ -428,7 +428,7 @@ const NotchedOutline = class {
|
|
|
428
428
|
this.hasFloatingLabel = false;
|
|
429
429
|
}
|
|
430
430
|
render() {
|
|
431
|
-
return (h("div", { key: '
|
|
431
|
+
return (h("div", { key: 'a7d059bafca0519edd93c90daad620131d3fbdd0', class: "limel-notched-outline" }, h("slot", { key: '2498cc520769655fe0445ff58bd782e5ccfb857f', name: "content" }), h("span", { key: '8946f7b280ee76331b6ac66e4b212ea8a3aa567c', class: "limel-notched-outline--outlines", "aria-hidden": "true" }, h("span", { key: '096357fb61dddafd811669d36d910dfd753fcc1e', class: "limel-notched-outline--leading-outline" }), this.renderLabel(), h("span", { key: '37460f34ac2cd82360a0a3bd6cba015133d64516', class: "limel-notched-outline--trailing-outline" }), this.renderEmptyReadonlyValue())));
|
|
432
432
|
}
|
|
433
433
|
renderLabel() {
|
|
434
434
|
if (!this.label) {
|
|
@@ -119,7 +119,7 @@ const Hotkey = class {
|
|
|
119
119
|
.map((p) => p.ariaName)
|
|
120
120
|
.filter(Boolean)
|
|
121
121
|
.join(' ');
|
|
122
|
-
return (h(Host, { key: '
|
|
122
|
+
return (h(Host, { key: '91e09b5c874135ac3473c995ffce864a1cf8a9d6', "aria-label": ariaLabel || undefined }, displayParts.map(({ display, isGlyph }, index) => (h("kbd", { key: `${parts[index]}-${index}`, class: isGlyph ? 'is-glyph' : undefined }, h("span", null, display))))));
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
Hotkey.style = hotkeyCss();
|
|
@@ -1991,7 +1991,7 @@ const Portal = class {
|
|
|
1991
1991
|
this.showContainer();
|
|
1992
1992
|
}
|
|
1993
1993
|
render() {
|
|
1994
|
-
return h("slot", { key: '
|
|
1994
|
+
return h("slot", { key: 'f4db0b146b4cd851a9837bf10dc7d331cd5a9dce' });
|
|
1995
1995
|
}
|
|
1996
1996
|
onVisible() {
|
|
1997
1997
|
if (!this.container && this.visible) {
|
|
@@ -2304,10 +2304,10 @@ const Tooltip = class {
|
|
|
2304
2304
|
}
|
|
2305
2305
|
render() {
|
|
2306
2306
|
const tooltipZIndex = getComputedStyle(this.host).getPropertyValue('--tooltip-z-index');
|
|
2307
|
-
return (h("div", { key: '
|
|
2307
|
+
return (h("div", { key: '11a9db0e1b1e615ddbdeea5eb2c5089e1f9eadeb', class: "trigger-anchor" }, h("limel-portal", { key: '28e7ffeb63ff24978dd2bd1ed0b0b2aa278abbde', openDirection: this.openDirection, visible: this.open, containerId: this.portalId, containerStyle: {
|
|
2308
2308
|
'z-index': tooltipZIndex,
|
|
2309
2309
|
'pointer-events': 'none',
|
|
2310
|
-
}, anchor: this.ownerElement }, h("limel-tooltip-content", { key: '
|
|
2310
|
+
}, anchor: this.ownerElement }, h("limel-tooltip-content", { key: 'abc48a7948a932c081a44fb1d617bc3b351d452c', label: this.label, helperLabel: this.helperLabel, hotkey: this.hotkey, maxlength: this.maxlength, role: "tooltip", "aria-hidden": !this.open, id: this.tooltipId }))));
|
|
2311
2311
|
}
|
|
2312
2312
|
setOwnerAriaDescribedby() {
|
|
2313
2313
|
var _a;
|
|
@@ -2346,7 +2346,7 @@ const TooltipContent = class {
|
|
|
2346
2346
|
const style = this.maxlength
|
|
2347
2347
|
? { '--tooltip-max-width-of-text': `${this.maxlength}ch` }
|
|
2348
2348
|
: undefined;
|
|
2349
|
-
return (h(Host, { key: '
|
|
2349
|
+
return (h(Host, { key: '63d36a0e0f1fb0e4eb94c5c216c80299d82f63b2', class: { 'has-column-layout': isLabelsTextLong }, style: style }, h("div", { key: '6d4ecf58b8854edeece92a53065816292a2a39b9', class: "label" }, this.label), this.renderHelperLabel(), this.renderHotkey()));
|
|
2350
2350
|
}
|
|
2351
2351
|
renderHelperLabel() {
|
|
2352
2352
|
if (!this.helperLabel) {
|
|
@@ -47,7 +47,7 @@ const IconButton = class {
|
|
|
47
47
|
if (this.host.hasAttribute('tabindex')) {
|
|
48
48
|
buttonAttributes.tabindex = this.host.getAttribute('tabindex');
|
|
49
49
|
}
|
|
50
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: '0c2536bf5d9628ed72bc55ed768c4e5eb6396b68', onClick: this.filterClickWhenDisabled }, h("button", Object.assign({ key: '3c18c8f45209887df5c4f76ec635839f3cc147ab', "aria-label": this.label, disabled: this.disabled, id: this.tooltipId }, buttonAttributes), this.renderIcon(), this.renderTooltip(this.tooltipId))));
|
|
51
51
|
}
|
|
52
52
|
renderIcon() {
|
|
53
53
|
var _a, _b;
|
|
@@ -159,7 +159,7 @@ const Icon = class {
|
|
|
159
159
|
this.loadIcon(this.name);
|
|
160
160
|
}
|
|
161
161
|
render() {
|
|
162
|
-
return h("div", { key: '
|
|
162
|
+
return h("div", { key: '6d01432082e0272137562dd22ab309b75ce95504', class: "container" });
|
|
163
163
|
}
|
|
164
164
|
async loadIcon(name) {
|
|
165
165
|
if (name === undefined || name === '') {
|
|
@@ -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: 'a21ede478dc485edad5648d167cb5168a8560c85', onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, class: { 'has-primary-slot-content': this.hasPrimarySlot } }, h("a", { key: '694ed4b61590373e448f63d0814a91d506db9caf', 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: '753e0576a88b10a3a981e0e46ba266266d84aec6', name: "primary", onSlotchange: this.updateHasPrimarySlotContent }), h("div", { key: '0d125992ed03f4aedcc8b82d47929bd45a268c80', class: "value-group" }, this.renderPrefix(), h("div", { key: 'bde1b5e9cd8fe539d29f267d8b1675bcbc8dbe0b', class: "value-and-suffix" }, this.renderValue(), this.renderSuffix()), this.renderSpinner()), this.renderLabel(), h("limel-3d-hover-effect-glow", { key: '6263b7a134238981c5ce6cdc5dc4321cc7ac43d1' })), this.renderNotification()));
|
|
120
120
|
}
|
|
121
121
|
checkProps(propValue) {
|
|
122
122
|
return propValue ? propValue + ' ' : '';
|
|
@@ -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: '628910c7216db5d7580fb139475210d0a05c55db', 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: 'acb5d43d2690515d88146b5592a9bfd32225ab88', 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
|
|
@@ -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: 'a1883ae4c80a775bc1dbdd9f2b993ab4af8c4cba' }, h("div", { key: 'd8a1cd8f5a102a209fa89f8baf0b08912ead1059', 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: '4739b8085adca277a42f36478b1692970e2a8675', style: style, class: { 'is-laid-out': this.hasRendered } }, h("slot", { key: '14290465ddb5ea67ff9d2883904f3298900151ee' })));
|
|
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: '468078fa475182bea0474fa0806bd54bb00db4c6' }, this.renderCommandText(), this.renderBadge(), this.renderChevron()));
|
|
20
20
|
}
|
|
21
21
|
renderCommandText() {
|
|
22
22
|
if (this.hotkey) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-BU9IJqli.js';
|
|
2
2
|
import { t as translations } from './translations-UrIr-5_D.js';
|
|
3
|
-
import { a as ENTER } from './keycodes-
|
|
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';
|
|
6
6
|
|
|
@@ -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: 'dce4e827fbbaba2f2423b7623caa1371b51a7750' }, h("nav", { key: '18e75c58c919f78a5c19986d3a42612c0b125a55', "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: '1aea124497cbec584bdb1977c7371b391f5576a2', 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,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-BU9IJqli.js';
|
|
2
2
|
import { t as translations } from './translations-UrIr-5_D.js';
|
|
3
3
|
import { i as isDescendant } from './dom-B9Ofc5RB.js';
|
|
4
|
-
import { E as ESCAPE, T as TAB, a as ENTER, A as ARROW_UP, b as ARROW_DOWN } from './keycodes-
|
|
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 { a as getIconFillColor, g as getIconName } from './get-icon-props-CgNJbSP4.js';
|
|
7
7
|
import { d as debounce } from './debounce-B67JMchz.js';
|
|
@@ -195,7 +195,7 @@ const Picker = class {
|
|
|
195
195
|
props.maxItems = 1;
|
|
196
196
|
}
|
|
197
197
|
return [
|
|
198
|
-
h("limel-chip-set", Object.assign({ key: '
|
|
198
|
+
h("limel-chip-set", Object.assign({ key: '3bd160f27baba3f2b6cfdb75bac451b87a25f75a', 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
199
|
this.renderDropdown(),
|
|
200
200
|
];
|
|
201
201
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-BU9IJqli.js';
|
|
2
2
|
import { c as createRandomString } from './random-string-BrjD-ITe.js';
|
|
3
|
-
import { E as ESCAPE } from './keycodes-
|
|
3
|
+
import { E as ESCAPE } from './keycodes-Bu6-QXrA.js';
|
|
4
4
|
import { f as focusTriggerElement, z as zipObject } from './focus-trigger-element-BOFcjLq3.js';
|
|
5
5
|
import './_assignValue-CEFvyZxO.js';
|
|
6
6
|
import './_defineProperty-C69Btzid.js';
|
|
@@ -133,7 +133,7 @@ const Popover = class {
|
|
|
133
133
|
render() {
|
|
134
134
|
const cssProperties = this.getCssProperties();
|
|
135
135
|
const popoverZIndex = getComputedStyle(this.host).getPropertyValue('--popover-z-index');
|
|
136
|
-
return (h("div", { key: '
|
|
136
|
+
return (h("div", { key: 'a819793a1a82680cb7ce15239366c57c5e8300cc', class: "trigger-anchor" }, h("slot", { key: 'ddd5f786c93939afae68e0a35446be8470bfe638', name: "trigger", ref: this.setTriggerRef }), h("limel-portal", { key: '369a832fab6a9e3438202ed1c3dbb6fe9b5a5f39', visible: this.open, containerId: this.portalId, containerStyle: { 'z-index': popoverZIndex }, openDirection: this.openDirection }, h("limel-popover-surface", { key: '1b583fc37aa48fb67ff2b40f8c2e88cb7f6db88f', contentCollection: this.host.children, style: cssProperties }))));
|
|
137
137
|
}
|
|
138
138
|
globalClickListener(event) {
|
|
139
139
|
const element = event.target;
|
|
@@ -177,7 +177,7 @@ const PopoverSurface = class {
|
|
|
177
177
|
this.appendElement();
|
|
178
178
|
}
|
|
179
179
|
render() {
|
|
180
|
-
return h("div", { key: '
|
|
180
|
+
return h("div", { key: '0efb74a821ff0c1919a048ee08209befdf5582c0', class: "limel-popover-surface", tabindex: "0" });
|
|
181
181
|
}
|
|
182
182
|
appendElement() {
|
|
183
183
|
const portalContainer = this.host.shadowRoot.querySelector('.limel-popover-surface');
|
|
@@ -28566,7 +28566,7 @@ const ProsemirrorAdapter = class {
|
|
|
28566
28566
|
(_e = this.view) === null || _e === void 0 ? void 0 : _e.destroy();
|
|
28567
28567
|
}
|
|
28568
28568
|
render() {
|
|
28569
|
-
return (h(Host, { key: '
|
|
28569
|
+
return (h(Host, { key: '6c92f1576fdd862e592d0ccf6779c6d3da806808', onFocus: this.handleFocus }, h("div", { key: '0b1b90a7c68b62ecffed21f4c49fced5333f0d83', id: "editor" }), this.renderToolbar(), this.renderLinkMenu()));
|
|
28570
28570
|
}
|
|
28571
28571
|
renderToolbar() {
|
|
28572
28572
|
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: '9c12503b398b5c5d35d47d554b64219baf75d21b', 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: '7cdb4d6a667a0afe8ed668cc32b4a38c39817d75', 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: 'f51cfa414dd1e2f50ea211a690a55dc7525d5501', type: "radio", id: this.id, checked: this.checked, disabled: this.disabled, onChange: this.onChange }), h("div", { key: 'a6ec3d879e3410c9973a1b8c66469a852e4e4995', class: "box" }), h("label", { key: '978984158d1c8344da8bcc6a4e3d7aa8003f75b2', class: "boolean-input-label", htmlFor: this.id }, this.label)));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
RadioButtonComponent.style = radioButtonCss();
|