@vaadin/checkbox-group 25.0.0-alpha10 → 25.0.0-alpha12
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 +10 -13
- package/src/vaadin-checkbox-group.js +1 -1
- package/vaadin-checkbox-group.js +1 -1
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
- package/src/styles/vaadin-checkbox-group-core-styles.d.ts +0 -8
- package/src/styles/vaadin-checkbox-group-core-styles.js +0 -8
- package/theme/lumo/vaadin-checkbox-group-styles.d.ts +0 -5
- package/theme/lumo/vaadin-checkbox-group-styles.js +0 -57
- package/theme/lumo/vaadin-checkbox-group.d.ts +0 -3
- package/theme/lumo/vaadin-checkbox-group.js +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/checkbox-group",
|
|
3
|
-
"version": "25.0.0-
|
|
3
|
+
"version": "25.0.0-alpha12",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -21,9 +21,6 @@
|
|
|
21
21
|
"type": "module",
|
|
22
22
|
"files": [
|
|
23
23
|
"src",
|
|
24
|
-
"!src/styles/*-base-styles.d.ts",
|
|
25
|
-
"!src/styles/*-base-styles.js",
|
|
26
|
-
"theme",
|
|
27
24
|
"vaadin-*.d.ts",
|
|
28
25
|
"vaadin-*.js",
|
|
29
26
|
"web-types.json",
|
|
@@ -37,23 +34,23 @@
|
|
|
37
34
|
],
|
|
38
35
|
"dependencies": {
|
|
39
36
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
40
|
-
"@vaadin/a11y-base": "25.0.0-
|
|
41
|
-
"@vaadin/checkbox": "25.0.0-
|
|
42
|
-
"@vaadin/component-base": "25.0.0-
|
|
43
|
-
"@vaadin/field-base": "25.0.0-
|
|
44
|
-
"@vaadin/vaadin-
|
|
45
|
-
"@vaadin/vaadin-themable-mixin": "25.0.0-alpha10",
|
|
37
|
+
"@vaadin/a11y-base": "25.0.0-alpha12",
|
|
38
|
+
"@vaadin/checkbox": "25.0.0-alpha12",
|
|
39
|
+
"@vaadin/component-base": "25.0.0-alpha12",
|
|
40
|
+
"@vaadin/field-base": "25.0.0-alpha12",
|
|
41
|
+
"@vaadin/vaadin-themable-mixin": "25.0.0-alpha12",
|
|
46
42
|
"lit": "^3.0.0"
|
|
47
43
|
},
|
|
48
44
|
"devDependencies": {
|
|
49
|
-
"@vaadin/chai-plugins": "25.0.0-
|
|
50
|
-
"@vaadin/test-runner-commands": "25.0.0-
|
|
45
|
+
"@vaadin/chai-plugins": "25.0.0-alpha12",
|
|
46
|
+
"@vaadin/test-runner-commands": "25.0.0-alpha12",
|
|
51
47
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
48
|
+
"@vaadin/vaadin-lumo-styles": "25.0.0-alpha12",
|
|
52
49
|
"sinon": "^18.0.0"
|
|
53
50
|
},
|
|
54
51
|
"web-types": [
|
|
55
52
|
"web-types.json",
|
|
56
53
|
"web-types.lit.json"
|
|
57
54
|
],
|
|
58
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "e75527348f9ba7c363d068c868b9f030c15b84a1"
|
|
59
56
|
}
|
|
@@ -10,7 +10,7 @@ import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
|
|
|
10
10
|
import { PolylitMixin } from '@vaadin/component-base/src/polylit-mixin.js';
|
|
11
11
|
import { LumoInjectionMixin } from '@vaadin/vaadin-themable-mixin/lumo-injection-mixin.js';
|
|
12
12
|
import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
|
|
13
|
-
import { checkboxGroupStyles } from './styles/vaadin-checkbox-group-
|
|
13
|
+
import { checkboxGroupStyles } from './styles/vaadin-checkbox-group-base-styles.js';
|
|
14
14
|
import { CheckboxGroupMixin } from './vaadin-checkbox-group-mixin.js';
|
|
15
15
|
|
|
16
16
|
/**
|
package/vaadin-checkbox-group.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import './
|
|
1
|
+
import './src/vaadin-checkbox-group.js';
|
|
2
2
|
export * from './src/vaadin-checkbox-group.js';
|
package/web-types.json
CHANGED
package/web-types.lit.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright (c) 2018 - 2025 Vaadin Ltd.
|
|
4
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
|
-
*/
|
|
6
|
-
import { group } from '@vaadin/field-base/src/styles/group-core-styles.js';
|
|
7
|
-
|
|
8
|
-
export const checkboxGroupStyles = group('checkbox');
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import '@vaadin/vaadin-lumo-styles/color.js';
|
|
2
|
-
import '@vaadin/vaadin-lumo-styles/sizing.js';
|
|
3
|
-
import '@vaadin/vaadin-lumo-styles/spacing.js';
|
|
4
|
-
import '@vaadin/vaadin-lumo-styles/style.js';
|
|
5
|
-
import '@vaadin/vaadin-lumo-styles/typography.js';
|
|
6
|
-
import { helper } from '@vaadin/vaadin-lumo-styles/mixins/helper.js';
|
|
7
|
-
import { requiredField } from '@vaadin/vaadin-lumo-styles/mixins/required-field.js';
|
|
8
|
-
import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
|
|
9
|
-
|
|
10
|
-
const checkboxGroup = css`
|
|
11
|
-
:host {
|
|
12
|
-
color: var(--lumo-body-text-color);
|
|
13
|
-
font-size: var(--lumo-font-size-m);
|
|
14
|
-
font-family: var(--lumo-font-family);
|
|
15
|
-
-webkit-font-smoothing: antialiased;
|
|
16
|
-
-moz-osx-font-smoothing: grayscale;
|
|
17
|
-
-webkit-tap-highlight-color: transparent;
|
|
18
|
-
padding: var(--lumo-space-xs) 0;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
:host::before {
|
|
22
|
-
/* Effective height of vaadin-checkbox */
|
|
23
|
-
height: var(--lumo-size-s);
|
|
24
|
-
box-sizing: border-box;
|
|
25
|
-
display: inline-flex;
|
|
26
|
-
align-items: center;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
:host([theme~='vertical']) [part='group-field'] {
|
|
30
|
-
flex-direction: column;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
:host([disabled]) [part='label'] {
|
|
34
|
-
color: var(--lumo-disabled-text-color);
|
|
35
|
-
-webkit-text-fill-color: var(--lumo-disabled-text-color);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
:host([focused]:not([readonly])) [part='label'] {
|
|
39
|
-
color: var(--lumo-primary-text-color);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
:host(:hover:not([readonly]):not([disabled]):not([focused])) [part='label'],
|
|
43
|
-
:host(:hover:not([readonly]):not([disabled]):not([focused])) [part='helper-text'] {
|
|
44
|
-
color: var(--lumo-body-text-color);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/* Touch device adjustment */
|
|
48
|
-
@media (pointer: coarse) {
|
|
49
|
-
:host(:hover:not([readonly]):not([disabled]):not([focused])) [part='label'] {
|
|
50
|
-
color: var(--lumo-secondary-text-color);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
`;
|
|
54
|
-
|
|
55
|
-
registerStyles('vaadin-checkbox-group', [requiredField, helper, checkboxGroup], {
|
|
56
|
-
moduleId: 'lumo-checkbox-group',
|
|
57
|
-
});
|