@vaadin/component-base 25.0.0-rc1 → 25.0.1
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/component-base",
|
|
3
|
-
"version": "25.0.
|
|
3
|
+
"version": "25.0.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"lit": "^3.0.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@vaadin/chai-plugins": "25.0.
|
|
41
|
-
"@vaadin/test-runner-commands": "25.0.
|
|
40
|
+
"@vaadin/chai-plugins": "~25.0.1",
|
|
41
|
+
"@vaadin/test-runner-commands": "~25.0.1",
|
|
42
42
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
43
43
|
"sinon": "^21.0.0"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "ced28c07a8abee586510349b312452c8a555fd10"
|
|
46
46
|
}
|
|
@@ -23,9 +23,10 @@ export type DataProvider<TItem, TDataProviderParams extends Record<string, unkno
|
|
|
23
23
|
/**
|
|
24
24
|
* A controller that stores and manages items loaded with a data provider.
|
|
25
25
|
*/
|
|
26
|
-
export class DataProviderController<
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
export class DataProviderController<
|
|
27
|
+
TItem,
|
|
28
|
+
TDataProviderParams extends Record<string, unknown>,
|
|
29
|
+
> implements ReactiveController {
|
|
29
30
|
/**
|
|
30
31
|
* The controller host element.
|
|
31
32
|
*/
|
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.0.
|
|
16
|
+
export function defineCustomElement(CustomElement, version = '25.0.1') {
|
|
17
17
|
Object.defineProperty(CustomElement, 'version', {
|
|
18
18
|
get() {
|
|
19
19
|
return version;
|
|
@@ -32,7 +32,7 @@ addGlobalStyles(
|
|
|
32
32
|
'vaadin-base',
|
|
33
33
|
css`
|
|
34
34
|
@layer vaadin.base {
|
|
35
|
-
|
|
35
|
+
html {
|
|
36
36
|
/* Background color */
|
|
37
37
|
--vaadin-background-color: light-dark(#fff, #222);
|
|
38
38
|
|
|
@@ -121,7 +121,7 @@ addGlobalStyles(
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
@supports not (color: hsl(0 0 0)) {
|
|
124
|
-
|
|
124
|
+
html {
|
|
125
125
|
--_vaadin-safari-17-deg: 1deg;
|
|
126
126
|
}
|
|
127
127
|
}
|