@limetech/lime-elements 40.2.5 → 40.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/cjs/{checkbox.template-BewtdTin.js → checkbox.template-BPk8WkQF.js} +1 -1
- package/dist/cjs/{image.template-DZC6_5a4.js → image.template-DY7qwbuy.js} +1 -1
- package/dist/cjs/{index-DYg_7kkT.js → index--B6-r0uo.js} +3 -3
- 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 +8 -8
- package/dist/cjs/limel-ai-avatar.cjs.entry.js +3 -3
- 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_8.cjs.entry.js +21 -21
- package/dist/cjs/limel-button-group.cjs.entry.js +3 -3
- package/dist/cjs/limel-button.cjs.entry.js +3 -3
- package/dist/cjs/limel-callout.cjs.entry.js +3 -3
- package/dist/cjs/limel-card.cjs.entry.js +4 -4
- package/dist/cjs/limel-chart.cjs.entry.js +3 -3
- package/dist/cjs/limel-checkbox.cjs.entry.js +4 -4
- package/dist/cjs/limel-chip-set.cjs.entry.js +8 -8
- package/dist/cjs/limel-chip_2.cjs.entry.js +6 -6
- package/dist/cjs/limel-circular-progress.cjs.entry.js +2 -2
- package/dist/cjs/limel-code-diff.cjs.entry.js +3 -3
- package/dist/cjs/limel-code-editor.cjs.entry.js +4 -4
- package/dist/cjs/limel-collapsible-section.cjs.entry.js +6 -6
- package/dist/cjs/limel-color-picker-palette.cjs.entry.js +4 -4
- package/dist/cjs/limel-color-picker.cjs.entry.js +3 -3
- package/dist/cjs/limel-config.cjs.entry.js +1 -1
- package/dist/cjs/limel-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/limel-dialog.cjs.entry.js +5 -5
- package/dist/cjs/limel-dock-button.cjs.entry.js +4 -4
- package/dist/cjs/limel-dock.cjs.entry.js +7 -7
- package/dist/cjs/limel-drag-handle.cjs.entry.js +3 -3
- package/dist/cjs/limel-dynamic-label.cjs.entry.js +1 -1
- package/dist/cjs/limel-email-viewer.cjs.entry.js +4 -4
- package/dist/cjs/limel-file-dropzone_2.cjs.entry.js +6 -6
- package/dist/cjs/limel-file-viewer.cjs.entry.js +4 -4
- package/dist/cjs/limel-file.cjs.entry.js +5 -5
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +4 -4
- package/dist/cjs/limel-flex-container.cjs.entry.js +2 -2
- package/dist/cjs/limel-form.cjs.entry.js +14 -5
- 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.cjs.entry.js +3 -3
- package/dist/cjs/limel-hotkey_4.cjs.entry.js +6 -6
- package/dist/cjs/limel-icon-button.cjs.entry.js +2 -2
- package/dist/cjs/limel-icon.cjs.entry.js +2 -2
- package/dist/cjs/limel-info-tile.cjs.entry.js +3 -3
- package/dist/cjs/limel-list-item.cjs.entry.js +7 -7
- package/dist/cjs/limel-markdown.cjs.entry.js +2 -2
- package/dist/cjs/limel-masonry-layout.cjs.entry.js +2 -2
- package/dist/cjs/limel-menu-item-meta.cjs.entry.js +2 -2
- package/dist/cjs/limel-pagination.cjs.entry.js +619 -0
- package/dist/cjs/limel-picker.cjs.entry.js +6 -6
- package/dist/cjs/limel-popover_2.cjs.entry.js +4 -4
- package/dist/cjs/limel-profile-picture.cjs.entry.js +5 -5
- package/dist/cjs/limel-progress-flow-item.cjs.entry.js +2 -2
- package/dist/cjs/limel-progress-flow.cjs.entry.js +2 -2
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +7 -7
- package/dist/cjs/limel-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/limel-radio-button.cjs.entry.js +3 -3
- package/dist/cjs/limel-select.cjs.entry.js +31 -20
- package/dist/cjs/limel-shortcut.cjs.entry.js +2 -2
- package/dist/cjs/limel-slider.cjs.entry.js +6 -6
- package/dist/cjs/limel-snackbar.cjs.entry.js +6 -6
- package/dist/cjs/limel-split-button.cjs.entry.js +4 -4
- package/dist/cjs/limel-switch.cjs.entry.js +3 -3
- package/dist/cjs/limel-tab-bar.cjs.entry.js +4 -4
- package/dist/cjs/limel-tab-panel.cjs.entry.js +3 -3
- package/dist/cjs/limel-table.cjs.entry.js +12 -12
- package/dist/cjs/limel-text-editor-link-menu.cjs.entry.js +8 -8
- package/dist/cjs/limel-text-editor.cjs.entry.js +9 -9
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{render-list-component-1GrRKk_R.js → render-list-component-5ZKWpCnM.js} +1 -1
- package/dist/cjs/{translations-ZgjCRtut.js → translations-C5T2-_rH.js} +72 -0
- 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-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/form/form.test-schemas.js +55 -0
- package/dist/collection/components/form/widgets/select.js +10 -1
- package/dist/collection/components/grid/grid.js +1 -1
- package/dist/collection/components/header/header.js +1 -1
- package/dist/collection/components/help/help-content.js +1 -1
- package/dist/collection/components/help/help.js +2 -2
- package/dist/collection/components/helper-line/helper-line.js +2 -2
- package/dist/collection/components/hotkey/hotkey.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon-button/icon-button.js +1 -1
- package/dist/collection/components/info-tile/info-tile.js +2 -2
- package/dist/collection/components/input-field/input-field.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list-item/list-item.js +2 -2
- package/dist/collection/components/list-item/menu-item-meta/menu-item-meta.js +1 -1
- package/dist/collection/components/markdown/markdown.js +1 -1
- package/dist/collection/components/masonry-layout/masonry-layout.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-list/menu-list.js +1 -1
- package/dist/collection/components/menu-surface/menu-surface.js +1 -1
- package/dist/collection/components/notched-outline/notched-outline.js +1 -1
- package/dist/collection/components/pagination/pagination.css +227 -0
- package/dist/collection/components/pagination/pagination.js +668 -0
- package/dist/collection/components/pagination/pagination.types.js +1 -0
- package/dist/collection/components/pagination/pagination.util.js +113 -0
- 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/select/select.js +29 -17
- package/dist/collection/components/shortcut/shortcut.js +1 -1
- package/dist/collection/components/slider/slider.js +3 -3
- package/dist/collection/components/snackbar/snackbar.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-button/split-button.js +2 -2
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-panel/tab-panel.js +1 -1
- package/dist/collection/components/table/table.js +2 -2
- package/dist/collection/components/text-editor/link-menu/editor-link-menu.js +3 -3
- package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.js +1 -1
- package/dist/collection/components/text-editor/text-editor.js +1 -1
- package/dist/collection/components/tooltip/tooltip-content.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/interface.js +1 -0
- package/dist/collection/translations/da.js +9 -0
- package/dist/collection/translations/de.js +9 -0
- package/dist/collection/translations/en.js +9 -0
- package/dist/collection/translations/fi.js +9 -0
- package/dist/collection/translations/fr.js +9 -0
- package/dist/collection/translations/nl.js +9 -0
- package/dist/collection/translations/no.js +9 -0
- package/dist/collection/translations/sv.js +9 -0
- package/dist/esm/{checkbox.template-LN1xNaDw.js → checkbox.template-Cx_3u92S.js} +1 -1
- package/dist/esm/{image.template-BXDvrqGw.js → image.template-wqMwmOF-.js} +1 -1
- package/dist/esm/{index-BGxJfR2f.js → index-Bnc9lzk2.js} +3 -3
- 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 +8 -8
- package/dist/esm/limel-ai-avatar.entry.js +3 -3
- package/dist/esm/limel-badge.entry.js +3 -3
- package/dist/esm/limel-banner.entry.js +2 -2
- package/dist/esm/limel-breadcrumbs_8.entry.js +21 -21
- package/dist/esm/limel-button-group.entry.js +3 -3
- package/dist/esm/limel-button.entry.js +3 -3
- package/dist/esm/limel-callout.entry.js +3 -3
- package/dist/esm/limel-card.entry.js +4 -4
- package/dist/esm/limel-chart.entry.js +3 -3
- package/dist/esm/limel-checkbox.entry.js +4 -4
- package/dist/esm/limel-chip-set.entry.js +8 -8
- package/dist/esm/limel-chip_2.entry.js +6 -6
- package/dist/esm/limel-circular-progress.entry.js +2 -2
- package/dist/esm/limel-code-diff.entry.js +3 -3
- package/dist/esm/limel-code-editor.entry.js +4 -4
- package/dist/esm/limel-collapsible-section.entry.js +6 -6
- package/dist/esm/limel-color-picker-palette.entry.js +4 -4
- package/dist/esm/limel-color-picker.entry.js +3 -3
- package/dist/esm/limel-config.entry.js +1 -1
- package/dist/esm/limel-date-picker.entry.js +2 -2
- package/dist/esm/limel-dialog.entry.js +5 -5
- package/dist/esm/limel-dock-button.entry.js +4 -4
- package/dist/esm/limel-dock.entry.js +7 -7
- package/dist/esm/limel-drag-handle.entry.js +3 -3
- package/dist/esm/limel-dynamic-label.entry.js +1 -1
- package/dist/esm/limel-email-viewer.entry.js +4 -4
- package/dist/esm/limel-file-dropzone_2.entry.js +6 -6
- package/dist/esm/limel-file-viewer.entry.js +4 -4
- package/dist/esm/limel-file.entry.js +5 -5
- package/dist/esm/limel-flatpickr-adapter.entry.js +4 -4
- package/dist/esm/limel-flex-container.entry.js +2 -2
- package/dist/esm/limel-form.entry.js +14 -5
- 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.entry.js +3 -3
- package/dist/esm/limel-hotkey_4.entry.js +6 -6
- package/dist/esm/limel-icon-button.entry.js +2 -2
- package/dist/esm/limel-icon.entry.js +2 -2
- package/dist/esm/limel-info-tile.entry.js +3 -3
- package/dist/esm/limel-list-item.entry.js +7 -7
- package/dist/esm/limel-markdown.entry.js +2 -2
- package/dist/esm/limel-masonry-layout.entry.js +2 -2
- package/dist/esm/limel-menu-item-meta.entry.js +2 -2
- package/dist/esm/limel-pagination.entry.js +617 -0
- package/dist/esm/limel-picker.entry.js +6 -6
- package/dist/esm/limel-popover_2.entry.js +4 -4
- package/dist/esm/limel-profile-picture.entry.js +5 -5
- package/dist/esm/limel-progress-flow-item.entry.js +2 -2
- package/dist/esm/limel-progress-flow.entry.js +2 -2
- package/dist/esm/limel-prosemirror-adapter.entry.js +7 -7
- package/dist/esm/limel-radio-button-group.entry.js +3 -3
- package/dist/esm/limel-radio-button.entry.js +3 -3
- package/dist/esm/limel-select.entry.js +31 -20
- package/dist/esm/limel-shortcut.entry.js +2 -2
- package/dist/esm/limel-slider.entry.js +6 -6
- package/dist/esm/limel-snackbar.entry.js +6 -6
- package/dist/esm/limel-split-button.entry.js +4 -4
- package/dist/esm/limel-switch.entry.js +3 -3
- package/dist/esm/limel-tab-bar.entry.js +4 -4
- package/dist/esm/limel-tab-panel.entry.js +3 -3
- package/dist/esm/limel-table.entry.js +12 -12
- package/dist/esm/limel-text-editor-link-menu.entry.js +8 -8
- package/dist/esm/limel-text-editor.entry.js +9 -9
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{render-list-component-CUJ2wdo4.js → render-list-component-cicbMp0l.js} +1 -1
- package/dist/esm/{translations-CPFNSfWw.js → translations-Bwm2y2E4.js} +72 -0
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-c0263530.entry.js → p-02812dc8.entry.js} +2 -2
- package/dist/lime-elements/{p-fe531211.entry.js → p-03fb2603.entry.js} +1 -1
- package/dist/lime-elements/{p-86b9f9d0.entry.js → p-052c3bc6.entry.js} +1 -1
- package/dist/lime-elements/{p-1b25f158.entry.js → p-055b11f7.entry.js} +2 -2
- package/dist/lime-elements/{p-4682ddb0.entry.js → p-1162dd39.entry.js} +1 -1
- package/dist/lime-elements/{p-12fe8fe1.entry.js → p-1a478498.entry.js} +3 -3
- package/dist/lime-elements/p-21109d9b.entry.js +1 -0
- package/dist/lime-elements/p-22f85b99.entry.js +1 -0
- package/dist/lime-elements/{p-2ad8eed9.entry.js → p-24041bbb.entry.js} +1 -1
- package/dist/lime-elements/p-2bbdac10.entry.js +1 -0
- package/dist/lime-elements/p-2d84ea04.entry.js +1 -0
- package/dist/lime-elements/{p-a1c15727.entry.js → p-35fa1063.entry.js} +1 -1
- package/dist/lime-elements/p-38b09f87.entry.js +1 -0
- package/dist/lime-elements/p-3916b316.entry.js +1 -0
- package/dist/lime-elements/p-3fd7e8aa.entry.js +1 -0
- package/dist/lime-elements/{p-de070191.entry.js → p-408c4dcb.entry.js} +1 -1
- package/dist/lime-elements/p-459eea13.entry.js +1 -0
- package/dist/lime-elements/p-48928b4f.entry.js +1 -0
- package/dist/lime-elements/p-4c65dee7.entry.js +1 -0
- package/dist/lime-elements/p-4ffbfc79.entry.js +1 -0
- package/dist/lime-elements/{p-943e708f.entry.js → p-51dc5f0b.entry.js} +1 -1
- package/dist/lime-elements/p-532ea234.entry.js +1 -0
- package/dist/lime-elements/p-54793c06.entry.js +1 -0
- package/dist/lime-elements/{p-be5cc2ae.entry.js → p-54dcf46f.entry.js} +1 -1
- package/dist/lime-elements/{p-eeb7fcb3.entry.js → p-5b371d6b.entry.js} +2 -2
- package/dist/lime-elements/p-65cded0e.entry.js +1 -0
- package/dist/lime-elements/p-66b125f2.entry.js +1 -0
- package/dist/lime-elements/{p-33ccc617.entry.js → p-6b7ff8e0.entry.js} +1 -1
- package/dist/lime-elements/{p-a579e80f.entry.js → p-6d5b23ad.entry.js} +1 -1
- package/dist/lime-elements/{p-1907a5be.entry.js → p-74bd0c1a.entry.js} +1 -1
- package/dist/lime-elements/{p-f2c8b10b.entry.js → p-7cbf50fc.entry.js} +1 -1
- package/dist/lime-elements/p-7e212fa7.entry.js +1 -0
- package/dist/lime-elements/{p-bb9b399c.entry.js → p-8115da75.entry.js} +1 -1
- package/dist/lime-elements/{p-d19ab443.entry.js → p-82696d24.entry.js} +1 -1
- package/dist/lime-elements/{p-21558be2.entry.js → p-835149c4.entry.js} +1 -1
- package/dist/lime-elements/{p-f09822a6.entry.js → p-8475a3b8.entry.js} +1 -1
- package/dist/lime-elements/{p-94191814.entry.js → p-8af3e4a1.entry.js} +2 -2
- package/dist/lime-elements/{p-25555311.entry.js → p-8fa9c9ea.entry.js} +1 -1
- package/dist/lime-elements/{p-c0a03b7c.entry.js → p-9ac39039.entry.js} +1 -1
- package/dist/lime-elements/{p-CYivp4-w.js → p-BY85K-4J.js} +1 -1
- package/dist/lime-elements/p-Bnc9lzk2.js +2 -0
- package/dist/lime-elements/p-DAFuhe5e.js +1 -0
- package/dist/lime-elements/p-DQJU9gzh.js +1 -0
- package/dist/lime-elements/p-DpJgXIWf.js +1 -0
- package/dist/lime-elements/{p-ccb77bcf.entry.js → p-a41b5ff3.entry.js} +1 -1
- package/dist/lime-elements/p-a462aeb7.entry.js +1 -0
- package/dist/lime-elements/p-ac9c5c88.entry.js +1 -0
- package/dist/lime-elements/p-b194a212.entry.js +1 -0
- package/dist/lime-elements/p-b4988a9b.entry.js +1 -0
- package/dist/lime-elements/p-b5484494.entry.js +1 -0
- package/dist/lime-elements/p-b81a2728.entry.js +1 -0
- package/dist/lime-elements/p-be8610ff.entry.js +1 -0
- package/dist/lime-elements/{p-70087de6.entry.js → p-c2a3ca7c.entry.js} +1 -1
- package/dist/lime-elements/{p-6665e14b.entry.js → p-c2a60508.entry.js} +1 -1
- package/dist/lime-elements/p-c2ff132c.entry.js +1 -0
- package/dist/lime-elements/p-c72e5007.entry.js +1 -0
- package/dist/lime-elements/{p-9c2b3cf4.entry.js → p-c823054d.entry.js} +1 -1
- package/dist/lime-elements/p-cb407bef.entry.js +1 -0
- package/dist/lime-elements/{p-7fe6a073.entry.js → p-d0cec424.entry.js} +1 -1
- package/dist/lime-elements/{p-120182f5.entry.js → p-d351b9ae.entry.js} +1 -1
- package/dist/lime-elements/{p-6acd82ce.entry.js → p-d6dadc61.entry.js} +1 -1
- package/dist/lime-elements/p-d93b7b9f.entry.js +23 -0
- package/dist/lime-elements/p-dadd2e17.entry.js +1 -0
- package/dist/lime-elements/{p-ab0c7eeb.entry.js → p-de631fc3.entry.js} +1 -1
- package/dist/lime-elements/{p-09036073.entry.js → p-e508771f.entry.js} +1 -1
- package/dist/lime-elements/{p-d79ee300.entry.js → p-f0a79cdd.entry.js} +1 -1
- package/dist/lime-elements/p-f309ceb8.entry.js +1 -0
- package/dist/lime-elements/{p-93df903a.entry.js → p-f333f12d.entry.js} +1 -1
- package/dist/lime-elements/p-f6361b03.entry.js +1 -0
- package/dist/lime-elements/p-f717cd7a.entry.js +1 -0
- package/dist/lime-elements/p-f72ee01b.entry.js +1 -0
- package/dist/lime-elements/{p-0ecf8399.entry.js → p-f81dc23a.entry.js} +1 -1
- package/dist/types/components/form/form.test-schemas.d.ts +2 -0
- package/dist/types/components/form/form.types.d.ts +5 -0
- package/dist/types/components/pagination/pagination.d.ts +288 -0
- package/dist/types/components/pagination/pagination.types.d.ts +42 -0
- package/dist/types/components/pagination/pagination.util.d.ts +38 -0
- package/dist/types/components/select/select.d.ts +9 -3
- package/dist/types/components.d.ts +155 -0
- package/dist/types/interface.d.ts +1 -0
- package/dist/types/translations/da.d.ts +9 -0
- package/dist/types/translations/de.d.ts +9 -0
- package/dist/types/translations/en.d.ts +9 -0
- package/dist/types/translations/fi.d.ts +9 -0
- package/dist/types/translations/fr.d.ts +9 -0
- package/dist/types/translations/nl.d.ts +9 -0
- package/dist/types/translations/no.d.ts +9 -0
- package/dist/types/translations/sv.d.ts +9 -0
- package/package.json +1 -1
- package/dist/lime-elements/p-057356b0.entry.js +0 -1
- package/dist/lime-elements/p-0a46959b.entry.js +0 -1
- package/dist/lime-elements/p-0c47d262.entry.js +0 -1
- package/dist/lime-elements/p-15bedc64.entry.js +0 -1
- package/dist/lime-elements/p-191efd88.entry.js +0 -1
- package/dist/lime-elements/p-20297168.entry.js +0 -1
- package/dist/lime-elements/p-24354198.entry.js +0 -1
- package/dist/lime-elements/p-26fed26a.entry.js +0 -1
- package/dist/lime-elements/p-2737cade.entry.js +0 -1
- package/dist/lime-elements/p-2b01c1f2.entry.js +0 -1
- package/dist/lime-elements/p-3b052fff.entry.js +0 -1
- package/dist/lime-elements/p-46bcdf3c.entry.js +0 -1
- package/dist/lime-elements/p-4b91d2c3.entry.js +0 -1
- package/dist/lime-elements/p-715cc741.entry.js +0 -1
- package/dist/lime-elements/p-7bfac292.entry.js +0 -1
- package/dist/lime-elements/p-8175c53a.entry.js +0 -1
- package/dist/lime-elements/p-88e40db2.entry.js +0 -1
- package/dist/lime-elements/p-946a33ea.entry.js +0 -1
- package/dist/lime-elements/p-BGxJfR2f.js +0 -2
- package/dist/lime-elements/p-DQvn9bzh.js +0 -1
- package/dist/lime-elements/p-Dhnynzqz.js +0 -1
- package/dist/lime-elements/p-Dpg0OkbJ.js +0 -1
- package/dist/lime-elements/p-abf3dce5.entry.js +0 -1
- package/dist/lime-elements/p-aee66710.entry.js +0 -1
- package/dist/lime-elements/p-b03367f0.entry.js +0 -1
- package/dist/lime-elements/p-b1fb33a2.entry.js +0 -23
- package/dist/lime-elements/p-b3274e2e.entry.js +0 -1
- package/dist/lime-elements/p-c8ce60a0.entry.js +0 -1
- package/dist/lime-elements/p-cf955cc2.entry.js +0 -1
- package/dist/lime-elements/p-d70c53ae.entry.js +0 -1
- package/dist/lime-elements/p-d873e490.entry.js +0 -1
- package/dist/lime-elements/p-dd9591a3.entry.js +0 -1
- package/dist/lime-elements/p-e3ba7e15.entry.js +0 -1
- package/dist/lime-elements/p-ea34a4bc.entry.js +0 -1
- package/dist/lime-elements/p-eecd1132.entry.js +0 -1
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How many positions are rendered at once, counting both page numbers and gap
|
|
3
|
+
* markers. Constant, so the control keeps its width as the user pages through
|
|
4
|
+
* a set — a gap and a page number take up the same room, so what matters is
|
|
5
|
+
* how many positions there are, not how many of them are numbers.
|
|
6
|
+
*/
|
|
7
|
+
export const VISIBLE_SLOTS = 7;
|
|
8
|
+
/** How many pages to keep either side of the current one. */
|
|
9
|
+
const SIBLINGS = 1;
|
|
10
|
+
const FIRST_PAGE = 1;
|
|
11
|
+
/**
|
|
12
|
+
* Build the list of positions to render for a given page count.
|
|
13
|
+
*
|
|
14
|
+
* The first and the last page are always included, so both ends of the set are
|
|
15
|
+
* always one click away. The rest of the room goes to the pages around the
|
|
16
|
+
* current one, and whatever is skipped becomes a gap.
|
|
17
|
+
*
|
|
18
|
+
* `Number.isSafeInteger` rather than `Number.isInteger`: past 2^53 arithmetic
|
|
19
|
+
* on page numbers stops being exact. The component validates these too; this
|
|
20
|
+
* guards them again because the cost of being wrong here is a wrong window
|
|
21
|
+
* during render.
|
|
22
|
+
*
|
|
23
|
+
* @param currentPage - the page the user is on, 1-based
|
|
24
|
+
* @param totalPages - how many pages there are in total
|
|
25
|
+
* @returns the positions to render, in order
|
|
26
|
+
*/
|
|
27
|
+
export function getPageSlots(currentPage, totalPages) {
|
|
28
|
+
if (!Number.isSafeInteger(totalPages) || totalPages < FIRST_PAGE) {
|
|
29
|
+
return [];
|
|
30
|
+
}
|
|
31
|
+
const pages = collectVisiblePages(clampToSet(currentPage, totalPages), totalPages);
|
|
32
|
+
return withGaps(pages);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* @param page - the page to pull into the set
|
|
36
|
+
* @param totalPages - how many pages there are in total
|
|
37
|
+
* @returns a whole page number within `1..totalPages`
|
|
38
|
+
*/
|
|
39
|
+
function clampToSet(page, totalPages) {
|
|
40
|
+
if (!Number.isSafeInteger(Math.floor(page))) {
|
|
41
|
+
return FIRST_PAGE;
|
|
42
|
+
}
|
|
43
|
+
return Math.min(Math.max(FIRST_PAGE, Math.floor(page)), totalPages);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Pick which page numbers to render, so that `withGaps` turns them into
|
|
47
|
+
* exactly `VISIBLE_SLOTS` positions.
|
|
48
|
+
*
|
|
49
|
+
* Which of the three shapes applies depends only on whether there is anything
|
|
50
|
+
* to skip on each side. With one gap there is room for six numbers, with two
|
|
51
|
+
* there is room for five, and the gaps make up the difference.
|
|
52
|
+
*
|
|
53
|
+
* @param currentPage - the page the user is on, 1-based
|
|
54
|
+
* @param totalPages - how many pages there are in total
|
|
55
|
+
* @returns the page numbers to render, ascending
|
|
56
|
+
*/
|
|
57
|
+
function collectVisiblePages(currentPage, totalPages) {
|
|
58
|
+
if (totalPages <= VISIBLE_SLOTS) {
|
|
59
|
+
return range(FIRST_PAGE, totalPages);
|
|
60
|
+
}
|
|
61
|
+
const firstSibling = Math.max(currentPage - SIBLINGS, FIRST_PAGE);
|
|
62
|
+
const lastSibling = Math.min(currentPage + SIBLINGS, totalPages);
|
|
63
|
+
if (firstSibling <= FIRST_PAGE + 1) {
|
|
64
|
+
return [...range(FIRST_PAGE, VISIBLE_SLOTS - 2), totalPages];
|
|
65
|
+
}
|
|
66
|
+
if (lastSibling >= totalPages - 1) {
|
|
67
|
+
return [
|
|
68
|
+
FIRST_PAGE,
|
|
69
|
+
...range(totalPages - (VISIBLE_SLOTS - 3), totalPages),
|
|
70
|
+
];
|
|
71
|
+
}
|
|
72
|
+
return [FIRST_PAGE, ...range(firstSibling, lastSibling), totalPages];
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* @param from - the first number, inclusive
|
|
76
|
+
* @param to - the last number, inclusive
|
|
77
|
+
* @returns every whole number between the two
|
|
78
|
+
*/
|
|
79
|
+
function range(from, to) {
|
|
80
|
+
return Array.from({ length: to - from + 1 }, (_, step) => from + step);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Insert a gap wherever the rendered page numbers are not consecutive.
|
|
84
|
+
*
|
|
85
|
+
* A gap that would hide a single page is rendered as that page instead: the
|
|
86
|
+
* marker is as wide as a page number, so it would save no room.
|
|
87
|
+
*
|
|
88
|
+
* @param pages - the page numbers to render, ascending
|
|
89
|
+
* @returns the positions to render, in order
|
|
90
|
+
*/
|
|
91
|
+
function withGaps(pages) {
|
|
92
|
+
return pages.flatMap((page, index) => {
|
|
93
|
+
const slot = { kind: 'page', page: page };
|
|
94
|
+
if (index === 0) {
|
|
95
|
+
return [slot];
|
|
96
|
+
}
|
|
97
|
+
const skipped = page - pages[index - 1] - 1;
|
|
98
|
+
if (skipped === 0) {
|
|
99
|
+
return [slot];
|
|
100
|
+
}
|
|
101
|
+
if (skipped === 1) {
|
|
102
|
+
return [{ kind: 'page', page: page - 1 }, slot];
|
|
103
|
+
}
|
|
104
|
+
return [
|
|
105
|
+
{
|
|
106
|
+
kind: 'gap',
|
|
107
|
+
from: pages[index - 1] + 1,
|
|
108
|
+
to: page - 1,
|
|
109
|
+
},
|
|
110
|
+
slot,
|
|
111
|
+
];
|
|
112
|
+
});
|
|
113
|
+
}
|
|
@@ -199,7 +199,7 @@ export class Picker {
|
|
|
199
199
|
props.maxItems = 1;
|
|
200
200
|
}
|
|
201
201
|
return [
|
|
202
|
-
h("limel-chip-set", Object.assign({ key: '
|
|
202
|
+
h("limel-chip-set", Object.assign({ key: '3596e789685aa295baf079c38f4cc4cab0fa3317', type: "input", inputType: "search", label: this.label, helperText: this.helperText, leadingIcon: this.leadingIcon, value: this.chips, disabled: this.disabled, invalid: this.invalid, delimiter: this.renderDelimiter(), readonly: this.readonly, required: this.required, searchLabel: this.searchLabel, language: this.language, onInput: this.handleTextInput, onKeyDown: this.handleInputKeyDown, onChange: this.handleChange, onInteract: this.handleInteract, onStartEdit: this.handleInputFieldFocus, onStopEdit: this.handleStopEditAndBlur, emptyInputOnBlur: false, emptyInputOnChange: false, clearAllButton: this.multiple && !this.chipSetEditMode }, props)),
|
|
203
203
|
this.renderDropdown(),
|
|
204
204
|
];
|
|
205
205
|
}
|
|
@@ -127,7 +127,7 @@ export class Popover {
|
|
|
127
127
|
render() {
|
|
128
128
|
const cssProperties = this.getCssProperties();
|
|
129
129
|
const popoverZIndex = getComputedStyle(this.host).getPropertyValue('--popover-z-index');
|
|
130
|
-
return (h("div", { key: '
|
|
130
|
+
return (h("div", { key: '096e54a6fdc88f6571884bf0a642c67f144d3bbf', class: "trigger-anchor" }, h("slot", { key: 'ddc46b8755f6463dc2320198aefc50ef759f9de4', name: "trigger", ref: this.setTriggerRef }), h("limel-portal", { key: '89cce45b2218a2a5087f30f4d524d2c1b2041de2', visible: this.open, containerId: this.portalId, containerStyle: { 'z-index': popoverZIndex }, openDirection: this.openDirection }, h("limel-popover-surface", { key: 'a1d1edfb24fdbef9109adef03f8d77e6cced87c7', contentCollection: this.host.children, style: cssProperties }))));
|
|
131
131
|
}
|
|
132
132
|
globalClickListener(event) {
|
|
133
133
|
const element = event.target;
|
|
@@ -8,7 +8,7 @@ export class PopoverSurface {
|
|
|
8
8
|
this.appendElement();
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("div", { key: '
|
|
11
|
+
return h("div", { key: 'c3f7cda21c76bdd39eba1e8e4e28503561d28a7e', class: "limel-popover-surface", tabindex: "0" });
|
|
12
12
|
}
|
|
13
13
|
appendElement() {
|
|
14
14
|
const portalContainer = this.host.shadowRoot.querySelector('.limel-popover-surface');
|
|
@@ -113,7 +113,7 @@ export class Portal {
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
render() {
|
|
116
|
-
return h("slot", { key: '
|
|
116
|
+
return h("slot", { key: '32f6da268363dd30db38fb8189ee2d6414890959' });
|
|
117
117
|
}
|
|
118
118
|
onVisible() {
|
|
119
119
|
if (!this.container && this.visible) {
|
|
@@ -37,7 +37,7 @@ export class RadioButtonGroup {
|
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return (h("limel-list", { key: '
|
|
40
|
+
return (h("limel-list", { key: '467b17f3d721555c52d871ab3f7b6a36cd70d6a6', items: this.createItems(), type: "radio", badgeIcons: this.badgeIcons, maxLinesSecondaryText: this.maxLinesSecondaryText, onChange: this.handleChange }));
|
|
41
41
|
}
|
|
42
42
|
createItems() {
|
|
43
43
|
return this.items.map((option) => {
|
|
@@ -31,12 +31,12 @@ import { Host, h } from "@stencil/core";
|
|
|
31
31
|
*/
|
|
32
32
|
export class RadioButtonComponent {
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '01f0b56a991bc0a54e4ba09e7dd4a394d87d800a', class: {
|
|
35
35
|
'boolean-input': true,
|
|
36
36
|
'radio-button': true,
|
|
37
37
|
checked: this.checked,
|
|
38
38
|
disabled: this.disabled,
|
|
39
|
-
} }, h("input", { key: '
|
|
39
|
+
} }, h("input", { key: '89371d4f79105022dc13ed8d50b9bf2004f4059a', type: "radio", id: this.id, checked: this.checked, disabled: this.disabled, onChange: this.onChange }), h("div", { key: '7e7e210a4c703f69bfca2a3c8a5487be4221f0b4', class: "box" }), h("label", { key: 'b00bd3ac42a5b8e3691d9b5e698b59752ab795f1', class: "boolean-input-label", htmlFor: this.id }, this.label)));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "limel-radio-button"; }
|
|
42
42
|
static get originalStyleUrls() {
|
|
@@ -7,6 +7,7 @@ import { isMultiple } from "../../util/multiple";
|
|
|
7
7
|
import { createRandomString } from "../../util/random-string";
|
|
8
8
|
import { findTypeaheadMatch, isTypeaheadKey, NO_TYPEAHEAD_MATCH, TypeaheadBuffer, } from "../../util/typeahead";
|
|
9
9
|
import { createMenuItems, SelectTemplate, triggerIconColorWarning, } from "./select.template";
|
|
10
|
+
import { getIconName } from "../icon/get-icon-props";
|
|
10
11
|
/**
|
|
11
12
|
* ## Keyboard
|
|
12
13
|
*
|
|
@@ -35,8 +36,8 @@ export class Select {
|
|
|
35
36
|
resetHasChanged() {
|
|
36
37
|
this.hasChanged = false;
|
|
37
38
|
}
|
|
38
|
-
|
|
39
|
-
this.
|
|
39
|
+
updateHasRichOptions() {
|
|
40
|
+
this.hasRichOptions = this.computeHasRichOptions();
|
|
40
41
|
}
|
|
41
42
|
/**
|
|
42
43
|
* `options` and `required` are the inputs that decide which rows the
|
|
@@ -76,7 +77,7 @@ export class Select {
|
|
|
76
77
|
this.multiple = false;
|
|
77
78
|
this.menuOpen = false;
|
|
78
79
|
this.hasChanged = false;
|
|
79
|
-
this.
|
|
80
|
+
this.hasRichOptions = false;
|
|
80
81
|
this.checkValid = false;
|
|
81
82
|
this.typeaheadBuffer = new TypeaheadBuffer();
|
|
82
83
|
this.handleMenuTriggerKeyDown = (event) => {
|
|
@@ -137,7 +138,7 @@ export class Select {
|
|
|
137
138
|
if (Object.hasOwn(this.host.dataset, 'native')) {
|
|
138
139
|
this.isMobileDevice = true;
|
|
139
140
|
}
|
|
140
|
-
this.
|
|
141
|
+
this.hasRichOptions = this.computeHasRichOptions();
|
|
141
142
|
}
|
|
142
143
|
componentDidLoad() {
|
|
143
144
|
this.initialize();
|
|
@@ -173,7 +174,7 @@ export class Select {
|
|
|
173
174
|
}
|
|
174
175
|
render() {
|
|
175
176
|
const dropdownZIndex = getComputedStyle(this.host).getPropertyValue('--dropdown-z-index');
|
|
176
|
-
return (h(SelectTemplate, { key: '
|
|
177
|
+
return (h(SelectTemplate, { key: '0def26ad84ac6317b6f5fa0c18bd4b66f320dff1', id: this.portalId, disabled: this.disabled || this.readonly, readonly: this.readonly, required: this.required, invalid: this.invalid, label: this.label, helperText: this.helperText, value: this.value, options: this.options, onMenuChange: this.handleMenuChange, onNativeChange: this.handleNativeChange, onTriggerKeyDown: this.handleMenuTriggerKeyDown, listRef: this.setListElement, multiple: this.multiple, isOpen: this.menuOpen, open: this.openMenu, close: this.closeMenu, checkValid: this.checkValid, native: this.shouldRenderNative(), dropdownZIndex: dropdownZIndex, anchor: this.getAnchorElement() }));
|
|
177
178
|
}
|
|
178
179
|
watchOpen(newValue, oldValue) {
|
|
179
180
|
if (this.checkValid) {
|
|
@@ -185,7 +186,9 @@ export class Select {
|
|
|
185
186
|
}
|
|
186
187
|
}
|
|
187
188
|
setMenuFocus() {
|
|
188
|
-
|
|
189
|
+
// A native `<select>` brings its own focus handling. The custom
|
|
190
|
+
// dropdown does not, so it needs this even on a mobile device.
|
|
191
|
+
if (this.shouldRenderNative()) {
|
|
189
192
|
return;
|
|
190
193
|
}
|
|
191
194
|
this.cancelPendingFocus();
|
|
@@ -332,7 +335,7 @@ export class Select {
|
|
|
332
335
|
this.menuOpen = true;
|
|
333
336
|
}
|
|
334
337
|
getFirstNativeAutoSelectOption() {
|
|
335
|
-
if (this.hasChanged || !this.
|
|
338
|
+
if (this.hasChanged || !this.shouldRenderNative()) {
|
|
336
339
|
return undefined;
|
|
337
340
|
}
|
|
338
341
|
const options = this.getOptionsExcludingSeparators();
|
|
@@ -367,10 +370,10 @@ export class Select {
|
|
|
367
370
|
* @returns whether the key was handled as typeahead
|
|
368
371
|
*/
|
|
369
372
|
handleTypeaheadKey(event, focusedIndex) {
|
|
370
|
-
// The native dropdown
|
|
371
|
-
//
|
|
372
|
-
//
|
|
373
|
-
if (this.
|
|
373
|
+
// The native dropdown does its own typeahead. Note that
|
|
374
|
+
// `setMenuFocus` bails out there too, so a pending index would never
|
|
375
|
+
// be consumed anyway.
|
|
376
|
+
if (this.shouldRenderNative() || !isTypeaheadKey(event)) {
|
|
374
377
|
return false;
|
|
375
378
|
}
|
|
376
379
|
// A space only continues an ongoing typeahead. On its own it keeps its
|
|
@@ -480,12 +483,21 @@ export class Select {
|
|
|
480
483
|
return this.options.filter((option) => !('separator' in option));
|
|
481
484
|
}
|
|
482
485
|
shouldRenderNative() {
|
|
483
|
-
return
|
|
484
|
-
!this.multiple &&
|
|
485
|
-
!this.hasPrimaryComponentMemo);
|
|
486
|
+
return this.isMobileDevice && !this.multiple && !this.hasRichOptions;
|
|
486
487
|
}
|
|
487
|
-
|
|
488
|
-
|
|
488
|
+
/**
|
|
489
|
+
* A native `<select>` can only render an option's text. Any option that
|
|
490
|
+
* carries more than that forces the custom dropdown, even on mobile.
|
|
491
|
+
*
|
|
492
|
+
* @returns `true` when at least one option cannot be rendered natively
|
|
493
|
+
*/
|
|
494
|
+
computeHasRichOptions() {
|
|
495
|
+
return this.getOptionsExcludingSeparators().some((option) => {
|
|
496
|
+
var _a;
|
|
497
|
+
return !!((_a = option.primaryComponent) === null || _a === void 0 ? void 0 : _a.name) ||
|
|
498
|
+
!!option.secondaryText ||
|
|
499
|
+
!!getIconName(option.icon);
|
|
500
|
+
});
|
|
489
501
|
}
|
|
490
502
|
static get is() { return "limel-select"; }
|
|
491
503
|
static get encapsulation() { return "shadow"; }
|
|
@@ -739,7 +751,7 @@ export class Select {
|
|
|
739
751
|
"methodName": "resetHasChanged"
|
|
740
752
|
}, {
|
|
741
753
|
"propName": "options",
|
|
742
|
-
"methodName": "
|
|
754
|
+
"methodName": "updateHasRichOptions"
|
|
743
755
|
}, {
|
|
744
756
|
"propName": "options",
|
|
745
757
|
"methodName": "resetTypeaheadOnItemsChange"
|
|
@@ -61,7 +61,7 @@ export class Shortcut {
|
|
|
61
61
|
render() {
|
|
62
62
|
var _a, _b, _c, _d, _e;
|
|
63
63
|
const rel = getRel((_a = this.link) === null || _a === void 0 ? void 0 : _a.target, (_b = this.link) === null || _b === void 0 ? void 0 : _b.rel);
|
|
64
|
-
return (h(Host, { key: '
|
|
64
|
+
return (h(Host, { key: '69f27974df1fd3fea7b9822714c0a3d59b6a7fab', onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, h("a", { key: '9f8c7b9dc8e2f27007cb46687cb7bf10314e2a8a', "aria-disabled": this.disabled, href: (_c = this.link) === null || _c === void 0 ? void 0 : _c.href, target: (_d = this.link) === null || _d === void 0 ? void 0 : _d.target, rel: rel, tabindex: "0", "aria-label": this.getAriaLabel(), title: (_e = this.link) === null || _e === void 0 ? void 0 : _e.title }, h("limel-icon", { key: '3c10a0091ad0e1549b2765ad429ed2966220246e', name: this.icon }), h("limel-3d-hover-effect-glow", { key: '17011ca6b7d73130b73b85fd30d54921bd07ec54' })), this.renderLabel(), this.renderNotification()));
|
|
65
65
|
}
|
|
66
66
|
static get is() { return "limel-shortcut"; }
|
|
67
67
|
static get encapsulation() { return "shadow"; }
|
|
@@ -270,15 +270,15 @@ export class Slider {
|
|
|
270
270
|
if (this.disabled || this.readonly) {
|
|
271
271
|
inputProps.disabled = true;
|
|
272
272
|
}
|
|
273
|
-
return (h(Host, { key: '
|
|
273
|
+
return (h(Host, { key: '47fedc34458f09ec0a67a6fc81efcd0d5aaba74e', class: this.getContainerClassList() }, h("limel-notched-outline", { key: '89c319c35f59d8dbd72a40e894fb01a8b12dc88d', labelId: this.labelId, label: this.label, required: this.required, invalid: this.invalid, disabled: this.disabled, readonly: this.readonly, hasValue: !this.isUnset, hasFloatingLabel: true }, h("div", { key: 'f4c7c2475650c2c3be4b33271fc1f23aa8d40ee5', slot: "content" }, h("div", { key: 'c3c085ead113928e85bc9ab3cbadd7e8350b4a12', class: "slider", style: { '--slider-fraction': `${fraction}` } }, h("input", Object.assign({ key: 'c1e255d94086cc3c77cec32d34a52fc06ffe77b4', type: "range", min: min, max: max, value: this.displayValue, "aria-labelledby": this.labelId, "aria-describedby": this.helperText
|
|
274
274
|
? this.helperTextId
|
|
275
275
|
: undefined, "aria-valuetext": this.isUnset
|
|
276
276
|
? translate.get('value-not-set', this.language)
|
|
277
277
|
: undefined, ref: (el) => {
|
|
278
278
|
this.inputElement = el;
|
|
279
|
-
}, onInput: this.handleInput, onChange: this.handleChange, onClick: this.handleClick }, inputProps)), h("div", { key: '
|
|
279
|
+
}, onInput: this.handleInput, onChange: this.handleChange, onClick: this.handleClick }, inputProps)), h("div", { key: 'c287ade5d57268fbf3d0a203f4f94363709dcb74', class: "track" }, h("div", { key: 'd65e20a0bd2da417a797be2501f70860cae04857', class: "active" }), this.renderStepDots(min, max)), h("div", { key: '72e6bf77fddaf64fcde86455bfddd1122a8f174c', class: "thumb" }, h("div", { key: '2066f97938cff1b20ffa0aad2e3c4803a5a2f6f9', class: "knob" }), h("div", { key: 'abd8845bf4d52faeffd1a4f25ca2068a8062bc09', class: "indicator", "aria-hidden": "true" }, this.isUnset
|
|
280
280
|
? '\u2194\uFE0E'
|
|
281
|
-
: this.displayValue))), h("div", { key: '
|
|
281
|
+
: this.displayValue))), h("div", { key: '7107d522eb4732ca8e4ae6d901a3981853f9e97b', class: "range-labels" }, h("span", { key: 'babaa35149ef70070141f5f4e49be8fc55e367a4', class: "min" }, this.multiplyByFactor(this.valuemin), this.unit), h("span", { key: '92caa840cc1ac72681f7ee3b18754a912d1d0829', class: "max" }, this.multiplyByFactor(this.valuemax), this.unit)))), this.renderClearButton(), this.renderHelperLine()));
|
|
282
282
|
}
|
|
283
283
|
watchValue() {
|
|
284
284
|
this.syncStateFromValue();
|
|
@@ -122,14 +122,14 @@ export class Snackbar {
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
render() {
|
|
125
|
-
return (h("aside", { key: '
|
|
125
|
+
return (h("aside", { key: '5612185e67dfea963fc9df340a288540f63db94e', popover: "manual", style: {
|
|
126
126
|
'--snackbar-timeout': `${Math.max(this.timeout || 0, 0)}ms`,
|
|
127
127
|
'--snackbar-distance-to-top-edge': `${this.offset}px`,
|
|
128
128
|
}, class: {
|
|
129
129
|
open: this.open,
|
|
130
130
|
'is-closing': this.closing,
|
|
131
131
|
'limel-portal--parent': true,
|
|
132
|
-
}, id: this.snackbarId, role: this.setAriaRoles(), "aria-atomic": this.open ? 'true' : undefined, "aria-relevant": this.open ? 'additions' : undefined }, h("div", { key: '
|
|
132
|
+
}, id: this.snackbarId, role: this.setAriaRoles(), "aria-atomic": this.open ? 'true' : undefined, "aria-relevant": this.open ? 'additions' : undefined }, h("div", { key: 'a6221f26df374bac45ee3e5cd4a7f6c966340a06', class: "surface" }, h("limel-markdown", { key: '2da6a24cc92319fea7dde9a79a77f9719735a669', class: "label", value: this.message }), this.renderActions(this.actionText), this.renderDismissButton(this.dismissible))));
|
|
133
133
|
}
|
|
134
134
|
setAriaRoles() {
|
|
135
135
|
if (!this.open) {
|
|
@@ -16,7 +16,7 @@ export class Spinner {
|
|
|
16
16
|
this.limeBranded = false;
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '43fdff921a3dd6637a6f452c2acc344e54cb759a' }, h("svg", { key: '7566bc8a39a74543cfbec9030220c84b5509b310', viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, this.renderSpinner())));
|
|
20
20
|
}
|
|
21
21
|
renderSpinner() {
|
|
22
22
|
if (!this.limeBranded) {
|
|
@@ -55,9 +55,9 @@ export class SplitButton {
|
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '2b103843490284b194de5dbf2c6030973889aa64', class: {
|
|
59
59
|
'has-menu': this.items.length > 0,
|
|
60
|
-
}, onClick: this.filterClickWhenDisabled }, h("limel-button", { key: '
|
|
60
|
+
}, onClick: this.filterClickWhenDisabled }, h("limel-button", { key: '3badf574bf892cb26198166405739ef3a45fac49', label: this.label, primary: this.primary, icon: this.icon, disabled: this.disabled, loading: this.loading, loadingFailed: this.loadingFailed }), this.renderMenu()));
|
|
61
61
|
}
|
|
62
62
|
static get is() { return "limel-split-button"; }
|
|
63
63
|
static get encapsulation() { return "shadow"; }
|
|
@@ -78,7 +78,7 @@ export class Switch {
|
|
|
78
78
|
removeEnterClickable(this.host);
|
|
79
79
|
}
|
|
80
80
|
render() {
|
|
81
|
-
return (h(Host, { key: '
|
|
81
|
+
return (h(Host, { key: 'ad0cfa0f9b495ba197ca27f8975d8499cfdace52' }, this.readonly
|
|
82
82
|
? this.renderReadonly()
|
|
83
83
|
: this.renderInteractive(), this.renderHelperLine()));
|
|
84
84
|
}
|
|
@@ -62,11 +62,11 @@ export class TabBar {
|
|
|
62
62
|
this.tearDown();
|
|
63
63
|
}
|
|
64
64
|
render() {
|
|
65
|
-
return (h("div", { key: '
|
|
65
|
+
return (h("div", { key: 'b0a62a521861357770e12bc6183b9590c49760e0', class: "mdc-tab-bar", role: "tablist" }, h("div", { key: '97750d5ded531aee2fca5cd1f129fee4194b8f09', class: {
|
|
66
66
|
'mdc-tab-scroller': true,
|
|
67
67
|
'can-scroll-left': this.canScrollLeft,
|
|
68
68
|
'can-scroll-right': this.canScrollRight,
|
|
69
|
-
} }, h("div", { key: '
|
|
69
|
+
} }, h("div", { key: '6547764cdcfc4f2f60e510863ede4d58d48b1b0e', class: "mdc-tab-scroller__scroll-area lime-hide-scrollbars" }, h("div", { key: 'b95453f5a1fe8b4aae7ebad439cfb795198623a8', class: "mdc-tab-scroller__scroll-content" }, this.tabs.map(this.renderTab))), h("div", { key: 'a4703fa681f371d69ab7a6994aa3457c803563bf', class: "scroll-fade left" }), h("div", { key: '6599c7035550249f81b5488deda63900363be953', class: "scroll-button left" }, h("button", { key: '09a0a7f41a8f0dfe458af7bb719aef0fb0e1b9d7', type: "button", tabindex: "-1", "aria-hidden": "true", disabled: !this.canScrollLeft, onClick: this.handleLeftScrollClick }, h("limel-icon", { key: 'dd5f4cf8562fd74148778d5414f98d4c1c949bd0', name: "angle_left" }))), h("div", { key: 'b380cf4e3679d35270453b6a8671e7de8d9a92a7', class: "scroll-fade right" }), h("div", { key: '3589c3bec4d29eee61da6bc0b293201412bd343f', class: "scroll-button right" }, h("button", { key: '8af680e4abefcf6920a602c269f9a937270d70f2', type: "button", tabindex: "-1", "aria-hidden": "true", disabled: !this.canScrollRight, onClick: this.handleRightScrollClick }, h("limel-icon", { key: 'be2dcc0f1ba494cce96eab05450ce8c9619981e0', name: "angle_right" }))))));
|
|
70
70
|
}
|
|
71
71
|
tabsChanged(newTabs = [], oldTabs = []) {
|
|
72
72
|
const newIds = newTabs.map((tab) => tab.id);
|
|
@@ -56,7 +56,7 @@ export class TabPanel {
|
|
|
56
56
|
this.tabs.forEach(this.setTabStatus);
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: 'e81003e7cb21f7d348368393b6ac6c8039510f26', onChangeTab: this.handleChangeTabs }, h("div", { key: '591a3cd5176b359ce6ce9eef69355d5084656be7', class: "tab-panel" }, h("limel-tab-bar", { key: '1097440df6c6e01693a39efe3647e9511a664887', tabs: this.tabs }), h("div", { key: 'a6c49f26996ecc40f4a5d3d70de52777438adb13', class: "tab-content" }, h("slot", { key: '192808544a1534a3799ab5a438f08cbbe1d6bd40' })))));
|
|
60
60
|
}
|
|
61
61
|
setSlotElements() {
|
|
62
62
|
const slot = this.getSlot();
|
|
@@ -748,13 +748,13 @@ export class Table {
|
|
|
748
748
|
render() {
|
|
749
749
|
var _a, _b;
|
|
750
750
|
const totalRows = (_a = this.totalRows) !== null && _a !== void 0 ? _a : this.data.length;
|
|
751
|
-
return (h(Host, { key: '
|
|
751
|
+
return (h(Host, { key: 'e357333d980fd5fc18fc129c2c348014b28dc918', class: {
|
|
752
752
|
'has-low-density': this.layout === 'lowDensity',
|
|
753
753
|
'has-pagination-on-top': this.paginationLocation === 'top',
|
|
754
754
|
'has-aggregation': this.hasAggregation(this.columns),
|
|
755
755
|
'has-pagination': totalRows > this.pageSize,
|
|
756
756
|
'has-selection': (_b = this.tableSelection) === null || _b === void 0 ? void 0 : _b.hasSelection,
|
|
757
|
-
} }, h("div", { key: '
|
|
757
|
+
} }, h("div", { key: 'ea52cca80b066fba0d94fd154f4dd2774d52e4a8', id: "tabulator-container" }, h("div", { key: '022cceaa6e0876a60f7a9304e9be5e9bf9187cb9', id: "tabulator-loader", style: { display: this.loading ? 'flex' : 'none' } }, h("limel-spinner", { key: '5ce0bb25943d34b433570c41177c78f02295f7ac', size: "large" })), this.renderEmptyMessage(), this.renderSelectAll(), h("div", { key: 'dfea37cefcf69f8b45fe1ad4dbf4686771d68d49', id: "tabulator-table" }))));
|
|
758
758
|
}
|
|
759
759
|
renderSelectAll() {
|
|
760
760
|
var _a, _b, _c;
|
|
@@ -106,9 +106,9 @@ export class TextEditorLinkMenu {
|
|
|
106
106
|
var _a, _b;
|
|
107
107
|
const isValid = this.isValid(this.link.href);
|
|
108
108
|
return [
|
|
109
|
-
h("limel-input-field", { key: '
|
|
110
|
-
h("limel-input-field", { key: '
|
|
111
|
-
h("div", { key: '
|
|
109
|
+
h("limel-input-field", { key: 'e11551d49c6d2f566326f45726c68e1bc32fdc67', label: this.getTranslation('editor-link-menu.text'), value: ((_a = this.link) === null || _a === void 0 ? void 0 : _a.text) || '', leadingIcon: "text_cursor", onChange: this.handleLinkTitleChange, onKeyDown: this.handleKeyDown }),
|
|
110
|
+
h("limel-input-field", { key: 'cd8cfa28e4413a3fb24080e017cbc4e11b044c90', label: this.getTranslation('editor-link-menu.link'), value: ((_b = this.link) === null || _b === void 0 ? void 0 : _b.href) || '', type: "text", leadingIcon: "-lime-text-link", trailingIcon: "external_link", invalid: !isValid, onChange: this.handleLinkValueChange, onAction: this.handleLinkInputAction, onKeyDown: this.handleKeyDown, ref: (el) => (this.linkInput = el) }),
|
|
111
|
+
h("div", { key: 'a0f50540649a40e82665cbea9447c9d63a7dc2ea', class: "actions" }, h("limel-button", { key: '21c01520d4cba2dada241daa01dc7d8588294548', label: this.getTranslation('cancel'), onClick: this.handleCancel }), h("limel-button", { key: 'c63cb6eb73cda6da0c2ff6a08c6bed7584fb6bab', primary: true, label: this.getTranslation('save'), disabled: !isValid, onClick: this.handleSave, ref: (el) => (this.saveButton = el), slot: "button" })),
|
|
112
112
|
];
|
|
113
113
|
}
|
|
114
114
|
static get is() { return "limel-text-editor-link-menu"; }
|
|
@@ -303,7 +303,7 @@ export class ProsemirrorAdapter {
|
|
|
303
303
|
(_e = this.view) === null || _e === void 0 ? void 0 : _e.destroy();
|
|
304
304
|
}
|
|
305
305
|
render() {
|
|
306
|
-
return (h(Host, { key: '
|
|
306
|
+
return (h(Host, { key: '19a2071a0e50b4c9e95006ae12e44ec14df7460b', onFocus: this.handleFocus }, h("div", { key: 'f1215347c7eaf79cd16c9219c124ace3ebb22fc7', id: "editor" }), this.renderToolbar(), this.renderLinkMenu()));
|
|
307
307
|
}
|
|
308
308
|
renderToolbar() {
|
|
309
309
|
if (this.actionBarItems.length === 0 || this.ui === 'no-toolbar') {
|
|
@@ -176,7 +176,7 @@ export class TextEditor {
|
|
|
176
176
|
await ((_a = this.adapterElement) === null || _a === void 0 ? void 0 : _a.clear());
|
|
177
177
|
}
|
|
178
178
|
render() {
|
|
179
|
-
return (h(Host, { key: '
|
|
179
|
+
return (h(Host, { key: '2e0b7080b8d75fc35a24a5da3bc6838da2637fc1' }, h("limel-notched-outline", { key: '2918c3a68d3ebc228ee1bbf7cced3df5278fa5cb', labelId: this.editorId, label: this.label, required: this.required, invalid: this.invalid, disabled: this.disabled, readonly: this.readonly, hasValue: !!this.value, hasFloatingLabel: true }, this.renderEditor(), this.renderPlaceholder()), this.renderHelperLine()));
|
|
180
180
|
}
|
|
181
181
|
renderEditor() {
|
|
182
182
|
if (this.readonly) {
|
|
@@ -15,7 +15,7 @@ export class TooltipContent {
|
|
|
15
15
|
const style = this.maxlength
|
|
16
16
|
? { '--tooltip-max-width-of-text': `${this.maxlength}ch` }
|
|
17
17
|
: undefined;
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: '2761aea2a0cc3ccc7796b7dab93f2375656603f4', class: { 'has-column-layout': isLabelsTextLong }, style: style }, h("div", { key: '2bfe8a9766ff7ab2b9a5211b08107b7f2f28ef7b', class: "label" }, this.label), this.renderHelperLabel(), this.renderHotkey()));
|
|
19
19
|
}
|
|
20
20
|
renderHelperLabel() {
|
|
21
21
|
if (!this.helperLabel) {
|
|
@@ -68,10 +68,10 @@ export class Tooltip {
|
|
|
68
68
|
}
|
|
69
69
|
render() {
|
|
70
70
|
const tooltipZIndex = getComputedStyle(this.host).getPropertyValue('--tooltip-z-index');
|
|
71
|
-
return (h("div", { key: '
|
|
71
|
+
return (h("div", { key: 'cdc5602abcc2911c6429e386f37c6dc1e2100cd8', class: "trigger-anchor" }, h("limel-portal", { key: 'f61db13bb5bc3657e330c7475f0c7bd2e7eb9b2f', openDirection: this.openDirection, visible: this.open, containerId: this.portalId, containerStyle: {
|
|
72
72
|
'z-index': tooltipZIndex,
|
|
73
73
|
'pointer-events': 'none',
|
|
74
|
-
}, anchor: this.ownerElement }, h("limel-tooltip-content", { key: '
|
|
74
|
+
}, anchor: this.ownerElement }, h("limel-tooltip-content", { key: 'f9acf5955b68639c3b56fba75977ddd783e97cd0', label: this.label, helperLabel: this.helperLabel, hotkey: this.hotkey, maxlength: this.maxlength, role: "tooltip", "aria-hidden": !this.open, id: this.tooltipId }))));
|
|
75
75
|
}
|
|
76
76
|
setOwnerAriaDescribedby() {
|
|
77
77
|
var _a;
|
|
@@ -27,6 +27,7 @@ export * from './components/input-field/input-field.types';
|
|
|
27
27
|
export * from './components/dynamic-label/label.types';
|
|
28
28
|
export * from './components/list/list.types';
|
|
29
29
|
export * from './components/menu/menu.types';
|
|
30
|
+
export * from './components/pagination/pagination.types';
|
|
30
31
|
export * from './components/picker/actions.types';
|
|
31
32
|
export * from './components/picker/picker-item.types';
|
|
32
33
|
export * from './components/picker/searcher.types';
|
|
@@ -118,4 +118,13 @@ Du kan fortsætte med at blokere billeder (e-mailen kan se ufuldstændig ud) ell
|
|
|
118
118
|
'profile-picture.unsupported-preview.description': 'Vi kan ikke vise det valgte billede i denne browser. Vælg venligst en anden billedfil.',
|
|
119
119
|
'picker.results-matching': 'Resultater der matcher "{ query }"',
|
|
120
120
|
'picker.no-matching-results': 'Ingen resultater der matcher "{ query }"',
|
|
121
|
+
'pagination.label': 'Paginering',
|
|
122
|
+
'pagination.previous-page': 'Forrige side',
|
|
123
|
+
'pagination.next-page': 'Næste side',
|
|
124
|
+
'pagination.go-to-previous-page': 'Gå til forrige side',
|
|
125
|
+
'pagination.go-to-next-page': 'Gå til næste side',
|
|
126
|
+
'pagination.page': 'Side { page }',
|
|
127
|
+
'pagination.go-to-page': 'Gå til side { page }',
|
|
128
|
+
'pagination.current-page': 'Side { page }, nuværende side',
|
|
129
|
+
'pagination.items-range': '{ from }–{ to } (af { total })',
|
|
121
130
|
};
|
|
@@ -118,4 +118,13 @@ Sie können Bilder weiterhin blockieren (die E-Mail kann unvollständig aussehen
|
|
|
118
118
|
'profile-picture.unsupported-preview.description': 'Wir können das ausgewählte Bild in diesem Browser nicht anzeigen. Bitte wählen Sie eine andere Bilddatei.',
|
|
119
119
|
'picker.results-matching': 'Ergebnisse passend zu "{ query }"',
|
|
120
120
|
'picker.no-matching-results': 'Keine Ergebnisse passend zu "{ query }"',
|
|
121
|
+
'pagination.label': 'Seitennummerierung',
|
|
122
|
+
'pagination.previous-page': 'Vorherige Seite',
|
|
123
|
+
'pagination.next-page': 'Nächste Seite',
|
|
124
|
+
'pagination.go-to-previous-page': 'Zur vorherigen Seite wechseln',
|
|
125
|
+
'pagination.go-to-next-page': 'Zur nächsten Seite wechseln',
|
|
126
|
+
'pagination.page': 'Seite { page }',
|
|
127
|
+
'pagination.go-to-page': 'Zu Seite { page } wechseln',
|
|
128
|
+
'pagination.current-page': 'Seite { page }, aktuelle Seite',
|
|
129
|
+
'pagination.items-range': '{ from }–{ to } (von { total })',
|
|
121
130
|
};
|
|
@@ -118,4 +118,13 @@ You can keep images blocked (the email may look incomplete), or load them if you
|
|
|
118
118
|
'profile-picture.unsupported-preview.description': 'We cannot display the selected image in this browser. Please select a different image file.',
|
|
119
119
|
'picker.results-matching': 'Results matching "{ query }"',
|
|
120
120
|
'picker.no-matching-results': 'No results matching "{ query }"',
|
|
121
|
+
'pagination.label': 'Pagination',
|
|
122
|
+
'pagination.previous-page': 'Previous page',
|
|
123
|
+
'pagination.next-page': 'Next page',
|
|
124
|
+
'pagination.go-to-previous-page': 'Go to previous page',
|
|
125
|
+
'pagination.go-to-next-page': 'Go to next page',
|
|
126
|
+
'pagination.page': 'Page { page }',
|
|
127
|
+
'pagination.go-to-page': 'Go to page { page }',
|
|
128
|
+
'pagination.current-page': 'Page { page }, current page',
|
|
129
|
+
'pagination.items-range': '{ from }–{ to } (of { total })',
|
|
121
130
|
};
|
|
@@ -118,4 +118,13 @@ Voit pitää kuvat estettyinä (sähköposti voi näyttää puutteelliselta) tai
|
|
|
118
118
|
'profile-picture.unsupported-preview.description': 'Emme voi näyttää valittua kuvaa tässä selaimessa. Valitse jokin toinen kuvatiedosto.',
|
|
119
119
|
'picker.results-matching': 'Hakua "{ query }" vastaavat tulokset',
|
|
120
120
|
'picker.no-matching-results': 'Ei hakua "{ query }" vastaavia tuloksia',
|
|
121
|
+
'pagination.label': 'Sivutus',
|
|
122
|
+
'pagination.previous-page': 'Edellinen sivu',
|
|
123
|
+
'pagination.next-page': 'Seuraava sivu',
|
|
124
|
+
'pagination.go-to-previous-page': 'Siirry edelliselle sivulle',
|
|
125
|
+
'pagination.go-to-next-page': 'Siirry seuraavalle sivulle',
|
|
126
|
+
'pagination.page': 'Sivu { page }',
|
|
127
|
+
'pagination.go-to-page': 'Siirry sivulle { page }',
|
|
128
|
+
'pagination.current-page': 'Sivu { page }, nykyinen sivu',
|
|
129
|
+
'pagination.items-range': '{ from }–{ to } (yhteensä { total })',
|
|
121
130
|
};
|
|
@@ -118,4 +118,13 @@ Vous pouvez laisser les images bloquées (l'e-mail peut sembler incomplet) ou le
|
|
|
118
118
|
'profile-picture.unsupported-preview.description': "Nous ne pouvons pas afficher l'image sélectionnée dans ce navigateur. Veuillez sélectionner un autre fichier image.",
|
|
119
119
|
'picker.results-matching': 'Résultats correspondant à « { query } »',
|
|
120
120
|
'picker.no-matching-results': 'Aucun résultat correspondant à « { query } »',
|
|
121
|
+
'pagination.label': 'Pagination',
|
|
122
|
+
'pagination.previous-page': 'Page précédente',
|
|
123
|
+
'pagination.next-page': 'Page suivante',
|
|
124
|
+
'pagination.go-to-previous-page': 'Aller à la page précédente',
|
|
125
|
+
'pagination.go-to-next-page': 'Aller à la page suivante',
|
|
126
|
+
'pagination.page': 'Page { page }',
|
|
127
|
+
'pagination.go-to-page': 'Aller à la page { page }',
|
|
128
|
+
'pagination.current-page': 'Page { page }, page actuelle',
|
|
129
|
+
'pagination.items-range': '{ from }–{ to } (sur { total })',
|
|
121
130
|
};
|
|
@@ -118,4 +118,13 @@ Je kunt afbeeldingen geblokkeerd houden (de e-mail kan er onvolledig uitzien) of
|
|
|
118
118
|
'profile-picture.unsupported-preview.description': 'We kunnen de geselecteerde afbeelding niet weergeven in deze browser. Selecteer een ander afbeeldingsbestand.',
|
|
119
119
|
'picker.results-matching': 'Resultaten die overeenkomen met "{ query }"',
|
|
120
120
|
'picker.no-matching-results': 'Geen resultaten die overeenkomen met "{ query }"',
|
|
121
|
+
'pagination.label': 'Paginering',
|
|
122
|
+
'pagination.previous-page': 'Vorige pagina',
|
|
123
|
+
'pagination.next-page': 'Volgende pagina',
|
|
124
|
+
'pagination.go-to-previous-page': 'Ga naar vorige pagina',
|
|
125
|
+
'pagination.go-to-next-page': 'Ga naar volgende pagina',
|
|
126
|
+
'pagination.page': 'Pagina { page }',
|
|
127
|
+
'pagination.go-to-page': 'Ga naar pagina { page }',
|
|
128
|
+
'pagination.current-page': 'Pagina { page }, huidige pagina',
|
|
129
|
+
'pagination.items-range': '{ from }–{ to } (van { total })',
|
|
121
130
|
};
|