@fluentui/react-combobox 9.74.7-experimental.cli-api.20261006-ccaa611d58.0 → 9.75.0-experimental.css-modules.20261031-810ab07afb.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.
Files changed (212) hide show
  1. package/CHANGELOG.md +60 -16
  2. package/README.md +12 -0
  3. package/dist/index.d.cts +30 -0
  4. package/dist/index.d.ts +30 -0
  5. package/lib/components/Combobox/Combobox.js.map +1 -1
  6. package/lib/components/Combobox/Combobox.module.css +233 -0
  7. package/lib/components/Combobox/Combobox.types.js.map +1 -1
  8. package/lib/components/Combobox/index.js.map +1 -1
  9. package/lib/components/Combobox/renderCombobox.js +2 -2
  10. package/lib/components/Combobox/renderCombobox.js.map +1 -1
  11. package/lib/components/Combobox/useCombobox.js +62 -42
  12. package/lib/components/Combobox/useCombobox.js.map +1 -1
  13. package/lib/components/Combobox/useComboboxExpandIconSlot.js +40 -0
  14. package/lib/components/Combobox/useComboboxExpandIconSlot.js.map +1 -0
  15. package/lib/components/Combobox/useComboboxStyles.styles.css.js +25 -0
  16. package/lib/components/Combobox/useComboboxStyles.styles.css.js.map +1 -0
  17. package/lib/components/Combobox/useComboboxStyles.styles.raw.css.js +25 -0
  18. package/lib/components/Combobox/useComboboxStyles.styles.raw.css.js.map +1 -0
  19. package/lib/components/Combobox/useComboboxStyles.styles.raw.js.map +1 -1
  20. package/lib/components/Combobox/useInputTriggerSlot.js +3 -2
  21. package/lib/components/Combobox/useInputTriggerSlot.js.map +1 -1
  22. package/lib/components/Dropdown/Dropdown.js.map +1 -1
  23. package/lib/components/Dropdown/Dropdown.module.css +237 -0
  24. package/lib/components/Dropdown/Dropdown.types.js.map +1 -1
  25. package/lib/components/Dropdown/index.js.map +1 -1
  26. package/lib/components/Dropdown/renderDropdown.js +2 -2
  27. package/lib/components/Dropdown/renderDropdown.js.map +1 -1
  28. package/lib/components/Dropdown/useButtonTriggerSlot.js.map +1 -1
  29. package/lib/components/Dropdown/useDropdown.js +5 -7
  30. package/lib/components/Dropdown/useDropdown.js.map +1 -1
  31. package/lib/components/Dropdown/useDropdownStyles.styles.css.js +25 -0
  32. package/lib/components/Dropdown/useDropdownStyles.styles.css.js.map +1 -0
  33. package/lib/components/Dropdown/useDropdownStyles.styles.js +4 -4
  34. package/lib/components/Dropdown/useDropdownStyles.styles.js.map +1 -1
  35. package/lib/components/Dropdown/useDropdownStyles.styles.raw.css.js +25 -0
  36. package/lib/components/Dropdown/useDropdownStyles.styles.raw.css.js.map +1 -0
  37. package/lib/components/Dropdown/useDropdownStyles.styles.raw.js +2 -2
  38. package/lib/components/Dropdown/useDropdownStyles.styles.raw.js.map +1 -1
  39. package/lib/components/Listbox/Listbox.js.map +1 -1
  40. package/lib/components/Listbox/Listbox.module.css +13 -0
  41. package/lib/components/Listbox/Listbox.types.js.map +1 -1
  42. package/lib/components/Listbox/index.js.map +1 -1
  43. package/lib/components/Listbox/renderListbox.js +2 -2
  44. package/lib/components/Listbox/renderListbox.js.map +1 -1
  45. package/lib/components/Listbox/useListbox.js.map +1 -1
  46. package/lib/components/Listbox/useListboxStyles.styles.css.js +9 -0
  47. package/lib/components/Listbox/useListboxStyles.styles.css.js.map +1 -0
  48. package/lib/components/Listbox/useListboxStyles.styles.raw.css.js +9 -0
  49. package/lib/components/Listbox/useListboxStyles.styles.raw.css.js.map +1 -0
  50. package/lib/components/Listbox/useListboxStyles.styles.raw.js.map +1 -1
  51. package/lib/components/Option/Option.js.map +1 -1
  52. package/lib/components/Option/Option.module.css +92 -0
  53. package/lib/components/Option/Option.types.js.map +1 -1
  54. package/lib/components/Option/index.js.map +1 -1
  55. package/lib/components/Option/renderOption.js +2 -2
  56. package/lib/components/Option/renderOption.js.map +1 -1
  57. package/lib/components/Option/useOption.js +1 -2
  58. package/lib/components/Option/useOption.js.map +1 -1
  59. package/lib/components/Option/useOptionStyles.styles.css.js +13 -0
  60. package/lib/components/Option/useOptionStyles.styles.css.js.map +1 -0
  61. package/lib/components/Option/useOptionStyles.styles.raw.css.js +13 -0
  62. package/lib/components/Option/useOptionStyles.styles.raw.css.js.map +1 -0
  63. package/lib/components/Option/useOptionStyles.styles.raw.js.map +1 -1
  64. package/lib/components/OptionGroup/OptionGroup.js.map +1 -1
  65. package/lib/components/OptionGroup/OptionGroup.module.css +23 -0
  66. package/lib/components/OptionGroup/OptionGroup.types.js.map +1 -1
  67. package/lib/components/OptionGroup/index.js.map +1 -1
  68. package/lib/components/OptionGroup/renderOptionGroup.js +2 -2
  69. package/lib/components/OptionGroup/renderOptionGroup.js.map +1 -1
  70. package/lib/components/OptionGroup/useOptionGroup.js.map +1 -1
  71. package/lib/components/OptionGroup/useOptionGroupStyles.styles.css.js +13 -0
  72. package/lib/components/OptionGroup/useOptionGroupStyles.styles.css.js.map +1 -0
  73. package/lib/components/OptionGroup/useOptionGroupStyles.styles.raw.css.js +13 -0
  74. package/lib/components/OptionGroup/useOptionGroupStyles.styles.raw.css.js.map +1 -0
  75. package/lib/components/OptionGroup/useOptionGroupStyles.styles.raw.js.map +1 -1
  76. package/lib/contexts/ComboboxContext.js.map +1 -1
  77. package/lib/contexts/ListboxContext.js.map +1 -1
  78. package/lib/contexts/useComboboxContextValues.js.map +1 -1
  79. package/lib/contexts/useListboxContextValues.js.map +1 -1
  80. package/lib/hooks/useComboboxFilter.js.map +1 -1
  81. package/lib/hooks/useTabsterEscapeIgnore.js.map +1 -1
  82. package/lib/index.js +1 -0
  83. package/lib/index.js.map +1 -1
  84. package/lib/utils/ComboboxBase.types.js.map +1 -1
  85. package/lib/utils/OptionCollection.types.js.map +1 -1
  86. package/lib/utils/Selection.types.js.map +1 -1
  87. package/lib/utils/dropdownKeyActions.js.map +1 -1
  88. package/lib/utils/internalTokens.js.map +1 -1
  89. package/lib/utils/isComboboxOptionElement.js.map +1 -1
  90. package/lib/utils/useComboboxBaseState.js +5 -4
  91. package/lib/utils/useComboboxBaseState.js.map +1 -1
  92. package/lib/utils/useComboboxPositioning.js.map +1 -1
  93. package/lib/utils/useListboxSlot.js.map +1 -1
  94. package/lib/utils/useOptionCollection.js.map +1 -1
  95. package/lib/utils/useSelection.js.map +1 -1
  96. package/lib/utils/useTriggerSlot.js +6 -3
  97. package/lib/utils/useTriggerSlot.js.map +1 -1
  98. package/lib-commonjs/Combobox.cjs +7 -7
  99. package/lib-commonjs/Dropdown.cjs +7 -7
  100. package/lib-commonjs/Listbox.cjs +6 -6
  101. package/lib-commonjs/Option.cjs +7 -7
  102. package/lib-commonjs/OptionGroup.cjs +6 -6
  103. package/lib-commonjs/components/Combobox/Combobox.cjs.map +1 -1
  104. package/lib-commonjs/components/Combobox/Combobox.module.css +233 -0
  105. package/lib-commonjs/components/Combobox/Combobox.types.cjs.map +1 -1
  106. package/lib-commonjs/components/Combobox/index.cjs +7 -7
  107. package/lib-commonjs/components/Combobox/index.cjs.map +1 -1
  108. package/lib-commonjs/components/Combobox/renderCombobox.cjs.map +1 -1
  109. package/lib-commonjs/components/Combobox/useCombobox.cjs +62 -44
  110. package/lib-commonjs/components/Combobox/useCombobox.cjs.map +1 -1
  111. package/lib-commonjs/components/Combobox/useComboboxExpandIconSlot.cjs +46 -0
  112. package/lib-commonjs/components/Combobox/useComboboxExpandIconSlot.cjs.map +1 -0
  113. package/lib-commonjs/components/Combobox/useComboboxStyles.styles.cjs +3 -3
  114. package/lib-commonjs/components/Combobox/useComboboxStyles.styles.cjs.map +1 -1
  115. package/lib-commonjs/components/Combobox/useComboboxStyles.styles.css.cjs +44 -0
  116. package/lib-commonjs/components/Combobox/useComboboxStyles.styles.css.cjs.map +1 -0
  117. package/lib-commonjs/components/Combobox/useComboboxStyles.styles.raw.cjs +3 -3
  118. package/lib-commonjs/components/Combobox/useComboboxStyles.styles.raw.cjs.map +1 -1
  119. package/lib-commonjs/components/Combobox/useComboboxStyles.styles.raw.css.cjs +44 -0
  120. package/lib-commonjs/components/Combobox/useComboboxStyles.styles.raw.css.cjs.map +1 -0
  121. package/lib-commonjs/components/Combobox/useInputTriggerSlot.cjs +3 -2
  122. package/lib-commonjs/components/Combobox/useInputTriggerSlot.cjs.map +1 -1
  123. package/lib-commonjs/components/Dropdown/Dropdown.cjs.map +1 -1
  124. package/lib-commonjs/components/Dropdown/Dropdown.module.css +237 -0
  125. package/lib-commonjs/components/Dropdown/Dropdown.types.cjs.map +1 -1
  126. package/lib-commonjs/components/Dropdown/index.cjs +7 -7
  127. package/lib-commonjs/components/Dropdown/index.cjs.map +1 -1
  128. package/lib-commonjs/components/Dropdown/renderDropdown.cjs.map +1 -1
  129. package/lib-commonjs/components/Dropdown/useButtonTriggerSlot.cjs.map +1 -1
  130. package/lib-commonjs/components/Dropdown/useDropdown.cjs +8 -10
  131. package/lib-commonjs/components/Dropdown/useDropdown.cjs.map +1 -1
  132. package/lib-commonjs/components/Dropdown/useDropdownStyles.styles.cjs +7 -7
  133. package/lib-commonjs/components/Dropdown/useDropdownStyles.styles.cjs.map +1 -1
  134. package/lib-commonjs/components/Dropdown/useDropdownStyles.styles.css.cjs +44 -0
  135. package/lib-commonjs/components/Dropdown/useDropdownStyles.styles.css.cjs.map +1 -0
  136. package/lib-commonjs/components/Dropdown/useDropdownStyles.styles.raw.cjs +5 -5
  137. package/lib-commonjs/components/Dropdown/useDropdownStyles.styles.raw.cjs.map +1 -1
  138. package/lib-commonjs/components/Dropdown/useDropdownStyles.styles.raw.css.cjs +44 -0
  139. package/lib-commonjs/components/Dropdown/useDropdownStyles.styles.raw.css.cjs.map +1 -0
  140. package/lib-commonjs/components/Listbox/Listbox.cjs.map +1 -1
  141. package/lib-commonjs/components/Listbox/Listbox.module.css +13 -0
  142. package/lib-commonjs/components/Listbox/Listbox.types.cjs.map +1 -1
  143. package/lib-commonjs/components/Listbox/index.cjs +6 -6
  144. package/lib-commonjs/components/Listbox/index.cjs.map +1 -1
  145. package/lib-commonjs/components/Listbox/renderListbox.cjs.map +1 -1
  146. package/lib-commonjs/components/Listbox/useListbox.cjs.map +1 -1
  147. package/lib-commonjs/components/Listbox/useListboxStyles.styles.cjs +3 -3
  148. package/lib-commonjs/components/Listbox/useListboxStyles.styles.cjs.map +1 -1
  149. package/lib-commonjs/components/Listbox/useListboxStyles.styles.css.cjs +28 -0
  150. package/lib-commonjs/components/Listbox/useListboxStyles.styles.css.cjs.map +1 -0
  151. package/lib-commonjs/components/Listbox/useListboxStyles.styles.raw.cjs +3 -3
  152. package/lib-commonjs/components/Listbox/useListboxStyles.styles.raw.cjs.map +1 -1
  153. package/lib-commonjs/components/Listbox/useListboxStyles.styles.raw.css.cjs +28 -0
  154. package/lib-commonjs/components/Listbox/useListboxStyles.styles.raw.css.cjs.map +1 -0
  155. package/lib-commonjs/components/Option/Option.cjs.map +1 -1
  156. package/lib-commonjs/components/Option/Option.module.css +92 -0
  157. package/lib-commonjs/components/Option/Option.types.cjs.map +1 -1
  158. package/lib-commonjs/components/Option/index.cjs +7 -7
  159. package/lib-commonjs/components/Option/index.cjs.map +1 -1
  160. package/lib-commonjs/components/Option/renderOption.cjs.map +1 -1
  161. package/lib-commonjs/components/Option/useOption.cjs +4 -5
  162. package/lib-commonjs/components/Option/useOption.cjs.map +1 -1
  163. package/lib-commonjs/components/Option/useOptionStyles.styles.cjs +3 -3
  164. package/lib-commonjs/components/Option/useOptionStyles.styles.cjs.map +1 -1
  165. package/lib-commonjs/components/Option/useOptionStyles.styles.css.cjs +32 -0
  166. package/lib-commonjs/components/Option/useOptionStyles.styles.css.cjs.map +1 -0
  167. package/lib-commonjs/components/Option/useOptionStyles.styles.raw.cjs +3 -3
  168. package/lib-commonjs/components/Option/useOptionStyles.styles.raw.cjs.map +1 -1
  169. package/lib-commonjs/components/Option/useOptionStyles.styles.raw.css.cjs +32 -0
  170. package/lib-commonjs/components/Option/useOptionStyles.styles.raw.css.cjs.map +1 -0
  171. package/lib-commonjs/components/OptionGroup/OptionGroup.cjs.map +1 -1
  172. package/lib-commonjs/components/OptionGroup/OptionGroup.module.css +23 -0
  173. package/lib-commonjs/components/OptionGroup/OptionGroup.types.cjs.map +1 -1
  174. package/lib-commonjs/components/OptionGroup/index.cjs +6 -6
  175. package/lib-commonjs/components/OptionGroup/index.cjs.map +1 -1
  176. package/lib-commonjs/components/OptionGroup/renderOptionGroup.cjs.map +1 -1
  177. package/lib-commonjs/components/OptionGroup/useOptionGroup.cjs.map +1 -1
  178. package/lib-commonjs/components/OptionGroup/useOptionGroupStyles.styles.cjs +3 -3
  179. package/lib-commonjs/components/OptionGroup/useOptionGroupStyles.styles.cjs.map +1 -1
  180. package/lib-commonjs/components/OptionGroup/useOptionGroupStyles.styles.css.cjs +32 -0
  181. package/lib-commonjs/components/OptionGroup/useOptionGroupStyles.styles.css.cjs.map +1 -0
  182. package/lib-commonjs/components/OptionGroup/useOptionGroupStyles.styles.raw.cjs +3 -3
  183. package/lib-commonjs/components/OptionGroup/useOptionGroupStyles.styles.raw.cjs.map +1 -1
  184. package/lib-commonjs/components/OptionGroup/useOptionGroupStyles.styles.raw.css.cjs +32 -0
  185. package/lib-commonjs/components/OptionGroup/useOptionGroupStyles.styles.raw.css.cjs.map +1 -0
  186. package/lib-commonjs/contexts/ComboboxContext.cjs +3 -3
  187. package/lib-commonjs/contexts/ComboboxContext.cjs.map +1 -1
  188. package/lib-commonjs/contexts/ListboxContext.cjs +4 -4
  189. package/lib-commonjs/contexts/ListboxContext.cjs.map +1 -1
  190. package/lib-commonjs/contexts/useComboboxContextValues.cjs.map +1 -1
  191. package/lib-commonjs/contexts/useListboxContextValues.cjs.map +1 -1
  192. package/lib-commonjs/hooks/useComboboxFilter.cjs.map +1 -1
  193. package/lib-commonjs/hooks/useTabsterEscapeIgnore.cjs.map +1 -1
  194. package/lib-commonjs/index.cjs +44 -40
  195. package/lib-commonjs/index.cjs.map +1 -1
  196. package/lib-commonjs/utils/ComboboxBase.types.cjs.map +1 -1
  197. package/lib-commonjs/utils/OptionCollection.types.cjs.map +1 -1
  198. package/lib-commonjs/utils/Selection.types.cjs.map +1 -1
  199. package/lib-commonjs/utils/dropdownKeyActions.cjs.map +1 -1
  200. package/lib-commonjs/utils/internalTokens.cjs.map +1 -1
  201. package/lib-commonjs/utils/isComboboxOptionElement.cjs.map +1 -1
  202. package/lib-commonjs/utils/useComboboxBaseState.cjs +5 -4
  203. package/lib-commonjs/utils/useComboboxBaseState.cjs.map +1 -1
  204. package/lib-commonjs/utils/useComboboxPositioning.cjs.map +1 -1
  205. package/lib-commonjs/utils/useListboxSlot.cjs.map +1 -1
  206. package/lib-commonjs/utils/useOptionCollection.cjs.map +1 -1
  207. package/lib-commonjs/utils/useSelection.cjs.map +1 -1
  208. package/lib-commonjs/utils/useTriggerSlot.cjs +6 -3
  209. package/lib-commonjs/utils/useTriggerSlot.cjs.map +1 -1
  210. package/package.json +19 -19
  211. package/dist/metadata/api/api-root.json +0 -1
  212. package/dist/metadata/index.json +0 -1
package/CHANGELOG.md CHANGED
@@ -1,28 +1,72 @@
1
1
  # Change Log - @fluentui/react-combobox
2
2
 
3
- <!-- This log was last generated on Tue, 06 Oct 2026 11:40:20 GMT and should not be manually modified. -->
3
+ <!-- This log was last generated on Sat, 31 Oct 2026 11:09:04 GMT and should not be manually modified. -->
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [9.74.7-experimental.cli-api.20261006-ccaa611d58.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-combobox_v9.74.7-experimental.cli-api.20261006-ccaa611d58.0)
7
+ ## [9.75.0-experimental.css-modules.20261031-810ab07afb.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-combobox_v9.75.0-experimental.css-modules.20261031-810ab07afb.0)
8
8
 
9
- Tue, 06 Oct 2026 11:40:20 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-combobox_v9.17.5..@fluentui/react-combobox_v9.74.7-experimental.cli-api.20261006-ccaa611d58.0)
9
+ Sat, 31 Oct 2026 11:09:04 GMT
11
10
 
12
11
  ### Changes
13
12
 
14
- - Release 9.74.7-experimental.cli-api.20261006-ccaa611d58 ([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.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
16
- - Bump @fluentui/react-aria to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
17
- - Bump @fluentui/react-context-selector to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
18
- - Bump @fluentui/react-field to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
19
- - Bump @fluentui/react-jsx-runtime to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
20
- - Bump @fluentui/react-portal to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
21
- - Bump @fluentui/react-positioning to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
22
- - Bump @fluentui/react-shared-contexts to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
23
- - Bump @fluentui/react-tabster to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
24
- - Bump @fluentui/react-theme to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
25
- - Bump @fluentui/react-utilities to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
13
+ - Release 9.75.0-experimental.css-modules.20261031-810ab07afb ([commit](https://github.com/microsoft/fluentui/commit/undefined) by 257645319+office-ogx-auth-helper[bot]@users.noreply.github.com)
14
+ - Bump @fluentui/keyboard-keys to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
15
+ - Bump @fluentui/react-aria to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
16
+ - Bump @fluentui/react-context-selector to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
17
+ - Bump @fluentui/react-field to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
18
+ - Bump @fluentui/react-jsx-runtime to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
19
+ - Bump @fluentui/react-portal to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
20
+ - Bump @fluentui/react-positioning to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
21
+ - Bump @fluentui/react-shared-contexts to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
22
+ - Bump @fluentui/react-tabster to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
23
+ - Bump @fluentui/react-theme to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
24
+ - Bump @fluentui/react-utilities to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
25
+
26
+ ## [9.17.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-combobox_v9.17.8)
27
+
28
+ Mon, 19 Oct 2026 16:49:01 GMT
29
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-combobox_v9.17.7..@fluentui/react-combobox_v9.17.8)
30
+
31
+ ### Patches
32
+
33
+ - fix: make the Combobox expand icon keyboard- and click-operable without duplicate pointer toggles or hidden, missing-icon, or duplicate blur interactions ([PR #36574](https://github.com/microsoft/fluentui/pull/36574) by dmytrokirpa@microsoft.com)
34
+ - Bump @fluentui/react-aria to v9.17.16 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
35
+ - Bump @fluentui/react-context-selector to v9.2.21 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
36
+ - Bump @fluentui/react-field to v9.5.6 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
37
+ - Bump @fluentui/react-jsx-runtime to v9.4.7 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
38
+ - Bump @fluentui/react-portal to v9.8.17 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
39
+ - Bump @fluentui/react-positioning to v9.23.4 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
40
+ - Bump @fluentui/react-tabster to v9.26.19 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
41
+ - Bump @fluentui/react-utilities to v9.27.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
42
+
43
+ ## [9.17.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-combobox_v9.17.7)
44
+
45
+ Wed, 23 Sep 2026 09:04:33 GMT
46
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-combobox_v9.17.6..@fluentui/react-combobox_v9.17.7)
47
+
48
+ ### Patches
49
+
50
+ - fix: render filled Dropdown boundaries in high contrast themes ([PR #36637](https://github.com/microsoft/fluentui/pull/36637) by bernardo.sunderhus@gmail.com)
51
+ - Bump @fluentui/react-positioning to v9.23.3 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
52
+
53
+ ## [9.17.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-combobox_v9.17.6)
54
+
55
+ Tue, 22 Sep 2026 11:25:39 GMT
56
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-combobox_v9.17.5..@fluentui/react-combobox_v9.17.6)
57
+
58
+ ### Patches
59
+
60
+ - fix: remove unused @types/react-dom peer dependency, mark @types/react as optional ([PR #36559](https://github.com/microsoft/fluentui/pull/36559) by martinhochel@microsoft.com)
61
+ - Bump @fluentui/react-aria to v9.17.15 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
62
+ - Bump @fluentui/react-context-selector to v9.2.20 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
63
+ - Bump @fluentui/react-field to v9.5.5 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
64
+ - Bump @fluentui/react-jsx-runtime to v9.4.6 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
65
+ - Bump @fluentui/react-portal to v9.8.16 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
66
+ - Bump @fluentui/react-positioning to v9.23.2 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
67
+ - Bump @fluentui/react-shared-contexts to v9.26.4 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
68
+ - Bump @fluentui/react-tabster to v9.26.18 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
69
+ - Bump @fluentui/react-utilities to v9.26.7 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
26
70
 
27
71
  ## [9.17.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-combobox_v9.17.5)
28
72
 
package/README.md CHANGED
@@ -1,3 +1,15 @@
1
1
  # @fluentui/react-combobox
2
2
 
3
3
  **Combobox component for [Fluent UI React](https://react.fluentui.dev)**
4
+
5
+ ## Opt-in CSS Modules styles
6
+
7
+ CSS Modules alternatives are available for the Combobox, Dropdown, Listbox, Option,
8
+ and OptionGroup style hooks. Griffel remains the default. A consumer's bundler must
9
+ explicitly replace the corresponding `use*Styles.styles` modules with their
10
+ `use*Styles.styles.css` alternatives (including `.styles.js` → `.styles.css.js`
11
+ for built imports), process CSS Modules, and retain the layered CSS assets.
12
+
13
+ This selects styles only; component state, rendering, theme injection, and public
14
+ slot class names are unchanged. Composed components in other packages must select
15
+ their own alternatives separately.
package/dist/index.d.cts CHANGED
@@ -597,6 +597,28 @@ export declare const useComboboxBaseState: (props: ComboboxBaseProps & {
597
597
 
598
598
  export declare function useComboboxContextValues(state: Omit<ComboboxBaseState, 'freeform'> & Pick<ComboboxState, 'activeDescendantController'>): ComboboxBaseContextValues;
599
599
 
600
+ /**
601
+ * Creates the `expandIcon` slot of a combobox: button semantics plus the default accessible name.
602
+ *
603
+ * @internal
604
+ */
605
+ export declare function useComboboxExpandIconSlot(expandIconFromProps: Slot<'span'> | undefined | null, options: UseComboboxExpandIconSlotOptions): SlotComponentType<ExtractSlotProps<Slot<'span'>>> | undefined;
606
+
607
+ declare type UseComboboxExpandIconSlotOptions = {
608
+ /** Whether the combobox trigger is disabled. */
609
+ disabled?: boolean;
610
+ /** Whether the expand icon is visually hidden by the clear icon. */
611
+ hideFromTabOrder?: boolean;
612
+ /** Whether the listbox is currently open. */
613
+ open: boolean;
614
+ /** `aria-label` passed to the combobox. */
615
+ 'aria-label'?: string;
616
+ /** `aria-labelledby` passed to the combobox. */
617
+ 'aria-labelledby'?: string;
618
+ /** `aria-labelledby` of the resolved input trigger, used to build the labelling chain. */
619
+ triggerLabelledBy?: string;
620
+ };
621
+
600
622
  /**
601
623
  * @internal
602
624
  */
@@ -666,6 +688,7 @@ declare type UseInputTriggerSlotOptions = {
666
688
  freeform: boolean | undefined;
667
689
  defaultProps?: Partial<ComboboxProps>;
668
690
  activeDescendantController: ActiveDescendantImperativeRef;
691
+ shouldCloseOnBlur?: UseTriggerSlotOptions['shouldCloseOnBlur'];
669
692
  };
670
693
 
671
694
  /**
@@ -742,6 +765,13 @@ export declare const useOptionGroupStyles_unstable: (state: OptionGroupState) =>
742
765
  */
743
766
  export declare const useOptionStyles_unstable: (state: OptionState) => OptionState;
744
767
 
768
+ declare type UseTriggerSlotOptions = {
769
+ state: UseTriggerSlotState;
770
+ defaultProps: unknown;
771
+ activeDescendantController: ActiveDescendantImperativeRef;
772
+ shouldCloseOnBlur?: (event: React_2.FocusEvent<HTMLButtonElement> & React_2.FocusEvent<HTMLInputElement>) => boolean;
773
+ };
774
+
745
775
  declare type UseTriggerSlotState = Pick<ComboboxBaseState, 'open' | 'getOptionById' | 'selectOption' | 'setOpen' | 'multiselect' | 'setHasFocus'>;
746
776
 
747
777
  export { }
package/dist/index.d.ts CHANGED
@@ -597,6 +597,28 @@ export declare const useComboboxBaseState: (props: ComboboxBaseProps & {
597
597
 
598
598
  export declare function useComboboxContextValues(state: Omit<ComboboxBaseState, 'freeform'> & Pick<ComboboxState, 'activeDescendantController'>): ComboboxBaseContextValues;
599
599
 
600
+ /**
601
+ * Creates the `expandIcon` slot of a combobox: button semantics plus the default accessible name.
602
+ *
603
+ * @internal
604
+ */
605
+ export declare function useComboboxExpandIconSlot(expandIconFromProps: Slot<'span'> | undefined | null, options: UseComboboxExpandIconSlotOptions): SlotComponentType<ExtractSlotProps<Slot<'span'>>> | undefined;
606
+
607
+ declare type UseComboboxExpandIconSlotOptions = {
608
+ /** Whether the combobox trigger is disabled. */
609
+ disabled?: boolean;
610
+ /** Whether the expand icon is visually hidden by the clear icon. */
611
+ hideFromTabOrder?: boolean;
612
+ /** Whether the listbox is currently open. */
613
+ open: boolean;
614
+ /** `aria-label` passed to the combobox. */
615
+ 'aria-label'?: string;
616
+ /** `aria-labelledby` passed to the combobox. */
617
+ 'aria-labelledby'?: string;
618
+ /** `aria-labelledby` of the resolved input trigger, used to build the labelling chain. */
619
+ triggerLabelledBy?: string;
620
+ };
621
+
600
622
  /**
601
623
  * @internal
602
624
  */
@@ -666,6 +688,7 @@ declare type UseInputTriggerSlotOptions = {
666
688
  freeform: boolean | undefined;
667
689
  defaultProps?: Partial<ComboboxProps>;
668
690
  activeDescendantController: ActiveDescendantImperativeRef;
691
+ shouldCloseOnBlur?: UseTriggerSlotOptions['shouldCloseOnBlur'];
669
692
  };
670
693
 
671
694
  /**
@@ -742,6 +765,13 @@ export declare const useOptionGroupStyles_unstable: (state: OptionGroupState) =>
742
765
  */
743
766
  export declare const useOptionStyles_unstable: (state: OptionState) => OptionState;
744
767
 
768
+ declare type UseTriggerSlotOptions = {
769
+ state: UseTriggerSlotState;
770
+ defaultProps: unknown;
771
+ activeDescendantController: ActiveDescendantImperativeRef;
772
+ shouldCloseOnBlur?: (event: React_2.FocusEvent<HTMLButtonElement> & React_2.FocusEvent<HTMLInputElement>) => boolean;
773
+ };
774
+
745
775
  declare type UseTriggerSlotState = Pick<ComboboxBaseState, 'open' | 'getOptionById' | 'selectOption' | 'setOpen' | 'multiselect' | 'setHasFocus'>;
746
776
 
747
777
  export { }
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Combobox/Combobox.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useCombobox_unstable } from './useCombobox';\nimport { renderCombobox_unstable } from './renderCombobox';\nimport { useComboboxStyles_unstable } from './useComboboxStyles.styles';\nimport type { ComboboxProps } from './Combobox.types';\nimport { useComboboxContextValues } from '../../contexts/useComboboxContextValues';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * Combobox component: a selection control that allows users to choose from a set of possible options\n */\nexport const Combobox: ForwardRefComponent<ComboboxProps> = React.forwardRef((props, ref) => {\n const state = useCombobox_unstable(props, ref);\n const contextValues = useComboboxContextValues(state);\n\n useComboboxStyles_unstable(state);\n\n useCustomStyleHook_unstable('useComboboxStyles_unstable')(state);\n\n return renderCombobox_unstable(state, contextValues);\n});\n\nCombobox.displayName = 'Combobox';\n"],"names":["React","useCombobox_unstable","renderCombobox_unstable","useComboboxStyles_unstable","useComboboxContextValues","useCustomStyleHook_unstable","Combobox","forwardRef","props","ref","state","contextValues","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,oBAAoB,QAAQ,mBAAgB;AACrD,SAASC,uBAAuB,QAAQ,sBAAmB;AAC3D,SAASC,0BAA0B,QAAQ,gCAA6B;AAExE,SAASC,wBAAwB,QAAQ,6CAA0C;AAEnF,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E;;CAEC,GACD,OAAO,MAAMC,yBAA+CN,MAAMO,UAAU,CAAC,CAACC,OAAOC;IACnF,MAAMC,QAAQT,qBAAqBO,OAAOC;IAC1C,MAAME,gBAAgBP,yBAAyBM;IAE/CP,2BAA2BO;IAE3BL,4BAA4B,8BAA8BK;IAE1D,OAAOR,wBAAwBQ,OAAOC;AACxC,GAAG;AAEHL,SAASM,WAAW,GAAG"}
1
+ {"version":3,"sources":["../../../src/components/Combobox/Combobox.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useCombobox_unstable } from './useCombobox';\nimport { renderCombobox_unstable } from './renderCombobox';\nimport { useComboboxStyles_unstable } from './useComboboxStyles.styles';\nimport type { ComboboxProps } from './Combobox.types';\nimport { useComboboxContextValues } from '../../contexts/useComboboxContextValues';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * Combobox component: a selection control that allows users to choose from a set of possible options\n */\nexport const Combobox: ForwardRefComponent<ComboboxProps> = React.forwardRef((props, ref) => {\n const state = useCombobox_unstable(props, ref);\n const contextValues = useComboboxContextValues(state);\n\n useComboboxStyles_unstable(state);\n\n useCustomStyleHook_unstable('useComboboxStyles_unstable')(state);\n\n return renderCombobox_unstable(state, contextValues);\n});\n\nCombobox.displayName = 'Combobox';\n"],"names":["React","useCombobox_unstable","renderCombobox_unstable","useComboboxStyles_unstable","useComboboxContextValues","useCustomStyleHook_unstable","Combobox","forwardRef","props","ref","state","contextValues","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,oBAAoB,QAAQ,mBAAgB;AACrD,SAASC,uBAAuB,QAAQ,sBAAmB;AAC3D,SAASC,0BAA0B,QAAQ,gCAA6B;AAExE,SAASC,wBAAwB,QAAQ,6CAA0C;AAEnF,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E;;CAEC,GACD,OAAO,MAAMC,yBAA+CN,MAAMO,UAAU,CAAC,CAACC,OAAOC;IACnF,MAAMC,QAAQT,qBAAqBO,OAAOC;IAC1C,MAAME,gBAAgBP,yBAAyBM;IAE/CP,2BAA2BO;IAE3BL,4BAA4B,8BAA8BK;IAE1D,OAAOR,wBAAwBQ,OAAOC;AACxC,GAAG;AAEHL,SAASM,WAAW,GAAG"}
@@ -0,0 +1,233 @@
1
+ @layer fluentui {
2
+ .root {
3
+ align-items: center;
4
+ border-radius: var(--borderRadiusMedium);
5
+ box-sizing: border-box;
6
+ column-gap: var(--spacingHorizontalXXS);
7
+ display: inline-grid;
8
+ grid-template-columns: 1fr auto;
9
+ justify-content: space-between;
10
+ min-width: 250px;
11
+ position: relative;
12
+ vertical-align: middle;
13
+ }
14
+ .root:focus-within {
15
+ outline-width: 2px;
16
+ outline-style: solid;
17
+ outline-color: transparent;
18
+ }
19
+ .root::after {
20
+ box-sizing: border-box;
21
+ content: '';
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
+ }
41
+ }
42
+ .root:focus-within::after {
43
+ transform: scaleX(1);
44
+ transition-property: transform;
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);
119
+ }
120
+ .disabled {
121
+ cursor: not-allowed;
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;
197
+ }
198
+
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;
232
+ }
233
+ }
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Combobox/Combobox.types.ts"],"sourcesContent":["import type * as React from 'react';\nimport type { ComponentProps, ComponentState, DistributiveOmit, Slot } from '@fluentui/react-utilities';\nimport type { ActiveDescendantImperativeRef } from '@fluentui/react-aria';\nimport type {\n ActiveOptionChangeData as ComboboxBaseActiveOptionChangeData,\n ComboboxBaseContextValues,\n ComboboxBaseOpenChangeData,\n ComboboxBaseOpenEvents,\n ComboboxBaseProps,\n ComboboxBaseState,\n} from '../../utils/ComboboxBase.types';\nimport type { Listbox } from '../Listbox/Listbox';\n\nexport type ComboboxSlots = {\n /** The root combobox slot */\n root: NonNullable<Slot<'div'>>;\n\n /** The dropdown arrow icon */\n expandIcon?: Slot<'span'>;\n\n /** The dropdown clear icon */\n clearIcon?: Slot<'span'>;\n\n /** The primary slot, an input with role=\"combobox\" */\n input: NonNullable<Slot<'input'>>;\n\n /** The dropdown listbox slot */\n listbox?: Slot<typeof Listbox>;\n};\n\n/**\n * Combobox Props\n */\nexport type ComboboxProps = Omit<ComponentProps<Partial<ComboboxSlots>, 'input'>, 'children' | 'size'> &\n ComboboxBaseProps & {\n freeform?: boolean;\n /**\n * The primary slot, `<input>`, does not support children so we need to explicitly include it here.\n */\n children?: React.ReactNode;\n };\n\n/**\n * Combobox Props without design-only props.\n */\nexport type BaseComboboxProps = DistributiveOmit<ComboboxProps, 'appearance' | 'size'>;\n\n/**\n * State used in rendering Combobox\n */\nexport type ComboboxState = ComponentState<ComboboxSlots> &\n ComboboxBaseState & {\n showClearIcon?: boolean;\n activeDescendantController: ActiveDescendantImperativeRef;\n };\n\n/**\n * State used in rendering Combobox, without design-only state.\n */\nexport type BaseComboboxState = DistributiveOmit<ComboboxState, 'appearance' | 'size'>;\n\n/* Export types defined in ComboboxBase */\nexport type ComboboxContextValues = ComboboxBaseContextValues;\nexport type ComboboxOpenChangeData = ComboboxBaseOpenChangeData;\nexport type ComboboxOpenEvents = ComboboxBaseOpenEvents;\nexport type ActiveOptionChangeData = ComboboxBaseActiveOptionChangeData;\n"],"names":[],"mappings":"AAiEA,WAAwE"}
1
+ {"version":3,"sources":["../../../src/components/Combobox/Combobox.types.ts"],"sourcesContent":["import type * as React from 'react';\nimport type { ComponentProps, ComponentState, DistributiveOmit, Slot } from '@fluentui/react-utilities';\nimport type { ActiveDescendantImperativeRef } from '@fluentui/react-aria';\nimport type {\n ActiveOptionChangeData as ComboboxBaseActiveOptionChangeData,\n ComboboxBaseContextValues,\n ComboboxBaseOpenChangeData,\n ComboboxBaseOpenEvents,\n ComboboxBaseProps,\n ComboboxBaseState,\n} from '../../utils/ComboboxBase.types';\nimport type { Listbox } from '../Listbox/Listbox';\n\nexport type ComboboxSlots = {\n /** The root combobox slot */\n root: NonNullable<Slot<'div'>>;\n\n /** The dropdown arrow icon */\n expandIcon?: Slot<'span'>;\n\n /** The dropdown clear icon */\n clearIcon?: Slot<'span'>;\n\n /** The primary slot, an input with role=\"combobox\" */\n input: NonNullable<Slot<'input'>>;\n\n /** The dropdown listbox slot */\n listbox?: Slot<typeof Listbox>;\n};\n\n/**\n * Combobox Props\n */\nexport type ComboboxProps = Omit<ComponentProps<Partial<ComboboxSlots>, 'input'>, 'children' | 'size'> &\n ComboboxBaseProps & {\n freeform?: boolean;\n /**\n * The primary slot, `<input>`, does not support children so we need to explicitly include it here.\n */\n children?: React.ReactNode;\n };\n\n/**\n * Combobox Props without design-only props.\n */\nexport type BaseComboboxProps = DistributiveOmit<ComboboxProps, 'appearance' | 'size'>;\n\n/**\n * State used in rendering Combobox\n */\nexport type ComboboxState = ComponentState<ComboboxSlots> &\n ComboboxBaseState & {\n showClearIcon?: boolean;\n activeDescendantController: ActiveDescendantImperativeRef;\n };\n\n/**\n * State used in rendering Combobox, without design-only state.\n */\nexport type BaseComboboxState = DistributiveOmit<ComboboxState, 'appearance' | 'size'>;\n\n/* Export types defined in ComboboxBase */\nexport type ComboboxContextValues = ComboboxBaseContextValues;\nexport type ComboboxOpenChangeData = ComboboxBaseOpenChangeData;\nexport type ComboboxOpenEvents = ComboboxBaseOpenEvents;\nexport type ActiveOptionChangeData = ComboboxBaseActiveOptionChangeData;\n"],"names":[],"mappings":"AAiEA,WAAwE"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Combobox/index.ts"],"sourcesContent":["export { Combobox } from './Combobox';\nexport type {\n ActiveOptionChangeData,\n BaseComboboxProps,\n BaseComboboxState,\n ComboboxContextValues,\n ComboboxOpenChangeData,\n ComboboxOpenEvents,\n ComboboxProps,\n ComboboxSlots,\n ComboboxState,\n} from './Combobox.types';\nexport { renderCombobox_unstable } from './renderCombobox';\nexport { useComboboxBase_unstable, useCombobox_unstable } from './useCombobox';\nexport { comboboxClassNames, useComboboxStyles_unstable } from './useComboboxStyles.styles';\n"],"names":["Combobox","renderCombobox_unstable","useComboboxBase_unstable","useCombobox_unstable","comboboxClassNames","useComboboxStyles_unstable"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,gBAAa;AAYtC,SAASC,uBAAuB,QAAQ,sBAAmB;AAC3D,SAASC,wBAAwB,EAAEC,oBAAoB,QAAQ,mBAAgB;AAC/E,SAASC,kBAAkB,EAAEC,0BAA0B,QAAQ,gCAA6B"}
1
+ {"version":3,"sources":["../../../src/components/Combobox/index.ts"],"sourcesContent":["export { Combobox } from './Combobox';\nexport type {\n ActiveOptionChangeData,\n BaseComboboxProps,\n BaseComboboxState,\n ComboboxContextValues,\n ComboboxOpenChangeData,\n ComboboxOpenEvents,\n ComboboxProps,\n ComboboxSlots,\n ComboboxState,\n} from './Combobox.types';\nexport { renderCombobox_unstable } from './renderCombobox';\nexport { useComboboxBase_unstable, useCombobox_unstable } from './useCombobox';\nexport { comboboxClassNames, useComboboxStyles_unstable } from './useComboboxStyles.styles';\n"],"names":["Combobox","renderCombobox_unstable","useComboboxBase_unstable","useCombobox_unstable","comboboxClassNames","useComboboxStyles_unstable"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,gBAAa;AAYtC,SAASC,uBAAuB,QAAQ,sBAAmB;AAC3D,SAASC,wBAAwB,EAAEC,oBAAoB,QAAQ,mBAAgB;AAC/E,SAASC,kBAAkB,EAAEC,0BAA0B,QAAQ,gCAA6B"}
@@ -1,5 +1,5 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@fluentui/react-jsx-runtime/jsx-runtime";
2
- import { Portal } from "@fluentui/react-portal";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@fluentui/react-jsx-runtime/jsx-runtime";
2
+ import { Portal } from "@fluentui/react-portal";
3
3
  import { ActiveDescendantContextProvider } from "@fluentui/react-aria";
4
4
  import { assertSlots } from "@fluentui/react-utilities";
5
5
  import { ComboboxContext } from "../../contexts/ComboboxContext.js";
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Combobox/renderCombobox.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\nimport { Portal } from '@fluentui/react-portal';\nimport { ActiveDescendantContextProvider } from '@fluentui/react-aria';\n\nimport { assertSlots } from '@fluentui/react-utilities';\nimport type { JSXElement } from '@fluentui/react-utilities';\nimport { ComboboxContext } from '../../contexts/ComboboxContext';\nimport type { ComboboxContextValues, BaseComboboxState, ComboboxSlots } from './Combobox.types';\nimport { ListboxProvider } from '../../contexts/ListboxContext';\n\n/**\n * Render the final JSX of Combobox\n */\nexport const renderCombobox_unstable = (state: BaseComboboxState, contextValues: ComboboxContextValues): JSXElement => {\n assertSlots<ComboboxSlots>(state);\n\n return (\n <state.root>\n <ActiveDescendantContextProvider value={contextValues.activeDescendant}>\n <ListboxProvider value={contextValues.listbox}>\n {/*eslint-disable-next-line @typescript-eslint/no-deprecated*/}\n <ComboboxContext.Provider value={contextValues.combobox}>\n <state.input />\n {state.clearIcon && <state.clearIcon />}\n {state.expandIcon && <state.expandIcon />}\n {state.listbox &&\n (state.inlinePopup ? (\n <state.listbox />\n ) : (\n <Portal mountNode={state.mountNode}>\n <state.listbox />\n </Portal>\n ))}\n {/*eslint-disable-next-line @typescript-eslint/no-deprecated*/}\n </ComboboxContext.Provider>\n </ListboxProvider>\n </ActiveDescendantContextProvider>\n </state.root>\n );\n};\n"],"names":["Portal","ActiveDescendantContextProvider","assertSlots","ComboboxContext","ListboxProvider","renderCombobox_unstable","state","contextValues","root","value","activeDescendant","listbox","Provider","combobox","input","clearIcon","expandIcon","inlinePopup","mountNode"],"mappings":"AAAA,0BAA0B,GAC1B,iDAAiD;AACjD,SAASA,MAAM,QAAQ,yBAAyB;AAChD,SAASC,+BAA+B,QAAQ,uBAAuB;AAEvE,SAASC,WAAW,QAAQ,4BAA4B;AAExD,SAASC,eAAe,QAAQ,oCAAiC;AAEjE,SAASC,eAAe,QAAQ,mCAAgC;AAEhE;;CAEC,GACD,OAAO,MAAMC,0BAA0B,CAACC,OAA0BC;IAChEL,YAA2BI;IAE3B,qBACE,KAACA,MAAME,IAAI;kBACT,cAAA,KAACP;YAAgCQ,OAAOF,cAAcG,gBAAgB;sBACpE,cAAA,KAACN;gBAAgBK,OAAOF,cAAcI,OAAO;0BAE3C,cAAA,MAACR,gBAAgBS,QAAQ;oBAACH,OAAOF,cAAcM,QAAQ;;sCACrD,KAACP,MAAMQ,KAAK;wBACXR,MAAMS,SAAS,kBAAI,KAACT,MAAMS,SAAS;wBACnCT,MAAMU,UAAU,kBAAI,KAACV,MAAMU,UAAU;wBACrCV,MAAMK,OAAO,IACXL,CAAAA,MAAMW,WAAW,iBAChB,KAACX,MAAMK,OAAO,sBAEd,KAACX;4BAAOkB,WAAWZ,MAAMY,SAAS;sCAChC,cAAA,KAACZ,MAAMK,OAAO;0BAElB;;;;;;AAOd,EAAE"}
1
+ {"version":3,"sources":["../../../src/components/Combobox/renderCombobox.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\nimport { Portal } from '@fluentui/react-portal';\nimport { ActiveDescendantContextProvider } from '@fluentui/react-aria';\n\nimport { assertSlots } from '@fluentui/react-utilities';\nimport type { JSXElement } from '@fluentui/react-utilities';\nimport { ComboboxContext } from '../../contexts/ComboboxContext';\nimport type { ComboboxContextValues, BaseComboboxState, ComboboxSlots } from './Combobox.types';\nimport { ListboxProvider } from '../../contexts/ListboxContext';\n\n/**\n * Render the final JSX of Combobox\n */\nexport const renderCombobox_unstable = (state: BaseComboboxState, contextValues: ComboboxContextValues): JSXElement => {\n assertSlots<ComboboxSlots>(state);\n\n return (\n <state.root>\n <ActiveDescendantContextProvider value={contextValues.activeDescendant}>\n <ListboxProvider value={contextValues.listbox}>\n {/*eslint-disable-next-line @typescript-eslint/no-deprecated*/}\n <ComboboxContext.Provider value={contextValues.combobox}>\n <state.input />\n {state.clearIcon && <state.clearIcon />}\n {state.expandIcon && <state.expandIcon />}\n {state.listbox &&\n (state.inlinePopup ? (\n <state.listbox />\n ) : (\n <Portal mountNode={state.mountNode}>\n <state.listbox />\n </Portal>\n ))}\n {/*eslint-disable-next-line @typescript-eslint/no-deprecated*/}\n </ComboboxContext.Provider>\n </ListboxProvider>\n </ActiveDescendantContextProvider>\n </state.root>\n );\n};\n"],"names":["Portal","ActiveDescendantContextProvider","assertSlots","ComboboxContext","ListboxProvider","renderCombobox_unstable","state","contextValues","root","value","activeDescendant","listbox","Provider","combobox","input","clearIcon","expandIcon","inlinePopup","mountNode"],"mappings":";AAAA,0BAA0B,GAC1B,iDAAiD,GACjD,SAASA,MAAM,QAAQ,yBAAyB;AAChD,SAASC,+BAA+B,QAAQ,uBAAuB;AAEvE,SAASC,WAAW,QAAQ,4BAA4B;AAExD,SAASC,eAAe,QAAQ,oCAAiC;AAEjE,SAASC,eAAe,QAAQ,mCAAgC;AAEhE;;CAEC,GACD,OAAO,MAAMC,0BAA0B,CAACC,OAA0BC;IAChEL,YAA2BI;IAE3B,qBACE,KAACA,MAAME,IAAI;kBACT,cAAA,KAACP;YAAgCQ,OAAOF,cAAcG,gBAAgB;sBACpE,cAAA,KAACN;gBAAgBK,OAAOF,cAAcI,OAAO;0BAE3C,cAAA,MAACR,gBAAgBS,QAAQ;oBAACH,OAAOF,cAAcM,QAAQ;;sCACrD,KAACP,MAAMQ,KAAK;wBACXR,MAAMS,SAAS,kBAAI,KAACT,MAAMS,SAAS;wBACnCT,MAAMU,UAAU,kBAAI,KAACV,MAAMU,UAAU;wBACrCV,MAAMK,OAAO,IACXL,CAAAA,MAAMW,WAAW,iBAChB,KAACX,MAAMK,OAAO,sBAEd,KAACX;4BAAOkB,WAAWZ,MAAMY,SAAS;sCAChC,cAAA,KAACZ,MAAMK,OAAO;0BAElB;;;;;;AAOd,EAAE"}