@fluentui/react-combobox 9.2.8 → 9.2.10

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.json CHANGED
@@ -2,7 +2,103 @@
2
2
  "name": "@fluentui/react-combobox",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 06 Apr 2023 23:59:46 GMT",
5
+ "date": "Mon, 17 Apr 2023 17:49:57 GMT",
6
+ "tag": "@fluentui/react-combobox_v9.2.10",
7
+ "version": "9.2.10",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "behowell@microsoft.com",
12
+ "package": "@fluentui/react-combobox",
13
+ "commit": "273116e8efaf4230474a0f214e9adbb5f556e5de",
14
+ "comment": "chore: Remove deprecated ComboboxField_unstable shim component"
15
+ },
16
+ {
17
+ "author": "behowell@microsoft.com",
18
+ "package": "@fluentui/react-combobox",
19
+ "commit": "36f98c3a49334e4ea9b22774691560d11010f2e7",
20
+ "comment": "chore: Update react-field dependency version"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui/react-combobox",
25
+ "comment": "Bump @fluentui/react-context-selector to v9.1.18",
26
+ "commit": "35d247e0b6a8c2b22e69942afbabe18043e59585"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui/react-combobox",
31
+ "comment": "Bump @fluentui/react-field to v9.1.0",
32
+ "commit": "35d247e0b6a8c2b22e69942afbabe18043e59585"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui/react-combobox",
37
+ "comment": "Bump @fluentui/react-portal to v9.2.6",
38
+ "commit": "35d247e0b6a8c2b22e69942afbabe18043e59585"
39
+ },
40
+ {
41
+ "author": "beachball",
42
+ "package": "@fluentui/react-combobox",
43
+ "comment": "Bump @fluentui/react-positioning to v9.5.10",
44
+ "commit": "35d247e0b6a8c2b22e69942afbabe18043e59585"
45
+ },
46
+ {
47
+ "author": "beachball",
48
+ "package": "@fluentui/react-combobox",
49
+ "comment": "Bump @fluentui/react-utilities to v9.8.0",
50
+ "commit": "35d247e0b6a8c2b22e69942afbabe18043e59585"
51
+ }
52
+ ]
53
+ }
54
+ },
55
+ {
56
+ "date": "Wed, 12 Apr 2023 09:31:43 GMT",
57
+ "tag": "@fluentui/react-combobox_v9.2.9",
58
+ "version": "9.2.9",
59
+ "comments": {
60
+ "patch": [
61
+ {
62
+ "author": "sarah.higley@microsoft.com",
63
+ "package": "@fluentui/react-combobox",
64
+ "commit": "7b241289e260b97db8cd1fc4347d521a694b06d7",
65
+ "comment": "fix: popup now defines fallbackPositions to use when it doesn't fit the screen"
66
+ },
67
+ {
68
+ "author": "beachball",
69
+ "package": "@fluentui/react-combobox",
70
+ "comment": "Bump @fluentui/react-context-selector to v9.1.17",
71
+ "commit": "45cb6089b0f5f464ae0dd9e9cba7e199a9d67cd8"
72
+ },
73
+ {
74
+ "author": "beachball",
75
+ "package": "@fluentui/react-combobox",
76
+ "comment": "Bump @fluentui/react-field to v9.0.0-beta.2",
77
+ "commit": "45cb6089b0f5f464ae0dd9e9cba7e199a9d67cd8"
78
+ },
79
+ {
80
+ "author": "beachball",
81
+ "package": "@fluentui/react-combobox",
82
+ "comment": "Bump @fluentui/react-portal to v9.2.5",
83
+ "commit": "45cb6089b0f5f464ae0dd9e9cba7e199a9d67cd8"
84
+ },
85
+ {
86
+ "author": "beachball",
87
+ "package": "@fluentui/react-combobox",
88
+ "comment": "Bump @fluentui/react-positioning to v9.5.9",
89
+ "commit": "45cb6089b0f5f464ae0dd9e9cba7e199a9d67cd8"
90
+ },
91
+ {
92
+ "author": "beachball",
93
+ "package": "@fluentui/react-combobox",
94
+ "comment": "Bump @fluentui/react-utilities to v9.7.4",
95
+ "commit": "45cb6089b0f5f464ae0dd9e9cba7e199a9d67cd8"
96
+ }
97
+ ]
98
+ }
99
+ },
100
+ {
101
+ "date": "Fri, 07 Apr 2023 00:01:37 GMT",
6
102
  "tag": "@fluentui/react-combobox_v9.2.8",
7
103
  "version": "9.2.8",
8
104
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,41 @@
1
1
  # Change Log - @fluentui/react-combobox
2
2
 
3
- This log was last generated on Thu, 06 Apr 2023 23:59:46 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 17 Apr 2023 17:49:57 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.2.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-combobox_v9.2.10)
8
+
9
+ Mon, 17 Apr 2023 17:49:57 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-combobox_v9.2.9..@fluentui/react-combobox_v9.2.10)
11
+
12
+ ### Patches
13
+
14
+ - chore: Remove deprecated ComboboxField_unstable shim component ([PR #27492](https://github.com/microsoft/fluentui/pull/27492) by behowell@microsoft.com)
15
+ - chore: Update react-field dependency version ([PR #27493](https://github.com/microsoft/fluentui/pull/27493) by behowell@microsoft.com)
16
+ - Bump @fluentui/react-context-selector to v9.1.18 ([PR #27564](https://github.com/microsoft/fluentui/pull/27564) by beachball)
17
+ - Bump @fluentui/react-field to v9.1.0 ([PR #27564](https://github.com/microsoft/fluentui/pull/27564) by beachball)
18
+ - Bump @fluentui/react-portal to v9.2.6 ([PR #27564](https://github.com/microsoft/fluentui/pull/27564) by beachball)
19
+ - Bump @fluentui/react-positioning to v9.5.10 ([PR #27564](https://github.com/microsoft/fluentui/pull/27564) by beachball)
20
+ - Bump @fluentui/react-utilities to v9.8.0 ([PR #27564](https://github.com/microsoft/fluentui/pull/27564) by beachball)
21
+
22
+ ## [9.2.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-combobox_v9.2.9)
23
+
24
+ Wed, 12 Apr 2023 09:31:43 GMT
25
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-combobox_v9.2.8..@fluentui/react-combobox_v9.2.9)
26
+
27
+ ### Patches
28
+
29
+ - fix: popup now defines fallbackPositions to use when it doesn't fit the screen ([PR #27521](https://github.com/microsoft/fluentui/pull/27521) by sarah.higley@microsoft.com)
30
+ - Bump @fluentui/react-context-selector to v9.1.17 ([PR #27274](https://github.com/microsoft/fluentui/pull/27274) by beachball)
31
+ - Bump @fluentui/react-field to v9.0.0-beta.2 ([PR #27274](https://github.com/microsoft/fluentui/pull/27274) by beachball)
32
+ - Bump @fluentui/react-portal to v9.2.5 ([PR #27274](https://github.com/microsoft/fluentui/pull/27274) by beachball)
33
+ - Bump @fluentui/react-positioning to v9.5.9 ([PR #27274](https://github.com/microsoft/fluentui/pull/27274) by beachball)
34
+ - Bump @fluentui/react-utilities to v9.7.4 ([PR #27274](https://github.com/microsoft/fluentui/pull/27274) by beachball)
35
+
7
36
  ## [9.2.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-combobox_v9.2.8)
8
37
 
9
- Thu, 06 Apr 2023 23:59:46 GMT
38
+ Fri, 07 Apr 2023 00:01:37 GMT
10
39
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-combobox_v9.2.7..@fluentui/react-combobox_v9.2.8)
11
40
 
12
41
  ### Patches
package/dist/index.d.ts CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  import type { ComponentProps } from '@fluentui/react-utilities';
4
4
  import type { ComponentState } from '@fluentui/react-utilities';
5
- import { DeprecatedFieldProps } from '@fluentui/react-field';
6
5
  import { FC } from 'react';
7
6
  import type { ForwardRefComponent } from '@fluentui/react-utilities';
8
7
  import type { PositioningShorthand } from '@fluentui/react-positioning';
@@ -108,22 +107,6 @@ export declare type ComboboxContextValue = Pick<ComboboxState, 'activeOption' |
108
107
 
109
108
  export declare type ComboboxContextValues = ComboboxBaseContextValues;
110
109
 
111
- /** @deprecated Use Field with Combobox: `<Field><Combobox /></Field>` */
112
- export declare const ComboboxField_unstable: ForwardRefComponent<ComboboxFieldProps_unstable>;
113
-
114
- /** @deprecated Use Field with Combobox: `<Field><Combobox /></Field>` */
115
- export declare const comboboxFieldClassNames: {
116
- control: string;
117
- root: string;
118
- label: string;
119
- validationMessage: string;
120
- validationMessageIcon: string;
121
- hint: string;
122
- };
123
-
124
- /** @deprecated Use Field with Combobox: `<Field><Combobox /></Field>` */
125
- export declare type ComboboxFieldProps_unstable = DeprecatedFieldProps<ComboboxProps>;
126
-
127
110
  export declare type ComboboxOpenChangeData = ComboboxBaseOpenChangeData;
128
111
 
129
112
  export declare type ComboboxOpenEvents = ComboboxBaseOpenEvents;
package/lib/index.js CHANGED
@@ -7,6 +7,4 @@ export { Option, optionClassNames, renderOption_unstable, useOptionStyles_unstab
7
7
  export { Combobox, comboboxClassNames, renderCombobox_unstable, useComboboxStyles_unstable, useCombobox_unstable } from './Combobox';
8
8
  export { Dropdown, dropdownClassNames, renderDropdown_unstable, useDropdownStyles_unstable, useDropdown_unstable } from './Dropdown';
9
9
  export { OptionGroup, optionGroupClassNames, renderOptionGroup_unstable, useOptionGroupStyles_unstable, useOptionGroup_unstable } from './OptionGroup';
10
- // eslint-disable-next-line deprecation/deprecation
11
- export { ComboboxField as ComboboxField_unstable, comboboxFieldClassNames } from './ComboboxField';
12
10
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":["ComboboxProvider","ListboxProvider","useComboboxContextValues","useListboxContextValues","Listbox","listboxClassNames","renderListbox_unstable","useListboxStyles_unstable","useListbox_unstable","Option","optionClassNames","renderOption_unstable","useOptionStyles_unstable","useOption_unstable","Combobox","comboboxClassNames","renderCombobox_unstable","useComboboxStyles_unstable","useCombobox_unstable","Dropdown","dropdownClassNames","renderDropdown_unstable","useDropdownStyles_unstable","useDropdown_unstable","OptionGroup","optionGroupClassNames","renderOptionGroup_unstable","useOptionGroupStyles_unstable","useOptionGroup_unstable","ComboboxField","ComboboxField_unstable","comboboxFieldClassNames"],"sources":["../src/index.ts"],"sourcesContent":["export { ComboboxProvider } from './contexts/ComboboxContext';\nexport type { ComboboxContextValue } from './contexts/ComboboxContext';\nexport { ListboxProvider } from './contexts/ListboxContext';\nexport type { ListboxContextValue } from './contexts/ListboxContext';\nexport { useComboboxContextValues } from './contexts/useComboboxContextValues';\nexport { useListboxContextValues } from './contexts/useListboxContextValues';\nexport {\n Listbox,\n listboxClassNames,\n renderListbox_unstable,\n useListboxStyles_unstable,\n useListbox_unstable,\n} from './Listbox';\nexport type { ListboxContextValues, ListboxProps, ListboxSlots, ListboxState } from './Listbox';\nexport {\n Option,\n optionClassNames,\n renderOption_unstable,\n useOptionStyles_unstable,\n useOption_unstable,\n} from './Option';\nexport type { OptionProps, OptionSlots, OptionState } from './Option';\nexport {\n Combobox,\n comboboxClassNames,\n renderCombobox_unstable,\n useComboboxStyles_unstable,\n useCombobox_unstable,\n} from './Combobox';\nexport type {\n ComboboxContextValues,\n ComboboxOpenChangeData,\n ComboboxOpenEvents,\n ComboboxProps,\n ComboboxSlots,\n ComboboxState,\n} from './Combobox';\nexport {\n Dropdown,\n dropdownClassNames,\n renderDropdown_unstable,\n useDropdownStyles_unstable,\n useDropdown_unstable,\n} from './Dropdown';\nexport type {\n DropdownContextValues,\n DropdownOpenChangeData,\n DropdownOpenEvents,\n DropdownProps,\n DropdownSlots,\n DropdownState,\n} from './Dropdown';\nexport {\n OptionGroup,\n optionGroupClassNames,\n renderOptionGroup_unstable,\n useOptionGroupStyles_unstable,\n useOptionGroup_unstable,\n} from './OptionGroup';\nexport type { OptionGroupProps, OptionGroupSlots, OptionGroupState } from './OptionGroup';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { ComboboxField as ComboboxField_unstable, comboboxFieldClassNames } from './ComboboxField';\n// eslint-disable-next-line deprecation/deprecation\nexport type { ComboboxFieldProps as ComboboxFieldProps_unstable } from './ComboboxField';\n"],"mappings":"AAAA,SAASA,gBAAgB,QAAQ;AAEjC,SAASC,eAAe,QAAQ;AAEhC,SAASC,wBAAwB,QAAQ;AACzC,SAASC,uBAAuB,QAAQ;AACxC,SACEC,OAAO,EACPC,iBAAiB,EACjBC,sBAAsB,EACtBC,yBAAyB,EACzBC,mBAAmB,QACd;AAEP,SACEC,MAAM,EACNC,gBAAgB,EAChBC,qBAAqB,EACrBC,wBAAwB,EACxBC,kBAAkB,QACb;AAEP,SACEC,QAAQ,EACRC,kBAAkB,EAClBC,uBAAuB,EACvBC,0BAA0B,EAC1BC,oBAAoB,QACf;AASP,SACEC,QAAQ,EACRC,kBAAkB,EAClBC,uBAAuB,EACvBC,0BAA0B,EAC1BC,oBAAoB,QACf;AASP,SACEC,WAAW,EACXC,qBAAqB,EACrBC,0BAA0B,EAC1BC,6BAA6B,EAC7BC,uBAAuB,QAClB;AAGP;AACA,SAASC,aAAA,IAAiBC,sBAAsB,EAAEC,uBAAuB,QAAQ"}
1
+ {"version":3,"names":["ComboboxProvider","ListboxProvider","useComboboxContextValues","useListboxContextValues","Listbox","listboxClassNames","renderListbox_unstable","useListboxStyles_unstable","useListbox_unstable","Option","optionClassNames","renderOption_unstable","useOptionStyles_unstable","useOption_unstable","Combobox","comboboxClassNames","renderCombobox_unstable","useComboboxStyles_unstable","useCombobox_unstable","Dropdown","dropdownClassNames","renderDropdown_unstable","useDropdownStyles_unstable","useDropdown_unstable","OptionGroup","optionGroupClassNames","renderOptionGroup_unstable","useOptionGroupStyles_unstable","useOptionGroup_unstable"],"sources":["../src/index.ts"],"sourcesContent":["export { ComboboxProvider } from './contexts/ComboboxContext';\nexport type { ComboboxContextValue } from './contexts/ComboboxContext';\nexport { ListboxProvider } from './contexts/ListboxContext';\nexport type { ListboxContextValue } from './contexts/ListboxContext';\nexport { useComboboxContextValues } from './contexts/useComboboxContextValues';\nexport { useListboxContextValues } from './contexts/useListboxContextValues';\nexport {\n Listbox,\n listboxClassNames,\n renderListbox_unstable,\n useListboxStyles_unstable,\n useListbox_unstable,\n} from './Listbox';\nexport type { ListboxContextValues, ListboxProps, ListboxSlots, ListboxState } from './Listbox';\nexport {\n Option,\n optionClassNames,\n renderOption_unstable,\n useOptionStyles_unstable,\n useOption_unstable,\n} from './Option';\nexport type { OptionProps, OptionSlots, OptionState } from './Option';\nexport {\n Combobox,\n comboboxClassNames,\n renderCombobox_unstable,\n useComboboxStyles_unstable,\n useCombobox_unstable,\n} from './Combobox';\nexport type {\n ComboboxContextValues,\n ComboboxOpenChangeData,\n ComboboxOpenEvents,\n ComboboxProps,\n ComboboxSlots,\n ComboboxState,\n} from './Combobox';\nexport {\n Dropdown,\n dropdownClassNames,\n renderDropdown_unstable,\n useDropdownStyles_unstable,\n useDropdown_unstable,\n} from './Dropdown';\nexport type {\n DropdownContextValues,\n DropdownOpenChangeData,\n DropdownOpenEvents,\n DropdownProps,\n DropdownSlots,\n DropdownState,\n} from './Dropdown';\nexport {\n OptionGroup,\n optionGroupClassNames,\n renderOptionGroup_unstable,\n useOptionGroupStyles_unstable,\n useOptionGroup_unstable,\n} from './OptionGroup';\nexport type { OptionGroupProps, OptionGroupSlots, OptionGroupState } from './OptionGroup';\n"],"mappings":"AAAA,SAASA,gBAAgB,QAAQ;AAEjC,SAASC,eAAe,QAAQ;AAEhC,SAASC,wBAAwB,QAAQ;AACzC,SAASC,uBAAuB,QAAQ;AACxC,SACEC,OAAO,EACPC,iBAAiB,EACjBC,sBAAsB,EACtBC,yBAAyB,EACzBC,mBAAmB,QACd;AAEP,SACEC,MAAM,EACNC,gBAAgB,EAChBC,qBAAqB,EACrBC,wBAAwB,EACxBC,kBAAkB,QACb;AAEP,SACEC,QAAQ,EACRC,kBAAkB,EAClBC,uBAAuB,EACvBC,0BAA0B,EAC1BC,oBAAoB,QACf;AASP,SACEC,QAAQ,EACRC,kBAAkB,EAClBC,uBAAuB,EACvBC,0BAA0B,EAC1BC,oBAAoB,QACf;AASP,SACEC,WAAW,EACXC,qBAAqB,EACrBC,0BAA0B,EAC1BC,6BAA6B,EAC7BC,uBAAuB,QAClB"}
@@ -4,6 +4,8 @@ export function useComboboxPopup(props, triggerShorthand, listboxShorthand) {
4
4
  const {
5
5
  positioning
6
6
  } = props;
7
+ // Set a default set of fallback positions to try if the dropdown does not fit on screen
8
+ const fallbackPositions = ['above', 'after', 'after-top', 'before', 'before-top'];
7
9
  // popper options
8
10
  const popperOptions = {
9
11
  position: 'below',
@@ -12,6 +14,7 @@ export function useComboboxPopup(props, triggerShorthand, listboxShorthand) {
12
14
  crossAxis: 0,
13
15
  mainAxis: 2
14
16
  },
17
+ fallbackPositions,
15
18
  ...resolvePositioningShorthand(positioning)
16
19
  };
17
20
  const {
@@ -1 +1 @@
1
- {"version":3,"names":["resolvePositioningShorthand","usePositioning","useMergedRefs","useComboboxPopup","props","triggerShorthand","listboxShorthand","positioning","popperOptions","position","align","offset","crossAxis","mainAxis","targetRef","containerRef","listboxRef","ref","listbox"],"sources":["../../src/utils/useComboboxPopup.ts"],"sourcesContent":["import { resolvePositioningShorthand, usePositioning } from '@fluentui/react-positioning';\nimport { ExtractSlotProps, Slot, useMergedRefs } from '@fluentui/react-utilities';\nimport type { ComboboxBaseProps } from './ComboboxBase.types';\nimport { Listbox } from '../components/Listbox/Listbox';\n\nexport function useComboboxPopup(\n props: ComboboxBaseProps,\n triggerShorthand?: ExtractSlotProps<Slot<'button'>>,\n listboxShorthand?: ExtractSlotProps<Slot<typeof Listbox>>,\n): [trigger: ExtractSlotProps<Slot<'button'>>, listbox?: ExtractSlotProps<Slot<typeof Listbox>>];\nexport function useComboboxPopup(\n props: ComboboxBaseProps,\n triggerShorthand?: ExtractSlotProps<Slot<'input'>>,\n listboxShorthand?: ExtractSlotProps<Slot<typeof Listbox>>,\n): [trigger: ExtractSlotProps<Slot<'input'>>, listbox?: ExtractSlotProps<Slot<typeof Listbox>>];\n\nexport function useComboboxPopup(\n props: ComboboxBaseProps,\n triggerShorthand?: ExtractSlotProps<Slot<'input'>> | ExtractSlotProps<Slot<'button'>>,\n listboxShorthand?: ExtractSlotProps<Slot<typeof Listbox>>,\n): [\n trigger: ExtractSlotProps<Slot<'input'>> | ExtractSlotProps<Slot<'button'>>,\n listbox?: ExtractSlotProps<Slot<typeof Listbox>>,\n] {\n const { positioning } = props;\n\n // popper options\n const popperOptions = {\n position: 'below' as const,\n align: 'start' as const,\n offset: { crossAxis: 0, mainAxis: 2 },\n ...resolvePositioningShorthand(positioning),\n };\n\n const { targetRef, containerRef } = usePositioning(popperOptions);\n\n const listboxRef = useMergedRefs(listboxShorthand?.ref, containerRef);\n const listbox = listboxShorthand && { ...listboxShorthand, ref: listboxRef };\n\n return [{ ...triggerShorthand, ref: useMergedRefs(triggerShorthand?.ref, targetRef) }, listbox];\n}\n"],"mappings":"AAAA,SAASA,2BAA2B,EAAEC,cAAc,QAAQ;AAC5D,SAAiCC,aAAa,QAAQ;AAetD,OAAO,SAASC,iBACdC,KAAwB,EACxBC,gBAAqF,EACrFC,gBAAyD,EAIzD;EACA,MAAM;IAAEC;EAAW,CAAE,GAAGH,KAAA;EAExB;EACA,MAAMI,aAAA,GAAgB;IACpBC,QAAA,EAAU;IACVC,KAAA,EAAO;IACPC,MAAA,EAAQ;MAAEC,SAAA,EAAW;MAAGC,QAAA,EAAU;IAAE;IACpC,GAAGb,2BAAA,CAA4BO,WAAA;EACjC;EAEA,MAAM;IAAEO,SAAA;IAAWC;EAAY,CAAE,GAAGd,cAAA,CAAeO,aAAA;EAEnD,MAAMQ,UAAA,GAAad,aAAA,CAAcI,gBAAA,aAAAA,gBAAA,uBAAAA,gBAAA,CAAkBW,GAAG,EAAEF,YAAA;EACxD,MAAMG,OAAA,GAAUZ,gBAAA,IAAoB;IAAE,GAAGA,gBAAgB;IAAEW,GAAA,EAAKD;EAAW;EAE3E,OAAO,CAAC;IAAE,GAAGX,gBAAgB;IAAEY,GAAA,EAAKf,aAAA,CAAcG,gBAAA,aAAAA,gBAAA,uBAAAA,gBAAA,CAAkBY,GAAG,EAAEH,SAAA;EAAW,GAAGI,OAAA,CAAQ;AACjG"}
1
+ {"version":3,"names":["resolvePositioningShorthand","usePositioning","useMergedRefs","useComboboxPopup","props","triggerShorthand","listboxShorthand","positioning","fallbackPositions","popperOptions","position","align","offset","crossAxis","mainAxis","targetRef","containerRef","listboxRef","ref","listbox"],"sources":["../../src/utils/useComboboxPopup.ts"],"sourcesContent":["import { PositioningShorthandValue, resolvePositioningShorthand, usePositioning } from '@fluentui/react-positioning';\nimport { ExtractSlotProps, Slot, useMergedRefs } from '@fluentui/react-utilities';\nimport type { ComboboxBaseProps } from './ComboboxBase.types';\nimport { Listbox } from '../components/Listbox/Listbox';\n\nexport function useComboboxPopup(\n props: ComboboxBaseProps,\n triggerShorthand?: ExtractSlotProps<Slot<'button'>>,\n listboxShorthand?: ExtractSlotProps<Slot<typeof Listbox>>,\n): [trigger: ExtractSlotProps<Slot<'button'>>, listbox?: ExtractSlotProps<Slot<typeof Listbox>>];\nexport function useComboboxPopup(\n props: ComboboxBaseProps,\n triggerShorthand?: ExtractSlotProps<Slot<'input'>>,\n listboxShorthand?: ExtractSlotProps<Slot<typeof Listbox>>,\n): [trigger: ExtractSlotProps<Slot<'input'>>, listbox?: ExtractSlotProps<Slot<typeof Listbox>>];\n\nexport function useComboboxPopup(\n props: ComboboxBaseProps,\n triggerShorthand?: ExtractSlotProps<Slot<'input'>> | ExtractSlotProps<Slot<'button'>>,\n listboxShorthand?: ExtractSlotProps<Slot<typeof Listbox>>,\n): [\n trigger: ExtractSlotProps<Slot<'input'>> | ExtractSlotProps<Slot<'button'>>,\n listbox?: ExtractSlotProps<Slot<typeof Listbox>>,\n] {\n const { positioning } = props;\n\n // Set a default set of fallback positions to try if the dropdown does not fit on screen\n const fallbackPositions: PositioningShorthandValue[] = ['above', 'after', 'after-top', 'before', 'before-top'];\n\n // popper options\n const popperOptions = {\n position: 'below' as const,\n align: 'start' as const,\n offset: { crossAxis: 0, mainAxis: 2 },\n fallbackPositions,\n ...resolvePositioningShorthand(positioning),\n };\n\n const { targetRef, containerRef } = usePositioning(popperOptions);\n\n const listboxRef = useMergedRefs(listboxShorthand?.ref, containerRef);\n const listbox = listboxShorthand && { ...listboxShorthand, ref: listboxRef };\n\n return [{ ...triggerShorthand, ref: useMergedRefs(triggerShorthand?.ref, targetRef) }, listbox];\n}\n"],"mappings":"AAAA,SAAoCA,2BAA2B,EAAEC,cAAc,QAAQ;AACvF,SAAiCC,aAAa,QAAQ;AAetD,OAAO,SAASC,iBACdC,KAAwB,EACxBC,gBAAqF,EACrFC,gBAAyD,EAIzD;EACA,MAAM;IAAEC;EAAW,CAAE,GAAGH,KAAA;EAExB;EACA,MAAMI,iBAAA,GAAiD,CAAC,SAAS,SAAS,aAAa,UAAU,aAAa;EAE9G;EACA,MAAMC,aAAA,GAAgB;IACpBC,QAAA,EAAU;IACVC,KAAA,EAAO;IACPC,MAAA,EAAQ;MAAEC,SAAA,EAAW;MAAGC,QAAA,EAAU;IAAE;IACpCN,iBAAA;IACA,GAAGR,2BAAA,CAA4BO,WAAA;EACjC;EAEA,MAAM;IAAEQ,SAAA;IAAWC;EAAY,CAAE,GAAGf,cAAA,CAAeQ,aAAA;EAEnD,MAAMQ,UAAA,GAAaf,aAAA,CAAcI,gBAAA,aAAAA,gBAAA,uBAAAA,gBAAA,CAAkBY,GAAG,EAAEF,YAAA;EACxD,MAAMG,OAAA,GAAUb,gBAAA,IAAoB;IAAE,GAAGA,gBAAgB;IAAEY,GAAA,EAAKD;EAAW;EAE3E,OAAO,CAAC;IAAE,GAAGZ,gBAAgB;IAAEa,GAAA,EAAKhB,aAAA,CAAcG,gBAAA,aAAAA,gBAAA,uBAAAA,gBAAA,CAAkBa,GAAG,EAAEH,SAAA;EAAW,GAAGI,OAAA,CAAQ;AACjG"}
@@ -37,9 +37,7 @@ _export(exports, {
37
37
  optionGroupClassNames: ()=>_optionGroup.optionGroupClassNames,
38
38
  renderOptionGroup_unstable: ()=>_optionGroup.renderOptionGroup_unstable,
39
39
  useOptionGroupStyles_unstable: ()=>_optionGroup.useOptionGroupStyles_unstable,
40
- useOptionGroup_unstable: ()=>_optionGroup.useOptionGroup_unstable,
41
- ComboboxField_unstable: ()=>_comboboxField.ComboboxField,
42
- comboboxFieldClassNames: ()=>_comboboxField.comboboxFieldClassNames
40
+ useOptionGroup_unstable: ()=>_optionGroup.useOptionGroup_unstable
43
41
  });
44
42
  const _comboboxContext = require("./contexts/ComboboxContext");
45
43
  const _listboxContext = require("./contexts/ListboxContext");
@@ -50,7 +48,6 @@ const _option = require("./Option");
50
48
  const _combobox = require("./Combobox");
51
49
  const _dropdown = require("./Dropdown");
52
50
  const _optionGroup = require("./OptionGroup");
53
- const _comboboxField = require("./ComboboxField");
54
51
  //# sourceMappingURL=index.js.map
55
52
 
56
53
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/index.js"],"sourcesContent":["export { ComboboxProvider } from './contexts/ComboboxContext';\nexport { ListboxProvider } from './contexts/ListboxContext';\nexport { useComboboxContextValues } from './contexts/useComboboxContextValues';\nexport { useListboxContextValues } from './contexts/useListboxContextValues';\nexport { Listbox, listboxClassNames, renderListbox_unstable, useListboxStyles_unstable, useListbox_unstable } from './Listbox';\nexport { Option, optionClassNames, renderOption_unstable, useOptionStyles_unstable, useOption_unstable } from './Option';\nexport { Combobox, comboboxClassNames, renderCombobox_unstable, useComboboxStyles_unstable, useCombobox_unstable } from './Combobox';\nexport { Dropdown, dropdownClassNames, renderDropdown_unstable, useDropdownStyles_unstable, useDropdown_unstable } from './Dropdown';\nexport { OptionGroup, optionGroupClassNames, renderOptionGroup_unstable, useOptionGroupStyles_unstable, useOptionGroup_unstable } from './OptionGroup';\n// eslint-disable-next-line deprecation/deprecation\nexport { ComboboxField as ComboboxField_unstable, comboboxFieldClassNames } from './ComboboxField';\n//# sourceMappingURL=index.js.map"],"names":["ComboboxProvider","ListboxProvider","useComboboxContextValues","useListboxContextValues","Listbox","listboxClassNames","renderListbox_unstable","useListboxStyles_unstable","useListbox_unstable","Option","optionClassNames","renderOption_unstable","useOptionStyles_unstable","useOption_unstable","Combobox","comboboxClassNames","renderCombobox_unstable","useComboboxStyles_unstable","useCombobox_unstable","Dropdown","dropdownClassNames","renderDropdown_unstable","useDropdownStyles_unstable","useDropdown_unstable","OptionGroup","optionGroupClassNames","renderOptionGroup_unstable","useOptionGroupStyles_unstable","useOptionGroup_unstable","ComboboxField_unstable","ComboboxField","comboboxFieldClassNames"],"mappings":";;;;;;;;;;;IAASA,gBAAgB,MAAhBA,iCAAgB;IAChBC,eAAe,MAAfA,+BAAe;IACfC,wBAAwB,MAAxBA,kDAAwB;IACxBC,uBAAuB,MAAvBA,gDAAuB;IACvBC,OAAO,MAAPA,gBAAO;IAAEC,iBAAiB,MAAjBA,0BAAiB;IAAEC,sBAAsB,MAAtBA,+BAAsB;IAAEC,yBAAyB,MAAzBA,kCAAyB;IAAEC,mBAAmB,MAAnBA,4BAAmB;IAClGC,MAAM,MAANA,cAAM;IAAEC,gBAAgB,MAAhBA,wBAAgB;IAAEC,qBAAqB,MAArBA,6BAAqB;IAAEC,wBAAwB,MAAxBA,gCAAwB;IAAEC,kBAAkB,MAAlBA,0BAAkB;IAC7FC,QAAQ,MAARA,kBAAQ;IAAEC,kBAAkB,MAAlBA,4BAAkB;IAAEC,uBAAuB,MAAvBA,iCAAuB;IAAEC,0BAA0B,MAA1BA,oCAA0B;IAAEC,oBAAoB,MAApBA,8BAAoB;IACvGC,QAAQ,MAARA,kBAAQ;IAAEC,kBAAkB,MAAlBA,4BAAkB;IAAEC,uBAAuB,MAAvBA,iCAAuB;IAAEC,0BAA0B,MAA1BA,oCAA0B;IAAEC,oBAAoB,MAApBA,8BAAoB;IACvGC,WAAW,MAAXA,wBAAW;IAAEC,qBAAqB,MAArBA,kCAAqB;IAAEC,0BAA0B,MAA1BA,uCAA0B;IAAEC,6BAA6B,MAA7BA,0CAA6B;IAAEC,uBAAuB,MAAvBA,oCAAuB;IAErGC,sBAAsB,MAAvCC,4BAAa;IAA4BC,uBAAuB,MAAvBA,sCAAuB;;iCAVxC;gCACD;0CACS;yCACD;yBAC2E;wBACL;0BACU;0BACA;6BACe;+BAEtD;CACjF,iCAAiC"}
1
+ {"version":3,"sources":["../lib/index.js"],"sourcesContent":["export { ComboboxProvider } from './contexts/ComboboxContext';\nexport { ListboxProvider } from './contexts/ListboxContext';\nexport { useComboboxContextValues } from './contexts/useComboboxContextValues';\nexport { useListboxContextValues } from './contexts/useListboxContextValues';\nexport { Listbox, listboxClassNames, renderListbox_unstable, useListboxStyles_unstable, useListbox_unstable } from './Listbox';\nexport { Option, optionClassNames, renderOption_unstable, useOptionStyles_unstable, useOption_unstable } from './Option';\nexport { Combobox, comboboxClassNames, renderCombobox_unstable, useComboboxStyles_unstable, useCombobox_unstable } from './Combobox';\nexport { Dropdown, dropdownClassNames, renderDropdown_unstable, useDropdownStyles_unstable, useDropdown_unstable } from './Dropdown';\nexport { OptionGroup, optionGroupClassNames, renderOptionGroup_unstable, useOptionGroupStyles_unstable, useOptionGroup_unstable } from './OptionGroup';\n//# sourceMappingURL=index.js.map"],"names":["ComboboxProvider","ListboxProvider","useComboboxContextValues","useListboxContextValues","Listbox","listboxClassNames","renderListbox_unstable","useListboxStyles_unstable","useListbox_unstable","Option","optionClassNames","renderOption_unstable","useOptionStyles_unstable","useOption_unstable","Combobox","comboboxClassNames","renderCombobox_unstable","useComboboxStyles_unstable","useCombobox_unstable","Dropdown","dropdownClassNames","renderDropdown_unstable","useDropdownStyles_unstable","useDropdown_unstable","OptionGroup","optionGroupClassNames","renderOptionGroup_unstable","useOptionGroupStyles_unstable","useOptionGroup_unstable"],"mappings":";;;;;;;;;;;IAASA,gBAAgB,MAAhBA,iCAAgB;IAChBC,eAAe,MAAfA,+BAAe;IACfC,wBAAwB,MAAxBA,kDAAwB;IACxBC,uBAAuB,MAAvBA,gDAAuB;IACvBC,OAAO,MAAPA,gBAAO;IAAEC,iBAAiB,MAAjBA,0BAAiB;IAAEC,sBAAsB,MAAtBA,+BAAsB;IAAEC,yBAAyB,MAAzBA,kCAAyB;IAAEC,mBAAmB,MAAnBA,4BAAmB;IAClGC,MAAM,MAANA,cAAM;IAAEC,gBAAgB,MAAhBA,wBAAgB;IAAEC,qBAAqB,MAArBA,6BAAqB;IAAEC,wBAAwB,MAAxBA,gCAAwB;IAAEC,kBAAkB,MAAlBA,0BAAkB;IAC7FC,QAAQ,MAARA,kBAAQ;IAAEC,kBAAkB,MAAlBA,4BAAkB;IAAEC,uBAAuB,MAAvBA,iCAAuB;IAAEC,0BAA0B,MAA1BA,oCAA0B;IAAEC,oBAAoB,MAApBA,8BAAoB;IACvGC,QAAQ,MAARA,kBAAQ;IAAEC,kBAAkB,MAAlBA,4BAAkB;IAAEC,uBAAuB,MAAvBA,iCAAuB;IAAEC,0BAA0B,MAA1BA,oCAA0B;IAAEC,oBAAoB,MAApBA,8BAAoB;IACvGC,WAAW,MAAXA,wBAAW;IAAEC,qBAAqB,MAArBA,kCAAqB;IAAEC,0BAA0B,MAA1BA,uCAA0B;IAAEC,6BAA6B,MAA7BA,0CAA6B;IAAEC,uBAAuB,MAAvBA,oCAAuB;;iCAR9F;gCACD;0CACS;yCACD;yBAC2E;wBACL;0BACU;0BACA;6BACe;CACvI,iCAAiC"}
@@ -10,6 +10,14 @@ const _reactPositioning = require("@fluentui/react-positioning");
10
10
  const _reactUtilities = require("@fluentui/react-utilities");
11
11
  function useComboboxPopup(props, triggerShorthand, listboxShorthand) {
12
12
  const { positioning } = props;
13
+ // Set a default set of fallback positions to try if the dropdown does not fit on screen
14
+ const fallbackPositions = [
15
+ 'above',
16
+ 'after',
17
+ 'after-top',
18
+ 'before',
19
+ 'before-top'
20
+ ];
13
21
  // popper options
14
22
  const popperOptions = {
15
23
  position: 'below',
@@ -18,6 +26,7 @@ function useComboboxPopup(props, triggerShorthand, listboxShorthand) {
18
26
  crossAxis: 0,
19
27
  mainAxis: 2
20
28
  },
29
+ fallbackPositions,
21
30
  ...(0, _reactPositioning.resolvePositioningShorthand)(positioning)
22
31
  };
23
32
  const { targetRef , containerRef } = (0, _reactPositioning.usePositioning)(popperOptions);
@@ -1 +1 @@
1
- {"version":3,"sources":["../../lib/utils/useComboboxPopup.js"],"sourcesContent":["import { resolvePositioningShorthand, usePositioning } from '@fluentui/react-positioning';\nimport { useMergedRefs } from '@fluentui/react-utilities';\nexport function useComboboxPopup(props, triggerShorthand, listboxShorthand) {\n const {\n positioning\n } = props;\n // popper options\n const popperOptions = {\n position: 'below',\n align: 'start',\n offset: {\n crossAxis: 0,\n mainAxis: 2\n },\n ...resolvePositioningShorthand(positioning)\n };\n const {\n targetRef,\n containerRef\n } = usePositioning(popperOptions);\n const listboxRef = useMergedRefs(listboxShorthand === null || listboxShorthand === void 0 ? void 0 : listboxShorthand.ref, containerRef);\n const listbox = listboxShorthand && {\n ...listboxShorthand,\n ref: listboxRef\n };\n return [{\n ...triggerShorthand,\n ref: useMergedRefs(triggerShorthand === null || triggerShorthand === void 0 ? void 0 : triggerShorthand.ref, targetRef)\n }, listbox];\n}\n//# sourceMappingURL=useComboboxPopup.js.map"],"names":["useComboboxPopup","props","triggerShorthand","listboxShorthand","positioning","popperOptions","position","align","offset","crossAxis","mainAxis","resolvePositioningShorthand","targetRef","containerRef","usePositioning","listboxRef","useMergedRefs","ref","listbox"],"mappings":";;;;+BAEgBA;;aAAAA;;kCAF4C;gCAC9B;AACvB,SAASA,iBAAiBC,KAAK,EAAEC,gBAAgB,EAAEC,gBAAgB,EAAE;IAC1E,MAAM,EACJC,YAAW,EACZ,GAAGH;IACJ,iBAAiB;IACjB,MAAMI,gBAAgB;QACpBC,UAAU;QACVC,OAAO;QACPC,QAAQ;YACNC,WAAW;YACXC,UAAU;QACZ;QACA,GAAGC,IAAAA,6CAA2B,EAACP,YAAY;IAC7C;IACA,MAAM,EACJQ,UAAS,EACTC,aAAY,EACb,GAAGC,IAAAA,gCAAc,EAACT;IACnB,MAAMU,aAAaC,IAAAA,6BAAa,EAACb,qBAAqB,IAAI,IAAIA,qBAAqB,KAAK,IAAI,KAAK,IAAIA,iBAAiBc,GAAG,EAAEJ;IAC3H,MAAMK,UAAUf,oBAAoB;QAClC,GAAGA,gBAAgB;QACnBc,KAAKF;IACP;IACA,OAAO;QAAC;YACN,GAAGb,gBAAgB;YACnBe,KAAKD,IAAAA,6BAAa,EAACd,qBAAqB,IAAI,IAAIA,qBAAqB,KAAK,IAAI,KAAK,IAAIA,iBAAiBe,GAAG,EAAEL;QAC/G;QAAGM;KAAQ;AACb,EACA,4CAA4C"}
1
+ {"version":3,"sources":["../../lib/utils/useComboboxPopup.js"],"sourcesContent":["import { resolvePositioningShorthand, usePositioning } from '@fluentui/react-positioning';\nimport { useMergedRefs } from '@fluentui/react-utilities';\nexport function useComboboxPopup(props, triggerShorthand, listboxShorthand) {\n const {\n positioning\n } = props;\n // Set a default set of fallback positions to try if the dropdown does not fit on screen\n const fallbackPositions = ['above', 'after', 'after-top', 'before', 'before-top'];\n // popper options\n const popperOptions = {\n position: 'below',\n align: 'start',\n offset: {\n crossAxis: 0,\n mainAxis: 2\n },\n fallbackPositions,\n ...resolvePositioningShorthand(positioning)\n };\n const {\n targetRef,\n containerRef\n } = usePositioning(popperOptions);\n const listboxRef = useMergedRefs(listboxShorthand === null || listboxShorthand === void 0 ? void 0 : listboxShorthand.ref, containerRef);\n const listbox = listboxShorthand && {\n ...listboxShorthand,\n ref: listboxRef\n };\n return [{\n ...triggerShorthand,\n ref: useMergedRefs(triggerShorthand === null || triggerShorthand === void 0 ? void 0 : triggerShorthand.ref, targetRef)\n }, listbox];\n}\n//# sourceMappingURL=useComboboxPopup.js.map"],"names":["useComboboxPopup","props","triggerShorthand","listboxShorthand","positioning","fallbackPositions","popperOptions","position","align","offset","crossAxis","mainAxis","resolvePositioningShorthand","targetRef","containerRef","usePositioning","listboxRef","useMergedRefs","ref","listbox"],"mappings":";;;;+BAEgBA;;aAAAA;;kCAF4C;gCAC9B;AACvB,SAASA,iBAAiBC,KAAK,EAAEC,gBAAgB,EAAEC,gBAAgB,EAAE;IAC1E,MAAM,EACJC,YAAW,EACZ,GAAGH;IACJ,wFAAwF;IACxF,MAAMI,oBAAoB;QAAC;QAAS;QAAS;QAAa;QAAU;KAAa;IACjF,iBAAiB;IACjB,MAAMC,gBAAgB;QACpBC,UAAU;QACVC,OAAO;QACPC,QAAQ;YACNC,WAAW;YACXC,UAAU;QACZ;QACAN;QACA,GAAGO,IAAAA,6CAA2B,EAACR,YAAY;IAC7C;IACA,MAAM,EACJS,UAAS,EACTC,aAAY,EACb,GAAGC,IAAAA,gCAAc,EAACT;IACnB,MAAMU,aAAaC,IAAAA,6BAAa,EAACd,qBAAqB,IAAI,IAAIA,qBAAqB,KAAK,IAAI,KAAK,IAAIA,iBAAiBe,GAAG,EAAEJ;IAC3H,MAAMK,UAAUhB,oBAAoB;QAClC,GAAGA,gBAAgB;QACnBe,KAAKF;IACP;IACA,OAAO;QAAC;YACN,GAAGd,gBAAgB;YACnBgB,KAAKD,IAAAA,6BAAa,EAACf,qBAAqB,IAAI,IAAIA,qBAAqB,KAAK,IAAI,KAAK,IAAIA,iBAAiBgB,GAAG,EAAEL;QAC/G;QAAGM;KAAQ;AACb,EACA,4CAA4C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-combobox",
3
- "version": "9.2.8",
3
+ "version": "9.2.10",
4
4
  "description": "Fluent UI React Combobox component",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -33,14 +33,14 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@fluentui/keyboard-keys": "^9.0.2",
36
- "@fluentui/react-context-selector": "^9.1.16",
37
- "@fluentui/react-field": "9.0.0-beta.1",
36
+ "@fluentui/react-context-selector": "^9.1.18",
37
+ "@fluentui/react-field": "^9.1.0",
38
38
  "@fluentui/react-icons": "^2.0.196",
39
- "@fluentui/react-portal": "^9.2.4",
40
- "@fluentui/react-positioning": "^9.5.8",
39
+ "@fluentui/react-portal": "^9.2.6",
40
+ "@fluentui/react-positioning": "^9.5.10",
41
41
  "@fluentui/react-shared-contexts": "^9.3.3",
42
42
  "@fluentui/react-theme": "^9.1.7",
43
- "@fluentui/react-utilities": "^9.7.3",
43
+ "@fluentui/react-utilities": "^9.8.0",
44
44
  "@griffel/react": "^1.5.2",
45
45
  "@swc/helpers": "^0.4.14"
46
46
  },
@@ -1,2 +0,0 @@
1
- export * from './components/ComboboxField/index';
2
- //# sourceMappingURL=ComboboxField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":["../src/ComboboxField.ts"],"sourcesContent":["export * from './components/ComboboxField/index';\n"],"mappings":"AAAA,cAAc"}
@@ -1,7 +0,0 @@
1
- /* eslint-disable deprecation/deprecation */import { getDeprecatedFieldClassNames, makeDeprecatedField } from '@fluentui/react-field';
2
- import { Combobox, comboboxClassNames } from '../../Combobox';
3
- /** @deprecated Use Field with Combobox: `<Field><Combobox /></Field>` */
4
- export const comboboxFieldClassNames = /*#__PURE__*/getDeprecatedFieldClassNames(comboboxClassNames.root);
5
- /** @deprecated Use Field with Combobox: `<Field><Combobox /></Field>` */
6
- export const ComboboxField = /*#__PURE__*/makeDeprecatedField(Combobox);
7
- //# sourceMappingURL=ComboboxField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["getDeprecatedFieldClassNames","makeDeprecatedField","Combobox","comboboxClassNames","comboboxFieldClassNames","root","ComboboxField"],"sources":["../../../src/components/ComboboxField/ComboboxField.tsx"],"sourcesContent":["/* eslint-disable deprecation/deprecation */\nimport { DeprecatedFieldProps, getDeprecatedFieldClassNames, makeDeprecatedField } from '@fluentui/react-field';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { Combobox, comboboxClassNames, ComboboxProps } from '../../Combobox';\n\n/** @deprecated Use Field with Combobox: `<Field><Combobox /></Field>` */\nexport type ComboboxFieldProps = DeprecatedFieldProps<ComboboxProps>;\n/** @deprecated Use Field with Combobox: `<Field><Combobox /></Field>` */\nexport const comboboxFieldClassNames = getDeprecatedFieldClassNames(comboboxClassNames.root);\n/** @deprecated Use Field with Combobox: `<Field><Combobox /></Field>` */\nexport const ComboboxField: ForwardRefComponent<ComboboxFieldProps> = makeDeprecatedField(Combobox);\n"],"mappings":"AAAA,4CACA,SAA+BA,4BAA4B,EAAEC,mBAAmB,QAAQ;AAExF,SAASC,QAAQ,EAAEC,kBAAkB,QAAuB;AAI5D;AACA,OAAO,MAAMC,uBAAA,gBAA0BJ,4BAAA,CAA6BG,kBAAA,CAAmBE,IAAI;AAC3F;AACA,OAAO,MAAMC,aAAA,gBAAyDL,mBAAA,CAAoBC,QAAA"}
@@ -1,2 +0,0 @@
1
- export * from './ComboboxField';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":["../../../src/components/ComboboxField/index.ts"],"sourcesContent":["export * from './ComboboxField';\n"],"mappings":"AAAA,cAAc"}
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
- _exportStar(require("./components/ComboboxField/index"), exports);
7
- //# sourceMappingURL=ComboboxField.js.map
8
-
9
- //# sourceMappingURL=ComboboxField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../lib/ComboboxField.js"],"sourcesContent":["export * from './components/ComboboxField/index';\n//# sourceMappingURL=ComboboxField.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,yCAAyC"}
@@ -1,20 +0,0 @@
1
- /* eslint-disable deprecation/deprecation */ "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- function _export(target, all) {
6
- for(var name in all)Object.defineProperty(target, name, {
7
- enumerable: true,
8
- get: all[name]
9
- });
10
- }
11
- _export(exports, {
12
- comboboxFieldClassNames: ()=>comboboxFieldClassNames,
13
- ComboboxField: ()=>ComboboxField
14
- });
15
- const _reactField = require("@fluentui/react-field");
16
- const _combobox = require("../../Combobox");
17
- const comboboxFieldClassNames = /*#__PURE__*/ (0, _reactField.getDeprecatedFieldClassNames)(_combobox.comboboxClassNames.root);
18
- const ComboboxField = /*#__PURE__*/ (0, _reactField.makeDeprecatedField)(_combobox.Combobox); //# sourceMappingURL=ComboboxField.js.map
19
-
20
- //# sourceMappingURL=ComboboxField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../lib/components/ComboboxField/ComboboxField.js"],"sourcesContent":["/* eslint-disable deprecation/deprecation */import { getDeprecatedFieldClassNames, makeDeprecatedField } from '@fluentui/react-field';\nimport { Combobox, comboboxClassNames } from '../../Combobox';\n/** @deprecated Use Field with Combobox: `<Field><Combobox /></Field>` */\nexport const comboboxFieldClassNames = /*#__PURE__*/getDeprecatedFieldClassNames(comboboxClassNames.root);\n/** @deprecated Use Field with Combobox: `<Field><Combobox /></Field>` */\nexport const ComboboxField = /*#__PURE__*/makeDeprecatedField(Combobox);\n//# sourceMappingURL=ComboboxField.js.map"],"names":["comboboxFieldClassNames","ComboboxField","getDeprecatedFieldClassNames","comboboxClassNames","root","makeDeprecatedField","Combobox"],"mappings":"AAAA,0CAA0C;;;;;;;;;;;IAG7BA,uBAAuB,MAAvBA;IAEAC,aAAa,MAAbA;;4BALiG;0BACjE;AAEtC,MAAMD,0BAA0B,WAAW,GAAEE,IAAAA,wCAA4B,EAACC,4BAAkB,CAACC,IAAI;AAEjG,MAAMH,gBAAgB,WAAW,GAAEI,IAAAA,+BAAmB,EAACC,kBAAQ,GACtE,yCAAyC"}
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
- _exportStar(require("./ComboboxField"), exports);
7
- //# sourceMappingURL=index.js.map
8
-
9
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../lib/components/ComboboxField/index.js"],"sourcesContent":["export * from './ComboboxField';\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,iCAAiC"}