@fluentui/react-tree 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 +28 -19
- package/README.md +1 -1
- package/lib/components/FlatTree/FlatTree.module.css +5 -6
- package/lib/components/Tree/Tree.module.css +8 -9
- package/lib/components/TreeItem/TreeItem.module.css +52 -53
- package/lib/components/TreeItemLayout/TreeItemLayout.module.css +114 -113
- package/lib/components/TreeItemPersonaLayout/TreeItemPersonaLayout.module.css +129 -128
- package/lib-commonjs/components/FlatTree/FlatTree.module.css +5 -6
- package/lib-commonjs/components/Tree/Tree.module.css +8 -9
- package/lib-commonjs/components/TreeItem/TreeItem.module.css +52 -53
- package/lib-commonjs/components/TreeItemLayout/TreeItemLayout.module.css +114 -113
- package/lib-commonjs/components/TreeItemPersonaLayout/TreeItemPersonaLayout.module.css +129 -128
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,31 +1,40 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-tree
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Fri, 13 Nov 2026 20:37:05 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-tree_v9.75.2-experimental.css-modules.20261113-ba13c87438.0)
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tree_v9.17.
|
|
9
|
+
Fri, 13 Nov 2026 20:37:05 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tree_v9.17.1..@fluentui/react-tree_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-aria to v9.75.
|
|
17
|
-
- Bump @fluentui/react-avatar to v9.75.
|
|
18
|
-
- Bump @fluentui/react-button to v9.75.
|
|
19
|
-
- Bump @fluentui/react-checkbox to v9.75.
|
|
20
|
-
- Bump @fluentui/react-context-selector to v9.75.
|
|
21
|
-
- Bump @fluentui/react-jsx-runtime to v9.75.
|
|
22
|
-
- Bump @fluentui/react-motion to v9.75.
|
|
23
|
-
- Bump @fluentui/react-motion-components-preview to v9.75.
|
|
24
|
-
- Bump @fluentui/react-radio to v9.75.
|
|
25
|
-
- Bump @fluentui/react-shared-contexts to v9.75.
|
|
26
|
-
- Bump @fluentui/react-tabster to v9.75.
|
|
27
|
-
- Bump @fluentui/react-theme to v9.75.
|
|
28
|
-
- 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-aria to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
17
|
+
- Bump @fluentui/react-avatar to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
18
|
+
- Bump @fluentui/react-button to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
19
|
+
- Bump @fluentui/react-checkbox to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
20
|
+
- 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)
|
|
21
|
+
- 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)
|
|
22
|
+
- Bump @fluentui/react-motion to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
23
|
+
- Bump @fluentui/react-motion-components-preview to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
24
|
+
- Bump @fluentui/react-radio to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
25
|
+
- 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)
|
|
26
|
+
- Bump @fluentui/react-tabster to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
27
|
+
- Bump @fluentui/react-theme to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
28
|
+
- Bump @fluentui/react-utilities to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
29
|
+
|
|
30
|
+
## [9.17.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-tree_v9.17.1)
|
|
31
|
+
|
|
32
|
+
Tue, 10 Nov 2026 16:50:23 GMT
|
|
33
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tree_v9.17.0..@fluentui/react-tree_v9.17.1)
|
|
34
|
+
|
|
35
|
+
### Patches
|
|
36
|
+
|
|
37
|
+
- Bump @fluentui/react-avatar to v9.11.10 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
29
38
|
|
|
30
39
|
## [9.17.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-tree_v9.17.0)
|
|
31
40
|
|
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ Tree, FlatTree, TreeItem, TreeItemLayout, and TreeItemPersonaLayout have alterna
|
|
|
11
11
|
The default components continue to use Griffel. An opt-in bundler resolver can replace
|
|
12
12
|
`use<Component>Styles.styles.js` with `use<Component>Styles.styles.css.js`
|
|
13
13
|
(and the corresponding `.ts` source modules). Keep the emitted CSS assets and process
|
|
14
|
-
their CSS Modules imports;
|
|
14
|
+
their CSS Modules imports; rules are unlayered, like Griffel's. Apply the same selection
|
|
15
15
|
to client and server bundles. Within-package composed alternatives import their CSS
|
|
16
16
|
base hook explicitly. These alternatives do not make composed external components
|
|
17
17
|
Griffel-free. Browser, forced-colors, SSR, and full VRT parity require separate validation.
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
/* @griffel-buckets reset: .root */
|
|
2
|
+
.root {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
row-gap: var(--spacingVerticalXXS);
|
|
6
|
+
}
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
8
|
+
.subtree {
|
|
9
|
+
padding-top: var(--spacingVerticalXXS);
|
|
11
10
|
}
|
|
@@ -1,65 +1,64 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
&:focus-visible {
|
|
15
|
-
outline-style: none;
|
|
16
|
-
}
|
|
17
|
-
&[data-fui-focus-visible] > :global(.fui-TreeItemLayout),
|
|
18
|
-
&[data-fui-focus-visible] > :global(.fui-TreeItemPersonaLayout) {
|
|
19
|
-
border-radius: var(--borderRadiusMedium);
|
|
20
|
-
outline-color: var(--colorStrokeFocus2);
|
|
21
|
-
outline-width: 2px;
|
|
22
|
-
outline-style: solid;
|
|
23
|
-
}
|
|
1
|
+
/* @griffel-buckets reset: .root */
|
|
2
|
+
.root {
|
|
3
|
+
position: relative;
|
|
4
|
+
cursor: pointer;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
background-color: var(--colorSubtleBackground);
|
|
9
|
+
color: var(--colorNeutralForeground2);
|
|
10
|
+
padding-inline-end: var(--spacingHorizontalNone);
|
|
11
|
+
&:focus {
|
|
12
|
+
outline-style: none;
|
|
24
13
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
--fluent-TreeItem--level: 1;
|
|
14
|
+
&:focus-visible {
|
|
15
|
+
outline-style: none;
|
|
28
16
|
}
|
|
29
|
-
|
|
30
|
-
.
|
|
31
|
-
|
|
17
|
+
&[data-fui-focus-visible] > :global(.fui-TreeItemLayout),
|
|
18
|
+
&[data-fui-focus-visible] > :global(.fui-TreeItemPersonaLayout) {
|
|
19
|
+
border-radius: var(--borderRadiusMedium);
|
|
20
|
+
outline-color: var(--colorStrokeFocus2);
|
|
21
|
+
outline-width: 2px;
|
|
22
|
+
outline-style: solid;
|
|
32
23
|
}
|
|
24
|
+
}
|
|
33
25
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
26
|
+
.level1 {
|
|
27
|
+
--fluent-TreeItem--level: 1;
|
|
28
|
+
}
|
|
37
29
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
30
|
+
.level2 {
|
|
31
|
+
--fluent-TreeItem--level: 2;
|
|
32
|
+
}
|
|
41
33
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
34
|
+
.level3 {
|
|
35
|
+
--fluent-TreeItem--level: 3;
|
|
36
|
+
}
|
|
45
37
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
38
|
+
.level4 {
|
|
39
|
+
--fluent-TreeItem--level: 4;
|
|
40
|
+
}
|
|
49
41
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
42
|
+
.level5 {
|
|
43
|
+
--fluent-TreeItem--level: 5;
|
|
44
|
+
}
|
|
53
45
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
46
|
+
.level6 {
|
|
47
|
+
--fluent-TreeItem--level: 6;
|
|
48
|
+
}
|
|
57
49
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
50
|
+
.level7 {
|
|
51
|
+
--fluent-TreeItem--level: 7;
|
|
52
|
+
}
|
|
61
53
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
54
|
+
.level8 {
|
|
55
|
+
--fluent-TreeItem--level: 8;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.level9 {
|
|
59
|
+
--fluent-TreeItem--level: 9;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.level10 {
|
|
63
|
+
--fluent-TreeItem--level: 10;
|
|
65
64
|
}
|
|
@@ -1,137 +1,138 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
1
|
+
/* @griffel-buckets reset: .root, .main, .expandIcon, .iconBefore, .iconAfter, .actions, .aside */
|
|
2
|
+
.root {
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
min-height: var(--spacingHorizontalXXXL);
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
grid-area: layout;
|
|
8
|
+
&:hover {
|
|
9
|
+
color: var(--colorNeutralForeground2Hover);
|
|
10
|
+
background-color: var(--colorSubtleBackgroundHover);
|
|
11
|
+
& :global(.fui-TreeItemLayout__expandIcon) {
|
|
12
|
+
color: var(--colorNeutralForeground3Hover);
|
|
14
13
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
}
|
|
15
|
+
&:active {
|
|
16
|
+
color: var(--colorNeutralForeground2Pressed);
|
|
17
|
+
background-color: var(--colorSubtleBackgroundPressed);
|
|
18
|
+
& :global(.fui-TreeItemLayout__expandIcon) {
|
|
19
|
+
color: var(--colorNeutralForeground3Pressed);
|
|
21
20
|
}
|
|
22
21
|
}
|
|
22
|
+
}
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
.leaf {
|
|
25
|
+
padding-inline-start: calc(var(--fluent-TreeItem--level, 1) * var(--spacingHorizontalXXL));
|
|
26
|
+
}
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
.branch {
|
|
29
|
+
padding-inline-start: calc((var(--fluent-TreeItem--level, 1) - 1) * var(--spacingHorizontalXXL));
|
|
30
|
+
}
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
.medium {
|
|
33
|
+
font-family: var(--fontFamilyBase);
|
|
34
|
+
font-size: var(--fontSizeBase300);
|
|
35
|
+
font-weight: var(--fontWeightRegular);
|
|
36
|
+
line-height: var(--lineHeightBase300);
|
|
37
|
+
}
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
.small {
|
|
40
|
+
min-height: var(--spacingHorizontalXXL);
|
|
41
|
+
font-family: var(--fontFamilyBase);
|
|
42
|
+
font-size: var(--fontSizeBase200);
|
|
43
|
+
font-weight: var(--fontWeightRegular);
|
|
44
|
+
line-height: var(--lineHeightBase200);
|
|
45
|
+
}
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
/* stylelint-disable-next-line block-no-empty -- Class must exist in the CSS Module map; it is used as a state qualifier. */
|
|
48
|
+
.subtle {
|
|
49
|
+
}
|
|
49
50
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
&:active {
|
|
55
|
-
background-color: var(--colorSubtleBackgroundLightAlphaPressed);
|
|
56
|
-
}
|
|
51
|
+
.subtle-alpha {
|
|
52
|
+
&:hover {
|
|
53
|
+
background-color: var(--colorSubtleBackgroundLightAlphaHover);
|
|
57
54
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
background-color: var(--colorTransparentBackground);
|
|
61
|
-
&:hover {
|
|
62
|
-
background-color: var(--colorTransparentBackgroundHover);
|
|
63
|
-
}
|
|
64
|
-
&:active {
|
|
65
|
-
background-color: var(--colorTransparentBackgroundPressed);
|
|
66
|
-
}
|
|
55
|
+
&:active {
|
|
56
|
+
background-color: var(--colorSubtleBackgroundLightAlphaPressed);
|
|
67
57
|
}
|
|
58
|
+
}
|
|
68
59
|
|
|
69
|
-
|
|
70
|
-
|
|
60
|
+
.transparent {
|
|
61
|
+
background-color: var(--colorTransparentBackground);
|
|
62
|
+
&:hover {
|
|
63
|
+
background-color: var(--colorTransparentBackgroundHover);
|
|
71
64
|
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
display: flex;
|
|
75
|
-
align-items: center;
|
|
76
|
-
justify-content: center;
|
|
77
|
-
min-width: var(--spacingHorizontalXXL);
|
|
78
|
-
box-sizing: border-box;
|
|
79
|
-
color: var(--colorNeutralForeground3);
|
|
80
|
-
flex: 0 0 auto;
|
|
81
|
-
padding: var(--spacingVerticalXS) 0;
|
|
65
|
+
&:active {
|
|
66
|
+
background-color: var(--colorTransparentBackgroundPressed);
|
|
82
67
|
}
|
|
68
|
+
}
|
|
83
69
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
color: var(--colorNeutralForeground2);
|
|
88
|
-
line-height: var(--lineHeightBase500);
|
|
89
|
-
font-size: var(--fontSizeBase500);
|
|
90
|
-
}
|
|
70
|
+
.main {
|
|
71
|
+
padding: 0 var(--spacingHorizontalXXS);
|
|
72
|
+
}
|
|
91
73
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
74
|
+
.expandIcon {
|
|
75
|
+
display: flex;
|
|
76
|
+
align-items: center;
|
|
77
|
+
justify-content: center;
|
|
78
|
+
min-width: var(--spacingHorizontalXXL);
|
|
79
|
+
box-sizing: border-box;
|
|
80
|
+
color: var(--colorNeutralForeground3);
|
|
81
|
+
flex: 0 0 auto;
|
|
82
|
+
padding: var(--spacingVerticalXS) 0;
|
|
83
|
+
}
|
|
99
84
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
}
|
|
85
|
+
.iconBefore {
|
|
86
|
+
display: flex;
|
|
87
|
+
align-items: center;
|
|
88
|
+
color: var(--colorNeutralForeground2);
|
|
89
|
+
line-height: var(--lineHeightBase500);
|
|
90
|
+
font-size: var(--fontSizeBase500);
|
|
91
|
+
}
|
|
108
92
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
gap: var(--spacingHorizontalXS);
|
|
117
|
-
}
|
|
93
|
+
.iconAfter {
|
|
94
|
+
display: flex;
|
|
95
|
+
align-items: center;
|
|
96
|
+
color: var(--colorNeutralForeground2);
|
|
97
|
+
line-height: var(--lineHeightBase500);
|
|
98
|
+
font-size: var(--fontSizeBase500);
|
|
99
|
+
}
|
|
118
100
|
|
|
119
|
-
|
|
120
|
-
|
|
101
|
+
.actions {
|
|
102
|
+
display: flex;
|
|
103
|
+
margin-inline-start: auto;
|
|
104
|
+
position: relative;
|
|
105
|
+
z-index: 1;
|
|
106
|
+
grid-area: aside;
|
|
107
|
+
padding: 0 var(--spacingHorizontalS);
|
|
108
|
+
}
|
|
121
109
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
110
|
+
.aside {
|
|
111
|
+
display: flex;
|
|
112
|
+
margin-inline-start: auto;
|
|
113
|
+
align-items: center;
|
|
114
|
+
z-index: 0;
|
|
115
|
+
grid-area: aside;
|
|
116
|
+
padding: 0 var(--spacingHorizontalM);
|
|
117
|
+
gap: var(--spacingHorizontalXS);
|
|
118
|
+
}
|
|
125
119
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
120
|
+
/* stylelint-disable-next-line block-no-empty -- Class must exist in the CSS Module map; it is used as a state qualifier. */
|
|
121
|
+
.selector {
|
|
122
|
+
}
|
|
129
123
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
124
|
+
:where(.medium) > .iconBefore {
|
|
125
|
+
padding-inline-end: var(--spacingHorizontalXS);
|
|
126
|
+
}
|
|
133
127
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
128
|
+
:where(.small) > .iconBefore {
|
|
129
|
+
padding-inline-end: var(--spacingHorizontalXXS);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
:where(.medium) > .iconAfter {
|
|
133
|
+
padding-inline-start: var(--spacingHorizontalXS);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
:where(.small) > .iconAfter {
|
|
137
|
+
padding-inline-start: var(--spacingHorizontalXXS);
|
|
137
138
|
}
|