@limetech/lime-elements 40.14.5 → 40.16.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 +19 -0
- package/dist/cjs/_Map-BsuE0Kgq.js +57 -0
- package/dist/cjs/_arrayPush-0Rd-eNkQ.js +420 -0
- package/dist/cjs/_baseFlatten-BonTAUIo.js +199 -0
- package/dist/cjs/{_baseForOwn-8jMPwf3X.js → _baseForOwn-Bflq946d.js} +1 -1
- package/dist/cjs/{_baseIsEqual-zzV9DKMv.js → _baseIsEqual-DNSR68qD.js} +16 -428
- package/dist/cjs/_baseIteratee-Cistiy8H.js +263 -0
- package/dist/cjs/{_baseSet-DykMx7uF.js → _basePickBy-DeOMws-h.js} +29 -43
- package/dist/cjs/{_getPrototype-CCLHkBHj.js → _getPrototype-D74M8h-k.js} +1 -1
- package/dist/cjs/{_getTag-BC28Za7d.js → _getTag-CxGZ3DRt.js} +7 -57
- package/dist/cjs/{cloneDeep-D2immmwT.js → cloneDeep-CiuKX6HE.js} +3 -3
- package/dist/cjs/{drag-to-reorder-BP5YkPuu.js → drag-to-reorder-BmVz_kUy.js} +3 -193
- package/dist/cjs/{_baseIteratee-BIMRm4nq.js → hasIn-BQ92Jk0F.js} +10 -264
- package/dist/cjs/help-props-Ds30nnt1.js +90 -0
- package/dist/cjs/isArrayLike-0-cyPB5I.js +35 -0
- package/dist/cjs/{isEmpty-CCxl3bYc.js → isEmpty-BsdhcVKT.js} +4 -3
- package/dist/cjs/{isEqual-D3eFkhqd.js → isEqual-QhCilNoo.js} +1 -1
- package/dist/cjs/isLength-DvlFY_9S.js +37 -0
- package/dist/cjs/lime-elements.cjs.js +1 -1
- package/dist/cjs/limel-3d-hover-effect-glow.cjs.entry.js +1 -1
- package/dist/cjs/limel-action-bar_3.cjs.entry.js +3 -3
- package/dist/cjs/limel-ai-avatar.cjs.entry.js +1 -1
- package/dist/cjs/limel-badge.cjs.entry.js +2 -2
- package/dist/cjs/limel-banner.cjs.entry.js +1 -1
- package/dist/cjs/limel-breadcrumbs_6.cjs.entry.js +6 -6
- package/dist/cjs/limel-button-group.cjs.entry.js +1 -1
- package/dist/cjs/limel-button.cjs.entry.js +2 -2
- package/dist/cjs/limel-callout.cjs.entry.js +1 -1
- package/dist/cjs/limel-card.cjs.entry.js +1 -1
- package/dist/cjs/limel-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/limel-chip-set.cjs.entry.js +11 -8
- package/dist/cjs/limel-chip_2.cjs.entry.js +7 -5
- package/dist/cjs/limel-circular-progress.cjs.entry.js +1 -1
- package/dist/cjs/limel-code-diff.cjs.entry.js +1 -1
- package/dist/cjs/limel-code-editor.cjs.entry.js +1 -1
- package/dist/cjs/limel-collapsible-section.cjs.entry.js +40 -2
- package/dist/cjs/limel-color-picker-palette.cjs.entry.js +2 -2
- package/dist/cjs/limel-color-picker.cjs.entry.js +1 -1
- package/dist/cjs/limel-dialog.cjs.entry.js +12 -9
- package/dist/cjs/limel-dock.cjs.entry.js +2 -2
- package/dist/cjs/limel-drag-handle_2.cjs.entry.js +3 -3
- package/dist/cjs/limel-email-viewer.cjs.entry.js +1 -1
- package/dist/cjs/limel-file-dropzone_2.cjs.entry.js +14 -10
- package/dist/cjs/limel-file.cjs.entry.js +1 -1
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +3 -2
- package/dist/cjs/limel-flex-container.cjs.entry.js +1 -1
- package/dist/cjs/limel-form-header.cjs.entry.js +59 -0
- package/dist/cjs/limel-form.cjs.entry.js +140 -45
- package/dist/cjs/limel-grid.cjs.entry.js +1 -1
- package/dist/cjs/limel-header.cjs.entry.js +1 -1
- package/dist/cjs/{limel-help.cjs.entry.js → limel-help_2.cjs.entry.js} +22 -2
- package/dist/cjs/limel-helper-line_3.cjs.entry.js +4 -4
- package/dist/cjs/limel-hotkey_4.cjs.entry.js +5 -5
- package/dist/cjs/limel-icon-button.cjs.entry.js +1 -1
- package/dist/cjs/limel-icon.cjs.entry.js +1 -1
- package/dist/cjs/limel-info-tile.cjs.entry.js +2 -2
- package/dist/cjs/limel-list-item.cjs.entry.js +2 -2
- package/dist/cjs/limel-markdown.cjs.entry.js +1 -1
- package/dist/cjs/limel-masonry-layout.cjs.entry.js +1 -1
- package/dist/cjs/limel-menu-item-meta.cjs.entry.js +1 -1
- package/dist/cjs/limel-pagination.cjs.entry.js +1 -1
- package/dist/cjs/limel-picker.cjs.entry.js +1 -1
- package/dist/cjs/limel-popover_2.cjs.entry.js +2 -2
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +15 -12
- package/dist/cjs/limel-radio-button-group.cjs.entry.js +1 -1
- package/dist/cjs/limel-radio-button.cjs.entry.js +2 -2
- package/dist/cjs/limel-resize-handle.cjs.entry.js +1 -1
- package/dist/cjs/limel-select.cjs.entry.js +1 -1
- package/dist/cjs/limel-shortcut.cjs.entry.js +1 -1
- package/dist/cjs/limel-side-panel.cjs.entry.js +1 -1
- package/dist/cjs/limel-slider.cjs.entry.js +3 -3
- package/dist/cjs/limel-snackbar.cjs.entry.js +2 -2
- package/dist/cjs/limel-split-button.cjs.entry.js +2 -2
- package/dist/cjs/limel-switch.cjs.entry.js +1 -1
- package/dist/cjs/limel-tab-bar.cjs.entry.js +14 -10
- package/dist/cjs/limel-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/limel-table.cjs.entry.js +196 -126
- package/dist/cjs/limel-text-editor-link-menu.cjs.entry.js +3 -3
- package/dist/cjs/limel-text-editor.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/negate-Bg3SqQh6.js +42 -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 +62 -2
- 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/fields/object-field.js +2 -2
- package/dist/collection/components/form/form.css +21 -21
- package/dist/collection/components/form/form.js +60 -3
- package/dist/collection/components/form/form.test-schemas.js +62 -0
- package/dist/collection/components/form/help/help.js +2 -5
- package/dist/collection/components/form/row/row.js +4 -1
- package/dist/collection/components/form/templates/array-field.js +4 -4
- package/dist/collection/components/form/templates/common.js +21 -4
- package/dist/collection/components/form/templates/heading-level.js +51 -0
- package/dist/collection/components/form/templates/object-field.js +3 -9
- package/dist/collection/components/form-header/form-header.css +3 -0
- package/dist/collection/components/form-header/form-header.js +163 -0
- package/dist/collection/components/form-header/help-props.js +17 -0
- package/dist/collection/components/grid/grid.js +1 -1
- package/dist/collection/components/header/header.js +1 -1
- package/dist/collection/components/help/help-content.js +1 -1
- package/dist/collection/components/help/help.js +2 -2
- package/dist/collection/components/helper-line/helper-line.js +2 -2
- package/dist/collection/components/hotkey/hotkey.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon-button/icon-button.js +1 -1
- package/dist/collection/components/info-tile/info-tile.js +2 -2
- package/dist/collection/components/input-field/input-field.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list-item/list-item.js +2 -2
- package/dist/collection/components/list-item/menu-item-meta/menu-item-meta.js +1 -1
- package/dist/collection/components/markdown/markdown.js +1 -1
- package/dist/collection/components/masonry-layout/masonry-layout.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-list/menu-list.js +1 -1
- package/dist/collection/components/menu-surface/menu-surface.js +1 -1
- package/dist/collection/components/notched-outline/notched-outline.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/picker/picker.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover-surface/popover-surface.js +1 -1
- package/dist/collection/components/portal/portal.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button.js +2 -2
- package/dist/collection/components/resize-handle/resize-handle.js +1 -1
- package/dist/collection/components/scroller/scroller.js +2 -2
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shortcut/shortcut.js +1 -1
- package/dist/collection/components/side-panel/side-panel.js +1 -1
- package/dist/collection/components/slider/slider.js +3 -3
- package/dist/collection/components/snackbar/snackbar.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-button/split-button.js +2 -2
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab-bar/tab-bar.js +1 -1
- package/dist/collection/components/tab-panel/tab-panel.js +1 -1
- package/dist/collection/components/table/table.js +2 -2
- package/dist/collection/components/text-editor/link-menu/editor-link-menu.js +3 -3
- package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.js +1 -1
- package/dist/collection/components/text-editor/text-editor.js +1 -1
- package/dist/collection/components/tooltip/tooltip-content.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/esm/_Map-LWJCQc-c.js +54 -0
- package/dist/esm/_arrayPush-NEl7BpFy.js +416 -0
- package/dist/esm/_baseFlatten-mvFj07qD.js +195 -0
- package/dist/esm/{_baseForOwn-vKFWmmaS.js → _baseForOwn-C3COyhQS.js} +1 -1
- package/dist/esm/{_baseIsEqual-B_JRErB0.js → _baseIsEqual-CJf575VC.js} +9 -419
- package/dist/esm/_baseIteratee-DM5xljbg.js +260 -0
- package/dist/esm/{_baseSet-BUAq8NGm.js → _basePickBy-D_9Hus6l.js} +27 -41
- package/dist/esm/{_getPrototype-B0kMNv1F.js → _getPrototype-CQlOogH0.js} +1 -1
- package/dist/esm/{_getTag-BiAaLWvH.js → _getTag-BTNY_Z_q.js} +5 -53
- package/dist/esm/{cloneDeep-Bcll-3f8.js → cloneDeep-BYrS7zqD.js} +3 -3
- package/dist/esm/{drag-to-reorder-BXmXIwCa.js → drag-to-reorder-9gxiYkIo.js} +3 -192
- package/dist/esm/{_baseIteratee-CVz7aes3.js → hasIn-CKUl04DZ.js} +5 -259
- package/dist/esm/help-props-DULV6dHr.js +88 -0
- package/dist/esm/isArrayLike-wfLI14yj.js +33 -0
- package/dist/esm/{isEmpty-BGVZ12Ea.js → isEmpty-CvLNUkER.js} +3 -2
- package/dist/esm/{isEqual-C-pK6AAU.js → isEqual-BIfg0KPc.js} +1 -1
- package/dist/esm/isLength-BZrtP4vv.js +35 -0
- package/dist/esm/lime-elements.js +1 -1
- package/dist/esm/limel-3d-hover-effect-glow.entry.js +1 -1
- package/dist/esm/limel-action-bar_3.entry.js +3 -3
- package/dist/esm/limel-ai-avatar.entry.js +1 -1
- package/dist/esm/limel-badge.entry.js +2 -2
- package/dist/esm/limel-banner.entry.js +1 -1
- package/dist/esm/limel-breadcrumbs_6.entry.js +6 -6
- package/dist/esm/limel-button-group.entry.js +1 -1
- package/dist/esm/limel-button.entry.js +2 -2
- package/dist/esm/limel-callout.entry.js +1 -1
- package/dist/esm/limel-card.entry.js +1 -1
- package/dist/esm/limel-checkbox.entry.js +1 -1
- package/dist/esm/limel-chip-set.entry.js +11 -8
- package/dist/esm/limel-chip_2.entry.js +7 -5
- package/dist/esm/limel-circular-progress.entry.js +1 -1
- package/dist/esm/limel-code-diff.entry.js +1 -1
- package/dist/esm/limel-code-editor.entry.js +1 -1
- package/dist/esm/limel-collapsible-section.entry.js +40 -2
- package/dist/esm/limel-color-picker-palette.entry.js +2 -2
- package/dist/esm/limel-color-picker.entry.js +1 -1
- package/dist/esm/limel-dialog.entry.js +12 -9
- package/dist/esm/limel-dock.entry.js +2 -2
- package/dist/esm/limel-drag-handle_2.entry.js +3 -3
- package/dist/esm/limel-email-viewer.entry.js +1 -1
- package/dist/esm/limel-file-dropzone_2.entry.js +14 -10
- package/dist/esm/limel-file.entry.js +1 -1
- package/dist/esm/limel-flatpickr-adapter.entry.js +3 -2
- package/dist/esm/limel-flex-container.entry.js +1 -1
- package/dist/esm/limel-form-header.entry.js +57 -0
- package/dist/esm/limel-form.entry.js +136 -41
- package/dist/esm/limel-grid.entry.js +1 -1
- package/dist/esm/limel-header.entry.js +1 -1
- package/dist/esm/{limel-help.entry.js → limel-help_2.entry.js} +22 -3
- package/dist/esm/limel-helper-line_3.entry.js +4 -4
- package/dist/esm/limel-hotkey_4.entry.js +5 -5
- package/dist/esm/limel-icon-button.entry.js +1 -1
- package/dist/esm/limel-icon.entry.js +1 -1
- package/dist/esm/limel-info-tile.entry.js +2 -2
- package/dist/esm/limel-list-item.entry.js +2 -2
- package/dist/esm/limel-markdown.entry.js +1 -1
- package/dist/esm/limel-masonry-layout.entry.js +1 -1
- package/dist/esm/limel-menu-item-meta.entry.js +1 -1
- package/dist/esm/limel-pagination.entry.js +1 -1
- package/dist/esm/limel-picker.entry.js +1 -1
- package/dist/esm/limel-popover_2.entry.js +2 -2
- package/dist/esm/limel-prosemirror-adapter.entry.js +15 -12
- package/dist/esm/limel-radio-button-group.entry.js +1 -1
- package/dist/esm/limel-radio-button.entry.js +2 -2
- package/dist/esm/limel-resize-handle.entry.js +1 -1
- package/dist/esm/limel-select.entry.js +1 -1
- package/dist/esm/limel-shortcut.entry.js +1 -1
- package/dist/esm/limel-side-panel.entry.js +1 -1
- package/dist/esm/limel-slider.entry.js +3 -3
- package/dist/esm/limel-snackbar.entry.js +2 -2
- package/dist/esm/limel-split-button.entry.js +2 -2
- package/dist/esm/limel-switch.entry.js +1 -1
- package/dist/esm/limel-tab-bar.entry.js +14 -10
- package/dist/esm/limel-tab-panel.entry.js +1 -1
- package/dist/esm/limel-table.entry.js +191 -121
- package/dist/esm/limel-text-editor-link-menu.entry.js +3 -3
- package/dist/esm/limel-text-editor.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/negate-ooVD-6_a.js +40 -0
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-1d6014ed.entry.js → p-05c1f5a0.entry.js} +1 -1
- package/dist/lime-elements/p-0c314c3c.entry.js +1 -0
- package/dist/lime-elements/{p-aac603af.entry.js → p-153e91e1.entry.js} +1 -1
- package/dist/lime-elements/{p-f455150b.entry.js → p-164e1ad0.entry.js} +1 -1
- package/dist/lime-elements/{p-67536ac3.entry.js → p-19681a98.entry.js} +1 -1
- package/dist/lime-elements/p-1d13245d.entry.js +1 -0
- package/dist/lime-elements/{p-87c9f4de.entry.js → p-22c44279.entry.js} +1 -1
- package/dist/lime-elements/{p-7375fac2.entry.js → p-26347009.entry.js} +1 -1
- package/dist/lime-elements/{p-f0e3a147.entry.js → p-27d7c255.entry.js} +2 -2
- package/dist/lime-elements/{p-3fa66fb1.entry.js → p-29815107.entry.js} +1 -1
- package/dist/lime-elements/{p-27d375f3.entry.js → p-2a375a65.entry.js} +1 -1
- package/dist/lime-elements/{p-aee75ad1.entry.js → p-2c29c27f.entry.js} +1 -1
- package/dist/lime-elements/{p-19426c76.entry.js → p-2f5face5.entry.js} +1 -1
- package/dist/lime-elements/{p-8f133cd6.entry.js → p-3ae5fb67.entry.js} +1 -1
- package/dist/lime-elements/{p-bb40b96c.entry.js → p-3c861ca8.entry.js} +1 -1
- package/dist/lime-elements/{p-f96a8e2c.entry.js → p-40a48f70.entry.js} +1 -1
- package/dist/lime-elements/p-513d2a5e.entry.js +1 -0
- package/dist/lime-elements/{p-9e9187ce.entry.js → p-519603f5.entry.js} +1 -1
- package/dist/lime-elements/{p-4a381bc6.entry.js → p-545c087b.entry.js} +1 -1
- package/dist/lime-elements/{p-89316964.entry.js → p-55abec82.entry.js} +1 -1
- package/dist/lime-elements/{p-8e78fd4f.entry.js → p-55f7c9f5.entry.js} +1 -1
- package/dist/lime-elements/{p-2370ff51.entry.js → p-565e5ea7.entry.js} +1 -1
- package/dist/lime-elements/{p-3b4f6329.entry.js → p-586ee40c.entry.js} +1 -1
- package/dist/lime-elements/{p-ddabfac0.entry.js → p-5f2a34ed.entry.js} +1 -1
- package/dist/lime-elements/{p-dd065596.entry.js → p-5f82ea0b.entry.js} +1 -1
- package/dist/lime-elements/{p-82672504.entry.js → p-65eafc85.entry.js} +1 -1
- package/dist/lime-elements/p-67acf39d.entry.js +1 -0
- package/dist/lime-elements/{p-d1eaba10.entry.js → p-6aae3f58.entry.js} +1 -1
- package/dist/lime-elements/p-7035d93d.entry.js +1 -0
- package/dist/lime-elements/{p-674680f9.entry.js → p-707d4b28.entry.js} +1 -1
- package/dist/lime-elements/{p-068b141b.entry.js → p-713a1158.entry.js} +1 -1
- package/dist/lime-elements/{p-d94f1c0f.entry.js → p-7235d147.entry.js} +1 -1
- package/dist/lime-elements/p-72907ffd.entry.js +1 -0
- package/dist/lime-elements/{p-242f1032.entry.js → p-7aae3d13.entry.js} +1 -1
- package/dist/lime-elements/{p-88dcba1e.entry.js → p-7af16e1d.entry.js} +1 -1
- package/dist/lime-elements/{p-56fe13ef.entry.js → p-7d27d572.entry.js} +1 -1
- package/dist/lime-elements/{p-8339d921.entry.js → p-7f1a1ed5.entry.js} +1 -1
- package/dist/lime-elements/{p-3f447d22.entry.js → p-8045eb7f.entry.js} +1 -1
- package/dist/lime-elements/p-813cb15c.entry.js +1 -0
- package/dist/lime-elements/{p-0de00849.entry.js → p-9436aba6.entry.js} +4 -4
- package/dist/lime-elements/{p-b5ebcbfc.entry.js → p-9e30d206.entry.js} +1 -1
- package/dist/lime-elements/p-BIYP3lTf.js +1 -0
- package/dist/lime-elements/p-BZrtP4vv.js +1 -0
- package/dist/lime-elements/p-BqoaAMnl.js +1 -0
- package/dist/lime-elements/p-BuX-Eb_J.js +1 -0
- package/dist/lime-elements/p-C-Qy5a39.js +1 -0
- package/dist/lime-elements/p-Cn3Alk9P.js +1 -0
- package/dist/lime-elements/p-CnpoFRmN.js +1 -0
- package/dist/lime-elements/p-CzTSYn-I.js +1 -0
- package/dist/lime-elements/p-D5dy3YDO.js +1 -0
- package/dist/lime-elements/p-DVx8ZwG_.js +7 -0
- package/dist/lime-elements/p-DWd0MyPU.js +1 -0
- package/dist/lime-elements/p-DpFfRQwV.js +1 -0
- package/dist/lime-elements/p-UDFTKggt.js +1 -0
- package/dist/lime-elements/{p-9d354eca.entry.js → p-a608ebe3.entry.js} +1 -1
- package/dist/lime-elements/p-a81f6962.entry.js +1 -0
- package/dist/lime-elements/{p-6770cf06.entry.js → p-af53caab.entry.js} +1 -1
- package/dist/lime-elements/{p-150010b5.entry.js → p-b80433be.entry.js} +1 -1
- package/dist/lime-elements/{p-e13e0001.entry.js → p-b983531f.entry.js} +3 -3
- package/dist/lime-elements/{p-e9b1e0bd.entry.js → p-be0a8125.entry.js} +1 -1
- package/dist/lime-elements/{p-f0bf3fd1.entry.js → p-be2b8c1e.entry.js} +1 -1
- package/dist/lime-elements/p-c2_jcMp6.js +1 -0
- package/dist/lime-elements/{p-de3cf7d8.entry.js → p-c73f4160.entry.js} +1 -1
- package/dist/lime-elements/{p-5ea07cbe.entry.js → p-cc8d6198.entry.js} +1 -1
- package/dist/lime-elements/{p-026eed2d.entry.js → p-cced022b.entry.js} +1 -1
- package/dist/lime-elements/{p-BAqAt5It.js → p-cv8kR73y.js} +1 -1
- package/dist/lime-elements/{p-be8950a6.entry.js → p-d0908a85.entry.js} +2 -2
- package/dist/lime-elements/{p-17aa9235.entry.js → p-da4b4a81.entry.js} +1 -1
- package/dist/lime-elements/{p-5d623004.entry.js → p-dd383c12.entry.js} +1 -1
- package/dist/lime-elements/{p-41172b62.entry.js → p-e0ab0046.entry.js} +1 -1
- package/dist/lime-elements/{p-8a9361a2.entry.js → p-eb5a18ff.entry.js} +1 -1
- package/dist/lime-elements/p-f35880ef.entry.js +1 -0
- package/dist/lime-elements/p-f8566c5b.entry.js +1 -0
- package/dist/lime-elements/{p-64540beb.entry.js → p-fad7a3fa.entry.js} +1 -1
- package/dist/lime-elements/p-fdc7da58.entry.js +1 -0
- package/dist/lime-elements/p-ooVD-6_a.js +1 -0
- package/dist/lime-elements/p-rJbGuVxd.js +1 -0
- package/dist/lime-elements/p-xGeCwSnE.js +1 -0
- package/dist/types/components/collapsible-section/collapsible-section.d.ts +14 -0
- package/dist/types/components/form/form.d.ts +15 -1
- package/dist/types/components/form/form.test-schemas.d.ts +4 -0
- package/dist/types/components/form/form.types.d.ts +6 -0
- package/dist/types/components/form/help/help.d.ts +0 -2
- package/dist/types/components/form/row/row.d.ts +3 -0
- package/dist/types/components/form/templates/common.d.ts +17 -4
- package/dist/types/components/form/templates/heading-level.d.ts +49 -0
- package/dist/types/components/form-header/form-header.d.ts +47 -0
- package/dist/types/components/form-header/help-props.d.ts +7 -0
- package/dist/types/components.d.ts +155 -2
- package/dist/types/interface.d.ts +1 -1
- package/package.json +3 -3
- package/dist/cjs/isArrayLike-C2RwZMG4.js +0 -69
- package/dist/cjs/limel-help-content.cjs.entry.js +0 -24
- package/dist/esm/isArrayLike-CyVGB489.js +0 -66
- package/dist/esm/limel-help-content.entry.js +0 -22
- package/dist/lime-elements/p-01de145c.entry.js +0 -1
- package/dist/lime-elements/p-09f8f883.entry.js +0 -1
- package/dist/lime-elements/p-41fb6e88.entry.js +0 -1
- package/dist/lime-elements/p-5633c069.entry.js +0 -1
- package/dist/lime-elements/p-600466a9.entry.js +0 -1
- package/dist/lime-elements/p-7829198d.entry.js +0 -1
- package/dist/lime-elements/p-BYfPV0O4.js +0 -1
- package/dist/lime-elements/p-CW2-jhzP.js +0 -1
- package/dist/lime-elements/p-Cu9Ji1iJ.js +0 -1
- package/dist/lime-elements/p-D2VFSWDU.js +0 -1
- package/dist/lime-elements/p-D9Ezd43A.js +0 -1
- package/dist/lime-elements/p-DFu1q54T.js +0 -1
- package/dist/lime-elements/p-DK0pjX-Y.js +0 -1
- package/dist/lime-elements/p-DdnBHYb-.js +0 -7
- package/dist/lime-elements/p-DeIIlp6m.js +0 -1
- package/dist/lime-elements/p-Dq0uNStc.js +0 -1
- package/dist/lime-elements/p-afbe54e6.entry.js +0 -1
- package/dist/lime-elements/p-e2971111.entry.js +0 -1
- package/dist/lime-elements/p-e332bb9b.entry.js +0 -1
- package/dist/lime-elements/p-e50acec1.entry.js +0 -1
- package/dist/lime-elements/p-f1ac7608.entry.js +0 -1
|
@@ -34,7 +34,8 @@ import { FileInfo } from "./global/shared-types/file.types";
|
|
|
34
34
|
import { ResizeOptions } from "./util/image-resize";
|
|
35
35
|
import { OfficeViewer } from "./components/file-viewer/file-viewer.types";
|
|
36
36
|
import { FlexContainerAlign, FlexContainerDirection, FlexContainerJustify } from "./components/flex-container/flex-container.types";
|
|
37
|
-
import { FormError, FormSchema, ValidationError, ValidationStatus } from "./components/form/form.types";
|
|
37
|
+
import { FormError, FormSchema, HeadingLevel, ValidationError, ValidationStatus } from "./components/form/form.types";
|
|
38
|
+
import { Help } from "./components/help/help.types";
|
|
38
39
|
import { IconSize } from "./components/icon/icon.types";
|
|
39
40
|
import { InfoTileProgress } from "./components/info-tile/info-tile.types";
|
|
40
41
|
import { InputType } from "./components/input-field/input-field.types";
|
|
@@ -84,7 +85,8 @@ export { FileInfo } from "./global/shared-types/file.types";
|
|
|
84
85
|
export { ResizeOptions } from "./util/image-resize";
|
|
85
86
|
export { OfficeViewer } from "./components/file-viewer/file-viewer.types";
|
|
86
87
|
export { FlexContainerAlign, FlexContainerDirection, FlexContainerJustify } from "./components/flex-container/flex-container.types";
|
|
87
|
-
export { FormError, FormSchema, ValidationError, ValidationStatus } from "./components/form/form.types";
|
|
88
|
+
export { FormError, FormSchema, HeadingLevel, ValidationError, ValidationStatus } from "./components/form/form.types";
|
|
89
|
+
export { Help } from "./components/help/help.types";
|
|
88
90
|
export { IconSize } from "./components/icon/icon.types";
|
|
89
91
|
export { InfoTileProgress } from "./components/info-tile/info-tile.types";
|
|
90
92
|
export { InputType } from "./components/input-field/input-field.types";
|
|
@@ -1163,6 +1165,7 @@ export namespace Components {
|
|
|
1163
1165
|
* @exampleComponent limel-example-collapsible-section-invalid
|
|
1164
1166
|
* @exampleComponent limel-example-collapsible-section-icon
|
|
1165
1167
|
* @exampleComponent limel-example-collapsible-section-css-props
|
|
1168
|
+
* @exampleComponent limel-example-collapsible-section-heading-level
|
|
1166
1169
|
*/
|
|
1167
1170
|
interface LimelCollapsibleSection {
|
|
1168
1171
|
/**
|
|
@@ -1173,6 +1176,11 @@ export namespace Components {
|
|
|
1173
1176
|
* Text to display in the header of the section
|
|
1174
1177
|
*/
|
|
1175
1178
|
"header": string;
|
|
1179
|
+
/**
|
|
1180
|
+
* The level of the heading that the `header` is drawn with, from `1` for an `h1` to `6` for an `h6`. Set it so that the heading fits below the headings around the section. For example, when the section is below an `h2`, set it to `3`. It does not change how the heading looks.
|
|
1181
|
+
* @default 2
|
|
1182
|
+
*/
|
|
1183
|
+
"headingLevel": 1 | 2 | 3 | 4 | 5 | 6;
|
|
1176
1184
|
/**
|
|
1177
1185
|
* Icon to display in the header of the section
|
|
1178
1186
|
*/
|
|
@@ -1901,6 +1909,7 @@ export namespace Components {
|
|
|
1901
1909
|
* @exampleComponent limel-example-builtin-field-types-form
|
|
1902
1910
|
* @exampleComponent limel-example-code-editor-form
|
|
1903
1911
|
* @exampleComponent limel-example-form-highlighted-field
|
|
1912
|
+
* @exampleComponent limel-example-form-heading-level
|
|
1904
1913
|
*/
|
|
1905
1914
|
interface LimelForm {
|
|
1906
1915
|
/**
|
|
@@ -1912,6 +1921,11 @@ export namespace Components {
|
|
|
1912
1921
|
* Extra errors to display in the form. Typical use case is asynchronous errors generated server side.
|
|
1913
1922
|
*/
|
|
1914
1923
|
"errors": ValidationError;
|
|
1924
|
+
/**
|
|
1925
|
+
* The level, from `1` to `6`, of the topmost headings in the form. The headings of the sections inside them get one level more for each level of nesting, down to `6`. Set it so that the headings of the form fit below the headings of the page around it. For example, when the form is in a section with an `h2` heading, set it to `3`.
|
|
1926
|
+
* @default 1
|
|
1927
|
+
*/
|
|
1928
|
+
"headingLevel": HeadingLevel;
|
|
1915
1929
|
/**
|
|
1916
1930
|
* The path in the value of a field to take the user to, such as `['heroes', 2, 'name']`. When it changes, the form opens the sections and list items the field is in, scrolls it into view, focuses it and briefly highlights it. If the path goes further than the form can show, such as into a custom component, the closest field above the end of the path is shown. To show the same field again, set it to `undefined` first.
|
|
1917
1931
|
* @beta
|
|
@@ -1940,6 +1954,42 @@ export namespace Components {
|
|
|
1940
1954
|
*/
|
|
1941
1955
|
"value": object;
|
|
1942
1956
|
}
|
|
1957
|
+
/**
|
|
1958
|
+
* This is an internal and private component that `limel-form` uses to
|
|
1959
|
+
* draw the heading of a section, a list or a custom component, together
|
|
1960
|
+
* with its description and its help.
|
|
1961
|
+
* Consumers of `limel-form` do not use it. They set the `title`,
|
|
1962
|
+
* the `description` and `lime.help` in the schema, and the form draws
|
|
1963
|
+
* this component with the right heading level.
|
|
1964
|
+
* :::note
|
|
1965
|
+
* The component has `shadow: false`, so that the heading, the description
|
|
1966
|
+
* and the help are part of the DOM of `limel-form`. This way, the styles
|
|
1967
|
+
* of the form that depend on how deep a field is reach them directly.
|
|
1968
|
+
* :::
|
|
1969
|
+
* @exampleComponent limel-example-form-header-basic
|
|
1970
|
+
* @exampleComponent limel-example-form-header-heading-level
|
|
1971
|
+
* @exampleComponent limel-example-form-header-help
|
|
1972
|
+
* @private
|
|
1973
|
+
*/
|
|
1974
|
+
interface LimelFormHeader {
|
|
1975
|
+
/**
|
|
1976
|
+
* Text, in markdown, that describes what the `heading` is about.
|
|
1977
|
+
*/
|
|
1978
|
+
"description"?: string;
|
|
1979
|
+
/**
|
|
1980
|
+
* The title of the section, the list or the custom component.
|
|
1981
|
+
*/
|
|
1982
|
+
"heading"?: string;
|
|
1983
|
+
/**
|
|
1984
|
+
* Which of the heading elements, from `h1` to `h6`, to draw the `heading` with.
|
|
1985
|
+
* @default 1
|
|
1986
|
+
*/
|
|
1987
|
+
"headingLevel": HeadingLevel;
|
|
1988
|
+
/**
|
|
1989
|
+
* Help to show beside the `heading`. A string is used as the `value` of the help.
|
|
1990
|
+
*/
|
|
1991
|
+
"help"?: string | Partial<Help>;
|
|
1992
|
+
}
|
|
1943
1993
|
/**
|
|
1944
1994
|
* This component is deprecated and will be removed in a future version of
|
|
1945
1995
|
* Lime Elements. Please use CSS for your flexible container needs 🙂
|
|
@@ -5196,6 +5246,7 @@ declare global {
|
|
|
5196
5246
|
* @exampleComponent limel-example-collapsible-section-invalid
|
|
5197
5247
|
* @exampleComponent limel-example-collapsible-section-icon
|
|
5198
5248
|
* @exampleComponent limel-example-collapsible-section-css-props
|
|
5249
|
+
* @exampleComponent limel-example-collapsible-section-heading-level
|
|
5199
5250
|
*/
|
|
5200
5251
|
interface HTMLLimelCollapsibleSectionElement extends Components.LimelCollapsibleSection, HTMLStencilElement {
|
|
5201
5252
|
addEventListener<K extends keyof HTMLLimelCollapsibleSectionElementEventMap>(type: K, listener: (this: HTMLLimelCollapsibleSectionElement, ev: LimelCollapsibleSectionCustomEvent<HTMLLimelCollapsibleSectionElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -5690,6 +5741,7 @@ declare global {
|
|
|
5690
5741
|
* @exampleComponent limel-example-builtin-field-types-form
|
|
5691
5742
|
* @exampleComponent limel-example-code-editor-form
|
|
5692
5743
|
* @exampleComponent limel-example-form-highlighted-field
|
|
5744
|
+
* @exampleComponent limel-example-form-heading-level
|
|
5693
5745
|
*/
|
|
5694
5746
|
interface HTMLLimelFormElement extends Components.LimelForm, HTMLStencilElement {
|
|
5695
5747
|
addEventListener<K extends keyof HTMLLimelFormElementEventMap>(type: K, listener: (this: HTMLLimelFormElement, ev: LimelFormCustomEvent<HTMLLimelFormElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -5705,6 +5757,29 @@ declare global {
|
|
|
5705
5757
|
prototype: HTMLLimelFormElement;
|
|
5706
5758
|
new (): HTMLLimelFormElement;
|
|
5707
5759
|
};
|
|
5760
|
+
/**
|
|
5761
|
+
* This is an internal and private component that `limel-form` uses to
|
|
5762
|
+
* draw the heading of a section, a list or a custom component, together
|
|
5763
|
+
* with its description and its help.
|
|
5764
|
+
* Consumers of `limel-form` do not use it. They set the `title`,
|
|
5765
|
+
* the `description` and `lime.help` in the schema, and the form draws
|
|
5766
|
+
* this component with the right heading level.
|
|
5767
|
+
* :::note
|
|
5768
|
+
* The component has `shadow: false`, so that the heading, the description
|
|
5769
|
+
* and the help are part of the DOM of `limel-form`. This way, the styles
|
|
5770
|
+
* of the form that depend on how deep a field is reach them directly.
|
|
5771
|
+
* :::
|
|
5772
|
+
* @exampleComponent limel-example-form-header-basic
|
|
5773
|
+
* @exampleComponent limel-example-form-header-heading-level
|
|
5774
|
+
* @exampleComponent limel-example-form-header-help
|
|
5775
|
+
* @private
|
|
5776
|
+
*/
|
|
5777
|
+
interface HTMLLimelFormHeaderElement extends Components.LimelFormHeader, HTMLStencilElement {
|
|
5778
|
+
}
|
|
5779
|
+
var HTMLLimelFormHeaderElement: {
|
|
5780
|
+
prototype: HTMLLimelFormHeaderElement;
|
|
5781
|
+
new (): HTMLLimelFormHeaderElement;
|
|
5782
|
+
};
|
|
5708
5783
|
/**
|
|
5709
5784
|
* This component is deprecated and will be removed in a future version of
|
|
5710
5785
|
* Lime Elements. Please use CSS for your flexible container needs 🙂
|
|
@@ -7165,6 +7240,7 @@ declare global {
|
|
|
7165
7240
|
"limel-flatpickr-adapter": HTMLLimelFlatpickrAdapterElement;
|
|
7166
7241
|
"limel-flex-container": HTMLLimelFlexContainerElement;
|
|
7167
7242
|
"limel-form": HTMLLimelFormElement;
|
|
7243
|
+
"limel-form-header": HTMLLimelFormHeaderElement;
|
|
7168
7244
|
"limel-grid": HTMLLimelGridElement;
|
|
7169
7245
|
"limel-header": HTMLLimelHeaderElement;
|
|
7170
7246
|
"limel-help": HTMLLimelHelpElement;
|
|
@@ -8319,6 +8395,7 @@ declare namespace LocalJSX {
|
|
|
8319
8395
|
* @exampleComponent limel-example-collapsible-section-invalid
|
|
8320
8396
|
* @exampleComponent limel-example-collapsible-section-icon
|
|
8321
8397
|
* @exampleComponent limel-example-collapsible-section-css-props
|
|
8398
|
+
* @exampleComponent limel-example-collapsible-section-heading-level
|
|
8322
8399
|
*/
|
|
8323
8400
|
interface LimelCollapsibleSection {
|
|
8324
8401
|
/**
|
|
@@ -8329,6 +8406,11 @@ declare namespace LocalJSX {
|
|
|
8329
8406
|
* Text to display in the header of the section
|
|
8330
8407
|
*/
|
|
8331
8408
|
"header"?: string;
|
|
8409
|
+
/**
|
|
8410
|
+
* The level of the heading that the `header` is drawn with, from `1` for an `h1` to `6` for an `h6`. Set it so that the heading fits below the headings around the section. For example, when the section is below an `h2`, set it to `3`. It does not change how the heading looks.
|
|
8411
|
+
* @default 2
|
|
8412
|
+
*/
|
|
8413
|
+
"headingLevel"?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
8332
8414
|
/**
|
|
8333
8415
|
* Icon to display in the header of the section
|
|
8334
8416
|
*/
|
|
@@ -9146,6 +9228,7 @@ declare namespace LocalJSX {
|
|
|
9146
9228
|
* @exampleComponent limel-example-builtin-field-types-form
|
|
9147
9229
|
* @exampleComponent limel-example-code-editor-form
|
|
9148
9230
|
* @exampleComponent limel-example-form-highlighted-field
|
|
9231
|
+
* @exampleComponent limel-example-form-heading-level
|
|
9149
9232
|
*/
|
|
9150
9233
|
interface LimelForm {
|
|
9151
9234
|
/**
|
|
@@ -9157,6 +9240,11 @@ declare namespace LocalJSX {
|
|
|
9157
9240
|
* Extra errors to display in the form. Typical use case is asynchronous errors generated server side.
|
|
9158
9241
|
*/
|
|
9159
9242
|
"errors"?: ValidationError;
|
|
9243
|
+
/**
|
|
9244
|
+
* The level, from `1` to `6`, of the topmost headings in the form. The headings of the sections inside them get one level more for each level of nesting, down to `6`. Set it so that the headings of the form fit below the headings of the page around it. For example, when the form is in a section with an `h2` heading, set it to `3`.
|
|
9245
|
+
* @default 1
|
|
9246
|
+
*/
|
|
9247
|
+
"headingLevel"?: HeadingLevel;
|
|
9160
9248
|
/**
|
|
9161
9249
|
* The path in the value of a field to take the user to, such as `['heroes', 2, 'name']`. When it changes, the form opens the sections and list items the field is in, scrolls it into view, focuses it and briefly highlights it. If the path goes further than the form can show, such as into a custom component, the closest field above the end of the path is shown. To show the same field again, set it to `undefined` first.
|
|
9162
9250
|
* @beta
|
|
@@ -9193,6 +9281,42 @@ declare namespace LocalJSX {
|
|
|
9193
9281
|
*/
|
|
9194
9282
|
"value"?: object;
|
|
9195
9283
|
}
|
|
9284
|
+
/**
|
|
9285
|
+
* This is an internal and private component that `limel-form` uses to
|
|
9286
|
+
* draw the heading of a section, a list or a custom component, together
|
|
9287
|
+
* with its description and its help.
|
|
9288
|
+
* Consumers of `limel-form` do not use it. They set the `title`,
|
|
9289
|
+
* the `description` and `lime.help` in the schema, and the form draws
|
|
9290
|
+
* this component with the right heading level.
|
|
9291
|
+
* :::note
|
|
9292
|
+
* The component has `shadow: false`, so that the heading, the description
|
|
9293
|
+
* and the help are part of the DOM of `limel-form`. This way, the styles
|
|
9294
|
+
* of the form that depend on how deep a field is reach them directly.
|
|
9295
|
+
* :::
|
|
9296
|
+
* @exampleComponent limel-example-form-header-basic
|
|
9297
|
+
* @exampleComponent limel-example-form-header-heading-level
|
|
9298
|
+
* @exampleComponent limel-example-form-header-help
|
|
9299
|
+
* @private
|
|
9300
|
+
*/
|
|
9301
|
+
interface LimelFormHeader {
|
|
9302
|
+
/**
|
|
9303
|
+
* Text, in markdown, that describes what the `heading` is about.
|
|
9304
|
+
*/
|
|
9305
|
+
"description"?: string;
|
|
9306
|
+
/**
|
|
9307
|
+
* The title of the section, the list or the custom component.
|
|
9308
|
+
*/
|
|
9309
|
+
"heading"?: string;
|
|
9310
|
+
/**
|
|
9311
|
+
* Which of the heading elements, from `h1` to `h6`, to draw the `heading` with.
|
|
9312
|
+
* @default 1
|
|
9313
|
+
*/
|
|
9314
|
+
"headingLevel"?: HeadingLevel;
|
|
9315
|
+
/**
|
|
9316
|
+
* Help to show beside the `heading`. A string is used as the `value` of the help.
|
|
9317
|
+
*/
|
|
9318
|
+
"help"?: string | Partial<Help>;
|
|
9319
|
+
}
|
|
9196
9320
|
/**
|
|
9197
9321
|
* This component is deprecated and will be removed in a future version of
|
|
9198
9322
|
* Lime Elements. Please use CSS for your flexible container needs 🙂
|
|
@@ -12002,6 +12126,7 @@ declare namespace LocalJSX {
|
|
|
12002
12126
|
interface LimelCollapsibleSectionAttributes {
|
|
12003
12127
|
"isOpen": boolean;
|
|
12004
12128
|
"header": string;
|
|
12129
|
+
"headingLevel": 1 | 2 | 3 | 4 | 5 | 6;
|
|
12005
12130
|
"icon": IconName | Icon;
|
|
12006
12131
|
"invalid": boolean;
|
|
12007
12132
|
"language": Languages;
|
|
@@ -12116,8 +12241,15 @@ declare namespace LocalJSX {
|
|
|
12116
12241
|
}
|
|
12117
12242
|
interface LimelFormAttributes {
|
|
12118
12243
|
"disabled": boolean;
|
|
12244
|
+
"headingLevel": HeadingLevel;
|
|
12119
12245
|
"revealErrors": boolean;
|
|
12120
12246
|
}
|
|
12247
|
+
interface LimelFormHeaderAttributes {
|
|
12248
|
+
"heading": string;
|
|
12249
|
+
"headingLevel": HeadingLevel;
|
|
12250
|
+
"description": string;
|
|
12251
|
+
"help": string | Partial<Help>;
|
|
12252
|
+
}
|
|
12121
12253
|
interface LimelHeaderAttributes {
|
|
12122
12254
|
"icon": IconName | Icon;
|
|
12123
12255
|
"heading": string;
|
|
@@ -12522,6 +12654,7 @@ declare namespace LocalJSX {
|
|
|
12522
12654
|
"limel-flatpickr-adapter": Omit<LimelFlatpickrAdapter, keyof LimelFlatpickrAdapterAttributes> & { [K in keyof LimelFlatpickrAdapter & keyof LimelFlatpickrAdapterAttributes]?: LimelFlatpickrAdapter[K] } & { [K in keyof LimelFlatpickrAdapter & keyof LimelFlatpickrAdapterAttributes as `attr:${K}`]?: LimelFlatpickrAdapterAttributes[K] } & { [K in keyof LimelFlatpickrAdapter & keyof LimelFlatpickrAdapterAttributes as `prop:${K}`]?: LimelFlatpickrAdapter[K] };
|
|
12523
12655
|
"limel-flex-container": Omit<LimelFlexContainer, keyof LimelFlexContainerAttributes> & { [K in keyof LimelFlexContainer & keyof LimelFlexContainerAttributes]?: LimelFlexContainer[K] } & { [K in keyof LimelFlexContainer & keyof LimelFlexContainerAttributes as `attr:${K}`]?: LimelFlexContainerAttributes[K] } & { [K in keyof LimelFlexContainer & keyof LimelFlexContainerAttributes as `prop:${K}`]?: LimelFlexContainer[K] };
|
|
12524
12656
|
"limel-form": Omit<LimelForm, keyof LimelFormAttributes> & { [K in keyof LimelForm & keyof LimelFormAttributes]?: LimelForm[K] } & { [K in keyof LimelForm & keyof LimelFormAttributes as `attr:${K}`]?: LimelFormAttributes[K] } & { [K in keyof LimelForm & keyof LimelFormAttributes as `prop:${K}`]?: LimelForm[K] };
|
|
12657
|
+
"limel-form-header": Omit<LimelFormHeader, keyof LimelFormHeaderAttributes> & { [K in keyof LimelFormHeader & keyof LimelFormHeaderAttributes]?: LimelFormHeader[K] } & { [K in keyof LimelFormHeader & keyof LimelFormHeaderAttributes as `attr:${K}`]?: LimelFormHeaderAttributes[K] } & { [K in keyof LimelFormHeader & keyof LimelFormHeaderAttributes as `prop:${K}`]?: LimelFormHeader[K] };
|
|
12525
12658
|
"limel-grid": LimelGrid;
|
|
12526
12659
|
"limel-header": Omit<LimelHeader, keyof LimelHeaderAttributes> & { [K in keyof LimelHeader & keyof LimelHeaderAttributes]?: LimelHeader[K] } & { [K in keyof LimelHeader & keyof LimelHeaderAttributes as `attr:${K}`]?: LimelHeaderAttributes[K] } & { [K in keyof LimelHeader & keyof LimelHeaderAttributes as `prop:${K}`]?: LimelHeader[K] };
|
|
12527
12660
|
"limel-help": Omit<LimelHelp, keyof LimelHelpAttributes> & { [K in keyof LimelHelp & keyof LimelHelpAttributes]?: LimelHelp[K] } & { [K in keyof LimelHelp & keyof LimelHelpAttributes as `attr:${K}`]?: LimelHelpAttributes[K] } & { [K in keyof LimelHelp & keyof LimelHelpAttributes as `prop:${K}`]?: LimelHelp[K] };
|
|
@@ -12967,6 +13100,7 @@ declare module "@stencil/core" {
|
|
|
12967
13100
|
* @exampleComponent limel-example-collapsible-section-invalid
|
|
12968
13101
|
* @exampleComponent limel-example-collapsible-section-icon
|
|
12969
13102
|
* @exampleComponent limel-example-collapsible-section-css-props
|
|
13103
|
+
* @exampleComponent limel-example-collapsible-section-heading-level
|
|
12970
13104
|
*/
|
|
12971
13105
|
"limel-collapsible-section": LocalJSX.IntrinsicElements["limel-collapsible-section"] & JSXBase.HTMLAttributes<HTMLLimelCollapsibleSectionElement>;
|
|
12972
13106
|
/**
|
|
@@ -13224,8 +13358,27 @@ declare module "@stencil/core" {
|
|
|
13224
13358
|
* @exampleComponent limel-example-builtin-field-types-form
|
|
13225
13359
|
* @exampleComponent limel-example-code-editor-form
|
|
13226
13360
|
* @exampleComponent limel-example-form-highlighted-field
|
|
13361
|
+
* @exampleComponent limel-example-form-heading-level
|
|
13227
13362
|
*/
|
|
13228
13363
|
"limel-form": LocalJSX.IntrinsicElements["limel-form"] & JSXBase.HTMLAttributes<HTMLLimelFormElement>;
|
|
13364
|
+
/**
|
|
13365
|
+
* This is an internal and private component that `limel-form` uses to
|
|
13366
|
+
* draw the heading of a section, a list or a custom component, together
|
|
13367
|
+
* with its description and its help.
|
|
13368
|
+
* Consumers of `limel-form` do not use it. They set the `title`,
|
|
13369
|
+
* the `description` and `lime.help` in the schema, and the form draws
|
|
13370
|
+
* this component with the right heading level.
|
|
13371
|
+
* :::note
|
|
13372
|
+
* The component has `shadow: false`, so that the heading, the description
|
|
13373
|
+
* and the help are part of the DOM of `limel-form`. This way, the styles
|
|
13374
|
+
* of the form that depend on how deep a field is reach them directly.
|
|
13375
|
+
* :::
|
|
13376
|
+
* @exampleComponent limel-example-form-header-basic
|
|
13377
|
+
* @exampleComponent limel-example-form-header-heading-level
|
|
13378
|
+
* @exampleComponent limel-example-form-header-help
|
|
13379
|
+
* @private
|
|
13380
|
+
*/
|
|
13381
|
+
"limel-form-header": LocalJSX.IntrinsicElements["limel-form-header"] & JSXBase.HTMLAttributes<HTMLLimelFormHeaderElement>;
|
|
13229
13382
|
/**
|
|
13230
13383
|
* This component is deprecated and will be removed in a future version of
|
|
13231
13384
|
* Lime Elements. Please use CSS for your flexible container needs 🙂
|
|
@@ -19,7 +19,7 @@ export * from './components/flex-container/flex-container.types';
|
|
|
19
19
|
export * from './global/shared-types/custom-element.types';
|
|
20
20
|
export * from './global/config';
|
|
21
21
|
export * from './global/shared-types/link.types';
|
|
22
|
-
export { EventEmitter, ValidationStatus, FormError, ValidationError, FormComponent, FormInfo, FormSchema, LimeSchemaOptions, LimeLayoutOptions, FormComponentOptions, FormLayoutOptions, GridLayoutOptions, RowLayoutOptions, FormLayoutType, ReplaceObjectType, FormSchemaArrayItem, FormSubKeySchema, } from './components/form/form.types';
|
|
22
|
+
export { EventEmitter, ValidationStatus, FormError, ValidationError, FormComponent, FormInfo, FormSchema, HeadingLevel, LimeSchemaOptions, LimeLayoutOptions, FormComponentOptions, FormLayoutOptions, GridLayoutOptions, RowLayoutOptions, FormLayoutType, ReplaceObjectType, FormSchemaArrayItem, FormSubKeySchema, } from './components/form/form.types';
|
|
23
23
|
export * from './components/help/help.types';
|
|
24
24
|
export * from './components/icon/icon.types';
|
|
25
25
|
export * from './components/info-tile/info-tile.types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@limetech/lime-elements",
|
|
3
|
-
"version": "40.
|
|
3
|
+
"version": "40.16.0",
|
|
4
4
|
"description": "Lime Elements",
|
|
5
5
|
"author": "Lime Technologies",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"postal-mime": "^4.0.11",
|
|
97
97
|
"prettier": "^3.9.10",
|
|
98
98
|
"prosemirror-example-setup": "^1.2.3",
|
|
99
|
-
"prosemirror-markdown": "^1.13.
|
|
99
|
+
"prosemirror-markdown": "^1.13.9",
|
|
100
100
|
"prosemirror-model": ">=1.25.12",
|
|
101
101
|
"prosemirror-schema-basic": "^1.2.5",
|
|
102
102
|
"prosemirror-tables": "^1.8.5",
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"sirv": "^3.0.2",
|
|
120
120
|
"sortablejs": "^1.15.7",
|
|
121
121
|
"style-to-object": "^2.0.2",
|
|
122
|
-
"tabulator-tables": "^6.
|
|
122
|
+
"tabulator-tables": "^6.7.1",
|
|
123
123
|
"typescript": "^4.9.5",
|
|
124
124
|
"unified": "^11.0.5",
|
|
125
125
|
"unist-util-visit": "^5.0.0",
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var isFunction = require('./isFunction-RSHwsz1x.js');
|
|
4
|
-
|
|
5
|
-
/** Used as references for various `Number` constants. */
|
|
6
|
-
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Checks if `value` is a valid array-like length.
|
|
10
|
-
*
|
|
11
|
-
* **Note:** This method is loosely based on
|
|
12
|
-
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
|
13
|
-
*
|
|
14
|
-
* @static
|
|
15
|
-
* @memberOf _
|
|
16
|
-
* @since 4.0.0
|
|
17
|
-
* @category Lang
|
|
18
|
-
* @param {*} value The value to check.
|
|
19
|
-
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
|
20
|
-
* @example
|
|
21
|
-
*
|
|
22
|
-
* _.isLength(3);
|
|
23
|
-
* // => true
|
|
24
|
-
*
|
|
25
|
-
* _.isLength(Number.MIN_VALUE);
|
|
26
|
-
* // => false
|
|
27
|
-
*
|
|
28
|
-
* _.isLength(Infinity);
|
|
29
|
-
* // => false
|
|
30
|
-
*
|
|
31
|
-
* _.isLength('3');
|
|
32
|
-
* // => false
|
|
33
|
-
*/
|
|
34
|
-
function isLength(value) {
|
|
35
|
-
return typeof value == 'number' &&
|
|
36
|
-
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
41
|
-
* not a function and has a `value.length` that's an integer greater than or
|
|
42
|
-
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
|
|
43
|
-
*
|
|
44
|
-
* @static
|
|
45
|
-
* @memberOf _
|
|
46
|
-
* @since 4.0.0
|
|
47
|
-
* @category Lang
|
|
48
|
-
* @param {*} value The value to check.
|
|
49
|
-
* @returns {boolean} Returns `true` if `value` is array-like, else `false`.
|
|
50
|
-
* @example
|
|
51
|
-
*
|
|
52
|
-
* _.isArrayLike([1, 2, 3]);
|
|
53
|
-
* // => true
|
|
54
|
-
*
|
|
55
|
-
* _.isArrayLike(document.body.children);
|
|
56
|
-
* // => true
|
|
57
|
-
*
|
|
58
|
-
* _.isArrayLike('abc');
|
|
59
|
-
* // => true
|
|
60
|
-
*
|
|
61
|
-
* _.isArrayLike(_.noop);
|
|
62
|
-
* // => false
|
|
63
|
-
*/
|
|
64
|
-
function isArrayLike(value) {
|
|
65
|
-
return value != null && isLength(value.length) && !isFunction.isFunction(value);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
exports.isArrayLike = isArrayLike;
|
|
69
|
-
exports.isLength = isLength;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var index = require('./index-BlsqxTB1.js');
|
|
4
|
-
|
|
5
|
-
const limelHelpContentCss = () => `@charset "UTF-8";:host(limel-help-content){display:flex;box-sizing:border-box;flex-direction:column;gap:0.5rem;max-height:30rem;height:100%}limel-markdown{--limel-overflow-mask-vertical:linear-gradient( to bottom, transparent 0%, black calc(0% + var(--limel-top-edge-fade-height, 1rem)), black calc(100% - var(--limel-bottom-edge-fade-height, 1rem)), transparent 100% );-webkit-mask-image:var(--limel-overflow-mask-vertical);mask-image:var(--limel-overflow-mask-vertical);padding-top:var(--limel-top-edge-fade-height, 1rem);padding-bottom:var(--limel-bottom-edge-fade-height, 1rem);padding-right:1rem;padding-left:1rem;min-height:0;min-width:0;overflow:hidden auto}a{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;position:relative;cursor:pointer;transition:color 0.2s ease;color:rgb(var(--color-blue-default))}a:before{transition:opacity 0.2s ease, transform 0.3s ease-out;content:"";position:absolute;inset:auto 0 0 0;width:calc(100% - 0.5rem);margin:auto;height:0.125rem;border-radius:1rem;background-color:currentColor;opacity:0;transform:scale(0.6)}a:hover{color:rgb(var(--color-blue-default))}a:hover:before{opacity:0.3;transform:scale(1)}a{position:sticky;bottom:0;text-decoration:none;font-size:var(--limel-theme-default-font-size);padding-bottom:0.125rem}span{padding:0 1rem 0.5rem 1rem;min-width:0}`;
|
|
6
|
-
|
|
7
|
-
const HelpContent = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
index.registerInstance(this, hostRef);
|
|
10
|
-
this.renderReadMoreLink = () => {
|
|
11
|
-
var _a, _b, _c, _d;
|
|
12
|
-
if (!this.readMoreLink) {
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
return (index.h("span", null, index.h("a", { href: (_a = this.readMoreLink) === null || _a === void 0 ? void 0 : _a.href, target: (_b = this.readMoreLink) === null || _b === void 0 ? void 0 : _b.target, title: (_c = this.readMoreLink) === null || _c === void 0 ? void 0 : _c.title, tabindex: "0" }, (_d = this.readMoreLink) === null || _d === void 0 ? void 0 : _d.text)));
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
render() {
|
|
19
|
-
return (index.h(index.Host, { key: 'dc61745d8db673bafa3179ec2075ac40d26c265e' }, index.h("limel-markdown", { key: '81b4c0871a566e55119abeebe42e26c45d16ab68', value: this.value }), this.renderReadMoreLink()));
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
HelpContent.style = limelHelpContentCss();
|
|
23
|
-
|
|
24
|
-
exports.limel_help_content = HelpContent;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { i as isFunction } from './isFunction-9zQTeQI8.js';
|
|
2
|
-
|
|
3
|
-
/** Used as references for various `Number` constants. */
|
|
4
|
-
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Checks if `value` is a valid array-like length.
|
|
8
|
-
*
|
|
9
|
-
* **Note:** This method is loosely based on
|
|
10
|
-
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
|
11
|
-
*
|
|
12
|
-
* @static
|
|
13
|
-
* @memberOf _
|
|
14
|
-
* @since 4.0.0
|
|
15
|
-
* @category Lang
|
|
16
|
-
* @param {*} value The value to check.
|
|
17
|
-
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
|
18
|
-
* @example
|
|
19
|
-
*
|
|
20
|
-
* _.isLength(3);
|
|
21
|
-
* // => true
|
|
22
|
-
*
|
|
23
|
-
* _.isLength(Number.MIN_VALUE);
|
|
24
|
-
* // => false
|
|
25
|
-
*
|
|
26
|
-
* _.isLength(Infinity);
|
|
27
|
-
* // => false
|
|
28
|
-
*
|
|
29
|
-
* _.isLength('3');
|
|
30
|
-
* // => false
|
|
31
|
-
*/
|
|
32
|
-
function isLength(value) {
|
|
33
|
-
return typeof value == 'number' &&
|
|
34
|
-
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
39
|
-
* not a function and has a `value.length` that's an integer greater than or
|
|
40
|
-
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
|
|
41
|
-
*
|
|
42
|
-
* @static
|
|
43
|
-
* @memberOf _
|
|
44
|
-
* @since 4.0.0
|
|
45
|
-
* @category Lang
|
|
46
|
-
* @param {*} value The value to check.
|
|
47
|
-
* @returns {boolean} Returns `true` if `value` is array-like, else `false`.
|
|
48
|
-
* @example
|
|
49
|
-
*
|
|
50
|
-
* _.isArrayLike([1, 2, 3]);
|
|
51
|
-
* // => true
|
|
52
|
-
*
|
|
53
|
-
* _.isArrayLike(document.body.children);
|
|
54
|
-
* // => true
|
|
55
|
-
*
|
|
56
|
-
* _.isArrayLike('abc');
|
|
57
|
-
* // => true
|
|
58
|
-
*
|
|
59
|
-
* _.isArrayLike(_.noop);
|
|
60
|
-
* // => false
|
|
61
|
-
*/
|
|
62
|
-
function isArrayLike(value) {
|
|
63
|
-
return value != null && isLength(value.length) && !isFunction(value);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export { isLength as a, isArrayLike as i };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-BU9IJqli.js';
|
|
2
|
-
|
|
3
|
-
const limelHelpContentCss = () => `@charset "UTF-8";:host(limel-help-content){display:flex;box-sizing:border-box;flex-direction:column;gap:0.5rem;max-height:30rem;height:100%}limel-markdown{--limel-overflow-mask-vertical:linear-gradient( to bottom, transparent 0%, black calc(0% + var(--limel-top-edge-fade-height, 1rem)), black calc(100% - var(--limel-bottom-edge-fade-height, 1rem)), transparent 100% );-webkit-mask-image:var(--limel-overflow-mask-vertical);mask-image:var(--limel-overflow-mask-vertical);padding-top:var(--limel-top-edge-fade-height, 1rem);padding-bottom:var(--limel-bottom-edge-fade-height, 1rem);padding-right:1rem;padding-left:1rem;min-height:0;min-width:0;overflow:hidden auto}a{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;position:relative;cursor:pointer;transition:color 0.2s ease;color:rgb(var(--color-blue-default))}a:before{transition:opacity 0.2s ease, transform 0.3s ease-out;content:"";position:absolute;inset:auto 0 0 0;width:calc(100% - 0.5rem);margin:auto;height:0.125rem;border-radius:1rem;background-color:currentColor;opacity:0;transform:scale(0.6)}a:hover{color:rgb(var(--color-blue-default))}a:hover:before{opacity:0.3;transform:scale(1)}a{position:sticky;bottom:0;text-decoration:none;font-size:var(--limel-theme-default-font-size);padding-bottom:0.125rem}span{padding:0 1rem 0.5rem 1rem;min-width:0}`;
|
|
4
|
-
|
|
5
|
-
const HelpContent = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.renderReadMoreLink = () => {
|
|
9
|
-
var _a, _b, _c, _d;
|
|
10
|
-
if (!this.readMoreLink) {
|
|
11
|
-
return;
|
|
12
|
-
}
|
|
13
|
-
return (h("span", null, h("a", { href: (_a = this.readMoreLink) === null || _a === void 0 ? void 0 : _a.href, target: (_b = this.readMoreLink) === null || _b === void 0 ? void 0 : _b.target, title: (_c = this.readMoreLink) === null || _c === void 0 ? void 0 : _c.title, tabindex: "0" }, (_d = this.readMoreLink) === null || _d === void 0 ? void 0 : _d.text)));
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
render() {
|
|
17
|
-
return (h(Host, { key: 'dc61745d8db673bafa3179ec2075ac40d26c265e' }, h("limel-markdown", { key: '81b4c0871a566e55119abeebe42e26c45d16ab68', value: this.value }), this.renderReadMoreLink()));
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
HelpContent.style = limelHelpContentCss();
|
|
21
|
-
|
|
22
|
-
export { HelpContent as limel_help_content };
|