@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,34 +0,0 @@
1
- 'use client';
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- function _export(target, all) {
7
- for(var name in all)Object.defineProperty(target, name, {
8
- enumerable: true,
9
- get: Object.getOwnPropertyDescriptor(all, name).get
10
- });
11
- }
12
- _export(exports, {
13
- get AttachmentIcon () {
14
- return AttachmentIcon;
15
- },
16
- get attachmentIconClassName () {
17
- return attachmentIconClassName;
18
- }
19
- });
20
- const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
21
- const _reactcomponents = require("@fluentui/react-components/css-modules");
22
- const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
23
- const _AttachmentIconstyles = require("../../../components/Attachment/AttachmentIcon.styles.css.cjs");
24
- const attachmentIconClassName = 'fui-AttachmentIcon';
25
- const AttachmentIcon = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
26
- const { className, children, ...rest } = props;
27
- const classes = (0, _AttachmentIconstyles.useAttachmentIconStyles)();
28
- return /*#__PURE__*/ _react.createElement("span", {
29
- ref: ref,
30
- className: (0, _reactcomponents.mergeClasses)(attachmentIconClassName, classes.root, className),
31
- ...rest
32
- }, children);
33
- });
34
- 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;;;;;;;;;;;;QAUaI;;;;;;;;iCARgB,6BAA6B;iEACnC,QAAQ;sCACS,6BAA0B;AAI3D,MAAMD,0BAA0B,qBAAqB;AAErD,uBAAMC,WAAAA,GAAgDH,OAAMI,UAAU,CAC3E,CAACC,OAAOC;IACN,MAAM,EAAEC,SAAS,EAAEC,QAAQ,EAAE,GAAGC,MAAM,GAAGJ;IACzC,MAAMK,cAAUT,6CAAAA;IAEhB,OAAA,WAAA,GACE,OAAA,aAAA,CAACU,QAAAA;QAAKL,KAAKA;QAAKC,eAAWR,6BAAAA,EAAaG,yBAAyBQ,QAAQE,IAAI,EAAEL;QAAa,GAAGE,IAAI;OAChGD;AAGP,GACA;AAEFL,eAAeU,WAAW,GAAG"}
@@ -1,60 +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 Attachment () {
13
- return _Attachment.Attachment;
14
- },
15
- get AttachmentAction () {
16
- return _AttachmentAction.AttachmentAction;
17
- },
18
- get AttachmentBody () {
19
- return _AttachmentBody.AttachmentBody;
20
- },
21
- get AttachmentDescription () {
22
- return _AttachmentDescription.AttachmentDescription;
23
- },
24
- get AttachmentHeader () {
25
- return _AttachmentHeader.AttachmentHeader;
26
- },
27
- get AttachmentIcon () {
28
- return _AttachmentIcon.AttachmentIcon;
29
- },
30
- get attachmentActionClassName () {
31
- return _AttachmentAction.attachmentActionClassName;
32
- },
33
- get attachmentBodyClassName () {
34
- return _AttachmentBody.attachmentBodyClassName;
35
- },
36
- get attachmentClassName () {
37
- return _Attachment.attachmentClassName;
38
- },
39
- get attachmentDescriptionClassName () {
40
- return _AttachmentDescription.attachmentDescriptionClassName;
41
- },
42
- get attachmentHeaderClassName () {
43
- return _AttachmentHeader.attachmentHeaderClassName;
44
- },
45
- get attachmentIconClassName () {
46
- return _AttachmentIcon.attachmentIconClassName;
47
- },
48
- get attachmentProgressBarClassName () {
49
- return _Attachment.attachmentProgressBarClassName;
50
- },
51
- get attachmentProgressContainerClassName () {
52
- return _Attachment.attachmentProgressContainerClassName;
53
- }
54
- });
55
- const _Attachment = require("./Attachment.cjs");
56
- const _AttachmentAction = require("./AttachmentAction.cjs");
57
- const _AttachmentBody = require("./AttachmentBody.cjs");
58
- const _AttachmentDescription = require("./AttachmentDescription.cjs");
59
- const _AttachmentHeader = require("./AttachmentHeader.cjs");
60
- const _AttachmentIcon = require("./AttachmentIcon.cjs");
@@ -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":";;;;;;;;;;;QAEEA;qCAAU;;;eAMHI,kCAAgB;;;eAEhBE,8BAAc;;;eAEdE,4CAAqB;;;eAErBE,kCAAgB;;;eAEhBE,8BAAc;;;eARIP,2CAAyB;;;eAE3BE,uCAAuB;;;eAP9CN,+BAAmB;;;eASWQ,qDAA8B;;;eAEnCE,2CAAyB;;;eAE3BE,uCAAuB;;;eAZ9CX,0CAA8B;;;eAC9BC,gDAAoC;;;4BAC/B,kBAAe;kCAEsC,wBAAqB;gCAEzB,sBAAmB;uCAEL,6BAA0B;kCAEpC,wBAAqB;gCAEzB,sBAAmB"}
@@ -1,79 +0,0 @@
1
- 'use client';
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- function _export(target, all) {
7
- for(var name in all)Object.defineProperty(target, name, {
8
- enumerable: true,
9
- get: Object.getOwnPropertyDescriptor(all, name).get
10
- });
11
- }
12
- _export(exports, {
13
- get Flex () {
14
- return Flex;
15
- },
16
- get flexClassName () {
17
- return flexClassName;
18
- }
19
- });
20
- const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
21
- const _reactcomponents = require("@fluentui/react-components/css-modules");
22
- const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
23
- const _Flexstyles = require("../../../components/Flex/Flex.styles.css.cjs");
24
- const flexClassName = 'fui-Flex';
25
- const Flex = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
26
- const { children, column, fill, gap, hAlign, inline, padding, space, vAlign, wrap, className, ...rest } = props;
27
- const classes = (0, _Flexstyles.useFlexStyles)();
28
- const classMaps = _react.useMemo(()=>({
29
- alignItems: {
30
- start: classes.alignItemsFlexStart,
31
- center: classes.alignItemsCenter,
32
- end: classes.alignItemsFlexEnd,
33
- stretch: classes.alignItemsCenter
34
- },
35
- justifyContent: {
36
- start: classes.justifyContentFlexStart,
37
- center: classes.justifyContentCenter,
38
- end: classes.justifyContentFlexEnd,
39
- stretch: classes.justifyContentStretch
40
- },
41
- justifyContentSpace: {
42
- around: classes.justifyContentSpaceAround,
43
- between: classes.justifyContentSpaceBetween,
44
- evenly: classes.justifyContentSpaceEvenly
45
- },
46
- gapForColumnFlex: {
47
- 'gap.smaller': classes.gapForColumnFlexSmaller,
48
- 'gap.small': classes.gapForColumnFlexSmall,
49
- 'gap.medium': classes.gapForColumnFlexMedium,
50
- 'gap.large': classes.gapForColumnFlexLarge
51
- },
52
- gapRow: {
53
- 'gap.smaller': classes.gapForRowFlexSmaller,
54
- 'gap.small': classes.gapForRowFlexSmall,
55
- 'gap.medium': classes.gapForRowFlexMedium,
56
- 'gap.large': classes.gapForRowFlexLarge
57
- },
58
- paddings: {
59
- 'padding.medium': classes.paddingMedium
60
- }
61
- }), [
62
- classes
63
- ]);
64
- const flexClasses = (0, _reactcomponents.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);
65
- const content = _react.Children.map(children, (child)=>{
66
- var _child_type;
67
- // @ts-expect-error __isFlexItem is added to the React type property by N*
68
- const isFlexItemElement = child === null || child === void 0 ? void 0 : (_child_type = child.type) === null || _child_type === void 0 ? void 0 : _child_type.__isFlexItem;
69
- return isFlexItemElement ? /*#__PURE__*/ _react.cloneElement(child, {
70
- flexDirection: column ? 'column' : 'row'
71
- }) : child;
72
- });
73
- return /*#__PURE__*/ _react.createElement("div", {
74
- ref: ref,
75
- className: flexClasses,
76
- ...rest
77
- }, content);
78
- });
79
- 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;;;;;;;;;;;;QAsCaI;;;QAFAD;;;;;iCAlCgB,6BAA6B;iEACnC,QAAQ;4BAED,mBAAgB;AA+BvC,sBAAsB,WAAW;AAEjC,aAAMC,WAAAA,GAAOH,OAAMI,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,cAAUlB,yBAAAA;IAEhB,MAAMmB,YAAYpB,OAAMqB,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,kBAAcvD,6BAAAA,EAClBG,eACAiB,QAAQoC,IAAI,EACZ3C,UAAUO,QAAQP,MAAM,EACxBJ,UAAUW,QAAQX,MAAM,EACxBG,UAAWH,UAASY,UAAUE,UAAU,CAACX,OAAO,GAAGS,UAAUU,cAAc,CAACnB,OAAAA,AAAM,GAClFI,UAAWP,CAAAA,SAASY,UAAUU,cAAc,CAACf,OAAO,GAAGK,UAAUE,UAAU,CAACP,OAAAA,AAAM,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,IAAAA,AAAG,GACvEG,WAAWO,UAAUgC,QAAQ,CAACvC,QAAQ,EACtCI;IAGF,MAAMuC,UAAUxD,OAAMyD,QAAQ,CAACC,GAAG,CAACnD,UAAUoD,CAAAA;YAERA;QADnC,0EAA0E;QAC1E,MAAMC,oBAA6BD,UAAAA,QAAAA,UAAAA,KAAAA,IAAAA,KAAAA,IAAAA,CAAAA,cAAAA,MAAOE,IAAAA,AAAI,MAAA,QAAXF,gBAAAA,KAAAA,IAAAA,KAAAA,IAAAA,YAAaG,YAAY;QAE5D,OAAOF,oBAAAA,WAAAA,GAEH5D,OAAM+D,YAAY,CAACJ,OAAkC;YACnDK,eAAexD,SAAS,WAAW;QACrC,KACAmD;IACN;IAEA,OAAA,WAAA,GACE,OAAA,aAAA,CAACM,OAAAA;QAAI3D,KAAKA;QAAKW,WAAWqC;QAAc,GAAGpC,IAAI;OAC5CsC;AAGP,GAAG;AAEHrD,KAAK+D,WAAW,GAAG"}
@@ -1,27 +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 Flex () {
13
- return _Flex.Flex;
14
- },
15
- get flexClassName () {
16
- return _Flex.flexClassName;
17
- },
18
- get flexItem () {
19
- return _FlexItemmixins.flexItem;
20
- },
21
- get useFlexStyles () {
22
- return _Flexstyles.useFlexStyles;
23
- }
24
- });
25
- const _Flex = require("./Flex.cjs");
26
- const _Flexstyles = require("../../../components/Flex/Flex.styles.css.cjs");
27
- const _FlexItemmixins = require("../../../components/Flex/FlexItem.mixins.cjs");
@@ -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":";;;;;;;;;;;;eAASA,UAAI;;;eAAEC,mBAAa;;;eAGnBE,wBAAQ;;;eADRD,yBAAa;;;sBAFc,YAAS;4BAEf,mBAAgB;gCACrB,uBAAoB"}
@@ -1,53 +0,0 @@
1
- 'use client';
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "FormFieldShim", {
7
- enumerable: true,
8
- get: function() {
9
- return FormFieldShim;
10
- }
11
- });
12
- const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
13
- const _reactcomponents = require("@fluentui/react-components/css-modules");
14
- const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
15
- const FormFieldShim = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
16
- const { errorMessage, required, control, label } = props;
17
- const fieldProps = {
18
- required
19
- };
20
- if (errorMessage && (control === null || control === void 0 ? void 0 : control.error) === 'true') {
21
- fieldProps.validationState = 'error';
22
- if (typeof errorMessage === 'object') {
23
- fieldProps.validationMessage = errorMessage.content;
24
- }
25
- if (typeof errorMessage === 'string') {
26
- fieldProps.validationMessage = errorMessage;
27
- }
28
- }
29
- if (label) {
30
- if (typeof label === 'object') {
31
- fieldProps.label = label.content;
32
- } else {
33
- fieldProps.label = label;
34
- }
35
- }
36
- const children = props.children || (control === null || control === void 0 ? void 0 : control.content);
37
- if (/*#__PURE__*/ _react.isValidElement(children)) {
38
- const child = children;
39
- // Use the Field's child render function to pass the field control props to the child
40
- fieldProps.children = (fieldControlProps)=>/*#__PURE__*/ _react.cloneElement(child, {
41
- ...fieldControlProps,
42
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
43
- ...child.props
44
- });
45
- } else {
46
- fieldProps.children = children;
47
- }
48
- const state = (0, _reactcomponents.useField_unstable)(fieldProps, ref);
49
- (0, _reactcomponents.useFieldStyles_unstable)(state);
50
- const context = (0, _reactcomponents.useFieldContextValues_unstable)(state);
51
- return (0, _reactcomponents.renderField_unstable)(state, context);
52
- });
53
- 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;;;;;+BA+CaK;;;;;;;iCAvCN,6BAA6B;iEAGb,QAAQ;AAoCxB,sBAAMA,WAAAA,GAAgBD,OAAME,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,YAAAA,QAAAA,YAAAA,KAAAA,IAAAA,KAAAA,IAAAA,QAASG,KAAAA,AAAK,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,YAAAA,QAAAA,YAAAA,KAAAA,IAAAA,KAAAA,IAAAA,QAASM,OAAAA,AAAO;IAE3E,IAAA,WAAA,GAAIb,OAAMe,cAAc,CAACD,WAAW;QAClC,MAAME,QAA4BF;QAElC,qFAAqF;QACrFL,WAAWK,QAAQ,GAAGG,CAAAA,oBAAAA,WAAAA,GACpBjB,OAAMkB,YAAY,CAACF,OAAO;gBACxB,GAAGC,iBAAiB;gBACpB,8DAA8D;gBAC9D,GAAID,MAAMb,KAAK;YACjB;IACJ,OAAO;QACLM,WAAWK,QAAQ,GAAGA;IACxB;IAEA,MAAMK,YAAQpB,kCAAAA,EAAkBU,YAAYL;QAC5CN,wCAAAA,EAAwBqB;IACxB,MAAMC,cAAUvB,+CAAAA,EAA+BsB;IAC/C,WAAOvB,qCAAAA,EAAqBuB,OAAOC;AACrC,GAAG;AAEHnB,cAAcoB,WAAW,GAAG"}
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- Object.defineProperty(exports, "FormFieldShim", {
6
- enumerable: true,
7
- get: function() {
8
- return _FormFieldShim.FormFieldShim;
9
- }
10
- });
11
- const _FormFieldShim = require("./FormFieldShim.cjs");
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/FormField/index.ts"],"sourcesContent":["export { FormFieldShim } from './FormFieldShim';\n"],"names":["FormFieldShim"],"mappings":";;;;;;;eAASA,4BAAa;;;+BAAQ,qBAAkB"}
@@ -1,49 +0,0 @@
1
- 'use client';
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- function _export(target, all) {
7
- for(var name in all)Object.defineProperty(target, name, {
8
- enumerable: true,
9
- get: Object.getOwnPropertyDescriptor(all, name).get
10
- });
11
- }
12
- _export(exports, {
13
- get GridShim () {
14
- return GridShim;
15
- },
16
- get gridShimClassName () {
17
- return gridShimClassName;
18
- }
19
- });
20
- const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
21
- const _reactcomponents = require("@fluentui/react-components/css-modules");
22
- const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
23
- const _Gridstyles = require("../../../components/Grid/Grid.styles.css.cjs");
24
- const gridShimClassName = 'fui-Grid';
25
- const GridShim = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
26
- const { rows, columns, className, ...rest } = props;
27
- const classes = (0, _Gridstyles.useGridStyles)();
28
- const classMaps = _react.useMemo(()=>({
29
- rowsClasses: {
30
- 1: classes.rows1,
31
- 2: classes.rows2,
32
- 3: classes.rows3
33
- },
34
- columnsClasses: {
35
- 1: classes.columns1,
36
- 2: classes.columns2,
37
- 3: classes.columns3
38
- }
39
- }), [
40
- classes
41
- ]);
42
- const gridClasses = (0, _reactcomponents.mergeClasses)(gridShimClassName, classes.grid, !rows && !columns && classes.columnsDefault, rows && !columns && classes.onlyRows, rows && classMaps.rowsClasses[rows], columns && classMaps.columnsClasses[columns], className);
43
- return /*#__PURE__*/ _react.createElement("div", {
44
- ref: ref,
45
- className: gridClasses,
46
- ...rest
47
- });
48
- });
49
- 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;;;;;;;;;;;;QAsBaI;;;;;;;;iCApBgB,6BAA6B;iEACnC,QAAQ;4BACD,mBAAgB;AAgBvC,MAAMD,oBAAoB,WAAW;AAErC,iBAAMC,WAAAA,GAAWH,OAAMI,UAAU,CACtC,CAACC,OAAOC;IACN,MAAM,EAAEC,IAAI,EAAEC,OAAO,EAAEC,SAAS,EAAE,GAAGC,MAAM,GAAGL;IAC9C,MAAMM,cAAUV,yBAAAA;IAEhB,MAAMW,YAAYZ,OAAMa,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;SACF,CAAA,EACA;QAACV;KAAQ;IAGX,MAAMW,kBAAcvB,6BAAAA,EAClBG,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,OAAA,WAAA,GAAO,OAAA,aAAA,CAACiB,OAAAA;QAAIpB,KAAKA;QAAKG,WAAWa;QAAc,GAAGZ,IAAI;;AACxD,GACA;AAEFP,SAASwB,WAAW,GAAG"}
@@ -1,27 +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 GridShim () {
13
- return _GridShim.GridShim;
14
- },
15
- get grid () {
16
- return _Gridmixins.grid;
17
- },
18
- get gridClassName () {
19
- return _GridShim.gridShimClassName;
20
- },
21
- get useGridStyles () {
22
- return _Gridstyles.useGridStyles;
23
- }
24
- });
25
- const _GridShim = require("./GridShim.cjs");
26
- const _Gridstyles = require("../../../components/Grid/Grid.styles.css.cjs");
27
- const _Gridmixins = require("../../../components/Grid/Grid.mixins.cjs");
@@ -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":";;;;;;;;;;;;eAASA,kBAAQ;;;eAGRI,gBAAI;;QAH2BF,aAAa;eAAlCD,2BAAAA;;;eAEVE,yBAAa;;;0BAFuC,gBAAa;4BAE5C,mBAAgB;4BACzB,mBAAgB"}
@@ -1,29 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- Object.defineProperty(exports, "input", {
6
- enumerable: true,
7
- get: function() {
8
- return input;
9
- }
10
- });
11
- const _reactcomponents = require("@fluentui/react-components/css-modules");
12
- const fluid = ()=>({
13
- width: '100%'
14
- });
15
- const error = ()=>({
16
- border: `1px solid ${_reactcomponents.tokens.colorPaletteRedBorderActive}`
17
- });
18
- const errorIndicator = ()=>({
19
- color: _reactcomponents.tokens.colorPaletteRedBorderActive
20
- });
21
- const successIndicator = ()=>({
22
- color: _reactcomponents.tokens.colorPaletteGreenForeground1
23
- });
24
- const input = {
25
- error,
26
- errorIndicator,
27
- fluid,
28
- successIndicator
29
- };
@@ -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":";;;;;;;;;;iCACuB,6BAA6B;AAEpD,MAAMC,QAAQ,IAAqB,CAAA;QAAEC,OAAO;KAAO,CAAA;AAEnD,MAAMC,QAAQ,IAAqB,CAAA;QAAEC,QAAQ,CAAC,UAAU,EAAEJ,uBAAAA,CAAOK,2BAA2B,EAAE;KAAC,CAAA;AAE/F,MAAMC,iBAAiB,IAAqB,CAAA;QAC1CC,OAAOP,uBAAAA,CAAOK,2BAA2B;KAC3C,CAAA;AAEA,MAAMG,mBAAmB,IAAqB,CAAA;QAC5CD,OAAOP,uBAAAA,CAAOS,4BAA4B;KAC5C,CAAA;AAEO,MAAMC,QAAQ;IACnBP;IACAG;IACAL;IACAO;AACF,EAAE"}
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- Object.defineProperty(exports, "input", {
6
- enumerable: true,
7
- get: function() {
8
- return _Inputmixins.input;
9
- }
10
- });
11
- const _Inputmixins = require("./Input.mixins.cjs");
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/Input/index.ts"],"sourcesContent":["export { input } from './Input.mixins';\n"],"names":["input"],"mappings":";;;;;;;eAASA,kBAAK;;;6BAAQ,oBAAiB"}
@@ -1,98 +0,0 @@
1
- 'use client';
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- function _export(target, all) {
7
- for(var name in all)Object.defineProperty(target, name, {
8
- enumerable: true,
9
- get: Object.getOwnPropertyDescriptor(all, name).get
10
- });
11
- }
12
- _export(exports, {
13
- get ItemLayout () {
14
- return ItemLayout;
15
- },
16
- get itemLayoutClassName () {
17
- return itemLayoutClassName;
18
- }
19
- });
20
- const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
21
- const _jsxruntime = require("@fluentui/react-jsx-runtime/jsx-runtime");
22
- const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
23
- const _reactcomponents = require("@fluentui/react-components/css-modules");
24
- const _reactutilities = require("@fluentui/react-utilities");
25
- const _ItemLayoutstyles = require("../../../components/ItemLayout/ItemLayout.styles.css.cjs");
26
- const itemLayoutClassName = 'fui-ItemLayout';
27
- const ItemLayout = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
28
- const state = {
29
- components: {
30
- root: 'div',
31
- contentWrapper: 'div',
32
- contentMedia: 'div',
33
- header: 'div',
34
- headerMedia: 'div',
35
- startMedia: 'div',
36
- endMedia: 'div'
37
- },
38
- root: _reactutilities.slot.always((0, _reactutilities.getIntrinsicElementProps)('div', {
39
- ...props,
40
- ref
41
- }), {
42
- elementType: 'div'
43
- }),
44
- contentMedia: _reactutilities.slot.optional(props.contentMedia, {
45
- elementType: 'div'
46
- }),
47
- contentWrapper: _reactutilities.slot.optional(props.contentWrapper, {
48
- renderByDefault: true,
49
- elementType: 'div'
50
- }),
51
- header: _reactutilities.slot.optional(props.header, {
52
- elementType: 'div'
53
- }),
54
- headerMedia: _reactutilities.slot.optional(props.headerMedia, {
55
- elementType: 'div'
56
- }),
57
- startMedia: _reactutilities.slot.optional(props.startMedia, {
58
- elementType: 'div'
59
- }),
60
- endMedia: _reactutilities.slot.optional(props.endMedia, {
61
- elementType: 'div'
62
- })
63
- };
64
- const styles = (0, _ItemLayoutstyles.useItemLayoutStyles)();
65
- state.root.className = (0, _reactcomponents.mergeClasses)(itemLayoutClassName, styles.root, state.root.className);
66
- if (state.contentWrapper) {
67
- state.contentWrapper.className = (0, _reactcomponents.mergeClasses)(styles.contentWrapper, state.contentWrapper.className);
68
- }
69
- if (state.contentMedia) {
70
- state.contentMedia.className = (0, _reactcomponents.mergeClasses)(styles.contentMedia, state.contentMedia.className);
71
- }
72
- if (state.header) {
73
- state.header.className = (0, _reactcomponents.mergeClasses)(styles.header, state.header.className);
74
- }
75
- if (state.headerMedia) {
76
- state.headerMedia.className = (0, _reactcomponents.mergeClasses)(styles.headerMedia, state.headerMedia.className);
77
- }
78
- if (state.startMedia) {
79
- state.startMedia.className = (0, _reactcomponents.mergeClasses)(styles.startMedia, state.startMedia.className);
80
- }
81
- if (state.endMedia) {
82
- state.endMedia.className = (0, _reactcomponents.mergeClasses)(styles.endMedia, state.endMedia.className);
83
- }
84
- (0, _reactutilities.assertSlots)(state);
85
- return /*#__PURE__*/ (0, _jsxruntime.jsxs)(state.root, {
86
- children: [
87
- state.startMedia && /*#__PURE__*/ (0, _jsxruntime.jsx)(state.startMedia, {}),
88
- state.header && /*#__PURE__*/ (0, _jsxruntime.jsx)(state.header, {}),
89
- state.headerMedia && /*#__PURE__*/ (0, _jsxruntime.jsx)(state.headerMedia, {}),
90
- state.contentWrapper && /*#__PURE__*/ (0, _jsxruntime.jsx)(state.contentWrapper, {
91
- children: state.root.children
92
- }),
93
- state.contentMedia && /*#__PURE__*/ (0, _jsxruntime.jsx)(state.contentMedia, {}),
94
- state.endMedia && /*#__PURE__*/ (0, _jsxruntime.jsx)(state.endMedia, {})
95
- ]
96
- });
97
- });
98
- 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,wBAA0B,GAC1B,iDAAiD,GAEjD;;;;;;;;;;;;QA4BaO;;;QAFAD;;;;;;iEAxBU,QAAQ;iCACF,6BAA6B;gCAEE,4BAA4B;kCAEpD,yBAAsB;AAmBnD,4BAA4B,iBAAiB;AAE7C,mBAAMC,WAAAA,GAAaP,OAAMQ,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,oBAAAA,CAAKiB,MAAM,KAAClB,wCAAAA,EAAyB,OAAO;YAAE,GAAGO,KAAK;YAAEC;QAAI,IAAI;YAAEW,aAAa;QAAM;QAC3FN,cAAcZ,oBAAAA,CAAKmB,QAAQ,CAACb,MAAMM,YAAY,EAAE;YAAEM,aAAa;QAAM;QACrEP,gBAAgBX,oBAAAA,CAAKmB,QAAQ,CAACb,MAAMK,cAAc,EAAE;YAAES,iBAAiB;YAAMF,aAAa;QAAM;QAChGL,QAAQb,oBAAAA,CAAKmB,QAAQ,CAACb,MAAMO,MAAM,EAAE;YAAEK,aAAa;QAAM;QACzDJ,aAAad,oBAAAA,CAAKmB,QAAQ,CAACb,MAAMQ,WAAW,EAAE;YAAEI,aAAa;QAAM;QACnEH,YAAYf,oBAAAA,CAAKmB,QAAQ,CAACb,MAAMS,UAAU,EAAE;YAAEG,aAAa;QAAM;QACjEF,UAAUhB,oBAAAA,CAAKmB,QAAQ,CAACb,MAAMU,QAAQ,EAAE;YAAEE,aAAa;QAAM;IAC/D;IACA,MAAMG,aAASnB,qCAAAA;IAEfM,MAAME,IAAI,CAACY,SAAS,GAAGxB,iCAAAA,EAAaK,qBAAqBkB,OAAOX,IAAI,EAAEF,MAAME,IAAI,CAACY,SAAS;IAC1F,IAAId,MAAMG,cAAc,EAAE;QACxBH,MAAMG,cAAc,CAACW,SAAS,OAAGxB,6BAAAA,EAAauB,OAAOV,cAAc,EAAEH,MAAMG,cAAc,CAACW,SAAS;IACrG;IAEA,IAAId,MAAMI,YAAY,EAAE;QACtBJ,MAAMI,YAAY,CAACU,SAAS,OAAGxB,6BAAAA,EAAauB,OAAOT,YAAY,EAAEJ,MAAMI,YAAY,CAACU,SAAS;IAC/F;IAEA,IAAId,MAAMK,MAAM,EAAE;QAChBL,MAAMK,MAAM,CAACS,SAAS,OAAGxB,6BAAAA,EAAauB,OAAOR,MAAM,EAAEL,MAAMK,MAAM,CAACS,SAAS;IAC7E;IAEA,IAAId,MAAMM,WAAW,EAAE;QACrBN,MAAMM,WAAW,CAACQ,SAAS,OAAGxB,6BAAAA,EAAauB,OAAOP,WAAW,EAAEN,MAAMM,WAAW,CAACQ,SAAS;IAC5F;IAEA,IAAId,MAAMO,UAAU,EAAE;QACpBP,MAAMO,UAAU,CAACO,SAAS,OAAGxB,6BAAAA,EAAauB,OAAON,UAAU,EAAEP,MAAMO,UAAU,CAACO,SAAS;IACzF;IAEA,IAAId,MAAMQ,QAAQ,EAAE;QAClBR,MAAMQ,QAAQ,CAACM,SAAS,OAAGxB,6BAAAA,EAAauB,OAAOL,QAAQ,EAAER,MAAMQ,QAAQ,CAACM,SAAS;IACnF;QAEArB,2BAAAA,EAA6BO;IAE7B,OAAA,WAAA,OACE,gBAAA,EAACA,MAAME,IAAI,EAAA;;YACRF,MAAMO,UAAU,IAAA,WAAA,OAAI,eAAA,EAACP,MAAMO,UAAU,EAAA,CAAA;YACrCP,MAAMK,MAAM,IAAA,WAAA,OAAI,eAAA,EAACL,MAAMK,MAAM,EAAA,CAAA;YAC7BL,MAAMM,WAAW,IAAA,WAAA,GAAI,mBAAA,EAACN,MAAMM,WAAW,EAAA,CAAA;YACvCN,MAAMG,cAAc,IAAA,WAAA,OAAI,eAAA,EAACH,MAAMG,cAAc,EAAA;0BAAEH,MAAME,IAAI,CAACa,QAAQ;;YAClEf,MAAMI,YAAY,IAAA,WAAA,OAAI,eAAA,EAACJ,MAAMI,YAAY,EAAA,CAAA;YACzCJ,MAAMQ,QAAQ,IAAA,WAAA,OAAI,eAAA,EAACR,MAAMQ,QAAQ,EAAA,CAAA;;;AAGxC,GAAG;AAEHZ,WAAWoB,WAAW,GAAG"}
@@ -1,23 +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 ItemLayout () {
13
- return _ItemLayout.ItemLayout;
14
- },
15
- get itemLayoutClassName () {
16
- return _ItemLayout.itemLayoutClassName;
17
- },
18
- get useItemLayoutStyles () {
19
- return _ItemLayoutstyles.useItemLayoutStyles;
20
- }
21
- });
22
- const _ItemLayout = require("./ItemLayout.cjs");
23
- const _ItemLayoutstyles = require("../../../components/ItemLayout/ItemLayout.styles.css.cjs");
@@ -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":";;;;;;;;;;;;eAASA,sBAAU;;;eAAEC,+BAAmB;;;eAC/BC,qCAAmB;;;4BADoB,kBAAe;kCAC3B,yBAAsB"}
@@ -1,26 +0,0 @@
1
- 'use client';
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "List", {
7
- enumerable: true,
8
- get: function() {
9
- return List;
10
- }
11
- });
12
- const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
13
- const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
14
- const _reactsharedcontexts = require("@fluentui/react-shared-contexts");
15
- const _useList = require("../../../../components/List/List/useList.cjs");
16
- const _renderList = require("../../../../components/List/List/renderList.cjs");
17
- const _useListStylesstyles = require("../../../../components/List/List/useListStyles.styles.css.cjs");
18
- const _useListContextValues = require("../../../../components/List/List/useListContextValues.cjs");
19
- const List = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
20
- const state = (0, _useList.useList_unstable)(props, ref);
21
- const contextValues = (0, _useListContextValues.useListContextValues_unstable)(state);
22
- (0, _useListStylesstyles.useListStyles_unstable)(state);
23
- (0, _reactsharedcontexts.useCustomStyleHook_unstable)('useListStyles_unstable')(state);
24
- return (0, _renderList.renderList_unstable)(state, contextValues);
25
- });
26
- List.displayName = 'List';