@fluentui/react-field 9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0 → 9.75.2-experimental.css-modules.20261113-ba13c87438.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/CHANGELOG.md CHANGED
@@ -1,22 +1,22 @@
1
1
  # Change Log - @fluentui/react-field
2
2
 
3
- <!-- This log was last generated on Tue, 03 Nov 2026 14:03:14 GMT and should not be manually modified. -->
3
+ <!-- This log was last generated on Fri, 13 Nov 2026 20:37:14 GMT and should not be manually modified. -->
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-field_v9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0)
7
+ ## [9.75.2-experimental.css-modules.20261113-ba13c87438.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-field_v9.75.2-experimental.css-modules.20261113-ba13c87438.0)
8
8
 
9
- Tue, 03 Nov 2026 14:03:14 GMT
9
+ Fri, 13 Nov 2026 20:37:14 GMT
10
10
 
11
11
  ### Changes
12
12
 
13
- - Release 9.75.1-experimental.css-modules.20261103-d6c85ee2a9 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by 257645319+office-ogx-auth-helper[bot]@users.noreply.github.com)
14
- - Bump @fluentui/react-context-selector to v9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
15
- - Bump @fluentui/react-jsx-runtime to v9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
16
- - Bump @fluentui/react-label to v9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
17
- - Bump @fluentui/react-shared-contexts to v9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
18
- - Bump @fluentui/react-theme to v9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
19
- - Bump @fluentui/react-utilities to v9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
13
+ - Release 9.75.2-experimental.css-modules.20261113-ba13c87438 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by 257645319+office-ogx-auth-helper[bot]@users.noreply.github.com)
14
+ - Bump @fluentui/react-context-selector to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
15
+ - Bump @fluentui/react-jsx-runtime to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
16
+ - Bump @fluentui/react-label to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
17
+ - Bump @fluentui/react-shared-contexts to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
18
+ - Bump @fluentui/react-theme to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
19
+ - Bump @fluentui/react-utilities to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
20
20
 
21
21
  ## [9.5.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-field_v9.5.6)
22
22
 
package/README.md CHANGED
@@ -61,16 +61,16 @@ Alternatively, run Storybook locally with:
61
61
 
62
62
  ### Specification
63
63
 
64
- See [SPEC.md](./SPEC.md).
64
+ See [SPEC.md](./docs/Spec.md).
65
65
 
66
66
  ### Migration Guide
67
67
 
68
- If you're upgrading to Fluent UI v9 see [MIGRATION.md](./MIGRATION.md) for guidance on updating the Field component.
68
+ If you're upgrading to Fluent UI v9 see [MIGRATION.md](./docs/Migration.md) for guidance on updating the Field component.
69
69
 
70
70
  ## Opt-in CSS Modules styles
71
71
 
72
72
  The `use*Styles.styles.css` modules beside the existing Griffel hooks provide opt-in,
73
- layered CSS alternatives with the same exports. Configure the bundler to replace
73
+ CSS alternatives with the same exports. Configure the bundler to replace
74
74
  `.styles` with `.styles.css.ts` for source imports and `.styles.js` with
75
75
  `.styles.css.js` for built imports. Load CSS Modules as default class-name maps and
76
76
  retain the package CSS assets. Default component imports still use Griffel.
@@ -78,4 +78,4 @@ Composed components require their own style alternatives; this does not remove
78
78
  all reachable Griffel dependencies. Browser, forced-colors, RTL, and visual-regression
79
79
  parity must be validated before switching defaults.
80
80
 
81
- Select the CSS Modules alternative for the composed `Label` as well; mixing a layered parent with an unlayered Griffel child can change the label cascade.
81
+ Select the CSS Modules alternative for the composed `Label` as well; mixing a CSS Modules parent with a Griffel child makes the label cascade depend on style insertion order.
@@ -1,89 +1,88 @@
1
- @layer fluent {
2
- .root {
3
- display: grid;
4
- }
1
+ /* @griffel-buckets reset: .validationMessage, .validationMessageIcon, .hint */
2
+ .root {
3
+ display: grid;
4
+ }
5
5
 
6
- .root:where(.horizontal) {
7
- grid-template-columns: 33% 1fr;
8
- grid-template-rows: auto auto auto 1fr;
9
- }
6
+ .root:where(.horizontal) {
7
+ grid-template-columns: 33% 1fr;
8
+ grid-template-rows: auto auto auto 1fr;
9
+ }
10
10
 
11
- .root:where(.horizontal:not(.withLabel)) {
12
- padding-inline-start: 33%;
13
- grid-template-columns: 1fr;
14
- }
11
+ .root:where(.horizontal:not(.withLabel)) {
12
+ padding-inline-start: 33%;
13
+ grid-template-columns: 1fr;
14
+ }
15
15
 
16
- .label {
17
- max-width: max-content;
18
- max-height: max-content;
19
- }
16
+ .label {
17
+ max-width: max-content;
18
+ max-height: max-content;
19
+ }
20
20
 
21
- :where(.vertical) > .label {
22
- padding-top: var(--spacingVerticalXXS);
23
- padding-bottom: var(--spacingVerticalXXS);
24
- margin-bottom: var(--spacingVerticalXXS);
25
- }
21
+ :where(.vertical) > .label {
22
+ padding-top: var(--spacingVerticalXXS);
23
+ padding-bottom: var(--spacingVerticalXXS);
24
+ margin-bottom: var(--spacingVerticalXXS);
25
+ }
26
26
 
27
- :where(.vertical.large) > .label {
28
- padding-top: calc(var(--spacingVerticalXXS) / 2);
29
- padding-bottom: calc(var(--spacingVerticalXXS) / 2);
30
- margin-bottom: var(--spacingVerticalXS);
31
- }
27
+ :where(.vertical.large) > .label {
28
+ padding-top: calc(var(--spacingVerticalXXS) / 2);
29
+ padding-bottom: calc(var(--spacingVerticalXXS) / 2);
30
+ margin-bottom: var(--spacingVerticalXS);
31
+ }
32
32
 
33
- :where(.horizontal) > .label {
34
- padding-top: var(--spacingVerticalSNudge);
35
- padding-bottom: var(--spacingVerticalSNudge);
36
- margin-inline-end: var(--spacingHorizontalM);
37
- grid-row-start: 1;
38
- grid-row-end: -1;
39
- }
33
+ :where(.horizontal) > .label {
34
+ padding-top: var(--spacingVerticalSNudge);
35
+ padding-bottom: var(--spacingVerticalSNudge);
36
+ margin-inline-end: var(--spacingHorizontalM);
37
+ grid-row-start: 1;
38
+ grid-row-end: -1;
39
+ }
40
40
 
41
- :where(.horizontal.small) > .label {
42
- padding-top: var(--spacingVerticalXS);
43
- padding-bottom: var(--spacingVerticalXS);
44
- }
41
+ :where(.horizontal.small) > .label {
42
+ padding-top: var(--spacingVerticalXS);
43
+ padding-bottom: var(--spacingVerticalXS);
44
+ }
45
45
 
46
- :where(.horizontal.large) > .label {
47
- padding-top: calc(var(--spacingVerticalS) + var(--spacingVerticalXXS) / 2);
48
- padding-bottom: calc(var(--spacingVerticalS) + var(--spacingVerticalXXS) / 2);
49
- }
46
+ :where(.horizontal.large) > .label {
47
+ padding-top: calc(var(--spacingVerticalS) + var(--spacingVerticalXXS) / 2);
48
+ padding-bottom: calc(var(--spacingVerticalS) + var(--spacingVerticalXXS) / 2);
49
+ }
50
50
 
51
- .validationMessage,
52
- .hint {
53
- margin-top: var(--spacingVerticalXXS);
54
- color: var(--colorNeutralForeground3);
55
- font-family: var(--fontFamilyBase);
56
- font-size: var(--fontSizeBase200);
57
- font-weight: var(--fontWeightRegular);
58
- line-height: var(--lineHeightBase200);
59
- }
51
+ .validationMessage,
52
+ .hint {
53
+ margin-top: var(--spacingVerticalXXS);
54
+ color: var(--colorNeutralForeground3);
55
+ font-family: var(--fontFamilyBase);
56
+ font-size: var(--fontSizeBase200);
57
+ font-weight: var(--fontWeightRegular);
58
+ line-height: var(--lineHeightBase200);
59
+ }
60
60
 
61
- :where(.error) > .validationMessage {
62
- color: var(--colorPaletteRedForeground1);
63
- }
61
+ :where(.error) > .validationMessage {
62
+ color: var(--colorPaletteRedForeground1);
63
+ }
64
64
 
65
- :where(.withIcon) > .validationMessage {
66
- padding-inline-start: calc(var(--spacingHorizontalM) + var(--spacingHorizontalXS));
67
- }
65
+ :where(.withIcon) > .validationMessage {
66
+ padding-inline-start: calc(var(--spacingHorizontalM) + var(--spacingHorizontalXS));
67
+ }
68
68
 
69
- .validationMessageIcon {
70
- display: inline-block;
71
- font-size: var(--fontSizeBase200);
72
- margin-inline-start: calc(calc(0px - var(--spacingHorizontalM)) - var(--spacingHorizontalXS));
73
- margin-inline-end: var(--spacingHorizontalXS);
74
- line-height: 0;
75
- vertical-align: calc(var(--spacingVerticalXXS) / -2);
76
- }
69
+ .validationMessageIcon {
70
+ display: inline-block;
71
+ font-size: var(--fontSizeBase200);
72
+ margin-inline-start: calc(calc(0px - var(--spacingHorizontalM)) - var(--spacingHorizontalXS));
73
+ margin-inline-end: var(--spacingHorizontalXS);
74
+ line-height: 0;
75
+ vertical-align: calc(var(--spacingVerticalXXS) / -2);
76
+ }
77
77
 
78
- :where(.error) > :where(.validationMessage) > .validationMessageIcon {
79
- color: var(--colorPaletteRedForeground1);
80
- }
78
+ :where(.error) > :where(.validationMessage) > .validationMessageIcon {
79
+ color: var(--colorPaletteRedForeground1);
80
+ }
81
81
 
82
- :where(.warning) > :where(.validationMessage) > .validationMessageIcon {
83
- color: var(--colorPaletteDarkOrangeForeground1);
84
- }
82
+ :where(.warning) > :where(.validationMessage) > .validationMessageIcon {
83
+ color: var(--colorPaletteDarkOrangeForeground1);
84
+ }
85
85
 
86
- :where(.success) > :where(.validationMessage) > .validationMessageIcon {
87
- color: var(--colorPaletteGreenForeground1);
88
- }
86
+ :where(.success) > :where(.validationMessage) > .validationMessageIcon {
87
+ color: var(--colorPaletteGreenForeground1);
89
88
  }
@@ -1,89 +1,88 @@
1
- @layer fluent {
2
- .root {
3
- display: grid;
4
- }
1
+ /* @griffel-buckets reset: .validationMessage, .validationMessageIcon, .hint */
2
+ .root {
3
+ display: grid;
4
+ }
5
5
 
6
- .root:where(.horizontal) {
7
- grid-template-columns: 33% 1fr;
8
- grid-template-rows: auto auto auto 1fr;
9
- }
6
+ .root:where(.horizontal) {
7
+ grid-template-columns: 33% 1fr;
8
+ grid-template-rows: auto auto auto 1fr;
9
+ }
10
10
 
11
- .root:where(.horizontal:not(.withLabel)) {
12
- padding-inline-start: 33%;
13
- grid-template-columns: 1fr;
14
- }
11
+ .root:where(.horizontal:not(.withLabel)) {
12
+ padding-inline-start: 33%;
13
+ grid-template-columns: 1fr;
14
+ }
15
15
 
16
- .label {
17
- max-width: max-content;
18
- max-height: max-content;
19
- }
16
+ .label {
17
+ max-width: max-content;
18
+ max-height: max-content;
19
+ }
20
20
 
21
- :where(.vertical) > .label {
22
- padding-top: var(--spacingVerticalXXS);
23
- padding-bottom: var(--spacingVerticalXXS);
24
- margin-bottom: var(--spacingVerticalXXS);
25
- }
21
+ :where(.vertical) > .label {
22
+ padding-top: var(--spacingVerticalXXS);
23
+ padding-bottom: var(--spacingVerticalXXS);
24
+ margin-bottom: var(--spacingVerticalXXS);
25
+ }
26
26
 
27
- :where(.vertical.large) > .label {
28
- padding-top: calc(var(--spacingVerticalXXS) / 2);
29
- padding-bottom: calc(var(--spacingVerticalXXS) / 2);
30
- margin-bottom: var(--spacingVerticalXS);
31
- }
27
+ :where(.vertical.large) > .label {
28
+ padding-top: calc(var(--spacingVerticalXXS) / 2);
29
+ padding-bottom: calc(var(--spacingVerticalXXS) / 2);
30
+ margin-bottom: var(--spacingVerticalXS);
31
+ }
32
32
 
33
- :where(.horizontal) > .label {
34
- padding-top: var(--spacingVerticalSNudge);
35
- padding-bottom: var(--spacingVerticalSNudge);
36
- margin-inline-end: var(--spacingHorizontalM);
37
- grid-row-start: 1;
38
- grid-row-end: -1;
39
- }
33
+ :where(.horizontal) > .label {
34
+ padding-top: var(--spacingVerticalSNudge);
35
+ padding-bottom: var(--spacingVerticalSNudge);
36
+ margin-inline-end: var(--spacingHorizontalM);
37
+ grid-row-start: 1;
38
+ grid-row-end: -1;
39
+ }
40
40
 
41
- :where(.horizontal.small) > .label {
42
- padding-top: var(--spacingVerticalXS);
43
- padding-bottom: var(--spacingVerticalXS);
44
- }
41
+ :where(.horizontal.small) > .label {
42
+ padding-top: var(--spacingVerticalXS);
43
+ padding-bottom: var(--spacingVerticalXS);
44
+ }
45
45
 
46
- :where(.horizontal.large) > .label {
47
- padding-top: calc(var(--spacingVerticalS) + var(--spacingVerticalXXS) / 2);
48
- padding-bottom: calc(var(--spacingVerticalS) + var(--spacingVerticalXXS) / 2);
49
- }
46
+ :where(.horizontal.large) > .label {
47
+ padding-top: calc(var(--spacingVerticalS) + var(--spacingVerticalXXS) / 2);
48
+ padding-bottom: calc(var(--spacingVerticalS) + var(--spacingVerticalXXS) / 2);
49
+ }
50
50
 
51
- .validationMessage,
52
- .hint {
53
- margin-top: var(--spacingVerticalXXS);
54
- color: var(--colorNeutralForeground3);
55
- font-family: var(--fontFamilyBase);
56
- font-size: var(--fontSizeBase200);
57
- font-weight: var(--fontWeightRegular);
58
- line-height: var(--lineHeightBase200);
59
- }
51
+ .validationMessage,
52
+ .hint {
53
+ margin-top: var(--spacingVerticalXXS);
54
+ color: var(--colorNeutralForeground3);
55
+ font-family: var(--fontFamilyBase);
56
+ font-size: var(--fontSizeBase200);
57
+ font-weight: var(--fontWeightRegular);
58
+ line-height: var(--lineHeightBase200);
59
+ }
60
60
 
61
- :where(.error) > .validationMessage {
62
- color: var(--colorPaletteRedForeground1);
63
- }
61
+ :where(.error) > .validationMessage {
62
+ color: var(--colorPaletteRedForeground1);
63
+ }
64
64
 
65
- :where(.withIcon) > .validationMessage {
66
- padding-inline-start: calc(var(--spacingHorizontalM) + var(--spacingHorizontalXS));
67
- }
65
+ :where(.withIcon) > .validationMessage {
66
+ padding-inline-start: calc(var(--spacingHorizontalM) + var(--spacingHorizontalXS));
67
+ }
68
68
 
69
- .validationMessageIcon {
70
- display: inline-block;
71
- font-size: var(--fontSizeBase200);
72
- margin-inline-start: calc(calc(0px - var(--spacingHorizontalM)) - var(--spacingHorizontalXS));
73
- margin-inline-end: var(--spacingHorizontalXS);
74
- line-height: 0;
75
- vertical-align: calc(var(--spacingVerticalXXS) / -2);
76
- }
69
+ .validationMessageIcon {
70
+ display: inline-block;
71
+ font-size: var(--fontSizeBase200);
72
+ margin-inline-start: calc(calc(0px - var(--spacingHorizontalM)) - var(--spacingHorizontalXS));
73
+ margin-inline-end: var(--spacingHorizontalXS);
74
+ line-height: 0;
75
+ vertical-align: calc(var(--spacingVerticalXXS) / -2);
76
+ }
77
77
 
78
- :where(.error) > :where(.validationMessage) > .validationMessageIcon {
79
- color: var(--colorPaletteRedForeground1);
80
- }
78
+ :where(.error) > :where(.validationMessage) > .validationMessageIcon {
79
+ color: var(--colorPaletteRedForeground1);
80
+ }
81
81
 
82
- :where(.warning) > :where(.validationMessage) > .validationMessageIcon {
83
- color: var(--colorPaletteDarkOrangeForeground1);
84
- }
82
+ :where(.warning) > :where(.validationMessage) > .validationMessageIcon {
83
+ color: var(--colorPaletteDarkOrangeForeground1);
84
+ }
85
85
 
86
- :where(.success) > :where(.validationMessage) > .validationMessageIcon {
87
- color: var(--colorPaletteGreenForeground1);
88
- }
86
+ :where(.success) > :where(.validationMessage) > .validationMessageIcon {
87
+ color: var(--colorPaletteGreenForeground1);
89
88
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-field",
3
- "version": "9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0",
3
+ "version": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
4
4
  "description": "Fluent UI Field components",
5
5
  "main": "lib-commonjs/index.cjs",
6
6
  "module": "lib/index.js",
@@ -14,13 +14,13 @@
14
14
  },
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
- "@fluentui/react-context-selector": "9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0",
17
+ "@fluentui/react-context-selector": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
18
18
  "@fluentui/react-icons": "^2.0.245",
19
- "@fluentui/react-jsx-runtime": "9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0",
20
- "@fluentui/react-label": "9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0",
21
- "@fluentui/react-shared-contexts": "9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0",
22
- "@fluentui/react-theme": "9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0",
23
- "@fluentui/react-utilities": "9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0",
19
+ "@fluentui/react-jsx-runtime": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
20
+ "@fluentui/react-label": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
21
+ "@fluentui/react-shared-contexts": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
22
+ "@fluentui/react-theme": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
23
+ "@fluentui/react-utilities": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
24
24
  "@griffel/react": "^1.5.32",
25
25
  "@swc/helpers": "^0.5.1",
26
26
  "clsx": "^2.1.1"