|
| 1 | +## API Report File for "@fluentui/react-headless-components-preview" |
| 2 | + |
| 3 | +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). |
| 4 | +
|
| 5 | +```ts |
| 6 | + |
| 7 | +import type { BaseComboboxProps } from '@fluentui/react-combobox'; |
| 8 | +import type { BaseComboboxState } from '@fluentui/react-combobox'; |
| 9 | +import { ComboboxContextValues } from '@fluentui/react-combobox'; |
| 10 | +import type { ForwardRefComponent } from '@fluentui/react-utilities'; |
| 11 | +import { JSXElement } from '@fluentui/react-utilities'; |
| 12 | +import { ListboxContextValues as ListboxContextValues_2 } from '@fluentui/react-combobox'; |
| 13 | +import type { ListboxProps as ListboxProps_2 } from '@fluentui/react-combobox'; |
| 14 | +import type { ListboxSlots as ListboxSlots_2 } from '@fluentui/react-combobox'; |
| 15 | +import { ListboxState as ListboxState_2 } from '@fluentui/react-combobox'; |
| 16 | +import type { OptionGroupProps as OptionGroupProps_2 } from '@fluentui/react-combobox'; |
| 17 | +import type { OptionGroupSlots as OptionGroupSlots_2 } from '@fluentui/react-combobox'; |
| 18 | +import { OptionGroupState as OptionGroupState_2 } from '@fluentui/react-combobox'; |
| 19 | +import type { OptionProps as OptionProps_2 } from '@fluentui/react-combobox'; |
| 20 | +import type { OptionSlots as OptionSlots_2 } from '@fluentui/react-combobox'; |
| 21 | +import { OptionState as OptionState_2 } from '@fluentui/react-combobox'; |
| 22 | +import type * as React_2 from 'react'; |
| 23 | + |
| 24 | +// @public (undocumented) |
| 25 | +export const Combobox: ForwardRefComponent<ComboboxProps>; |
| 26 | + |
| 27 | +// @public (undocumented) |
| 28 | +export type ComboboxProps = Omit<BaseComboboxProps, 'inlinePopup' | 'mountNode'>; |
| 29 | + |
| 30 | +// @public (undocumented) |
| 31 | +export type ComboboxState = BaseComboboxState & { |
| 32 | + input: { |
| 33 | + 'data-state'?: 'open' | 'closed'; |
| 34 | + 'data-disabled'?: string; |
| 35 | + 'data-placeholder'?: string; |
| 36 | + }; |
| 37 | +}; |
| 38 | + |
| 39 | +// @public |
| 40 | +export const Listbox: ForwardRefComponent<ListboxProps>; |
| 41 | + |
| 42 | +// @public |
| 43 | +export type ListboxContextValues = ListboxContextValues_2; |
| 44 | + |
| 45 | +// @public |
| 46 | +export type ListboxProps = ListboxProps_2; |
| 47 | + |
| 48 | +// @public (undocumented) |
| 49 | +export type ListboxSlots = ListboxSlots_2; |
| 50 | + |
| 51 | +// @public |
| 52 | +export type ListboxState = ListboxState_2; |
| 53 | + |
| 54 | +// @public |
| 55 | +const Option_2: ForwardRefComponent<OptionProps>; |
| 56 | +export { Option_2 as Option } |
| 57 | + |
| 58 | +// @public |
| 59 | +export const OptionGroup: ForwardRefComponent<OptionGroupProps>; |
| 60 | + |
| 61 | +// @public |
| 62 | +export type OptionGroupProps = OptionGroupProps_2; |
| 63 | + |
| 64 | +// @public (undocumented) |
| 65 | +export type OptionGroupSlots = OptionGroupSlots_2; |
| 66 | + |
| 67 | +// @public |
| 68 | +export type OptionGroupState = OptionGroupState_2; |
| 69 | + |
| 70 | +// @public |
| 71 | +export type OptionProps = OptionProps_2; |
| 72 | + |
| 73 | +// @public (undocumented) |
| 74 | +export type OptionSlots = OptionSlots_2; |
| 75 | + |
| 76 | +// @public |
| 77 | +export type OptionState = OptionState_2 & { |
| 78 | + root: { |
| 79 | + 'data-disabled'?: string; |
| 80 | + 'data-selected'?: string; |
| 81 | + }; |
| 82 | +}; |
| 83 | + |
| 84 | +// @public (undocumented) |
| 85 | +export const renderCombobox: (state: ComboboxState, contextValues: ComboboxContextValues) => JSXElement; |
| 86 | + |
| 87 | +// @public |
| 88 | +export const renderListbox: (state: ListboxState_2, contextValues: ListboxContextValues_2) => JSXElement; |
| 89 | + |
| 90 | +// @public |
| 91 | +export const renderOption: (state: OptionState_2) => JSXElement; |
| 92 | + |
| 93 | +// @public |
| 94 | +export const renderOptionGroup: (state: OptionGroupState_2) => JSXElement; |
| 95 | + |
| 96 | +// @public (undocumented) |
| 97 | +export const useCombobox: (props: ComboboxProps, ref: React_2.Ref<HTMLInputElement>) => ComboboxState; |
| 98 | + |
| 99 | +// @public (undocumented) |
| 100 | +export const useComboboxContextValues: (state: ComboboxState) => ComboboxContextValues; |
| 101 | + |
| 102 | +// @public |
| 103 | +export const useListbox: (props: ListboxProps, ref: React_2.Ref<HTMLElement>) => ListboxState; |
| 104 | + |
| 105 | +// @public (undocumented) |
| 106 | +export const useListboxContextValues: (state: ListboxState) => ListboxContextValues; |
| 107 | + |
| 108 | +// @public |
| 109 | +export const useOption: (props: OptionProps, ref: React_2.Ref<HTMLElement>) => OptionState; |
| 110 | + |
| 111 | +// @public |
| 112 | +export const useOptionGroup: (props: OptionGroupProps, ref: React_2.Ref<HTMLElement>) => OptionGroupState; |
| 113 | + |
| 114 | +// (No @packageDocumentation comment for this package) |
| 115 | + |
| 116 | +``` |
0 commit comments