@fluentui/react-combobox 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 +24 -15
- package/README.md +1 -1
- package/lib/components/Combobox/Combobox.module.css +224 -225
- package/lib/components/Combobox/useComboboxStyles.styles.js +2 -2
- package/lib/components/Combobox/useComboboxStyles.styles.js.map +1 -1
- package/lib/components/Combobox/useComboboxStyles.styles.raw.js +2 -3
- package/lib/components/Combobox/useComboboxStyles.styles.raw.js.map +1 -1
- package/lib/components/Dropdown/Dropdown.module.css +227 -227
- package/lib/components/Dropdown/useDropdownStyles.styles.js +2 -2
- package/lib/components/Dropdown/useDropdownStyles.styles.js.map +1 -1
- package/lib/components/Dropdown/useDropdownStyles.styles.raw.js +2 -3
- package/lib/components/Dropdown/useDropdownStyles.styles.raw.js.map +1 -1
- package/lib/components/Listbox/Listbox.module.css +10 -12
- package/lib/components/Option/Option.module.css +86 -87
- package/lib/components/Option/useOptionStyles.styles.js +2 -2
- package/lib/components/Option/useOptionStyles.styles.js.map +1 -1
- package/lib/components/Option/useOptionStyles.styles.raw.js +1 -1
- package/lib/components/Option/useOptionStyles.styles.raw.js.map +1 -1
- package/lib/components/OptionGroup/OptionGroup.module.css +20 -22
- package/lib-commonjs/components/Combobox/Combobox.module.css +224 -225
- package/lib-commonjs/components/Combobox/useComboboxStyles.styles.cjs +2 -2
- package/lib-commonjs/components/Combobox/useComboboxStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/Combobox/useComboboxStyles.styles.raw.cjs +2 -3
- package/lib-commonjs/components/Combobox/useComboboxStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/Dropdown/Dropdown.module.css +227 -227
- package/lib-commonjs/components/Dropdown/useDropdownStyles.styles.cjs +2 -2
- package/lib-commonjs/components/Dropdown/useDropdownStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/Dropdown/useDropdownStyles.styles.raw.cjs +2 -3
- package/lib-commonjs/components/Dropdown/useDropdownStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/Listbox/Listbox.module.css +10 -12
- package/lib-commonjs/components/Option/Option.module.css +86 -87
- package/lib-commonjs/components/Option/useOptionStyles.styles.cjs +2 -2
- package/lib-commonjs/components/Option/useOptionStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/Option/useOptionStyles.styles.raw.cjs +1 -1
- package/lib-commonjs/components/Option/useOptionStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/OptionGroup/OptionGroup.module.css +20 -22
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,27 +1,36 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-combobox
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Fri, 13 Nov 2026 20:37:11 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-combobox_v9.75.2-experimental.css-modules.20261113-ba13c87438.0)
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Fri, 13 Nov 2026 20:37:11 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-combobox_v9.17.9..@fluentui/react-combobox_v9.75.2-experimental.css-modules.20261113-ba13c87438.0)
|
|
10
11
|
|
|
11
12
|
### Changes
|
|
12
13
|
|
|
13
|
-
- Release 9.75.
|
|
14
|
-
- Bump @fluentui/keyboard-keys to v9.75.
|
|
15
|
-
- Bump @fluentui/react-aria to v9.75.
|
|
16
|
-
- Bump @fluentui/react-context-selector to v9.75.
|
|
17
|
-
- Bump @fluentui/react-field to v9.75.
|
|
18
|
-
- Bump @fluentui/react-jsx-runtime to v9.75.
|
|
19
|
-
- Bump @fluentui/react-portal to v9.75.
|
|
20
|
-
- Bump @fluentui/react-positioning to v9.75.
|
|
21
|
-
- Bump @fluentui/react-shared-contexts to v9.75.
|
|
22
|
-
- Bump @fluentui/react-tabster to v9.75.
|
|
23
|
-
- Bump @fluentui/react-theme to v9.75.
|
|
24
|
-
- 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-context-selector to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
18
|
+
- Bump @fluentui/react-field to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
19
|
+
- 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)
|
|
20
|
+
- Bump @fluentui/react-portal to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
21
|
+
- Bump @fluentui/react-positioning to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
22
|
+
- 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)
|
|
23
|
+
- Bump @fluentui/react-tabster to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
24
|
+
- Bump @fluentui/react-theme to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
25
|
+
- Bump @fluentui/react-utilities to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
26
|
+
|
|
27
|
+
## [9.17.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-combobox_v9.17.9)
|
|
28
|
+
|
|
29
|
+
Tue, 10 Nov 2026 16:50:23 GMT
|
|
30
|
+
|
|
31
|
+
### Patches
|
|
32
|
+
|
|
33
|
+
- fix: apply icon sizing and layout styles to font glyphs as well as SVG icons ([PR #36958](https://github.com/microsoft/fluentui/pull/36958) by martinhochel@microsoft.com)
|
|
25
34
|
|
|
26
35
|
## [9.17.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-combobox_v9.17.8)
|
|
27
36
|
|
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ CSS Modules alternatives are available for the Combobox, Dropdown, Listbox, Opti
|
|
|
8
8
|
and OptionGroup style hooks. Griffel remains the default. A consumer's bundler must
|
|
9
9
|
explicitly replace the corresponding `use*Styles.styles` modules with their
|
|
10
10
|
`use*Styles.styles.css` alternatives (including `.styles.js` → `.styles.css.js`
|
|
11
|
-
for built imports), process CSS Modules, and retain the
|
|
11
|
+
for built imports), process CSS Modules, and retain the CSS assets.
|
|
12
12
|
|
|
13
13
|
This selects styles only; component state, rendering, theme injection, and public
|
|
14
14
|
slot class names are unchanged. Composed components in other packages must select
|
|
@@ -1,233 +1,232 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
.root {
|
|
2
|
+
align-items: center;
|
|
3
|
+
border-radius: var(--borderRadiusMedium);
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
column-gap: var(--spacingHorizontalXXS);
|
|
6
|
+
display: inline-grid;
|
|
7
|
+
grid-template-columns: 1fr auto;
|
|
8
|
+
justify-content: space-between;
|
|
9
|
+
min-width: 250px;
|
|
10
|
+
position: relative;
|
|
11
|
+
vertical-align: middle;
|
|
12
|
+
}
|
|
13
|
+
.root:focus-within {
|
|
14
|
+
outline-width: 2px;
|
|
15
|
+
outline-style: solid;
|
|
16
|
+
outline-color: transparent;
|
|
17
|
+
}
|
|
18
|
+
.root::after {
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
content: '';
|
|
21
|
+
position: absolute;
|
|
22
|
+
inset-inline-start: -1px;
|
|
23
|
+
bottom: -1px;
|
|
24
|
+
inset-inline-end: -1px;
|
|
25
|
+
height: max(2px, var(--borderRadiusMedium));
|
|
26
|
+
border-end-start-radius: var(--borderRadiusMedium);
|
|
27
|
+
border-end-end-radius: var(--borderRadiusMedium);
|
|
28
|
+
border-bottom: var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);
|
|
29
|
+
clip-path: inset(calc(100% - 2px) 0 0 0);
|
|
30
|
+
transform: scaleX(0);
|
|
31
|
+
transition-property: transform;
|
|
32
|
+
transition-duration: var(--durationUltraFast);
|
|
33
|
+
transition-delay: var(--curveAccelerateMid);
|
|
34
|
+
}
|
|
35
|
+
@media screen and (prefers-reduced-motion: reduce) {
|
|
19
36
|
.root::after {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
position: absolute;
|
|
23
|
-
inset-inline-start: -1px;
|
|
24
|
-
bottom: -1px;
|
|
25
|
-
inset-inline-end: -1px;
|
|
26
|
-
height: max(2px, var(--borderRadiusMedium));
|
|
27
|
-
border-bottom-left-radius: var(--borderRadiusMedium);
|
|
28
|
-
border-bottom-right-radius: var(--borderRadiusMedium);
|
|
29
|
-
border-bottom: var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);
|
|
30
|
-
clip-path: inset(calc(100% - 2px) 0 0 0);
|
|
31
|
-
transform: scaleX(0);
|
|
32
|
-
transition-property: transform;
|
|
33
|
-
transition-duration: var(--durationUltraFast);
|
|
34
|
-
transition-delay: var(--curveAccelerateMid);
|
|
35
|
-
}
|
|
36
|
-
@media screen and (prefers-reduced-motion: reduce) {
|
|
37
|
-
.root::after {
|
|
38
|
-
transition-duration: 0.01ms;
|
|
39
|
-
transition-delay: 0.01ms;
|
|
40
|
-
}
|
|
37
|
+
transition-duration: 0.01ms;
|
|
38
|
+
transition-delay: 0.01ms;
|
|
41
39
|
}
|
|
40
|
+
}
|
|
41
|
+
.root:focus-within::after {
|
|
42
|
+
transform: scaleX(1);
|
|
43
|
+
transition-property: transform;
|
|
44
|
+
transition-duration: var(--durationNormal);
|
|
45
|
+
transition-delay: var(--curveDecelerateMid);
|
|
46
|
+
}
|
|
47
|
+
@media screen and (prefers-reduced-motion: reduce) {
|
|
42
48
|
.root:focus-within::after {
|
|
43
|
-
|
|
44
|
-
transition-
|
|
45
|
-
transition-duration: var(--durationNormal);
|
|
46
|
-
transition-delay: var(--curveDecelerateMid);
|
|
47
|
-
}
|
|
48
|
-
@media screen and (prefers-reduced-motion: reduce) {
|
|
49
|
-
.root:focus-within::after {
|
|
50
|
-
transition-duration: 0.01ms;
|
|
51
|
-
transition-delay: 0.01ms;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
.root:focus-within:active::after {
|
|
55
|
-
border-bottom-color: var(--colorCompoundBrandStrokePressed);
|
|
56
|
-
}
|
|
57
|
-
.listbox {
|
|
58
|
-
box-shadow: var(--shadow16);
|
|
59
|
-
border-radius: var(--borderRadiusMedium);
|
|
60
|
-
max-height: 80vh;
|
|
61
|
-
box-sizing: border-box;
|
|
62
|
-
}
|
|
63
|
-
.collapsed {
|
|
64
|
-
display: none;
|
|
65
|
-
}
|
|
66
|
-
.inline {
|
|
67
|
-
z-index: 1;
|
|
68
|
-
}
|
|
69
|
-
.small {
|
|
70
|
-
height: 24px;
|
|
71
|
-
padding-inline-end: var(--spacingHorizontalSNudge);
|
|
72
|
-
}
|
|
73
|
-
.medium {
|
|
74
|
-
height: 32px;
|
|
75
|
-
padding-inline-end: var(--spacingHorizontalMNudge);
|
|
76
|
-
}
|
|
77
|
-
.large {
|
|
78
|
-
column-gap: var(--spacingHorizontalSNudge);
|
|
79
|
-
height: 40px;
|
|
80
|
-
padding-inline-end: var(--spacingHorizontalM);
|
|
81
|
-
}
|
|
82
|
-
.outline {
|
|
83
|
-
background-color: var(--colorNeutralBackground1);
|
|
84
|
-
border: var(--strokeWidthThin) solid var(--colorNeutralStroke1);
|
|
85
|
-
border-bottom-color: var(--colorNeutralStrokeAccessible);
|
|
86
|
-
}
|
|
87
|
-
.outline:where(:not(.disabled)):focus-within {
|
|
88
|
-
border-color: var(--colorNeutralStroke1Pressed);
|
|
89
|
-
border-bottom-color: var(--colorNeutralStrokeAccessiblePressed);
|
|
90
|
-
}
|
|
91
|
-
.outline:where(:not(.disabled)):hover {
|
|
92
|
-
border-color: var(--colorNeutralStroke1Hover);
|
|
93
|
-
border-bottom-color: var(--colorNeutralStrokeAccessibleHover);
|
|
94
|
-
}
|
|
95
|
-
.outline:where(:not(.disabled)):active {
|
|
96
|
-
border-color: var(--colorNeutralStroke1Pressed);
|
|
97
|
-
border-bottom-color: var(--colorNeutralStrokeAccessiblePressed);
|
|
98
|
-
}
|
|
99
|
-
.underline {
|
|
100
|
-
background-color: var(--colorTransparentBackground);
|
|
101
|
-
border-bottom: var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);
|
|
102
|
-
border-radius: 0;
|
|
103
|
-
}
|
|
104
|
-
.filled-lighter {
|
|
105
|
-
background-color: var(--colorNeutralBackground1);
|
|
106
|
-
border: var(--strokeWidthThin) solid var(--colorTransparentStroke);
|
|
107
|
-
}
|
|
108
|
-
.filled-darker {
|
|
109
|
-
background-color: var(--colorNeutralBackground3);
|
|
110
|
-
border: var(--strokeWidthThin) solid var(--colorTransparentStroke);
|
|
111
|
-
}
|
|
112
|
-
.invalid:where(:not(.underline)):not(:focus-within),
|
|
113
|
-
.invalid:where(:not(.underline)):hover:not(:focus-within) {
|
|
114
|
-
border-color: var(--colorPaletteRedBorder2);
|
|
115
|
-
}
|
|
116
|
-
.invalid:where(.underline):not(:focus-within),
|
|
117
|
-
.invalid:where(.underline):hover:not(:focus-within) {
|
|
118
|
-
border-bottom-color: var(--colorPaletteRedBorder2);
|
|
49
|
+
transition-duration: 0.01ms;
|
|
50
|
+
transition-delay: 0.01ms;
|
|
119
51
|
}
|
|
52
|
+
}
|
|
53
|
+
.root:focus-within:active::after {
|
|
54
|
+
border-bottom-color: var(--colorCompoundBrandStrokePressed);
|
|
55
|
+
}
|
|
56
|
+
.listbox {
|
|
57
|
+
box-shadow: var(--shadow16);
|
|
58
|
+
border-radius: var(--borderRadiusMedium);
|
|
59
|
+
max-height: 80vh;
|
|
60
|
+
box-sizing: border-box;
|
|
61
|
+
}
|
|
62
|
+
.collapsed {
|
|
63
|
+
display: none;
|
|
64
|
+
}
|
|
65
|
+
.inline {
|
|
66
|
+
z-index: 1;
|
|
67
|
+
}
|
|
68
|
+
.small {
|
|
69
|
+
height: 24px;
|
|
70
|
+
padding-inline-end: var(--spacingHorizontalSNudge);
|
|
71
|
+
}
|
|
72
|
+
.medium {
|
|
73
|
+
height: 32px;
|
|
74
|
+
padding-inline-end: var(--spacingHorizontalMNudge);
|
|
75
|
+
}
|
|
76
|
+
.large {
|
|
77
|
+
column-gap: var(--spacingHorizontalSNudge);
|
|
78
|
+
height: 40px;
|
|
79
|
+
padding-inline-end: var(--spacingHorizontalM);
|
|
80
|
+
}
|
|
81
|
+
.outline {
|
|
82
|
+
background-color: var(--colorNeutralBackground1);
|
|
83
|
+
border: var(--strokeWidthThin) solid var(--colorNeutralStroke1);
|
|
84
|
+
border-bottom-color: var(--colorNeutralStrokeAccessible);
|
|
85
|
+
}
|
|
86
|
+
.outline:where(:not(.disabled)):focus-within {
|
|
87
|
+
border-color: var(--colorNeutralStroke1Pressed);
|
|
88
|
+
border-bottom-color: var(--colorNeutralStrokeAccessiblePressed);
|
|
89
|
+
}
|
|
90
|
+
.outline:where(:not(.disabled)):hover {
|
|
91
|
+
border-color: var(--colorNeutralStroke1Hover);
|
|
92
|
+
border-bottom-color: var(--colorNeutralStrokeAccessibleHover);
|
|
93
|
+
}
|
|
94
|
+
.outline:where(:not(.disabled)):active {
|
|
95
|
+
border-color: var(--colorNeutralStroke1Pressed);
|
|
96
|
+
border-bottom-color: var(--colorNeutralStrokeAccessiblePressed);
|
|
97
|
+
}
|
|
98
|
+
.underline {
|
|
99
|
+
background-color: var(--colorTransparentBackground);
|
|
100
|
+
border-bottom: var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);
|
|
101
|
+
border-radius: 0;
|
|
102
|
+
}
|
|
103
|
+
.filled-lighter {
|
|
104
|
+
background-color: var(--colorNeutralBackground1);
|
|
105
|
+
border: var(--strokeWidthThin) solid var(--colorTransparentStroke);
|
|
106
|
+
}
|
|
107
|
+
.filled-darker {
|
|
108
|
+
background-color: var(--colorNeutralBackground3);
|
|
109
|
+
border: var(--strokeWidthThin) solid var(--colorTransparentStroke);
|
|
110
|
+
}
|
|
111
|
+
.invalid:where(:not(.underline)):not(:focus-within),
|
|
112
|
+
.invalid:where(:not(.underline)):hover:not(:focus-within) {
|
|
113
|
+
border-color: var(--colorPaletteRedBorder2);
|
|
114
|
+
}
|
|
115
|
+
.invalid:where(.underline):not(:focus-within),
|
|
116
|
+
.invalid:where(.underline):hover:not(:focus-within) {
|
|
117
|
+
border-bottom-color: var(--colorPaletteRedBorder2);
|
|
118
|
+
}
|
|
119
|
+
.disabled {
|
|
120
|
+
cursor: not-allowed;
|
|
121
|
+
background-color: var(--colorTransparentBackground);
|
|
122
|
+
border-color: var(--colorNeutralStrokeDisabled);
|
|
123
|
+
}
|
|
124
|
+
@media (forced-colors: active) {
|
|
120
125
|
.disabled {
|
|
121
|
-
|
|
122
|
-
background-color: var(--colorTransparentBackground);
|
|
123
|
-
border-color: var(--colorNeutralStrokeDisabled);
|
|
124
|
-
}
|
|
125
|
-
@media (forced-colors: active) {
|
|
126
|
-
.disabled {
|
|
127
|
-
border-color: GrayText;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
.input {
|
|
131
|
-
align-self: stretch;
|
|
132
|
-
background-color: var(--colorTransparentBackground);
|
|
133
|
-
border: none;
|
|
134
|
-
color: var(--colorNeutralForeground1);
|
|
135
|
-
font-family: var(--fontFamilyBase);
|
|
136
|
-
}
|
|
137
|
-
.input:focus {
|
|
138
|
-
outline-style: none;
|
|
139
|
-
}
|
|
140
|
-
.input::placeholder {
|
|
141
|
-
color: var(--colorNeutralForeground4);
|
|
142
|
-
opacity: 1;
|
|
143
|
-
}
|
|
144
|
-
:where(.small) > .input {
|
|
145
|
-
font-family: var(--fontFamilyBase);
|
|
146
|
-
font-size: var(--fontSizeBase200);
|
|
147
|
-
font-weight: var(--fontWeightRegular);
|
|
148
|
-
line-height: var(--lineHeightBase200);
|
|
149
|
-
padding: 0;
|
|
150
|
-
padding-inline-start: calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));
|
|
151
|
-
}
|
|
152
|
-
:where(.medium) > .input {
|
|
153
|
-
font-family: var(--fontFamilyBase);
|
|
154
|
-
font-size: var(--fontSizeBase300);
|
|
155
|
-
font-weight: var(--fontWeightRegular);
|
|
156
|
-
line-height: var(--lineHeightBase300);
|
|
157
|
-
padding: 0;
|
|
158
|
-
padding-inline-start: calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));
|
|
159
|
-
}
|
|
160
|
-
:where(.large) > .input {
|
|
161
|
-
font-family: var(--fontFamilyBase);
|
|
162
|
-
font-size: var(--fontSizeBase400);
|
|
163
|
-
font-weight: var(--fontWeightRegular);
|
|
164
|
-
line-height: var(--lineHeightBase400);
|
|
165
|
-
padding: 0;
|
|
166
|
-
padding-inline-start: calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));
|
|
167
|
-
}
|
|
168
|
-
:where(.disabled) > .input {
|
|
169
|
-
color: var(--colorNeutralForegroundDisabled);
|
|
170
|
-
background-color: var(--colorTransparentBackground);
|
|
171
|
-
cursor: not-allowed;
|
|
172
|
-
}
|
|
173
|
-
:where(.disabled) > .input::placeholder {
|
|
174
|
-
color: var(--colorNeutralForegroundDisabled);
|
|
175
|
-
}
|
|
176
|
-
.icon {
|
|
177
|
-
box-sizing: border-box;
|
|
178
|
-
color: var(--colorNeutralStrokeAccessible);
|
|
179
|
-
cursor: pointer;
|
|
180
|
-
display: block;
|
|
181
|
-
font-size: var(--fontSizeBase500);
|
|
182
|
-
position: relative;
|
|
183
|
-
}
|
|
184
|
-
.icon svg {
|
|
185
|
-
display: block;
|
|
186
|
-
}
|
|
187
|
-
.icon::after {
|
|
188
|
-
content: '';
|
|
189
|
-
position: absolute;
|
|
190
|
-
top: 0;
|
|
191
|
-
bottom: 0;
|
|
192
|
-
inset-inline-start: 0;
|
|
193
|
-
inset-inline-end: 0;
|
|
194
|
-
}
|
|
195
|
-
.hidden {
|
|
196
|
-
display: none;
|
|
126
|
+
border-color: GrayText;
|
|
197
127
|
}
|
|
128
|
+
}
|
|
129
|
+
.input {
|
|
130
|
+
align-self: stretch;
|
|
131
|
+
background-color: var(--colorTransparentBackground);
|
|
132
|
+
border: none;
|
|
133
|
+
color: var(--colorNeutralForeground1);
|
|
134
|
+
font-family: var(--fontFamilyBase);
|
|
135
|
+
}
|
|
136
|
+
.input:focus {
|
|
137
|
+
outline-style: none;
|
|
138
|
+
}
|
|
139
|
+
.input::placeholder {
|
|
140
|
+
color: var(--colorNeutralForeground4);
|
|
141
|
+
opacity: 1;
|
|
142
|
+
}
|
|
143
|
+
:where(.small) > .input {
|
|
144
|
+
font-family: var(--fontFamilyBase);
|
|
145
|
+
font-size: var(--fontSizeBase200);
|
|
146
|
+
font-weight: var(--fontWeightRegular);
|
|
147
|
+
line-height: var(--lineHeightBase200);
|
|
148
|
+
padding: 0;
|
|
149
|
+
padding-inline-start: calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));
|
|
150
|
+
}
|
|
151
|
+
:where(.medium) > .input {
|
|
152
|
+
font-family: var(--fontFamilyBase);
|
|
153
|
+
font-size: var(--fontSizeBase300);
|
|
154
|
+
font-weight: var(--fontWeightRegular);
|
|
155
|
+
line-height: var(--lineHeightBase300);
|
|
156
|
+
padding: 0;
|
|
157
|
+
padding-inline-start: calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));
|
|
158
|
+
}
|
|
159
|
+
:where(.large) > .input {
|
|
160
|
+
font-family: var(--fontFamilyBase);
|
|
161
|
+
font-size: var(--fontSizeBase400);
|
|
162
|
+
font-weight: var(--fontWeightRegular);
|
|
163
|
+
line-height: var(--lineHeightBase400);
|
|
164
|
+
padding: 0;
|
|
165
|
+
padding-inline-start: calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));
|
|
166
|
+
}
|
|
167
|
+
:where(.disabled) > .input {
|
|
168
|
+
color: var(--colorNeutralForegroundDisabled);
|
|
169
|
+
background-color: var(--colorTransparentBackground);
|
|
170
|
+
cursor: not-allowed;
|
|
171
|
+
}
|
|
172
|
+
:where(.disabled) > .input::placeholder {
|
|
173
|
+
color: var(--colorNeutralForegroundDisabled);
|
|
174
|
+
}
|
|
175
|
+
.icon {
|
|
176
|
+
box-sizing: border-box;
|
|
177
|
+
color: var(--colorNeutralStrokeAccessible);
|
|
178
|
+
cursor: pointer;
|
|
179
|
+
display: block;
|
|
180
|
+
font-size: var(--fontSizeBase500);
|
|
181
|
+
position: relative;
|
|
182
|
+
}
|
|
183
|
+
.icon svg,
|
|
184
|
+
.icon :global(.fui-Icon-font) {
|
|
185
|
+
display: block;
|
|
186
|
+
}
|
|
187
|
+
.icon::after {
|
|
188
|
+
content: '';
|
|
189
|
+
position: absolute;
|
|
190
|
+
top: 0;
|
|
191
|
+
bottom: 0;
|
|
192
|
+
inset-inline-start: 0;
|
|
193
|
+
inset-inline-end: 0;
|
|
194
|
+
}
|
|
195
|
+
.hidden {
|
|
196
|
+
display: none;
|
|
197
|
+
}
|
|
198
198
|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
}
|
|
199
|
+
:where(.small) > .icon {
|
|
200
|
+
font-size: var(--fontSizeBase400);
|
|
201
|
+
margin-inline-start: var(--spacingHorizontalXXS);
|
|
202
|
+
}
|
|
203
|
+
:where(.small) > .icon::after {
|
|
204
|
+
inset-inline-end: calc(-1 * var(--spacingHorizontalSNudge));
|
|
205
|
+
}
|
|
206
|
+
:where(.medium) > .icon {
|
|
207
|
+
font-size: var(--fontSizeBase500);
|
|
208
|
+
margin-inline-start: var(--spacingHorizontalXXS);
|
|
209
|
+
}
|
|
210
|
+
:where(.medium) > .icon::after {
|
|
211
|
+
inset-inline-end: calc(-1 * var(--spacingHorizontalMNudge));
|
|
212
|
+
}
|
|
213
|
+
:where(.large) > .icon {
|
|
214
|
+
font-size: var(--fontSizeBase600);
|
|
215
|
+
margin-inline-start: var(--spacingHorizontalSNudge);
|
|
216
|
+
}
|
|
217
|
+
:where(.large) > .icon::after {
|
|
218
|
+
inset-inline-end: calc(-1 * var(--spacingHorizontalM));
|
|
219
|
+
}
|
|
220
|
+
:where(.disabled) > .icon {
|
|
221
|
+
color: var(--colorNeutralForegroundDisabled);
|
|
222
|
+
cursor: not-allowed;
|
|
223
|
+
}
|
|
224
|
+
.visuallyHidden {
|
|
225
|
+
clip: rect(0px, 0px, 0px, 0px);
|
|
226
|
+
height: 1px;
|
|
227
|
+
margin: -1px;
|
|
228
|
+
overflow: hidden;
|
|
229
|
+
padding: 0px;
|
|
230
|
+
width: 1px;
|
|
231
|
+
position: absolute;
|
|
233
232
|
}
|
|
@@ -331,7 +331,7 @@ const useIconStyles = /*#__PURE__*/__styles({
|
|
|
331
331
|
mc9l5x: "ftgm304",
|
|
332
332
|
Be2twd7: "f1pp30po",
|
|
333
333
|
qhf8xq: "f10pi13n",
|
|
334
|
-
|
|
334
|
+
fz51y7: "f1amoxe3",
|
|
335
335
|
Bsft5z2: "f13zj6fq",
|
|
336
336
|
E3zdtr: "f1mdlcz9",
|
|
337
337
|
bn5sak: "frwkxtg",
|
|
@@ -381,7 +381,7 @@ const useIconStyles = /*#__PURE__*/__styles({
|
|
|
381
381
|
Bceei9c: "fdrzuqr"
|
|
382
382
|
}
|
|
383
383
|
}, {
|
|
384
|
-
d: [".f1ewtqcl{box-sizing:border-box;}", ".fxkbij4{color:var(--colorNeutralStrokeAccessible);}", ".f1k6fduh{cursor:pointer;}", ".ftgm304{display:block;}", ".f1pp30po{font-size:var(--fontSizeBase500);}", ".f10pi13n{position:relative;}", ".
|
|
384
|
+
d: [".f1ewtqcl{box-sizing:border-box;}", ".fxkbij4{color:var(--colorNeutralStrokeAccessible);}", ".f1k6fduh{cursor:pointer;}", ".ftgm304{display:block;}", ".f1pp30po{font-size:var(--fontSizeBase500);}", ".f10pi13n{position:relative;}", ".f1amoxe3 svg,.f1amoxe3 .fui-Icon-font{display:block;}", ".f13zj6fq::after{content:\"\";}", ".f1mdlcz9::after{position:absolute;}", ".frwkxtg::after{top:0;}", ".fo72kxq::after{bottom:0;}", ".f1n6gb5g::after{left:0;}", ".f15yvnhg::after{right:0;}", ".fjseox{display:none;}", ".f1ekcaio{clip:rect(0px, 0px, 0px, 0px);}", ".f1mpe4l3{height:1px;}", [".f1jlpb2r{margin:-1px;}", {
|
|
385
385
|
p: -1
|
|
386
386
|
}], [".f1a3p1vp{overflow:hidden;}", {
|
|
387
387
|
p: -1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["tokens","typographyStyles","__styles","mergeClasses","shorthands","iconSizes","comboboxClassNames","root","input","expandIcon","clearIcon","listbox","fieldHeights","small","medium","large","useStyles","Bt984gj","Beyfa6y","Bbmb7ep","Btl43ni","B7oj6ja","Dimara","B7ck84d","i8kkvl","mc9l5x","Budl1dq","Brf1p80","Bf4jedk","qhf8xq","ha4doy","Bbr2w1p","Bduesf4","Bpq79vn","li1rpt","Bsft5z2","E3zdtr","Eqx8gd","By385i5","B1piin3","Dlnsje","d9w3h3","B3778ie","B1q35kw","Bw17bha","Bcgy8vk","Bjuhk93","Gjdm7m","b1kco5","Ba2ppi3","F2fol1","lck23g","wi16st","ywj3b2","umuwi5","Blcqepd","nplu4u","Bioka5o","Bnupc0a","bing71","Bercvud","E5pizo","Bxyxcbc","listboxCollapsed","inlineListbox","Bj3rh1h","Bqenvij","z189sj","outline","De3pzq","Bgfg5da","B9xav0g","oivjwe","Bn0qgzm","B4g9neb","zhjwy3","wvpqe5","ibv6hh","u1mtju","h3c5rm","vrafjx","Bekrc4i","i8vvqc","g2u3we","icvyot","B4j52fo","irswps","outlineInteractive","Bgoe8wy","Bwzppfd","oetu4i","gg5e9n","B6oc9vd","ak43y8","wmxk5l","B50zh58","Bvq3b66","Brahy3i","zoxjo1","an54nd","underline","invalid","tvckwq","gk2u95","hhx65j","Bxowmz0","invalidUnderline","disabled","Bceei9c","Bcq6wej","Jcjdmf","sc4o1m","Bosien3","d","p","w","m","h","a","useInputStyles","qb2dma","sj55zd","Bahqtrf","Brovlpu","yvdlaj","B3o7kgh","Be2twd7","Bhrd7zp","Bg96gwp","Byoj8tv","uwmqm3","z8tnut","B0ocmuz","f","useIconStyles","icon","Bo70h7d","bn5sak","hidden","visuallyHidden","Bh84pgu","jrapky","Frg6f3","t21cq0","B6of3ja","B74szlk","B68tc82","Bmxbyg5","Bpg54ce","a9b677","useComboboxStyles_unstable","state","appearance","open","size","showClearIcon","styles","iconStyles","inputStyles","className","inlinePopup"],"sources":["useComboboxStyles.styles.js"],"sourcesContent":["'use client';\nimport { tokens, typographyStyles } from \"@fluentui/react-theme\";\nimport { makeStyles, mergeClasses, shorthands } from \"@griffel/react\";\nimport { iconSizes } from \"../../utils/internalTokens.js\";\nexport const comboboxClassNames = {\n root: 'fui-Combobox',\n input: 'fui-Combobox__input',\n expandIcon: 'fui-Combobox__expandIcon',\n clearIcon: 'fui-Combobox__clearIcon',\n listbox: 'fui-Combobox__listbox'\n};\n// Matches internal heights for Select and Input, but there are no theme variables for these\nconst fieldHeights = {\n small: '24px',\n medium: '32px',\n large: '40px'\n};\n/**\n * Styles for Combobox\n */ const useStyles = makeStyles({\n root: {\n alignItems: 'center',\n borderRadius: tokens.borderRadiusMedium,\n boxSizing: 'border-box',\n columnGap: tokens.spacingHorizontalXXS,\n display: 'inline-grid',\n gridTemplateColumns: '1fr auto',\n justifyContent: 'space-between',\n minWidth: '250px',\n position: 'relative',\n verticalAlign: 'middle',\n // windows high contrast mode focus indicator\n ':focus-within': {\n outlineWidth: '2px',\n outlineStyle: 'solid',\n outlineColor: 'transparent'\n },\n // bottom focus border, shared with Input, Select, and SpinButton\n '::after': {\n boxSizing: 'border-box',\n content: '\"\"',\n position: 'absolute',\n left: '-1px',\n bottom: '-1px',\n right: '-1px',\n height: `max(2px, ${tokens.borderRadiusMedium})`,\n borderBottomLeftRadius: tokens.borderRadiusMedium,\n borderBottomRightRadius: tokens.borderRadiusMedium,\n borderBottom: `${tokens.strokeWidthThick} solid ${tokens.colorCompoundBrandStroke}`,\n clipPath: 'inset(calc(100% - 2px) 0 0 0)',\n transform: 'scaleX(0)',\n transitionProperty: 'transform',\n transitionDuration: tokens.durationUltraFast,\n transitionDelay: tokens.curveAccelerateMid,\n '@media screen and (prefers-reduced-motion: reduce)': {\n transitionDuration: '0.01ms',\n transitionDelay: '0.01ms'\n }\n },\n ':focus-within::after': {\n transform: 'scaleX(1)',\n transitionProperty: 'transform',\n transitionDuration: tokens.durationNormal,\n transitionDelay: tokens.curveDecelerateMid,\n '@media screen and (prefers-reduced-motion: reduce)': {\n transitionDuration: '0.01ms',\n transitionDelay: '0.01ms'\n }\n },\n ':focus-within:active::after': {\n borderBottomColor: tokens.colorCompoundBrandStrokePressed\n }\n },\n listbox: {\n boxShadow: `${tokens.shadow16}`,\n borderRadius: tokens.borderRadiusMedium,\n maxHeight: '80vh',\n boxSizing: 'border-box'\n },\n listboxCollapsed: {\n display: 'none'\n },\n // When rendering inline, the popupSurface will be rendered under relatively positioned elements such as Input.\n // This is due to the surface being positioned as absolute, therefore zIndex: 1 ensures that won't happen.\n inlineListbox: {\n zIndex: 1\n },\n // size variants\n small: {\n height: fieldHeights.small,\n paddingRight: tokens.spacingHorizontalSNudge\n },\n medium: {\n height: fieldHeights.medium,\n paddingRight: tokens.spacingHorizontalMNudge\n },\n large: {\n columnGap: tokens.spacingHorizontalSNudge,\n height: fieldHeights.large,\n paddingRight: tokens.spacingHorizontalM\n },\n // appearance variants\n outline: {\n backgroundColor: tokens.colorNeutralBackground1,\n border: `${tokens.strokeWidthThin} solid ${tokens.colorNeutralStroke1}`,\n borderBottomColor: tokens.colorNeutralStrokeAccessible\n },\n outlineInteractive: {\n '&:hover': {\n ...shorthands.borderColor(tokens.colorNeutralStroke1Hover),\n borderBottomColor: tokens.colorNeutralStrokeAccessibleHover\n },\n '&:active': {\n ...shorthands.borderColor(tokens.colorNeutralStroke1Pressed),\n borderBottomColor: tokens.colorNeutralStrokeAccessiblePressed\n },\n '&:focus-within': {\n ...shorthands.borderColor(tokens.colorNeutralStroke1Pressed),\n borderBottomColor: tokens.colorNeutralStrokeAccessiblePressed\n }\n },\n underline: {\n backgroundColor: tokens.colorTransparentBackground,\n borderBottom: `${tokens.strokeWidthThin} solid ${tokens.colorNeutralStrokeAccessible}`,\n borderRadius: '0'\n },\n 'filled-lighter': {\n backgroundColor: tokens.colorNeutralBackground1,\n border: `${tokens.strokeWidthThin} solid ${tokens.colorTransparentStroke}`\n },\n 'filled-darker': {\n backgroundColor: tokens.colorNeutralBackground3,\n border: `${tokens.strokeWidthThin} solid ${tokens.colorTransparentStroke}`\n },\n invalid: {\n ':not(:focus-within),:hover:not(:focus-within)': {\n ...shorthands.borderColor(tokens.colorPaletteRedBorder2)\n }\n },\n invalidUnderline: {\n ':not(:focus-within),:hover:not(:focus-within)': {\n borderBottomColor: tokens.colorPaletteRedBorder2\n }\n },\n disabled: {\n cursor: 'not-allowed',\n backgroundColor: tokens.colorTransparentBackground,\n ...shorthands.borderColor(tokens.colorNeutralStrokeDisabled),\n '@media (forced-colors: active)': {\n ...shorthands.borderColor('GrayText')\n }\n }\n});\nconst useInputStyles = makeStyles({\n input: {\n alignSelf: 'stretch',\n backgroundColor: tokens.colorTransparentBackground,\n border: 'none',\n color: tokens.colorNeutralForeground1,\n fontFamily: tokens.fontFamilyBase,\n '&:focus': {\n outlineStyle: 'none'\n },\n '&::placeholder': {\n color: tokens.colorNeutralForeground4,\n opacity: 1\n }\n },\n // size variants\n small: {\n ...typographyStyles.caption1,\n padding: `0 0 0 ${`calc(${tokens.spacingHorizontalSNudge} + ${tokens.spacingHorizontalXXS})`}`\n },\n medium: {\n ...typographyStyles.body1,\n padding: `0 0 0 ${`calc(${tokens.spacingHorizontalMNudge} + ${tokens.spacingHorizontalXXS})`}`\n },\n large: {\n ...typographyStyles.body2,\n padding: `0 0 0 ${`calc(${tokens.spacingHorizontalM} + ${tokens.spacingHorizontalSNudge})`}`\n },\n disabled: {\n color: tokens.colorNeutralForegroundDisabled,\n backgroundColor: tokens.colorTransparentBackground,\n cursor: 'not-allowed',\n '::placeholder': {\n color: tokens.colorNeutralForegroundDisabled\n }\n }\n});\nconst useIconStyles = makeStyles({\n icon: {\n boxSizing: 'border-box',\n color: tokens.colorNeutralStrokeAccessible,\n cursor: 'pointer',\n display: 'block',\n fontSize: tokens.fontSizeBase500,\n // position: relative provides the containing block for the ::after clickable-area extension below.\n position: 'relative',\n // the SVG must have display: block for accurate positioning\n // otherwise an extra inline space is inserted after the svg element\n '& svg': {\n display: 'block'\n },\n // Extend the clickable area to cover the root's right paddingRight \"dead zone\".\n // Without this, clicking between the icon and the right border does not trigger the icon's handler.\n // The negative `right` is overridden per size variant below to match the root's paddingRight.\n '::after': {\n content: '\"\"',\n position: 'absolute',\n top: 0,\n bottom: 0,\n left: 0,\n right: 0\n }\n },\n hidden: {\n display: 'none'\n },\n visuallyHidden: {\n clip: 'rect(0px, 0px, 0px, 0px)',\n height: '1px',\n margin: '-1px',\n overflow: 'hidden',\n padding: '0px',\n width: '1px',\n position: 'absolute'\n },\n // icon size variants\n small: {\n fontSize: iconSizes.small,\n marginLeft: tokens.spacingHorizontalXXS,\n '::after': {\n right: `calc(-1 * ${tokens.spacingHorizontalSNudge})`\n }\n },\n medium: {\n fontSize: iconSizes.medium,\n marginLeft: tokens.spacingHorizontalXXS,\n '::after': {\n right: `calc(-1 * ${tokens.spacingHorizontalMNudge})`\n }\n },\n large: {\n fontSize: iconSizes.large,\n marginLeft: tokens.spacingHorizontalSNudge,\n '::after': {\n right: `calc(-1 * ${tokens.spacingHorizontalM})`\n }\n },\n disabled: {\n color: tokens.colorNeutralForegroundDisabled,\n cursor: 'not-allowed'\n }\n});\n/**\n * Apply styling to the Combobox slots based on the state\n */ export const useComboboxStyles_unstable = (state)=>{\n const { appearance, open, size, showClearIcon } = state;\n const invalid = `${state.input['aria-invalid']}` === 'true';\n const disabled = state.input.disabled;\n const styles = useStyles();\n const iconStyles = useIconStyles();\n const inputStyles = useInputStyles();\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(comboboxClassNames.root, styles.root, styles[appearance], styles[size], !disabled && appearance === 'outline' && styles.outlineInteractive, invalid && appearance !== 'underline' && styles.invalid, invalid && appearance === 'underline' && styles.invalidUnderline, disabled && styles.disabled, state.root.className);\n // eslint-disable-next-line react-hooks/immutability\n state.input.className = mergeClasses(comboboxClassNames.input, inputStyles.input, inputStyles[size], disabled && inputStyles.disabled, state.input.className);\n if (state.listbox) {\n // eslint-disable-next-line react-hooks/immutability\n state.listbox.className = mergeClasses(comboboxClassNames.listbox, styles.listbox, state.inlinePopup && styles.inlineListbox, !open && styles.listboxCollapsed, state.listbox.className);\n }\n if (state.expandIcon) {\n // eslint-disable-next-line react-hooks/immutability\n state.expandIcon.className = mergeClasses(comboboxClassNames.expandIcon, iconStyles.icon, iconStyles[size], disabled && iconStyles.disabled, showClearIcon && iconStyles.visuallyHidden, state.expandIcon.className);\n }\n if (state.clearIcon) {\n // eslint-disable-next-line react-hooks/immutability\n state.clearIcon.className = mergeClasses(comboboxClassNames.clearIcon, iconStyles.icon, iconStyles[size], disabled && iconStyles.disabled, !showClearIcon && iconStyles.hidden, state.clearIcon.className);\n }\n return state;\n};\n"],"mappings":"AAAA,YAAY;;AACZ,SAASA,MAAM,EAAEC,gBAAgB,QAAQ,uBAAuB;AAChE,SAAAC,QAAA,EAAqBC,YAAY,EAAEC,UAAU,QAAQ,gBAAgB;AACrE,SAASC,SAAS,QAAQ,+BAA+B;AACzD,OAAO,MAAMC,kBAAkB,GAAG;EAC9BC,IAAI,EAAE,cAAc;EACpBC,KAAK,EAAE,qBAAqB;EAC5BC,UAAU,EAAE,0BAA0B;EACtCC,SAAS,EAAE,yBAAyB;EACpCC,OAAO,EAAE;AACb,CAAC;AACD;AACA,MAAMC,YAAY,GAAG;EACjBC,KAAK,EAAE,MAAM;EACbC,MAAM,EAAE,MAAM;EACdC,KAAK,EAAE;AACX,CAAC;AACD;AACA;AACA;AAAI,MAAMC,SAAS,gBAAGd,QAAA;EA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A8I,KAAK,CAAC9I,UAAU,CAACsJ,SAAS,GAAG5J,YAAY,CAACG,kBAAkB,CAACG,UAAU,EAAEoJ,UAAU,CAACtB,IAAI,EAAEsB,UAAU,CAACH,IAAI,CAAC,EAAE/C,QAAQ,IAAIkD,UAAU,CAAClD,QAAQ,EAAEgD,aAAa,IAAIE,UAAU,CAAClB,cAAc,EAAEY,KAAK,CAAC9I,UAAU,CAACsJ,SAAS,CAAC;EACxN;EACA,IAAIR,KAAK,CAAC7I,SAAS,EAAE;IACjB;IACA6I,KAAK,CAAC7I,SAAS,CAACqJ,SAAS,GAAG5J,YAAY,CAACG,kBAAkB,CAACI,SAAS,EAAEmJ,UAAU,CAACtB,IAAI,EAAEsB,UAAU,CAACH,IAAI,CAAC,EAAE/C,QAAQ,IAAIkD,UAAU,CAAClD,QAAQ,EAAE,CAACgD,aAAa,IAAIE,UAAU,CAACnB,MAAM,EAAEa,KAAK,CAAC7I,SAAS,CAACqJ,SAAS,CAAC;EAC9M;EACA,OAAOR,KAAK;AAChB,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["tokens","typographyStyles","__styles","mergeClasses","shorthands","iconSizes","comboboxClassNames","root","input","expandIcon","clearIcon","listbox","fieldHeights","small","medium","large","useStyles","Bt984gj","Beyfa6y","Bbmb7ep","Btl43ni","B7oj6ja","Dimara","B7ck84d","i8kkvl","mc9l5x","Budl1dq","Brf1p80","Bf4jedk","qhf8xq","ha4doy","Bbr2w1p","Bduesf4","Bpq79vn","li1rpt","Bsft5z2","E3zdtr","Eqx8gd","By385i5","B1piin3","Dlnsje","d9w3h3","B3778ie","B1q35kw","Bw17bha","Bcgy8vk","Bjuhk93","Gjdm7m","b1kco5","Ba2ppi3","F2fol1","lck23g","wi16st","ywj3b2","umuwi5","Blcqepd","nplu4u","Bioka5o","Bnupc0a","bing71","Bercvud","E5pizo","Bxyxcbc","listboxCollapsed","inlineListbox","Bj3rh1h","Bqenvij","z189sj","outline","De3pzq","Bgfg5da","B9xav0g","oivjwe","Bn0qgzm","B4g9neb","zhjwy3","wvpqe5","ibv6hh","u1mtju","h3c5rm","vrafjx","Bekrc4i","i8vvqc","g2u3we","icvyot","B4j52fo","irswps","outlineInteractive","Bgoe8wy","Bwzppfd","oetu4i","gg5e9n","B6oc9vd","ak43y8","wmxk5l","B50zh58","Bvq3b66","Brahy3i","zoxjo1","an54nd","underline","invalid","tvckwq","gk2u95","hhx65j","Bxowmz0","invalidUnderline","disabled","Bceei9c","Bcq6wej","Jcjdmf","sc4o1m","Bosien3","d","p","w","m","h","a","useInputStyles","qb2dma","sj55zd","Bahqtrf","Brovlpu","yvdlaj","B3o7kgh","Be2twd7","Bhrd7zp","Bg96gwp","Byoj8tv","uwmqm3","z8tnut","B0ocmuz","f","useIconStyles","icon","fz51y7","bn5sak","hidden","visuallyHidden","Bh84pgu","jrapky","Frg6f3","t21cq0","B6of3ja","B74szlk","B68tc82","Bmxbyg5","Bpg54ce","a9b677","useComboboxStyles_unstable","state","appearance","open","size","showClearIcon","styles","iconStyles","inputStyles","className","inlinePopup"],"sources":["useComboboxStyles.styles.js"],"sourcesContent":["'use client';\nimport { tokens, typographyStyles } from \"@fluentui/react-theme\";\nimport { makeStyles, mergeClasses, shorthands } from \"@griffel/react\";\nimport { iconSizes } from \"../../utils/internalTokens.js\";\nexport const comboboxClassNames = {\n root: 'fui-Combobox',\n input: 'fui-Combobox__input',\n expandIcon: 'fui-Combobox__expandIcon',\n clearIcon: 'fui-Combobox__clearIcon',\n listbox: 'fui-Combobox__listbox'\n};\n// Matches internal heights for Select and Input, but there are no theme variables for these\nconst fieldHeights = {\n small: '24px',\n medium: '32px',\n large: '40px'\n};\n/**\n * Styles for Combobox\n */ const useStyles = makeStyles({\n root: {\n alignItems: 'center',\n borderRadius: tokens.borderRadiusMedium,\n boxSizing: 'border-box',\n columnGap: tokens.spacingHorizontalXXS,\n display: 'inline-grid',\n gridTemplateColumns: '1fr auto',\n justifyContent: 'space-between',\n minWidth: '250px',\n position: 'relative',\n verticalAlign: 'middle',\n // windows high contrast mode focus indicator\n ':focus-within': {\n outlineWidth: '2px',\n outlineStyle: 'solid',\n outlineColor: 'transparent'\n },\n // bottom focus border, shared with Input, Select, and SpinButton\n '::after': {\n boxSizing: 'border-box',\n content: '\"\"',\n position: 'absolute',\n left: '-1px',\n bottom: '-1px',\n right: '-1px',\n height: `max(2px, ${tokens.borderRadiusMedium})`,\n borderBottomLeftRadius: tokens.borderRadiusMedium,\n borderBottomRightRadius: tokens.borderRadiusMedium,\n borderBottom: `${tokens.strokeWidthThick} solid ${tokens.colorCompoundBrandStroke}`,\n clipPath: 'inset(calc(100% - 2px) 0 0 0)',\n transform: 'scaleX(0)',\n transitionProperty: 'transform',\n transitionDuration: tokens.durationUltraFast,\n transitionDelay: tokens.curveAccelerateMid,\n '@media screen and (prefers-reduced-motion: reduce)': {\n transitionDuration: '0.01ms',\n transitionDelay: '0.01ms'\n }\n },\n ':focus-within::after': {\n transform: 'scaleX(1)',\n transitionProperty: 'transform',\n transitionDuration: tokens.durationNormal,\n transitionDelay: tokens.curveDecelerateMid,\n '@media screen and (prefers-reduced-motion: reduce)': {\n transitionDuration: '0.01ms',\n transitionDelay: '0.01ms'\n }\n },\n ':focus-within:active::after': {\n borderBottomColor: tokens.colorCompoundBrandStrokePressed\n }\n },\n listbox: {\n boxShadow: `${tokens.shadow16}`,\n borderRadius: tokens.borderRadiusMedium,\n maxHeight: '80vh',\n boxSizing: 'border-box'\n },\n listboxCollapsed: {\n display: 'none'\n },\n // When rendering inline, the popupSurface will be rendered under relatively positioned elements such as Input.\n // This is due to the surface being positioned as absolute, therefore zIndex: 1 ensures that won't happen.\n inlineListbox: {\n zIndex: 1\n },\n // size variants\n small: {\n height: fieldHeights.small,\n paddingRight: tokens.spacingHorizontalSNudge\n },\n medium: {\n height: fieldHeights.medium,\n paddingRight: tokens.spacingHorizontalMNudge\n },\n large: {\n columnGap: tokens.spacingHorizontalSNudge,\n height: fieldHeights.large,\n paddingRight: tokens.spacingHorizontalM\n },\n // appearance variants\n outline: {\n backgroundColor: tokens.colorNeutralBackground1,\n border: `${tokens.strokeWidthThin} solid ${tokens.colorNeutralStroke1}`,\n borderBottomColor: tokens.colorNeutralStrokeAccessible\n },\n outlineInteractive: {\n '&:hover': {\n ...shorthands.borderColor(tokens.colorNeutralStroke1Hover),\n borderBottomColor: tokens.colorNeutralStrokeAccessibleHover\n },\n '&:active': {\n ...shorthands.borderColor(tokens.colorNeutralStroke1Pressed),\n borderBottomColor: tokens.colorNeutralStrokeAccessiblePressed\n },\n '&:focus-within': {\n ...shorthands.borderColor(tokens.colorNeutralStroke1Pressed),\n borderBottomColor: tokens.colorNeutralStrokeAccessiblePressed\n }\n },\n underline: {\n backgroundColor: tokens.colorTransparentBackground,\n borderBottom: `${tokens.strokeWidthThin} solid ${tokens.colorNeutralStrokeAccessible}`,\n borderRadius: '0'\n },\n 'filled-lighter': {\n backgroundColor: tokens.colorNeutralBackground1,\n border: `${tokens.strokeWidthThin} solid ${tokens.colorTransparentStroke}`\n },\n 'filled-darker': {\n backgroundColor: tokens.colorNeutralBackground3,\n border: `${tokens.strokeWidthThin} solid ${tokens.colorTransparentStroke}`\n },\n invalid: {\n ':not(:focus-within),:hover:not(:focus-within)': {\n ...shorthands.borderColor(tokens.colorPaletteRedBorder2)\n }\n },\n invalidUnderline: {\n ':not(:focus-within),:hover:not(:focus-within)': {\n borderBottomColor: tokens.colorPaletteRedBorder2\n }\n },\n disabled: {\n cursor: 'not-allowed',\n backgroundColor: tokens.colorTransparentBackground,\n ...shorthands.borderColor(tokens.colorNeutralStrokeDisabled),\n '@media (forced-colors: active)': {\n ...shorthands.borderColor('GrayText')\n }\n }\n});\nconst useInputStyles = makeStyles({\n input: {\n alignSelf: 'stretch',\n backgroundColor: tokens.colorTransparentBackground,\n border: 'none',\n color: tokens.colorNeutralForeground1,\n fontFamily: tokens.fontFamilyBase,\n '&:focus': {\n outlineStyle: 'none'\n },\n '&::placeholder': {\n color: tokens.colorNeutralForeground4,\n opacity: 1\n }\n },\n // size variants\n small: {\n ...typographyStyles.caption1,\n padding: `0 0 0 ${`calc(${tokens.spacingHorizontalSNudge} + ${tokens.spacingHorizontalXXS})`}`\n },\n medium: {\n ...typographyStyles.body1,\n padding: `0 0 0 ${`calc(${tokens.spacingHorizontalMNudge} + ${tokens.spacingHorizontalXXS})`}`\n },\n large: {\n ...typographyStyles.body2,\n padding: `0 0 0 ${`calc(${tokens.spacingHorizontalM} + ${tokens.spacingHorizontalSNudge})`}`\n },\n disabled: {\n color: tokens.colorNeutralForegroundDisabled,\n backgroundColor: tokens.colorTransparentBackground,\n cursor: 'not-allowed',\n '::placeholder': {\n color: tokens.colorNeutralForegroundDisabled\n }\n }\n});\nconst useIconStyles = makeStyles({\n icon: {\n boxSizing: 'border-box',\n color: tokens.colorNeutralStrokeAccessible,\n cursor: 'pointer',\n display: 'block',\n fontSize: tokens.fontSizeBase500,\n // position: relative provides the containing block for the ::after clickable-area extension below.\n position: 'relative',\n // Block display avoids inline baseline space for both icon renderers.\n '& svg, & .fui-Icon-font': {\n display: 'block'\n },\n // Extend the clickable area to cover the root's right paddingRight \"dead zone\".\n // Without this, clicking between the icon and the right border does not trigger the icon's handler.\n // The negative `right` is overridden per size variant below to match the root's paddingRight.\n '::after': {\n content: '\"\"',\n position: 'absolute',\n top: 0,\n bottom: 0,\n left: 0,\n right: 0\n }\n },\n hidden: {\n display: 'none'\n },\n visuallyHidden: {\n clip: 'rect(0px, 0px, 0px, 0px)',\n height: '1px',\n margin: '-1px',\n overflow: 'hidden',\n padding: '0px',\n width: '1px',\n position: 'absolute'\n },\n // icon size variants\n small: {\n fontSize: iconSizes.small,\n marginLeft: tokens.spacingHorizontalXXS,\n '::after': {\n right: `calc(-1 * ${tokens.spacingHorizontalSNudge})`\n }\n },\n medium: {\n fontSize: iconSizes.medium,\n marginLeft: tokens.spacingHorizontalXXS,\n '::after': {\n right: `calc(-1 * ${tokens.spacingHorizontalMNudge})`\n }\n },\n large: {\n fontSize: iconSizes.large,\n marginLeft: tokens.spacingHorizontalSNudge,\n '::after': {\n right: `calc(-1 * ${tokens.spacingHorizontalM})`\n }\n },\n disabled: {\n color: tokens.colorNeutralForegroundDisabled,\n cursor: 'not-allowed'\n }\n});\n/**\n * Apply styling to the Combobox slots based on the state\n */ export const useComboboxStyles_unstable = (state)=>{\n const { appearance, open, size, showClearIcon } = state;\n const invalid = `${state.input['aria-invalid']}` === 'true';\n const disabled = state.input.disabled;\n const styles = useStyles();\n const iconStyles = useIconStyles();\n const inputStyles = useInputStyles();\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(comboboxClassNames.root, styles.root, styles[appearance], styles[size], !disabled && appearance === 'outline' && styles.outlineInteractive, invalid && appearance !== 'underline' && styles.invalid, invalid && appearance === 'underline' && styles.invalidUnderline, disabled && styles.disabled, state.root.className);\n // eslint-disable-next-line react-hooks/immutability\n state.input.className = mergeClasses(comboboxClassNames.input, inputStyles.input, inputStyles[size], disabled && inputStyles.disabled, state.input.className);\n if (state.listbox) {\n // eslint-disable-next-line react-hooks/immutability\n state.listbox.className = mergeClasses(comboboxClassNames.listbox, styles.listbox, state.inlinePopup && styles.inlineListbox, !open && styles.listboxCollapsed, state.listbox.className);\n }\n if (state.expandIcon) {\n // eslint-disable-next-line react-hooks/immutability\n state.expandIcon.className = mergeClasses(comboboxClassNames.expandIcon, iconStyles.icon, iconStyles[size], disabled && iconStyles.disabled, showClearIcon && iconStyles.visuallyHidden, state.expandIcon.className);\n }\n if (state.clearIcon) {\n // eslint-disable-next-line react-hooks/immutability\n state.clearIcon.className = mergeClasses(comboboxClassNames.clearIcon, iconStyles.icon, iconStyles[size], disabled && iconStyles.disabled, !showClearIcon && iconStyles.hidden, state.clearIcon.className);\n }\n return state;\n};\n"],"mappings":"AAAA,YAAY;;AACZ,SAASA,MAAM,EAAEC,gBAAgB,QAAQ,uBAAuB;AAChE,SAAAC,QAAA,EAAqBC,YAAY,EAAEC,UAAU,QAAQ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AS,CAAC;EAC7J,IAAIR,KAAK,CAAC5I,OAAO,EAAE;IACf;IACA4I,KAAK,CAAC5I,OAAO,CAACoJ,SAAS,GAAG5J,YAAY,CAACG,kBAAkB,CAACK,OAAO,EAAEiJ,MAAM,CAACjJ,OAAO,EAAE4I,KAAK,CAACS,WAAW,IAAIJ,MAAM,CAAC5F,aAAa,EAAE,CAACyF,IAAI,IAAIG,MAAM,CAAC7F,gBAAgB,EAAEwF,KAAK,CAAC5I,OAAO,CAACoJ,SAAS,CAAC;EAC5L;EACA,IAAIR,KAAK,CAAC9I,UAAU,EAAE;IAClB;IACA8I,KAAK,CAAC9I,UAAU,CAACsJ,SAAS,GAAG5J,YAAY,CAACG,kBAAkB,CAACG,UAAU,EAAEoJ,UAAU,CAACtB,IAAI,EAAEsB,UAAU,CAACH,IAAI,CAAC,EAAE/C,QAAQ,IAAIkD,UAAU,CAAClD,QAAQ,EAAEgD,aAAa,IAAIE,UAAU,CAAClB,cAAc,EAAEY,KAAK,CAAC9I,UAAU,CAACsJ,SAAS,CAAC;EACxN;EACA,IAAIR,KAAK,CAAC7I,SAAS,EAAE;IACjB;IACA6I,KAAK,CAAC7I,SAAS,CAACqJ,SAAS,GAAG5J,YAAY,CAACG,kBAAkB,CAACI,SAAS,EAAEmJ,UAAU,CAACtB,IAAI,EAAEsB,UAAU,CAACH,IAAI,CAAC,EAAE/C,QAAQ,IAAIkD,UAAU,CAAClD,QAAQ,EAAE,CAACgD,aAAa,IAAIE,UAAU,CAACnB,MAAM,EAAEa,KAAK,CAAC7I,SAAS,CAACqJ,SAAS,CAAC;EAC9M;EACA,OAAOR,KAAK;AAChB,CAAC","ignoreList":[]}
|
|
@@ -197,9 +197,8 @@ const useIconStyles = makeStyles({
|
|
|
197
197
|
fontSize: tokens.fontSizeBase500,
|
|
198
198
|
// position: relative provides the containing block for the ::after clickable-area extension below.
|
|
199
199
|
position: 'relative',
|
|
200
|
-
//
|
|
201
|
-
|
|
202
|
-
'& svg': {
|
|
200
|
+
// Block display avoids inline baseline space for both icon renderers.
|
|
201
|
+
'& svg, & .fui-Icon-font': {
|
|
203
202
|
display: 'block'
|
|
204
203
|
},
|
|
205
204
|
// Extend the clickable area to cover the root's right paddingRight "dead zone".
|