@fluentui/react-menu-grid-preview 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 +23 -13
- package/README.md +2 -2
- package/lib/components/MenuGrid/MenuGrid.module.css +4 -6
- package/lib/components/MenuGridCell/MenuGridCell.module.css +8 -10
- package/lib/components/MenuGridGroupHeader/MenuGridGroupHeader.module.css +9 -11
- package/lib/components/MenuGridItem/MenuGridItem.module.css +13 -15
- package/lib/components/MenuGridRow/MenuGridRow.module.css +76 -77
- package/lib-commonjs/components/MenuGrid/MenuGrid.module.css +4 -6
- package/lib-commonjs/components/MenuGridCell/MenuGridCell.module.css +8 -10
- package/lib-commonjs/components/MenuGridGroupHeader/MenuGridGroupHeader.module.css +9 -11
- package/lib-commonjs/components/MenuGridItem/MenuGridItem.module.css +13 -15
- package/lib-commonjs/components/MenuGridRow/MenuGridRow.module.css +76 -77
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,25 +1,35 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-menu-grid-preview
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Fri, 13 Nov 2026 20:37:17 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## [9.75.
|
|
7
|
+
## [9.75.2-experimental.css-modules.20261113-ba13c87438.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu-grid-preview_v9.75.2-experimental.css-modules.20261113-ba13c87438.0)
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu-grid-preview_v0.5.
|
|
9
|
+
Fri, 13 Nov 2026 20:37:17 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu-grid-preview_v0.5.11..@fluentui/react-menu-grid-preview_v9.75.2-experimental.css-modules.20261113-ba13c87438.0)
|
|
11
11
|
|
|
12
12
|
### Changes
|
|
13
13
|
|
|
14
|
-
- Release 9.75.
|
|
15
|
-
- Bump @fluentui/keyboard-keys to v9.75.
|
|
16
|
-
- Bump @fluentui/react-jsx-runtime to v9.75.
|
|
17
|
-
- Bump @fluentui/react-menu to v9.75.
|
|
18
|
-
- Bump @fluentui/react-shared-contexts to v9.75.
|
|
19
|
-
- Bump @fluentui/react-table to v9.75.
|
|
20
|
-
- Bump @fluentui/react-tabster to v9.75.
|
|
21
|
-
- Bump @fluentui/react-theme to v9.75.
|
|
22
|
-
- Bump @fluentui/react-utilities to v9.75.
|
|
14
|
+
- 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)
|
|
15
|
+
- Bump @fluentui/keyboard-keys to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
16
|
+
- 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)
|
|
17
|
+
- Bump @fluentui/react-menu to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
18
|
+
- 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)
|
|
19
|
+
- Bump @fluentui/react-table to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
20
|
+
- Bump @fluentui/react-tabster to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
21
|
+
- Bump @fluentui/react-theme to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
22
|
+
- Bump @fluentui/react-utilities to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
23
|
+
|
|
24
|
+
## [0.5.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu-grid-preview_v0.5.11)
|
|
25
|
+
|
|
26
|
+
Tue, 10 Nov 2026 16:50:23 GMT
|
|
27
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu-grid-preview_v0.5.10..@fluentui/react-menu-grid-preview_v0.5.11)
|
|
28
|
+
|
|
29
|
+
### Patches
|
|
30
|
+
|
|
31
|
+
- Bump @fluentui/react-menu to v9.25.9 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
32
|
+
- Bump @fluentui/react-table to v9.19.24 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
23
33
|
|
|
24
34
|
## [0.5.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu-grid-preview_v0.5.10)
|
|
25
35
|
|
package/README.md
CHANGED
|
@@ -6,8 +6,8 @@ These are not production-ready components and **should never be used in product*
|
|
|
6
6
|
|
|
7
7
|
## Opt-in CSS Modules styles
|
|
8
8
|
|
|
9
|
-
Menu grid groups, headers, rows, cells, and items have
|
|
9
|
+
Menu grid groups, headers, rows, cells, and items have CSS Modules alternatives beside their Griffel style hooks.
|
|
10
10
|
Resolve the relevant `.styles.js` imports to `.styles.css.js` (and source `.styles`
|
|
11
11
|
imports to `.styles.css.ts`) only in an explicitly opted-in bundler configuration.
|
|
12
|
-
Keep CSS assets
|
|
12
|
+
Keep CSS assets; the headless icon defaults are imported into the low-priority `fluent` layer.
|
|
13
13
|
The default component imports and Griffel implementations are unchanged.
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
position: absolute;
|
|
10
|
-
}
|
|
1
|
+
.root {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
min-height: var(--spacingHorizontalXXL);
|
|
6
|
+
}
|
|
7
|
+
.visuallyHidden {
|
|
8
|
+
position: absolute;
|
|
11
9
|
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
align-items: center;
|
|
11
|
-
}
|
|
1
|
+
.root {
|
|
2
|
+
font-size: var(--fontSizeBase200);
|
|
3
|
+
color: var(--colorNeutralForeground3);
|
|
4
|
+
padding-inline-start: var(--spacingHorizontalS);
|
|
5
|
+
padding-inline-end: var(--spacingHorizontalS);
|
|
6
|
+
font-weight: var(--fontWeightSemibold);
|
|
7
|
+
height: var(--spacingHorizontalXXXL);
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
12
10
|
}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
height: 100%;
|
|
15
|
-
}
|
|
1
|
+
.content {
|
|
2
|
+
flex-grow: 1;
|
|
3
|
+
height: 100%;
|
|
4
|
+
min-width: 0;
|
|
5
|
+
}
|
|
6
|
+
.icon {
|
|
7
|
+
height: 100%;
|
|
8
|
+
}
|
|
9
|
+
.firstSubAction {
|
|
10
|
+
height: 100%;
|
|
11
|
+
}
|
|
12
|
+
.secondSubAction {
|
|
13
|
+
height: 100%;
|
|
16
14
|
}
|
|
@@ -1,22 +1,74 @@
|
|
|
1
|
+
/* @griffel-buckets reset: .root */
|
|
1
2
|
@import url('@fluentui/react-icons/headless/styles.css') layer(fluent);
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
4
|
+
.root {
|
|
5
|
+
border-radius: var(--borderRadiusMedium);
|
|
6
|
+
position: relative;
|
|
7
|
+
color: var(--colorNeutralForeground2);
|
|
8
|
+
background-color: var(--colorNeutralBackground1);
|
|
9
|
+
padding: var(--spacingVerticalXS) var(--spacingVerticalSNudge);
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
max-width: calc(9 * var(--spacingHorizontalXXXL) + var(--spacingHorizontalXXS));
|
|
12
|
+
min-height: var(--spacingHorizontalXXXL);
|
|
13
|
+
flex-shrink: 0;
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: start;
|
|
16
|
+
font-size: var(--fontSizeBase300);
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
gap: var(--spacingHorizontalXS);
|
|
19
|
+
user-select: none;
|
|
20
|
+
&:focus {
|
|
21
|
+
outline-style: none;
|
|
22
|
+
}
|
|
23
|
+
&:focus-visible {
|
|
24
|
+
outline-style: none;
|
|
25
|
+
}
|
|
26
|
+
&[data-fui-focus-visible] {
|
|
27
|
+
border-top-color: var(--colorTransparentBackground);
|
|
28
|
+
border-inline-end-color: var(--colorTransparentBackground);
|
|
29
|
+
border-bottom-color: var(--colorTransparentBackground);
|
|
30
|
+
border-inline-start-color: var(--colorTransparentBackground);
|
|
31
|
+
&::after {
|
|
32
|
+
content: '';
|
|
33
|
+
position: absolute;
|
|
34
|
+
pointer-events: none;
|
|
35
|
+
z-index: 1;
|
|
36
|
+
border: var(--strokeWidthThick) solid var(--colorStrokeFocus2);
|
|
37
|
+
border-radius: var(--borderRadiusMedium);
|
|
38
|
+
top: calc(-1 * var(--strokeWidthThick));
|
|
39
|
+
inset-inline-end: calc(-1 * var(--strokeWidthThick));
|
|
40
|
+
bottom: calc(-1 * var(--strokeWidthThick));
|
|
41
|
+
inset-inline-start: calc(-1 * var(--strokeWidthThick));
|
|
42
|
+
}
|
|
43
|
+
@media (forced-colors: active) {
|
|
44
|
+
&::after {
|
|
45
|
+
border-top-color: Highlight;
|
|
46
|
+
border-inline-end-color: Highlight;
|
|
47
|
+
border-bottom-color: Highlight;
|
|
48
|
+
border-inline-start-color: Highlight;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
&:hover {
|
|
53
|
+
background-color: var(--colorNeutralBackground1Hover);
|
|
54
|
+
color: var(--colorNeutralForeground2Hover);
|
|
55
|
+
& :global(.fui-Icon-filled) {
|
|
56
|
+
display: inline;
|
|
57
|
+
}
|
|
58
|
+
& :global(.fui-Icon-regular) {
|
|
59
|
+
display: none;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
&:hover:active {
|
|
63
|
+
background-color: var(--colorNeutralBackground1Pressed);
|
|
64
|
+
color: var(--colorNeutralForeground2Pressed);
|
|
65
|
+
}
|
|
66
|
+
@media (forced-colors: active) {
|
|
67
|
+
&:hover {
|
|
68
|
+
background-color: Canvas;
|
|
69
|
+
border-color: Highlight;
|
|
70
|
+
color: Highlight;
|
|
71
|
+
}
|
|
20
72
|
&:focus {
|
|
21
73
|
outline-style: none;
|
|
22
74
|
}
|
|
@@ -25,80 +77,27 @@
|
|
|
25
77
|
}
|
|
26
78
|
&[data-fui-focus-visible] {
|
|
27
79
|
border-top-color: var(--colorTransparentBackground);
|
|
28
|
-
border-
|
|
80
|
+
border-inline-end-color: var(--colorTransparentBackground);
|
|
29
81
|
border-bottom-color: var(--colorTransparentBackground);
|
|
30
|
-
border-
|
|
82
|
+
border-inline-start-color: var(--colorTransparentBackground);
|
|
31
83
|
&::after {
|
|
32
84
|
content: '';
|
|
33
85
|
position: absolute;
|
|
34
86
|
pointer-events: none;
|
|
35
87
|
z-index: 1;
|
|
36
|
-
border: var(--strokeWidthThick) solid
|
|
88
|
+
border: var(--strokeWidthThick) solid Highlight;
|
|
37
89
|
border-radius: var(--borderRadiusMedium);
|
|
38
90
|
top: calc(-1 * var(--strokeWidthThick));
|
|
39
|
-
|
|
91
|
+
inset-inline-end: calc(-1 * var(--strokeWidthThick));
|
|
40
92
|
bottom: calc(-1 * var(--strokeWidthThick));
|
|
41
|
-
|
|
93
|
+
inset-inline-start: calc(-1 * var(--strokeWidthThick));
|
|
42
94
|
}
|
|
43
95
|
@media (forced-colors: active) {
|
|
44
96
|
&::after {
|
|
45
97
|
border-top-color: Highlight;
|
|
46
|
-
border-
|
|
98
|
+
border-inline-end-color: Highlight;
|
|
47
99
|
border-bottom-color: Highlight;
|
|
48
|
-
border-
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
&:hover {
|
|
53
|
-
background-color: var(--colorNeutralBackground1Hover);
|
|
54
|
-
color: var(--colorNeutralForeground2Hover);
|
|
55
|
-
& :global(.fui-Icon-filled) {
|
|
56
|
-
display: inline;
|
|
57
|
-
}
|
|
58
|
-
& :global(.fui-Icon-regular) {
|
|
59
|
-
display: none;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
&:hover:active {
|
|
63
|
-
background-color: var(--colorNeutralBackground1Pressed);
|
|
64
|
-
color: var(--colorNeutralForeground2Pressed);
|
|
65
|
-
}
|
|
66
|
-
@media (forced-colors: active) {
|
|
67
|
-
&:hover {
|
|
68
|
-
background-color: Canvas;
|
|
69
|
-
border-color: Highlight;
|
|
70
|
-
color: Highlight;
|
|
71
|
-
}
|
|
72
|
-
&:focus {
|
|
73
|
-
outline-style: none;
|
|
74
|
-
}
|
|
75
|
-
&:focus-visible {
|
|
76
|
-
outline-style: none;
|
|
77
|
-
}
|
|
78
|
-
&[data-fui-focus-visible] {
|
|
79
|
-
border-top-color: var(--colorTransparentBackground);
|
|
80
|
-
border-right-color: var(--colorTransparentBackground);
|
|
81
|
-
border-bottom-color: var(--colorTransparentBackground);
|
|
82
|
-
border-left-color: var(--colorTransparentBackground);
|
|
83
|
-
&::after {
|
|
84
|
-
content: '';
|
|
85
|
-
position: absolute;
|
|
86
|
-
pointer-events: none;
|
|
87
|
-
z-index: 1;
|
|
88
|
-
border: var(--strokeWidthThick) solid Highlight;
|
|
89
|
-
border-radius: var(--borderRadiusMedium);
|
|
90
|
-
top: calc(-1 * var(--strokeWidthThick));
|
|
91
|
-
right: calc(-1 * var(--strokeWidthThick));
|
|
92
|
-
bottom: calc(-1 * var(--strokeWidthThick));
|
|
93
|
-
left: calc(-1 * var(--strokeWidthThick));
|
|
94
|
-
}
|
|
95
|
-
@media (forced-colors: active) {
|
|
96
|
-
&::after {
|
|
97
|
-
border-top-color: Highlight;
|
|
98
|
-
border-right-color: Highlight;
|
|
99
|
-
border-bottom-color: Highlight;
|
|
100
|
-
border-left-color: Highlight;
|
|
101
|
-
}
|
|
100
|
+
border-inline-start-color: Highlight;
|
|
102
101
|
}
|
|
103
102
|
}
|
|
104
103
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
position: absolute;
|
|
10
|
-
}
|
|
1
|
+
.root {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
min-height: var(--spacingHorizontalXXL);
|
|
6
|
+
}
|
|
7
|
+
.visuallyHidden {
|
|
8
|
+
position: absolute;
|
|
11
9
|
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
align-items: center;
|
|
11
|
-
}
|
|
1
|
+
.root {
|
|
2
|
+
font-size: var(--fontSizeBase200);
|
|
3
|
+
color: var(--colorNeutralForeground3);
|
|
4
|
+
padding-inline-start: var(--spacingHorizontalS);
|
|
5
|
+
padding-inline-end: var(--spacingHorizontalS);
|
|
6
|
+
font-weight: var(--fontWeightSemibold);
|
|
7
|
+
height: var(--spacingHorizontalXXXL);
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
12
10
|
}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
height: 100%;
|
|
15
|
-
}
|
|
1
|
+
.content {
|
|
2
|
+
flex-grow: 1;
|
|
3
|
+
height: 100%;
|
|
4
|
+
min-width: 0;
|
|
5
|
+
}
|
|
6
|
+
.icon {
|
|
7
|
+
height: 100%;
|
|
8
|
+
}
|
|
9
|
+
.firstSubAction {
|
|
10
|
+
height: 100%;
|
|
11
|
+
}
|
|
12
|
+
.secondSubAction {
|
|
13
|
+
height: 100%;
|
|
16
14
|
}
|
|
@@ -1,22 +1,74 @@
|
|
|
1
|
+
/* @griffel-buckets reset: .root */
|
|
1
2
|
@import url('@fluentui/react-icons/headless/styles.css') layer(fluent);
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
4
|
+
.root {
|
|
5
|
+
border-radius: var(--borderRadiusMedium);
|
|
6
|
+
position: relative;
|
|
7
|
+
color: var(--colorNeutralForeground2);
|
|
8
|
+
background-color: var(--colorNeutralBackground1);
|
|
9
|
+
padding: var(--spacingVerticalXS) var(--spacingVerticalSNudge);
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
max-width: calc(9 * var(--spacingHorizontalXXXL) + var(--spacingHorizontalXXS));
|
|
12
|
+
min-height: var(--spacingHorizontalXXXL);
|
|
13
|
+
flex-shrink: 0;
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: start;
|
|
16
|
+
font-size: var(--fontSizeBase300);
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
gap: var(--spacingHorizontalXS);
|
|
19
|
+
user-select: none;
|
|
20
|
+
&:focus {
|
|
21
|
+
outline-style: none;
|
|
22
|
+
}
|
|
23
|
+
&:focus-visible {
|
|
24
|
+
outline-style: none;
|
|
25
|
+
}
|
|
26
|
+
&[data-fui-focus-visible] {
|
|
27
|
+
border-top-color: var(--colorTransparentBackground);
|
|
28
|
+
border-inline-end-color: var(--colorTransparentBackground);
|
|
29
|
+
border-bottom-color: var(--colorTransparentBackground);
|
|
30
|
+
border-inline-start-color: var(--colorTransparentBackground);
|
|
31
|
+
&::after {
|
|
32
|
+
content: '';
|
|
33
|
+
position: absolute;
|
|
34
|
+
pointer-events: none;
|
|
35
|
+
z-index: 1;
|
|
36
|
+
border: var(--strokeWidthThick) solid var(--colorStrokeFocus2);
|
|
37
|
+
border-radius: var(--borderRadiusMedium);
|
|
38
|
+
top: calc(-1 * var(--strokeWidthThick));
|
|
39
|
+
inset-inline-end: calc(-1 * var(--strokeWidthThick));
|
|
40
|
+
bottom: calc(-1 * var(--strokeWidthThick));
|
|
41
|
+
inset-inline-start: calc(-1 * var(--strokeWidthThick));
|
|
42
|
+
}
|
|
43
|
+
@media (forced-colors: active) {
|
|
44
|
+
&::after {
|
|
45
|
+
border-top-color: Highlight;
|
|
46
|
+
border-inline-end-color: Highlight;
|
|
47
|
+
border-bottom-color: Highlight;
|
|
48
|
+
border-inline-start-color: Highlight;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
&:hover {
|
|
53
|
+
background-color: var(--colorNeutralBackground1Hover);
|
|
54
|
+
color: var(--colorNeutralForeground2Hover);
|
|
55
|
+
& :global(.fui-Icon-filled) {
|
|
56
|
+
display: inline;
|
|
57
|
+
}
|
|
58
|
+
& :global(.fui-Icon-regular) {
|
|
59
|
+
display: none;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
&:hover:active {
|
|
63
|
+
background-color: var(--colorNeutralBackground1Pressed);
|
|
64
|
+
color: var(--colorNeutralForeground2Pressed);
|
|
65
|
+
}
|
|
66
|
+
@media (forced-colors: active) {
|
|
67
|
+
&:hover {
|
|
68
|
+
background-color: Canvas;
|
|
69
|
+
border-color: Highlight;
|
|
70
|
+
color: Highlight;
|
|
71
|
+
}
|
|
20
72
|
&:focus {
|
|
21
73
|
outline-style: none;
|
|
22
74
|
}
|
|
@@ -25,80 +77,27 @@
|
|
|
25
77
|
}
|
|
26
78
|
&[data-fui-focus-visible] {
|
|
27
79
|
border-top-color: var(--colorTransparentBackground);
|
|
28
|
-
border-
|
|
80
|
+
border-inline-end-color: var(--colorTransparentBackground);
|
|
29
81
|
border-bottom-color: var(--colorTransparentBackground);
|
|
30
|
-
border-
|
|
82
|
+
border-inline-start-color: var(--colorTransparentBackground);
|
|
31
83
|
&::after {
|
|
32
84
|
content: '';
|
|
33
85
|
position: absolute;
|
|
34
86
|
pointer-events: none;
|
|
35
87
|
z-index: 1;
|
|
36
|
-
border: var(--strokeWidthThick) solid
|
|
88
|
+
border: var(--strokeWidthThick) solid Highlight;
|
|
37
89
|
border-radius: var(--borderRadiusMedium);
|
|
38
90
|
top: calc(-1 * var(--strokeWidthThick));
|
|
39
|
-
|
|
91
|
+
inset-inline-end: calc(-1 * var(--strokeWidthThick));
|
|
40
92
|
bottom: calc(-1 * var(--strokeWidthThick));
|
|
41
|
-
|
|
93
|
+
inset-inline-start: calc(-1 * var(--strokeWidthThick));
|
|
42
94
|
}
|
|
43
95
|
@media (forced-colors: active) {
|
|
44
96
|
&::after {
|
|
45
97
|
border-top-color: Highlight;
|
|
46
|
-
border-
|
|
98
|
+
border-inline-end-color: Highlight;
|
|
47
99
|
border-bottom-color: Highlight;
|
|
48
|
-
border-
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
&:hover {
|
|
53
|
-
background-color: var(--colorNeutralBackground1Hover);
|
|
54
|
-
color: var(--colorNeutralForeground2Hover);
|
|
55
|
-
& :global(.fui-Icon-filled) {
|
|
56
|
-
display: inline;
|
|
57
|
-
}
|
|
58
|
-
& :global(.fui-Icon-regular) {
|
|
59
|
-
display: none;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
&:hover:active {
|
|
63
|
-
background-color: var(--colorNeutralBackground1Pressed);
|
|
64
|
-
color: var(--colorNeutralForeground2Pressed);
|
|
65
|
-
}
|
|
66
|
-
@media (forced-colors: active) {
|
|
67
|
-
&:hover {
|
|
68
|
-
background-color: Canvas;
|
|
69
|
-
border-color: Highlight;
|
|
70
|
-
color: Highlight;
|
|
71
|
-
}
|
|
72
|
-
&:focus {
|
|
73
|
-
outline-style: none;
|
|
74
|
-
}
|
|
75
|
-
&:focus-visible {
|
|
76
|
-
outline-style: none;
|
|
77
|
-
}
|
|
78
|
-
&[data-fui-focus-visible] {
|
|
79
|
-
border-top-color: var(--colorTransparentBackground);
|
|
80
|
-
border-right-color: var(--colorTransparentBackground);
|
|
81
|
-
border-bottom-color: var(--colorTransparentBackground);
|
|
82
|
-
border-left-color: var(--colorTransparentBackground);
|
|
83
|
-
&::after {
|
|
84
|
-
content: '';
|
|
85
|
-
position: absolute;
|
|
86
|
-
pointer-events: none;
|
|
87
|
-
z-index: 1;
|
|
88
|
-
border: var(--strokeWidthThick) solid Highlight;
|
|
89
|
-
border-radius: var(--borderRadiusMedium);
|
|
90
|
-
top: calc(-1 * var(--strokeWidthThick));
|
|
91
|
-
right: calc(-1 * var(--strokeWidthThick));
|
|
92
|
-
bottom: calc(-1 * var(--strokeWidthThick));
|
|
93
|
-
left: calc(-1 * var(--strokeWidthThick));
|
|
94
|
-
}
|
|
95
|
-
@media (forced-colors: active) {
|
|
96
|
-
&::after {
|
|
97
|
-
border-top-color: Highlight;
|
|
98
|
-
border-right-color: Highlight;
|
|
99
|
-
border-bottom-color: Highlight;
|
|
100
|
-
border-left-color: Highlight;
|
|
101
|
-
}
|
|
100
|
+
border-inline-start-color: Highlight;
|
|
102
101
|
}
|
|
103
102
|
}
|
|
104
103
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-menu-grid-preview",
|
|
3
|
-
"version": "9.75.
|
|
3
|
+
"version": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
|
|
4
4
|
"description": "New fluentui react package",
|
|
5
5
|
"main": "lib-commonjs/index.cjs",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@fluentui/keyboard-keys": "9.75.
|
|
24
|
+
"@fluentui/keyboard-keys": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
|
|
25
25
|
"@fluentui/react-icons": "^2.0.245",
|
|
26
|
-
"@fluentui/react-jsx-runtime": "9.75.
|
|
27
|
-
"@fluentui/react-menu": "9.75.
|
|
28
|
-
"@fluentui/react-shared-contexts": "9.75.
|
|
29
|
-
"@fluentui/react-table": "9.75.
|
|
30
|
-
"@fluentui/react-tabster": "9.75.
|
|
31
|
-
"@fluentui/react-theme": "9.75.
|
|
32
|
-
"@fluentui/react-utilities": "9.75.
|
|
26
|
+
"@fluentui/react-jsx-runtime": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
|
|
27
|
+
"@fluentui/react-menu": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
|
|
28
|
+
"@fluentui/react-shared-contexts": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
|
|
29
|
+
"@fluentui/react-table": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
|
|
30
|
+
"@fluentui/react-tabster": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
|
|
31
|
+
"@fluentui/react-theme": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
|
|
32
|
+
"@fluentui/react-utilities": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
|
|
33
33
|
"@griffel/react": "^1.5.32",
|
|
34
34
|
"@swc/helpers": "^0.5.1",
|
|
35
35
|
"clsx": "^2.1.1"
|