@refinitiv-ui/elements 5.7.0 → 5.8.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.
Files changed (161) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/lib/autosuggest/custom-elements.json +14 -4
  3. package/lib/autosuggest/custom-elements.md +21 -14
  4. package/lib/autosuggest/index.d.ts +4 -0
  5. package/lib/autosuggest/index.js +4 -0
  6. package/lib/calendar/custom-elements.json +4 -2
  7. package/lib/calendar/custom-elements.md +2 -2
  8. package/lib/calendar/index.d.ts +2 -0
  9. package/lib/calendar/index.js +2 -0
  10. package/lib/canvas/custom-elements.json +7 -5
  11. package/lib/canvas/custom-elements.md +8 -8
  12. package/lib/canvas/index.d.ts +1 -0
  13. package/lib/canvas/index.js +1 -0
  14. package/lib/card/custom-elements.json +3 -1
  15. package/lib/card/custom-elements.md +5 -5
  16. package/lib/card/index.d.ts +2 -0
  17. package/lib/card/index.js +2 -0
  18. package/lib/chart/custom-elements.json +1 -1
  19. package/lib/chart/custom-elements.md +4 -4
  20. package/lib/checkbox/custom-elements.json +8 -4
  21. package/lib/checkbox/custom-elements.md +2 -2
  22. package/lib/checkbox/index.d.ts +3 -1
  23. package/lib/checkbox/index.js +2 -0
  24. package/lib/clock/custom-elements.json +8 -4
  25. package/lib/clock/custom-elements.md +9 -9
  26. package/lib/clock/index.d.ts +2 -0
  27. package/lib/clock/index.js +2 -0
  28. package/lib/clock/themes/halo/dark/index.js +1 -1
  29. package/lib/clock/themes/halo/light/index.js +1 -1
  30. package/lib/clock/themes/solar/charcoal/index.js +1 -1
  31. package/lib/clock/themes/solar/pearl/index.js +1 -1
  32. package/lib/color-dialog/custom-elements.json +21 -8
  33. package/lib/color-dialog/custom-elements.md +22 -22
  34. package/lib/color-dialog/index.d.ts +8 -8
  35. package/lib/color-dialog/index.js +8 -8
  36. package/lib/combo-box/custom-elements.json +19 -10
  37. package/lib/combo-box/custom-elements.md +20 -20
  38. package/lib/combo-box/index.d.ts +10 -2
  39. package/lib/combo-box/index.js +10 -1
  40. package/lib/combo-box/themes/halo/dark/index.js +1 -1
  41. package/lib/combo-box/themes/halo/light/index.js +1 -1
  42. package/lib/combo-box/themes/solar/charcoal/index.js +1 -1
  43. package/lib/combo-box/themes/solar/pearl/index.js +1 -1
  44. package/lib/counter/custom-elements.json +8 -4
  45. package/lib/counter/custom-elements.md +4 -4
  46. package/lib/counter/index.d.ts +2 -0
  47. package/lib/counter/index.js +2 -0
  48. package/lib/datetime-picker/custom-elements.json +48 -19
  49. package/lib/datetime-picker/custom-elements.md +36 -28
  50. package/lib/datetime-picker/index.d.ts +15 -4
  51. package/lib/datetime-picker/index.js +15 -4
  52. package/lib/dialog/custom-elements.json +30 -8
  53. package/lib/dialog/custom-elements.md +16 -16
  54. package/lib/dialog/index.d.ts +7 -10
  55. package/lib/dialog/index.js +7 -10
  56. package/lib/email-field/custom-elements.json +80 -93
  57. package/lib/email-field/custom-elements.md +22 -20
  58. package/lib/email-field/index.d.ts +43 -115
  59. package/lib/email-field/index.js +44 -244
  60. package/lib/flag/custom-elements.md +4 -4
  61. package/lib/flag/index.d.ts +2 -0
  62. package/lib/flag/index.js +2 -0
  63. package/lib/icon/custom-elements.md +4 -4
  64. package/lib/icon/index.d.ts +2 -0
  65. package/lib/icon/index.js +2 -0
  66. package/lib/interactive-chart/custom-elements.json +6 -10
  67. package/lib/interactive-chart/custom-elements.md +6 -7
  68. package/lib/interactive-chart/index.d.ts +5 -2
  69. package/lib/interactive-chart/index.js +5 -2
  70. package/lib/item/custom-elements.json +8 -6
  71. package/lib/item/custom-elements.md +14 -14
  72. package/lib/item/index.d.ts +2 -1
  73. package/lib/item/index.js +2 -1
  74. package/lib/led-gauge/custom-elements.json +4 -4
  75. package/lib/led-gauge/custom-elements.md +2 -2
  76. package/lib/led-gauge/index.d.ts +1 -0
  77. package/lib/led-gauge/index.js +1 -0
  78. package/lib/list/custom-elements.json +18 -5
  79. package/lib/list/custom-elements.md +12 -10
  80. package/lib/list/helpers/list-renderer.js +2 -0
  81. package/lib/list/index.d.ts +19 -2
  82. package/lib/list/index.js +34 -1
  83. package/lib/multi-input/custom-elements.json +3 -2
  84. package/lib/multi-input/custom-elements.md +16 -16
  85. package/lib/multi-input/index.d.ts +4 -0
  86. package/lib/multi-input/index.js +4 -0
  87. package/lib/number-field/custom-elements.json +97 -52
  88. package/lib/number-field/custom-elements.md +27 -22
  89. package/lib/number-field/index.d.ts +92 -47
  90. package/lib/number-field/index.js +113 -80
  91. package/lib/overlay/custom-elements.json +23 -13
  92. package/lib/overlay/custom-elements.md +29 -29
  93. package/lib/overlay/elements/overlay.d.ts +5 -0
  94. package/lib/overlay-menu/custom-elements.json +66 -14
  95. package/lib/overlay-menu/custom-elements.md +19 -19
  96. package/lib/overlay-menu/index.d.ts +13 -11
  97. package/lib/overlay-menu/index.js +13 -11
  98. package/lib/password-field/custom-elements.json +62 -67
  99. package/lib/password-field/custom-elements.md +19 -11
  100. package/lib/password-field/index.d.ts +42 -94
  101. package/lib/password-field/index.js +48 -194
  102. package/lib/pill/custom-elements.json +4 -2
  103. package/lib/pill/custom-elements.md +1 -1
  104. package/lib/pill/index.d.ts +1 -1
  105. package/lib/pill/index.js +1 -1
  106. package/lib/radio-button/custom-elements.json +8 -6
  107. package/lib/radio-button/custom-elements.md +3 -3
  108. package/lib/radio-button/index.d.ts +6 -5
  109. package/lib/radio-button/index.js +5 -4
  110. package/lib/search-field/custom-elements.json +70 -74
  111. package/lib/search-field/custom-elements.md +24 -16
  112. package/lib/search-field/index.d.ts +43 -100
  113. package/lib/search-field/index.js +46 -215
  114. package/lib/select/custom-elements.json +3 -2
  115. package/lib/select/custom-elements.md +10 -10
  116. package/lib/select/index.d.ts +11 -3
  117. package/lib/select/index.js +65 -26
  118. package/lib/sidebar-layout/custom-elements.json +2 -6
  119. package/lib/sidebar-layout/custom-elements.md +5 -6
  120. package/lib/sidebar-layout/index.d.ts +2 -1
  121. package/lib/slider/custom-elements.json +2 -2
  122. package/lib/slider/custom-elements.md +1 -1
  123. package/lib/slider/index.d.ts +1 -1
  124. package/lib/slider/index.js +1 -1
  125. package/lib/sparkline/custom-elements.json +4 -4
  126. package/lib/sparkline/custom-elements.md +2 -2
  127. package/lib/sparkline/index.d.ts +3 -1
  128. package/lib/sparkline/index.js +2 -0
  129. package/lib/swing-gauge/custom-elements.json +5 -3
  130. package/lib/swing-gauge/custom-elements.md +11 -11
  131. package/lib/swing-gauge/index.d.ts +3 -1
  132. package/lib/swing-gauge/index.js +3 -1
  133. package/lib/text-field/custom-elements.json +76 -87
  134. package/lib/text-field/custom-elements.md +24 -26
  135. package/lib/text-field/index.d.ts +50 -92
  136. package/lib/text-field/index.js +81 -230
  137. package/lib/time-picker/custom-elements.md +3 -3
  138. package/lib/time-picker/index.d.ts +3 -0
  139. package/lib/time-picker/index.js +3 -0
  140. package/lib/toggle/custom-elements.json +4 -2
  141. package/lib/toggle/custom-elements.md +1 -1
  142. package/lib/toggle/index.d.ts +2 -1
  143. package/lib/toggle/index.js +1 -0
  144. package/lib/tree/custom-elements.json +2 -1
  145. package/lib/tree/custom-elements.md +1 -1
  146. package/lib/tree/elements/tree.d.ts +1 -0
  147. package/lib/tree/elements/tree.js +1 -0
  148. package/lib/tree/themes/halo/dark/index.js +1 -1
  149. package/lib/tree/themes/halo/light/index.js +1 -1
  150. package/lib/tree/themes/solar/charcoal/index.js +1 -1
  151. package/lib/tree/themes/solar/pearl/index.js +1 -1
  152. package/lib/tree-select/custom-elements.json +8 -4
  153. package/lib/tree-select/custom-elements.md +3 -3
  154. package/lib/tree-select/index.d.ts +5 -3
  155. package/lib/tree-select/index.js +3 -2
  156. package/lib/tree-select/themes/halo/dark/index.js +1 -1
  157. package/lib/tree-select/themes/halo/light/index.js +1 -1
  158. package/lib/tree-select/themes/solar/charcoal/index.js +1 -1
  159. package/lib/tree-select/themes/solar/pearl/index.js +1 -1
  160. package/lib/version.js +1 -1
  161. package/package.json +10 -10
@@ -6,45 +6,17 @@
6
6
  "description": "Form control to get a search input from users.",
7
7
  "attributes": [
8
8
  {
9
- "name": "pattern",
10
- "description": "Set regular expression for input validation",
11
- "type": "string",
12
- "default": "\"\""
13
- },
14
- {
15
- "name": "placeholder",
16
- "description": "Set place holder text",
17
- "type": "string",
18
- "default": "\"\""
19
- },
20
- {
21
- "name": "error",
22
- "description": "Set state to error",
23
- "type": "boolean",
24
- "default": "false"
25
- },
26
- {
27
- "name": "warning",
28
- "description": "Set state to warning",
9
+ "name": "disabled",
10
+ "description": "Set disabled state",
29
11
  "type": "boolean",
30
12
  "default": "false"
31
13
  },
32
14
  {
33
- "name": "transparent",
34
- "description": "Disables all other states and border/background styles.\nUse with advanced composite elements requiring e.g. multi selection in\ncombo-box when parent container handles element states.",
15
+ "name": "error",
16
+ "description": "Set error state",
35
17
  "type": "boolean",
36
18
  "default": "false"
37
19
  },
38
- {
39
- "name": "maxlength",
40
- "description": "Set character max limit",
41
- "type": "number | null"
42
- },
43
- {
44
- "name": "minlength",
45
- "description": "Set character min limit",
46
- "type": "number | null"
47
- },
48
20
  {
49
21
  "name": "icon-has-action",
50
22
  "description": "Specify when icon need to be clickable",
@@ -52,10 +24,10 @@
52
24
  "default": "false"
53
25
  },
54
26
  {
55
- "name": "value",
56
- "description": "Input's value",
27
+ "name": "placeholder",
28
+ "description": "Set placeholder text",
57
29
  "type": "string",
58
- "default": "0"
30
+ "default": "\"\""
59
31
  },
60
32
  {
61
33
  "name": "readonly",
@@ -64,73 +36,83 @@
64
36
  "default": "false"
65
37
  },
66
38
  {
67
- "name": "disabled",
68
- "description": "Set disabled state",
39
+ "name": "transparent",
40
+ "description": "Disables all other states and border/background styles.",
69
41
  "type": "boolean",
70
42
  "default": "false"
71
- }
72
- ],
73
- "properties": [
43
+ },
74
44
  {
75
- "name": "pattern",
76
- "attribute": "pattern",
77
- "description": "Set regular expression for input validation",
78
- "type": "string",
79
- "default": "\"\""
45
+ "name": "warning",
46
+ "description": "Set warning state",
47
+ "type": "boolean",
48
+ "default": "false"
80
49
  },
81
50
  {
82
- "name": "placeholder",
83
- "attribute": "placeholder",
84
- "description": "Set place holder text",
51
+ "name": "value",
52
+ "description": "Input's value",
85
53
  "type": "string",
86
54
  "default": "\"\""
87
55
  },
88
56
  {
89
- "name": "error",
90
- "attribute": "error",
91
- "description": "Set state to error",
57
+ "name": "icon-has-action",
58
+ "description": "Specify when icon need to be clickable",
59
+ "type": "boolean"
60
+ },
61
+ {
62
+ "name": "maxlength",
63
+ "description": "Set character max limit",
64
+ "type": "number"
65
+ },
66
+ {
67
+ "name": "minlength",
68
+ "description": "Set character min limit",
69
+ "type": "number"
70
+ }
71
+ ],
72
+ "properties": [
73
+ {
74
+ "name": "disabled",
75
+ "attribute": "disabled",
76
+ "description": "Set disabled state",
92
77
  "type": "boolean",
93
78
  "default": "false"
94
79
  },
95
80
  {
96
- "name": "warning",
97
- "attribute": "warning",
98
- "description": "Set state to warning",
81
+ "name": "error",
82
+ "attribute": "error",
83
+ "description": "Set error state",
99
84
  "type": "boolean",
100
85
  "default": "false"
101
86
  },
102
87
  {
103
- "name": "transparent",
104
- "attribute": "transparent",
105
- "description": "Disables all other states and border/background styles.\nUse with advanced composite elements requiring e.g. multi selection in\ncombo-box when parent container handles element states.",
88
+ "name": "iconHasAction",
89
+ "attribute": "icon-has-action",
90
+ "description": "Specify when icon need to be clickable",
106
91
  "type": "boolean",
107
92
  "default": "false"
108
93
  },
109
94
  {
110
95
  "name": "maxLength",
111
- "attribute": "maxlength",
112
96
  "description": "Set character max limit",
113
97
  "type": "number | null"
114
98
  },
115
99
  {
116
100
  "name": "minLength",
117
- "attribute": "minlength",
118
101
  "description": "Set character min limit",
119
102
  "type": "number | null"
120
103
  },
121
104
  {
122
- "name": "iconHasAction",
123
- "attribute": "icon-has-action",
124
- "description": "Specify when icon need to be clickable",
125
- "type": "boolean",
126
- "default": "false"
105
+ "name": "pattern",
106
+ "description": "Set regular expression for input validation",
107
+ "type": "string",
108
+ "default": "\"\""
127
109
  },
128
110
  {
129
- "name": "value",
130
- "attribute": "value",
131
- "description": "Input's value",
111
+ "name": "placeholder",
112
+ "attribute": "placeholder",
113
+ "description": "Set placeholder text",
132
114
  "type": "string",
133
- "default": "0"
115
+ "default": "\"\""
134
116
  },
135
117
  {
136
118
  "name": "readonly",
@@ -140,11 +122,25 @@
140
122
  "default": "false"
141
123
  },
142
124
  {
143
- "name": "disabled",
144
- "attribute": "disabled",
145
- "description": "Set disabled state",
125
+ "name": "transparent",
126
+ "attribute": "transparent",
127
+ "description": "Disables all other states and border/background styles.",
128
+ "type": "boolean",
129
+ "default": "false"
130
+ },
131
+ {
132
+ "name": "warning",
133
+ "attribute": "warning",
134
+ "description": "Set warning state",
146
135
  "type": "boolean",
147
136
  "default": "false"
137
+ },
138
+ {
139
+ "name": "value",
140
+ "attribute": "value",
141
+ "description": "Input's value",
142
+ "type": "string",
143
+ "default": "\"\""
148
144
  }
149
145
  ],
150
146
  "events": [
@@ -158,13 +154,13 @@
158
154
  },
159
155
  {
160
156
  "name": "icon-click",
161
- "description": "Dispatched only when element has icon-has-action attribute and icon is clicked"
157
+ "description": "Dispatched when icon is clicked"
162
158
  }
163
159
  ],
164
160
  "methods": [
165
161
  {
166
- "name": "select",
167
- "description": "Select the contents of input",
162
+ "name": "renderIcon",
163
+ "description": "",
168
164
  "params": []
169
165
  }
170
166
  ]
@@ -2,32 +2,40 @@
2
2
 
3
3
  Form control to get a search input from users.
4
4
 
5
+ ## Attributes
6
+
7
+ | Attribute | Type | Description |
8
+ |-------------------|-----------|----------------------------------------|
9
+ | `icon-has-action` | `boolean` | Specify when icon need to be clickable |
10
+ | `maxlength` | `number` | Set character max limit |
11
+ | `minlength` | `number` | Set character min limit |
12
+
5
13
  ## Properties
6
14
 
7
15
  | Property | Attribute | Type | Default | Description |
8
16
  |-----------------|-------------------|------------------|---------|--------------------------------------------------|
9
17
  | `disabled` | `disabled` | `boolean` | false | Set disabled state |
10
- | `error` | `error` | `boolean` | false | Set state to error |
18
+ | `error` | `error` | `boolean` | false | Set error state |
11
19
  | `iconHasAction` | `icon-has-action` | `boolean` | false | Specify when icon need to be clickable |
12
- | `maxLength` | `maxlength` | `number \| null` | null | Set character max limit |
13
- | `minLength` | `minlength` | `number \| null` | null | Set character min limit |
14
- | `pattern` | `pattern` | `string` | "" | Set regular expression for input validation |
15
- | `placeholder` | `placeholder` | `string` | "" | Set place holder text |
20
+ | `maxLength` | | `number \| null` | null | Set character max limit |
21
+ | `minLength` | | `number \| null` | null | Set character min limit |
22
+ | `pattern` | | `string` | "" | Set regular expression for input validation |
23
+ | `placeholder` | `placeholder` | `string` | "" | Set placeholder text |
16
24
  | `readonly` | `readonly` | `boolean` | false | Set readonly state |
17
- | `transparent` | `transparent` | `boolean` | false | Disables all other states and border/background styles.<br />Use with advanced composite elements requiring e.g. multi selection in<br />combo-box when parent container handles element states. |
18
- | `value` | `value` | `string` | 0 | Input's value |
19
- | `warning` | `warning` | `boolean` | false | Set state to warning |
25
+ | `transparent` | `transparent` | `boolean` | false | Disables all other states and border/background styles. |
26
+ | `value` | `value` | `string` | "" | Input's value |
27
+ | `warning` | `warning` | `boolean` | false | Set warning state |
20
28
 
21
29
  ## Methods
22
30
 
23
- | Method | Type | Description |
24
- |----------|------------|------------------------------|
25
- | `select` | `(): void` | Select the contents of input |
31
+ | Method | Type |
32
+ |--------------|-----------|
33
+ | `renderIcon` | `(): any` |
26
34
 
27
35
  ## Events
28
36
 
29
- | Event | Description |
30
- |-----------------|--------------------------------------------------|
31
- | `error-changed` | Dispatched when error state changes |
32
- | `icon-click` | Dispatched only when element has icon-has-action attribute and icon is clicked |
33
- | `value-changed` | Dispatched when value changes |
37
+ | Event | Description |
38
+ |-----------------|-------------------------------------|
39
+ | `error-changed` | Dispatched when error state changes |
40
+ | `icon-click` | Dispatched when icon is clicked |
41
+ | `value-changed` | Dispatched when value changes |
@@ -1,122 +1,65 @@
1
1
  import { JSXInterface } from '../jsx';
2
- import { ControlElement, CSSResultGroup, PropertyValues, TemplateResult } from '@refinitiv-ui/core';
2
+ import { TemplateResult } from '@refinitiv-ui/core';
3
+ import { TemplateMap } from '@refinitiv-ui/core/lib/directives/template-map.js';
3
4
  import '../icon/index.js';
5
+ import { TextField } from '../text-field/index.js';
6
+ import { Translate } from '@refinitiv-ui/translate';
7
+ import '@refinitiv-ui/phrasebook/lib/locale/en/search-field.js';
4
8
  /**
5
9
  * Form control to get a search input from users.
6
10
  *
7
11
  * @fires value-changed - Dispatched when value changes
8
12
  * @fires error-changed - Dispatched when error state changes
13
+ * @fires icon-click - Dispatched when icon is clicked
9
14
  *
10
- * @attr {string} value - Input's value
11
- * @prop {string} [value=] - Input's value
15
+ * @attr {boolean} disabled - Set disabled state
16
+ * @prop {boolean} [disabled=false] - Set disabled state
17
+ *
18
+ * @attr {boolean} error - Set error state
19
+ * @prop {boolean} [error=false] - Set error state
20
+ *
21
+ * @attr {boolean} icon-has-action - Specify when icon need to be clickable
22
+ * @prop {boolean} [iconHasAction=false] - Specify when icon need to be clickable
23
+ *
24
+ * @attr {number} maxlength - Set character max limit
25
+ * @prop {number | null} [maxLength=null] - Set character max limit
26
+ *
27
+ * @attr {number} minlength - Set character min limit
28
+ * @prop {number | null} [minLength=null] - Set character min limit
29
+ *
30
+ * @prop {string} [pattern=""] - Set regular expression for input validation
31
+ *
32
+ * @attr {string} placeholder - Set placeholder text
33
+ * @prop {string} [placeholder=""] - Set placeholder text
12
34
  *
13
35
  * @attr {boolean} readonly - Set readonly state
14
36
  * @prop {boolean} [readonly=false] - Set readonly state
15
37
  *
16
- * @attr {boolean} disabled - Set disabled state
17
- * @prop {boolean} [disabled=false] - Set disabled state
38
+ * @attr {boolean} transparent - Disables all other states and border/background styles.
39
+ * @prop {boolean} [transparent=false] - Disables all other states and border/background styles.
40
+ *
41
+ * @attr {boolean} warning - Set warning state
42
+ * @prop {boolean} [warning=false] - Set warning state
43
+ *
44
+ * @attr {string} value - Input's value
45
+ * @prop {string} [value=""] - Input's value
18
46
  */
19
- export declare class SearchField extends ControlElement {
20
- /**
21
- * Element version number
22
- * @returns version number
23
- */
24
- static get version(): string;
25
- /**
26
- * A `CSSResultGroup` that will be used
27
- * to style the host, slotted children
28
- * and the internal template of the element.
29
- * @return CSS template
30
- */
31
- static get styles(): CSSResultGroup;
32
- /**
33
- * Set regular expression for input validation
34
- */
35
- pattern: string;
36
- /**
37
- * Set place holder text
38
- */
39
- placeholder: string;
40
- /**
41
- * Set state to error
42
- */
43
- error: boolean;
44
- /**
45
- * Set state to warning
46
- */
47
- warning: boolean;
47
+ export declare class SearchField extends TextField {
48
48
  /**
49
- * Disables all other states and border/background styles.
50
- * Use with advanced composite elements requiring e.g. multi selection in
51
- * combo-box when parent container handles element states.
49
+ * Used for translations
52
50
  */
53
- transparent: boolean;
51
+ protected t: Translate;
54
52
  /**
55
- * Set character max limit
56
- */
57
- maxLength: number | null;
58
- /**
59
- * Set character min limit
60
- */
61
- minLength: number | null;
62
- /**
63
- * Specify when icon need to be clickable
64
- */
65
- iconHasAction: boolean;
66
- /**
67
- * Get native input element from shadow roots
68
- */
69
- private inputElement;
70
- /**
71
- * Select the contents of input
72
- * @returns void
73
- */
74
- select(): void;
75
- /**
76
- * A `TemplateResult` that will be used
77
- * to render the updated internal template.
78
- * @return Render template
79
- */
80
- protected render(): TemplateResult;
81
- /**
82
- * Called when the element’s DOM has been updated and rendered
83
- * @param changedProperties Properties that has changed
84
- * @returns {void}
85
- */
86
- protected updated(changedProperties: PropertyValues): void;
87
- /**
88
- * Check if input should be re-validated
89
- * @param changedProperties Properties that has changed
90
- * @returns True if input should be re-validated
91
- */
92
- private shouldValidateInput;
93
- /**
94
- * validate input according `pattern`, `minLength` and `maxLength` properties
95
- * change state of `error` property according pattern validation
96
- * @returns {void}
97
- */
98
- private validateInput;
99
- /**
100
- * @param error existing state of error
101
- * @returns true if there is no error and browser is IE11 and minLength more than 0 and value exists
102
- */
103
- private shouldValidateForMinLength;
104
- /**
105
- * Check if value is changed
106
- * @returns {void}
107
- */
108
- private onPossibleValueChange;
109
- /**
110
- * Detect `enter` and `space` keydown and fire
111
- * @param event keydown event
112
- * @returns {void}
53
+ * Decorate `<input>` element with common properties extended from text-field:
54
+ * type="search" - always `search`
55
+ * @returns template map
113
56
  */
114
- private handleKeyDown;
57
+ protected get decorateInputMap(): TemplateMap;
115
58
  /**
116
- * Fire event on icon click
59
+ * Renders icon element
117
60
  * @returns {void}
118
61
  */
119
- private notifyIcon;
62
+ protected renderIcon(): TemplateResult | null;
120
63
  }
121
64
 
122
65
  declare global {
@@ -126,7 +69,7 @@ declare global {
126
69
 
127
70
  namespace JSX {
128
71
  interface IntrinsicElements {
129
- 'ef-search-field': Partial<SearchField> | JSXInterface.ControlHTMLAttributes<SearchField>;
72
+ 'ef-search-field': Partial<SearchField> | JSXInterface.HTMLAttributes<SearchField>;
130
73
  }
131
74
  }
132
75
  }