@limetech/lime-elements 40.9.0 → 40.10.1
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 +21 -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 +231 -15
- 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/get-hotkey-aria-label.js +14 -0
- package/dist/collection/components/hotkey/hotkey.js +3 -5
- 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/description-registry.js +57 -0
- package/dist/collection/components/tooltip/get-description.js +42 -0
- package/dist/collection/components/tooltip/tooltip-content.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +53 -11
- 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/get-focus-target.js +69 -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 +231 -15
- 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-1a5478e3.entry.js +1 -0
- 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-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/hotkey/get-hotkey-aria-label.d.ts +8 -0
- 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/tooltip/description-registry.d.ts +21 -0
- package/dist/types/components/tooltip/get-description.d.ts +13 -0
- package/dist/types/components/tooltip/tooltip.d.ts +11 -3
- package/dist/types/components.d.ts +325 -6
- 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/get-focus-target.d.ts +14 -0
- package/dist/types/util/resize-location.d.ts +59 -0
- package/package.json +4 -4
- 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-a1d1470c.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
|
@@ -127,7 +127,7 @@ const AiAvatar = class {
|
|
|
127
127
|
if (effectiveVariant !== this.variant) {
|
|
128
128
|
console.warn(`limel-ai-avatar: unsupported variant "${this.variant}"; falling back to "minimal".`);
|
|
129
129
|
}
|
|
130
|
-
return (h(Host, { key: '
|
|
130
|
+
return (h(Host, { key: '7983a4ee0c5c0ad154b434e101e8a828f75aea36', role: "img", "aria-label": this.getHostAriaLabel(effectiveMode) }, this.renderAvatar(effectiveMode, effectiveVariant)));
|
|
131
131
|
}
|
|
132
132
|
getHostAriaLabel(mode) {
|
|
133
133
|
const baseLabel = this.getTranslation('ai-avatar.label');
|
|
@@ -9,9 +9,9 @@ const Badge = class {
|
|
|
9
9
|
registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: 'b56fd3ddacb7d7c61ce378459cab3f91372ba188', title: this.labelIsLarge() ? this.label : '', class: {
|
|
13
13
|
'has-large-label': this.labelIsLarge(),
|
|
14
|
-
} }, h("span", { key: '
|
|
14
|
+
} }, h("span", { key: '8f525a884ec3eb1fa0eb25e413d3fa5d145637b4' }, this.renderLabel())));
|
|
15
15
|
}
|
|
16
16
|
renderLabel() {
|
|
17
17
|
if (typeof this.label === 'number') {
|
|
@@ -20,7 +20,7 @@ const Banner = class {
|
|
|
20
20
|
this.isOpen = false;
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return (h("div", { key: '
|
|
23
|
+
return (h("div", { key: '7eed4752f08d518573c751e438c965719c0d9d20', class: `lime-banner ${this.isOpen ? 'lime-banner--open' : ''}` }, h("div", { key: '4022b7958715c4cd46315781376a6e88a1e6cd80', class: "lime-banner__surface" }, h("div", { key: '3c0903a0b01d3628afea51601aeaff458f91f125', class: "lime-banner__content" }, h("div", { key: '31c872703758fad2768ce5ce80422e271e30da78', class: "icon-message" }, this.renderIcon(), h("div", { key: '99f4756b2fd9333768efa22f8e5d6484fe240c05' }, this.message)), h("div", { key: 'e26c837a5dea983e198fcaccb4307fb4450d52b2', class: "lime-banner__actions" }, h("slot", { key: '92f9551eb914b94b07282f382e81767a1a90efb8', name: "buttons" }))))));
|
|
24
24
|
}
|
|
25
25
|
renderIcon() {
|
|
26
26
|
if (!this.icon) {
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, a as getElement, H as Host
|
|
|
2
2
|
import { m as makeEnterClickable, r as removeEnterClickable } from './make-enter-clickable-CIf8aGSd.js';
|
|
3
3
|
import { c as createRandomString } from './random-string-BrjD-ITe.js';
|
|
4
4
|
import { g as getIconName, b as getIconColor } from './get-icon-props-CgNJbSP4.js';
|
|
5
|
-
import { T as TAB, A as ARROW_UP, b as ARROW_DOWN, E as ESCAPE, a as ENTER, f as SPACE,
|
|
5
|
+
import { T as TAB, A as ARROW_UP, b as ARROW_DOWN, E as ESCAPE, a as ENTER, f as SPACE, c as ARROW_LEFT, d as ARROW_RIGHT } from './keycodes-Bu6-QXrA.js';
|
|
6
6
|
import { b as getHref, a as getTarget, g as getRel } from './link-helper-5KsJICvh.js';
|
|
7
7
|
import { g as globalConfig } from './config-Dnt5w_Bp.js';
|
|
8
8
|
import { d as debounce } from './debounce-B67JMchz.js';
|
|
@@ -90,7 +90,7 @@ const Breadcrumbs = class {
|
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
92
|
render() {
|
|
93
|
-
return (h("ol", { key: '
|
|
93
|
+
return (h("ol", { key: 'e2a58896d570d6aeb5b854675cc78abb8e0c7e10', role: "navigation", "aria-label": "Breadcrumb", style: { '--limel-breadcrumbs-divider': `'${this.divider}'` } }, this.renderSteps(), this.renderLastStep()));
|
|
94
94
|
}
|
|
95
95
|
componentWillLoad() {
|
|
96
96
|
makeEnterClickable(this.host);
|
|
@@ -680,7 +680,7 @@ const InputField = class {
|
|
|
680
680
|
if (ariaControls) {
|
|
681
681
|
properties['aria-controls'] = ariaControls;
|
|
682
682
|
}
|
|
683
|
-
return (h(Host, { key: '
|
|
683
|
+
return (h(Host, { key: 'd12c660cb9aad1bd47680672e632287aba8dd97e' }, h("limel-notched-outline", { key: '91b34653b223e956a6218de02c7f6670a1fe1857', labelId: this.labelId, label: this.label, required: this.required, invalid: this.invalid || this.isInvalid(), disabled: this.disabled, readonly: this.readonly, hasValue: !!this.value, hasLeadingIcon: !!this.leadingIcon }, h("label", { key: 'd55df49d702b0bf8938304512b716e82b3d3e348', slot: "content", class: this.getContainerClassList() }, this.renderLeadingIcon(), this.renderPrefix(), this.renderFormattedNumber(), this.renderInput(properties), this.renderSuffix(), this.renderTextarea(properties), this.renderTrailingLinkOrButton())), this.renderHelperLine(), this.renderAutocompleteList()));
|
|
684
684
|
}
|
|
685
685
|
valueWatcher(newValue) {
|
|
686
686
|
if (!this.mdcTextField || this.changeWaiting) {
|
|
@@ -1295,7 +1295,7 @@ const Menu = class {
|
|
|
1295
1295
|
const cssProperties = this.getCssProperties();
|
|
1296
1296
|
const dropdownZIndex = getComputedStyle(this.host).getPropertyValue('--dropdown-z-index');
|
|
1297
1297
|
const menuSurfaceWidth = this.getMenuSurfaceWidth(cssProperties['--menu-surface-width']);
|
|
1298
|
-
return (h("div", { key: '
|
|
1298
|
+
return (h("div", { key: '4297bd7cef14f8cc64e76b855bb816cd957ae777', class: "mdc-menu-surface--anchor", onClick: this.onTriggerClick }, h("slot", { key: '5b9d29a6a872c56d0473dc1b758275c1061d29e9', ref: this.setTriggerRef, name: "trigger" }), this.renderNotificationBadge(), h("limel-portal", { key: '4df2b9dee190c430c66697fc28834f4b2e648d93', visible: this.open, containerId: this.portalId, openDirection: this.openDirection, position: "absolute", containerStyle: { 'z-index': dropdownZIndex } }, h("limel-menu-surface", { key: 'a09c1a6ebcaf9faadbf05de1c3d901e391249de3', open: this.open, onDismiss: this.onClose, style: Object.assign(Object.assign({}, cssProperties), { '--menu-surface-width': menuSurfaceWidth, '--limel-menu-surface-display': 'flex', '--limel-menu-surface-flex-direction': 'column' }), class: {
|
|
1299
1299
|
'has-grid-layout': this.gridLayout,
|
|
1300
1300
|
} }, this.renderSearchField(), this.renderBreadcrumb(), this.renderLoader(), this.renderEmptyMessage(), this.renderMenuList()))));
|
|
1301
1301
|
}
|
|
@@ -3158,7 +3158,7 @@ const MenuList = class {
|
|
|
3158
3158
|
iconSize: this.iconSize,
|
|
3159
3159
|
};
|
|
3160
3160
|
const html = this.MenuListRenderer.render(this.items, this.config);
|
|
3161
|
-
return h("div", { key: '
|
|
3161
|
+
return h("div", { key: '23e18e570d984333dfafc3b45e1e8f06cf02420d', class: "mdc-menu mdc-menu-surface" }, html);
|
|
3162
3162
|
}
|
|
3163
3163
|
itemsChanged() {
|
|
3164
3164
|
setTimeout(() => {
|
|
@@ -3282,7 +3282,7 @@ const MenuSurface = class {
|
|
|
3282
3282
|
'mdc-elevation-transition': true,
|
|
3283
3283
|
'mdc-elevation--z4': true,
|
|
3284
3284
|
};
|
|
3285
|
-
return (h("div", { key: '
|
|
3285
|
+
return (h("div", { key: 'ad7c084b7ac99d8837f0641eb2d1da16cf54866a', class: classList, tabindex: "-1" }, h("slot", { key: 'ddba9bf6dca376d72801e0feb5548bbd0e767d61' })));
|
|
3286
3286
|
}
|
|
3287
3287
|
get host() { return getElement(this); }
|
|
3288
3288
|
};
|
|
@@ -3303,7 +3303,7 @@ const Spinner = class {
|
|
|
3303
3303
|
this.limeBranded = false;
|
|
3304
3304
|
}
|
|
3305
3305
|
render() {
|
|
3306
|
-
return (h(Host, { key: '
|
|
3306
|
+
return (h(Host, { key: 'ce772c5c7083690c8350e05720a5a1ba3a9119dd' }, h("svg", { key: 'd89a035b940a7cdb9e4f994a94301e91d242605e', viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, this.renderSpinner())));
|
|
3307
3307
|
}
|
|
3308
3308
|
renderSpinner() {
|
|
3309
3309
|
if (!this.limeBranded) {
|
|
@@ -33,7 +33,7 @@ const ButtonGroup = class {
|
|
|
33
33
|
this.setSelectedButton();
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: '0a5911ea0a61af38396429207d8b1089b76ad54d', role: "radiogroup" }, this.value.map(this.renderButton)));
|
|
37
37
|
}
|
|
38
38
|
renderButton(button) {
|
|
39
39
|
// Prefix with 'b' because html IDs cannot start with a digit,
|
|
@@ -43,12 +43,12 @@ const Button = class {
|
|
|
43
43
|
removeEnterClickable(this.host);
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: '0c29dc9e776e7f8847c3c2b72c901f4c48614fe7', onClick: this.filterClickWhenDisabled }, h("button", { key: '4b4ce07c60d70ee0586ede555a354f44a8c28502', class: {
|
|
47
47
|
loading: this.loading,
|
|
48
48
|
'just-loaded': this.justLoaded && !this.loadingFailed,
|
|
49
49
|
'just-failed': this.justLoaded && this.loadingFailed,
|
|
50
50
|
outlined: this.outlined,
|
|
51
|
-
}, disabled: this.disabled || this.loading, "aria-busy": this.loading ? 'true' : 'false', "aria-live": "polite" }, this.renderIcon(this.icon), this.renderLabel(), this.renderSpinner(), h("svg", { key: '
|
|
51
|
+
}, disabled: this.disabled || this.loading, "aria-busy": this.loading ? 'true' : 'false', "aria-live": "polite" }, this.renderIcon(this.icon), this.renderLabel(), this.renderSpinner(), h("svg", { key: 'ec49bd0ef8920fd33b6db0d5e7b1569f756c5eeb', viewBox: "0 0 30 30" }, this.renderLoadingIcons()))));
|
|
52
52
|
}
|
|
53
53
|
loadingWatcher(newValue, oldValue) {
|
|
54
54
|
const hasFinishedLoading = this.hasFinishedLoading(newValue, oldValue);
|
|
@@ -57,7 +57,7 @@ const Callout = class {
|
|
|
57
57
|
this.language = 'en';
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
|
-
return (h(Host, { key: '
|
|
60
|
+
return (h(Host, { key: '75e504d202310d31d4a7b854d31a9ed295f93e83' }, h("div", { key: 'c5a37db532c8778174edec1d70fd2c99dd9d1318', class: "side", role: "presentation" }, h("limel-icon", { key: '1c58e025e1b922e2f77eca3da333a5facedddbc7', name: getIcon(this.icon, this.type) })), h("div", { key: '6d63facb76ebed8131a3e8f326b090b15c39f385', class: "main" }, h("h1", { key: 'cfbbc6fb6eafbf9cb3fcddb558a700e963846d1a', class: "heading" }, getHeading(this.heading, this.type, this.language)), h("slot", { key: '4ad48050ecf5c5577b3cdcb1f4928d3b69348425' }))));
|
|
61
61
|
}
|
|
62
62
|
};
|
|
63
63
|
Callout.style = calloutCss();
|
|
@@ -108,7 +108,7 @@ const Card = class {
|
|
|
108
108
|
this.setMarkdownElement(this.markdownElement);
|
|
109
109
|
}
|
|
110
110
|
render() {
|
|
111
|
-
return (h(Host, { key: '
|
|
111
|
+
return (h(Host, { key: '39e949f12412df4052b268e0dba9893b72b42fa7', onMouseEnter: this.show3dEffect ? this.handleMouseEnter : undefined, onMouseLeave: this.show3dEffect ? this.handleMouseLeave : undefined }, h("section", { key: '3d3be31c7e11482c9f43bac06dddb7f3a845e8b9', tabindex: this.clickable ? 0 : undefined, role: this.clickable ? 'button' : undefined, "aria-pressed": this.clickable ? String(this.selected) : undefined, onKeyDown: this.clickable ? this.handleKeyDown : undefined }, this.renderImage(), h("div", { key: '0e442d9d05d178440a311eaa54e6a41fcaac5fca', class: "body" }, this.renderHeader(), this.renderSlot(), this.renderValue(), this.renderActionBar()), this.show3dEffect && h("limel-3d-hover-effect-glow", { key: 'e533629a6b32e854afcdebddf9682919b1300c47' }))));
|
|
112
112
|
}
|
|
113
113
|
renderImage() {
|
|
114
114
|
var _a;
|
|
@@ -113,7 +113,7 @@ const Checkbox = class {
|
|
|
113
113
|
this.destroyMDCInstances();
|
|
114
114
|
}
|
|
115
115
|
render() {
|
|
116
|
-
return (h(CheckboxTemplate, { key: '
|
|
116
|
+
return (h(CheckboxTemplate, { key: '18293e7965b6b90f5ddf535d777f1881d065ea72', disabled: this.disabled || this.readonly, label: this.label, readonlyLabels: this.readonlyLabels, helperText: this.helperText, helperTextId: this.helperTextId, checked: this.checked || this.indeterminate, indeterminate: this.indeterminate, required: this.required, readonly: this.readonly, invalid: this.isInvalid(), onChange: this.onChange, id: this.inputId }));
|
|
117
117
|
}
|
|
118
118
|
get limelCheckbox() { return getElement(this); }
|
|
119
119
|
static get watchers() { return {
|
|
@@ -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 {
|
|
2
|
+
import { c as ARROW_LEFT, d as ARROW_RIGHT, a as ENTER, D as DELETE, B as BACKSPACE, E as ESCAPE } from './keycodes-Bu6-QXrA.js';
|
|
3
3
|
import { t as translations } from './translations-UrIr-5_D.js';
|
|
4
4
|
import { a as getTarget, b as getHref } from './link-helper-5KsJICvh.js';
|
|
5
5
|
import { c as createRandomString } from './random-string-BrjD-ITe.js';
|
|
@@ -370,7 +370,7 @@ const ChipSet = class {
|
|
|
370
370
|
});
|
|
371
371
|
}
|
|
372
372
|
const value = this.getValue();
|
|
373
|
-
return (h(Host, { key: '
|
|
373
|
+
return (h(Host, { key: '6a9ed9bfe71387485f520c318b3d49effcf0f85c' }, h("limel-notched-outline", { key: 'aad5cf7264834ec8a4afeaade8d37bf599798303', labelId: this.labelId, label: this.label, required: this.required, invalid: this.invalid || this.isInvalid(), disabled: this.disabled, readonly: this.readonly, hasValue: !!((_a = this.value) === null || _a === void 0 ? void 0 : _a.length), hasLeadingIcon: !!this.leadingIcon, hasFloatingLabel: this.floatLabelAbove() }, h("div", Object.assign({ key: '91ff61bece550868ee593234cf23a8fdfb37350b', slot: "content" }, this.getContentProps(), { class: classes }), this.renderContent(value))), this.renderHelperLine()));
|
|
374
374
|
}
|
|
375
375
|
getContentProps() {
|
|
376
376
|
if (this.type === 'input') {
|
|
@@ -4,7 +4,7 @@ import { g as getRel } from './link-helper-5KsJICvh.js';
|
|
|
4
4
|
import { g as getIconName } from './get-icon-props-CgNJbSP4.js';
|
|
5
5
|
import { m as makeEnterClickable, r as removeEnterClickable } from './make-enter-clickable-CIf8aGSd.js';
|
|
6
6
|
import { t as translations } from './translations-UrIr-5_D.js';
|
|
7
|
-
import { D as DELETE, B as BACKSPACE } from './keycodes-
|
|
7
|
+
import { D as DELETE, B as BACKSPACE } from './keycodes-Bu6-QXrA.js';
|
|
8
8
|
import { i as isEmpty } from './isEmpty-BGVZ12Ea.js';
|
|
9
9
|
import './language-ChagAaNf.js';
|
|
10
10
|
import './_getTag-BiAaLWvH.js';
|
|
@@ -144,7 +144,7 @@ const Chip = class {
|
|
|
144
144
|
removeEnterClickable(this.host);
|
|
145
145
|
}
|
|
146
146
|
render() {
|
|
147
|
-
return (h(Host, { key: '
|
|
147
|
+
return (h(Host, { key: '7d2c6296cbae87c77939c47ecf6244604a7f79bd', onClick: this.filterClickWhenDisabled }, this.link ? this.renderAsLink() : this.renderAsButton()));
|
|
148
148
|
}
|
|
149
149
|
renderPicture() {
|
|
150
150
|
var _a, _b;
|
|
@@ -41,7 +41,7 @@ const CircularProgress = class {
|
|
|
41
41
|
};
|
|
42
42
|
const currentPercentage = (this.value * PERCENT) / this.maxValue + '%';
|
|
43
43
|
const value = Math.round(this.value * 10) / 10;
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
return (h("div", { key: '4f8f013a605075bc3e1cafb9edd41a31fc4bcb4b', role: "progressbar", class: classList, "aria-label": "%", "aria-valuemin": "0", "aria-valuemax": this.maxValue, "aria-valuenow": this.value, style: { '--percentage': currentPercentage } }, this.renderPrefix(), h("span", { key: 'a2b0076dbab6c11ee7410f7637d18b5d34077ceb', class: "value" }, abbreviate(value), h("span", { key: '18c06765eae7ac95347cef0dfd9cabf12f4f2c62', class: "suffix" }, this.suffix))));
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
CircularProgress.style = circularProgressCss();
|
|
@@ -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) {
|