@vaadin/item 24.4.0-alpha9 → 24.4.0-beta1
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/README.md
CHANGED
|
@@ -5,7 +5,6 @@ A web component for displaying items in list-box, context-menu or select compone
|
|
|
5
5
|
[Documentation + Live Demo ↗](https://vaadin.com/components/vaadin-item/html-examples)
|
|
6
6
|
|
|
7
7
|
[](https://www.npmjs.com/package/@vaadin/item)
|
|
8
|
-
[](https://discord.gg/PHmkCKC)
|
|
9
8
|
|
|
10
9
|
```html
|
|
11
10
|
<vaadin-item>Simple Item</vaadin-item> <vaadin-item disabled>Disabled Item</vaadin-item>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/item",
|
|
3
|
-
"version": "24.4.0-
|
|
3
|
+
"version": "24.4.0-beta1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
39
39
|
"@polymer/polymer": "^3.0.0",
|
|
40
|
-
"@vaadin/a11y-base": "24.4.0-
|
|
41
|
-
"@vaadin/component-base": "24.4.0-
|
|
42
|
-
"@vaadin/vaadin-lumo-styles": "24.4.0-
|
|
43
|
-
"@vaadin/vaadin-material-styles": "24.4.0-
|
|
44
|
-
"@vaadin/vaadin-themable-mixin": "24.4.0-
|
|
40
|
+
"@vaadin/a11y-base": "24.4.0-beta1",
|
|
41
|
+
"@vaadin/component-base": "24.4.0-beta1",
|
|
42
|
+
"@vaadin/vaadin-lumo-styles": "24.4.0-beta1",
|
|
43
|
+
"@vaadin/vaadin-material-styles": "24.4.0-beta1",
|
|
44
|
+
"@vaadin/vaadin-themable-mixin": "24.4.0-beta1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@esm-bundle/chai": "^4.3.4",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"web-types.json",
|
|
53
53
|
"web-types.lit.json"
|
|
54
54
|
],
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "504787f741d677467ae93ca7cd31d84489366a9c"
|
|
56
56
|
}
|
|
@@ -70,10 +70,10 @@ const item = css`
|
|
|
70
70
|
:host(:hover:not([disabled])) {
|
|
71
71
|
background-color: var(--lumo-primary-color-10pct);
|
|
72
72
|
}
|
|
73
|
+
}
|
|
73
74
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
75
|
+
:host([focus-ring]:not([disabled])) {
|
|
76
|
+
box-shadow: inset 0 0 0 var(--_focus-ring-width) var(--_focus-ring-color);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
/* RTL specific styles */
|
|
@@ -44,10 +44,10 @@ const item = css`
|
|
|
44
44
|
:host(:hover:not([disabled])) {
|
|
45
45
|
background-color: var(--material-secondary-background-color);
|
|
46
46
|
}
|
|
47
|
+
}
|
|
47
48
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
49
|
+
:host([focused]:not([disabled])) {
|
|
50
|
+
background-color: var(--material-divider-color);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
/* Disabled */
|
package/web-types.json
CHANGED