@fluentui/react-drawer 9.13.1 → 9.74.3-experimental.esm.20260709-49ee7a20cf.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 (294) hide show
  1. package/CHANGELOG.md +20 -2
  2. package/dist/index.d.cts +532 -0
  3. package/lib/Drawer.js +1 -1
  4. package/lib/Drawer.js.map +1 -1
  5. package/lib/DrawerBody.js +1 -1
  6. package/lib/DrawerBody.js.map +1 -1
  7. package/lib/DrawerFooter.js +1 -1
  8. package/lib/DrawerFooter.js.map +1 -1
  9. package/lib/DrawerHeader.js +1 -1
  10. package/lib/DrawerHeader.js.map +1 -1
  11. package/lib/DrawerHeaderNavigation.js +1 -1
  12. package/lib/DrawerHeaderNavigation.js.map +1 -1
  13. package/lib/DrawerHeaderTitle.js +1 -1
  14. package/lib/DrawerHeaderTitle.js.map +1 -1
  15. package/lib/InlineDrawer.js +1 -1
  16. package/lib/InlineDrawer.js.map +1 -1
  17. package/lib/OverlayDrawer.js +1 -1
  18. package/lib/OverlayDrawer.js.map +1 -1
  19. package/lib/components/Drawer/Drawer.js +6 -6
  20. package/lib/components/Drawer/Drawer.js.map +1 -1
  21. package/lib/components/Drawer/index.js +4 -4
  22. package/lib/components/Drawer/index.js.map +1 -1
  23. package/lib/components/Drawer/renderDrawer.js +2 -2
  24. package/lib/components/Drawer/renderDrawer.js.map +1 -1
  25. package/lib/components/Drawer/useDrawer.js +3 -3
  26. package/lib/components/Drawer/useDrawer.js.map +1 -1
  27. package/lib/components/Drawer/useDrawerStyles.styles.js +1 -1
  28. package/lib/components/Drawer/useDrawerStyles.styles.js.map +1 -1
  29. package/lib/components/Drawer/useDrawerStyles.styles.raw.js +1 -1
  30. package/lib/components/DrawerBody/DrawerBody.js +5 -5
  31. package/lib/components/DrawerBody/DrawerBody.js.map +1 -1
  32. package/lib/components/DrawerBody/index.js +4 -4
  33. package/lib/components/DrawerBody/index.js.map +1 -1
  34. package/lib/components/DrawerBody/renderDrawerBody.js +1 -1
  35. package/lib/components/DrawerBody/useDrawerBody.js +4 -4
  36. package/lib/components/DrawerBody/useDrawerBody.js.map +1 -1
  37. package/lib/components/DrawerBody/useDrawerBodyStyles.styles.js +2 -2
  38. package/lib/components/DrawerBody/useDrawerBodyStyles.styles.js.map +1 -1
  39. package/lib/components/DrawerBody/useDrawerBodyStyles.styles.raw.js +2 -2
  40. package/lib/components/DrawerFooter/DrawerFooter.js +5 -5
  41. package/lib/components/DrawerFooter/DrawerFooter.js.map +1 -1
  42. package/lib/components/DrawerFooter/index.js +4 -4
  43. package/lib/components/DrawerFooter/index.js.map +1 -1
  44. package/lib/components/DrawerFooter/renderDrawerFooter.js +1 -1
  45. package/lib/components/DrawerFooter/useDrawerFooter.js +2 -2
  46. package/lib/components/DrawerFooter/useDrawerFooter.js.map +1 -1
  47. package/lib/components/DrawerFooter/useDrawerFooterStyles.styles.js +3 -3
  48. package/lib/components/DrawerFooter/useDrawerFooterStyles.styles.js.map +1 -1
  49. package/lib/components/DrawerFooter/useDrawerFooterStyles.styles.raw.js +3 -3
  50. package/lib/components/DrawerFooter/useDrawerFooterStyles.styles.raw.js.map +1 -1
  51. package/lib/components/DrawerHeader/DrawerHeader.js +5 -5
  52. package/lib/components/DrawerHeader/DrawerHeader.js.map +1 -1
  53. package/lib/components/DrawerHeader/index.js +4 -4
  54. package/lib/components/DrawerHeader/index.js.map +1 -1
  55. package/lib/components/DrawerHeader/renderDrawerHeader.js +1 -1
  56. package/lib/components/DrawerHeader/useDrawerHeader.js +2 -2
  57. package/lib/components/DrawerHeader/useDrawerHeader.js.map +1 -1
  58. package/lib/components/DrawerHeader/useDrawerHeaderStyles.styles.js +3 -3
  59. package/lib/components/DrawerHeader/useDrawerHeaderStyles.styles.js.map +1 -1
  60. package/lib/components/DrawerHeader/useDrawerHeaderStyles.styles.raw.js +3 -3
  61. package/lib/components/DrawerHeader/useDrawerHeaderStyles.styles.raw.js.map +1 -1
  62. package/lib/components/DrawerHeaderNavigation/DrawerHeaderNavigation.js +5 -5
  63. package/lib/components/DrawerHeaderNavigation/DrawerHeaderNavigation.js.map +1 -1
  64. package/lib/components/DrawerHeaderNavigation/index.js +4 -4
  65. package/lib/components/DrawerHeaderNavigation/index.js.map +1 -1
  66. package/lib/components/DrawerHeaderNavigation/renderDrawerHeaderNavigation.js +1 -1
  67. package/lib/components/DrawerHeaderNavigation/useDrawerHeaderNavigation.js +1 -1
  68. package/lib/components/DrawerHeaderNavigation/useDrawerHeaderNavigationStyles.styles.js +2 -2
  69. package/lib/components/DrawerHeaderNavigation/useDrawerHeaderNavigationStyles.styles.js.map +1 -1
  70. package/lib/components/DrawerHeaderNavigation/useDrawerHeaderNavigationStyles.styles.raw.js +2 -2
  71. package/lib/components/DrawerHeaderTitle/DrawerHeaderTitle.js +5 -5
  72. package/lib/components/DrawerHeaderTitle/DrawerHeaderTitle.js.map +1 -1
  73. package/lib/components/DrawerHeaderTitle/index.js +4 -4
  74. package/lib/components/DrawerHeaderTitle/index.js.map +1 -1
  75. package/lib/components/DrawerHeaderTitle/renderDrawerHeaderTitle.js +1 -1
  76. package/lib/components/DrawerHeaderTitle/useDrawerHeaderTitle.js +2 -2
  77. package/lib/components/DrawerHeaderTitle/useDrawerHeaderTitleStyles.styles.js +3 -3
  78. package/lib/components/DrawerHeaderTitle/useDrawerHeaderTitleStyles.styles.js.map +1 -1
  79. package/lib/components/DrawerHeaderTitle/useDrawerHeaderTitleStyles.styles.raw.js +3 -3
  80. package/lib/components/InlineDrawer/InlineDrawer.js +6 -6
  81. package/lib/components/InlineDrawer/InlineDrawer.js.map +1 -1
  82. package/lib/components/InlineDrawer/index.js +4 -4
  83. package/lib/components/InlineDrawer/index.js.map +1 -1
  84. package/lib/components/InlineDrawer/renderInlineDrawer.js +2 -2
  85. package/lib/components/InlineDrawer/renderInlineDrawer.js.map +1 -1
  86. package/lib/components/InlineDrawer/useInlineDrawer.js +6 -6
  87. package/lib/components/InlineDrawer/useInlineDrawer.js.map +1 -1
  88. package/lib/components/InlineDrawer/useInlineDrawerStyles.styles.js +3 -3
  89. package/lib/components/InlineDrawer/useInlineDrawerStyles.styles.js.map +1 -1
  90. package/lib/components/InlineDrawer/useInlineDrawerStyles.styles.raw.js +3 -3
  91. package/lib/components/InlineDrawer/useInlineDrawerStyles.styles.raw.js.map +1 -1
  92. package/lib/components/OverlayDrawer/OverlayDrawer.js +6 -6
  93. package/lib/components/OverlayDrawer/OverlayDrawer.js.map +1 -1
  94. package/lib/components/OverlayDrawer/OverlayDrawerSurface/OverlayDrawerSurface.js +4 -4
  95. package/lib/components/OverlayDrawer/OverlayDrawerSurface/OverlayDrawerSurface.js.map +1 -1
  96. package/lib/components/OverlayDrawer/OverlayDrawerSurface/index.js +1 -1
  97. package/lib/components/OverlayDrawer/OverlayDrawerSurface/index.js.map +1 -1
  98. package/lib/components/OverlayDrawer/OverlayDrawerSurface/useOverlayDrawerSurfaceStyles.styles.js +2 -2
  99. package/lib/components/OverlayDrawer/OverlayDrawerSurface/useOverlayDrawerSurfaceStyles.styles.js.map +1 -1
  100. package/lib/components/OverlayDrawer/OverlayDrawerSurface/useOverlayDrawerSurfaceStyles.styles.raw.js +2 -2
  101. package/lib/components/OverlayDrawer/index.js +4 -4
  102. package/lib/components/OverlayDrawer/index.js.map +1 -1
  103. package/lib/components/OverlayDrawer/renderOverlayDrawer.js +3 -3
  104. package/lib/components/OverlayDrawer/renderOverlayDrawer.js.map +1 -1
  105. package/lib/components/OverlayDrawer/useOverlayDrawer.js +9 -9
  106. package/lib/components/OverlayDrawer/useOverlayDrawer.js.map +1 -1
  107. package/lib/components/OverlayDrawer/useOverlayDrawerStyles.styles.js +3 -3
  108. package/lib/components/OverlayDrawer/useOverlayDrawerStyles.styles.js.map +1 -1
  109. package/lib/components/OverlayDrawer/useOverlayDrawerStyles.styles.raw.js +3 -3
  110. package/lib/components/OverlayDrawer/useOverlayDrawerStyles.styles.raw.js.map +1 -1
  111. package/lib/contexts/drawerContext.js +1 -1
  112. package/lib/contexts/index.js +1 -1
  113. package/lib/contexts/index.js.map +1 -1
  114. package/lib/e2e/DrawerShared.js +4 -4
  115. package/lib/index.js +9 -9
  116. package/lib/index.js.map +1 -1
  117. package/lib/shared/drawerMotionUtils.js +1 -1
  118. package/lib/shared/drawerMotions.js +4 -4
  119. package/lib/shared/drawerMotions.js.map +1 -1
  120. package/lib/shared/drawerSeparatorStyles.js +1 -1
  121. package/lib/shared/useDrawerBaseStyles.styles.js +2 -2
  122. package/lib/shared/useDrawerBaseStyles.styles.js.map +1 -1
  123. package/lib/shared/useDrawerBaseStyles.styles.raw.js +2 -2
  124. package/lib-commonjs/{Drawer.js → Drawer.cjs} +1 -1
  125. package/lib-commonjs/{Drawer.js.map → Drawer.cjs.map} +1 -1
  126. package/lib-commonjs/{DrawerBody.js → DrawerBody.cjs} +1 -1
  127. package/lib-commonjs/{DrawerBody.js.map → DrawerBody.cjs.map} +1 -1
  128. package/lib-commonjs/{DrawerFooter.js → DrawerFooter.cjs} +1 -1
  129. package/lib-commonjs/{DrawerFooter.js.map → DrawerFooter.cjs.map} +1 -1
  130. package/lib-commonjs/{DrawerHeader.js → DrawerHeader.cjs} +1 -1
  131. package/lib-commonjs/{DrawerHeader.js.map → DrawerHeader.cjs.map} +1 -1
  132. package/lib-commonjs/{DrawerHeaderNavigation.js → DrawerHeaderNavigation.cjs} +1 -1
  133. package/lib-commonjs/{DrawerHeaderNavigation.js.map → DrawerHeaderNavigation.cjs.map} +1 -1
  134. package/lib-commonjs/{DrawerHeaderTitle.js → DrawerHeaderTitle.cjs} +1 -1
  135. package/lib-commonjs/{DrawerHeaderTitle.js.map → DrawerHeaderTitle.cjs.map} +1 -1
  136. package/lib-commonjs/{InlineDrawer.js → InlineDrawer.cjs} +1 -1
  137. package/lib-commonjs/{InlineDrawer.js.map → InlineDrawer.cjs.map} +1 -1
  138. package/lib-commonjs/{OverlayDrawer.js → OverlayDrawer.cjs} +1 -1
  139. package/lib-commonjs/{OverlayDrawer.js.map → OverlayDrawer.cjs.map} +1 -1
  140. package/lib-commonjs/components/Drawer/{Drawer.js → Drawer.cjs} +4 -4
  141. package/lib-commonjs/components/Drawer/{Drawer.js.map → Drawer.cjs.map} +1 -1
  142. package/lib-commonjs/components/Drawer/{index.js → index.cjs} +4 -4
  143. package/lib-commonjs/components/Drawer/{index.js.map → index.cjs.map} +1 -1
  144. package/lib-commonjs/components/Drawer/{renderDrawer.js → renderDrawer.cjs} +1 -1
  145. package/lib-commonjs/components/Drawer/{renderDrawer.js.map → renderDrawer.cjs.map} +1 -1
  146. package/lib-commonjs/components/Drawer/{useDrawer.js → useDrawer.cjs} +3 -3
  147. package/lib-commonjs/components/Drawer/{useDrawer.js.map → useDrawer.cjs.map} +1 -1
  148. package/lib-commonjs/components/Drawer/useDrawerStyles.styles.cjs.map +1 -0
  149. package/lib-commonjs/components/DrawerBody/{DrawerBody.js → DrawerBody.cjs} +3 -3
  150. package/lib-commonjs/components/DrawerBody/{DrawerBody.js.map → DrawerBody.cjs.map} +1 -1
  151. package/lib-commonjs/components/DrawerBody/{index.js → index.cjs} +4 -4
  152. package/lib-commonjs/components/DrawerBody/{index.js.map → index.cjs.map} +1 -1
  153. package/lib-commonjs/components/DrawerBody/{useDrawerBody.js → useDrawerBody.cjs} +1 -1
  154. package/lib-commonjs/components/DrawerBody/{useDrawerBody.js.map → useDrawerBody.cjs.map} +1 -1
  155. package/lib-commonjs/components/DrawerBody/useDrawerBodyStyles.styles.cjs.map +1 -0
  156. package/lib-commonjs/components/DrawerFooter/{DrawerFooter.js → DrawerFooter.cjs} +3 -3
  157. package/lib-commonjs/components/DrawerFooter/{DrawerFooter.js.map → DrawerFooter.cjs.map} +1 -1
  158. package/lib-commonjs/components/DrawerFooter/{index.js → index.cjs} +4 -4
  159. package/lib-commonjs/components/DrawerFooter/{index.js.map → index.cjs.map} +1 -1
  160. package/lib-commonjs/components/DrawerFooter/{useDrawerFooter.js → useDrawerFooter.cjs} +1 -1
  161. package/lib-commonjs/components/DrawerFooter/{useDrawerFooter.js.map → useDrawerFooter.cjs.map} +1 -1
  162. package/lib-commonjs/components/DrawerFooter/useDrawerFooterStyles.styles.cjs.map +1 -0
  163. package/lib-commonjs/components/DrawerFooter/{useDrawerFooterStyles.styles.raw.js → useDrawerFooterStyles.styles.raw.cjs} +1 -1
  164. package/lib-commonjs/components/DrawerFooter/{useDrawerFooterStyles.styles.raw.js.map → useDrawerFooterStyles.styles.raw.cjs.map} +1 -1
  165. package/lib-commonjs/components/DrawerHeader/{DrawerHeader.js → DrawerHeader.cjs} +3 -3
  166. package/lib-commonjs/components/DrawerHeader/{DrawerHeader.js.map → DrawerHeader.cjs.map} +1 -1
  167. package/lib-commonjs/components/DrawerHeader/{index.js → index.cjs} +4 -4
  168. package/lib-commonjs/components/DrawerHeader/{index.js.map → index.cjs.map} +1 -1
  169. package/lib-commonjs/components/DrawerHeader/{useDrawerHeader.js → useDrawerHeader.cjs} +1 -1
  170. package/lib-commonjs/components/DrawerHeader/{useDrawerHeader.js.map → useDrawerHeader.cjs.map} +1 -1
  171. package/lib-commonjs/components/DrawerHeader/useDrawerHeaderStyles.styles.cjs.map +1 -0
  172. package/lib-commonjs/components/DrawerHeader/{useDrawerHeaderStyles.styles.raw.js → useDrawerHeaderStyles.styles.raw.cjs} +1 -1
  173. package/lib-commonjs/components/DrawerHeader/{useDrawerHeaderStyles.styles.raw.js.map → useDrawerHeaderStyles.styles.raw.cjs.map} +1 -1
  174. package/lib-commonjs/components/DrawerHeaderNavigation/{DrawerHeaderNavigation.js → DrawerHeaderNavigation.cjs} +3 -3
  175. package/lib-commonjs/components/DrawerHeaderNavigation/{DrawerHeaderNavigation.js.map → DrawerHeaderNavigation.cjs.map} +1 -1
  176. package/lib-commonjs/components/DrawerHeaderNavigation/{index.js → index.cjs} +4 -4
  177. package/lib-commonjs/components/DrawerHeaderNavigation/{index.js.map → index.cjs.map} +1 -1
  178. package/lib-commonjs/components/DrawerHeaderNavigation/useDrawerHeaderNavigationStyles.styles.cjs.map +1 -0
  179. package/lib-commonjs/components/DrawerHeaderTitle/{DrawerHeaderTitle.js → DrawerHeaderTitle.cjs} +3 -3
  180. package/lib-commonjs/components/DrawerHeaderTitle/{DrawerHeaderTitle.js.map → DrawerHeaderTitle.cjs.map} +1 -1
  181. package/lib-commonjs/components/DrawerHeaderTitle/{index.js → index.cjs} +4 -4
  182. package/lib-commonjs/components/DrawerHeaderTitle/{index.js.map → index.cjs.map} +1 -1
  183. package/lib-commonjs/components/DrawerHeaderTitle/useDrawerHeaderTitleStyles.styles.cjs.map +1 -0
  184. package/lib-commonjs/components/InlineDrawer/{InlineDrawer.js → InlineDrawer.cjs} +4 -4
  185. package/lib-commonjs/components/InlineDrawer/{InlineDrawer.js.map → InlineDrawer.cjs.map} +1 -1
  186. package/lib-commonjs/components/InlineDrawer/{index.js → index.cjs} +4 -4
  187. package/lib-commonjs/components/InlineDrawer/{index.js.map → index.cjs.map} +1 -1
  188. package/lib-commonjs/components/InlineDrawer/{renderInlineDrawer.js → renderInlineDrawer.cjs} +1 -1
  189. package/lib-commonjs/components/InlineDrawer/{renderInlineDrawer.js.map → renderInlineDrawer.cjs.map} +1 -1
  190. package/lib-commonjs/components/InlineDrawer/{useInlineDrawer.js → useInlineDrawer.cjs} +2 -2
  191. package/lib-commonjs/components/InlineDrawer/{useInlineDrawer.js.map → useInlineDrawer.cjs.map} +1 -1
  192. package/lib-commonjs/components/InlineDrawer/{useInlineDrawerStyles.styles.js → useInlineDrawerStyles.styles.cjs} +1 -1
  193. package/lib-commonjs/components/InlineDrawer/useInlineDrawerStyles.styles.cjs.map +1 -0
  194. package/lib-commonjs/components/InlineDrawer/{useInlineDrawerStyles.styles.raw.js → useInlineDrawerStyles.styles.raw.cjs} +1 -1
  195. package/lib-commonjs/components/InlineDrawer/{useInlineDrawerStyles.styles.raw.js.map → useInlineDrawerStyles.styles.raw.cjs.map} +1 -1
  196. package/lib-commonjs/components/OverlayDrawer/{OverlayDrawer.js → OverlayDrawer.cjs} +4 -4
  197. package/lib-commonjs/components/OverlayDrawer/{OverlayDrawer.js.map → OverlayDrawer.cjs.map} +1 -1
  198. package/lib-commonjs/components/OverlayDrawer/OverlayDrawerSurface/{OverlayDrawerSurface.js → OverlayDrawerSurface.cjs} +1 -1
  199. package/lib-commonjs/components/OverlayDrawer/OverlayDrawerSurface/{OverlayDrawerSurface.js.map → OverlayDrawerSurface.cjs.map} +1 -1
  200. package/lib-commonjs/components/OverlayDrawer/OverlayDrawerSurface/{index.js → index.cjs} +1 -1
  201. package/lib-commonjs/components/OverlayDrawer/OverlayDrawerSurface/{index.js.map → index.cjs.map} +1 -1
  202. package/lib-commonjs/components/OverlayDrawer/OverlayDrawerSurface/useOverlayDrawerSurfaceStyles.styles.cjs.map +1 -0
  203. package/lib-commonjs/components/OverlayDrawer/{index.js → index.cjs} +4 -4
  204. package/lib-commonjs/components/OverlayDrawer/{index.js.map → index.cjs.map} +1 -1
  205. package/lib-commonjs/components/OverlayDrawer/{renderOverlayDrawer.js → renderOverlayDrawer.cjs} +1 -1
  206. package/lib-commonjs/components/OverlayDrawer/{renderOverlayDrawer.js.map → renderOverlayDrawer.cjs.map} +1 -1
  207. package/lib-commonjs/components/OverlayDrawer/{useOverlayDrawer.js → useOverlayDrawer.cjs} +6 -6
  208. package/lib-commonjs/components/OverlayDrawer/{useOverlayDrawer.js.map → useOverlayDrawer.cjs.map} +1 -1
  209. package/lib-commonjs/components/OverlayDrawer/{useOverlayDrawerStyles.styles.js → useOverlayDrawerStyles.styles.cjs} +1 -1
  210. package/lib-commonjs/components/OverlayDrawer/useOverlayDrawerStyles.styles.cjs.map +1 -0
  211. package/lib-commonjs/components/OverlayDrawer/{useOverlayDrawerStyles.styles.raw.js → useOverlayDrawerStyles.styles.raw.cjs} +1 -1
  212. package/lib-commonjs/components/OverlayDrawer/{useOverlayDrawerStyles.styles.raw.js.map → useOverlayDrawerStyles.styles.raw.cjs.map} +1 -1
  213. package/lib-commonjs/contexts/{index.js → index.cjs} +1 -1
  214. package/lib-commonjs/contexts/{index.js.map → index.cjs.map} +1 -1
  215. package/lib-commonjs/{index.js → index.cjs} +12 -12
  216. package/lib-commonjs/{index.js.map → index.cjs.map} +1 -1
  217. package/lib-commonjs/shared/{drawerMotions.js → drawerMotions.cjs} +1 -1
  218. package/lib-commonjs/shared/{drawerMotions.js.map → drawerMotions.cjs.map} +1 -1
  219. package/lib-commonjs/shared/useDrawerBaseStyles.styles.cjs.map +1 -0
  220. package/package.json +23 -22
  221. package/lib-commonjs/components/Drawer/useDrawerStyles.styles.js.map +0 -1
  222. package/lib-commonjs/components/DrawerBody/useDrawerBodyStyles.styles.js.map +0 -1
  223. package/lib-commonjs/components/DrawerFooter/useDrawerFooterStyles.styles.js.map +0 -1
  224. package/lib-commonjs/components/DrawerHeader/useDrawerHeaderStyles.styles.js.map +0 -1
  225. package/lib-commonjs/components/DrawerHeaderNavigation/useDrawerHeaderNavigationStyles.styles.js.map +0 -1
  226. package/lib-commonjs/components/DrawerHeaderTitle/useDrawerHeaderTitleStyles.styles.js.map +0 -1
  227. package/lib-commonjs/components/InlineDrawer/useInlineDrawerStyles.styles.js.map +0 -1
  228. package/lib-commonjs/components/OverlayDrawer/OverlayDrawerSurface/useOverlayDrawerSurfaceStyles.styles.js.map +0 -1
  229. package/lib-commonjs/components/OverlayDrawer/useOverlayDrawerStyles.styles.js.map +0 -1
  230. package/lib-commonjs/shared/useDrawerBaseStyles.styles.js.map +0 -1
  231. /package/lib-commonjs/components/Drawer/{Drawer.types.js → Drawer.types.cjs} +0 -0
  232. /package/lib-commonjs/components/Drawer/{Drawer.types.js.map → Drawer.types.cjs.map} +0 -0
  233. /package/lib-commonjs/components/Drawer/{useDrawerStyles.styles.js → useDrawerStyles.styles.cjs} +0 -0
  234. /package/lib-commonjs/components/Drawer/{useDrawerStyles.styles.raw.js → useDrawerStyles.styles.raw.cjs} +0 -0
  235. /package/lib-commonjs/components/Drawer/{useDrawerStyles.styles.raw.js.map → useDrawerStyles.styles.raw.cjs.map} +0 -0
  236. /package/lib-commonjs/components/DrawerBody/{DrawerBody.types.js → DrawerBody.types.cjs} +0 -0
  237. /package/lib-commonjs/components/DrawerBody/{DrawerBody.types.js.map → DrawerBody.types.cjs.map} +0 -0
  238. /package/lib-commonjs/components/DrawerBody/{renderDrawerBody.js → renderDrawerBody.cjs} +0 -0
  239. /package/lib-commonjs/components/DrawerBody/{renderDrawerBody.js.map → renderDrawerBody.cjs.map} +0 -0
  240. /package/lib-commonjs/components/DrawerBody/{useDrawerBodyStyles.styles.js → useDrawerBodyStyles.styles.cjs} +0 -0
  241. /package/lib-commonjs/components/DrawerBody/{useDrawerBodyStyles.styles.raw.js → useDrawerBodyStyles.styles.raw.cjs} +0 -0
  242. /package/lib-commonjs/components/DrawerBody/{useDrawerBodyStyles.styles.raw.js.map → useDrawerBodyStyles.styles.raw.cjs.map} +0 -0
  243. /package/lib-commonjs/components/DrawerFooter/{DrawerFooter.types.js → DrawerFooter.types.cjs} +0 -0
  244. /package/lib-commonjs/components/DrawerFooter/{DrawerFooter.types.js.map → DrawerFooter.types.cjs.map} +0 -0
  245. /package/lib-commonjs/components/DrawerFooter/{renderDrawerFooter.js → renderDrawerFooter.cjs} +0 -0
  246. /package/lib-commonjs/components/DrawerFooter/{renderDrawerFooter.js.map → renderDrawerFooter.cjs.map} +0 -0
  247. /package/lib-commonjs/components/DrawerFooter/{useDrawerFooterStyles.styles.js → useDrawerFooterStyles.styles.cjs} +0 -0
  248. /package/lib-commonjs/components/DrawerHeader/{DrawerHeader.types.js → DrawerHeader.types.cjs} +0 -0
  249. /package/lib-commonjs/components/DrawerHeader/{DrawerHeader.types.js.map → DrawerHeader.types.cjs.map} +0 -0
  250. /package/lib-commonjs/components/DrawerHeader/{renderDrawerHeader.js → renderDrawerHeader.cjs} +0 -0
  251. /package/lib-commonjs/components/DrawerHeader/{renderDrawerHeader.js.map → renderDrawerHeader.cjs.map} +0 -0
  252. /package/lib-commonjs/components/DrawerHeader/{useDrawerHeaderStyles.styles.js → useDrawerHeaderStyles.styles.cjs} +0 -0
  253. /package/lib-commonjs/components/DrawerHeaderNavigation/{DrawerHeaderNavigation.types.js → DrawerHeaderNavigation.types.cjs} +0 -0
  254. /package/lib-commonjs/components/DrawerHeaderNavigation/{DrawerHeaderNavigation.types.js.map → DrawerHeaderNavigation.types.cjs.map} +0 -0
  255. /package/lib-commonjs/components/DrawerHeaderNavigation/{renderDrawerHeaderNavigation.js → renderDrawerHeaderNavigation.cjs} +0 -0
  256. /package/lib-commonjs/components/DrawerHeaderNavigation/{renderDrawerHeaderNavigation.js.map → renderDrawerHeaderNavigation.cjs.map} +0 -0
  257. /package/lib-commonjs/components/DrawerHeaderNavigation/{useDrawerHeaderNavigation.js → useDrawerHeaderNavigation.cjs} +0 -0
  258. /package/lib-commonjs/components/DrawerHeaderNavigation/{useDrawerHeaderNavigation.js.map → useDrawerHeaderNavigation.cjs.map} +0 -0
  259. /package/lib-commonjs/components/DrawerHeaderNavigation/{useDrawerHeaderNavigationStyles.styles.js → useDrawerHeaderNavigationStyles.styles.cjs} +0 -0
  260. /package/lib-commonjs/components/DrawerHeaderNavigation/{useDrawerHeaderNavigationStyles.styles.raw.js → useDrawerHeaderNavigationStyles.styles.raw.cjs} +0 -0
  261. /package/lib-commonjs/components/DrawerHeaderNavigation/{useDrawerHeaderNavigationStyles.styles.raw.js.map → useDrawerHeaderNavigationStyles.styles.raw.cjs.map} +0 -0
  262. /package/lib-commonjs/components/DrawerHeaderTitle/{DrawerHeaderTitle.types.js → DrawerHeaderTitle.types.cjs} +0 -0
  263. /package/lib-commonjs/components/DrawerHeaderTitle/{DrawerHeaderTitle.types.js.map → DrawerHeaderTitle.types.cjs.map} +0 -0
  264. /package/lib-commonjs/components/DrawerHeaderTitle/{renderDrawerHeaderTitle.js → renderDrawerHeaderTitle.cjs} +0 -0
  265. /package/lib-commonjs/components/DrawerHeaderTitle/{renderDrawerHeaderTitle.js.map → renderDrawerHeaderTitle.cjs.map} +0 -0
  266. /package/lib-commonjs/components/DrawerHeaderTitle/{useDrawerHeaderTitle.js → useDrawerHeaderTitle.cjs} +0 -0
  267. /package/lib-commonjs/components/DrawerHeaderTitle/{useDrawerHeaderTitle.js.map → useDrawerHeaderTitle.cjs.map} +0 -0
  268. /package/lib-commonjs/components/DrawerHeaderTitle/{useDrawerHeaderTitleStyles.styles.js → useDrawerHeaderTitleStyles.styles.cjs} +0 -0
  269. /package/lib-commonjs/components/DrawerHeaderTitle/{useDrawerHeaderTitleStyles.styles.raw.js → useDrawerHeaderTitleStyles.styles.raw.cjs} +0 -0
  270. /package/lib-commonjs/components/DrawerHeaderTitle/{useDrawerHeaderTitleStyles.styles.raw.js.map → useDrawerHeaderTitleStyles.styles.raw.cjs.map} +0 -0
  271. /package/lib-commonjs/components/InlineDrawer/{InlineDrawer.types.js → InlineDrawer.types.cjs} +0 -0
  272. /package/lib-commonjs/components/InlineDrawer/{InlineDrawer.types.js.map → InlineDrawer.types.cjs.map} +0 -0
  273. /package/lib-commonjs/components/OverlayDrawer/{OverlayDrawer.types.js → OverlayDrawer.types.cjs} +0 -0
  274. /package/lib-commonjs/components/OverlayDrawer/{OverlayDrawer.types.js.map → OverlayDrawer.types.cjs.map} +0 -0
  275. /package/lib-commonjs/components/OverlayDrawer/OverlayDrawerSurface/{OverlayDrawerSurface.types.js → OverlayDrawerSurface.types.cjs} +0 -0
  276. /package/lib-commonjs/components/OverlayDrawer/OverlayDrawerSurface/{OverlayDrawerSurface.types.js.map → OverlayDrawerSurface.types.cjs.map} +0 -0
  277. /package/lib-commonjs/components/OverlayDrawer/OverlayDrawerSurface/{useOverlayDrawerSurfaceStyles.styles.js → useOverlayDrawerSurfaceStyles.styles.cjs} +0 -0
  278. /package/lib-commonjs/components/OverlayDrawer/OverlayDrawerSurface/{useOverlayDrawerSurfaceStyles.styles.raw.js → useOverlayDrawerSurfaceStyles.styles.raw.cjs} +0 -0
  279. /package/lib-commonjs/components/OverlayDrawer/OverlayDrawerSurface/{useOverlayDrawerSurfaceStyles.styles.raw.js.map → useOverlayDrawerSurfaceStyles.styles.raw.cjs.map} +0 -0
  280. /package/lib-commonjs/contexts/{drawerContext.js → drawerContext.cjs} +0 -0
  281. /package/lib-commonjs/contexts/{drawerContext.js.map → drawerContext.cjs.map} +0 -0
  282. /package/lib-commonjs/e2e/{DrawerShared.js → DrawerShared.cjs} +0 -0
  283. /package/lib-commonjs/e2e/{DrawerShared.js.map → DrawerShared.cjs.map} +0 -0
  284. /package/lib-commonjs/shared/{DrawerBase.types.js → DrawerBase.types.cjs} +0 -0
  285. /package/lib-commonjs/shared/{DrawerBase.types.js.map → DrawerBase.types.cjs.map} +0 -0
  286. /package/lib-commonjs/shared/{drawerMotionUtils.js → drawerMotionUtils.cjs} +0 -0
  287. /package/lib-commonjs/shared/{drawerMotionUtils.js.map → drawerMotionUtils.cjs.map} +0 -0
  288. /package/lib-commonjs/shared/{drawerSeparatorStyles.js → drawerSeparatorStyles.cjs} +0 -0
  289. /package/lib-commonjs/shared/{drawerSeparatorStyles.js.map → drawerSeparatorStyles.cjs.map} +0 -0
  290. /package/lib-commonjs/shared/{useDrawerBaseStyles.styles.js → useDrawerBaseStyles.styles.cjs} +0 -0
  291. /package/lib-commonjs/shared/{useDrawerBaseStyles.styles.raw.js → useDrawerBaseStyles.styles.raw.cjs} +0 -0
  292. /package/lib-commonjs/shared/{useDrawerBaseStyles.styles.raw.js.map → useDrawerBaseStyles.styles.raw.cjs.map} +0 -0
  293. /package/lib-commonjs/shared/{useDrawerDefaultProps.js → useDrawerDefaultProps.cjs} +0 -0
  294. /package/lib-commonjs/shared/{useDrawerDefaultProps.js.map → useDrawerDefaultProps.cjs.map} +0 -0
@@ -1,4 +1,4 @@
1
- export { DrawerHeaderNavigation } from './DrawerHeaderNavigation';
2
- export { renderDrawerHeaderNavigation_unstable } from './renderDrawerHeaderNavigation';
3
- export { useDrawerHeaderNavigation_unstable } from './useDrawerHeaderNavigation';
4
- export { drawerHeaderNavigationClassNames, useDrawerHeaderNavigationStyles_unstable } from './useDrawerHeaderNavigationStyles.styles';
1
+ export { DrawerHeaderNavigation } from "./DrawerHeaderNavigation.js";
2
+ export { renderDrawerHeaderNavigation_unstable } from "./renderDrawerHeaderNavigation.js";
3
+ export { useDrawerHeaderNavigation_unstable } from "./useDrawerHeaderNavigation.js";
4
+ export { drawerHeaderNavigationClassNames, useDrawerHeaderNavigationStyles_unstable } from "./useDrawerHeaderNavigationStyles.styles.js";
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/DrawerHeaderNavigation/index.ts"],"sourcesContent":["export { DrawerHeaderNavigation } from './DrawerHeaderNavigation';\nexport type {\n DrawerHeaderNavigationProps,\n DrawerHeaderNavigationSlots,\n DrawerHeaderNavigationState,\n} from './DrawerHeaderNavigation.types';\nexport { renderDrawerHeaderNavigation_unstable } from './renderDrawerHeaderNavigation';\nexport { useDrawerHeaderNavigation_unstable } from './useDrawerHeaderNavigation';\nexport {\n drawerHeaderNavigationClassNames,\n useDrawerHeaderNavigationStyles_unstable,\n} from './useDrawerHeaderNavigationStyles.styles';\n"],"names":["DrawerHeaderNavigation","renderDrawerHeaderNavigation_unstable","useDrawerHeaderNavigation_unstable","drawerHeaderNavigationClassNames","useDrawerHeaderNavigationStyles_unstable"],"mappings":"AAAA,SAASA,sBAAsB,QAAQ,2BAA2B;AAMlE,SAASC,qCAAqC,QAAQ,iCAAiC;AACvF,SAASC,kCAAkC,QAAQ,8BAA8B;AACjF,SACEC,gCAAgC,EAChCC,wCAAwC,QACnC,2CAA2C"}
1
+ {"version":3,"sources":["../src/components/DrawerHeaderNavigation/index.ts"],"sourcesContent":["export { DrawerHeaderNavigation } from './DrawerHeaderNavigation';\nexport type {\n DrawerHeaderNavigationProps,\n DrawerHeaderNavigationSlots,\n DrawerHeaderNavigationState,\n} from './DrawerHeaderNavigation.types';\nexport { renderDrawerHeaderNavigation_unstable } from './renderDrawerHeaderNavigation';\nexport { useDrawerHeaderNavigation_unstable } from './useDrawerHeaderNavigation';\nexport {\n drawerHeaderNavigationClassNames,\n useDrawerHeaderNavigationStyles_unstable,\n} from './useDrawerHeaderNavigationStyles.styles';\n"],"names":["DrawerHeaderNavigation","renderDrawerHeaderNavigation_unstable","useDrawerHeaderNavigation_unstable","drawerHeaderNavigationClassNames","useDrawerHeaderNavigationStyles_unstable"],"mappings":"AAAA,SAASA,sBAAsB,QAAQ,8BAA2B;AAMlE,SAASC,qCAAqC,QAAQ,oCAAiC;AACvF,SAASC,kCAAkC,QAAQ,iCAA8B;AACjF,SACEC,gCAAgC,EAChCC,wCAAwC,QACnC,8CAA2C"}
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "@fluentui/react-jsx-runtime/jsx-runtime";
2
- import { assertSlots } from '@fluentui/react-utilities';
2
+ import { assertSlots } from "@fluentui/react-utilities";
3
3
  /**
4
4
  * Render the final JSX of DrawerHeaderNavigation
5
5
  */ export const renderDrawerHeaderNavigation_unstable = (state)=>{
@@ -1,4 +1,4 @@
1
- import { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';
1
+ import { getIntrinsicElementProps, slot } from "@fluentui/react-utilities";
2
2
  /**
3
3
  * Create the state required to render DrawerHeaderNavigation.
4
4
  *
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import { __resetStyles, mergeClasses } from '@griffel/react';
4
- import { tokens } from '@fluentui/react-theme';
3
+ import { __resetStyles, mergeClasses } from "@griffel/react";
4
+ import { tokens } from "@fluentui/react-theme";
5
5
  export const drawerHeaderNavigationClassNames = {
6
6
  root: 'fui-DrawerHeaderNavigation'
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"names":["__resetStyles","mergeClasses","tokens","drawerHeaderNavigationClassNames","root","useStyles","useDrawerHeaderNavigationStyles_unstable","state","styles","className"],"sources":["useDrawerHeaderNavigationStyles.styles.js"],"sourcesContent":["'use client';\nimport { makeResetStyles, mergeClasses } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nexport const drawerHeaderNavigationClassNames = {\n root: 'fui-DrawerHeaderNavigation'\n};\n/**\n * Styles for the root slot\n */ const useStyles = makeResetStyles({\n margin: `calc(${tokens.spacingVerticalS} * -1) calc(${tokens.spacingHorizontalL} * -1)`\n});\n/**\n * Apply styling to the DrawerHeaderNavigation slots based on the state\n */ export const useDrawerHeaderNavigationStyles_unstable = (state)=>{\n const styles = useStyles();\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(drawerHeaderNavigationClassNames.root, styles, state.root.className);\n return state;\n};\n"],"mappings":"AAAA,YAAY;;AACZ,SAAAA,aAAA,EAA0BC,YAAY,QAAQ,gBAAgB;AAC9D,SAASC,MAAM,QAAQ,uBAAuB;AAC9C,OAAO,MAAMC,gCAAgC,GAAG;EAC5CC,IAAI,EAAE;AACV,CAAC;AACD;AACA;AACA;AAAI,MAAMC,SAAS,gBAAGL,aAAA,iHAErB,CAAC;AACF;AACA;AACA;AAAI,OAAO,MAAMM,wCAAwC,GAAIC,KAAK,IAAG;EACjE,MAAMC,MAAM,GAAGH,SAAS,CAAC,CAAC;EAC1B;EACAE,KAAK,CAACH,IAAI,CAACK,SAAS,GAAGR,YAAY,CAACE,gCAAgC,CAACC,IAAI,EAAEI,MAAM,EAAED,KAAK,CAACH,IAAI,CAACK,SAAS,CAAC;EACxG,OAAOF,KAAK;AAChB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["__resetStyles","mergeClasses","tokens","drawerHeaderNavigationClassNames","root","useStyles","useDrawerHeaderNavigationStyles_unstable","state","styles","className"],"sources":["useDrawerHeaderNavigationStyles.styles.js"],"sourcesContent":["'use client';\nimport { makeResetStyles, mergeClasses } from \"@griffel/react\";\nimport { tokens } from \"@fluentui/react-theme\";\nexport const drawerHeaderNavigationClassNames = {\n root: 'fui-DrawerHeaderNavigation'\n};\n/**\n * Styles for the root slot\n */ const useStyles = makeResetStyles({\n margin: `calc(${tokens.spacingVerticalS} * -1) calc(${tokens.spacingHorizontalL} * -1)`\n});\n/**\n * Apply styling to the DrawerHeaderNavigation slots based on the state\n */ export const useDrawerHeaderNavigationStyles_unstable = (state)=>{\n const styles = useStyles();\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(drawerHeaderNavigationClassNames.root, styles, state.root.className);\n return state;\n};\n"],"mappings":"AAAA,YAAY;;AACZ,SAAAA,aAAA,EAA0BC,YAAY,QAAQ,gBAAgB;AAC9D,SAASC,MAAM,QAAQ,uBAAuB;AAC9C,OAAO,MAAMC,gCAAgC,GAAG;EAC5CC,IAAI,EAAE;AACV,CAAC;AACD;AACA;AACA;AAAI,MAAMC,SAAS,gBAAGL,aAAA,iHAErB,CAAC;AACF;AACA;AACA;AAAI,OAAO,MAAMM,wCAAwC,GAAIC,KAAK,IAAG;EACjE,MAAMC,MAAM,GAAGH,SAAS,CAAC,CAAC;EAC1B;EACAE,KAAK,CAACH,IAAI,CAACK,SAAS,GAAGR,YAAY,CAACE,gCAAgC,CAACC,IAAI,EAAEI,MAAM,EAAED,KAAK,CAACH,IAAI,CAACK,SAAS,CAAC;EACxG,OAAOF,KAAK;AAChB,CAAC","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- import { makeResetStyles, mergeClasses } from '@griffel/react';
3
- import { tokens } from '@fluentui/react-theme';
2
+ import { makeResetStyles, mergeClasses } from "@griffel/react";
3
+ import { tokens } from "@fluentui/react-theme";
4
4
  export const drawerHeaderNavigationClassNames = {
5
5
  root: 'fui-DrawerHeaderNavigation'
6
6
  };
@@ -1,9 +1,9 @@
1
1
  'use client';
2
- import * as React from 'react';
3
- import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
4
- import { useDrawerHeaderTitle_unstable } from './useDrawerHeaderTitle';
5
- import { renderDrawerHeaderTitle_unstable } from './renderDrawerHeaderTitle';
6
- import { useDrawerHeaderTitleStyles_unstable } from './useDrawerHeaderTitleStyles.styles';
2
+ import * as React from "react";
3
+ import { useCustomStyleHook_unstable } from "@fluentui/react-shared-contexts";
4
+ import { useDrawerHeaderTitle_unstable } from "./useDrawerHeaderTitle.js";
5
+ import { renderDrawerHeaderTitle_unstable } from "./renderDrawerHeaderTitle.js";
6
+ import { useDrawerHeaderTitleStyles_unstable } from "./useDrawerHeaderTitleStyles.styles.js";
7
7
  /**
8
8
  * DrawerHeader provides a structured header for the drawer component.
9
9
  */ export const DrawerHeaderTitle = /*#__PURE__*/ React.forwardRef((props, ref)=>{
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/DrawerHeaderTitle/DrawerHeaderTitle.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\nimport { useDrawerHeaderTitle_unstable } from './useDrawerHeaderTitle';\nimport { renderDrawerHeaderTitle_unstable } from './renderDrawerHeaderTitle';\nimport { useDrawerHeaderTitleStyles_unstable } from './useDrawerHeaderTitleStyles.styles';\nimport type { DrawerHeaderTitleProps } from './DrawerHeaderTitle.types';\n\n/**\n * DrawerHeader provides a structured header for the drawer component.\n */\nexport const DrawerHeaderTitle: ForwardRefComponent<DrawerHeaderTitleProps> = React.forwardRef((props, ref) => {\n const state = useDrawerHeaderTitle_unstable(props, ref);\n\n useDrawerHeaderTitleStyles_unstable(state);\n useCustomStyleHook_unstable('useDrawerHeaderTitleStyles_unstable')(state);\n\n return renderDrawerHeaderTitle_unstable(state);\n});\n\nDrawerHeaderTitle.displayName = 'DrawerHeaderTitle';\n"],"names":["React","useCustomStyleHook_unstable","useDrawerHeaderTitle_unstable","renderDrawerHeaderTitle_unstable","useDrawerHeaderTitleStyles_unstable","DrawerHeaderTitle","forwardRef","props","ref","state","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAE/B,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E,SAASC,6BAA6B,QAAQ,yBAAyB;AACvE,SAASC,gCAAgC,QAAQ,4BAA4B;AAC7E,SAASC,mCAAmC,QAAQ,sCAAsC;AAG1F;;CAEC,GACD,OAAO,MAAMC,kCAAiEL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IACrG,MAAMC,QAAQP,8BAA8BK,OAAOC;IAEnDJ,oCAAoCK;IACpCR,4BAA4B,uCAAuCQ;IAEnE,OAAON,iCAAiCM;AAC1C,GAAG;AAEHJ,kBAAkBK,WAAW,GAAG"}
1
+ {"version":3,"sources":["../src/components/DrawerHeaderTitle/DrawerHeaderTitle.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\nimport { useDrawerHeaderTitle_unstable } from './useDrawerHeaderTitle';\nimport { renderDrawerHeaderTitle_unstable } from './renderDrawerHeaderTitle';\nimport { useDrawerHeaderTitleStyles_unstable } from './useDrawerHeaderTitleStyles.styles';\nimport type { DrawerHeaderTitleProps } from './DrawerHeaderTitle.types';\n\n/**\n * DrawerHeader provides a structured header for the drawer component.\n */\nexport const DrawerHeaderTitle: ForwardRefComponent<DrawerHeaderTitleProps> = React.forwardRef((props, ref) => {\n const state = useDrawerHeaderTitle_unstable(props, ref);\n\n useDrawerHeaderTitleStyles_unstable(state);\n useCustomStyleHook_unstable('useDrawerHeaderTitleStyles_unstable')(state);\n\n return renderDrawerHeaderTitle_unstable(state);\n});\n\nDrawerHeaderTitle.displayName = 'DrawerHeaderTitle';\n"],"names":["React","useCustomStyleHook_unstable","useDrawerHeaderTitle_unstable","renderDrawerHeaderTitle_unstable","useDrawerHeaderTitleStyles_unstable","DrawerHeaderTitle","forwardRef","props","ref","state","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAE/B,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E,SAASC,6BAA6B,QAAQ,4BAAyB;AACvE,SAASC,gCAAgC,QAAQ,+BAA4B;AAC7E,SAASC,mCAAmC,QAAQ,yCAAsC;AAG1F;;CAEC,GACD,OAAO,MAAMC,kCAAiEL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IACrG,MAAMC,QAAQP,8BAA8BK,OAAOC;IAEnDJ,oCAAoCK;IACpCR,4BAA4B,uCAAuCQ;IAEnE,OAAON,iCAAiCM;AAC1C,GAAG;AAEHJ,kBAAkBK,WAAW,GAAG"}
@@ -1,4 +1,4 @@
1
- export { DrawerHeaderTitle } from './DrawerHeaderTitle';
2
- export { renderDrawerHeaderTitle_unstable } from './renderDrawerHeaderTitle';
3
- export { useDrawerHeaderTitle_unstable } from './useDrawerHeaderTitle';
4
- export { drawerHeaderTitleClassNames, useDrawerHeaderTitleStyles_unstable } from './useDrawerHeaderTitleStyles.styles';
1
+ export { DrawerHeaderTitle } from "./DrawerHeaderTitle.js";
2
+ export { renderDrawerHeaderTitle_unstable } from "./renderDrawerHeaderTitle.js";
3
+ export { useDrawerHeaderTitle_unstable } from "./useDrawerHeaderTitle.js";
4
+ export { drawerHeaderTitleClassNames, useDrawerHeaderTitleStyles_unstable } from "./useDrawerHeaderTitleStyles.styles.js";
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/DrawerHeaderTitle/index.ts"],"sourcesContent":["export { DrawerHeaderTitle } from './DrawerHeaderTitle';\nexport type { DrawerHeaderTitleProps, DrawerHeaderTitleSlots, DrawerHeaderTitleState } from './DrawerHeaderTitle.types';\nexport { renderDrawerHeaderTitle_unstable } from './renderDrawerHeaderTitle';\nexport { useDrawerHeaderTitle_unstable } from './useDrawerHeaderTitle';\nexport { drawerHeaderTitleClassNames, useDrawerHeaderTitleStyles_unstable } from './useDrawerHeaderTitleStyles.styles';\n"],"names":["DrawerHeaderTitle","renderDrawerHeaderTitle_unstable","useDrawerHeaderTitle_unstable","drawerHeaderTitleClassNames","useDrawerHeaderTitleStyles_unstable"],"mappings":"AAAA,SAASA,iBAAiB,QAAQ,sBAAsB;AAExD,SAASC,gCAAgC,QAAQ,4BAA4B;AAC7E,SAASC,6BAA6B,QAAQ,yBAAyB;AACvE,SAASC,2BAA2B,EAAEC,mCAAmC,QAAQ,sCAAsC"}
1
+ {"version":3,"sources":["../src/components/DrawerHeaderTitle/index.ts"],"sourcesContent":["export { DrawerHeaderTitle } from './DrawerHeaderTitle';\nexport type { DrawerHeaderTitleProps, DrawerHeaderTitleSlots, DrawerHeaderTitleState } from './DrawerHeaderTitle.types';\nexport { renderDrawerHeaderTitle_unstable } from './renderDrawerHeaderTitle';\nexport { useDrawerHeaderTitle_unstable } from './useDrawerHeaderTitle';\nexport { drawerHeaderTitleClassNames, useDrawerHeaderTitleStyles_unstable } from './useDrawerHeaderTitleStyles.styles';\n"],"names":["DrawerHeaderTitle","renderDrawerHeaderTitle_unstable","useDrawerHeaderTitle_unstable","drawerHeaderTitleClassNames","useDrawerHeaderTitleStyles_unstable"],"mappings":"AAAA,SAASA,iBAAiB,QAAQ,yBAAsB;AAExD,SAASC,gCAAgC,QAAQ,+BAA4B;AAC7E,SAASC,6BAA6B,QAAQ,4BAAyB;AACvE,SAASC,2BAA2B,EAAEC,mCAAmC,QAAQ,yCAAsC"}
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@fluentui/react-jsx-runtime/jsx-runtime";
2
- import { assertSlots } from '@fluentui/react-utilities';
2
+ import { assertSlots } from "@fluentui/react-utilities";
3
3
  /**
4
4
  * Render the final JSX of DrawerHeaderTitle
5
5
  */ export const renderDrawerHeaderTitle_unstable = (state)=>{
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- import { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';
3
- import { useDialogContext_unstable } from '@fluentui/react-dialog';
2
+ import { getIntrinsicElementProps, slot } from "@fluentui/react-utilities";
3
+ import { useDialogContext_unstable } from "@fluentui/react-dialog";
4
4
  /**
5
5
  * Create the state required to render DrawerHeaderTitle.
6
6
  *
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
- import { __styles, mergeClasses } from '@griffel/react';
4
- import { useDialogTitleStyles_unstable } from '@fluentui/react-dialog';
5
- import { tokens } from '@fluentui/react-theme';
3
+ import { __styles, mergeClasses } from "@griffel/react";
4
+ import { useDialogTitleStyles_unstable } from "@fluentui/react-dialog";
5
+ import { tokens } from "@fluentui/react-theme";
6
6
  export const drawerHeaderTitleClassNames = {
7
7
  root: 'fui-DrawerHeaderTitle',
8
8
  heading: 'fui-DrawerHeaderTitle__heading',
@@ -1 +1 @@
1
- {"version":3,"names":["__styles","mergeClasses","useDialogTitleStyles_unstable","tokens","drawerHeaderTitleClassNames","root","heading","action","useStyles","mc9l5x","Brf1p80","Bt984gj","i8kkvl","t21cq0","d","useDrawerHeaderTitleStyles_unstable","state","styles","components","className"],"sources":["useDrawerHeaderTitleStyles.styles.js"],"sourcesContent":["'use client';\nimport { makeStyles, mergeClasses } from '@griffel/react';\nimport { useDialogTitleStyles_unstable } from '@fluentui/react-dialog';\nimport { tokens } from '@fluentui/react-theme';\nexport const drawerHeaderTitleClassNames = {\n root: 'fui-DrawerHeaderTitle',\n heading: 'fui-DrawerHeaderTitle__heading',\n action: 'fui-DrawerHeaderTitle__action'\n};\n/**\n * Styles for the root slot\n */ const useStyles = makeStyles({\n root: {\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'center',\n columnGap: tokens.spacingHorizontalS\n },\n action: {\n marginRight: `calc(${tokens.spacingHorizontalS} * -1)`\n }\n});\n/**\n * Apply styling to the DrawerHeaderTitle slots based on the state\n */ export const useDrawerHeaderTitleStyles_unstable = (state)=>{\n const styles = useStyles();\n const { heading: root = {}, action, // We should not use components to pass along the base element type of a slot\n // but there's no way to retrieve the element type of a slot from the slot definition\n // right now without using SLOT_ELEMENT_TYPE_SYMBOL\n // TODO: create a method to retrieve the element type of a slot\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n components } = state;\n useDialogTitleStyles_unstable({\n components: {\n root: components.heading,\n action: components.action\n },\n root,\n action\n });\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(drawerHeaderTitleClassNames.root, styles.root, state.root.className);\n if (state.heading) {\n // eslint-disable-next-line react-hooks/immutability\n state.heading.className = mergeClasses(drawerHeaderTitleClassNames.heading, state.heading.className);\n }\n if (state.action) {\n // eslint-disable-next-line react-hooks/immutability\n state.action.className = mergeClasses(drawerHeaderTitleClassNames.action, styles.action, state.action.className);\n }\n return state;\n};\n"],"mappings":"AAAA,YAAY;;AACZ,SAAAA,QAAA,EAAqBC,YAAY,QAAQ,gBAAgB;AACzD,SAASC,6BAA6B,QAAQ,wBAAwB;AACtE,SAASC,MAAM,QAAQ,uBAAuB;AAC9C,OAAO,MAAMC,2BAA2B,GAAG;EACvCC,IAAI,EAAE,uBAAuB;EAC7BC,OAAO,EAAE,gCAAgC;EACzCC,MAAM,EAAE;AACZ,CAAC;AACD;AACA;AACA;AAAI,MAAMC,SAAS,gBAAGR,QAAA;EAAAK,IAAA;IAAAI,MAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,MAAA;EAAA;EAAAL,MAAA;IAAAM,MAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,CAUrB,CAAC;AACF;AACA;AACA;AAAI,OAAO,MAAMC,mCAAmC,GAAIC,KAAK,IAAG;EAC5D,MAAMC,MAAM,GAAGT,SAAS,CAAC,CAAC;EAC1B,MAAM;IAAEF,OAAO,EAAED,IAAI,GAAG,CAAC,CAAC;IAAEE,MAAM;IAAE;IACpC;IACA;IACA;IACA;IACAW;EAAW,CAAC,GAAGF,KAAK;EACpBd,6BAA6B,CAAC;IAC1BgB,UAAU,EAAE;MACRb,IAAI,EAAEa,UAAU,CAACZ,OAAO;MACxBC,MAAM,EAAEW,UAAU,CAACX;IACvB,CAAC;IACDF,IAAI;IACJE;EACJ,CAAC,CAAC;EACF;EACAS,KAAK,CAACX,IAAI,CAACc,SAAS,GAAGlB,YAAY,CAACG,2BAA2B,CAACC,IAAI,EAAEY,MAAM,CAACZ,IAAI,EAAEW,KAAK,CAACX,IAAI,CAACc,SAAS,CAAC;EACxG,IAAIH,KAAK,CAACV,OAAO,EAAE;IACf;IACAU,KAAK,CAACV,OAAO,CAACa,SAAS,GAAGlB,YAAY,CAACG,2BAA2B,CAACE,OAAO,EAAEU,KAAK,CAACV,OAAO,CAACa,SAAS,CAAC;EACxG;EACA,IAAIH,KAAK,CAACT,MAAM,EAAE;IACd;IACAS,KAAK,CAACT,MAAM,CAACY,SAAS,GAAGlB,YAAY,CAACG,2BAA2B,CAACG,MAAM,EAAEU,MAAM,CAACV,MAAM,EAAES,KAAK,CAACT,MAAM,CAACY,SAAS,CAAC;EACpH;EACA,OAAOH,KAAK;AAChB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["__styles","mergeClasses","useDialogTitleStyles_unstable","tokens","drawerHeaderTitleClassNames","root","heading","action","useStyles","mc9l5x","Brf1p80","Bt984gj","i8kkvl","t21cq0","d","useDrawerHeaderTitleStyles_unstable","state","styles","components","className"],"sources":["useDrawerHeaderTitleStyles.styles.js"],"sourcesContent":["'use client';\nimport { makeStyles, mergeClasses } from \"@griffel/react\";\nimport { useDialogTitleStyles_unstable } from \"@fluentui/react-dialog\";\nimport { tokens } from \"@fluentui/react-theme\";\nexport const drawerHeaderTitleClassNames = {\n root: 'fui-DrawerHeaderTitle',\n heading: 'fui-DrawerHeaderTitle__heading',\n action: 'fui-DrawerHeaderTitle__action'\n};\n/**\n * Styles for the root slot\n */ const useStyles = makeStyles({\n root: {\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'center',\n columnGap: tokens.spacingHorizontalS\n },\n action: {\n marginRight: `calc(${tokens.spacingHorizontalS} * -1)`\n }\n});\n/**\n * Apply styling to the DrawerHeaderTitle slots based on the state\n */ export const useDrawerHeaderTitleStyles_unstable = (state)=>{\n const styles = useStyles();\n const { heading: root = {}, action, // We should not use components to pass along the base element type of a slot\n // but there's no way to retrieve the element type of a slot from the slot definition\n // right now without using SLOT_ELEMENT_TYPE_SYMBOL\n // TODO: create a method to retrieve the element type of a slot\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n components } = state;\n useDialogTitleStyles_unstable({\n components: {\n root: components.heading,\n action: components.action\n },\n root,\n action\n });\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(drawerHeaderTitleClassNames.root, styles.root, state.root.className);\n if (state.heading) {\n // eslint-disable-next-line react-hooks/immutability\n state.heading.className = mergeClasses(drawerHeaderTitleClassNames.heading, state.heading.className);\n }\n if (state.action) {\n // eslint-disable-next-line react-hooks/immutability\n state.action.className = mergeClasses(drawerHeaderTitleClassNames.action, styles.action, state.action.className);\n }\n return state;\n};\n"],"mappings":"AAAA,YAAY;;AACZ,SAAAA,QAAA,EAAqBC,YAAY,QAAQ,gBAAgB;AACzD,SAASC,6BAA6B,QAAQ,wBAAwB;AACtE,SAASC,MAAM,QAAQ,uBAAuB;AAC9C,OAAO,MAAMC,2BAA2B,GAAG;EACvCC,IAAI,EAAE,uBAAuB;EAC7BC,OAAO,EAAE,gCAAgC;EACzCC,MAAM,EAAE;AACZ,CAAC;AACD;AACA;AACA;AAAI,MAAMC,SAAS,gBAAGR,QAAA;EAAAK,IAAA;IAAAI,MAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,MAAA;EAAA;EAAAL,MAAA;IAAAM,MAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,CAUrB,CAAC;AACF;AACA;AACA;AAAI,OAAO,MAAMC,mCAAmC,GAAIC,KAAK,IAAG;EAC5D,MAAMC,MAAM,GAAGT,SAAS,CAAC,CAAC;EAC1B,MAAM;IAAEF,OAAO,EAAED,IAAI,GAAG,CAAC,CAAC;IAAEE,MAAM;IAAE;IACpC;IACA;IACA;IACA;IACAW;EAAW,CAAC,GAAGF,KAAK;EACpBd,6BAA6B,CAAC;IAC1BgB,UAAU,EAAE;MACRb,IAAI,EAAEa,UAAU,CAACZ,OAAO;MACxBC,MAAM,EAAEW,UAAU,CAACX;IACvB,CAAC;IACDF,IAAI;IACJE;EACJ,CAAC,CAAC;EACF;EACAS,KAAK,CAACX,IAAI,CAACc,SAAS,GAAGlB,YAAY,CAACG,2BAA2B,CAACC,IAAI,EAAEY,MAAM,CAACZ,IAAI,EAAEW,KAAK,CAACX,IAAI,CAACc,SAAS,CAAC;EACxG,IAAIH,KAAK,CAACV,OAAO,EAAE;IACf;IACAU,KAAK,CAACV,OAAO,CAACa,SAAS,GAAGlB,YAAY,CAACG,2BAA2B,CAACE,OAAO,EAAEU,KAAK,CAACV,OAAO,CAACa,SAAS,CAAC;EACxG;EACA,IAAIH,KAAK,CAACT,MAAM,EAAE;IACd;IACAS,KAAK,CAACT,MAAM,CAACY,SAAS,GAAGlB,YAAY,CAACG,2BAA2B,CAACG,MAAM,EAAEU,MAAM,CAACV,MAAM,EAAES,KAAK,CAACT,MAAM,CAACY,SAAS,CAAC;EACpH;EACA,OAAOH,KAAK;AAChB,CAAC","ignoreList":[]}
@@ -1,7 +1,7 @@
1
1
  'use client';
2
- import { makeStyles, mergeClasses } from '@griffel/react';
3
- import { useDialogTitleStyles_unstable } from '@fluentui/react-dialog';
4
- import { tokens } from '@fluentui/react-theme';
2
+ import { makeStyles, mergeClasses } from "@griffel/react";
3
+ import { useDialogTitleStyles_unstable } from "@fluentui/react-dialog";
4
+ import { tokens } from "@fluentui/react-theme";
5
5
  export const drawerHeaderTitleClassNames = {
6
6
  root: 'fui-DrawerHeaderTitle',
7
7
  heading: 'fui-DrawerHeaderTitle__heading',
@@ -1,10 +1,10 @@
1
1
  'use client';
2
- import * as React from 'react';
3
- import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
4
- import { useDrawerContextValue } from '../../contexts/drawerContext';
5
- import { useInlineDrawer_unstable } from './useInlineDrawer';
6
- import { renderInlineDrawer_unstable } from './renderInlineDrawer';
7
- import { useInlineDrawerStyles_unstable } from './useInlineDrawerStyles.styles';
2
+ import * as React from "react";
3
+ import { useCustomStyleHook_unstable } from "@fluentui/react-shared-contexts";
4
+ import { useDrawerContextValue } from "../../contexts/drawerContext.js";
5
+ import { useInlineDrawer_unstable } from "./useInlineDrawer.js";
6
+ import { renderInlineDrawer_unstable } from "./renderInlineDrawer.js";
7
+ import { useInlineDrawerStyles_unstable } from "./useInlineDrawerStyles.styles.js";
8
8
  /**
9
9
  * InlineDrawer is often used for navigation that is not dismissible. As it is on the same level as
10
10
  * the main surface, users can still interact with other UI elements.
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/InlineDrawer/InlineDrawer.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\nimport { useDrawerContextValue } from '../../contexts/drawerContext';\n\nimport type { InlineDrawerProps } from './InlineDrawer.types';\nimport { useInlineDrawer_unstable } from './useInlineDrawer';\nimport { renderInlineDrawer_unstable } from './renderInlineDrawer';\nimport { useInlineDrawerStyles_unstable } from './useInlineDrawerStyles.styles';\n\n/**\n * InlineDrawer is often used for navigation that is not dismissible. As it is on the same level as\n * the main surface, users can still interact with other UI elements.\n */\nexport const InlineDrawer: ForwardRefComponent<InlineDrawerProps> = React.forwardRef((props, ref) => {\n const state = useInlineDrawer_unstable(props, ref);\n const contextValue = useDrawerContextValue();\n\n useInlineDrawerStyles_unstable(state);\n useCustomStyleHook_unstable('useDrawerInlineStyles_unstable')(state);\n useCustomStyleHook_unstable('useInlineDrawerStyles_unstable')(state);\n\n return renderInlineDrawer_unstable(state, contextValue);\n});\n\nInlineDrawer.displayName = 'InlineDrawer';\n"],"names":["React","useCustomStyleHook_unstable","useDrawerContextValue","useInlineDrawer_unstable","renderInlineDrawer_unstable","useInlineDrawerStyles_unstable","InlineDrawer","forwardRef","props","ref","state","contextValue","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAE/B,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E,SAASC,qBAAqB,QAAQ,+BAA+B;AAGrE,SAASC,wBAAwB,QAAQ,oBAAoB;AAC7D,SAASC,2BAA2B,QAAQ,uBAAuB;AACnE,SAASC,8BAA8B,QAAQ,iCAAiC;AAEhF;;;CAGC,GACD,OAAO,MAAMC,6BAAuDN,MAAMO,UAAU,CAAC,CAACC,OAAOC;IAC3F,MAAMC,QAAQP,yBAAyBK,OAAOC;IAC9C,MAAME,eAAeT;IAErBG,+BAA+BK;IAC/BT,4BAA4B,kCAAkCS;IAC9DT,4BAA4B,kCAAkCS;IAE9D,OAAON,4BAA4BM,OAAOC;AAC5C,GAAG;AAEHL,aAAaM,WAAW,GAAG"}
1
+ {"version":3,"sources":["../src/components/InlineDrawer/InlineDrawer.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\nimport { useDrawerContextValue } from '../../contexts/drawerContext';\n\nimport type { InlineDrawerProps } from './InlineDrawer.types';\nimport { useInlineDrawer_unstable } from './useInlineDrawer';\nimport { renderInlineDrawer_unstable } from './renderInlineDrawer';\nimport { useInlineDrawerStyles_unstable } from './useInlineDrawerStyles.styles';\n\n/**\n * InlineDrawer is often used for navigation that is not dismissible. As it is on the same level as\n * the main surface, users can still interact with other UI elements.\n */\nexport const InlineDrawer: ForwardRefComponent<InlineDrawerProps> = React.forwardRef((props, ref) => {\n const state = useInlineDrawer_unstable(props, ref);\n const contextValue = useDrawerContextValue();\n\n useInlineDrawerStyles_unstable(state);\n useCustomStyleHook_unstable('useDrawerInlineStyles_unstable')(state);\n useCustomStyleHook_unstable('useInlineDrawerStyles_unstable')(state);\n\n return renderInlineDrawer_unstable(state, contextValue);\n});\n\nInlineDrawer.displayName = 'InlineDrawer';\n"],"names":["React","useCustomStyleHook_unstable","useDrawerContextValue","useInlineDrawer_unstable","renderInlineDrawer_unstable","useInlineDrawerStyles_unstable","InlineDrawer","forwardRef","props","ref","state","contextValue","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAE/B,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E,SAASC,qBAAqB,QAAQ,kCAA+B;AAGrE,SAASC,wBAAwB,QAAQ,uBAAoB;AAC7D,SAASC,2BAA2B,QAAQ,0BAAuB;AACnE,SAASC,8BAA8B,QAAQ,oCAAiC;AAEhF;;;CAGC,GACD,OAAO,MAAMC,6BAAuDN,MAAMO,UAAU,CAAC,CAACC,OAAOC;IAC3F,MAAMC,QAAQP,yBAAyBK,OAAOC;IAC9C,MAAME,eAAeT;IAErBG,+BAA+BK;IAC/BT,4BAA4B,kCAAkCS;IAC9DT,4BAA4B,kCAAkCS;IAE9D,OAAON,4BAA4BM,OAAOC;AAC5C,GAAG;AAEHL,aAAaM,WAAW,GAAG"}
@@ -1,4 +1,4 @@
1
- export { InlineDrawer } from './InlineDrawer';
2
- export { renderInlineDrawer_unstable } from './renderInlineDrawer';
3
- export { useInlineDrawer_unstable, useInlineDrawerBase_unstable } from './useInlineDrawer';
4
- export { inlineDrawerClassNames, useInlineDrawerStyles_unstable } from './useInlineDrawerStyles.styles';
1
+ export { InlineDrawer } from "./InlineDrawer.js";
2
+ export { renderInlineDrawer_unstable } from "./renderInlineDrawer.js";
3
+ export { useInlineDrawer_unstable, useInlineDrawerBase_unstable } from "./useInlineDrawer.js";
4
+ export { inlineDrawerClassNames, useInlineDrawerStyles_unstable } from "./useInlineDrawerStyles.styles.js";
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/InlineDrawer/index.ts"],"sourcesContent":["export { InlineDrawer } from './InlineDrawer';\nexport type {\n InlineDrawerProps,\n InlineDrawerSlots,\n InlineDrawerState,\n InlineDrawerBaseProps,\n InlineDrawerBaseState,\n SurfaceMotionSlotProps,\n} from './InlineDrawer.types';\nexport { renderInlineDrawer_unstable } from './renderInlineDrawer';\nexport { useInlineDrawer_unstable, useInlineDrawerBase_unstable } from './useInlineDrawer';\nexport { inlineDrawerClassNames, useInlineDrawerStyles_unstable } from './useInlineDrawerStyles.styles';\n"],"names":["InlineDrawer","renderInlineDrawer_unstable","useInlineDrawer_unstable","useInlineDrawerBase_unstable","inlineDrawerClassNames","useInlineDrawerStyles_unstable"],"mappings":"AAAA,SAASA,YAAY,QAAQ,iBAAiB;AAS9C,SAASC,2BAA2B,QAAQ,uBAAuB;AACnE,SAASC,wBAAwB,EAAEC,4BAA4B,QAAQ,oBAAoB;AAC3F,SAASC,sBAAsB,EAAEC,8BAA8B,QAAQ,iCAAiC"}
1
+ {"version":3,"sources":["../src/components/InlineDrawer/index.ts"],"sourcesContent":["export { InlineDrawer } from './InlineDrawer';\nexport type {\n InlineDrawerProps,\n InlineDrawerSlots,\n InlineDrawerState,\n InlineDrawerBaseProps,\n InlineDrawerBaseState,\n SurfaceMotionSlotProps,\n} from './InlineDrawer.types';\nexport { renderInlineDrawer_unstable } from './renderInlineDrawer';\nexport { useInlineDrawer_unstable, useInlineDrawerBase_unstable } from './useInlineDrawer';\nexport { inlineDrawerClassNames, useInlineDrawerStyles_unstable } from './useInlineDrawerStyles.styles';\n"],"names":["InlineDrawer","renderInlineDrawer_unstable","useInlineDrawer_unstable","useInlineDrawerBase_unstable","inlineDrawerClassNames","useInlineDrawerStyles_unstable"],"mappings":"AAAA,SAASA,YAAY,QAAQ,oBAAiB;AAS9C,SAASC,2BAA2B,QAAQ,0BAAuB;AACnE,SAASC,wBAAwB,EAAEC,4BAA4B,QAAQ,uBAAoB;AAC3F,SAASC,sBAAsB,EAAEC,8BAA8B,QAAQ,oCAAiC"}
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "@fluentui/react-jsx-runtime/jsx-runtime";
2
- import { assertSlots } from '@fluentui/react-utilities';
3
- import { DrawerProvider } from '../../contexts/drawerContext';
2
+ import { assertSlots } from "@fluentui/react-utilities";
3
+ import { DrawerProvider } from "../../contexts/drawerContext.js";
4
4
  /**
5
5
  * Render the final JSX of InlineDrawer
6
6
  */ export const renderInlineDrawer_unstable = (state, contextValue)=>{
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/InlineDrawer/renderInlineDrawer.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\nimport { assertSlots } from '@fluentui/react-utilities';\nimport type { JSXElement } from '@fluentui/react-utilities';\nimport type { DrawerContextValue } from '../../contexts/drawerContext';\nimport { DrawerProvider } from '../../contexts/drawerContext';\n\nimport type { InlineDrawerState, InlineDrawerSlots } from './InlineDrawer.types';\n\n/**\n * Render the final JSX of InlineDrawer\n */\nexport const renderInlineDrawer_unstable = (state: InlineDrawerState, contextValue: DrawerContextValue): JSXElement => {\n assertSlots<InlineDrawerSlots>(state);\n\n return (\n <DrawerProvider value={contextValue}>\n {state.surfaceMotion ? (\n <state.surfaceMotion>\n <state.root />\n </state.surfaceMotion>\n ) : (\n <state.root />\n )}\n </DrawerProvider>\n );\n};\n"],"names":["assertSlots","DrawerProvider","renderInlineDrawer_unstable","state","contextValue","value","surfaceMotion","root"],"mappings":"AAAA,0BAA0B,GAC1B,iDAAiD;AACjD,SAASA,WAAW,QAAQ,4BAA4B;AAGxD,SAASC,cAAc,QAAQ,+BAA+B;AAI9D;;CAEC,GACD,OAAO,MAAMC,8BAA8B,CAACC,OAA0BC;IACpEJ,YAA+BG;IAE/B,qBACE,KAACF;QAAeI,OAAOD;kBACpBD,MAAMG,aAAa,iBAClB,KAACH,MAAMG,aAAa;sBAClB,cAAA,KAACH,MAAMI,IAAI;2BAGb,KAACJ,MAAMI,IAAI;;AAInB,EAAE"}
1
+ {"version":3,"sources":["../src/components/InlineDrawer/renderInlineDrawer.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\nimport { assertSlots } from '@fluentui/react-utilities';\nimport type { JSXElement } from '@fluentui/react-utilities';\nimport type { DrawerContextValue } from '../../contexts/drawerContext';\nimport { DrawerProvider } from '../../contexts/drawerContext';\n\nimport type { InlineDrawerState, InlineDrawerSlots } from './InlineDrawer.types';\n\n/**\n * Render the final JSX of InlineDrawer\n */\nexport const renderInlineDrawer_unstable = (state: InlineDrawerState, contextValue: DrawerContextValue): JSXElement => {\n assertSlots<InlineDrawerSlots>(state);\n\n return (\n <DrawerProvider value={contextValue}>\n {state.surfaceMotion ? (\n <state.surfaceMotion>\n <state.root />\n </state.surfaceMotion>\n ) : (\n <state.root />\n )}\n </DrawerProvider>\n );\n};\n"],"names":["assertSlots","DrawerProvider","renderInlineDrawer_unstable","state","contextValue","value","surfaceMotion","root"],"mappings":"AAAA,0BAA0B,GAC1B,iDAAiD;AACjD,SAASA,WAAW,QAAQ,4BAA4B;AAGxD,SAASC,cAAc,QAAQ,kCAA+B;AAI9D;;CAEC,GACD,OAAO,MAAMC,8BAA8B,CAACC,OAA0BC;IACpEJ,YAA+BG;IAE/B,qBACE,KAACF;QAAeI,OAAOD;kBACpBD,MAAMG,aAAa,iBAClB,KAACH,MAAMG,aAAa;sBAClB,cAAA,KAACH,MAAMI,IAAI;2BAGb,KAACJ,MAAMI,IAAI;;AAInB,EAAE"}
@@ -1,10 +1,10 @@
1
1
  'use client';
2
- import * as React from 'react';
3
- import { presenceMotionSlot } from '@fluentui/react-motion';
4
- import { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';
5
- import { useFluent_unstable as useFluent } from '@fluentui/react-shared-contexts';
6
- import { InlineDrawerMotion } from '../../shared/drawerMotions';
7
- import { useDrawerDefaultProps } from '../../shared/useDrawerDefaultProps';
2
+ import * as React from "react";
3
+ import { presenceMotionSlot } from "@fluentui/react-motion";
4
+ import { getIntrinsicElementProps, slot } from "@fluentui/react-utilities";
5
+ import { useFluent_unstable as useFluent } from "@fluentui/react-shared-contexts";
6
+ import { InlineDrawerMotion } from "../../shared/drawerMotions.js";
7
+ import { useDrawerDefaultProps } from "../../shared/useDrawerDefaultProps.js";
8
8
  const STATIC_MOTION = {
9
9
  active: true,
10
10
  canRender: true,
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/InlineDrawer/useInlineDrawer.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { PresenceDirection } from '@fluentui/react-motion';\nimport { presenceMotionSlot } from '@fluentui/react-motion';\nimport { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';\nimport { useFluent_unstable as useFluent } from '@fluentui/react-shared-contexts';\n\nimport { type DrawerMotionParams, InlineDrawerMotion } from '../../shared/drawerMotions';\nimport { useDrawerDefaultProps } from '../../shared/useDrawerDefaultProps';\nimport type {\n InlineDrawerBaseProps,\n InlineDrawerBaseState,\n InlineDrawerProps,\n InlineDrawerState,\n SurfaceMotionSlotProps,\n} from './InlineDrawer.types';\n\nconst STATIC_MOTION = {\n active: true,\n canRender: true,\n ref: React.createRef<HTMLDivElement>(),\n type: 'idle' as const,\n};\n\n/**\n * Create the state required to render InlineDrawer.\n *\n * The returned state can be modified with hooks such as useInlineDrawerStyles_unstable,\n * before being passed to renderInlineDrawer_unstable.\n *\n * @param props - props from this instance of InlineDrawer\n * @param ref - reference to root HTMLElement of InlineDrawer\n */\nexport const useInlineDrawer_unstable = (props: InlineDrawerProps, ref: React.Ref<HTMLElement>): InlineDrawerState => {\n const { size, position, open, unmountOnClose } = useDrawerDefaultProps(props);\n const { separator = false, surfaceMotion, ...baseProps } = props;\n const { dir } = useFluent();\n const [animationDirection, setAnimationDirection] = React.useState<PresenceDirection>(open ? 'enter' : 'exit');\n\n const baseState = useInlineDrawerBase_unstable(baseProps, ref);\n\n return {\n ...baseState,\n components: {\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n ...baseState.components,\n // casting from internal type that has required properties\n // to external type that only has optional properties\n // converting to unknown first as both Function component signatures are not compatible\n surfaceMotion: InlineDrawerMotion as unknown as React.FC<SurfaceMotionSlotProps>,\n },\n size,\n separator,\n animationDirection,\n surfaceMotion: presenceMotionSlot<DrawerMotionParams>(surfaceMotion, {\n elementType: InlineDrawerMotion,\n defaultProps: {\n position,\n size,\n dir,\n visible: open,\n appear: unmountOnClose,\n unmountOnExit: unmountOnClose,\n onMotionFinish: (_, { direction }) => setAnimationDirection(direction),\n onMotionStart: (_, { direction }) => {\n if (direction === 'enter') {\n setAnimationDirection('enter');\n }\n },\n },\n }),\n\n // Deprecated props\n motion: STATIC_MOTION,\n } satisfies InlineDrawerState;\n};\n\nexport const useInlineDrawerBase_unstable = (\n props: InlineDrawerBaseProps,\n ref: React.Ref<HTMLElement>,\n): InlineDrawerBaseState => {\n const { position, open, unmountOnClose } = useDrawerDefaultProps(props);\n\n return {\n components: {\n root: 'div',\n },\n\n root: slot.always(\n getIntrinsicElementProps('div', {\n ...props,\n ref,\n 'aria-hidden': !unmountOnClose && !open ? true : undefined,\n }),\n { elementType: 'div' },\n ),\n\n open,\n position,\n unmountOnClose,\n } satisfies InlineDrawerBaseState;\n};\n"],"names":["React","presenceMotionSlot","getIntrinsicElementProps","slot","useFluent_unstable","useFluent","InlineDrawerMotion","useDrawerDefaultProps","STATIC_MOTION","active","canRender","ref","createRef","type","useInlineDrawer_unstable","props","size","position","open","unmountOnClose","separator","surfaceMotion","baseProps","dir","animationDirection","setAnimationDirection","useState","baseState","useInlineDrawerBase_unstable","components","elementType","defaultProps","visible","appear","unmountOnExit","onMotionFinish","_","direction","onMotionStart","motion","root","always","undefined"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAE/B,SAASC,kBAAkB,QAAQ,yBAAyB;AAC5D,SAASC,wBAAwB,EAAEC,IAAI,QAAQ,4BAA4B;AAC3E,SAASC,sBAAsBC,SAAS,QAAQ,kCAAkC;AAElF,SAAkCC,kBAAkB,QAAQ,6BAA6B;AACzF,SAASC,qBAAqB,QAAQ,qCAAqC;AAS3E,MAAMC,gBAAgB;IACpBC,QAAQ;IACRC,WAAW;IACXC,KAAKX,MAAMY,SAAS;IACpBC,MAAM;AACR;AAEA;;;;;;;;CAQC,GACD,OAAO,MAAMC,2BAA2B,CAACC,OAA0BJ;IACjE,MAAM,EAAEK,IAAI,EAAEC,QAAQ,EAAEC,IAAI,EAAEC,cAAc,EAAE,GAAGZ,sBAAsBQ;IACvE,MAAM,EAAEK,YAAY,KAAK,EAAEC,aAAa,EAAE,GAAGC,WAAW,GAAGP;IAC3D,MAAM,EAAEQ,GAAG,EAAE,GAAGlB;IAChB,MAAM,CAACmB,oBAAoBC,sBAAsB,GAAGzB,MAAM0B,QAAQ,CAAoBR,OAAO,UAAU;IAEvG,MAAMS,YAAYC,6BAA6BN,WAAWX;IAE1D,OAAO;QACL,GAAGgB,SAAS;QACZE,YAAY;YACV,4DAA4D;YAC5D,GAAGF,UAAUE,UAAU;YACvB,0DAA0D;YAC1D,qDAAqD;YACrD,uFAAuF;YACvFR,eAAef;QACjB;QACAU;QACAI;QACAI;QACAH,eAAepB,mBAAuCoB,eAAe;YACnES,aAAaxB;YACbyB,cAAc;gBACZd;gBACAD;gBACAO;gBACAS,SAASd;gBACTe,QAAQd;gBACRe,eAAef;gBACfgB,gBAAgB,CAACC,GAAG,EAAEC,SAAS,EAAE,GAAKZ,sBAAsBY;gBAC5DC,eAAe,CAACF,GAAG,EAAEC,SAAS,EAAE;oBAC9B,IAAIA,cAAc,SAAS;wBACzBZ,sBAAsB;oBACxB;gBACF;YACF;QACF;QAEA,mBAAmB;QACnBc,QAAQ/B;IACV;AACF,EAAE;AAEF,OAAO,MAAMoB,+BAA+B,CAC1Cb,OACAJ;IAEA,MAAM,EAAEM,QAAQ,EAAEC,IAAI,EAAEC,cAAc,EAAE,GAAGZ,sBAAsBQ;IAEjE,OAAO;QACLc,YAAY;YACVW,MAAM;QACR;QAEAA,MAAMrC,KAAKsC,MAAM,CACfvC,yBAAyB,OAAO;YAC9B,GAAGa,KAAK;YACRJ;YACA,eAAe,CAACQ,kBAAkB,CAACD,OAAO,OAAOwB;QACnD,IACA;YAAEZ,aAAa;QAAM;QAGvBZ;QACAD;QACAE;IACF;AACF,EAAE"}
1
+ {"version":3,"sources":["../src/components/InlineDrawer/useInlineDrawer.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { PresenceDirection } from '@fluentui/react-motion';\nimport { presenceMotionSlot } from '@fluentui/react-motion';\nimport { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';\nimport { useFluent_unstable as useFluent } from '@fluentui/react-shared-contexts';\n\nimport { type DrawerMotionParams, InlineDrawerMotion } from '../../shared/drawerMotions';\nimport { useDrawerDefaultProps } from '../../shared/useDrawerDefaultProps';\nimport type {\n InlineDrawerBaseProps,\n InlineDrawerBaseState,\n InlineDrawerProps,\n InlineDrawerState,\n SurfaceMotionSlotProps,\n} from './InlineDrawer.types';\n\nconst STATIC_MOTION = {\n active: true,\n canRender: true,\n ref: React.createRef<HTMLDivElement>(),\n type: 'idle' as const,\n};\n\n/**\n * Create the state required to render InlineDrawer.\n *\n * The returned state can be modified with hooks such as useInlineDrawerStyles_unstable,\n * before being passed to renderInlineDrawer_unstable.\n *\n * @param props - props from this instance of InlineDrawer\n * @param ref - reference to root HTMLElement of InlineDrawer\n */\nexport const useInlineDrawer_unstable = (props: InlineDrawerProps, ref: React.Ref<HTMLElement>): InlineDrawerState => {\n const { size, position, open, unmountOnClose } = useDrawerDefaultProps(props);\n const { separator = false, surfaceMotion, ...baseProps } = props;\n const { dir } = useFluent();\n const [animationDirection, setAnimationDirection] = React.useState<PresenceDirection>(open ? 'enter' : 'exit');\n\n const baseState = useInlineDrawerBase_unstable(baseProps, ref);\n\n return {\n ...baseState,\n components: {\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n ...baseState.components,\n // casting from internal type that has required properties\n // to external type that only has optional properties\n // converting to unknown first as both Function component signatures are not compatible\n surfaceMotion: InlineDrawerMotion as unknown as React.FC<SurfaceMotionSlotProps>,\n },\n size,\n separator,\n animationDirection,\n surfaceMotion: presenceMotionSlot<DrawerMotionParams>(surfaceMotion, {\n elementType: InlineDrawerMotion,\n defaultProps: {\n position,\n size,\n dir,\n visible: open,\n appear: unmountOnClose,\n unmountOnExit: unmountOnClose,\n onMotionFinish: (_, { direction }) => setAnimationDirection(direction),\n onMotionStart: (_, { direction }) => {\n if (direction === 'enter') {\n setAnimationDirection('enter');\n }\n },\n },\n }),\n\n // Deprecated props\n motion: STATIC_MOTION,\n } satisfies InlineDrawerState;\n};\n\nexport const useInlineDrawerBase_unstable = (\n props: InlineDrawerBaseProps,\n ref: React.Ref<HTMLElement>,\n): InlineDrawerBaseState => {\n const { position, open, unmountOnClose } = useDrawerDefaultProps(props);\n\n return {\n components: {\n root: 'div',\n },\n\n root: slot.always(\n getIntrinsicElementProps('div', {\n ...props,\n ref,\n 'aria-hidden': !unmountOnClose && !open ? true : undefined,\n }),\n { elementType: 'div' },\n ),\n\n open,\n position,\n unmountOnClose,\n } satisfies InlineDrawerBaseState;\n};\n"],"names":["React","presenceMotionSlot","getIntrinsicElementProps","slot","useFluent_unstable","useFluent","InlineDrawerMotion","useDrawerDefaultProps","STATIC_MOTION","active","canRender","ref","createRef","type","useInlineDrawer_unstable","props","size","position","open","unmountOnClose","separator","surfaceMotion","baseProps","dir","animationDirection","setAnimationDirection","useState","baseState","useInlineDrawerBase_unstable","components","elementType","defaultProps","visible","appear","unmountOnExit","onMotionFinish","_","direction","onMotionStart","motion","root","always","undefined"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAE/B,SAASC,kBAAkB,QAAQ,yBAAyB;AAC5D,SAASC,wBAAwB,EAAEC,IAAI,QAAQ,4BAA4B;AAC3E,SAASC,sBAAsBC,SAAS,QAAQ,kCAAkC;AAElF,SAAkCC,kBAAkB,QAAQ,gCAA6B;AACzF,SAASC,qBAAqB,QAAQ,wCAAqC;AAS3E,MAAMC,gBAAgB;IACpBC,QAAQ;IACRC,WAAW;IACXC,KAAKX,MAAMY,SAAS;IACpBC,MAAM;AACR;AAEA;;;;;;;;CAQC,GACD,OAAO,MAAMC,2BAA2B,CAACC,OAA0BJ;IACjE,MAAM,EAAEK,IAAI,EAAEC,QAAQ,EAAEC,IAAI,EAAEC,cAAc,EAAE,GAAGZ,sBAAsBQ;IACvE,MAAM,EAAEK,YAAY,KAAK,EAAEC,aAAa,EAAE,GAAGC,WAAW,GAAGP;IAC3D,MAAM,EAAEQ,GAAG,EAAE,GAAGlB;IAChB,MAAM,CAACmB,oBAAoBC,sBAAsB,GAAGzB,MAAM0B,QAAQ,CAAoBR,OAAO,UAAU;IAEvG,MAAMS,YAAYC,6BAA6BN,WAAWX;IAE1D,OAAO;QACL,GAAGgB,SAAS;QACZE,YAAY;YACV,4DAA4D;YAC5D,GAAGF,UAAUE,UAAU;YACvB,0DAA0D;YAC1D,qDAAqD;YACrD,uFAAuF;YACvFR,eAAef;QACjB;QACAU;QACAI;QACAI;QACAH,eAAepB,mBAAuCoB,eAAe;YACnES,aAAaxB;YACbyB,cAAc;gBACZd;gBACAD;gBACAO;gBACAS,SAASd;gBACTe,QAAQd;gBACRe,eAAef;gBACfgB,gBAAgB,CAACC,GAAG,EAAEC,SAAS,EAAE,GAAKZ,sBAAsBY;gBAC5DC,eAAe,CAACF,GAAG,EAAEC,SAAS,EAAE;oBAC9B,IAAIA,cAAc,SAAS;wBACzBZ,sBAAsB;oBACxB;gBACF;YACF;QACF;QAEA,mBAAmB;QACnBc,QAAQ/B;IACV;AACF,EAAE;AAEF,OAAO,MAAMoB,+BAA+B,CAC1Cb,OACAJ;IAEA,MAAM,EAAEM,QAAQ,EAAEC,IAAI,EAAEC,cAAc,EAAE,GAAGZ,sBAAsBQ;IAEjE,OAAO;QACLc,YAAY;YACVW,MAAM;QACR;QAEAA,MAAMrC,KAAKsC,MAAM,CACfvC,yBAAyB,OAAO;YAC9B,GAAGa,KAAK;YACRJ;YACA,eAAe,CAACQ,kBAAkB,CAACD,OAAO,OAAOwB;QACnD,IACA;YAAEZ,aAAa;QAAM;QAGvBZ;QACAD;QACAE;IACF;AACF,EAAE"}
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
- import { __resetStyles, __styles, mergeClasses } from '@griffel/react';
4
- import { tokens } from '@fluentui/react-theme';
5
- import { drawerCSSVars, drawerDefaultStyles, useDrawerBaseClassNames } from '../../shared/useDrawerBaseStyles.styles';
3
+ import { __resetStyles, __styles, mergeClasses } from "@griffel/react";
4
+ import { tokens } from "@fluentui/react-theme";
5
+ import { drawerCSSVars, drawerDefaultStyles, useDrawerBaseClassNames } from "../../shared/useDrawerBaseStyles.styles.js";
6
6
  export const inlineDrawerClassNames = {
7
7
  root: 'fui-InlineDrawer'
8
8
  };
@@ -1 +1 @@
1
- {"version":3,"names":["__resetStyles","__styles","mergeClasses","tokens","drawerCSSVars","drawerDefaultStyles","useDrawerBaseClassNames","inlineDrawerClassNames","root","useDrawerResetStyles","borderValue","colorNeutralBackground3","useDrawerRootStyles","separatorStart","h3c5rm","vrafjx","Bekrc4i","u1mtju","separatorEnd","zhjwy3","wvpqe5","ibv6hh","B4g9neb","separatorBottom","g2u3we","icvyot","B4j52fo","i8vvqc","start","end","bottom","a9b677","Bqenvij","animationExitStart","Bgfg5da","B9xav0g","oivjwe","Bn0qgzm","irswps","animationExitEnd","animationExitBottom","d","p","getSeparatorClass","state","classNames","separator","undefined","position","getAnimationExitClass","useInlineDrawerStyles_unstable","resetStyles","baseClassNames","rootStyles","className","animationDirection"],"sources":["useInlineDrawerStyles.styles.js"],"sourcesContent":["'use client';\nimport { makeResetStyles, makeStyles, mergeClasses } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport { drawerCSSVars, drawerDefaultStyles, useDrawerBaseClassNames } from '../../shared/useDrawerBaseStyles.styles';\nexport const inlineDrawerClassNames = {\n root: 'fui-InlineDrawer'\n};\nconst useDrawerResetStyles = makeResetStyles({\n ...drawerDefaultStyles,\n position: 'relative'\n});\n/**\n * Styles for the root slot\n */ const borderValue = `1px solid ${tokens.colorNeutralBackground3}`;\nconst useDrawerRootStyles = makeStyles({\n /* Separator */ separatorStart: {\n borderRight: borderValue\n },\n separatorEnd: {\n borderLeft: borderValue\n },\n separatorBottom: {\n borderTop: borderValue\n },\n /* Positioning */ start: {},\n end: {},\n bottom: {\n width: '100%',\n height: `var(${drawerCSSVars.drawerSizeVar})`\n },\n /* Animation exit states */ animationExitStart: {\n width: '0',\n border: 'none'\n },\n animationExitEnd: {\n width: '0',\n border: 'none'\n },\n animationExitBottom: {\n height: '0',\n border: 'none'\n }\n});\nfunction getSeparatorClass(state, classNames) {\n if (!state.separator) {\n return undefined;\n }\n switch(state.position){\n case 'start':\n return classNames.separatorStart;\n case 'end':\n return classNames.separatorEnd;\n case 'bottom':\n return classNames.separatorBottom;\n default:\n return undefined;\n }\n}\nfunction getAnimationExitClass(state, classNames) {\n switch(state.position){\n case 'start':\n return classNames.animationExitStart;\n case 'end':\n return classNames.animationExitEnd;\n case 'bottom':\n return classNames.animationExitBottom;\n default:\n return undefined;\n }\n}\n/**\n * Apply styling to the InlineDrawer slots based on the state\n */ export const useInlineDrawerStyles_unstable = (state)=>{\n const resetStyles = useDrawerResetStyles();\n const baseClassNames = useDrawerBaseClassNames(state);\n const rootStyles = useDrawerRootStyles();\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(inlineDrawerClassNames.root, resetStyles, baseClassNames, getSeparatorClass(state, rootStyles), rootStyles[state.position], state.animationDirection === 'exit' && getAnimationExitClass(state, rootStyles), state.root.className);\n return state;\n};\n"],"mappings":"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","ignoreList":[]}
1
+ {"version":3,"names":["__resetStyles","__styles","mergeClasses","tokens","drawerCSSVars","drawerDefaultStyles","useDrawerBaseClassNames","inlineDrawerClassNames","root","useDrawerResetStyles","borderValue","colorNeutralBackground3","useDrawerRootStyles","separatorStart","h3c5rm","vrafjx","Bekrc4i","u1mtju","separatorEnd","zhjwy3","wvpqe5","ibv6hh","B4g9neb","separatorBottom","g2u3we","icvyot","B4j52fo","i8vvqc","start","end","bottom","a9b677","Bqenvij","animationExitStart","Bgfg5da","B9xav0g","oivjwe","Bn0qgzm","irswps","animationExitEnd","animationExitBottom","d","p","getSeparatorClass","state","classNames","separator","undefined","position","getAnimationExitClass","useInlineDrawerStyles_unstable","resetStyles","baseClassNames","rootStyles","className","animationDirection"],"sources":["useInlineDrawerStyles.styles.js"],"sourcesContent":["'use client';\nimport { makeResetStyles, makeStyles, mergeClasses } from \"@griffel/react\";\nimport { tokens } from \"@fluentui/react-theme\";\nimport { drawerCSSVars, drawerDefaultStyles, useDrawerBaseClassNames } from \"../../shared/useDrawerBaseStyles.styles.js\";\nexport const inlineDrawerClassNames = {\n root: 'fui-InlineDrawer'\n};\nconst useDrawerResetStyles = makeResetStyles({\n ...drawerDefaultStyles,\n position: 'relative'\n});\n/**\n * Styles for the root slot\n */ const borderValue = `1px solid ${tokens.colorNeutralBackground3}`;\nconst useDrawerRootStyles = makeStyles({\n /* Separator */ separatorStart: {\n borderRight: borderValue\n },\n separatorEnd: {\n borderLeft: borderValue\n },\n separatorBottom: {\n borderTop: borderValue\n },\n /* Positioning */ start: {},\n end: {},\n bottom: {\n width: '100%',\n height: `var(${drawerCSSVars.drawerSizeVar})`\n },\n /* Animation exit states */ animationExitStart: {\n width: '0',\n border: 'none'\n },\n animationExitEnd: {\n width: '0',\n border: 'none'\n },\n animationExitBottom: {\n height: '0',\n border: 'none'\n }\n});\nfunction getSeparatorClass(state, classNames) {\n if (!state.separator) {\n return undefined;\n }\n switch(state.position){\n case 'start':\n return classNames.separatorStart;\n case 'end':\n return classNames.separatorEnd;\n case 'bottom':\n return classNames.separatorBottom;\n default:\n return undefined;\n }\n}\nfunction getAnimationExitClass(state, classNames) {\n switch(state.position){\n case 'start':\n return classNames.animationExitStart;\n case 'end':\n return classNames.animationExitEnd;\n case 'bottom':\n return classNames.animationExitBottom;\n default:\n return undefined;\n }\n}\n/**\n * Apply styling to the InlineDrawer slots based on the state\n */ export const useInlineDrawerStyles_unstable = (state)=>{\n const resetStyles = useDrawerResetStyles();\n const baseClassNames = useDrawerBaseClassNames(state);\n const rootStyles = useDrawerRootStyles();\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(inlineDrawerClassNames.root, resetStyles, baseClassNames, getSeparatorClass(state, rootStyles), rootStyles[state.position], state.animationDirection === 'exit' && getAnimationExitClass(state, rootStyles), state.root.className);\n return state;\n};\n"],"mappings":"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","ignoreList":[]}
@@ -1,7 +1,7 @@
1
1
  'use client';
2
- import { makeResetStyles, makeStyles, mergeClasses } from '@griffel/react';
3
- import { tokens } from '@fluentui/react-theme';
4
- import { drawerCSSVars, drawerDefaultStyles, useDrawerBaseClassNames } from '../../shared/useDrawerBaseStyles.styles';
2
+ import { makeResetStyles, makeStyles, mergeClasses } from "@griffel/react";
3
+ import { tokens } from "@fluentui/react-theme";
4
+ import { drawerCSSVars, drawerDefaultStyles, useDrawerBaseClassNames } from "../../shared/useDrawerBaseStyles.styles.js";
5
5
  export const inlineDrawerClassNames = {
6
6
  root: 'fui-InlineDrawer'
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/InlineDrawer/useInlineDrawerStyles.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeResetStyles, makeStyles, mergeClasses } from '@griffel/react';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport { tokens } from '@fluentui/react-theme';\n\nimport type { InlineDrawerSlots, InlineDrawerState } from './InlineDrawer.types';\nimport { drawerCSSVars, drawerDefaultStyles, useDrawerBaseClassNames } from '../../shared/useDrawerBaseStyles.styles';\n\nexport const inlineDrawerClassNames: SlotClassNames<Omit<InlineDrawerSlots, 'surfaceMotion'>> = {\n root: 'fui-InlineDrawer',\n};\n\nconst useDrawerResetStyles = makeResetStyles({\n ...drawerDefaultStyles,\n position: 'relative',\n});\n\n/**\n * Styles for the root slot\n */\nconst borderValue = `1px solid ${tokens.colorNeutralBackground3}`;\nconst useDrawerRootStyles = makeStyles({\n /* Separator */\n separatorStart: { borderRight: borderValue },\n separatorEnd: { borderLeft: borderValue },\n separatorBottom: { borderTop: borderValue },\n\n /* Positioning */\n start: {},\n end: {},\n bottom: {\n width: '100%',\n height: `var(${drawerCSSVars.drawerSizeVar})`,\n },\n\n /* Animation exit states */\n animationExitStart: {\n width: '0',\n border: 'none',\n },\n animationExitEnd: {\n width: '0',\n border: 'none',\n },\n animationExitBottom: {\n height: '0',\n border: 'none',\n },\n});\n\nfunction getSeparatorClass(state: InlineDrawerState, classNames: ReturnType<typeof useDrawerRootStyles>) {\n if (!state.separator) {\n return undefined;\n }\n\n switch (state.position) {\n case 'start':\n return classNames.separatorStart;\n\n case 'end':\n return classNames.separatorEnd;\n\n case 'bottom':\n return classNames.separatorBottom;\n\n default:\n return undefined;\n }\n}\n\nfunction getAnimationExitClass(state: InlineDrawerState, classNames: ReturnType<typeof useDrawerRootStyles>) {\n switch (state.position) {\n case 'start':\n return classNames.animationExitStart;\n\n case 'end':\n return classNames.animationExitEnd;\n\n case 'bottom':\n return classNames.animationExitBottom;\n\n default:\n return undefined;\n }\n}\n\n/**\n * Apply styling to the InlineDrawer slots based on the state\n */\nexport const useInlineDrawerStyles_unstable = (state: InlineDrawerState): InlineDrawerState => {\n const resetStyles = useDrawerResetStyles();\n const baseClassNames = useDrawerBaseClassNames(state);\n const rootStyles = useDrawerRootStyles();\n\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(\n inlineDrawerClassNames.root,\n resetStyles,\n baseClassNames,\n getSeparatorClass(state, rootStyles),\n rootStyles[state.position],\n state.animationDirection === 'exit' && getAnimationExitClass(state, rootStyles),\n state.root.className,\n );\n\n return state;\n};\n"],"names":["makeResetStyles","makeStyles","mergeClasses","tokens","drawerCSSVars","drawerDefaultStyles","useDrawerBaseClassNames","inlineDrawerClassNames","root","useDrawerResetStyles","position","borderValue","colorNeutralBackground3","useDrawerRootStyles","separatorStart","borderRight","separatorEnd","borderLeft","separatorBottom","borderTop","start","end","bottom","width","height","drawerSizeVar","animationExitStart","border","animationExitEnd","animationExitBottom","getSeparatorClass","state","classNames","separator","undefined","getAnimationExitClass","useInlineDrawerStyles_unstable","resetStyles","baseClassNames","rootStyles","className","animationDirection"],"mappings":"AAAA;AAEA,SAASA,eAAe,EAAEC,UAAU,EAAEC,YAAY,QAAQ,iBAAiB;AAE3E,SAASC,MAAM,QAAQ,wBAAwB;AAG/C,SAASC,aAAa,EAAEC,mBAAmB,EAAEC,uBAAuB,QAAQ,0CAA0C;AAEtH,OAAO,MAAMC,yBAAmF;IAC9FC,MAAM;AACR,EAAE;AAEF,MAAMC,uBAAuBT,gBAAgB;IAC3C,GAAGK,mBAAmB;IACtBK,UAAU;AACZ;AAEA;;CAEC,GACD,MAAMC,cAAc,CAAC,UAAU,EAAER,OAAOS,uBAAuB,EAAE;AACjE,MAAMC,sBAAsBZ,WAAW;IACrC,aAAa,GACba,gBAAgB;QAAEC,aAAaJ;IAAY;IAC3CK,cAAc;QAAEC,YAAYN;IAAY;IACxCO,iBAAiB;QAAEC,WAAWR;IAAY;IAE1C,eAAe,GACfS,OAAO,CAAC;IACRC,KAAK,CAAC;IACNC,QAAQ;QACNC,OAAO;QACPC,QAAQ,CAAC,IAAI,EAAEpB,cAAcqB,aAAa,CAAC,CAAC,CAAC;IAC/C;IAEA,yBAAyB,GACzBC,oBAAoB;QAClBH,OAAO;QACPI,QAAQ;IACV;IACAC,kBAAkB;QAChBL,OAAO;QACPI,QAAQ;IACV;IACAE,qBAAqB;QACnBL,QAAQ;QACRG,QAAQ;IACV;AACF;AAEA,SAASG,kBAAkBC,KAAwB,EAAEC,UAAkD;IACrG,IAAI,CAACD,MAAME,SAAS,EAAE;QACpB,OAAOC;IACT;IAEA,OAAQH,MAAMrB,QAAQ;QACpB,KAAK;YACH,OAAOsB,WAAWlB,cAAc;QAElC,KAAK;YACH,OAAOkB,WAAWhB,YAAY;QAEhC,KAAK;YACH,OAAOgB,WAAWd,eAAe;QAEnC;YACE,OAAOgB;IACX;AACF;AAEA,SAASC,sBAAsBJ,KAAwB,EAAEC,UAAkD;IACzG,OAAQD,MAAMrB,QAAQ;QACpB,KAAK;YACH,OAAOsB,WAAWN,kBAAkB;QAEtC,KAAK;YACH,OAAOM,WAAWJ,gBAAgB;QAEpC,KAAK;YACH,OAAOI,WAAWH,mBAAmB;QAEvC;YACE,OAAOK;IACX;AACF;AAEA;;CAEC,GACD,OAAO,MAAME,iCAAiC,CAACL;IAC7C,MAAMM,cAAc5B;IACpB,MAAM6B,iBAAiBhC,wBAAwByB;IAC/C,MAAMQ,aAAa1B;IAEnB,oDAAoD;IACpDkB,MAAMvB,IAAI,CAACgC,SAAS,GAAGtC,aACrBK,uBAAuBC,IAAI,EAC3B6B,aACAC,gBACAR,kBAAkBC,OAAOQ,aACzBA,UAAU,CAACR,MAAMrB,QAAQ,CAAC,EAC1BqB,MAAMU,kBAAkB,KAAK,UAAUN,sBAAsBJ,OAAOQ,aACpER,MAAMvB,IAAI,CAACgC,SAAS;IAGtB,OAAOT;AACT,EAAE"}
1
+ {"version":3,"sources":["../src/components/InlineDrawer/useInlineDrawerStyles.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeResetStyles, makeStyles, mergeClasses } from '@griffel/react';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport { tokens } from '@fluentui/react-theme';\n\nimport type { InlineDrawerSlots, InlineDrawerState } from './InlineDrawer.types';\nimport { drawerCSSVars, drawerDefaultStyles, useDrawerBaseClassNames } from '../../shared/useDrawerBaseStyles.styles';\n\nexport const inlineDrawerClassNames: SlotClassNames<Omit<InlineDrawerSlots, 'surfaceMotion'>> = {\n root: 'fui-InlineDrawer',\n};\n\nconst useDrawerResetStyles = makeResetStyles({\n ...drawerDefaultStyles,\n position: 'relative',\n});\n\n/**\n * Styles for the root slot\n */\nconst borderValue = `1px solid ${tokens.colorNeutralBackground3}`;\nconst useDrawerRootStyles = makeStyles({\n /* Separator */\n separatorStart: { borderRight: borderValue },\n separatorEnd: { borderLeft: borderValue },\n separatorBottom: { borderTop: borderValue },\n\n /* Positioning */\n start: {},\n end: {},\n bottom: {\n width: '100%',\n height: `var(${drawerCSSVars.drawerSizeVar})`,\n },\n\n /* Animation exit states */\n animationExitStart: {\n width: '0',\n border: 'none',\n },\n animationExitEnd: {\n width: '0',\n border: 'none',\n },\n animationExitBottom: {\n height: '0',\n border: 'none',\n },\n});\n\nfunction getSeparatorClass(state: InlineDrawerState, classNames: ReturnType<typeof useDrawerRootStyles>) {\n if (!state.separator) {\n return undefined;\n }\n\n switch (state.position) {\n case 'start':\n return classNames.separatorStart;\n\n case 'end':\n return classNames.separatorEnd;\n\n case 'bottom':\n return classNames.separatorBottom;\n\n default:\n return undefined;\n }\n}\n\nfunction getAnimationExitClass(state: InlineDrawerState, classNames: ReturnType<typeof useDrawerRootStyles>) {\n switch (state.position) {\n case 'start':\n return classNames.animationExitStart;\n\n case 'end':\n return classNames.animationExitEnd;\n\n case 'bottom':\n return classNames.animationExitBottom;\n\n default:\n return undefined;\n }\n}\n\n/**\n * Apply styling to the InlineDrawer slots based on the state\n */\nexport const useInlineDrawerStyles_unstable = (state: InlineDrawerState): InlineDrawerState => {\n const resetStyles = useDrawerResetStyles();\n const baseClassNames = useDrawerBaseClassNames(state);\n const rootStyles = useDrawerRootStyles();\n\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(\n inlineDrawerClassNames.root,\n resetStyles,\n baseClassNames,\n getSeparatorClass(state, rootStyles),\n rootStyles[state.position],\n state.animationDirection === 'exit' && getAnimationExitClass(state, rootStyles),\n state.root.className,\n );\n\n return state;\n};\n"],"names":["makeResetStyles","makeStyles","mergeClasses","tokens","drawerCSSVars","drawerDefaultStyles","useDrawerBaseClassNames","inlineDrawerClassNames","root","useDrawerResetStyles","position","borderValue","colorNeutralBackground3","useDrawerRootStyles","separatorStart","borderRight","separatorEnd","borderLeft","separatorBottom","borderTop","start","end","bottom","width","height","drawerSizeVar","animationExitStart","border","animationExitEnd","animationExitBottom","getSeparatorClass","state","classNames","separator","undefined","getAnimationExitClass","useInlineDrawerStyles_unstable","resetStyles","baseClassNames","rootStyles","className","animationDirection"],"mappings":"AAAA;AAEA,SAASA,eAAe,EAAEC,UAAU,EAAEC,YAAY,QAAQ,iBAAiB;AAE3E,SAASC,MAAM,QAAQ,wBAAwB;AAG/C,SAASC,aAAa,EAAEC,mBAAmB,EAAEC,uBAAuB,QAAQ,6CAA0C;AAEtH,OAAO,MAAMC,yBAAmF;IAC9FC,MAAM;AACR,EAAE;AAEF,MAAMC,uBAAuBT,gBAAgB;IAC3C,GAAGK,mBAAmB;IACtBK,UAAU;AACZ;AAEA;;CAEC,GACD,MAAMC,cAAc,CAAC,UAAU,EAAER,OAAOS,uBAAuB,EAAE;AACjE,MAAMC,sBAAsBZ,WAAW;IACrC,aAAa,GACba,gBAAgB;QAAEC,aAAaJ;IAAY;IAC3CK,cAAc;QAAEC,YAAYN;IAAY;IACxCO,iBAAiB;QAAEC,WAAWR;IAAY;IAE1C,eAAe,GACfS,OAAO,CAAC;IACRC,KAAK,CAAC;IACNC,QAAQ;QACNC,OAAO;QACPC,QAAQ,CAAC,IAAI,EAAEpB,cAAcqB,aAAa,CAAC,CAAC,CAAC;IAC/C;IAEA,yBAAyB,GACzBC,oBAAoB;QAClBH,OAAO;QACPI,QAAQ;IACV;IACAC,kBAAkB;QAChBL,OAAO;QACPI,QAAQ;IACV;IACAE,qBAAqB;QACnBL,QAAQ;QACRG,QAAQ;IACV;AACF;AAEA,SAASG,kBAAkBC,KAAwB,EAAEC,UAAkD;IACrG,IAAI,CAACD,MAAME,SAAS,EAAE;QACpB,OAAOC;IACT;IAEA,OAAQH,MAAMrB,QAAQ;QACpB,KAAK;YACH,OAAOsB,WAAWlB,cAAc;QAElC,KAAK;YACH,OAAOkB,WAAWhB,YAAY;QAEhC,KAAK;YACH,OAAOgB,WAAWd,eAAe;QAEnC;YACE,OAAOgB;IACX;AACF;AAEA,SAASC,sBAAsBJ,KAAwB,EAAEC,UAAkD;IACzG,OAAQD,MAAMrB,QAAQ;QACpB,KAAK;YACH,OAAOsB,WAAWN,kBAAkB;QAEtC,KAAK;YACH,OAAOM,WAAWJ,gBAAgB;QAEpC,KAAK;YACH,OAAOI,WAAWH,mBAAmB;QAEvC;YACE,OAAOK;IACX;AACF;AAEA;;CAEC,GACD,OAAO,MAAME,iCAAiC,CAACL;IAC7C,MAAMM,cAAc5B;IACpB,MAAM6B,iBAAiBhC,wBAAwByB;IAC/C,MAAMQ,aAAa1B;IAEnB,oDAAoD;IACpDkB,MAAMvB,IAAI,CAACgC,SAAS,GAAGtC,aACrBK,uBAAuBC,IAAI,EAC3B6B,aACAC,gBACAR,kBAAkBC,OAAOQ,aACzBA,UAAU,CAACR,MAAMrB,QAAQ,CAAC,EAC1BqB,MAAMU,kBAAkB,KAAK,UAAUN,sBAAsBJ,OAAOQ,aACpER,MAAMvB,IAAI,CAACgC,SAAS;IAGtB,OAAOT;AACT,EAAE"}
@@ -1,10 +1,10 @@
1
1
  'use client';
2
- import * as React from 'react';
3
- import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
4
- import { useDrawerContextValue } from '../../contexts/drawerContext';
5
- import { useOverlayDrawer_unstable } from './useOverlayDrawer';
6
- import { renderOverlayDrawer_unstable } from './renderOverlayDrawer';
7
- import { useOverlayDrawerStyles_unstable } from './useOverlayDrawerStyles.styles';
2
+ import * as React from "react";
3
+ import { useCustomStyleHook_unstable } from "@fluentui/react-shared-contexts";
4
+ import { useDrawerContextValue } from "../../contexts/drawerContext.js";
5
+ import { useOverlayDrawer_unstable } from "./useOverlayDrawer.js";
6
+ import { renderOverlayDrawer_unstable } from "./renderOverlayDrawer.js";
7
+ import { useOverlayDrawerStyles_unstable } from "./useOverlayDrawerStyles.styles.js";
8
8
  /**
9
9
  * OverlayDrawer contains supplementary content and are used for complex creation, edit, or management experiences.
10
10
  */ export const OverlayDrawer = /*#__PURE__*/ React.forwardRef((props, ref)=>{
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/OverlayDrawer/OverlayDrawer.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\nimport { useDrawerContextValue } from '../../contexts/drawerContext';\n\nimport { useOverlayDrawer_unstable } from './useOverlayDrawer';\nimport { renderOverlayDrawer_unstable } from './renderOverlayDrawer';\nimport { useOverlayDrawerStyles_unstable } from './useOverlayDrawerStyles.styles';\nimport type { OverlayDrawerProps } from './OverlayDrawer.types';\n\n/**\n * OverlayDrawer contains supplementary content and are used for complex creation, edit, or management experiences.\n */\nexport const OverlayDrawer: ForwardRefComponent<OverlayDrawerProps> = React.forwardRef((props, ref) => {\n const state = useOverlayDrawer_unstable(props, ref);\n const contextValue = useDrawerContextValue();\n\n useOverlayDrawerStyles_unstable(state);\n useCustomStyleHook_unstable('useDrawerOverlayStyles_unstable')(state);\n useCustomStyleHook_unstable('useOverlayDrawerStyles_unstable')(state);\n\n return renderOverlayDrawer_unstable(state, contextValue);\n});\n\nOverlayDrawer.displayName = 'OverlayDrawer';\n"],"names":["React","useCustomStyleHook_unstable","useDrawerContextValue","useOverlayDrawer_unstable","renderOverlayDrawer_unstable","useOverlayDrawerStyles_unstable","OverlayDrawer","forwardRef","props","ref","state","contextValue","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAE/B,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E,SAASC,qBAAqB,QAAQ,+BAA+B;AAErE,SAASC,yBAAyB,QAAQ,qBAAqB;AAC/D,SAASC,4BAA4B,QAAQ,wBAAwB;AACrE,SAASC,+BAA+B,QAAQ,kCAAkC;AAGlF;;CAEC,GACD,OAAO,MAAMC,8BAAyDN,MAAMO,UAAU,CAAC,CAACC,OAAOC;IAC7F,MAAMC,QAAQP,0BAA0BK,OAAOC;IAC/C,MAAME,eAAeT;IAErBG,gCAAgCK;IAChCT,4BAA4B,mCAAmCS;IAC/DT,4BAA4B,mCAAmCS;IAE/D,OAAON,6BAA6BM,OAAOC;AAC7C,GAAG;AAEHL,cAAcM,WAAW,GAAG"}
1
+ {"version":3,"sources":["../src/components/OverlayDrawer/OverlayDrawer.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\nimport { useDrawerContextValue } from '../../contexts/drawerContext';\n\nimport { useOverlayDrawer_unstable } from './useOverlayDrawer';\nimport { renderOverlayDrawer_unstable } from './renderOverlayDrawer';\nimport { useOverlayDrawerStyles_unstable } from './useOverlayDrawerStyles.styles';\nimport type { OverlayDrawerProps } from './OverlayDrawer.types';\n\n/**\n * OverlayDrawer contains supplementary content and are used for complex creation, edit, or management experiences.\n */\nexport const OverlayDrawer: ForwardRefComponent<OverlayDrawerProps> = React.forwardRef((props, ref) => {\n const state = useOverlayDrawer_unstable(props, ref);\n const contextValue = useDrawerContextValue();\n\n useOverlayDrawerStyles_unstable(state);\n useCustomStyleHook_unstable('useDrawerOverlayStyles_unstable')(state);\n useCustomStyleHook_unstable('useOverlayDrawerStyles_unstable')(state);\n\n return renderOverlayDrawer_unstable(state, contextValue);\n});\n\nOverlayDrawer.displayName = 'OverlayDrawer';\n"],"names":["React","useCustomStyleHook_unstable","useDrawerContextValue","useOverlayDrawer_unstable","renderOverlayDrawer_unstable","useOverlayDrawerStyles_unstable","OverlayDrawer","forwardRef","props","ref","state","contextValue","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAE/B,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E,SAASC,qBAAqB,QAAQ,kCAA+B;AAErE,SAASC,yBAAyB,QAAQ,wBAAqB;AAC/D,SAASC,4BAA4B,QAAQ,2BAAwB;AACrE,SAASC,+BAA+B,QAAQ,qCAAkC;AAGlF;;CAEC,GACD,OAAO,MAAMC,8BAAyDN,MAAMO,UAAU,CAAC,CAACC,OAAOC;IAC7F,MAAMC,QAAQP,0BAA0BK,OAAOC;IAC/C,MAAME,eAAeT;IAErBG,gCAAgCK;IAChCT,4BAA4B,mCAAmCS;IAC/DT,4BAA4B,mCAAmCS;IAE/D,OAAON,6BAA6BM,OAAOC;AAC7C,GAAG;AAEHL,cAAcM,WAAW,GAAG"}
@@ -1,8 +1,8 @@
1
1
  'use client';
2
- import * as React from 'react';
3
- import { useDialogSurface_unstable, useDialogSurfaceContextValues_unstable, renderDialogSurface_unstable } from '@fluentui/react-dialog';
4
- import { useOverlayDrawerSurfaceStyles_unstable } from './useOverlayDrawerSurfaceStyles.styles';
5
- import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
2
+ import * as React from "react";
3
+ import { useDialogSurface_unstable, useDialogSurfaceContextValues_unstable, renderDialogSurface_unstable } from "@fluentui/react-dialog";
4
+ import { useOverlayDrawerSurfaceStyles_unstable } from "./useOverlayDrawerSurfaceStyles.styles.js";
5
+ import { useCustomStyleHook_unstable } from "@fluentui/react-shared-contexts";
6
6
  /**
7
7
  * OverlayDrawerSurface is a proxy for DialogSurface as is only meant to be used internally for Drawer.
8
8
  *
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/OverlayDrawer/OverlayDrawerSurface/OverlayDrawerSurface.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport {\n useDialogSurface_unstable,\n useDialogSurfaceContextValues_unstable,\n renderDialogSurface_unstable,\n} from '@fluentui/react-dialog';\n\nimport { useOverlayDrawerSurfaceStyles_unstable } from './useOverlayDrawerSurfaceStyles.styles';\nimport type { OverlayDrawerSurfaceProps } from './OverlayDrawerSurface.types';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * OverlayDrawerSurface is a proxy for DialogSurface as is only meant to be used internally for Drawer.\n *\n * @internal\n */\nexport const OverlayDrawerSurface: ForwardRefComponent<OverlayDrawerSurfaceProps> = React.forwardRef((props, ref) => {\n const dialogSurfaceState = useDialogSurface_unstable(\n {\n ...props,\n /**\n * Drawer accepts a `div` or `aside` element type, but Dialog only accepts a `div` element type.\n * We need to cast the ref to a `div` element type to not break Dialog's ref type.\n *\n * FIXME: Evaluate the possibility to remove this cast when Dialog is refactored to accept `aside` elements.\n */\n as: props.as as 'div',\n },\n ref,\n );\n const dialogSurfaceContextValues = useDialogSurfaceContextValues_unstable(dialogSurfaceState);\n\n useOverlayDrawerSurfaceStyles_unstable(dialogSurfaceState);\n useCustomStyleHook_unstable('useOverlayDrawerSurfaceStyles_unstable')(dialogSurfaceState);\n\n return renderDialogSurface_unstable(dialogSurfaceState, dialogSurfaceContextValues);\n});\n\nOverlayDrawerSurface.displayName = 'OverlayDrawerSurface';\n"],"names":["React","useDialogSurface_unstable","useDialogSurfaceContextValues_unstable","renderDialogSurface_unstable","useOverlayDrawerSurfaceStyles_unstable","useCustomStyleHook_unstable","OverlayDrawerSurface","forwardRef","props","ref","dialogSurfaceState","as","dialogSurfaceContextValues","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAE/B,SACEC,yBAAyB,EACzBC,sCAAsC,EACtCC,4BAA4B,QACvB,yBAAyB;AAEhC,SAASC,sCAAsC,QAAQ,yCAAyC;AAEhG,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E;;;;CAIC,GACD,OAAO,MAAMC,qCAAuEN,MAAMO,UAAU,CAAC,CAACC,OAAOC;IAC3G,MAAMC,qBAAqBT,0BACzB;QACE,GAAGO,KAAK;QACR;;;;;OAKC,GACDG,IAAIH,MAAMG,EAAE;IACd,GACAF;IAEF,MAAMG,6BAA6BV,uCAAuCQ;IAE1EN,uCAAuCM;IACvCL,4BAA4B,0CAA0CK;IAEtE,OAAOP,6BAA6BO,oBAAoBE;AAC1D,GAAG;AAEHN,qBAAqBO,WAAW,GAAG"}
1
+ {"version":3,"sources":["../src/components/OverlayDrawer/OverlayDrawerSurface/OverlayDrawerSurface.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport {\n useDialogSurface_unstable,\n useDialogSurfaceContextValues_unstable,\n renderDialogSurface_unstable,\n} from '@fluentui/react-dialog';\n\nimport { useOverlayDrawerSurfaceStyles_unstable } from './useOverlayDrawerSurfaceStyles.styles';\nimport type { OverlayDrawerSurfaceProps } from './OverlayDrawerSurface.types';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * OverlayDrawerSurface is a proxy for DialogSurface as is only meant to be used internally for Drawer.\n *\n * @internal\n */\nexport const OverlayDrawerSurface: ForwardRefComponent<OverlayDrawerSurfaceProps> = React.forwardRef((props, ref) => {\n const dialogSurfaceState = useDialogSurface_unstable(\n {\n ...props,\n /**\n * Drawer accepts a `div` or `aside` element type, but Dialog only accepts a `div` element type.\n * We need to cast the ref to a `div` element type to not break Dialog's ref type.\n *\n * FIXME: Evaluate the possibility to remove this cast when Dialog is refactored to accept `aside` elements.\n */\n as: props.as as 'div',\n },\n ref,\n );\n const dialogSurfaceContextValues = useDialogSurfaceContextValues_unstable(dialogSurfaceState);\n\n useOverlayDrawerSurfaceStyles_unstable(dialogSurfaceState);\n useCustomStyleHook_unstable('useOverlayDrawerSurfaceStyles_unstable')(dialogSurfaceState);\n\n return renderDialogSurface_unstable(dialogSurfaceState, dialogSurfaceContextValues);\n});\n\nOverlayDrawerSurface.displayName = 'OverlayDrawerSurface';\n"],"names":["React","useDialogSurface_unstable","useDialogSurfaceContextValues_unstable","renderDialogSurface_unstable","useOverlayDrawerSurfaceStyles_unstable","useCustomStyleHook_unstable","OverlayDrawerSurface","forwardRef","props","ref","dialogSurfaceState","as","dialogSurfaceContextValues","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAE/B,SACEC,yBAAyB,EACzBC,sCAAsC,EACtCC,4BAA4B,QACvB,yBAAyB;AAEhC,SAASC,sCAAsC,QAAQ,4CAAyC;AAEhG,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E;;;;CAIC,GACD,OAAO,MAAMC,qCAAuEN,MAAMO,UAAU,CAAC,CAACC,OAAOC;IAC3G,MAAMC,qBAAqBT,0BACzB;QACE,GAAGO,KAAK;QACR;;;;;OAKC,GACDG,IAAIH,MAAMG,EAAE;IACd,GACAF;IAEF,MAAMG,6BAA6BV,uCAAuCQ;IAE1EN,uCAAuCM;IACvCL,4BAA4B,0CAA0CK;IAEtE,OAAOP,6BAA6BO,oBAAoBE;AAC1D,GAAG;AAEHN,qBAAqBO,WAAW,GAAG"}
@@ -1 +1 @@
1
- export { OverlayDrawerSurface } from './OverlayDrawerSurface';
1
+ export { OverlayDrawerSurface } from "./OverlayDrawerSurface.js";
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/OverlayDrawer/OverlayDrawerSurface/index.ts"],"sourcesContent":["export { OverlayDrawerSurface } from './OverlayDrawerSurface';\nexport type { OverlayDrawerSurfaceProps, OverlayDrawerSurfaceSlots } from './OverlayDrawerSurface.types';\n"],"names":["OverlayDrawerSurface"],"mappings":"AAAA,SAASA,oBAAoB,QAAQ,yBAAyB"}
1
+ {"version":3,"sources":["../src/components/OverlayDrawer/OverlayDrawerSurface/index.ts"],"sourcesContent":["export { OverlayDrawerSurface } from './OverlayDrawerSurface';\nexport type { OverlayDrawerSurfaceProps, OverlayDrawerSurfaceSlots } from './OverlayDrawerSurface.types';\n"],"names":["OverlayDrawerSurface"],"mappings":"AAAA,SAASA,oBAAoB,QAAQ,4BAAyB"}
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import { __resetStyles, __styles, mergeClasses } from '@griffel/react';
4
- import { tokens } from '@fluentui/react-theme';
3
+ import { __resetStyles, __styles, mergeClasses } from "@griffel/react";
4
+ import { tokens } from "@fluentui/react-theme";
5
5
  /**
6
6
  * Styles for the backdrop slot
7
7
  */
@@ -1 +1 @@
1
- {"version":3,"names":["__resetStyles","__styles","mergeClasses","tokens","useBackdropResetStyles","useBackdropStyles","nested","De3pzq","drawerHidden","Bkecrkj","d","useOverlayDrawerSurfaceStyles_unstable","state","treatBackdropAsNested","backdrop","open","unmountOnClose","backdropResetStyles","backdropStyles","mountedAndClosed","className"],"sources":["useOverlayDrawerSurfaceStyles.styles.js"],"sourcesContent":["'use client';\nimport { makeResetStyles, makeStyles, mergeClasses } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\n/**\n * Styles for the backdrop slot\n */ const useBackdropResetStyles = makeResetStyles({\n inset: '0px',\n position: 'fixed',\n backgroundColor: tokens.colorBackgroundOverlay\n});\nconst useBackdropStyles = makeStyles({\n nested: {\n backgroundColor: tokens.colorTransparentBackground\n },\n drawerHidden: {\n pointerEvents: 'none'\n }\n});\n/**\n * Apply styling to the OverlayDrawerSurface slots based on the state\n */ export const useOverlayDrawerSurfaceStyles_unstable = (state)=>{\n const { treatBackdropAsNested, backdrop, open, unmountOnClose } = state;\n const backdropResetStyles = useBackdropResetStyles();\n const backdropStyles = useBackdropStyles();\n const mountedAndClosed = !unmountOnClose && !open;\n if (backdrop) {\n // eslint-disable-next-line react-hooks/immutability\n backdrop.className = mergeClasses(backdropResetStyles, treatBackdropAsNested && backdropStyles.nested, mountedAndClosed && backdropStyles.drawerHidden, backdrop.className);\n }\n return state;\n};\n"],"mappings":"AAAA,YAAY;;AACZ,SAAAA,aAAA,EAAAC,QAAA,EAAsCC,YAAY,QAAQ,gBAAgB;AAC1E,SAASC,MAAM,QAAQ,uBAAuB;AAC9C;AACA;AACA;AAAI,MAAMC,sBAAsB,gBAAGJ,aAAA,wGAIlC,CAAC;AACF,MAAMK,iBAAiB,gBAAGJ,QAAA;EAAAK,MAAA;IAAAC,MAAA;EAAA;EAAAC,YAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,CAOzB,CAAC;AACF;AACA;AACA;AAAI,OAAO,MAAMC,sCAAsC,GAAIC,KAAK,IAAG;EAC/D,MAAM;IAAEC,qBAAqB;IAAEC,QAAQ;IAAEC,IAAI;IAAEC;EAAe,CAAC,GAAGJ,KAAK;EACvE,MAAMK,mBAAmB,GAAGb,sBAAsB,CAAC,CAAC;EACpD,MAAMc,cAAc,GAAGb,iBAAiB,CAAC,CAAC;EAC1C,MAAMc,gBAAgB,GAAG,CAACH,cAAc,IAAI,CAACD,IAAI;EACjD,IAAID,QAAQ,EAAE;IACV;IACAA,QAAQ,CAACM,SAAS,GAAGlB,YAAY,CAACe,mBAAmB,EAAEJ,qBAAqB,IAAIK,cAAc,CAACZ,MAAM,EAAEa,gBAAgB,IAAID,cAAc,CAACV,YAAY,EAAEM,QAAQ,CAACM,SAAS,CAAC;EAC/K;EACA,OAAOR,KAAK;AAChB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["__resetStyles","__styles","mergeClasses","tokens","useBackdropResetStyles","useBackdropStyles","nested","De3pzq","drawerHidden","Bkecrkj","d","useOverlayDrawerSurfaceStyles_unstable","state","treatBackdropAsNested","backdrop","open","unmountOnClose","backdropResetStyles","backdropStyles","mountedAndClosed","className"],"sources":["useOverlayDrawerSurfaceStyles.styles.js"],"sourcesContent":["'use client';\nimport { makeResetStyles, makeStyles, mergeClasses } from \"@griffel/react\";\nimport { tokens } from \"@fluentui/react-theme\";\n/**\n * Styles for the backdrop slot\n */ const useBackdropResetStyles = makeResetStyles({\n inset: '0px',\n position: 'fixed',\n backgroundColor: tokens.colorBackgroundOverlay\n});\nconst useBackdropStyles = makeStyles({\n nested: {\n backgroundColor: tokens.colorTransparentBackground\n },\n drawerHidden: {\n pointerEvents: 'none'\n }\n});\n/**\n * Apply styling to the OverlayDrawerSurface slots based on the state\n */ export const useOverlayDrawerSurfaceStyles_unstable = (state)=>{\n const { treatBackdropAsNested, backdrop, open, unmountOnClose } = state;\n const backdropResetStyles = useBackdropResetStyles();\n const backdropStyles = useBackdropStyles();\n const mountedAndClosed = !unmountOnClose && !open;\n if (backdrop) {\n // eslint-disable-next-line react-hooks/immutability\n backdrop.className = mergeClasses(backdropResetStyles, treatBackdropAsNested && backdropStyles.nested, mountedAndClosed && backdropStyles.drawerHidden, backdrop.className);\n }\n return state;\n};\n"],"mappings":"AAAA,YAAY;;AACZ,SAAAA,aAAA,EAAAC,QAAA,EAAsCC,YAAY,QAAQ,gBAAgB;AAC1E,SAASC,MAAM,QAAQ,uBAAuB;AAC9C;AACA;AACA;AAAI,MAAMC,sBAAsB,gBAAGJ,aAAA,wGAIlC,CAAC;AACF,MAAMK,iBAAiB,gBAAGJ,QAAA;EAAAK,MAAA;IAAAC,MAAA;EAAA;EAAAC,YAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,CAOzB,CAAC;AACF;AACA;AACA;AAAI,OAAO,MAAMC,sCAAsC,GAAIC,KAAK,IAAG;EAC/D,MAAM;IAAEC,qBAAqB;IAAEC,QAAQ;IAAEC,IAAI;IAAEC;EAAe,CAAC,GAAGJ,KAAK;EACvE,MAAMK,mBAAmB,GAAGb,sBAAsB,CAAC,CAAC;EACpD,MAAMc,cAAc,GAAGb,iBAAiB,CAAC,CAAC;EAC1C,MAAMc,gBAAgB,GAAG,CAACH,cAAc,IAAI,CAACD,IAAI;EACjD,IAAID,QAAQ,EAAE;IACV;IACAA,QAAQ,CAACM,SAAS,GAAGlB,YAAY,CAACe,mBAAmB,EAAEJ,qBAAqB,IAAIK,cAAc,CAACZ,MAAM,EAAEa,gBAAgB,IAAID,cAAc,CAACV,YAAY,EAAEM,QAAQ,CAACM,SAAS,CAAC;EAC/K;EACA,OAAOR,KAAK;AAChB,CAAC","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- import { makeResetStyles, makeStyles, mergeClasses } from '@griffel/react';
3
- import { tokens } from '@fluentui/react-theme';
2
+ import { makeResetStyles, makeStyles, mergeClasses } from "@griffel/react";
3
+ import { tokens } from "@fluentui/react-theme";
4
4
  /**
5
5
  * Styles for the backdrop slot
6
6
  */ const useBackdropResetStyles = makeResetStyles({
@@ -1,4 +1,4 @@
1
- export { OverlayDrawer } from './OverlayDrawer';
2
- export { renderOverlayDrawer_unstable } from './renderOverlayDrawer';
3
- export { useOverlayDrawer_unstable } from './useOverlayDrawer';
4
- export { overlayDrawerClassNames, useOverlayDrawerStyles_unstable } from './useOverlayDrawerStyles.styles';
1
+ export { OverlayDrawer } from "./OverlayDrawer.js";
2
+ export { renderOverlayDrawer_unstable } from "./renderOverlayDrawer.js";
3
+ export { useOverlayDrawer_unstable } from "./useOverlayDrawer.js";
4
+ export { overlayDrawerClassNames, useOverlayDrawerStyles_unstable } from "./useOverlayDrawerStyles.styles.js";
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/OverlayDrawer/index.ts"],"sourcesContent":["export { OverlayDrawer } from './OverlayDrawer';\nexport type {\n OverlayDrawerInternalSlots,\n OverlayDrawerProps,\n OverlayDrawerSlots,\n OverlayDrawerState,\n} from './OverlayDrawer.types';\nexport { renderOverlayDrawer_unstable } from './renderOverlayDrawer';\nexport { useOverlayDrawer_unstable } from './useOverlayDrawer';\nexport { overlayDrawerClassNames, useOverlayDrawerStyles_unstable } from './useOverlayDrawerStyles.styles';\n"],"names":["OverlayDrawer","renderOverlayDrawer_unstable","useOverlayDrawer_unstable","overlayDrawerClassNames","useOverlayDrawerStyles_unstable"],"mappings":"AAAA,SAASA,aAAa,QAAQ,kBAAkB;AAOhD,SAASC,4BAA4B,QAAQ,wBAAwB;AACrE,SAASC,yBAAyB,QAAQ,qBAAqB;AAC/D,SAASC,uBAAuB,EAAEC,+BAA+B,QAAQ,kCAAkC"}
1
+ {"version":3,"sources":["../src/components/OverlayDrawer/index.ts"],"sourcesContent":["export { OverlayDrawer } from './OverlayDrawer';\nexport type {\n OverlayDrawerInternalSlots,\n OverlayDrawerProps,\n OverlayDrawerSlots,\n OverlayDrawerState,\n} from './OverlayDrawer.types';\nexport { renderOverlayDrawer_unstable } from './renderOverlayDrawer';\nexport { useOverlayDrawer_unstable } from './useOverlayDrawer';\nexport { overlayDrawerClassNames, useOverlayDrawerStyles_unstable } from './useOverlayDrawerStyles.styles';\n"],"names":["OverlayDrawer","renderOverlayDrawer_unstable","useOverlayDrawer_unstable","overlayDrawerClassNames","useOverlayDrawerStyles_unstable"],"mappings":"AAAA,SAASA,aAAa,QAAQ,qBAAkB;AAOhD,SAASC,4BAA4B,QAAQ,2BAAwB;AACrE,SAASC,yBAAyB,QAAQ,wBAAqB;AAC/D,SAASC,uBAAuB,EAAEC,+BAA+B,QAAQ,qCAAkC"}
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "@fluentui/react-jsx-runtime/jsx-runtime";
2
- import { assertSlots } from '@fluentui/react-utilities';
3
- import { DrawerProvider } from '../../contexts/drawerContext';
4
- import { DialogBackdropProvider } from '@fluentui/react-dialog';
2
+ import { assertSlots } from "@fluentui/react-utilities";
3
+ import { DrawerProvider } from "../../contexts/drawerContext.js";
4
+ import { DialogBackdropProvider } from "@fluentui/react-dialog";
5
5
  /**
6
6
  * Render the final JSX of OverlayDrawer
7
7
  */ export const renderOverlayDrawer_unstable = (state, contextValue)=>{
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/OverlayDrawer/renderOverlayDrawer.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\nimport { assertSlots } from '@fluentui/react-utilities';\nimport type { JSXElement } from '@fluentui/react-utilities';\nimport type { DrawerContextValue } from '../../contexts/drawerContext';\nimport { DrawerProvider } from '../../contexts/drawerContext';\nimport { DialogBackdropProvider } from '@fluentui/react-dialog';\n\nimport type { OverlayDrawerState, OverlayDrawerInternalSlots } from './OverlayDrawer.types';\n\n/**\n * Render the final JSX of OverlayDrawer\n */\nexport const renderOverlayDrawer_unstable = (\n state: OverlayDrawerState,\n contextValue: DrawerContextValue,\n): JSXElement => {\n assertSlots<OverlayDrawerInternalSlots>(state);\n\n return (\n <DrawerProvider value={contextValue}>\n <DialogBackdropProvider value={false}>\n <state.dialog>\n <state.root />\n </state.dialog>\n </DialogBackdropProvider>\n </DrawerProvider>\n );\n};\n"],"names":["assertSlots","DrawerProvider","DialogBackdropProvider","renderOverlayDrawer_unstable","state","contextValue","value","dialog","root"],"mappings":"AAAA,0BAA0B,GAC1B,iDAAiD;AACjD,SAASA,WAAW,QAAQ,4BAA4B;AAGxD,SAASC,cAAc,QAAQ,+BAA+B;AAC9D,SAASC,sBAAsB,QAAQ,yBAAyB;AAIhE;;CAEC,GACD,OAAO,MAAMC,+BAA+B,CAC1CC,OACAC;IAEAL,YAAwCI;IAExC,qBACE,KAACH;QAAeK,OAAOD;kBACrB,cAAA,KAACH;YAAuBI,OAAO;sBAC7B,cAAA,KAACF,MAAMG,MAAM;0BACX,cAAA,KAACH,MAAMI,IAAI;;;;AAKrB,EAAE"}
1
+ {"version":3,"sources":["../src/components/OverlayDrawer/renderOverlayDrawer.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\nimport { assertSlots } from '@fluentui/react-utilities';\nimport type { JSXElement } from '@fluentui/react-utilities';\nimport type { DrawerContextValue } from '../../contexts/drawerContext';\nimport { DrawerProvider } from '../../contexts/drawerContext';\nimport { DialogBackdropProvider } from '@fluentui/react-dialog';\n\nimport type { OverlayDrawerState, OverlayDrawerInternalSlots } from './OverlayDrawer.types';\n\n/**\n * Render the final JSX of OverlayDrawer\n */\nexport const renderOverlayDrawer_unstable = (\n state: OverlayDrawerState,\n contextValue: DrawerContextValue,\n): JSXElement => {\n assertSlots<OverlayDrawerInternalSlots>(state);\n\n return (\n <DrawerProvider value={contextValue}>\n <DialogBackdropProvider value={false}>\n <state.dialog>\n <state.root />\n </state.dialog>\n </DialogBackdropProvider>\n </DrawerProvider>\n );\n};\n"],"names":["assertSlots","DrawerProvider","DialogBackdropProvider","renderOverlayDrawer_unstable","state","contextValue","value","dialog","root"],"mappings":"AAAA,0BAA0B,GAC1B,iDAAiD;AACjD,SAASA,WAAW,QAAQ,4BAA4B;AAGxD,SAASC,cAAc,QAAQ,kCAA+B;AAC9D,SAASC,sBAAsB,QAAQ,yBAAyB;AAIhE;;CAEC,GACD,OAAO,MAAMC,+BAA+B,CAC1CC,OACAC;IAEAL,YAAwCI;IAExC,qBACE,KAACH;QAAeK,OAAOD;kBACrB,cAAA,KAACH;YAAuBI,OAAO;sBAC7B,cAAA,KAACF,MAAMG,MAAM;0BACX,cAAA,KAACH,MAAMI,IAAI;;;;AAKrB,EAAE"}