@vaadin/field-base 25.0.0-beta7 → 25.0.0

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-beta7",
3
+ "version": "25.0.0",
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-beta7",
35
- "@vaadin/component-base": "25.0.0-beta7",
34
+ "@vaadin/a11y-base": "~25.0.0",
35
+ "@vaadin/component-base": "~25.0.0",
36
36
  "lit": "^3.0.0"
37
37
  },
38
38
  "devDependencies": {
39
- "@vaadin/chai-plugins": "25.0.0-beta7",
40
- "@vaadin/test-runner-commands": "25.0.0-beta7",
39
+ "@vaadin/chai-plugins": "~25.0.0",
40
+ "@vaadin/test-runner-commands": "~25.0.0",
41
41
  "@vaadin/testing-helpers": "^2.0.0",
42
42
  "sinon": "^21.0.0"
43
43
  },
44
- "gitHead": "f12f14c37d2c0a72f708baff4a95230168d58dcc"
44
+ "gitHead": "c979f7ca278b6412095176ada230eb07eb4456bf"
45
45
  }
@@ -11,13 +11,9 @@ export const checkable = (part, propName = part) => css`
11
11
  :host {
12
12
  align-items: baseline;
13
13
  column-gap: var(--vaadin-${unsafeCSS(propName)}-gap, var(--vaadin-gap-s));
14
+ grid-template: none;
14
15
  grid-template-columns: auto 1fr;
15
- /*
16
- Using minmax(auto, max-content) works around a Safari 17 issue where placing a checkbox
17
- inside a flex container with flex-direction: column causes the container to unexpectedly
18
- grow to the max available height.
19
- */
20
- grid-template-rows: minmax(auto, max-content);
16
+ grid-template-rows: repeat(auto-fill, minmax(0, max-content));
21
17
  -webkit-tap-highlight-color: transparent;
22
18
  --_cursor: var(--vaadin-clickable-cursor);
23
19
  }
@@ -65,6 +61,7 @@ export const checkable = (part, propName = part) => css`
65
61
  [part='helper-text'],
66
62
  [part='error-message'] {
67
63
  margin-top: var(--_gap-s);
64
+ grid-row: auto;
68
65
  }
69
66
 
70
67
  /* Baseline vertical alignment */
@@ -75,7 +75,7 @@ export const field = css`
75
75
  calc(
76
76
  var(
77
77
  --vaadin-field-baseline-input-height,
78
- (1lh + var(--vaadin-padding-xs) * 2 + var(--vaadin-input-field-border-width, 1px) * 2)
78
+ (1lh + var(--vaadin-padding-block-container) * 2 + var(--vaadin-input-field-border-width, 1px) * 2)
79
79
  ) *
80
80
  -1
81
81
  )
@@ -139,6 +139,7 @@ export const field = css`
139
139
  [part='error-message'] {
140
140
  width: min-content;
141
141
  min-width: 100%;
142
+ box-sizing: border-box;
142
143
  }
143
144
 
144
145
  [part='input-field'],