@fluentui/react-link 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-link
2
2
 
3
- <!-- This log was last generated on Tue, 03 Nov 2026 14:02:51 GMT and should not be manually modified. -->
3
+ <!-- This log was last generated on Fri, 13 Nov 2026 20:37:16 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-link_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-link_v9.75.2-experimental.css-modules.20261113-ba13c87438.0)
8
8
 
9
- Tue, 03 Nov 2026 14:02:51 GMT
9
+ Fri, 13 Nov 2026 20:37:16 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/keyboard-keys 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-shared-contexts to v9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
17
- - Bump @fluentui/react-tabster 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/keyboard-keys 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-shared-contexts to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
17
+ - Bump @fluentui/react-tabster 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.8.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-link_v9.8.6)
22
22
 
package/README.md CHANGED
@@ -32,16 +32,16 @@ Alternatively, run Storybook locally with:
32
32
 
33
33
  ### Specification
34
34
 
35
- See [SPEC.md](./SPEC.md).
35
+ See [SPEC.md](./docs/SPEC.md).
36
36
 
37
37
  ### Migration Guide
38
38
 
39
- If you're upgrading to Fluent UI v9 see [MIGRATION.md](./MIGRATION.md) for guidance on updating to the latest Link implementation.
39
+ If you're upgrading to Fluent UI v9 see [MIGRATION.md](./docs/MIGRATION.md) for guidance on updating to the latest Link implementation.
40
40
 
41
41
  ## Opt-in CSS Modules styles
42
42
 
43
43
  The `use*Styles.styles.css` modules beside the existing Griffel hooks provide opt-in,
44
- layered CSS alternatives with the same exports. Configure the bundler to replace
44
+ CSS alternatives with the same exports. Configure the bundler to replace
45
45
  `.styles` with `.styles.css.ts` for source imports and `.styles.js` with
46
46
  `.styles.css.js` for built imports. Load CSS Modules as default class-name maps and
47
47
  retain the package CSS assets. Default component imports still use Griffel.
@@ -1,124 +1,119 @@
1
- @layer fluent {
2
- .root {
3
- background-color: transparent;
4
- box-sizing: border-box;
5
- color: var(--colorBrandForegroundLink);
6
- cursor: pointer;
7
- display: inline;
8
- font-family: var(--fontFamilyBase);
9
- font-size: var(--fontSizeBase300);
10
- font-weight: var(--fontWeightRegular);
11
- margin: 0;
12
- padding: 0;
13
- overflow: inherit;
14
- text-align: left;
15
- &:dir(rtl) {
16
- text-align: right;
17
- }
18
- text-decoration-line: none;
19
- text-decoration-thickness: var(--strokeWidthThin);
20
- text-overflow: inherit;
21
- user-select: text;
22
- &:focus-visible {
23
- outline-style: none;
24
- }
25
-
26
- &:hover {
27
- text-decoration-line: underline;
28
- color: var(--colorBrandForegroundLinkHover);
29
- }
30
-
31
- &:active {
32
- text-decoration-line: underline;
33
- color: var(--colorBrandForegroundLinkPressed);
34
- }
1
+ .root {
2
+ background-color: transparent;
3
+ box-sizing: border-box;
4
+ color: var(--colorBrandForegroundLink);
5
+ cursor: pointer;
6
+ display: inline;
7
+ font-family: var(--fontFamilyBase);
8
+ font-size: var(--fontSizeBase300);
9
+ font-weight: var(--fontWeightRegular);
10
+ margin: 0;
11
+ padding: 0;
12
+ overflow: inherit;
13
+ text-align: start;
14
+ &:where(:dir(rtl)) {
15
+ text-align: right;
16
+ }
17
+ text-decoration-line: none;
18
+ text-decoration-thickness: var(--strokeWidthThin);
19
+ text-overflow: inherit;
20
+ user-select: text;
21
+ &:focus-visible {
22
+ outline-style: none;
35
23
  }
36
24
 
37
- .root:where(.button) {
38
- border-top-style: none;
39
- border-inline-end-style: none;
40
- border-bottom-style: none;
41
- border-inline-start-style: none;
25
+ &:hover {
26
+ text-decoration-line: underline;
27
+ color: var(--colorBrandForegroundLinkHover);
42
28
  }
43
29
 
44
- .root:where(.href) {
45
- font-size: inherit;
30
+ &:active {
31
+ text-decoration-line: underline;
32
+ color: var(--colorBrandForegroundLinkPressed);
46
33
  }
34
+ }
47
35
 
48
- .root:where(.subtle) {
49
- color: var(--colorNeutralForeground2Link);
50
- &:hover {
51
- text-decoration-line: underline;
52
- color: var(--colorNeutralForeground2LinkHover);
53
- }
36
+ .root:where(.button) {
37
+ border-top-style: none;
38
+ border-inline-end-style: none;
39
+ border-bottom-style: none;
40
+ border-inline-start-style: none;
41
+ }
54
42
 
55
- &:active {
56
- text-decoration-line: underline;
57
- color: var(--colorNeutralForeground2LinkPressed);
58
- }
43
+ .root:where(.href) {
44
+ font-size: inherit;
45
+ }
46
+
47
+ .root:where(.subtle) {
48
+ color: var(--colorNeutralForeground2Link);
49
+ &:hover {
50
+ text-decoration-line: underline;
51
+ color: var(--colorNeutralForeground2LinkHover);
59
52
  }
60
53
 
61
- .root:where(.inverted) {
54
+ &:active {
55
+ text-decoration-line: underline;
56
+ color: var(--colorNeutralForeground2LinkPressed);
57
+ }
58
+ }
59
+
60
+ .root:where(.inverted) {
61
+ color: var(--colorBrandForegroundInverted);
62
+ &:hover {
62
63
  color: var(--colorBrandForegroundInverted);
63
- &:hover {
64
- color: var(--colorBrandForegroundInverted);
65
- }
64
+ }
66
65
 
67
- &:active {
68
- color: var(--colorBrandForegroundInverted);
69
- }
66
+ &:active {
67
+ color: var(--colorBrandForegroundInverted);
70
68
  }
69
+ }
71
70
 
72
- .root:where(.brand) {
73
- color: var(--colorNeutralForegroundInvertedLink);
74
- &:hover {
75
- color: var(--colorNeutralForegroundInvertedLinkHover);
76
- }
71
+ .root:where(.brand) {
72
+ color: var(--colorNeutralForegroundInvertedLink);
73
+ &:hover {
74
+ color: var(--colorNeutralForegroundInvertedLinkHover);
75
+ }
77
76
 
78
- &:active {
79
- color: var(--colorNeutralForegroundInvertedLinkPressed);
80
- }
77
+ &:active {
78
+ color: var(--colorNeutralForegroundInvertedLinkPressed);
81
79
  }
80
+ }
82
81
 
83
- .root:where(.inline) {
84
- text-decoration-line: underline;
82
+ .root:where(.inline) {
83
+ text-decoration-line: underline;
84
+ }
85
+
86
+ .root:where(.disabled) {
87
+ text-decoration-line: none;
88
+ color: var(--colorNeutralForegroundDisabled);
89
+ cursor: not-allowed;
90
+ &:hover {
91
+ text-decoration-line: none;
92
+ color: var(--colorNeutralForegroundDisabled);
85
93
  }
86
94
 
87
- .root:where(.disabled) {
95
+ &:active {
88
96
  text-decoration-line: none;
89
97
  color: var(--colorNeutralForegroundDisabled);
90
- cursor: not-allowed;
98
+ }
99
+
100
+ @media (forced-colors: active) {
101
+ color: GrayText;
91
102
  &:hover {
92
- text-decoration-line: none;
93
- color: var(--colorNeutralForegroundDisabled);
103
+ color: GrayText;
94
104
  }
95
105
 
96
106
  &:active {
97
- text-decoration-line: none;
98
- color: var(--colorNeutralForegroundDisabled);
99
- }
100
-
101
- @media (forced-colors: active) {
102
107
  color: GrayText;
103
- &:hover {
104
- color: GrayText;
105
- }
106
-
107
- &:active {
108
- color: GrayText;
109
- }
110
108
  }
111
109
  }
110
+ }
112
111
 
113
- .root {
114
- &[data-fui-focus-visible] {
115
- text-decoration-color: var(--colorStrokeFocus2);
116
- text-decoration-line: underline;
117
- text-decoration-style: double;
118
- outline-style: none;
119
- }
120
- &:where(.disabled)[data-fui-focus-visible] {
121
- text-decoration-line: none;
122
- }
112
+ .root {
113
+ &[data-fui-focus-visible] {
114
+ text-decoration-color: var(--colorStrokeFocus2);
115
+ text-decoration-line: underline;
116
+ text-decoration-style: double;
117
+ outline-style: none;
123
118
  }
124
119
  }
@@ -1,124 +1,119 @@
1
- @layer fluent {
2
- .root {
3
- background-color: transparent;
4
- box-sizing: border-box;
5
- color: var(--colorBrandForegroundLink);
6
- cursor: pointer;
7
- display: inline;
8
- font-family: var(--fontFamilyBase);
9
- font-size: var(--fontSizeBase300);
10
- font-weight: var(--fontWeightRegular);
11
- margin: 0;
12
- padding: 0;
13
- overflow: inherit;
14
- text-align: left;
15
- &:dir(rtl) {
16
- text-align: right;
17
- }
18
- text-decoration-line: none;
19
- text-decoration-thickness: var(--strokeWidthThin);
20
- text-overflow: inherit;
21
- user-select: text;
22
- &:focus-visible {
23
- outline-style: none;
24
- }
25
-
26
- &:hover {
27
- text-decoration-line: underline;
28
- color: var(--colorBrandForegroundLinkHover);
29
- }
30
-
31
- &:active {
32
- text-decoration-line: underline;
33
- color: var(--colorBrandForegroundLinkPressed);
34
- }
1
+ .root {
2
+ background-color: transparent;
3
+ box-sizing: border-box;
4
+ color: var(--colorBrandForegroundLink);
5
+ cursor: pointer;
6
+ display: inline;
7
+ font-family: var(--fontFamilyBase);
8
+ font-size: var(--fontSizeBase300);
9
+ font-weight: var(--fontWeightRegular);
10
+ margin: 0;
11
+ padding: 0;
12
+ overflow: inherit;
13
+ text-align: start;
14
+ &:where(:dir(rtl)) {
15
+ text-align: right;
16
+ }
17
+ text-decoration-line: none;
18
+ text-decoration-thickness: var(--strokeWidthThin);
19
+ text-overflow: inherit;
20
+ user-select: text;
21
+ &:focus-visible {
22
+ outline-style: none;
35
23
  }
36
24
 
37
- .root:where(.button) {
38
- border-top-style: none;
39
- border-inline-end-style: none;
40
- border-bottom-style: none;
41
- border-inline-start-style: none;
25
+ &:hover {
26
+ text-decoration-line: underline;
27
+ color: var(--colorBrandForegroundLinkHover);
42
28
  }
43
29
 
44
- .root:where(.href) {
45
- font-size: inherit;
30
+ &:active {
31
+ text-decoration-line: underline;
32
+ color: var(--colorBrandForegroundLinkPressed);
46
33
  }
34
+ }
47
35
 
48
- .root:where(.subtle) {
49
- color: var(--colorNeutralForeground2Link);
50
- &:hover {
51
- text-decoration-line: underline;
52
- color: var(--colorNeutralForeground2LinkHover);
53
- }
36
+ .root:where(.button) {
37
+ border-top-style: none;
38
+ border-inline-end-style: none;
39
+ border-bottom-style: none;
40
+ border-inline-start-style: none;
41
+ }
54
42
 
55
- &:active {
56
- text-decoration-line: underline;
57
- color: var(--colorNeutralForeground2LinkPressed);
58
- }
43
+ .root:where(.href) {
44
+ font-size: inherit;
45
+ }
46
+
47
+ .root:where(.subtle) {
48
+ color: var(--colorNeutralForeground2Link);
49
+ &:hover {
50
+ text-decoration-line: underline;
51
+ color: var(--colorNeutralForeground2LinkHover);
59
52
  }
60
53
 
61
- .root:where(.inverted) {
54
+ &:active {
55
+ text-decoration-line: underline;
56
+ color: var(--colorNeutralForeground2LinkPressed);
57
+ }
58
+ }
59
+
60
+ .root:where(.inverted) {
61
+ color: var(--colorBrandForegroundInverted);
62
+ &:hover {
62
63
  color: var(--colorBrandForegroundInverted);
63
- &:hover {
64
- color: var(--colorBrandForegroundInverted);
65
- }
64
+ }
66
65
 
67
- &:active {
68
- color: var(--colorBrandForegroundInverted);
69
- }
66
+ &:active {
67
+ color: var(--colorBrandForegroundInverted);
70
68
  }
69
+ }
71
70
 
72
- .root:where(.brand) {
73
- color: var(--colorNeutralForegroundInvertedLink);
74
- &:hover {
75
- color: var(--colorNeutralForegroundInvertedLinkHover);
76
- }
71
+ .root:where(.brand) {
72
+ color: var(--colorNeutralForegroundInvertedLink);
73
+ &:hover {
74
+ color: var(--colorNeutralForegroundInvertedLinkHover);
75
+ }
77
76
 
78
- &:active {
79
- color: var(--colorNeutralForegroundInvertedLinkPressed);
80
- }
77
+ &:active {
78
+ color: var(--colorNeutralForegroundInvertedLinkPressed);
81
79
  }
80
+ }
82
81
 
83
- .root:where(.inline) {
84
- text-decoration-line: underline;
82
+ .root:where(.inline) {
83
+ text-decoration-line: underline;
84
+ }
85
+
86
+ .root:where(.disabled) {
87
+ text-decoration-line: none;
88
+ color: var(--colorNeutralForegroundDisabled);
89
+ cursor: not-allowed;
90
+ &:hover {
91
+ text-decoration-line: none;
92
+ color: var(--colorNeutralForegroundDisabled);
85
93
  }
86
94
 
87
- .root:where(.disabled) {
95
+ &:active {
88
96
  text-decoration-line: none;
89
97
  color: var(--colorNeutralForegroundDisabled);
90
- cursor: not-allowed;
98
+ }
99
+
100
+ @media (forced-colors: active) {
101
+ color: GrayText;
91
102
  &:hover {
92
- text-decoration-line: none;
93
- color: var(--colorNeutralForegroundDisabled);
103
+ color: GrayText;
94
104
  }
95
105
 
96
106
  &:active {
97
- text-decoration-line: none;
98
- color: var(--colorNeutralForegroundDisabled);
99
- }
100
-
101
- @media (forced-colors: active) {
102
107
  color: GrayText;
103
- &:hover {
104
- color: GrayText;
105
- }
106
-
107
- &:active {
108
- color: GrayText;
109
- }
110
108
  }
111
109
  }
110
+ }
112
111
 
113
- .root {
114
- &[data-fui-focus-visible] {
115
- text-decoration-color: var(--colorStrokeFocus2);
116
- text-decoration-line: underline;
117
- text-decoration-style: double;
118
- outline-style: none;
119
- }
120
- &:where(.disabled)[data-fui-focus-visible] {
121
- text-decoration-line: none;
122
- }
112
+ .root {
113
+ &[data-fui-focus-visible] {
114
+ text-decoration-color: var(--colorStrokeFocus2);
115
+ text-decoration-line: underline;
116
+ text-decoration-style: double;
117
+ outline-style: none;
123
118
  }
124
119
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-link",
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 React Link component",
5
5
  "main": "lib-commonjs/index.cjs",
6
6
  "module": "lib/index.js",
@@ -14,12 +14,12 @@
14
14
  },
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
- "@fluentui/keyboard-keys": "9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0",
18
- "@fluentui/react-jsx-runtime": "9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0",
19
- "@fluentui/react-shared-contexts": "9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0",
20
- "@fluentui/react-tabster": "9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0",
21
- "@fluentui/react-theme": "9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0",
22
- "@fluentui/react-utilities": "9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0",
17
+ "@fluentui/keyboard-keys": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
18
+ "@fluentui/react-jsx-runtime": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
19
+ "@fluentui/react-shared-contexts": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
20
+ "@fluentui/react-tabster": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
21
+ "@fluentui/react-theme": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
22
+ "@fluentui/react-utilities": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
23
23
  "@griffel/react": "^1.5.32",
24
24
  "@swc/helpers": "^0.5.1",
25
25
  "clsx": "^2.1.1"