@fluentui/react-infolabel 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 +11 -11
- package/README.md +2 -2
- package/lib/components/InfoButton/InfoButton.module.css +102 -104
- package/lib/components/InfoLabel/InfoLabel.module.css +13 -15
- package/lib-commonjs/components/InfoButton/InfoButton.module.css +102 -104
- package/lib-commonjs/components/InfoLabel/InfoLabel.module.css +13 -15
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-infolabel
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Fri, 13 Nov 2026 20:37:15 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-infolabel_v9.75.2-experimental.css-modules.20261113-ba13c87438.0)
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Fri, 13 Nov 2026 20:37:15 GMT
|
|
10
10
|
|
|
11
11
|
### Changes
|
|
12
12
|
|
|
13
|
-
- Release 9.75.
|
|
14
|
-
- Bump @fluentui/react-jsx-runtime to v9.75.
|
|
15
|
-
- Bump @fluentui/react-label to v9.75.
|
|
16
|
-
- Bump @fluentui/react-popover to v9.75.
|
|
17
|
-
- Bump @fluentui/react-shared-contexts to v9.75.
|
|
18
|
-
- Bump @fluentui/react-tabster to v9.75.
|
|
19
|
-
- Bump @fluentui/react-theme to v9.75.
|
|
20
|
-
- Bump @fluentui/react-utilities to v9.75.
|
|
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-jsx-runtime to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
15
|
+
- Bump @fluentui/react-label to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
16
|
+
- Bump @fluentui/react-popover 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-tabster to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
19
|
+
- Bump @fluentui/react-theme to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
20
|
+
- Bump @fluentui/react-utilities to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
21
21
|
|
|
22
22
|
## [9.4.28](https://github.com/microsoft/fluentui/tree/@fluentui/react-infolabel_v9.4.28)
|
|
23
23
|
|
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ const InfoLabelExample = () => {
|
|
|
15
15
|
## Opt-in CSS Modules styles
|
|
16
16
|
|
|
17
17
|
The `use*Styles.styles.css` modules beside the existing Griffel hooks provide opt-in,
|
|
18
|
-
|
|
18
|
+
CSS alternatives with the same exports. Configure the bundler to replace
|
|
19
19
|
`.styles` with `.styles.css.ts` for source imports and `.styles.js` with
|
|
20
20
|
`.styles.css.js` for built imports. Load CSS Modules as default class-name maps and
|
|
21
21
|
retain the package CSS assets. Default component imports still use Griffel.
|
|
@@ -23,4 +23,4 @@ Composed components require their own style alternatives; this does not remove
|
|
|
23
23
|
all reachable Griffel dependencies. Browser, forced-colors, RTL, and visual-regression
|
|
24
24
|
parity must be validated before switching defaults.
|
|
25
25
|
|
|
26
|
-
Select the `Label` and `InfoButton` alternatives together with `InfoLabel`. `InfoButton` styles its portaled info surface independently, but the composed `Popover` still needs its own alternative. Use headless icons
|
|
26
|
+
Select the `Label` and `InfoButton` alternatives together with `InfoLabel`. `InfoButton` styles its portaled info surface independently, but the composed `Popover` still needs its own alternative. Use headless icons; their CSS defaults are imported into the low-priority `fluent` layer.
|
|
@@ -1,65 +1,34 @@
|
|
|
1
1
|
@import url('@fluentui/react-icons/headless/styles.css') layer(fluent);
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
display: none;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
& :global(.fui-Icon-regular) {
|
|
26
|
-
display: inline-flex;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&:hover {
|
|
30
|
-
background-color: var(--colorTransparentBackgroundHover);
|
|
31
|
-
color: var(--colorNeutralForeground2BrandHover);
|
|
32
|
-
cursor: pointer;
|
|
33
|
-
& :global(.fui-Icon-filled) {
|
|
34
|
-
display: inline-flex;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
& :global(.fui-Icon-regular) {
|
|
38
|
-
display: none;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&:hover:active {
|
|
43
|
-
background-color: var(--colorTransparentBackgroundPressed);
|
|
44
|
-
color: var(--colorNeutralForeground2BrandPressed);
|
|
45
|
-
}
|
|
3
|
+
.root {
|
|
4
|
+
align-items: center;
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
display: inline-flex;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
text-decoration-line: none;
|
|
9
|
+
vertical-align: middle;
|
|
10
|
+
position: relative;
|
|
11
|
+
background-color: var(--colorTransparentBackground);
|
|
12
|
+
color: var(--colorNeutralForeground2);
|
|
13
|
+
border-top-style: none;
|
|
14
|
+
border-inline-end-style: none;
|
|
15
|
+
border-bottom-style: none;
|
|
16
|
+
border-inline-start-style: none;
|
|
17
|
+
border-radius: var(--borderRadiusMedium);
|
|
18
|
+
margin: 0;
|
|
19
|
+
padding: var(--spacingVerticalXS) var(--spacingHorizontalXS);
|
|
20
|
+
& :global(.fui-Icon-filled) {
|
|
21
|
+
display: none;
|
|
46
22
|
}
|
|
47
23
|
|
|
48
|
-
.
|
|
49
|
-
|
|
50
|
-
color: CanvasText;
|
|
51
|
-
&:hover,
|
|
52
|
-
&:hover:active {
|
|
53
|
-
forced-color-adjust: none;
|
|
54
|
-
background-color: Highlight;
|
|
55
|
-
color: Canvas;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
24
|
+
& :global(.fui-Icon-regular) {
|
|
25
|
+
display: inline-flex;
|
|
58
26
|
}
|
|
59
27
|
|
|
60
|
-
|
|
61
|
-
background-color: var(--
|
|
62
|
-
color: var(--
|
|
28
|
+
&:hover {
|
|
29
|
+
background-color: var(--colorTransparentBackgroundHover);
|
|
30
|
+
color: var(--colorNeutralForeground2BrandHover);
|
|
31
|
+
cursor: pointer;
|
|
63
32
|
& :global(.fui-Icon-filled) {
|
|
64
33
|
display: inline-flex;
|
|
65
34
|
}
|
|
@@ -67,70 +36,99 @@
|
|
|
67
36
|
& :global(.fui-Icon-regular) {
|
|
68
37
|
display: none;
|
|
69
38
|
}
|
|
39
|
+
}
|
|
70
40
|
|
|
71
|
-
|
|
41
|
+
&:hover:active {
|
|
42
|
+
background-color: var(--colorTransparentBackgroundPressed);
|
|
43
|
+
color: var(--colorNeutralForeground2BrandPressed);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.root {
|
|
48
|
+
@media (forced-colors: active) {
|
|
49
|
+
color: CanvasText;
|
|
50
|
+
&:hover,
|
|
51
|
+
&:hover:active {
|
|
52
|
+
forced-color-adjust: none;
|
|
72
53
|
background-color: Highlight;
|
|
73
54
|
color: Canvas;
|
|
74
55
|
}
|
|
75
56
|
}
|
|
57
|
+
}
|
|
76
58
|
|
|
77
|
-
|
|
78
|
-
|
|
59
|
+
.root:where(.open) {
|
|
60
|
+
background-color: var(--colorTransparentBackgroundSelected);
|
|
61
|
+
color: var(--colorNeutralForeground2BrandSelected);
|
|
62
|
+
& :global(.fui-Icon-filled) {
|
|
63
|
+
display: inline-flex;
|
|
79
64
|
}
|
|
80
65
|
|
|
81
|
-
.
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
66
|
+
& :global(.fui-Icon-regular) {
|
|
67
|
+
display: none;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@media (forced-colors: active) {
|
|
71
|
+
background-color: Highlight;
|
|
72
|
+
color: Canvas;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.root:where(.large) {
|
|
77
|
+
padding: var(--spacingVerticalXXS) var(--spacingVerticalXXS);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.root {
|
|
81
|
+
&:focus {
|
|
82
|
+
outline-style: none;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&:focus-visible {
|
|
86
|
+
outline-style: none;
|
|
87
|
+
}
|
|
85
88
|
|
|
86
|
-
|
|
87
|
-
|
|
89
|
+
&[data-fui-focus-visible] {
|
|
90
|
+
border-top-color: transparent;
|
|
91
|
+
border-inline-end-color: transparent;
|
|
92
|
+
border-bottom-color: transparent;
|
|
93
|
+
border-inline-start-color: transparent;
|
|
94
|
+
&::after {
|
|
95
|
+
content: '';
|
|
96
|
+
position: absolute;
|
|
97
|
+
pointer-events: none;
|
|
98
|
+
z-index: 1;
|
|
99
|
+
border: var(--strokeWidthThick) solid var(--colorStrokeFocus2);
|
|
100
|
+
border-radius: var(--borderRadiusMedium);
|
|
101
|
+
top: calc(var(--strokeWidthThick) * -1);
|
|
102
|
+
inset-inline-end: calc(var(--strokeWidthThick) * -1);
|
|
103
|
+
bottom: calc(var(--strokeWidthThick) * -1);
|
|
104
|
+
inset-inline-start: calc(var(--strokeWidthThick) * -1);
|
|
88
105
|
}
|
|
89
106
|
|
|
90
|
-
|
|
91
|
-
border-top-color: transparent;
|
|
92
|
-
border-right-color: transparent;
|
|
93
|
-
border-bottom-color: transparent;
|
|
94
|
-
border-left-color: transparent;
|
|
107
|
+
@media (forced-colors: active) {
|
|
95
108
|
&::after {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
border: var(--strokeWidthThick) solid var(--colorStrokeFocus2);
|
|
101
|
-
border-radius: var(--borderRadiusMedium);
|
|
102
|
-
top: calc(var(--strokeWidthThick) * -1);
|
|
103
|
-
inset-inline-end: calc(var(--strokeWidthThick) * -1);
|
|
104
|
-
bottom: calc(var(--strokeWidthThick) * -1);
|
|
105
|
-
inset-inline-start: calc(var(--strokeWidthThick) * -1);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
@media (forced-colors: active) {
|
|
109
|
-
&::after {
|
|
110
|
-
border-top-color: Highlight;
|
|
111
|
-
border-right-color: Highlight;
|
|
112
|
-
border-bottom-color: Highlight;
|
|
113
|
-
border-left-color: Highlight;
|
|
114
|
-
}
|
|
109
|
+
border-top-color: Highlight;
|
|
110
|
+
border-inline-end-color: Highlight;
|
|
111
|
+
border-bottom-color: Highlight;
|
|
112
|
+
border-inline-start-color: Highlight;
|
|
115
113
|
}
|
|
116
114
|
}
|
|
117
115
|
}
|
|
116
|
+
}
|
|
118
117
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
118
|
+
.info {
|
|
119
|
+
max-width: calc(var(--spacingHorizontalXXXL) * 8 + var(--spacingHorizontalS));
|
|
120
|
+
}
|
|
122
121
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
122
|
+
.info:where(.small, .medium) {
|
|
123
|
+
font-family: var(--fontFamilyBase);
|
|
124
|
+
font-size: var(--fontSizeBase200);
|
|
125
|
+
font-weight: var(--fontWeightRegular);
|
|
126
|
+
line-height: var(--lineHeightBase200);
|
|
127
|
+
}
|
|
129
128
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
}
|
|
129
|
+
.info:where(.large) {
|
|
130
|
+
font-family: var(--fontFamilyBase);
|
|
131
|
+
font-size: var(--fontSizeBase300);
|
|
132
|
+
font-weight: var(--fontWeightRegular);
|
|
133
|
+
line-height: var(--lineHeightBase300);
|
|
136
134
|
}
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
1
|
+
.label {
|
|
2
|
+
vertical-align: top;
|
|
3
|
+
cursor: inherit;
|
|
4
|
+
color: inherit;
|
|
5
|
+
}
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
.infoButton {
|
|
8
|
+
vertical-align: top;
|
|
9
|
+
margin-top: calc(0px - var(--spacingVerticalXXS));
|
|
10
|
+
margin-bottom: calc(0px - var(--spacingVerticalXXS));
|
|
11
|
+
}
|
|
13
12
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
13
|
+
:where(.large) > .infoButton {
|
|
14
|
+
margin-top: calc(var(--spacingVerticalXXS) / -2);
|
|
15
|
+
margin-bottom: calc(var(--spacingVerticalXXS) / -2);
|
|
18
16
|
}
|
|
@@ -1,65 +1,34 @@
|
|
|
1
1
|
@import url('@fluentui/react-icons/headless/styles.css') layer(fluent);
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
display: none;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
& :global(.fui-Icon-regular) {
|
|
26
|
-
display: inline-flex;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&:hover {
|
|
30
|
-
background-color: var(--colorTransparentBackgroundHover);
|
|
31
|
-
color: var(--colorNeutralForeground2BrandHover);
|
|
32
|
-
cursor: pointer;
|
|
33
|
-
& :global(.fui-Icon-filled) {
|
|
34
|
-
display: inline-flex;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
& :global(.fui-Icon-regular) {
|
|
38
|
-
display: none;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&:hover:active {
|
|
43
|
-
background-color: var(--colorTransparentBackgroundPressed);
|
|
44
|
-
color: var(--colorNeutralForeground2BrandPressed);
|
|
45
|
-
}
|
|
3
|
+
.root {
|
|
4
|
+
align-items: center;
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
display: inline-flex;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
text-decoration-line: none;
|
|
9
|
+
vertical-align: middle;
|
|
10
|
+
position: relative;
|
|
11
|
+
background-color: var(--colorTransparentBackground);
|
|
12
|
+
color: var(--colorNeutralForeground2);
|
|
13
|
+
border-top-style: none;
|
|
14
|
+
border-inline-end-style: none;
|
|
15
|
+
border-bottom-style: none;
|
|
16
|
+
border-inline-start-style: none;
|
|
17
|
+
border-radius: var(--borderRadiusMedium);
|
|
18
|
+
margin: 0;
|
|
19
|
+
padding: var(--spacingVerticalXS) var(--spacingHorizontalXS);
|
|
20
|
+
& :global(.fui-Icon-filled) {
|
|
21
|
+
display: none;
|
|
46
22
|
}
|
|
47
23
|
|
|
48
|
-
.
|
|
49
|
-
|
|
50
|
-
color: CanvasText;
|
|
51
|
-
&:hover,
|
|
52
|
-
&:hover:active {
|
|
53
|
-
forced-color-adjust: none;
|
|
54
|
-
background-color: Highlight;
|
|
55
|
-
color: Canvas;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
24
|
+
& :global(.fui-Icon-regular) {
|
|
25
|
+
display: inline-flex;
|
|
58
26
|
}
|
|
59
27
|
|
|
60
|
-
|
|
61
|
-
background-color: var(--
|
|
62
|
-
color: var(--
|
|
28
|
+
&:hover {
|
|
29
|
+
background-color: var(--colorTransparentBackgroundHover);
|
|
30
|
+
color: var(--colorNeutralForeground2BrandHover);
|
|
31
|
+
cursor: pointer;
|
|
63
32
|
& :global(.fui-Icon-filled) {
|
|
64
33
|
display: inline-flex;
|
|
65
34
|
}
|
|
@@ -67,70 +36,99 @@
|
|
|
67
36
|
& :global(.fui-Icon-regular) {
|
|
68
37
|
display: none;
|
|
69
38
|
}
|
|
39
|
+
}
|
|
70
40
|
|
|
71
|
-
|
|
41
|
+
&:hover:active {
|
|
42
|
+
background-color: var(--colorTransparentBackgroundPressed);
|
|
43
|
+
color: var(--colorNeutralForeground2BrandPressed);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.root {
|
|
48
|
+
@media (forced-colors: active) {
|
|
49
|
+
color: CanvasText;
|
|
50
|
+
&:hover,
|
|
51
|
+
&:hover:active {
|
|
52
|
+
forced-color-adjust: none;
|
|
72
53
|
background-color: Highlight;
|
|
73
54
|
color: Canvas;
|
|
74
55
|
}
|
|
75
56
|
}
|
|
57
|
+
}
|
|
76
58
|
|
|
77
|
-
|
|
78
|
-
|
|
59
|
+
.root:where(.open) {
|
|
60
|
+
background-color: var(--colorTransparentBackgroundSelected);
|
|
61
|
+
color: var(--colorNeutralForeground2BrandSelected);
|
|
62
|
+
& :global(.fui-Icon-filled) {
|
|
63
|
+
display: inline-flex;
|
|
79
64
|
}
|
|
80
65
|
|
|
81
|
-
.
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
66
|
+
& :global(.fui-Icon-regular) {
|
|
67
|
+
display: none;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@media (forced-colors: active) {
|
|
71
|
+
background-color: Highlight;
|
|
72
|
+
color: Canvas;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.root:where(.large) {
|
|
77
|
+
padding: var(--spacingVerticalXXS) var(--spacingVerticalXXS);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.root {
|
|
81
|
+
&:focus {
|
|
82
|
+
outline-style: none;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&:focus-visible {
|
|
86
|
+
outline-style: none;
|
|
87
|
+
}
|
|
85
88
|
|
|
86
|
-
|
|
87
|
-
|
|
89
|
+
&[data-fui-focus-visible] {
|
|
90
|
+
border-top-color: transparent;
|
|
91
|
+
border-inline-end-color: transparent;
|
|
92
|
+
border-bottom-color: transparent;
|
|
93
|
+
border-inline-start-color: transparent;
|
|
94
|
+
&::after {
|
|
95
|
+
content: '';
|
|
96
|
+
position: absolute;
|
|
97
|
+
pointer-events: none;
|
|
98
|
+
z-index: 1;
|
|
99
|
+
border: var(--strokeWidthThick) solid var(--colorStrokeFocus2);
|
|
100
|
+
border-radius: var(--borderRadiusMedium);
|
|
101
|
+
top: calc(var(--strokeWidthThick) * -1);
|
|
102
|
+
inset-inline-end: calc(var(--strokeWidthThick) * -1);
|
|
103
|
+
bottom: calc(var(--strokeWidthThick) * -1);
|
|
104
|
+
inset-inline-start: calc(var(--strokeWidthThick) * -1);
|
|
88
105
|
}
|
|
89
106
|
|
|
90
|
-
|
|
91
|
-
border-top-color: transparent;
|
|
92
|
-
border-right-color: transparent;
|
|
93
|
-
border-bottom-color: transparent;
|
|
94
|
-
border-left-color: transparent;
|
|
107
|
+
@media (forced-colors: active) {
|
|
95
108
|
&::after {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
border: var(--strokeWidthThick) solid var(--colorStrokeFocus2);
|
|
101
|
-
border-radius: var(--borderRadiusMedium);
|
|
102
|
-
top: calc(var(--strokeWidthThick) * -1);
|
|
103
|
-
inset-inline-end: calc(var(--strokeWidthThick) * -1);
|
|
104
|
-
bottom: calc(var(--strokeWidthThick) * -1);
|
|
105
|
-
inset-inline-start: calc(var(--strokeWidthThick) * -1);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
@media (forced-colors: active) {
|
|
109
|
-
&::after {
|
|
110
|
-
border-top-color: Highlight;
|
|
111
|
-
border-right-color: Highlight;
|
|
112
|
-
border-bottom-color: Highlight;
|
|
113
|
-
border-left-color: Highlight;
|
|
114
|
-
}
|
|
109
|
+
border-top-color: Highlight;
|
|
110
|
+
border-inline-end-color: Highlight;
|
|
111
|
+
border-bottom-color: Highlight;
|
|
112
|
+
border-inline-start-color: Highlight;
|
|
115
113
|
}
|
|
116
114
|
}
|
|
117
115
|
}
|
|
116
|
+
}
|
|
118
117
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
118
|
+
.info {
|
|
119
|
+
max-width: calc(var(--spacingHorizontalXXXL) * 8 + var(--spacingHorizontalS));
|
|
120
|
+
}
|
|
122
121
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
122
|
+
.info:where(.small, .medium) {
|
|
123
|
+
font-family: var(--fontFamilyBase);
|
|
124
|
+
font-size: var(--fontSizeBase200);
|
|
125
|
+
font-weight: var(--fontWeightRegular);
|
|
126
|
+
line-height: var(--lineHeightBase200);
|
|
127
|
+
}
|
|
129
128
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
}
|
|
129
|
+
.info:where(.large) {
|
|
130
|
+
font-family: var(--fontFamilyBase);
|
|
131
|
+
font-size: var(--fontSizeBase300);
|
|
132
|
+
font-weight: var(--fontWeightRegular);
|
|
133
|
+
line-height: var(--lineHeightBase300);
|
|
136
134
|
}
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
1
|
+
.label {
|
|
2
|
+
vertical-align: top;
|
|
3
|
+
cursor: inherit;
|
|
4
|
+
color: inherit;
|
|
5
|
+
}
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
.infoButton {
|
|
8
|
+
vertical-align: top;
|
|
9
|
+
margin-top: calc(0px - var(--spacingVerticalXXS));
|
|
10
|
+
margin-bottom: calc(0px - var(--spacingVerticalXXS));
|
|
11
|
+
}
|
|
13
12
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
13
|
+
:where(.large) > .infoButton {
|
|
14
|
+
margin-top: calc(var(--spacingVerticalXXS) / -2);
|
|
15
|
+
margin-bottom: calc(var(--spacingVerticalXXS) / -2);
|
|
18
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-infolabel",
|
|
3
|
-
"version": "9.75.
|
|
3
|
+
"version": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
|
|
4
4
|
"description": "InfoLabel component for Fluent UI v9",
|
|
5
5
|
"main": "lib-commonjs/index.cjs",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@fluentui/react-icons": "^2.0.245",
|
|
18
|
-
"@fluentui/react-jsx-runtime": "9.75.
|
|
19
|
-
"@fluentui/react-label": "9.75.
|
|
20
|
-
"@fluentui/react-popover": "9.75.
|
|
21
|
-
"@fluentui/react-shared-contexts": "9.75.
|
|
22
|
-
"@fluentui/react-tabster": "9.75.
|
|
23
|
-
"@fluentui/react-theme": "9.75.
|
|
24
|
-
"@fluentui/react-utilities": "9.75.
|
|
18
|
+
"@fluentui/react-jsx-runtime": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
|
|
19
|
+
"@fluentui/react-label": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
|
|
20
|
+
"@fluentui/react-popover": "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-tabster": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
|
|
23
|
+
"@fluentui/react-theme": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
|
|
24
|
+
"@fluentui/react-utilities": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
|
|
25
25
|
"@griffel/react": "^1.5.32",
|
|
26
26
|
"@swc/helpers": "^0.5.1",
|
|
27
27
|
"clsx": "^2.1.1"
|