@vaadin/item 24.0.0-rc2 → 24.1.0-alpha1
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 +2 -2
- package/package.json +7 -6
- package/src/vaadin-item-mixin.d.ts +3 -3
- package/src/vaadin-item-mixin.js +2 -2
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ A web component for displaying items in list-box, context-menu or select compone
|
|
|
11
11
|
<vaadin-item>Simple Item</vaadin-item> <vaadin-item disabled>Disabled Item</vaadin-item>
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
[<img src="https://raw.githubusercontent.com/vaadin/
|
|
14
|
+
[<img src="https://raw.githubusercontent.com/vaadin/web-components/main/packages/item/screenshot.png" width="169" alt="Screenshot of vaadin-item">](https://vaadin.com/docs/latest/components/item)
|
|
15
15
|
|
|
16
16
|
## Installation
|
|
17
17
|
|
|
@@ -30,7 +30,7 @@ import '@vaadin/item';
|
|
|
30
30
|
## Themes
|
|
31
31
|
|
|
32
32
|
Vaadin components come with two built-in [themes](https://vaadin.com/docs/latest/styling), Lumo and Material.
|
|
33
|
-
The [main entrypoint](https://github.com/vaadin/web-components/blob/
|
|
33
|
+
The [main entrypoint](https://github.com/vaadin/web-components/blob/main/packages/item/vaadin-item.js) of the package uses Lumo theme.
|
|
34
34
|
|
|
35
35
|
To use the Material theme, import the component from the `theme/material` folder:
|
|
36
36
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/item",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.1.0-alpha1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -37,10 +37,11 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
39
39
|
"@polymer/polymer": "^3.0.0",
|
|
40
|
-
"@vaadin/
|
|
41
|
-
"@vaadin/
|
|
42
|
-
"@vaadin/vaadin-
|
|
43
|
-
"@vaadin/vaadin-
|
|
40
|
+
"@vaadin/a11y-base": "24.1.0-alpha1",
|
|
41
|
+
"@vaadin/component-base": "24.1.0-alpha1",
|
|
42
|
+
"@vaadin/vaadin-lumo-styles": "24.1.0-alpha1",
|
|
43
|
+
"@vaadin/vaadin-material-styles": "24.1.0-alpha1",
|
|
44
|
+
"@vaadin/vaadin-themable-mixin": "24.1.0-alpha1"
|
|
44
45
|
},
|
|
45
46
|
"devDependencies": {
|
|
46
47
|
"@esm-bundle/chai": "^4.3.4",
|
|
@@ -51,5 +52,5 @@
|
|
|
51
52
|
"web-types.json",
|
|
52
53
|
"web-types.lit.json"
|
|
53
54
|
],
|
|
54
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "599a339181595923b9ad6373d6888d8a79540141"
|
|
55
56
|
}
|
|
@@ -4,9 +4,9 @@
|
|
|
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';
|
|
7
|
-
import type { ActiveMixinClass } from '@vaadin/
|
|
8
|
-
import type { DisabledMixinClass } from '@vaadin/
|
|
9
|
-
import type { FocusMixinClass } from '@vaadin/
|
|
7
|
+
import type { ActiveMixinClass } from '@vaadin/a11y-base/src/active-mixin.js';
|
|
8
|
+
import type { DisabledMixinClass } from '@vaadin/a11y-base/src/disabled-mixin.js';
|
|
9
|
+
import type { FocusMixinClass } from '@vaadin/a11y-base/src/focus-mixin.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* A mixin providing `focused`, `focus-ring`, `active`, `disabled` and `selected`.
|
package/src/vaadin-item-mixin.js
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
|
-
import { ActiveMixin } from '@vaadin/
|
|
7
|
-
import { FocusMixin } from '@vaadin/
|
|
6
|
+
import { ActiveMixin } from '@vaadin/a11y-base/src/active-mixin.js';
|
|
7
|
+
import { FocusMixin } from '@vaadin/a11y-base/src/focus-mixin.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* A mixin providing `focused`, `focus-ring`, `active`, `disabled` and `selected`.
|
package/web-types.json
CHANGED