@fluentui/react-textarea 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 +9 -9
- package/README.md +1 -1
- package/lib/components/Textarea/Textarea.module.css +174 -176
- package/lib-commonjs/components/Textarea/Textarea.module.css +174 -176
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-textarea
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Fri, 13 Nov 2026 20:37:02 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-textarea_v9.75.2-experimental.css-modules.20261113-ba13c87438.0)
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Fri, 13 Nov 2026 20:37:02 GMT
|
|
10
10
|
|
|
11
11
|
### Changes
|
|
12
12
|
|
|
13
|
-
- Release 9.75.
|
|
14
|
-
- Bump @fluentui/react-field to v9.75.
|
|
15
|
-
- Bump @fluentui/react-jsx-runtime to v9.75.
|
|
16
|
-
- Bump @fluentui/react-shared-contexts to v9.75.
|
|
17
|
-
- Bump @fluentui/react-theme to v9.75.
|
|
18
|
-
- 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-field 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-theme to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
18
|
+
- Bump @fluentui/react-utilities to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
19
19
|
|
|
20
20
|
## [9.7.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-textarea_v9.7.8)
|
|
21
21
|
|
package/README.md
CHANGED
|
@@ -23,4 +23,4 @@ import { Textarea } from '@fluentui/react-textarea';
|
|
|
23
23
|
|
|
24
24
|
CSS Modules alternatives are available for `Textarea`. The default exports and component imports continue to use Griffel.
|
|
25
25
|
|
|
26
|
-
To opt in, configure your bundler to replace each `use<Component>Styles.styles.js` module with its adjacent `use<Component>Styles.styles.css.js` alternative (or `.styles.ts` with `.styles.css.ts` for source builds). Apply the replacement consistently to client and server bundles. The CSS loader must provide a default class-name map and retain the adjacent `.module.css` asset, including CSS from dependencies.
|
|
26
|
+
To opt in, configure your bundler to replace each `use<Component>Styles.styles.js` module with its adjacent `use<Component>Styles.styles.css.js` alternative (or `.styles.ts` with `.styles.css.ts` for source builds). Apply the replacement consistently to client and server bundles. The CSS loader must provide a default class-name map and retain the adjacent `.module.css` asset, including CSS from dependencies. Component rules are unlayered, like Griffel's, and use the theme custom properties supplied by `FluentProvider`.
|
|
@@ -1,210 +1,208 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
1
|
+
.root {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
position: relative;
|
|
5
|
+
padding: 0 0 var(--strokeWidthThick) 0;
|
|
6
|
+
margin: 0;
|
|
7
|
+
border-radius: var(--borderRadiusMedium);
|
|
8
|
+
vertical-align: top;
|
|
9
|
+
}
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
.disabled {
|
|
12
|
+
background-color: var(--colorTransparentBackground);
|
|
13
|
+
border: var(--strokeWidthThin) solid var(--colorNeutralStrokeDisabled);
|
|
14
|
+
}
|
|
16
15
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
16
|
+
.filled:where(:not(.disabled)):hover,
|
|
17
|
+
.filled:where(:not(.disabled)):focus-within {
|
|
18
|
+
border-top-color: var(--colorTransparentStrokeInteractive);
|
|
19
|
+
border-inline-end-color: var(--colorTransparentStrokeInteractive);
|
|
20
|
+
border-bottom-color: var(--colorTransparentStrokeInteractive);
|
|
21
|
+
border-inline-start-color: var(--colorTransparentStrokeInteractive);
|
|
22
|
+
}
|
|
24
23
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
.filled:where(:not(.disabled)) {
|
|
25
|
+
border: var(--strokeWidthThin) solid var(--colorTransparentStroke);
|
|
26
|
+
}
|
|
28
27
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
.filled-darker:where(:not(.disabled)) {
|
|
29
|
+
background-color: var(--colorNeutralBackground3);
|
|
30
|
+
}
|
|
32
31
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
.filled-lighter:where(:not(.disabled)) {
|
|
33
|
+
background-color: var(--colorNeutralBackground1);
|
|
34
|
+
}
|
|
36
35
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
36
|
+
.filled-darker-shadow:where(:not(.disabled)) {
|
|
37
|
+
background-color: var(--colorNeutralBackground3);
|
|
38
|
+
border: var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);
|
|
39
|
+
box-shadow: var(--shadow2);
|
|
40
|
+
}
|
|
42
41
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
42
|
+
.filled-lighter-shadow:where(:not(.disabled)) {
|
|
43
|
+
background-color: var(--colorNeutralBackground1);
|
|
44
|
+
border: var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);
|
|
45
|
+
box-shadow: var(--shadow2);
|
|
46
|
+
}
|
|
48
47
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
48
|
+
.outline:where(:not(.disabled)) {
|
|
49
|
+
background-color: var(--colorNeutralBackground1);
|
|
50
|
+
border: var(--strokeWidthThin) solid var(--colorNeutralStroke1);
|
|
51
|
+
border-bottom-color: var(--colorNeutralStrokeAccessible);
|
|
52
|
+
}
|
|
54
53
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
54
|
+
.root:where(:not(.disabled))::after {
|
|
55
|
+
box-sizing: border-box;
|
|
56
|
+
content: '';
|
|
57
|
+
position: absolute;
|
|
58
|
+
inset-inline-start: calc(var(--strokeWidthThin) * -1);
|
|
59
|
+
bottom: calc(var(--strokeWidthThin) * -1);
|
|
60
|
+
inset-inline-end: calc(var(--strokeWidthThin) * -1);
|
|
61
|
+
height: max(var(--strokeWidthThick), var(--borderRadiusMedium));
|
|
62
|
+
border-end-start-radius: var(--borderRadiusMedium);
|
|
63
|
+
border-end-end-radius: var(--borderRadiusMedium);
|
|
64
|
+
border-bottom: var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);
|
|
65
|
+
clip-path: inset(calc(100% - var(--strokeWidthThick)) 0 0 0);
|
|
66
|
+
transform: scaleX(0);
|
|
67
|
+
transition-property: transform;
|
|
68
|
+
transition-duration: var(--durationUltraFast);
|
|
69
|
+
transition-delay: var(--curveAccelerateMid);
|
|
70
|
+
}
|
|
72
71
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
72
|
+
.root:where(:not(.disabled)):focus-within::after {
|
|
73
|
+
transform: scaleX(1);
|
|
74
|
+
transition-property: transform;
|
|
75
|
+
transition-duration: var(--durationNormal);
|
|
76
|
+
transition-delay: var(--curveDecelerateMid);
|
|
77
|
+
}
|
|
79
78
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
79
|
+
.root:where(:not(.disabled)):focus-within:active::after {
|
|
80
|
+
border-bottom-color: var(--colorCompoundBrandStrokePressed);
|
|
81
|
+
}
|
|
83
82
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
83
|
+
.root:where(:not(.disabled)):focus-within {
|
|
84
|
+
outline-width: var(--strokeWidthThick);
|
|
85
|
+
outline-style: solid;
|
|
86
|
+
outline-color: transparent;
|
|
87
|
+
}
|
|
89
88
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
89
|
+
.outline:where(:not(.disabled)):focus-within {
|
|
90
|
+
border: var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);
|
|
91
|
+
border-bottom-color: var(--colorCompoundBrandStroke);
|
|
92
|
+
}
|
|
94
93
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
94
|
+
.outline:where(:not(.disabled)):hover {
|
|
95
|
+
border: var(--strokeWidthThin) solid var(--colorNeutralStroke1Hover);
|
|
96
|
+
border-bottom-color: var(--colorNeutralStrokeAccessibleHover);
|
|
97
|
+
}
|
|
99
98
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
99
|
+
.outline:where(:not(.disabled)):active {
|
|
100
|
+
border: var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);
|
|
101
|
+
border-bottom-color: var(--colorNeutralStrokeAccessiblePressed);
|
|
102
|
+
}
|
|
104
103
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
104
|
+
.invalid:where(:not(.disabled)):not(:focus-within),
|
|
105
|
+
.invalid:where(:not(.disabled)):hover:not(:focus-within) {
|
|
106
|
+
border-top-color: var(--colorPaletteRedBorder2);
|
|
107
|
+
border-inline-end-color: var(--colorPaletteRedBorder2);
|
|
108
|
+
border-bottom-color: var(--colorPaletteRedBorder2);
|
|
109
|
+
border-inline-start-color: var(--colorPaletteRedBorder2);
|
|
110
|
+
}
|
|
112
111
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
112
|
+
.textarea::placeholder {
|
|
113
|
+
color: var(--colorNeutralForeground4);
|
|
114
|
+
opacity: 1;
|
|
115
|
+
}
|
|
117
116
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
117
|
+
.textarea {
|
|
118
|
+
border-top-style: none;
|
|
119
|
+
border-inline-end-style: none;
|
|
120
|
+
border-bottom-style: none;
|
|
121
|
+
border-inline-start-style: none;
|
|
122
|
+
margin: 0;
|
|
123
|
+
background-color: transparent;
|
|
124
|
+
box-sizing: border-box;
|
|
125
|
+
color: var(--colorNeutralForeground1);
|
|
126
|
+
flex-grow: 1;
|
|
127
|
+
font-family: var(--fontFamilyBase);
|
|
128
|
+
height: 100%;
|
|
129
|
+
outline-style: none;
|
|
130
|
+
}
|
|
132
131
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
132
|
+
:where(.small) > .textarea {
|
|
133
|
+
min-height: calc(var(--spacingHorizontalXS) * 10);
|
|
134
|
+
padding: var(--spacingVerticalXS) calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));
|
|
135
|
+
max-height: calc(var(--spacingHorizontalXS) * 50);
|
|
136
|
+
font-family: var(--fontFamilyBase);
|
|
137
|
+
font-size: var(--fontSizeBase200);
|
|
138
|
+
font-weight: var(--fontWeightRegular);
|
|
139
|
+
line-height: var(--lineHeightBase200);
|
|
140
|
+
}
|
|
142
141
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
142
|
+
:where(.medium) > .textarea {
|
|
143
|
+
min-height: calc(var(--spacingHorizontalXS) * 13);
|
|
144
|
+
padding: var(--spacingVerticalSNudge) calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));
|
|
145
|
+
max-height: calc(var(--spacingHorizontalXS) * 65);
|
|
146
|
+
font-family: var(--fontFamilyBase);
|
|
147
|
+
font-size: var(--fontSizeBase300);
|
|
148
|
+
font-weight: var(--fontWeightRegular);
|
|
149
|
+
line-height: var(--lineHeightBase300);
|
|
150
|
+
}
|
|
152
151
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
152
|
+
:where(.large) > .textarea {
|
|
153
|
+
min-height: calc(var(--spacingHorizontalXS) * 16);
|
|
154
|
+
padding: var(--spacingVerticalS) calc(var(--spacingHorizontalM) + var(--spacingHorizontalXXS));
|
|
155
|
+
max-height: calc(var(--spacingHorizontalXS) * 80);
|
|
156
|
+
font-family: var(--fontFamilyBase);
|
|
157
|
+
font-size: var(--fontSizeBase400);
|
|
158
|
+
font-weight: var(--fontWeightRegular);
|
|
159
|
+
line-height: var(--lineHeightBase400);
|
|
160
|
+
}
|
|
162
161
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
162
|
+
:where(.none) > .textarea {
|
|
163
|
+
resize: none;
|
|
164
|
+
}
|
|
166
165
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
166
|
+
:where(.both) > .textarea {
|
|
167
|
+
resize: both;
|
|
168
|
+
}
|
|
170
169
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
170
|
+
:where(.horizontal) > .textarea {
|
|
171
|
+
resize: horizontal;
|
|
172
|
+
}
|
|
174
173
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
174
|
+
:where(.vertical) > .textarea {
|
|
175
|
+
resize: vertical;
|
|
176
|
+
}
|
|
178
177
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
178
|
+
:where(.disabled) > .textarea::placeholder {
|
|
179
|
+
color: var(--colorNeutralForegroundDisabled);
|
|
180
|
+
}
|
|
182
181
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
182
|
+
:where(.disabled) > .textarea {
|
|
183
|
+
color: var(--colorNeutralForegroundDisabled);
|
|
184
|
+
cursor: not-allowed;
|
|
185
|
+
}
|
|
187
186
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
}
|
|
187
|
+
@media (forced-colors: active) {
|
|
188
|
+
.disabled {
|
|
189
|
+
border-top-color: GrayText;
|
|
190
|
+
border-inline-end-color: GrayText;
|
|
191
|
+
border-bottom-color: GrayText;
|
|
192
|
+
border-inline-start-color: GrayText;
|
|
195
193
|
}
|
|
194
|
+
}
|
|
196
195
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
}
|
|
196
|
+
@media screen and (prefers-reduced-motion: reduce) {
|
|
197
|
+
.root:where(:not(.disabled))::after {
|
|
198
|
+
transition-duration: 0.01ms;
|
|
199
|
+
transition-delay: 0.01ms;
|
|
202
200
|
}
|
|
201
|
+
}
|
|
203
202
|
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
}
|
|
203
|
+
@media screen and (prefers-reduced-motion: reduce) {
|
|
204
|
+
.root:where(:not(.disabled)):focus-within::after {
|
|
205
|
+
transition-duration: 0.01ms;
|
|
206
|
+
transition-delay: 0.01ms;
|
|
209
207
|
}
|
|
210
208
|
}
|
|
@@ -1,210 +1,208 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
1
|
+
.root {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
position: relative;
|
|
5
|
+
padding: 0 0 var(--strokeWidthThick) 0;
|
|
6
|
+
margin: 0;
|
|
7
|
+
border-radius: var(--borderRadiusMedium);
|
|
8
|
+
vertical-align: top;
|
|
9
|
+
}
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
.disabled {
|
|
12
|
+
background-color: var(--colorTransparentBackground);
|
|
13
|
+
border: var(--strokeWidthThin) solid var(--colorNeutralStrokeDisabled);
|
|
14
|
+
}
|
|
16
15
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
16
|
+
.filled:where(:not(.disabled)):hover,
|
|
17
|
+
.filled:where(:not(.disabled)):focus-within {
|
|
18
|
+
border-top-color: var(--colorTransparentStrokeInteractive);
|
|
19
|
+
border-inline-end-color: var(--colorTransparentStrokeInteractive);
|
|
20
|
+
border-bottom-color: var(--colorTransparentStrokeInteractive);
|
|
21
|
+
border-inline-start-color: var(--colorTransparentStrokeInteractive);
|
|
22
|
+
}
|
|
24
23
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
.filled:where(:not(.disabled)) {
|
|
25
|
+
border: var(--strokeWidthThin) solid var(--colorTransparentStroke);
|
|
26
|
+
}
|
|
28
27
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
.filled-darker:where(:not(.disabled)) {
|
|
29
|
+
background-color: var(--colorNeutralBackground3);
|
|
30
|
+
}
|
|
32
31
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
.filled-lighter:where(:not(.disabled)) {
|
|
33
|
+
background-color: var(--colorNeutralBackground1);
|
|
34
|
+
}
|
|
36
35
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
36
|
+
.filled-darker-shadow:where(:not(.disabled)) {
|
|
37
|
+
background-color: var(--colorNeutralBackground3);
|
|
38
|
+
border: var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);
|
|
39
|
+
box-shadow: var(--shadow2);
|
|
40
|
+
}
|
|
42
41
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
42
|
+
.filled-lighter-shadow:where(:not(.disabled)) {
|
|
43
|
+
background-color: var(--colorNeutralBackground1);
|
|
44
|
+
border: var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);
|
|
45
|
+
box-shadow: var(--shadow2);
|
|
46
|
+
}
|
|
48
47
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
48
|
+
.outline:where(:not(.disabled)) {
|
|
49
|
+
background-color: var(--colorNeutralBackground1);
|
|
50
|
+
border: var(--strokeWidthThin) solid var(--colorNeutralStroke1);
|
|
51
|
+
border-bottom-color: var(--colorNeutralStrokeAccessible);
|
|
52
|
+
}
|
|
54
53
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
54
|
+
.root:where(:not(.disabled))::after {
|
|
55
|
+
box-sizing: border-box;
|
|
56
|
+
content: '';
|
|
57
|
+
position: absolute;
|
|
58
|
+
inset-inline-start: calc(var(--strokeWidthThin) * -1);
|
|
59
|
+
bottom: calc(var(--strokeWidthThin) * -1);
|
|
60
|
+
inset-inline-end: calc(var(--strokeWidthThin) * -1);
|
|
61
|
+
height: max(var(--strokeWidthThick), var(--borderRadiusMedium));
|
|
62
|
+
border-end-start-radius: var(--borderRadiusMedium);
|
|
63
|
+
border-end-end-radius: var(--borderRadiusMedium);
|
|
64
|
+
border-bottom: var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);
|
|
65
|
+
clip-path: inset(calc(100% - var(--strokeWidthThick)) 0 0 0);
|
|
66
|
+
transform: scaleX(0);
|
|
67
|
+
transition-property: transform;
|
|
68
|
+
transition-duration: var(--durationUltraFast);
|
|
69
|
+
transition-delay: var(--curveAccelerateMid);
|
|
70
|
+
}
|
|
72
71
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
72
|
+
.root:where(:not(.disabled)):focus-within::after {
|
|
73
|
+
transform: scaleX(1);
|
|
74
|
+
transition-property: transform;
|
|
75
|
+
transition-duration: var(--durationNormal);
|
|
76
|
+
transition-delay: var(--curveDecelerateMid);
|
|
77
|
+
}
|
|
79
78
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
79
|
+
.root:where(:not(.disabled)):focus-within:active::after {
|
|
80
|
+
border-bottom-color: var(--colorCompoundBrandStrokePressed);
|
|
81
|
+
}
|
|
83
82
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
83
|
+
.root:where(:not(.disabled)):focus-within {
|
|
84
|
+
outline-width: var(--strokeWidthThick);
|
|
85
|
+
outline-style: solid;
|
|
86
|
+
outline-color: transparent;
|
|
87
|
+
}
|
|
89
88
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
89
|
+
.outline:where(:not(.disabled)):focus-within {
|
|
90
|
+
border: var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);
|
|
91
|
+
border-bottom-color: var(--colorCompoundBrandStroke);
|
|
92
|
+
}
|
|
94
93
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
94
|
+
.outline:where(:not(.disabled)):hover {
|
|
95
|
+
border: var(--strokeWidthThin) solid var(--colorNeutralStroke1Hover);
|
|
96
|
+
border-bottom-color: var(--colorNeutralStrokeAccessibleHover);
|
|
97
|
+
}
|
|
99
98
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
99
|
+
.outline:where(:not(.disabled)):active {
|
|
100
|
+
border: var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);
|
|
101
|
+
border-bottom-color: var(--colorNeutralStrokeAccessiblePressed);
|
|
102
|
+
}
|
|
104
103
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
104
|
+
.invalid:where(:not(.disabled)):not(:focus-within),
|
|
105
|
+
.invalid:where(:not(.disabled)):hover:not(:focus-within) {
|
|
106
|
+
border-top-color: var(--colorPaletteRedBorder2);
|
|
107
|
+
border-inline-end-color: var(--colorPaletteRedBorder2);
|
|
108
|
+
border-bottom-color: var(--colorPaletteRedBorder2);
|
|
109
|
+
border-inline-start-color: var(--colorPaletteRedBorder2);
|
|
110
|
+
}
|
|
112
111
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
112
|
+
.textarea::placeholder {
|
|
113
|
+
color: var(--colorNeutralForeground4);
|
|
114
|
+
opacity: 1;
|
|
115
|
+
}
|
|
117
116
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
117
|
+
.textarea {
|
|
118
|
+
border-top-style: none;
|
|
119
|
+
border-inline-end-style: none;
|
|
120
|
+
border-bottom-style: none;
|
|
121
|
+
border-inline-start-style: none;
|
|
122
|
+
margin: 0;
|
|
123
|
+
background-color: transparent;
|
|
124
|
+
box-sizing: border-box;
|
|
125
|
+
color: var(--colorNeutralForeground1);
|
|
126
|
+
flex-grow: 1;
|
|
127
|
+
font-family: var(--fontFamilyBase);
|
|
128
|
+
height: 100%;
|
|
129
|
+
outline-style: none;
|
|
130
|
+
}
|
|
132
131
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
132
|
+
:where(.small) > .textarea {
|
|
133
|
+
min-height: calc(var(--spacingHorizontalXS) * 10);
|
|
134
|
+
padding: var(--spacingVerticalXS) calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));
|
|
135
|
+
max-height: calc(var(--spacingHorizontalXS) * 50);
|
|
136
|
+
font-family: var(--fontFamilyBase);
|
|
137
|
+
font-size: var(--fontSizeBase200);
|
|
138
|
+
font-weight: var(--fontWeightRegular);
|
|
139
|
+
line-height: var(--lineHeightBase200);
|
|
140
|
+
}
|
|
142
141
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
142
|
+
:where(.medium) > .textarea {
|
|
143
|
+
min-height: calc(var(--spacingHorizontalXS) * 13);
|
|
144
|
+
padding: var(--spacingVerticalSNudge) calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));
|
|
145
|
+
max-height: calc(var(--spacingHorizontalXS) * 65);
|
|
146
|
+
font-family: var(--fontFamilyBase);
|
|
147
|
+
font-size: var(--fontSizeBase300);
|
|
148
|
+
font-weight: var(--fontWeightRegular);
|
|
149
|
+
line-height: var(--lineHeightBase300);
|
|
150
|
+
}
|
|
152
151
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
152
|
+
:where(.large) > .textarea {
|
|
153
|
+
min-height: calc(var(--spacingHorizontalXS) * 16);
|
|
154
|
+
padding: var(--spacingVerticalS) calc(var(--spacingHorizontalM) + var(--spacingHorizontalXXS));
|
|
155
|
+
max-height: calc(var(--spacingHorizontalXS) * 80);
|
|
156
|
+
font-family: var(--fontFamilyBase);
|
|
157
|
+
font-size: var(--fontSizeBase400);
|
|
158
|
+
font-weight: var(--fontWeightRegular);
|
|
159
|
+
line-height: var(--lineHeightBase400);
|
|
160
|
+
}
|
|
162
161
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
162
|
+
:where(.none) > .textarea {
|
|
163
|
+
resize: none;
|
|
164
|
+
}
|
|
166
165
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
166
|
+
:where(.both) > .textarea {
|
|
167
|
+
resize: both;
|
|
168
|
+
}
|
|
170
169
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
170
|
+
:where(.horizontal) > .textarea {
|
|
171
|
+
resize: horizontal;
|
|
172
|
+
}
|
|
174
173
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
174
|
+
:where(.vertical) > .textarea {
|
|
175
|
+
resize: vertical;
|
|
176
|
+
}
|
|
178
177
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
178
|
+
:where(.disabled) > .textarea::placeholder {
|
|
179
|
+
color: var(--colorNeutralForegroundDisabled);
|
|
180
|
+
}
|
|
182
181
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
182
|
+
:where(.disabled) > .textarea {
|
|
183
|
+
color: var(--colorNeutralForegroundDisabled);
|
|
184
|
+
cursor: not-allowed;
|
|
185
|
+
}
|
|
187
186
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
}
|
|
187
|
+
@media (forced-colors: active) {
|
|
188
|
+
.disabled {
|
|
189
|
+
border-top-color: GrayText;
|
|
190
|
+
border-inline-end-color: GrayText;
|
|
191
|
+
border-bottom-color: GrayText;
|
|
192
|
+
border-inline-start-color: GrayText;
|
|
195
193
|
}
|
|
194
|
+
}
|
|
196
195
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
}
|
|
196
|
+
@media screen and (prefers-reduced-motion: reduce) {
|
|
197
|
+
.root:where(:not(.disabled))::after {
|
|
198
|
+
transition-duration: 0.01ms;
|
|
199
|
+
transition-delay: 0.01ms;
|
|
202
200
|
}
|
|
201
|
+
}
|
|
203
202
|
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
}
|
|
203
|
+
@media screen and (prefers-reduced-motion: reduce) {
|
|
204
|
+
.root:where(:not(.disabled)):focus-within::after {
|
|
205
|
+
transition-duration: 0.01ms;
|
|
206
|
+
transition-delay: 0.01ms;
|
|
209
207
|
}
|
|
210
208
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-textarea",
|
|
3
|
-
"version": "9.75.
|
|
3
|
+
"version": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
|
|
4
4
|
"description": "Fluent UI TextArea component",
|
|
5
5
|
"main": "lib-commonjs/index.cjs",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
},
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@fluentui/react-field": "9.75.
|
|
18
|
-
"@fluentui/react-jsx-runtime": "9.75.
|
|
19
|
-
"@fluentui/react-shared-contexts": "9.75.
|
|
20
|
-
"@fluentui/react-theme": "9.75.
|
|
21
|
-
"@fluentui/react-utilities": "9.75.
|
|
17
|
+
"@fluentui/react-field": "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-theme": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
|
|
21
|
+
"@fluentui/react-utilities": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
|
|
22
22
|
"@griffel/react": "^1.5.32",
|
|
23
23
|
"@swc/helpers": "^0.5.1",
|
|
24
24
|
"clsx": "^2.1.1"
|