@gravitee/ui-components 3.24.2-fix-lit2-upgrade-b85f7b1 → 3.24.2-fix-lit2-button-83ed3fa

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravitee/ui-components",
3
- "version": "3.24.2-fix-lit2-upgrade-b85f7b1",
3
+ "version": "3.24.2-fix-lit2-button-83ed3fa",
4
4
  "description": "Gravitee.io UI Components library, based on Web Components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -322,14 +322,6 @@ export class GvButton extends LitElement {
322
322
  }
323
323
  }
324
324
 
325
- async performUpdate() {
326
- super.performUpdate();
327
- const icon = this.shadowRoot.querySelector('gv-icon');
328
- if (icon) {
329
- icon.performUpdate();
330
- }
331
- }
332
-
333
325
  render() {
334
326
  const classes = {
335
327
  button: true,
@@ -202,7 +202,7 @@ export class GvSelectNative extends InputElement(LitElement) {
202
202
 
203
203
  willUpdate(changedProperties) {
204
204
  if (changedProperties.has('value')) {
205
- this.updateState(this.value);
205
+ this.updateState(changedProperties.get('value'));
206
206
  }
207
207
  }
208
208
 
@@ -239,7 +239,7 @@ export class GvSelect extends withResizeObserver(InputElement(LitElement)) {
239
239
 
240
240
  willUpdate(changedProperties) {
241
241
  if (changedProperties.has('value')) {
242
- this.updateState(this.value);
242
+ this.updateState(changedProperties.get('value'));
243
243
  }
244
244
  }
245
245