@fluentui/react-migration-v0-v9 9.75.2-experimental.css-modules-subpath.20261120-0eb82b7e7e.0 → 9.75.2-experimental.positioning-engine.20261123-dff30aeb4b.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 (324) hide show
  1. package/CHANGELOG.md +13 -13
  2. package/lib/components/Attachment/AttachmentAction.js +3 -3
  3. package/lib/components/Attachment/AttachmentAction.js.map +1 -1
  4. package/lib/components/Attachment/AttachmentIcon.styles.js +4 -4
  5. package/lib/components/Attachment/AttachmentIcon.styles.js.map +1 -1
  6. package/lib/components/Attachment/AttachmentIcon.styles.raw.js +3 -3
  7. package/lib/components/Attachment/AttachmentIcon.styles.raw.js.map +1 -1
  8. package/lib/components/Flex/Flex.js +1 -2
  9. package/lib/components/Flex/Flex.js.map +1 -1
  10. package/lib/components/FormField/FormFieldShim.js +2 -2
  11. package/lib/components/FormField/FormFieldShim.js.map +1 -1
  12. package/lib/components/List/List/useList.js +1 -1
  13. package/lib/components/List/List/useList.js.map +1 -1
  14. package/lib/components/List/ListItem/useListItem.js +6 -12
  15. package/lib/components/List/ListItem/useListItem.js.map +1 -1
  16. package/lib/components/List/ListItem/useListItemStyles.styles.js +2 -4
  17. package/lib/components/List/ListItem/useListItemStyles.styles.js.map +1 -1
  18. package/lib/components/List/ListItem/useListItemStyles.styles.raw.js +2 -4
  19. package/lib/components/List/ListItem/useListItemStyles.styles.raw.js.map +1 -1
  20. package/lib/components/List/hooks/useListSelection.js +1 -1
  21. package/lib/components/List/hooks/useListSelection.js.map +1 -1
  22. package/lib/components/Video/Video.js +1 -1
  23. package/lib/components/Video/Video.js.map +1 -1
  24. package/lib-commonjs/components/Attachment/AttachmentAction.cjs +3 -3
  25. package/lib-commonjs/components/Attachment/AttachmentAction.cjs.map +1 -1
  26. package/lib-commonjs/components/Attachment/AttachmentIcon.styles.cjs +6 -6
  27. package/lib-commonjs/components/Attachment/AttachmentIcon.styles.cjs.map +1 -1
  28. package/lib-commonjs/components/Attachment/AttachmentIcon.styles.raw.cjs +2 -2
  29. package/lib-commonjs/components/Attachment/AttachmentIcon.styles.raw.cjs.map +1 -1
  30. package/lib-commonjs/components/Flex/Flex.cjs +1 -2
  31. package/lib-commonjs/components/Flex/Flex.cjs.map +1 -1
  32. package/lib-commonjs/components/FormField/FormFieldShim.cjs +2 -2
  33. package/lib-commonjs/components/FormField/FormFieldShim.cjs.map +1 -1
  34. package/lib-commonjs/components/List/List/useList.cjs +1 -1
  35. package/lib-commonjs/components/List/List/useList.cjs.map +1 -1
  36. package/lib-commonjs/components/List/ListItem/useListItem.cjs +6 -12
  37. package/lib-commonjs/components/List/ListItem/useListItem.cjs.map +1 -1
  38. package/lib-commonjs/components/List/ListItem/useListItemStyles.styles.cjs +2 -4
  39. package/lib-commonjs/components/List/ListItem/useListItemStyles.styles.cjs.map +1 -1
  40. package/lib-commonjs/components/List/ListItem/useListItemStyles.styles.raw.cjs +2 -4
  41. package/lib-commonjs/components/List/ListItem/useListItemStyles.styles.raw.cjs.map +1 -1
  42. package/lib-commonjs/components/List/hooks/useListSelection.cjs +1 -1
  43. package/lib-commonjs/components/List/hooks/useListSelection.cjs.map +1 -1
  44. package/lib-commonjs/components/Video/Video.cjs +1 -1
  45. package/lib-commonjs/components/Video/Video.cjs.map +1 -1
  46. package/package.json +11 -24
  47. package/dist/css-modules.d.cts +0 -2
  48. package/dist/css-modules.d.ts +0 -2
  49. package/lib/components/Attachment/Attachment.module.css +0 -48
  50. package/lib/components/Attachment/Attachment.styles.css.js +0 -3
  51. package/lib/components/Attachment/Attachment.styles.css.js.map +0 -1
  52. package/lib/components/Attachment/Attachment.styles.raw.css.js +0 -3
  53. package/lib/components/Attachment/Attachment.styles.raw.css.js.map +0 -1
  54. package/lib/components/Attachment/AttachmentAction.module.css +0 -15
  55. package/lib/components/Attachment/AttachmentAction.styles.css.js +0 -2
  56. package/lib/components/Attachment/AttachmentAction.styles.css.js.map +0 -1
  57. package/lib/components/Attachment/AttachmentAction.styles.raw.css.js +0 -2
  58. package/lib/components/Attachment/AttachmentAction.styles.raw.css.js.map +0 -1
  59. package/lib/components/Attachment/AttachmentBody.module.css +0 -3
  60. package/lib/components/Attachment/AttachmentBody.styles.css.js +0 -2
  61. package/lib/components/Attachment/AttachmentBody.styles.css.js.map +0 -1
  62. package/lib/components/Attachment/AttachmentBody.styles.raw.css.js +0 -2
  63. package/lib/components/Attachment/AttachmentBody.styles.raw.css.js.map +0 -1
  64. package/lib/components/Attachment/AttachmentDescription.module.css +0 -6
  65. package/lib/components/Attachment/AttachmentDescription.styles.css.js +0 -2
  66. package/lib/components/Attachment/AttachmentDescription.styles.css.js.map +0 -1
  67. package/lib/components/Attachment/AttachmentDescription.styles.raw.css.js +0 -2
  68. package/lib/components/Attachment/AttachmentDescription.styles.raw.css.js.map +0 -1
  69. package/lib/components/Attachment/AttachmentHeader.module.css +0 -6
  70. package/lib/components/Attachment/AttachmentHeader.styles.css.js +0 -2
  71. package/lib/components/Attachment/AttachmentHeader.styles.css.js.map +0 -1
  72. package/lib/components/Attachment/AttachmentHeader.styles.raw.css.js +0 -2
  73. package/lib/components/Attachment/AttachmentHeader.styles.raw.css.js.map +0 -1
  74. package/lib/components/Attachment/AttachmentIcon.module.css +0 -20
  75. package/lib/components/Attachment/AttachmentIcon.styles.css.js +0 -2
  76. package/lib/components/Attachment/AttachmentIcon.styles.css.js.map +0 -1
  77. package/lib/components/Attachment/AttachmentIcon.styles.raw.css.js +0 -2
  78. package/lib/components/Attachment/AttachmentIcon.styles.raw.css.js.map +0 -1
  79. package/lib/components/Flex/Flex.module.css +0 -100
  80. package/lib/components/Flex/Flex.styles.css.js +0 -2
  81. package/lib/components/Flex/Flex.styles.css.js.map +0 -1
  82. package/lib/components/Flex/Flex.styles.raw.css.js +0 -2
  83. package/lib/components/Flex/Flex.styles.raw.css.js.map +0 -1
  84. package/lib/components/Grid/Grid.module.css +0 -36
  85. package/lib/components/Grid/Grid.styles.css.js +0 -2
  86. package/lib/components/Grid/Grid.styles.css.js.map +0 -1
  87. package/lib/components/Grid/Grid.styles.raw.css.js +0 -2
  88. package/lib/components/Grid/Grid.styles.raw.css.js.map +0 -1
  89. package/lib/components/ItemLayout/ItemLayout.module.css +0 -63
  90. package/lib/components/ItemLayout/ItemLayout.styles.css.js +0 -2
  91. package/lib/components/ItemLayout/ItemLayout.styles.css.js.map +0 -1
  92. package/lib/components/ItemLayout/ItemLayout.styles.raw.css.js +0 -2
  93. package/lib/components/ItemLayout/ItemLayout.styles.raw.css.js.map +0 -1
  94. package/lib/components/List/List/List.module.css +0 -14
  95. package/lib/components/List/List/useListStyles.styles.css.js +0 -11
  96. package/lib/components/List/List/useListStyles.styles.css.js.map +0 -1
  97. package/lib/components/List/List/useListStyles.styles.raw.css.js +0 -11
  98. package/lib/components/List/List/useListStyles.styles.raw.css.js.map +0 -1
  99. package/lib/components/List/ListItem/ListItem.module.css +0 -38
  100. package/lib/components/List/ListItem/useListItemStyles.styles.css.js +0 -25
  101. package/lib/components/List/ListItem/useListItemStyles.styles.css.js.map +0 -1
  102. package/lib/components/List/ListItem/useListItemStyles.styles.raw.css.js +0 -25
  103. package/lib/components/List/ListItem/useListItemStyles.styles.raw.css.js.map +0 -1
  104. package/lib/components/Segment/Segment.module.css +0 -8
  105. package/lib/components/Segment/Segment.styles.css.js +0 -2
  106. package/lib/components/Segment/Segment.styles.css.js.map +0 -1
  107. package/lib/components/Segment/Segment.styles.raw.css.js +0 -2
  108. package/lib/components/Segment/Segment.styles.raw.css.js.map +0 -1
  109. package/lib/components/StyledText/StyledText.module.css +0 -113
  110. package/lib/components/StyledText/StyledText.styles.css.js +0 -4
  111. package/lib/components/StyledText/StyledText.styles.css.js.map +0 -1
  112. package/lib/components/StyledText/StyledText.styles.raw.css.js +0 -4
  113. package/lib/components/StyledText/StyledText.styles.raw.css.js.map +0 -1
  114. package/lib/components/Video/Video.module.css +0 -6
  115. package/lib/components/Video/Video.styles.css.js +0 -2
  116. package/lib/components/Video/Video.styles.css.js.map +0 -1
  117. package/lib/components/Video/Video.styles.raw.css.js +0 -2
  118. package/lib/components/Video/Video.styles.raw.css.js.map +0 -1
  119. package/lib/css-modules/components/Attachment/Attachment.js +0 -36
  120. package/lib/css-modules/components/Attachment/Attachment.js.map +0 -1
  121. package/lib/css-modules/components/Attachment/AttachmentAction.js +0 -44
  122. package/lib/css-modules/components/Attachment/AttachmentAction.js.map +0 -1
  123. package/lib/css-modules/components/Attachment/AttachmentBody.js +0 -15
  124. package/lib/css-modules/components/Attachment/AttachmentBody.js.map +0 -1
  125. package/lib/css-modules/components/Attachment/AttachmentDescription.js +0 -15
  126. package/lib/css-modules/components/Attachment/AttachmentDescription.js.map +0 -1
  127. package/lib/css-modules/components/Attachment/AttachmentHeader.js +0 -15
  128. package/lib/css-modules/components/Attachment/AttachmentHeader.js.map +0 -1
  129. package/lib/css-modules/components/Attachment/AttachmentIcon.js +0 -15
  130. package/lib/css-modules/components/Attachment/AttachmentIcon.js.map +0 -1
  131. package/lib/css-modules/components/Attachment/index.js +0 -6
  132. package/lib/css-modules/components/Attachment/index.js.map +0 -1
  133. package/lib/css-modules/components/Flex/Flex.js +0 -60
  134. package/lib/css-modules/components/Flex/Flex.js.map +0 -1
  135. package/lib/css-modules/components/Flex/index.js +0 -3
  136. package/lib/css-modules/components/Flex/index.js.map +0 -1
  137. package/lib/css-modules/components/FormField/FormFieldShim.js +0 -42
  138. package/lib/css-modules/components/FormField/FormFieldShim.js.map +0 -1
  139. package/lib/css-modules/components/FormField/index.js +0 -1
  140. package/lib/css-modules/components/FormField/index.js.map +0 -1
  141. package/lib/css-modules/components/Grid/GridShim.js +0 -30
  142. package/lib/css-modules/components/Grid/GridShim.js.map +0 -1
  143. package/lib/css-modules/components/Grid/index.js +0 -3
  144. package/lib/css-modules/components/Grid/index.js.map +0 -1
  145. package/lib/css-modules/components/Input/Input.mixins.js +0 -19
  146. package/lib/css-modules/components/Input/Input.mixins.js.map +0 -1
  147. package/lib/css-modules/components/Input/index.js +0 -1
  148. package/lib/css-modules/components/Input/index.js.map +0 -1
  149. package/lib/css-modules/components/ItemLayout/ItemLayout.js +0 -79
  150. package/lib/css-modules/components/ItemLayout/ItemLayout.js.map +0 -1
  151. package/lib/css-modules/components/ItemLayout/index.js +0 -2
  152. package/lib/css-modules/components/ItemLayout/index.js.map +0 -1
  153. package/lib/css-modules/components/List/List/List.js +0 -15
  154. package/lib/css-modules/components/List/List/List.js.map +0 -1
  155. package/lib/css-modules/components/List/List/index.js +0 -4
  156. package/lib/css-modules/components/List/List/index.js.map +0 -1
  157. package/lib/css-modules/components/List/ListItem/ListItem.js +0 -13
  158. package/lib/css-modules/components/List/ListItem/ListItem.js.map +0 -1
  159. package/lib/css-modules/components/List/ListItem/index.js +0 -4
  160. package/lib/css-modules/components/List/ListItem/index.js.map +0 -1
  161. package/lib/css-modules/components/List/ListItem/renderListItem.js +0 -19
  162. package/lib/css-modules/components/List/ListItem/renderListItem.js.map +0 -1
  163. package/lib/css-modules/components/List/index.js +0 -3
  164. package/lib/css-modules/components/List/index.js.map +0 -1
  165. package/lib/css-modules/components/Primitive/Primitive.js +0 -16
  166. package/lib/css-modules/components/Primitive/Primitive.js.map +0 -1
  167. package/lib/css-modules/components/Primitive/index.js +0 -1
  168. package/lib/css-modules/components/Primitive/index.js.map +0 -1
  169. package/lib/css-modules/components/Segment/Segment.js +0 -16
  170. package/lib/css-modules/components/Segment/Segment.js.map +0 -1
  171. package/lib/css-modules/components/Segment/index.js +0 -1
  172. package/lib/css-modules/components/Segment/index.js.map +0 -1
  173. package/lib/css-modules/components/Spinner/SpinnerMigration.mixins.js +0 -14
  174. package/lib/css-modules/components/Spinner/SpinnerMigration.mixins.js.map +0 -1
  175. package/lib/css-modules/components/Spinner/index.js +0 -1
  176. package/lib/css-modules/components/Spinner/index.js.map +0 -1
  177. package/lib/css-modules/components/StyledText/StyledText.js +0 -40
  178. package/lib/css-modules/components/StyledText/StyledText.js.map +0 -1
  179. package/lib/css-modules/components/StyledText/index.js +0 -2
  180. package/lib/css-modules/components/StyledText/index.js.map +0 -1
  181. package/lib/css-modules/components/Video/Video.js +0 -42
  182. package/lib/css-modules/components/Video/Video.js.map +0 -1
  183. package/lib/css-modules/components/Video/index.js +0 -1
  184. package/lib/css-modules/components/Video/index.js.map +0 -1
  185. package/lib/css-modules/index.js +0 -14
  186. package/lib/css-modules/index.js.map +0 -1
  187. package/lib-commonjs/components/Attachment/Attachment.module.css +0 -48
  188. package/lib-commonjs/components/Attachment/Attachment.styles.css.cjs +0 -22
  189. package/lib-commonjs/components/Attachment/Attachment.styles.css.cjs.map +0 -1
  190. package/lib-commonjs/components/Attachment/Attachment.styles.raw.css.cjs +0 -22
  191. package/lib-commonjs/components/Attachment/Attachment.styles.raw.css.cjs.map +0 -1
  192. package/lib-commonjs/components/Attachment/AttachmentAction.module.css +0 -15
  193. package/lib-commonjs/components/Attachment/AttachmentAction.styles.css.cjs +0 -13
  194. package/lib-commonjs/components/Attachment/AttachmentAction.styles.css.cjs.map +0 -1
  195. package/lib-commonjs/components/Attachment/AttachmentAction.styles.raw.css.cjs +0 -13
  196. package/lib-commonjs/components/Attachment/AttachmentAction.styles.raw.css.cjs.map +0 -1
  197. package/lib-commonjs/components/Attachment/AttachmentBody.module.css +0 -3
  198. package/lib-commonjs/components/Attachment/AttachmentBody.styles.css.cjs +0 -13
  199. package/lib-commonjs/components/Attachment/AttachmentBody.styles.css.cjs.map +0 -1
  200. package/lib-commonjs/components/Attachment/AttachmentBody.styles.raw.css.cjs +0 -13
  201. package/lib-commonjs/components/Attachment/AttachmentBody.styles.raw.css.cjs.map +0 -1
  202. package/lib-commonjs/components/Attachment/AttachmentDescription.module.css +0 -6
  203. package/lib-commonjs/components/Attachment/AttachmentDescription.styles.css.cjs +0 -13
  204. package/lib-commonjs/components/Attachment/AttachmentDescription.styles.css.cjs.map +0 -1
  205. package/lib-commonjs/components/Attachment/AttachmentDescription.styles.raw.css.cjs +0 -13
  206. package/lib-commonjs/components/Attachment/AttachmentDescription.styles.raw.css.cjs.map +0 -1
  207. package/lib-commonjs/components/Attachment/AttachmentHeader.module.css +0 -6
  208. package/lib-commonjs/components/Attachment/AttachmentHeader.styles.css.cjs +0 -13
  209. package/lib-commonjs/components/Attachment/AttachmentHeader.styles.css.cjs.map +0 -1
  210. package/lib-commonjs/components/Attachment/AttachmentHeader.styles.raw.css.cjs +0 -13
  211. package/lib-commonjs/components/Attachment/AttachmentHeader.styles.raw.css.cjs.map +0 -1
  212. package/lib-commonjs/components/Attachment/AttachmentIcon.module.css +0 -20
  213. package/lib-commonjs/components/Attachment/AttachmentIcon.styles.css.cjs +0 -13
  214. package/lib-commonjs/components/Attachment/AttachmentIcon.styles.css.cjs.map +0 -1
  215. package/lib-commonjs/components/Attachment/AttachmentIcon.styles.raw.css.cjs +0 -13
  216. package/lib-commonjs/components/Attachment/AttachmentIcon.styles.raw.css.cjs.map +0 -1
  217. package/lib-commonjs/components/Flex/Flex.module.css +0 -100
  218. package/lib-commonjs/components/Flex/Flex.styles.css.cjs +0 -13
  219. package/lib-commonjs/components/Flex/Flex.styles.css.cjs.map +0 -1
  220. package/lib-commonjs/components/Flex/Flex.styles.raw.css.cjs +0 -13
  221. package/lib-commonjs/components/Flex/Flex.styles.raw.css.cjs.map +0 -1
  222. package/lib-commonjs/components/Grid/Grid.module.css +0 -36
  223. package/lib-commonjs/components/Grid/Grid.styles.css.cjs +0 -13
  224. package/lib-commonjs/components/Grid/Grid.styles.css.cjs.map +0 -1
  225. package/lib-commonjs/components/Grid/Grid.styles.raw.css.cjs +0 -13
  226. package/lib-commonjs/components/Grid/Grid.styles.raw.css.cjs.map +0 -1
  227. package/lib-commonjs/components/ItemLayout/ItemLayout.module.css +0 -63
  228. package/lib-commonjs/components/ItemLayout/ItemLayout.styles.css.cjs +0 -13
  229. package/lib-commonjs/components/ItemLayout/ItemLayout.styles.css.cjs.map +0 -1
  230. package/lib-commonjs/components/ItemLayout/ItemLayout.styles.raw.css.cjs +0 -13
  231. package/lib-commonjs/components/ItemLayout/ItemLayout.styles.raw.css.cjs.map +0 -1
  232. package/lib-commonjs/components/List/List/List.module.css +0 -14
  233. package/lib-commonjs/components/List/List/useListStyles.styles.css.cjs +0 -28
  234. package/lib-commonjs/components/List/List/useListStyles.styles.css.cjs.map +0 -1
  235. package/lib-commonjs/components/List/List/useListStyles.styles.raw.css.cjs +0 -28
  236. package/lib-commonjs/components/List/List/useListStyles.styles.raw.css.cjs.map +0 -1
  237. package/lib-commonjs/components/List/ListItem/ListItem.module.css +0 -38
  238. package/lib-commonjs/components/List/ListItem/useListItemStyles.styles.css.cjs +0 -42
  239. package/lib-commonjs/components/List/ListItem/useListItemStyles.styles.css.cjs.map +0 -1
  240. package/lib-commonjs/components/List/ListItem/useListItemStyles.styles.raw.css.cjs +0 -42
  241. package/lib-commonjs/components/List/ListItem/useListItemStyles.styles.raw.css.cjs.map +0 -1
  242. package/lib-commonjs/components/Segment/Segment.module.css +0 -8
  243. package/lib-commonjs/components/Segment/Segment.styles.css.cjs +0 -13
  244. package/lib-commonjs/components/Segment/Segment.styles.css.cjs.map +0 -1
  245. package/lib-commonjs/components/Segment/Segment.styles.raw.css.cjs +0 -13
  246. package/lib-commonjs/components/Segment/Segment.styles.raw.css.cjs.map +0 -1
  247. package/lib-commonjs/components/StyledText/StyledText.module.css +0 -113
  248. package/lib-commonjs/components/StyledText/StyledText.styles.css.cjs +0 -26
  249. package/lib-commonjs/components/StyledText/StyledText.styles.css.cjs.map +0 -1
  250. package/lib-commonjs/components/StyledText/StyledText.styles.raw.css.cjs +0 -26
  251. package/lib-commonjs/components/StyledText/StyledText.styles.raw.css.cjs.map +0 -1
  252. package/lib-commonjs/components/Video/Video.module.css +0 -6
  253. package/lib-commonjs/components/Video/Video.styles.css.cjs +0 -13
  254. package/lib-commonjs/components/Video/Video.styles.css.cjs.map +0 -1
  255. package/lib-commonjs/components/Video/Video.styles.raw.css.cjs +0 -13
  256. package/lib-commonjs/components/Video/Video.styles.raw.css.cjs.map +0 -1
  257. package/lib-commonjs/css-modules/components/Attachment/Attachment.cjs +0 -61
  258. package/lib-commonjs/css-modules/components/Attachment/Attachment.cjs.map +0 -1
  259. package/lib-commonjs/css-modules/components/Attachment/AttachmentAction.cjs +0 -63
  260. package/lib-commonjs/css-modules/components/Attachment/AttachmentAction.cjs.map +0 -1
  261. package/lib-commonjs/css-modules/components/Attachment/AttachmentBody.cjs +0 -34
  262. package/lib-commonjs/css-modules/components/Attachment/AttachmentBody.cjs.map +0 -1
  263. package/lib-commonjs/css-modules/components/Attachment/AttachmentDescription.cjs +0 -34
  264. package/lib-commonjs/css-modules/components/Attachment/AttachmentDescription.cjs.map +0 -1
  265. package/lib-commonjs/css-modules/components/Attachment/AttachmentHeader.cjs +0 -34
  266. package/lib-commonjs/css-modules/components/Attachment/AttachmentHeader.cjs.map +0 -1
  267. package/lib-commonjs/css-modules/components/Attachment/AttachmentIcon.cjs +0 -34
  268. package/lib-commonjs/css-modules/components/Attachment/AttachmentIcon.cjs.map +0 -1
  269. package/lib-commonjs/css-modules/components/Attachment/index.cjs +0 -60
  270. package/lib-commonjs/css-modules/components/Attachment/index.cjs.map +0 -1
  271. package/lib-commonjs/css-modules/components/Flex/Flex.cjs +0 -79
  272. package/lib-commonjs/css-modules/components/Flex/Flex.cjs.map +0 -1
  273. package/lib-commonjs/css-modules/components/Flex/index.cjs +0 -27
  274. package/lib-commonjs/css-modules/components/Flex/index.cjs.map +0 -1
  275. package/lib-commonjs/css-modules/components/FormField/FormFieldShim.cjs +0 -53
  276. package/lib-commonjs/css-modules/components/FormField/FormFieldShim.cjs.map +0 -1
  277. package/lib-commonjs/css-modules/components/FormField/index.cjs +0 -11
  278. package/lib-commonjs/css-modules/components/FormField/index.cjs.map +0 -1
  279. package/lib-commonjs/css-modules/components/Grid/GridShim.cjs +0 -49
  280. package/lib-commonjs/css-modules/components/Grid/GridShim.cjs.map +0 -1
  281. package/lib-commonjs/css-modules/components/Grid/index.cjs +0 -27
  282. package/lib-commonjs/css-modules/components/Grid/index.cjs.map +0 -1
  283. package/lib-commonjs/css-modules/components/Input/Input.mixins.cjs +0 -29
  284. package/lib-commonjs/css-modules/components/Input/Input.mixins.cjs.map +0 -1
  285. package/lib-commonjs/css-modules/components/Input/index.cjs +0 -11
  286. package/lib-commonjs/css-modules/components/Input/index.cjs.map +0 -1
  287. package/lib-commonjs/css-modules/components/ItemLayout/ItemLayout.cjs +0 -98
  288. package/lib-commonjs/css-modules/components/ItemLayout/ItemLayout.cjs.map +0 -1
  289. package/lib-commonjs/css-modules/components/ItemLayout/index.cjs +0 -23
  290. package/lib-commonjs/css-modules/components/ItemLayout/index.cjs.map +0 -1
  291. package/lib-commonjs/css-modules/components/List/List/List.cjs +0 -26
  292. package/lib-commonjs/css-modules/components/List/List/List.cjs.map +0 -1
  293. package/lib-commonjs/css-modules/components/List/List/index.cjs +0 -31
  294. package/lib-commonjs/css-modules/components/List/List/index.cjs.map +0 -1
  295. package/lib-commonjs/css-modules/components/List/ListItem/ListItem.cjs +0 -24
  296. package/lib-commonjs/css-modules/components/List/ListItem/ListItem.cjs.map +0 -1
  297. package/lib-commonjs/css-modules/components/List/ListItem/index.cjs +0 -31
  298. package/lib-commonjs/css-modules/components/List/ListItem/index.cjs.map +0 -1
  299. package/lib-commonjs/css-modules/components/List/ListItem/renderListItem.cjs +0 -27
  300. package/lib-commonjs/css-modules/components/List/ListItem/renderListItem.cjs.map +0 -1
  301. package/lib-commonjs/css-modules/components/List/index.cjs +0 -48
  302. package/lib-commonjs/css-modules/components/List/index.cjs.map +0 -1
  303. package/lib-commonjs/css-modules/components/Primitive/Primitive.cjs +0 -35
  304. package/lib-commonjs/css-modules/components/Primitive/Primitive.cjs.map +0 -1
  305. package/lib-commonjs/css-modules/components/Primitive/index.cjs +0 -19
  306. package/lib-commonjs/css-modules/components/Primitive/index.cjs.map +0 -1
  307. package/lib-commonjs/css-modules/components/Segment/Segment.cjs +0 -35
  308. package/lib-commonjs/css-modules/components/Segment/Segment.cjs.map +0 -1
  309. package/lib-commonjs/css-modules/components/Segment/index.cjs +0 -19
  310. package/lib-commonjs/css-modules/components/Segment/index.cjs.map +0 -1
  311. package/lib-commonjs/css-modules/components/Spinner/SpinnerMigration.mixins.cjs +0 -24
  312. package/lib-commonjs/css-modules/components/Spinner/SpinnerMigration.mixins.cjs.map +0 -1
  313. package/lib-commonjs/css-modules/components/Spinner/index.cjs +0 -11
  314. package/lib-commonjs/css-modules/components/Spinner/index.cjs.map +0 -1
  315. package/lib-commonjs/css-modules/components/StyledText/StyledText.cjs +0 -59
  316. package/lib-commonjs/css-modules/components/StyledText/StyledText.cjs.map +0 -1
  317. package/lib-commonjs/css-modules/components/StyledText/index.cjs +0 -29
  318. package/lib-commonjs/css-modules/components/StyledText/index.cjs.map +0 -1
  319. package/lib-commonjs/css-modules/components/Video/Video.cjs +0 -61
  320. package/lib-commonjs/css-modules/components/Video/Video.cjs.map +0 -1
  321. package/lib-commonjs/css-modules/components/Video/index.cjs +0 -19
  322. package/lib-commonjs/css-modules/components/Video/index.cjs.map +0 -1
  323. package/lib-commonjs/css-modules/index.cjs +0 -182
  324. package/lib-commonjs/css-modules/index.cjs.map +0 -1
@@ -1,79 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, jsxs as _jsxs } from "@fluentui/react-jsx-runtime/jsx-runtime";
3
- import * as React from "react";
4
- import { mergeClasses } from "@fluentui/react-components/css-modules";
5
- import { getIntrinsicElementProps, slot, assertSlots } from "@fluentui/react-utilities";
6
- import { useItemLayoutStyles } from "../../../components/ItemLayout/ItemLayout.styles.css.js";
7
- export const itemLayoutClassName = 'fui-ItemLayout';
8
- export const ItemLayout = /*#__PURE__*/ React.forwardRef((props, ref)=>{
9
- const state = {
10
- components: {
11
- root: 'div',
12
- contentWrapper: 'div',
13
- contentMedia: 'div',
14
- header: 'div',
15
- headerMedia: 'div',
16
- startMedia: 'div',
17
- endMedia: 'div'
18
- },
19
- root: slot.always(getIntrinsicElementProps('div', {
20
- ...props,
21
- ref
22
- }), {
23
- elementType: 'div'
24
- }),
25
- contentMedia: slot.optional(props.contentMedia, {
26
- elementType: 'div'
27
- }),
28
- contentWrapper: slot.optional(props.contentWrapper, {
29
- renderByDefault: true,
30
- elementType: 'div'
31
- }),
32
- header: slot.optional(props.header, {
33
- elementType: 'div'
34
- }),
35
- headerMedia: slot.optional(props.headerMedia, {
36
- elementType: 'div'
37
- }),
38
- startMedia: slot.optional(props.startMedia, {
39
- elementType: 'div'
40
- }),
41
- endMedia: slot.optional(props.endMedia, {
42
- elementType: 'div'
43
- })
44
- };
45
- const styles = useItemLayoutStyles();
46
- state.root.className = mergeClasses(itemLayoutClassName, styles.root, state.root.className);
47
- if (state.contentWrapper) {
48
- state.contentWrapper.className = mergeClasses(styles.contentWrapper, state.contentWrapper.className);
49
- }
50
- if (state.contentMedia) {
51
- state.contentMedia.className = mergeClasses(styles.contentMedia, state.contentMedia.className);
52
- }
53
- if (state.header) {
54
- state.header.className = mergeClasses(styles.header, state.header.className);
55
- }
56
- if (state.headerMedia) {
57
- state.headerMedia.className = mergeClasses(styles.headerMedia, state.headerMedia.className);
58
- }
59
- if (state.startMedia) {
60
- state.startMedia.className = mergeClasses(styles.startMedia, state.startMedia.className);
61
- }
62
- if (state.endMedia) {
63
- state.endMedia.className = mergeClasses(styles.endMedia, state.endMedia.className);
64
- }
65
- assertSlots(state);
66
- return /*#__PURE__*/ _jsxs(state.root, {
67
- children: [
68
- state.startMedia && /*#__PURE__*/ _jsx(state.startMedia, {}),
69
- state.header && /*#__PURE__*/ _jsx(state.header, {}),
70
- state.headerMedia && /*#__PURE__*/ _jsx(state.headerMedia, {}),
71
- state.contentWrapper && /*#__PURE__*/ _jsx(state.contentWrapper, {
72
- children: state.root.children
73
- }),
74
- state.contentMedia && /*#__PURE__*/ _jsx(state.contentMedia, {}),
75
- state.endMedia && /*#__PURE__*/ _jsx(state.endMedia, {})
76
- ]
77
- });
78
- });
79
- ItemLayout.displayName = 'ItemLayout';
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/ItemLayout/ItemLayout.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\n'use client';\n\nimport * as React from 'react';\nimport { mergeClasses } from '@fluentui/react-components';\nimport type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\nimport { getIntrinsicElementProps, slot, assertSlots } from '@fluentui/react-utilities';\n\nimport { useItemLayoutStyles } from './ItemLayout.styles';\n\ntype ItemLayoutSlots = {\n root: Slot<'div'>;\n\n contentMedia?: Slot<'div'>;\n contentWrapper?: Slot<'div'>;\n\n header?: Slot<'div'>;\n headerMedia?: Slot<'div'>;\n\n startMedia?: Slot<'div'>;\n endMedia?: Slot<'div'>;\n};\n\ntype ItemLayoutProps = ComponentProps<ItemLayoutSlots>;\n\ntype ItemLayoutState = ComponentState<ItemLayoutSlots>;\n\nexport const itemLayoutClassName = 'fui-ItemLayout';\n\nexport const ItemLayout = React.forwardRef<HTMLDivElement, ItemLayoutProps>((props, ref) => {\n const state: ItemLayoutState = {\n components: {\n root: 'div',\n contentWrapper: 'div',\n contentMedia: 'div',\n header: 'div',\n headerMedia: 'div',\n startMedia: 'div',\n endMedia: 'div',\n },\n root: slot.always(getIntrinsicElementProps('div', { ...props, ref }), { elementType: 'div' }),\n contentMedia: slot.optional(props.contentMedia, { elementType: 'div' }),\n contentWrapper: slot.optional(props.contentWrapper, { renderByDefault: true, elementType: 'div' }),\n header: slot.optional(props.header, { elementType: 'div' }),\n headerMedia: slot.optional(props.headerMedia, { elementType: 'div' }),\n startMedia: slot.optional(props.startMedia, { elementType: 'div' }),\n endMedia: slot.optional(props.endMedia, { elementType: 'div' }),\n };\n const styles = useItemLayoutStyles();\n\n state.root.className = mergeClasses(itemLayoutClassName, styles.root, state.root.className);\n if (state.contentWrapper) {\n state.contentWrapper.className = mergeClasses(styles.contentWrapper, state.contentWrapper.className);\n }\n\n if (state.contentMedia) {\n state.contentMedia.className = mergeClasses(styles.contentMedia, state.contentMedia.className);\n }\n\n if (state.header) {\n state.header.className = mergeClasses(styles.header, state.header.className);\n }\n\n if (state.headerMedia) {\n state.headerMedia.className = mergeClasses(styles.headerMedia, state.headerMedia.className);\n }\n\n if (state.startMedia) {\n state.startMedia.className = mergeClasses(styles.startMedia, state.startMedia.className);\n }\n\n if (state.endMedia) {\n state.endMedia.className = mergeClasses(styles.endMedia, state.endMedia.className);\n }\n\n assertSlots<ItemLayoutSlots>(state);\n\n return (\n <state.root>\n {state.startMedia && <state.startMedia />}\n {state.header && <state.header />}\n {state.headerMedia && <state.headerMedia />}\n {state.contentWrapper && <state.contentWrapper>{state.root.children}</state.contentWrapper>}\n {state.contentMedia && <state.contentMedia />}\n {state.endMedia && <state.endMedia />}\n </state.root>\n );\n});\n\nItemLayout.displayName = 'ItemLayout';\n"],"names":["React","mergeClasses","getIntrinsicElementProps","slot","assertSlots","useItemLayoutStyles","itemLayoutClassName","ItemLayout","forwardRef","props","ref","state","components","root","contentWrapper","contentMedia","header","headerMedia","startMedia","endMedia","always","elementType","optional","renderByDefault","styles","className","children","displayName"],"mappings":"AAAA,0BAA0B,GAC1B,iDAAiD,GAEjD;;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,6BAA6B;AAE1D,SAASC,wBAAwB,EAAEC,IAAI,EAAEC,WAAW,QAAQ,4BAA4B;AAExF,SAASC,mBAAmB,QAAQ,yBAAsB;AAmB1D,OAAO,MAAMC,sBAAsB,iBAAiB;AAEpD,OAAO,MAAMC,2BAAaP,MAAMQ,UAAU,CAAkC,CAACC,OAAOC;IAClF,MAAMC,QAAyB;QAC7BC,YAAY;YACVC,MAAM;YACNC,gBAAgB;YAChBC,cAAc;YACdC,QAAQ;YACRC,aAAa;YACbC,YAAY;YACZC,UAAU;QACZ;QACAN,MAAMV,KAAKiB,MAAM,CAAClB,yBAAyB,OAAO;YAAE,GAAGO,KAAK;YAAEC;QAAI,IAAI;YAAEW,aAAa;QAAM;QAC3FN,cAAcZ,KAAKmB,QAAQ,CAACb,MAAMM,YAAY,EAAE;YAAEM,aAAa;QAAM;QACrEP,gBAAgBX,KAAKmB,QAAQ,CAACb,MAAMK,cAAc,EAAE;YAAES,iBAAiB;YAAMF,aAAa;QAAM;QAChGL,QAAQb,KAAKmB,QAAQ,CAACb,MAAMO,MAAM,EAAE;YAAEK,aAAa;QAAM;QACzDJ,aAAad,KAAKmB,QAAQ,CAACb,MAAMQ,WAAW,EAAE;YAAEI,aAAa;QAAM;QACnEH,YAAYf,KAAKmB,QAAQ,CAACb,MAAMS,UAAU,EAAE;YAAEG,aAAa;QAAM;QACjEF,UAAUhB,KAAKmB,QAAQ,CAACb,MAAMU,QAAQ,EAAE;YAAEE,aAAa;QAAM;IAC/D;IACA,MAAMG,SAASnB;IAEfM,MAAME,IAAI,CAACY,SAAS,GAAGxB,aAAaK,qBAAqBkB,OAAOX,IAAI,EAAEF,MAAME,IAAI,CAACY,SAAS;IAC1F,IAAId,MAAMG,cAAc,EAAE;QACxBH,MAAMG,cAAc,CAACW,SAAS,GAAGxB,aAAauB,OAAOV,cAAc,EAAEH,MAAMG,cAAc,CAACW,SAAS;IACrG;IAEA,IAAId,MAAMI,YAAY,EAAE;QACtBJ,MAAMI,YAAY,CAACU,SAAS,GAAGxB,aAAauB,OAAOT,YAAY,EAAEJ,MAAMI,YAAY,CAACU,SAAS;IAC/F;IAEA,IAAId,MAAMK,MAAM,EAAE;QAChBL,MAAMK,MAAM,CAACS,SAAS,GAAGxB,aAAauB,OAAOR,MAAM,EAAEL,MAAMK,MAAM,CAACS,SAAS;IAC7E;IAEA,IAAId,MAAMM,WAAW,EAAE;QACrBN,MAAMM,WAAW,CAACQ,SAAS,GAAGxB,aAAauB,OAAOP,WAAW,EAAEN,MAAMM,WAAW,CAACQ,SAAS;IAC5F;IAEA,IAAId,MAAMO,UAAU,EAAE;QACpBP,MAAMO,UAAU,CAACO,SAAS,GAAGxB,aAAauB,OAAON,UAAU,EAAEP,MAAMO,UAAU,CAACO,SAAS;IACzF;IAEA,IAAId,MAAMQ,QAAQ,EAAE;QAClBR,MAAMQ,QAAQ,CAACM,SAAS,GAAGxB,aAAauB,OAAOL,QAAQ,EAAER,MAAMQ,QAAQ,CAACM,SAAS;IACnF;IAEArB,YAA6BO;IAE7B,qBACE,MAACA,MAAME,IAAI;;YACRF,MAAMO,UAAU,kBAAI,KAACP,MAAMO,UAAU;YACrCP,MAAMK,MAAM,kBAAI,KAACL,MAAMK,MAAM;YAC7BL,MAAMM,WAAW,kBAAI,KAACN,MAAMM,WAAW;YACvCN,MAAMG,cAAc,kBAAI,KAACH,MAAMG,cAAc;0BAAEH,MAAME,IAAI,CAACa,QAAQ;;YAClEf,MAAMI,YAAY,kBAAI,KAACJ,MAAMI,YAAY;YACzCJ,MAAMQ,QAAQ,kBAAI,KAACR,MAAMQ,QAAQ;;;AAGxC,GAAG;AAEHZ,WAAWoB,WAAW,GAAG"}
@@ -1,2 +0,0 @@
1
- export { ItemLayout, itemLayoutClassName } from "./ItemLayout.js";
2
- export { useItemLayoutStyles } from "../../../components/ItemLayout/ItemLayout.styles.css.js";
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/ItemLayout/index.tsx"],"sourcesContent":["export { ItemLayout, itemLayoutClassName } from './ItemLayout';\nexport { useItemLayoutStyles } from './ItemLayout.styles';\n"],"names":["ItemLayout","itemLayoutClassName","useItemLayoutStyles"],"mappings":"AAAA,SAASA,UAAU,EAAEC,mBAAmB,QAAQ,kBAAe;AAC/D,SAASC,mBAAmB,QAAQ,yBAAsB"}
@@ -1,15 +0,0 @@
1
- 'use client';
2
- import * as React from "react";
3
- import { useCustomStyleHook_unstable } from "@fluentui/react-shared-contexts";
4
- import { useList_unstable } from "../../../../components/List/List/useList.js";
5
- import { renderList_unstable } from "../../../../components/List/List/renderList.js";
6
- import { useListStyles_unstable } from "../../../../components/List/List/useListStyles.styles.css.js";
7
- import { useListContextValues_unstable } from "../../../../components/List/List/useListContextValues.js";
8
- export const List = /*#__PURE__*/ React.forwardRef((props, ref)=>{
9
- const state = useList_unstable(props, ref);
10
- const contextValues = useListContextValues_unstable(state);
11
- useListStyles_unstable(state);
12
- useCustomStyleHook_unstable('useListStyles_unstable')(state);
13
- return renderList_unstable(state, contextValues);
14
- });
15
- List.displayName = 'List';
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/components/List/List/List.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\nimport { useList_unstable } from './useList';\nimport { renderList_unstable } from './renderList';\nimport { useListStyles_unstable } from './useListStyles.styles';\nimport type { ListProps } from './List.types';\nimport { useListContextValues_unstable } from './useListContextValues';\n\nexport const List: ForwardRefComponent<ListProps> = React.forwardRef((props, ref) => {\n const state = useList_unstable(props, ref);\n const contextValues = useListContextValues_unstable(state);\n\n useListStyles_unstable(state);\n useCustomStyleHook_unstable('useListStyles_unstable')(state);\n\n return renderList_unstable(state, contextValues);\n});\n\nList.displayName = 'List';\n"],"names":["React","useCustomStyleHook_unstable","useList_unstable","renderList_unstable","useListStyles_unstable","useListContextValues_unstable","List","forwardRef","props","ref","state","contextValues","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAE/B,SAASC,2BAA2B,QAAQ,kCAAkC;AAC9E,SAASC,gBAAgB,QAAQ,eAAY;AAC7C,SAASC,mBAAmB,QAAQ,kBAAe;AACnD,SAASC,sBAAsB,QAAQ,4BAAyB;AAEhE,SAASC,6BAA6B,QAAQ,4BAAyB;AAEvE,OAAO,MAAMC,qBAAuCN,MAAMO,UAAU,CAAC,CAACC,OAAOC;IAC3E,MAAMC,QAAQR,iBAAiBM,OAAOC;IACtC,MAAME,gBAAgBN,8BAA8BK;IAEpDN,uBAAuBM;IACvBT,4BAA4B,0BAA0BS;IAEtD,OAAOP,oBAAoBO,OAAOC;AACpC,GAAG;AAEHL,KAAKM,WAAW,GAAG"}
@@ -1,4 +0,0 @@
1
- export { List } from "./List.js";
2
- export { renderList_unstable } from "../../../../components/List/List/renderList.js";
3
- export { useList_unstable } from "../../../../components/List/List/useList.js";
4
- export { listClassNames, useListStyles_unstable } from "../../../../components/List/List/useListStyles.styles.css.js";
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/components/List/List/index.ts"],"sourcesContent":["export { List } from './List';\nexport type { ListContextValue, ListContextValues, ListProps, ListSlots, ListState } from './List.types';\nexport { renderList_unstable } from './renderList';\nexport { useList_unstable } from './useList';\nexport { listClassNames, useListStyles_unstable } from './useListStyles.styles';\n"],"names":["List","renderList_unstable","useList_unstable","listClassNames","useListStyles_unstable"],"mappings":"AAAA,SAASA,IAAI,QAAQ,YAAS;AAE9B,SAASC,mBAAmB,QAAQ,kBAAe;AACnD,SAASC,gBAAgB,QAAQ,eAAY;AAC7C,SAASC,cAAc,EAAEC,sBAAsB,QAAQ,4BAAyB"}
@@ -1,13 +0,0 @@
1
- 'use client';
2
- import * as React from "react";
3
- import { useCustomStyleHook_unstable } from "@fluentui/react-shared-contexts";
4
- import { useListItem_unstable } from "../../../../components/List/ListItem/useListItem.js";
5
- import { renderListItem_unstable } from "./renderListItem.js";
6
- import { useListItemStyles_unstable } from "../../../../components/List/ListItem/useListItemStyles.styles.css.js";
7
- export const ListItem = /*#__PURE__*/ React.forwardRef((props, ref)=>{
8
- const state = useListItem_unstable(props, ref);
9
- useListItemStyles_unstable(state);
10
- useCustomStyleHook_unstable('useListItemStyles_unstable')(state);
11
- return renderListItem_unstable(state);
12
- });
13
- ListItem.displayName = 'ListItem';
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/components/List/ListItem/ListItem.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\nimport { useListItem_unstable } from './useListItem';\nimport { renderListItem_unstable } from './renderListItem';\nimport { useListItemStyles_unstable } from './useListItemStyles.styles';\nimport type { ListItemProps } from './ListItem.types';\n\nexport const ListItem: ForwardRefComponent<ListItemProps> = React.forwardRef<HTMLLIElement | HTMLDivElement>(\n (props, ref) => {\n const state = useListItem_unstable(props, ref);\n\n useListItemStyles_unstable(state);\n useCustomStyleHook_unstable('useListItemStyles_unstable')(state);\n return renderListItem_unstable(state);\n },\n);\n\nListItem.displayName = 'ListItem';\n"],"names":["React","useCustomStyleHook_unstable","useListItem_unstable","renderListItem_unstable","useListItemStyles_unstable","ListItem","forwardRef","props","ref","state","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAE/B,SAASC,2BAA2B,QAAQ,kCAAkC;AAC9E,SAASC,oBAAoB,QAAQ,mBAAgB;AACrD,SAASC,uBAAuB,QAAQ,sBAAmB;AAC3D,SAASC,0BAA0B,QAAQ,gCAA6B;AAGxE,OAAO,MAAMC,yBAA+CL,MAAMM,UAAU,CAC1E,CAACC,OAAOC;IACN,MAAMC,QAAQP,qBAAqBK,OAAOC;IAE1CJ,2BAA2BK;IAC3BR,4BAA4B,8BAA8BQ;IAC1D,OAAON,wBAAwBM;AACjC,GACA;AAEFJ,SAASK,WAAW,GAAG"}
@@ -1,4 +0,0 @@
1
- export { ListItem } from "./ListItem.js";
2
- export { renderListItem_unstable } from "./renderListItem.js";
3
- export { useListItem_unstable } from "../../../../components/List/ListItem/useListItem.js";
4
- export { listItemClassNames, useListItemStyles_unstable } from "../../../../components/List/ListItem/useListItemStyles.styles.css.js";
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/components/List/ListItem/index.ts"],"sourcesContent":["export { ListItem } from './ListItem';\nexport type { ListItemProps, ListItemSlots, ListItemState } from './ListItem.types';\nexport { renderListItem_unstable } from './renderListItem';\nexport { useListItem_unstable } from './useListItem';\nexport { listItemClassNames, useListItemStyles_unstable } from './useListItemStyles.styles';\n"],"names":["ListItem","renderListItem_unstable","useListItem_unstable","listItemClassNames","useListItemStyles_unstable"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,gBAAa;AAEtC,SAASC,uBAAuB,QAAQ,sBAAmB;AAC3D,SAASC,oBAAoB,QAAQ,mBAAgB;AACrD,SAASC,kBAAkB,EAAEC,0BAA0B,QAAQ,gCAA6B"}
@@ -1,19 +0,0 @@
1
- import { jsx as _jsx } from "@fluentui/react-jsx-runtime/jsx-runtime";
2
- import { ItemLayout } from "../../ItemLayout/index.js";
3
- import { assertSlots } from "@fluentui/react-utilities";
4
- /**
5
- * Render the final JSX of ListItem
6
- */ export const renderListItem_unstable = (state)=>{
7
- assertSlots(state);
8
- return /*#__PURE__*/ _jsx(state.root, {
9
- children: /*#__PURE__*/ _jsx(ItemLayout, {
10
- startMedia: state.media,
11
- header: state.header,
12
- headerMedia: state.headerMedia,
13
- contentWrapper: state.contentWrapper,
14
- contentMedia: state.contentMedia,
15
- endMedia: state.endMedia,
16
- children: state.root.children
17
- })
18
- });
19
- };
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/components/List/ListItem/renderListItem.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { ItemLayout } from '../../ItemLayout';\nimport { assertSlots } from '@fluentui/react-utilities';\nimport type { JSXElement } from '@fluentui/react-utilities';\nimport type { ListItemSlots, ListItemState } from './ListItem.types';\n/**\n * Render the final JSX of ListItem\n */\nexport const renderListItem_unstable = (state: ListItemState): JSXElement => {\n assertSlots<ListItemSlots>(state);\n\n return (\n <state.root>\n <ItemLayout\n startMedia={state.media}\n header={state.header}\n headerMedia={state.headerMedia}\n contentWrapper={state.contentWrapper}\n contentMedia={state.contentMedia}\n endMedia={state.endMedia}\n >\n {state.root.children}\n </ItemLayout>\n </state.root>\n );\n};\n"],"names":["ItemLayout","assertSlots","renderListItem_unstable","state","root","startMedia","media","header","headerMedia","contentWrapper","contentMedia","endMedia","children"],"mappings":";AAAA,0BAA0B,GAC1B,iDAAiD,GAEjD,SAASA,UAAU,QAAQ,4BAAmB;AAC9C,SAASC,WAAW,QAAQ,4BAA4B;AAGxD;;CAEC,GACD,OAAO,MAAMC,0BAA0B,CAACC;IACtCF,YAA2BE;IAE3B,qBACE,KAACA,MAAMC,IAAI;kBACT,cAAA,KAACJ;YACCK,YAAYF,MAAMG,KAAK;YACvBC,QAAQJ,MAAMI,MAAM;YACpBC,aAAaL,MAAMK,WAAW;YAC9BC,gBAAgBN,MAAMM,cAAc;YACpCC,cAAcP,MAAMO,YAAY;YAChCC,UAAUR,MAAMQ,QAAQ;sBAEvBR,MAAMC,IAAI,CAACQ,QAAQ;;;AAI5B,EAAE"}
@@ -1,3 +0,0 @@
1
- export { List, listClassNames, renderList_unstable, useListStyles_unstable, useList_unstable } from "./List/index.js";
2
- export { ListItem, listItemClassNames, renderListItem_unstable, useListItemStyles_unstable, useListItem_unstable } from "./ListItem/index.js";
3
- export { useListSelection } from "../../../components/List/hooks/index.js";
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/List/index.ts"],"sourcesContent":["export { List, listClassNames, renderList_unstable, useListStyles_unstable, useList_unstable } from './List';\nexport type { ListProps, ListSlots, ListState } from './List';\n\nexport {\n ListItem,\n listItemClassNames,\n renderListItem_unstable,\n useListItemStyles_unstable,\n useListItem_unstable,\n} from './ListItem';\nexport type { ListItemProps, ListItemSlots, ListItemState } from './ListItem';\n\nexport { useListSelection } from './hooks';\n"],"names":["List","listClassNames","renderList_unstable","useListStyles_unstable","useList_unstable","ListItem","listItemClassNames","renderListItem_unstable","useListItemStyles_unstable","useListItem_unstable","useListSelection"],"mappings":"AAAA,SAASA,IAAI,EAAEC,cAAc,EAAEC,mBAAmB,EAAEC,sBAAsB,EAAEC,gBAAgB,QAAQ,kBAAS;AAG7G,SACEC,QAAQ,EACRC,kBAAkB,EAClBC,uBAAuB,EACvBC,0BAA0B,EAC1BC,oBAAoB,QACf,sBAAa;AAGpB,SAASC,gBAAgB,QAAQ,mBAAU"}
@@ -1,16 +0,0 @@
1
- 'use client';
2
- import * as React from "react";
3
- import { mergeClasses } from "@fluentui/react-components/css-modules";
4
- export const primitiveClassName = 'fui-Primitive';
5
- export const Primitive = /*#__PURE__*/ React.forwardRef((props, ref)=>{
6
- const { as: Component = 'div', ...rest } = props;
7
- const dir = typeof props.children === 'string' ? 'auto' : undefined;
8
- const className = mergeClasses(primitiveClassName, props.className);
9
- return /*#__PURE__*/ React.createElement(Component, {
10
- dir: dir,
11
- ...rest,
12
- className: className,
13
- ref: ref
14
- });
15
- });
16
- Primitive.displayName = 'Primitive';
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/Primitive/Primitive.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { mergeClasses } from '@fluentui/react-components';\nimport type { JSXIntrinsicElement, JSXIntrinsicElementKeys } from '@fluentui/react-utilities';\n\n// Simplified version from https://github.com/reach/reach-ui/blob/55d28eda39afc4c667e97f5f62a48d1de034b93f/packages/utils/src/polymorphic.ts\ninterface PrimitiveComponent {\n /**\n * Infers props from JSX.IntrinsicElements based on \"as\" value. Explicitly avoids `React.ElementType` and manually\n * narrow the prop types so that events are typed when using JSX.IntrinsicElements.\n */\n <As extends JSXIntrinsicElementKeys>(props: { as?: As } & JSXIntrinsicElement<As>): React.ReactElement | null;\n\n displayName: string;\n}\n\nexport const primitiveClassName = 'fui-Primitive';\n\nexport const Primitive = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLElement> & { as: 'div' }>(\n (props, ref) => {\n const { as: Component = 'div', ...rest } = props;\n\n const dir = typeof props.children === 'string' ? 'auto' : undefined;\n\n const className = mergeClasses(primitiveClassName, props.className);\n\n return <Component dir={dir} {...rest} className={className} ref={ref} />;\n },\n) as PrimitiveComponent;\n\nPrimitive.displayName = 'Primitive';\n"],"names":["React","mergeClasses","primitiveClassName","Primitive","forwardRef","props","ref","as","Component","rest","dir","children","undefined","className","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,6BAA6B;AAc1D,OAAO,MAAMC,qBAAqB,gBAAgB;AAElD,OAAO,MAAMC,0BAAYH,MAAMI,UAAU,CACvC,CAACC,OAAOC;IACN,MAAM,EAAEC,IAAIC,YAAY,KAAK,EAAE,GAAGC,MAAM,GAAGJ;IAE3C,MAAMK,MAAM,OAAOL,MAAMM,QAAQ,KAAK,WAAW,SAASC;IAE1D,MAAMC,YAAYZ,aAAaC,oBAAoBG,MAAMQ,SAAS;IAElE,qBAAO,oBAACL;QAAUE,KAAKA;QAAM,GAAGD,IAAI;QAAEI,WAAWA;QAAWP,KAAKA;;AACnE,GACsB;AAExBH,UAAUW,WAAW,GAAG"}
@@ -1 +0,0 @@
1
- export { Primitive, primitiveClassName } from "./Primitive.js";
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/Primitive/index.tsx"],"sourcesContent":["export { Primitive, primitiveClassName } from './Primitive';\n"],"names":["Primitive","primitiveClassName"],"mappings":"AAAA,SAASA,SAAS,EAAEC,kBAAkB,QAAQ,iBAAc"}
@@ -1,16 +0,0 @@
1
- 'use client';
2
- import { mergeClasses } from "@fluentui/react-components/css-modules";
3
- import * as React from "react";
4
- import { useSegmentStyles } from "../../../components/Segment/Segment.styles.css.js";
5
- export const segmentClassName = 'fui-Segment';
6
- export const Segment = /*#__PURE__*/ React.forwardRef((props, ref)=>{
7
- const { children, className, ...rest } = props;
8
- const classes = useSegmentStyles();
9
- const segmentClasses = mergeClasses(segmentClassName, classes.segment, className);
10
- return /*#__PURE__*/ React.createElement("div", {
11
- ref: ref,
12
- className: segmentClasses,
13
- ...rest
14
- }, children);
15
- });
16
- Segment.displayName = 'Segment';
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/Segment/Segment.tsx"],"sourcesContent":["'use client';\n\nimport { mergeClasses } from '@fluentui/react-components';\nimport * as React from 'react';\n\nimport { useSegmentStyles } from './Segment.styles';\n\nexport const segmentClassName = 'fui-Segment';\n\nexport const Segment = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLElement>>((props, ref) => {\n const { children, className, ...rest } = props;\n const classes = useSegmentStyles();\n\n const segmentClasses = mergeClasses(segmentClassName, classes.segment, className);\n\n return (\n <div ref={ref} className={segmentClasses} {...rest}>\n {children}\n </div>\n );\n});\n\nSegment.displayName = 'Segment';\n"],"names":["mergeClasses","React","useSegmentStyles","segmentClassName","Segment","forwardRef","props","ref","children","className","rest","classes","segmentClasses","segment","div","displayName"],"mappings":"AAAA;AAEA,SAASA,YAAY,QAAQ,6BAA6B;AAC1D,YAAYC,WAAW,QAAQ;AAE/B,SAASC,gBAAgB,QAAQ,sBAAmB;AAEpD,OAAO,MAAMC,mBAAmB,cAAc;AAE9C,OAAO,MAAMC,wBAAUH,MAAMI,UAAU,CAAoD,CAACC,OAAOC;IACjG,MAAM,EAAEC,QAAQ,EAAEC,SAAS,EAAE,GAAGC,MAAM,GAAGJ;IACzC,MAAMK,UAAUT;IAEhB,MAAMU,iBAAiBZ,aAAaG,kBAAkBQ,QAAQE,OAAO,EAAEJ;IAEvE,qBACE,oBAACK;QAAIP,KAAKA;QAAKE,WAAWG;QAAiB,GAAGF,IAAI;OAC/CF;AAGP,GAAG;AAEHJ,QAAQW,WAAW,GAAG"}
@@ -1 +0,0 @@
1
- export { Segment, segmentClassName } from "./Segment.js";
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/Segment/index.ts"],"sourcesContent":["export { Segment, segmentClassName } from './Segment';\n"],"names":["Segment","segmentClassName"],"mappings":"AAAA,SAASA,OAAO,EAAEC,gBAAgB,QAAQ,eAAY"}
@@ -1,14 +0,0 @@
1
- import { tokens, labelClassNames } from "@fluentui/react-components/css-modules";
2
- const v0Inline = ()=>({
3
- display: 'inline-flex'
4
- });
5
- const v0SpinnerLabelStyle = ()=>({
6
- [`& .${labelClassNames.root}`]: {
7
- fontSize: '14px',
8
- fontWeight: tokens.fontWeightMedium
9
- }
10
- });
11
- export const spinner = {
12
- v0Inline,
13
- v0SpinnerLabelStyle
14
- };
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/Spinner/SpinnerMigration.mixins.ts"],"sourcesContent":["import type { GriffelStyle } from '@fluentui/react-components';\nimport { tokens, labelClassNames } from '@fluentui/react-components';\n\nconst v0Inline = (): GriffelStyle => ({ display: 'inline-flex' });\n\nconst v0SpinnerLabelStyle = (): GriffelStyle => ({\n [`& .${labelClassNames.root}`]: {\n fontSize: '14px',\n fontWeight: tokens.fontWeightMedium,\n },\n});\n\nexport const spinner = {\n v0Inline,\n v0SpinnerLabelStyle,\n};\n"],"names":["tokens","labelClassNames","v0Inline","display","v0SpinnerLabelStyle","root","fontSize","fontWeight","fontWeightMedium","spinner"],"mappings":"AACA,SAASA,MAAM,EAAEC,eAAe,QAAQ,6BAA6B;AAErE,MAAMC,WAAW,IAAqB,CAAA;QAAEC,SAAS;IAAc,CAAA;AAE/D,MAAMC,sBAAsB,IAAqB,CAAA;QAC/C,CAAC,CAAC,GAAG,EAAEH,gBAAgBI,IAAI,EAAE,CAAC,EAAE;YAC9BC,UAAU;YACVC,YAAYP,OAAOQ,gBAAgB;QACrC;IACF,CAAA;AAEA,OAAO,MAAMC,UAAU;IACrBP;IACAE;AACF,EAAE"}
@@ -1 +0,0 @@
1
- export { spinner } from "./SpinnerMigration.mixins.js";
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/Spinner/index.tsx"],"sourcesContent":["export { spinner } from './SpinnerMigration.mixins';\n"],"names":["spinner"],"mappings":"AAAA,SAASA,OAAO,QAAQ,+BAA4B"}
@@ -1,40 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx } from "@fluentui/react-jsx-runtime/jsx-runtime";
3
- import * as React from "react";
4
- import { getIntrinsicElementProps, mergeClasses, slot } from "@fluentui/react-components/css-modules";
5
- import { useSizeStyles, useStyles, useWeightStyles } from "../../../components/StyledText/StyledText.styles.css.js";
6
- export const styledTextClassName = 'fui-StyledText';
7
- const sizeMap = {
8
- '100': 'base100',
9
- '200': 'base200',
10
- '300': 'base300',
11
- '400': 'base400',
12
- '500': 'base500',
13
- '600': 'base600',
14
- '700': 'hero700',
15
- smaller: 'base100',
16
- small: 'base200',
17
- medium: 'base300',
18
- large: 'base400',
19
- large500: 'base500',
20
- larger: 'base600',
21
- largest: 'hero700'
22
- };
23
- export const StyledText = /*#__PURE__*/ React.forwardRef((props, ref)=>{
24
- const { align, atMention, disabled, error, important, success, temporary, timestamp, truncate, weight, wrap = true } = props;
25
- const dir = typeof props.children === 'string' ? 'auto' : undefined;
26
- const sizeStyles = useSizeStyles();
27
- const weightStyles = useWeightStyles();
28
- const styles = useStyles();
29
- const size = props.size ? sizeMap[props.size] : props.size;
30
- const RootSlot = slot.always(getIntrinsicElementProps('span', {
31
- ref,
32
- ...props,
33
- dir,
34
- className: mergeClasses(styledTextClassName, size && sizeStyles[size], weight && weightStyles[weight], wrap === false && styles.nowrap, truncate && styles.truncate, align === 'center' && styles.alignCenter, align === 'end' && styles.alignEnd, align === 'justify' && styles.alignJustify, atMention && styles.mention, atMention === 'me' && styles.mentionMe, disabled && styles.disabled, error && styles.error, important && styles.important, success && styles.success, temporary && styles.temporary, timestamp && styles.timestamp, props.className)
35
- }), {
36
- elementType: 'span'
37
- });
38
- return /*#__PURE__*/ _jsx(RootSlot, {});
39
- });
40
- StyledText.displayName = 'StyledText';
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/StyledText/StyledText.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\n'use client';\n\nimport * as React from 'react';\nimport type { Slot, ComponentProps } from '@fluentui/react-components';\nimport { getIntrinsicElementProps, mergeClasses, slot } from '@fluentui/react-components';\nimport { useSizeStyles, useStyles, useWeightStyles } from './StyledText.styles';\n\nexport type StyledTextSlots = {\n root: Slot<'span', 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'pre' | 'time'>;\n};\n\nexport type StyledTextProps = ComponentProps<StyledTextSlots> & {\n /**\n * Aligns text based on the parent container.\n */\n align?: 'start' | 'center' | 'end' | 'justify';\n\n /**\n * At mentions can be formatted to draw users' attention.\n * Mentions for \"me\" can be formatted to appear differently.\n */\n atMention?: 'me' | boolean;\n\n /**\n * Set as disabled StyledText component\n */\n disabled?: boolean;\n\n /**\n * Set as error StyledText component\n */\n error?: boolean;\n\n /**\n * The StyledText can appear more important and draw user's attention\n */\n important?: boolean;\n\n /**\n * Applies font size and line height based on the theme tokens.\n */\n size?:\n | 'smaller'\n | 'small'\n | 'medium'\n | 'large'\n | 'large500'\n | 'larger'\n | 'largest'\n | 100\n | 200\n | 300\n | 400\n | 500\n | 600\n | 700;\n\n /**\n * Set as success StyledText component\n */\n success?: boolean;\n\n /**\n * The text can signify a temporary state\n */\n temporary?: boolean;\n\n /**\n * Set as timestamp StyledText component\n */\n timestamp?: boolean;\n\n /**\n * Truncate overflowing text for block displays.\n */\n truncate?: boolean;\n\n /**\n * Applies font weight to the content.\n */\n weight?: 'light' | 'semilight' | 'regular' | 'medium' | 'semibold' | 'bold';\n\n /**\n * Wraps the text content on white spaces.\n *\n * @default true\n */\n wrap?: boolean;\n};\n\nexport const styledTextClassName = 'fui-StyledText';\n\nconst sizeMap: Record<string, 'base100' | 'base200' | 'base300' | 'base400' | 'base500' | 'base600' | 'hero700'> = {\n '100': 'base100',\n '200': 'base200',\n '300': 'base300',\n '400': 'base400',\n '500': 'base500',\n '600': 'base600',\n '700': 'hero700',\n smaller: 'base100',\n small: 'base200',\n medium: 'base300',\n large: 'base400',\n large500: 'base500',\n larger: 'base600',\n largest: 'hero700',\n};\n\nexport const StyledText = React.forwardRef<HTMLSpanElement, StyledTextProps>((props, ref) => {\n const {\n align,\n atMention,\n disabled,\n error,\n important,\n success,\n temporary,\n timestamp,\n truncate,\n weight,\n wrap = true,\n } = props;\n\n const dir = typeof props.children === 'string' ? 'auto' : undefined;\n\n const sizeStyles = useSizeStyles();\n const weightStyles = useWeightStyles();\n const styles = useStyles();\n\n const size = props.size ? sizeMap[props.size] : props.size;\n\n const RootSlot = slot.always(\n getIntrinsicElementProps('span', {\n ref,\n ...props,\n dir,\n className: mergeClasses(\n styledTextClassName,\n size && sizeStyles[size],\n weight && weightStyles[weight],\n wrap === false && styles.nowrap,\n truncate && styles.truncate,\n align === 'center' && styles.alignCenter,\n align === 'end' && styles.alignEnd,\n align === 'justify' && styles.alignJustify,\n\n atMention && styles.mention,\n atMention === 'me' && styles.mentionMe,\n disabled && styles.disabled,\n error && styles.error,\n important && styles.important,\n success && styles.success,\n temporary && styles.temporary,\n timestamp && styles.timestamp,\n props.className,\n ),\n }),\n { elementType: 'span' },\n );\n\n return <RootSlot />;\n});\n\nStyledText.displayName = 'StyledText';\n"],"names":["React","getIntrinsicElementProps","mergeClasses","slot","useSizeStyles","useStyles","useWeightStyles","styledTextClassName","sizeMap","smaller","small","medium","large","large500","larger","largest","StyledText","forwardRef","props","ref","align","atMention","disabled","error","important","success","temporary","timestamp","truncate","weight","wrap","dir","children","undefined","sizeStyles","weightStyles","styles","size","RootSlot","always","className","nowrap","alignCenter","alignEnd","alignJustify","mention","mentionMe","elementType","displayName"],"mappings":"AAAA,0BAA0B,GAC1B,iDAAiD,GAEjD;;AAEA,YAAYA,WAAW,QAAQ;AAE/B,SAASC,wBAAwB,EAAEC,YAAY,EAAEC,IAAI,QAAQ,6BAA6B;AAC1F,SAASC,aAAa,EAAEC,SAAS,EAAEC,eAAe,QAAQ,yBAAsB;AAqFhF,OAAO,MAAMC,sBAAsB,iBAAiB;AAEpD,MAAMC,UAA6G;IACjH,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACPC,SAAS;IACTC,OAAO;IACPC,QAAQ;IACRC,OAAO;IACPC,UAAU;IACVC,QAAQ;IACRC,SAAS;AACX;AAEA,OAAO,MAAMC,2BAAahB,MAAMiB,UAAU,CAAmC,CAACC,OAAOC;IACnF,MAAM,EACJC,KAAK,EACLC,SAAS,EACTC,QAAQ,EACRC,KAAK,EACLC,SAAS,EACTC,OAAO,EACPC,SAAS,EACTC,SAAS,EACTC,QAAQ,EACRC,MAAM,EACNC,OAAO,IAAI,EACZ,GAAGZ;IAEJ,MAAMa,MAAM,OAAOb,MAAMc,QAAQ,KAAK,WAAW,SAASC;IAE1D,MAAMC,aAAa9B;IACnB,MAAM+B,eAAe7B;IACrB,MAAM8B,SAAS/B;IAEf,MAAMgC,OAAOnB,MAAMmB,IAAI,GAAG7B,OAAO,CAACU,MAAMmB,IAAI,CAAC,GAAGnB,MAAMmB,IAAI;IAE1D,MAAMC,WAAWnC,KAAKoC,MAAM,CAC1BtC,yBAAyB,QAAQ;QAC/BkB;QACA,GAAGD,KAAK;QACRa;QACAS,WAAWtC,aACTK,qBACA8B,QAAQH,UAAU,CAACG,KAAK,EACxBR,UAAUM,YAAY,CAACN,OAAO,EAC9BC,SAAS,SAASM,OAAOK,MAAM,EAC/Bb,YAAYQ,OAAOR,QAAQ,EAC3BR,UAAU,YAAYgB,OAAOM,WAAW,EACxCtB,UAAU,SAASgB,OAAOO,QAAQ,EAClCvB,UAAU,aAAagB,OAAOQ,YAAY,EAE1CvB,aAAae,OAAOS,OAAO,EAC3BxB,cAAc,QAAQe,OAAOU,SAAS,EACtCxB,YAAYc,OAAOd,QAAQ,EAC3BC,SAASa,OAAOb,KAAK,EACrBC,aAAaY,OAAOZ,SAAS,EAC7BC,WAAWW,OAAOX,OAAO,EACzBC,aAAaU,OAAOV,SAAS,EAC7BC,aAAaS,OAAOT,SAAS,EAC7BT,MAAMsB,SAAS;IAEnB,IACA;QAAEO,aAAa;IAAO;IAGxB,qBAAO,KAACT;AACV,GAAG;AAEHtB,WAAWgC,WAAW,GAAG"}
@@ -1,2 +0,0 @@
1
- export { StyledText, styledTextClassName } from "./StyledText.js";
2
- export { useSizeStyles, useStyles, useWeightStyles } from "../../../components/StyledText/StyledText.styles.css.js";
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/StyledText/index.tsx"],"sourcesContent":["export type { StyledTextProps, StyledTextSlots } from './StyledText';\nexport { StyledText, styledTextClassName } from './StyledText';\nexport { useSizeStyles, useStyles, useWeightStyles } from './StyledText.styles';\n"],"names":["StyledText","styledTextClassName","useSizeStyles","useStyles","useWeightStyles"],"mappings":"AACA,SAASA,UAAU,EAAEC,mBAAmB,QAAQ,kBAAe;AAC/D,SAASC,aAAa,EAAEC,SAAS,EAAEC,eAAe,QAAQ,yBAAsB"}
@@ -1,42 +0,0 @@
1
- 'use client';
2
- import { mergeClasses, useMergedRefs } from "@fluentui/react-components/css-modules";
3
- import * as React from "react";
4
- import { useVideoStyles } from "../../../components/Video/Video.styles.css.js";
5
- export const videoClassName = 'fui-Video';
6
- export const Video = /*#__PURE__*/ React.forwardRef((props, ref)=>{
7
- const { className, muted, ...rest } = props;
8
- const videoRef = React.useRef(null);
9
- const classes = useVideoStyles();
10
- React.useEffect(()=>{
11
- // this is a workaround for a potential memory leak in Chromium which retains a Detached HTMLVideoElement when <video autoplay> is unmounted
12
- // https://bugs.chromium.org/p/chromium/issues/detail?id=969049
13
- return ()=>{
14
- if (videoRef === null || videoRef === void 0 ? void 0 : videoRef.current) {
15
- // we want to perform the cleanup on the latest element rendered
16
- // eslint-disable-next-line react-hooks/exhaustive-deps
17
- videoRef.current.src = '';
18
- }
19
- };
20
- }, [
21
- videoRef
22
- ]);
23
- React.useEffect(()=>{
24
- // React doesn't guarantee that props will be set:
25
- // https://github.com/facebook/react/issues/10389
26
- if (videoRef.current) {
27
- videoRef.current.muted = !!muted;
28
- }
29
- }, [
30
- muted
31
- ]);
32
- return /*#__PURE__*/ React.createElement("video", {
33
- ref: useMergedRefs(ref, videoRef),
34
- role: "application",
35
- className: mergeClasses(videoClassName, classes.root, className),
36
- controls: true,
37
- autoPlay: false,
38
- muted: muted,
39
- ...rest
40
- });
41
- });
42
- Video.displayName = 'Video';
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/Video/Video.tsx"],"sourcesContent":["'use client';\n\nimport { mergeClasses, useMergedRefs } from '@fluentui/react-components';\nimport * as React from 'react';\nimport { useVideoStyles } from './Video.styles';\n\nexport const videoClassName = 'fui-Video';\n\n/**\n * Video component props\n */\nexport interface VideoProps extends React.VideoHTMLAttributes<HTMLVideoElement> {\n /**\n * The source URL of the video\n */\n src: string;\n\n /**\n * Whether the video should start playing automatically\n * @default false\n */\n autoPlay?: boolean;\n\n /**\n * Whether the video should display controls\n * @default true\n */\n controls?: boolean;\n\n /**\n * Whether the video should loop\n */\n loop?: boolean;\n\n /**\n * Whether the video should be muted\n */\n muted?: boolean;\n\n /**\n * The URL of an image to display while the video is loading\n */\n poster?: string;\n}\n\nexport const Video = React.forwardRef<HTMLVideoElement, VideoProps>((props, ref) => {\n const { className, muted, ...rest } = props;\n\n const videoRef = React.useRef<HTMLVideoElement>(null);\n\n const classes = useVideoStyles();\n React.useEffect(() => {\n // this is a workaround for a potential memory leak in Chromium which retains a Detached HTMLVideoElement when <video autoplay> is unmounted\n // https://bugs.chromium.org/p/chromium/issues/detail?id=969049\n return () => {\n if (videoRef?.current) {\n // we want to perform the cleanup on the latest element rendered\n // eslint-disable-next-line react-hooks/exhaustive-deps\n videoRef.current.src = '';\n }\n };\n }, [videoRef]);\n\n React.useEffect(() => {\n // React doesn't guarantee that props will be set:\n // https://github.com/facebook/react/issues/10389\n if (videoRef.current) {\n videoRef.current.muted = !!muted;\n }\n }, [muted]);\n\n return (\n <video\n ref={useMergedRefs(ref, videoRef) as React.Ref<HTMLVideoElement>}\n role=\"application\"\n className={mergeClasses(videoClassName, classes.root, className)}\n controls={true}\n autoPlay={false}\n muted={muted}\n {...rest}\n />\n );\n});\n\nVideo.displayName = 'Video';\n"],"names":["mergeClasses","useMergedRefs","React","useVideoStyles","videoClassName","Video","forwardRef","props","ref","className","muted","rest","videoRef","useRef","classes","useEffect","current","src","video","role","root","controls","autoPlay","displayName"],"mappings":"AAAA;AAEA,SAASA,YAAY,EAAEC,aAAa,QAAQ,6BAA6B;AACzE,YAAYC,WAAW,QAAQ;AAC/B,SAASC,cAAc,QAAQ,oBAAiB;AAEhD,OAAO,MAAMC,iBAAiB,YAAY;AAuC1C,OAAO,MAAMC,sBAAQH,MAAMI,UAAU,CAA+B,CAACC,OAAOC;IAC1E,MAAM,EAAEC,SAAS,EAAEC,KAAK,EAAE,GAAGC,MAAM,GAAGJ;IAEtC,MAAMK,WAAWV,MAAMW,MAAM,CAAmB;IAEhD,MAAMC,UAAUX;IAChBD,MAAMa,SAAS,CAAC;QACd,4IAA4I;QAC5I,+DAA+D;QAC/D,OAAO;YACL,IAAIH,qBAAAA,+BAAAA,SAAUI,OAAO,EAAE;gBACrB,gEAAgE;gBAChE,uDAAuD;gBACvDJ,SAASI,OAAO,CAACC,GAAG,GAAG;YACzB;QACF;IACF,GAAG;QAACL;KAAS;IAEbV,MAAMa,SAAS,CAAC;QACd,kDAAkD;QAClD,iDAAiD;QACjD,IAAIH,SAASI,OAAO,EAAE;YACpBJ,SAASI,OAAO,CAACN,KAAK,GAAG,CAAC,CAACA;QAC7B;IACF,GAAG;QAACA;KAAM;IAEV,qBACE,oBAACQ;QACCV,KAAKP,cAAcO,KAAKI;QACxBO,MAAK;QACLV,WAAWT,aAAaI,gBAAgBU,QAAQM,IAAI,EAAEX;QACtDY,UAAU;QACVC,UAAU;QACVZ,OAAOA;QACN,GAAGC,IAAI;;AAGd,GAAG;AAEHN,MAAMkB,WAAW,GAAG"}
@@ -1 +0,0 @@
1
- export { Video, videoClassName } from "./Video.js";
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/Video/index.ts"],"sourcesContent":["export type { VideoProps } from './Video';\nexport { Video, videoClassName } from './Video';\n"],"names":["Video","videoClassName"],"mappings":"AACA,SAASA,KAAK,EAAEC,cAAc,QAAQ,aAAU"}
@@ -1,14 +0,0 @@
1
- export { GridShim, grid, gridClassName, useGridStyles } from "./components/Grid/index.js";
2
- export { FormFieldShim } from "./components/FormField/index.js";
3
- export { Segment } from "./components/Segment/index.js";
4
- export { slider } from "../components/Slider/index.js";
5
- export { Video, videoClassName } from "./components/Video/index.js";
6
- export { input } from "./components/Input/index.js";
7
- export { v0Icon, v9CustomSizeIcon, v9DisabledCursor, v9HoverClasses, v9Icon } from "../components/Button/index.js";
8
- export { spinner } from "./components/Spinner/index.js";
9
- export { StyledText, styledTextClassName } from "./components/StyledText/index.js";
10
- export { Primitive, primitiveClassName } from "./components/Primitive/index.js";
11
- export { ItemLayout, itemLayoutClassName, useItemLayoutStyles } from "./components/ItemLayout/index.js";
12
- export { Flex, flexClassName, flexItem, useFlexStyles } from "./components/Flex/index.js";
13
- export { List, ListItem, listClassNames, listItemClassNames, renderListItem_unstable, renderList_unstable, useListItemStyles_unstable, useListItem_unstable, useListSelection, useListStyles_unstable, useList_unstable } from "./components/List/index.js";
14
- export { Attachment, AttachmentAction, AttachmentBody, AttachmentDescription, AttachmentHeader, AttachmentIcon, attachmentClassName, attachmentActionClassName, attachmentBodyClassName, attachmentDescriptionClassName, attachmentHeaderClassName, attachmentIconClassName, attachmentProgressBarClassName, attachmentProgressContainerClassName } from "./components/Attachment/index.js";
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export { GridShim, grid, gridClassName, useGridStyles } from './components/Grid/index';\nexport type { GridShimProps } from './components/Grid/index';\nexport { FormFieldShim } from './components/FormField';\nexport { Segment } from './components/Segment';\nexport { slider } from './components/Slider';\nexport { Video, videoClassName } from './components/Video';\nexport { type VideoProps } from './components/Video';\nexport { input } from './components/Input';\nexport { v0Icon, v9CustomSizeIcon, v9DisabledCursor, v9HoverClasses, v9Icon } from './components/Button';\nexport { spinner } from './components/Spinner';\nexport { StyledText, styledTextClassName } from './components/StyledText';\nexport type { StyledTextProps, StyledTextSlots } from './components/StyledText';\nexport { Primitive, primitiveClassName } from './components/Primitive';\nexport { ItemLayout, itemLayoutClassName, useItemLayoutStyles } from './components/ItemLayout';\nexport { Flex, flexClassName, flexItem, useFlexStyles } from './components/Flex';\nexport {\n List,\n ListItem,\n listClassNames,\n listItemClassNames,\n renderListItem_unstable,\n renderList_unstable,\n useListItemStyles_unstable,\n useListItem_unstable,\n useListSelection,\n useListStyles_unstable,\n useList_unstable,\n} from './components/List';\nexport type { ListItemProps, ListItemSlots, ListItemState, ListProps, ListSlots, ListState } from './components/List';\nexport {\n Attachment,\n AttachmentAction,\n AttachmentBody,\n AttachmentDescription,\n AttachmentHeader,\n AttachmentIcon,\n attachmentClassName,\n attachmentActionClassName,\n attachmentBodyClassName,\n attachmentDescriptionClassName,\n attachmentHeaderClassName,\n attachmentIconClassName,\n attachmentProgressBarClassName,\n attachmentProgressContainerClassName,\n} from './components/Attachment';\n\nexport type {\n AttachmentProps,\n AttachmentActionProps,\n AttachmentBodyProps,\n AttachmentDescriptionProps,\n AttachmentHeaderProps,\n AttachmentIconProps,\n} from './components/Attachment';\n"],"names":["GridShim","grid","gridClassName","useGridStyles","FormFieldShim","Segment","slider","Video","videoClassName","input","v0Icon","v9CustomSizeIcon","v9DisabledCursor","v9HoverClasses","v9Icon","spinner","StyledText","styledTextClassName","Primitive","primitiveClassName","ItemLayout","itemLayoutClassName","useItemLayoutStyles","Flex","flexClassName","flexItem","useFlexStyles","List","ListItem","listClassNames","listItemClassNames","renderListItem_unstable","renderList_unstable","useListItemStyles_unstable","useListItem_unstable","useListSelection","useListStyles_unstable","useList_unstable","Attachment","AttachmentAction","AttachmentBody","AttachmentDescription","AttachmentHeader","AttachmentIcon","attachmentClassName","attachmentActionClassName","attachmentBodyClassName","attachmentDescriptionClassName","attachmentHeaderClassName","attachmentIconClassName","attachmentProgressBarClassName","attachmentProgressContainerClassName"],"mappings":"AAAA,SAASA,QAAQ,EAAEC,IAAI,EAAEC,aAAa,EAAEC,aAAa,QAAQ,6BAA0B;AAEvF,SAASC,aAAa,QAAQ,kCAAyB;AACvD,SAASC,OAAO,QAAQ,gCAAuB;AAC/C,SAASC,MAAM,QAAQ,+BAAsB;AAC7C,SAASC,KAAK,EAAEC,cAAc,QAAQ,8BAAqB;AAE3D,SAASC,KAAK,QAAQ,8BAAqB;AAC3C,SAASC,MAAM,EAAEC,gBAAgB,EAAEC,gBAAgB,EAAEC,cAAc,EAAEC,MAAM,QAAQ,+BAAsB;AACzG,SAASC,OAAO,QAAQ,gCAAuB;AAC/C,SAASC,UAAU,EAAEC,mBAAmB,QAAQ,mCAA0B;AAE1E,SAASC,SAAS,EAAEC,kBAAkB,QAAQ,kCAAyB;AACvE,SAASC,UAAU,EAAEC,mBAAmB,EAAEC,mBAAmB,QAAQ,mCAA0B;AAC/F,SAASC,IAAI,EAAEC,aAAa,EAAEC,QAAQ,EAAEC,aAAa,QAAQ,6BAAoB;AACjF,SACEC,IAAI,EACJC,QAAQ,EACRC,cAAc,EACdC,kBAAkB,EAClBC,uBAAuB,EACvBC,mBAAmB,EACnBC,0BAA0B,EAC1BC,oBAAoB,EACpBC,gBAAgB,EAChBC,sBAAsB,EACtBC,gBAAgB,QACX,6BAAoB;AAE3B,SACEC,UAAU,EACVC,gBAAgB,EAChBC,cAAc,EACdC,qBAAqB,EACrBC,gBAAgB,EAChBC,cAAc,EACdC,mBAAmB,EACnBC,yBAAyB,EACzBC,uBAAuB,EACvBC,8BAA8B,EAC9BC,yBAAyB,EACzBC,uBAAuB,EACvBC,8BAA8B,EAC9BC,oCAAoC,QAC/B,mCAA0B"}
@@ -1,48 +0,0 @@
1
- .base {
2
- position: relative;
3
- display: inline-flex;
4
- align-items: center;
5
- width: 100%;
6
- max-width: 424px;
7
- min-height: 32px;
8
- padding-block: 7px;
9
- padding-inline: 11px 3px;
10
- margin-bottom: 2px;
11
- margin-inline-end: 2px;
12
- background-color: var(--colorNeutralBackground6);
13
- color: var(--colorNeutralForeground1);
14
- box-shadow: 0 0.2rem 0.4rem -0.075rem var(--colorNeutralShadowAmbient);
15
- border: 1px solid var(--colorNeutralStroke3);
16
- border-radius: 4px;
17
- }
18
-
19
- .base[data-fui-focus-visible] {
20
- outline: var(--strokeWidthThick) solid var(--colorStrokeFocus2);
21
- border-radius: var(--borderRadiusMedium);
22
- }
23
-
24
- .actionable {
25
- cursor: pointer;
26
- }
27
-
28
- .actionable:hover {
29
- background-color: var(--colorNeutralBackground4Hover);
30
- }
31
-
32
- .progressContainer {
33
- border-end-start-radius: 4px;
34
- border-end-end-radius: 4px;
35
- bottom: 0;
36
- height: 4px;
37
- inset-inline-start: 0;
38
- overflow: hidden;
39
- position: absolute;
40
- inset-inline-end: 0;
41
- }
42
-
43
- .progressBar {
44
- background-color: var(--colorPaletteLightGreenBackground3);
45
- height: 100%;
46
- max-width: 100%;
47
- transition: width 0.2s;
48
- }
@@ -1,22 +0,0 @@
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: Object.getOwnPropertyDescriptor(all, name).get
9
- });
10
- }
11
- _export(exports, {
12
- get useAttachmentBaseStyles () {
13
- return useAttachmentBaseStyles;
14
- },
15
- get useAttachmentStyles () {
16
- return useAttachmentStyles;
17
- }
18
- });
19
- const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
20
- const _Attachmentmodulecss = /*#__PURE__*/ _interop_require_default._(require("./Attachment.module.css"));
21
- const useAttachmentBaseStyles = ()=>_Attachmentmodulecss.default.base;
22
- const useAttachmentStyles = ()=>_Attachmentmodulecss.default;
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/components/Attachment/Attachment.styles.css.ts"],"sourcesContent":["import styles from './Attachment.module.css';\n\nexport const useAttachmentBaseStyles = (): string => styles.base;\n\nexport const useAttachmentStyles = (): typeof styles => styles;\n"],"names":["styles","useAttachmentBaseStyles","base","useAttachmentStyles"],"mappings":";;;;;;;;;;;;;;;;;;;8EAAmB,0BAA0B;AAEtC,MAAMC,0BAA0B,IAAcD,4BAAAA,CAAOE,IAAI,CAAC;AAE1D,MAAMC,sBAAsB,IAAqBH,4BAAAA,CAAO"}
@@ -1,22 +0,0 @@
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: Object.getOwnPropertyDescriptor(all, name).get
9
- });
10
- }
11
- _export(exports, {
12
- get useAttachmentBaseStyles () {
13
- return useAttachmentBaseStyles;
14
- },
15
- get useAttachmentStyles () {
16
- return useAttachmentStyles;
17
- }
18
- });
19
- const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
20
- const _Attachmentmodulecss = /*#__PURE__*/ _interop_require_default._(require("./Attachment.module.css"));
21
- const useAttachmentBaseStyles = ()=>_Attachmentmodulecss.default.base;
22
- const useAttachmentStyles = ()=>_Attachmentmodulecss.default;
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/components/Attachment/Attachment.styles.css.ts"],"sourcesContent":["import styles from './Attachment.module.css';\n\nexport const useAttachmentBaseStyles = (): string => styles.base;\n\nexport const useAttachmentStyles = (): typeof styles => styles;\n"],"names":["styles","useAttachmentBaseStyles","base","useAttachmentStyles"],"mappings":";;;;;;;;;;;;;;;;;;;8EAAmB,0BAA0B;AAEtC,MAAMC,0BAA0B,IAAcD,4BAAAA,CAAOE,IAAI,CAAC;AAE1D,MAAMC,sBAAsB,IAAqBH,4BAAAA,CAAO"}
@@ -1,15 +0,0 @@
1
- .root {
2
- height: 32px;
3
- max-width: 280px;
4
- min-width: 32px;
5
- display: inline-flex;
6
- justify-content: center;
7
- align-items: center;
8
- position: relative;
9
- vertical-align: middle;
10
- cursor: pointer;
11
- }
12
-
13
- .disabled {
14
- cursor: default;
15
- }
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- Object.defineProperty(exports, "useAttachmentActionStyles", {
6
- enumerable: true,
7
- get: function() {
8
- return useAttachmentActionStyles;
9
- }
10
- });
11
- const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
12
- const _AttachmentActionmodulecss = /*#__PURE__*/ _interop_require_default._(require("./AttachmentAction.module.css"));
13
- const useAttachmentActionStyles = ()=>_AttachmentActionmodulecss.default;
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/components/Attachment/AttachmentAction.styles.css.ts"],"sourcesContent":["import styles from './AttachmentAction.module.css';\n\nexport const useAttachmentActionStyles = (): typeof styles => styles;\n"],"names":["styles","useAttachmentActionStyles"],"mappings":";;;;;;;;;;;oFAAmB,gCAAgC;AAE5C,MAAMC,4BAA4B,IAAqBD,kCAAAA,CAAO"}