@vaadin/details 23.1.1 → 23.2.0-dev.8a7678b70

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": "@vaadin/details",
3
- "version": "23.1.1",
3
+ "version": "23.2.0-dev.8a7678b70",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,16 +34,16 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@polymer/polymer": "^3.0.0",
37
- "@vaadin/component-base": "^23.1.1",
38
- "@vaadin/field-base": "^23.1.1",
39
- "@vaadin/vaadin-lumo-styles": "^23.1.1",
40
- "@vaadin/vaadin-material-styles": "^23.1.1",
41
- "@vaadin/vaadin-themable-mixin": "^23.1.1"
37
+ "@vaadin/component-base": "23.2.0-dev.8a7678b70",
38
+ "@vaadin/field-base": "23.2.0-dev.8a7678b70",
39
+ "@vaadin/vaadin-lumo-styles": "23.2.0-dev.8a7678b70",
40
+ "@vaadin/vaadin-material-styles": "23.2.0-dev.8a7678b70",
41
+ "@vaadin/vaadin-themable-mixin": "23.2.0-dev.8a7678b70"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@esm-bundle/chai": "^4.3.4",
45
45
  "@vaadin/testing-helpers": "^0.3.2",
46
46
  "sinon": "^13.0.2"
47
47
  },
48
- "gitHead": "390458d6519433a2dd502cef90da48e84573a275"
48
+ "gitHead": "85b403f96d8282f262322b56c0ff4289f843d02a"
49
49
  }
@@ -5,6 +5,7 @@
5
5
  */
6
6
  import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
7
7
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
8
+ import { generateUniqueId } from '@vaadin/component-base/src/unique-id-utils.js';
8
9
  import { ShadowFocusMixin } from '@vaadin/field-base/src/shadow-focus-mixin.js';
9
10
  import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
10
11
 
@@ -134,8 +135,7 @@ class Details extends ShadowFocusMixin(ElementMixin(ThemableMixin(PolymerElement
134
135
  /** @protected */
135
136
  ready() {
136
137
  super.ready();
137
- const uniqueId = (Details._uniqueId = 1 + Details._uniqueId || 0);
138
- this._contentId = `${this.constructor.is}-content-${uniqueId}`;
138
+ this._contentId = `${this.constructor.is}-content-${generateUniqueId()}`;
139
139
  // Prevent Shift + Tab on content from host blur
140
140
  this._collapsible.addEventListener('keydown', (e) => {
141
141
  if (e.shiftKey && e.keyCode === 9) {