@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 +0,0 @@
1
- {"version":3,"sources":["../../../src/components/Segment/Segment.styles.css.ts"],"sourcesContent":["import styles from './Segment.module.css';\n\nexport const useSegmentStyles = (): typeof styles => styles;\n"],"names":["styles","useSegmentStyles"],"mappings":"AAAA,OAAOA,YAAY,uBAAuB;AAE1C,OAAO,MAAMC,mBAAmB,IAAqBD,OAAO"}
@@ -1,113 +0,0 @@
1
- .base100 {
2
- font-size: var(--fontSizeBase100);
3
- line-height: var(--lineHeightBase100);
4
- }
5
-
6
- .base200 {
7
- font-size: var(--fontSizeBase200);
8
- line-height: var(--lineHeightBase200);
9
- }
10
-
11
- .base300 {
12
- font-size: var(--fontSizeBase300);
13
- line-height: var(--lineHeightBase300);
14
- }
15
-
16
- .base400 {
17
- font-size: var(--fontSizeBase400);
18
- line-height: var(--lineHeightBase400);
19
- }
20
-
21
- .base500 {
22
- font-size: var(--fontSizeBase500);
23
- line-height: var(--lineHeightBase500);
24
- }
25
-
26
- .base600 {
27
- font-size: var(--fontSizeBase600);
28
- line-height: var(--lineHeightBase600);
29
- }
30
-
31
- .hero700 {
32
- font-size: var(--fontSizeHero700);
33
- line-height: var(--lineHeightHero700);
34
- }
35
-
36
- .light {
37
- font-weight: 200;
38
- }
39
-
40
- .semilight {
41
- font-weight: 300;
42
- }
43
-
44
- .regular {
45
- font-weight: 400;
46
- }
47
-
48
- .medium {
49
- font-weight: 500;
50
- }
51
-
52
- .semibold {
53
- font-weight: 600;
54
- }
55
-
56
- .bold {
57
- font-weight: 700;
58
- }
59
-
60
- .mention {
61
- color: var(--colorBrandForegroundLink);
62
- }
63
-
64
- .mentionMe {
65
- color: var(--colorPalettePumpkinBorderActive);
66
- font-weight: 700;
67
- }
68
-
69
- .disabled {
70
- color: var(--colorNeutralForegroundDisabled);
71
- }
72
-
73
- .error {
74
- color: var(--colorPaletteRedForeground3);
75
- }
76
-
77
- .important {
78
- color: var(--colorPaletteDarkOrangeForeground3);
79
- font-weight: 700;
80
- }
81
-
82
- .success {
83
- color: var(--colorPaletteGreenForeground3);
84
- }
85
-
86
- .temporary {
87
- font-style: italic;
88
- }
89
-
90
- .timestamp {
91
- color: var(--colorNeutralForeground3);
92
- }
93
-
94
- .nowrap {
95
- white-space: nowrap;
96
- overflow: hidden;
97
- }
98
-
99
- .truncate {
100
- text-overflow: ellipsis;
101
- }
102
-
103
- .alignCenter {
104
- text-align: center;
105
- }
106
-
107
- .alignEnd {
108
- text-align: end;
109
- }
110
-
111
- .alignJustify {
112
- text-align: justify;
113
- }
@@ -1,4 +0,0 @@
1
- import styles from "./StyledText.module.css";
2
- export const useSizeStyles = ()=>styles;
3
- export const useWeightStyles = ()=>styles;
4
- export const useStyles = ()=>styles;
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/components/StyledText/StyledText.styles.css.ts"],"sourcesContent":["import styles from './StyledText.module.css';\n\nexport const useSizeStyles = (): typeof styles => styles;\n\nexport const useWeightStyles = (): typeof styles => styles;\n\nexport const useStyles = (): typeof styles => styles;\n"],"names":["styles","useSizeStyles","useWeightStyles","useStyles"],"mappings":"AAAA,OAAOA,YAAY,0BAA0B;AAE7C,OAAO,MAAMC,gBAAgB,IAAqBD,OAAO;AAEzD,OAAO,MAAME,kBAAkB,IAAqBF,OAAO;AAE3D,OAAO,MAAMG,YAAY,IAAqBH,OAAO"}
@@ -1,4 +0,0 @@
1
- import styles from "./StyledText.module.css";
2
- export const useSizeStyles = ()=>styles;
3
- export const useWeightStyles = ()=>styles;
4
- export const useStyles = ()=>styles;
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/components/StyledText/StyledText.styles.css.ts"],"sourcesContent":["import styles from './StyledText.module.css';\n\nexport const useSizeStyles = (): typeof styles => styles;\n\nexport const useWeightStyles = (): typeof styles => styles;\n\nexport const useStyles = (): typeof styles => styles;\n"],"names":["styles","useSizeStyles","useWeightStyles","useStyles"],"mappings":"AAAA,OAAOA,YAAY,0BAA0B;AAE7C,OAAO,MAAMC,gBAAgB,IAAqBD,OAAO;AAEzD,OAAO,MAAME,kBAAkB,IAAqBF,OAAO;AAE3D,OAAO,MAAMG,YAAY,IAAqBH,OAAO"}
@@ -1,6 +0,0 @@
1
- .root {
2
- display: inline-block;
3
- vertical-align: middle;
4
- width: 100%;
5
- height: auto;
6
- }
@@ -1,2 +0,0 @@
1
- import styles from "./Video.module.css";
2
- export const useVideoStyles = ()=>styles;
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/components/Video/Video.styles.css.ts"],"sourcesContent":["import styles from './Video.module.css';\n\nexport const useVideoStyles = (): typeof styles => styles;\n"],"names":["styles","useVideoStyles"],"mappings":"AAAA,OAAOA,YAAY,qBAAqB;AAExC,OAAO,MAAMC,iBAAiB,IAAqBD,OAAO"}
@@ -1,2 +0,0 @@
1
- import styles from "./Video.module.css";
2
- export const useVideoStyles = ()=>styles;
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/components/Video/Video.styles.css.ts"],"sourcesContent":["import styles from './Video.module.css';\n\nexport const useVideoStyles = (): typeof styles => styles;\n"],"names":["styles","useVideoStyles"],"mappings":"AAAA,OAAOA,YAAY,qBAAqB;AAExC,OAAO,MAAMC,iBAAiB,IAAqBD,OAAO"}
@@ -1,36 +0,0 @@
1
- 'use client';
2
- import { mergeClasses } from "@fluentui/react-components/css-modules";
3
- import { useARIAButtonProps } from "@fluentui/react-aria";
4
- import * as React from "react";
5
- import { useAttachmentBaseStyles, useAttachmentStyles } from "../../../components/Attachment/Attachment.styles.css.js";
6
- export const attachmentClassName = 'fui-Attachment';
7
- export const attachmentProgressContainerClassName = `${attachmentClassName}__progress-container`;
8
- export const attachmentProgressBarClassName = `${attachmentClassName}__progress`;
9
- export const Attachment = /*#__PURE__*/ React.forwardRef((props, ref)=>{
10
- const { actionable, className, children, disabled, onClick, progress, onKeyDown, onKeyUp, ...rest } = props;
11
- const attachmentBaseClass = useAttachmentBaseStyles();
12
- const classes = useAttachmentStyles();
13
- const buttonProps = useARIAButtonProps('div', {
14
- disabled,
15
- onClick,
16
- onKeyDown: onKeyDown,
17
- onKeyUp: onKeyUp
18
- });
19
- return /*#__PURE__*/ React.createElement("div", {
20
- ref: ref,
21
- className: mergeClasses(attachmentClassName, attachmentBaseClass, actionable && classes.actionable, className),
22
- ...actionable && {
23
- 'data-is-focusable': true,
24
- ...buttonProps
25
- },
26
- ...rest
27
- }, children, !isNaN(Number(progress)) && /*#__PURE__*/ React.createElement("div", {
28
- className: mergeClasses(attachmentProgressContainerClassName, classes.progressContainer)
29
- }, /*#__PURE__*/ React.createElement("div", {
30
- className: mergeClasses(classes.progressBar, attachmentProgressBarClassName),
31
- style: {
32
- width: `${progress}%`
33
- }
34
- })));
35
- });
36
- Attachment.displayName = 'Attachment';
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/Attachment/Attachment.tsx"],"sourcesContent":["'use client';\n\nimport { mergeClasses } from '@fluentui/react-components';\nimport { useARIAButtonProps } from '@fluentui/react-aria';\nimport * as React from 'react';\n\nimport { useAttachmentBaseStyles, useAttachmentStyles } from './Attachment.styles';\n\nexport const attachmentClassName = 'fui-Attachment';\nexport const attachmentProgressContainerClassName = `${attachmentClassName}__progress-container`;\nexport const attachmentProgressBarClassName = `${attachmentClassName}__progress`;\n\nexport interface AttachmentProps extends React.HTMLAttributes<HTMLElement> {\n actionable?: boolean;\n disabled?: boolean;\n progress?: string | number;\n onClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;\n}\n\nexport const Attachment = React.forwardRef<HTMLDivElement, AttachmentProps>((props, ref) => {\n const { actionable, className, children, disabled, onClick, progress, onKeyDown, onKeyUp, ...rest } = props;\n const attachmentBaseClass = useAttachmentBaseStyles();\n const classes = useAttachmentStyles();\n\n const buttonProps = useARIAButtonProps('div', {\n disabled,\n onClick,\n onKeyDown: onKeyDown as React.KeyboardEventHandler<HTMLLIElement & HTMLDivElement>,\n onKeyUp: onKeyUp as React.KeyboardEventHandler<HTMLLIElement & HTMLDivElement>,\n });\n\n return (\n <div\n ref={ref}\n className={mergeClasses(attachmentClassName, attachmentBaseClass, actionable && classes.actionable, className)}\n {...(actionable && {\n 'data-is-focusable': true,\n ...buttonProps,\n })}\n {...rest}\n >\n {children}\n {!isNaN(Number(progress)) && (\n <div className={mergeClasses(attachmentProgressContainerClassName, classes.progressContainer)}>\n <div\n className={mergeClasses(classes.progressBar, attachmentProgressBarClassName)}\n style={{ width: `${progress}%` }}\n />\n </div>\n )}\n </div>\n );\n});\n\nAttachment.displayName = 'Attachment';\n"],"names":["mergeClasses","useARIAButtonProps","React","useAttachmentBaseStyles","useAttachmentStyles","attachmentClassName","attachmentProgressContainerClassName","attachmentProgressBarClassName","Attachment","forwardRef","props","ref","actionable","className","children","disabled","onClick","progress","onKeyDown","onKeyUp","rest","attachmentBaseClass","classes","buttonProps","div","isNaN","Number","progressContainer","progressBar","style","width","displayName"],"mappings":"AAAA;AAEA,SAASA,YAAY,QAAQ,6BAA6B;AAC1D,SAASC,kBAAkB,QAAQ,uBAAuB;AAC1D,YAAYC,WAAW,QAAQ;AAE/B,SAASC,uBAAuB,EAAEC,mBAAmB,QAAQ,yBAAsB;AAEnF,OAAO,MAAMC,sBAAsB,iBAAiB;AACpD,OAAO,MAAMC,uCAAuC,GAAGD,oBAAoB,oBAAoB,CAAC,CAAC;AACjG,OAAO,MAAME,iCAAiC,GAAGF,oBAAoB,UAAU,CAAC,CAAC;AASjF,OAAO,MAAMG,2BAAaN,MAAMO,UAAU,CAAkC,CAACC,OAAOC;IAClF,MAAM,EAAEC,UAAU,EAAEC,SAAS,EAAEC,QAAQ,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,QAAQ,EAAEC,SAAS,EAAEC,OAAO,EAAE,GAAGC,MAAM,GAAGV;IACtG,MAAMW,sBAAsBlB;IAC5B,MAAMmB,UAAUlB;IAEhB,MAAMmB,cAActB,mBAAmB,OAAO;QAC5Cc;QACAC;QACAE,WAAWA;QACXC,SAASA;IACX;IAEA,qBACE,oBAACK;QACCb,KAAKA;QACLE,WAAWb,aAAaK,qBAAqBgB,qBAAqBT,cAAcU,QAAQV,UAAU,EAAEC;QACnG,GAAID,cAAc;YACjB,qBAAqB;YACrB,GAAGW,WAAW;QAChB,CAAC;QACA,GAAGH,IAAI;OAEPN,UACA,CAACW,MAAMC,OAAOT,4BACb,oBAACO;QAAIX,WAAWb,aAAaM,sCAAsCgB,QAAQK,iBAAiB;qBAC1F,oBAACH;QACCX,WAAWb,aAAasB,QAAQM,WAAW,EAAErB;QAC7CsB,OAAO;YAAEC,OAAO,GAAGb,SAAS,CAAC,CAAC;QAAC;;AAM3C,GAAG;AAEHT,WAAWuB,WAAW,GAAG"}
@@ -1,44 +0,0 @@
1
- 'use client';
2
- import { Button, mergeClasses } from "@fluentui/react-components/css-modules";
3
- import * as React from "react";
4
- import { useAttachmentActionStyles } from "../../../components/Attachment/AttachmentAction.styles.css.js";
5
- export const attachmentActionClassName = 'fui-AttachmentAction';
6
- export const AttachmentAction = /*#__PURE__*/ React.forwardRef((props, ref)=>{
7
- const { className, disabled, disabledFocusable, children, onClick, onKeyUp, onKeyDown, ...rest } = props;
8
- const classes = useAttachmentActionStyles();
9
- const handleClick = React.useCallback((e)=>{
10
- e.stopPropagation();
11
- e.preventDefault();
12
- onClick === null || onClick === void 0 ? void 0 : onClick(e);
13
- }, [
14
- onClick
15
- ]);
16
- const handleKeyUp = React.useCallback((e)=>{
17
- if (e.key === 'Enter' || e.key === ' ') {
18
- e.stopPropagation();
19
- }
20
- onKeyUp === null || onKeyUp === void 0 ? void 0 : onKeyUp(e);
21
- }, [
22
- onKeyUp
23
- ]);
24
- const handleKeyDown = React.useCallback((e)=>{
25
- if (e.key === 'Enter' || e.key === ' ') {
26
- e.stopPropagation();
27
- }
28
- onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
29
- }, [
30
- onKeyDown
31
- ]);
32
- return /*#__PURE__*/ React.createElement(Button, {
33
- ref: ref,
34
- className: mergeClasses(attachmentActionClassName, classes.root, (disabled || disabledFocusable) && classes.disabled, className),
35
- appearance: "transparent",
36
- disabled: disabled,
37
- disabledFocusable: disabledFocusable,
38
- onClick: handleClick,
39
- onKeyDown: handleKeyDown,
40
- onKeyUp: handleKeyUp,
41
- ...rest
42
- }, children);
43
- });
44
- AttachmentAction.displayName = 'AttachmentAction';
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/Attachment/AttachmentAction.tsx"],"sourcesContent":["'use client';\n\nimport type { ButtonProps } from '@fluentui/react-components';\nimport { Button, mergeClasses } from '@fluentui/react-components';\nimport * as React from 'react';\nimport { useAttachmentActionStyles } from './AttachmentAction.styles';\n\nexport type AttachmentActionProps = ButtonProps;\n\nexport const attachmentActionClassName = 'fui-AttachmentAction';\n\nexport const AttachmentAction = React.forwardRef<HTMLButtonElement, AttachmentActionProps>((props, ref) => {\n const { className, disabled, disabledFocusable, children, onClick, onKeyUp, onKeyDown, ...rest } = props;\n const classes = useAttachmentActionStyles();\n\n const handleClick = React.useCallback<React.MouseEventHandler<HTMLButtonElement & HTMLAnchorElement>>(\n e => {\n e.stopPropagation();\n e.preventDefault();\n onClick?.(e);\n },\n [onClick],\n );\n\n const handleKeyUp = React.useCallback<React.KeyboardEventHandler<HTMLAnchorElement & HTMLButtonElement>>(\n e => {\n if (e.key === 'Enter' || e.key === ' ') {\n e.stopPropagation();\n }\n onKeyUp?.(e);\n },\n [onKeyUp],\n );\n\n const handleKeyDown = React.useCallback<React.KeyboardEventHandler<HTMLButtonElement & HTMLAnchorElement>>(\n e => {\n if (e.key === 'Enter' || e.key === ' ') {\n e.stopPropagation();\n }\n onKeyDown?.(e);\n },\n [onKeyDown],\n );\n\n return (\n <Button\n ref={ref}\n className={mergeClasses(\n attachmentActionClassName,\n classes.root,\n (disabled || disabledFocusable) && classes.disabled,\n className,\n )}\n appearance=\"transparent\"\n disabled={disabled}\n disabledFocusable={disabledFocusable}\n onClick={handleClick}\n onKeyDown={handleKeyDown}\n onKeyUp={handleKeyUp}\n {...rest}\n >\n {children}\n </Button>\n );\n});\n\nAttachmentAction.displayName = 'AttachmentAction';\n"],"names":["Button","mergeClasses","React","useAttachmentActionStyles","attachmentActionClassName","AttachmentAction","forwardRef","props","ref","className","disabled","disabledFocusable","children","onClick","onKeyUp","onKeyDown","rest","classes","handleClick","useCallback","e","stopPropagation","preventDefault","handleKeyUp","key","handleKeyDown","root","appearance","displayName"],"mappings":"AAAA;AAGA,SAASA,MAAM,EAAEC,YAAY,QAAQ,6BAA6B;AAClE,YAAYC,WAAW,QAAQ;AAC/B,SAASC,yBAAyB,QAAQ,+BAA4B;AAItE,OAAO,MAAMC,4BAA4B,uBAAuB;AAEhE,OAAO,MAAMC,iCAAmBH,MAAMI,UAAU,CAA2C,CAACC,OAAOC;IACjG,MAAM,EAAEC,SAAS,EAAEC,QAAQ,EAAEC,iBAAiB,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,OAAO,EAAEC,SAAS,EAAE,GAAGC,MAAM,GAAGT;IACnG,MAAMU,UAAUd;IAEhB,MAAMe,cAAchB,MAAMiB,WAAW,CACnCC,CAAAA;QACEA,EAAEC,eAAe;QACjBD,EAAEE,cAAc;QAChBT,oBAAAA,8BAAAA,QAAUO;IACZ,GACA;QAACP;KAAQ;IAGX,MAAMU,cAAcrB,MAAMiB,WAAW,CACnCC,CAAAA;QACE,IAAIA,EAAEI,GAAG,KAAK,WAAWJ,EAAEI,GAAG,KAAK,KAAK;YACtCJ,EAAEC,eAAe;QACnB;QACAP,oBAAAA,8BAAAA,QAAUM;IACZ,GACA;QAACN;KAAQ;IAGX,MAAMW,gBAAgBvB,MAAMiB,WAAW,CACrCC,CAAAA;QACE,IAAIA,EAAEI,GAAG,KAAK,WAAWJ,EAAEI,GAAG,KAAK,KAAK;YACtCJ,EAAEC,eAAe;QACnB;QACAN,sBAAAA,gCAAAA,UAAYK;IACd,GACA;QAACL;KAAU;IAGb,qBACE,oBAACf;QACCQ,KAAKA;QACLC,WAAWR,aACTG,2BACAa,QAAQS,IAAI,EACZ,AAAChB,CAAAA,YAAYC,iBAAgB,KAAMM,QAAQP,QAAQ,EACnDD;QAEFkB,YAAW;QACXjB,UAAUA;QACVC,mBAAmBA;QACnBE,SAASK;QACTH,WAAWU;QACXX,SAASS;QACR,GAAGP,IAAI;OAEPJ;AAGP,GAAG;AAEHP,iBAAiBuB,WAAW,GAAG"}
@@ -1,15 +0,0 @@
1
- 'use client';
2
- import { mergeClasses } from "@fluentui/react-components/css-modules";
3
- import * as React from "react";
4
- import { useAttachmentBodyStyles } from "../../../components/Attachment/AttachmentBody.styles.css.js";
5
- export const attachmentBodyClassName = 'fui-AttachmentBody';
6
- export const AttachmentBody = /*#__PURE__*/ React.forwardRef((props, ref)=>{
7
- const { className, children, ...rest } = props;
8
- const classes = useAttachmentBodyStyles();
9
- return /*#__PURE__*/ React.createElement("div", {
10
- ref: ref,
11
- className: mergeClasses(attachmentBodyClassName, classes.root, className),
12
- ...rest
13
- }, children);
14
- });
15
- AttachmentBody.displayName = 'AttachmentBody';
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/Attachment/AttachmentBody.tsx"],"sourcesContent":["'use client';\n\nimport { mergeClasses } from '@fluentui/react-components';\nimport * as React from 'react';\nimport { useAttachmentBodyStyles } from './AttachmentBody.styles';\n\nexport interface AttachmentBodyProps extends React.HTMLAttributes<HTMLDivElement> {}\n\nexport const attachmentBodyClassName = 'fui-AttachmentBody';\n\nexport const AttachmentBody: React.FC<AttachmentBodyProps> = React.forwardRef<HTMLDivElement, AttachmentBodyProps>(\n (props, ref) => {\n const { className, children, ...rest } = props;\n const classes = useAttachmentBodyStyles();\n\n return (\n <div ref={ref} className={mergeClasses(attachmentBodyClassName, classes.root, className)} {...rest}>\n {children}\n </div>\n );\n },\n);\n\nAttachmentBody.displayName = 'AttachmentBody';\n"],"names":["mergeClasses","React","useAttachmentBodyStyles","attachmentBodyClassName","AttachmentBody","forwardRef","props","ref","className","children","rest","classes","div","root","displayName"],"mappings":"AAAA;AAEA,SAASA,YAAY,QAAQ,6BAA6B;AAC1D,YAAYC,WAAW,QAAQ;AAC/B,SAASC,uBAAuB,QAAQ,6BAA0B;AAIlE,OAAO,MAAMC,0BAA0B,qBAAqB;AAE5D,OAAO,MAAMC,+BAAgDH,MAAMI,UAAU,CAC3E,CAACC,OAAOC;IACN,MAAM,EAAEC,SAAS,EAAEC,QAAQ,EAAE,GAAGC,MAAM,GAAGJ;IACzC,MAAMK,UAAUT;IAEhB,qBACE,oBAACU;QAAIL,KAAKA;QAAKC,WAAWR,aAAaG,yBAAyBQ,QAAQE,IAAI,EAAEL;QAAa,GAAGE,IAAI;OAC/FD;AAGP,GACA;AAEFL,eAAeU,WAAW,GAAG"}
@@ -1,15 +0,0 @@
1
- 'use client';
2
- import { mergeClasses } from "@fluentui/react-components/css-modules";
3
- import * as React from "react";
4
- import { useAttachmentDescriptionStyles } from "../../../components/Attachment/AttachmentDescription.styles.css.js";
5
- export const attachmentDescriptionClassName = 'fui-AttachmentDescription';
6
- export const AttachmentDescription = /*#__PURE__*/ React.forwardRef((props, ref)=>{
7
- const { className, children, ...rest } = props;
8
- const classes = useAttachmentDescriptionStyles();
9
- return /*#__PURE__*/ React.createElement("span", {
10
- ref: ref,
11
- className: mergeClasses(attachmentDescriptionClassName, classes.root, className),
12
- ...rest
13
- }, children);
14
- });
15
- AttachmentDescription.displayName = 'AttachmentDescription';
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/Attachment/AttachmentDescription.tsx"],"sourcesContent":["'use client';\n\nimport { mergeClasses } from '@fluentui/react-components';\nimport * as React from 'react';\nimport { useAttachmentDescriptionStyles } from './AttachmentDescription.styles';\n\nexport interface AttachmentDescriptionProps extends React.HTMLAttributes<HTMLSpanElement> {}\n\nexport const attachmentDescriptionClassName = 'fui-AttachmentDescription';\n\nexport const AttachmentDescription: React.FC<AttachmentDescriptionProps> = React.forwardRef<\n HTMLSpanElement,\n AttachmentDescriptionProps\n>((props, ref) => {\n const { className, children, ...rest } = props;\n const classes = useAttachmentDescriptionStyles();\n\n return (\n <span ref={ref} className={mergeClasses(attachmentDescriptionClassName, classes.root, className)} {...rest}>\n {children}\n </span>\n );\n});\n\nAttachmentDescription.displayName = 'AttachmentDescription';\n"],"names":["mergeClasses","React","useAttachmentDescriptionStyles","attachmentDescriptionClassName","AttachmentDescription","forwardRef","props","ref","className","children","rest","classes","span","root","displayName"],"mappings":"AAAA;AAEA,SAASA,YAAY,QAAQ,6BAA6B;AAC1D,YAAYC,WAAW,QAAQ;AAC/B,SAASC,8BAA8B,QAAQ,oCAAiC;AAIhF,OAAO,MAAMC,iCAAiC,4BAA4B;AAE1E,OAAO,MAAMC,sCAA8DH,MAAMI,UAAU,CAGzF,CAACC,OAAOC;IACR,MAAM,EAAEC,SAAS,EAAEC,QAAQ,EAAE,GAAGC,MAAM,GAAGJ;IACzC,MAAMK,UAAUT;IAEhB,qBACE,oBAACU;QAAKL,KAAKA;QAAKC,WAAWR,aAAaG,gCAAgCQ,QAAQE,IAAI,EAAEL;QAAa,GAAGE,IAAI;OACvGD;AAGP,GAAG;AAEHL,sBAAsBU,WAAW,GAAG"}
@@ -1,15 +0,0 @@
1
- 'use client';
2
- import { mergeClasses } from "@fluentui/react-components/css-modules";
3
- import * as React from "react";
4
- import { useAttachmentHeaderStyles } from "../../../components/Attachment/AttachmentHeader.styles.css.js";
5
- export const attachmentHeaderClassName = 'fui-AttachmentHeader';
6
- export const AttachmentHeader = /*#__PURE__*/ React.forwardRef((props, ref)=>{
7
- const { className, children, ...rest } = props;
8
- const classes = useAttachmentHeaderStyles();
9
- return /*#__PURE__*/ React.createElement("span", {
10
- ref: ref,
11
- className: mergeClasses(attachmentHeaderClassName, classes.root, className),
12
- ...rest
13
- }, children);
14
- });
15
- AttachmentHeader.displayName = 'AttachmentHeader';
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/Attachment/AttachmentHeader.tsx"],"sourcesContent":["'use client';\n\nimport { mergeClasses } from '@fluentui/react-components';\nimport * as React from 'react';\nimport { useAttachmentHeaderStyles } from './AttachmentHeader.styles';\n\nexport interface AttachmentHeaderProps extends React.HTMLAttributes<HTMLSpanElement> {}\n\nexport const attachmentHeaderClassName = 'fui-AttachmentHeader';\n\nexport const AttachmentHeader: React.FC<AttachmentHeaderProps> = React.forwardRef<\n HTMLSpanElement,\n AttachmentHeaderProps\n>((props, ref) => {\n const { className, children, ...rest } = props;\n const classes = useAttachmentHeaderStyles();\n\n return (\n <span ref={ref} className={mergeClasses(attachmentHeaderClassName, classes.root, className)} {...rest}>\n {children}\n </span>\n );\n});\n\nAttachmentHeader.displayName = 'AttachmentHeader';\n"],"names":["mergeClasses","React","useAttachmentHeaderStyles","attachmentHeaderClassName","AttachmentHeader","forwardRef","props","ref","className","children","rest","classes","span","root","displayName"],"mappings":"AAAA;AAEA,SAASA,YAAY,QAAQ,6BAA6B;AAC1D,YAAYC,WAAW,QAAQ;AAC/B,SAASC,yBAAyB,QAAQ,+BAA4B;AAItE,OAAO,MAAMC,4BAA4B,uBAAuB;AAEhE,OAAO,MAAMC,iCAAoDH,MAAMI,UAAU,CAG/E,CAACC,OAAOC;IACR,MAAM,EAAEC,SAAS,EAAEC,QAAQ,EAAE,GAAGC,MAAM,GAAGJ;IACzC,MAAMK,UAAUT;IAEhB,qBACE,oBAACU;QAAKL,KAAKA;QAAKC,WAAWR,aAAaG,2BAA2BQ,QAAQE,IAAI,EAAEL;QAAa,GAAGE,IAAI;OAClGD;AAGP,GAAG;AAEHL,iBAAiBU,WAAW,GAAG"}
@@ -1,15 +0,0 @@
1
- 'use client';
2
- import { mergeClasses } from "@fluentui/react-components/css-modules";
3
- import * as React from "react";
4
- import { useAttachmentIconStyles } from "../../../components/Attachment/AttachmentIcon.styles.css.js";
5
- export const attachmentIconClassName = 'fui-AttachmentIcon';
6
- export const AttachmentIcon = /*#__PURE__*/ React.forwardRef((props, ref)=>{
7
- const { className, children, ...rest } = props;
8
- const classes = useAttachmentIconStyles();
9
- return /*#__PURE__*/ React.createElement("span", {
10
- ref: ref,
11
- className: mergeClasses(attachmentIconClassName, classes.root, className),
12
- ...rest
13
- }, children);
14
- });
15
- AttachmentIcon.displayName = 'AttachmentIcon';
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/Attachment/AttachmentIcon.tsx"],"sourcesContent":["'use client';\n\nimport { mergeClasses } from '@fluentui/react-components';\nimport * as React from 'react';\nimport { useAttachmentIconStyles } from './AttachmentIcon.styles';\n\nexport interface AttachmentIconProps extends React.HTMLAttributes<HTMLSpanElement> {}\n\nexport const attachmentIconClassName = 'fui-AttachmentIcon';\n\nexport const AttachmentIcon: React.FC<AttachmentIconProps> = React.forwardRef<HTMLSpanElement, AttachmentIconProps>(\n (props, ref) => {\n const { className, children, ...rest } = props;\n const classes = useAttachmentIconStyles();\n\n return (\n <span ref={ref} className={mergeClasses(attachmentIconClassName, classes.root, className)} {...rest}>\n {children}\n </span>\n );\n },\n);\n\nAttachmentIcon.displayName = 'AttachmentIcon';\n"],"names":["mergeClasses","React","useAttachmentIconStyles","attachmentIconClassName","AttachmentIcon","forwardRef","props","ref","className","children","rest","classes","span","root","displayName"],"mappings":"AAAA;AAEA,SAASA,YAAY,QAAQ,6BAA6B;AAC1D,YAAYC,WAAW,QAAQ;AAC/B,SAASC,uBAAuB,QAAQ,6BAA0B;AAIlE,OAAO,MAAMC,0BAA0B,qBAAqB;AAE5D,OAAO,MAAMC,+BAAgDH,MAAMI,UAAU,CAC3E,CAACC,OAAOC;IACN,MAAM,EAAEC,SAAS,EAAEC,QAAQ,EAAE,GAAGC,MAAM,GAAGJ;IACzC,MAAMK,UAAUT;IAEhB,qBACE,oBAACU;QAAKL,KAAKA;QAAKC,WAAWR,aAAaG,yBAAyBQ,QAAQE,IAAI,EAAEL;QAAa,GAAGE,IAAI;OAChGD;AAGP,GACA;AAEFL,eAAeU,WAAW,GAAG"}
@@ -1,6 +0,0 @@
1
- export { Attachment, attachmentClassName, attachmentProgressBarClassName, attachmentProgressContainerClassName } from "./Attachment.js";
2
- export { AttachmentAction, attachmentActionClassName } from "./AttachmentAction.js";
3
- export { AttachmentBody, attachmentBodyClassName } from "./AttachmentBody.js";
4
- export { AttachmentDescription, attachmentDescriptionClassName } from "./AttachmentDescription.js";
5
- export { AttachmentHeader, attachmentHeaderClassName } from "./AttachmentHeader.js";
6
- export { AttachmentIcon, attachmentIconClassName } from "./AttachmentIcon.js";
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/Attachment/index.ts"],"sourcesContent":["export type { AttachmentProps } from './Attachment';\nexport {\n Attachment,\n attachmentClassName,\n attachmentProgressBarClassName,\n attachmentProgressContainerClassName,\n} from './Attachment';\nexport type { AttachmentActionProps } from './AttachmentAction';\nexport { AttachmentAction, attachmentActionClassName } from './AttachmentAction';\nexport type { AttachmentBodyProps } from './AttachmentBody';\nexport { AttachmentBody, attachmentBodyClassName } from './AttachmentBody';\nexport type { AttachmentDescriptionProps } from './AttachmentDescription';\nexport { AttachmentDescription, attachmentDescriptionClassName } from './AttachmentDescription';\nexport type { AttachmentHeaderProps } from './AttachmentHeader';\nexport { AttachmentHeader, attachmentHeaderClassName } from './AttachmentHeader';\nexport type { AttachmentIconProps } from './AttachmentIcon';\nexport { AttachmentIcon, attachmentIconClassName } from './AttachmentIcon';\n"],"names":["Attachment","attachmentClassName","attachmentProgressBarClassName","attachmentProgressContainerClassName","AttachmentAction","attachmentActionClassName","AttachmentBody","attachmentBodyClassName","AttachmentDescription","attachmentDescriptionClassName","AttachmentHeader","attachmentHeaderClassName","AttachmentIcon","attachmentIconClassName"],"mappings":"AACA,SACEA,UAAU,EACVC,mBAAmB,EACnBC,8BAA8B,EAC9BC,oCAAoC,QAC/B,kBAAe;AAEtB,SAASC,gBAAgB,EAAEC,yBAAyB,QAAQ,wBAAqB;AAEjF,SAASC,cAAc,EAAEC,uBAAuB,QAAQ,sBAAmB;AAE3E,SAASC,qBAAqB,EAAEC,8BAA8B,QAAQ,6BAA0B;AAEhG,SAASC,gBAAgB,EAAEC,yBAAyB,QAAQ,wBAAqB;AAEjF,SAASC,cAAc,EAAEC,uBAAuB,QAAQ,sBAAmB"}
@@ -1,60 +0,0 @@
1
- 'use client';
2
- import { mergeClasses } from "@fluentui/react-components/css-modules";
3
- import * as React from "react";
4
- import { useFlexStyles } from "../../../components/Flex/Flex.styles.css.js";
5
- export const flexClassName = 'fui-Flex';
6
- export const Flex = /*#__PURE__*/ React.forwardRef((props, ref)=>{
7
- const { children, column, fill, gap, hAlign, inline, padding, space, vAlign, wrap, className, ...rest } = props;
8
- const classes = useFlexStyles();
9
- const classMaps = React.useMemo(()=>({
10
- alignItems: {
11
- start: classes.alignItemsFlexStart,
12
- center: classes.alignItemsCenter,
13
- end: classes.alignItemsFlexEnd,
14
- stretch: classes.alignItemsCenter
15
- },
16
- justifyContent: {
17
- start: classes.justifyContentFlexStart,
18
- center: classes.justifyContentCenter,
19
- end: classes.justifyContentFlexEnd,
20
- stretch: classes.justifyContentStretch
21
- },
22
- justifyContentSpace: {
23
- around: classes.justifyContentSpaceAround,
24
- between: classes.justifyContentSpaceBetween,
25
- evenly: classes.justifyContentSpaceEvenly
26
- },
27
- gapForColumnFlex: {
28
- 'gap.smaller': classes.gapForColumnFlexSmaller,
29
- 'gap.small': classes.gapForColumnFlexSmall,
30
- 'gap.medium': classes.gapForColumnFlexMedium,
31
- 'gap.large': classes.gapForColumnFlexLarge
32
- },
33
- gapRow: {
34
- 'gap.smaller': classes.gapForRowFlexSmaller,
35
- 'gap.small': classes.gapForRowFlexSmall,
36
- 'gap.medium': classes.gapForRowFlexMedium,
37
- 'gap.large': classes.gapForRowFlexLarge
38
- },
39
- paddings: {
40
- 'padding.medium': classes.paddingMedium
41
- }
42
- }), [
43
- classes
44
- ]);
45
- const flexClasses = mergeClasses(flexClassName, classes.flex, inline && classes.inline, column && classes.column, hAlign && (column ? classMaps.alignItems[hAlign] : classMaps.justifyContent[hAlign]), vAlign && (column ? classMaps.justifyContent[vAlign] : classMaps.alignItems[vAlign]), space && classMaps.justifyContentSpace[space], wrap && classes.wrap, fill && classes.fill, gap && (column ? classMaps.gapForColumnFlex[gap] : classMaps.gapRow[gap]), padding && classMaps.paddings[padding], className);
46
- const content = React.Children.map(children, (child)=>{
47
- var _child_type;
48
- // @ts-expect-error __isFlexItem is added to the React type property by N*
49
- const isFlexItemElement = child === null || child === void 0 ? void 0 : (_child_type = child.type) === null || _child_type === void 0 ? void 0 : _child_type.__isFlexItem;
50
- return isFlexItemElement ? /*#__PURE__*/ React.cloneElement(child, {
51
- flexDirection: column ? 'column' : 'row'
52
- }) : child;
53
- });
54
- return /*#__PURE__*/ React.createElement("div", {
55
- ref: ref,
56
- className: flexClasses,
57
- ...rest
58
- }, content);
59
- });
60
- Flex.displayName = 'Flex';
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/Flex/Flex.tsx"],"sourcesContent":["'use client';\n\nimport { mergeClasses } from '@fluentui/react-components';\nimport * as React from 'react';\n\nimport { useFlexStyles } from './Flex.styles';\n\nexport interface FlexProps {\n /** Defines if container should be inline element. */\n inline?: boolean;\n\n /** Sets vertical flow direction. */\n column?: boolean;\n\n /** Allows overflow items to wrap on the next container's line. */\n wrap?: boolean;\n\n /** Controls items alignment in horizontal direction. */\n hAlign?: 'start' | 'center' | 'end' | 'stretch';\n\n /** Controls items alignment in vertical direction. */\n vAlign?: 'start' | 'center' | 'end' | 'stretch';\n\n /** Defines strategy for distributing remaining space between items. */\n space?: 'around' | 'between' | 'evenly';\n\n /** Defines gap between each two adjacent child items. */\n gap?: 'gap.smaller' | 'gap.small' | 'gap.medium' | 'gap.large';\n\n /** Defines container's padding. */\n padding?: 'padding.medium';\n\n /** Orders container to fill all parent's space available. */\n fill?: boolean;\n}\n\nexport const flexClassName = 'fui-Flex';\n\nexport const Flex = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLElement> & FlexProps>((props, ref) => {\n const { children, column, fill, gap, hAlign, inline, padding, space, vAlign, wrap, className, ...rest } = props;\n const classes = useFlexStyles();\n\n const classMaps = React.useMemo(\n () => ({\n alignItems: {\n start: classes.alignItemsFlexStart,\n center: classes.alignItemsCenter,\n end: classes.alignItemsFlexEnd,\n stretch: classes.alignItemsCenter,\n },\n justifyContent: {\n start: classes.justifyContentFlexStart,\n center: classes.justifyContentCenter,\n end: classes.justifyContentFlexEnd,\n stretch: classes.justifyContentStretch,\n },\n justifyContentSpace: {\n around: classes.justifyContentSpaceAround,\n between: classes.justifyContentSpaceBetween,\n evenly: classes.justifyContentSpaceEvenly,\n },\n gapForColumnFlex: {\n 'gap.smaller': classes.gapForColumnFlexSmaller,\n 'gap.small': classes.gapForColumnFlexSmall,\n 'gap.medium': classes.gapForColumnFlexMedium,\n 'gap.large': classes.gapForColumnFlexLarge,\n },\n gapRow: {\n 'gap.smaller': classes.gapForRowFlexSmaller,\n 'gap.small': classes.gapForRowFlexSmall,\n 'gap.medium': classes.gapForRowFlexMedium,\n 'gap.large': classes.gapForRowFlexLarge,\n },\n paddings: {\n 'padding.medium': classes.paddingMedium,\n },\n }),\n [classes],\n );\n\n const flexClasses = mergeClasses(\n flexClassName,\n classes.flex,\n inline && classes.inline,\n column && classes.column,\n hAlign && (column ? classMaps.alignItems[hAlign] : classMaps.justifyContent[hAlign]),\n vAlign && (column ? classMaps.justifyContent[vAlign] : classMaps.alignItems[vAlign]),\n space && classMaps.justifyContentSpace[space],\n wrap && classes.wrap,\n fill && classes.fill,\n gap && (column ? classMaps.gapForColumnFlex[gap] : classMaps.gapRow[gap]),\n padding && classMaps.paddings[padding],\n className,\n );\n\n const content = React.Children.map(children, child => {\n // @ts-expect-error __isFlexItem is added to the React type property by N*\n const isFlexItemElement: boolean = child?.type?.__isFlexItem;\n\n return isFlexItemElement\n ? // eslint-disable-next-line @typescript-eslint/no-explicit-any\n React.cloneElement(child as React.ReactElement<any>, {\n flexDirection: column ? 'column' : 'row',\n })\n : child;\n });\n\n return (\n <div ref={ref} className={flexClasses} {...rest}>\n {content}\n </div>\n );\n});\n\nFlex.displayName = 'Flex';\n"],"names":["mergeClasses","React","useFlexStyles","flexClassName","Flex","forwardRef","props","ref","children","column","fill","gap","hAlign","inline","padding","space","vAlign","wrap","className","rest","classes","classMaps","useMemo","alignItems","start","alignItemsFlexStart","center","alignItemsCenter","end","alignItemsFlexEnd","stretch","justifyContent","justifyContentFlexStart","justifyContentCenter","justifyContentFlexEnd","justifyContentStretch","justifyContentSpace","around","justifyContentSpaceAround","between","justifyContentSpaceBetween","evenly","justifyContentSpaceEvenly","gapForColumnFlex","gapForColumnFlexSmaller","gapForColumnFlexSmall","gapForColumnFlexMedium","gapForColumnFlexLarge","gapRow","gapForRowFlexSmaller","gapForRowFlexSmall","gapForRowFlexMedium","gapForRowFlexLarge","paddings","paddingMedium","flexClasses","flex","content","Children","map","child","isFlexItemElement","type","__isFlexItem","cloneElement","flexDirection","div","displayName"],"mappings":"AAAA;AAEA,SAASA,YAAY,QAAQ,6BAA6B;AAC1D,YAAYC,WAAW,QAAQ;AAE/B,SAASC,aAAa,QAAQ,mBAAgB;AA+B9C,OAAO,MAAMC,gBAAgB,WAAW;AAExC,OAAO,MAAMC,qBAAOH,MAAMI,UAAU,CAAgE,CAACC,OAAOC;IAC1G,MAAM,EAAEC,QAAQ,EAAEC,MAAM,EAAEC,IAAI,EAAEC,GAAG,EAAEC,MAAM,EAAEC,MAAM,EAAEC,OAAO,EAAEC,KAAK,EAAEC,MAAM,EAAEC,IAAI,EAAEC,SAAS,EAAE,GAAGC,MAAM,GAAGb;IAC1G,MAAMc,UAAUlB;IAEhB,MAAMmB,YAAYpB,MAAMqB,OAAO,CAC7B,IAAO,CAAA;YACLC,YAAY;gBACVC,OAAOJ,QAAQK,mBAAmB;gBAClCC,QAAQN,QAAQO,gBAAgB;gBAChCC,KAAKR,QAAQS,iBAAiB;gBAC9BC,SAASV,QAAQO,gBAAgB;YACnC;YACAI,gBAAgB;gBACdP,OAAOJ,QAAQY,uBAAuB;gBACtCN,QAAQN,QAAQa,oBAAoB;gBACpCL,KAAKR,QAAQc,qBAAqB;gBAClCJ,SAASV,QAAQe,qBAAqB;YACxC;YACAC,qBAAqB;gBACnBC,QAAQjB,QAAQkB,yBAAyB;gBACzCC,SAASnB,QAAQoB,0BAA0B;gBAC3CC,QAAQrB,QAAQsB,yBAAyB;YAC3C;YACAC,kBAAkB;gBAChB,eAAevB,QAAQwB,uBAAuB;gBAC9C,aAAaxB,QAAQyB,qBAAqB;gBAC1C,cAAczB,QAAQ0B,sBAAsB;gBAC5C,aAAa1B,QAAQ2B,qBAAqB;YAC5C;YACAC,QAAQ;gBACN,eAAe5B,QAAQ6B,oBAAoB;gBAC3C,aAAa7B,QAAQ8B,kBAAkB;gBACvC,cAAc9B,QAAQ+B,mBAAmB;gBACzC,aAAa/B,QAAQgC,kBAAkB;YACzC;YACAC,UAAU;gBACR,kBAAkBjC,QAAQkC,aAAa;YACzC;QACF,CAAA,GACA;QAAClC;KAAQ;IAGX,MAAMmC,cAAcvD,aAClBG,eACAiB,QAAQoC,IAAI,EACZ3C,UAAUO,QAAQP,MAAM,EACxBJ,UAAUW,QAAQX,MAAM,EACxBG,UAAWH,CAAAA,SAASY,UAAUE,UAAU,CAACX,OAAO,GAAGS,UAAUU,cAAc,CAACnB,OAAO,AAAD,GAClFI,UAAWP,CAAAA,SAASY,UAAUU,cAAc,CAACf,OAAO,GAAGK,UAAUE,UAAU,CAACP,OAAO,AAAD,GAClFD,SAASM,UAAUe,mBAAmB,CAACrB,MAAM,EAC7CE,QAAQG,QAAQH,IAAI,EACpBP,QAAQU,QAAQV,IAAI,EACpBC,OAAQF,CAAAA,SAASY,UAAUsB,gBAAgB,CAAChC,IAAI,GAAGU,UAAU2B,MAAM,CAACrC,IAAI,AAAD,GACvEG,WAAWO,UAAUgC,QAAQ,CAACvC,QAAQ,EACtCI;IAGF,MAAMuC,UAAUxD,MAAMyD,QAAQ,CAACC,GAAG,CAACnD,UAAUoD,CAAAA;YAERA;QADnC,0EAA0E;QAC1E,MAAMC,oBAA6BD,kBAAAA,6BAAAA,cAAAA,MAAOE,IAAI,cAAXF,kCAAAA,YAAaG,YAAY;QAE5D,OAAOF,kCAEH5D,MAAM+D,YAAY,CAACJ,OAAkC;YACnDK,eAAexD,SAAS,WAAW;QACrC,KACAmD;IACN;IAEA,qBACE,oBAACM;QAAI3D,KAAKA;QAAKW,WAAWqC;QAAc,GAAGpC,IAAI;OAC5CsC;AAGP,GAAG;AAEHrD,KAAK+D,WAAW,GAAG"}
@@ -1,3 +0,0 @@
1
- export { Flex, flexClassName } from "./Flex.js";
2
- export { useFlexStyles } from "../../../components/Flex/Flex.styles.css.js";
3
- export { flexItem } from "../../../components/Flex/FlexItem.mixins.js";
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/Flex/index.ts"],"sourcesContent":["export { Flex, flexClassName } from './Flex';\nexport type { FlexProps } from './Flex';\nexport { useFlexStyles } from './Flex.styles';\nexport { flexItem } from './FlexItem.mixins';\n"],"names":["Flex","flexClassName","useFlexStyles","flexItem"],"mappings":"AAAA,SAASA,IAAI,EAAEC,aAAa,QAAQ,YAAS;AAE7C,SAASC,aAAa,QAAQ,mBAAgB;AAC9C,SAASC,QAAQ,QAAQ,uBAAoB"}
@@ -1,42 +0,0 @@
1
- 'use client';
2
- import { renderField_unstable, useFieldContextValues_unstable, useFieldStyles_unstable, useField_unstable } from "@fluentui/react-components/css-modules";
3
- import * as React from "react";
4
- export const FormFieldShim = /*#__PURE__*/ React.forwardRef((props, ref)=>{
5
- const { errorMessage, required, control, label } = props;
6
- const fieldProps = {
7
- required
8
- };
9
- if (errorMessage && (control === null || control === void 0 ? void 0 : control.error) === 'true') {
10
- fieldProps.validationState = 'error';
11
- if (typeof errorMessage === 'object') {
12
- fieldProps.validationMessage = errorMessage.content;
13
- }
14
- if (typeof errorMessage === 'string') {
15
- fieldProps.validationMessage = errorMessage;
16
- }
17
- }
18
- if (label) {
19
- if (typeof label === 'object') {
20
- fieldProps.label = label.content;
21
- } else {
22
- fieldProps.label = label;
23
- }
24
- }
25
- const children = props.children || (control === null || control === void 0 ? void 0 : control.content);
26
- if (/*#__PURE__*/ React.isValidElement(children)) {
27
- const child = children;
28
- // Use the Field's child render function to pass the field control props to the child
29
- fieldProps.children = (fieldControlProps)=>/*#__PURE__*/ React.cloneElement(child, {
30
- ...fieldControlProps,
31
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
32
- ...child.props
33
- });
34
- } else {
35
- fieldProps.children = children;
36
- }
37
- const state = useField_unstable(fieldProps, ref);
38
- useFieldStyles_unstable(state);
39
- const context = useFieldContextValues_unstable(state);
40
- return renderField_unstable(state, context);
41
- });
42
- FormFieldShim.displayName = 'FormFieldShim';
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/FormField/FormFieldShim.tsx"],"sourcesContent":["'use client';\n\nimport type { FieldProps } from '@fluentui/react-components';\nimport {\n renderField_unstable,\n useFieldContextValues_unstable,\n useFieldStyles_unstable,\n useField_unstable,\n} from '@fluentui/react-components';\nimport type { ObjectShorthandValue } from '@fluentui/react-northstar';\n\nimport * as React from 'react';\n\ntype WithContent = ObjectShorthandValue<React.HTMLAttributes<HTMLDivElement>> | string;\n\n/**\n *\n */\ntype CustomInputFieldProps = React.PropsWithChildren<{\n /**\n * Message to be shown when error state is true\n */\n errorMessage?: WithContent;\n /**\n * Whether the field label should be marked as required.\n */\n required?: boolean;\n /**\n * Control to be rendered\n */\n control?: ObjectShorthandValue<{\n /**\n * Control content\n */\n content?: React.ReactNode;\n }> & {\n /**\n * Error state\n */\n error?: 'true' | 'false';\n };\n /**\n * Label to be rendered\n */\n label?: WithContent;\n}>;\n\nexport const FormFieldShim = React.forwardRef<HTMLInputElement, CustomInputFieldProps>((props, ref) => {\n const { errorMessage, required, control, label } = props;\n const fieldProps: FieldProps = { required };\n\n if (errorMessage && control?.error === 'true') {\n fieldProps.validationState = 'error';\n if (typeof errorMessage === 'object') {\n fieldProps.validationMessage = errorMessage.content;\n }\n if (typeof errorMessage === 'string') {\n fieldProps.validationMessage = errorMessage;\n }\n }\n\n if (label) {\n if (typeof label === 'object') {\n fieldProps.label = label.content;\n } else {\n fieldProps.label = label;\n }\n }\n\n const children: FieldProps['children'] = props.children || control?.content;\n\n if (React.isValidElement(children)) {\n const child: React.ReactElement = children;\n\n // Use the Field's child render function to pass the field control props to the child\n fieldProps.children = fieldControlProps =>\n React.cloneElement(child, {\n ...fieldControlProps,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n ...(child.props as any),\n });\n } else {\n fieldProps.children = children;\n }\n\n const state = useField_unstable(fieldProps, ref);\n useFieldStyles_unstable(state);\n const context = useFieldContextValues_unstable(state);\n return renderField_unstable(state, context);\n});\n\nFormFieldShim.displayName = 'FormFieldShim';\n"],"names":["renderField_unstable","useFieldContextValues_unstable","useFieldStyles_unstable","useField_unstable","React","FormFieldShim","forwardRef","props","ref","errorMessage","required","control","label","fieldProps","error","validationState","validationMessage","content","children","isValidElement","child","fieldControlProps","cloneElement","state","context","displayName"],"mappings":"AAAA;AAGA,SACEA,oBAAoB,EACpBC,8BAA8B,EAC9BC,uBAAuB,EACvBC,iBAAiB,QACZ,6BAA6B;AAGpC,YAAYC,WAAW,QAAQ;AAoC/B,OAAO,MAAMC,8BAAgBD,MAAME,UAAU,CAA0C,CAACC,OAAOC;IAC7F,MAAM,EAAEC,YAAY,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,KAAK,EAAE,GAAGL;IACnD,MAAMM,aAAyB;QAAEH;IAAS;IAE1C,IAAID,gBAAgBE,CAAAA,oBAAAA,8BAAAA,QAASG,KAAK,MAAK,QAAQ;QAC7CD,WAAWE,eAAe,GAAG;QAC7B,IAAI,OAAON,iBAAiB,UAAU;YACpCI,WAAWG,iBAAiB,GAAGP,aAAaQ,OAAO;QACrD;QACA,IAAI,OAAOR,iBAAiB,UAAU;YACpCI,WAAWG,iBAAiB,GAAGP;QACjC;IACF;IAEA,IAAIG,OAAO;QACT,IAAI,OAAOA,UAAU,UAAU;YAC7BC,WAAWD,KAAK,GAAGA,MAAMK,OAAO;QAClC,OAAO;YACLJ,WAAWD,KAAK,GAAGA;QACrB;IACF;IAEA,MAAMM,WAAmCX,MAAMW,QAAQ,KAAIP,oBAAAA,8BAAAA,QAASM,OAAO;IAE3E,kBAAIb,MAAMe,cAAc,CAACD,WAAW;QAClC,MAAME,QAA4BF;QAElC,qFAAqF;QACrFL,WAAWK,QAAQ,GAAGG,CAAAA,kCACpBjB,MAAMkB,YAAY,CAACF,OAAO;gBACxB,GAAGC,iBAAiB;gBACpB,8DAA8D;gBAC9D,GAAID,MAAMb,KAAK;YACjB;IACJ,OAAO;QACLM,WAAWK,QAAQ,GAAGA;IACxB;IAEA,MAAMK,QAAQpB,kBAAkBU,YAAYL;IAC5CN,wBAAwBqB;IACxB,MAAMC,UAAUvB,+BAA+BsB;IAC/C,OAAOvB,qBAAqBuB,OAAOC;AACrC,GAAG;AAEHnB,cAAcoB,WAAW,GAAG"}
@@ -1 +0,0 @@
1
- export { FormFieldShim } from "./FormFieldShim.js";
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/FormField/index.ts"],"sourcesContent":["export { FormFieldShim } from './FormFieldShim';\n"],"names":["FormFieldShim"],"mappings":"AAAA,SAASA,aAAa,QAAQ,qBAAkB"}
@@ -1,30 +0,0 @@
1
- 'use client';
2
- import { mergeClasses } from "@fluentui/react-components/css-modules";
3
- import * as React from "react";
4
- import { useGridStyles } from "../../../components/Grid/Grid.styles.css.js";
5
- export const gridShimClassName = 'fui-Grid';
6
- export const GridShim = /*#__PURE__*/ React.forwardRef((props, ref)=>{
7
- const { rows, columns, className, ...rest } = props;
8
- const classes = useGridStyles();
9
- const classMaps = React.useMemo(()=>({
10
- rowsClasses: {
11
- 1: classes.rows1,
12
- 2: classes.rows2,
13
- 3: classes.rows3
14
- },
15
- columnsClasses: {
16
- 1: classes.columns1,
17
- 2: classes.columns2,
18
- 3: classes.columns3
19
- }
20
- }), [
21
- classes
22
- ]);
23
- const gridClasses = mergeClasses(gridShimClassName, classes.grid, !rows && !columns && classes.columnsDefault, rows && !columns && classes.onlyRows, rows && classMaps.rowsClasses[rows], columns && classMaps.columnsClasses[columns], className);
24
- return /*#__PURE__*/ React.createElement("div", {
25
- ref: ref,
26
- className: gridClasses,
27
- ...rest
28
- });
29
- });
30
- GridShim.displayName = 'GridShim';
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/Grid/GridShim.tsx"],"sourcesContent":["'use client';\n\nimport { mergeClasses } from '@fluentui/react-components';\nimport * as React from 'react';\nimport { useGridStyles } from './Grid.styles';\n\nexport interface GridShimProps {\n /**\n * The columns of the grid with a space-separated list of values.\n * The values represent the track size, and the space between them represents the grid line.\n */\n columns?: 1 | 2 | 3;\n\n /**\n * The rows of the grid with a space-separated list of values.\n * The values represent the track size, and the space between them represents the grid line.\n */\n rows?: 1 | 2 | 3;\n}\n\nexport const gridShimClassName = 'fui-Grid';\n\nexport const GridShim = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLElement> & GridShimProps>(\n (props, ref) => {\n const { rows, columns, className, ...rest } = props;\n const classes = useGridStyles();\n\n const classMaps = React.useMemo(\n () => ({\n rowsClasses: {\n 1: classes.rows1,\n 2: classes.rows2,\n 3: classes.rows3,\n },\n columnsClasses: {\n 1: classes.columns1,\n 2: classes.columns2,\n 3: classes.columns3,\n },\n }),\n [classes],\n );\n\n const gridClasses = mergeClasses(\n gridShimClassName,\n classes.grid,\n !rows && !columns && classes.columnsDefault,\n rows && !columns && classes.onlyRows,\n rows && classMaps.rowsClasses[rows],\n columns && classMaps.columnsClasses[columns],\n className,\n );\n return <div ref={ref} className={gridClasses} {...rest} />;\n },\n);\n\nGridShim.displayName = 'GridShim';\n"],"names":["mergeClasses","React","useGridStyles","gridShimClassName","GridShim","forwardRef","props","ref","rows","columns","className","rest","classes","classMaps","useMemo","rowsClasses","rows1","rows2","rows3","columnsClasses","columns1","columns2","columns3","gridClasses","grid","columnsDefault","onlyRows","div","displayName"],"mappings":"AAAA;AAEA,SAASA,YAAY,QAAQ,6BAA6B;AAC1D,YAAYC,WAAW,QAAQ;AAC/B,SAASC,aAAa,QAAQ,mBAAgB;AAgB9C,OAAO,MAAMC,oBAAoB,WAAW;AAE5C,OAAO,MAAMC,yBAAWH,MAAMI,UAAU,CACtC,CAACC,OAAOC;IACN,MAAM,EAAEC,IAAI,EAAEC,OAAO,EAAEC,SAAS,EAAE,GAAGC,MAAM,GAAGL;IAC9C,MAAMM,UAAUV;IAEhB,MAAMW,YAAYZ,MAAMa,OAAO,CAC7B,IAAO,CAAA;YACLC,aAAa;gBACX,GAAGH,QAAQI,KAAK;gBAChB,GAAGJ,QAAQK,KAAK;gBAChB,GAAGL,QAAQM,KAAK;YAClB;YACAC,gBAAgB;gBACd,GAAGP,QAAQQ,QAAQ;gBACnB,GAAGR,QAAQS,QAAQ;gBACnB,GAAGT,QAAQU,QAAQ;YACrB;QACF,CAAA,GACA;QAACV;KAAQ;IAGX,MAAMW,cAAcvB,aAClBG,mBACAS,QAAQY,IAAI,EACZ,CAAChB,QAAQ,CAACC,WAAWG,QAAQa,cAAc,EAC3CjB,QAAQ,CAACC,WAAWG,QAAQc,QAAQ,EACpClB,QAAQK,UAAUE,WAAW,CAACP,KAAK,EACnCC,WAAWI,UAAUM,cAAc,CAACV,QAAQ,EAC5CC;IAEF,qBAAO,oBAACiB;QAAIpB,KAAKA;QAAKG,WAAWa;QAAc,GAAGZ,IAAI;;AACxD,GACA;AAEFP,SAASwB,WAAW,GAAG"}
@@ -1,3 +0,0 @@
1
- export { GridShim, gridShimClassName as gridClassName } from "./GridShim.js";
2
- export { useGridStyles } from "../../../components/Grid/Grid.styles.css.js";
3
- export { grid } from "../../../components/Grid/Grid.mixins.js";
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/Grid/index.ts"],"sourcesContent":["export { GridShim, gridShimClassName as gridClassName } from './GridShim';\nexport type { GridShimProps } from './GridShim';\nexport { useGridStyles } from './Grid.styles';\nexport { grid } from './Grid.mixins';\n"],"names":["GridShim","gridShimClassName","gridClassName","useGridStyles","grid"],"mappings":"AAAA,SAASA,QAAQ,EAAEC,qBAAqBC,aAAa,QAAQ,gBAAa;AAE1E,SAASC,aAAa,QAAQ,mBAAgB;AAC9C,SAASC,IAAI,QAAQ,mBAAgB"}
@@ -1,19 +0,0 @@
1
- import { tokens } from "@fluentui/react-components/css-modules";
2
- const fluid = ()=>({
3
- width: '100%'
4
- });
5
- const error = ()=>({
6
- border: `1px solid ${tokens.colorPaletteRedBorderActive}`
7
- });
8
- const errorIndicator = ()=>({
9
- color: tokens.colorPaletteRedBorderActive
10
- });
11
- const successIndicator = ()=>({
12
- color: tokens.colorPaletteGreenForeground1
13
- });
14
- export const input = {
15
- error,
16
- errorIndicator,
17
- fluid,
18
- successIndicator
19
- };
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/Input/Input.mixins.ts"],"sourcesContent":["import type { GriffelStyle } from '@fluentui/react-components';\nimport { tokens } from '@fluentui/react-components';\n\nconst fluid = (): GriffelStyle => ({ width: '100%' });\n\nconst error = (): GriffelStyle => ({ border: `1px solid ${tokens.colorPaletteRedBorderActive}` });\n\nconst errorIndicator = (): GriffelStyle => ({\n color: tokens.colorPaletteRedBorderActive,\n});\n\nconst successIndicator = (): GriffelStyle => ({\n color: tokens.colorPaletteGreenForeground1,\n});\n\nexport const input = {\n error,\n errorIndicator,\n fluid,\n successIndicator,\n};\n"],"names":["tokens","fluid","width","error","border","colorPaletteRedBorderActive","errorIndicator","color","successIndicator","colorPaletteGreenForeground1","input"],"mappings":"AACA,SAASA,MAAM,QAAQ,6BAA6B;AAEpD,MAAMC,QAAQ,IAAqB,CAAA;QAAEC,OAAO;IAAO,CAAA;AAEnD,MAAMC,QAAQ,IAAqB,CAAA;QAAEC,QAAQ,CAAC,UAAU,EAAEJ,OAAOK,2BAA2B,EAAE;IAAC,CAAA;AAE/F,MAAMC,iBAAiB,IAAqB,CAAA;QAC1CC,OAAOP,OAAOK,2BAA2B;IAC3C,CAAA;AAEA,MAAMG,mBAAmB,IAAqB,CAAA;QAC5CD,OAAOP,OAAOS,4BAA4B;IAC5C,CAAA;AAEA,OAAO,MAAMC,QAAQ;IACnBP;IACAG;IACAL;IACAO;AACF,EAAE"}
@@ -1 +0,0 @@
1
- export { input } from "./Input.mixins.js";
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/Input/index.ts"],"sourcesContent":["export { input } from './Input.mixins';\n"],"names":["input"],"mappings":"AAAA,SAASA,KAAK,QAAQ,oBAAiB"}