@aquera/nile-elements 0.0.1-beta.5 → 0.0.1-beta.6

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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent nile-elements following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "nile-elements",
6
- "version": "0.0.1-beta.5",
6
+ "version": "0.0.1-beta.6",
7
7
  "main": "dist/src/index.js",
8
8
  "type": "module",
9
9
  "module": "dist/src/index.js",
@@ -65,6 +65,13 @@ export class NileChip extends NileElement {
65
65
  // Auto-complete options
66
66
  @property({ type: Array }) autoCompleteOptions : any[] = [];
67
67
 
68
+ @property({ type: Array }) value : any[] = [];
69
+
70
+ @watch('value')
71
+ onValueChanged() {
72
+ this.tags = [...this.value];
73
+ }
74
+
68
75
  private handleSelect(event: CustomEvent<CustomEventDetail>) {
69
76
 
70
77
  // Add the selected value to the tags array
@@ -99,7 +99,7 @@ export class NileTag extends NileElement {
99
99
  <nile-icon-button
100
100
  part="remove-button"
101
101
  exportparts="base:remove-button__base"
102
- name="close"
102
+ name="error"
103
103
  library="system"
104
104
  label="remove"
105
105
  class="tag__remove"