@limetech/lime-elements 40.6.0 → 40.6.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 +7 -0
- package/dist/cjs/{adapt-color-contrast-Beo1IEl_.js → adapt-color-contrast-h6iwOfZd.js} +1 -1
- package/dist/cjs/{checkbox.template-BPk8WkQF.js → checkbox.template-CoNVC4Nf.js} +2 -2
- package/dist/cjs/{files-DI4jItxi.js → files-DpGigQ8k.js} +1 -1
- package/dist/cjs/{format-bytes-CpUKKU86.js → format-bytes-WTHVI718.js} +1 -4
- package/dist/cjs/{hotkeys-BtR8uxvl.js → hotkeys-D761KWnZ.js} +1 -0
- package/dist/cjs/{image-resize-CG2fitJT.js → image-resize-JlRLB97I.js} +1 -0
- package/dist/cjs/{image.template-DY7qwbuy.js → image.template-DlF-f23b.js} +1 -1
- package/dist/cjs/{index--B6-r0uo.js → index-BlsqxTB1.js} +1 -7
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{isArrayLikeObject-U2Ddbw4n.js → isArrayLikeObject-BhSkOTkw.js} +17 -0
- package/dist/cjs/{language-CaqPKPyW.js → language-v-MMS6ym.js} +1 -1
- package/dist/cjs/lime-elements.cjs.js +2 -2
- package/dist/cjs/limel-3d-hover-effect-glow.cjs.entry.js +2 -2
- package/dist/cjs/limel-action-bar_3.cjs.entry.js +20 -18
- package/dist/cjs/limel-ai-avatar.cjs.entry.js +5 -5
- package/dist/cjs/limel-badge.cjs.entry.js +3 -3
- package/dist/cjs/limel-banner.cjs.entry.js +2 -2
- package/dist/cjs/limel-breadcrumbs_6.cjs.entry.js +80 -80
- package/dist/cjs/limel-button-group.cjs.entry.js +3 -3
- package/dist/cjs/limel-button.cjs.entry.js +4 -4
- package/dist/cjs/limel-callout.cjs.entry.js +6 -6
- package/dist/cjs/limel-card.cjs.entry.js +8 -7
- package/dist/cjs/limel-chart.cjs.entry.js +5 -5
- package/dist/cjs/limel-checkbox.cjs.entry.js +12 -10
- package/dist/cjs/limel-chip-set.cjs.entry.js +30 -39
- package/dist/cjs/limel-chip_2.cjs.entry.js +9 -9
- package/dist/cjs/limel-circular-progress.cjs.entry.js +2 -2
- package/dist/cjs/limel-code-diff.cjs.entry.js +25 -28
- package/dist/cjs/limel-code-editor.cjs.entry.js +17 -12
- package/dist/cjs/limel-collapsible-section.cjs.entry.js +8 -8
- package/dist/cjs/limel-color-picker-palette.cjs.entry.js +3 -3
- package/dist/cjs/limel-color-picker.cjs.entry.js +6 -5
- package/dist/cjs/limel-config.cjs.entry.js +3 -3
- package/dist/cjs/limel-date-picker.cjs.entry.js +8 -11
- package/dist/cjs/limel-dialog.cjs.entry.js +6 -9
- package/dist/cjs/limel-dock-button.cjs.entry.js +6 -11
- package/dist/cjs/limel-dock.cjs.entry.js +3 -3
- package/dist/cjs/limel-drag-handle.cjs.entry.js +6 -6
- package/dist/cjs/limel-dynamic-label.cjs.entry.js +1 -1
- package/dist/cjs/limel-email-viewer.cjs.entry.js +11 -17
- package/dist/cjs/limel-file-dropzone_2.cjs.entry.js +11 -12
- package/dist/cjs/limel-file-viewer.cjs.entry.js +1098 -1146
- package/dist/cjs/limel-file.cjs.entry.js +17 -16
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +100 -94
- package/dist/cjs/limel-flex-container.cjs.entry.js +2 -2
- package/dist/cjs/limel-form.cjs.entry.js +67 -68
- package/dist/cjs/limel-grid.cjs.entry.js +2 -2
- package/dist/cjs/limel-header.cjs.entry.js +2 -2
- package/dist/cjs/limel-help-content.cjs.entry.js +2 -2
- package/dist/cjs/limel-help.cjs.entry.js +3 -3
- package/dist/cjs/limel-helper-line_3.cjs.entry.js +12 -14
- package/dist/cjs/limel-hotkey_4.cjs.entry.js +23 -23
- package/dist/cjs/limel-icon-button.cjs.entry.js +4 -4
- package/dist/cjs/limel-icon.cjs.entry.js +15 -13
- package/dist/cjs/limel-info-tile.cjs.entry.js +10 -10
- package/dist/cjs/limel-list-item.cjs.entry.js +10 -10
- package/dist/cjs/limel-markdown.cjs.entry.js +25 -22
- package/dist/cjs/limel-masonry-layout.cjs.entry.js +6 -5
- package/dist/cjs/limel-menu-item-meta.cjs.entry.js +3 -3
- package/dist/cjs/limel-pagination-jump.cjs.entry.js +17 -15
- package/dist/cjs/limel-pagination.cjs.entry.js +10 -9
- package/dist/cjs/limel-picker.cjs.entry.js +31 -29
- package/dist/cjs/limel-popover_2.cjs.entry.js +25 -21
- package/dist/cjs/limel-profile-picture.cjs.entry.js +12 -11
- package/dist/cjs/limel-progress-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/limel-progress-flow.cjs.entry.js +11 -10
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +475 -407
- package/dist/cjs/limel-radio-button-group.cjs.entry.js +2 -2
- package/dist/cjs/limel-radio-button.cjs.entry.js +3 -3
- package/dist/cjs/limel-scroller.cjs.entry.js +180 -0
- package/dist/cjs/limel-select.cjs.entry.js +17 -17
- package/dist/cjs/limel-shortcut.cjs.entry.js +1 -1
- package/dist/cjs/limel-slider.cjs.entry.js +18 -27
- package/dist/cjs/limel-snackbar.cjs.entry.js +5 -5
- package/dist/cjs/limel-split-button.cjs.entry.js +1 -1
- package/dist/cjs/limel-switch.cjs.entry.js +3 -3
- package/dist/cjs/limel-tab-bar.cjs.entry.js +66 -97
- package/dist/cjs/limel-tab-panel.cjs.entry.js +12 -9
- package/dist/cjs/limel-table.cjs.entry.js +527 -106
- package/dist/cjs/limel-text-editor-link-menu.cjs.entry.js +15 -14
- package/dist/cjs/limel-text-editor.cjs.entry.js +3 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{make-enter-clickable-NuTMC9MU.js → make-enter-clickable-BZHEWIJD.js} +19 -12
- package/dist/cjs/{markdown-exporter-9p7d3Q76.js → markdown-exporter-C-UW43FF.js} +1 -1
- package/dist/cjs/{markdown-parser-Cgv5Y9Z4.js → markdown-parser-ssDij8_l.js} +24 -22
- package/dist/cjs/{moment-CqRdiK10.js → moment-Cfsz2WF1.js} +1062 -833
- package/dist/cjs/{random-string-BTzDB2ee.js → random-string-CFCtFh5l.js} +1 -0
- package/dist/cjs/{render-list-component-5ZKWpCnM.js → render-list-component-BtAliHQp.js} +3 -5
- package/dist/cjs/{sv-BSR4W58y.js → sv-Co78RX70.js} +31 -3
- package/dist/cjs/{translations-DFFpR6AZ.js → translations-CNTWud2a.js} +5 -8
- package/dist/collection/collection-manifest.json +1 -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-item.js +8 -7
- 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 +6 -5
- 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 +2 -2
- 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 +6 -5
- package/dist/collection/components/checkbox/checkbox.js +9 -7
- package/dist/collection/components/checkbox/checkbox.template.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip-set/chip-set-input-helpers.js +18 -21
- package/dist/collection/components/chip-set/chip-set.js +7 -13
- package/dist/collection/components/circular-progress/circular-progress.js +1 -1
- package/dist/collection/components/code-diff/code-diff.js +19 -22
- package/dist/collection/components/code-diff/diff-engine.js +2 -2
- package/dist/collection/components/code-editor/code-editor.js +8 -3
- 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 +5 -4
- package/dist/collection/components/config/config.js +2 -2
- package/dist/collection/components/date-picker/date-picker.js +3 -6
- package/dist/collection/components/date-picker/flatpickr-adapter/deferred-destroy.js +4 -3
- package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js +1 -1
- package/dist/collection/components/date-picker/pickers/month-picker.js +40 -36
- package/dist/collection/components/date-picker/pickers/quarter-picker.js +35 -30
- package/dist/collection/components/date-picker/pickers/year-picker.js +16 -20
- package/dist/collection/components/dialog/dialog.js +4 -7
- package/dist/collection/components/dock/dock-button/dock-button.js +4 -9
- 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-loader.js +14 -10
- package/dist/collection/components/email-viewer/email-viewer.js +1 -1
- package/dist/collection/components/email-viewer/sanitize-email-html.js +1 -4
- package/dist/collection/components/email-viewer/split-email-address-list.js +4 -10
- package/dist/collection/components/file/file.js +11 -10
- package/dist/collection/components/file-dropzone/file-dropzone.js +1 -1
- package/dist/collection/components/file-input/file-input.js +7 -8
- package/dist/collection/components/file-viewer/file-viewer.js +12 -9
- package/dist/collection/components/flex-container/flex-container.js +1 -1
- package/dist/collection/components/form/fields/schema-field.js +1 -1
- package/dist/collection/components/form/form.js +2 -5
- package/dist/collection/components/form/form.test-schemas.js +8 -10
- package/dist/collection/components/form/templates/array-field.js +7 -9
- package/dist/collection/components/form/templates/common.js +19 -19
- package/dist/collection/components/form/templates/object-field.js +1 -1
- package/dist/collection/components/form/validation-display.js +2 -2
- package/dist/collection/components/form/validators/format.js +1 -0
- package/dist/collection/components/form/widgets/code-editor.js +6 -9
- package/dist/collection/components/form/widgets/date-picker.js +1 -3
- 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 +3 -3
- package/dist/collection/components/hotkey/hotkey.js +1 -1
- package/dist/collection/components/icon/icon.js +11 -9
- package/dist/collection/components/icon-button/icon-button.js +1 -1
- package/dist/collection/components/info-tile/info-tile.js +9 -9
- package/dist/collection/components/input-field/input-field.js +11 -11
- package/dist/collection/components/list/list-renderer.js +5 -7
- package/dist/collection/components/list/list.js +2 -2
- 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/hydrate-custom-elements.js +6 -5
- package/dist/collection/components/markdown/image-intersection-observer.js +9 -8
- package/dist/collection/components/markdown/image-markdown-plugin.js +9 -7
- package/dist/collection/components/markdown/link-markdown-plugin.js +11 -10
- package/dist/collection/components/markdown/markdown.js +6 -5
- package/dist/collection/components/markdown/remove-empty-paragraphs-plugin.js +4 -5
- package/dist/collection/components/masonry-layout/masonry-layout.js +5 -4
- package/dist/collection/components/menu/menu.js +48 -46
- package/dist/collection/components/menu-list/menu-list-renderer.js +8 -8
- package/dist/collection/components/menu-list/menu-list.js +1 -1
- package/dist/collection/components/menu-surface/menu-surface.js +6 -8
- package/dist/collection/components/notched-outline/notched-outline.js +1 -1
- package/dist/collection/components/pagination/jump/pagination-jump.js +13 -11
- package/dist/collection/components/pagination/pagination.js +5 -4
- package/dist/collection/components/picker/picker.js +25 -23
- package/dist/collection/components/popover/popover.js +13 -10
- package/dist/collection/components/popover-surface/popover-surface.js +1 -1
- package/dist/collection/components/portal/contains.js +9 -8
- package/dist/collection/components/portal/portal.js +16 -16
- package/dist/collection/components/profile-picture/profile-picture.js +4 -3
- package/dist/collection/components/progress-flow/progress-flow.js +10 -9
- 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/scroller/scroller.css +317 -0
- package/dist/collection/components/scroller/scroller.js +284 -0
- package/dist/collection/components/select/select.js +13 -11
- package/dist/collection/components/select/select.template.js +1 -3
- package/dist/collection/components/slider/get-percentage-class.js +9 -18
- package/dist/collection/components/slider/slider.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.css +7 -289
- package/dist/collection/components/tab-bar/tab-bar.js +59 -104
- package/dist/collection/components/tab-panel/tab-panel.js +11 -8
- package/dist/collection/components/table/columns.js +1 -3
- package/dist/collection/components/table/element-pool.js +1 -1
- package/dist/collection/components/table/table-selection.js +6 -5
- package/dist/collection/components/table/table.css +15 -17
- package/dist/collection/components/table/table.js +44 -39
- package/dist/collection/components/text-editor/link-menu/editor-link-menu.js +11 -10
- package/dist/collection/components/text-editor/prosemirror-adapter/menu/menu-command-utils/list-utils.js +1 -1
- package/dist/collection/components/text-editor/prosemirror-adapter/menu/menu-commands.js +6 -10
- package/dist/collection/components/text-editor/prosemirror-adapter/plugins/image/inserter.js +37 -40
- package/dist/collection/components/text-editor/prosemirror-adapter/plugins/image/node.js +2 -1
- package/dist/collection/components/text-editor/prosemirror-adapter/plugins/link/link-plugin.js +21 -20
- package/dist/collection/components/text-editor/prosemirror-adapter/plugins/menu-state-tracking-plugin.js +6 -5
- package/dist/collection/components/text-editor/prosemirror-adapter/plugins/trigger/factory-helpers/detect-trigger-removal.js +15 -14
- package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.js +40 -34
- package/dist/collection/components/text-editor/text-editor.js +1 -1
- package/dist/collection/components/text-editor/utils/metadata-utils.js +1 -1
- package/dist/collection/components/text-editor/utils/plugin-factory.js +3 -3
- package/dist/collection/components/tooltip/tooltip-content.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/global/icon-cache/factory.js +2 -3
- package/dist/collection/global/icon-cache/in-memory-icon-cache.js +2 -0
- package/dist/collection/global/translations.js +1 -3
- package/dist/collection/translations/fr.js +3 -3
- package/dist/collection/util/adapt-color-contrast.js +1 -1
- package/dist/collection/util/files.js +1 -1
- package/dist/collection/util/format-bytes.js +1 -4
- package/dist/collection/util/hotkeys.js +1 -0
- package/dist/collection/util/image-resize.js +1 -0
- package/dist/collection/util/language.js +1 -1
- package/dist/collection/util/make-enter-clickable.js +19 -12
- package/dist/collection/util/random-string.js +1 -0
- package/dist/collection/util/render-list-component.js +2 -4
- package/dist/esm/{adapt-color-contrast-Dgcw_h7C.js → adapt-color-contrast-BQoih_t0.js} +1 -1
- package/dist/esm/{checkbox.template-Cx_3u92S.js → checkbox.template-IDyv2bgn.js} +2 -2
- package/dist/esm/{files-DnkFEKoB.js → files-CKnLqPDj.js} +1 -1
- package/dist/esm/{format-bytes-u_sd2HMb.js → format-bytes-24yUSW40.js} +1 -4
- package/dist/esm/{hotkeys-BxrRWYts.js → hotkeys-DjmlD0Mw.js} +1 -0
- package/dist/esm/{image-resize-BTSG--2-.js → image-resize-Dv2HOgWN.js} +1 -0
- package/dist/esm/{image.template-wqMwmOF-.js → image.template-BGjw97m_.js} +1 -1
- package/dist/esm/{index-Bnc9lzk2.js → index-BU9IJqli.js} +1 -7
- package/dist/esm/index.js +1 -1
- package/dist/esm/{isArrayLikeObject-CJB8HbtH.js → isArrayLikeObject-tmUOLOWr.js} +17 -1
- package/dist/esm/{language-C3hECvXE.js → language-ChagAaNf.js} +1 -1
- package/dist/esm/lime-elements.js +3 -3
- package/dist/esm/limel-3d-hover-effect-glow.entry.js +2 -2
- package/dist/esm/limel-action-bar_3.entry.js +20 -18
- package/dist/esm/limel-ai-avatar.entry.js +5 -5
- package/dist/esm/limel-badge.entry.js +3 -3
- package/dist/esm/limel-banner.entry.js +2 -2
- package/dist/esm/limel-breadcrumbs_6.entry.js +80 -80
- package/dist/esm/limel-button-group.entry.js +3 -3
- package/dist/esm/limel-button.entry.js +4 -4
- package/dist/esm/limel-callout.entry.js +6 -6
- package/dist/esm/limel-card.entry.js +8 -7
- package/dist/esm/limel-chart.entry.js +5 -5
- package/dist/esm/limel-checkbox.entry.js +12 -10
- package/dist/esm/limel-chip-set.entry.js +30 -39
- package/dist/esm/limel-chip_2.entry.js +9 -9
- package/dist/esm/limel-circular-progress.entry.js +2 -2
- package/dist/esm/limel-code-diff.entry.js +25 -28
- package/dist/esm/limel-code-editor.entry.js +17 -12
- package/dist/esm/limel-collapsible-section.entry.js +8 -8
- package/dist/esm/limel-color-picker-palette.entry.js +3 -3
- package/dist/esm/limel-color-picker.entry.js +6 -5
- package/dist/esm/limel-config.entry.js +3 -3
- package/dist/esm/limel-date-picker.entry.js +8 -11
- package/dist/esm/limel-dialog.entry.js +6 -9
- package/dist/esm/limel-dock-button.entry.js +6 -11
- package/dist/esm/limel-dock.entry.js +3 -3
- package/dist/esm/limel-drag-handle.entry.js +6 -6
- package/dist/esm/limel-dynamic-label.entry.js +1 -1
- package/dist/esm/limel-email-viewer.entry.js +11 -17
- package/dist/esm/limel-file-dropzone_2.entry.js +11 -12
- package/dist/esm/limel-file-viewer.entry.js +1098 -1146
- package/dist/esm/limel-file.entry.js +17 -16
- package/dist/esm/limel-flatpickr-adapter.entry.js +100 -94
- package/dist/esm/limel-flex-container.entry.js +2 -2
- package/dist/esm/limel-form.entry.js +66 -67
- package/dist/esm/limel-grid.entry.js +2 -2
- package/dist/esm/limel-header.entry.js +2 -2
- package/dist/esm/limel-help-content.entry.js +2 -2
- package/dist/esm/limel-help.entry.js +3 -3
- package/dist/esm/limel-helper-line_3.entry.js +12 -14
- package/dist/esm/limel-hotkey_4.entry.js +23 -23
- package/dist/esm/limel-icon-button.entry.js +4 -4
- package/dist/esm/limel-icon.entry.js +15 -13
- package/dist/esm/limel-info-tile.entry.js +10 -10
- package/dist/esm/limel-list-item.entry.js +10 -10
- package/dist/esm/limel-markdown.entry.js +25 -22
- package/dist/esm/limel-masonry-layout.entry.js +6 -5
- package/dist/esm/limel-menu-item-meta.entry.js +3 -3
- package/dist/esm/limel-pagination-jump.entry.js +17 -15
- package/dist/esm/limel-pagination.entry.js +10 -9
- package/dist/esm/limel-picker.entry.js +31 -29
- package/dist/esm/limel-popover_2.entry.js +25 -21
- package/dist/esm/limel-profile-picture.entry.js +12 -11
- package/dist/esm/limel-progress-flow-item.entry.js +1 -1
- package/dist/esm/limel-progress-flow.entry.js +11 -10
- package/dist/esm/limel-prosemirror-adapter.entry.js +475 -407
- package/dist/esm/limel-radio-button-group.entry.js +2 -2
- package/dist/esm/limel-radio-button.entry.js +3 -3
- package/dist/esm/limel-scroller.entry.js +178 -0
- package/dist/esm/limel-select.entry.js +17 -17
- package/dist/esm/limel-shortcut.entry.js +1 -1
- package/dist/esm/limel-slider.entry.js +18 -27
- package/dist/esm/limel-snackbar.entry.js +5 -5
- package/dist/esm/limel-split-button.entry.js +1 -1
- package/dist/esm/limel-switch.entry.js +3 -3
- package/dist/esm/limel-tab-bar.entry.js +66 -97
- package/dist/esm/limel-tab-panel.entry.js +12 -9
- package/dist/esm/limel-table.entry.js +527 -106
- package/dist/esm/limel-text-editor-link-menu.entry.js +15 -14
- package/dist/esm/limel-text-editor.entry.js +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{make-enter-clickable-BgTwPGeH.js → make-enter-clickable-CIf8aGSd.js} +19 -12
- package/dist/esm/{markdown-exporter--3_MaqwD.js → markdown-exporter-DblYRMhY.js} +1 -1
- package/dist/esm/{markdown-parser-DCf-3dKZ.js → markdown-parser-CAPDx7i8.js} +24 -22
- package/dist/esm/{moment-DQRNe8qq.js → moment-_DadZLWp.js} +1062 -833
- package/dist/esm/{random-string-JbKhhoXs.js → random-string-BrjD-ITe.js} +1 -0
- package/dist/esm/{render-list-component-cicbMp0l.js → render-list-component-J1IzNpbv.js} +3 -5
- package/dist/esm/{sv-CY-6-yEp.js → sv-DpsDSi7k.js} +31 -3
- package/dist/esm/{translations-DMtX4tTX.js → translations-Y4i8PVc9.js} +5 -8
- package/dist/lime-elements/index.esm.js +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-3916b316.entry.js → p-03cb609e.entry.js} +1 -1
- package/dist/lime-elements/p-05038bbb.entry.js +1 -0
- package/dist/lime-elements/{p-835149c4.entry.js → p-0d6925f4.entry.js} +1 -1
- package/dist/lime-elements/p-0e13ec91.entry.js +1 -0
- package/dist/lime-elements/p-159603cf.entry.js +159 -0
- package/dist/lime-elements/p-22fd1c87.entry.js +1 -0
- package/dist/lime-elements/p-24yUSW40.js +1 -0
- package/dist/lime-elements/{p-f717cd7a.entry.js → p-271662d4.entry.js} +1 -1
- package/dist/lime-elements/{p-c2a60508.entry.js → p-29c73bdf.entry.js} +1 -1
- package/dist/lime-elements/{p-deceda00.entry.js → p-2a902e77.entry.js} +1 -1
- package/dist/lime-elements/{p-d0cec424.entry.js → p-2b033dfa.entry.js} +1 -1
- package/dist/lime-elements/{p-acba5700.entry.js → p-2b2253d4.entry.js} +1 -1
- package/dist/lime-elements/p-2e33d2a4.entry.js +1 -0
- package/dist/lime-elements/p-31226737.entry.js +13 -0
- package/dist/lime-elements/{p-36ce4fbc.entry.js → p-31f314e6.entry.js} +1 -1
- package/dist/lime-elements/p-32a050a3.entry.js +1 -0
- package/dist/lime-elements/{p-3735111e.entry.js → p-3cfe0eaf.entry.js} +1 -1
- package/dist/lime-elements/{p-fbcd99a3.entry.js → p-3d3bdf45.entry.js} +1 -1
- package/dist/lime-elements/p-440a0b43.entry.js +1 -0
- package/dist/lime-elements/p-45c39fb4.entry.js +1 -0
- package/dist/lime-elements/p-45fde7a1.entry.js +1 -0
- package/dist/lime-elements/p-48afa6b7.entry.js +1 -0
- package/dist/lime-elements/{p-f04f7c8e.entry.js → p-4a88d365.entry.js} +1 -1
- package/dist/lime-elements/p-4b75e653.entry.js +1 -0
- package/dist/lime-elements/p-4dfd1962.entry.js +67 -0
- package/dist/lime-elements/{p-5698e493.entry.js → p-4ecbc9f4.entry.js} +1 -1
- package/dist/lime-elements/p-5386c629.entry.js +1 -0
- package/dist/lime-elements/{p-2e568c56.entry.js → p-54a9f48f.entry.js} +1 -1
- package/dist/lime-elements/{p-0fba64eb.entry.js → p-5df21b25.entry.js} +2 -2
- package/dist/lime-elements/{p-408c4dcb.entry.js → p-5f5c6e7d.entry.js} +1 -1
- package/dist/lime-elements/{p-052c3bc6.entry.js → p-681cb6de.entry.js} +1 -1
- package/dist/lime-elements/p-6adc7c88.entry.js +1 -0
- package/dist/lime-elements/{p-90df3e1b.entry.js → p-6d9961f7.entry.js} +1 -1
- package/dist/lime-elements/{p-74bd0c1a.entry.js → p-7b4351f6.entry.js} +1 -1
- package/dist/lime-elements/{p-3fd7e8aa.entry.js → p-7eab1341.entry.js} +1 -1
- package/dist/lime-elements/p-80153f45.entry.js +1 -0
- package/dist/lime-elements/{p-35fa1063.entry.js → p-85318636.entry.js} +1 -1
- package/dist/lime-elements/p-8988b7e1.entry.js +1 -0
- package/dist/lime-elements/{p-4ffbfc79.entry.js → p-8ac79ef5.entry.js} +1 -1
- package/dist/lime-elements/{p-4902fb3f.entry.js → p-9218fa6a.entry.js} +1 -1
- package/dist/lime-elements/p-92669910.entry.js +1 -0
- package/dist/lime-elements/{p-38b09f87.entry.js → p-9415411e.entry.js} +1 -1
- package/dist/lime-elements/p-95ccd9e7.entry.js +1 -0
- package/dist/lime-elements/{p-cb407bef.entry.js → p-9afa4721.entry.js} +1 -1
- package/dist/lime-elements/{p-54dcf46f.entry.js → p-9c8c2fb7.entry.js} +1 -1
- package/dist/lime-elements/{p-B8hoCfhT.js → p-B3YP9GOq.js} +1 -1
- package/dist/lime-elements/{p-Dgcw_h7C.js → p-BQoih_t0.js} +1 -1
- package/dist/lime-elements/{p-Bnc9lzk2.js → p-BU9IJqli.js} +1 -1
- package/dist/lime-elements/{p-CGVVDGcv.js → p-Bkvc4sus.js} +1 -1
- package/dist/lime-elements/{p-BPzhuHcl.js → p-Bvyt2bmV.js} +1 -1
- package/dist/lime-elements/{p-BgTwPGeH.js → p-CIf8aGSd.js} +1 -1
- package/dist/lime-elements/{p-C3hECvXE.js → p-ChagAaNf.js} +1 -1
- package/dist/lime-elements/p-DTcfed02.js +3 -0
- package/dist/lime-elements/p-DWMfAkOE.js +1 -0
- package/dist/lime-elements/{p-BY85K-4J.js → p-DqQOawxc.js} +1 -1
- package/dist/lime-elements/{p-CC4Usa-Q.js → p-I0PrvthC.js} +1 -1
- package/dist/lime-elements/p-N9vxZMhe.js +1 -0
- package/dist/lime-elements/{p-DsDkl4Sy.js → p-ZDFVISfu.js} +3 -3
- package/dist/lime-elements/p-a1c69e0c.entry.js +1 -0
- package/dist/lime-elements/{p-2daf0482.entry.js → p-a1d1470c.entry.js} +1 -1
- package/dist/lime-elements/{p-cef66e53.entry.js → p-a2e6f16e.entry.js} +1 -1
- package/dist/lime-elements/p-a550ba18.entry.js +1 -0
- package/dist/lime-elements/{p-d146feda.entry.js → p-a65eb58e.entry.js} +1 -1
- package/dist/lime-elements/p-ab8021b9.entry.js +1 -0
- package/dist/lime-elements/{p-03fb2603.entry.js → p-b22b52a1.entry.js} +1 -1
- package/dist/lime-elements/p-b6c0dc91.entry.js +23 -0
- package/dist/lime-elements/{p-c2a3ca7c.entry.js → p-b6d39581.entry.js} +1 -1
- package/dist/lime-elements/{p-8475a3b8.entry.js → p-c439b68b.entry.js} +1 -1
- package/dist/lime-elements/p-d19c7a3a.entry.js +1 -0
- package/dist/lime-elements/{p-7cbf50fc.entry.js → p-d1e5dd12.entry.js} +1 -1
- package/dist/lime-elements/p-de4719a6.entry.js +1 -0
- package/dist/lime-elements/{p-b81a2728.entry.js → p-e02e2c5f.entry.js} +1 -1
- package/dist/lime-elements/{p-d351b9ae.entry.js → p-e6a34047.entry.js} +1 -1
- package/dist/lime-elements/p-eF09GxA_.js +1 -0
- package/dist/lime-elements/{p-8fa9c9ea.entry.js → p-ee719744.entry.js} +1 -1
- package/dist/lime-elements/{p-d3bd4b80.entry.js → p-f04e2897.entry.js} +3 -3
- package/dist/lime-elements/p-f3cae1e7.entry.js +1 -0
- package/dist/lime-elements/{p-8115da75.entry.js → p-f4a0b1bc.entry.js} +1 -1
- package/dist/lime-elements/{p-4855dc9b.entry.js → p-f82f72e7.entry.js} +1 -1
- package/dist/lime-elements/{p-2d84ea04.entry.js → p-f97ec7a5.entry.js} +1 -1
- package/dist/lime-elements/{p-21109d9b.entry.js → p-fdd674fc.entry.js} +1 -1
- package/dist/lime-elements/{p-459eea13.entry.js → p-fdec09e9.entry.js} +1 -1
- package/dist/lime-elements/{p-2f57c3fa.entry.js → p-fe492ff3.entry.js} +1 -1
- package/dist/lime-elements/{p-65cded0e.entry.js → p-ff1a8b2e.entry.js} +1 -1
- package/dist/types/components/chip-set/chip-set-input-helpers.d.ts +1 -1
- package/dist/types/components/pagination/jump/pagination-jump.d.ts +1 -1
- package/dist/types/components/scroller/scroller.d.ts +67 -0
- package/dist/types/components/tab-bar/tab-bar.d.ts +13 -16
- package/dist/types/components.d.ts +128 -0
- package/dist/types/global/icon-cache/factory.d.ts +2 -2
- package/dist/types/global/translations.d.ts +2 -2
- package/package.json +12 -12
- package/dist/lime-elements/p-19344984.entry.js +0 -13
- package/dist/lime-elements/p-1e93473a.entry.js +0 -1
- package/dist/lime-elements/p-20658306.entry.js +0 -1
- package/dist/lime-elements/p-26c5c6b9.entry.js +0 -1
- package/dist/lime-elements/p-452b9b01.entry.js +0 -1
- package/dist/lime-elements/p-4aae63bd.entry.js +0 -1
- package/dist/lime-elements/p-507cc8a1.entry.js +0 -159
- package/dist/lime-elements/p-531b6a64.entry.js +0 -1
- package/dist/lime-elements/p-54793c06.entry.js +0 -1
- package/dist/lime-elements/p-5d974afa.entry.js +0 -1
- package/dist/lime-elements/p-66b125f2.entry.js +0 -1
- package/dist/lime-elements/p-7e212fa7.entry.js +0 -1
- package/dist/lime-elements/p-82696d24.entry.js +0 -1
- package/dist/lime-elements/p-9ac39039.entry.js +0 -1
- package/dist/lime-elements/p-9b631363.entry.js +0 -1
- package/dist/lime-elements/p-DQJU9gzh.js +0 -1
- package/dist/lime-elements/p-DpJgXIWf.js +0 -1
- package/dist/lime-elements/p-a1de9bbe.entry.js +0 -1
- package/dist/lime-elements/p-a71f6e87.entry.js +0 -67
- package/dist/lime-elements/p-bd7b3f8e.entry.js +0 -1
- package/dist/lime-elements/p-be8610ff.entry.js +0 -1
- package/dist/lime-elements/p-c72e5007.entry.js +0 -1
- package/dist/lime-elements/p-cafec335.entry.js +0 -1
- package/dist/lime-elements/p-d6dadc61.entry.js +0 -1
- package/dist/lime-elements/p-d93b7b9f.entry.js +0 -23
- package/dist/lime-elements/p-dc9cd793.entry.js +0 -1
- package/dist/lime-elements/p-dd62042a.entry.js +0 -1
- package/dist/lime-elements/p-pk5KIdKH.js +0 -1
- package/dist/lime-elements/p-u_sd2HMb.js +0 -1
- package/dist/lime-elements/p-zo6O9LC9.js +0 -3
- /package/dist/lime-elements/{p-JbKhhoXs.js → p-BrjD-ITe.js} +0 -0
- /package/dist/lime-elements/{p-BxrRWYts.js → p-DjmlD0Mw.js} +0 -0
- /package/dist/lime-elements/{p-BTSG--2-.js → p-Dv2HOgWN.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-
|
|
2
|
-
import { c as createRandomString } from './random-string-
|
|
3
|
-
import { C as CheckboxTemplate } from './checkbox.template-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-BU9IJqli.js';
|
|
2
|
+
import { c as createRandomString } from './random-string-BrjD-ITe.js';
|
|
3
|
+
import { C as CheckboxTemplate } from './checkbox.template-IDyv2bgn.js';
|
|
4
4
|
|
|
5
5
|
const checkboxCss = () => `@charset "UTF-8";*,*:before,*:after{box-sizing:border-box}.boolean-input{--limel-boolean-input-box-size:1.25rem;--limel-boolean-input-gap-size:0.5rem;position:relative;isolation:isolate;display:flex;align-items:center;min-height:var(--limel-checkbox-min-height, 2.5rem);width:100%}.boolean-input input[type=checkbox],.boolean-input input[type=radio]{position:absolute;width:0;height:0;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0, 0, 0, 0);clip-path:inset(50%);white-space:nowrap;-webkit-appearance:none;-moz-appearance:none;appearance:none}label.boolean-input-label{min-width:var(--limel-boolean-input-box-size);min-height:var(--limel-boolean-input-box-size);padding-top:0.125rem;cursor:pointer;position:relative;width:100%;overflow-wrap:var(--limel-boolean-input-label-overflow-wrap, normal);font-size:var(--limel-theme-default-small-font-size);color:var(--limel-theme-text-primary-on-background-color);padding-left:calc(var(--limel-boolean-input-box-size) + var(--limel-boolean-input-gap-size))}.disabled:not([readonly]):not([readonly=true]) label.boolean-input-label{cursor:not-allowed;color:var(--limel-theme-text-disabled-color)}.required label.boolean-input-label:after{margin-left:0.0625rem;content:"*"}.invalid:not(.readonly) label.boolean-input-label{color:var(--limel-theme-error-text-color)}:host(limel-checkbox.hide-label) label.boolean-input-label,.hide-label label.boolean-input-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;opacity:0;width:var(--limel-boolean-input-box-size)}.box{position:absolute;pointer-events:none;transition:border-color 0.4s ease 0.2s, background-color 0.2s ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease;display:inline-block;vertical-align:middle;width:var(--limel-boolean-input-box-size);height:var(--limel-boolean-input-box-size);margin-right:var(--limel-boolean-input-gap-size);border-radius:var(--limel-boolean-input-box-border-radius);border:0.125rem solid;border-color:var(--checkbox-unchecked-border-color, rgb(var(--contrast-900)));background-color:var(--limel-checkbox-background-color, rgb(var(--contrast-300)));}.checked .box,.boolean-input>input[type=checkbox]:checked+.box,.boolean-input>input[type=radio]:checked+.box{background-color:var(--lime-primary-color, var(--limel-theme-primary-color));border-color:var(--lime-primary-color, var(--limel-theme-primary-color))}.disabled .box{opacity:0.4}.box{}.boolean-input:not(.disabled):hover .box{will-change:box-shadow;box-shadow:var(--button-shadow-hovered)}.boolean-input:not(.disabled):active .box{will-change:box-shadow;box-shadow:var(--button-shadow-pressed)}.box:before{transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);content:"";position:absolute;inset:-0.1875rem;border-radius:inherit;}.boolean-input>input[type=checkbox]:focus-visible+.box:before,.boolean-input>input[type=radio]:focus-visible+.box:before{will-change:box-shadow;box-shadow:var(--shadow-depth-8-focused)}.box:after{transition:opacity 0.2s ease, width 0.4s ease, box-shadow 0.6s cubic-bezier(0.68, -0.55, 0, 1.87), transform 0.6s cubic-bezier(0.68, -0.55, 0, 1.87);content:"";position:absolute;inset:0;margin:auto;border-radius:1rem;opacity:0;background-color:rgb(var(--color-white));}.boolean-input:not(.disabled):hover .box:after{will-change:opacity, box-shadow, transform, width}:host(limel-checkbox){--limel-boolean-input-label-overflow-wrap:var( --checkbox-label-overflow-wrap, normal );min-height:var(--limel-checkbox-min-height, 2.5rem)}.box:after{height:0.125rem;width:0.25rem}.indeterminate .box:after{opacity:1;width:calc(var(--limel-boolean-input-box-size) - 0.5rem)}.checkbox{--limel-boolean-input-box-border-radius:0.25rem}.checkbox svg.check-mark{position:absolute;z-index:1;inset:0;transform:translate3d(-0.125rem, -0.125rem, 0);width:var(--limel-boolean-input-box-size);height:var(--limel-boolean-input-box-size);padding:0.25rem;color:rgb(var(--color-white));opacity:0;stroke-width:0.1875rem;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}.checkbox svg.check-mark path{stroke-dashoffset:29.7833;stroke-dasharray:29.7833;transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1)}.checkbox{}.checkbox:not(.indeterminate)>input[type=checkbox]:checked+.box svg.check-mark{opacity:1}.checkbox:not(.indeterminate)>input[type=checkbox]:checked+.box svg.check-mark path{stroke-dashoffset:0}limel-dynamic-label{margin-top:0.375rem;margin-left:-0.25rem}:host(limel-checkbox:focus),:host(limel-checkbox:focus-visible),:host(limel-checkbox:focus-within){--limel-h-l-grid-template-rows-transition-speed:0.46s;--limel-h-l-grid-template-rows:1fr}:host(limel-checkbox){--limel-h-l-grid-template-rows-transition-speed:0.3s;--limel-h-l-grid-template-rows:0fr}:host(limel-checkbox:focus) limel-helper-line,:host(limel-checkbox:focus-visible) limel-helper-line,:host(limel-checkbox:focus-within) limel-helper-line,:host(limel-checkbox:hover) limel-helper-line{will-change:grid-template-rows}`;
|
|
6
6
|
|
|
@@ -42,10 +42,11 @@ const Checkbox = class {
|
|
|
42
42
|
this.helperTextId = createRandomString();
|
|
43
43
|
this.destroyMDCInstances = () => {
|
|
44
44
|
const input = this.getCheckboxElement();
|
|
45
|
-
if (input) {
|
|
46
|
-
|
|
47
|
-
input.indeterminate = false;
|
|
45
|
+
if (!input) {
|
|
46
|
+
return;
|
|
48
47
|
}
|
|
48
|
+
delete input.dataset['indeterminate'];
|
|
49
|
+
input.indeterminate = false;
|
|
49
50
|
};
|
|
50
51
|
this.isInvalid = () => {
|
|
51
52
|
if (this.invalid) {
|
|
@@ -96,10 +97,11 @@ const Checkbox = class {
|
|
|
96
97
|
this.shouldReinitialize = true;
|
|
97
98
|
}
|
|
98
99
|
componentDidRender() {
|
|
99
|
-
if (this.shouldReinitialize) {
|
|
100
|
-
|
|
101
|
-
this.shouldReinitialize = false;
|
|
100
|
+
if (!this.shouldReinitialize) {
|
|
101
|
+
return;
|
|
102
102
|
}
|
|
103
|
+
this.initialize();
|
|
104
|
+
this.shouldReinitialize = false;
|
|
103
105
|
}
|
|
104
106
|
connectedCallback() {
|
|
105
107
|
this.initialize();
|
|
@@ -111,7 +113,7 @@ const Checkbox = class {
|
|
|
111
113
|
this.destroyMDCInstances();
|
|
112
114
|
}
|
|
113
115
|
render() {
|
|
114
|
-
return (h(CheckboxTemplate, { key: '
|
|
116
|
+
return (h(CheckboxTemplate, { key: '3c6dfd5ba4a5b93d470b28e754c6c18dffd53c11', 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 }));
|
|
115
117
|
}
|
|
116
118
|
get limelCheckbox() { return getElement(this); }
|
|
117
119
|
static get watchers() { return {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BU9IJqli.js';
|
|
2
2
|
import { c as ARROW_LEFT, d as ARROW_RIGHT, a as ENTER, D as DELETE, B as BACKSPACE, E as ESCAPE } from './keycodes-C4_9qUMP.js';
|
|
3
|
-
import { t as
|
|
3
|
+
import { t as translations } from './translations-Y4i8PVc9.js';
|
|
4
4
|
import { a as getTarget, b as getHref } from './link-helper-5KsJICvh.js';
|
|
5
|
-
import { c as createRandomString } from './random-string-
|
|
5
|
+
import { c as createRandomString } from './random-string-BrjD-ITe.js';
|
|
6
6
|
import { i as isEqual } from './isEqual-CE83yS8T.js';
|
|
7
7
|
import { M as MDCTextField } from './component-wGVqvUmL.js';
|
|
8
|
-
import './language-
|
|
8
|
+
import './language-ChagAaNf.js';
|
|
9
9
|
import './_baseIsEqual-CyF4P8uM.js';
|
|
10
10
|
import './eq-CZ30nDJE.js';
|
|
11
11
|
import './_getTag-BiAaLWvH.js';
|
|
@@ -38,28 +38,22 @@ function handleKeyboardEvent(event) {
|
|
|
38
38
|
// If there are no chips, there is nothing to select.
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
|
-
|
|
42
|
-
const isArrowRight = event.key === ARROW_RIGHT;
|
|
43
|
-
const isEnter = event.key === ENTER;
|
|
44
|
-
const isDelete = event.key === DELETE;
|
|
45
|
-
const isBackspace = event.key === BACKSPACE;
|
|
46
|
-
const isEscape = event.key === ESCAPE;
|
|
47
|
-
if (isArrowLeft) {
|
|
41
|
+
if (event.key === ARROW_LEFT) {
|
|
48
42
|
return handleLeft(this, event);
|
|
49
43
|
}
|
|
50
|
-
if (
|
|
44
|
+
if (event.key === ARROW_RIGHT) {
|
|
51
45
|
return handleRight(this, event);
|
|
52
46
|
}
|
|
53
|
-
if (
|
|
47
|
+
if (event.key === ENTER) {
|
|
54
48
|
return handleEnter(this, event);
|
|
55
49
|
}
|
|
56
|
-
if (
|
|
50
|
+
if (event.key === DELETE) {
|
|
57
51
|
return handleDelete(this, event);
|
|
58
52
|
}
|
|
59
|
-
if (
|
|
53
|
+
if (event.key === BACKSPACE) {
|
|
60
54
|
return handleBackspace(this, event);
|
|
61
55
|
}
|
|
62
|
-
if (
|
|
56
|
+
if (event.key === ESCAPE) {
|
|
63
57
|
return handleEscape(this, event);
|
|
64
58
|
}
|
|
65
59
|
}
|
|
@@ -86,22 +80,25 @@ function handleRight(host, event) {
|
|
|
86
80
|
host.inputChipIndexSelected += 1;
|
|
87
81
|
}
|
|
88
82
|
function handleEnter(host, event) {
|
|
89
|
-
if (host.inputChipIndexSelected
|
|
90
|
-
|
|
91
|
-
host.emitInteraction(host.value[host.inputChipIndexSelected]);
|
|
83
|
+
if (host.inputChipIndexSelected === null) {
|
|
84
|
+
return;
|
|
92
85
|
}
|
|
86
|
+
event.preventDefault();
|
|
87
|
+
host.emitInteraction(host.value[host.inputChipIndexSelected]);
|
|
93
88
|
}
|
|
94
89
|
function handleEscape(host, event) {
|
|
95
|
-
if (host.inputChipIndexSelected
|
|
96
|
-
|
|
97
|
-
host.inputChipIndexSelected = null;
|
|
90
|
+
if (host.inputChipIndexSelected === null) {
|
|
91
|
+
return;
|
|
98
92
|
}
|
|
93
|
+
event.preventDefault();
|
|
94
|
+
host.inputChipIndexSelected = null;
|
|
99
95
|
}
|
|
100
96
|
function handleDelete(host, event) {
|
|
101
|
-
if (host.inputChipIndexSelected
|
|
102
|
-
|
|
103
|
-
removeChip(host);
|
|
97
|
+
if (host.inputChipIndexSelected === null) {
|
|
98
|
+
return;
|
|
104
99
|
}
|
|
100
|
+
event.preventDefault();
|
|
101
|
+
removeChip(host);
|
|
105
102
|
}
|
|
106
103
|
function handleBackspace(host, event) {
|
|
107
104
|
if (host.inputChipIndexSelected !== null) {
|
|
@@ -274,7 +271,7 @@ const ChipSet = class {
|
|
|
274
271
|
this.change.emit(newValue);
|
|
275
272
|
};
|
|
276
273
|
this.clearAllChipsLabel = () => {
|
|
277
|
-
return
|
|
274
|
+
return translations.get('chip-set.clear-all', this.language);
|
|
278
275
|
};
|
|
279
276
|
this.labelId = createRandomString();
|
|
280
277
|
this.renderChip = this.renderChip.bind(this);
|
|
@@ -373,7 +370,7 @@ const ChipSet = class {
|
|
|
373
370
|
});
|
|
374
371
|
}
|
|
375
372
|
const value = this.getValue();
|
|
376
|
-
return (h(Host, { key: '
|
|
373
|
+
return (h(Host, { key: 'd41420c02e1907dce3a05fbbe1dbc68866fa6eb2' }, h("limel-notched-outline", { key: '18bd2cdc4bf86875a839a1c508782850c3608e1c', 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: '9217477e8ff9ea83ab9b2f172b28f8eea5a3320e', slot: "content" }, this.getContentProps(), { class: classes }), this.renderContent(value))), this.renderHelperLine()));
|
|
377
374
|
}
|
|
378
375
|
getContentProps() {
|
|
379
376
|
if (this.type === 'input') {
|
|
@@ -420,10 +417,7 @@ const ChipSet = class {
|
|
|
420
417
|
if (this.invalid) {
|
|
421
418
|
return true;
|
|
422
419
|
}
|
|
423
|
-
if (!this.required) {
|
|
424
|
-
return false;
|
|
425
|
-
}
|
|
426
|
-
if (!this.blurred) {
|
|
420
|
+
if (!this.required || !this.blurred) {
|
|
427
421
|
return false;
|
|
428
422
|
}
|
|
429
423
|
return !((_a = this.value) === null || _a === void 0 ? void 0 : _a.length);
|
|
@@ -440,13 +434,10 @@ const ChipSet = class {
|
|
|
440
434
|
* and the input should not steal focus alongside it.
|
|
441
435
|
*/
|
|
442
436
|
handleTextFieldFocus(event) {
|
|
443
|
-
if (this.disabled ||
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
return;
|
|
448
|
-
}
|
|
449
|
-
if (isChipAnnotatedEvent(event)) {
|
|
437
|
+
if (this.disabled ||
|
|
438
|
+
this.readonly ||
|
|
439
|
+
this.editMode ||
|
|
440
|
+
isChipAnnotatedEvent(event)) {
|
|
450
441
|
return;
|
|
451
442
|
}
|
|
452
443
|
this.editMode = true;
|
|
@@ -565,7 +556,7 @@ const ChipSet = class {
|
|
|
565
556
|
if (this.disabled || this.readonly || !this.clearAllButton) {
|
|
566
557
|
return;
|
|
567
558
|
}
|
|
568
|
-
if (
|
|
559
|
+
if (this.value.every((chip) => chip.removable === false)) {
|
|
569
560
|
// Nothing to clear if every chip is locked.
|
|
570
561
|
return;
|
|
571
562
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
2
|
-
import { I as ImageTemplate } from './image.template-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BU9IJqli.js';
|
|
2
|
+
import { I as ImageTemplate } from './image.template-BGjw97m_.js';
|
|
3
3
|
import { g as getRel } from './link-helper-5KsJICvh.js';
|
|
4
4
|
import { g as getIconName } from './get-icon-props-CgNJbSP4.js';
|
|
5
|
-
import { m as makeEnterClickable, r as removeEnterClickable } from './make-enter-clickable-
|
|
6
|
-
import { t as
|
|
5
|
+
import { m as makeEnterClickable, r as removeEnterClickable } from './make-enter-clickable-CIf8aGSd.js';
|
|
6
|
+
import { t as translations } from './translations-Y4i8PVc9.js';
|
|
7
7
|
import { D as DELETE, B as BACKSPACE } from './keycodes-C4_9qUMP.js';
|
|
8
8
|
import { i as isEmpty } from './isEmpty-BGVZ12Ea.js';
|
|
9
|
-
import './language-
|
|
9
|
+
import './language-ChagAaNf.js';
|
|
10
10
|
import './_getTag-BiAaLWvH.js';
|
|
11
11
|
import './isObject-BJQylLSL.js';
|
|
12
12
|
import './isObjectLike-oiMYqRQ0.js';
|
|
@@ -120,7 +120,7 @@ const Chip = class {
|
|
|
120
120
|
return this.getTranslation('file-viewer.more-actions');
|
|
121
121
|
};
|
|
122
122
|
this.getTranslation = (key) => {
|
|
123
|
-
return
|
|
123
|
+
return translations.get(key, this.language);
|
|
124
124
|
};
|
|
125
125
|
this.handleActionMenuSelect = (event) => {
|
|
126
126
|
const menuItem = event.detail;
|
|
@@ -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: '9d3e6d04feadd8ce09a34eabc47d0d5648f1df6b', onClick: this.filterClickWhenDisabled }, this.link ? this.renderAsLink() : this.renderAsButton()));
|
|
148
148
|
}
|
|
149
149
|
renderPicture() {
|
|
150
150
|
var _a, _b;
|
|
@@ -248,8 +248,8 @@ const LinearProgress = class {
|
|
|
248
248
|
if (!this.isFinite(this.value)) {
|
|
249
249
|
return;
|
|
250
250
|
}
|
|
251
|
-
const loadingText =
|
|
252
|
-
const ariaLabel =
|
|
251
|
+
const loadingText = translations.get('loading', this.language);
|
|
252
|
+
const ariaLabel = translations.get('progress-bar', this.language);
|
|
253
253
|
const ariaValueNow = this.indeterminate ? undefined : this.value;
|
|
254
254
|
const ariaValueText = this.indeterminate ? loadingText : undefined;
|
|
255
255
|
return (h(Host, { role: "progressbar", "aria-label": this.accessibleLabel || ariaLabel, "aria-live": "polite", "aria-valuemin": "0", "aria-valuemax": "1", "aria-valuenow": ariaValueNow, "aria-valuetext": ariaValueText, style: { '--percentage': `${this.value * PERCENT}%` } }, h("div", { class: "progress" })));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-BU9IJqli.js';
|
|
2
2
|
import { a as abbreviate } from './format-hTrthuPP.js';
|
|
3
3
|
import './_commonjsHelpers-B85MJLTf.js';
|
|
4
4
|
|
|
@@ -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: 'c4d09437d38d219716e38e08f52cfea7b58769ff', 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: 'f30babc1921c94b3d61456ab5d2e507af145dab7', class: "value" }, abbreviate(value), h("span", { key: '0706ea08bb17d11d49218c32d3ab47e0d5ac8e89', class: "suffix" }, this.suffix))));
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
CircularProgress.style = circularProgressCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
2
|
-
import { t as
|
|
3
|
-
import './language-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BU9IJqli.js';
|
|
2
|
+
import { t as translations } from './translations-Y4i8PVc9.js';
|
|
3
|
+
import './language-ChagAaNf.js';
|
|
4
4
|
|
|
5
5
|
class Diff {
|
|
6
6
|
diff(oldStr, newStr,
|
|
@@ -802,8 +802,8 @@ function collectAndPairChanges(lines, index, rows) {
|
|
|
802
802
|
const maxPairs = Math.max(removed.length, added.length);
|
|
803
803
|
for (let j = 0; j < maxPairs; j++) {
|
|
804
804
|
rows.push({
|
|
805
|
-
left:
|
|
806
|
-
right:
|
|
805
|
+
left: removed[j],
|
|
806
|
+
right: added[j],
|
|
807
807
|
});
|
|
808
808
|
}
|
|
809
809
|
return index;
|
|
@@ -1288,10 +1288,11 @@ const CodeDiff = class {
|
|
|
1288
1288
|
(_a = this.searchInputEl) === null || _a === void 0 ? void 0 : _a.focus();
|
|
1289
1289
|
}
|
|
1290
1290
|
this.prevSearchVisible = this.searchVisible;
|
|
1291
|
-
if (this.searchTerm && this.totalSearchMatches > 0) {
|
|
1292
|
-
|
|
1293
|
-
current === null || current === void 0 ? void 0 : current.scrollIntoView({ block: 'center', behavior: 'smooth' });
|
|
1291
|
+
if (!(this.searchTerm && this.totalSearchMatches > 0)) {
|
|
1292
|
+
return;
|
|
1294
1293
|
}
|
|
1294
|
+
const current = (_b = this.host.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('.search-match--current');
|
|
1295
|
+
current === null || current === void 0 ? void 0 : current.scrollIntoView({ block: 'center', behavior: 'smooth' });
|
|
1295
1296
|
}
|
|
1296
1297
|
render() {
|
|
1297
1298
|
this.searchMatchCounter = 0;
|
|
@@ -1300,7 +1301,7 @@ const CodeDiff = class {
|
|
|
1300
1301
|
// Capture total matches after rendering completes
|
|
1301
1302
|
this.totalSearchMatches = this.searchMatchCounter;
|
|
1302
1303
|
const lineNumberWidth = this.computeLineNumberWidth();
|
|
1303
|
-
return (h(Host, { key: '
|
|
1304
|
+
return (h(Host, { key: 'd7d3296359c35867f354c7eecb42c76cf7d9c2cb', style: { '--limel-line-number-min-width': lineNumberWidth } }, this.renderHeader(), this.renderScreenReaderSummary(), this.searchVisible && this.renderSearchBar(), h("div", { key: '07b3433f319a0d39cdce53e916770fb6b477b0dd', class: "diff-body", role: "table", "aria-label": this.getTranslation('code-diff.table-label'), tabindex: "0", onKeyDown: (event) => this.handleKeyDown(event) }, diffContent), h("div", { key: 'd4073f339c20ade38f788c644a0f14d055a82099', class: "screen-reader-only", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.liveAnnouncement)));
|
|
1304
1305
|
}
|
|
1305
1306
|
watchInputs() {
|
|
1306
1307
|
this.recomputeDiff();
|
|
@@ -1371,12 +1372,13 @@ const CodeDiff = class {
|
|
|
1371
1372
|
row.classList.remove('diff-line--focused');
|
|
1372
1373
|
}
|
|
1373
1374
|
const target = rows[this.focusedRowIndex];
|
|
1374
|
-
if (target) {
|
|
1375
|
-
|
|
1376
|
-
target.classList.add('diff-line--focused');
|
|
1377
|
-
target.focus();
|
|
1378
|
-
this.announceLine(target);
|
|
1375
|
+
if (!target) {
|
|
1376
|
+
return;
|
|
1379
1377
|
}
|
|
1378
|
+
target.setAttribute('tabindex', '-1');
|
|
1379
|
+
target.classList.add('diff-line--focused');
|
|
1380
|
+
target.focus();
|
|
1381
|
+
this.announceLine(target);
|
|
1380
1382
|
}
|
|
1381
1383
|
announceLine(row) {
|
|
1382
1384
|
var _a, _b;
|
|
@@ -1433,10 +1435,11 @@ const CodeDiff = class {
|
|
|
1433
1435
|
}
|
|
1434
1436
|
toggleSearch() {
|
|
1435
1437
|
this.searchVisible = !this.searchVisible;
|
|
1436
|
-
if (
|
|
1437
|
-
|
|
1438
|
-
this.currentMatchIndex = 0;
|
|
1438
|
+
if (this.searchVisible) {
|
|
1439
|
+
return;
|
|
1439
1440
|
}
|
|
1441
|
+
this.searchTerm = '';
|
|
1442
|
+
this.currentMatchIndex = 0;
|
|
1440
1443
|
}
|
|
1441
1444
|
onSearchInput(event) {
|
|
1442
1445
|
this.searchTerm = event.detail;
|
|
@@ -1571,27 +1574,21 @@ const CodeDiff = class {
|
|
|
1571
1574
|
: undefined }, (_b = line.newLineNumber) !== null && _b !== void 0 ? _b : ''), h("span", { class: "line-indicator", role: "cell" }, indicator), h("span", { class: "line-content", role: "cell" }, this.renderContent(line))));
|
|
1572
1575
|
}
|
|
1573
1576
|
renderSplitHunkRows(hunk) {
|
|
1574
|
-
var _a, _b, _c, _d;
|
|
1575
1577
|
const splitRows = buildSplitLines(hunk.lines);
|
|
1576
1578
|
const elements = [];
|
|
1577
1579
|
let i = 0;
|
|
1580
|
+
const isContextRow = (row) => { var _a, _b; return ((_a = row.left) === null || _a === void 0 ? void 0 : _a.type) === 'context' && ((_b = row.right) === null || _b === void 0 ? void 0 : _b.type) === 'context'; };
|
|
1578
1581
|
while (i < splitRows.length) {
|
|
1579
1582
|
const row = splitRows[i];
|
|
1580
|
-
|
|
1581
|
-
if (isContext) {
|
|
1583
|
+
if (isContextRow(row)) {
|
|
1582
1584
|
elements.push(this.renderSplitRow(row));
|
|
1583
1585
|
i++;
|
|
1584
1586
|
continue;
|
|
1585
1587
|
}
|
|
1586
1588
|
// Collect consecutive changed rows
|
|
1587
1589
|
const blockRows = [];
|
|
1588
|
-
while (i < splitRows.length) {
|
|
1589
|
-
|
|
1590
|
-
const rIsContext = ((_c = r.left) === null || _c === void 0 ? void 0 : _c.type) === 'context' && ((_d = r.right) === null || _d === void 0 ? void 0 : _d.type) === 'context';
|
|
1591
|
-
if (rIsContext) {
|
|
1592
|
-
break;
|
|
1593
|
-
}
|
|
1594
|
-
blockRows.push(r);
|
|
1590
|
+
while (i < splitRows.length && !isContextRow(splitRows[i])) {
|
|
1591
|
+
blockRows.push(splitRows[i]);
|
|
1595
1592
|
i++;
|
|
1596
1593
|
}
|
|
1597
1594
|
elements.push(this.renderSplitChangeBlock(blockRows));
|
|
@@ -1706,7 +1703,7 @@ const CodeDiff = class {
|
|
|
1706
1703
|
this.liveAnnouncement = this.getTranslation('code-diff.expanded-lines-end');
|
|
1707
1704
|
}
|
|
1708
1705
|
getTranslation(key, params) {
|
|
1709
|
-
return
|
|
1706
|
+
return translations.get(key, this.translationLanguage, params);
|
|
1710
1707
|
}
|
|
1711
1708
|
get host() { return getElement(this); }
|
|
1712
1709
|
static get watchers() { return {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
2
|
-
import { c as createRandomString } from './random-string-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BU9IJqli.js';
|
|
2
|
+
import { c as createRandomString } from './random-string-BrjD-ITe.js';
|
|
3
3
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-B85MJLTf.js';
|
|
4
|
-
import { t as
|
|
5
|
-
import './language-
|
|
4
|
+
import { t as translations } from './translations-Y4i8PVc9.js';
|
|
5
|
+
import './language-ChagAaNf.js';
|
|
6
6
|
|
|
7
7
|
var codemirror$1 = {exports: {}};
|
|
8
8
|
|
|
@@ -14759,8 +14759,8 @@ const CodeEditor = class {
|
|
|
14759
14759
|
this.editor = null;
|
|
14760
14760
|
this.darkMode.removeEventListener('change', this.handleChangeDarkMode);
|
|
14761
14761
|
const editorElement = this.host.shadowRoot.querySelector('.editor');
|
|
14762
|
-
|
|
14763
|
-
for (const child of
|
|
14762
|
+
const children = editorElement === null || editorElement === void 0 ? void 0 : editorElement.childNodes;
|
|
14763
|
+
for (const child of children) {
|
|
14764
14764
|
child.remove();
|
|
14765
14765
|
}
|
|
14766
14766
|
}
|
|
@@ -14830,6 +14830,7 @@ const CodeEditor = class {
|
|
|
14830
14830
|
if (this.lint) {
|
|
14831
14831
|
gutters.push('CodeMirror-lint-markers');
|
|
14832
14832
|
if (!('jsonlint' in window)) {
|
|
14833
|
+
// eslint-disable-next-line unicorn/no-global-object-property-assignment -- CodeMirror's JSON lint addon reads the global `jsonlint`
|
|
14833
14834
|
window['jsonlint'] = jslint;
|
|
14834
14835
|
}
|
|
14835
14836
|
}
|
|
@@ -14877,7 +14878,7 @@ const CodeEditor = class {
|
|
|
14877
14878
|
'is-dark-mode': this.isDarkMode(),
|
|
14878
14879
|
'is-light-mode': !this.isDarkMode(),
|
|
14879
14880
|
};
|
|
14880
|
-
return (h(Host, { key: '
|
|
14881
|
+
return (h(Host, { key: 'd3da6ac9cbe13e78b2d45b1c17ff03769f381089' }, this.renderCopyButton(), h("limel-notched-outline", { key: 'e115d7334648538fb35f124d39adcef572928a16', 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: 'e5b274126bbd4b5606ac3ee70226646ef0dbe8c5', slot: "content", class: classList })), this.renderHelperLine()));
|
|
14881
14882
|
}
|
|
14882
14883
|
forceRedraw() {
|
|
14883
14884
|
// eslint-disable-next-line sonarjs/pseudo-random
|
|
@@ -14893,23 +14894,23 @@ const CodeEditor = class {
|
|
|
14893
14894
|
}
|
|
14894
14895
|
getButtonText() {
|
|
14895
14896
|
if (this.wasCopied === 'success') {
|
|
14896
|
-
return
|
|
14897
|
+
return translations.get('code-editor.copied', this.translationLanguage);
|
|
14897
14898
|
}
|
|
14898
14899
|
if (this.wasCopied === 'failed') {
|
|
14899
|
-
return
|
|
14900
|
+
return translations.get('code-editor.copy-failed', this.translationLanguage);
|
|
14900
14901
|
}
|
|
14901
|
-
return
|
|
14902
|
+
return translations.get('code-editor.copy', this.translationLanguage);
|
|
14902
14903
|
}
|
|
14903
14904
|
getButtonAriaLabel() {
|
|
14904
14905
|
const label = this.label ||
|
|
14905
|
-
|
|
14906
|
+
translations.get('code-editor', this.translationLanguage);
|
|
14906
14907
|
const translationKeys = {
|
|
14907
14908
|
success: 'code-editor.copied-aria-label',
|
|
14908
14909
|
failed: 'code-editor.copy-failed-aria-label',
|
|
14909
14910
|
idle: 'code-editor.copy-aria-label',
|
|
14910
14911
|
};
|
|
14911
14912
|
const key = translationKeys[this.wasCopied];
|
|
14912
|
-
return
|
|
14913
|
+
return translations.get(key, this.translationLanguage, { label });
|
|
14913
14914
|
}
|
|
14914
14915
|
get darkMode() {
|
|
14915
14916
|
return matchMedia('(prefers-color-scheme: dark)');
|
|
@@ -14943,24 +14944,28 @@ const CodeEditor = class {
|
|
|
14943
14944
|
inputField.removeAttribute('aria-describedby');
|
|
14944
14945
|
inputField.removeAttribute('aria-controls');
|
|
14945
14946
|
}
|
|
14947
|
+
// eslint-disable-next-line unicorn/prefer-toggle-attribute -- ARIA needs the value "true"; an empty value means false
|
|
14946
14948
|
if (this.required) {
|
|
14947
14949
|
inputField.setAttribute('aria-required', 'true');
|
|
14948
14950
|
}
|
|
14949
14951
|
else {
|
|
14950
14952
|
inputField.removeAttribute('aria-required');
|
|
14951
14953
|
}
|
|
14954
|
+
// eslint-disable-next-line unicorn/prefer-toggle-attribute -- ARIA needs the value "true"; an empty value means false
|
|
14952
14955
|
if (this.invalid) {
|
|
14953
14956
|
inputField.setAttribute('aria-invalid', 'true');
|
|
14954
14957
|
}
|
|
14955
14958
|
else {
|
|
14956
14959
|
inputField.removeAttribute('aria-invalid');
|
|
14957
14960
|
}
|
|
14961
|
+
// eslint-disable-next-line unicorn/prefer-toggle-attribute -- ARIA needs the value "true"; an empty value means false
|
|
14958
14962
|
if (this.disabled) {
|
|
14959
14963
|
inputField.setAttribute('aria-disabled', 'true');
|
|
14960
14964
|
}
|
|
14961
14965
|
else {
|
|
14962
14966
|
inputField.removeAttribute('aria-disabled');
|
|
14963
14967
|
}
|
|
14968
|
+
// eslint-disable-next-line unicorn/prefer-toggle-attribute -- ARIA needs the value "true"; an empty value means false
|
|
14964
14969
|
if (this.readonly || this.disabled) {
|
|
14965
14970
|
inputField.setAttribute('aria-readonly', 'true');
|
|
14966
14971
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-BU9IJqli.js';
|
|
2
2
|
import { d as dispatchResizeEvent } from './dispatch-resize-event-z_E3sq3p.js';
|
|
3
|
-
import { m as makeEnterClickable, r as removeEnterClickable } from './make-enter-clickable-
|
|
4
|
-
import { c as createRandomString } from './random-string-
|
|
3
|
+
import { m as makeEnterClickable, r as removeEnterClickable } from './make-enter-clickable-CIf8aGSd.js';
|
|
4
|
+
import { c as createRandomString } from './random-string-BrjD-ITe.js';
|
|
5
5
|
import { b as getIconColor, d as getIconTitle, g as getIconName } from './get-icon-props-CgNJbSP4.js';
|
|
6
|
-
import { t as
|
|
7
|
-
import './language-
|
|
6
|
+
import { t as translations } from './translations-Y4i8PVc9.js';
|
|
7
|
+
import './language-ChagAaNf.js';
|
|
8
8
|
|
|
9
9
|
const collapsibleSectionCss = () => `@charset "UTF-8";.expand-icon{position:relative;display:flex;align-items:center;justify-content:center;height:1.875rem;margin:0 0 0 0.5rem;width:0.75rem;flex-shrink:0}.line{position:absolute;inset:auto;margin:auto;width:100%;border-radius:1rem;height:0.125rem}.line:first-of-type,.line:last-of-type{transition:opacity 0.2s ease 0.1s, transform 0.4s ease 0.3s;opacity:0;background-color:var(--header-stroke-color, rgb(var(--contrast-900)))}.line:nth-of-type(2){transform:translate3d(0, 0.25rem, 0) rotate(90deg)}.line:nth-of-type(3){transform:translate3d(0, -0.25rem, 0) rotate(-90deg)}.line:nth-of-type(2),.line:nth-of-type(3){transition:opacity 0.2s ease, transform 0.18s ease}.line:nth-of-type(2):before,.line:nth-of-type(2):after,.line:nth-of-type(3):before,.line:nth-of-type(3):after{content:"";position:absolute;inset:0;margin:auto;width:50%;height:100%;border-radius:inherit;background-color:var(--header-stroke-color, rgb(var(--contrast-900)))}.line:nth-of-type(2):before,.line:nth-of-type(3):before{transform:translate3d(0, -0.1rem, 0) rotate(45deg)}.line:nth-of-type(2):after,.line:nth-of-type(3):after{transform:translate3d(0, 0.1rem, 0) rotate(-45deg)}.open-close-toggle:hover+.expand-icon .line:first-of-type,.open-close-toggle:hover+.expand-icon .line:last-of-type,.open-close-toggle:focus-visible+.expand-icon .line:first-of-type,.open-close-toggle:focus-visible+.expand-icon .line:last-of-type{transition:opacity 0.8s ease 0.4s, transform 0.4s ease 0.3s;opacity:1}.open-close-toggle:hover+.expand-icon .line:first-of-type,.open-close-toggle:focus-visible+.expand-icon .line:first-of-type{transform:rotate3d(0, 0, 1, 0deg)}.open-close-toggle:hover+.expand-icon .line:last-of-type,.open-close-toggle:focus-visible+.expand-icon .line:last-of-type{transform:rotate3d(0, 0, 1, 0deg)}.open-close-toggle:hover+.expand-icon .line:nth-of-type(2),.open-close-toggle:hover+.expand-icon .line:nth-of-type(3),.open-close-toggle:focus-visible+.expand-icon .line:nth-of-type(2),.open-close-toggle:focus-visible+.expand-icon .line:nth-of-type(3){transition:opacity 0.5s ease 0.4s, transform 0.7s cubic-bezier(0.85, 0.11, 0.14, 1.35) 0.2s}.open-close-toggle:hover+.expand-icon .line:nth-of-type(2),.open-close-toggle:focus-visible+.expand-icon .line:nth-of-type(2){transform:translate3d(0, 0.5rem, 0) rotate(90deg);opacity:0.4}.open-close-toggle:hover+.expand-icon .line:nth-of-type(3),.open-close-toggle:focus-visible+.expand-icon .line:nth-of-type(3){transform:translate3d(0, -0.5rem, 0) rotate(-90deg);opacity:0.4}section.open .line:first-of-type,section.open .line:last-of-type{transition:opacity 0.2s ease 0.1s, transform 0.4s ease 0.3s;opacity:1}section.open .line:first-of-type{transform:rotate3d(0, 0, 1, 0deg)}section.open .line:last-of-type{transform:rotate3d(0, 0, 1, 0deg)}section.open .line:nth-of-type(2),section.open .line:nth-of-type(3){transition:opacity 1s ease, transform 0.4s ease}section.open .line:nth-of-type(2){transform:translate3d(0, 1rem, 0) rotate(90deg);opacity:0}section.open .line:nth-of-type(3){transform:translate3d(0, -1rem, 0) rotate(-90deg);opacity:0}section.open .open-close-toggle:hover+.expand-icon .line:first-of-type,section.open .open-close-toggle:hover+.expand-icon .line:last-of-type,section.open .open-close-toggle:focus-visible+.expand-icon .line:first-of-type,section.open .open-close-toggle:focus-visible+.expand-icon .line:last-of-type{transition:opacity 0.2s ease 0.4s, transform 0.4s cubic-bezier(0.85, 0.11, 0.14, 1.35) 0.2s}section.open .open-close-toggle:hover+.expand-icon .line:first-of-type,section.open .open-close-toggle:focus-visible+.expand-icon .line:first-of-type{transform:rotate3d(0, 0, 1, 45deg)}section.open .open-close-toggle:hover+.expand-icon .line:last-of-type,section.open .open-close-toggle:focus-visible+.expand-icon .line:last-of-type{transform:rotate3d(0, 0, 1, -45deg)}section.open .open-close-toggle:hover+.expand-icon .line:nth-of-type(2),section.open .open-close-toggle:focus-visible+.expand-icon .line:nth-of-type(2){transform:translate3d(0, 1rem, 0) rotate(90deg);opacity:0}section.open .open-close-toggle:hover+.expand-icon .line:nth-of-type(3),section.open .open-close-toggle:focus-visible+.expand-icon .line:nth-of-type(3){transform:translate3d(0, -1rem, 0) rotate(-90deg);opacity:0}:host(limel-collapsible-section){--border-radius-of-header:0.75rem;display:block}:host([hidden]){display:none}button.open-close-toggle{appearance:none;background:none;border:none;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;position:absolute;inset:0;width:100%}button.open-close-toggle:focus{outline:none}button.open-close-toggle:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}button.open-close-toggle{transition:background-color 0.4s ease, border-radius 0.1s ease;cursor:pointer;z-index:-1;background-color:var(--closed-header-background-color, rgb(var(--contrast-200)));border-radius:var(--border-radius-of-header)}button.open-close-toggle:hover,button.open-close-toggle:focus-visible{background-color:var(--open-header-background-color, rgb(var(--contrast-300)))}section.open button.open-close-toggle{background-color:var(--open-header-background-color, rgb(var(--contrast-100)));border-radius:var(--border-radius-of-header) var(--border-radius-of-header) var(--limel-cs-open-header-bottom-border-radius, 0) var(--limel-cs-open-header-bottom-border-radius, 0)}section.open button.open-close-toggle:hover,section.open button.open-close-toggle:focus-visible{background-color:var(--open-header-background-color, rgb(var(--contrast-300)))}.title,.divider-line,.expand-icon{pointer-events:none}section{transition:box-shadow 0.4s ease;border-radius:var(--border-radius-of-header)}section[aria-invalid]:not([aria-invalid=false]){--header-stroke-color:rgb(var(--color-red-default)) !important}section[aria-invalid]:not([aria-invalid=false]):not(.open){box-shadow:0 0 0 1px rgb(var(--color-red-default))}header{isolation:isolate;position:relative;align-items:center;display:flex;justify-content:space-between;gap:0.5rem;padding-left:0.5rem;height:2.5rem}limel-icon{width:1.5rem;flex-shrink:0}.title{font-size:1rem;font-weight:300;color:var(--limel-theme-on-surface-color);justify-self:flex-start;user-select:none;height:auto;max-height:3rem;line-height:1.2rem;display:-webkit-box;overflow:hidden;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.divider-line{transition:opacity 0.3s ease 0.3s;flex-grow:1;height:0.125rem;border-radius:1rem;background-color:var(--header-stroke-color, rgb(var(--contrast-900)));opacity:0;margin-right:0.5rem}section.open .divider-line{opacity:0.16}.actions{justify-self:flex-end;flex-shrink:0}::slotted([slot=header]){margin-right:0.5rem}.body{background-color:var(--body-background-color, var(--contrast-100));padding-left:var(--body-padding, 1.25rem);padding-right:var(--body-padding, 1.25rem);border-radius:0 0 var(--border-radius-of-header) var(--border-radius-of-header)}.body{transition:grid-template-rows var(--limel-cs-grid-template-rows-transition-speed) cubic-bezier(1, 0.09, 0, 0.89);display:grid;grid-template-rows:var(--limel-cs-grid-template-rows)}.body slot{transition:opacity var(--limel-cs-opacity-transition-speed) ease var(--limel-cs-opacity-transition-delay);display:block;overflow:hidden}:host(limel-collapsible-section:not([is-open])){--limel-cs-opacity-transition-speed:0.1s;--limel-cs-opacity-transition-delay:0s;--limel-cs-grid-template-rows-transition-speed:0.3s;--limel-cs-grid-template-rows:0fr}:host(limel-collapsible-section:not([is-open])) slot{opacity:0}:host(limel-collapsible-section[is-open]){--limel-cs-opacity-transition-speed:0.4s;--limel-cs-opacity-transition-delay:0.3s;--limel-cs-grid-template-rows-transition-speed:0.46s;--limel-cs-grid-template-rows:1fr}:host(limel-collapsible-section[is-open]) slot{opacity:1}header:hover+.body,header:has(.open-close-toggle:hover)+.body,header:has(.open-close-toggle:focus-visible)+.body{will-change:grid-template-rows}header:hover+.body slot,header:has(.open-close-toggle:hover)+.body slot,header:has(.open-close-toggle:focus-visible)+.body slot{will-change:opacity}`;
|
|
10
10
|
|
|
@@ -80,11 +80,11 @@ const CollapsibleSection = class {
|
|
|
80
80
|
this.getCollapsibleSectionAriaLabel = () => {
|
|
81
81
|
const heading = this.header ? `"${this.header}"` : ' ';
|
|
82
82
|
if (!this.isOpen) {
|
|
83
|
-
return
|
|
83
|
+
return translations.get('collapsible-section.open', this.language, {
|
|
84
84
|
header: heading,
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
|
-
return
|
|
87
|
+
return translations.get('collapsible-section.close', this.language, {
|
|
88
88
|
header: heading,
|
|
89
89
|
});
|
|
90
90
|
};
|
|
@@ -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: '807611ee422e33a8bf5c4e81420e9732dd2afae9', class: `${this.isOpen ? 'open' : ''}`, "aria-invalid": this.invalid, "aria-labelledby": this.header ? this.headingId : null }, h("header", { key: '5c443243692de265960d4059ac52611b24021488' }, h("button", { key: 'c2061fbcb7195c59f353311993cbf397327c2a7a', 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: 'faf8794a7422a1e3b073bd823c716cb6bc0d4985', class: "divider-line", role: "presentation" }), this.renderHeaderSlot(), this.renderActions()), h("div", { key: '3011e5ef7625cca66d4d12187f71c4cb2c102ae1', class: "body", inert: !this.isOpen, "aria-hidden": String(!this.isOpen), id: this.bodyId, role: "region" }, h("slot", { key: '6a4495b89228c1333ed782f6c9fe4af1fe59ba34' }))));
|
|
102
102
|
}
|
|
103
103
|
renderHeaderSlot() {
|
|
104
104
|
return h("slot", { name: "header" });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-BU9IJqli.js';
|
|
2
2
|
|
|
3
3
|
const colors = [
|
|
4
4
|
'red',
|
|
@@ -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: 'd1aa9d71db15ffd1dcdf9d9ee02fc32994823da1', 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: '672f283279af600b1d916117758881e06c50c262', class: "chosen-color-name" }, h("limel-input-field", { key: '2ff6619dc30e22e6702e6f62f1c37e2ae7fb6c73', 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: '627939eb427bab51bb79f427deedcffb4ff3b436', class: "chosen-color-preview", style: background })),
|
|
108
108
|
];
|
|
109
109
|
}
|
|
110
110
|
getPalette() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-BU9IJqli.js';
|
|
2
2
|
|
|
3
3
|
const colorPickerCss = () => `@charset "UTF-8";.picker-trigger[style="--background:lime-magenta;"]:after,.chosen-color-preview[style="--background:lime-magenta;"]:after{background-color:var(--lime-magenta)}.picker-trigger[style="--background:lime-blue;"]:after,.chosen-color-preview[style="--background:lime-blue;"]:after{background-color:var(--lime-blue)}.picker-trigger[style="--background:lime-orange;"]:after,.chosen-color-preview[style="--background:lime-orange;"]:after{background-color:var(--lime-orange)}.picker-trigger[style="--background:lime-green;"]:after,.chosen-color-preview[style="--background:lime-green;"]:after{background-color:var(--lime-green)}.picker-trigger[style="--background:lime-red;"]:after,.chosen-color-preview[style="--background:lime-red;"]:after{background-color:var(--lime-red)}.picker-trigger[style="--background:lime-dark-blue;"]:after,.chosen-color-preview[style="--background:lime-dark-blue;"]:after{background-color:var(--lime-dark-blue)}.picker-trigger[style="--background:lime-turquoise;"]:after,.chosen-color-preview[style="--background:lime-turquoise;"]:after{background-color:var(--lime-turquoise)}.picker-trigger[style="--background:lime-yellow;"]:after,.chosen-color-preview[style="--background:lime-yellow;"]:after{background-color:var(--lime-yellow)}.picker-trigger[style="--background:lime-light-grey;"]:after,.chosen-color-preview[style="--background:lime-light-grey;"]:after{background-color:var(--lime-light-grey)}:host(limel-color-picker){display:grid;gap:0.25rem;grid-template-columns:auto 1fr}button[slot=trigger]{appearance:none;background:none;border:none;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;box-sizing:border-box;position:relative;isolation:isolate;width:2.5rem;height:2.5rem;border-radius:0.5rem}button[slot=trigger]:not([disabled]):not([disabled=true]){transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);cursor:pointer;color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-normal)}button[slot=trigger]:not([disabled]):not([disabled=true]):hover,button[slot=trigger]:not([disabled]):not([disabled=true]):focus,button[slot=trigger]:not([disabled]):not([disabled=true]):focus-visible{will-change:color, background-color, box-shadow, transform}button[slot=trigger]:not([disabled]):not([disabled=true]):hover,button[slot=trigger]:not([disabled]):not([disabled=true]):focus-visible{transform:translate3d(0, -0.04rem, 0);color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-hovered)}button[slot=trigger]:not([disabled]):not([disabled=true]):active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);box-shadow:var(--button-shadow-pressed)}button[slot=trigger]:not([disabled]):not([disabled=true]):hover,button[slot=trigger]:not([disabled]):not([disabled=true]):active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}button[slot=trigger]:not([disabled]):not([disabled=true]):focus{outline:none}button[slot=trigger]:not([disabled]):not([disabled=true]):focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}button[slot=trigger]:before,button[slot=trigger]:after{content:"";position:absolute;inset:0;border-radius:inherit}button[slot=trigger]:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%208%208'%20style='fill-rule:evenodd;'%3E%3Cpath%20fill='rgba(186,186,192,0.16)'%20d='M0%200h4v4H0zM4%204h4v4H4z'/%3E%3C/svg%3E");background-size:0.5rem;z-index:0}button[slot=trigger]:after{z-index:1;box-shadow:0 0 0 0.25rem rgb(var(--contrast-100)) inset;background:var(--background)}:host([readonly]:not([readonly=false])) limel-input-field{transform:translateX(calc(2.5rem / 4 * -1)) translateY(calc(2.5rem / 4))}:host([readonly]:not([readonly=false])) button[slot=trigger],:host([disabled]:not([disabled=false])) button[slot=trigger]{border:1px solid rgba(var(--contrast-700), 0.65)}`;
|
|
4
4
|
|
|
@@ -69,13 +69,14 @@ const ColorPicker = class {
|
|
|
69
69
|
}
|
|
70
70
|
componentDidRender() {
|
|
71
71
|
var _a;
|
|
72
|
-
if (this.shouldFocus && this.isOpen) {
|
|
73
|
-
|
|
74
|
-
(_a = this.contentElement) === null || _a === void 0 ? void 0 : _a.focus();
|
|
72
|
+
if (!(this.shouldFocus && this.isOpen)) {
|
|
73
|
+
return;
|
|
75
74
|
}
|
|
75
|
+
this.shouldFocus = false;
|
|
76
|
+
(_a = this.contentElement) === null || _a === void 0 ? void 0 : _a.focus();
|
|
76
77
|
}
|
|
77
78
|
render() {
|
|
78
|
-
return (h(Host, { key: '
|
|
79
|
+
return (h(Host, { key: '21a178b66e44ec92e371d45c83eb92ba449252b1' }, this.renderTooltip(), this.renderPickerPalette(), h("limel-input-field", { key: '3cd84c7f4db763047cc3fdf7497a3de5290238d7', 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 })));
|
|
79
80
|
}
|
|
80
81
|
};
|
|
81
82
|
ColorPicker.style = colorPickerCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance } from './index-
|
|
1
|
+
import { r as registerInstance } from './index-BU9IJqli.js';
|
|
2
2
|
import { g as globalConfig } from './config-Dnt5w_Bp.js';
|
|
3
3
|
|
|
4
4
|
const ConfigComponent = class {
|
|
@@ -18,8 +18,8 @@ const ConfigComponent = class {
|
|
|
18
18
|
if (!this.config) {
|
|
19
19
|
return;
|
|
20
20
|
}
|
|
21
|
-
for (const key of Object.
|
|
22
|
-
globalConfig[key] =
|
|
21
|
+
for (const [key, value] of Object.entries(this.config)) {
|
|
22
|
+
globalConfig[key] = value;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
render() {
|