@fluentui/react-tag-picker 9.0.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 (254) hide show
  1. package/CHANGELOG.md +165 -0
  2. package/LICENSE +15 -0
  3. package/README.md +68 -0
  4. package/Spec.md +208 -0
  5. package/dist/index.d.ts +453 -0
  6. package/lib/TagPicker.js +1 -0
  7. package/lib/TagPicker.js.map +1 -0
  8. package/lib/TagPickerButton.js +1 -0
  9. package/lib/TagPickerButton.js.map +1 -0
  10. package/lib/TagPickerControl.js +1 -0
  11. package/lib/TagPickerControl.js.map +1 -0
  12. package/lib/TagPickerGroup.js +1 -0
  13. package/lib/TagPickerGroup.js.map +1 -0
  14. package/lib/TagPickerInput.js +1 -0
  15. package/lib/TagPickerInput.js.map +1 -0
  16. package/lib/TagPickerList.js +1 -0
  17. package/lib/TagPickerList.js.map +1 -0
  18. package/lib/TagPickerOption.js +1 -0
  19. package/lib/TagPickerOption.js.map +1 -0
  20. package/lib/TagPickerOptionGroup.js +1 -0
  21. package/lib/TagPickerOptionGroup.js.map +1 -0
  22. package/lib/components/TagPicker/TagPicker.js +13 -0
  23. package/lib/components/TagPicker/TagPicker.js.map +1 -0
  24. package/lib/components/TagPicker/TagPicker.types.js +1 -0
  25. package/lib/components/TagPicker/TagPicker.types.js.map +1 -0
  26. package/lib/components/TagPicker/index.js +4 -0
  27. package/lib/components/TagPicker/index.js.map +1 -0
  28. package/lib/components/TagPicker/renderTagPicker.js +20 -0
  29. package/lib/components/TagPicker/renderTagPicker.js.map +1 -0
  30. package/lib/components/TagPicker/useTagPicker.js +123 -0
  31. package/lib/components/TagPicker/useTagPicker.js.map +1 -0
  32. package/lib/components/TagPicker/useTagPickerContextValues.js +41 -0
  33. package/lib/components/TagPicker/useTagPickerContextValues.js.map +1 -0
  34. package/lib/components/TagPickerButton/TagPickerButton.js +15 -0
  35. package/lib/components/TagPickerButton/TagPickerButton.js.map +1 -0
  36. package/lib/components/TagPickerButton/TagPickerButton.types.js +1 -0
  37. package/lib/components/TagPickerButton/TagPickerButton.types.js.map +1 -0
  38. package/lib/components/TagPickerButton/index.js +5 -0
  39. package/lib/components/TagPickerButton/index.js.map +1 -0
  40. package/lib/components/TagPickerButton/renderTagPickerButton.js +8 -0
  41. package/lib/components/TagPickerButton/renderTagPickerButton.js.map +1 -0
  42. package/lib/components/TagPickerButton/useTagPickerButton.js +54 -0
  43. package/lib/components/TagPickerButton/useTagPickerButton.js.map +1 -0
  44. package/lib/components/TagPickerButton/useTagPickerButtonStyles.styles.js +191 -0
  45. package/lib/components/TagPickerButton/useTagPickerButtonStyles.styles.js.map +1 -0
  46. package/lib/components/TagPickerControl/TagPickerControl.js +15 -0
  47. package/lib/components/TagPickerControl/TagPickerControl.js.map +1 -0
  48. package/lib/components/TagPickerControl/TagPickerControl.types.js +1 -0
  49. package/lib/components/TagPickerControl/TagPickerControl.types.js.map +1 -0
  50. package/lib/components/TagPickerControl/index.js +5 -0
  51. package/lib/components/TagPickerControl/index.js.map +1 -0
  52. package/lib/components/TagPickerControl/renderTagPickerControl.js +18 -0
  53. package/lib/components/TagPickerControl/renderTagPickerControl.js.map +1 -0
  54. package/lib/components/TagPickerControl/useTagPickerControl.js +101 -0
  55. package/lib/components/TagPickerControl/useTagPickerControl.js.map +1 -0
  56. package/lib/components/TagPickerControl/useTagPickerControlStyles.styles.js +262 -0
  57. package/lib/components/TagPickerControl/useTagPickerControlStyles.styles.js.map +1 -0
  58. package/lib/components/TagPickerGroup/TagPickerGroup.js +16 -0
  59. package/lib/components/TagPickerGroup/TagPickerGroup.js.map +1 -0
  60. package/lib/components/TagPickerGroup/TagPickerGroup.types.js +1 -0
  61. package/lib/components/TagPickerGroup/TagPickerGroup.types.js.map +1 -0
  62. package/lib/components/TagPickerGroup/index.js +5 -0
  63. package/lib/components/TagPickerGroup/index.js.map +1 -0
  64. package/lib/components/TagPickerGroup/renderTagPickerGroup.js +7 -0
  65. package/lib/components/TagPickerGroup/renderTagPickerGroup.js.map +1 -0
  66. package/lib/components/TagPickerGroup/useTagPickerGroup.js +62 -0
  67. package/lib/components/TagPickerGroup/useTagPickerGroup.js.map +1 -0
  68. package/lib/components/TagPickerGroup/useTagPickerGroupStyles.styles.js +53 -0
  69. package/lib/components/TagPickerGroup/useTagPickerGroupStyles.styles.js.map +1 -0
  70. package/lib/components/TagPickerInput/TagPickerInput.js +15 -0
  71. package/lib/components/TagPickerInput/TagPickerInput.js.map +1 -0
  72. package/lib/components/TagPickerInput/TagPickerInput.types.js +1 -0
  73. package/lib/components/TagPickerInput/TagPickerInput.types.js.map +1 -0
  74. package/lib/components/TagPickerInput/index.js +5 -0
  75. package/lib/components/TagPickerInput/index.js.map +1 -0
  76. package/lib/components/TagPickerInput/renderTagPickerInput.js +8 -0
  77. package/lib/components/TagPickerInput/renderTagPickerInput.js.map +1 -0
  78. package/lib/components/TagPickerInput/useTagPickerInput.js +137 -0
  79. package/lib/components/TagPickerInput/useTagPickerInput.js.map +1 -0
  80. package/lib/components/TagPickerInput/useTagPickerInputStyles.styles.js +60 -0
  81. package/lib/components/TagPickerInput/useTagPickerInputStyles.styles.js.map +1 -0
  82. package/lib/components/TagPickerList/TagPickerList.js +15 -0
  83. package/lib/components/TagPickerList/TagPickerList.js.map +1 -0
  84. package/lib/components/TagPickerList/TagPickerList.types.js +1 -0
  85. package/lib/components/TagPickerList/TagPickerList.types.js.map +1 -0
  86. package/lib/components/TagPickerList/index.js +5 -0
  87. package/lib/components/TagPickerList/index.js.map +1 -0
  88. package/lib/components/TagPickerList/renderTagPickerList.js +8 -0
  89. package/lib/components/TagPickerList/renderTagPickerList.js.map +1 -0
  90. package/lib/components/TagPickerList/useTagPickerList.js +39 -0
  91. package/lib/components/TagPickerList/useTagPickerList.js.map +1 -0
  92. package/lib/components/TagPickerList/useTagPickerListStyles.styles.js +33 -0
  93. package/lib/components/TagPickerList/useTagPickerListStyles.styles.js.map +1 -0
  94. package/lib/components/TagPickerOption/TagPickerOption.js +15 -0
  95. package/lib/components/TagPickerOption/TagPickerOption.js.map +1 -0
  96. package/lib/components/TagPickerOption/TagPickerOption.types.js +1 -0
  97. package/lib/components/TagPickerOption/TagPickerOption.types.js.map +1 -0
  98. package/lib/components/TagPickerOption/index.js +5 -0
  99. package/lib/components/TagPickerOption/index.js.map +1 -0
  100. package/lib/components/TagPickerOption/renderTagPickerOption.js +14 -0
  101. package/lib/components/TagPickerOption/renderTagPickerOption.js.map +1 -0
  102. package/lib/components/TagPickerOption/useTagPickerOption.js +35 -0
  103. package/lib/components/TagPickerOption/useTagPickerOption.js.map +1 -0
  104. package/lib/components/TagPickerOption/useTagPickerOptionStyles.styles.js +49 -0
  105. package/lib/components/TagPickerOption/useTagPickerOptionStyles.styles.js.map +1 -0
  106. package/lib/components/TagPickerOptionGroup/TagPickerOptionGroup.js +15 -0
  107. package/lib/components/TagPickerOptionGroup/TagPickerOptionGroup.js.map +1 -0
  108. package/lib/components/TagPickerOptionGroup/TagPickerOptionGroup.types.js +1 -0
  109. package/lib/components/TagPickerOptionGroup/TagPickerOptionGroup.types.js.map +1 -0
  110. package/lib/components/TagPickerOptionGroup/index.js +5 -0
  111. package/lib/components/TagPickerOptionGroup/index.js.map +1 -0
  112. package/lib/components/TagPickerOptionGroup/renderTagPickerOptionGroup.js +4 -0
  113. package/lib/components/TagPickerOptionGroup/renderTagPickerOptionGroup.js.map +1 -0
  114. package/lib/components/TagPickerOptionGroup/useTagPickerOptionGroup.js +11 -0
  115. package/lib/components/TagPickerOptionGroup/useTagPickerOptionGroup.js.map +1 -0
  116. package/lib/components/TagPickerOptionGroup/useTagPickerOptionGroupStyles.styles.js +18 -0
  117. package/lib/components/TagPickerOptionGroup/useTagPickerOptionGroupStyles.styles.js.map +1 -0
  118. package/lib/contexts/TagPickerContext.js +27 -0
  119. package/lib/contexts/TagPickerContext.js.map +1 -0
  120. package/lib/index.js +9 -0
  121. package/lib/index.js.map +1 -0
  122. package/lib/utils/tagPicker2Tag.js +32 -0
  123. package/lib/utils/tagPicker2Tag.js.map +1 -0
  124. package/lib/utils/tokens.js +6 -0
  125. package/lib/utils/tokens.js.map +1 -0
  126. package/lib/utils/useResizeObserverRef.js +22 -0
  127. package/lib/utils/useResizeObserverRef.js.map +1 -0
  128. package/lib/utils/useTagPickerFilter.js +35 -0
  129. package/lib/utils/useTagPickerFilter.js.map +1 -0
  130. package/lib-commonjs/TagPicker.js +6 -0
  131. package/lib-commonjs/TagPicker.js.map +1 -0
  132. package/lib-commonjs/TagPickerButton.js +6 -0
  133. package/lib-commonjs/TagPickerButton.js.map +1 -0
  134. package/lib-commonjs/TagPickerControl.js +6 -0
  135. package/lib-commonjs/TagPickerControl.js.map +1 -0
  136. package/lib-commonjs/TagPickerGroup.js +6 -0
  137. package/lib-commonjs/TagPickerGroup.js.map +1 -0
  138. package/lib-commonjs/TagPickerInput.js +6 -0
  139. package/lib-commonjs/TagPickerInput.js.map +1 -0
  140. package/lib-commonjs/TagPickerList.js +6 -0
  141. package/lib-commonjs/TagPickerList.js.map +1 -0
  142. package/lib-commonjs/TagPickerOption.js +6 -0
  143. package/lib-commonjs/TagPickerOption.js.map +1 -0
  144. package/lib-commonjs/TagPickerOptionGroup.js +6 -0
  145. package/lib-commonjs/TagPickerOptionGroup.js.map +1 -0
  146. package/lib-commonjs/components/TagPicker/TagPicker.js +21 -0
  147. package/lib-commonjs/components/TagPicker/TagPicker.js.map +1 -0
  148. package/lib-commonjs/components/TagPicker/TagPicker.types.js +4 -0
  149. package/lib-commonjs/components/TagPicker/TagPicker.types.js.map +1 -0
  150. package/lib-commonjs/components/TagPicker/index.js +9 -0
  151. package/lib-commonjs/components/TagPicker/index.js.map +1 -0
  152. package/lib-commonjs/components/TagPicker/renderTagPicker.js +29 -0
  153. package/lib-commonjs/components/TagPicker/renderTagPicker.js.map +1 -0
  154. package/lib-commonjs/components/TagPicker/useTagPicker.js +126 -0
  155. package/lib-commonjs/components/TagPicker/useTagPicker.js.map +1 -0
  156. package/lib-commonjs/components/TagPicker/useTagPickerContextValues.js +52 -0
  157. package/lib-commonjs/components/TagPicker/useTagPickerContextValues.js.map +1 -0
  158. package/lib-commonjs/components/TagPickerButton/TagPickerButton.js +23 -0
  159. package/lib-commonjs/components/TagPickerButton/TagPickerButton.js.map +1 -0
  160. package/lib-commonjs/components/TagPickerButton/TagPickerButton.types.js +4 -0
  161. package/lib-commonjs/components/TagPickerButton/TagPickerButton.types.js.map +1 -0
  162. package/lib-commonjs/components/TagPickerButton/index.js +10 -0
  163. package/lib-commonjs/components/TagPickerButton/index.js.map +1 -0
  164. package/lib-commonjs/components/TagPickerButton/renderTagPickerButton.js +16 -0
  165. package/lib-commonjs/components/TagPickerButton/renderTagPickerButton.js.map +1 -0
  166. package/lib-commonjs/components/TagPickerButton/useTagPickerButton.js +57 -0
  167. package/lib-commonjs/components/TagPickerButton/useTagPickerButton.js.map +1 -0
  168. package/lib-commonjs/components/TagPickerButton/useTagPickerButtonStyles.styles.js +453 -0
  169. package/lib-commonjs/components/TagPickerButton/useTagPickerButtonStyles.styles.js.map +1 -0
  170. package/lib-commonjs/components/TagPickerControl/TagPickerControl.js +23 -0
  171. package/lib-commonjs/components/TagPickerControl/TagPickerControl.js.map +1 -0
  172. package/lib-commonjs/components/TagPickerControl/TagPickerControl.types.js +6 -0
  173. package/lib-commonjs/components/TagPickerControl/TagPickerControl.types.js.map +1 -0
  174. package/lib-commonjs/components/TagPickerControl/index.js +10 -0
  175. package/lib-commonjs/components/TagPickerControl/index.js.map +1 -0
  176. package/lib-commonjs/components/TagPickerControl/renderTagPickerControl.js +26 -0
  177. package/lib-commonjs/components/TagPickerControl/renderTagPickerControl.js.map +1 -0
  178. package/lib-commonjs/components/TagPickerControl/useTagPickerControl.js +104 -0
  179. package/lib-commonjs/components/TagPickerControl/useTagPickerControl.js.map +1 -0
  180. package/lib-commonjs/components/TagPickerControl/useTagPickerControlStyles.styles.js +579 -0
  181. package/lib-commonjs/components/TagPickerControl/useTagPickerControlStyles.styles.js.map +1 -0
  182. package/lib-commonjs/components/TagPickerGroup/TagPickerGroup.js +24 -0
  183. package/lib-commonjs/components/TagPickerGroup/TagPickerGroup.js.map +1 -0
  184. package/lib-commonjs/components/TagPickerGroup/TagPickerGroup.types.js +4 -0
  185. package/lib-commonjs/components/TagPickerGroup/TagPickerGroup.types.js.map +1 -0
  186. package/lib-commonjs/components/TagPickerGroup/index.js +10 -0
  187. package/lib-commonjs/components/TagPickerGroup/index.js.map +1 -0
  188. package/lib-commonjs/components/TagPickerGroup/renderTagPickerGroup.js +17 -0
  189. package/lib-commonjs/components/TagPickerGroup/renderTagPickerGroup.js.map +1 -0
  190. package/lib-commonjs/components/TagPickerGroup/useTagPickerGroup.js +65 -0
  191. package/lib-commonjs/components/TagPickerGroup/useTagPickerGroup.js.map +1 -0
  192. package/lib-commonjs/components/TagPickerGroup/useTagPickerGroupStyles.styles.js +97 -0
  193. package/lib-commonjs/components/TagPickerGroup/useTagPickerGroupStyles.styles.js.map +1 -0
  194. package/lib-commonjs/components/TagPickerInput/TagPickerInput.js +23 -0
  195. package/lib-commonjs/components/TagPickerInput/TagPickerInput.js.map +1 -0
  196. package/lib-commonjs/components/TagPickerInput/TagPickerInput.types.js +4 -0
  197. package/lib-commonjs/components/TagPickerInput/TagPickerInput.types.js.map +1 -0
  198. package/lib-commonjs/components/TagPickerInput/index.js +10 -0
  199. package/lib-commonjs/components/TagPickerInput/index.js.map +1 -0
  200. package/lib-commonjs/components/TagPickerInput/renderTagPickerInput.js +16 -0
  201. package/lib-commonjs/components/TagPickerInput/renderTagPickerInput.js.map +1 -0
  202. package/lib-commonjs/components/TagPickerInput/useTagPickerInput.js +140 -0
  203. package/lib-commonjs/components/TagPickerInput/useTagPickerInput.js.map +1 -0
  204. package/lib-commonjs/components/TagPickerInput/useTagPickerInputStyles.styles.js +122 -0
  205. package/lib-commonjs/components/TagPickerInput/useTagPickerInputStyles.styles.js.map +1 -0
  206. package/lib-commonjs/components/TagPickerList/TagPickerList.js +23 -0
  207. package/lib-commonjs/components/TagPickerList/TagPickerList.js.map +1 -0
  208. package/lib-commonjs/components/TagPickerList/TagPickerList.types.js +4 -0
  209. package/lib-commonjs/components/TagPickerList/TagPickerList.types.js.map +1 -0
  210. package/lib-commonjs/components/TagPickerList/index.js +10 -0
  211. package/lib-commonjs/components/TagPickerList/index.js.map +1 -0
  212. package/lib-commonjs/components/TagPickerList/renderTagPickerList.js +16 -0
  213. package/lib-commonjs/components/TagPickerList/renderTagPickerList.js.map +1 -0
  214. package/lib-commonjs/components/TagPickerList/useTagPickerList.js +41 -0
  215. package/lib-commonjs/components/TagPickerList/useTagPickerList.js.map +1 -0
  216. package/lib-commonjs/components/TagPickerList/useTagPickerListStyles.styles.js +66 -0
  217. package/lib-commonjs/components/TagPickerList/useTagPickerListStyles.styles.js.map +1 -0
  218. package/lib-commonjs/components/TagPickerOption/TagPickerOption.js +23 -0
  219. package/lib-commonjs/components/TagPickerOption/TagPickerOption.js.map +1 -0
  220. package/lib-commonjs/components/TagPickerOption/TagPickerOption.types.js +6 -0
  221. package/lib-commonjs/components/TagPickerOption/TagPickerOption.types.js.map +1 -0
  222. package/lib-commonjs/components/TagPickerOption/index.js +10 -0
  223. package/lib-commonjs/components/TagPickerOption/index.js.map +1 -0
  224. package/lib-commonjs/components/TagPickerOption/renderTagPickerOption.js +22 -0
  225. package/lib-commonjs/components/TagPickerOption/renderTagPickerOption.js.map +1 -0
  226. package/lib-commonjs/components/TagPickerOption/useTagPickerOption.js +38 -0
  227. package/lib-commonjs/components/TagPickerOption/useTagPickerOption.js.map +1 -0
  228. package/lib-commonjs/components/TagPickerOption/useTagPickerOptionStyles.styles.js +69 -0
  229. package/lib-commonjs/components/TagPickerOption/useTagPickerOptionStyles.styles.js.map +1 -0
  230. package/lib-commonjs/components/TagPickerOptionGroup/TagPickerOptionGroup.js +23 -0
  231. package/lib-commonjs/components/TagPickerOptionGroup/TagPickerOptionGroup.js.map +1 -0
  232. package/lib-commonjs/components/TagPickerOptionGroup/TagPickerOptionGroup.types.js +4 -0
  233. package/lib-commonjs/components/TagPickerOptionGroup/TagPickerOptionGroup.types.js.map +1 -0
  234. package/lib-commonjs/components/TagPickerOptionGroup/index.js +10 -0
  235. package/lib-commonjs/components/TagPickerOptionGroup/index.js.map +1 -0
  236. package/lib-commonjs/components/TagPickerOptionGroup/renderTagPickerOptionGroup.js +12 -0
  237. package/lib-commonjs/components/TagPickerOptionGroup/renderTagPickerOptionGroup.js.map +1 -0
  238. package/lib-commonjs/components/TagPickerOptionGroup/useTagPickerOptionGroup.js +14 -0
  239. package/lib-commonjs/components/TagPickerOptionGroup/useTagPickerOptionGroup.js.map +1 -0
  240. package/lib-commonjs/components/TagPickerOptionGroup/useTagPickerOptionGroupStyles.styles.js +32 -0
  241. package/lib-commonjs/components/TagPickerOptionGroup/useTagPickerOptionGroupStyles.styles.js.map +1 -0
  242. package/lib-commonjs/contexts/TagPickerContext.js +47 -0
  243. package/lib-commonjs/contexts/TagPickerContext.js.map +1 -0
  244. package/lib-commonjs/index.js +138 -0
  245. package/lib-commonjs/index.js.map +1 -0
  246. package/lib-commonjs/utils/tagPicker2Tag.js +53 -0
  247. package/lib-commonjs/utils/tagPicker2Tag.js.map +1 -0
  248. package/lib-commonjs/utils/tokens.js +24 -0
  249. package/lib-commonjs/utils/tokens.js.map +1 -0
  250. package/lib-commonjs/utils/useResizeObserverRef.js +33 -0
  251. package/lib-commonjs/utils/useResizeObserverRef.js.map +1 -0
  252. package/lib-commonjs/utils/useTagPickerFilter.js +46 -0
  253. package/lib-commonjs/utils/useTagPickerFilter.js.map +1 -0
  254. package/package.json +80 -0
@@ -0,0 +1,138 @@
1
+ "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
+ TagPicker: function() {
13
+ return _TagPicker.TagPicker;
14
+ },
15
+ renderTagPicker_unstable: function() {
16
+ return _TagPicker.renderTagPicker_unstable;
17
+ },
18
+ useTagPicker_unstable: function() {
19
+ return _TagPicker.useTagPicker_unstable;
20
+ },
21
+ TagPickerInput: function() {
22
+ return _TagPickerInput.TagPickerInput;
23
+ },
24
+ tagPickerInputClassNames: function() {
25
+ return _TagPickerInput.tagPickerInputClassNames;
26
+ },
27
+ renderTagPickerInput_unstable: function() {
28
+ return _TagPickerInput.renderTagPickerInput_unstable;
29
+ },
30
+ useTagPickerInputStyles_unstable: function() {
31
+ return _TagPickerInput.useTagPickerInputStyles_unstable;
32
+ },
33
+ useTagPickerInput_unstable: function() {
34
+ return _TagPickerInput.useTagPickerInput_unstable;
35
+ },
36
+ TagPickerList: function() {
37
+ return _TagPickerList.TagPickerList;
38
+ },
39
+ tagPickerListClassNames: function() {
40
+ return _TagPickerList.tagPickerListClassNames;
41
+ },
42
+ renderTagPickerList_unstable: function() {
43
+ return _TagPickerList.renderTagPickerList_unstable;
44
+ },
45
+ useTagPickerListStyles_unstable: function() {
46
+ return _TagPickerList.useTagPickerListStyles_unstable;
47
+ },
48
+ useTagPickerList_unstable: function() {
49
+ return _TagPickerList.useTagPickerList_unstable;
50
+ },
51
+ TagPickerButton: function() {
52
+ return _TagPickerButton.TagPickerButton;
53
+ },
54
+ tagPickerButtonClassNames: function() {
55
+ return _TagPickerButton.tagPickerButtonClassNames;
56
+ },
57
+ renderTagPickerButton_unstable: function() {
58
+ return _TagPickerButton.renderTagPickerButton_unstable;
59
+ },
60
+ useTagPickerButtonStyles_unstable: function() {
61
+ return _TagPickerButton.useTagPickerButtonStyles_unstable;
62
+ },
63
+ useTagPickerButton_unstable: function() {
64
+ return _TagPickerButton.useTagPickerButton_unstable;
65
+ },
66
+ TagPickerControl: function() {
67
+ return _TagPickerControl.TagPickerControl;
68
+ },
69
+ tagPickerControlClassNames: function() {
70
+ return _TagPickerControl.tagPickerControlClassNames;
71
+ },
72
+ renderTagPickerControl_unstable: function() {
73
+ return _TagPickerControl.renderTagPickerControl_unstable;
74
+ },
75
+ useTagPickerControlStyles_unstable: function() {
76
+ return _TagPickerControl.useTagPickerControlStyles_unstable;
77
+ },
78
+ useTagPickerControl_unstable: function() {
79
+ return _TagPickerControl.useTagPickerControl_unstable;
80
+ },
81
+ TagPickerOption: function() {
82
+ return _TagPickerOption.TagPickerOption;
83
+ },
84
+ tagPickerOptionClassNames: function() {
85
+ return _TagPickerOption.tagPickerOptionClassNames;
86
+ },
87
+ renderTagPickerOption_unstable: function() {
88
+ return _TagPickerOption.renderTagPickerOption_unstable;
89
+ },
90
+ useTagPickerOptionStyles_unstable: function() {
91
+ return _TagPickerOption.useTagPickerOptionStyles_unstable;
92
+ },
93
+ useTagPickerOption_unstable: function() {
94
+ return _TagPickerOption.useTagPickerOption_unstable;
95
+ },
96
+ TagPickerGroup: function() {
97
+ return _TagPickerGroup.TagPickerGroup;
98
+ },
99
+ tagPickerGroupClassNames: function() {
100
+ return _TagPickerGroup.tagPickerGroupClassNames;
101
+ },
102
+ renderTagPickerGroup_unstable: function() {
103
+ return _TagPickerGroup.renderTagPickerGroup_unstable;
104
+ },
105
+ useTagPickerGroupStyles_unstable: function() {
106
+ return _TagPickerGroup.useTagPickerGroupStyles_unstable;
107
+ },
108
+ useTagPickerGroup_unstable: function() {
109
+ return _TagPickerGroup.useTagPickerGroup_unstable;
110
+ },
111
+ TagPickerOptionGroup: function() {
112
+ return _TagPickerOptionGroup.TagPickerOptionGroup;
113
+ },
114
+ tagPickerOptionGroupClassNames: function() {
115
+ return _TagPickerOptionGroup.tagPickerOptionGroupClassNames;
116
+ },
117
+ renderTagPickerOptionGroup: function() {
118
+ return _TagPickerOptionGroup.renderTagPickerOptionGroup;
119
+ },
120
+ useTagPickerOptionGroupStyles: function() {
121
+ return _TagPickerOptionGroup.useTagPickerOptionGroupStyles;
122
+ },
123
+ useTagPickerOptionGroup: function() {
124
+ return _TagPickerOptionGroup.useTagPickerOptionGroup;
125
+ },
126
+ useTagPickerFilter: function() {
127
+ return _useTagPickerFilter.useTagPickerFilter;
128
+ }
129
+ });
130
+ const _TagPicker = require("./TagPicker");
131
+ const _TagPickerInput = require("./TagPickerInput");
132
+ const _TagPickerList = require("./TagPickerList");
133
+ const _TagPickerButton = require("./TagPickerButton");
134
+ const _TagPickerControl = require("./TagPickerControl");
135
+ const _TagPickerOption = require("./TagPickerOption");
136
+ const _TagPickerGroup = require("./TagPickerGroup");
137
+ const _TagPickerOptionGroup = require("./TagPickerOptionGroup");
138
+ const _useTagPickerFilter = require("./utils/useTagPickerFilter");
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["index.js"],"sourcesContent":["export { TagPicker, renderTagPicker_unstable, useTagPicker_unstable } from './TagPicker';\nexport { TagPickerInput, tagPickerInputClassNames, renderTagPickerInput_unstable, useTagPickerInputStyles_unstable, useTagPickerInput_unstable } from './TagPickerInput';\nexport { TagPickerList, tagPickerListClassNames, renderTagPickerList_unstable, useTagPickerListStyles_unstable, useTagPickerList_unstable } from './TagPickerList';\nexport { TagPickerButton, tagPickerButtonClassNames, renderTagPickerButton_unstable, useTagPickerButtonStyles_unstable, useTagPickerButton_unstable } from './TagPickerButton';\nexport { TagPickerControl, tagPickerControlClassNames, renderTagPickerControl_unstable, useTagPickerControlStyles_unstable, useTagPickerControl_unstable } from './TagPickerControl';\nexport { TagPickerOption, tagPickerOptionClassNames, renderTagPickerOption_unstable, useTagPickerOptionStyles_unstable, useTagPickerOption_unstable } from './TagPickerOption';\nexport { TagPickerGroup, tagPickerGroupClassNames, renderTagPickerGroup_unstable, useTagPickerGroupStyles_unstable, useTagPickerGroup_unstable } from './TagPickerGroup';\nexport { TagPickerOptionGroup, tagPickerOptionGroupClassNames, renderTagPickerOptionGroup, useTagPickerOptionGroupStyles, useTagPickerOptionGroup } from './TagPickerOptionGroup';\nexport { useTagPickerFilter } from './utils/useTagPickerFilter';\n"],"names":["TagPicker","renderTagPicker_unstable","useTagPicker_unstable","TagPickerInput","tagPickerInputClassNames","renderTagPickerInput_unstable","useTagPickerInputStyles_unstable","useTagPickerInput_unstable","TagPickerList","tagPickerListClassNames","renderTagPickerList_unstable","useTagPickerListStyles_unstable","useTagPickerList_unstable","TagPickerButton","tagPickerButtonClassNames","renderTagPickerButton_unstable","useTagPickerButtonStyles_unstable","useTagPickerButton_unstable","TagPickerControl","tagPickerControlClassNames","renderTagPickerControl_unstable","useTagPickerControlStyles_unstable","useTagPickerControl_unstable","TagPickerOption","tagPickerOptionClassNames","renderTagPickerOption_unstable","useTagPickerOptionStyles_unstable","useTagPickerOption_unstable","TagPickerGroup","tagPickerGroupClassNames","renderTagPickerGroup_unstable","useTagPickerGroupStyles_unstable","useTagPickerGroup_unstable","TagPickerOptionGroup","tagPickerOptionGroupClassNames","renderTagPickerOptionGroup","useTagPickerOptionGroupStyles","useTagPickerOptionGroup","useTagPickerFilter"],"mappings":";;;;;;;;;;;IAASA,SAAS;eAATA,oBAAS;;IAAEC,wBAAwB;eAAxBA,mCAAwB;;IAAEC,qBAAqB;eAArBA,gCAAqB;;IAC1DC,cAAc;eAAdA,8BAAc;;IAAEC,wBAAwB;eAAxBA,wCAAwB;;IAAEC,6BAA6B;eAA7BA,6CAA6B;;IAAEC,gCAAgC;eAAhCA,gDAAgC;;IAAEC,0BAA0B;eAA1BA,0CAA0B;;IACrIC,aAAa;eAAbA,4BAAa;;IAAEC,uBAAuB;eAAvBA,sCAAuB;;IAAEC,4BAA4B;eAA5BA,2CAA4B;;IAAEC,+BAA+B;eAA/BA,8CAA+B;;IAAEC,yBAAyB;eAAzBA,wCAAyB;;IAChIC,eAAe;eAAfA,gCAAe;;IAAEC,yBAAyB;eAAzBA,0CAAyB;;IAAEC,8BAA8B;eAA9BA,+CAA8B;;IAAEC,iCAAiC;eAAjCA,kDAAiC;;IAAEC,2BAA2B;eAA3BA,4CAA2B;;IAC1IC,gBAAgB;eAAhBA,kCAAgB;;IAAEC,0BAA0B;eAA1BA,4CAA0B;;IAAEC,+BAA+B;eAA/BA,iDAA+B;;IAAEC,kCAAkC;eAAlCA,oDAAkC;;IAAEC,4BAA4B;eAA5BA,8CAA4B;;IAC/IC,eAAe;eAAfA,gCAAe;;IAAEC,yBAAyB;eAAzBA,0CAAyB;;IAAEC,8BAA8B;eAA9BA,+CAA8B;;IAAEC,iCAAiC;eAAjCA,kDAAiC;;IAAEC,2BAA2B;eAA3BA,4CAA2B;;IAC1IC,cAAc;eAAdA,8BAAc;;IAAEC,wBAAwB;eAAxBA,wCAAwB;;IAAEC,6BAA6B;eAA7BA,6CAA6B;;IAAEC,gCAAgC;eAAhCA,gDAAgC;;IAAEC,0BAA0B;eAA1BA,0CAA0B;;IACrIC,oBAAoB;eAApBA,0CAAoB;;IAAEC,8BAA8B;eAA9BA,oDAA8B;;IAAEC,0BAA0B;eAA1BA,gDAA0B;;IAAEC,6BAA6B;eAA7BA,mDAA6B;;IAAEC,uBAAuB;eAAvBA,6CAAuB;;IACxIC,kBAAkB;eAAlBA,sCAAkB;;;2BARgD;gCAC2E;+BACL;iCACU;kCACK;iCACL;gCACL;sCACG;oCACtH"}
@@ -0,0 +1,53 @@
1
+ "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
+ tagPickerSizeToTagSize: function() {
13
+ return tagPickerSizeToTagSize;
14
+ },
15
+ tagSizeToTagPickerSize: function() {
16
+ return tagSizeToTagPickerSize;
17
+ },
18
+ tagPickerAppearanceToTagAppearance: function() {
19
+ return tagPickerAppearanceToTagAppearance;
20
+ }
21
+ });
22
+ function tagPickerSizeToTagSize(size) {
23
+ switch(size){
24
+ case 'medium':
25
+ return 'extra-small';
26
+ case 'large':
27
+ return 'small';
28
+ case 'extra-large':
29
+ return 'medium';
30
+ default:
31
+ return 'extra-small';
32
+ }
33
+ }
34
+ function tagSizeToTagPickerSize(size) {
35
+ switch(size){
36
+ case 'extra-small':
37
+ return 'medium';
38
+ case 'small':
39
+ return 'large';
40
+ case 'medium':
41
+ return 'extra-large';
42
+ default:
43
+ return 'medium';
44
+ }
45
+ }
46
+ function tagPickerAppearanceToTagAppearance(appearance) {
47
+ switch(appearance){
48
+ case 'filled-darker':
49
+ return 'outline';
50
+ default:
51
+ return 'filled';
52
+ }
53
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["tagPicker2Tag.js"],"sourcesContent":["export function tagPickerSizeToTagSize(size) {\n switch(size){\n case 'medium':\n return 'extra-small';\n case 'large':\n return 'small';\n case 'extra-large':\n return 'medium';\n default:\n return 'extra-small';\n }\n}\nexport function tagSizeToTagPickerSize(size) {\n switch(size){\n case 'extra-small':\n return 'medium';\n case 'small':\n return 'large';\n case 'medium':\n return 'extra-large';\n default:\n return 'medium';\n }\n}\nexport function tagPickerAppearanceToTagAppearance(appearance) {\n switch(appearance){\n case 'filled-darker':\n return 'outline';\n default:\n return 'filled';\n }\n}\n"],"names":["tagPickerSizeToTagSize","tagSizeToTagPickerSize","tagPickerAppearanceToTagAppearance","size","appearance"],"mappings":";;;;;;;;;;;IAAgBA,sBAAsB;eAAtBA;;IAYAC,sBAAsB;eAAtBA;;IAYAC,kCAAkC;eAAlCA;;;AAxBT,SAASF,uBAAuBG,IAAI;IACvC,OAAOA;QACH,KAAK;YACD,OAAO;QACX,KAAK;YACD,OAAO;QACX,KAAK;YACD,OAAO;QACX;YACI,OAAO;IACf;AACJ;AACO,SAASF,uBAAuBE,IAAI;IACvC,OAAOA;QACH,KAAK;YACD,OAAO;QACX,KAAK;YACD,OAAO;QACX,KAAK;YACD,OAAO;QACX;YACI,OAAO;IACf;AACJ;AACO,SAASD,mCAAmCE,UAAU;IACzD,OAAOA;QACH,KAAK;YACD,OAAO;QACX;YACI,OAAO;IACf;AACJ"}
@@ -0,0 +1,24 @@
1
+ "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
+ tagPickerInputCSSRules: function() {
13
+ return tagPickerInputCSSRules;
14
+ },
15
+ tagPickerInputTokens: function() {
16
+ return tagPickerInputTokens;
17
+ }
18
+ });
19
+ const tagPickerInputCSSRules = {
20
+ width: '--fluent-TagPickerInput__width'
21
+ };
22
+ const tagPickerInputTokens = {
23
+ width: `var(${tagPickerInputCSSRules.width}, 0)`
24
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["tokens.js"],"sourcesContent":["export const tagPickerInputCSSRules = {\n width: '--fluent-TagPickerInput__width'\n};\nexport const tagPickerInputTokens = {\n width: `var(${tagPickerInputCSSRules.width}, 0)`\n};\n"],"names":["tagPickerInputCSSRules","tagPickerInputTokens","width"],"mappings":";;;;;;;;;;;IAAaA,sBAAsB;eAAtBA;;IAGAC,oBAAoB;eAApBA;;;AAHN,MAAMD,yBAAyB;IAClCE,OAAO;AACX;AACO,MAAMD,uBAAuB;IAChCC,OAAO,CAAC,IAAI,EAAEF,uBAAuBE,KAAK,CAAC,IAAI,CAAC;AACpD"}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "useResizeObserverRef", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return useResizeObserverRef;
9
+ }
10
+ });
11
+ const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
12
+ const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
13
+ const _reactsharedcontexts = require("@fluentui/react-shared-contexts");
14
+ const useResizeObserverRef = (callback)=>{
15
+ const { targetDocument } = (0, _reactsharedcontexts.useFluent_unstable)();
16
+ const [observer] = _react.useState(()=>{
17
+ var _targetDocument_defaultView;
18
+ const ResizeObserverConstructor = targetDocument === null || targetDocument === void 0 ? void 0 : (_targetDocument_defaultView = targetDocument.defaultView) === null || _targetDocument_defaultView === void 0 ? void 0 : _targetDocument_defaultView.ResizeObserver;
19
+ if (ResizeObserverConstructor) {
20
+ return new ResizeObserverConstructor(callback);
21
+ }
22
+ });
23
+ const ref = _react.useCallback((element)=>{
24
+ if (element) {
25
+ observer === null || observer === void 0 ? void 0 : observer.observe(element);
26
+ } else {
27
+ observer === null || observer === void 0 ? void 0 : observer.disconnect();
28
+ }
29
+ }, [
30
+ observer
31
+ ]);
32
+ return ref;
33
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["useResizeObserverRef.js"],"sourcesContent":["import * as React from 'react';\nimport { useFluent_unstable as useFluent } from '@fluentui/react-shared-contexts';\nexport const useResizeObserverRef = (callback)=>{\n const { targetDocument } = useFluent();\n const [observer] = React.useState(()=>{\n var _targetDocument_defaultView;\n const ResizeObserverConstructor = targetDocument === null || targetDocument === void 0 ? void 0 : (_targetDocument_defaultView = targetDocument.defaultView) === null || _targetDocument_defaultView === void 0 ? void 0 : _targetDocument_defaultView.ResizeObserver;\n if (ResizeObserverConstructor) {\n return new ResizeObserverConstructor(callback);\n }\n });\n const ref = React.useCallback((element)=>{\n if (element) {\n observer === null || observer === void 0 ? void 0 : observer.observe(element);\n } else {\n observer === null || observer === void 0 ? void 0 : observer.disconnect();\n }\n }, [\n observer\n ]);\n return ref;\n};\n"],"names":["useResizeObserverRef","callback","targetDocument","useFluent","observer","React","useState","_targetDocument_defaultView","ResizeObserverConstructor","defaultView","ResizeObserver","ref","useCallback","element","observe","disconnect"],"mappings":";;;;+BAEaA;;;eAAAA;;;;iEAFU;qCACyB;AACzC,MAAMA,uBAAuB,CAACC;IACjC,MAAM,EAAEC,cAAc,EAAE,GAAGC,IAAAA,uCAAS;IACpC,MAAM,CAACC,SAAS,GAAGC,OAAMC,QAAQ,CAAC;QAC9B,IAAIC;QACJ,MAAMC,4BAA4BN,mBAAmB,QAAQA,mBAAmB,KAAK,IAAI,KAAK,IAAI,AAACK,CAAAA,8BAA8BL,eAAeO,WAAW,AAAD,MAAO,QAAQF,gCAAgC,KAAK,IAAI,KAAK,IAAIA,4BAA4BG,cAAc;QACrQ,IAAIF,2BAA2B;YAC3B,OAAO,IAAIA,0BAA0BP;QACzC;IACJ;IACA,MAAMU,MAAMN,OAAMO,WAAW,CAAC,CAACC;QAC3B,IAAIA,SAAS;YACTT,aAAa,QAAQA,aAAa,KAAK,IAAI,KAAK,IAAIA,SAASU,OAAO,CAACD;QACzE,OAAO;YACHT,aAAa,QAAQA,aAAa,KAAK,IAAI,KAAK,IAAIA,SAASW,UAAU;QAC3E;IACJ,GAAG;QACCX;KACH;IACD,OAAOO;AACX"}
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "useTagPickerFilter", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return useTagPickerFilter;
9
+ }
10
+ });
11
+ const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
12
+ const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
13
+ const _TagPickerOption = require("../TagPickerOption");
14
+ function defaultRenderOption(option) {
15
+ return /*#__PURE__*/ _react.createElement(_TagPickerOption.TagPickerOption, {
16
+ value: option,
17
+ key: option
18
+ }, option);
19
+ }
20
+ function useTagPickerFilter({ filter: filterOverride, noOptionsElement, renderOption = defaultRenderOption, query, options }) {
21
+ const defaultFilter = _react.useCallback((option)=>{
22
+ const trimmedQuery = query.trim();
23
+ if (trimmedQuery === '') {
24
+ return true;
25
+ }
26
+ return option.toLowerCase().includes(trimmedQuery.toLowerCase());
27
+ }, [
28
+ query
29
+ ]);
30
+ const filter = filterOverride !== null && filterOverride !== void 0 ? filterOverride : defaultFilter;
31
+ const filteredOptions = _react.useMemo(()=>options.reduce((accumulator, option, index)=>{
32
+ if (filter(option, index)) {
33
+ accumulator.push(renderOption(option));
34
+ }
35
+ return accumulator;
36
+ }, []), [
37
+ options,
38
+ renderOption,
39
+ filter
40
+ ]);
41
+ return filteredOptions.length === 0 ? [
42
+ noOptionsElement.key ? noOptionsElement : /*#__PURE__*/ _react.cloneElement(noOptionsElement, {
43
+ key: 'no-options'
44
+ })
45
+ ] : filteredOptions;
46
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["useTagPickerFilter.js"],"sourcesContent":["import * as React from 'react';\nimport { TagPickerOption } from '../TagPickerOption';\nfunction defaultRenderOption(option) {\n return /*#__PURE__*/ React.createElement(TagPickerOption, {\n value: option,\n key: option\n }, option);\n}\nexport function useTagPickerFilter({ filter: filterOverride, noOptionsElement, renderOption = defaultRenderOption, query, options }) {\n const defaultFilter = React.useCallback((option)=>{\n const trimmedQuery = query.trim();\n if (trimmedQuery === '') {\n return true;\n }\n return option.toLowerCase().includes(trimmedQuery.toLowerCase());\n }, [\n query\n ]);\n const filter = filterOverride !== null && filterOverride !== void 0 ? filterOverride : defaultFilter;\n const filteredOptions = React.useMemo(()=>options.reduce((accumulator, option, index)=>{\n if (filter(option, index)) {\n accumulator.push(renderOption(option));\n }\n return accumulator;\n }, []), [\n options,\n renderOption,\n filter\n ]);\n return filteredOptions.length === 0 ? [\n noOptionsElement.key ? noOptionsElement : /*#__PURE__*/ React.cloneElement(noOptionsElement, {\n key: 'no-options'\n })\n ] : filteredOptions;\n}\n"],"names":["useTagPickerFilter","defaultRenderOption","option","React","createElement","TagPickerOption","value","key","filter","filterOverride","noOptionsElement","renderOption","query","options","defaultFilter","useCallback","trimmedQuery","trim","toLowerCase","includes","filteredOptions","useMemo","reduce","accumulator","index","push","length","cloneElement"],"mappings":";;;;+BAQgBA;;;eAAAA;;;;iEARO;iCACS;AAChC,SAASC,oBAAoBC,MAAM;IAC/B,OAAO,WAAW,GAAGC,OAAMC,aAAa,CAACC,gCAAe,EAAE;QACtDC,OAAOJ;QACPK,KAAKL;IACT,GAAGA;AACP;AACO,SAASF,mBAAmB,EAAEQ,QAAQC,cAAc,EAAEC,gBAAgB,EAAEC,eAAeV,mBAAmB,EAAEW,KAAK,EAAEC,OAAO,EAAE;IAC/H,MAAMC,gBAAgBX,OAAMY,WAAW,CAAC,CAACb;QACrC,MAAMc,eAAeJ,MAAMK,IAAI;QAC/B,IAAID,iBAAiB,IAAI;YACrB,OAAO;QACX;QACA,OAAOd,OAAOgB,WAAW,GAAGC,QAAQ,CAACH,aAAaE,WAAW;IACjE,GAAG;QACCN;KACH;IACD,MAAMJ,SAASC,mBAAmB,QAAQA,mBAAmB,KAAK,IAAIA,iBAAiBK;IACvF,MAAMM,kBAAkBjB,OAAMkB,OAAO,CAAC,IAAIR,QAAQS,MAAM,CAAC,CAACC,aAAarB,QAAQsB;YACvE,IAAIhB,OAAON,QAAQsB,QAAQ;gBACvBD,YAAYE,IAAI,CAACd,aAAaT;YAClC;YACA,OAAOqB;QACX,GAAG,EAAE,GAAG;QACRV;QACAF;QACAH;KACH;IACD,OAAOY,gBAAgBM,MAAM,KAAK,IAAI;QAClChB,iBAAiBH,GAAG,GAAGG,mBAAmB,WAAW,GAAGP,OAAMwB,YAAY,CAACjB,kBAAkB;YACzFH,KAAK;QACT;KACH,GAAGa;AACR"}
package/package.json ADDED
@@ -0,0 +1,80 @@
1
+ {
2
+ "name": "@fluentui/react-tag-picker",
3
+ "version": "9.0.0",
4
+ "description": "FluentUI TagPicker component",
5
+ "main": "lib-commonjs/index.js",
6
+ "module": "lib/index.js",
7
+ "typings": "./dist/index.d.ts",
8
+ "sideEffects": false,
9
+ "files": [
10
+ "*.md",
11
+ "dist/*.d.ts",
12
+ "lib",
13
+ "lib-commonjs"
14
+ ],
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "https://github.com/microsoft/fluentui"
18
+ },
19
+ "license": "MIT",
20
+ "scripts": {
21
+ "build": "just-scripts build",
22
+ "clean": "just-scripts clean",
23
+ "generate-api": "just-scripts generate-api",
24
+ "lint": "just-scripts lint",
25
+ "start": "yarn storybook",
26
+ "storybook": "start-storybook",
27
+ "test": "jest --passWithNoTests",
28
+ "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"",
29
+ "type-check": "tsc -b tsconfig.json",
30
+ "e2e": "cypress run --component",
31
+ "e2e:local": "cypress open --component",
32
+ "bundle-size": "monosize measure"
33
+ },
34
+ "devDependencies": {
35
+ "@fluentui/eslint-plugin": "*",
36
+ "@fluentui/react-conformance": "*",
37
+ "@fluentui/react-conformance-griffel": "*",
38
+ "@fluentui/scripts-api-extractor": "*",
39
+ "@fluentui/scripts-tasks": "*"
40
+ },
41
+ "dependencies": {
42
+ "@fluentui/react-jsx-runtime": "^9.0.37",
43
+ "@fluentui/react-shared-contexts": "^9.18.0",
44
+ "@fluentui/react-theme": "^9.1.19",
45
+ "@fluentui/react-utilities": "^9.18.8",
46
+ "@fluentui/react-portal": "^9.4.24",
47
+ "@fluentui/react-tabster": "^9.21.2",
48
+ "@fluentui/react-aria": "^9.11.2",
49
+ "@fluentui/react-icons": "^2.0.237",
50
+ "@fluentui/react-combobox": "^9.11.2",
51
+ "@fluentui/react-tags": "^9.3.4",
52
+ "@fluentui/react-context-selector": "^9.1.59",
53
+ "@fluentui/react-positioning": "^9.15.0",
54
+ "@fluentui/keyboard-keys": "^9.0.7",
55
+ "@fluentui/react-field": "^9.1.64",
56
+ "@griffel/react": "^1.5.14",
57
+ "@swc/helpers": "^0.5.1"
58
+ },
59
+ "peerDependencies": {
60
+ "@types/react": ">=16.14.0 <19.0.0",
61
+ "@types/react-dom": ">=16.9.0 <19.0.0",
62
+ "react": ">=16.14.0 <19.0.0",
63
+ "react-dom": ">=16.14.0 <19.0.0"
64
+ },
65
+ "exports": {
66
+ ".": {
67
+ "types": "./dist/index.d.ts",
68
+ "node": "./lib-commonjs/index.js",
69
+ "import": "./lib/index.js",
70
+ "require": "./lib-commonjs/index.js"
71
+ },
72
+ "./package.json": "./package.json"
73
+ },
74
+ "beachball": {
75
+ "disallowedChangeTypes": [
76
+ "major",
77
+ "prerelease"
78
+ ]
79
+ }
80
+ }