@vaadin/field-base 25.0.0-alpha20 → 25.0.0-alpha21

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/field-base",
3
- "version": "25.0.0-alpha20",
3
+ "version": "25.0.0-alpha21",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -31,15 +31,15 @@
31
31
  ],
32
32
  "dependencies": {
33
33
  "@open-wc/dedupe-mixin": "^1.3.0",
34
- "@vaadin/a11y-base": "25.0.0-alpha20",
35
- "@vaadin/component-base": "25.0.0-alpha20",
34
+ "@vaadin/a11y-base": "25.0.0-alpha21",
35
+ "@vaadin/component-base": "25.0.0-alpha21",
36
36
  "lit": "^3.0.0"
37
37
  },
38
38
  "devDependencies": {
39
- "@vaadin/chai-plugins": "25.0.0-alpha20",
40
- "@vaadin/test-runner-commands": "25.0.0-alpha20",
39
+ "@vaadin/chai-plugins": "25.0.0-alpha21",
40
+ "@vaadin/test-runner-commands": "25.0.0-alpha21",
41
41
  "@vaadin/testing-helpers": "^2.0.0",
42
42
  "sinon": "^21.0.0"
43
43
  },
44
- "gitHead": "c948aae591a30b432f3784000d4677674cae56e0"
44
+ "gitHead": "8fb9e9710c01449edf623a1aaac4655cdc11a933"
45
45
  }
@@ -23,6 +23,9 @@ export const button = css`
23
23
  display: block;
24
24
  height: var(--vaadin-icon-size, 1lh);
25
25
  width: var(--vaadin-icon-size, 1lh);
26
+ mask-size: var(--vaadin-icon-visual-size, 100%);
27
+ mask-position: 50%;
28
+ mask-repeat: no-repeat;
26
29
  }
27
30
 
28
31
  :host(:is(:not([clear-button-visible][has-value]), [disabled], [readonly])) [part~='clear-button'] {
@@ -109,7 +109,7 @@ export const field = css`
109
109
  flex: none;
110
110
  width: var(--vaadin-icon-size, 1lh);
111
111
  height: var(--vaadin-icon-size, 1lh);
112
- mask-image: var(--_vaadin-icon-warn);
112
+ mask: var(--_vaadin-icon-warn) 50% / var(--vaadin-icon-visual-size, 100%) no-repeat;
113
113
  background: currentColor;
114
114
  }
115
115