@limetech/lime-elements 38.31.1 → 38.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +1 -1
- package/dist/cjs/lime-elements.cjs.js +1 -1
- package/dist/cjs/limel-action-bar_2.cjs.entry.js +1 -1
- package/dist/cjs/limel-ai-avatar.cjs.entry.js +1 -1
- package/dist/cjs/limel-callout.cjs.entry.js +1 -1
- package/dist/cjs/limel-chart.cjs.entry.js +1 -1
- package/dist/cjs/limel-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/limel-chip_2.cjs.entry.js +1 -1
- package/dist/cjs/limel-collapsible-section.cjs.entry.js +1 -1
- package/dist/cjs/limel-color-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/limel-drag-handle.cjs.entry.js +34 -0
- package/dist/cjs/limel-drag-handle.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-file-viewer.cjs.entry.js +1 -1
- package/dist/cjs/limel-file.cjs.entry.js +1 -1
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +1 -1
- package/dist/cjs/limel-form.cjs.entry.js +3227 -307
- package/dist/cjs/limel-form.cjs.entry.js.map +1 -1
- package/dist/cjs/limel-info-tile.cjs.entry.js +1 -1
- package/dist/cjs/limel-info-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/limel-linear-progress.cjs.entry.js +1 -1
- package/dist/cjs/limel-list-item.cjs.entry.js +1 -1
- package/dist/cjs/limel-portal_3.cjs.entry.js.map +1 -1
- package/dist/cjs/limel-profile-picture.cjs.entry.js +1 -1
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +1 -1
- package/dist/cjs/limel-snackbar.cjs.entry.js +1 -1
- package/dist/cjs/limel-snackbar.cjs.entry.js.map +1 -1
- package/dist/cjs/limel-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/limel-table.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{translations-d2be6dd7.js → translations-a42886f2.js} +17 -1
- package/dist/cjs/translations-a42886f2.js.map +1 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/action-bar/action-bar-item/action-bar-item.css +3 -0
- package/dist/collection/components/action-bar/action-bar.css +3 -0
- package/dist/collection/components/badge/badge.css +3 -0
- package/dist/collection/components/breadcrumbs/breadcrumbs.css +3 -0
- package/dist/collection/components/button/button.css +3 -0
- package/dist/collection/components/button-group/button-group.css +3 -0
- package/dist/collection/components/card/card.css +3 -0
- package/dist/collection/components/chart/chart.css +6 -0
- package/dist/collection/components/checkbox/checkbox.css +3 -0
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js.map +1 -1
- package/dist/collection/components/chip/chip.css +3 -0
- package/dist/collection/components/chip-set/chip-set.css +6 -0
- package/dist/collection/components/circular-progress/circular-progress.css +3 -0
- package/dist/collection/components/code-editor/code-editor.css +3 -0
- package/dist/collection/components/collapsible-section/collapsible-section.css +3 -0
- package/dist/collection/components/color-picker/color-picker-palette.css +3 -0
- package/dist/collection/components/color-picker/color-picker.css +3 -0
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js.map +1 -1
- package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.css +3 -0
- package/dist/collection/components/dialog/dialog.css +3 -0
- package/dist/collection/components/dock/dock-button/dock-button.css +3 -0
- package/dist/collection/components/dock/dock.css +3 -0
- package/dist/collection/components/drag-handle/drag-handle.css +174 -0
- package/dist/collection/components/drag-handle/drag-handle.js +125 -0
- package/dist/collection/components/drag-handle/drag-handle.js.map +1 -0
- package/dist/collection/components/file/file.css +3 -0
- package/dist/collection/components/file-viewer/file-viewer.css +3 -0
- package/dist/collection/components/form/form.css +147 -20
- package/dist/collection/components/form/row/row.js +4 -1
- package/dist/collection/components/form/row/row.js.map +1 -1
- package/dist/collection/components/form/templates/array-field-collapsible-item.js +13 -16
- package/dist/collection/components/form/templates/array-field-collapsible-item.js.map +1 -1
- package/dist/collection/components/form/templates/array-field-simple-item.js +16 -49
- package/dist/collection/components/form/templates/array-field-simple-item.js.map +1 -1
- package/dist/collection/components/form/templates/array-field.js +306 -19
- package/dist/collection/components/form/templates/array-field.js.map +1 -1
- package/dist/collection/components/form/templates/common.js +3 -1
- package/dist/collection/components/form/templates/common.js.map +1 -1
- package/dist/collection/components/header/header.css +3 -0
- package/dist/collection/components/help/help.css +3 -0
- package/dist/collection/components/help/limel-help-content.css +3 -0
- package/dist/collection/components/icon-button/icon-button.css +3 -0
- package/dist/collection/components/info-tile/info-tile.css +3 -0
- package/dist/collection/components/input-field/input-field.css +3 -0
- package/dist/collection/components/list/list.css +6 -0
- package/dist/collection/components/list-item/list-item.css +3 -0
- package/dist/collection/components/list-item/menu-item-meta/menu-item-meta.css +3 -0
- package/dist/collection/components/markdown/markdown.css +3 -0
- package/dist/collection/components/menu-list/menu-list.css +6 -0
- package/dist/collection/components/notched-outline/notched-outline.css +3 -0
- package/dist/collection/components/popover-surface/popover-surface.css +3 -0
- package/dist/collection/components/profile-picture/profile-picture.css +3 -0
- package/dist/collection/components/progress-flow/progress-flow-item/progress-flow-item.css +3 -0
- package/dist/collection/components/radio-button-group/radio-button.css +3 -0
- package/dist/collection/components/select/select.css +6 -0
- package/dist/collection/components/shortcut/shortcut.css +3 -0
- package/dist/collection/components/slider/slider.css +3 -0
- package/dist/collection/components/snackbar/snackbar.js +2 -2
- package/dist/collection/components/snackbar/snackbar.js.map +1 -1
- package/dist/collection/components/split-button/split-button.css +3 -0
- package/dist/collection/components/switch/switch.css +3 -0
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/switch/switch.js.map +1 -1
- package/dist/collection/components/tab-bar/tab-bar.css +3 -0
- package/dist/collection/components/table/table.css +12 -0
- package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.css +3 -0
- package/dist/collection/components/text-editor/text-editor.css +3 -0
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js.map +1 -1
- package/dist/collection/style/mixins.scss +53 -0
- package/dist/collection/translations/da.js +2 -0
- package/dist/collection/translations/da.js.map +1 -1
- package/dist/collection/translations/de.js +2 -0
- package/dist/collection/translations/de.js.map +1 -1
- package/dist/collection/translations/en.js +2 -0
- package/dist/collection/translations/en.js.map +1 -1
- package/dist/collection/translations/fi.js +2 -0
- package/dist/collection/translations/fi.js.map +1 -1
- package/dist/collection/translations/fr.js +2 -0
- package/dist/collection/translations/fr.js.map +1 -1
- package/dist/collection/translations/nl.js +2 -0
- package/dist/collection/translations/nl.js.map +1 -1
- package/dist/collection/translations/no.js +2 -0
- package/dist/collection/translations/no.js.map +1 -1
- package/dist/collection/translations/sv.js +2 -0
- package/dist/collection/translations/sv.js.map +1 -1
- package/dist/esm/lime-elements.js +1 -1
- package/dist/esm/limel-action-bar_2.entry.js +1 -1
- package/dist/esm/limel-ai-avatar.entry.js +1 -1
- package/dist/esm/limel-callout.entry.js +1 -1
- package/dist/esm/limel-chart.entry.js +1 -1
- package/dist/esm/limel-checkbox.entry.js.map +1 -1
- package/dist/esm/limel-chip_2.entry.js +1 -1
- package/dist/esm/limel-collapsible-section.entry.js +1 -1
- package/dist/esm/limel-color-picker.entry.js.map +1 -1
- package/dist/esm/limel-drag-handle.entry.js +30 -0
- package/dist/esm/limel-drag-handle.entry.js.map +1 -0
- package/dist/esm/limel-file-viewer.entry.js +1 -1
- package/dist/esm/limel-file.entry.js +1 -1
- package/dist/esm/limel-flatpickr-adapter.entry.js +1 -1
- package/dist/esm/limel-form.entry.js +3221 -301
- package/dist/esm/limel-form.entry.js.map +1 -1
- package/dist/esm/limel-info-tile.entry.js +1 -1
- package/dist/esm/limel-info-tile.entry.js.map +1 -1
- package/dist/esm/limel-linear-progress.entry.js +1 -1
- package/dist/esm/limel-list-item.entry.js +1 -1
- package/dist/esm/limel-portal_3.entry.js.map +1 -1
- package/dist/esm/limel-profile-picture.entry.js +1 -1
- package/dist/esm/limel-prosemirror-adapter.entry.js +1 -1
- package/dist/esm/limel-snackbar.entry.js +1 -1
- package/dist/esm/limel-snackbar.entry.js.map +1 -1
- package/dist/esm/limel-switch.entry.js.map +1 -1
- package/dist/esm/limel-table.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{translations-91c611da.js → translations-9bfde9f4.js} +17 -1
- package/dist/esm/translations-9bfde9f4.js.map +1 -0
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/lime-elements.esm.js.map +1 -1
- package/dist/lime-elements/p-309d0652.entry.js +2 -0
- package/dist/lime-elements/{p-e6245ef7.entry.js.map → p-309d0652.entry.js.map} +1 -1
- package/dist/lime-elements/{p-f507000e.entry.js → p-31f1cb08.entry.js} +2 -2
- package/dist/lime-elements/{p-cc7f4c81.entry.js → p-3311eaf3.entry.js} +2 -2
- package/dist/lime-elements/{p-aeba4aa4.entry.js → p-40542ccc.entry.js} +2 -2
- package/dist/lime-elements/p-40542ccc.entry.js.map +1 -0
- package/dist/lime-elements/{p-d349e355.entry.js → p-42e889d8.entry.js} +2 -2
- package/dist/lime-elements/p-489d7f63.entry.js.map +1 -1
- package/dist/lime-elements/p-51d475d8.entry.js.map +1 -1
- package/dist/lime-elements/p-5df2361b.js +2 -0
- package/dist/lime-elements/p-5df2361b.js.map +1 -0
- package/dist/lime-elements/{p-b5abf284.entry.js → p-5e976a59.entry.js} +2 -2
- package/dist/lime-elements/{p-6c60172e.entry.js → p-787be044.entry.js} +2 -2
- package/dist/lime-elements/p-8539647d.entry.js.map +1 -1
- package/dist/lime-elements/p-8ea3b80a.entry.js +2 -0
- package/dist/lime-elements/p-8ea3b80a.entry.js.map +1 -0
- package/dist/lime-elements/{p-d1aa44e1.entry.js → p-92aa9610.entry.js} +2 -2
- package/dist/lime-elements/p-a1a32893.entry.js +27 -0
- package/dist/lime-elements/p-a1a32893.entry.js.map +1 -0
- package/dist/lime-elements/{p-8e3c4418.entry.js → p-aa1e7319.entry.js} +2 -2
- package/dist/lime-elements/{p-ed04acfc.entry.js → p-b0acf522.entry.js} +2 -2
- package/dist/lime-elements/p-b5a96409.entry.js.map +1 -1
- package/dist/lime-elements/{p-f83ebd28.entry.js → p-b7bbb6a5.entry.js} +2 -2
- package/dist/lime-elements/{p-eb396630.entry.js → p-cd2f780a.entry.js} +2 -2
- package/dist/lime-elements/{p-aae161ef.entry.js → p-d79c85e2.entry.js} +2 -2
- package/dist/lime-elements/{p-1b036add.entry.js → p-e00465fa.entry.js} +2 -2
- package/dist/lime-elements/{p-29c2cdc6.entry.js → p-ee5c4112.entry.js} +2 -2
- package/dist/lime-elements/{p-e6bb4d1a.entry.js → p-fbac230b.entry.js} +2 -2
- package/dist/lime-elements/style/mixins.scss +53 -0
- package/dist/scss/mixins.scss +53 -0
- package/dist/types/components/checkbox/checkbox.d.ts +1 -1
- package/dist/types/components/color-picker/color-picker.d.ts +1 -1
- package/dist/types/components/drag-handle/drag-handle.d.ts +46 -0
- package/dist/types/components/form/templates/array-field-collapsible-item.d.ts +3 -1
- package/dist/types/components/form/templates/array-field-simple-item.d.ts +5 -9
- package/dist/types/components/form/templates/array-field.d.ts +35 -4
- package/dist/types/components/form/templates/common.d.ts +3 -3
- package/dist/types/components/snackbar/snackbar.d.ts +2 -2
- package/dist/types/components/switch/switch.d.ts +1 -1
- package/dist/types/components/tooltip/tooltip.d.ts +2 -2
- package/dist/types/components.d.ts +141 -28
- package/dist/types/translations/da.d.ts +2 -0
- package/dist/types/translations/de.d.ts +2 -0
- package/dist/types/translations/en.d.ts +2 -0
- package/dist/types/translations/fi.d.ts +2 -0
- package/dist/types/translations/fr.d.ts +2 -0
- package/dist/types/translations/nl.d.ts +2 -0
- package/dist/types/translations/no.d.ts +2 -0
- package/dist/types/translations/sv.d.ts +2 -0
- package/package.json +5 -2
- package/dist/cjs/translations-d2be6dd7.js.map +0 -1
- package/dist/esm/translations-91c611da.js.map +0 -1
- package/dist/lime-elements/p-4c88e5d3.js +0 -2
- package/dist/lime-elements/p-4c88e5d3.js.map +0 -1
- package/dist/lime-elements/p-aeba4aa4.entry.js.map +0 -1
- package/dist/lime-elements/p-d6d66daa.entry.js +0 -21
- package/dist/lime-elements/p-d6d66daa.entry.js.map +0 -1
- package/dist/lime-elements/p-e6245ef7.entry.js +0 -2
- /package/dist/lime-elements/{p-f507000e.entry.js.map → p-31f1cb08.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-cc7f4c81.entry.js.map → p-3311eaf3.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-d349e355.entry.js.map → p-42e889d8.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-b5abf284.entry.js.map → p-5e976a59.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-6c60172e.entry.js.map → p-787be044.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-d1aa44e1.entry.js.map → p-92aa9610.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-8e3c4418.entry.js.map → p-aa1e7319.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-ed04acfc.entry.js.map → p-b0acf522.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-f83ebd28.entry.js.map → p-b7bbb6a5.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-eb396630.entry.js.map → p-cd2f780a.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-aae161ef.entry.js.map → p-d79c85e2.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-1b036add.entry.js.map → p-e00465fa.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-29c2cdc6.entry.js.map → p-ee5c4112.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-e6bb4d1a.entry.js.map → p-fbac230b.entry.js.map} +0 -0
|
@@ -27,7 +27,7 @@ interface CollapsibleItemProps {
|
|
|
27
27
|
*/
|
|
28
28
|
allowItemRemoval: boolean;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Whether this particular item can be reordered.
|
|
31
31
|
*/
|
|
32
32
|
allowItemReorder: boolean;
|
|
33
33
|
}
|
|
@@ -46,6 +46,8 @@ export declare class CollapsibleItemTemplate extends React.Component<Collapsible
|
|
|
46
46
|
class: string;
|
|
47
47
|
ref: (section: HTMLLimelCollapsibleSectionElement) => void;
|
|
48
48
|
'is-open': boolean;
|
|
49
|
+
'data-reorder-id': string;
|
|
50
|
+
'data-reorderable': string;
|
|
49
51
|
}, string | React.JSXElementConstructor<any>>;
|
|
50
52
|
private setActions;
|
|
51
53
|
private handleAction;
|
|
@@ -5,26 +5,22 @@ interface SimpleItemProps {
|
|
|
5
5
|
index: number;
|
|
6
6
|
allowItemRemoval: boolean;
|
|
7
7
|
allowItemReorder: boolean;
|
|
8
|
+
dataIndex: number;
|
|
8
9
|
}
|
|
9
10
|
export declare class SimpleItemTemplate extends React.Component<SimpleItemProps> {
|
|
10
11
|
props: SimpleItemProps;
|
|
11
12
|
constructor(props: SimpleItemProps);
|
|
12
13
|
private removeButton?;
|
|
13
|
-
private moveUpButton?;
|
|
14
|
-
private moveDownButton?;
|
|
15
14
|
componentWillUnmount(): void;
|
|
16
15
|
render(): React.DetailedReactHTMLElement<{
|
|
17
16
|
className: string;
|
|
17
|
+
'data-reorder-id': string;
|
|
18
|
+
'data-reorderable': string;
|
|
18
19
|
}, HTMLElement>;
|
|
20
|
+
private renderDragHandle;
|
|
19
21
|
private renderRemoveButton;
|
|
20
|
-
private renderMoveUpButton;
|
|
21
|
-
private renderMoveDownButton;
|
|
22
22
|
private handleRemove;
|
|
23
|
-
private
|
|
24
|
-
private handleMoveDown;
|
|
25
|
-
private setRemoveButton;
|
|
26
|
-
private setMoveUpButton;
|
|
27
|
-
private setMoveDownButton;
|
|
23
|
+
private readonly setRemoveButton;
|
|
28
24
|
}
|
|
29
25
|
export {};
|
|
30
26
|
//# sourceMappingURL=array-field-simple-item.d.ts.map
|
|
@@ -1,12 +1,43 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ArrayFieldTemplateProps } from './types';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
interface ArrayFieldTemplateState {
|
|
4
|
+
order: number[];
|
|
5
|
+
}
|
|
6
|
+
export declare class ArrayFieldTemplate extends React.Component<ArrayFieldTemplateProps, ArrayFieldTemplateState> {
|
|
7
|
+
private container?;
|
|
8
|
+
private sortable?;
|
|
9
|
+
private dragSnapshot?;
|
|
10
|
+
private draggedItemIndex?;
|
|
11
|
+
private dropElevationTimeout?;
|
|
12
|
+
private dropElevationTarget?;
|
|
13
|
+
private itemByIndex;
|
|
5
14
|
constructor(props: ArrayFieldTemplateProps);
|
|
15
|
+
componentWillUnmount(): void;
|
|
16
|
+
componentDidMount(): void;
|
|
17
|
+
componentDidUpdate(previousProps: ArrayFieldTemplateProps): void;
|
|
6
18
|
render(): React.DetailedReactHTMLElement<{}, HTMLElement>;
|
|
7
19
|
private renderAddButton;
|
|
8
|
-
private renderItem;
|
|
9
20
|
private getItemControls;
|
|
10
|
-
private handleAddClick;
|
|
21
|
+
private readonly handleAddClick;
|
|
22
|
+
private renderItem;
|
|
23
|
+
private readonly setContainer;
|
|
24
|
+
private getOrderedItems;
|
|
25
|
+
private readonly handleSortStart;
|
|
26
|
+
private readonly handleSortEnd;
|
|
27
|
+
private setupDragController;
|
|
28
|
+
private teardownDragController;
|
|
29
|
+
private canReorderItems;
|
|
30
|
+
private canRemoveItems;
|
|
31
|
+
private isItemReorderable;
|
|
32
|
+
private isIndexReorderable;
|
|
33
|
+
private getReorderableOrder;
|
|
34
|
+
private readOrderFromDom;
|
|
35
|
+
private getReorderId;
|
|
36
|
+
private applyDropElevation;
|
|
37
|
+
private scheduleDropElevationRemoval;
|
|
38
|
+
private clearDropElevationTimer;
|
|
39
|
+
private arraysEqual;
|
|
40
|
+
private extractIndices;
|
|
11
41
|
}
|
|
42
|
+
export {};
|
|
12
43
|
//# sourceMappingURL=array-field.d.ts.map
|
|
@@ -11,9 +11,9 @@ export declare function renderTitle(title: string): React.DetailedReactHTMLEleme
|
|
|
11
11
|
*
|
|
12
12
|
* @param description
|
|
13
13
|
*/
|
|
14
|
-
export declare function renderDescription(description: string): React.
|
|
15
|
-
|
|
16
|
-
},
|
|
14
|
+
export declare function renderDescription(description: string): React.ReactElement<{
|
|
15
|
+
value: string;
|
|
16
|
+
}, string | React.JSXElementConstructor<any>>;
|
|
17
17
|
/**
|
|
18
18
|
* Find a suitable title for a nested structure.
|
|
19
19
|
*
|
|
@@ -16,9 +16,9 @@ import { Languages } from '../date-picker/date.types';
|
|
|
16
16
|
* :::note
|
|
17
17
|
* If the information you want to display has a higher importance or priority,
|
|
18
18
|
* and you need to make sure that the user takes an action to dismiss it,
|
|
19
|
-
* consider using the [Banner](
|
|
19
|
+
* consider using the [Banner](#/component/limel-banner/) component instead.
|
|
20
20
|
* For more complex interactions and for delivering more detailed information,
|
|
21
|
-
* [Dialog](
|
|
21
|
+
* [Dialog](#/component/limel-dialog/) is a better choice.
|
|
22
22
|
* :::
|
|
23
23
|
*
|
|
24
24
|
* @exampleComponent limel-example-snackbar
|
|
@@ -11,7 +11,7 @@ import { Label } from '../dynamic-label/label.types';
|
|
|
11
11
|
* :::important
|
|
12
12
|
* Checkboxes are sometimes used interchangeably with switches in user interfaces.
|
|
13
13
|
* But there is an important difference between the two! Please read our guidelines about
|
|
14
|
-
* [Switch vs. Checkbox](
|
|
14
|
+
* [Switch vs. Checkbox](#/DesignGuidelines/switch-vs-checkbox.md/).
|
|
15
15
|
*
|
|
16
16
|
* @exampleComponent limel-example-switch
|
|
17
17
|
* @exampleComponent limel-example-switch-helper-text
|
|
@@ -31,11 +31,11 @@ import { OpenDirection } from '../menu/menu.types';
|
|
|
31
31
|
* Use them only when they add significant value.
|
|
32
32
|
* - A good tip is concise, helpful, and informative.
|
|
33
33
|
* Don't explain the obvious or simply repeat what is already on the screen.
|
|
34
|
-
* When used correctly, supplemental info of a tooltip helps to [declutter the UI](
|
|
34
|
+
* When used correctly, supplemental info of a tooltip helps to [declutter the UI](#/DesignGuidelines/decluttering.md/).
|
|
35
35
|
* - If the tip is essential to the primary tasks that the user is performing,
|
|
36
36
|
* such as warnings or important notes, include the information directly in the
|
|
37
37
|
* interface instead.
|
|
38
|
-
* - When a component offers a helper text (e.g. [Input field](
|
|
38
|
+
* - When a component offers a helper text (e.g. [Input field](#/component/limel-input-field/)),
|
|
39
39
|
* use that, not a tooltip.
|
|
40
40
|
* - Make sure to use the tooltip on an element that users naturally and
|
|
41
41
|
* effortlessly recognize can be hovered.
|
|
@@ -537,7 +537,7 @@ export namespace Components {
|
|
|
537
537
|
* :::important
|
|
538
538
|
* Checkboxes are sometimes used interchangeably with switches in user interfaces.
|
|
539
539
|
* But there is an important difference between the two! Please read our guidelines about
|
|
540
|
-
* [Switch vs. Checkbox](
|
|
540
|
+
* [Switch vs. Checkbox](#/DesignGuidelines/switch-vs-checkbox.md/).
|
|
541
541
|
* @exampleComponent limel-example-checkbox
|
|
542
542
|
* @exampleComponent limel-example-checkbox-helper-text
|
|
543
543
|
* @exampleComponent limel-example-checkbox-readonly
|
|
@@ -949,7 +949,7 @@ export namespace Components {
|
|
|
949
949
|
* and use it where desired.
|
|
950
950
|
* The color picker can also show you a preview of any valid color name or color value.
|
|
951
951
|
* :::note
|
|
952
|
-
* Make sure to read our [guidelines about usage of colors](
|
|
952
|
+
* Make sure to read our [guidelines about usage of colors](#/DesignGuidelines/color-system.md/) from our palette.
|
|
953
953
|
* :::
|
|
954
954
|
* @exampleComponent limel-example-color-picker-basic
|
|
955
955
|
* @exampleComponent limel-example-color-picker-custom-palette
|
|
@@ -1221,6 +1221,39 @@ export namespace Components {
|
|
|
1221
1221
|
*/
|
|
1222
1222
|
"useMobileLayout"?: boolean;
|
|
1223
1223
|
}
|
|
1224
|
+
/**
|
|
1225
|
+
* This component resembles a drag handle button, but is implemented
|
|
1226
|
+
* as a `private` component to allow for easier styling and future extensions.
|
|
1227
|
+
* :::important
|
|
1228
|
+
* This component has its `shadow` set to `false` in order to
|
|
1229
|
+
* integrate well with the drag-and-drop functionality, as well as
|
|
1230
|
+
* providing a better accessibility.
|
|
1231
|
+
* Keep in mind that its styles might be affected by the consumer
|
|
1232
|
+
* component, due to its light dom.
|
|
1233
|
+
* :::
|
|
1234
|
+
* :::tip
|
|
1235
|
+
* It's recommended to place the drag handle on the right side of
|
|
1236
|
+
* the item it is meant to reorder, to ensure consistent layout
|
|
1237
|
+
* design conventions.
|
|
1238
|
+
* :::
|
|
1239
|
+
* @exampleComponent limel-example-drag-handle-basic
|
|
1240
|
+
* @exampleComponent limel-example-drag-handle-horizontal
|
|
1241
|
+
* @private
|
|
1242
|
+
*/
|
|
1243
|
+
interface LimelDragHandle {
|
|
1244
|
+
/**
|
|
1245
|
+
* The direction in which the drag handle can be used to reorder items.
|
|
1246
|
+
*/
|
|
1247
|
+
"dragDirection": 'vertical' | 'horizontal';
|
|
1248
|
+
/**
|
|
1249
|
+
* Language to use for translations.
|
|
1250
|
+
*/
|
|
1251
|
+
"language": Languages;
|
|
1252
|
+
/**
|
|
1253
|
+
* The preferred direction for the tooltip to open. Defaults to 'left', as our recommended placement for a drag handle in the UI is on the far right side of draggable elements.
|
|
1254
|
+
*/
|
|
1255
|
+
"tooltipOpenDirection": OpenDirection;
|
|
1256
|
+
}
|
|
1224
1257
|
/**
|
|
1225
1258
|
* This components displays a different label depending on the current given
|
|
1226
1259
|
* value. A label can consist of a text and an optional icon. If no matching
|
|
@@ -2855,9 +2888,9 @@ export namespace Components {
|
|
|
2855
2888
|
* :::note
|
|
2856
2889
|
* If the information you want to display has a higher importance or priority,
|
|
2857
2890
|
* and you need to make sure that the user takes an action to dismiss it,
|
|
2858
|
-
* consider using the [Banner](
|
|
2891
|
+
* consider using the [Banner](#/component/limel-banner/) component instead.
|
|
2859
2892
|
* For more complex interactions and for delivering more detailed information,
|
|
2860
|
-
* [Dialog](
|
|
2893
|
+
* [Dialog](#/component/limel-dialog/) is a better choice.
|
|
2861
2894
|
* :::
|
|
2862
2895
|
* @exampleComponent limel-example-snackbar
|
|
2863
2896
|
* @exampleComponent limel-example-snackbar-with-action
|
|
@@ -2971,7 +3004,7 @@ export namespace Components {
|
|
|
2971
3004
|
* :::important
|
|
2972
3005
|
* Checkboxes are sometimes used interchangeably with switches in user interfaces.
|
|
2973
3006
|
* But there is an important difference between the two! Please read our guidelines about
|
|
2974
|
-
* [Switch vs. Checkbox](
|
|
3007
|
+
* [Switch vs. Checkbox](#/DesignGuidelines/switch-vs-checkbox.md/).
|
|
2975
3008
|
* @exampleComponent limel-example-switch
|
|
2976
3009
|
* @exampleComponent limel-example-switch-helper-text
|
|
2977
3010
|
* @exampleComponent limel-example-switch-readonly
|
|
@@ -3269,11 +3302,11 @@ export namespace Components {
|
|
|
3269
3302
|
* Use them only when they add significant value.
|
|
3270
3303
|
* - A good tip is concise, helpful, and informative.
|
|
3271
3304
|
* Don't explain the obvious or simply repeat what is already on the screen.
|
|
3272
|
-
* When used correctly, supplemental info of a tooltip helps to [declutter the UI](
|
|
3305
|
+
* When used correctly, supplemental info of a tooltip helps to [declutter the UI](#/DesignGuidelines/decluttering.md/).
|
|
3273
3306
|
* - If the tip is essential to the primary tasks that the user is performing,
|
|
3274
3307
|
* such as warnings or important notes, include the information directly in the
|
|
3275
3308
|
* interface instead.
|
|
3276
|
-
* - When a component offers a helper text (e.g. [Input field](
|
|
3309
|
+
* - When a component offers a helper text (e.g. [Input field](#/component/limel-input-field/)),
|
|
3277
3310
|
* use that, not a tooltip.
|
|
3278
3311
|
* - Make sure to use the tooltip on an element that users naturally and
|
|
3279
3312
|
* effortlessly recognize can be hovered.
|
|
@@ -3790,7 +3823,7 @@ declare global {
|
|
|
3790
3823
|
* :::important
|
|
3791
3824
|
* Checkboxes are sometimes used interchangeably with switches in user interfaces.
|
|
3792
3825
|
* But there is an important difference between the two! Please read our guidelines about
|
|
3793
|
-
* [Switch vs. Checkbox](
|
|
3826
|
+
* [Switch vs. Checkbox](#/DesignGuidelines/switch-vs-checkbox.md/).
|
|
3794
3827
|
* @exampleComponent limel-example-checkbox
|
|
3795
3828
|
* @exampleComponent limel-example-checkbox-helper-text
|
|
3796
3829
|
* @exampleComponent limel-example-checkbox-readonly
|
|
@@ -3958,7 +3991,7 @@ declare global {
|
|
|
3958
3991
|
* and use it where desired.
|
|
3959
3992
|
* The color picker can also show you a preview of any valid color name or color value.
|
|
3960
3993
|
* :::note
|
|
3961
|
-
* Make sure to read our [guidelines about usage of colors](
|
|
3994
|
+
* Make sure to read our [guidelines about usage of colors](#/DesignGuidelines/color-system.md/) from our palette.
|
|
3962
3995
|
* :::
|
|
3963
3996
|
* @exampleComponent limel-example-color-picker-basic
|
|
3964
3997
|
* @exampleComponent limel-example-color-picker-custom-palette
|
|
@@ -4070,6 +4103,31 @@ declare global {
|
|
|
4070
4103
|
prototype: HTMLLimelDockButtonElement;
|
|
4071
4104
|
new (): HTMLLimelDockButtonElement;
|
|
4072
4105
|
};
|
|
4106
|
+
/**
|
|
4107
|
+
* This component resembles a drag handle button, but is implemented
|
|
4108
|
+
* as a `private` component to allow for easier styling and future extensions.
|
|
4109
|
+
* :::important
|
|
4110
|
+
* This component has its `shadow` set to `false` in order to
|
|
4111
|
+
* integrate well with the drag-and-drop functionality, as well as
|
|
4112
|
+
* providing a better accessibility.
|
|
4113
|
+
* Keep in mind that its styles might be affected by the consumer
|
|
4114
|
+
* component, due to its light dom.
|
|
4115
|
+
* :::
|
|
4116
|
+
* :::tip
|
|
4117
|
+
* It's recommended to place the drag handle on the right side of
|
|
4118
|
+
* the item it is meant to reorder, to ensure consistent layout
|
|
4119
|
+
* design conventions.
|
|
4120
|
+
* :::
|
|
4121
|
+
* @exampleComponent limel-example-drag-handle-basic
|
|
4122
|
+
* @exampleComponent limel-example-drag-handle-horizontal
|
|
4123
|
+
* @private
|
|
4124
|
+
*/
|
|
4125
|
+
interface HTMLLimelDragHandleElement extends Components.LimelDragHandle, HTMLStencilElement {
|
|
4126
|
+
}
|
|
4127
|
+
var HTMLLimelDragHandleElement: {
|
|
4128
|
+
prototype: HTMLLimelDragHandleElement;
|
|
4129
|
+
new (): HTMLLimelDragHandleElement;
|
|
4130
|
+
};
|
|
4073
4131
|
/**
|
|
4074
4132
|
* This components displays a different label depending on the current given
|
|
4075
4133
|
* value. A label can consist of a text and an optional icon. If no matching
|
|
@@ -4882,9 +4940,9 @@ declare global {
|
|
|
4882
4940
|
* :::note
|
|
4883
4941
|
* If the information you want to display has a higher importance or priority,
|
|
4884
4942
|
* and you need to make sure that the user takes an action to dismiss it,
|
|
4885
|
-
* consider using the [Banner](
|
|
4943
|
+
* consider using the [Banner](#/component/limel-banner/) component instead.
|
|
4886
4944
|
* For more complex interactions and for delivering more detailed information,
|
|
4887
|
-
* [Dialog](
|
|
4945
|
+
* [Dialog](#/component/limel-dialog/) is a better choice.
|
|
4888
4946
|
* :::
|
|
4889
4947
|
* @exampleComponent limel-example-snackbar
|
|
4890
4948
|
* @exampleComponent limel-example-snackbar-with-action
|
|
@@ -4940,7 +4998,7 @@ declare global {
|
|
|
4940
4998
|
* :::important
|
|
4941
4999
|
* Checkboxes are sometimes used interchangeably with switches in user interfaces.
|
|
4942
5000
|
* But there is an important difference between the two! Please read our guidelines about
|
|
4943
|
-
* [Switch vs. Checkbox](
|
|
5001
|
+
* [Switch vs. Checkbox](#/DesignGuidelines/switch-vs-checkbox.md/).
|
|
4944
5002
|
* @exampleComponent limel-example-switch
|
|
4945
5003
|
* @exampleComponent limel-example-switch-helper-text
|
|
4946
5004
|
* @exampleComponent limel-example-switch-readonly
|
|
@@ -5086,11 +5144,11 @@ declare global {
|
|
|
5086
5144
|
* Use them only when they add significant value.
|
|
5087
5145
|
* - A good tip is concise, helpful, and informative.
|
|
5088
5146
|
* Don't explain the obvious or simply repeat what is already on the screen.
|
|
5089
|
-
* When used correctly, supplemental info of a tooltip helps to [declutter the UI](
|
|
5147
|
+
* When used correctly, supplemental info of a tooltip helps to [declutter the UI](#/DesignGuidelines/decluttering.md/).
|
|
5090
5148
|
* - If the tip is essential to the primary tasks that the user is performing,
|
|
5091
5149
|
* such as warnings or important notes, include the information directly in the
|
|
5092
5150
|
* interface instead.
|
|
5093
|
-
* - When a component offers a helper text (e.g. [Input field](
|
|
5151
|
+
* - When a component offers a helper text (e.g. [Input field](#/component/limel-input-field/)),
|
|
5094
5152
|
* use that, not a tooltip.
|
|
5095
5153
|
* - Make sure to use the tooltip on an element that users naturally and
|
|
5096
5154
|
* effortlessly recognize can be hovered.
|
|
@@ -5141,6 +5199,7 @@ declare global {
|
|
|
5141
5199
|
"limel-dialog": HTMLLimelDialogElement;
|
|
5142
5200
|
"limel-dock": HTMLLimelDockElement;
|
|
5143
5201
|
"limel-dock-button": HTMLLimelDockButtonElement;
|
|
5202
|
+
"limel-drag-handle": HTMLLimelDragHandleElement;
|
|
5144
5203
|
"limel-dynamic-label": HTMLLimelDynamicLabelElement;
|
|
5145
5204
|
"limel-file": HTMLLimelFileElement;
|
|
5146
5205
|
"limel-file-dropzone": HTMLLimelFileDropzoneElement;
|
|
@@ -5660,7 +5719,7 @@ declare namespace LocalJSX {
|
|
|
5660
5719
|
* :::important
|
|
5661
5720
|
* Checkboxes are sometimes used interchangeably with switches in user interfaces.
|
|
5662
5721
|
* But there is an important difference between the two! Please read our guidelines about
|
|
5663
|
-
* [Switch vs. Checkbox](
|
|
5722
|
+
* [Switch vs. Checkbox](#/DesignGuidelines/switch-vs-checkbox.md/).
|
|
5664
5723
|
* @exampleComponent limel-example-checkbox
|
|
5665
5724
|
* @exampleComponent limel-example-checkbox-helper-text
|
|
5666
5725
|
* @exampleComponent limel-example-checkbox-readonly
|
|
@@ -6104,7 +6163,7 @@ declare namespace LocalJSX {
|
|
|
6104
6163
|
* and use it where desired.
|
|
6105
6164
|
* The color picker can also show you a preview of any valid color name or color value.
|
|
6106
6165
|
* :::note
|
|
6107
|
-
* Make sure to read our [guidelines about usage of colors](
|
|
6166
|
+
* Make sure to read our [guidelines about usage of colors](#/DesignGuidelines/color-system.md/) from our palette.
|
|
6108
6167
|
* :::
|
|
6109
6168
|
* @exampleComponent limel-example-color-picker-basic
|
|
6110
6169
|
* @exampleComponent limel-example-color-picker-custom-palette
|
|
@@ -6424,6 +6483,39 @@ declare namespace LocalJSX {
|
|
|
6424
6483
|
*/
|
|
6425
6484
|
"useMobileLayout"?: boolean;
|
|
6426
6485
|
}
|
|
6486
|
+
/**
|
|
6487
|
+
* This component resembles a drag handle button, but is implemented
|
|
6488
|
+
* as a `private` component to allow for easier styling and future extensions.
|
|
6489
|
+
* :::important
|
|
6490
|
+
* This component has its `shadow` set to `false` in order to
|
|
6491
|
+
* integrate well with the drag-and-drop functionality, as well as
|
|
6492
|
+
* providing a better accessibility.
|
|
6493
|
+
* Keep in mind that its styles might be affected by the consumer
|
|
6494
|
+
* component, due to its light dom.
|
|
6495
|
+
* :::
|
|
6496
|
+
* :::tip
|
|
6497
|
+
* It's recommended to place the drag handle on the right side of
|
|
6498
|
+
* the item it is meant to reorder, to ensure consistent layout
|
|
6499
|
+
* design conventions.
|
|
6500
|
+
* :::
|
|
6501
|
+
* @exampleComponent limel-example-drag-handle-basic
|
|
6502
|
+
* @exampleComponent limel-example-drag-handle-horizontal
|
|
6503
|
+
* @private
|
|
6504
|
+
*/
|
|
6505
|
+
interface LimelDragHandle {
|
|
6506
|
+
/**
|
|
6507
|
+
* The direction in which the drag handle can be used to reorder items.
|
|
6508
|
+
*/
|
|
6509
|
+
"dragDirection"?: 'vertical' | 'horizontal';
|
|
6510
|
+
/**
|
|
6511
|
+
* Language to use for translations.
|
|
6512
|
+
*/
|
|
6513
|
+
"language"?: Languages;
|
|
6514
|
+
/**
|
|
6515
|
+
* The preferred direction for the tooltip to open. Defaults to 'left', as our recommended placement for a drag handle in the UI is on the far right side of draggable elements.
|
|
6516
|
+
*/
|
|
6517
|
+
"tooltipOpenDirection"?: OpenDirection;
|
|
6518
|
+
}
|
|
6427
6519
|
/**
|
|
6428
6520
|
* This components displays a different label depending on the current given
|
|
6429
6521
|
* value. A label can consist of a text and an optional icon. If no matching
|
|
@@ -8197,9 +8289,9 @@ declare namespace LocalJSX {
|
|
|
8197
8289
|
* :::note
|
|
8198
8290
|
* If the information you want to display has a higher importance or priority,
|
|
8199
8291
|
* and you need to make sure that the user takes an action to dismiss it,
|
|
8200
|
-
* consider using the [Banner](
|
|
8292
|
+
* consider using the [Banner](#/component/limel-banner/) component instead.
|
|
8201
8293
|
* For more complex interactions and for delivering more detailed information,
|
|
8202
|
-
* [Dialog](
|
|
8294
|
+
* [Dialog](#/component/limel-dialog/) is a better choice.
|
|
8203
8295
|
* :::
|
|
8204
8296
|
* @exampleComponent limel-example-snackbar
|
|
8205
8297
|
* @exampleComponent limel-example-snackbar-with-action
|
|
@@ -8320,7 +8412,7 @@ declare namespace LocalJSX {
|
|
|
8320
8412
|
* :::important
|
|
8321
8413
|
* Checkboxes are sometimes used interchangeably with switches in user interfaces.
|
|
8322
8414
|
* But there is an important difference between the two! Please read our guidelines about
|
|
8323
|
-
* [Switch vs. Checkbox](
|
|
8415
|
+
* [Switch vs. Checkbox](#/DesignGuidelines/switch-vs-checkbox.md/).
|
|
8324
8416
|
* @exampleComponent limel-example-switch
|
|
8325
8417
|
* @exampleComponent limel-example-switch-helper-text
|
|
8326
8418
|
* @exampleComponent limel-example-switch-readonly
|
|
@@ -8711,11 +8803,11 @@ declare namespace LocalJSX {
|
|
|
8711
8803
|
* Use them only when they add significant value.
|
|
8712
8804
|
* - A good tip is concise, helpful, and informative.
|
|
8713
8805
|
* Don't explain the obvious or simply repeat what is already on the screen.
|
|
8714
|
-
* When used correctly, supplemental info of a tooltip helps to [declutter the UI](
|
|
8806
|
+
* When used correctly, supplemental info of a tooltip helps to [declutter the UI](#/DesignGuidelines/decluttering.md/).
|
|
8715
8807
|
* - If the tip is essential to the primary tasks that the user is performing,
|
|
8716
8808
|
* such as warnings or important notes, include the information directly in the
|
|
8717
8809
|
* interface instead.
|
|
8718
|
-
* - When a component offers a helper text (e.g. [Input field](
|
|
8810
|
+
* - When a component offers a helper text (e.g. [Input field](#/component/limel-input-field/)),
|
|
8719
8811
|
* use that, not a tooltip.
|
|
8720
8812
|
* - Make sure to use the tooltip on an element that users naturally and
|
|
8721
8813
|
* effortlessly recognize can be hovered.
|
|
@@ -8790,6 +8882,7 @@ declare namespace LocalJSX {
|
|
|
8790
8882
|
"limel-dialog": LimelDialog;
|
|
8791
8883
|
"limel-dock": LimelDock;
|
|
8792
8884
|
"limel-dock-button": LimelDockButton;
|
|
8885
|
+
"limel-drag-handle": LimelDragHandle;
|
|
8793
8886
|
"limel-dynamic-label": LimelDynamicLabel;
|
|
8794
8887
|
"limel-file": LimelFile;
|
|
8795
8888
|
"limel-file-dropzone": LimelFileDropzone;
|
|
@@ -9064,7 +9157,7 @@ declare module "@stencil/core" {
|
|
|
9064
9157
|
* :::important
|
|
9065
9158
|
* Checkboxes are sometimes used interchangeably with switches in user interfaces.
|
|
9066
9159
|
* But there is an important difference between the two! Please read our guidelines about
|
|
9067
|
-
* [Switch vs. Checkbox](
|
|
9160
|
+
* [Switch vs. Checkbox](#/DesignGuidelines/switch-vs-checkbox.md/).
|
|
9068
9161
|
* @exampleComponent limel-example-checkbox
|
|
9069
9162
|
* @exampleComponent limel-example-checkbox-helper-text
|
|
9070
9163
|
* @exampleComponent limel-example-checkbox-readonly
|
|
@@ -9202,7 +9295,7 @@ declare module "@stencil/core" {
|
|
|
9202
9295
|
* and use it where desired.
|
|
9203
9296
|
* The color picker can also show you a preview of any valid color name or color value.
|
|
9204
9297
|
* :::note
|
|
9205
|
-
* Make sure to read our [guidelines about usage of colors](
|
|
9298
|
+
* Make sure to read our [guidelines about usage of colors](#/DesignGuidelines/color-system.md/) from our palette.
|
|
9206
9299
|
* :::
|
|
9207
9300
|
* @exampleComponent limel-example-color-picker-basic
|
|
9208
9301
|
* @exampleComponent limel-example-color-picker-custom-palette
|
|
@@ -9279,6 +9372,26 @@ declare module "@stencil/core" {
|
|
|
9279
9372
|
* @private
|
|
9280
9373
|
*/
|
|
9281
9374
|
"limel-dock-button": LocalJSX.LimelDockButton & JSXBase.HTMLAttributes<HTMLLimelDockButtonElement>;
|
|
9375
|
+
/**
|
|
9376
|
+
* This component resembles a drag handle button, but is implemented
|
|
9377
|
+
* as a `private` component to allow for easier styling and future extensions.
|
|
9378
|
+
* :::important
|
|
9379
|
+
* This component has its `shadow` set to `false` in order to
|
|
9380
|
+
* integrate well with the drag-and-drop functionality, as well as
|
|
9381
|
+
* providing a better accessibility.
|
|
9382
|
+
* Keep in mind that its styles might be affected by the consumer
|
|
9383
|
+
* component, due to its light dom.
|
|
9384
|
+
* :::
|
|
9385
|
+
* :::tip
|
|
9386
|
+
* It's recommended to place the drag handle on the right side of
|
|
9387
|
+
* the item it is meant to reorder, to ensure consistent layout
|
|
9388
|
+
* design conventions.
|
|
9389
|
+
* :::
|
|
9390
|
+
* @exampleComponent limel-example-drag-handle-basic
|
|
9391
|
+
* @exampleComponent limel-example-drag-handle-horizontal
|
|
9392
|
+
* @private
|
|
9393
|
+
*/
|
|
9394
|
+
"limel-drag-handle": LocalJSX.LimelDragHandle & JSXBase.HTMLAttributes<HTMLLimelDragHandleElement>;
|
|
9282
9395
|
/**
|
|
9283
9396
|
* This components displays a different label depending on the current given
|
|
9284
9397
|
* value. A label can consist of a text and an optional icon. If no matching
|
|
@@ -9896,9 +10009,9 @@ declare module "@stencil/core" {
|
|
|
9896
10009
|
* :::note
|
|
9897
10010
|
* If the information you want to display has a higher importance or priority,
|
|
9898
10011
|
* and you need to make sure that the user takes an action to dismiss it,
|
|
9899
|
-
* consider using the [Banner](
|
|
10012
|
+
* consider using the [Banner](#/component/limel-banner/) component instead.
|
|
9900
10013
|
* For more complex interactions and for delivering more detailed information,
|
|
9901
|
-
* [Dialog](
|
|
10014
|
+
* [Dialog](#/component/limel-dialog/) is a better choice.
|
|
9902
10015
|
* :::
|
|
9903
10016
|
* @exampleComponent limel-example-snackbar
|
|
9904
10017
|
* @exampleComponent limel-example-snackbar-with-action
|
|
@@ -9939,7 +10052,7 @@ declare module "@stencil/core" {
|
|
|
9939
10052
|
* :::important
|
|
9940
10053
|
* Checkboxes are sometimes used interchangeably with switches in user interfaces.
|
|
9941
10054
|
* But there is an important difference between the two! Please read our guidelines about
|
|
9942
|
-
* [Switch vs. Checkbox](
|
|
10055
|
+
* [Switch vs. Checkbox](#/DesignGuidelines/switch-vs-checkbox.md/).
|
|
9943
10056
|
* @exampleComponent limel-example-switch
|
|
9944
10057
|
* @exampleComponent limel-example-switch-helper-text
|
|
9945
10058
|
* @exampleComponent limel-example-switch-readonly
|
|
@@ -10055,11 +10168,11 @@ declare module "@stencil/core" {
|
|
|
10055
10168
|
* Use them only when they add significant value.
|
|
10056
10169
|
* - A good tip is concise, helpful, and informative.
|
|
10057
10170
|
* Don't explain the obvious or simply repeat what is already on the screen.
|
|
10058
|
-
* When used correctly, supplemental info of a tooltip helps to [declutter the UI](
|
|
10171
|
+
* When used correctly, supplemental info of a tooltip helps to [declutter the UI](#/DesignGuidelines/decluttering.md/).
|
|
10059
10172
|
* - If the tip is essential to the primary tasks that the user is performing,
|
|
10060
10173
|
* such as warnings or important notes, include the information directly in the
|
|
10061
10174
|
* interface instead.
|
|
10062
|
-
* - When a component offers a helper text (e.g. [Input field](
|
|
10175
|
+
* - When a component offers a helper text (e.g. [Input field](#/component/limel-input-field/)),
|
|
10063
10176
|
* use that, not a tooltip.
|
|
10064
10177
|
* - Make sure to use the tooltip on an element that users naturally and
|
|
10065
10178
|
* effortlessly recognize can be hovered.
|
|
@@ -18,6 +18,8 @@ declare const _default: {
|
|
|
18
18
|
'date-picker.month.heading': string;
|
|
19
19
|
'date-picker.quarter.heading': string;
|
|
20
20
|
'date-picker.year.heading': string;
|
|
21
|
+
'drag-handle.drag-handle': string;
|
|
22
|
+
'drag-handle.drag-to-reorder': string;
|
|
21
23
|
'chip-set.clear-all': string;
|
|
22
24
|
'snackbar.dismiss': string;
|
|
23
25
|
'file.drag-and-drop-tips': string;
|
|
@@ -18,6 +18,8 @@ declare const _default: {
|
|
|
18
18
|
'date-picker.month.heading': string;
|
|
19
19
|
'date-picker.quarter.heading': string;
|
|
20
20
|
'date-picker.year.heading': string;
|
|
21
|
+
'drag-handle.drag-handle': string;
|
|
22
|
+
'drag-handle.drag-to-reorder': string;
|
|
21
23
|
'chip-set.clear-all': string;
|
|
22
24
|
'snackbar.dismiss': string;
|
|
23
25
|
'file.drag-and-drop-tips': string;
|
|
@@ -18,6 +18,8 @@ declare const _default: {
|
|
|
18
18
|
'date-picker.month.heading': string;
|
|
19
19
|
'date-picker.quarter.heading': string;
|
|
20
20
|
'date-picker.year.heading': string;
|
|
21
|
+
'drag-handle.drag-handle': string;
|
|
22
|
+
'drag-handle.drag-to-reorder': string;
|
|
21
23
|
'chip-set.clear-all': string;
|
|
22
24
|
'snackbar.dismiss': string;
|
|
23
25
|
'file.drag-and-drop-tips': string;
|
|
@@ -18,6 +18,8 @@ declare const _default: {
|
|
|
18
18
|
'date-picker.month.heading': string;
|
|
19
19
|
'date-picker.quarter.heading': string;
|
|
20
20
|
'date-picker.year.heading': string;
|
|
21
|
+
'drag-handle.drag-handle': string;
|
|
22
|
+
'drag-handle.drag-to-reorder': string;
|
|
21
23
|
'chip-set.clear-all': string;
|
|
22
24
|
'snackbar.dismiss': string;
|
|
23
25
|
'file.drag-and-drop-tips': string;
|
|
@@ -18,6 +18,8 @@ declare const _default: {
|
|
|
18
18
|
'date-picker.month.heading': string;
|
|
19
19
|
'date-picker.quarter.heading': string;
|
|
20
20
|
'date-picker.year.heading': string;
|
|
21
|
+
'drag-handle.drag-handle': string;
|
|
22
|
+
'drag-handle.drag-to-reorder': string;
|
|
21
23
|
'chip-set.clear-all': string;
|
|
22
24
|
'snackbar.dismiss': string;
|
|
23
25
|
'file.drag-and-drop-tips': string;
|
|
@@ -18,6 +18,8 @@ declare const _default: {
|
|
|
18
18
|
'date-picker.month.heading': string;
|
|
19
19
|
'date-picker.quarter.heading': string;
|
|
20
20
|
'date-picker.year.heading': string;
|
|
21
|
+
'drag-handle.drag-handle': string;
|
|
22
|
+
'drag-handle.drag-to-reorder': string;
|
|
21
23
|
'chip-set.clear-all': string;
|
|
22
24
|
'snackbar.dismiss': string;
|
|
23
25
|
'file.drag-and-drop-tips': string;
|
|
@@ -18,6 +18,8 @@ declare const _default: {
|
|
|
18
18
|
'date-picker.month.heading': string;
|
|
19
19
|
'date-picker.quarter.heading': string;
|
|
20
20
|
'date-picker.year.heading': string;
|
|
21
|
+
'drag-handle.drag-handle': string;
|
|
22
|
+
'drag-handle.drag-to-reorder': string;
|
|
21
23
|
'chip-set.clear-all': string;
|
|
22
24
|
'file.drag-and-drop-tips': string;
|
|
23
25
|
'file-viewer.message.unsupported-filetype': string;
|
|
@@ -18,6 +18,8 @@ declare const _default: {
|
|
|
18
18
|
'date-picker.month.heading': string;
|
|
19
19
|
'date-picker.quarter.heading': string;
|
|
20
20
|
'date-picker.year.heading': string;
|
|
21
|
+
'drag-handle.drag-handle': string;
|
|
22
|
+
'drag-handle.drag-to-reorder': string;
|
|
21
23
|
'chip-set.clear-all': string;
|
|
22
24
|
'snackbar.dismiss': string;
|
|
23
25
|
'file.drag-and-drop-tips': string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@limetech/lime-elements",
|
|
3
|
-
"version": "38.
|
|
3
|
+
"version": "38.32.0",
|
|
4
4
|
"description": "Lime Elements",
|
|
5
5
|
"author": "Lime Technologies",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -119,5 +119,8 @@
|
|
|
119
119
|
"engines": {
|
|
120
120
|
"node": ">=22"
|
|
121
121
|
},
|
|
122
|
-
"packageManager": "npm@>=10.9"
|
|
122
|
+
"packageManager": "npm@>=10.9",
|
|
123
|
+
"dependencies": {
|
|
124
|
+
"sortablejs": "^1.15.6"
|
|
125
|
+
}
|
|
123
126
|
}
|