@drayman/elements 1.6.6 → 1.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.
@@ -26,6 +26,7 @@ export interface ButtonOptionsBase {
26
26
  */
27
27
  imgUrl?: string;
28
28
  buttonStyle?: any;
29
+ buttonIconStyle?: any;
29
30
  popup?: {
30
31
  text: string;
31
32
  style?: any;
@@ -3,4 +3,10 @@ import { AutocompleteOptionsBase } from '../../../../shared/models/autocomplete-
3
3
  import { InputFieldOptionsBase } from '../../../../shared/models/input-field-options-base';
4
4
  export interface DraymanTextField extends InputFieldOptionsBase<string>, AutocompleteOptionsBase<string>, InputMaskOptionsBase {
5
5
  type?: 'text' | 'password';
6
+ /**
7
+ * Executed with current value when ENTER key is pressed or an option from suggestions is selected.
8
+ */
9
+ onEnter?: ElementEvent<{
10
+ value: string;
11
+ }>;
6
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drayman/elements",
3
- "version": "1.6.6",
3
+ "version": "1.7.0",
4
4
  "description": "A collection of web components for Drayman.",
5
5
  "license": "MIT",
6
6
  "keywords": [