@limetech/lime-elements 34.1.0-next.6 → 34.1.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/dist/cjs/{_arrayIncludesWith-d69e30af.js → _arrayIncludesWith-36a6fafb.js} +7 -6
- package/dist/cjs/{_assignValue-493aac17.js → _assignValue-c9fc3712.js} +2 -2
- package/dist/cjs/{_defineProperty-c081d04c.js → _defineProperty-8351e789.js} +4 -3
- package/dist/cjs/{checkbox.template-d4423721.js → checkbox.template-312308d8.js} +9 -1
- package/dist/cjs/eq-9a943b00.js +75 -0
- package/dist/cjs/{isArrayLike-2bebb99c.js → isArrayLike-ac53bdac.js} +1 -30
- package/dist/cjs/{isEqual-1ce0c121.js → isEqual-e3b9c27c.js} +21 -19
- package/dist/cjs/{eq-3b43a5ca.js → isObject-e28b7997.js} +0 -71
- package/dist/cjs/isObjectLike-3e3f0cba.js +31 -0
- package/dist/cjs/{isSymbol-4666002c.js → isSymbol-d22b2798.js} +3 -3
- package/dist/cjs/lime-elements.cjs.js +1 -1
- package/dist/cjs/limel-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/limel-chip-set.cjs.entry.js +50 -28
- package/dist/cjs/limel-code-editor.cjs.entry.js +1 -1
- package/dist/cjs/limel-color-picker-palette_2.cjs.entry.js +188 -0
- package/dist/cjs/limel-color-picker.cjs.entry.js +51 -0
- package/dist/cjs/limel-file.cjs.entry.js +1 -1
- package/dist/cjs/{limel-flatpickr-adapter_2.cjs.entry.js → limel-flatpickr-adapter.cjs.entry.js} +8 -801
- package/dist/cjs/limel-form.cjs.entry.js +59 -26
- package/dist/cjs/limel-grid.cjs.entry.js +1 -1
- package/dist/cjs/limel-input-field.cjs.entry.js +713 -0
- package/dist/cjs/limel-list_3.cjs.entry.js +2431 -0
- package/dist/cjs/limel-menu-list.cjs.entry.js +1 -1
- package/dist/cjs/limel-menu.cjs.entry.js +5 -4
- package/dist/cjs/limel-picker.cjs.entry.js +1 -1
- package/dist/cjs/limel-progress-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/limel-slider.cjs.entry.js +69 -13
- package/dist/cjs/limel-tab-bar.cjs.entry.js +7 -5
- package/dist/cjs/limel-table.cjs.entry.js +9 -7
- package/dist/cjs/{limel-tooltip.cjs.entry.js → limel-tooltip_2.cjs.entry.js} +16 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{pickBy-64252559.js → pickBy-88b0430a.js} +10 -10
- package/dist/cjs/toNumber-062ea29c.js +99 -0
- package/dist/cjs/{zipObject-2f430e94.js → zipObject-4050a45f.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/checkbox/checkbox.css +96 -0
- package/dist/collection/components/checkbox/checkbox.js +19 -1
- package/dist/collection/components/checkbox/checkbox.template.js +9 -1
- package/dist/collection/components/chip-set/chip-set.css +14 -0
- package/dist/collection/components/chip-set/chip-set.js +75 -35
- package/dist/collection/components/code-editor/code-editor.css +7 -0
- package/dist/collection/components/color-picker/color-picker-palette.css +1239 -0
- package/dist/collection/components/color-picker/color-picker-palette.js +135 -0
- package/dist/collection/components/color-picker/color-picker.css +108 -0
- package/dist/collection/components/color-picker/color-picker.js +189 -0
- package/dist/collection/components/color-picker/swatches.js +29 -0
- package/dist/collection/components/file/file.js +1 -1
- package/dist/collection/components/form/adapters/widget-adapter.js +4 -1
- package/dist/collection/components/form/form.js +50 -0
- package/dist/collection/components/form/templates/array-field-collapsible-item.js +8 -8
- package/dist/collection/components/form/templates/common.js +1 -1
- package/dist/collection/components/form/widgets/select.js +3 -4
- package/dist/collection/components/grid/grid.css +1 -1
- package/dist/collection/components/input-field/input-field.css +13 -0
- package/dist/collection/components/list/list-renderer.js +17 -0
- package/dist/collection/components/list/list.css +423 -3
- package/dist/collection/components/list/list.js +1 -0
- package/dist/collection/components/menu-list/menu-list.css +1408 -60
- package/dist/collection/components/picker/picker.js +18 -1
- package/dist/collection/components/progress-flow/progress-flow-item/progress-flow-item.css +1 -2
- package/dist/collection/components/slider/slider.js +69 -13
- package/dist/esm/{_arrayIncludesWith-3f5ce249.js → _arrayIncludesWith-b5d3fd9e.js} +5 -4
- package/dist/esm/{_assignValue-94fb6adc.js → _assignValue-08fe10bc.js} +2 -2
- package/dist/esm/{_defineProperty-cbf98a2a.js → _defineProperty-8c869077.js} +2 -1
- package/dist/esm/{checkbox.template-dbdd27c8.js → checkbox.template-4be69ce6.js} +9 -1
- package/dist/esm/eq-c1c7f528.js +72 -0
- package/dist/esm/{isArrayLike-14db8f02.js → isArrayLike-dd37ba9a.js} +2 -30
- package/dist/esm/{isEqual-4d982635.js → isEqual-4f22635f.js} +5 -3
- package/dist/esm/{eq-f40dd1d6.js → isObject-c74e273c.js} +1 -70
- package/dist/esm/isObjectLike-38996507.js +29 -0
- package/dist/esm/{isSymbol-84252d8e.js → isSymbol-5bf20921.js} +2 -2
- package/dist/esm/lime-elements.js +1 -1
- package/dist/esm/limel-checkbox.entry.js +3 -3
- package/dist/esm/limel-chip-set.entry.js +50 -28
- package/dist/esm/limel-code-editor.entry.js +1 -1
- package/dist/esm/limel-color-picker-palette_2.entry.js +183 -0
- package/dist/esm/limel-color-picker.entry.js +47 -0
- package/dist/esm/limel-file.entry.js +1 -1
- package/dist/esm/{limel-flatpickr-adapter_2.entry.js → limel-flatpickr-adapter.entry.js} +8 -800
- package/dist/esm/limel-form.entry.js +55 -22
- package/dist/esm/limel-grid.entry.js +1 -1
- package/dist/esm/limel-input-field.entry.js +709 -0
- package/dist/esm/limel-list_3.entry.js +2425 -0
- package/dist/esm/limel-menu-list.entry.js +1 -1
- package/dist/esm/limel-menu.entry.js +5 -4
- package/dist/esm/limel-picker.entry.js +1 -1
- package/dist/esm/limel-progress-flow-item.entry.js +1 -1
- package/dist/esm/limel-slider.entry.js +69 -13
- package/dist/esm/limel-tab-bar.entry.js +7 -5
- package/dist/esm/limel-table.entry.js +9 -7
- package/dist/esm/{limel-tooltip.entry.js → limel-tooltip_2.entry.js} +16 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{pickBy-c485c1b5.js → pickBy-8a849e46.js} +5 -5
- package/dist/esm/toNumber-a6ed64f0.js +97 -0
- package/dist/esm/{zipObject-53fcafb3.js → zipObject-22e88ce9.js} +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-fc691234.entry.js → p-03aa01b5.entry.js} +2 -2
- package/dist/lime-elements/p-090bc949.js +1 -0
- package/dist/lime-elements/p-0c121e2f.js +1 -0
- package/dist/lime-elements/{p-c6b97214.entry.js → p-0ce9165f.entry.js} +1 -1
- package/dist/lime-elements/p-13f0e4f4.entry.js +1 -0
- package/dist/lime-elements/p-1876a96a.entry.js +1 -0
- package/dist/lime-elements/{p-425a0596.js → p-1a64b531.js} +1 -1
- package/dist/lime-elements/p-365098fe.js +1 -0
- package/dist/lime-elements/p-379955f4.js +1 -0
- package/dist/lime-elements/p-426d11b4.js +1 -0
- package/dist/lime-elements/p-440084ea.js +1 -0
- package/dist/lime-elements/p-468e940e.entry.js +16 -0
- package/dist/lime-elements/p-46af5a60.entry.js +82 -0
- package/dist/lime-elements/p-4bc5d3fc.entry.js +1 -0
- package/dist/lime-elements/p-511d71e0.entry.js +1 -0
- package/dist/lime-elements/{p-11d5a71a.entry.js → p-5170a62c.entry.js} +1 -1
- package/dist/lime-elements/{p-ab049a50.entry.js → p-58cbe99d.entry.js} +1 -1
- package/dist/lime-elements/p-5a9ecd77.entry.js +73 -0
- package/dist/lime-elements/p-6003f817.entry.js +1 -0
- package/dist/lime-elements/p-622be09b.entry.js +126 -0
- package/dist/lime-elements/p-7f43b0c4.js +1 -0
- package/dist/lime-elements/p-858c6b82.js +1 -0
- package/dist/lime-elements/p-8a2c1038.entry.js +16 -0
- package/dist/lime-elements/{p-a1153d2a.entry.js → p-8ad5e143.entry.js} +1 -1
- package/dist/lime-elements/{p-b386bfeb.entry.js → p-a2cf74c1.entry.js} +1 -1
- package/dist/lime-elements/p-a77cbb08.entry.js +1 -0
- package/dist/lime-elements/p-c93050d6.js +1 -0
- package/dist/lime-elements/p-d529bb7d.js +1 -0
- package/dist/lime-elements/p-eda23c05.js +1 -0
- package/dist/lime-elements/{p-ff0217b3.entry.js → p-f2c706b8.entry.js} +1 -1
- package/dist/lime-elements/p-f83213b8.js +1 -0
- package/dist/lime-elements/{p-23d59a30.entry.js → p-fbe6100e.entry.js} +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +5 -0
- package/dist/types/components/checkbox/checkbox.template.d.ts +1 -0
- package/dist/types/components/chip-set/chip-set.d.ts +12 -0
- package/dist/types/components/color-picker/color-picker-palette.d.ts +32 -0
- package/dist/types/components/color-picker/color-picker.d.ts +54 -0
- package/dist/types/components/color-picker/swatches.d.ts +4 -0
- package/dist/types/components/form/form.d.ts +7 -1
- package/dist/types/components/list/list-item.types.d.ts +14 -0
- package/dist/types/components/list/list-renderer.d.ts +2 -0
- package/dist/types/components/list/list.d.ts +1 -0
- package/dist/types/components/picker/picker.d.ts +4 -0
- package/dist/types/components/slider/slider.d.ts +8 -0
- package/dist/types/components.d.ts +147 -1
- package/package.json +1 -1
- package/dist/cjs/limel-list_2.cjs.entry.js +0 -485
- package/dist/cjs/limel-popover.cjs.entry.js +0 -116
- package/dist/cjs/limel-portal.cjs.entry.js +0 -1935
- package/dist/cjs/limel-tooltip-content.cjs.entry.js +0 -22
- package/dist/esm/limel-list_2.entry.js +0 -480
- package/dist/esm/limel-popover.entry.js +0 -112
- package/dist/esm/limel-portal.entry.js +0 -1931
- package/dist/esm/limel-tooltip-content.entry.js +0 -18
- package/dist/lime-elements/p-1cf833c8.entry.js +0 -16
- package/dist/lime-elements/p-227d2c5a.entry.js +0 -1
- package/dist/lime-elements/p-3ce2d46a.js +0 -1
- package/dist/lime-elements/p-77afe6dd.entry.js +0 -1
- package/dist/lime-elements/p-7c4d91f5.js +0 -1
- package/dist/lime-elements/p-845e645a.entry.js +0 -1
- package/dist/lime-elements/p-89b5a983.js +0 -1
- package/dist/lime-elements/p-8bbe3720.js +0 -1
- package/dist/lime-elements/p-8d8bd2ab.entry.js +0 -73
- package/dist/lime-elements/p-8e4ff107.js +0 -1
- package/dist/lime-elements/p-acfbf7ac.js +0 -1
- package/dist/lime-elements/p-b5d6abc3.entry.js +0 -126
- package/dist/lime-elements/p-bbc1bb01.entry.js +0 -1
- package/dist/lime-elements/p-c0765c9b.js +0 -1
- package/dist/lime-elements/p-df55ee67.entry.js +0 -82
- package/dist/lime-elements/p-e28a4246.entry.js +0 -1
- package/dist/lime-elements/p-ee7355e7.js +0 -1
- package/dist/lime-elements/p-f4495f59.entry.js +0 -1
- package/dist/lime-elements/p-fbe32287.entry.js +0 -16
- package/dist/lime-elements/p-fc610f15.js +0 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { FormComponent } from '../form/form.types';
|
|
3
|
+
/**
|
|
4
|
+
* @private
|
|
5
|
+
*/
|
|
6
|
+
export declare class Palette implements FormComponent {
|
|
7
|
+
/**
|
|
8
|
+
* Color value that is manually typed by the user
|
|
9
|
+
*/
|
|
10
|
+
value: string;
|
|
11
|
+
/**
|
|
12
|
+
* Label of the input field
|
|
13
|
+
*/
|
|
14
|
+
label: string;
|
|
15
|
+
/**
|
|
16
|
+
* Helper text of the input field
|
|
17
|
+
*/
|
|
18
|
+
helperText: string;
|
|
19
|
+
/**
|
|
20
|
+
* Set to `true` if a value is required
|
|
21
|
+
*/
|
|
22
|
+
required: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Emits chosen value to the parent component
|
|
25
|
+
*/
|
|
26
|
+
change: EventEmitter<string>;
|
|
27
|
+
render(): any[];
|
|
28
|
+
private renderSwatches;
|
|
29
|
+
private renderSwatch;
|
|
30
|
+
private handleChange;
|
|
31
|
+
private handleClick;
|
|
32
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { FormComponent } from '../form/form.types';
|
|
3
|
+
/**
|
|
4
|
+
* This component enables you to select a swatch from out color palette, simply
|
|
5
|
+
* by clicking on it. You can then copy the css variable name of the chosen color
|
|
6
|
+
* and use it where desired.
|
|
7
|
+
*
|
|
8
|
+
* The color picker can also show you a preview of any valid color name or color value.
|
|
9
|
+
*
|
|
10
|
+
* :::note
|
|
11
|
+
* Make sure to read our [guidelines about usage of colors](/#/DesignGuidelines/color-system.md/) from our palette.
|
|
12
|
+
* :::
|
|
13
|
+
*
|
|
14
|
+
* @exampleComponent limel-example-color-picker
|
|
15
|
+
* @exampleComponent limel-example-color-picker-readonly
|
|
16
|
+
*/
|
|
17
|
+
export declare class ColorPicker implements FormComponent {
|
|
18
|
+
/**
|
|
19
|
+
* Name or code of the chosen color
|
|
20
|
+
*/
|
|
21
|
+
value: string;
|
|
22
|
+
/**
|
|
23
|
+
* The label of the input field
|
|
24
|
+
*/
|
|
25
|
+
label: string;
|
|
26
|
+
/**
|
|
27
|
+
* Helper text of the input field
|
|
28
|
+
*/
|
|
29
|
+
helperText: string;
|
|
30
|
+
/**
|
|
31
|
+
* Displayed as tooltips when picker is hovered.
|
|
32
|
+
*/
|
|
33
|
+
tooltipLabel: string;
|
|
34
|
+
/**
|
|
35
|
+
* Set to `true` if a value is required
|
|
36
|
+
*/
|
|
37
|
+
required: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Set to `true` if a value is readonly. This makes the component un-interactive.
|
|
40
|
+
*/
|
|
41
|
+
readonly: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Emits chosen value to the parent component
|
|
44
|
+
*/
|
|
45
|
+
change: EventEmitter<string>;
|
|
46
|
+
private isOpen;
|
|
47
|
+
render(): any[];
|
|
48
|
+
private renderTooltip;
|
|
49
|
+
private renderPickerPalette;
|
|
50
|
+
private renderPickerTrigger;
|
|
51
|
+
private openPopover;
|
|
52
|
+
private onPopoverClose;
|
|
53
|
+
private handleChange;
|
|
54
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import { ValidationStatus } from './form.types';
|
|
2
|
+
import { FormError, ValidationStatus } from './form.types';
|
|
3
3
|
/**
|
|
4
4
|
* @exampleComponent limel-example-form
|
|
5
5
|
* @exampleComponent limel-example-nested-form
|
|
@@ -9,6 +9,7 @@ import { ValidationStatus } from './form.types';
|
|
|
9
9
|
* @exampleComponent limel-example-props-factory-form
|
|
10
10
|
* @exampleComponent limel-example-form-layout
|
|
11
11
|
* @exampleComponent limel-example-form-span-fields
|
|
12
|
+
* @exampleComponent limel-example-custom-error-message
|
|
12
13
|
*/
|
|
13
14
|
export declare class Form {
|
|
14
15
|
/**
|
|
@@ -36,6 +37,10 @@ export declare class Form {
|
|
|
36
37
|
* that should be set, along with its value.
|
|
37
38
|
*/
|
|
38
39
|
propsFactory?: (schema: Record<string, any>) => Record<string, any>;
|
|
40
|
+
/**
|
|
41
|
+
* Custom function to customize the default error messages
|
|
42
|
+
*/
|
|
43
|
+
transformErrors?: (errors: FormError[]) => FormError[];
|
|
39
44
|
/**
|
|
40
45
|
* Emitted when a change is made within the form
|
|
41
46
|
*/
|
|
@@ -64,4 +69,5 @@ export declare class Form {
|
|
|
64
69
|
private setSchemaId;
|
|
65
70
|
private createValidator;
|
|
66
71
|
private getValidationErrors;
|
|
72
|
+
private getCustomErrorMessages;
|
|
67
73
|
}
|
|
@@ -32,7 +32,21 @@ export interface ListItem<T = any> {
|
|
|
32
32
|
* List of actions to display as a menu at the end of the item
|
|
33
33
|
*/
|
|
34
34
|
actions?: Array<MenuItem | ListSeparator>;
|
|
35
|
+
/**
|
|
36
|
+
* Component used to render in the list
|
|
37
|
+
*/
|
|
38
|
+
primaryComponent?: ListComponent;
|
|
35
39
|
}
|
|
36
40
|
export interface ListSeparator {
|
|
37
41
|
separator: true;
|
|
38
42
|
}
|
|
43
|
+
export interface ListComponent {
|
|
44
|
+
/**
|
|
45
|
+
* Name of the custom component
|
|
46
|
+
*/
|
|
47
|
+
name: string;
|
|
48
|
+
/**
|
|
49
|
+
* Properties to send to the custom component
|
|
50
|
+
*/
|
|
51
|
+
props?: Record<string, any>;
|
|
52
|
+
}
|
|
@@ -14,6 +14,7 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
14
14
|
* @exampleComponent limel-example-list-striped
|
|
15
15
|
* @exampleComponent limel-example-list-badge-icons-with-multiple-lines
|
|
16
16
|
* @exampleComponent limel-example-list-grid
|
|
17
|
+
* @exampleComponent limel-example-list-primary-component
|
|
17
18
|
*/
|
|
18
19
|
export declare class List {
|
|
19
20
|
/**
|
|
@@ -26,6 +26,10 @@ export declare class Picker {
|
|
|
26
26
|
* Search label to display in the input field when searching
|
|
27
27
|
*/
|
|
28
28
|
searchLabel: string;
|
|
29
|
+
/**
|
|
30
|
+
* Optional helper text to display below the input field when it has focus
|
|
31
|
+
*/
|
|
32
|
+
helperText: string;
|
|
29
33
|
/**
|
|
30
34
|
* Leading icon to show to the far left in the text field
|
|
31
35
|
*/
|
|
@@ -78,4 +78,12 @@ export declare class Slider {
|
|
|
78
78
|
private getValue;
|
|
79
79
|
private inputHandler;
|
|
80
80
|
private setPercentageClass;
|
|
81
|
+
private isMultipleOfStep;
|
|
82
|
+
private roundToStep;
|
|
83
|
+
private getRootElement;
|
|
84
|
+
private getInputElement;
|
|
85
|
+
private isStepConfigured;
|
|
86
|
+
private reCreateSliderWithStep;
|
|
87
|
+
private createMDCSlider;
|
|
88
|
+
private destroyMDCSlider;
|
|
81
89
|
}
|
|
@@ -10,7 +10,7 @@ import { Action as Action1, Chip, DateType, DialogHeading, FileInfo, FlexContain
|
|
|
10
10
|
import { CircularProgressSize } from "./components/circular-progress/circular-progress.types";
|
|
11
11
|
import { ColorScheme, Language } from "./components/code-editor/code-editor.types";
|
|
12
12
|
import { Action } from "./components/collapsible-section/action";
|
|
13
|
-
import { ValidationStatus } from "./components/form/form.types";
|
|
13
|
+
import { FormError, ValidationStatus } from "./components/form/form.types";
|
|
14
14
|
import { IconSize } from "./components/icon/icon.types";
|
|
15
15
|
import { InputType } from "./components/input-field/input-field.types";
|
|
16
16
|
import { ActionPosition, ActionScrollBehavior } from "./components/picker/actions.types";
|
|
@@ -88,6 +88,10 @@ export namespace Components {
|
|
|
88
88
|
* Disables the checkbox when `true`. Works exactly the same as `readonly`. If either property is `true`, the checkbox will be disabled.
|
|
89
89
|
*/
|
|
90
90
|
"disabled": boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Optional helper text to display below the checkbox
|
|
93
|
+
*/
|
|
94
|
+
"helperText": string;
|
|
91
95
|
/**
|
|
92
96
|
* The checkbox label.
|
|
93
97
|
*/
|
|
@@ -128,6 +132,10 @@ export namespace Components {
|
|
|
128
132
|
* @returns `true` if the chip-set is in edit mode, `false` otherwise.
|
|
129
133
|
*/
|
|
130
134
|
"getEditMode": () => Promise<boolean>;
|
|
135
|
+
/**
|
|
136
|
+
* Optional helper text to display below the chipset. When type is `input`, the helper text is displayed below the input field when it has focus. When type is not `input`, the helper text is always displayed if the device is touch screen; otherwise it is shown when chip-set is hovered or focused using keyboard navigation.
|
|
137
|
+
*/
|
|
138
|
+
"helperText": string;
|
|
131
139
|
/**
|
|
132
140
|
* Label for the chip-set
|
|
133
141
|
*/
|
|
@@ -229,6 +237,50 @@ export namespace Components {
|
|
|
229
237
|
*/
|
|
230
238
|
"isOpen": boolean;
|
|
231
239
|
}
|
|
240
|
+
interface LimelColorPicker {
|
|
241
|
+
/**
|
|
242
|
+
* Helper text of the input field
|
|
243
|
+
*/
|
|
244
|
+
"helperText": string;
|
|
245
|
+
/**
|
|
246
|
+
* The label of the input field
|
|
247
|
+
*/
|
|
248
|
+
"label": string;
|
|
249
|
+
/**
|
|
250
|
+
* Set to `true` if a value is readonly. This makes the component un-interactive.
|
|
251
|
+
*/
|
|
252
|
+
"readonly": boolean;
|
|
253
|
+
/**
|
|
254
|
+
* Set to `true` if a value is required
|
|
255
|
+
*/
|
|
256
|
+
"required": boolean;
|
|
257
|
+
/**
|
|
258
|
+
* Displayed as tooltips when picker is hovered.
|
|
259
|
+
*/
|
|
260
|
+
"tooltipLabel": string;
|
|
261
|
+
/**
|
|
262
|
+
* Name or code of the chosen color
|
|
263
|
+
*/
|
|
264
|
+
"value": string;
|
|
265
|
+
}
|
|
266
|
+
interface LimelColorPickerPalette {
|
|
267
|
+
/**
|
|
268
|
+
* Helper text of the input field
|
|
269
|
+
*/
|
|
270
|
+
"helperText": string;
|
|
271
|
+
/**
|
|
272
|
+
* Label of the input field
|
|
273
|
+
*/
|
|
274
|
+
"label": string;
|
|
275
|
+
/**
|
|
276
|
+
* Set to `true` if a value is required
|
|
277
|
+
*/
|
|
278
|
+
"required": boolean;
|
|
279
|
+
/**
|
|
280
|
+
* Color value that is manually typed by the user
|
|
281
|
+
*/
|
|
282
|
+
"value": string;
|
|
283
|
+
}
|
|
232
284
|
interface LimelConfig {
|
|
233
285
|
/**
|
|
234
286
|
* Global configuration for Lime Elements
|
|
@@ -385,6 +437,10 @@ export namespace Components {
|
|
|
385
437
|
id?: string;
|
|
386
438
|
[key: string]: any;
|
|
387
439
|
};
|
|
440
|
+
/**
|
|
441
|
+
* Custom function to customize the default error messages
|
|
442
|
+
*/
|
|
443
|
+
"transformErrors"?: (errors: FormError[]) => FormError[];
|
|
388
444
|
/**
|
|
389
445
|
* Value of the form
|
|
390
446
|
*/
|
|
@@ -643,6 +699,10 @@ export namespace Components {
|
|
|
643
699
|
* A message to display when the search returned an empty result
|
|
644
700
|
*/
|
|
645
701
|
"emptyResultMessage": string;
|
|
702
|
+
/**
|
|
703
|
+
* Optional helper text to display below the input field when it has focus
|
|
704
|
+
*/
|
|
705
|
+
"helperText": string;
|
|
646
706
|
/**
|
|
647
707
|
* Text to display for the input field of the picker
|
|
648
708
|
*/
|
|
@@ -1022,6 +1082,18 @@ declare global {
|
|
|
1022
1082
|
prototype: HTMLLimelCollapsibleSectionElement;
|
|
1023
1083
|
new (): HTMLLimelCollapsibleSectionElement;
|
|
1024
1084
|
};
|
|
1085
|
+
interface HTMLLimelColorPickerElement extends Components.LimelColorPicker, HTMLStencilElement {
|
|
1086
|
+
}
|
|
1087
|
+
var HTMLLimelColorPickerElement: {
|
|
1088
|
+
prototype: HTMLLimelColorPickerElement;
|
|
1089
|
+
new (): HTMLLimelColorPickerElement;
|
|
1090
|
+
};
|
|
1091
|
+
interface HTMLLimelColorPickerPaletteElement extends Components.LimelColorPickerPalette, HTMLStencilElement {
|
|
1092
|
+
}
|
|
1093
|
+
var HTMLLimelColorPickerPaletteElement: {
|
|
1094
|
+
prototype: HTMLLimelColorPickerPaletteElement;
|
|
1095
|
+
new (): HTMLLimelColorPickerPaletteElement;
|
|
1096
|
+
};
|
|
1025
1097
|
interface HTMLLimelConfigElement extends Components.LimelConfig, HTMLStencilElement {
|
|
1026
1098
|
}
|
|
1027
1099
|
var HTMLLimelConfigElement: {
|
|
@@ -1230,6 +1302,8 @@ declare global {
|
|
|
1230
1302
|
"limel-circular-progress": HTMLLimelCircularProgressElement;
|
|
1231
1303
|
"limel-code-editor": HTMLLimelCodeEditorElement;
|
|
1232
1304
|
"limel-collapsible-section": HTMLLimelCollapsibleSectionElement;
|
|
1305
|
+
"limel-color-picker": HTMLLimelColorPickerElement;
|
|
1306
|
+
"limel-color-picker-palette": HTMLLimelColorPickerPaletteElement;
|
|
1233
1307
|
"limel-config": HTMLLimelConfigElement;
|
|
1234
1308
|
"limel-date-picker": HTMLLimelDatePickerElement;
|
|
1235
1309
|
"limel-dialog": HTMLLimelDialogElement;
|
|
@@ -1331,6 +1405,10 @@ declare namespace LocalJSX {
|
|
|
1331
1405
|
* Disables the checkbox when `true`. Works exactly the same as `readonly`. If either property is `true`, the checkbox will be disabled.
|
|
1332
1406
|
*/
|
|
1333
1407
|
"disabled"?: boolean;
|
|
1408
|
+
/**
|
|
1409
|
+
* Optional helper text to display below the checkbox
|
|
1410
|
+
*/
|
|
1411
|
+
"helperText"?: string;
|
|
1334
1412
|
/**
|
|
1335
1413
|
* The checkbox label.
|
|
1336
1414
|
*/
|
|
@@ -1365,6 +1443,10 @@ declare namespace LocalJSX {
|
|
|
1365
1443
|
* Whether the input field should be emptied when the chip-set loses focus.
|
|
1366
1444
|
*/
|
|
1367
1445
|
"emptyInputOnBlur"?: boolean;
|
|
1446
|
+
/**
|
|
1447
|
+
* Optional helper text to display below the chipset. When type is `input`, the helper text is displayed below the input field when it has focus. When type is not `input`, the helper text is always displayed if the device is touch screen; otherwise it is shown when chip-set is hovered or focused using keyboard navigation.
|
|
1448
|
+
*/
|
|
1449
|
+
"helperText"?: string;
|
|
1368
1450
|
/**
|
|
1369
1451
|
* Label for the chip-set
|
|
1370
1452
|
*/
|
|
@@ -1496,6 +1578,58 @@ declare namespace LocalJSX {
|
|
|
1496
1578
|
*/
|
|
1497
1579
|
"onOpen"?: (event: CustomEvent<void>) => void;
|
|
1498
1580
|
}
|
|
1581
|
+
interface LimelColorPicker {
|
|
1582
|
+
/**
|
|
1583
|
+
* Helper text of the input field
|
|
1584
|
+
*/
|
|
1585
|
+
"helperText"?: string;
|
|
1586
|
+
/**
|
|
1587
|
+
* The label of the input field
|
|
1588
|
+
*/
|
|
1589
|
+
"label"?: string;
|
|
1590
|
+
/**
|
|
1591
|
+
* Emits chosen value to the parent component
|
|
1592
|
+
*/
|
|
1593
|
+
"onChange"?: (event: CustomEvent<string>) => void;
|
|
1594
|
+
/**
|
|
1595
|
+
* Set to `true` if a value is readonly. This makes the component un-interactive.
|
|
1596
|
+
*/
|
|
1597
|
+
"readonly"?: boolean;
|
|
1598
|
+
/**
|
|
1599
|
+
* Set to `true` if a value is required
|
|
1600
|
+
*/
|
|
1601
|
+
"required"?: boolean;
|
|
1602
|
+
/**
|
|
1603
|
+
* Displayed as tooltips when picker is hovered.
|
|
1604
|
+
*/
|
|
1605
|
+
"tooltipLabel"?: string;
|
|
1606
|
+
/**
|
|
1607
|
+
* Name or code of the chosen color
|
|
1608
|
+
*/
|
|
1609
|
+
"value"?: string;
|
|
1610
|
+
}
|
|
1611
|
+
interface LimelColorPickerPalette {
|
|
1612
|
+
/**
|
|
1613
|
+
* Helper text of the input field
|
|
1614
|
+
*/
|
|
1615
|
+
"helperText"?: string;
|
|
1616
|
+
/**
|
|
1617
|
+
* Label of the input field
|
|
1618
|
+
*/
|
|
1619
|
+
"label"?: string;
|
|
1620
|
+
/**
|
|
1621
|
+
* Emits chosen value to the parent component
|
|
1622
|
+
*/
|
|
1623
|
+
"onChange"?: (event: CustomEvent<string>) => void;
|
|
1624
|
+
/**
|
|
1625
|
+
* Set to `true` if a value is required
|
|
1626
|
+
*/
|
|
1627
|
+
"required"?: boolean;
|
|
1628
|
+
/**
|
|
1629
|
+
* Color value that is manually typed by the user
|
|
1630
|
+
*/
|
|
1631
|
+
"value"?: string;
|
|
1632
|
+
}
|
|
1499
1633
|
interface LimelConfig {
|
|
1500
1634
|
/**
|
|
1501
1635
|
* Global configuration for Lime Elements
|
|
@@ -1684,6 +1818,10 @@ declare namespace LocalJSX {
|
|
|
1684
1818
|
id?: string;
|
|
1685
1819
|
[key: string]: any;
|
|
1686
1820
|
};
|
|
1821
|
+
/**
|
|
1822
|
+
* Custom function to customize the default error messages
|
|
1823
|
+
*/
|
|
1824
|
+
"transformErrors"?: (errors: FormError[]) => FormError[];
|
|
1687
1825
|
/**
|
|
1688
1826
|
* Value of the form
|
|
1689
1827
|
*/
|
|
@@ -1974,6 +2112,10 @@ declare namespace LocalJSX {
|
|
|
1974
2112
|
* A message to display when the search returned an empty result
|
|
1975
2113
|
*/
|
|
1976
2114
|
"emptyResultMessage"?: string;
|
|
2115
|
+
/**
|
|
2116
|
+
* Optional helper text to display below the input field when it has focus
|
|
2117
|
+
*/
|
|
2118
|
+
"helperText"?: string;
|
|
1977
2119
|
/**
|
|
1978
2120
|
* Text to display for the input field of the picker
|
|
1979
2121
|
*/
|
|
@@ -2375,6 +2517,8 @@ declare namespace LocalJSX {
|
|
|
2375
2517
|
"limel-circular-progress": LimelCircularProgress;
|
|
2376
2518
|
"limel-code-editor": LimelCodeEditor;
|
|
2377
2519
|
"limel-collapsible-section": LimelCollapsibleSection;
|
|
2520
|
+
"limel-color-picker": LimelColorPicker;
|
|
2521
|
+
"limel-color-picker-palette": LimelColorPickerPalette;
|
|
2378
2522
|
"limel-config": LimelConfig;
|
|
2379
2523
|
"limel-date-picker": LimelDatePicker;
|
|
2380
2524
|
"limel-dialog": LimelDialog;
|
|
@@ -2423,6 +2567,8 @@ declare module "@stencil/core" {
|
|
|
2423
2567
|
"limel-circular-progress": LocalJSX.LimelCircularProgress & JSXBase.HTMLAttributes<HTMLLimelCircularProgressElement>;
|
|
2424
2568
|
"limel-code-editor": LocalJSX.LimelCodeEditor & JSXBase.HTMLAttributes<HTMLLimelCodeEditorElement>;
|
|
2425
2569
|
"limel-collapsible-section": LocalJSX.LimelCollapsibleSection & JSXBase.HTMLAttributes<HTMLLimelCollapsibleSectionElement>;
|
|
2570
|
+
"limel-color-picker": LocalJSX.LimelColorPicker & JSXBase.HTMLAttributes<HTMLLimelColorPickerElement>;
|
|
2571
|
+
"limel-color-picker-palette": LocalJSX.LimelColorPickerPalette & JSXBase.HTMLAttributes<HTMLLimelColorPickerPaletteElement>;
|
|
2426
2572
|
"limel-config": LocalJSX.LimelConfig & JSXBase.HTMLAttributes<HTMLLimelConfigElement>;
|
|
2427
2573
|
"limel-date-picker": LocalJSX.LimelDatePicker & JSXBase.HTMLAttributes<HTMLLimelDatePickerElement>;
|
|
2428
2574
|
"limel-dialog": LocalJSX.LimelDialog & JSXBase.HTMLAttributes<HTMLLimelDialogElement>;
|