@vaadin/details 23.1.0-alpha3 → 23.1.0-beta2
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 +7 -7
- package/src/vaadin-details.d.ts +2 -2
- package/src/vaadin-details.js +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/details",
|
|
3
|
-
"version": "23.1.0-
|
|
3
|
+
"version": "23.1.0-beta2",
|
|
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.0-
|
|
38
|
-
"@vaadin/field-base": "23.1.0-
|
|
39
|
-
"@vaadin/vaadin-lumo-styles": "23.1.0-
|
|
40
|
-
"@vaadin/vaadin-material-styles": "23.1.0-
|
|
41
|
-
"@vaadin/vaadin-themable-mixin": "23.1.0-
|
|
37
|
+
"@vaadin/component-base": "23.1.0-beta2",
|
|
38
|
+
"@vaadin/field-base": "23.1.0-beta2",
|
|
39
|
+
"@vaadin/vaadin-lumo-styles": "23.1.0-beta2",
|
|
40
|
+
"@vaadin/vaadin-material-styles": "23.1.0-beta2",
|
|
41
|
+
"@vaadin/vaadin-themable-mixin": "23.1.0-beta2"
|
|
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": "
|
|
48
|
+
"gitHead": "f11f9245a0b5e6bf912725a501c27c24b74e7c8d"
|
|
49
49
|
}
|
package/src/vaadin-details.d.ts
CHANGED
|
@@ -62,13 +62,13 @@ declare class Details extends ShadowFocusMixin(ElementMixin(ThemableMixin(HTMLEl
|
|
|
62
62
|
addEventListener<K extends keyof DetailsEventMap>(
|
|
63
63
|
type: K,
|
|
64
64
|
listener: (this: Details, ev: DetailsEventMap[K]) => void,
|
|
65
|
-
options?: boolean | AddEventListenerOptions
|
|
65
|
+
options?: boolean | AddEventListenerOptions,
|
|
66
66
|
): void;
|
|
67
67
|
|
|
68
68
|
removeEventListener<K extends keyof DetailsEventMap>(
|
|
69
69
|
type: K,
|
|
70
70
|
listener: (this: Details, ev: DetailsEventMap[K]) => void,
|
|
71
|
-
options?: boolean | EventListenerOptions
|
|
71
|
+
options?: boolean | EventListenerOptions,
|
|
72
72
|
): void;
|
|
73
73
|
}
|
|
74
74
|
|
package/src/vaadin-details.js
CHANGED
|
@@ -109,8 +109,8 @@ class Details extends ShadowFocusMixin(ElementMixin(ThemableMixin(PolymerElement
|
|
|
109
109
|
value: false,
|
|
110
110
|
reflectToAttribute: true,
|
|
111
111
|
notify: true,
|
|
112
|
-
observer: '_openedChanged'
|
|
113
|
-
}
|
|
112
|
+
observer: '_openedChanged',
|
|
113
|
+
},
|
|
114
114
|
};
|
|
115
115
|
}
|
|
116
116
|
|
|
@@ -135,7 +135,7 @@ class Details extends ShadowFocusMixin(ElementMixin(ThemableMixin(PolymerElement
|
|
|
135
135
|
super.ready();
|
|
136
136
|
const uniqueId = (Details._uniqueId = 1 + Details._uniqueId || 0);
|
|
137
137
|
this._contentId = `${this.constructor.is}-content-${uniqueId}`;
|
|
138
|
-
//
|
|
138
|
+
// Prevent Shift + Tab on content from host blur
|
|
139
139
|
this._collapsible.addEventListener('keydown', (e) => {
|
|
140
140
|
if (e.shiftKey && e.keyCode === 9) {
|
|
141
141
|
e.stopPropagation();
|