@vaadin/item 24.4.0-dev.223e39f050 → 24.4.0-dev.4b20a0c55.3
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-dev.
|
|
3
|
+
"version": "24.4.0-dev.4b20a0c55.3",
|
|
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-dev.
|
|
41
|
-
"@vaadin/component-base": "24.4.0-dev.
|
|
42
|
-
"@vaadin/vaadin-lumo-styles": "24.4.0-dev.
|
|
43
|
-
"@vaadin/vaadin-material-styles": "24.4.0-dev.
|
|
44
|
-
"@vaadin/vaadin-themable-mixin": "24.4.0-dev.
|
|
40
|
+
"@vaadin/a11y-base": "24.4.0-dev.4b20a0c55.3",
|
|
41
|
+
"@vaadin/component-base": "24.4.0-dev.4b20a0c55.3",
|
|
42
|
+
"@vaadin/vaadin-lumo-styles": "24.4.0-dev.4b20a0c55.3",
|
|
43
|
+
"@vaadin/vaadin-material-styles": "24.4.0-dev.4b20a0c55.3",
|
|
44
|
+
"@vaadin/vaadin-themable-mixin": "24.4.0-dev.4b20a0c55.3"
|
|
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": "41cf17453d7506fb635c088a0425e20b6e82b89b"
|
|
56
56
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import type { Constructor } from '@open-wc/dedupe-mixin';
|
package/src/vaadin-item-mixin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { ActiveMixin } from '@vaadin/a11y-base/src/active-mixin.js';
|
package/src/vaadin-item.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { DirMixin } from '@vaadin/component-base/src/dir-mixin.js';
|
package/src/vaadin-item.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
|
|
@@ -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 */
|