@refinitiv-ui/elements 7.6.1 → 7.7.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 +17 -0
- package/lib/accordion/custom-elements.json +2 -2
- package/lib/accordion/custom-elements.md +2 -2
- package/lib/accordion/index.d.ts +2 -2
- package/lib/accordion/index.js +2 -2
- package/lib/appstate-bar/custom-elements.json +2 -2
- package/lib/appstate-bar/custom-elements.md +4 -4
- package/lib/appstate-bar/index.d.ts +1 -1
- package/lib/appstate-bar/index.js +1 -1
- package/lib/autosuggest/custom-elements.json +14 -9
- package/lib/autosuggest/custom-elements.md +15 -15
- package/lib/autosuggest/index.d.ts +9 -4
- package/lib/autosuggest/index.js +9 -4
- package/lib/button/custom-elements.json +6 -6
- package/lib/button/custom-elements.md +3 -3
- package/lib/button/index.d.ts +3 -4
- package/lib/button/index.js +3 -4
- package/lib/chart/custom-elements.json +1 -9
- package/lib/chart/custom-elements.md +8 -8
- package/lib/chart/elements/chart.d.ts +3 -3
- package/lib/chart/elements/chart.js +4 -4
- package/lib/checkbox/custom-elements.json +2 -2
- package/lib/checkbox/custom-elements.md +6 -6
- package/lib/checkbox/index.d.ts +1 -1
- package/lib/checkbox/index.js +1 -1
- package/lib/clock/custom-elements.json +6 -17
- package/lib/clock/custom-elements.md +1 -7
- package/lib/clock/index.d.ts +4 -2
- package/lib/clock/index.js +4 -2
- package/lib/collapse/custom-elements.json +2 -2
- package/lib/collapse/custom-elements.md +2 -2
- package/lib/collapse/index.d.ts +2 -2
- package/lib/collapse/index.js +2 -2
- package/lib/color-dialog/custom-elements.json +36 -6
- package/lib/color-dialog/custom-elements.md +24 -22
- package/lib/color-dialog/index.d.ts +3 -2
- package/lib/color-dialog/index.js +3 -2
- package/lib/combo-box/custom-elements.json +10 -21
- package/lib/combo-box/custom-elements.md +3 -4
- package/lib/combo-box/index.d.ts +4 -6
- package/lib/combo-box/index.js +4 -6
- package/lib/configuration/custom-elements.json +11 -1
- package/lib/configuration/custom-elements.md +3 -3
- package/lib/configuration/elements/configuration.d.ts +3 -0
- package/lib/configuration/elements/configuration.js +3 -0
- package/lib/counter/custom-elements.json +1 -1
- package/lib/counter/custom-elements.md +1 -1
- package/lib/counter/index.d.ts +1 -1
- package/lib/counter/index.js +1 -1
- package/lib/datetime-picker/custom-elements.json +5 -5
- package/lib/datetime-picker/custom-elements.md +3 -3
- package/lib/datetime-picker/index.d.ts +3 -3
- package/lib/datetime-picker/index.js +3 -3
- package/lib/header/custom-elements.json +2 -2
- package/lib/header/custom-elements.md +2 -2
- package/lib/header/index.d.ts +2 -2
- package/lib/header/index.js +2 -2
- package/lib/heatmap/custom-elements.json +1 -1
- package/lib/heatmap/custom-elements.md +3 -3
- package/lib/heatmap/index.d.ts +2 -2
- package/lib/heatmap/index.js +2 -2
- package/lib/interactive-chart/custom-elements.md +3 -3
- package/lib/interactive-chart/index.d.ts +1 -1
- package/lib/interactive-chart/index.js +1 -1
- package/lib/item/custom-elements.json +2 -1
- package/lib/item/custom-elements.md +1 -1
- package/lib/item/helpers/types.d.ts +4 -0
- package/lib/item/index.d.ts +1 -0
- package/lib/item/index.js +1 -0
- package/lib/label/custom-elements.json +4 -4
- package/lib/label/custom-elements.md +2 -2
- package/lib/label/index.d.ts +2 -2
- package/lib/label/index.js +2 -2
- package/lib/list/custom-elements.md +8 -8
- package/lib/list/elements/list.d.ts +1 -1
- package/lib/list/elements/list.js +1 -1
- package/lib/multi-input/custom-elements.json +4 -4
- package/lib/multi-input/custom-elements.md +2 -2
- package/lib/multi-input/index.d.ts +2 -2
- package/lib/multi-input/index.js +2 -2
- package/lib/number-field/index.d.ts +27 -0
- package/lib/number-field/index.js +37 -7
- package/lib/overlay/custom-elements.json +10 -6
- package/lib/overlay/custom-elements.md +29 -29
- package/lib/overlay/elements/overlay.d.ts +6 -0
- package/lib/overlay/elements/overlay.js +6 -0
- package/lib/overlay-menu/custom-elements.json +4 -2
- package/lib/overlay-menu/custom-elements.md +1 -1
- package/lib/overlay-menu/index.d.ts +1 -1
- package/lib/overlay-menu/index.js +1 -1
- package/lib/pagination/custom-elements.json +12 -8
- package/lib/pagination/custom-elements.md +5 -5
- package/lib/pagination/index.d.ts +4 -2
- package/lib/pagination/index.js +4 -2
- package/lib/password-field/index.d.ts +23 -1
- package/lib/password-field/index.js +45 -3
- package/lib/pill/custom-elements.json +2 -2
- package/lib/pill/custom-elements.md +8 -8
- package/lib/pill/index.d.ts +1 -1
- package/lib/pill/index.js +1 -1
- package/lib/select/custom-elements.json +5 -5
- package/lib/select/custom-elements.md +10 -10
- package/lib/select/index.d.ts +3 -3
- package/lib/select/index.js +3 -3
- package/lib/slider/custom-elements.json +2 -2
- package/lib/slider/custom-elements.md +1 -1
- package/lib/slider/index.d.ts +1 -1
- package/lib/slider/index.js +1 -1
- package/lib/swing-gauge/custom-elements.json +8 -4
- package/lib/swing-gauge/custom-elements.md +2 -2
- package/lib/swing-gauge/index.d.ts +2 -0
- package/lib/swing-gauge/index.js +2 -0
- package/lib/time-picker/custom-elements.json +6 -4
- package/lib/time-picker/custom-elements.md +3 -3
- package/lib/time-picker/index.d.ts +4 -1
- package/lib/time-picker/index.js +4 -1
- package/lib/toggle/custom-elements.json +2 -2
- package/lib/toggle/custom-elements.md +7 -7
- package/lib/toggle/index.d.ts +1 -1
- package/lib/toggle/index.js +1 -1
- package/lib/tree/helpers/types.d.ts +4 -0
- package/lib/version.js +1 -1
- package/package.json +14 -14
package/lib/pill/index.d.ts
CHANGED
package/lib/pill/index.js
CHANGED
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
21
|
"name": "error",
|
|
22
|
-
"description": "Set state
|
|
22
|
+
"description": "Set error state",
|
|
23
23
|
"type": "boolean",
|
|
24
24
|
"default": "false"
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"name": "warning",
|
|
28
|
-
"description": "Set state
|
|
28
|
+
"description": "Set warning state",
|
|
29
29
|
"type": "boolean",
|
|
30
30
|
"default": "false"
|
|
31
31
|
},
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
{
|
|
41
41
|
"name": "label (readonly)",
|
|
42
42
|
"description": "Current text content of the selected value",
|
|
43
|
-
"type": "string"
|
|
43
|
+
"type": "string | undefined"
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
"name": "placeholder",
|
|
@@ -59,14 +59,14 @@
|
|
|
59
59
|
{
|
|
60
60
|
"name": "error",
|
|
61
61
|
"attribute": "error",
|
|
62
|
-
"description": "Set state
|
|
62
|
+
"description": "Set error state",
|
|
63
63
|
"type": "boolean",
|
|
64
64
|
"default": "false"
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
67
|
"name": "warning",
|
|
68
68
|
"attribute": "warning",
|
|
69
|
-
"description": "Set state
|
|
69
|
+
"description": "Set warning state",
|
|
70
70
|
"type": "boolean",
|
|
71
71
|
"default": "false"
|
|
72
72
|
},
|
|
@@ -5,16 +5,16 @@ providing a fully themeable dropdown element.
|
|
|
5
5
|
|
|
6
6
|
## Properties
|
|
7
7
|
|
|
8
|
-
| Property | Attribute | Type
|
|
9
|
-
|
|
10
|
-
| `data` | | `SelectData \| null`
|
|
11
|
-
| `disabled` | `disabled` | `boolean`
|
|
12
|
-
| `error` | `error` | `boolean`
|
|
13
|
-
| `label (readonly)` | | `string`
|
|
14
|
-
| `opened` | `opened` | `boolean`
|
|
15
|
-
| `placeholder` | `placeholder` | `string`
|
|
16
|
-
| `value` | | `string`
|
|
17
|
-
| `warning` | `warning` | `boolean`
|
|
8
|
+
| Property | Attribute | Type | Default | Description |
|
|
9
|
+
|--------------------|---------------|-----------------------|---------|--------------------------------------------------|
|
|
10
|
+
| `data` | | `SelectData \| null` | null | Construct the menu from data object. Cannot be used with slotted content |
|
|
11
|
+
| `disabled` | `disabled` | `boolean` | false | Set disabled state |
|
|
12
|
+
| `error` | `error` | `boolean` | false | Set error state |
|
|
13
|
+
| `label (readonly)` | | `string \| undefined` | | Current text content of the selected value |
|
|
14
|
+
| `opened` | `opened` | `boolean` | false | Toggles the opened state of the list |
|
|
15
|
+
| `placeholder` | `placeholder` | `string` | "" | Placeholder to display when no value is set |
|
|
16
|
+
| `value` | | `string` | "" | Value of the element |
|
|
17
|
+
| `warning` | `warning` | `boolean` | false | Set warning state |
|
|
18
18
|
|
|
19
19
|
## Events
|
|
20
20
|
|
package/lib/select/index.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export declare class Select extends ControlElement implements MultiValue {
|
|
|
44
44
|
* Current text content of the selected value
|
|
45
45
|
* @readonly
|
|
46
46
|
*/
|
|
47
|
-
get label(): string;
|
|
47
|
+
get label(): string | undefined;
|
|
48
48
|
/**
|
|
49
49
|
* Current text content of the selected values
|
|
50
50
|
* @ignore
|
|
@@ -60,11 +60,11 @@ export declare class Select extends ControlElement implements MultiValue {
|
|
|
60
60
|
*/
|
|
61
61
|
opened: boolean;
|
|
62
62
|
/**
|
|
63
|
-
* Set state
|
|
63
|
+
* Set error state
|
|
64
64
|
*/
|
|
65
65
|
error: boolean;
|
|
66
66
|
/**
|
|
67
|
-
* Set state
|
|
67
|
+
* Set warning state
|
|
68
68
|
*/
|
|
69
69
|
warning: boolean;
|
|
70
70
|
/**
|
package/lib/select/index.js
CHANGED
|
@@ -69,11 +69,11 @@ let Select = class Select extends ControlElement {
|
|
|
69
69
|
*/
|
|
70
70
|
this.opened = false;
|
|
71
71
|
/**
|
|
72
|
-
* Set state
|
|
72
|
+
* Set error state
|
|
73
73
|
*/
|
|
74
74
|
this.error = false;
|
|
75
75
|
/**
|
|
76
|
-
* Set state
|
|
76
|
+
* Set warning state
|
|
77
77
|
*/
|
|
78
78
|
this.warning = false;
|
|
79
79
|
/**
|
|
@@ -828,7 +828,7 @@ let Select = class Select extends ControlElement {
|
|
|
828
828
|
* @returns Label
|
|
829
829
|
*/
|
|
830
830
|
get labelText() {
|
|
831
|
-
return this.multiple ? this.labels.join(LABEL_SEPARATOR) : this.label;
|
|
831
|
+
return this.multiple ? this.labels.join(LABEL_SEPARATOR) : this.label || '';
|
|
832
832
|
}
|
|
833
833
|
/**
|
|
834
834
|
* Calculating whether the placeholder should be hidden
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
21
|
"name": "max",
|
|
22
|
-
"description": "
|
|
22
|
+
"description": "Set maximum value of slider.",
|
|
23
23
|
"type": "string",
|
|
24
24
|
"default": "\"100\""
|
|
25
25
|
},
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
{
|
|
96
96
|
"name": "max",
|
|
97
97
|
"attribute": "max",
|
|
98
|
-
"description": "
|
|
98
|
+
"description": "Set maximum value of slider.",
|
|
99
99
|
"type": "string",
|
|
100
100
|
"default": "\"100\""
|
|
101
101
|
},
|
|
@@ -8,7 +8,7 @@ Allows users to make selections from a range of values
|
|
|
8
8
|
|------------------|--------------------|----------------------------|---------|--------------------------------------------------|
|
|
9
9
|
| `disabled` | `disabled` | `boolean` | false | Set disabled state |
|
|
10
10
|
| `from` | `from` | `string` | "0" | Uses with `range`. Low value of slider in range mode. |
|
|
11
|
-
| `max` | `max` | `string` | "100" |
|
|
11
|
+
| `max` | `max` | `string` | "100" | Set maximum value of slider. |
|
|
12
12
|
| `min` | `min` | `string` | "0" | Set minimum value of slider. |
|
|
13
13
|
| `minRange` | `min-range` | `string` | "0" | Uses with `range`. Set minimum allowance value (distance) between `from` and `to`. |
|
|
14
14
|
| `range` | `range` | `boolean` | false | Set slider to range mode. Instead of a single value, slider will provide `from` and `to`. |
|
package/lib/slider/index.d.ts
CHANGED
package/lib/slider/index.js
CHANGED
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
{
|
|
9
9
|
"name": "primary-value",
|
|
10
10
|
"description": "Primary value",
|
|
11
|
-
"type": "number"
|
|
11
|
+
"type": "number",
|
|
12
|
+
"default": "\"0\""
|
|
12
13
|
},
|
|
13
14
|
{
|
|
14
15
|
"name": "primary-label",
|
|
@@ -19,7 +20,8 @@
|
|
|
19
20
|
{
|
|
20
21
|
"name": "secondary-value",
|
|
21
22
|
"description": "Secondary value",
|
|
22
|
-
"type": "number"
|
|
23
|
+
"type": "number",
|
|
24
|
+
"default": "\"0\""
|
|
23
25
|
},
|
|
24
26
|
{
|
|
25
27
|
"name": "secondary-label",
|
|
@@ -51,7 +53,8 @@
|
|
|
51
53
|
"name": "primaryValue",
|
|
52
54
|
"attribute": "primary-value",
|
|
53
55
|
"description": "Primary value",
|
|
54
|
-
"type": "number"
|
|
56
|
+
"type": "number",
|
|
57
|
+
"default": "\"0\""
|
|
55
58
|
},
|
|
56
59
|
{
|
|
57
60
|
"name": "primaryLabel",
|
|
@@ -64,7 +67,8 @@
|
|
|
64
67
|
"name": "secondaryValue",
|
|
65
68
|
"attribute": "secondary-value",
|
|
66
69
|
"description": "Secondary value",
|
|
67
|
-
"type": "number"
|
|
70
|
+
"type": "number",
|
|
71
|
+
"default": "\"0\""
|
|
68
72
|
},
|
|
69
73
|
{
|
|
70
74
|
"name": "secondaryLabel",
|
|
@@ -10,8 +10,8 @@ Data visualisation showing the percentage between two values
|
|
|
10
10
|
| `duration` | `duration` | `number` | 1000 | Animation duration in milliseconds |
|
|
11
11
|
| `primaryLabel` | `primary-label` | `string` | "" | Primary label |
|
|
12
12
|
| `primaryLegend` | `primary-legend` | `string` | "" | Primary value legend |
|
|
13
|
-
| `primaryValue` | `primary-value` | `number` |
|
|
13
|
+
| `primaryValue` | `primary-value` | `number` | "0" | Primary value |
|
|
14
14
|
| `secondaryLabel` | `secondary-label` | `string` | "" | Secondary label |
|
|
15
15
|
| `secondaryLegend` | `secondary-legend` | `string` | "" | Secondary value legend |
|
|
16
|
-
| `secondaryValue` | `secondary-value` | `number` |
|
|
16
|
+
| `secondaryValue` | `secondary-value` | `number` | "0" | Secondary value |
|
|
17
17
|
| `valueFormatter` | | `SwingGaugeValueFormatter` | "defaultValueFormatter" | Custom value formatter |
|
|
@@ -24,6 +24,7 @@ export declare class SwingGauge extends ResponsiveElement {
|
|
|
24
24
|
/**
|
|
25
25
|
* Primary value
|
|
26
26
|
* @param value primary value
|
|
27
|
+
* @default 0
|
|
27
28
|
*/
|
|
28
29
|
set primaryValue(value: number);
|
|
29
30
|
get primaryValue(): number;
|
|
@@ -35,6 +36,7 @@ export declare class SwingGauge extends ResponsiveElement {
|
|
|
35
36
|
/**
|
|
36
37
|
* Secondary value
|
|
37
38
|
* @param value secondary value
|
|
39
|
+
* @default 0
|
|
38
40
|
*/
|
|
39
41
|
set secondaryValue(value: number);
|
|
40
42
|
get secondaryValue(): number;
|
package/lib/swing-gauge/index.js
CHANGED
|
@@ -191,6 +191,7 @@ let SwingGauge = class SwingGauge extends ResponsiveElement {
|
|
|
191
191
|
/**
|
|
192
192
|
* Primary value
|
|
193
193
|
* @param value primary value
|
|
194
|
+
* @default 0
|
|
194
195
|
*/
|
|
195
196
|
set primaryValue(value) {
|
|
196
197
|
value = this.validateNumber(value, 'primary-value');
|
|
@@ -206,6 +207,7 @@ let SwingGauge = class SwingGauge extends ResponsiveElement {
|
|
|
206
207
|
/**
|
|
207
208
|
* Secondary value
|
|
208
209
|
* @param value secondary value
|
|
210
|
+
* @default 0
|
|
209
211
|
*/
|
|
210
212
|
set secondaryValue(value) {
|
|
211
213
|
value = this.validateNumber(value, 'secondary-value');
|
|
@@ -34,8 +34,9 @@
|
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"name": "value",
|
|
37
|
-
"description": "
|
|
38
|
-
"type": "string"
|
|
37
|
+
"description": "Current time value",
|
|
38
|
+
"type": "string",
|
|
39
|
+
"default": "\"\""
|
|
39
40
|
},
|
|
40
41
|
{
|
|
41
42
|
"name": "readonly",
|
|
@@ -86,8 +87,9 @@
|
|
|
86
87
|
{
|
|
87
88
|
"name": "value",
|
|
88
89
|
"attribute": "value",
|
|
89
|
-
"description": "
|
|
90
|
-
"type": "string"
|
|
90
|
+
"description": "Current time value",
|
|
91
|
+
"type": "string",
|
|
92
|
+
"default": "\"\""
|
|
91
93
|
},
|
|
92
94
|
{
|
|
93
95
|
"name": "readonly",
|
|
@@ -9,11 +9,11 @@ Control the time input
|
|
|
9
9
|
| `amPm` | `am-pm` | `boolean` | false | Toggles 12hr time display |
|
|
10
10
|
| `disabled` | `disabled` | `boolean` | false | Set disabled state |
|
|
11
11
|
| `hours` | `hours` | `number \| null` | null | Hours time segment in 24hr format |
|
|
12
|
-
| `minutes` | `minutes` | `number \| null` |
|
|
12
|
+
| `minutes` | `minutes` | `number \| null` | null | Minutes time segment |
|
|
13
13
|
| `readonly` | `readonly` | `boolean` | false | Set readonly state |
|
|
14
|
-
| `seconds` | `seconds` | `number \| null` |
|
|
14
|
+
| `seconds` | `seconds` | `number \| null` | null | Seconds time segment |
|
|
15
15
|
| `showSeconds` | `show-seconds` | `boolean` | false | Flag to show seconds time segment in display.<br />Seconds are automatically shown when `hh:mm:ss` time format is provided as a value. |
|
|
16
|
-
| `value` | `value` | `string` |
|
|
16
|
+
| `value` | `value` | `string` | "" | Current time value |
|
|
17
17
|
|
|
18
18
|
## Methods
|
|
19
19
|
|
|
@@ -61,6 +61,7 @@ export declare class TimePicker extends ControlElement {
|
|
|
61
61
|
/**
|
|
62
62
|
* Minutes time segment
|
|
63
63
|
* @param minutes minutes value
|
|
64
|
+
* @default null
|
|
64
65
|
* @returns {void}
|
|
65
66
|
*/
|
|
66
67
|
set minutes(minutes: number | null);
|
|
@@ -72,6 +73,7 @@ export declare class TimePicker extends ControlElement {
|
|
|
72
73
|
/**
|
|
73
74
|
* Seconds time segment
|
|
74
75
|
* @param seconds seconds value
|
|
76
|
+
* @default null
|
|
75
77
|
* @returns {void}
|
|
76
78
|
*/
|
|
77
79
|
set seconds(seconds: number | null);
|
|
@@ -90,8 +92,9 @@ export declare class TimePicker extends ControlElement {
|
|
|
90
92
|
*/
|
|
91
93
|
showSeconds: boolean;
|
|
92
94
|
/**
|
|
93
|
-
*
|
|
95
|
+
* Current time value
|
|
94
96
|
* @param value Element value
|
|
97
|
+
* @default -
|
|
95
98
|
*/
|
|
96
99
|
set value(value: string);
|
|
97
100
|
get value(): string;
|
package/lib/time-picker/index.js
CHANGED
|
@@ -120,6 +120,7 @@ let TimePicker = TimePicker_1 = class TimePicker extends ControlElement {
|
|
|
120
120
|
/**
|
|
121
121
|
* Minutes time segment
|
|
122
122
|
* @param minutes minutes value
|
|
123
|
+
* @default null
|
|
123
124
|
* @returns {void}
|
|
124
125
|
*/
|
|
125
126
|
set minutes(minutes) {
|
|
@@ -142,6 +143,7 @@ let TimePicker = TimePicker_1 = class TimePicker extends ControlElement {
|
|
|
142
143
|
/**
|
|
143
144
|
* Seconds time segment
|
|
144
145
|
* @param seconds seconds value
|
|
146
|
+
* @default null
|
|
145
147
|
* @returns {void}
|
|
146
148
|
*/
|
|
147
149
|
set seconds(seconds) {
|
|
@@ -162,8 +164,9 @@ let TimePicker = TimePicker_1 = class TimePicker extends ControlElement {
|
|
|
162
164
|
return this._seconds;
|
|
163
165
|
}
|
|
164
166
|
/**
|
|
165
|
-
*
|
|
167
|
+
* Current time value
|
|
166
168
|
* @param value Element value
|
|
169
|
+
* @default -
|
|
167
170
|
*/
|
|
168
171
|
set value(value) {
|
|
169
172
|
const oldValue = this.value;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"attributes": [
|
|
8
8
|
{
|
|
9
9
|
"name": "checked-label",
|
|
10
|
-
"description": "Label of
|
|
10
|
+
"description": "Label of the checked state",
|
|
11
11
|
"type": "string",
|
|
12
12
|
"default": "\"\""
|
|
13
13
|
},
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
{
|
|
41
41
|
"name": "checkedLabel",
|
|
42
42
|
"attribute": "checked-label",
|
|
43
|
-
"description": "Label of
|
|
43
|
+
"description": "Label of the checked state",
|
|
44
44
|
"type": "string",
|
|
45
45
|
"default": "\"\""
|
|
46
46
|
},
|
|
@@ -4,13 +4,13 @@ Form control that can toggle between 2 states
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
|
-
| Property | Attribute | Type | Default | Description
|
|
8
|
-
|
|
9
|
-
| `checked` | `checked` | `boolean` | false | Value of toggle
|
|
10
|
-
| `checkedLabel` | `checked-label` | `string` | "" | Label of
|
|
11
|
-
| `disabled` | `disabled` | `boolean` | false | Set disabled state
|
|
12
|
-
| `label` | `label` | `string` | "" | Label of toggle
|
|
13
|
-
| `readonly` | `readonly` | `boolean` | false | Set readonly state
|
|
7
|
+
| Property | Attribute | Type | Default | Description |
|
|
8
|
+
|----------------|-----------------|-----------|---------|----------------------------|
|
|
9
|
+
| `checked` | `checked` | `boolean` | false | Value of toggle |
|
|
10
|
+
| `checkedLabel` | `checked-label` | `string` | "" | Label of the checked state |
|
|
11
|
+
| `disabled` | `disabled` | `boolean` | false | Set disabled state |
|
|
12
|
+
| `label` | `label` | `string` | "" | Label of toggle |
|
|
13
|
+
| `readonly` | `readonly` | `boolean` | false | Set readonly state |
|
|
14
14
|
|
|
15
15
|
## Events
|
|
16
16
|
|
package/lib/toggle/index.d.ts
CHANGED
package/lib/toggle/index.js
CHANGED
package/lib/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '7.
|
|
1
|
+
export const VERSION = '7.7.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@refinitiv-ui/elements",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.7.0",
|
|
4
4
|
"description": "Element Framework Elements",
|
|
5
5
|
"author": "LSEG",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -347,29 +347,29 @@
|
|
|
347
347
|
"chartjs-adapter-date-fns": "^3.0.0",
|
|
348
348
|
"d3-interpolate": "^3.0.1",
|
|
349
349
|
"date-fns": "^2.29.3",
|
|
350
|
-
"lightweight-charts": "^4.0
|
|
350
|
+
"lightweight-charts": "^4.1.0",
|
|
351
351
|
"tslib": "^2.3.1"
|
|
352
352
|
},
|
|
353
353
|
"devDependencies": {
|
|
354
|
-
"@refinitiv-ui/core": "^7.2.
|
|
355
|
-
"@refinitiv-ui/demo-block": "^7.0.
|
|
356
|
-
"@refinitiv-ui/i18n": "^7.0.
|
|
357
|
-
"@refinitiv-ui/phrasebook": "^7.0.
|
|
354
|
+
"@refinitiv-ui/core": "^7.2.2",
|
|
355
|
+
"@refinitiv-ui/demo-block": "^7.0.9",
|
|
356
|
+
"@refinitiv-ui/i18n": "^7.0.5",
|
|
357
|
+
"@refinitiv-ui/phrasebook": "^7.0.5",
|
|
358
358
|
"@refinitiv-ui/test-helpers": "^7.0.4",
|
|
359
|
-
"@refinitiv-ui/translate": "^7.0.
|
|
360
|
-
"@refinitiv-ui/utils": "^7.1.
|
|
359
|
+
"@refinitiv-ui/translate": "^7.0.6",
|
|
360
|
+
"@refinitiv-ui/utils": "^7.1.2",
|
|
361
361
|
"@types/d3-interpolate": "^3.0.1"
|
|
362
362
|
},
|
|
363
363
|
"peerDependencies": {
|
|
364
364
|
"@refinitiv-ui/browser-sparkline": "^1.0.0 || ^2.0.0",
|
|
365
|
-
"@refinitiv-ui/core": "^7.2.
|
|
366
|
-
"@refinitiv-ui/i18n": "^7.0.
|
|
367
|
-
"@refinitiv-ui/phrasebook": "^7.0.
|
|
368
|
-
"@refinitiv-ui/translate": "^7.0.
|
|
369
|
-
"@refinitiv-ui/utils": "^7.1.
|
|
365
|
+
"@refinitiv-ui/core": "^7.2.2",
|
|
366
|
+
"@refinitiv-ui/i18n": "^7.0.5",
|
|
367
|
+
"@refinitiv-ui/phrasebook": "^7.0.5",
|
|
368
|
+
"@refinitiv-ui/translate": "^7.0.6",
|
|
369
|
+
"@refinitiv-ui/utils": "^7.1.2"
|
|
370
370
|
},
|
|
371
371
|
"publishConfig": {
|
|
372
372
|
"access": "public"
|
|
373
373
|
},
|
|
374
|
-
"gitHead": "
|
|
374
|
+
"gitHead": "3844f684f73a3ef5f035dd567e4362add74825eb"
|
|
375
375
|
}
|