@vaadin/checkbox 24.6.0-rc1 → 24.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/checkbox",
3
- "version": "24.6.0-rc1",
3
+ "version": "24.7.0-alpha1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -37,16 +37,16 @@
37
37
  "dependencies": {
38
38
  "@open-wc/dedupe-mixin": "^1.3.0",
39
39
  "@polymer/polymer": "^3.0.0",
40
- "@vaadin/a11y-base": "24.6.0-rc1",
41
- "@vaadin/component-base": "24.6.0-rc1",
42
- "@vaadin/field-base": "24.6.0-rc1",
43
- "@vaadin/vaadin-lumo-styles": "24.6.0-rc1",
44
- "@vaadin/vaadin-material-styles": "24.6.0-rc1",
45
- "@vaadin/vaadin-themable-mixin": "24.6.0-rc1",
40
+ "@vaadin/a11y-base": "24.7.0-alpha1",
41
+ "@vaadin/component-base": "24.7.0-alpha1",
42
+ "@vaadin/field-base": "24.7.0-alpha1",
43
+ "@vaadin/vaadin-lumo-styles": "24.7.0-alpha1",
44
+ "@vaadin/vaadin-material-styles": "24.7.0-alpha1",
45
+ "@vaadin/vaadin-themable-mixin": "24.7.0-alpha1",
46
46
  "lit": "^3.0.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@vaadin/chai-plugins": "24.6.0-rc1",
49
+ "@vaadin/chai-plugins": "24.7.0-alpha1",
50
50
  "@vaadin/testing-helpers": "^1.0.0",
51
51
  "sinon": "^18.0.0"
52
52
  },
@@ -54,5 +54,5 @@
54
54
  "web-types.json",
55
55
  "web-types.lit.json"
56
56
  ],
57
- "gitHead": "d62ba309e3286777ad3ea7e015d50a2c4976bb42"
57
+ "gitHead": "04be941c9a7b659871c97f31b9cc3ffd7528087b"
58
58
  }
@@ -18,7 +18,6 @@ registerStyles(
18
18
  -moz-osx-font-smoothing: grayscale;
19
19
  -webkit-tap-highlight-color: transparent;
20
20
  -webkit-user-select: none;
21
- -moz-user-select: none;
22
21
  user-select: none;
23
22
  cursor: default;
24
23
  outline: none;
@@ -241,6 +240,10 @@ registerStyles(
241
240
  text-align: center;
242
241
  }
243
242
 
243
+ :host(:not([has-label])) [part='required-indicator'] {
244
+ display: none;
245
+ }
246
+
244
247
  /* Invalid */
245
248
  :host([invalid]) {
246
249
  --vaadin-input-field-border-color: var(--lumo-error-color);
@@ -7,8 +7,6 @@ registerStyles(
7
7
  :host {
8
8
  display: inline-block;
9
9
  -webkit-user-select: none;
10
- -moz-user-select: none;
11
- -ms-user-select: none;
12
10
  user-select: none;
13
11
  outline: none;
14
12
  -webkit-tap-highlight-color: transparent;
@@ -161,6 +159,10 @@ registerStyles(
161
159
  color: var(--material-error-text-color);
162
160
  }
163
161
 
162
+ :host(:not([has-label])) [part='required-indicator'] {
163
+ display: none;
164
+ }
165
+
164
166
  [part='error-message'],
165
167
  [part='helper-text'] {
166
168
  font-size: 0.75em;
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/checkbox",
4
- "version": "24.6.0-rc1",
4
+ "version": "24.7.0-alpha1",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/checkbox",
4
- "version": "24.6.0-rc1",
4
+ "version": "24.7.0-alpha1",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {