@vaadin/component-base 25.3.4 → 25.3.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 +4 -4
- package/src/define.js +1 -1
- package/src/resize-mixin.js +3 -0
- package/src/warnings.d.ts +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/component-base",
|
|
3
|
-
"version": "25.3.
|
|
3
|
+
"version": "25.3.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@polymer/polymer": "^3.0.0",
|
|
42
|
-
"@vaadin/chai-plugins": "~25.3.
|
|
43
|
-
"@vaadin/test-runner-commands": "~25.3.
|
|
42
|
+
"@vaadin/chai-plugins": "~25.3.6",
|
|
43
|
+
"@vaadin/test-runner-commands": "~25.3.6",
|
|
44
44
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
45
45
|
"sinon": "^22.0.0"
|
|
46
46
|
},
|
|
47
47
|
"customElements": "custom-elements.json",
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "134c7903aec884546665a5aa5166bbced5b1631e"
|
|
49
49
|
}
|
package/src/define.js
CHANGED
|
@@ -13,7 +13,7 @@ function dashToCamelCase(dash) {
|
|
|
13
13
|
|
|
14
14
|
const experimentalMap = {};
|
|
15
15
|
|
|
16
|
-
export function defineCustomElement(CustomElement, version = '25.3.
|
|
16
|
+
export function defineCustomElement(CustomElement, version = '25.3.6') {
|
|
17
17
|
Object.defineProperty(CustomElement, 'version', {
|
|
18
18
|
get() {
|
|
19
19
|
return version;
|
package/src/resize-mixin.js
CHANGED
package/src/warnings.d.ts
CHANGED
|
@@ -8,3 +8,8 @@
|
|
|
8
8
|
* Issues a warning in the browser console if it has not been issued before.
|
|
9
9
|
*/
|
|
10
10
|
export declare function issueWarning(warning: string): void;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Clears all issued warnings. Only intended for testing purposes.
|
|
14
|
+
*/
|
|
15
|
+
export declare function clearWarnings(): void;
|