@limetech/lime-elements 36.4.0 → 37.0.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/_arrayIncludesWith-29083f83.js +2 -0
- package/dist/cjs/_arrayIncludesWith-29083f83.js.map +1 -0
- package/dist/cjs/_assignValue-7c18d8d6.js +2 -0
- package/dist/cjs/_assignValue-7c18d8d6.js.map +1 -0
- package/dist/cjs/_commonjsHelpers-0c557e26.js +2 -0
- package/dist/cjs/_commonjsHelpers-0c557e26.js.map +1 -0
- package/dist/cjs/_defineProperty-8f56146d.js +2 -0
- package/dist/cjs/_defineProperty-8f56146d.js.map +1 -0
- package/dist/cjs/_getNative-60328036.js +2 -0
- package/dist/cjs/_getNative-60328036.js.map +1 -0
- package/dist/cjs/animationframe-e4c1798e.js +2 -0
- package/dist/cjs/animationframe-e4c1798e.js.map +1 -0
- package/dist/cjs/{checkbox.template-60ed3ee2.js → checkbox.template-234f4813.js} +3 -1
- package/dist/cjs/checkbox.template-234f4813.js.map +1 -0
- package/dist/cjs/component-66df95e7.js +2 -0
- package/dist/cjs/component-66df95e7.js.map +1 -0
- package/dist/cjs/component-67144c1c.js +2 -0
- package/dist/cjs/component-67144c1c.js.map +1 -0
- package/dist/cjs/component-ae3bfacf.js +2 -0
- package/dist/cjs/component-ae3bfacf.js.map +1 -0
- package/dist/cjs/component-cf490570.js +2 -0
- package/dist/cjs/component-cf490570.js.map +1 -0
- package/dist/cjs/component-dd795ff0.js +2 -0
- package/dist/cjs/component-dd795ff0.js.map +1 -0
- package/dist/cjs/config-c6520559.js +2 -0
- package/dist/cjs/config-c6520559.js.map +1 -0
- package/dist/cjs/device-c5841113.js +2 -0
- package/dist/cjs/device-c5841113.js.map +1 -0
- package/dist/cjs/dispatch-resize-event-4462d78f.js +2 -0
- package/dist/cjs/dispatch-resize-event-4462d78f.js.map +1 -0
- package/dist/cjs/dom-eb080f70.js +2 -0
- package/dist/cjs/dom-eb080f70.js.map +1 -0
- package/dist/cjs/eq-9a943b00.js +2 -0
- package/dist/cjs/eq-9a943b00.js.map +1 -0
- package/dist/cjs/format-5b928cf3.js +2 -0
- package/dist/cjs/format-5b928cf3.js.map +1 -0
- package/dist/cjs/identity-6dc34885.js +2 -0
- package/dist/cjs/identity-6dc34885.js.map +1 -0
- package/dist/cjs/{index-287e25e0.js → index-aafa56ee.js} +209 -23
- package/dist/cjs/index-aafa56ee.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/isArray-d188a04f.js +2 -0
- package/dist/cjs/isArray-d188a04f.js.map +1 -0
- package/dist/cjs/isArrayLike-ac53bdac.js +2 -0
- package/dist/cjs/isArrayLike-ac53bdac.js.map +1 -0
- package/dist/cjs/isEqual-d2a13a24.js +2 -0
- package/dist/cjs/isEqual-d2a13a24.js.map +1 -0
- package/dist/cjs/isObject-e28b7997.js +2 -0
- package/dist/cjs/isObject-e28b7997.js.map +1 -0
- package/dist/cjs/isObjectLike-3e3f0cba.js +2 -0
- package/dist/cjs/isObjectLike-3e3f0cba.js.map +1 -0
- package/dist/cjs/isSymbol-d22b2798.js +2 -0
- package/dist/cjs/isSymbol-d22b2798.js.map +1 -0
- package/dist/cjs/keyboard-9477d3a8.js +2 -0
- package/dist/cjs/keyboard-9477d3a8.js.map +1 -0
- package/dist/cjs/keycodes-3949f425.js +2 -0
- package/dist/cjs/keycodes-3949f425.js.map +1 -0
- package/dist/cjs/lime-elements.cjs.js +12 -3
- package/dist/cjs/lime-elements.cjs.js.map +1 -0
- package/dist/cjs/limel-action-bar-item_2.cjs.entry.js +3 -1
- package/dist/cjs/limel-action-bar-item_2.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-action-bar.cjs.entry.js +3 -1
- package/dist/cjs/limel-action-bar.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-badge.cjs.entry.js +3 -1
- package/dist/cjs/limel-badge.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-banner.cjs.entry.js +3 -1
- package/dist/cjs/limel-banner.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-button-group.cjs.entry.js +3 -1
- package/dist/cjs/limel-button-group.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-button.cjs.entry.js +3 -1
- package/dist/cjs/limel-button.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-callout.cjs.entry.js +3 -1
- package/dist/cjs/limel-callout.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-checkbox.cjs.entry.js +4 -2
- package/dist/cjs/limel-checkbox.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-chip-set.cjs.entry.js +3 -1
- package/dist/cjs/limel-chip-set.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-circular-progress_2.cjs.entry.js +3 -1
- package/dist/cjs/limel-circular-progress_2.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-code-editor.cjs.entry.js +3 -1
- package/dist/cjs/limel-code-editor.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-collapsible-section.cjs.entry.js +3 -1
- package/dist/cjs/limel-collapsible-section.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-color-picker-palette.cjs.entry.js +3 -1
- package/dist/cjs/limel-color-picker-palette.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-color-picker.cjs.entry.js +3 -1
- package/dist/cjs/limel-color-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-config.cjs.entry.js +3 -1
- package/dist/cjs/limel-config.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-date-picker.cjs.entry.js +3 -1
- package/dist/cjs/limel-date-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-dialog.cjs.entry.js +3 -1
- package/dist/cjs/limel-dialog.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-dock-button.cjs.entry.js +3 -1
- package/dist/cjs/limel-dock-button.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-dock.cjs.entry.js +3 -1
- package/dist/cjs/limel-dock.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-file.cjs.entry.js +3 -1
- package/dist/cjs/limel-file.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +3 -1
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-flex-container.cjs.entry.js +3 -1
- package/dist/cjs/limel-flex-container.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-form.cjs.entry.js +3 -1
- package/dist/cjs/limel-form.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-grid.cjs.entry.js +3 -1
- package/dist/cjs/limel-grid.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-header.cjs.entry.js +3 -1
- package/dist/cjs/limel-header.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-helper-line.cjs.entry.js +3 -1
- package/dist/cjs/limel-helper-line.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-icon-button.cjs.entry.js +3 -1
- package/dist/cjs/limel-icon-button.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-icon.cjs.entry.js +3 -1
- package/dist/cjs/limel-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-info-tile.cjs.entry.js +3 -1
- package/dist/cjs/limel-info-tile.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-input-field.cjs.entry.js +3 -1
- package/dist/cjs/limel-input-field.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-list_2.cjs.entry.js +4 -2
- package/dist/cjs/limel-list_2.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-menu_2.cjs.entry.js +3 -1
- package/dist/cjs/limel-menu_2.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-picker.cjs.entry.js +3 -1
- package/dist/cjs/limel-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-popover_2.cjs.entry.js +3 -1
- package/dist/cjs/limel-popover_2.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-portal.cjs.entry.js +15 -13
- package/dist/cjs/limel-portal.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-progress-flow-item.cjs.entry.js +3 -1
- package/dist/cjs/limel-progress-flow-item.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-progress-flow.cjs.entry.js +3 -1
- package/dist/cjs/limel-progress-flow.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-select.cjs.entry.js +3 -1
- package/dist/cjs/limel-select.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-shortcut.cjs.entry.js +3 -1
- package/dist/cjs/limel-shortcut.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-slider.cjs.entry.js +3 -1
- package/dist/cjs/limel-slider.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-snackbar.cjs.entry.js +3 -1
- package/dist/cjs/limel-snackbar.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-spinner.cjs.entry.js +3 -1
- package/dist/cjs/limel-spinner.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-split-button.cjs.entry.js +3 -1
- package/dist/cjs/limel-split-button.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-switch.cjs.entry.js +3 -1
- package/dist/cjs/limel-switch.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-tab-bar.cjs.entry.js +3 -1
- package/dist/cjs/limel-tab-bar.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-tab-panel.cjs.entry.js +3 -1
- package/dist/cjs/limel-tab-panel.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-table.cjs.entry.js +3 -1
- package/dist/cjs/limel-table.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-tooltip_2.cjs.entry.js +3 -1
- package/dist/cjs/limel-tooltip_2.cjs.entry.js.map +1 -0
- package/dist/cjs/link-helper-4f75d41d.js +2 -0
- package/dist/cjs/link-helper-4f75d41d.js.map +1 -0
- package/dist/cjs/loader.cjs.js +6 -3
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/moment-d1e35cdc.js +2 -0
- package/dist/cjs/moment-d1e35cdc.js.map +1 -0
- package/dist/cjs/multiple-2af83b6d.js +2 -0
- package/dist/cjs/multiple-2af83b6d.js.map +1 -0
- package/dist/cjs/pickBy-3ef47bf2.js +2 -0
- package/dist/cjs/pickBy-3ef47bf2.js.map +1 -0
- package/dist/cjs/ponyfill-98ca4766.js +2 -0
- package/dist/cjs/ponyfill-98ca4766.js.map +1 -0
- package/dist/cjs/random-string-4c3b7f1c.js +2 -0
- package/dist/cjs/random-string-4c3b7f1c.js.map +1 -0
- package/dist/cjs/sv-dffe48b5.js +2 -0
- package/dist/cjs/sv-dffe48b5.js.map +1 -0
- package/dist/cjs/toNumber-062ea29c.js +2 -0
- package/dist/cjs/toNumber-062ea29c.js.map +1 -0
- package/dist/cjs/translations-f8080c48.js +2 -0
- package/dist/cjs/translations-f8080c48.js.map +1 -0
- package/dist/cjs/util-b0f5741e.js +2 -0
- package/dist/cjs/util-b0f5741e.js.map +1 -0
- package/dist/cjs/zipObject-93a471fa.js +2 -0
- package/dist/cjs/zipObject-93a471fa.js.map +1 -0
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/action-bar/action-bar-item/action-bar-item.js +1 -0
- package/dist/collection/components/action-bar/action-bar-item/action-bar-item.js.map +1 -0
- package/dist/collection/components/action-bar/action-bar-item/action-bar-overflow-menu.js +2 -1
- package/dist/collection/components/action-bar/action-bar-item/action-bar-overflow-menu.js.map +1 -0
- package/dist/collection/components/action-bar/action-bar.js +1 -0
- package/dist/collection/components/action-bar/action-bar.js.map +1 -0
- package/dist/collection/components/action-bar/action-bar.types.js +1 -0
- package/dist/collection/components/action-bar/action-bar.types.js.map +1 -0
- package/dist/collection/components/action-bar/isItem.js +1 -0
- package/dist/collection/components/action-bar/isItem.js.map +1 -0
- package/dist/collection/components/badge/badge.js +1 -0
- package/dist/collection/components/badge/badge.js.map +1 -0
- package/dist/collection/components/badge/format.js +1 -0
- package/dist/collection/components/badge/format.js.map +1 -0
- package/dist/collection/components/banner/banner.js +1 -0
- package/dist/collection/components/banner/banner.js.map +1 -0
- package/dist/collection/components/button/button.js +1 -0
- package/dist/collection/components/button/button.js.map +1 -0
- package/dist/collection/components/button/button.types.js +1 -0
- package/dist/collection/components/button/button.types.js.map +1 -0
- package/dist/collection/components/button-group/button-group.js +1 -0
- package/dist/collection/components/button-group/button-group.js.map +1 -0
- package/dist/collection/components/callout/callout.helpers.js +1 -0
- package/dist/collection/components/callout/callout.helpers.js.map +1 -0
- package/dist/collection/components/callout/callout.js +3 -2
- package/dist/collection/components/callout/callout.js.map +1 -0
- package/dist/collection/components/callout/callout.types.js +1 -0
- package/dist/collection/components/callout/callout.types.js.map +1 -0
- package/dist/collection/components/checkbox/checkbox.js +1 -0
- package/dist/collection/components/checkbox/checkbox.js.map +1 -0
- package/dist/collection/components/checkbox/checkbox.template.js +1 -0
- package/dist/collection/components/checkbox/checkbox.template.js.map +1 -0
- package/dist/collection/components/chip-set/chip-set-input-helpers.js +1 -0
- package/dist/collection/components/chip-set/chip-set-input-helpers.js.map +1 -0
- package/dist/collection/components/chip-set/chip-set.js +6 -5
- package/dist/collection/components/chip-set/chip-set.js.map +1 -0
- package/dist/collection/components/chip-set/chip.types.js +1 -0
- package/dist/collection/components/chip-set/chip.types.js.map +1 -0
- package/dist/collection/components/circular-progress/circular-progress.js +1 -0
- package/dist/collection/components/circular-progress/circular-progress.js.map +1 -0
- package/dist/collection/components/circular-progress/circular-progress.types.js +1 -0
- package/dist/collection/components/circular-progress/circular-progress.types.js.map +1 -0
- package/dist/collection/components/code-editor/code-editor.js +1 -0
- package/dist/collection/components/code-editor/code-editor.js.map +1 -0
- package/dist/collection/components/code-editor/code-editor.types.js +1 -0
- package/dist/collection/components/code-editor/code-editor.types.js.map +1 -0
- package/dist/collection/components/collapsible-section/action.js +1 -0
- package/dist/collection/components/collapsible-section/action.js.map +1 -0
- package/dist/collection/components/collapsible-section/collapsible-section.js +1 -0
- package/dist/collection/components/collapsible-section/collapsible-section.js.map +1 -0
- package/dist/collection/components/color-picker/color-picker-palette.js +1 -0
- package/dist/collection/components/color-picker/color-picker-palette.js.map +1 -0
- package/dist/collection/components/color-picker/color-picker.js +1 -0
- package/dist/collection/components/color-picker/color-picker.js.map +1 -0
- package/dist/collection/components/color-picker/swatches.js +1 -0
- package/dist/collection/components/color-picker/swatches.js.map +1 -0
- package/dist/collection/components/config/config.js +1 -0
- package/dist/collection/components/config/config.js.map +1 -0
- package/dist/collection/components/date-picker/date-picker.js +5 -4
- package/dist/collection/components/date-picker/date-picker.js.map +1 -0
- package/dist/collection/components/date-picker/date.types.js +1 -0
- package/dist/collection/components/date-picker/date.types.js.map +1 -0
- package/dist/collection/components/date-picker/dateFormatter.js +1 -0
- package/dist/collection/components/date-picker/dateFormatter.js.map +1 -0
- package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js +5 -4
- package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js.map +1 -0
- package/dist/collection/components/date-picker/pickers/DatePicker.js +1 -0
- package/dist/collection/components/date-picker/pickers/DatePicker.js.map +1 -0
- package/dist/collection/components/date-picker/pickers/DatetimePicker.js +1 -0
- package/dist/collection/components/date-picker/pickers/DatetimePicker.js.map +1 -0
- package/dist/collection/components/date-picker/pickers/MonthPicker.js +1 -0
- package/dist/collection/components/date-picker/pickers/MonthPicker.js.map +1 -0
- package/dist/collection/components/date-picker/pickers/Picker.js +1 -0
- package/dist/collection/components/date-picker/pickers/Picker.js.map +1 -0
- package/dist/collection/components/date-picker/pickers/QuarterPicker.js +1 -0
- package/dist/collection/components/date-picker/pickers/QuarterPicker.js.map +1 -0
- package/dist/collection/components/date-picker/pickers/TimePicker.js +1 -0
- package/dist/collection/components/date-picker/pickers/TimePicker.js.map +1 -0
- package/dist/collection/components/date-picker/pickers/WeekPicker.js +1 -0
- package/dist/collection/components/date-picker/pickers/WeekPicker.js.map +1 -0
- package/dist/collection/components/date-picker/pickers/YearPicker.js +1 -0
- package/dist/collection/components/date-picker/pickers/YearPicker.js.map +1 -0
- package/dist/collection/components/dialog/dialog.js +6 -3
- package/dist/collection/components/dialog/dialog.js.map +1 -0
- package/dist/collection/components/dialog/dialog.types.js +1 -0
- package/dist/collection/components/dialog/dialog.types.js.map +1 -0
- package/dist/collection/components/dock/dock-button/dock-button.js +1 -0
- package/dist/collection/components/dock/dock-button/dock-button.js.map +1 -0
- package/dist/collection/components/dock/dock.js +1 -0
- package/dist/collection/components/dock/dock.js.map +1 -0
- package/dist/collection/components/dock/dock.types.js +1 -0
- package/dist/collection/components/dock/dock.types.js.map +1 -0
- package/dist/collection/components/file/file-metadata.js +1 -0
- package/dist/collection/components/file/file-metadata.js.map +1 -0
- package/dist/collection/components/file/file.js +7 -4
- package/dist/collection/components/file/file.js.map +1 -0
- package/dist/collection/components/file/file.types.js +1 -0
- package/dist/collection/components/file/file.types.js.map +1 -0
- package/dist/collection/components/file/icon-background-colors.js +1 -0
- package/dist/collection/components/file/icon-background-colors.js.map +1 -0
- package/dist/collection/components/file/icon-fill-colors.js +1 -0
- package/dist/collection/components/file/icon-fill-colors.js.map +1 -0
- package/dist/collection/components/file/icons.js +1 -0
- package/dist/collection/components/file/icons.js.map +1 -0
- package/dist/collection/components/flex-container/flex-container.js +7 -6
- package/dist/collection/components/flex-container/flex-container.js.map +1 -0
- package/dist/collection/components/flex-container/flex-container.types.js +1 -0
- package/dist/collection/components/flex-container/flex-container.types.js.map +1 -0
- package/dist/collection/components/form/adapters/base-adapter.js +3 -1
- package/dist/collection/components/form/adapters/base-adapter.js.map +1 -0
- package/dist/collection/components/form/adapters/index.js +1 -0
- package/dist/collection/components/form/adapters/index.js.map +1 -0
- package/dist/collection/components/form/adapters/widget-adapter.js +1 -0
- package/dist/collection/components/form/adapters/widget-adapter.js.map +1 -0
- package/dist/collection/components/form/fields/array-field.js +1 -0
- package/dist/collection/components/form/fields/array-field.js.map +1 -0
- package/dist/collection/components/form/fields/field-helpers.js +1 -0
- package/dist/collection/components/form/fields/field-helpers.js.map +1 -0
- package/dist/collection/components/form/fields/object-field.js +1 -0
- package/dist/collection/components/form/fields/object-field.js.map +1 -0
- package/dist/collection/components/form/fields/schema-field.js +1 -0
- package/dist/collection/components/form/fields/schema-field.js.map +1 -0
- package/dist/collection/components/form/fields/types.js +1 -0
- package/dist/collection/components/form/fields/types.js.map +1 -0
- package/dist/collection/components/form/form.js +1 -0
- package/dist/collection/components/form/form.js.map +1 -0
- package/dist/collection/components/form/form.types.js +1 -0
- package/dist/collection/components/form/form.types.js.map +1 -0
- package/dist/collection/components/form/internal.types.js +1 -0
- package/dist/collection/components/form/internal.types.js.map +1 -0
- package/dist/collection/components/form/row/row.js +1 -0
- package/dist/collection/components/form/row/row.js.map +1 -0
- package/dist/collection/components/form/schema.js +1 -0
- package/dist/collection/components/form/schema.js.map +1 -0
- package/dist/collection/components/form/templates/array-field-collapsible-item.js +1 -0
- package/dist/collection/components/form/templates/array-field-collapsible-item.js.map +1 -0
- package/dist/collection/components/form/templates/array-field-simple-item.js +1 -0
- package/dist/collection/components/form/templates/array-field-simple-item.js.map +1 -0
- package/dist/collection/components/form/templates/array-field.js +1 -0
- package/dist/collection/components/form/templates/array-field.js.map +1 -0
- package/dist/collection/components/form/templates/common.js +1 -0
- package/dist/collection/components/form/templates/common.js.map +1 -0
- package/dist/collection/components/form/templates/field.js +1 -0
- package/dist/collection/components/form/templates/field.js.map +1 -0
- package/dist/collection/components/form/templates/grid-layout.js +1 -0
- package/dist/collection/components/form/templates/grid-layout.js.map +1 -0
- package/dist/collection/components/form/templates/index.js +1 -0
- package/dist/collection/components/form/templates/index.js.map +1 -0
- package/dist/collection/components/form/templates/object-field.js +1 -0
- package/dist/collection/components/form/templates/object-field.js.map +1 -0
- package/dist/collection/components/form/templates/row-layout.js +1 -0
- package/dist/collection/components/form/templates/row-layout.js.map +1 -0
- package/dist/collection/components/form/templates/types.js +1 -0
- package/dist/collection/components/form/templates/types.js.map +1 -0
- package/dist/collection/components/form/validators/format.js +1 -0
- package/dist/collection/components/form/validators/format.js.map +1 -0
- package/dist/collection/components/form/validators/index.js +1 -0
- package/dist/collection/components/form/validators/index.js.map +1 -0
- package/dist/collection/components/form/widgets/checkbox.js +1 -0
- package/dist/collection/components/form/widgets/checkbox.js.map +1 -0
- package/dist/collection/components/form/widgets/code-editor.js +1 -0
- package/dist/collection/components/form/widgets/code-editor.js.map +1 -0
- package/dist/collection/components/form/widgets/date-picker.js +1 -0
- package/dist/collection/components/form/widgets/date-picker.js.map +1 -0
- package/dist/collection/components/form/widgets/index.js +1 -0
- package/dist/collection/components/form/widgets/index.js.map +1 -0
- package/dist/collection/components/form/widgets/input-field.js +1 -0
- package/dist/collection/components/form/widgets/input-field.js.map +1 -0
- package/dist/collection/components/form/widgets/select.js +1 -0
- package/dist/collection/components/form/widgets/select.js.map +1 -0
- package/dist/collection/components/form/widgets/slider.js +1 -0
- package/dist/collection/components/form/widgets/slider.js.map +1 -0
- package/dist/collection/components/form/widgets/types.js +1 -0
- package/dist/collection/components/form/widgets/types.js.map +1 -0
- package/dist/collection/components/grid/grid.js +1 -0
- package/dist/collection/components/grid/grid.js.map +1 -0
- package/dist/collection/components/header/header.js +1 -0
- package/dist/collection/components/header/header.js.map +1 -0
- package/dist/collection/components/helper-line/helper-line.js +1 -0
- package/dist/collection/components/helper-line/helper-line.js.map +1 -0
- package/dist/collection/components/icon/icon.js +1 -0
- package/dist/collection/components/icon/icon.js.map +1 -0
- package/dist/collection/components/icon/icon.types.js +1 -0
- package/dist/collection/components/icon/icon.types.js.map +1 -0
- package/dist/collection/components/icon-button/icon-button.js +1 -0
- package/dist/collection/components/icon-button/icon-button.js.map +1 -0
- package/dist/collection/components/info-tile/info-tile.js +5 -2
- package/dist/collection/components/info-tile/info-tile.js.map +1 -0
- package/dist/collection/components/info-tile/info-tile.types.js +1 -0
- package/dist/collection/components/info-tile/info-tile.types.js.map +1 -0
- package/dist/collection/components/input-field/input-field.js +1 -0
- package/dist/collection/components/input-field/input-field.js.map +1 -0
- package/dist/collection/components/input-field/input-field.types.js +1 -0
- package/dist/collection/components/input-field/input-field.types.js.map +1 -0
- package/dist/collection/components/linear-progress/linear-progress.js +1 -0
- package/dist/collection/components/linear-progress/linear-progress.js.map +1 -0
- package/dist/collection/components/list/list-item.types.js +1 -0
- package/dist/collection/components/list/list-item.types.js.map +1 -0
- package/dist/collection/components/list/list-renderer-config.js +1 -0
- package/dist/collection/components/list/list-renderer-config.js.map +1 -0
- package/dist/collection/components/list/list-renderer.js +1 -0
- package/dist/collection/components/list/list-renderer.js.map +1 -0
- package/dist/collection/components/list/list.js +6 -5
- package/dist/collection/components/list/list.js.map +1 -0
- package/dist/collection/components/list/list.types.js +1 -0
- package/dist/collection/components/list/list.types.js.map +1 -0
- package/dist/collection/components/list/radio-button/radio-button.template.js +1 -0
- package/dist/collection/components/list/radio-button/radio-button.template.js.map +1 -0
- package/dist/collection/components/menu/menu.js +3 -2
- package/dist/collection/components/menu/menu.js.map +1 -0
- package/dist/collection/components/menu/menu.types.js +1 -0
- package/dist/collection/components/menu/menu.types.js.map +1 -0
- package/dist/collection/components/menu-list/menu-list-renderer-config.js +1 -0
- package/dist/collection/components/menu-list/menu-list-renderer-config.js.map +1 -0
- package/dist/collection/components/menu-list/menu-list-renderer.js +1 -0
- package/dist/collection/components/menu-list/menu-list-renderer.js.map +1 -0
- package/dist/collection/components/menu-list/menu-list.js +5 -4
- package/dist/collection/components/menu-list/menu-list.js.map +1 -0
- package/dist/collection/components/menu-list/menu-list.types.js +1 -0
- package/dist/collection/components/menu-list/menu-list.types.js.map +1 -0
- package/dist/collection/components/menu-surface/menu-surface.js +1 -0
- package/dist/collection/components/menu-surface/menu-surface.js.map +1 -0
- package/dist/collection/components/picker/actions.types.js +1 -0
- package/dist/collection/components/picker/actions.types.js.map +1 -0
- package/dist/collection/components/picker/picker.js +12 -7
- package/dist/collection/components/picker/picker.js.map +1 -0
- package/dist/collection/components/picker/searcher.types.js +1 -0
- package/dist/collection/components/picker/searcher.types.js.map +1 -0
- package/dist/collection/components/popover/popover.js +1 -0
- package/dist/collection/components/popover/popover.js.map +1 -0
- package/dist/collection/components/popover-surface/popover-surface.js +1 -0
- package/dist/collection/components/popover-surface/popover-surface.js.map +1 -0
- package/dist/collection/components/portal/contains.js +1 -0
- package/dist/collection/components/portal/contains.js.map +1 -0
- package/dist/collection/components/portal/portal.js +12 -11
- package/dist/collection/components/portal/portal.js.map +1 -0
- package/dist/collection/components/progress-flow/progress-flow-item/progress-flow-item.js +1 -0
- package/dist/collection/components/progress-flow/progress-flow-item/progress-flow-item.js.map +1 -0
- package/dist/collection/components/progress-flow/progress-flow.js +1 -0
- package/dist/collection/components/progress-flow/progress-flow.js.map +1 -0
- package/dist/collection/components/progress-flow/progress-flow.types.js +1 -0
- package/dist/collection/components/progress-flow/progress-flow.types.js.map +1 -0
- package/dist/collection/components/select/option.types.js +1 -0
- package/dist/collection/components/select/option.types.js.map +1 -0
- package/dist/collection/components/select/select.js +8 -5
- package/dist/collection/components/select/select.js.map +1 -0
- package/dist/collection/components/select/select.template.js +1 -0
- package/dist/collection/components/select/select.template.js.map +1 -0
- package/dist/collection/components/shortcut/shortcut.js +5 -2
- package/dist/collection/components/shortcut/shortcut.js.map +1 -0
- package/dist/collection/components/slider/getPercentageClass.js +1 -0
- package/dist/collection/components/slider/getPercentageClass.js.map +1 -0
- package/dist/collection/components/slider/slider.js +1 -0
- package/dist/collection/components/slider/slider.js.map +1 -0
- package/dist/collection/components/snackbar/snackbar.js +3 -2
- package/dist/collection/components/snackbar/snackbar.js.map +1 -0
- package/dist/collection/components/spinner/spinner.js +3 -2
- package/dist/collection/components/spinner/spinner.js.map +1 -0
- package/dist/collection/components/spinner/spinner.types.js +1 -0
- package/dist/collection/components/spinner/spinner.types.js.map +1 -0
- package/dist/collection/components/split-button/split-button.js +3 -2
- package/dist/collection/components/split-button/split-button.js.map +1 -0
- package/dist/collection/components/switch/switch.js +1 -0
- package/dist/collection/components/switch/switch.js.map +1 -0
- package/dist/collection/components/tab-bar/tab-bar.js +1 -0
- package/dist/collection/components/tab-bar/tab-bar.js.map +1 -0
- package/dist/collection/components/tab-bar/tab.types.js +1 -0
- package/dist/collection/components/tab-bar/tab.types.js.map +1 -0
- package/dist/collection/components/tab-bar/tabs.js +1 -0
- package/dist/collection/components/tab-bar/tabs.js.map +1 -0
- package/dist/collection/components/tab-panel/tab-panel.js +1 -0
- package/dist/collection/components/tab-panel/tab-panel.js.map +1 -0
- package/dist/collection/components/tab-panel/tab-panel.types.js +1 -0
- package/dist/collection/components/tab-panel/tab-panel.types.js.map +1 -0
- package/dist/collection/components/table/columns.js +1 -0
- package/dist/collection/components/table/columns.js.map +1 -0
- package/dist/collection/components/table/element-pool.js +1 -0
- package/dist/collection/components/table/element-pool.js.map +1 -0
- package/dist/collection/components/table/layout.js +1 -0
- package/dist/collection/components/table/layout.js.map +1 -0
- package/dist/collection/components/table/selection.js +1 -0
- package/dist/collection/components/table/selection.js.map +1 -0
- package/dist/collection/components/table/table-selection.js +1 -0
- package/dist/collection/components/table/table-selection.js.map +1 -0
- package/dist/collection/components/table/table.js +1 -0
- package/dist/collection/components/table/table.js.map +1 -0
- package/dist/collection/components/table/table.types.js +1 -0
- package/dist/collection/components/table/table.types.js.map +1 -0
- package/dist/collection/components/tooltip/tooltip-content.js +1 -0
- package/dist/collection/components/tooltip/tooltip-content.js.map +1 -0
- package/dist/collection/components/tooltip/tooltip.js +1 -0
- package/dist/collection/components/tooltip/tooltip.js.map +1 -0
- package/dist/collection/global/config.js +1 -0
- package/dist/collection/global/config.js.map +1 -0
- package/dist/collection/global/icon-cache.js +1 -0
- package/dist/collection/global/icon-cache.js.map +1 -0
- package/dist/collection/global/shared-types/link.types.js +1 -0
- package/dist/collection/global/shared-types/link.types.js.map +1 -0
- package/dist/collection/global/translations.js +1 -0
- package/dist/collection/global/translations.js.map +1 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/translations/da.js +1 -0
- package/dist/collection/translations/da.js.map +1 -0
- package/dist/collection/translations/en.js +1 -0
- package/dist/collection/translations/en.js.map +1 -0
- package/dist/collection/translations/fi.js +1 -0
- package/dist/collection/translations/fi.js.map +1 -0
- package/dist/collection/translations/nl.js +1 -0
- package/dist/collection/translations/nl.js.map +1 -0
- package/dist/collection/translations/no.js +1 -0
- package/dist/collection/translations/no.js.map +1 -0
- package/dist/collection/translations/sv.js +1 -0
- package/dist/collection/translations/sv.js.map +1 -0
- package/dist/collection/util/device.js +1 -0
- package/dist/collection/util/device.js.map +1 -0
- package/dist/collection/util/dispatch-resize-event.js +1 -0
- package/dist/collection/util/dispatch-resize-event.js.map +1 -0
- package/dist/collection/util/dom.js +1 -0
- package/dist/collection/util/dom.js.map +1 -0
- package/dist/collection/util/keycodes.js +1 -0
- package/dist/collection/util/keycodes.js.map +1 -0
- package/dist/collection/util/link-helper.js +1 -0
- package/dist/collection/util/link-helper.js.map +1 -0
- package/dist/collection/util/multiple.js +1 -0
- package/dist/collection/util/multiple.js.map +1 -0
- package/dist/collection/util/random-string.js +1 -0
- package/dist/collection/util/random-string.js.map +1 -0
- package/dist/esm/_arrayIncludesWith-969bccda.js +2 -0
- package/dist/esm/_arrayIncludesWith-969bccda.js.map +1 -0
- package/dist/esm/_assignValue-fb2bf80a.js +2 -0
- package/dist/esm/_assignValue-fb2bf80a.js.map +1 -0
- package/dist/esm/_commonjsHelpers-5ec8f9b7.js +2 -0
- package/dist/esm/_commonjsHelpers-5ec8f9b7.js.map +1 -0
- package/dist/esm/_defineProperty-2105cb48.js +2 -0
- package/dist/esm/_defineProperty-2105cb48.js.map +1 -0
- package/dist/esm/_getNative-93d6bfe9.js +2 -0
- package/dist/esm/_getNative-93d6bfe9.js.map +1 -0
- package/dist/esm/animationframe-b52af02d.js +2 -0
- package/dist/esm/animationframe-b52af02d.js.map +1 -0
- package/dist/esm/{checkbox.template-4ce8d92f.js → checkbox.template-c838ee7b.js} +3 -1
- package/dist/esm/checkbox.template-c838ee7b.js.map +1 -0
- package/dist/esm/component-19eb6e2b.js +2 -0
- package/dist/esm/component-19eb6e2b.js.map +1 -0
- package/dist/esm/component-288691f3.js +2 -0
- package/dist/esm/component-288691f3.js.map +1 -0
- package/dist/esm/component-410aad5a.js +2 -0
- package/dist/esm/component-410aad5a.js.map +1 -0
- package/dist/esm/component-5b4ac85a.js +2 -0
- package/dist/esm/component-5b4ac85a.js.map +1 -0
- package/dist/esm/component-fffa3419.js +2 -0
- package/dist/esm/component-fffa3419.js.map +1 -0
- package/dist/esm/config-f7362aeb.js +2 -0
- package/dist/esm/config-f7362aeb.js.map +1 -0
- package/dist/esm/device-39db3b5f.js +2 -0
- package/dist/esm/device-39db3b5f.js.map +1 -0
- package/dist/esm/dispatch-resize-event-cd1d230c.js +2 -0
- package/dist/esm/dispatch-resize-event-cd1d230c.js.map +1 -0
- package/dist/esm/dom-2fe617e7.js +2 -0
- package/dist/esm/dom-2fe617e7.js.map +1 -0
- package/dist/esm/eq-c1c7f528.js +2 -0
- package/dist/esm/eq-c1c7f528.js.map +1 -0
- package/dist/esm/format-c76733cb.js +2 -0
- package/dist/esm/format-c76733cb.js.map +1 -0
- package/dist/esm/identity-87aa3962.js +2 -0
- package/dist/esm/identity-87aa3962.js.map +1 -0
- package/dist/esm/{index-cdfd351d.js → index-9bd6d7c6.js} +209 -24
- package/dist/esm/index-9bd6d7c6.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/isArray-80298bc7.js +2 -0
- package/dist/esm/isArray-80298bc7.js.map +1 -0
- package/dist/esm/isArrayLike-385e0f31.js +2 -0
- package/dist/esm/isArrayLike-385e0f31.js.map +1 -0
- package/dist/esm/isEqual-c5a636a4.js +2 -0
- package/dist/esm/isEqual-c5a636a4.js.map +1 -0
- package/dist/esm/isObject-c74e273c.js +2 -0
- package/dist/esm/isObject-c74e273c.js.map +1 -0
- package/dist/esm/isObjectLike-38996507.js +2 -0
- package/dist/esm/isObjectLike-38996507.js.map +1 -0
- package/dist/esm/isSymbol-5bf20921.js +2 -0
- package/dist/esm/isSymbol-5bf20921.js.map +1 -0
- package/dist/esm/keyboard-4b9e12e3.js +2 -0
- package/dist/esm/keyboard-4b9e12e3.js.map +1 -0
- package/dist/esm/keycodes-44c01beb.js +2 -0
- package/dist/esm/keycodes-44c01beb.js.map +1 -0
- package/dist/esm/lime-elements.js +9 -3
- package/dist/esm/lime-elements.js.map +1 -0
- package/dist/esm/limel-action-bar-item_2.entry.js +3 -1
- package/dist/esm/limel-action-bar-item_2.entry.js.map +1 -0
- package/dist/esm/limel-action-bar.entry.js +3 -1
- package/dist/esm/limel-action-bar.entry.js.map +1 -0
- package/dist/esm/limel-badge.entry.js +3 -1
- package/dist/esm/limel-badge.entry.js.map +1 -0
- package/dist/esm/limel-banner.entry.js +3 -1
- package/dist/esm/limel-banner.entry.js.map +1 -0
- package/dist/esm/limel-button-group.entry.js +3 -1
- package/dist/esm/limel-button-group.entry.js.map +1 -0
- package/dist/esm/limel-button.entry.js +3 -1
- package/dist/esm/limel-button.entry.js.map +1 -0
- package/dist/esm/limel-callout.entry.js +3 -1
- package/dist/esm/limel-callout.entry.js.map +1 -0
- package/dist/esm/limel-checkbox.entry.js +4 -2
- package/dist/esm/limel-checkbox.entry.js.map +1 -0
- package/dist/esm/limel-chip-set.entry.js +3 -1
- package/dist/esm/limel-chip-set.entry.js.map +1 -0
- package/dist/esm/limel-circular-progress_2.entry.js +3 -1
- package/dist/esm/limel-circular-progress_2.entry.js.map +1 -0
- package/dist/esm/limel-code-editor.entry.js +3 -1
- package/dist/esm/limel-code-editor.entry.js.map +1 -0
- package/dist/esm/limel-collapsible-section.entry.js +3 -1
- package/dist/esm/limel-collapsible-section.entry.js.map +1 -0
- package/dist/esm/limel-color-picker-palette.entry.js +3 -1
- package/dist/esm/limel-color-picker-palette.entry.js.map +1 -0
- package/dist/esm/limel-color-picker.entry.js +3 -1
- package/dist/esm/limel-color-picker.entry.js.map +1 -0
- package/dist/esm/limel-config.entry.js +3 -1
- package/dist/esm/limel-config.entry.js.map +1 -0
- package/dist/esm/limel-date-picker.entry.js +3 -1
- package/dist/esm/limel-date-picker.entry.js.map +1 -0
- package/dist/esm/limel-dialog.entry.js +3 -1
- package/dist/esm/limel-dialog.entry.js.map +1 -0
- package/dist/esm/limel-dock-button.entry.js +3 -1
- package/dist/esm/limel-dock-button.entry.js.map +1 -0
- package/dist/esm/limel-dock.entry.js +3 -1
- package/dist/esm/limel-dock.entry.js.map +1 -0
- package/dist/esm/limel-file.entry.js +3 -1
- package/dist/esm/limel-file.entry.js.map +1 -0
- package/dist/esm/limel-flatpickr-adapter.entry.js +3 -1
- package/dist/esm/limel-flatpickr-adapter.entry.js.map +1 -0
- package/dist/esm/limel-flex-container.entry.js +3 -1
- package/dist/esm/limel-flex-container.entry.js.map +1 -0
- package/dist/esm/limel-form.entry.js +3 -1
- package/dist/esm/limel-form.entry.js.map +1 -0
- package/dist/esm/limel-grid.entry.js +3 -1
- package/dist/esm/limel-grid.entry.js.map +1 -0
- package/dist/esm/limel-header.entry.js +3 -1
- package/dist/esm/limel-header.entry.js.map +1 -0
- package/dist/esm/limel-helper-line.entry.js +3 -1
- package/dist/esm/limel-helper-line.entry.js.map +1 -0
- package/dist/esm/limel-icon-button.entry.js +3 -1
- package/dist/esm/limel-icon-button.entry.js.map +1 -0
- package/dist/esm/limel-icon.entry.js +3 -1
- package/dist/esm/limel-icon.entry.js.map +1 -0
- package/dist/esm/limel-info-tile.entry.js +3 -1
- package/dist/esm/limel-info-tile.entry.js.map +1 -0
- package/dist/esm/limel-input-field.entry.js +3 -1
- package/dist/esm/limel-input-field.entry.js.map +1 -0
- package/dist/esm/limel-list_2.entry.js +4 -2
- package/dist/esm/limel-list_2.entry.js.map +1 -0
- package/dist/esm/limel-menu_2.entry.js +3 -1
- package/dist/esm/limel-menu_2.entry.js.map +1 -0
- package/dist/esm/limel-picker.entry.js +3 -1
- package/dist/esm/limel-picker.entry.js.map +1 -0
- package/dist/esm/limel-popover_2.entry.js +3 -1
- package/dist/esm/limel-popover_2.entry.js.map +1 -0
- package/dist/esm/limel-portal.entry.js +15 -13
- package/dist/esm/limel-portal.entry.js.map +1 -0
- package/dist/esm/limel-progress-flow-item.entry.js +3 -1
- package/dist/esm/limel-progress-flow-item.entry.js.map +1 -0
- package/dist/esm/limel-progress-flow.entry.js +3 -1
- package/dist/esm/limel-progress-flow.entry.js.map +1 -0
- package/dist/esm/limel-select.entry.js +3 -1
- package/dist/esm/limel-select.entry.js.map +1 -0
- package/dist/esm/limel-shortcut.entry.js +3 -1
- package/dist/esm/limel-shortcut.entry.js.map +1 -0
- package/dist/esm/limel-slider.entry.js +3 -1
- package/dist/esm/limel-slider.entry.js.map +1 -0
- package/dist/esm/limel-snackbar.entry.js +3 -1
- package/dist/esm/limel-snackbar.entry.js.map +1 -0
- package/dist/esm/limel-spinner.entry.js +3 -1
- package/dist/esm/limel-spinner.entry.js.map +1 -0
- package/dist/esm/limel-split-button.entry.js +3 -1
- package/dist/esm/limel-split-button.entry.js.map +1 -0
- package/dist/esm/limel-switch.entry.js +3 -1
- package/dist/esm/limel-switch.entry.js.map +1 -0
- package/dist/esm/limel-tab-bar.entry.js +3 -1
- package/dist/esm/limel-tab-bar.entry.js.map +1 -0
- package/dist/esm/limel-tab-panel.entry.js +3 -1
- package/dist/esm/limel-tab-panel.entry.js.map +1 -0
- package/dist/esm/limel-table.entry.js +3 -1
- package/dist/esm/limel-table.entry.js.map +1 -0
- package/dist/esm/limel-tooltip_2.entry.js +3 -1
- package/dist/esm/limel-tooltip_2.entry.js.map +1 -0
- package/dist/esm/link-helper-b08fe56c.js +2 -0
- package/dist/esm/link-helper-b08fe56c.js.map +1 -0
- package/dist/esm/loader.js +6 -3
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/moment-faa8a4a8.js +2 -0
- package/dist/esm/moment-faa8a4a8.js.map +1 -0
- package/dist/esm/multiple-0bd62427.js +2 -0
- package/dist/esm/multiple-0bd62427.js.map +1 -0
- package/dist/esm/pickBy-d359eb12.js +2 -0
- package/dist/esm/pickBy-d359eb12.js.map +1 -0
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/ponyfill-30263d5e.js +2 -0
- package/dist/esm/ponyfill-30263d5e.js.map +1 -0
- package/dist/esm/random-string-2246b81e.js +2 -0
- package/dist/esm/random-string-2246b81e.js.map +1 -0
- package/dist/esm/sv-336c4576.js +2 -0
- package/dist/esm/sv-336c4576.js.map +1 -0
- package/dist/esm/toNumber-a6ed64f0.js +2 -0
- package/dist/esm/toNumber-a6ed64f0.js.map +1 -0
- package/dist/esm/translations-f88bb584.js +2 -0
- package/dist/esm/translations-f88bb584.js.map +1 -0
- package/dist/esm/util-f1bde91c.js +2 -0
- package/dist/esm/util-f1bde91c.js.map +1 -0
- package/dist/esm/zipObject-2bb1968e.js +2 -0
- package/dist/esm/zipObject-2bb1968e.js.map +1 -0
- package/dist/lime-elements/index.esm.js +2 -0
- package/dist/lime-elements/index.esm.js.map +1 -0
- package/dist/lime-elements/lime-elements.esm.js +2 -1
- package/dist/lime-elements/lime-elements.esm.js.map +1 -0
- package/dist/lime-elements/p-0137d2fb.entry.js +2 -0
- package/dist/lime-elements/p-0137d2fb.entry.js.map +1 -0
- package/dist/lime-elements/p-0b1af919.js +2 -1
- package/dist/lime-elements/p-0b1af919.js.map +1 -0
- package/dist/lime-elements/p-0eabb204.js +2 -1
- package/dist/lime-elements/p-0eabb204.js.map +1 -0
- package/dist/lime-elements/p-13ed01eb.entry.js +236 -0
- package/dist/lime-elements/p-13ed01eb.entry.js.map +1 -0
- package/dist/lime-elements/p-17ac8cca.entry.js +2 -0
- package/dist/lime-elements/p-17ac8cca.entry.js.map +1 -0
- package/dist/lime-elements/p-1a80da5e.entry.js +104 -0
- package/dist/lime-elements/p-1a80da5e.entry.js.map +1 -0
- package/dist/lime-elements/p-1c284626.js +372 -5
- package/dist/lime-elements/p-1c284626.js.map +1 -0
- package/dist/lime-elements/p-1dc042e5.entry.js +2 -0
- package/dist/lime-elements/p-1dc042e5.entry.js.map +1 -0
- package/dist/lime-elements/p-2118b9ae.entry.js +2 -0
- package/dist/lime-elements/p-2118b9ae.entry.js.map +1 -0
- package/dist/lime-elements/p-2359d139.entry.js +82 -0
- package/dist/lime-elements/p-2359d139.entry.js.map +1 -0
- package/dist/lime-elements/p-240fda3b.js +2 -1
- package/dist/lime-elements/p-240fda3b.js.map +1 -0
- package/dist/lime-elements/p-2565927b.entry.js +21 -0
- package/dist/lime-elements/p-2565927b.entry.js.map +1 -0
- package/dist/lime-elements/p-28da3c47.entry.js +2 -0
- package/dist/lime-elements/p-28da3c47.entry.js.map +1 -0
- package/dist/lime-elements/p-2b0c6ccd.entry.js +17 -0
- package/dist/lime-elements/p-2b0c6ccd.entry.js.map +1 -0
- package/dist/lime-elements/p-2f71d4d4.js +2 -1
- package/dist/lime-elements/p-2f71d4d4.js.map +1 -0
- package/dist/lime-elements/p-30df2bb6.entry.js +2 -0
- package/dist/lime-elements/p-30df2bb6.entry.js.map +1 -0
- package/dist/lime-elements/p-365098fe.js +2 -1
- package/dist/lime-elements/p-365098fe.js.map +1 -0
- package/dist/lime-elements/p-3670f018.entry.js +2 -0
- package/dist/lime-elements/p-3670f018.entry.js.map +1 -0
- package/dist/lime-elements/p-40b7d717.entry.js +2 -0
- package/dist/lime-elements/p-40b7d717.entry.js.map +1 -0
- package/dist/lime-elements/p-4114c214.entry.js +82 -0
- package/dist/lime-elements/p-4114c214.entry.js.map +1 -0
- package/dist/lime-elements/p-42a24572.entry.js +2 -0
- package/dist/lime-elements/p-42a24572.entry.js.map +1 -0
- package/dist/lime-elements/p-48105d44.js +2 -1
- package/dist/lime-elements/p-48105d44.js.map +1 -0
- package/dist/lime-elements/p-48d4ef20.js +4 -3
- package/dist/lime-elements/p-48d4ef20.js.map +1 -0
- package/dist/lime-elements/p-4c3358cb.js +2 -1
- package/dist/lime-elements/p-4c3358cb.js.map +1 -0
- package/dist/lime-elements/p-4dd9a5a5.js +12 -5
- package/dist/lime-elements/p-4dd9a5a5.js.map +1 -0
- package/dist/lime-elements/p-4ed75a11.entry.js +162 -0
- package/dist/lime-elements/p-4ed75a11.entry.js.map +1 -0
- package/dist/lime-elements/p-4ef9aa7d.entry.js +104 -0
- package/dist/lime-elements/p-4ef9aa7d.entry.js.map +1 -0
- package/dist/lime-elements/p-55a09930.entry.js +126 -0
- package/dist/lime-elements/p-55a09930.entry.js.map +1 -0
- package/dist/lime-elements/p-5b374246.entry.js +476 -0
- package/dist/lime-elements/p-5b374246.entry.js.map +1 -0
- package/dist/lime-elements/p-5b6d2d55.js +2 -0
- package/dist/lime-elements/p-5b6d2d55.js.map +1 -0
- package/dist/lime-elements/p-5f020b3c.js +2 -1
- package/dist/lime-elements/p-5f020b3c.js.map +1 -0
- package/dist/lime-elements/p-5fdb83c9.js +2 -1
- package/dist/lime-elements/p-5fdb83c9.js.map +1 -0
- package/dist/lime-elements/p-623d09d9.entry.js +2 -0
- package/dist/lime-elements/p-623d09d9.entry.js.map +1 -0
- package/dist/lime-elements/p-63111b62.entry.js +2 -0
- package/dist/lime-elements/p-63111b62.entry.js.map +1 -0
- package/dist/lime-elements/p-648d9057.entry.js +2 -0
- package/dist/lime-elements/p-648d9057.entry.js.map +1 -0
- package/dist/lime-elements/p-669626e5.js +2 -1
- package/dist/lime-elements/p-669626e5.js.map +1 -0
- package/dist/lime-elements/p-6b952164.entry.js +2 -0
- package/dist/lime-elements/p-6b952164.entry.js.map +1 -0
- package/dist/lime-elements/p-6c094f3f.js +2 -1
- package/dist/lime-elements/p-6c094f3f.js.map +1 -0
- package/dist/lime-elements/p-6e219bb4.js +2 -1
- package/dist/lime-elements/p-6e219bb4.js.map +1 -0
- package/dist/lime-elements/p-715d3252.entry.js +2 -0
- package/dist/lime-elements/p-715d3252.entry.js.map +1 -0
- package/dist/lime-elements/p-753f500b.entry.js +82 -0
- package/dist/lime-elements/p-753f500b.entry.js.map +1 -0
- package/dist/lime-elements/p-795079c9.entry.js +2 -0
- package/dist/lime-elements/p-795079c9.entry.js.map +1 -0
- package/dist/lime-elements/p-7a3f58cd.entry.js +2 -0
- package/dist/lime-elements/p-7a3f58cd.entry.js.map +1 -0
- package/dist/lime-elements/p-7cda574b.js +2 -1
- package/dist/lime-elements/p-7cda574b.js.map +1 -0
- package/dist/lime-elements/p-848437f8.entry.js +2 -0
- package/dist/lime-elements/p-848437f8.entry.js.map +1 -0
- package/dist/lime-elements/p-858c6b82.js +2 -1
- package/dist/lime-elements/p-858c6b82.js.map +1 -0
- package/dist/lime-elements/p-896043d6.entry.js +2 -0
- package/dist/lime-elements/p-896043d6.entry.js.map +1 -0
- package/dist/lime-elements/p-8b339748.entry.js +2 -0
- package/dist/lime-elements/p-8b339748.entry.js.map +1 -0
- package/dist/lime-elements/p-945afca2.js +3 -2
- package/dist/lime-elements/p-945afca2.js.map +1 -0
- package/dist/lime-elements/p-9aab2892.entry.js +2 -0
- package/dist/lime-elements/p-9aab2892.entry.js.map +1 -0
- package/dist/lime-elements/p-9acf7b5d.js +2 -1
- package/dist/lime-elements/p-9acf7b5d.js.map +1 -0
- package/dist/lime-elements/p-9e78a21c.entry.js +16 -0
- package/dist/lime-elements/p-9e78a21c.entry.js.map +1 -0
- package/dist/lime-elements/p-9faad6eb.js +2 -1
- package/dist/lime-elements/p-9faad6eb.js.map +1 -0
- package/dist/lime-elements/p-9fe3bc64.entry.js +2 -0
- package/dist/lime-elements/p-9fe3bc64.entry.js.map +1 -0
- package/dist/lime-elements/p-a11a971e.entry.js +2 -0
- package/dist/lime-elements/p-a11a971e.entry.js.map +1 -0
- package/dist/lime-elements/p-a3bea367.entry.js +2 -0
- package/dist/lime-elements/p-a3bea367.entry.js.map +1 -0
- package/dist/lime-elements/p-a40e05c3.entry.js +2 -0
- package/dist/lime-elements/p-a40e05c3.entry.js.map +1 -0
- package/dist/lime-elements/p-a8714655.entry.js +2 -0
- package/dist/lime-elements/p-a8714655.entry.js.map +1 -0
- package/dist/lime-elements/p-acf307d9.js +2 -1
- package/dist/lime-elements/p-acf307d9.js.map +1 -0
- package/dist/lime-elements/p-ad8cb388.js +2 -1
- package/dist/lime-elements/p-ad8cb388.js.map +1 -0
- package/dist/lime-elements/p-ade76f1d.js +2 -1
- package/dist/lime-elements/p-ade76f1d.js.map +1 -0
- package/dist/lime-elements/p-b28128d2.js +2 -1
- package/dist/lime-elements/p-b28128d2.js.map +1 -0
- package/dist/lime-elements/p-b59e4287.js +2 -1
- package/dist/lime-elements/p-b59e4287.js.map +1 -0
- package/dist/lime-elements/p-b8ed25b3.entry.js +2 -0
- package/dist/lime-elements/p-b8ed25b3.entry.js.map +1 -0
- package/dist/lime-elements/p-c647b197.entry.js +2 -0
- package/dist/lime-elements/p-c647b197.entry.js.map +1 -0
- package/dist/lime-elements/p-c70b1ea3.js +2 -1
- package/dist/lime-elements/p-c70b1ea3.js.map +1 -0
- package/dist/lime-elements/p-c8818b66.js +3 -0
- package/dist/lime-elements/p-c8818b66.js.map +1 -0
- package/dist/lime-elements/p-c93050d6.js +2 -1
- package/dist/lime-elements/p-c93050d6.js.map +1 -0
- package/dist/lime-elements/p-ca9b383b.entry.js +2 -0
- package/dist/lime-elements/p-ca9b383b.entry.js.map +1 -0
- package/dist/lime-elements/p-cbc43682.js +27 -4
- package/dist/lime-elements/p-cbc43682.js.map +1 -0
- package/dist/lime-elements/p-cc9ebbef.js +2 -1
- package/dist/lime-elements/p-cc9ebbef.js.map +1 -0
- package/dist/lime-elements/p-d07f1a1f.entry.js +2 -0
- package/dist/lime-elements/p-d07f1a1f.entry.js.map +1 -0
- package/dist/lime-elements/p-d0a7de87.js +48 -3
- package/dist/lime-elements/p-d0a7de87.js.map +1 -0
- package/dist/lime-elements/p-d228fd62.entry.js +2 -0
- package/dist/lime-elements/p-d228fd62.entry.js.map +1 -0
- package/dist/lime-elements/p-d529bb7d.js +2 -1
- package/dist/lime-elements/p-d529bb7d.js.map +1 -0
- package/dist/lime-elements/p-d7801e00.js +2 -1
- package/dist/lime-elements/p-d7801e00.js.map +1 -0
- package/dist/lime-elements/p-d7c39d02.entry.js +126 -0
- package/dist/lime-elements/p-d7c39d02.entry.js.map +1 -0
- package/dist/lime-elements/p-da25e94d.entry.js +2 -0
- package/dist/lime-elements/p-da25e94d.entry.js.map +1 -0
- package/dist/lime-elements/p-dcc97cc2.js +2 -1
- package/dist/lime-elements/p-dcc97cc2.js.map +1 -0
- package/dist/lime-elements/p-dfba92de.js +88 -8
- package/dist/lime-elements/p-dfba92de.js.map +1 -0
- package/dist/lime-elements/p-e0fa49ca.entry.js +2 -0
- package/dist/lime-elements/p-e0fa49ca.entry.js.map +1 -0
- package/dist/lime-elements/p-e59e0040.entry.js +2 -0
- package/dist/lime-elements/p-e59e0040.entry.js.map +1 -0
- package/dist/lime-elements/p-eab67c09.js +2 -1
- package/dist/lime-elements/p-eab67c09.js.map +1 -0
- package/dist/lime-elements/p-eda23c05.js +2 -1
- package/dist/lime-elements/p-eda23c05.js.map +1 -0
- package/dist/lime-elements/p-f1d9723a.entry.js +2 -0
- package/dist/lime-elements/p-f1d9723a.entry.js.map +1 -0
- package/dist/lime-elements/p-fa607ed3.js +2 -1
- package/dist/lime-elements/p-fa607ed3.js.map +1 -0
- package/dist/lime-elements/p-fb799569.entry.js +2 -0
- package/dist/lime-elements/p-fb799569.entry.js.map +1 -0
- package/dist/loader/index.d.ts +9 -0
- package/dist/types/components/callout/callout.types.d.ts +1 -1
- package/dist/types/components/circular-progress/circular-progress.types.d.ts +1 -1
- package/dist/types/components/code-editor/code-editor.types.d.ts +2 -2
- package/dist/types/components/date-picker/date.types.d.ts +2 -2
- package/dist/types/components/file/file-metadata.d.ts +5 -5
- package/dist/types/components/flex-container/flex-container.types.d.ts +3 -3
- package/dist/types/components/form/form.types.d.ts +1 -1
- package/dist/types/components/form/templates/types.d.ts +3 -3
- package/dist/types/components/form/widgets/index.d.ts +1 -1
- package/dist/types/components/icon/icon.types.d.ts +1 -1
- package/dist/types/components/input-field/input-field.types.d.ts +1 -1
- package/dist/types/components/list/list.types.d.ts +1 -1
- package/dist/types/components/menu/menu.types.d.ts +1 -1
- package/dist/types/components/menu-list/menu-list.types.d.ts +1 -1
- package/dist/types/components/picker/actions.types.d.ts +2 -2
- package/dist/types/components/picker/searcher.types.d.ts +1 -1
- package/dist/types/components/spinner/spinner.types.d.ts +1 -1
- package/dist/types/components/table/layout.d.ts +1 -1
- package/dist/types/components/table/table.types.d.ts +2 -2
- package/dist/types/components.d.ts +2848 -0
- package/dist/types/interface.d.ts +5 -14
- package/dist/types/stencil-public-runtime.d.ts +74 -15
- package/package.json +2 -2
- package/dist/lime-elements/p-076de623.entry.js +0 -1
- package/dist/lime-elements/p-07dd6729.entry.js +0 -1
- package/dist/lime-elements/p-094dd76a.entry.js +0 -126
- package/dist/lime-elements/p-10e259de.entry.js +0 -1
- package/dist/lime-elements/p-123f5fbb.entry.js +0 -1
- package/dist/lime-elements/p-29350441.entry.js +0 -37
- package/dist/lime-elements/p-30f5cc4d.entry.js +0 -1
- package/dist/lime-elements/p-35a6ab13.entry.js +0 -1
- package/dist/lime-elements/p-3618f8be.entry.js +0 -1
- package/dist/lime-elements/p-3be2dfc7.entry.js +0 -1
- package/dist/lime-elements/p-3cdc210b.entry.js +0 -1
- package/dist/lime-elements/p-3fda3473.entry.js +0 -1
- package/dist/lime-elements/p-46a76d55.entry.js +0 -1
- package/dist/lime-elements/p-4a62273c.entry.js +0 -1
- package/dist/lime-elements/p-4eeabc1f.entry.js +0 -1
- package/dist/lime-elements/p-5338663b.entry.js +0 -1
- package/dist/lime-elements/p-55900379.entry.js +0 -59
- package/dist/lime-elements/p-55c8cb64.entry.js +0 -131
- package/dist/lime-elements/p-6b8142ba.entry.js +0 -73
- package/dist/lime-elements/p-6c38b505.entry.js +0 -1
- package/dist/lime-elements/p-727fd4ea.entry.js +0 -38
- package/dist/lime-elements/p-7719a91d.entry.js +0 -1
- package/dist/lime-elements/p-79049482.entry.js +0 -1
- package/dist/lime-elements/p-7d7d19de.entry.js +0 -1
- package/dist/lime-elements/p-803cc4b7.entry.js +0 -1
- package/dist/lime-elements/p-82cd7bb6.entry.js +0 -1
- package/dist/lime-elements/p-8a2d1761.entry.js +0 -11
- package/dist/lime-elements/p-8acabe02.entry.js +0 -59
- package/dist/lime-elements/p-9336fd7f.entry.js +0 -1
- package/dist/lime-elements/p-95cefb5f.entry.js +0 -1
- package/dist/lime-elements/p-a3acc38f.entry.js +0 -83
- package/dist/lime-elements/p-a5d5efc4.entry.js +0 -1
- package/dist/lime-elements/p-b0bfec52.entry.js +0 -1
- package/dist/lime-elements/p-b40f37d7.entry.js +0 -1
- package/dist/lime-elements/p-b526ebd4.entry.js +0 -1
- package/dist/lime-elements/p-b80de0ea.entry.js +0 -1
- package/dist/lime-elements/p-bf3d6097.entry.js +0 -1
- package/dist/lime-elements/p-c6e913a4.entry.js +0 -82
- package/dist/lime-elements/p-cb2c9562.entry.js +0 -16
- package/dist/lime-elements/p-cc3529bb.entry.js +0 -82
- package/dist/lime-elements/p-cfaa685f.entry.js +0 -1
- package/dist/lime-elements/p-d2a3d50b.js +0 -1
- package/dist/lime-elements/p-d4e788e1.js +0 -2
- package/dist/lime-elements/p-d55d88a5.entry.js +0 -1
- package/dist/lime-elements/p-da4d1bc1.entry.js +0 -16
- package/dist/lime-elements/p-eda87f8c.entry.js +0 -1
- package/dist/lime-elements/p-edbd8d62.entry.js +0 -1
- package/dist/lime-elements/p-ef93fd3e.entry.js +0 -1
- package/dist/lime-elements/p-f11e7ce1.entry.js +0 -1
- package/dist/lime-elements/p-f979c0f2.entry.js +0 -1
|
@@ -25,7 +25,49 @@ import { FlowItem } from "./components/progress-flow/progress-flow.types";
|
|
|
25
25
|
import { Tab } from "./components/tab-bar/tab.types";
|
|
26
26
|
import { Column, ColumnAggregate, ColumnSorter, TableParams } from "./components/table/table.types";
|
|
27
27
|
import { Layout } from "./components/table/layout";
|
|
28
|
+
export { ActionBarItem } from "./components/action-bar/action-bar.types";
|
|
29
|
+
export { ListSeparator } from "./components/list/list-item.types";
|
|
30
|
+
export { OpenDirection } from "./components/menu/menu.types";
|
|
31
|
+
export { ListSeparator as ListSeparator1 } from "src/interface";
|
|
32
|
+
export { Action as Action1, ActionBarItem as ActionBarItem1, Chip, ClosingActions, DateType, DialogHeading, FileInfo, FlexContainerAlign, FlexContainerDirection, FlexContainerJustify, IconSize as IconSize1, Languages, Link, ListItem, ListSeparator as ListSeparator2, ListType, MenuItem, MenuListType, OpenDirection as OpenDirection1, Option, Searcher, SpinnerSize } from "@limetech/lime-elements";
|
|
33
|
+
export { Button } from "./components/button/button.types";
|
|
34
|
+
export { CalloutType } from "./components/callout/callout.types";
|
|
35
|
+
export { CircularProgressSize } from "./components/circular-progress/circular-progress.types";
|
|
36
|
+
export { ColorScheme, Language } from "./components/code-editor/code-editor.types";
|
|
37
|
+
export { Action } from "./components/collapsible-section/action";
|
|
38
|
+
export { DockItem } from "./components/dock/dock.types";
|
|
39
|
+
export { FormError, ValidationError, ValidationStatus } from "./components/form/form.types";
|
|
40
|
+
export { IconSize } from "./components/icon/icon.types";
|
|
41
|
+
export { InfoTileProgress } from "./components/info-tile/info-tile.types";
|
|
42
|
+
export { InputType } from "./components/input-field/input-field.types";
|
|
43
|
+
export { ActionPosition, ActionScrollBehavior } from "./components/picker/actions.types";
|
|
44
|
+
export { FlowItem } from "./components/progress-flow/progress-flow.types";
|
|
45
|
+
export { Tab } from "./components/tab-bar/tab.types";
|
|
46
|
+
export { Column, ColumnAggregate, ColumnSorter, TableParams } from "./components/table/table.types";
|
|
47
|
+
export { Layout } from "./components/table/layout";
|
|
28
48
|
export namespace Components {
|
|
49
|
+
/**
|
|
50
|
+
* An action bar is a user interface element commonly found in software applications and websites.
|
|
51
|
+
* It typically appears at the top of the screen or within a specific section
|
|
52
|
+
* and serves as a centralized hub for accessing various actions and commands
|
|
53
|
+
* relevant to the current context or page.
|
|
54
|
+
* The action bar often contains a set of clickable icons or buttons (icons + labels)
|
|
55
|
+
* that represent specific actions, such as saving, deleting, editing, sharing,
|
|
56
|
+
* or bulk operations for selected items.
|
|
57
|
+
* The purpose of an action bar is to provide quick and convenient access to
|
|
58
|
+
* frequently used functionalities, enabling users to perform common tasks efficiently.
|
|
59
|
+
* It enhances usability by organizing important actions in a visually prominent and easily accessible location.
|
|
60
|
+
* The action bar's design and layout can vary based on the platform or application,
|
|
61
|
+
* but its primary goal remains consistent—to
|
|
62
|
+
* empower users to interact with the software and perform desired actions effortlessly.
|
|
63
|
+
* @exampleComponent limel-example-action-bar
|
|
64
|
+
* @exampleComponent limel-example-action-bar-overflow-menu
|
|
65
|
+
* @exampleComponent limel-example-action-bar-colors
|
|
66
|
+
* @exampleComponent limel-example-action-bar-floating
|
|
67
|
+
* @exampleComponent limel-example-action-bar-styling
|
|
68
|
+
* @exampleComponent limel-example-action-bar-as-primary-component
|
|
69
|
+
* @private
|
|
70
|
+
*/
|
|
29
71
|
interface LimelActionBar {
|
|
30
72
|
/**
|
|
31
73
|
* A label used to describe the purpose of the element to users of assistive technologies, like screen readers. Example value: "toolbar"
|
|
@@ -44,6 +86,9 @@ export namespace Components {
|
|
|
44
86
|
*/
|
|
45
87
|
"openDirection": OpenDirection;
|
|
46
88
|
}
|
|
89
|
+
/**
|
|
90
|
+
* @private
|
|
91
|
+
*/
|
|
47
92
|
interface LimelActionBarItem {
|
|
48
93
|
/**
|
|
49
94
|
* When the item is displayed in the available width, this will be `false`.
|
|
@@ -54,6 +99,9 @@ export namespace Components {
|
|
|
54
99
|
*/
|
|
55
100
|
"item": ActionBarItem | ListSeparator1;
|
|
56
101
|
}
|
|
102
|
+
/**
|
|
103
|
+
* @private
|
|
104
|
+
*/
|
|
57
105
|
interface LimelActionBarOverflowMenu {
|
|
58
106
|
/**
|
|
59
107
|
* List of the items that should be rendered in the overflow menu.
|
|
@@ -64,12 +112,22 @@ export namespace Components {
|
|
|
64
112
|
*/
|
|
65
113
|
"openDirection": OpenDirection1;
|
|
66
114
|
}
|
|
115
|
+
/**
|
|
116
|
+
* The Badge component can be used to display a notification badge,
|
|
117
|
+
* optionally with a number or a text label.
|
|
118
|
+
* @exampleComponent limel-example-badge
|
|
119
|
+
* @exampleComponent limel-example-badge-number
|
|
120
|
+
* @exampleComponent limel-example-badge-string
|
|
121
|
+
*/
|
|
67
122
|
interface LimelBadge {
|
|
68
123
|
/**
|
|
69
124
|
* Label to display in the badge. Numeric labels larger than 999 will be rounded and abbreviated. String labels get truncated if their length is longer than six characters.
|
|
70
125
|
*/
|
|
71
126
|
"label"?: number | string;
|
|
72
127
|
}
|
|
128
|
+
/**
|
|
129
|
+
* @exampleComponent limel-example-banner
|
|
130
|
+
*/
|
|
73
131
|
interface LimelBanner {
|
|
74
132
|
/**
|
|
75
133
|
* Close the banner
|
|
@@ -88,6 +146,19 @@ export namespace Components {
|
|
|
88
146
|
*/
|
|
89
147
|
"open": () => Promise<void>;
|
|
90
148
|
}
|
|
149
|
+
/**
|
|
150
|
+
* @exampleComponent limel-example-button-basic
|
|
151
|
+
* @exampleComponent limel-example-button-primary
|
|
152
|
+
* @exampleComponent limel-example-button-outlined
|
|
153
|
+
* @exampleComponent limel-example-button-disabled
|
|
154
|
+
* @exampleComponent limel-example-button-icon
|
|
155
|
+
* @exampleComponent limel-example-button-loading
|
|
156
|
+
* @exampleComponent limel-example-button-click-success
|
|
157
|
+
* @exampleComponent limel-example-button-click-fail
|
|
158
|
+
* @exampleComponent limel-example-button-reduce-presence
|
|
159
|
+
* @exampleComponent limel-example-button-colors
|
|
160
|
+
* @exampleComponent limel-example-button-composite
|
|
161
|
+
*/
|
|
91
162
|
interface LimelButton {
|
|
92
163
|
/**
|
|
93
164
|
* Set to `true` to disable the button.
|
|
@@ -118,6 +189,35 @@ export namespace Components {
|
|
|
118
189
|
*/
|
|
119
190
|
"primary": boolean;
|
|
120
191
|
}
|
|
192
|
+
/**
|
|
193
|
+
* A button group control is a linear set of two or more buttons.
|
|
194
|
+
* ## Usage
|
|
195
|
+
* Button groups are often used to display different views of the same thing. A
|
|
196
|
+
* common example of this component is when you switch between [ Map | Transit
|
|
197
|
+
* | Satellite ] views to look at an area on the map.
|
|
198
|
+
* In some cases, button groups may serve as quick filters as well. For example
|
|
199
|
+
* a list of contacts, in which the user can switch to [ All | Favorites
|
|
200
|
+
* | Frequently contacted ] can incorporate a button group to quickly filter out
|
|
201
|
+
* items and display subsets of them.
|
|
202
|
+
* ## Layout
|
|
203
|
+
* The button groups are usually placed in top headers and action bars,
|
|
204
|
+
* sometimes with other elements. Since the group items will always be rendered
|
|
205
|
+
* in a row, you must make sure not to have too many buttons in the group.
|
|
206
|
+
* Because if the container of your button group does not get enough space to
|
|
207
|
+
* fit in all its buttons, they will have to truncate their text and may appear
|
|
208
|
+
* very cramped together. Always think about how your button group will appear
|
|
209
|
+
* on a small screen such as phones.
|
|
210
|
+
* :::note
|
|
211
|
+
* Button can contain text or icons, but not both simultaneously!
|
|
212
|
+
* :::
|
|
213
|
+
* Within the group, icon buttons will all have the same width, while each text button
|
|
214
|
+
* inherits its width from its content.
|
|
215
|
+
* @exampleComponent limel-example-button-group-icons
|
|
216
|
+
* @exampleComponent limel-example-button-group
|
|
217
|
+
* @exampleComponent limel-example-button-group-mix
|
|
218
|
+
* @exampleComponent limel-example-button-group-badges
|
|
219
|
+
* @exampleComponent limel-example-button-group-composite
|
|
220
|
+
*/
|
|
121
221
|
interface LimelButtonGroup {
|
|
122
222
|
/**
|
|
123
223
|
* True if the button-group should be disabled
|
|
@@ -128,6 +228,31 @@ export namespace Components {
|
|
|
128
228
|
*/
|
|
129
229
|
"value": Button[];
|
|
130
230
|
}
|
|
231
|
+
/**
|
|
232
|
+
* Callouts—also known as Admonitions—are useful for including supportive or
|
|
233
|
+
* special content within a large piece of text, or even inside a user
|
|
234
|
+
* interface.
|
|
235
|
+
* When used in a document or text based user interface, the callout attracts
|
|
236
|
+
* the reader's attention to a particular piece of information, without
|
|
237
|
+
* significantly interrupting their flow of reading the document.
|
|
238
|
+
* In a user interface, a callout is more intrusive to the end-user. Still, it
|
|
239
|
+
* could be a good choice when you intend to slightly disturb the user's
|
|
240
|
+
* attention, and challenge them to pay extra attention to the information
|
|
241
|
+
* presented. In such cases, a callout should not be used as a static and
|
|
242
|
+
* constantly present element of the UI. Rather, it should be displayed when
|
|
243
|
+
* something unusual or remarkable demands the user's attention.
|
|
244
|
+
* @exampleComponent limel-example-callout-note
|
|
245
|
+
* @exampleComponent limel-example-callout-important
|
|
246
|
+
* @exampleComponent limel-example-callout-tip
|
|
247
|
+
* @exampleComponent limel-example-callout-caution
|
|
248
|
+
* @exampleComponent limel-example-callout-warning
|
|
249
|
+
* @exampleComponent limel-example-callout-rich-content
|
|
250
|
+
* @exampleComponent limel-example-callout-custom-heading
|
|
251
|
+
* @exampleComponent limel-example-callout-custom-icon
|
|
252
|
+
* @exampleComponent limel-example-callout-styles
|
|
253
|
+
* @exampleComponent limel-example-custom-type
|
|
254
|
+
* @exampleComponent limel-example-callout-composite
|
|
255
|
+
*/
|
|
131
256
|
interface LimelCallout {
|
|
132
257
|
/**
|
|
133
258
|
* Heading of the callout, which can be used to override the default heading which is displayed based on the chosen `type`.
|
|
@@ -146,6 +271,10 @@ export namespace Components {
|
|
|
146
271
|
*/
|
|
147
272
|
"type"?: CalloutType;
|
|
148
273
|
}
|
|
274
|
+
/**
|
|
275
|
+
* @exampleComponent limel-example-checkbox
|
|
276
|
+
* @exampleComponent limel-example-checkbox-helper-text
|
|
277
|
+
*/
|
|
149
278
|
interface LimelCheckbox {
|
|
150
279
|
/**
|
|
151
280
|
* The value of the checkbox. Set to `true` to make the checkbox checked.
|
|
@@ -176,6 +305,17 @@ export namespace Components {
|
|
|
176
305
|
*/
|
|
177
306
|
"required": boolean;
|
|
178
307
|
}
|
|
308
|
+
/**
|
|
309
|
+
* @exampleComponent limel-example-chip-set
|
|
310
|
+
* @exampleComponent limel-example-chip-set-choice
|
|
311
|
+
* @exampleComponent limel-example-chip-set-filter
|
|
312
|
+
* @exampleComponent limel-example-chip-set-filter-badge
|
|
313
|
+
* @exampleComponent limel-example-chip-set-input
|
|
314
|
+
* @exampleComponent limel-example-chip-set-input-type-text
|
|
315
|
+
* @exampleComponent limel-example-chip-set-input-type-search
|
|
316
|
+
* @exampleComponent limel-example-chip-icon-color
|
|
317
|
+
* @exampleComponent limel-example-chip-set-composite
|
|
318
|
+
*/
|
|
179
319
|
interface LimelChipSet {
|
|
180
320
|
/**
|
|
181
321
|
* Whether the "Clear all" buttons should be shown
|
|
@@ -254,6 +394,26 @@ export namespace Components {
|
|
|
254
394
|
*/
|
|
255
395
|
"value": Chip[];
|
|
256
396
|
}
|
|
397
|
+
/**
|
|
398
|
+
* The circular progress component can be used to visualize the curent state of
|
|
399
|
+
* a progress in a scale; for example percentage of completion of a task.
|
|
400
|
+
* Its compact UI makes the component suitable when there is not enough screen
|
|
401
|
+
* space available to visualise such information.
|
|
402
|
+
* This component allows you to define your scale, from `0` to a desired
|
|
403
|
+
* `maxValue`; and also lets you chose a proper `suffix` for your scale.
|
|
404
|
+
* :::note
|
|
405
|
+
* The component will round up the value when it is displayed, and only shows
|
|
406
|
+
* one decimal digit.
|
|
407
|
+
* It also abbreviates large numbers. For example 1234 will be displayed as 1.2k.
|
|
408
|
+
* Of course such numbers, if bigger than `maxValue` will be visualized as a
|
|
409
|
+
* full progress.
|
|
410
|
+
* :::
|
|
411
|
+
* @exampleComponent limel-example-circular-progress
|
|
412
|
+
* @exampleComponent limel-example-circular-progress-sizes
|
|
413
|
+
* @exampleComponent limel-example-circular-progress-props
|
|
414
|
+
* @exampleComponent limel-example-circular-progress-css-variables
|
|
415
|
+
* @exampleComponent limel-example-circular-progress-percentage-colors
|
|
416
|
+
*/
|
|
257
417
|
interface LimelCircularProgress {
|
|
258
418
|
/**
|
|
259
419
|
* When set to `true`, makes the filled section showing the percentage colorful. Colors change with intervals of 10%.
|
|
@@ -280,6 +440,13 @@ export namespace Components {
|
|
|
280
440
|
*/
|
|
281
441
|
"value": number;
|
|
282
442
|
}
|
|
443
|
+
/**
|
|
444
|
+
* Currently this component support syntax highlighting for `javascript`,
|
|
445
|
+
* `json` and `typescript` formats.
|
|
446
|
+
* @exampleComponent limel-example-code-editor
|
|
447
|
+
* @exampleComponent limel-example-code-editor-readonly-with-line-numbers
|
|
448
|
+
* @exampleComponent limel-example-code-editor-fold-lint
|
|
449
|
+
*/
|
|
283
450
|
interface LimelCodeEditor {
|
|
284
451
|
/**
|
|
285
452
|
* Select color scheme for the editor
|
|
@@ -310,6 +477,13 @@ export namespace Components {
|
|
|
310
477
|
*/
|
|
311
478
|
"value": string;
|
|
312
479
|
}
|
|
480
|
+
/**
|
|
481
|
+
* @exampleComponent limel-example-collapsible-section
|
|
482
|
+
* @exampleComponent limel-example-collapsible-section-actions
|
|
483
|
+
* @exampleComponent limel-example-collapsible-section-css-props
|
|
484
|
+
* @exampleComponent limel-example-collapsible-section-external-control
|
|
485
|
+
* @exampleComponent limel-example-collapsible-section-with-slider
|
|
486
|
+
*/
|
|
313
487
|
interface LimelCollapsibleSection {
|
|
314
488
|
/**
|
|
315
489
|
* Actions to place to the far right inside the header
|
|
@@ -324,6 +498,17 @@ export namespace Components {
|
|
|
324
498
|
*/
|
|
325
499
|
"isOpen": boolean;
|
|
326
500
|
}
|
|
501
|
+
/**
|
|
502
|
+
* This component enables you to select a swatch from out color palette, simply
|
|
503
|
+
* by clicking on it. You can then copy the css variable name of the chosen color
|
|
504
|
+
* and use it where desired.
|
|
505
|
+
* The color picker can also show you a preview of any valid color name or color value.
|
|
506
|
+
* :::note
|
|
507
|
+
* Make sure to read our [guidelines about usage of colors](/#/DesignGuidelines/color-system.md/) from our palette.
|
|
508
|
+
* :::
|
|
509
|
+
* @exampleComponent limel-example-color-picker
|
|
510
|
+
* @exampleComponent limel-example-color-picker-readonly
|
|
511
|
+
*/
|
|
327
512
|
interface LimelColorPicker {
|
|
328
513
|
/**
|
|
329
514
|
* Helper text of the input field
|
|
@@ -350,6 +535,9 @@ export namespace Components {
|
|
|
350
535
|
*/
|
|
351
536
|
"value": string;
|
|
352
537
|
}
|
|
538
|
+
/**
|
|
539
|
+
* @private
|
|
540
|
+
*/
|
|
353
541
|
interface LimelColorPickerPalette {
|
|
354
542
|
/**
|
|
355
543
|
* Helper text of the input field
|
|
@@ -368,12 +556,28 @@ export namespace Components {
|
|
|
368
556
|
*/
|
|
369
557
|
"value": string;
|
|
370
558
|
}
|
|
559
|
+
/**
|
|
560
|
+
* @private
|
|
561
|
+
*/
|
|
371
562
|
interface LimelConfig {
|
|
372
563
|
/**
|
|
373
564
|
* Global configuration for Lime Elements
|
|
374
565
|
*/
|
|
375
566
|
"config": object;
|
|
376
567
|
}
|
|
568
|
+
/**
|
|
569
|
+
* @exampleComponent limel-example-date-picker-datetime
|
|
570
|
+
* @exampleComponent limel-example-date-picker-date
|
|
571
|
+
* @exampleComponent limel-example-date-picker-time
|
|
572
|
+
* @exampleComponent limel-example-date-picker-week
|
|
573
|
+
* @exampleComponent limel-example-date-picker-month
|
|
574
|
+
* @exampleComponent limel-example-date-picker-quarter
|
|
575
|
+
* @exampleComponent limel-example-date-picker-year
|
|
576
|
+
* @exampleComponent limel-example-date-picker-formatted
|
|
577
|
+
* @exampleComponent limel-example-date-picker-programmatic-change
|
|
578
|
+
* @exampleComponent limel-example-date-picker-composite
|
|
579
|
+
* @exampleComponent limel-example-date-picker-custom-formatter
|
|
580
|
+
*/
|
|
377
581
|
interface LimelDatePicker {
|
|
378
582
|
/**
|
|
379
583
|
* Set to `true` to disable the field. Use `disabled` to indicate that the field can normally be interacted with, but is currently disabled. This tells the user that if certain requirements are met, the field may become enabled again.
|
|
@@ -424,6 +628,29 @@ export namespace Components {
|
|
|
424
628
|
*/
|
|
425
629
|
"value": Date;
|
|
426
630
|
}
|
|
631
|
+
/**
|
|
632
|
+
* :::note
|
|
633
|
+
* Regarding the `close` event: When putting other elements that emit `close`
|
|
634
|
+
* events inside a dialog, those events must be caught and stopped inside the
|
|
635
|
+
* dialog. If not, they will bubble to the event handler listening for `close`
|
|
636
|
+
* events on the dialog, which will close the dialog too.
|
|
637
|
+
* See the example _Nested `close` events_.
|
|
638
|
+
* :::
|
|
639
|
+
* :::important
|
|
640
|
+
* Are you developing for
|
|
641
|
+
* [Lime CRM](https://www.lime-technologies.com/en/lime-crm/)? Please note that
|
|
642
|
+
* you should use the [DialogService](https://lundalogik.github.io/lime-web-components/versions/latest/#/api/dialog-service)
|
|
643
|
+
* from Lime Web Components to open dialogs in Lime CRM.
|
|
644
|
+
* :::
|
|
645
|
+
* @exampleComponent limel-example-dialog
|
|
646
|
+
* @exampleComponent limel-example-dialog-nested-close-events
|
|
647
|
+
* @exampleComponent limel-example-dialog-heading
|
|
648
|
+
* @exampleComponent limel-example-dialog-form
|
|
649
|
+
* @exampleComponent limel-example-dialog-size
|
|
650
|
+
* @exampleComponent limel-example-dialog-fullscreen
|
|
651
|
+
* @exampleComponent limel-example-dialog-closing-actions
|
|
652
|
+
* @exampleComponent limel-example-dialog-action-buttons
|
|
653
|
+
*/
|
|
427
654
|
interface LimelDialog {
|
|
428
655
|
/**
|
|
429
656
|
* Defines which action triggers a close-event.
|
|
@@ -442,6 +669,14 @@ export namespace Components {
|
|
|
442
669
|
*/
|
|
443
670
|
"open": boolean;
|
|
444
671
|
}
|
|
672
|
+
/**
|
|
673
|
+
* @exampleComponent limel-example-dock-basic
|
|
674
|
+
* @exampleComponent limel-example-dock-custom-component
|
|
675
|
+
* @exampleComponent limel-example-dock-notification
|
|
676
|
+
* @exampleComponent limel-example-dock-mobile
|
|
677
|
+
* @exampleComponent limel-example-dock-expanded
|
|
678
|
+
* @exampleComponent limel-example-dock-colors-css
|
|
679
|
+
*/
|
|
445
680
|
interface LimelDock {
|
|
446
681
|
/**
|
|
447
682
|
* A label used to describe the purpose of the navigation element to users of assistive technologies, like screen readers. Especially useful when there are multiple navigation elements in the user interface. Example value: "Primary navigation"
|
|
@@ -468,6 +703,9 @@ export namespace Components {
|
|
|
468
703
|
*/
|
|
469
704
|
"mobileBreakPoint"?: number;
|
|
470
705
|
}
|
|
706
|
+
/**
|
|
707
|
+
* @private
|
|
708
|
+
*/
|
|
471
709
|
interface LimelDockButton {
|
|
472
710
|
/**
|
|
473
711
|
* When the dock is expanded or collapsed, dock items show labels and tooltips as suitable for the layout.
|
|
@@ -482,6 +720,33 @@ export namespace Components {
|
|
|
482
720
|
*/
|
|
483
721
|
"useMobileLayout"?: boolean;
|
|
484
722
|
}
|
|
723
|
+
/**
|
|
724
|
+
* This component lets end-users select a *single* file from their device
|
|
725
|
+
* storage. Regardless of the user's device or operating system, this component
|
|
726
|
+
* opens up a file picker dialog that allows the user to choose a file.
|
|
727
|
+
* ## Using correct labels
|
|
728
|
+
* This file picker can be used in different contexts. The component's distinct
|
|
729
|
+
* visual design including the upload icon hints end-users that this is not a
|
|
730
|
+
* normal input field like other fields in the form for example.
|
|
731
|
+
* :::important
|
|
732
|
+
* you need to use a descriptive `label` that clarifies the
|
|
733
|
+
* functionality of the file picker, and/or provides users with clear
|
|
734
|
+
* instructions.
|
|
735
|
+
* Depending on the context, you may need to avoid labels such as:
|
|
736
|
+
* - File
|
|
737
|
+
* - Document
|
|
738
|
+
* and instead consider using labels like:
|
|
739
|
+
* - Attach a file
|
|
740
|
+
* - Upload a file
|
|
741
|
+
* - Choose a document
|
|
742
|
+
* - Choose a file
|
|
743
|
+
* and similar phrases...
|
|
744
|
+
* :::
|
|
745
|
+
* @exampleComponent limel-example-file
|
|
746
|
+
* @exampleComponent limel-example-file-custom-icon
|
|
747
|
+
* @exampleComponent limel-example-file-accepted-types
|
|
748
|
+
* @exampleComponent limel-example-file-composite
|
|
749
|
+
*/
|
|
485
750
|
interface LimelFile {
|
|
486
751
|
/**
|
|
487
752
|
* The [accepted file types](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#unique_file_type_specifiers)
|
|
@@ -512,6 +777,12 @@ export namespace Components {
|
|
|
512
777
|
*/
|
|
513
778
|
"value": FileInfo;
|
|
514
779
|
}
|
|
780
|
+
/**
|
|
781
|
+
* This component is internal and only supposed to be used by
|
|
782
|
+
* the limel-date-picker. This component is needed in order for us
|
|
783
|
+
* to render the flatpickr calendar in a portal.
|
|
784
|
+
* @private
|
|
785
|
+
*/
|
|
515
786
|
interface LimelFlatpickrAdapter {
|
|
516
787
|
/**
|
|
517
788
|
* Format to display the selected date in.
|
|
@@ -539,6 +810,13 @@ export namespace Components {
|
|
|
539
810
|
*/
|
|
540
811
|
"value": Date;
|
|
541
812
|
}
|
|
813
|
+
/**
|
|
814
|
+
* This component is deprecated and will be removed in a future version of
|
|
815
|
+
* Lime Elements. Please use CSS for your flexible container needs 🙂
|
|
816
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox
|
|
817
|
+
* @deprecated
|
|
818
|
+
* @private
|
|
819
|
+
*/
|
|
542
820
|
interface LimelFlexContainer {
|
|
543
821
|
/**
|
|
544
822
|
* Specify how items are aligned along the cross axis
|
|
@@ -557,6 +835,19 @@ export namespace Components {
|
|
|
557
835
|
*/
|
|
558
836
|
"reverse": boolean;
|
|
559
837
|
}
|
|
838
|
+
/**
|
|
839
|
+
* @exampleComponent limel-example-form
|
|
840
|
+
* @exampleComponent limel-example-nested-form
|
|
841
|
+
* @exampleComponent limel-example-list-form
|
|
842
|
+
* @exampleComponent limel-example-dynamic-form
|
|
843
|
+
* @exampleComponent limel-example-custom-component-form
|
|
844
|
+
* @exampleComponent limel-example-props-factory-form
|
|
845
|
+
* @exampleComponent limel-example-form-layout
|
|
846
|
+
* @exampleComponent limel-example-form-span-fields
|
|
847
|
+
* @exampleComponent limel-example-custom-error-message
|
|
848
|
+
* @exampleComponent limel-example-server-errors
|
|
849
|
+
* @exampleComponent limel-example-form-row-layout
|
|
850
|
+
*/
|
|
560
851
|
interface LimelForm {
|
|
561
852
|
/**
|
|
562
853
|
* Set to `true` to disable the whole form.
|
|
@@ -586,8 +877,51 @@ export namespace Components {
|
|
|
586
877
|
*/
|
|
587
878
|
"value": object;
|
|
588
879
|
}
|
|
880
|
+
/**
|
|
881
|
+
* The `limel-grid` component creates a grid which can be used to control the
|
|
882
|
+
* layout of other components. It uses CSS [grid-template-areas](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-areas)
|
|
883
|
+
* to enable easy configuration of its child-elements.
|
|
884
|
+
* @exampleComponent limel-example-grid
|
|
885
|
+
*/
|
|
589
886
|
interface LimelGrid {
|
|
590
887
|
}
|
|
888
|
+
/**
|
|
889
|
+
* A header is the top most visual element in a component, page, card, or a view.
|
|
890
|
+
* ## Usage
|
|
891
|
+
* A header is the first thing that clarifies a context for users.
|
|
892
|
+
* Due to their positions in the UI hierarchy, headers are the most
|
|
893
|
+
* prominent elements of a user interface; and because of that, they carry both
|
|
894
|
+
* vital information and fundamental controls for the area of the interface
|
|
895
|
+
* they represent.
|
|
896
|
+
* For example, when a header is placed on top of a card, it should quickly
|
|
897
|
+
* explain the card to the user. When placed on top of a modal, it should easily
|
|
898
|
+
* clarify what the modal is about. When displayed on top of a fullscreen view,
|
|
899
|
+
* it should indicate where in the system users are, and what part of the app
|
|
900
|
+
* they are looking at.
|
|
901
|
+
* ## Layout
|
|
902
|
+
* The vital information in a header is usually manifested in form of an icon,
|
|
903
|
+
* and a heading. A subheading also could be added to provide supplementary
|
|
904
|
+
* information. There is also a third place for displaying supplementary information
|
|
905
|
+
* or "supporting text", which will be rendered as a part of the subheading.
|
|
906
|
+
* Along with this information, headers can also include actions, controls, or
|
|
907
|
+
* menus.
|
|
908
|
+
* :::important
|
|
909
|
+
* Such actions or menus must affect the entire section of the interface
|
|
910
|
+
* which the header is representing. For example, a _Delete_ button on a card
|
|
911
|
+
* header must delete that entire card and its respective contents all together,
|
|
912
|
+
* not for example a selected item which is visible in the content of that card.
|
|
913
|
+
* :::
|
|
914
|
+
* :::warning
|
|
915
|
+
* Do not user background color on icons in the headers. It is much better and
|
|
916
|
+
* much easier for the eye if your icon itself has a color.
|
|
917
|
+
* Background colors behind icons make them look like "call to action" buttons
|
|
918
|
+
* and take a lot of attention from users.
|
|
919
|
+
* :::
|
|
920
|
+
* @exampleComponent limel-example-header
|
|
921
|
+
* @exampleComponent limel-example-header-colors
|
|
922
|
+
* @exampleComponent limel-example-header-responsive
|
|
923
|
+
* @exampleComponent limel-example-header-narrow
|
|
924
|
+
*/
|
|
591
925
|
interface LimelHeader {
|
|
592
926
|
/**
|
|
593
927
|
* Title to display
|
|
@@ -606,6 +940,30 @@ export namespace Components {
|
|
|
606
940
|
*/
|
|
607
941
|
"supportingText": string;
|
|
608
942
|
}
|
|
943
|
+
/**
|
|
944
|
+
* This is an internal and private component that many input fields
|
|
945
|
+
* use to display a helper text, along with a character counter below the
|
|
946
|
+
* input field.
|
|
947
|
+
* We created this to keep the visual styles the same everywhere
|
|
948
|
+
* and to avoid importing styles separately.
|
|
949
|
+
* Also this enables us to open the helper line in limel-portal,
|
|
950
|
+
* more easily without having to send the styles to the portal.
|
|
951
|
+
* :::note
|
|
952
|
+
* When the component has no content, it will get a `display: none`
|
|
953
|
+
* as styles to avoid creating empty holes in the UI of the parent component.
|
|
954
|
+
* For example, in a `flex` or `grid` component that has a `gap`,
|
|
955
|
+
* we don't want the empty `limel-helper-line` to render and cause unnecessary
|
|
956
|
+
* gaps in the UI.
|
|
957
|
+
* However, to be more resourceful, the parent component can choose not
|
|
958
|
+
* to render the helper-line as well.
|
|
959
|
+
* :::
|
|
960
|
+
* @exampleComponent limel-example-helper-line
|
|
961
|
+
* @exampleComponent limel-example-helper-line-invalid
|
|
962
|
+
* @exampleComponent limel-example-helper-line-long-text
|
|
963
|
+
* @exampleComponent limel-example-helper-line-long-text-no-counter
|
|
964
|
+
* @exampleComponent limel-example-helper-line-character-counter
|
|
965
|
+
* @private
|
|
966
|
+
*/
|
|
609
967
|
interface LimelHelperLine {
|
|
610
968
|
/**
|
|
611
969
|
* The helper text that is displayed on the left side.
|
|
@@ -628,6 +986,49 @@ export namespace Components {
|
|
|
628
986
|
*/
|
|
629
987
|
"maxLength"?: number;
|
|
630
988
|
}
|
|
989
|
+
/**
|
|
990
|
+
* The recommended icon library for use with Lime Elements is the Windows 10 set
|
|
991
|
+
* from Icons8 (https://icons8.com/icons/windows). This set is included in the
|
|
992
|
+
* relevant Lime products. If you are using Lime Elements in a non-Lime product,
|
|
993
|
+
* you will have to supply your own icons.
|
|
994
|
+
* The size and color of the icon is set in CSS, however there are a few
|
|
995
|
+
* standard sizes defined that can be used with the `size` property.
|
|
996
|
+
* ### Setup
|
|
997
|
+
* To use **@lundalogik/lime-icons8**, the `/assets` folder from
|
|
998
|
+
* __@lundalogik/lime-icons8__ must be made available on the webserver.
|
|
999
|
+
* To use a different icon set, the icons must be placed in a folder structure
|
|
1000
|
+
* that looks like this: `assets/icons/<name-of-icon>.svg`
|
|
1001
|
+
* If `assets` is placed in the root, no other setup is needed. The icons will
|
|
1002
|
+
* be fetched with a relative URL from `/assets/icons/<name-of-icon>.svg`.
|
|
1003
|
+
* If `assets` is placed in a sub-folder somewhere, the easiest way to make the
|
|
1004
|
+
* icons available is to use the HTML `base` element:
|
|
1005
|
+
* ```
|
|
1006
|
+
* <base href="/my/parent/path/">
|
|
1007
|
+
* ```
|
|
1008
|
+
* If this is not enough, or if the `base` element is already in use for
|
|
1009
|
+
* something else, a global icon path can be configured with the `limel-config`
|
|
1010
|
+
* element:
|
|
1011
|
+
* ```
|
|
1012
|
+
* <limel-config config={{iconPath: '/my/parent/path/'}} />
|
|
1013
|
+
* ```
|
|
1014
|
+
* ### Lime icons
|
|
1015
|
+
* There are icons included in the **@lundalogik/lime-icons8** package which are
|
|
1016
|
+
* designed by our designers at Lime.
|
|
1017
|
+
* The names of these icons start with `-lime-`, which makes them easy to
|
|
1018
|
+
* find using the Icon Finder tool below.
|
|
1019
|
+
* :::note
|
|
1020
|
+
* Some of the `-lime-` icons have multiple colors and use our own CSS variables
|
|
1021
|
+
* instead of HEX or RGB values to visualize their colors. Thus, you must import
|
|
1022
|
+
* our color palette css files into your project to render the icons properly.
|
|
1023
|
+
* Read more about our [Color System](#/DesignGuidelines/color-system.md/)
|
|
1024
|
+
* and how to do this.
|
|
1025
|
+
* :::
|
|
1026
|
+
* ### Icon Finder
|
|
1027
|
+
* Search for an icon and **click on it to copy its name to clipboard**.
|
|
1028
|
+
* <limel-example-icon-finder />
|
|
1029
|
+
* @exampleComponent limel-example-icon
|
|
1030
|
+
* @exampleComponent limel-example-icon-background
|
|
1031
|
+
*/
|
|
631
1032
|
interface LimelIcon {
|
|
632
1033
|
/**
|
|
633
1034
|
* Set to `true` to give the icon a round background with some padding. Only works when the `size` attribute is also set.
|
|
@@ -642,6 +1043,13 @@ export namespace Components {
|
|
|
642
1043
|
*/
|
|
643
1044
|
"size": IconSize;
|
|
644
1045
|
}
|
|
1046
|
+
/**
|
|
1047
|
+
* @exampleComponent limel-example-icon-button-basic
|
|
1048
|
+
* @exampleComponent limel-example-icon-button-disabled
|
|
1049
|
+
* @exampleComponent limel-example-icon-button-elevated
|
|
1050
|
+
* @exampleComponent limel-example-icon-button-toggle-state
|
|
1051
|
+
* @exampleComponent limel-example-icon-button-composite
|
|
1052
|
+
*/
|
|
645
1053
|
interface LimelIconButton {
|
|
646
1054
|
/**
|
|
647
1055
|
* Set to `true` to disable the button.
|
|
@@ -660,6 +1068,19 @@ export namespace Components {
|
|
|
660
1068
|
*/
|
|
661
1069
|
"label": string;
|
|
662
1070
|
}
|
|
1071
|
+
/**
|
|
1072
|
+
* This component can be used on places such as a start page or a dashboard.
|
|
1073
|
+
* It offers features for visualizing aggregated data along with supplementary
|
|
1074
|
+
* information.
|
|
1075
|
+
* If clicking on the component should navigate the user to
|
|
1076
|
+
* a new screen or web page, you need to provide a URL,
|
|
1077
|
+
* using the `link` property.
|
|
1078
|
+
* @exampleComponent limel-example-info-tile
|
|
1079
|
+
* @exampleComponent limel-example-info-tile-badge
|
|
1080
|
+
* @exampleComponent limel-example-info-tile-progress
|
|
1081
|
+
* @exampleComponent limel-example-info-tile-loading
|
|
1082
|
+
* @exampleComponent limel-example-info-tile-styling
|
|
1083
|
+
*/
|
|
663
1084
|
interface LimelInfoTile {
|
|
664
1085
|
/**
|
|
665
1086
|
* If supplied, the info tile will display a notification badge.
|
|
@@ -702,6 +1123,24 @@ export namespace Components {
|
|
|
702
1123
|
*/
|
|
703
1124
|
"value": number | string;
|
|
704
1125
|
}
|
|
1126
|
+
/**
|
|
1127
|
+
* @exampleComponent limel-example-input-field-text
|
|
1128
|
+
* @exampleComponent limel-example-input-field-placeholder
|
|
1129
|
+
* @exampleComponent limel-example-input-field-text-multiple
|
|
1130
|
+
* @exampleComponent limel-example-input-field-number
|
|
1131
|
+
* @exampleComponent limel-example-input-field-autocomplete
|
|
1132
|
+
* @exampleComponent limel-example-input-field-icon-leading
|
|
1133
|
+
* @exampleComponent limel-example-input-field-icon-trailing
|
|
1134
|
+
* @exampleComponent limel-example-input-field-icon-both
|
|
1135
|
+
* @exampleComponent limel-example-input-field-showlink
|
|
1136
|
+
* @exampleComponent limel-example-input-field-error-icon
|
|
1137
|
+
* @exampleComponent limel-example-input-field-textarea
|
|
1138
|
+
* @exampleComponent limel-example-input-field-suffix
|
|
1139
|
+
* @exampleComponent limel-example-input-field-prefix
|
|
1140
|
+
* @exampleComponent limel-example-input-field-search
|
|
1141
|
+
* @exampleComponent limel-example-input-field-pattern
|
|
1142
|
+
* @exampleComponent limel-example-input-field-focus
|
|
1143
|
+
*/
|
|
705
1144
|
interface LimelInputField {
|
|
706
1145
|
/**
|
|
707
1146
|
* list of suggestions `value` can autocomplete to.
|
|
@@ -792,6 +1231,11 @@ export namespace Components {
|
|
|
792
1231
|
*/
|
|
793
1232
|
"value": string;
|
|
794
1233
|
}
|
|
1234
|
+
/**
|
|
1235
|
+
* @exampleComponent limel-example-linear-progress
|
|
1236
|
+
* @exampleComponent limel-example-linear-progress-color
|
|
1237
|
+
* @exampleComponent limel-example-linear-progress-indeterminate
|
|
1238
|
+
*/
|
|
795
1239
|
interface LimelLinearProgress {
|
|
796
1240
|
/**
|
|
797
1241
|
* Puts the progress bar in an indeterminate state
|
|
@@ -802,6 +1246,22 @@ export namespace Components {
|
|
|
802
1246
|
*/
|
|
803
1247
|
"value": number;
|
|
804
1248
|
}
|
|
1249
|
+
/**
|
|
1250
|
+
* @exampleComponent limel-example-list
|
|
1251
|
+
* @exampleComponent limel-example-list-secondary
|
|
1252
|
+
* @exampleComponent limel-example-list-selectable
|
|
1253
|
+
* @exampleComponent limel-example-list-icons
|
|
1254
|
+
* @exampleComponent limel-example-list-badge-icons
|
|
1255
|
+
* @exampleComponent limel-example-list-checkbox
|
|
1256
|
+
* @exampleComponent limel-example-list-checkbox-icons
|
|
1257
|
+
* @exampleComponent limel-example-list-radio-button
|
|
1258
|
+
* @exampleComponent limel-example-list-radio-button-icons
|
|
1259
|
+
* @exampleComponent limel-example-list-action
|
|
1260
|
+
* @exampleComponent limel-example-list-striped
|
|
1261
|
+
* @exampleComponent limel-example-list-badge-icons-with-multiple-lines
|
|
1262
|
+
* @exampleComponent limel-example-list-grid
|
|
1263
|
+
* @exampleComponent limel-example-list-primary-component
|
|
1264
|
+
*/
|
|
805
1265
|
interface LimelList {
|
|
806
1266
|
/**
|
|
807
1267
|
* Set to `true` if the list should display larger icons with a background
|
|
@@ -824,6 +1284,18 @@ export namespace Components {
|
|
|
824
1284
|
*/
|
|
825
1285
|
"type": ListType;
|
|
826
1286
|
}
|
|
1287
|
+
/**
|
|
1288
|
+
* @exampleComponent limel-example-menu-basic
|
|
1289
|
+
* @exampleComponent limel-example-menu-disabled
|
|
1290
|
+
* @exampleComponent limel-example-menu-open-direction
|
|
1291
|
+
* @exampleComponent limel-example-menu-icons
|
|
1292
|
+
* @exampleComponent limel-example-menu-badge-icons
|
|
1293
|
+
* @exampleComponent limel-example-menu-grid
|
|
1294
|
+
* @exampleComponent limel-example-menu-hotkeys
|
|
1295
|
+
* @exampleComponent limel-example-menu-secondary-text
|
|
1296
|
+
* @exampleComponent limel-example-menu-notification
|
|
1297
|
+
* @exampleComponent limel-example-menu-composite
|
|
1298
|
+
*/
|
|
827
1299
|
interface LimelMenu {
|
|
828
1300
|
/**
|
|
829
1301
|
* Defines whether the menu should show badges.
|
|
@@ -850,6 +1322,9 @@ export namespace Components {
|
|
|
850
1322
|
*/
|
|
851
1323
|
"openDirection": OpenDirection1;
|
|
852
1324
|
}
|
|
1325
|
+
/**
|
|
1326
|
+
* @private
|
|
1327
|
+
*/
|
|
853
1328
|
interface LimelMenuList {
|
|
854
1329
|
/**
|
|
855
1330
|
* Set to `true` if the list should display larger icons with a background
|
|
@@ -872,6 +1347,9 @@ export namespace Components {
|
|
|
872
1347
|
*/
|
|
873
1348
|
"type": MenuListType;
|
|
874
1349
|
}
|
|
1350
|
+
/**
|
|
1351
|
+
* @private
|
|
1352
|
+
*/
|
|
875
1353
|
interface LimelMenuSurface {
|
|
876
1354
|
/**
|
|
877
1355
|
* Clicks in this element should not be prevented when the menu surface is open
|
|
@@ -882,6 +1360,15 @@ export namespace Components {
|
|
|
882
1360
|
*/
|
|
883
1361
|
"open": boolean;
|
|
884
1362
|
}
|
|
1363
|
+
/**
|
|
1364
|
+
* @exampleComponent limel-example-picker-single
|
|
1365
|
+
* @exampleComponent limel-example-picker-multiple
|
|
1366
|
+
* @exampleComponent limel-example-picker-icons
|
|
1367
|
+
* @exampleComponent limel-example-picker-empty-suggestions
|
|
1368
|
+
* @exampleComponent limel-example-picker-leading-icon
|
|
1369
|
+
* @exampleComponent limel-example-picker-static-actions
|
|
1370
|
+
* @exampleComponent limel-example-picker-composite
|
|
1371
|
+
*/
|
|
885
1372
|
interface LimelPicker {
|
|
886
1373
|
/**
|
|
887
1374
|
* Position of the custom static actions in the picker's results dropdown. Can be set to `'top'` or `'bottom'`.
|
|
@@ -948,6 +1435,44 @@ export namespace Components {
|
|
|
948
1435
|
*/
|
|
949
1436
|
"value": ListItem<number | string> | Array<ListItem<number | string>>;
|
|
950
1437
|
}
|
|
1438
|
+
/**
|
|
1439
|
+
* A popover is an impermanent layer that is displayed on top of other content
|
|
1440
|
+
* when user taps an element that triggers the popover. This element can be
|
|
1441
|
+
* practically anything, a button, piece of text, and icon, etc.
|
|
1442
|
+
* Popovers are nonmodal, thus they don't have a semi-transparent backdrop layer
|
|
1443
|
+
* that darkens the content below them. Also for the same reason, they can be
|
|
1444
|
+
* dismissed by tapping or clicking another part of the screen, but not by a
|
|
1445
|
+
* clicking a button or link on the popover itself.
|
|
1446
|
+
* :::warning
|
|
1447
|
+
* The component is emitting a close event when you click outside its container
|
|
1448
|
+
* or press the <kbd>Esc</kbd> key. However, it’s up to you as consumer to react
|
|
1449
|
+
* properly on this event and hide the component (preferably by setting the
|
|
1450
|
+
* property `open` to `false`).
|
|
1451
|
+
* :::
|
|
1452
|
+
* ## Usage
|
|
1453
|
+
* Use a popover to show **options** or **information** related to the trigger
|
|
1454
|
+
* onscreen. A typical use case for popovers is a tooltip, in which you show
|
|
1455
|
+
* help text or contextual information to users.
|
|
1456
|
+
* Popovers are most appropriate on larger screens but can be used on smaller
|
|
1457
|
+
* screens too, as long as their content is responsive and takes into account
|
|
1458
|
+
* the context they are displayed on.
|
|
1459
|
+
* When a popover is displayed, interactions with other controls are blocked,
|
|
1460
|
+
* until user dismisses the popover.
|
|
1461
|
+
* ## Layout
|
|
1462
|
+
* Popovers has only one slot in which you can import a custom web-component.
|
|
1463
|
+
* :::note
|
|
1464
|
+
* You must make sure that web-components that you import into the slot has
|
|
1465
|
+
* a `width: 100%;` style so that it can horizontally stretch across the popover.
|
|
1466
|
+
* However, `width` of the popover can be controlled by specifying a CSS variable
|
|
1467
|
+
* of `--popover-surface-width`. If you don't specify any width, the popover
|
|
1468
|
+
* will grow as wide as its content.
|
|
1469
|
+
* :::
|
|
1470
|
+
* :::important
|
|
1471
|
+
* Do not make a popover too big. They should never take over the entire screen.
|
|
1472
|
+
* If your content is that big, you should probably be using a Modal instead.
|
|
1473
|
+
* :::
|
|
1474
|
+
* @exampleComponent limel-example-popover
|
|
1475
|
+
*/
|
|
951
1476
|
interface LimelPopover {
|
|
952
1477
|
/**
|
|
953
1478
|
* True if the content within the popover should be visible
|
|
@@ -958,12 +1483,36 @@ export namespace Components {
|
|
|
958
1483
|
*/
|
|
959
1484
|
"openDirection": OpenDirection;
|
|
960
1485
|
}
|
|
1486
|
+
/**
|
|
1487
|
+
* @private
|
|
1488
|
+
*/
|
|
961
1489
|
interface LimelPopoverSurface {
|
|
962
1490
|
/**
|
|
963
1491
|
* Content to render
|
|
964
1492
|
*/
|
|
965
1493
|
"contentCollection": HTMLCollection;
|
|
966
1494
|
}
|
|
1495
|
+
/**
|
|
1496
|
+
* The portal component provides a way to render children into a DOM node that
|
|
1497
|
+
* exist outside the DOM hierarchy of the parent component.
|
|
1498
|
+
* There are some caveats when using this component
|
|
1499
|
+
* Events might not bubble up as expected since the content is moved out to
|
|
1500
|
+
* another DOM node.
|
|
1501
|
+
* Any styling that is applied to content from the parent will be lost, if the
|
|
1502
|
+
* content is just another web compoent it will work without any issues.
|
|
1503
|
+
* Alternatively, use the
|
|
1504
|
+
* `style=""` html attribute.
|
|
1505
|
+
* Any component that is placed inside the container must have a style of
|
|
1506
|
+
* `max-height: inherit`. This ensures that its placement is calculated
|
|
1507
|
+
* correctly in relation to the trigger, and that it never covers its own
|
|
1508
|
+
* trigger.
|
|
1509
|
+
* When the node is moved in the DOM, `disconnectedCallback` and
|
|
1510
|
+
* `connectedCallback` will be invoked, so if `disconnectedCallback` is used
|
|
1511
|
+
* to do any tear-down, the appropriate setup will have to be done again on
|
|
1512
|
+
* `connectedCallback`.
|
|
1513
|
+
* @private
|
|
1514
|
+
* @exampleComponent limel-example-portal
|
|
1515
|
+
*/
|
|
967
1516
|
interface LimelPortal {
|
|
968
1517
|
/**
|
|
969
1518
|
* A unique ID.
|
|
@@ -994,6 +1543,15 @@ export namespace Components {
|
|
|
994
1543
|
*/
|
|
995
1544
|
"visible": boolean;
|
|
996
1545
|
}
|
|
1546
|
+
/**
|
|
1547
|
+
* @exampleComponent limel-example-progress-flow-basic
|
|
1548
|
+
* @exampleComponent limel-example-progress-flow-secondary-text
|
|
1549
|
+
* @exampleComponent limel-example-progress-flow-disabled-step
|
|
1550
|
+
* @exampleComponent limel-example-progress-flow-colors
|
|
1551
|
+
* @exampleComponent limel-example-progress-flow-colors-css
|
|
1552
|
+
* @exampleComponent limel-example-progress-flow-off-progress-steps
|
|
1553
|
+
* @exampleComponent limel-example-progress-flow-narrow
|
|
1554
|
+
*/
|
|
997
1555
|
interface LimelProgressFlow {
|
|
998
1556
|
/**
|
|
999
1557
|
* Set to `true` to disable the progress flow. Use `disabled` to indicate that the component can normally be interacted with, but is currently disabled. This tells the user that if certain requirements are met, the field may become enabled again.
|
|
@@ -1008,6 +1566,9 @@ export namespace Components {
|
|
|
1008
1566
|
*/
|
|
1009
1567
|
"readonly": boolean;
|
|
1010
1568
|
}
|
|
1569
|
+
/**
|
|
1570
|
+
* @private
|
|
1571
|
+
*/
|
|
1011
1572
|
interface LimelProgressFlowItem {
|
|
1012
1573
|
/**
|
|
1013
1574
|
* True if the flow item should be disabled
|
|
@@ -1022,6 +1583,16 @@ export namespace Components {
|
|
|
1022
1583
|
*/
|
|
1023
1584
|
"readonly": boolean;
|
|
1024
1585
|
}
|
|
1586
|
+
/**
|
|
1587
|
+
* @exampleComponent limel-example-select
|
|
1588
|
+
* @exampleComponent limel-example-select-with-icons
|
|
1589
|
+
* @exampleComponent limel-example-select-multiple
|
|
1590
|
+
* @exampleComponent limel-example-select-with-empty-option
|
|
1591
|
+
* @exampleComponent limel-example-select-preselected
|
|
1592
|
+
* @exampleComponent limel-example-select-change-options
|
|
1593
|
+
* @exampleComponent limel-example-select-narrow
|
|
1594
|
+
* @exampleComponent limel-example-select-dialog
|
|
1595
|
+
*/
|
|
1025
1596
|
interface LimelSelect {
|
|
1026
1597
|
/**
|
|
1027
1598
|
* Set to `true` to make the field disabled. and visually shows that the `select` component is editable but disabled. This tells the users that if certain requirements are met, the component may become interactable.
|
|
@@ -1060,6 +1631,18 @@ export namespace Components {
|
|
|
1060
1631
|
*/
|
|
1061
1632
|
"value": Option | Option[];
|
|
1062
1633
|
}
|
|
1634
|
+
/**
|
|
1635
|
+
* This component can be used on places such as a start page or a dashboard.
|
|
1636
|
+
* Clicking on the component should navigate the user to a new screen,
|
|
1637
|
+
* to which you need to provide a URL, by specifying an `href` for the `link` property.
|
|
1638
|
+
* By default, this navigation will happen within the same browser tab.
|
|
1639
|
+
* However, it is possible to override that behavior, by specifying a `target`
|
|
1640
|
+
* for the `link` property
|
|
1641
|
+
* @exampleComponent limel-example-shortcut
|
|
1642
|
+
* @exampleComponent limel-example-shortcut-notification
|
|
1643
|
+
* @exampleComponent limel-example-shortcut-styling
|
|
1644
|
+
* @exampleComponent limel-example-shortcut-with-click-handler
|
|
1645
|
+
*/
|
|
1063
1646
|
interface LimelShortcut {
|
|
1064
1647
|
/**
|
|
1065
1648
|
* If specified, will display a notification badge on the shortcut.
|
|
@@ -1082,6 +1665,12 @@ export namespace Components {
|
|
|
1082
1665
|
*/
|
|
1083
1666
|
"link"?: Link;
|
|
1084
1667
|
}
|
|
1668
|
+
/**
|
|
1669
|
+
* @exampleComponent limel-example-slider
|
|
1670
|
+
* @exampleComponent limel-example-slider-multiplier
|
|
1671
|
+
* @exampleComponent limel-example-slider-multiplier-percentage-colors
|
|
1672
|
+
* @exampleComponent limel-example-slider-composite
|
|
1673
|
+
*/
|
|
1085
1674
|
interface LimelSlider {
|
|
1086
1675
|
/**
|
|
1087
1676
|
* Disables the slider when `true`, and visually shows that the field is editable but disabled. This tells the users that if certain requirements are met, the slider may become interactable.
|
|
@@ -1124,6 +1713,30 @@ export namespace Components {
|
|
|
1124
1713
|
*/
|
|
1125
1714
|
"valuemin": number;
|
|
1126
1715
|
}
|
|
1716
|
+
/**
|
|
1717
|
+
* A Snackbar –also known as "Toast"– is used to inform the end user
|
|
1718
|
+
* about an action or a process in the system.
|
|
1719
|
+
* The information could vary from announcing that a process has just started,
|
|
1720
|
+
* is taking place now, has ended, or has been interrupted or canceled.
|
|
1721
|
+
* The information that you provide using a snackbar should be:
|
|
1722
|
+
* - temporary
|
|
1723
|
+
* - contextual
|
|
1724
|
+
* - short
|
|
1725
|
+
* - and most importantly, ignorable.
|
|
1726
|
+
* It means if the user misses the information, it shouldn't be a big deal.
|
|
1727
|
+
* :::note
|
|
1728
|
+
* If the information you want to display has a higher importance or priority,
|
|
1729
|
+
* and you need to make sure that the user takes an action to dismiss it,
|
|
1730
|
+
* consider using the [Banner](/#/component/limel-banner/) component instead.
|
|
1731
|
+
* For more complex interactions and for delivering more detailed information,
|
|
1732
|
+
* [Dialog](/#/component/limel-dialog/) is a better choice.
|
|
1733
|
+
* :::
|
|
1734
|
+
* @exampleComponent limel-example-snackbar
|
|
1735
|
+
* @exampleComponent limel-example-snackbar-dismissible
|
|
1736
|
+
* @exampleComponent limel-example-snackbar-with-action
|
|
1737
|
+
* @exampleComponent limel-example-snackbar-with-changing-messages
|
|
1738
|
+
* @exampleComponent limel-example-snackbar-positioning
|
|
1739
|
+
*/
|
|
1127
1740
|
interface LimelSnackbar {
|
|
1128
1741
|
/**
|
|
1129
1742
|
* The text to display for the action button.
|
|
@@ -1154,6 +1767,11 @@ export namespace Components {
|
|
|
1154
1767
|
*/
|
|
1155
1768
|
"timeout"?: number;
|
|
1156
1769
|
}
|
|
1770
|
+
/**
|
|
1771
|
+
* @exampleComponent limel-example-spinner
|
|
1772
|
+
* @exampleComponent limel-example-spinner-color
|
|
1773
|
+
* @exampleComponent limel-example-spinner-size
|
|
1774
|
+
*/
|
|
1157
1775
|
interface LimelSpinner {
|
|
1158
1776
|
/**
|
|
1159
1777
|
* Gives the spinner the shape of Lime Technologies' logo
|
|
@@ -1164,6 +1782,19 @@ export namespace Components {
|
|
|
1164
1782
|
*/
|
|
1165
1783
|
"size": SpinnerSize;
|
|
1166
1784
|
}
|
|
1785
|
+
/**
|
|
1786
|
+
* A split button is a button with two components:
|
|
1787
|
+
* a button and a side-menu attached to it.
|
|
1788
|
+
* Clicking on the button runs a default action,
|
|
1789
|
+
* and clicking on the arrow opens up a list of other possible actions.
|
|
1790
|
+
* :::warning
|
|
1791
|
+
* - Never use a split button for navigation purposes, such as going to next page.
|
|
1792
|
+
* The button should only be used for performing commands!
|
|
1793
|
+
* - Never use this component instead of a Select or Menu component!
|
|
1794
|
+
* :::
|
|
1795
|
+
* @exampleComponent limel-example-split-button-basic
|
|
1796
|
+
* @exampleComponent limel-example-split-button-repeat-default-command
|
|
1797
|
+
*/
|
|
1167
1798
|
interface LimelSplitButton {
|
|
1168
1799
|
/**
|
|
1169
1800
|
* Set to `true` to disable the button.
|
|
@@ -1186,6 +1817,9 @@ export namespace Components {
|
|
|
1186
1817
|
*/
|
|
1187
1818
|
"primary": boolean;
|
|
1188
1819
|
}
|
|
1820
|
+
/**
|
|
1821
|
+
* @exampleComponent limel-example-switch
|
|
1822
|
+
*/
|
|
1189
1823
|
interface LimelSwitch {
|
|
1190
1824
|
/**
|
|
1191
1825
|
* Disables the switch when `true`, and visually shows that the switch is editable but disabled. This tells the users that if certain requirements are met, the switch may become interactable.
|
|
@@ -1204,18 +1838,68 @@ export namespace Components {
|
|
|
1204
1838
|
*/
|
|
1205
1839
|
"value": boolean;
|
|
1206
1840
|
}
|
|
1841
|
+
/**
|
|
1842
|
+
* Tabs are great to organize information hierarchically in the interface and divide it into distinct categories. Using tabs, you can create groups of content that are related and at the same level in the hierarchy.
|
|
1843
|
+
* :::warning
|
|
1844
|
+
* Tab bars should be strictly used for navigation at the top levels.
|
|
1845
|
+
* They should never be used to perform actions, or navigate away from the view which contains them.
|
|
1846
|
+
* :::
|
|
1847
|
+
* An exception for using tab bars in a high level of hierarchy is their usage in modals. This is because modals are perceived as a separate place and not a part of the current context. Therefore you can use tab bars in a modal to group and organize its content.
|
|
1848
|
+
* A tab bar can contain an unlimited number of tabs. However, depending on the device width and width of the tabs, the number of tabs that are visible at the same time will vary. When there is limited horizontal space, the component shows a left-arrow and/or right-arrow button, which scrolls and reveals the additional tabs. The tab bar can also be swiped left and right on a touch-device.
|
|
1849
|
+
* :::tip Other things to consider
|
|
1850
|
+
* Never divide the content of a tab using a nested tab bar.
|
|
1851
|
+
* Never place two tab bars within the same screen.
|
|
1852
|
+
* Never use background color for icons in tabs.
|
|
1853
|
+
* Avoid having long labels for tabs.
|
|
1854
|
+
* A tab will never be removed or get disabled, even if there is no content under it.
|
|
1855
|
+
* :::
|
|
1856
|
+
* @exampleComponent limel-example-tab-bar
|
|
1857
|
+
* @exampleComponent limel-example-tab-bar-with-dynamic-tab-width
|
|
1858
|
+
* @exampleComponent limel-example-tab-bar-with-equal-tab-width
|
|
1859
|
+
*/
|
|
1207
1860
|
interface LimelTabBar {
|
|
1208
1861
|
/**
|
|
1209
1862
|
* List of tabs to display
|
|
1210
1863
|
*/
|
|
1211
1864
|
"tabs": Tab[];
|
|
1212
1865
|
}
|
|
1866
|
+
/**
|
|
1867
|
+
* The `limel-tab-panel` component uses the `limel-tab-bar` component together
|
|
1868
|
+
* with custom slotted components and will display the content for the currently
|
|
1869
|
+
* active tab. Each slotted component must have an id equal to the id of the
|
|
1870
|
+
* corresponding tab it belongs to. These components should implement the
|
|
1871
|
+
* [TabPanelComponent](#/type/TabPanelComponent/) interface.
|
|
1872
|
+
* The `limel-tab-panel` component will automatically set each tab configuration
|
|
1873
|
+
* on the corresponding slotted component as a property named `tab` so that the
|
|
1874
|
+
* component can take action upon that. Sometimes it might be desirable to not
|
|
1875
|
+
* load data or render anything until the tab is active.
|
|
1876
|
+
* The slotted components can also emit the `changeTab` event to update anything
|
|
1877
|
+
* inside the actual tab, e.g. to change the icon, color or badge.
|
|
1878
|
+
* @exampleComponent limel-example-tab-panel
|
|
1879
|
+
*/
|
|
1213
1880
|
interface LimelTabPanel {
|
|
1214
1881
|
/**
|
|
1215
1882
|
* The tabs to display in the panel
|
|
1216
1883
|
*/
|
|
1217
1884
|
"tabs": Tab[];
|
|
1218
1885
|
}
|
|
1886
|
+
/**
|
|
1887
|
+
* @exampleComponent limel-example-table
|
|
1888
|
+
* @exampleComponent limel-example-table-custom-components
|
|
1889
|
+
* @exampleComponent limel-example-table-header-menu
|
|
1890
|
+
* @exampleComponent limel-example-table-movable-columns
|
|
1891
|
+
* @exampleComponent limel-example-table-sorting-disabled
|
|
1892
|
+
* @exampleComponent limel-example-table-local
|
|
1893
|
+
* @exampleComponent limel-example-table-remote
|
|
1894
|
+
* @exampleComponent limel-example-table-activate-row
|
|
1895
|
+
* @exampleComponent limel-example-table-selectable-rows
|
|
1896
|
+
* @exampleComponent limel-example-table-default-sorted
|
|
1897
|
+
* @exampleComponent limel-example-table-layout-default
|
|
1898
|
+
* @exampleComponent limel-example-table-layout-stretch-last-column
|
|
1899
|
+
* @exampleComponent limel-example-table-layout-stretch-columns
|
|
1900
|
+
* @exampleComponent limel-example-table-layout-low-density
|
|
1901
|
+
* @exampleComponent limel-example-table-interactive-rows
|
|
1902
|
+
*/
|
|
1219
1903
|
interface LimelTable {
|
|
1220
1904
|
/**
|
|
1221
1905
|
* Active row in the table
|
|
@@ -1278,6 +1962,45 @@ export namespace Components {
|
|
|
1278
1962
|
*/
|
|
1279
1963
|
"totalRows": number;
|
|
1280
1964
|
}
|
|
1965
|
+
/**
|
|
1966
|
+
* A tooltip can be used to display a descriptive text for any element.
|
|
1967
|
+
* The displayed content must be a brief and supplemental string of text,
|
|
1968
|
+
* identifying the element or describing its function for the user,
|
|
1969
|
+
* helping them better understand unfamiliar objects that aren't described
|
|
1970
|
+
* directly in the UI.
|
|
1971
|
+
* ## Interaction
|
|
1972
|
+
* The tooltip appears after a slight delay, when the element is hovered;
|
|
1973
|
+
* and disappears as soon as the cursor leaves the element.
|
|
1974
|
+
* Therefore, users cannot interact with the tip, but if the trigger element
|
|
1975
|
+
* itself is interactive, it will remain interactible even with a tooltip bound
|
|
1976
|
+
* to it.
|
|
1977
|
+
* :::note
|
|
1978
|
+
* In order to display the tooltip, the tooltip element and its trigger element
|
|
1979
|
+
* must be within the same document or document fragment.
|
|
1980
|
+
* A good practice is to just place them next to each other like below:
|
|
1981
|
+
* ```html
|
|
1982
|
+
* <limel-button icon="search" id="tooltip-example" />
|
|
1983
|
+
* <limel-tooltip label="Search" elementId="tooltip-example" />
|
|
1984
|
+
* ```
|
|
1985
|
+
* :::
|
|
1986
|
+
* ## Usage
|
|
1987
|
+
* - Keep in mind that tooltips can be distracting, and can be perceived as an interruption.
|
|
1988
|
+
* Use them only when they add significant value.
|
|
1989
|
+
* - A good tip is concise, helpful, and informative.
|
|
1990
|
+
* Don't explain the obvious or simply repeat what is already on the screen.
|
|
1991
|
+
* When used correctly, supplemental info of a tooltip helps to [declutter the UI](/#/DesignGuidelines/decluttering.md/).
|
|
1992
|
+
* - If the tip is essential to the primary tasks that the user is performing,
|
|
1993
|
+
* such as warnings or important notes, include the information directly in the
|
|
1994
|
+
* interface instead.
|
|
1995
|
+
* - When a component offers a helper text (e.g. [Input field](/#/component/limel-input-field/)),
|
|
1996
|
+
* use that, not a tooltip.
|
|
1997
|
+
* - Make sure to use the tooltip on an element that users naturally and
|
|
1998
|
+
* effortlessly recognize can be hovered.
|
|
1999
|
+
* @exampleComponent limel-example-tooltip
|
|
2000
|
+
* @exampleComponent limel-example-tooltip-max-character
|
|
2001
|
+
* @exampleComponent limel-example-tooltip-composite
|
|
2002
|
+
* @private
|
|
2003
|
+
*/
|
|
1281
2004
|
interface LimelTooltip {
|
|
1282
2005
|
/**
|
|
1283
2006
|
* ID of the owner element that the tooltip should describe. Must be a child within the same document fragment as the tooltip element itself.
|
|
@@ -1296,6 +2019,10 @@ export namespace Components {
|
|
|
1296
2019
|
*/
|
|
1297
2020
|
"maxlength"?: number;
|
|
1298
2021
|
}
|
|
2022
|
+
/**
|
|
2023
|
+
* This component is used internally by `limel-tooltip`.
|
|
2024
|
+
* @private
|
|
2025
|
+
*/
|
|
1299
2026
|
interface LimelTooltipContent {
|
|
1300
2027
|
/**
|
|
1301
2028
|
* Read more in tooltip.tsx
|
|
@@ -1448,324 +2175,1031 @@ export interface LimelTableCustomEvent<T> extends CustomEvent<T> {
|
|
|
1448
2175
|
target: HTMLLimelTableElement;
|
|
1449
2176
|
}
|
|
1450
2177
|
declare global {
|
|
2178
|
+
/**
|
|
2179
|
+
* An action bar is a user interface element commonly found in software applications and websites.
|
|
2180
|
+
* It typically appears at the top of the screen or within a specific section
|
|
2181
|
+
* and serves as a centralized hub for accessing various actions and commands
|
|
2182
|
+
* relevant to the current context or page.
|
|
2183
|
+
* The action bar often contains a set of clickable icons or buttons (icons + labels)
|
|
2184
|
+
* that represent specific actions, such as saving, deleting, editing, sharing,
|
|
2185
|
+
* or bulk operations for selected items.
|
|
2186
|
+
* The purpose of an action bar is to provide quick and convenient access to
|
|
2187
|
+
* frequently used functionalities, enabling users to perform common tasks efficiently.
|
|
2188
|
+
* It enhances usability by organizing important actions in a visually prominent and easily accessible location.
|
|
2189
|
+
* The action bar's design and layout can vary based on the platform or application,
|
|
2190
|
+
* but its primary goal remains consistent—to
|
|
2191
|
+
* empower users to interact with the software and perform desired actions effortlessly.
|
|
2192
|
+
* @exampleComponent limel-example-action-bar
|
|
2193
|
+
* @exampleComponent limel-example-action-bar-overflow-menu
|
|
2194
|
+
* @exampleComponent limel-example-action-bar-colors
|
|
2195
|
+
* @exampleComponent limel-example-action-bar-floating
|
|
2196
|
+
* @exampleComponent limel-example-action-bar-styling
|
|
2197
|
+
* @exampleComponent limel-example-action-bar-as-primary-component
|
|
2198
|
+
* @private
|
|
2199
|
+
*/
|
|
1451
2200
|
interface HTMLLimelActionBarElement extends Components.LimelActionBar, HTMLStencilElement {
|
|
1452
2201
|
}
|
|
1453
2202
|
var HTMLLimelActionBarElement: {
|
|
1454
2203
|
prototype: HTMLLimelActionBarElement;
|
|
1455
2204
|
new (): HTMLLimelActionBarElement;
|
|
1456
2205
|
};
|
|
2206
|
+
/**
|
|
2207
|
+
* @private
|
|
2208
|
+
*/
|
|
1457
2209
|
interface HTMLLimelActionBarItemElement extends Components.LimelActionBarItem, HTMLStencilElement {
|
|
1458
2210
|
}
|
|
1459
2211
|
var HTMLLimelActionBarItemElement: {
|
|
1460
2212
|
prototype: HTMLLimelActionBarItemElement;
|
|
1461
2213
|
new (): HTMLLimelActionBarItemElement;
|
|
1462
2214
|
};
|
|
2215
|
+
/**
|
|
2216
|
+
* @private
|
|
2217
|
+
*/
|
|
1463
2218
|
interface HTMLLimelActionBarOverflowMenuElement extends Components.LimelActionBarOverflowMenu, HTMLStencilElement {
|
|
1464
2219
|
}
|
|
1465
2220
|
var HTMLLimelActionBarOverflowMenuElement: {
|
|
1466
2221
|
prototype: HTMLLimelActionBarOverflowMenuElement;
|
|
1467
2222
|
new (): HTMLLimelActionBarOverflowMenuElement;
|
|
1468
2223
|
};
|
|
2224
|
+
/**
|
|
2225
|
+
* The Badge component can be used to display a notification badge,
|
|
2226
|
+
* optionally with a number or a text label.
|
|
2227
|
+
* @exampleComponent limel-example-badge
|
|
2228
|
+
* @exampleComponent limel-example-badge-number
|
|
2229
|
+
* @exampleComponent limel-example-badge-string
|
|
2230
|
+
*/
|
|
1469
2231
|
interface HTMLLimelBadgeElement extends Components.LimelBadge, HTMLStencilElement {
|
|
1470
2232
|
}
|
|
1471
2233
|
var HTMLLimelBadgeElement: {
|
|
1472
2234
|
prototype: HTMLLimelBadgeElement;
|
|
1473
2235
|
new (): HTMLLimelBadgeElement;
|
|
1474
2236
|
};
|
|
2237
|
+
/**
|
|
2238
|
+
* @exampleComponent limel-example-banner
|
|
2239
|
+
*/
|
|
1475
2240
|
interface HTMLLimelBannerElement extends Components.LimelBanner, HTMLStencilElement {
|
|
1476
2241
|
}
|
|
1477
2242
|
var HTMLLimelBannerElement: {
|
|
1478
2243
|
prototype: HTMLLimelBannerElement;
|
|
1479
2244
|
new (): HTMLLimelBannerElement;
|
|
1480
2245
|
};
|
|
2246
|
+
/**
|
|
2247
|
+
* @exampleComponent limel-example-button-basic
|
|
2248
|
+
* @exampleComponent limel-example-button-primary
|
|
2249
|
+
* @exampleComponent limel-example-button-outlined
|
|
2250
|
+
* @exampleComponent limel-example-button-disabled
|
|
2251
|
+
* @exampleComponent limel-example-button-icon
|
|
2252
|
+
* @exampleComponent limel-example-button-loading
|
|
2253
|
+
* @exampleComponent limel-example-button-click-success
|
|
2254
|
+
* @exampleComponent limel-example-button-click-fail
|
|
2255
|
+
* @exampleComponent limel-example-button-reduce-presence
|
|
2256
|
+
* @exampleComponent limel-example-button-colors
|
|
2257
|
+
* @exampleComponent limel-example-button-composite
|
|
2258
|
+
*/
|
|
1481
2259
|
interface HTMLLimelButtonElement extends Components.LimelButton, HTMLStencilElement {
|
|
1482
2260
|
}
|
|
1483
2261
|
var HTMLLimelButtonElement: {
|
|
1484
2262
|
prototype: HTMLLimelButtonElement;
|
|
1485
2263
|
new (): HTMLLimelButtonElement;
|
|
1486
2264
|
};
|
|
2265
|
+
/**
|
|
2266
|
+
* A button group control is a linear set of two or more buttons.
|
|
2267
|
+
* ## Usage
|
|
2268
|
+
* Button groups are often used to display different views of the same thing. A
|
|
2269
|
+
* common example of this component is when you switch between [ Map | Transit
|
|
2270
|
+
* | Satellite ] views to look at an area on the map.
|
|
2271
|
+
* In some cases, button groups may serve as quick filters as well. For example
|
|
2272
|
+
* a list of contacts, in which the user can switch to [ All | Favorites
|
|
2273
|
+
* | Frequently contacted ] can incorporate a button group to quickly filter out
|
|
2274
|
+
* items and display subsets of them.
|
|
2275
|
+
* ## Layout
|
|
2276
|
+
* The button groups are usually placed in top headers and action bars,
|
|
2277
|
+
* sometimes with other elements. Since the group items will always be rendered
|
|
2278
|
+
* in a row, you must make sure not to have too many buttons in the group.
|
|
2279
|
+
* Because if the container of your button group does not get enough space to
|
|
2280
|
+
* fit in all its buttons, they will have to truncate their text and may appear
|
|
2281
|
+
* very cramped together. Always think about how your button group will appear
|
|
2282
|
+
* on a small screen such as phones.
|
|
2283
|
+
* :::note
|
|
2284
|
+
* Button can contain text or icons, but not both simultaneously!
|
|
2285
|
+
* :::
|
|
2286
|
+
* Within the group, icon buttons will all have the same width, while each text button
|
|
2287
|
+
* inherits its width from its content.
|
|
2288
|
+
* @exampleComponent limel-example-button-group-icons
|
|
2289
|
+
* @exampleComponent limel-example-button-group
|
|
2290
|
+
* @exampleComponent limel-example-button-group-mix
|
|
2291
|
+
* @exampleComponent limel-example-button-group-badges
|
|
2292
|
+
* @exampleComponent limel-example-button-group-composite
|
|
2293
|
+
*/
|
|
1487
2294
|
interface HTMLLimelButtonGroupElement extends Components.LimelButtonGroup, HTMLStencilElement {
|
|
1488
2295
|
}
|
|
1489
2296
|
var HTMLLimelButtonGroupElement: {
|
|
1490
2297
|
prototype: HTMLLimelButtonGroupElement;
|
|
1491
2298
|
new (): HTMLLimelButtonGroupElement;
|
|
1492
2299
|
};
|
|
2300
|
+
/**
|
|
2301
|
+
* Callouts—also known as Admonitions—are useful for including supportive or
|
|
2302
|
+
* special content within a large piece of text, or even inside a user
|
|
2303
|
+
* interface.
|
|
2304
|
+
* When used in a document or text based user interface, the callout attracts
|
|
2305
|
+
* the reader's attention to a particular piece of information, without
|
|
2306
|
+
* significantly interrupting their flow of reading the document.
|
|
2307
|
+
* In a user interface, a callout is more intrusive to the end-user. Still, it
|
|
2308
|
+
* could be a good choice when you intend to slightly disturb the user's
|
|
2309
|
+
* attention, and challenge them to pay extra attention to the information
|
|
2310
|
+
* presented. In such cases, a callout should not be used as a static and
|
|
2311
|
+
* constantly present element of the UI. Rather, it should be displayed when
|
|
2312
|
+
* something unusual or remarkable demands the user's attention.
|
|
2313
|
+
* @exampleComponent limel-example-callout-note
|
|
2314
|
+
* @exampleComponent limel-example-callout-important
|
|
2315
|
+
* @exampleComponent limel-example-callout-tip
|
|
2316
|
+
* @exampleComponent limel-example-callout-caution
|
|
2317
|
+
* @exampleComponent limel-example-callout-warning
|
|
2318
|
+
* @exampleComponent limel-example-callout-rich-content
|
|
2319
|
+
* @exampleComponent limel-example-callout-custom-heading
|
|
2320
|
+
* @exampleComponent limel-example-callout-custom-icon
|
|
2321
|
+
* @exampleComponent limel-example-callout-styles
|
|
2322
|
+
* @exampleComponent limel-example-custom-type
|
|
2323
|
+
* @exampleComponent limel-example-callout-composite
|
|
2324
|
+
*/
|
|
1493
2325
|
interface HTMLLimelCalloutElement extends Components.LimelCallout, HTMLStencilElement {
|
|
1494
2326
|
}
|
|
1495
2327
|
var HTMLLimelCalloutElement: {
|
|
1496
2328
|
prototype: HTMLLimelCalloutElement;
|
|
1497
2329
|
new (): HTMLLimelCalloutElement;
|
|
1498
2330
|
};
|
|
2331
|
+
/**
|
|
2332
|
+
* @exampleComponent limel-example-checkbox
|
|
2333
|
+
* @exampleComponent limel-example-checkbox-helper-text
|
|
2334
|
+
*/
|
|
1499
2335
|
interface HTMLLimelCheckboxElement extends Components.LimelCheckbox, HTMLStencilElement {
|
|
1500
2336
|
}
|
|
1501
2337
|
var HTMLLimelCheckboxElement: {
|
|
1502
2338
|
prototype: HTMLLimelCheckboxElement;
|
|
1503
2339
|
new (): HTMLLimelCheckboxElement;
|
|
1504
2340
|
};
|
|
2341
|
+
/**
|
|
2342
|
+
* @exampleComponent limel-example-chip-set
|
|
2343
|
+
* @exampleComponent limel-example-chip-set-choice
|
|
2344
|
+
* @exampleComponent limel-example-chip-set-filter
|
|
2345
|
+
* @exampleComponent limel-example-chip-set-filter-badge
|
|
2346
|
+
* @exampleComponent limel-example-chip-set-input
|
|
2347
|
+
* @exampleComponent limel-example-chip-set-input-type-text
|
|
2348
|
+
* @exampleComponent limel-example-chip-set-input-type-search
|
|
2349
|
+
* @exampleComponent limel-example-chip-icon-color
|
|
2350
|
+
* @exampleComponent limel-example-chip-set-composite
|
|
2351
|
+
*/
|
|
1505
2352
|
interface HTMLLimelChipSetElement extends Components.LimelChipSet, HTMLStencilElement {
|
|
1506
2353
|
}
|
|
1507
2354
|
var HTMLLimelChipSetElement: {
|
|
1508
2355
|
prototype: HTMLLimelChipSetElement;
|
|
1509
2356
|
new (): HTMLLimelChipSetElement;
|
|
1510
2357
|
};
|
|
2358
|
+
/**
|
|
2359
|
+
* The circular progress component can be used to visualize the curent state of
|
|
2360
|
+
* a progress in a scale; for example percentage of completion of a task.
|
|
2361
|
+
* Its compact UI makes the component suitable when there is not enough screen
|
|
2362
|
+
* space available to visualise such information.
|
|
2363
|
+
* This component allows you to define your scale, from `0` to a desired
|
|
2364
|
+
* `maxValue`; and also lets you chose a proper `suffix` for your scale.
|
|
2365
|
+
* :::note
|
|
2366
|
+
* The component will round up the value when it is displayed, and only shows
|
|
2367
|
+
* one decimal digit.
|
|
2368
|
+
* It also abbreviates large numbers. For example 1234 will be displayed as 1.2k.
|
|
2369
|
+
* Of course such numbers, if bigger than `maxValue` will be visualized as a
|
|
2370
|
+
* full progress.
|
|
2371
|
+
* :::
|
|
2372
|
+
* @exampleComponent limel-example-circular-progress
|
|
2373
|
+
* @exampleComponent limel-example-circular-progress-sizes
|
|
2374
|
+
* @exampleComponent limel-example-circular-progress-props
|
|
2375
|
+
* @exampleComponent limel-example-circular-progress-css-variables
|
|
2376
|
+
* @exampleComponent limel-example-circular-progress-percentage-colors
|
|
2377
|
+
*/
|
|
1511
2378
|
interface HTMLLimelCircularProgressElement extends Components.LimelCircularProgress, HTMLStencilElement {
|
|
1512
2379
|
}
|
|
1513
2380
|
var HTMLLimelCircularProgressElement: {
|
|
1514
2381
|
prototype: HTMLLimelCircularProgressElement;
|
|
1515
2382
|
new (): HTMLLimelCircularProgressElement;
|
|
1516
2383
|
};
|
|
2384
|
+
/**
|
|
2385
|
+
* Currently this component support syntax highlighting for `javascript`,
|
|
2386
|
+
* `json` and `typescript` formats.
|
|
2387
|
+
* @exampleComponent limel-example-code-editor
|
|
2388
|
+
* @exampleComponent limel-example-code-editor-readonly-with-line-numbers
|
|
2389
|
+
* @exampleComponent limel-example-code-editor-fold-lint
|
|
2390
|
+
*/
|
|
1517
2391
|
interface HTMLLimelCodeEditorElement extends Components.LimelCodeEditor, HTMLStencilElement {
|
|
1518
2392
|
}
|
|
1519
2393
|
var HTMLLimelCodeEditorElement: {
|
|
1520
2394
|
prototype: HTMLLimelCodeEditorElement;
|
|
1521
2395
|
new (): HTMLLimelCodeEditorElement;
|
|
1522
2396
|
};
|
|
2397
|
+
/**
|
|
2398
|
+
* @exampleComponent limel-example-collapsible-section
|
|
2399
|
+
* @exampleComponent limel-example-collapsible-section-actions
|
|
2400
|
+
* @exampleComponent limel-example-collapsible-section-css-props
|
|
2401
|
+
* @exampleComponent limel-example-collapsible-section-external-control
|
|
2402
|
+
* @exampleComponent limel-example-collapsible-section-with-slider
|
|
2403
|
+
*/
|
|
1523
2404
|
interface HTMLLimelCollapsibleSectionElement extends Components.LimelCollapsibleSection, HTMLStencilElement {
|
|
1524
2405
|
}
|
|
1525
2406
|
var HTMLLimelCollapsibleSectionElement: {
|
|
1526
2407
|
prototype: HTMLLimelCollapsibleSectionElement;
|
|
1527
2408
|
new (): HTMLLimelCollapsibleSectionElement;
|
|
1528
2409
|
};
|
|
2410
|
+
/**
|
|
2411
|
+
* This component enables you to select a swatch from out color palette, simply
|
|
2412
|
+
* by clicking on it. You can then copy the css variable name of the chosen color
|
|
2413
|
+
* and use it where desired.
|
|
2414
|
+
* The color picker can also show you a preview of any valid color name or color value.
|
|
2415
|
+
* :::note
|
|
2416
|
+
* Make sure to read our [guidelines about usage of colors](/#/DesignGuidelines/color-system.md/) from our palette.
|
|
2417
|
+
* :::
|
|
2418
|
+
* @exampleComponent limel-example-color-picker
|
|
2419
|
+
* @exampleComponent limel-example-color-picker-readonly
|
|
2420
|
+
*/
|
|
1529
2421
|
interface HTMLLimelColorPickerElement extends Components.LimelColorPicker, HTMLStencilElement {
|
|
1530
2422
|
}
|
|
1531
2423
|
var HTMLLimelColorPickerElement: {
|
|
1532
2424
|
prototype: HTMLLimelColorPickerElement;
|
|
1533
2425
|
new (): HTMLLimelColorPickerElement;
|
|
1534
2426
|
};
|
|
2427
|
+
/**
|
|
2428
|
+
* @private
|
|
2429
|
+
*/
|
|
1535
2430
|
interface HTMLLimelColorPickerPaletteElement extends Components.LimelColorPickerPalette, HTMLStencilElement {
|
|
1536
2431
|
}
|
|
1537
2432
|
var HTMLLimelColorPickerPaletteElement: {
|
|
1538
2433
|
prototype: HTMLLimelColorPickerPaletteElement;
|
|
1539
2434
|
new (): HTMLLimelColorPickerPaletteElement;
|
|
1540
2435
|
};
|
|
2436
|
+
/**
|
|
2437
|
+
* @private
|
|
2438
|
+
*/
|
|
1541
2439
|
interface HTMLLimelConfigElement extends Components.LimelConfig, HTMLStencilElement {
|
|
1542
2440
|
}
|
|
1543
2441
|
var HTMLLimelConfigElement: {
|
|
1544
2442
|
prototype: HTMLLimelConfigElement;
|
|
1545
2443
|
new (): HTMLLimelConfigElement;
|
|
1546
2444
|
};
|
|
2445
|
+
/**
|
|
2446
|
+
* @exampleComponent limel-example-date-picker-datetime
|
|
2447
|
+
* @exampleComponent limel-example-date-picker-date
|
|
2448
|
+
* @exampleComponent limel-example-date-picker-time
|
|
2449
|
+
* @exampleComponent limel-example-date-picker-week
|
|
2450
|
+
* @exampleComponent limel-example-date-picker-month
|
|
2451
|
+
* @exampleComponent limel-example-date-picker-quarter
|
|
2452
|
+
* @exampleComponent limel-example-date-picker-year
|
|
2453
|
+
* @exampleComponent limel-example-date-picker-formatted
|
|
2454
|
+
* @exampleComponent limel-example-date-picker-programmatic-change
|
|
2455
|
+
* @exampleComponent limel-example-date-picker-composite
|
|
2456
|
+
* @exampleComponent limel-example-date-picker-custom-formatter
|
|
2457
|
+
*/
|
|
1547
2458
|
interface HTMLLimelDatePickerElement extends Components.LimelDatePicker, HTMLStencilElement {
|
|
1548
2459
|
}
|
|
1549
2460
|
var HTMLLimelDatePickerElement: {
|
|
1550
2461
|
prototype: HTMLLimelDatePickerElement;
|
|
1551
2462
|
new (): HTMLLimelDatePickerElement;
|
|
1552
2463
|
};
|
|
2464
|
+
/**
|
|
2465
|
+
* :::note
|
|
2466
|
+
* Regarding the `close` event: When putting other elements that emit `close`
|
|
2467
|
+
* events inside a dialog, those events must be caught and stopped inside the
|
|
2468
|
+
* dialog. If not, they will bubble to the event handler listening for `close`
|
|
2469
|
+
* events on the dialog, which will close the dialog too.
|
|
2470
|
+
* See the example _Nested `close` events_.
|
|
2471
|
+
* :::
|
|
2472
|
+
* :::important
|
|
2473
|
+
* Are you developing for
|
|
2474
|
+
* [Lime CRM](https://www.lime-technologies.com/en/lime-crm/)? Please note that
|
|
2475
|
+
* you should use the [DialogService](https://lundalogik.github.io/lime-web-components/versions/latest/#/api/dialog-service)
|
|
2476
|
+
* from Lime Web Components to open dialogs in Lime CRM.
|
|
2477
|
+
* :::
|
|
2478
|
+
* @exampleComponent limel-example-dialog
|
|
2479
|
+
* @exampleComponent limel-example-dialog-nested-close-events
|
|
2480
|
+
* @exampleComponent limel-example-dialog-heading
|
|
2481
|
+
* @exampleComponent limel-example-dialog-form
|
|
2482
|
+
* @exampleComponent limel-example-dialog-size
|
|
2483
|
+
* @exampleComponent limel-example-dialog-fullscreen
|
|
2484
|
+
* @exampleComponent limel-example-dialog-closing-actions
|
|
2485
|
+
* @exampleComponent limel-example-dialog-action-buttons
|
|
2486
|
+
*/
|
|
1553
2487
|
interface HTMLLimelDialogElement extends Components.LimelDialog, HTMLStencilElement {
|
|
1554
2488
|
}
|
|
1555
2489
|
var HTMLLimelDialogElement: {
|
|
1556
2490
|
prototype: HTMLLimelDialogElement;
|
|
1557
2491
|
new (): HTMLLimelDialogElement;
|
|
1558
2492
|
};
|
|
2493
|
+
/**
|
|
2494
|
+
* @exampleComponent limel-example-dock-basic
|
|
2495
|
+
* @exampleComponent limel-example-dock-custom-component
|
|
2496
|
+
* @exampleComponent limel-example-dock-notification
|
|
2497
|
+
* @exampleComponent limel-example-dock-mobile
|
|
2498
|
+
* @exampleComponent limel-example-dock-expanded
|
|
2499
|
+
* @exampleComponent limel-example-dock-colors-css
|
|
2500
|
+
*/
|
|
1559
2501
|
interface HTMLLimelDockElement extends Components.LimelDock, HTMLStencilElement {
|
|
1560
2502
|
}
|
|
1561
2503
|
var HTMLLimelDockElement: {
|
|
1562
2504
|
prototype: HTMLLimelDockElement;
|
|
1563
2505
|
new (): HTMLLimelDockElement;
|
|
1564
2506
|
};
|
|
2507
|
+
/**
|
|
2508
|
+
* @private
|
|
2509
|
+
*/
|
|
1565
2510
|
interface HTMLLimelDockButtonElement extends Components.LimelDockButton, HTMLStencilElement {
|
|
1566
2511
|
}
|
|
1567
2512
|
var HTMLLimelDockButtonElement: {
|
|
1568
2513
|
prototype: HTMLLimelDockButtonElement;
|
|
1569
2514
|
new (): HTMLLimelDockButtonElement;
|
|
1570
2515
|
};
|
|
2516
|
+
/**
|
|
2517
|
+
* This component lets end-users select a *single* file from their device
|
|
2518
|
+
* storage. Regardless of the user's device or operating system, this component
|
|
2519
|
+
* opens up a file picker dialog that allows the user to choose a file.
|
|
2520
|
+
* ## Using correct labels
|
|
2521
|
+
* This file picker can be used in different contexts. The component's distinct
|
|
2522
|
+
* visual design including the upload icon hints end-users that this is not a
|
|
2523
|
+
* normal input field like other fields in the form for example.
|
|
2524
|
+
* :::important
|
|
2525
|
+
* you need to use a descriptive `label` that clarifies the
|
|
2526
|
+
* functionality of the file picker, and/or provides users with clear
|
|
2527
|
+
* instructions.
|
|
2528
|
+
* Depending on the context, you may need to avoid labels such as:
|
|
2529
|
+
* - File
|
|
2530
|
+
* - Document
|
|
2531
|
+
* and instead consider using labels like:
|
|
2532
|
+
* - Attach a file
|
|
2533
|
+
* - Upload a file
|
|
2534
|
+
* - Choose a document
|
|
2535
|
+
* - Choose a file
|
|
2536
|
+
* and similar phrases...
|
|
2537
|
+
* :::
|
|
2538
|
+
* @exampleComponent limel-example-file
|
|
2539
|
+
* @exampleComponent limel-example-file-custom-icon
|
|
2540
|
+
* @exampleComponent limel-example-file-accepted-types
|
|
2541
|
+
* @exampleComponent limel-example-file-composite
|
|
2542
|
+
*/
|
|
1571
2543
|
interface HTMLLimelFileElement extends Components.LimelFile, HTMLStencilElement {
|
|
1572
2544
|
}
|
|
1573
2545
|
var HTMLLimelFileElement: {
|
|
1574
2546
|
prototype: HTMLLimelFileElement;
|
|
1575
2547
|
new (): HTMLLimelFileElement;
|
|
1576
2548
|
};
|
|
2549
|
+
/**
|
|
2550
|
+
* This component is internal and only supposed to be used by
|
|
2551
|
+
* the limel-date-picker. This component is needed in order for us
|
|
2552
|
+
* to render the flatpickr calendar in a portal.
|
|
2553
|
+
* @private
|
|
2554
|
+
*/
|
|
1577
2555
|
interface HTMLLimelFlatpickrAdapterElement extends Components.LimelFlatpickrAdapter, HTMLStencilElement {
|
|
1578
2556
|
}
|
|
1579
2557
|
var HTMLLimelFlatpickrAdapterElement: {
|
|
1580
2558
|
prototype: HTMLLimelFlatpickrAdapterElement;
|
|
1581
2559
|
new (): HTMLLimelFlatpickrAdapterElement;
|
|
1582
2560
|
};
|
|
2561
|
+
/**
|
|
2562
|
+
* This component is deprecated and will be removed in a future version of
|
|
2563
|
+
* Lime Elements. Please use CSS for your flexible container needs 🙂
|
|
2564
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox
|
|
2565
|
+
* @deprecated
|
|
2566
|
+
* @private
|
|
2567
|
+
*/
|
|
1583
2568
|
interface HTMLLimelFlexContainerElement extends Components.LimelFlexContainer, HTMLStencilElement {
|
|
1584
2569
|
}
|
|
1585
2570
|
var HTMLLimelFlexContainerElement: {
|
|
1586
2571
|
prototype: HTMLLimelFlexContainerElement;
|
|
1587
2572
|
new (): HTMLLimelFlexContainerElement;
|
|
1588
2573
|
};
|
|
2574
|
+
/**
|
|
2575
|
+
* @exampleComponent limel-example-form
|
|
2576
|
+
* @exampleComponent limel-example-nested-form
|
|
2577
|
+
* @exampleComponent limel-example-list-form
|
|
2578
|
+
* @exampleComponent limel-example-dynamic-form
|
|
2579
|
+
* @exampleComponent limel-example-custom-component-form
|
|
2580
|
+
* @exampleComponent limel-example-props-factory-form
|
|
2581
|
+
* @exampleComponent limel-example-form-layout
|
|
2582
|
+
* @exampleComponent limel-example-form-span-fields
|
|
2583
|
+
* @exampleComponent limel-example-custom-error-message
|
|
2584
|
+
* @exampleComponent limel-example-server-errors
|
|
2585
|
+
* @exampleComponent limel-example-form-row-layout
|
|
2586
|
+
*/
|
|
1589
2587
|
interface HTMLLimelFormElement extends Components.LimelForm, HTMLStencilElement {
|
|
1590
2588
|
}
|
|
1591
2589
|
var HTMLLimelFormElement: {
|
|
1592
2590
|
prototype: HTMLLimelFormElement;
|
|
1593
2591
|
new (): HTMLLimelFormElement;
|
|
1594
2592
|
};
|
|
2593
|
+
/**
|
|
2594
|
+
* The `limel-grid` component creates a grid which can be used to control the
|
|
2595
|
+
* layout of other components. It uses CSS [grid-template-areas](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-areas)
|
|
2596
|
+
* to enable easy configuration of its child-elements.
|
|
2597
|
+
* @exampleComponent limel-example-grid
|
|
2598
|
+
*/
|
|
1595
2599
|
interface HTMLLimelGridElement extends Components.LimelGrid, HTMLStencilElement {
|
|
1596
2600
|
}
|
|
1597
2601
|
var HTMLLimelGridElement: {
|
|
1598
2602
|
prototype: HTMLLimelGridElement;
|
|
1599
2603
|
new (): HTMLLimelGridElement;
|
|
1600
2604
|
};
|
|
2605
|
+
/**
|
|
2606
|
+
* A header is the top most visual element in a component, page, card, or a view.
|
|
2607
|
+
* ## Usage
|
|
2608
|
+
* A header is the first thing that clarifies a context for users.
|
|
2609
|
+
* Due to their positions in the UI hierarchy, headers are the most
|
|
2610
|
+
* prominent elements of a user interface; and because of that, they carry both
|
|
2611
|
+
* vital information and fundamental controls for the area of the interface
|
|
2612
|
+
* they represent.
|
|
2613
|
+
* For example, when a header is placed on top of a card, it should quickly
|
|
2614
|
+
* explain the card to the user. When placed on top of a modal, it should easily
|
|
2615
|
+
* clarify what the modal is about. When displayed on top of a fullscreen view,
|
|
2616
|
+
* it should indicate where in the system users are, and what part of the app
|
|
2617
|
+
* they are looking at.
|
|
2618
|
+
* ## Layout
|
|
2619
|
+
* The vital information in a header is usually manifested in form of an icon,
|
|
2620
|
+
* and a heading. A subheading also could be added to provide supplementary
|
|
2621
|
+
* information. There is also a third place for displaying supplementary information
|
|
2622
|
+
* or "supporting text", which will be rendered as a part of the subheading.
|
|
2623
|
+
* Along with this information, headers can also include actions, controls, or
|
|
2624
|
+
* menus.
|
|
2625
|
+
* :::important
|
|
2626
|
+
* Such actions or menus must affect the entire section of the interface
|
|
2627
|
+
* which the header is representing. For example, a _Delete_ button on a card
|
|
2628
|
+
* header must delete that entire card and its respective contents all together,
|
|
2629
|
+
* not for example a selected item which is visible in the content of that card.
|
|
2630
|
+
* :::
|
|
2631
|
+
* :::warning
|
|
2632
|
+
* Do not user background color on icons in the headers. It is much better and
|
|
2633
|
+
* much easier for the eye if your icon itself has a color.
|
|
2634
|
+
* Background colors behind icons make them look like "call to action" buttons
|
|
2635
|
+
* and take a lot of attention from users.
|
|
2636
|
+
* :::
|
|
2637
|
+
* @exampleComponent limel-example-header
|
|
2638
|
+
* @exampleComponent limel-example-header-colors
|
|
2639
|
+
* @exampleComponent limel-example-header-responsive
|
|
2640
|
+
* @exampleComponent limel-example-header-narrow
|
|
2641
|
+
*/
|
|
1601
2642
|
interface HTMLLimelHeaderElement extends Components.LimelHeader, HTMLStencilElement {
|
|
1602
2643
|
}
|
|
1603
2644
|
var HTMLLimelHeaderElement: {
|
|
1604
2645
|
prototype: HTMLLimelHeaderElement;
|
|
1605
2646
|
new (): HTMLLimelHeaderElement;
|
|
1606
2647
|
};
|
|
2648
|
+
/**
|
|
2649
|
+
* This is an internal and private component that many input fields
|
|
2650
|
+
* use to display a helper text, along with a character counter below the
|
|
2651
|
+
* input field.
|
|
2652
|
+
* We created this to keep the visual styles the same everywhere
|
|
2653
|
+
* and to avoid importing styles separately.
|
|
2654
|
+
* Also this enables us to open the helper line in limel-portal,
|
|
2655
|
+
* more easily without having to send the styles to the portal.
|
|
2656
|
+
* :::note
|
|
2657
|
+
* When the component has no content, it will get a `display: none`
|
|
2658
|
+
* as styles to avoid creating empty holes in the UI of the parent component.
|
|
2659
|
+
* For example, in a `flex` or `grid` component that has a `gap`,
|
|
2660
|
+
* we don't want the empty `limel-helper-line` to render and cause unnecessary
|
|
2661
|
+
* gaps in the UI.
|
|
2662
|
+
* However, to be more resourceful, the parent component can choose not
|
|
2663
|
+
* to render the helper-line as well.
|
|
2664
|
+
* :::
|
|
2665
|
+
* @exampleComponent limel-example-helper-line
|
|
2666
|
+
* @exampleComponent limel-example-helper-line-invalid
|
|
2667
|
+
* @exampleComponent limel-example-helper-line-long-text
|
|
2668
|
+
* @exampleComponent limel-example-helper-line-long-text-no-counter
|
|
2669
|
+
* @exampleComponent limel-example-helper-line-character-counter
|
|
2670
|
+
* @private
|
|
2671
|
+
*/
|
|
1607
2672
|
interface HTMLLimelHelperLineElement extends Components.LimelHelperLine, HTMLStencilElement {
|
|
1608
2673
|
}
|
|
1609
2674
|
var HTMLLimelHelperLineElement: {
|
|
1610
2675
|
prototype: HTMLLimelHelperLineElement;
|
|
1611
2676
|
new (): HTMLLimelHelperLineElement;
|
|
1612
2677
|
};
|
|
2678
|
+
/**
|
|
2679
|
+
* The recommended icon library for use with Lime Elements is the Windows 10 set
|
|
2680
|
+
* from Icons8 (https://icons8.com/icons/windows). This set is included in the
|
|
2681
|
+
* relevant Lime products. If you are using Lime Elements in a non-Lime product,
|
|
2682
|
+
* you will have to supply your own icons.
|
|
2683
|
+
* The size and color of the icon is set in CSS, however there are a few
|
|
2684
|
+
* standard sizes defined that can be used with the `size` property.
|
|
2685
|
+
* ### Setup
|
|
2686
|
+
* To use **@lundalogik/lime-icons8**, the `/assets` folder from
|
|
2687
|
+
* __@lundalogik/lime-icons8__ must be made available on the webserver.
|
|
2688
|
+
* To use a different icon set, the icons must be placed in a folder structure
|
|
2689
|
+
* that looks like this: `assets/icons/<name-of-icon>.svg`
|
|
2690
|
+
* If `assets` is placed in the root, no other setup is needed. The icons will
|
|
2691
|
+
* be fetched with a relative URL from `/assets/icons/<name-of-icon>.svg`.
|
|
2692
|
+
* If `assets` is placed in a sub-folder somewhere, the easiest way to make the
|
|
2693
|
+
* icons available is to use the HTML `base` element:
|
|
2694
|
+
* ```
|
|
2695
|
+
* <base href="/my/parent/path/">
|
|
2696
|
+
* ```
|
|
2697
|
+
* If this is not enough, or if the `base` element is already in use for
|
|
2698
|
+
* something else, a global icon path can be configured with the `limel-config`
|
|
2699
|
+
* element:
|
|
2700
|
+
* ```
|
|
2701
|
+
* <limel-config config={{iconPath: '/my/parent/path/'}} />
|
|
2702
|
+
* ```
|
|
2703
|
+
* ### Lime icons
|
|
2704
|
+
* There are icons included in the **@lundalogik/lime-icons8** package which are
|
|
2705
|
+
* designed by our designers at Lime.
|
|
2706
|
+
* The names of these icons start with `-lime-`, which makes them easy to
|
|
2707
|
+
* find using the Icon Finder tool below.
|
|
2708
|
+
* :::note
|
|
2709
|
+
* Some of the `-lime-` icons have multiple colors and use our own CSS variables
|
|
2710
|
+
* instead of HEX or RGB values to visualize their colors. Thus, you must import
|
|
2711
|
+
* our color palette css files into your project to render the icons properly.
|
|
2712
|
+
* Read more about our [Color System](#/DesignGuidelines/color-system.md/)
|
|
2713
|
+
* and how to do this.
|
|
2714
|
+
* :::
|
|
2715
|
+
* ### Icon Finder
|
|
2716
|
+
* Search for an icon and **click on it to copy its name to clipboard**.
|
|
2717
|
+
* <limel-example-icon-finder />
|
|
2718
|
+
* @exampleComponent limel-example-icon
|
|
2719
|
+
* @exampleComponent limel-example-icon-background
|
|
2720
|
+
*/
|
|
1613
2721
|
interface HTMLLimelIconElement extends Components.LimelIcon, HTMLStencilElement {
|
|
1614
2722
|
}
|
|
1615
2723
|
var HTMLLimelIconElement: {
|
|
1616
2724
|
prototype: HTMLLimelIconElement;
|
|
1617
2725
|
new (): HTMLLimelIconElement;
|
|
1618
2726
|
};
|
|
2727
|
+
/**
|
|
2728
|
+
* @exampleComponent limel-example-icon-button-basic
|
|
2729
|
+
* @exampleComponent limel-example-icon-button-disabled
|
|
2730
|
+
* @exampleComponent limel-example-icon-button-elevated
|
|
2731
|
+
* @exampleComponent limel-example-icon-button-toggle-state
|
|
2732
|
+
* @exampleComponent limel-example-icon-button-composite
|
|
2733
|
+
*/
|
|
1619
2734
|
interface HTMLLimelIconButtonElement extends Components.LimelIconButton, HTMLStencilElement {
|
|
1620
2735
|
}
|
|
1621
2736
|
var HTMLLimelIconButtonElement: {
|
|
1622
2737
|
prototype: HTMLLimelIconButtonElement;
|
|
1623
2738
|
new (): HTMLLimelIconButtonElement;
|
|
1624
2739
|
};
|
|
2740
|
+
/**
|
|
2741
|
+
* This component can be used on places such as a start page or a dashboard.
|
|
2742
|
+
* It offers features for visualizing aggregated data along with supplementary
|
|
2743
|
+
* information.
|
|
2744
|
+
* If clicking on the component should navigate the user to
|
|
2745
|
+
* a new screen or web page, you need to provide a URL,
|
|
2746
|
+
* using the `link` property.
|
|
2747
|
+
* @exampleComponent limel-example-info-tile
|
|
2748
|
+
* @exampleComponent limel-example-info-tile-badge
|
|
2749
|
+
* @exampleComponent limel-example-info-tile-progress
|
|
2750
|
+
* @exampleComponent limel-example-info-tile-loading
|
|
2751
|
+
* @exampleComponent limel-example-info-tile-styling
|
|
2752
|
+
*/
|
|
1625
2753
|
interface HTMLLimelInfoTileElement extends Components.LimelInfoTile, HTMLStencilElement {
|
|
1626
2754
|
}
|
|
1627
2755
|
var HTMLLimelInfoTileElement: {
|
|
1628
2756
|
prototype: HTMLLimelInfoTileElement;
|
|
1629
2757
|
new (): HTMLLimelInfoTileElement;
|
|
1630
2758
|
};
|
|
2759
|
+
/**
|
|
2760
|
+
* @exampleComponent limel-example-input-field-text
|
|
2761
|
+
* @exampleComponent limel-example-input-field-placeholder
|
|
2762
|
+
* @exampleComponent limel-example-input-field-text-multiple
|
|
2763
|
+
* @exampleComponent limel-example-input-field-number
|
|
2764
|
+
* @exampleComponent limel-example-input-field-autocomplete
|
|
2765
|
+
* @exampleComponent limel-example-input-field-icon-leading
|
|
2766
|
+
* @exampleComponent limel-example-input-field-icon-trailing
|
|
2767
|
+
* @exampleComponent limel-example-input-field-icon-both
|
|
2768
|
+
* @exampleComponent limel-example-input-field-showlink
|
|
2769
|
+
* @exampleComponent limel-example-input-field-error-icon
|
|
2770
|
+
* @exampleComponent limel-example-input-field-textarea
|
|
2771
|
+
* @exampleComponent limel-example-input-field-suffix
|
|
2772
|
+
* @exampleComponent limel-example-input-field-prefix
|
|
2773
|
+
* @exampleComponent limel-example-input-field-search
|
|
2774
|
+
* @exampleComponent limel-example-input-field-pattern
|
|
2775
|
+
* @exampleComponent limel-example-input-field-focus
|
|
2776
|
+
*/
|
|
1631
2777
|
interface HTMLLimelInputFieldElement extends Components.LimelInputField, HTMLStencilElement {
|
|
1632
2778
|
}
|
|
1633
2779
|
var HTMLLimelInputFieldElement: {
|
|
1634
2780
|
prototype: HTMLLimelInputFieldElement;
|
|
1635
2781
|
new (): HTMLLimelInputFieldElement;
|
|
1636
2782
|
};
|
|
2783
|
+
/**
|
|
2784
|
+
* @exampleComponent limel-example-linear-progress
|
|
2785
|
+
* @exampleComponent limel-example-linear-progress-color
|
|
2786
|
+
* @exampleComponent limel-example-linear-progress-indeterminate
|
|
2787
|
+
*/
|
|
1637
2788
|
interface HTMLLimelLinearProgressElement extends Components.LimelLinearProgress, HTMLStencilElement {
|
|
1638
2789
|
}
|
|
1639
2790
|
var HTMLLimelLinearProgressElement: {
|
|
1640
2791
|
prototype: HTMLLimelLinearProgressElement;
|
|
1641
2792
|
new (): HTMLLimelLinearProgressElement;
|
|
1642
2793
|
};
|
|
2794
|
+
/**
|
|
2795
|
+
* @exampleComponent limel-example-list
|
|
2796
|
+
* @exampleComponent limel-example-list-secondary
|
|
2797
|
+
* @exampleComponent limel-example-list-selectable
|
|
2798
|
+
* @exampleComponent limel-example-list-icons
|
|
2799
|
+
* @exampleComponent limel-example-list-badge-icons
|
|
2800
|
+
* @exampleComponent limel-example-list-checkbox
|
|
2801
|
+
* @exampleComponent limel-example-list-checkbox-icons
|
|
2802
|
+
* @exampleComponent limel-example-list-radio-button
|
|
2803
|
+
* @exampleComponent limel-example-list-radio-button-icons
|
|
2804
|
+
* @exampleComponent limel-example-list-action
|
|
2805
|
+
* @exampleComponent limel-example-list-striped
|
|
2806
|
+
* @exampleComponent limel-example-list-badge-icons-with-multiple-lines
|
|
2807
|
+
* @exampleComponent limel-example-list-grid
|
|
2808
|
+
* @exampleComponent limel-example-list-primary-component
|
|
2809
|
+
*/
|
|
1643
2810
|
interface HTMLLimelListElement extends Components.LimelList, HTMLStencilElement {
|
|
1644
2811
|
}
|
|
1645
2812
|
var HTMLLimelListElement: {
|
|
1646
2813
|
prototype: HTMLLimelListElement;
|
|
1647
2814
|
new (): HTMLLimelListElement;
|
|
1648
2815
|
};
|
|
2816
|
+
/**
|
|
2817
|
+
* @exampleComponent limel-example-menu-basic
|
|
2818
|
+
* @exampleComponent limel-example-menu-disabled
|
|
2819
|
+
* @exampleComponent limel-example-menu-open-direction
|
|
2820
|
+
* @exampleComponent limel-example-menu-icons
|
|
2821
|
+
* @exampleComponent limel-example-menu-badge-icons
|
|
2822
|
+
* @exampleComponent limel-example-menu-grid
|
|
2823
|
+
* @exampleComponent limel-example-menu-hotkeys
|
|
2824
|
+
* @exampleComponent limel-example-menu-secondary-text
|
|
2825
|
+
* @exampleComponent limel-example-menu-notification
|
|
2826
|
+
* @exampleComponent limel-example-menu-composite
|
|
2827
|
+
*/
|
|
1649
2828
|
interface HTMLLimelMenuElement extends Components.LimelMenu, HTMLStencilElement {
|
|
1650
2829
|
}
|
|
1651
2830
|
var HTMLLimelMenuElement: {
|
|
1652
2831
|
prototype: HTMLLimelMenuElement;
|
|
1653
2832
|
new (): HTMLLimelMenuElement;
|
|
1654
2833
|
};
|
|
2834
|
+
/**
|
|
2835
|
+
* @private
|
|
2836
|
+
*/
|
|
1655
2837
|
interface HTMLLimelMenuListElement extends Components.LimelMenuList, HTMLStencilElement {
|
|
1656
2838
|
}
|
|
1657
2839
|
var HTMLLimelMenuListElement: {
|
|
1658
2840
|
prototype: HTMLLimelMenuListElement;
|
|
1659
2841
|
new (): HTMLLimelMenuListElement;
|
|
1660
2842
|
};
|
|
2843
|
+
/**
|
|
2844
|
+
* @private
|
|
2845
|
+
*/
|
|
1661
2846
|
interface HTMLLimelMenuSurfaceElement extends Components.LimelMenuSurface, HTMLStencilElement {
|
|
1662
2847
|
}
|
|
1663
2848
|
var HTMLLimelMenuSurfaceElement: {
|
|
1664
2849
|
prototype: HTMLLimelMenuSurfaceElement;
|
|
1665
2850
|
new (): HTMLLimelMenuSurfaceElement;
|
|
1666
2851
|
};
|
|
2852
|
+
/**
|
|
2853
|
+
* @exampleComponent limel-example-picker-single
|
|
2854
|
+
* @exampleComponent limel-example-picker-multiple
|
|
2855
|
+
* @exampleComponent limel-example-picker-icons
|
|
2856
|
+
* @exampleComponent limel-example-picker-empty-suggestions
|
|
2857
|
+
* @exampleComponent limel-example-picker-leading-icon
|
|
2858
|
+
* @exampleComponent limel-example-picker-static-actions
|
|
2859
|
+
* @exampleComponent limel-example-picker-composite
|
|
2860
|
+
*/
|
|
1667
2861
|
interface HTMLLimelPickerElement extends Components.LimelPicker, HTMLStencilElement {
|
|
1668
2862
|
}
|
|
1669
2863
|
var HTMLLimelPickerElement: {
|
|
1670
2864
|
prototype: HTMLLimelPickerElement;
|
|
1671
2865
|
new (): HTMLLimelPickerElement;
|
|
1672
2866
|
};
|
|
2867
|
+
/**
|
|
2868
|
+
* A popover is an impermanent layer that is displayed on top of other content
|
|
2869
|
+
* when user taps an element that triggers the popover. This element can be
|
|
2870
|
+
* practically anything, a button, piece of text, and icon, etc.
|
|
2871
|
+
* Popovers are nonmodal, thus they don't have a semi-transparent backdrop layer
|
|
2872
|
+
* that darkens the content below them. Also for the same reason, they can be
|
|
2873
|
+
* dismissed by tapping or clicking another part of the screen, but not by a
|
|
2874
|
+
* clicking a button or link on the popover itself.
|
|
2875
|
+
* :::warning
|
|
2876
|
+
* The component is emitting a close event when you click outside its container
|
|
2877
|
+
* or press the <kbd>Esc</kbd> key. However, it’s up to you as consumer to react
|
|
2878
|
+
* properly on this event and hide the component (preferably by setting the
|
|
2879
|
+
* property `open` to `false`).
|
|
2880
|
+
* :::
|
|
2881
|
+
* ## Usage
|
|
2882
|
+
* Use a popover to show **options** or **information** related to the trigger
|
|
2883
|
+
* onscreen. A typical use case for popovers is a tooltip, in which you show
|
|
2884
|
+
* help text or contextual information to users.
|
|
2885
|
+
* Popovers are most appropriate on larger screens but can be used on smaller
|
|
2886
|
+
* screens too, as long as their content is responsive and takes into account
|
|
2887
|
+
* the context they are displayed on.
|
|
2888
|
+
* When a popover is displayed, interactions with other controls are blocked,
|
|
2889
|
+
* until user dismisses the popover.
|
|
2890
|
+
* ## Layout
|
|
2891
|
+
* Popovers has only one slot in which you can import a custom web-component.
|
|
2892
|
+
* :::note
|
|
2893
|
+
* You must make sure that web-components that you import into the slot has
|
|
2894
|
+
* a `width: 100%;` style so that it can horizontally stretch across the popover.
|
|
2895
|
+
* However, `width` of the popover can be controlled by specifying a CSS variable
|
|
2896
|
+
* of `--popover-surface-width`. If you don't specify any width, the popover
|
|
2897
|
+
* will grow as wide as its content.
|
|
2898
|
+
* :::
|
|
2899
|
+
* :::important
|
|
2900
|
+
* Do not make a popover too big. They should never take over the entire screen.
|
|
2901
|
+
* If your content is that big, you should probably be using a Modal instead.
|
|
2902
|
+
* :::
|
|
2903
|
+
* @exampleComponent limel-example-popover
|
|
2904
|
+
*/
|
|
1673
2905
|
interface HTMLLimelPopoverElement extends Components.LimelPopover, HTMLStencilElement {
|
|
1674
2906
|
}
|
|
1675
2907
|
var HTMLLimelPopoverElement: {
|
|
1676
2908
|
prototype: HTMLLimelPopoverElement;
|
|
1677
2909
|
new (): HTMLLimelPopoverElement;
|
|
1678
2910
|
};
|
|
2911
|
+
/**
|
|
2912
|
+
* @private
|
|
2913
|
+
*/
|
|
1679
2914
|
interface HTMLLimelPopoverSurfaceElement extends Components.LimelPopoverSurface, HTMLStencilElement {
|
|
1680
2915
|
}
|
|
1681
2916
|
var HTMLLimelPopoverSurfaceElement: {
|
|
1682
2917
|
prototype: HTMLLimelPopoverSurfaceElement;
|
|
1683
2918
|
new (): HTMLLimelPopoverSurfaceElement;
|
|
1684
2919
|
};
|
|
2920
|
+
/**
|
|
2921
|
+
* The portal component provides a way to render children into a DOM node that
|
|
2922
|
+
* exist outside the DOM hierarchy of the parent component.
|
|
2923
|
+
* There are some caveats when using this component
|
|
2924
|
+
* Events might not bubble up as expected since the content is moved out to
|
|
2925
|
+
* another DOM node.
|
|
2926
|
+
* Any styling that is applied to content from the parent will be lost, if the
|
|
2927
|
+
* content is just another web compoent it will work without any issues.
|
|
2928
|
+
* Alternatively, use the
|
|
2929
|
+
* `style=""` html attribute.
|
|
2930
|
+
* Any component that is placed inside the container must have a style of
|
|
2931
|
+
* `max-height: inherit`. This ensures that its placement is calculated
|
|
2932
|
+
* correctly in relation to the trigger, and that it never covers its own
|
|
2933
|
+
* trigger.
|
|
2934
|
+
* When the node is moved in the DOM, `disconnectedCallback` and
|
|
2935
|
+
* `connectedCallback` will be invoked, so if `disconnectedCallback` is used
|
|
2936
|
+
* to do any tear-down, the appropriate setup will have to be done again on
|
|
2937
|
+
* `connectedCallback`.
|
|
2938
|
+
* @private
|
|
2939
|
+
* @exampleComponent limel-example-portal
|
|
2940
|
+
*/
|
|
1685
2941
|
interface HTMLLimelPortalElement extends Components.LimelPortal, HTMLStencilElement {
|
|
1686
2942
|
}
|
|
1687
2943
|
var HTMLLimelPortalElement: {
|
|
1688
2944
|
prototype: HTMLLimelPortalElement;
|
|
1689
2945
|
new (): HTMLLimelPortalElement;
|
|
1690
2946
|
};
|
|
2947
|
+
/**
|
|
2948
|
+
* @exampleComponent limel-example-progress-flow-basic
|
|
2949
|
+
* @exampleComponent limel-example-progress-flow-secondary-text
|
|
2950
|
+
* @exampleComponent limel-example-progress-flow-disabled-step
|
|
2951
|
+
* @exampleComponent limel-example-progress-flow-colors
|
|
2952
|
+
* @exampleComponent limel-example-progress-flow-colors-css
|
|
2953
|
+
* @exampleComponent limel-example-progress-flow-off-progress-steps
|
|
2954
|
+
* @exampleComponent limel-example-progress-flow-narrow
|
|
2955
|
+
*/
|
|
1691
2956
|
interface HTMLLimelProgressFlowElement extends Components.LimelProgressFlow, HTMLStencilElement {
|
|
1692
2957
|
}
|
|
1693
2958
|
var HTMLLimelProgressFlowElement: {
|
|
1694
2959
|
prototype: HTMLLimelProgressFlowElement;
|
|
1695
2960
|
new (): HTMLLimelProgressFlowElement;
|
|
1696
2961
|
};
|
|
2962
|
+
/**
|
|
2963
|
+
* @private
|
|
2964
|
+
*/
|
|
1697
2965
|
interface HTMLLimelProgressFlowItemElement extends Components.LimelProgressFlowItem, HTMLStencilElement {
|
|
1698
2966
|
}
|
|
1699
2967
|
var HTMLLimelProgressFlowItemElement: {
|
|
1700
2968
|
prototype: HTMLLimelProgressFlowItemElement;
|
|
1701
2969
|
new (): HTMLLimelProgressFlowItemElement;
|
|
1702
2970
|
};
|
|
2971
|
+
/**
|
|
2972
|
+
* @exampleComponent limel-example-select
|
|
2973
|
+
* @exampleComponent limel-example-select-with-icons
|
|
2974
|
+
* @exampleComponent limel-example-select-multiple
|
|
2975
|
+
* @exampleComponent limel-example-select-with-empty-option
|
|
2976
|
+
* @exampleComponent limel-example-select-preselected
|
|
2977
|
+
* @exampleComponent limel-example-select-change-options
|
|
2978
|
+
* @exampleComponent limel-example-select-narrow
|
|
2979
|
+
* @exampleComponent limel-example-select-dialog
|
|
2980
|
+
*/
|
|
1703
2981
|
interface HTMLLimelSelectElement extends Components.LimelSelect, HTMLStencilElement {
|
|
1704
2982
|
}
|
|
1705
2983
|
var HTMLLimelSelectElement: {
|
|
1706
2984
|
prototype: HTMLLimelSelectElement;
|
|
1707
2985
|
new (): HTMLLimelSelectElement;
|
|
1708
2986
|
};
|
|
2987
|
+
/**
|
|
2988
|
+
* This component can be used on places such as a start page or a dashboard.
|
|
2989
|
+
* Clicking on the component should navigate the user to a new screen,
|
|
2990
|
+
* to which you need to provide a URL, by specifying an `href` for the `link` property.
|
|
2991
|
+
* By default, this navigation will happen within the same browser tab.
|
|
2992
|
+
* However, it is possible to override that behavior, by specifying a `target`
|
|
2993
|
+
* for the `link` property
|
|
2994
|
+
* @exampleComponent limel-example-shortcut
|
|
2995
|
+
* @exampleComponent limel-example-shortcut-notification
|
|
2996
|
+
* @exampleComponent limel-example-shortcut-styling
|
|
2997
|
+
* @exampleComponent limel-example-shortcut-with-click-handler
|
|
2998
|
+
*/
|
|
1709
2999
|
interface HTMLLimelShortcutElement extends Components.LimelShortcut, HTMLStencilElement {
|
|
1710
3000
|
}
|
|
1711
3001
|
var HTMLLimelShortcutElement: {
|
|
1712
3002
|
prototype: HTMLLimelShortcutElement;
|
|
1713
3003
|
new (): HTMLLimelShortcutElement;
|
|
1714
3004
|
};
|
|
3005
|
+
/**
|
|
3006
|
+
* @exampleComponent limel-example-slider
|
|
3007
|
+
* @exampleComponent limel-example-slider-multiplier
|
|
3008
|
+
* @exampleComponent limel-example-slider-multiplier-percentage-colors
|
|
3009
|
+
* @exampleComponent limel-example-slider-composite
|
|
3010
|
+
*/
|
|
1715
3011
|
interface HTMLLimelSliderElement extends Components.LimelSlider, HTMLStencilElement {
|
|
1716
3012
|
}
|
|
1717
3013
|
var HTMLLimelSliderElement: {
|
|
1718
3014
|
prototype: HTMLLimelSliderElement;
|
|
1719
3015
|
new (): HTMLLimelSliderElement;
|
|
1720
3016
|
};
|
|
3017
|
+
/**
|
|
3018
|
+
* A Snackbar –also known as "Toast"– is used to inform the end user
|
|
3019
|
+
* about an action or a process in the system.
|
|
3020
|
+
* The information could vary from announcing that a process has just started,
|
|
3021
|
+
* is taking place now, has ended, or has been interrupted or canceled.
|
|
3022
|
+
* The information that you provide using a snackbar should be:
|
|
3023
|
+
* - temporary
|
|
3024
|
+
* - contextual
|
|
3025
|
+
* - short
|
|
3026
|
+
* - and most importantly, ignorable.
|
|
3027
|
+
* It means if the user misses the information, it shouldn't be a big deal.
|
|
3028
|
+
* :::note
|
|
3029
|
+
* If the information you want to display has a higher importance or priority,
|
|
3030
|
+
* and you need to make sure that the user takes an action to dismiss it,
|
|
3031
|
+
* consider using the [Banner](/#/component/limel-banner/) component instead.
|
|
3032
|
+
* For more complex interactions and for delivering more detailed information,
|
|
3033
|
+
* [Dialog](/#/component/limel-dialog/) is a better choice.
|
|
3034
|
+
* :::
|
|
3035
|
+
* @exampleComponent limel-example-snackbar
|
|
3036
|
+
* @exampleComponent limel-example-snackbar-dismissible
|
|
3037
|
+
* @exampleComponent limel-example-snackbar-with-action
|
|
3038
|
+
* @exampleComponent limel-example-snackbar-with-changing-messages
|
|
3039
|
+
* @exampleComponent limel-example-snackbar-positioning
|
|
3040
|
+
*/
|
|
1721
3041
|
interface HTMLLimelSnackbarElement extends Components.LimelSnackbar, HTMLStencilElement {
|
|
1722
3042
|
}
|
|
1723
3043
|
var HTMLLimelSnackbarElement: {
|
|
1724
3044
|
prototype: HTMLLimelSnackbarElement;
|
|
1725
3045
|
new (): HTMLLimelSnackbarElement;
|
|
1726
3046
|
};
|
|
3047
|
+
/**
|
|
3048
|
+
* @exampleComponent limel-example-spinner
|
|
3049
|
+
* @exampleComponent limel-example-spinner-color
|
|
3050
|
+
* @exampleComponent limel-example-spinner-size
|
|
3051
|
+
*/
|
|
1727
3052
|
interface HTMLLimelSpinnerElement extends Components.LimelSpinner, HTMLStencilElement {
|
|
1728
3053
|
}
|
|
1729
3054
|
var HTMLLimelSpinnerElement: {
|
|
1730
3055
|
prototype: HTMLLimelSpinnerElement;
|
|
1731
3056
|
new (): HTMLLimelSpinnerElement;
|
|
1732
3057
|
};
|
|
3058
|
+
/**
|
|
3059
|
+
* A split button is a button with two components:
|
|
3060
|
+
* a button and a side-menu attached to it.
|
|
3061
|
+
* Clicking on the button runs a default action,
|
|
3062
|
+
* and clicking on the arrow opens up a list of other possible actions.
|
|
3063
|
+
* :::warning
|
|
3064
|
+
* - Never use a split button for navigation purposes, such as going to next page.
|
|
3065
|
+
* The button should only be used for performing commands!
|
|
3066
|
+
* - Never use this component instead of a Select or Menu component!
|
|
3067
|
+
* :::
|
|
3068
|
+
* @exampleComponent limel-example-split-button-basic
|
|
3069
|
+
* @exampleComponent limel-example-split-button-repeat-default-command
|
|
3070
|
+
*/
|
|
1733
3071
|
interface HTMLLimelSplitButtonElement extends Components.LimelSplitButton, HTMLStencilElement {
|
|
1734
3072
|
}
|
|
1735
3073
|
var HTMLLimelSplitButtonElement: {
|
|
1736
3074
|
prototype: HTMLLimelSplitButtonElement;
|
|
1737
3075
|
new (): HTMLLimelSplitButtonElement;
|
|
1738
3076
|
};
|
|
3077
|
+
/**
|
|
3078
|
+
* @exampleComponent limel-example-switch
|
|
3079
|
+
*/
|
|
1739
3080
|
interface HTMLLimelSwitchElement extends Components.LimelSwitch, HTMLStencilElement {
|
|
1740
3081
|
}
|
|
1741
3082
|
var HTMLLimelSwitchElement: {
|
|
1742
3083
|
prototype: HTMLLimelSwitchElement;
|
|
1743
3084
|
new (): HTMLLimelSwitchElement;
|
|
1744
3085
|
};
|
|
3086
|
+
/**
|
|
3087
|
+
* Tabs are great to organize information hierarchically in the interface and divide it into distinct categories. Using tabs, you can create groups of content that are related and at the same level in the hierarchy.
|
|
3088
|
+
* :::warning
|
|
3089
|
+
* Tab bars should be strictly used for navigation at the top levels.
|
|
3090
|
+
* They should never be used to perform actions, or navigate away from the view which contains them.
|
|
3091
|
+
* :::
|
|
3092
|
+
* An exception for using tab bars in a high level of hierarchy is their usage in modals. This is because modals are perceived as a separate place and not a part of the current context. Therefore you can use tab bars in a modal to group and organize its content.
|
|
3093
|
+
* A tab bar can contain an unlimited number of tabs. However, depending on the device width and width of the tabs, the number of tabs that are visible at the same time will vary. When there is limited horizontal space, the component shows a left-arrow and/or right-arrow button, which scrolls and reveals the additional tabs. The tab bar can also be swiped left and right on a touch-device.
|
|
3094
|
+
* :::tip Other things to consider
|
|
3095
|
+
* Never divide the content of a tab using a nested tab bar.
|
|
3096
|
+
* Never place two tab bars within the same screen.
|
|
3097
|
+
* Never use background color for icons in tabs.
|
|
3098
|
+
* Avoid having long labels for tabs.
|
|
3099
|
+
* A tab will never be removed or get disabled, even if there is no content under it.
|
|
3100
|
+
* :::
|
|
3101
|
+
* @exampleComponent limel-example-tab-bar
|
|
3102
|
+
* @exampleComponent limel-example-tab-bar-with-dynamic-tab-width
|
|
3103
|
+
* @exampleComponent limel-example-tab-bar-with-equal-tab-width
|
|
3104
|
+
*/
|
|
1745
3105
|
interface HTMLLimelTabBarElement extends Components.LimelTabBar, HTMLStencilElement {
|
|
1746
3106
|
}
|
|
1747
3107
|
var HTMLLimelTabBarElement: {
|
|
1748
3108
|
prototype: HTMLLimelTabBarElement;
|
|
1749
3109
|
new (): HTMLLimelTabBarElement;
|
|
1750
3110
|
};
|
|
3111
|
+
/**
|
|
3112
|
+
* The `limel-tab-panel` component uses the `limel-tab-bar` component together
|
|
3113
|
+
* with custom slotted components and will display the content for the currently
|
|
3114
|
+
* active tab. Each slotted component must have an id equal to the id of the
|
|
3115
|
+
* corresponding tab it belongs to. These components should implement the
|
|
3116
|
+
* [TabPanelComponent](#/type/TabPanelComponent/) interface.
|
|
3117
|
+
* The `limel-tab-panel` component will automatically set each tab configuration
|
|
3118
|
+
* on the corresponding slotted component as a property named `tab` so that the
|
|
3119
|
+
* component can take action upon that. Sometimes it might be desirable to not
|
|
3120
|
+
* load data or render anything until the tab is active.
|
|
3121
|
+
* The slotted components can also emit the `changeTab` event to update anything
|
|
3122
|
+
* inside the actual tab, e.g. to change the icon, color or badge.
|
|
3123
|
+
* @exampleComponent limel-example-tab-panel
|
|
3124
|
+
*/
|
|
1751
3125
|
interface HTMLLimelTabPanelElement extends Components.LimelTabPanel, HTMLStencilElement {
|
|
1752
3126
|
}
|
|
1753
3127
|
var HTMLLimelTabPanelElement: {
|
|
1754
3128
|
prototype: HTMLLimelTabPanelElement;
|
|
1755
3129
|
new (): HTMLLimelTabPanelElement;
|
|
1756
3130
|
};
|
|
3131
|
+
/**
|
|
3132
|
+
* @exampleComponent limel-example-table
|
|
3133
|
+
* @exampleComponent limel-example-table-custom-components
|
|
3134
|
+
* @exampleComponent limel-example-table-header-menu
|
|
3135
|
+
* @exampleComponent limel-example-table-movable-columns
|
|
3136
|
+
* @exampleComponent limel-example-table-sorting-disabled
|
|
3137
|
+
* @exampleComponent limel-example-table-local
|
|
3138
|
+
* @exampleComponent limel-example-table-remote
|
|
3139
|
+
* @exampleComponent limel-example-table-activate-row
|
|
3140
|
+
* @exampleComponent limel-example-table-selectable-rows
|
|
3141
|
+
* @exampleComponent limel-example-table-default-sorted
|
|
3142
|
+
* @exampleComponent limel-example-table-layout-default
|
|
3143
|
+
* @exampleComponent limel-example-table-layout-stretch-last-column
|
|
3144
|
+
* @exampleComponent limel-example-table-layout-stretch-columns
|
|
3145
|
+
* @exampleComponent limel-example-table-layout-low-density
|
|
3146
|
+
* @exampleComponent limel-example-table-interactive-rows
|
|
3147
|
+
*/
|
|
1757
3148
|
interface HTMLLimelTableElement extends Components.LimelTable, HTMLStencilElement {
|
|
1758
3149
|
}
|
|
1759
3150
|
var HTMLLimelTableElement: {
|
|
1760
3151
|
prototype: HTMLLimelTableElement;
|
|
1761
3152
|
new (): HTMLLimelTableElement;
|
|
1762
3153
|
};
|
|
3154
|
+
/**
|
|
3155
|
+
* A tooltip can be used to display a descriptive text for any element.
|
|
3156
|
+
* The displayed content must be a brief and supplemental string of text,
|
|
3157
|
+
* identifying the element or describing its function for the user,
|
|
3158
|
+
* helping them better understand unfamiliar objects that aren't described
|
|
3159
|
+
* directly in the UI.
|
|
3160
|
+
* ## Interaction
|
|
3161
|
+
* The tooltip appears after a slight delay, when the element is hovered;
|
|
3162
|
+
* and disappears as soon as the cursor leaves the element.
|
|
3163
|
+
* Therefore, users cannot interact with the tip, but if the trigger element
|
|
3164
|
+
* itself is interactive, it will remain interactible even with a tooltip bound
|
|
3165
|
+
* to it.
|
|
3166
|
+
* :::note
|
|
3167
|
+
* In order to display the tooltip, the tooltip element and its trigger element
|
|
3168
|
+
* must be within the same document or document fragment.
|
|
3169
|
+
* A good practice is to just place them next to each other like below:
|
|
3170
|
+
* ```html
|
|
3171
|
+
* <limel-button icon="search" id="tooltip-example" />
|
|
3172
|
+
* <limel-tooltip label="Search" elementId="tooltip-example" />
|
|
3173
|
+
* ```
|
|
3174
|
+
* :::
|
|
3175
|
+
* ## Usage
|
|
3176
|
+
* - Keep in mind that tooltips can be distracting, and can be perceived as an interruption.
|
|
3177
|
+
* Use them only when they add significant value.
|
|
3178
|
+
* - A good tip is concise, helpful, and informative.
|
|
3179
|
+
* Don't explain the obvious or simply repeat what is already on the screen.
|
|
3180
|
+
* When used correctly, supplemental info of a tooltip helps to [declutter the UI](/#/DesignGuidelines/decluttering.md/).
|
|
3181
|
+
* - If the tip is essential to the primary tasks that the user is performing,
|
|
3182
|
+
* such as warnings or important notes, include the information directly in the
|
|
3183
|
+
* interface instead.
|
|
3184
|
+
* - When a component offers a helper text (e.g. [Input field](/#/component/limel-input-field/)),
|
|
3185
|
+
* use that, not a tooltip.
|
|
3186
|
+
* - Make sure to use the tooltip on an element that users naturally and
|
|
3187
|
+
* effortlessly recognize can be hovered.
|
|
3188
|
+
* @exampleComponent limel-example-tooltip
|
|
3189
|
+
* @exampleComponent limel-example-tooltip-max-character
|
|
3190
|
+
* @exampleComponent limel-example-tooltip-composite
|
|
3191
|
+
* @private
|
|
3192
|
+
*/
|
|
1763
3193
|
interface HTMLLimelTooltipElement extends Components.LimelTooltip, HTMLStencilElement {
|
|
1764
3194
|
}
|
|
1765
3195
|
var HTMLLimelTooltipElement: {
|
|
1766
3196
|
prototype: HTMLLimelTooltipElement;
|
|
1767
3197
|
new (): HTMLLimelTooltipElement;
|
|
1768
3198
|
};
|
|
3199
|
+
/**
|
|
3200
|
+
* This component is used internally by `limel-tooltip`.
|
|
3201
|
+
* @private
|
|
3202
|
+
*/
|
|
1769
3203
|
interface HTMLLimelTooltipContentElement extends Components.LimelTooltipContent, HTMLStencilElement {
|
|
1770
3204
|
}
|
|
1771
3205
|
var HTMLLimelTooltipContentElement: {
|
|
@@ -1830,6 +3264,28 @@ declare global {
|
|
|
1830
3264
|
}
|
|
1831
3265
|
}
|
|
1832
3266
|
declare namespace LocalJSX {
|
|
3267
|
+
/**
|
|
3268
|
+
* An action bar is a user interface element commonly found in software applications and websites.
|
|
3269
|
+
* It typically appears at the top of the screen or within a specific section
|
|
3270
|
+
* and serves as a centralized hub for accessing various actions and commands
|
|
3271
|
+
* relevant to the current context or page.
|
|
3272
|
+
* The action bar often contains a set of clickable icons or buttons (icons + labels)
|
|
3273
|
+
* that represent specific actions, such as saving, deleting, editing, sharing,
|
|
3274
|
+
* or bulk operations for selected items.
|
|
3275
|
+
* The purpose of an action bar is to provide quick and convenient access to
|
|
3276
|
+
* frequently used functionalities, enabling users to perform common tasks efficiently.
|
|
3277
|
+
* It enhances usability by organizing important actions in a visually prominent and easily accessible location.
|
|
3278
|
+
* The action bar's design and layout can vary based on the platform or application,
|
|
3279
|
+
* but its primary goal remains consistent—to
|
|
3280
|
+
* empower users to interact with the software and perform desired actions effortlessly.
|
|
3281
|
+
* @exampleComponent limel-example-action-bar
|
|
3282
|
+
* @exampleComponent limel-example-action-bar-overflow-menu
|
|
3283
|
+
* @exampleComponent limel-example-action-bar-colors
|
|
3284
|
+
* @exampleComponent limel-example-action-bar-floating
|
|
3285
|
+
* @exampleComponent limel-example-action-bar-styling
|
|
3286
|
+
* @exampleComponent limel-example-action-bar-as-primary-component
|
|
3287
|
+
* @private
|
|
3288
|
+
*/
|
|
1833
3289
|
interface LimelActionBar {
|
|
1834
3290
|
/**
|
|
1835
3291
|
* A label used to describe the purpose of the element to users of assistive technologies, like screen readers. Example value: "toolbar"
|
|
@@ -1852,6 +3308,9 @@ declare namespace LocalJSX {
|
|
|
1852
3308
|
*/
|
|
1853
3309
|
"openDirection"?: OpenDirection;
|
|
1854
3310
|
}
|
|
3311
|
+
/**
|
|
3312
|
+
* @private
|
|
3313
|
+
*/
|
|
1855
3314
|
interface LimelActionBarItem {
|
|
1856
3315
|
/**
|
|
1857
3316
|
* When the item is displayed in the available width, this will be `false`.
|
|
@@ -1866,6 +3325,9 @@ declare namespace LocalJSX {
|
|
|
1866
3325
|
*/
|
|
1867
3326
|
"onSelect"?: (event: LimelActionBarItemCustomEvent<ActionBarItem | ListSeparator1>) => void;
|
|
1868
3327
|
}
|
|
3328
|
+
/**
|
|
3329
|
+
* @private
|
|
3330
|
+
*/
|
|
1869
3331
|
interface LimelActionBarOverflowMenu {
|
|
1870
3332
|
/**
|
|
1871
3333
|
* List of the items that should be rendered in the overflow menu.
|
|
@@ -1877,12 +3339,22 @@ declare namespace LocalJSX {
|
|
|
1877
3339
|
*/
|
|
1878
3340
|
"openDirection"?: OpenDirection1;
|
|
1879
3341
|
}
|
|
3342
|
+
/**
|
|
3343
|
+
* The Badge component can be used to display a notification badge,
|
|
3344
|
+
* optionally with a number or a text label.
|
|
3345
|
+
* @exampleComponent limel-example-badge
|
|
3346
|
+
* @exampleComponent limel-example-badge-number
|
|
3347
|
+
* @exampleComponent limel-example-badge-string
|
|
3348
|
+
*/
|
|
1880
3349
|
interface LimelBadge {
|
|
1881
3350
|
/**
|
|
1882
3351
|
* Label to display in the badge. Numeric labels larger than 999 will be rounded and abbreviated. String labels get truncated if their length is longer than six characters.
|
|
1883
3352
|
*/
|
|
1884
3353
|
"label"?: number | string;
|
|
1885
3354
|
}
|
|
3355
|
+
/**
|
|
3356
|
+
* @exampleComponent limel-example-banner
|
|
3357
|
+
*/
|
|
1886
3358
|
interface LimelBanner {
|
|
1887
3359
|
/**
|
|
1888
3360
|
* Set icon for the banner
|
|
@@ -1893,6 +3365,19 @@ declare namespace LocalJSX {
|
|
|
1893
3365
|
*/
|
|
1894
3366
|
"message"?: string;
|
|
1895
3367
|
}
|
|
3368
|
+
/**
|
|
3369
|
+
* @exampleComponent limel-example-button-basic
|
|
3370
|
+
* @exampleComponent limel-example-button-primary
|
|
3371
|
+
* @exampleComponent limel-example-button-outlined
|
|
3372
|
+
* @exampleComponent limel-example-button-disabled
|
|
3373
|
+
* @exampleComponent limel-example-button-icon
|
|
3374
|
+
* @exampleComponent limel-example-button-loading
|
|
3375
|
+
* @exampleComponent limel-example-button-click-success
|
|
3376
|
+
* @exampleComponent limel-example-button-click-fail
|
|
3377
|
+
* @exampleComponent limel-example-button-reduce-presence
|
|
3378
|
+
* @exampleComponent limel-example-button-colors
|
|
3379
|
+
* @exampleComponent limel-example-button-composite
|
|
3380
|
+
*/
|
|
1896
3381
|
interface LimelButton {
|
|
1897
3382
|
/**
|
|
1898
3383
|
* Set to `true` to disable the button.
|
|
@@ -1923,6 +3408,35 @@ declare namespace LocalJSX {
|
|
|
1923
3408
|
*/
|
|
1924
3409
|
"primary"?: boolean;
|
|
1925
3410
|
}
|
|
3411
|
+
/**
|
|
3412
|
+
* A button group control is a linear set of two or more buttons.
|
|
3413
|
+
* ## Usage
|
|
3414
|
+
* Button groups are often used to display different views of the same thing. A
|
|
3415
|
+
* common example of this component is when you switch between [ Map | Transit
|
|
3416
|
+
* | Satellite ] views to look at an area on the map.
|
|
3417
|
+
* In some cases, button groups may serve as quick filters as well. For example
|
|
3418
|
+
* a list of contacts, in which the user can switch to [ All | Favorites
|
|
3419
|
+
* | Frequently contacted ] can incorporate a button group to quickly filter out
|
|
3420
|
+
* items and display subsets of them.
|
|
3421
|
+
* ## Layout
|
|
3422
|
+
* The button groups are usually placed in top headers and action bars,
|
|
3423
|
+
* sometimes with other elements. Since the group items will always be rendered
|
|
3424
|
+
* in a row, you must make sure not to have too many buttons in the group.
|
|
3425
|
+
* Because if the container of your button group does not get enough space to
|
|
3426
|
+
* fit in all its buttons, they will have to truncate their text and may appear
|
|
3427
|
+
* very cramped together. Always think about how your button group will appear
|
|
3428
|
+
* on a small screen such as phones.
|
|
3429
|
+
* :::note
|
|
3430
|
+
* Button can contain text or icons, but not both simultaneously!
|
|
3431
|
+
* :::
|
|
3432
|
+
* Within the group, icon buttons will all have the same width, while each text button
|
|
3433
|
+
* inherits its width from its content.
|
|
3434
|
+
* @exampleComponent limel-example-button-group-icons
|
|
3435
|
+
* @exampleComponent limel-example-button-group
|
|
3436
|
+
* @exampleComponent limel-example-button-group-mix
|
|
3437
|
+
* @exampleComponent limel-example-button-group-badges
|
|
3438
|
+
* @exampleComponent limel-example-button-group-composite
|
|
3439
|
+
*/
|
|
1926
3440
|
interface LimelButtonGroup {
|
|
1927
3441
|
/**
|
|
1928
3442
|
* True if the button-group should be disabled
|
|
@@ -1937,6 +3451,31 @@ declare namespace LocalJSX {
|
|
|
1937
3451
|
*/
|
|
1938
3452
|
"value"?: Button[];
|
|
1939
3453
|
}
|
|
3454
|
+
/**
|
|
3455
|
+
* Callouts—also known as Admonitions—are useful for including supportive or
|
|
3456
|
+
* special content within a large piece of text, or even inside a user
|
|
3457
|
+
* interface.
|
|
3458
|
+
* When used in a document or text based user interface, the callout attracts
|
|
3459
|
+
* the reader's attention to a particular piece of information, without
|
|
3460
|
+
* significantly interrupting their flow of reading the document.
|
|
3461
|
+
* In a user interface, a callout is more intrusive to the end-user. Still, it
|
|
3462
|
+
* could be a good choice when you intend to slightly disturb the user's
|
|
3463
|
+
* attention, and challenge them to pay extra attention to the information
|
|
3464
|
+
* presented. In such cases, a callout should not be used as a static and
|
|
3465
|
+
* constantly present element of the UI. Rather, it should be displayed when
|
|
3466
|
+
* something unusual or remarkable demands the user's attention.
|
|
3467
|
+
* @exampleComponent limel-example-callout-note
|
|
3468
|
+
* @exampleComponent limel-example-callout-important
|
|
3469
|
+
* @exampleComponent limel-example-callout-tip
|
|
3470
|
+
* @exampleComponent limel-example-callout-caution
|
|
3471
|
+
* @exampleComponent limel-example-callout-warning
|
|
3472
|
+
* @exampleComponent limel-example-callout-rich-content
|
|
3473
|
+
* @exampleComponent limel-example-callout-custom-heading
|
|
3474
|
+
* @exampleComponent limel-example-callout-custom-icon
|
|
3475
|
+
* @exampleComponent limel-example-callout-styles
|
|
3476
|
+
* @exampleComponent limel-example-custom-type
|
|
3477
|
+
* @exampleComponent limel-example-callout-composite
|
|
3478
|
+
*/
|
|
1940
3479
|
interface LimelCallout {
|
|
1941
3480
|
/**
|
|
1942
3481
|
* Heading of the callout, which can be used to override the default heading which is displayed based on the chosen `type`.
|
|
@@ -1955,6 +3494,10 @@ declare namespace LocalJSX {
|
|
|
1955
3494
|
*/
|
|
1956
3495
|
"type"?: CalloutType;
|
|
1957
3496
|
}
|
|
3497
|
+
/**
|
|
3498
|
+
* @exampleComponent limel-example-checkbox
|
|
3499
|
+
* @exampleComponent limel-example-checkbox-helper-text
|
|
3500
|
+
*/
|
|
1958
3501
|
interface LimelCheckbox {
|
|
1959
3502
|
/**
|
|
1960
3503
|
* The value of the checkbox. Set to `true` to make the checkbox checked.
|
|
@@ -1989,6 +3532,17 @@ declare namespace LocalJSX {
|
|
|
1989
3532
|
*/
|
|
1990
3533
|
"required"?: boolean;
|
|
1991
3534
|
}
|
|
3535
|
+
/**
|
|
3536
|
+
* @exampleComponent limel-example-chip-set
|
|
3537
|
+
* @exampleComponent limel-example-chip-set-choice
|
|
3538
|
+
* @exampleComponent limel-example-chip-set-filter
|
|
3539
|
+
* @exampleComponent limel-example-chip-set-filter-badge
|
|
3540
|
+
* @exampleComponent limel-example-chip-set-input
|
|
3541
|
+
* @exampleComponent limel-example-chip-set-input-type-text
|
|
3542
|
+
* @exampleComponent limel-example-chip-set-input-type-search
|
|
3543
|
+
* @exampleComponent limel-example-chip-icon-color
|
|
3544
|
+
* @exampleComponent limel-example-chip-set-composite
|
|
3545
|
+
*/
|
|
1992
3546
|
interface LimelChipSet {
|
|
1993
3547
|
/**
|
|
1994
3548
|
* Whether the "Clear all" buttons should be shown
|
|
@@ -2071,6 +3625,26 @@ declare namespace LocalJSX {
|
|
|
2071
3625
|
*/
|
|
2072
3626
|
"value"?: Chip[];
|
|
2073
3627
|
}
|
|
3628
|
+
/**
|
|
3629
|
+
* The circular progress component can be used to visualize the curent state of
|
|
3630
|
+
* a progress in a scale; for example percentage of completion of a task.
|
|
3631
|
+
* Its compact UI makes the component suitable when there is not enough screen
|
|
3632
|
+
* space available to visualise such information.
|
|
3633
|
+
* This component allows you to define your scale, from `0` to a desired
|
|
3634
|
+
* `maxValue`; and also lets you chose a proper `suffix` for your scale.
|
|
3635
|
+
* :::note
|
|
3636
|
+
* The component will round up the value when it is displayed, and only shows
|
|
3637
|
+
* one decimal digit.
|
|
3638
|
+
* It also abbreviates large numbers. For example 1234 will be displayed as 1.2k.
|
|
3639
|
+
* Of course such numbers, if bigger than `maxValue` will be visualized as a
|
|
3640
|
+
* full progress.
|
|
3641
|
+
* :::
|
|
3642
|
+
* @exampleComponent limel-example-circular-progress
|
|
3643
|
+
* @exampleComponent limel-example-circular-progress-sizes
|
|
3644
|
+
* @exampleComponent limel-example-circular-progress-props
|
|
3645
|
+
* @exampleComponent limel-example-circular-progress-css-variables
|
|
3646
|
+
* @exampleComponent limel-example-circular-progress-percentage-colors
|
|
3647
|
+
*/
|
|
2074
3648
|
interface LimelCircularProgress {
|
|
2075
3649
|
/**
|
|
2076
3650
|
* When set to `true`, makes the filled section showing the percentage colorful. Colors change with intervals of 10%.
|
|
@@ -2097,6 +3671,13 @@ declare namespace LocalJSX {
|
|
|
2097
3671
|
*/
|
|
2098
3672
|
"value"?: number;
|
|
2099
3673
|
}
|
|
3674
|
+
/**
|
|
3675
|
+
* Currently this component support syntax highlighting for `javascript`,
|
|
3676
|
+
* `json` and `typescript` formats.
|
|
3677
|
+
* @exampleComponent limel-example-code-editor
|
|
3678
|
+
* @exampleComponent limel-example-code-editor-readonly-with-line-numbers
|
|
3679
|
+
* @exampleComponent limel-example-code-editor-fold-lint
|
|
3680
|
+
*/
|
|
2100
3681
|
interface LimelCodeEditor {
|
|
2101
3682
|
/**
|
|
2102
3683
|
* Select color scheme for the editor
|
|
@@ -2131,6 +3712,13 @@ declare namespace LocalJSX {
|
|
|
2131
3712
|
*/
|
|
2132
3713
|
"value"?: string;
|
|
2133
3714
|
}
|
|
3715
|
+
/**
|
|
3716
|
+
* @exampleComponent limel-example-collapsible-section
|
|
3717
|
+
* @exampleComponent limel-example-collapsible-section-actions
|
|
3718
|
+
* @exampleComponent limel-example-collapsible-section-css-props
|
|
3719
|
+
* @exampleComponent limel-example-collapsible-section-external-control
|
|
3720
|
+
* @exampleComponent limel-example-collapsible-section-with-slider
|
|
3721
|
+
*/
|
|
2134
3722
|
interface LimelCollapsibleSection {
|
|
2135
3723
|
/**
|
|
2136
3724
|
* Actions to place to the far right inside the header
|
|
@@ -2157,6 +3745,17 @@ declare namespace LocalJSX {
|
|
|
2157
3745
|
*/
|
|
2158
3746
|
"onOpen"?: (event: LimelCollapsibleSectionCustomEvent<void>) => void;
|
|
2159
3747
|
}
|
|
3748
|
+
/**
|
|
3749
|
+
* This component enables you to select a swatch from out color palette, simply
|
|
3750
|
+
* by clicking on it. You can then copy the css variable name of the chosen color
|
|
3751
|
+
* and use it where desired.
|
|
3752
|
+
* The color picker can also show you a preview of any valid color name or color value.
|
|
3753
|
+
* :::note
|
|
3754
|
+
* Make sure to read our [guidelines about usage of colors](/#/DesignGuidelines/color-system.md/) from our palette.
|
|
3755
|
+
* :::
|
|
3756
|
+
* @exampleComponent limel-example-color-picker
|
|
3757
|
+
* @exampleComponent limel-example-color-picker-readonly
|
|
3758
|
+
*/
|
|
2160
3759
|
interface LimelColorPicker {
|
|
2161
3760
|
/**
|
|
2162
3761
|
* Helper text of the input field
|
|
@@ -2187,6 +3786,9 @@ declare namespace LocalJSX {
|
|
|
2187
3786
|
*/
|
|
2188
3787
|
"value"?: string;
|
|
2189
3788
|
}
|
|
3789
|
+
/**
|
|
3790
|
+
* @private
|
|
3791
|
+
*/
|
|
2190
3792
|
interface LimelColorPickerPalette {
|
|
2191
3793
|
/**
|
|
2192
3794
|
* Helper text of the input field
|
|
@@ -2209,12 +3811,28 @@ declare namespace LocalJSX {
|
|
|
2209
3811
|
*/
|
|
2210
3812
|
"value"?: string;
|
|
2211
3813
|
}
|
|
3814
|
+
/**
|
|
3815
|
+
* @private
|
|
3816
|
+
*/
|
|
2212
3817
|
interface LimelConfig {
|
|
2213
3818
|
/**
|
|
2214
3819
|
* Global configuration for Lime Elements
|
|
2215
3820
|
*/
|
|
2216
3821
|
"config"?: object;
|
|
2217
3822
|
}
|
|
3823
|
+
/**
|
|
3824
|
+
* @exampleComponent limel-example-date-picker-datetime
|
|
3825
|
+
* @exampleComponent limel-example-date-picker-date
|
|
3826
|
+
* @exampleComponent limel-example-date-picker-time
|
|
3827
|
+
* @exampleComponent limel-example-date-picker-week
|
|
3828
|
+
* @exampleComponent limel-example-date-picker-month
|
|
3829
|
+
* @exampleComponent limel-example-date-picker-quarter
|
|
3830
|
+
* @exampleComponent limel-example-date-picker-year
|
|
3831
|
+
* @exampleComponent limel-example-date-picker-formatted
|
|
3832
|
+
* @exampleComponent limel-example-date-picker-programmatic-change
|
|
3833
|
+
* @exampleComponent limel-example-date-picker-composite
|
|
3834
|
+
* @exampleComponent limel-example-date-picker-custom-formatter
|
|
3835
|
+
*/
|
|
2218
3836
|
interface LimelDatePicker {
|
|
2219
3837
|
/**
|
|
2220
3838
|
* Set to `true` to disable the field. Use `disabled` to indicate that the field can normally be interacted with, but is currently disabled. This tells the user that if certain requirements are met, the field may become enabled again.
|
|
@@ -2269,6 +3887,29 @@ declare namespace LocalJSX {
|
|
|
2269
3887
|
*/
|
|
2270
3888
|
"value"?: Date;
|
|
2271
3889
|
}
|
|
3890
|
+
/**
|
|
3891
|
+
* :::note
|
|
3892
|
+
* Regarding the `close` event: When putting other elements that emit `close`
|
|
3893
|
+
* events inside a dialog, those events must be caught and stopped inside the
|
|
3894
|
+
* dialog. If not, they will bubble to the event handler listening for `close`
|
|
3895
|
+
* events on the dialog, which will close the dialog too.
|
|
3896
|
+
* See the example _Nested `close` events_.
|
|
3897
|
+
* :::
|
|
3898
|
+
* :::important
|
|
3899
|
+
* Are you developing for
|
|
3900
|
+
* [Lime CRM](https://www.lime-technologies.com/en/lime-crm/)? Please note that
|
|
3901
|
+
* you should use the [DialogService](https://lundalogik.github.io/lime-web-components/versions/latest/#/api/dialog-service)
|
|
3902
|
+
* from Lime Web Components to open dialogs in Lime CRM.
|
|
3903
|
+
* :::
|
|
3904
|
+
* @exampleComponent limel-example-dialog
|
|
3905
|
+
* @exampleComponent limel-example-dialog-nested-close-events
|
|
3906
|
+
* @exampleComponent limel-example-dialog-heading
|
|
3907
|
+
* @exampleComponent limel-example-dialog-form
|
|
3908
|
+
* @exampleComponent limel-example-dialog-size
|
|
3909
|
+
* @exampleComponent limel-example-dialog-fullscreen
|
|
3910
|
+
* @exampleComponent limel-example-dialog-closing-actions
|
|
3911
|
+
* @exampleComponent limel-example-dialog-action-buttons
|
|
3912
|
+
*/
|
|
2272
3913
|
interface LimelDialog {
|
|
2273
3914
|
/**
|
|
2274
3915
|
* Defines which action triggers a close-event.
|
|
@@ -2295,6 +3936,14 @@ declare namespace LocalJSX {
|
|
|
2295
3936
|
*/
|
|
2296
3937
|
"open"?: boolean;
|
|
2297
3938
|
}
|
|
3939
|
+
/**
|
|
3940
|
+
* @exampleComponent limel-example-dock-basic
|
|
3941
|
+
* @exampleComponent limel-example-dock-custom-component
|
|
3942
|
+
* @exampleComponent limel-example-dock-notification
|
|
3943
|
+
* @exampleComponent limel-example-dock-mobile
|
|
3944
|
+
* @exampleComponent limel-example-dock-expanded
|
|
3945
|
+
* @exampleComponent limel-example-dock-colors-css
|
|
3946
|
+
*/
|
|
2298
3947
|
interface LimelDock {
|
|
2299
3948
|
/**
|
|
2300
3949
|
* A label used to describe the purpose of the navigation element to users of assistive technologies, like screen readers. Especially useful when there are multiple navigation elements in the user interface. Example value: "Primary navigation"
|
|
@@ -2337,6 +3986,9 @@ declare namespace LocalJSX {
|
|
|
2337
3986
|
*/
|
|
2338
3987
|
"onMenuOpen"?: (event: LimelDockCustomEvent<DockItem>) => void;
|
|
2339
3988
|
}
|
|
3989
|
+
/**
|
|
3990
|
+
* @private
|
|
3991
|
+
*/
|
|
2340
3992
|
interface LimelDockButton {
|
|
2341
3993
|
/**
|
|
2342
3994
|
* When the dock is expanded or collapsed, dock items show labels and tooltips as suitable for the layout.
|
|
@@ -2363,6 +4015,33 @@ declare namespace LocalJSX {
|
|
|
2363
4015
|
*/
|
|
2364
4016
|
"useMobileLayout"?: boolean;
|
|
2365
4017
|
}
|
|
4018
|
+
/**
|
|
4019
|
+
* This component lets end-users select a *single* file from their device
|
|
4020
|
+
* storage. Regardless of the user's device or operating system, this component
|
|
4021
|
+
* opens up a file picker dialog that allows the user to choose a file.
|
|
4022
|
+
* ## Using correct labels
|
|
4023
|
+
* This file picker can be used in different contexts. The component's distinct
|
|
4024
|
+
* visual design including the upload icon hints end-users that this is not a
|
|
4025
|
+
* normal input field like other fields in the form for example.
|
|
4026
|
+
* :::important
|
|
4027
|
+
* you need to use a descriptive `label` that clarifies the
|
|
4028
|
+
* functionality of the file picker, and/or provides users with clear
|
|
4029
|
+
* instructions.
|
|
4030
|
+
* Depending on the context, you may need to avoid labels such as:
|
|
4031
|
+
* - File
|
|
4032
|
+
* - Document
|
|
4033
|
+
* and instead consider using labels like:
|
|
4034
|
+
* - Attach a file
|
|
4035
|
+
* - Upload a file
|
|
4036
|
+
* - Choose a document
|
|
4037
|
+
* - Choose a file
|
|
4038
|
+
* and similar phrases...
|
|
4039
|
+
* :::
|
|
4040
|
+
* @exampleComponent limel-example-file
|
|
4041
|
+
* @exampleComponent limel-example-file-custom-icon
|
|
4042
|
+
* @exampleComponent limel-example-file-accepted-types
|
|
4043
|
+
* @exampleComponent limel-example-file-composite
|
|
4044
|
+
*/
|
|
2366
4045
|
interface LimelFile {
|
|
2367
4046
|
/**
|
|
2368
4047
|
* The [accepted file types](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#unique_file_type_specifiers)
|
|
@@ -2401,6 +4080,12 @@ declare namespace LocalJSX {
|
|
|
2401
4080
|
*/
|
|
2402
4081
|
"value"?: FileInfo;
|
|
2403
4082
|
}
|
|
4083
|
+
/**
|
|
4084
|
+
* This component is internal and only supposed to be used by
|
|
4085
|
+
* the limel-date-picker. This component is needed in order for us
|
|
4086
|
+
* to render the flatpickr calendar in a portal.
|
|
4087
|
+
* @private
|
|
4088
|
+
*/
|
|
2404
4089
|
interface LimelFlatpickrAdapter {
|
|
2405
4090
|
/**
|
|
2406
4091
|
* Format to display the selected date in.
|
|
@@ -2432,6 +4117,13 @@ declare namespace LocalJSX {
|
|
|
2432
4117
|
*/
|
|
2433
4118
|
"value"?: Date;
|
|
2434
4119
|
}
|
|
4120
|
+
/**
|
|
4121
|
+
* This component is deprecated and will be removed in a future version of
|
|
4122
|
+
* Lime Elements. Please use CSS for your flexible container needs 🙂
|
|
4123
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox
|
|
4124
|
+
* @deprecated
|
|
4125
|
+
* @private
|
|
4126
|
+
*/
|
|
2435
4127
|
interface LimelFlexContainer {
|
|
2436
4128
|
/**
|
|
2437
4129
|
* Specify how items are aligned along the cross axis
|
|
@@ -2450,6 +4142,19 @@ declare namespace LocalJSX {
|
|
|
2450
4142
|
*/
|
|
2451
4143
|
"reverse"?: boolean;
|
|
2452
4144
|
}
|
|
4145
|
+
/**
|
|
4146
|
+
* @exampleComponent limel-example-form
|
|
4147
|
+
* @exampleComponent limel-example-nested-form
|
|
4148
|
+
* @exampleComponent limel-example-list-form
|
|
4149
|
+
* @exampleComponent limel-example-dynamic-form
|
|
4150
|
+
* @exampleComponent limel-example-custom-component-form
|
|
4151
|
+
* @exampleComponent limel-example-props-factory-form
|
|
4152
|
+
* @exampleComponent limel-example-form-layout
|
|
4153
|
+
* @exampleComponent limel-example-form-span-fields
|
|
4154
|
+
* @exampleComponent limel-example-custom-error-message
|
|
4155
|
+
* @exampleComponent limel-example-server-errors
|
|
4156
|
+
* @exampleComponent limel-example-form-row-layout
|
|
4157
|
+
*/
|
|
2453
4158
|
interface LimelForm {
|
|
2454
4159
|
/**
|
|
2455
4160
|
* Set to `true` to disable the whole form.
|
|
@@ -2487,8 +4192,51 @@ declare namespace LocalJSX {
|
|
|
2487
4192
|
*/
|
|
2488
4193
|
"value"?: object;
|
|
2489
4194
|
}
|
|
4195
|
+
/**
|
|
4196
|
+
* The `limel-grid` component creates a grid which can be used to control the
|
|
4197
|
+
* layout of other components. It uses CSS [grid-template-areas](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-areas)
|
|
4198
|
+
* to enable easy configuration of its child-elements.
|
|
4199
|
+
* @exampleComponent limel-example-grid
|
|
4200
|
+
*/
|
|
2490
4201
|
interface LimelGrid {
|
|
2491
4202
|
}
|
|
4203
|
+
/**
|
|
4204
|
+
* A header is the top most visual element in a component, page, card, or a view.
|
|
4205
|
+
* ## Usage
|
|
4206
|
+
* A header is the first thing that clarifies a context for users.
|
|
4207
|
+
* Due to their positions in the UI hierarchy, headers are the most
|
|
4208
|
+
* prominent elements of a user interface; and because of that, they carry both
|
|
4209
|
+
* vital information and fundamental controls for the area of the interface
|
|
4210
|
+
* they represent.
|
|
4211
|
+
* For example, when a header is placed on top of a card, it should quickly
|
|
4212
|
+
* explain the card to the user. When placed on top of a modal, it should easily
|
|
4213
|
+
* clarify what the modal is about. When displayed on top of a fullscreen view,
|
|
4214
|
+
* it should indicate where in the system users are, and what part of the app
|
|
4215
|
+
* they are looking at.
|
|
4216
|
+
* ## Layout
|
|
4217
|
+
* The vital information in a header is usually manifested in form of an icon,
|
|
4218
|
+
* and a heading. A subheading also could be added to provide supplementary
|
|
4219
|
+
* information. There is also a third place for displaying supplementary information
|
|
4220
|
+
* or "supporting text", which will be rendered as a part of the subheading.
|
|
4221
|
+
* Along with this information, headers can also include actions, controls, or
|
|
4222
|
+
* menus.
|
|
4223
|
+
* :::important
|
|
4224
|
+
* Such actions or menus must affect the entire section of the interface
|
|
4225
|
+
* which the header is representing. For example, a _Delete_ button on a card
|
|
4226
|
+
* header must delete that entire card and its respective contents all together,
|
|
4227
|
+
* not for example a selected item which is visible in the content of that card.
|
|
4228
|
+
* :::
|
|
4229
|
+
* :::warning
|
|
4230
|
+
* Do not user background color on icons in the headers. It is much better and
|
|
4231
|
+
* much easier for the eye if your icon itself has a color.
|
|
4232
|
+
* Background colors behind icons make them look like "call to action" buttons
|
|
4233
|
+
* and take a lot of attention from users.
|
|
4234
|
+
* :::
|
|
4235
|
+
* @exampleComponent limel-example-header
|
|
4236
|
+
* @exampleComponent limel-example-header-colors
|
|
4237
|
+
* @exampleComponent limel-example-header-responsive
|
|
4238
|
+
* @exampleComponent limel-example-header-narrow
|
|
4239
|
+
*/
|
|
2492
4240
|
interface LimelHeader {
|
|
2493
4241
|
/**
|
|
2494
4242
|
* Title to display
|
|
@@ -2507,6 +4255,30 @@ declare namespace LocalJSX {
|
|
|
2507
4255
|
*/
|
|
2508
4256
|
"supportingText"?: string;
|
|
2509
4257
|
}
|
|
4258
|
+
/**
|
|
4259
|
+
* This is an internal and private component that many input fields
|
|
4260
|
+
* use to display a helper text, along with a character counter below the
|
|
4261
|
+
* input field.
|
|
4262
|
+
* We created this to keep the visual styles the same everywhere
|
|
4263
|
+
* and to avoid importing styles separately.
|
|
4264
|
+
* Also this enables us to open the helper line in limel-portal,
|
|
4265
|
+
* more easily without having to send the styles to the portal.
|
|
4266
|
+
* :::note
|
|
4267
|
+
* When the component has no content, it will get a `display: none`
|
|
4268
|
+
* as styles to avoid creating empty holes in the UI of the parent component.
|
|
4269
|
+
* For example, in a `flex` or `grid` component that has a `gap`,
|
|
4270
|
+
* we don't want the empty `limel-helper-line` to render and cause unnecessary
|
|
4271
|
+
* gaps in the UI.
|
|
4272
|
+
* However, to be more resourceful, the parent component can choose not
|
|
4273
|
+
* to render the helper-line as well.
|
|
4274
|
+
* :::
|
|
4275
|
+
* @exampleComponent limel-example-helper-line
|
|
4276
|
+
* @exampleComponent limel-example-helper-line-invalid
|
|
4277
|
+
* @exampleComponent limel-example-helper-line-long-text
|
|
4278
|
+
* @exampleComponent limel-example-helper-line-long-text-no-counter
|
|
4279
|
+
* @exampleComponent limel-example-helper-line-character-counter
|
|
4280
|
+
* @private
|
|
4281
|
+
*/
|
|
2510
4282
|
interface LimelHelperLine {
|
|
2511
4283
|
/**
|
|
2512
4284
|
* The helper text that is displayed on the left side.
|
|
@@ -2529,6 +4301,49 @@ declare namespace LocalJSX {
|
|
|
2529
4301
|
*/
|
|
2530
4302
|
"maxLength"?: number;
|
|
2531
4303
|
}
|
|
4304
|
+
/**
|
|
4305
|
+
* The recommended icon library for use with Lime Elements is the Windows 10 set
|
|
4306
|
+
* from Icons8 (https://icons8.com/icons/windows). This set is included in the
|
|
4307
|
+
* relevant Lime products. If you are using Lime Elements in a non-Lime product,
|
|
4308
|
+
* you will have to supply your own icons.
|
|
4309
|
+
* The size and color of the icon is set in CSS, however there are a few
|
|
4310
|
+
* standard sizes defined that can be used with the `size` property.
|
|
4311
|
+
* ### Setup
|
|
4312
|
+
* To use **@lundalogik/lime-icons8**, the `/assets` folder from
|
|
4313
|
+
* __@lundalogik/lime-icons8__ must be made available on the webserver.
|
|
4314
|
+
* To use a different icon set, the icons must be placed in a folder structure
|
|
4315
|
+
* that looks like this: `assets/icons/<name-of-icon>.svg`
|
|
4316
|
+
* If `assets` is placed in the root, no other setup is needed. The icons will
|
|
4317
|
+
* be fetched with a relative URL from `/assets/icons/<name-of-icon>.svg`.
|
|
4318
|
+
* If `assets` is placed in a sub-folder somewhere, the easiest way to make the
|
|
4319
|
+
* icons available is to use the HTML `base` element:
|
|
4320
|
+
* ```
|
|
4321
|
+
* <base href="/my/parent/path/">
|
|
4322
|
+
* ```
|
|
4323
|
+
* If this is not enough, or if the `base` element is already in use for
|
|
4324
|
+
* something else, a global icon path can be configured with the `limel-config`
|
|
4325
|
+
* element:
|
|
4326
|
+
* ```
|
|
4327
|
+
* <limel-config config={{iconPath: '/my/parent/path/'}} />
|
|
4328
|
+
* ```
|
|
4329
|
+
* ### Lime icons
|
|
4330
|
+
* There are icons included in the **@lundalogik/lime-icons8** package which are
|
|
4331
|
+
* designed by our designers at Lime.
|
|
4332
|
+
* The names of these icons start with `-lime-`, which makes them easy to
|
|
4333
|
+
* find using the Icon Finder tool below.
|
|
4334
|
+
* :::note
|
|
4335
|
+
* Some of the `-lime-` icons have multiple colors and use our own CSS variables
|
|
4336
|
+
* instead of HEX or RGB values to visualize their colors. Thus, you must import
|
|
4337
|
+
* our color palette css files into your project to render the icons properly.
|
|
4338
|
+
* Read more about our [Color System](#/DesignGuidelines/color-system.md/)
|
|
4339
|
+
* and how to do this.
|
|
4340
|
+
* :::
|
|
4341
|
+
* ### Icon Finder
|
|
4342
|
+
* Search for an icon and **click on it to copy its name to clipboard**.
|
|
4343
|
+
* <limel-example-icon-finder />
|
|
4344
|
+
* @exampleComponent limel-example-icon
|
|
4345
|
+
* @exampleComponent limel-example-icon-background
|
|
4346
|
+
*/
|
|
2532
4347
|
interface LimelIcon {
|
|
2533
4348
|
/**
|
|
2534
4349
|
* Set to `true` to give the icon a round background with some padding. Only works when the `size` attribute is also set.
|
|
@@ -2543,6 +4358,13 @@ declare namespace LocalJSX {
|
|
|
2543
4358
|
*/
|
|
2544
4359
|
"size"?: IconSize;
|
|
2545
4360
|
}
|
|
4361
|
+
/**
|
|
4362
|
+
* @exampleComponent limel-example-icon-button-basic
|
|
4363
|
+
* @exampleComponent limel-example-icon-button-disabled
|
|
4364
|
+
* @exampleComponent limel-example-icon-button-elevated
|
|
4365
|
+
* @exampleComponent limel-example-icon-button-toggle-state
|
|
4366
|
+
* @exampleComponent limel-example-icon-button-composite
|
|
4367
|
+
*/
|
|
2546
4368
|
interface LimelIconButton {
|
|
2547
4369
|
/**
|
|
2548
4370
|
* Set to `true` to disable the button.
|
|
@@ -2561,6 +4383,19 @@ declare namespace LocalJSX {
|
|
|
2561
4383
|
*/
|
|
2562
4384
|
"label"?: string;
|
|
2563
4385
|
}
|
|
4386
|
+
/**
|
|
4387
|
+
* This component can be used on places such as a start page or a dashboard.
|
|
4388
|
+
* It offers features for visualizing aggregated data along with supplementary
|
|
4389
|
+
* information.
|
|
4390
|
+
* If clicking on the component should navigate the user to
|
|
4391
|
+
* a new screen or web page, you need to provide a URL,
|
|
4392
|
+
* using the `link` property.
|
|
4393
|
+
* @exampleComponent limel-example-info-tile
|
|
4394
|
+
* @exampleComponent limel-example-info-tile-badge
|
|
4395
|
+
* @exampleComponent limel-example-info-tile-progress
|
|
4396
|
+
* @exampleComponent limel-example-info-tile-loading
|
|
4397
|
+
* @exampleComponent limel-example-info-tile-styling
|
|
4398
|
+
*/
|
|
2564
4399
|
interface LimelInfoTile {
|
|
2565
4400
|
/**
|
|
2566
4401
|
* If supplied, the info tile will display a notification badge.
|
|
@@ -2603,6 +4438,24 @@ declare namespace LocalJSX {
|
|
|
2603
4438
|
*/
|
|
2604
4439
|
"value"?: number | string;
|
|
2605
4440
|
}
|
|
4441
|
+
/**
|
|
4442
|
+
* @exampleComponent limel-example-input-field-text
|
|
4443
|
+
* @exampleComponent limel-example-input-field-placeholder
|
|
4444
|
+
* @exampleComponent limel-example-input-field-text-multiple
|
|
4445
|
+
* @exampleComponent limel-example-input-field-number
|
|
4446
|
+
* @exampleComponent limel-example-input-field-autocomplete
|
|
4447
|
+
* @exampleComponent limel-example-input-field-icon-leading
|
|
4448
|
+
* @exampleComponent limel-example-input-field-icon-trailing
|
|
4449
|
+
* @exampleComponent limel-example-input-field-icon-both
|
|
4450
|
+
* @exampleComponent limel-example-input-field-showlink
|
|
4451
|
+
* @exampleComponent limel-example-input-field-error-icon
|
|
4452
|
+
* @exampleComponent limel-example-input-field-textarea
|
|
4453
|
+
* @exampleComponent limel-example-input-field-suffix
|
|
4454
|
+
* @exampleComponent limel-example-input-field-prefix
|
|
4455
|
+
* @exampleComponent limel-example-input-field-search
|
|
4456
|
+
* @exampleComponent limel-example-input-field-pattern
|
|
4457
|
+
* @exampleComponent limel-example-input-field-focus
|
|
4458
|
+
*/
|
|
2606
4459
|
interface LimelInputField {
|
|
2607
4460
|
/**
|
|
2608
4461
|
* list of suggestions `value` can autocomplete to.
|
|
@@ -2701,6 +4554,11 @@ declare namespace LocalJSX {
|
|
|
2701
4554
|
*/
|
|
2702
4555
|
"value"?: string;
|
|
2703
4556
|
}
|
|
4557
|
+
/**
|
|
4558
|
+
* @exampleComponent limel-example-linear-progress
|
|
4559
|
+
* @exampleComponent limel-example-linear-progress-color
|
|
4560
|
+
* @exampleComponent limel-example-linear-progress-indeterminate
|
|
4561
|
+
*/
|
|
2704
4562
|
interface LimelLinearProgress {
|
|
2705
4563
|
/**
|
|
2706
4564
|
* Puts the progress bar in an indeterminate state
|
|
@@ -2711,6 +4569,22 @@ declare namespace LocalJSX {
|
|
|
2711
4569
|
*/
|
|
2712
4570
|
"value"?: number;
|
|
2713
4571
|
}
|
|
4572
|
+
/**
|
|
4573
|
+
* @exampleComponent limel-example-list
|
|
4574
|
+
* @exampleComponent limel-example-list-secondary
|
|
4575
|
+
* @exampleComponent limel-example-list-selectable
|
|
4576
|
+
* @exampleComponent limel-example-list-icons
|
|
4577
|
+
* @exampleComponent limel-example-list-badge-icons
|
|
4578
|
+
* @exampleComponent limel-example-list-checkbox
|
|
4579
|
+
* @exampleComponent limel-example-list-checkbox-icons
|
|
4580
|
+
* @exampleComponent limel-example-list-radio-button
|
|
4581
|
+
* @exampleComponent limel-example-list-radio-button-icons
|
|
4582
|
+
* @exampleComponent limel-example-list-action
|
|
4583
|
+
* @exampleComponent limel-example-list-striped
|
|
4584
|
+
* @exampleComponent limel-example-list-badge-icons-with-multiple-lines
|
|
4585
|
+
* @exampleComponent limel-example-list-grid
|
|
4586
|
+
* @exampleComponent limel-example-list-primary-component
|
|
4587
|
+
*/
|
|
2714
4588
|
interface LimelList {
|
|
2715
4589
|
/**
|
|
2716
4590
|
* Set to `true` if the list should display larger icons with a background
|
|
@@ -2741,6 +4615,18 @@ declare namespace LocalJSX {
|
|
|
2741
4615
|
*/
|
|
2742
4616
|
"type"?: ListType;
|
|
2743
4617
|
}
|
|
4618
|
+
/**
|
|
4619
|
+
* @exampleComponent limel-example-menu-basic
|
|
4620
|
+
* @exampleComponent limel-example-menu-disabled
|
|
4621
|
+
* @exampleComponent limel-example-menu-open-direction
|
|
4622
|
+
* @exampleComponent limel-example-menu-icons
|
|
4623
|
+
* @exampleComponent limel-example-menu-badge-icons
|
|
4624
|
+
* @exampleComponent limel-example-menu-grid
|
|
4625
|
+
* @exampleComponent limel-example-menu-hotkeys
|
|
4626
|
+
* @exampleComponent limel-example-menu-secondary-text
|
|
4627
|
+
* @exampleComponent limel-example-menu-notification
|
|
4628
|
+
* @exampleComponent limel-example-menu-composite
|
|
4629
|
+
*/
|
|
2744
4630
|
interface LimelMenu {
|
|
2745
4631
|
/**
|
|
2746
4632
|
* Defines whether the menu should show badges.
|
|
@@ -2775,6 +4661,9 @@ declare namespace LocalJSX {
|
|
|
2775
4661
|
*/
|
|
2776
4662
|
"openDirection"?: OpenDirection1;
|
|
2777
4663
|
}
|
|
4664
|
+
/**
|
|
4665
|
+
* @private
|
|
4666
|
+
*/
|
|
2778
4667
|
interface LimelMenuList {
|
|
2779
4668
|
/**
|
|
2780
4669
|
* Set to `true` if the list should display larger icons with a background
|
|
@@ -2801,6 +4690,9 @@ declare namespace LocalJSX {
|
|
|
2801
4690
|
*/
|
|
2802
4691
|
"type"?: MenuListType;
|
|
2803
4692
|
}
|
|
4693
|
+
/**
|
|
4694
|
+
* @private
|
|
4695
|
+
*/
|
|
2804
4696
|
interface LimelMenuSurface {
|
|
2805
4697
|
/**
|
|
2806
4698
|
* Clicks in this element should not be prevented when the menu surface is open
|
|
@@ -2815,6 +4707,15 @@ declare namespace LocalJSX {
|
|
|
2815
4707
|
*/
|
|
2816
4708
|
"open"?: boolean;
|
|
2817
4709
|
}
|
|
4710
|
+
/**
|
|
4711
|
+
* @exampleComponent limel-example-picker-single
|
|
4712
|
+
* @exampleComponent limel-example-picker-multiple
|
|
4713
|
+
* @exampleComponent limel-example-picker-icons
|
|
4714
|
+
* @exampleComponent limel-example-picker-empty-suggestions
|
|
4715
|
+
* @exampleComponent limel-example-picker-leading-icon
|
|
4716
|
+
* @exampleComponent limel-example-picker-static-actions
|
|
4717
|
+
* @exampleComponent limel-example-picker-composite
|
|
4718
|
+
*/
|
|
2818
4719
|
interface LimelPicker {
|
|
2819
4720
|
/**
|
|
2820
4721
|
* Position of the custom static actions in the picker's results dropdown. Can be set to `'top'` or `'bottom'`.
|
|
@@ -2893,6 +4794,44 @@ declare namespace LocalJSX {
|
|
|
2893
4794
|
*/
|
|
2894
4795
|
"value"?: ListItem<number | string> | Array<ListItem<number | string>>;
|
|
2895
4796
|
}
|
|
4797
|
+
/**
|
|
4798
|
+
* A popover is an impermanent layer that is displayed on top of other content
|
|
4799
|
+
* when user taps an element that triggers the popover. This element can be
|
|
4800
|
+
* practically anything, a button, piece of text, and icon, etc.
|
|
4801
|
+
* Popovers are nonmodal, thus they don't have a semi-transparent backdrop layer
|
|
4802
|
+
* that darkens the content below them. Also for the same reason, they can be
|
|
4803
|
+
* dismissed by tapping or clicking another part of the screen, but not by a
|
|
4804
|
+
* clicking a button or link on the popover itself.
|
|
4805
|
+
* :::warning
|
|
4806
|
+
* The component is emitting a close event when you click outside its container
|
|
4807
|
+
* or press the <kbd>Esc</kbd> key. However, it’s up to you as consumer to react
|
|
4808
|
+
* properly on this event and hide the component (preferably by setting the
|
|
4809
|
+
* property `open` to `false`).
|
|
4810
|
+
* :::
|
|
4811
|
+
* ## Usage
|
|
4812
|
+
* Use a popover to show **options** or **information** related to the trigger
|
|
4813
|
+
* onscreen. A typical use case for popovers is a tooltip, in which you show
|
|
4814
|
+
* help text or contextual information to users.
|
|
4815
|
+
* Popovers are most appropriate on larger screens but can be used on smaller
|
|
4816
|
+
* screens too, as long as their content is responsive and takes into account
|
|
4817
|
+
* the context they are displayed on.
|
|
4818
|
+
* When a popover is displayed, interactions with other controls are blocked,
|
|
4819
|
+
* until user dismisses the popover.
|
|
4820
|
+
* ## Layout
|
|
4821
|
+
* Popovers has only one slot in which you can import a custom web-component.
|
|
4822
|
+
* :::note
|
|
4823
|
+
* You must make sure that web-components that you import into the slot has
|
|
4824
|
+
* a `width: 100%;` style so that it can horizontally stretch across the popover.
|
|
4825
|
+
* However, `width` of the popover can be controlled by specifying a CSS variable
|
|
4826
|
+
* of `--popover-surface-width`. If you don't specify any width, the popover
|
|
4827
|
+
* will grow as wide as its content.
|
|
4828
|
+
* :::
|
|
4829
|
+
* :::important
|
|
4830
|
+
* Do not make a popover too big. They should never take over the entire screen.
|
|
4831
|
+
* If your content is that big, you should probably be using a Modal instead.
|
|
4832
|
+
* :::
|
|
4833
|
+
* @exampleComponent limel-example-popover
|
|
4834
|
+
*/
|
|
2896
4835
|
interface LimelPopover {
|
|
2897
4836
|
/**
|
|
2898
4837
|
* Emits an event when the component is closing
|
|
@@ -2907,12 +4846,36 @@ declare namespace LocalJSX {
|
|
|
2907
4846
|
*/
|
|
2908
4847
|
"openDirection"?: OpenDirection;
|
|
2909
4848
|
}
|
|
4849
|
+
/**
|
|
4850
|
+
* @private
|
|
4851
|
+
*/
|
|
2910
4852
|
interface LimelPopoverSurface {
|
|
2911
4853
|
/**
|
|
2912
4854
|
* Content to render
|
|
2913
4855
|
*/
|
|
2914
4856
|
"contentCollection"?: HTMLCollection;
|
|
2915
4857
|
}
|
|
4858
|
+
/**
|
|
4859
|
+
* The portal component provides a way to render children into a DOM node that
|
|
4860
|
+
* exist outside the DOM hierarchy of the parent component.
|
|
4861
|
+
* There are some caveats when using this component
|
|
4862
|
+
* Events might not bubble up as expected since the content is moved out to
|
|
4863
|
+
* another DOM node.
|
|
4864
|
+
* Any styling that is applied to content from the parent will be lost, if the
|
|
4865
|
+
* content is just another web compoent it will work without any issues.
|
|
4866
|
+
* Alternatively, use the
|
|
4867
|
+
* `style=""` html attribute.
|
|
4868
|
+
* Any component that is placed inside the container must have a style of
|
|
4869
|
+
* `max-height: inherit`. This ensures that its placement is calculated
|
|
4870
|
+
* correctly in relation to the trigger, and that it never covers its own
|
|
4871
|
+
* trigger.
|
|
4872
|
+
* When the node is moved in the DOM, `disconnectedCallback` and
|
|
4873
|
+
* `connectedCallback` will be invoked, so if `disconnectedCallback` is used
|
|
4874
|
+
* to do any tear-down, the appropriate setup will have to be done again on
|
|
4875
|
+
* `connectedCallback`.
|
|
4876
|
+
* @private
|
|
4877
|
+
* @exampleComponent limel-example-portal
|
|
4878
|
+
*/
|
|
2916
4879
|
interface LimelPortal {
|
|
2917
4880
|
/**
|
|
2918
4881
|
* A unique ID.
|
|
@@ -2943,6 +4906,15 @@ declare namespace LocalJSX {
|
|
|
2943
4906
|
*/
|
|
2944
4907
|
"visible"?: boolean;
|
|
2945
4908
|
}
|
|
4909
|
+
/**
|
|
4910
|
+
* @exampleComponent limel-example-progress-flow-basic
|
|
4911
|
+
* @exampleComponent limel-example-progress-flow-secondary-text
|
|
4912
|
+
* @exampleComponent limel-example-progress-flow-disabled-step
|
|
4913
|
+
* @exampleComponent limel-example-progress-flow-colors
|
|
4914
|
+
* @exampleComponent limel-example-progress-flow-colors-css
|
|
4915
|
+
* @exampleComponent limel-example-progress-flow-off-progress-steps
|
|
4916
|
+
* @exampleComponent limel-example-progress-flow-narrow
|
|
4917
|
+
*/
|
|
2946
4918
|
interface LimelProgressFlow {
|
|
2947
4919
|
/**
|
|
2948
4920
|
* Set to `true` to disable the progress flow. Use `disabled` to indicate that the component can normally be interacted with, but is currently disabled. This tells the user that if certain requirements are met, the field may become enabled again.
|
|
@@ -2961,6 +4933,9 @@ declare namespace LocalJSX {
|
|
|
2961
4933
|
*/
|
|
2962
4934
|
"readonly"?: boolean;
|
|
2963
4935
|
}
|
|
4936
|
+
/**
|
|
4937
|
+
* @private
|
|
4938
|
+
*/
|
|
2964
4939
|
interface LimelProgressFlowItem {
|
|
2965
4940
|
/**
|
|
2966
4941
|
* True if the flow item should be disabled
|
|
@@ -2979,6 +4954,16 @@ declare namespace LocalJSX {
|
|
|
2979
4954
|
*/
|
|
2980
4955
|
"readonly"?: boolean;
|
|
2981
4956
|
}
|
|
4957
|
+
/**
|
|
4958
|
+
* @exampleComponent limel-example-select
|
|
4959
|
+
* @exampleComponent limel-example-select-with-icons
|
|
4960
|
+
* @exampleComponent limel-example-select-multiple
|
|
4961
|
+
* @exampleComponent limel-example-select-with-empty-option
|
|
4962
|
+
* @exampleComponent limel-example-select-preselected
|
|
4963
|
+
* @exampleComponent limel-example-select-change-options
|
|
4964
|
+
* @exampleComponent limel-example-select-narrow
|
|
4965
|
+
* @exampleComponent limel-example-select-dialog
|
|
4966
|
+
*/
|
|
2982
4967
|
interface LimelSelect {
|
|
2983
4968
|
/**
|
|
2984
4969
|
* Set to `true` to make the field disabled. and visually shows that the `select` component is editable but disabled. This tells the users that if certain requirements are met, the component may become interactable.
|
|
@@ -3021,6 +5006,18 @@ declare namespace LocalJSX {
|
|
|
3021
5006
|
*/
|
|
3022
5007
|
"value"?: Option | Option[];
|
|
3023
5008
|
}
|
|
5009
|
+
/**
|
|
5010
|
+
* This component can be used on places such as a start page or a dashboard.
|
|
5011
|
+
* Clicking on the component should navigate the user to a new screen,
|
|
5012
|
+
* to which you need to provide a URL, by specifying an `href` for the `link` property.
|
|
5013
|
+
* By default, this navigation will happen within the same browser tab.
|
|
5014
|
+
* However, it is possible to override that behavior, by specifying a `target`
|
|
5015
|
+
* for the `link` property
|
|
5016
|
+
* @exampleComponent limel-example-shortcut
|
|
5017
|
+
* @exampleComponent limel-example-shortcut-notification
|
|
5018
|
+
* @exampleComponent limel-example-shortcut-styling
|
|
5019
|
+
* @exampleComponent limel-example-shortcut-with-click-handler
|
|
5020
|
+
*/
|
|
3024
5021
|
interface LimelShortcut {
|
|
3025
5022
|
/**
|
|
3026
5023
|
* If specified, will display a notification badge on the shortcut.
|
|
@@ -3043,6 +5040,12 @@ declare namespace LocalJSX {
|
|
|
3043
5040
|
*/
|
|
3044
5041
|
"link"?: Link;
|
|
3045
5042
|
}
|
|
5043
|
+
/**
|
|
5044
|
+
* @exampleComponent limel-example-slider
|
|
5045
|
+
* @exampleComponent limel-example-slider-multiplier
|
|
5046
|
+
* @exampleComponent limel-example-slider-multiplier-percentage-colors
|
|
5047
|
+
* @exampleComponent limel-example-slider-composite
|
|
5048
|
+
*/
|
|
3046
5049
|
interface LimelSlider {
|
|
3047
5050
|
/**
|
|
3048
5051
|
* Disables the slider when `true`, and visually shows that the field is editable but disabled. This tells the users that if certain requirements are met, the slider may become interactable.
|
|
@@ -3089,6 +5092,30 @@ declare namespace LocalJSX {
|
|
|
3089
5092
|
*/
|
|
3090
5093
|
"valuemin"?: number;
|
|
3091
5094
|
}
|
|
5095
|
+
/**
|
|
5096
|
+
* A Snackbar –also known as "Toast"– is used to inform the end user
|
|
5097
|
+
* about an action or a process in the system.
|
|
5098
|
+
* The information could vary from announcing that a process has just started,
|
|
5099
|
+
* is taking place now, has ended, or has been interrupted or canceled.
|
|
5100
|
+
* The information that you provide using a snackbar should be:
|
|
5101
|
+
* - temporary
|
|
5102
|
+
* - contextual
|
|
5103
|
+
* - short
|
|
5104
|
+
* - and most importantly, ignorable.
|
|
5105
|
+
* It means if the user misses the information, it shouldn't be a big deal.
|
|
5106
|
+
* :::note
|
|
5107
|
+
* If the information you want to display has a higher importance or priority,
|
|
5108
|
+
* and you need to make sure that the user takes an action to dismiss it,
|
|
5109
|
+
* consider using the [Banner](/#/component/limel-banner/) component instead.
|
|
5110
|
+
* For more complex interactions and for delivering more detailed information,
|
|
5111
|
+
* [Dialog](/#/component/limel-dialog/) is a better choice.
|
|
5112
|
+
* :::
|
|
5113
|
+
* @exampleComponent limel-example-snackbar
|
|
5114
|
+
* @exampleComponent limel-example-snackbar-dismissible
|
|
5115
|
+
* @exampleComponent limel-example-snackbar-with-action
|
|
5116
|
+
* @exampleComponent limel-example-snackbar-with-changing-messages
|
|
5117
|
+
* @exampleComponent limel-example-snackbar-positioning
|
|
5118
|
+
*/
|
|
3092
5119
|
interface LimelSnackbar {
|
|
3093
5120
|
/**
|
|
3094
5121
|
* The text to display for the action button.
|
|
@@ -3123,6 +5150,11 @@ declare namespace LocalJSX {
|
|
|
3123
5150
|
*/
|
|
3124
5151
|
"timeout"?: number;
|
|
3125
5152
|
}
|
|
5153
|
+
/**
|
|
5154
|
+
* @exampleComponent limel-example-spinner
|
|
5155
|
+
* @exampleComponent limel-example-spinner-color
|
|
5156
|
+
* @exampleComponent limel-example-spinner-size
|
|
5157
|
+
*/
|
|
3126
5158
|
interface LimelSpinner {
|
|
3127
5159
|
/**
|
|
3128
5160
|
* Gives the spinner the shape of Lime Technologies' logo
|
|
@@ -3133,6 +5165,19 @@ declare namespace LocalJSX {
|
|
|
3133
5165
|
*/
|
|
3134
5166
|
"size"?: SpinnerSize;
|
|
3135
5167
|
}
|
|
5168
|
+
/**
|
|
5169
|
+
* A split button is a button with two components:
|
|
5170
|
+
* a button and a side-menu attached to it.
|
|
5171
|
+
* Clicking on the button runs a default action,
|
|
5172
|
+
* and clicking on the arrow opens up a list of other possible actions.
|
|
5173
|
+
* :::warning
|
|
5174
|
+
* - Never use a split button for navigation purposes, such as going to next page.
|
|
5175
|
+
* The button should only be used for performing commands!
|
|
5176
|
+
* - Never use this component instead of a Select or Menu component!
|
|
5177
|
+
* :::
|
|
5178
|
+
* @exampleComponent limel-example-split-button-basic
|
|
5179
|
+
* @exampleComponent limel-example-split-button-repeat-default-command
|
|
5180
|
+
*/
|
|
3136
5181
|
interface LimelSplitButton {
|
|
3137
5182
|
/**
|
|
3138
5183
|
* Set to `true` to disable the button.
|
|
@@ -3159,6 +5204,9 @@ declare namespace LocalJSX {
|
|
|
3159
5204
|
*/
|
|
3160
5205
|
"primary"?: boolean;
|
|
3161
5206
|
}
|
|
5207
|
+
/**
|
|
5208
|
+
* @exampleComponent limel-example-switch
|
|
5209
|
+
*/
|
|
3162
5210
|
interface LimelSwitch {
|
|
3163
5211
|
/**
|
|
3164
5212
|
* Disables the switch when `true`, and visually shows that the switch is editable but disabled. This tells the users that if certain requirements are met, the switch may become interactable.
|
|
@@ -3181,6 +5229,25 @@ declare namespace LocalJSX {
|
|
|
3181
5229
|
*/
|
|
3182
5230
|
"value"?: boolean;
|
|
3183
5231
|
}
|
|
5232
|
+
/**
|
|
5233
|
+
* Tabs are great to organize information hierarchically in the interface and divide it into distinct categories. Using tabs, you can create groups of content that are related and at the same level in the hierarchy.
|
|
5234
|
+
* :::warning
|
|
5235
|
+
* Tab bars should be strictly used for navigation at the top levels.
|
|
5236
|
+
* They should never be used to perform actions, or navigate away from the view which contains them.
|
|
5237
|
+
* :::
|
|
5238
|
+
* An exception for using tab bars in a high level of hierarchy is their usage in modals. This is because modals are perceived as a separate place and not a part of the current context. Therefore you can use tab bars in a modal to group and organize its content.
|
|
5239
|
+
* A tab bar can contain an unlimited number of tabs. However, depending on the device width and width of the tabs, the number of tabs that are visible at the same time will vary. When there is limited horizontal space, the component shows a left-arrow and/or right-arrow button, which scrolls and reveals the additional tabs. The tab bar can also be swiped left and right on a touch-device.
|
|
5240
|
+
* :::tip Other things to consider
|
|
5241
|
+
* Never divide the content of a tab using a nested tab bar.
|
|
5242
|
+
* Never place two tab bars within the same screen.
|
|
5243
|
+
* Never use background color for icons in tabs.
|
|
5244
|
+
* Avoid having long labels for tabs.
|
|
5245
|
+
* A tab will never be removed or get disabled, even if there is no content under it.
|
|
5246
|
+
* :::
|
|
5247
|
+
* @exampleComponent limel-example-tab-bar
|
|
5248
|
+
* @exampleComponent limel-example-tab-bar-with-dynamic-tab-width
|
|
5249
|
+
* @exampleComponent limel-example-tab-bar-with-equal-tab-width
|
|
5250
|
+
*/
|
|
3184
5251
|
interface LimelTabBar {
|
|
3185
5252
|
/**
|
|
3186
5253
|
* Emitted when a tab has been changed
|
|
@@ -3191,6 +5258,20 @@ declare namespace LocalJSX {
|
|
|
3191
5258
|
*/
|
|
3192
5259
|
"tabs"?: Tab[];
|
|
3193
5260
|
}
|
|
5261
|
+
/**
|
|
5262
|
+
* The `limel-tab-panel` component uses the `limel-tab-bar` component together
|
|
5263
|
+
* with custom slotted components and will display the content for the currently
|
|
5264
|
+
* active tab. Each slotted component must have an id equal to the id of the
|
|
5265
|
+
* corresponding tab it belongs to. These components should implement the
|
|
5266
|
+
* [TabPanelComponent](#/type/TabPanelComponent/) interface.
|
|
5267
|
+
* The `limel-tab-panel` component will automatically set each tab configuration
|
|
5268
|
+
* on the corresponding slotted component as a property named `tab` so that the
|
|
5269
|
+
* component can take action upon that. Sometimes it might be desirable to not
|
|
5270
|
+
* load data or render anything until the tab is active.
|
|
5271
|
+
* The slotted components can also emit the `changeTab` event to update anything
|
|
5272
|
+
* inside the actual tab, e.g. to change the icon, color or badge.
|
|
5273
|
+
* @exampleComponent limel-example-tab-panel
|
|
5274
|
+
*/
|
|
3194
5275
|
interface LimelTabPanel {
|
|
3195
5276
|
/**
|
|
3196
5277
|
* Emitted when a tab has been changed
|
|
@@ -3201,6 +5282,23 @@ declare namespace LocalJSX {
|
|
|
3201
5282
|
*/
|
|
3202
5283
|
"tabs"?: Tab[];
|
|
3203
5284
|
}
|
|
5285
|
+
/**
|
|
5286
|
+
* @exampleComponent limel-example-table
|
|
5287
|
+
* @exampleComponent limel-example-table-custom-components
|
|
5288
|
+
* @exampleComponent limel-example-table-header-menu
|
|
5289
|
+
* @exampleComponent limel-example-table-movable-columns
|
|
5290
|
+
* @exampleComponent limel-example-table-sorting-disabled
|
|
5291
|
+
* @exampleComponent limel-example-table-local
|
|
5292
|
+
* @exampleComponent limel-example-table-remote
|
|
5293
|
+
* @exampleComponent limel-example-table-activate-row
|
|
5294
|
+
* @exampleComponent limel-example-table-selectable-rows
|
|
5295
|
+
* @exampleComponent limel-example-table-default-sorted
|
|
5296
|
+
* @exampleComponent limel-example-table-layout-default
|
|
5297
|
+
* @exampleComponent limel-example-table-layout-stretch-last-column
|
|
5298
|
+
* @exampleComponent limel-example-table-layout-stretch-columns
|
|
5299
|
+
* @exampleComponent limel-example-table-layout-low-density
|
|
5300
|
+
* @exampleComponent limel-example-table-interactive-rows
|
|
5301
|
+
*/
|
|
3204
5302
|
interface LimelTable {
|
|
3205
5303
|
/**
|
|
3206
5304
|
* Active row in the table
|
|
@@ -3291,6 +5389,45 @@ declare namespace LocalJSX {
|
|
|
3291
5389
|
*/
|
|
3292
5390
|
"totalRows"?: number;
|
|
3293
5391
|
}
|
|
5392
|
+
/**
|
|
5393
|
+
* A tooltip can be used to display a descriptive text for any element.
|
|
5394
|
+
* The displayed content must be a brief and supplemental string of text,
|
|
5395
|
+
* identifying the element or describing its function for the user,
|
|
5396
|
+
* helping them better understand unfamiliar objects that aren't described
|
|
5397
|
+
* directly in the UI.
|
|
5398
|
+
* ## Interaction
|
|
5399
|
+
* The tooltip appears after a slight delay, when the element is hovered;
|
|
5400
|
+
* and disappears as soon as the cursor leaves the element.
|
|
5401
|
+
* Therefore, users cannot interact with the tip, but if the trigger element
|
|
5402
|
+
* itself is interactive, it will remain interactible even with a tooltip bound
|
|
5403
|
+
* to it.
|
|
5404
|
+
* :::note
|
|
5405
|
+
* In order to display the tooltip, the tooltip element and its trigger element
|
|
5406
|
+
* must be within the same document or document fragment.
|
|
5407
|
+
* A good practice is to just place them next to each other like below:
|
|
5408
|
+
* ```html
|
|
5409
|
+
* <limel-button icon="search" id="tooltip-example" />
|
|
5410
|
+
* <limel-tooltip label="Search" elementId="tooltip-example" />
|
|
5411
|
+
* ```
|
|
5412
|
+
* :::
|
|
5413
|
+
* ## Usage
|
|
5414
|
+
* - Keep in mind that tooltips can be distracting, and can be perceived as an interruption.
|
|
5415
|
+
* Use them only when they add significant value.
|
|
5416
|
+
* - A good tip is concise, helpful, and informative.
|
|
5417
|
+
* Don't explain the obvious or simply repeat what is already on the screen.
|
|
5418
|
+
* When used correctly, supplemental info of a tooltip helps to [declutter the UI](/#/DesignGuidelines/decluttering.md/).
|
|
5419
|
+
* - If the tip is essential to the primary tasks that the user is performing,
|
|
5420
|
+
* such as warnings or important notes, include the information directly in the
|
|
5421
|
+
* interface instead.
|
|
5422
|
+
* - When a component offers a helper text (e.g. [Input field](/#/component/limel-input-field/)),
|
|
5423
|
+
* use that, not a tooltip.
|
|
5424
|
+
* - Make sure to use the tooltip on an element that users naturally and
|
|
5425
|
+
* effortlessly recognize can be hovered.
|
|
5426
|
+
* @exampleComponent limel-example-tooltip
|
|
5427
|
+
* @exampleComponent limel-example-tooltip-max-character
|
|
5428
|
+
* @exampleComponent limel-example-tooltip-composite
|
|
5429
|
+
* @private
|
|
5430
|
+
*/
|
|
3294
5431
|
interface LimelTooltip {
|
|
3295
5432
|
/**
|
|
3296
5433
|
* ID of the owner element that the tooltip should describe. Must be a child within the same document fragment as the tooltip element itself.
|
|
@@ -3309,6 +5446,10 @@ declare namespace LocalJSX {
|
|
|
3309
5446
|
*/
|
|
3310
5447
|
"maxlength"?: number;
|
|
3311
5448
|
}
|
|
5449
|
+
/**
|
|
5450
|
+
* This component is used internally by `limel-tooltip`.
|
|
5451
|
+
* @private
|
|
5452
|
+
*/
|
|
3312
5453
|
interface LimelTooltipContent {
|
|
3313
5454
|
/**
|
|
3314
5455
|
* Read more in tooltip.tsx
|
|
@@ -3384,59 +5525,766 @@ export { LocalJSX as JSX };
|
|
|
3384
5525
|
declare module "@stencil/core" {
|
|
3385
5526
|
export namespace JSX {
|
|
3386
5527
|
interface IntrinsicElements {
|
|
5528
|
+
/**
|
|
5529
|
+
* An action bar is a user interface element commonly found in software applications and websites.
|
|
5530
|
+
* It typically appears at the top of the screen or within a specific section
|
|
5531
|
+
* and serves as a centralized hub for accessing various actions and commands
|
|
5532
|
+
* relevant to the current context or page.
|
|
5533
|
+
* The action bar often contains a set of clickable icons or buttons (icons + labels)
|
|
5534
|
+
* that represent specific actions, such as saving, deleting, editing, sharing,
|
|
5535
|
+
* or bulk operations for selected items.
|
|
5536
|
+
* The purpose of an action bar is to provide quick and convenient access to
|
|
5537
|
+
* frequently used functionalities, enabling users to perform common tasks efficiently.
|
|
5538
|
+
* It enhances usability by organizing important actions in a visually prominent and easily accessible location.
|
|
5539
|
+
* The action bar's design and layout can vary based on the platform or application,
|
|
5540
|
+
* but its primary goal remains consistent—to
|
|
5541
|
+
* empower users to interact with the software and perform desired actions effortlessly.
|
|
5542
|
+
* @exampleComponent limel-example-action-bar
|
|
5543
|
+
* @exampleComponent limel-example-action-bar-overflow-menu
|
|
5544
|
+
* @exampleComponent limel-example-action-bar-colors
|
|
5545
|
+
* @exampleComponent limel-example-action-bar-floating
|
|
5546
|
+
* @exampleComponent limel-example-action-bar-styling
|
|
5547
|
+
* @exampleComponent limel-example-action-bar-as-primary-component
|
|
5548
|
+
* @private
|
|
5549
|
+
*/
|
|
3387
5550
|
"limel-action-bar": LocalJSX.LimelActionBar & JSXBase.HTMLAttributes<HTMLLimelActionBarElement>;
|
|
5551
|
+
/**
|
|
5552
|
+
* @private
|
|
5553
|
+
*/
|
|
3388
5554
|
"limel-action-bar-item": LocalJSX.LimelActionBarItem & JSXBase.HTMLAttributes<HTMLLimelActionBarItemElement>;
|
|
5555
|
+
/**
|
|
5556
|
+
* @private
|
|
5557
|
+
*/
|
|
3389
5558
|
"limel-action-bar-overflow-menu": LocalJSX.LimelActionBarOverflowMenu & JSXBase.HTMLAttributes<HTMLLimelActionBarOverflowMenuElement>;
|
|
5559
|
+
/**
|
|
5560
|
+
* The Badge component can be used to display a notification badge,
|
|
5561
|
+
* optionally with a number or a text label.
|
|
5562
|
+
* @exampleComponent limel-example-badge
|
|
5563
|
+
* @exampleComponent limel-example-badge-number
|
|
5564
|
+
* @exampleComponent limel-example-badge-string
|
|
5565
|
+
*/
|
|
3390
5566
|
"limel-badge": LocalJSX.LimelBadge & JSXBase.HTMLAttributes<HTMLLimelBadgeElement>;
|
|
5567
|
+
/**
|
|
5568
|
+
* @exampleComponent limel-example-banner
|
|
5569
|
+
*/
|
|
3391
5570
|
"limel-banner": LocalJSX.LimelBanner & JSXBase.HTMLAttributes<HTMLLimelBannerElement>;
|
|
5571
|
+
/**
|
|
5572
|
+
* @exampleComponent limel-example-button-basic
|
|
5573
|
+
* @exampleComponent limel-example-button-primary
|
|
5574
|
+
* @exampleComponent limel-example-button-outlined
|
|
5575
|
+
* @exampleComponent limel-example-button-disabled
|
|
5576
|
+
* @exampleComponent limel-example-button-icon
|
|
5577
|
+
* @exampleComponent limel-example-button-loading
|
|
5578
|
+
* @exampleComponent limel-example-button-click-success
|
|
5579
|
+
* @exampleComponent limel-example-button-click-fail
|
|
5580
|
+
* @exampleComponent limel-example-button-reduce-presence
|
|
5581
|
+
* @exampleComponent limel-example-button-colors
|
|
5582
|
+
* @exampleComponent limel-example-button-composite
|
|
5583
|
+
*/
|
|
3392
5584
|
"limel-button": LocalJSX.LimelButton & JSXBase.HTMLAttributes<HTMLLimelButtonElement>;
|
|
5585
|
+
/**
|
|
5586
|
+
* A button group control is a linear set of two or more buttons.
|
|
5587
|
+
* ## Usage
|
|
5588
|
+
* Button groups are often used to display different views of the same thing. A
|
|
5589
|
+
* common example of this component is when you switch between [ Map | Transit
|
|
5590
|
+
* | Satellite ] views to look at an area on the map.
|
|
5591
|
+
* In some cases, button groups may serve as quick filters as well. For example
|
|
5592
|
+
* a list of contacts, in which the user can switch to [ All | Favorites
|
|
5593
|
+
* | Frequently contacted ] can incorporate a button group to quickly filter out
|
|
5594
|
+
* items and display subsets of them.
|
|
5595
|
+
* ## Layout
|
|
5596
|
+
* The button groups are usually placed in top headers and action bars,
|
|
5597
|
+
* sometimes with other elements. Since the group items will always be rendered
|
|
5598
|
+
* in a row, you must make sure not to have too many buttons in the group.
|
|
5599
|
+
* Because if the container of your button group does not get enough space to
|
|
5600
|
+
* fit in all its buttons, they will have to truncate their text and may appear
|
|
5601
|
+
* very cramped together. Always think about how your button group will appear
|
|
5602
|
+
* on a small screen such as phones.
|
|
5603
|
+
* :::note
|
|
5604
|
+
* Button can contain text or icons, but not both simultaneously!
|
|
5605
|
+
* :::
|
|
5606
|
+
* Within the group, icon buttons will all have the same width, while each text button
|
|
5607
|
+
* inherits its width from its content.
|
|
5608
|
+
* @exampleComponent limel-example-button-group-icons
|
|
5609
|
+
* @exampleComponent limel-example-button-group
|
|
5610
|
+
* @exampleComponent limel-example-button-group-mix
|
|
5611
|
+
* @exampleComponent limel-example-button-group-badges
|
|
5612
|
+
* @exampleComponent limel-example-button-group-composite
|
|
5613
|
+
*/
|
|
3393
5614
|
"limel-button-group": LocalJSX.LimelButtonGroup & JSXBase.HTMLAttributes<HTMLLimelButtonGroupElement>;
|
|
5615
|
+
/**
|
|
5616
|
+
* Callouts—also known as Admonitions—are useful for including supportive or
|
|
5617
|
+
* special content within a large piece of text, or even inside a user
|
|
5618
|
+
* interface.
|
|
5619
|
+
* When used in a document or text based user interface, the callout attracts
|
|
5620
|
+
* the reader's attention to a particular piece of information, without
|
|
5621
|
+
* significantly interrupting their flow of reading the document.
|
|
5622
|
+
* In a user interface, a callout is more intrusive to the end-user. Still, it
|
|
5623
|
+
* could be a good choice when you intend to slightly disturb the user's
|
|
5624
|
+
* attention, and challenge them to pay extra attention to the information
|
|
5625
|
+
* presented. In such cases, a callout should not be used as a static and
|
|
5626
|
+
* constantly present element of the UI. Rather, it should be displayed when
|
|
5627
|
+
* something unusual or remarkable demands the user's attention.
|
|
5628
|
+
* @exampleComponent limel-example-callout-note
|
|
5629
|
+
* @exampleComponent limel-example-callout-important
|
|
5630
|
+
* @exampleComponent limel-example-callout-tip
|
|
5631
|
+
* @exampleComponent limel-example-callout-caution
|
|
5632
|
+
* @exampleComponent limel-example-callout-warning
|
|
5633
|
+
* @exampleComponent limel-example-callout-rich-content
|
|
5634
|
+
* @exampleComponent limel-example-callout-custom-heading
|
|
5635
|
+
* @exampleComponent limel-example-callout-custom-icon
|
|
5636
|
+
* @exampleComponent limel-example-callout-styles
|
|
5637
|
+
* @exampleComponent limel-example-custom-type
|
|
5638
|
+
* @exampleComponent limel-example-callout-composite
|
|
5639
|
+
*/
|
|
3394
5640
|
"limel-callout": LocalJSX.LimelCallout & JSXBase.HTMLAttributes<HTMLLimelCalloutElement>;
|
|
5641
|
+
/**
|
|
5642
|
+
* @exampleComponent limel-example-checkbox
|
|
5643
|
+
* @exampleComponent limel-example-checkbox-helper-text
|
|
5644
|
+
*/
|
|
3395
5645
|
"limel-checkbox": LocalJSX.LimelCheckbox & JSXBase.HTMLAttributes<HTMLLimelCheckboxElement>;
|
|
5646
|
+
/**
|
|
5647
|
+
* @exampleComponent limel-example-chip-set
|
|
5648
|
+
* @exampleComponent limel-example-chip-set-choice
|
|
5649
|
+
* @exampleComponent limel-example-chip-set-filter
|
|
5650
|
+
* @exampleComponent limel-example-chip-set-filter-badge
|
|
5651
|
+
* @exampleComponent limel-example-chip-set-input
|
|
5652
|
+
* @exampleComponent limel-example-chip-set-input-type-text
|
|
5653
|
+
* @exampleComponent limel-example-chip-set-input-type-search
|
|
5654
|
+
* @exampleComponent limel-example-chip-icon-color
|
|
5655
|
+
* @exampleComponent limel-example-chip-set-composite
|
|
5656
|
+
*/
|
|
3396
5657
|
"limel-chip-set": LocalJSX.LimelChipSet & JSXBase.HTMLAttributes<HTMLLimelChipSetElement>;
|
|
5658
|
+
/**
|
|
5659
|
+
* The circular progress component can be used to visualize the curent state of
|
|
5660
|
+
* a progress in a scale; for example percentage of completion of a task.
|
|
5661
|
+
* Its compact UI makes the component suitable when there is not enough screen
|
|
5662
|
+
* space available to visualise such information.
|
|
5663
|
+
* This component allows you to define your scale, from `0` to a desired
|
|
5664
|
+
* `maxValue`; and also lets you chose a proper `suffix` for your scale.
|
|
5665
|
+
* :::note
|
|
5666
|
+
* The component will round up the value when it is displayed, and only shows
|
|
5667
|
+
* one decimal digit.
|
|
5668
|
+
* It also abbreviates large numbers. For example 1234 will be displayed as 1.2k.
|
|
5669
|
+
* Of course such numbers, if bigger than `maxValue` will be visualized as a
|
|
5670
|
+
* full progress.
|
|
5671
|
+
* :::
|
|
5672
|
+
* @exampleComponent limel-example-circular-progress
|
|
5673
|
+
* @exampleComponent limel-example-circular-progress-sizes
|
|
5674
|
+
* @exampleComponent limel-example-circular-progress-props
|
|
5675
|
+
* @exampleComponent limel-example-circular-progress-css-variables
|
|
5676
|
+
* @exampleComponent limel-example-circular-progress-percentage-colors
|
|
5677
|
+
*/
|
|
3397
5678
|
"limel-circular-progress": LocalJSX.LimelCircularProgress & JSXBase.HTMLAttributes<HTMLLimelCircularProgressElement>;
|
|
5679
|
+
/**
|
|
5680
|
+
* Currently this component support syntax highlighting for `javascript`,
|
|
5681
|
+
* `json` and `typescript` formats.
|
|
5682
|
+
* @exampleComponent limel-example-code-editor
|
|
5683
|
+
* @exampleComponent limel-example-code-editor-readonly-with-line-numbers
|
|
5684
|
+
* @exampleComponent limel-example-code-editor-fold-lint
|
|
5685
|
+
*/
|
|
3398
5686
|
"limel-code-editor": LocalJSX.LimelCodeEditor & JSXBase.HTMLAttributes<HTMLLimelCodeEditorElement>;
|
|
5687
|
+
/**
|
|
5688
|
+
* @exampleComponent limel-example-collapsible-section
|
|
5689
|
+
* @exampleComponent limel-example-collapsible-section-actions
|
|
5690
|
+
* @exampleComponent limel-example-collapsible-section-css-props
|
|
5691
|
+
* @exampleComponent limel-example-collapsible-section-external-control
|
|
5692
|
+
* @exampleComponent limel-example-collapsible-section-with-slider
|
|
5693
|
+
*/
|
|
3399
5694
|
"limel-collapsible-section": LocalJSX.LimelCollapsibleSection & JSXBase.HTMLAttributes<HTMLLimelCollapsibleSectionElement>;
|
|
5695
|
+
/**
|
|
5696
|
+
* This component enables you to select a swatch from out color palette, simply
|
|
5697
|
+
* by clicking on it. You can then copy the css variable name of the chosen color
|
|
5698
|
+
* and use it where desired.
|
|
5699
|
+
* The color picker can also show you a preview of any valid color name or color value.
|
|
5700
|
+
* :::note
|
|
5701
|
+
* Make sure to read our [guidelines about usage of colors](/#/DesignGuidelines/color-system.md/) from our palette.
|
|
5702
|
+
* :::
|
|
5703
|
+
* @exampleComponent limel-example-color-picker
|
|
5704
|
+
* @exampleComponent limel-example-color-picker-readonly
|
|
5705
|
+
*/
|
|
3400
5706
|
"limel-color-picker": LocalJSX.LimelColorPicker & JSXBase.HTMLAttributes<HTMLLimelColorPickerElement>;
|
|
5707
|
+
/**
|
|
5708
|
+
* @private
|
|
5709
|
+
*/
|
|
3401
5710
|
"limel-color-picker-palette": LocalJSX.LimelColorPickerPalette & JSXBase.HTMLAttributes<HTMLLimelColorPickerPaletteElement>;
|
|
5711
|
+
/**
|
|
5712
|
+
* @private
|
|
5713
|
+
*/
|
|
3402
5714
|
"limel-config": LocalJSX.LimelConfig & JSXBase.HTMLAttributes<HTMLLimelConfigElement>;
|
|
5715
|
+
/**
|
|
5716
|
+
* @exampleComponent limel-example-date-picker-datetime
|
|
5717
|
+
* @exampleComponent limel-example-date-picker-date
|
|
5718
|
+
* @exampleComponent limel-example-date-picker-time
|
|
5719
|
+
* @exampleComponent limel-example-date-picker-week
|
|
5720
|
+
* @exampleComponent limel-example-date-picker-month
|
|
5721
|
+
* @exampleComponent limel-example-date-picker-quarter
|
|
5722
|
+
* @exampleComponent limel-example-date-picker-year
|
|
5723
|
+
* @exampleComponent limel-example-date-picker-formatted
|
|
5724
|
+
* @exampleComponent limel-example-date-picker-programmatic-change
|
|
5725
|
+
* @exampleComponent limel-example-date-picker-composite
|
|
5726
|
+
* @exampleComponent limel-example-date-picker-custom-formatter
|
|
5727
|
+
*/
|
|
3403
5728
|
"limel-date-picker": LocalJSX.LimelDatePicker & JSXBase.HTMLAttributes<HTMLLimelDatePickerElement>;
|
|
5729
|
+
/**
|
|
5730
|
+
* :::note
|
|
5731
|
+
* Regarding the `close` event: When putting other elements that emit `close`
|
|
5732
|
+
* events inside a dialog, those events must be caught and stopped inside the
|
|
5733
|
+
* dialog. If not, they will bubble to the event handler listening for `close`
|
|
5734
|
+
* events on the dialog, which will close the dialog too.
|
|
5735
|
+
* See the example _Nested `close` events_.
|
|
5736
|
+
* :::
|
|
5737
|
+
* :::important
|
|
5738
|
+
* Are you developing for
|
|
5739
|
+
* [Lime CRM](https://www.lime-technologies.com/en/lime-crm/)? Please note that
|
|
5740
|
+
* you should use the [DialogService](https://lundalogik.github.io/lime-web-components/versions/latest/#/api/dialog-service)
|
|
5741
|
+
* from Lime Web Components to open dialogs in Lime CRM.
|
|
5742
|
+
* :::
|
|
5743
|
+
* @exampleComponent limel-example-dialog
|
|
5744
|
+
* @exampleComponent limel-example-dialog-nested-close-events
|
|
5745
|
+
* @exampleComponent limel-example-dialog-heading
|
|
5746
|
+
* @exampleComponent limel-example-dialog-form
|
|
5747
|
+
* @exampleComponent limel-example-dialog-size
|
|
5748
|
+
* @exampleComponent limel-example-dialog-fullscreen
|
|
5749
|
+
* @exampleComponent limel-example-dialog-closing-actions
|
|
5750
|
+
* @exampleComponent limel-example-dialog-action-buttons
|
|
5751
|
+
*/
|
|
3404
5752
|
"limel-dialog": LocalJSX.LimelDialog & JSXBase.HTMLAttributes<HTMLLimelDialogElement>;
|
|
5753
|
+
/**
|
|
5754
|
+
* @exampleComponent limel-example-dock-basic
|
|
5755
|
+
* @exampleComponent limel-example-dock-custom-component
|
|
5756
|
+
* @exampleComponent limel-example-dock-notification
|
|
5757
|
+
* @exampleComponent limel-example-dock-mobile
|
|
5758
|
+
* @exampleComponent limel-example-dock-expanded
|
|
5759
|
+
* @exampleComponent limel-example-dock-colors-css
|
|
5760
|
+
*/
|
|
3405
5761
|
"limel-dock": LocalJSX.LimelDock & JSXBase.HTMLAttributes<HTMLLimelDockElement>;
|
|
5762
|
+
/**
|
|
5763
|
+
* @private
|
|
5764
|
+
*/
|
|
3406
5765
|
"limel-dock-button": LocalJSX.LimelDockButton & JSXBase.HTMLAttributes<HTMLLimelDockButtonElement>;
|
|
5766
|
+
/**
|
|
5767
|
+
* This component lets end-users select a *single* file from their device
|
|
5768
|
+
* storage. Regardless of the user's device or operating system, this component
|
|
5769
|
+
* opens up a file picker dialog that allows the user to choose a file.
|
|
5770
|
+
* ## Using correct labels
|
|
5771
|
+
* This file picker can be used in different contexts. The component's distinct
|
|
5772
|
+
* visual design including the upload icon hints end-users that this is not a
|
|
5773
|
+
* normal input field like other fields in the form for example.
|
|
5774
|
+
* :::important
|
|
5775
|
+
* you need to use a descriptive `label` that clarifies the
|
|
5776
|
+
* functionality of the file picker, and/or provides users with clear
|
|
5777
|
+
* instructions.
|
|
5778
|
+
* Depending on the context, you may need to avoid labels such as:
|
|
5779
|
+
* - File
|
|
5780
|
+
* - Document
|
|
5781
|
+
* and instead consider using labels like:
|
|
5782
|
+
* - Attach a file
|
|
5783
|
+
* - Upload a file
|
|
5784
|
+
* - Choose a document
|
|
5785
|
+
* - Choose a file
|
|
5786
|
+
* and similar phrases...
|
|
5787
|
+
* :::
|
|
5788
|
+
* @exampleComponent limel-example-file
|
|
5789
|
+
* @exampleComponent limel-example-file-custom-icon
|
|
5790
|
+
* @exampleComponent limel-example-file-accepted-types
|
|
5791
|
+
* @exampleComponent limel-example-file-composite
|
|
5792
|
+
*/
|
|
3407
5793
|
"limel-file": LocalJSX.LimelFile & JSXBase.HTMLAttributes<HTMLLimelFileElement>;
|
|
5794
|
+
/**
|
|
5795
|
+
* This component is internal and only supposed to be used by
|
|
5796
|
+
* the limel-date-picker. This component is needed in order for us
|
|
5797
|
+
* to render the flatpickr calendar in a portal.
|
|
5798
|
+
* @private
|
|
5799
|
+
*/
|
|
3408
5800
|
"limel-flatpickr-adapter": LocalJSX.LimelFlatpickrAdapter & JSXBase.HTMLAttributes<HTMLLimelFlatpickrAdapterElement>;
|
|
5801
|
+
/**
|
|
5802
|
+
* This component is deprecated and will be removed in a future version of
|
|
5803
|
+
* Lime Elements. Please use CSS for your flexible container needs 🙂
|
|
5804
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox
|
|
5805
|
+
* @deprecated
|
|
5806
|
+
* @private
|
|
5807
|
+
*/
|
|
3409
5808
|
"limel-flex-container": LocalJSX.LimelFlexContainer & JSXBase.HTMLAttributes<HTMLLimelFlexContainerElement>;
|
|
5809
|
+
/**
|
|
5810
|
+
* @exampleComponent limel-example-form
|
|
5811
|
+
* @exampleComponent limel-example-nested-form
|
|
5812
|
+
* @exampleComponent limel-example-list-form
|
|
5813
|
+
* @exampleComponent limel-example-dynamic-form
|
|
5814
|
+
* @exampleComponent limel-example-custom-component-form
|
|
5815
|
+
* @exampleComponent limel-example-props-factory-form
|
|
5816
|
+
* @exampleComponent limel-example-form-layout
|
|
5817
|
+
* @exampleComponent limel-example-form-span-fields
|
|
5818
|
+
* @exampleComponent limel-example-custom-error-message
|
|
5819
|
+
* @exampleComponent limel-example-server-errors
|
|
5820
|
+
* @exampleComponent limel-example-form-row-layout
|
|
5821
|
+
*/
|
|
3410
5822
|
"limel-form": LocalJSX.LimelForm & JSXBase.HTMLAttributes<HTMLLimelFormElement>;
|
|
5823
|
+
/**
|
|
5824
|
+
* The `limel-grid` component creates a grid which can be used to control the
|
|
5825
|
+
* layout of other components. It uses CSS [grid-template-areas](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-areas)
|
|
5826
|
+
* to enable easy configuration of its child-elements.
|
|
5827
|
+
* @exampleComponent limel-example-grid
|
|
5828
|
+
*/
|
|
3411
5829
|
"limel-grid": LocalJSX.LimelGrid & JSXBase.HTMLAttributes<HTMLLimelGridElement>;
|
|
5830
|
+
/**
|
|
5831
|
+
* A header is the top most visual element in a component, page, card, or a view.
|
|
5832
|
+
* ## Usage
|
|
5833
|
+
* A header is the first thing that clarifies a context for users.
|
|
5834
|
+
* Due to their positions in the UI hierarchy, headers are the most
|
|
5835
|
+
* prominent elements of a user interface; and because of that, they carry both
|
|
5836
|
+
* vital information and fundamental controls for the area of the interface
|
|
5837
|
+
* they represent.
|
|
5838
|
+
* For example, when a header is placed on top of a card, it should quickly
|
|
5839
|
+
* explain the card to the user. When placed on top of a modal, it should easily
|
|
5840
|
+
* clarify what the modal is about. When displayed on top of a fullscreen view,
|
|
5841
|
+
* it should indicate where in the system users are, and what part of the app
|
|
5842
|
+
* they are looking at.
|
|
5843
|
+
* ## Layout
|
|
5844
|
+
* The vital information in a header is usually manifested in form of an icon,
|
|
5845
|
+
* and a heading. A subheading also could be added to provide supplementary
|
|
5846
|
+
* information. There is also a third place for displaying supplementary information
|
|
5847
|
+
* or "supporting text", which will be rendered as a part of the subheading.
|
|
5848
|
+
* Along with this information, headers can also include actions, controls, or
|
|
5849
|
+
* menus.
|
|
5850
|
+
* :::important
|
|
5851
|
+
* Such actions or menus must affect the entire section of the interface
|
|
5852
|
+
* which the header is representing. For example, a _Delete_ button on a card
|
|
5853
|
+
* header must delete that entire card and its respective contents all together,
|
|
5854
|
+
* not for example a selected item which is visible in the content of that card.
|
|
5855
|
+
* :::
|
|
5856
|
+
* :::warning
|
|
5857
|
+
* Do not user background color on icons in the headers. It is much better and
|
|
5858
|
+
* much easier for the eye if your icon itself has a color.
|
|
5859
|
+
* Background colors behind icons make them look like "call to action" buttons
|
|
5860
|
+
* and take a lot of attention from users.
|
|
5861
|
+
* :::
|
|
5862
|
+
* @exampleComponent limel-example-header
|
|
5863
|
+
* @exampleComponent limel-example-header-colors
|
|
5864
|
+
* @exampleComponent limel-example-header-responsive
|
|
5865
|
+
* @exampleComponent limel-example-header-narrow
|
|
5866
|
+
*/
|
|
3412
5867
|
"limel-header": LocalJSX.LimelHeader & JSXBase.HTMLAttributes<HTMLLimelHeaderElement>;
|
|
5868
|
+
/**
|
|
5869
|
+
* This is an internal and private component that many input fields
|
|
5870
|
+
* use to display a helper text, along with a character counter below the
|
|
5871
|
+
* input field.
|
|
5872
|
+
* We created this to keep the visual styles the same everywhere
|
|
5873
|
+
* and to avoid importing styles separately.
|
|
5874
|
+
* Also this enables us to open the helper line in limel-portal,
|
|
5875
|
+
* more easily without having to send the styles to the portal.
|
|
5876
|
+
* :::note
|
|
5877
|
+
* When the component has no content, it will get a `display: none`
|
|
5878
|
+
* as styles to avoid creating empty holes in the UI of the parent component.
|
|
5879
|
+
* For example, in a `flex` or `grid` component that has a `gap`,
|
|
5880
|
+
* we don't want the empty `limel-helper-line` to render and cause unnecessary
|
|
5881
|
+
* gaps in the UI.
|
|
5882
|
+
* However, to be more resourceful, the parent component can choose not
|
|
5883
|
+
* to render the helper-line as well.
|
|
5884
|
+
* :::
|
|
5885
|
+
* @exampleComponent limel-example-helper-line
|
|
5886
|
+
* @exampleComponent limel-example-helper-line-invalid
|
|
5887
|
+
* @exampleComponent limel-example-helper-line-long-text
|
|
5888
|
+
* @exampleComponent limel-example-helper-line-long-text-no-counter
|
|
5889
|
+
* @exampleComponent limel-example-helper-line-character-counter
|
|
5890
|
+
* @private
|
|
5891
|
+
*/
|
|
3413
5892
|
"limel-helper-line": LocalJSX.LimelHelperLine & JSXBase.HTMLAttributes<HTMLLimelHelperLineElement>;
|
|
5893
|
+
/**
|
|
5894
|
+
* The recommended icon library for use with Lime Elements is the Windows 10 set
|
|
5895
|
+
* from Icons8 (https://icons8.com/icons/windows). This set is included in the
|
|
5896
|
+
* relevant Lime products. If you are using Lime Elements in a non-Lime product,
|
|
5897
|
+
* you will have to supply your own icons.
|
|
5898
|
+
* The size and color of the icon is set in CSS, however there are a few
|
|
5899
|
+
* standard sizes defined that can be used with the `size` property.
|
|
5900
|
+
* ### Setup
|
|
5901
|
+
* To use **@lundalogik/lime-icons8**, the `/assets` folder from
|
|
5902
|
+
* __@lundalogik/lime-icons8__ must be made available on the webserver.
|
|
5903
|
+
* To use a different icon set, the icons must be placed in a folder structure
|
|
5904
|
+
* that looks like this: `assets/icons/<name-of-icon>.svg`
|
|
5905
|
+
* If `assets` is placed in the root, no other setup is needed. The icons will
|
|
5906
|
+
* be fetched with a relative URL from `/assets/icons/<name-of-icon>.svg`.
|
|
5907
|
+
* If `assets` is placed in a sub-folder somewhere, the easiest way to make the
|
|
5908
|
+
* icons available is to use the HTML `base` element:
|
|
5909
|
+
* ```
|
|
5910
|
+
* <base href="/my/parent/path/">
|
|
5911
|
+
* ```
|
|
5912
|
+
* If this is not enough, or if the `base` element is already in use for
|
|
5913
|
+
* something else, a global icon path can be configured with the `limel-config`
|
|
5914
|
+
* element:
|
|
5915
|
+
* ```
|
|
5916
|
+
* <limel-config config={{iconPath: '/my/parent/path/'}} />
|
|
5917
|
+
* ```
|
|
5918
|
+
* ### Lime icons
|
|
5919
|
+
* There are icons included in the **@lundalogik/lime-icons8** package which are
|
|
5920
|
+
* designed by our designers at Lime.
|
|
5921
|
+
* The names of these icons start with `-lime-`, which makes them easy to
|
|
5922
|
+
* find using the Icon Finder tool below.
|
|
5923
|
+
* :::note
|
|
5924
|
+
* Some of the `-lime-` icons have multiple colors and use our own CSS variables
|
|
5925
|
+
* instead of HEX or RGB values to visualize their colors. Thus, you must import
|
|
5926
|
+
* our color palette css files into your project to render the icons properly.
|
|
5927
|
+
* Read more about our [Color System](#/DesignGuidelines/color-system.md/)
|
|
5928
|
+
* and how to do this.
|
|
5929
|
+
* :::
|
|
5930
|
+
* ### Icon Finder
|
|
5931
|
+
* Search for an icon and **click on it to copy its name to clipboard**.
|
|
5932
|
+
* <limel-example-icon-finder />
|
|
5933
|
+
* @exampleComponent limel-example-icon
|
|
5934
|
+
* @exampleComponent limel-example-icon-background
|
|
5935
|
+
*/
|
|
3414
5936
|
"limel-icon": LocalJSX.LimelIcon & JSXBase.HTMLAttributes<HTMLLimelIconElement>;
|
|
5937
|
+
/**
|
|
5938
|
+
* @exampleComponent limel-example-icon-button-basic
|
|
5939
|
+
* @exampleComponent limel-example-icon-button-disabled
|
|
5940
|
+
* @exampleComponent limel-example-icon-button-elevated
|
|
5941
|
+
* @exampleComponent limel-example-icon-button-toggle-state
|
|
5942
|
+
* @exampleComponent limel-example-icon-button-composite
|
|
5943
|
+
*/
|
|
3415
5944
|
"limel-icon-button": LocalJSX.LimelIconButton & JSXBase.HTMLAttributes<HTMLLimelIconButtonElement>;
|
|
5945
|
+
/**
|
|
5946
|
+
* This component can be used on places such as a start page or a dashboard.
|
|
5947
|
+
* It offers features for visualizing aggregated data along with supplementary
|
|
5948
|
+
* information.
|
|
5949
|
+
* If clicking on the component should navigate the user to
|
|
5950
|
+
* a new screen or web page, you need to provide a URL,
|
|
5951
|
+
* using the `link` property.
|
|
5952
|
+
* @exampleComponent limel-example-info-tile
|
|
5953
|
+
* @exampleComponent limel-example-info-tile-badge
|
|
5954
|
+
* @exampleComponent limel-example-info-tile-progress
|
|
5955
|
+
* @exampleComponent limel-example-info-tile-loading
|
|
5956
|
+
* @exampleComponent limel-example-info-tile-styling
|
|
5957
|
+
*/
|
|
3416
5958
|
"limel-info-tile": LocalJSX.LimelInfoTile & JSXBase.HTMLAttributes<HTMLLimelInfoTileElement>;
|
|
5959
|
+
/**
|
|
5960
|
+
* @exampleComponent limel-example-input-field-text
|
|
5961
|
+
* @exampleComponent limel-example-input-field-placeholder
|
|
5962
|
+
* @exampleComponent limel-example-input-field-text-multiple
|
|
5963
|
+
* @exampleComponent limel-example-input-field-number
|
|
5964
|
+
* @exampleComponent limel-example-input-field-autocomplete
|
|
5965
|
+
* @exampleComponent limel-example-input-field-icon-leading
|
|
5966
|
+
* @exampleComponent limel-example-input-field-icon-trailing
|
|
5967
|
+
* @exampleComponent limel-example-input-field-icon-both
|
|
5968
|
+
* @exampleComponent limel-example-input-field-showlink
|
|
5969
|
+
* @exampleComponent limel-example-input-field-error-icon
|
|
5970
|
+
* @exampleComponent limel-example-input-field-textarea
|
|
5971
|
+
* @exampleComponent limel-example-input-field-suffix
|
|
5972
|
+
* @exampleComponent limel-example-input-field-prefix
|
|
5973
|
+
* @exampleComponent limel-example-input-field-search
|
|
5974
|
+
* @exampleComponent limel-example-input-field-pattern
|
|
5975
|
+
* @exampleComponent limel-example-input-field-focus
|
|
5976
|
+
*/
|
|
3417
5977
|
"limel-input-field": LocalJSX.LimelInputField & JSXBase.HTMLAttributes<HTMLLimelInputFieldElement>;
|
|
5978
|
+
/**
|
|
5979
|
+
* @exampleComponent limel-example-linear-progress
|
|
5980
|
+
* @exampleComponent limel-example-linear-progress-color
|
|
5981
|
+
* @exampleComponent limel-example-linear-progress-indeterminate
|
|
5982
|
+
*/
|
|
3418
5983
|
"limel-linear-progress": LocalJSX.LimelLinearProgress & JSXBase.HTMLAttributes<HTMLLimelLinearProgressElement>;
|
|
5984
|
+
/**
|
|
5985
|
+
* @exampleComponent limel-example-list
|
|
5986
|
+
* @exampleComponent limel-example-list-secondary
|
|
5987
|
+
* @exampleComponent limel-example-list-selectable
|
|
5988
|
+
* @exampleComponent limel-example-list-icons
|
|
5989
|
+
* @exampleComponent limel-example-list-badge-icons
|
|
5990
|
+
* @exampleComponent limel-example-list-checkbox
|
|
5991
|
+
* @exampleComponent limel-example-list-checkbox-icons
|
|
5992
|
+
* @exampleComponent limel-example-list-radio-button
|
|
5993
|
+
* @exampleComponent limel-example-list-radio-button-icons
|
|
5994
|
+
* @exampleComponent limel-example-list-action
|
|
5995
|
+
* @exampleComponent limel-example-list-striped
|
|
5996
|
+
* @exampleComponent limel-example-list-badge-icons-with-multiple-lines
|
|
5997
|
+
* @exampleComponent limel-example-list-grid
|
|
5998
|
+
* @exampleComponent limel-example-list-primary-component
|
|
5999
|
+
*/
|
|
3419
6000
|
"limel-list": LocalJSX.LimelList & JSXBase.HTMLAttributes<HTMLLimelListElement>;
|
|
6001
|
+
/**
|
|
6002
|
+
* @exampleComponent limel-example-menu-basic
|
|
6003
|
+
* @exampleComponent limel-example-menu-disabled
|
|
6004
|
+
* @exampleComponent limel-example-menu-open-direction
|
|
6005
|
+
* @exampleComponent limel-example-menu-icons
|
|
6006
|
+
* @exampleComponent limel-example-menu-badge-icons
|
|
6007
|
+
* @exampleComponent limel-example-menu-grid
|
|
6008
|
+
* @exampleComponent limel-example-menu-hotkeys
|
|
6009
|
+
* @exampleComponent limel-example-menu-secondary-text
|
|
6010
|
+
* @exampleComponent limel-example-menu-notification
|
|
6011
|
+
* @exampleComponent limel-example-menu-composite
|
|
6012
|
+
*/
|
|
3420
6013
|
"limel-menu": LocalJSX.LimelMenu & JSXBase.HTMLAttributes<HTMLLimelMenuElement>;
|
|
6014
|
+
/**
|
|
6015
|
+
* @private
|
|
6016
|
+
*/
|
|
3421
6017
|
"limel-menu-list": LocalJSX.LimelMenuList & JSXBase.HTMLAttributes<HTMLLimelMenuListElement>;
|
|
6018
|
+
/**
|
|
6019
|
+
* @private
|
|
6020
|
+
*/
|
|
3422
6021
|
"limel-menu-surface": LocalJSX.LimelMenuSurface & JSXBase.HTMLAttributes<HTMLLimelMenuSurfaceElement>;
|
|
6022
|
+
/**
|
|
6023
|
+
* @exampleComponent limel-example-picker-single
|
|
6024
|
+
* @exampleComponent limel-example-picker-multiple
|
|
6025
|
+
* @exampleComponent limel-example-picker-icons
|
|
6026
|
+
* @exampleComponent limel-example-picker-empty-suggestions
|
|
6027
|
+
* @exampleComponent limel-example-picker-leading-icon
|
|
6028
|
+
* @exampleComponent limel-example-picker-static-actions
|
|
6029
|
+
* @exampleComponent limel-example-picker-composite
|
|
6030
|
+
*/
|
|
3423
6031
|
"limel-picker": LocalJSX.LimelPicker & JSXBase.HTMLAttributes<HTMLLimelPickerElement>;
|
|
6032
|
+
/**
|
|
6033
|
+
* A popover is an impermanent layer that is displayed on top of other content
|
|
6034
|
+
* when user taps an element that triggers the popover. This element can be
|
|
6035
|
+
* practically anything, a button, piece of text, and icon, etc.
|
|
6036
|
+
* Popovers are nonmodal, thus they don't have a semi-transparent backdrop layer
|
|
6037
|
+
* that darkens the content below them. Also for the same reason, they can be
|
|
6038
|
+
* dismissed by tapping or clicking another part of the screen, but not by a
|
|
6039
|
+
* clicking a button or link on the popover itself.
|
|
6040
|
+
* :::warning
|
|
6041
|
+
* The component is emitting a close event when you click outside its container
|
|
6042
|
+
* or press the <kbd>Esc</kbd> key. However, it’s up to you as consumer to react
|
|
6043
|
+
* properly on this event and hide the component (preferably by setting the
|
|
6044
|
+
* property `open` to `false`).
|
|
6045
|
+
* :::
|
|
6046
|
+
* ## Usage
|
|
6047
|
+
* Use a popover to show **options** or **information** related to the trigger
|
|
6048
|
+
* onscreen. A typical use case for popovers is a tooltip, in which you show
|
|
6049
|
+
* help text or contextual information to users.
|
|
6050
|
+
* Popovers are most appropriate on larger screens but can be used on smaller
|
|
6051
|
+
* screens too, as long as their content is responsive and takes into account
|
|
6052
|
+
* the context they are displayed on.
|
|
6053
|
+
* When a popover is displayed, interactions with other controls are blocked,
|
|
6054
|
+
* until user dismisses the popover.
|
|
6055
|
+
* ## Layout
|
|
6056
|
+
* Popovers has only one slot in which you can import a custom web-component.
|
|
6057
|
+
* :::note
|
|
6058
|
+
* You must make sure that web-components that you import into the slot has
|
|
6059
|
+
* a `width: 100%;` style so that it can horizontally stretch across the popover.
|
|
6060
|
+
* However, `width` of the popover can be controlled by specifying a CSS variable
|
|
6061
|
+
* of `--popover-surface-width`. If you don't specify any width, the popover
|
|
6062
|
+
* will grow as wide as its content.
|
|
6063
|
+
* :::
|
|
6064
|
+
* :::important
|
|
6065
|
+
* Do not make a popover too big. They should never take over the entire screen.
|
|
6066
|
+
* If your content is that big, you should probably be using a Modal instead.
|
|
6067
|
+
* :::
|
|
6068
|
+
* @exampleComponent limel-example-popover
|
|
6069
|
+
*/
|
|
3424
6070
|
"limel-popover": LocalJSX.LimelPopover & JSXBase.HTMLAttributes<HTMLLimelPopoverElement>;
|
|
6071
|
+
/**
|
|
6072
|
+
* @private
|
|
6073
|
+
*/
|
|
3425
6074
|
"limel-popover-surface": LocalJSX.LimelPopoverSurface & JSXBase.HTMLAttributes<HTMLLimelPopoverSurfaceElement>;
|
|
6075
|
+
/**
|
|
6076
|
+
* The portal component provides a way to render children into a DOM node that
|
|
6077
|
+
* exist outside the DOM hierarchy of the parent component.
|
|
6078
|
+
* There are some caveats when using this component
|
|
6079
|
+
* Events might not bubble up as expected since the content is moved out to
|
|
6080
|
+
* another DOM node.
|
|
6081
|
+
* Any styling that is applied to content from the parent will be lost, if the
|
|
6082
|
+
* content is just another web compoent it will work without any issues.
|
|
6083
|
+
* Alternatively, use the
|
|
6084
|
+
* `style=""` html attribute.
|
|
6085
|
+
* Any component that is placed inside the container must have a style of
|
|
6086
|
+
* `max-height: inherit`. This ensures that its placement is calculated
|
|
6087
|
+
* correctly in relation to the trigger, and that it never covers its own
|
|
6088
|
+
* trigger.
|
|
6089
|
+
* When the node is moved in the DOM, `disconnectedCallback` and
|
|
6090
|
+
* `connectedCallback` will be invoked, so if `disconnectedCallback` is used
|
|
6091
|
+
* to do any tear-down, the appropriate setup will have to be done again on
|
|
6092
|
+
* `connectedCallback`.
|
|
6093
|
+
* @private
|
|
6094
|
+
* @exampleComponent limel-example-portal
|
|
6095
|
+
*/
|
|
3426
6096
|
"limel-portal": LocalJSX.LimelPortal & JSXBase.HTMLAttributes<HTMLLimelPortalElement>;
|
|
6097
|
+
/**
|
|
6098
|
+
* @exampleComponent limel-example-progress-flow-basic
|
|
6099
|
+
* @exampleComponent limel-example-progress-flow-secondary-text
|
|
6100
|
+
* @exampleComponent limel-example-progress-flow-disabled-step
|
|
6101
|
+
* @exampleComponent limel-example-progress-flow-colors
|
|
6102
|
+
* @exampleComponent limel-example-progress-flow-colors-css
|
|
6103
|
+
* @exampleComponent limel-example-progress-flow-off-progress-steps
|
|
6104
|
+
* @exampleComponent limel-example-progress-flow-narrow
|
|
6105
|
+
*/
|
|
3427
6106
|
"limel-progress-flow": LocalJSX.LimelProgressFlow & JSXBase.HTMLAttributes<HTMLLimelProgressFlowElement>;
|
|
6107
|
+
/**
|
|
6108
|
+
* @private
|
|
6109
|
+
*/
|
|
3428
6110
|
"limel-progress-flow-item": LocalJSX.LimelProgressFlowItem & JSXBase.HTMLAttributes<HTMLLimelProgressFlowItemElement>;
|
|
6111
|
+
/**
|
|
6112
|
+
* @exampleComponent limel-example-select
|
|
6113
|
+
* @exampleComponent limel-example-select-with-icons
|
|
6114
|
+
* @exampleComponent limel-example-select-multiple
|
|
6115
|
+
* @exampleComponent limel-example-select-with-empty-option
|
|
6116
|
+
* @exampleComponent limel-example-select-preselected
|
|
6117
|
+
* @exampleComponent limel-example-select-change-options
|
|
6118
|
+
* @exampleComponent limel-example-select-narrow
|
|
6119
|
+
* @exampleComponent limel-example-select-dialog
|
|
6120
|
+
*/
|
|
3429
6121
|
"limel-select": LocalJSX.LimelSelect & JSXBase.HTMLAttributes<HTMLLimelSelectElement>;
|
|
6122
|
+
/**
|
|
6123
|
+
* This component can be used on places such as a start page or a dashboard.
|
|
6124
|
+
* Clicking on the component should navigate the user to a new screen,
|
|
6125
|
+
* to which you need to provide a URL, by specifying an `href` for the `link` property.
|
|
6126
|
+
* By default, this navigation will happen within the same browser tab.
|
|
6127
|
+
* However, it is possible to override that behavior, by specifying a `target`
|
|
6128
|
+
* for the `link` property
|
|
6129
|
+
* @exampleComponent limel-example-shortcut
|
|
6130
|
+
* @exampleComponent limel-example-shortcut-notification
|
|
6131
|
+
* @exampleComponent limel-example-shortcut-styling
|
|
6132
|
+
* @exampleComponent limel-example-shortcut-with-click-handler
|
|
6133
|
+
*/
|
|
3430
6134
|
"limel-shortcut": LocalJSX.LimelShortcut & JSXBase.HTMLAttributes<HTMLLimelShortcutElement>;
|
|
6135
|
+
/**
|
|
6136
|
+
* @exampleComponent limel-example-slider
|
|
6137
|
+
* @exampleComponent limel-example-slider-multiplier
|
|
6138
|
+
* @exampleComponent limel-example-slider-multiplier-percentage-colors
|
|
6139
|
+
* @exampleComponent limel-example-slider-composite
|
|
6140
|
+
*/
|
|
3431
6141
|
"limel-slider": LocalJSX.LimelSlider & JSXBase.HTMLAttributes<HTMLLimelSliderElement>;
|
|
6142
|
+
/**
|
|
6143
|
+
* A Snackbar –also known as "Toast"– is used to inform the end user
|
|
6144
|
+
* about an action or a process in the system.
|
|
6145
|
+
* The information could vary from announcing that a process has just started,
|
|
6146
|
+
* is taking place now, has ended, or has been interrupted or canceled.
|
|
6147
|
+
* The information that you provide using a snackbar should be:
|
|
6148
|
+
* - temporary
|
|
6149
|
+
* - contextual
|
|
6150
|
+
* - short
|
|
6151
|
+
* - and most importantly, ignorable.
|
|
6152
|
+
* It means if the user misses the information, it shouldn't be a big deal.
|
|
6153
|
+
* :::note
|
|
6154
|
+
* If the information you want to display has a higher importance or priority,
|
|
6155
|
+
* and you need to make sure that the user takes an action to dismiss it,
|
|
6156
|
+
* consider using the [Banner](/#/component/limel-banner/) component instead.
|
|
6157
|
+
* For more complex interactions and for delivering more detailed information,
|
|
6158
|
+
* [Dialog](/#/component/limel-dialog/) is a better choice.
|
|
6159
|
+
* :::
|
|
6160
|
+
* @exampleComponent limel-example-snackbar
|
|
6161
|
+
* @exampleComponent limel-example-snackbar-dismissible
|
|
6162
|
+
* @exampleComponent limel-example-snackbar-with-action
|
|
6163
|
+
* @exampleComponent limel-example-snackbar-with-changing-messages
|
|
6164
|
+
* @exampleComponent limel-example-snackbar-positioning
|
|
6165
|
+
*/
|
|
3432
6166
|
"limel-snackbar": LocalJSX.LimelSnackbar & JSXBase.HTMLAttributes<HTMLLimelSnackbarElement>;
|
|
6167
|
+
/**
|
|
6168
|
+
* @exampleComponent limel-example-spinner
|
|
6169
|
+
* @exampleComponent limel-example-spinner-color
|
|
6170
|
+
* @exampleComponent limel-example-spinner-size
|
|
6171
|
+
*/
|
|
3433
6172
|
"limel-spinner": LocalJSX.LimelSpinner & JSXBase.HTMLAttributes<HTMLLimelSpinnerElement>;
|
|
6173
|
+
/**
|
|
6174
|
+
* A split button is a button with two components:
|
|
6175
|
+
* a button and a side-menu attached to it.
|
|
6176
|
+
* Clicking on the button runs a default action,
|
|
6177
|
+
* and clicking on the arrow opens up a list of other possible actions.
|
|
6178
|
+
* :::warning
|
|
6179
|
+
* - Never use a split button for navigation purposes, such as going to next page.
|
|
6180
|
+
* The button should only be used for performing commands!
|
|
6181
|
+
* - Never use this component instead of a Select or Menu component!
|
|
6182
|
+
* :::
|
|
6183
|
+
* @exampleComponent limel-example-split-button-basic
|
|
6184
|
+
* @exampleComponent limel-example-split-button-repeat-default-command
|
|
6185
|
+
*/
|
|
3434
6186
|
"limel-split-button": LocalJSX.LimelSplitButton & JSXBase.HTMLAttributes<HTMLLimelSplitButtonElement>;
|
|
6187
|
+
/**
|
|
6188
|
+
* @exampleComponent limel-example-switch
|
|
6189
|
+
*/
|
|
3435
6190
|
"limel-switch": LocalJSX.LimelSwitch & JSXBase.HTMLAttributes<HTMLLimelSwitchElement>;
|
|
6191
|
+
/**
|
|
6192
|
+
* Tabs are great to organize information hierarchically in the interface and divide it into distinct categories. Using tabs, you can create groups of content that are related and at the same level in the hierarchy.
|
|
6193
|
+
* :::warning
|
|
6194
|
+
* Tab bars should be strictly used for navigation at the top levels.
|
|
6195
|
+
* They should never be used to perform actions, or navigate away from the view which contains them.
|
|
6196
|
+
* :::
|
|
6197
|
+
* An exception for using tab bars in a high level of hierarchy is their usage in modals. This is because modals are perceived as a separate place and not a part of the current context. Therefore you can use tab bars in a modal to group and organize its content.
|
|
6198
|
+
* A tab bar can contain an unlimited number of tabs. However, depending on the device width and width of the tabs, the number of tabs that are visible at the same time will vary. When there is limited horizontal space, the component shows a left-arrow and/or right-arrow button, which scrolls and reveals the additional tabs. The tab bar can also be swiped left and right on a touch-device.
|
|
6199
|
+
* :::tip Other things to consider
|
|
6200
|
+
* Never divide the content of a tab using a nested tab bar.
|
|
6201
|
+
* Never place two tab bars within the same screen.
|
|
6202
|
+
* Never use background color for icons in tabs.
|
|
6203
|
+
* Avoid having long labels for tabs.
|
|
6204
|
+
* A tab will never be removed or get disabled, even if there is no content under it.
|
|
6205
|
+
* :::
|
|
6206
|
+
* @exampleComponent limel-example-tab-bar
|
|
6207
|
+
* @exampleComponent limel-example-tab-bar-with-dynamic-tab-width
|
|
6208
|
+
* @exampleComponent limel-example-tab-bar-with-equal-tab-width
|
|
6209
|
+
*/
|
|
3436
6210
|
"limel-tab-bar": LocalJSX.LimelTabBar & JSXBase.HTMLAttributes<HTMLLimelTabBarElement>;
|
|
6211
|
+
/**
|
|
6212
|
+
* The `limel-tab-panel` component uses the `limel-tab-bar` component together
|
|
6213
|
+
* with custom slotted components and will display the content for the currently
|
|
6214
|
+
* active tab. Each slotted component must have an id equal to the id of the
|
|
6215
|
+
* corresponding tab it belongs to. These components should implement the
|
|
6216
|
+
* [TabPanelComponent](#/type/TabPanelComponent/) interface.
|
|
6217
|
+
* The `limel-tab-panel` component will automatically set each tab configuration
|
|
6218
|
+
* on the corresponding slotted component as a property named `tab` so that the
|
|
6219
|
+
* component can take action upon that. Sometimes it might be desirable to not
|
|
6220
|
+
* load data or render anything until the tab is active.
|
|
6221
|
+
* The slotted components can also emit the `changeTab` event to update anything
|
|
6222
|
+
* inside the actual tab, e.g. to change the icon, color or badge.
|
|
6223
|
+
* @exampleComponent limel-example-tab-panel
|
|
6224
|
+
*/
|
|
3437
6225
|
"limel-tab-panel": LocalJSX.LimelTabPanel & JSXBase.HTMLAttributes<HTMLLimelTabPanelElement>;
|
|
6226
|
+
/**
|
|
6227
|
+
* @exampleComponent limel-example-table
|
|
6228
|
+
* @exampleComponent limel-example-table-custom-components
|
|
6229
|
+
* @exampleComponent limel-example-table-header-menu
|
|
6230
|
+
* @exampleComponent limel-example-table-movable-columns
|
|
6231
|
+
* @exampleComponent limel-example-table-sorting-disabled
|
|
6232
|
+
* @exampleComponent limel-example-table-local
|
|
6233
|
+
* @exampleComponent limel-example-table-remote
|
|
6234
|
+
* @exampleComponent limel-example-table-activate-row
|
|
6235
|
+
* @exampleComponent limel-example-table-selectable-rows
|
|
6236
|
+
* @exampleComponent limel-example-table-default-sorted
|
|
6237
|
+
* @exampleComponent limel-example-table-layout-default
|
|
6238
|
+
* @exampleComponent limel-example-table-layout-stretch-last-column
|
|
6239
|
+
* @exampleComponent limel-example-table-layout-stretch-columns
|
|
6240
|
+
* @exampleComponent limel-example-table-layout-low-density
|
|
6241
|
+
* @exampleComponent limel-example-table-interactive-rows
|
|
6242
|
+
*/
|
|
3438
6243
|
"limel-table": LocalJSX.LimelTable & JSXBase.HTMLAttributes<HTMLLimelTableElement>;
|
|
6244
|
+
/**
|
|
6245
|
+
* A tooltip can be used to display a descriptive text for any element.
|
|
6246
|
+
* The displayed content must be a brief and supplemental string of text,
|
|
6247
|
+
* identifying the element or describing its function for the user,
|
|
6248
|
+
* helping them better understand unfamiliar objects that aren't described
|
|
6249
|
+
* directly in the UI.
|
|
6250
|
+
* ## Interaction
|
|
6251
|
+
* The tooltip appears after a slight delay, when the element is hovered;
|
|
6252
|
+
* and disappears as soon as the cursor leaves the element.
|
|
6253
|
+
* Therefore, users cannot interact with the tip, but if the trigger element
|
|
6254
|
+
* itself is interactive, it will remain interactible even with a tooltip bound
|
|
6255
|
+
* to it.
|
|
6256
|
+
* :::note
|
|
6257
|
+
* In order to display the tooltip, the tooltip element and its trigger element
|
|
6258
|
+
* must be within the same document or document fragment.
|
|
6259
|
+
* A good practice is to just place them next to each other like below:
|
|
6260
|
+
* ```html
|
|
6261
|
+
* <limel-button icon="search" id="tooltip-example" />
|
|
6262
|
+
* <limel-tooltip label="Search" elementId="tooltip-example" />
|
|
6263
|
+
* ```
|
|
6264
|
+
* :::
|
|
6265
|
+
* ## Usage
|
|
6266
|
+
* - Keep in mind that tooltips can be distracting, and can be perceived as an interruption.
|
|
6267
|
+
* Use them only when they add significant value.
|
|
6268
|
+
* - A good tip is concise, helpful, and informative.
|
|
6269
|
+
* Don't explain the obvious or simply repeat what is already on the screen.
|
|
6270
|
+
* When used correctly, supplemental info of a tooltip helps to [declutter the UI](/#/DesignGuidelines/decluttering.md/).
|
|
6271
|
+
* - If the tip is essential to the primary tasks that the user is performing,
|
|
6272
|
+
* such as warnings or important notes, include the information directly in the
|
|
6273
|
+
* interface instead.
|
|
6274
|
+
* - When a component offers a helper text (e.g. [Input field](/#/component/limel-input-field/)),
|
|
6275
|
+
* use that, not a tooltip.
|
|
6276
|
+
* - Make sure to use the tooltip on an element that users naturally and
|
|
6277
|
+
* effortlessly recognize can be hovered.
|
|
6278
|
+
* @exampleComponent limel-example-tooltip
|
|
6279
|
+
* @exampleComponent limel-example-tooltip-max-character
|
|
6280
|
+
* @exampleComponent limel-example-tooltip-composite
|
|
6281
|
+
* @private
|
|
6282
|
+
*/
|
|
3439
6283
|
"limel-tooltip": LocalJSX.LimelTooltip & JSXBase.HTMLAttributes<HTMLLimelTooltipElement>;
|
|
6284
|
+
/**
|
|
6285
|
+
* This component is used internally by `limel-tooltip`.
|
|
6286
|
+
* @private
|
|
6287
|
+
*/
|
|
3440
6288
|
"limel-tooltip-content": LocalJSX.LimelTooltipContent & JSXBase.HTMLAttributes<HTMLLimelTooltipContentElement>;
|
|
3441
6289
|
}
|
|
3442
6290
|
}
|