@fluentui/react-dialog 0.0.0-nightly-20221007-1237.1

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 (245) hide show
  1. package/CHANGELOG.json +629 -0
  2. package/CHANGELOG.md +229 -0
  3. package/LICENSE +15 -0
  4. package/README.md +5 -0
  5. package/Spec.md +537 -0
  6. package/assets/AlertDialogKeyboardInteraction.png +0 -0
  7. package/assets/AlertDialogMouseInteraction.png +0 -0
  8. package/assets/ModalDialogKeyboardInteraction.png +0 -0
  9. package/assets/ModalDialogMouseInteraction.png +0 -0
  10. package/assets/NonModalDialogKeyboardInteraction.png +0 -0
  11. package/assets/NonModalDialogMouseInteraction.png +0 -0
  12. package/dist/index.d.ts +456 -0
  13. package/lib/Dialog.js +2 -0
  14. package/lib/Dialog.js.map +1 -0
  15. package/lib/DialogActions.js +2 -0
  16. package/lib/DialogActions.js.map +1 -0
  17. package/lib/DialogBody.js +2 -0
  18. package/lib/DialogBody.js.map +1 -0
  19. package/lib/DialogContent.js +2 -0
  20. package/lib/DialogContent.js.map +1 -0
  21. package/lib/DialogSurface.js +2 -0
  22. package/lib/DialogSurface.js.map +1 -0
  23. package/lib/DialogTitle.js +2 -0
  24. package/lib/DialogTitle.js.map +1 -0
  25. package/lib/DialogTrigger.js +2 -0
  26. package/lib/DialogTrigger.js.map +1 -0
  27. package/lib/components/Dialog/Dialog.js +19 -0
  28. package/lib/components/Dialog/Dialog.js.map +1 -0
  29. package/lib/components/Dialog/Dialog.types.js +2 -0
  30. package/lib/components/Dialog/Dialog.types.js.map +1 -0
  31. package/lib/components/Dialog/index.js +5 -0
  32. package/lib/components/Dialog/index.js.map +1 -0
  33. package/lib/components/Dialog/renderDialog.js +18 -0
  34. package/lib/components/Dialog/renderDialog.js.map +1 -0
  35. package/lib/components/Dialog/useDialog.js +86 -0
  36. package/lib/components/Dialog/useDialog.js.map +1 -0
  37. package/lib/components/Dialog/useDialogContextValues.js +31 -0
  38. package/lib/components/Dialog/useDialogContextValues.js.map +1 -0
  39. package/lib/components/DialogActions/DialogActions.js +16 -0
  40. package/lib/components/DialogActions/DialogActions.js.map +1 -0
  41. package/lib/components/DialogActions/DialogActions.types.js +2 -0
  42. package/lib/components/DialogActions/DialogActions.types.js.map +1 -0
  43. package/lib/components/DialogActions/index.js +6 -0
  44. package/lib/components/DialogActions/index.js.map +1 -0
  45. package/lib/components/DialogActions/renderDialogActions.js +16 -0
  46. package/lib/components/DialogActions/renderDialogActions.js.map +1 -0
  47. package/lib/components/DialogActions/useDialogActions.js +27 -0
  48. package/lib/components/DialogActions/useDialogActions.js.map +1 -0
  49. package/lib/components/DialogActions/useDialogActionsStyles.js +49 -0
  50. package/lib/components/DialogActions/useDialogActionsStyles.js.map +1 -0
  51. package/lib/components/DialogBody/DialogBody.js +16 -0
  52. package/lib/components/DialogBody/DialogBody.js.map +1 -0
  53. package/lib/components/DialogBody/DialogBody.types.js +2 -0
  54. package/lib/components/DialogBody/DialogBody.types.js.map +1 -0
  55. package/lib/components/DialogBody/index.js +6 -0
  56. package/lib/components/DialogBody/index.js.map +1 -0
  57. package/lib/components/DialogBody/renderDialogBody.js +16 -0
  58. package/lib/components/DialogBody/renderDialogBody.js.map +1 -0
  59. package/lib/components/DialogBody/useDialogBody.js +25 -0
  60. package/lib/components/DialogBody/useDialogBody.js.map +1 -0
  61. package/lib/components/DialogBody/useDialogBodyStyles.js +50 -0
  62. package/lib/components/DialogBody/useDialogBodyStyles.js.map +1 -0
  63. package/lib/components/DialogContent/DialogContent.js +16 -0
  64. package/lib/components/DialogContent/DialogContent.js.map +1 -0
  65. package/lib/components/DialogContent/DialogContent.types.js +2 -0
  66. package/lib/components/DialogContent/DialogContent.types.js.map +1 -0
  67. package/lib/components/DialogContent/index.js +6 -0
  68. package/lib/components/DialogContent/index.js.map +1 -0
  69. package/lib/components/DialogContent/renderDialogContent.js +15 -0
  70. package/lib/components/DialogContent/renderDialogContent.js.map +1 -0
  71. package/lib/components/DialogContent/useDialogContent.js +28 -0
  72. package/lib/components/DialogContent/useDialogContent.js.map +1 -0
  73. package/lib/components/DialogContent/useDialogContentStyles.js +40 -0
  74. package/lib/components/DialogContent/useDialogContentStyles.js.map +1 -0
  75. package/lib/components/DialogSurface/DialogSurface.js +18 -0
  76. package/lib/components/DialogSurface/DialogSurface.js.map +1 -0
  77. package/lib/components/DialogSurface/DialogSurface.types.js +2 -0
  78. package/lib/components/DialogSurface/DialogSurface.types.js.map +1 -0
  79. package/lib/components/DialogSurface/index.js +6 -0
  80. package/lib/components/DialogSurface/index.js.map +1 -0
  81. package/lib/components/DialogSurface/renderDialogSurface.js +20 -0
  82. package/lib/components/DialogSurface/renderDialogSurface.js.map +1 -0
  83. package/lib/components/DialogSurface/useDialogSurface.js +86 -0
  84. package/lib/components/DialogSurface/useDialogSurface.js.map +1 -0
  85. package/lib/components/DialogSurface/useDialogSurfaceContextValues.js +7 -0
  86. package/lib/components/DialogSurface/useDialogSurfaceContextValues.js.map +1 -0
  87. package/lib/components/DialogSurface/useDialogSurfaceStyles.js +95 -0
  88. package/lib/components/DialogSurface/useDialogSurfaceStyles.js.map +1 -0
  89. package/lib/components/DialogTitle/DialogTitle.js +16 -0
  90. package/lib/components/DialogTitle/DialogTitle.js.map +1 -0
  91. package/lib/components/DialogTitle/DialogTitle.types.js +2 -0
  92. package/lib/components/DialogTitle/DialogTitle.types.js.map +1 -0
  93. package/lib/components/DialogTitle/index.js +6 -0
  94. package/lib/components/DialogTitle/index.js.map +1 -0
  95. package/lib/components/DialogTitle/renderDialogTitle.js +16 -0
  96. package/lib/components/DialogTitle/renderDialogTitle.js.map +1 -0
  97. package/lib/components/DialogTitle/useDialogTitle.js +48 -0
  98. package/lib/components/DialogTitle/useDialogTitle.js.map +1 -0
  99. package/lib/components/DialogTitle/useDialogTitleStyles.js +116 -0
  100. package/lib/components/DialogTitle/useDialogTitleStyles.js.map +1 -0
  101. package/lib/components/DialogTrigger/DialogTrigger.js +20 -0
  102. package/lib/components/DialogTrigger/DialogTrigger.js.map +1 -0
  103. package/lib/components/DialogTrigger/DialogTrigger.types.js +2 -0
  104. package/lib/components/DialogTrigger/DialogTrigger.types.js.map +1 -0
  105. package/lib/components/DialogTrigger/index.js +5 -0
  106. package/lib/components/DialogTrigger/index.js.map +1 -0
  107. package/lib/components/DialogTrigger/renderDialogTrigger.js +7 -0
  108. package/lib/components/DialogTrigger/renderDialogTrigger.js.map +1 -0
  109. package/lib/components/DialogTrigger/useDialogTrigger.js +47 -0
  110. package/lib/components/DialogTrigger/useDialogTrigger.js.map +1 -0
  111. package/lib/contexts/constants.js +11 -0
  112. package/lib/contexts/constants.js.map +1 -0
  113. package/lib/contexts/dialogContext.js +19 -0
  114. package/lib/contexts/dialogContext.js.map +1 -0
  115. package/lib/contexts/dialogSurfaceContext.js +10 -0
  116. package/lib/contexts/dialogSurfaceContext.js.map +1 -0
  117. package/lib/contexts/index.js +4 -0
  118. package/lib/contexts/index.js.map +1 -0
  119. package/lib/index.js +8 -0
  120. package/lib/index.js.map +1 -0
  121. package/lib/utils/index.js +4 -0
  122. package/lib/utils/index.js.map +1 -0
  123. package/lib/utils/isEscapeKeyDown.js +9 -0
  124. package/lib/utils/isEscapeKeyDown.js.map +1 -0
  125. package/lib/utils/useDisableBodyScroll.js +60 -0
  126. package/lib/utils/useDisableBodyScroll.js.map +1 -0
  127. package/lib/utils/useFocusFirstElement.js +37 -0
  128. package/lib/utils/useFocusFirstElement.js.map +1 -0
  129. package/lib-commonjs/Dialog.js +10 -0
  130. package/lib-commonjs/Dialog.js.map +1 -0
  131. package/lib-commonjs/DialogActions.js +10 -0
  132. package/lib-commonjs/DialogActions.js.map +1 -0
  133. package/lib-commonjs/DialogBody.js +10 -0
  134. package/lib-commonjs/DialogBody.js.map +1 -0
  135. package/lib-commonjs/DialogContent.js +10 -0
  136. package/lib-commonjs/DialogContent.js.map +1 -0
  137. package/lib-commonjs/DialogSurface.js +10 -0
  138. package/lib-commonjs/DialogSurface.js.map +1 -0
  139. package/lib-commonjs/DialogTitle.js +10 -0
  140. package/lib-commonjs/DialogTitle.js.map +1 -0
  141. package/lib-commonjs/DialogTrigger.js +10 -0
  142. package/lib-commonjs/DialogTrigger.js.map +1 -0
  143. package/lib-commonjs/components/Dialog/Dialog.js +30 -0
  144. package/lib-commonjs/components/Dialog/Dialog.js.map +1 -0
  145. package/lib-commonjs/components/Dialog/Dialog.types.js +6 -0
  146. package/lib-commonjs/components/Dialog/Dialog.types.js.map +1 -0
  147. package/lib-commonjs/components/Dialog/index.js +16 -0
  148. package/lib-commonjs/components/Dialog/index.js.map +1 -0
  149. package/lib-commonjs/components/Dialog/renderDialog.js +29 -0
  150. package/lib-commonjs/components/Dialog/renderDialog.js.map +1 -0
  151. package/lib-commonjs/components/Dialog/useDialog.js +100 -0
  152. package/lib-commonjs/components/Dialog/useDialog.js.map +1 -0
  153. package/lib-commonjs/components/Dialog/useDialogContextValues.js +40 -0
  154. package/lib-commonjs/components/Dialog/useDialogContextValues.js.map +1 -0
  155. package/lib-commonjs/components/DialogActions/DialogActions.js +27 -0
  156. package/lib-commonjs/components/DialogActions/DialogActions.js.map +1 -0
  157. package/lib-commonjs/components/DialogActions/DialogActions.types.js +6 -0
  158. package/lib-commonjs/components/DialogActions/DialogActions.types.js.map +1 -0
  159. package/lib-commonjs/components/DialogActions/index.js +18 -0
  160. package/lib-commonjs/components/DialogActions/index.js.map +1 -0
  161. package/lib-commonjs/components/DialogActions/renderDialogActions.js +27 -0
  162. package/lib-commonjs/components/DialogActions/renderDialogActions.js.map +1 -0
  163. package/lib-commonjs/components/DialogActions/useDialogActions.js +37 -0
  164. package/lib-commonjs/components/DialogActions/useDialogActions.js.map +1 -0
  165. package/lib-commonjs/components/DialogActions/useDialogActionsStyles.js +60 -0
  166. package/lib-commonjs/components/DialogActions/useDialogActionsStyles.js.map +1 -0
  167. package/lib-commonjs/components/DialogBody/DialogBody.js +27 -0
  168. package/lib-commonjs/components/DialogBody/DialogBody.js.map +1 -0
  169. package/lib-commonjs/components/DialogBody/DialogBody.types.js +6 -0
  170. package/lib-commonjs/components/DialogBody/DialogBody.types.js.map +1 -0
  171. package/lib-commonjs/components/DialogBody/index.js +18 -0
  172. package/lib-commonjs/components/DialogBody/index.js.map +1 -0
  173. package/lib-commonjs/components/DialogBody/renderDialogBody.js +27 -0
  174. package/lib-commonjs/components/DialogBody/renderDialogBody.js.map +1 -0
  175. package/lib-commonjs/components/DialogBody/useDialogBody.js +35 -0
  176. package/lib-commonjs/components/DialogBody/useDialogBody.js.map +1 -0
  177. package/lib-commonjs/components/DialogBody/useDialogBodyStyles.js +61 -0
  178. package/lib-commonjs/components/DialogBody/useDialogBodyStyles.js.map +1 -0
  179. package/lib-commonjs/components/DialogContent/DialogContent.js +27 -0
  180. package/lib-commonjs/components/DialogContent/DialogContent.js.map +1 -0
  181. package/lib-commonjs/components/DialogContent/DialogContent.types.js +6 -0
  182. package/lib-commonjs/components/DialogContent/DialogContent.types.js.map +1 -0
  183. package/lib-commonjs/components/DialogContent/index.js +18 -0
  184. package/lib-commonjs/components/DialogContent/index.js.map +1 -0
  185. package/lib-commonjs/components/DialogContent/renderDialogContent.js +26 -0
  186. package/lib-commonjs/components/DialogContent/renderDialogContent.js.map +1 -0
  187. package/lib-commonjs/components/DialogContent/useDialogContent.js +39 -0
  188. package/lib-commonjs/components/DialogContent/useDialogContent.js.map +1 -0
  189. package/lib-commonjs/components/DialogContent/useDialogContentStyles.js +52 -0
  190. package/lib-commonjs/components/DialogContent/useDialogContentStyles.js.map +1 -0
  191. package/lib-commonjs/components/DialogSurface/DialogSurface.js +30 -0
  192. package/lib-commonjs/components/DialogSurface/DialogSurface.js.map +1 -0
  193. package/lib-commonjs/components/DialogSurface/DialogSurface.types.js +6 -0
  194. package/lib-commonjs/components/DialogSurface/DialogSurface.types.js.map +1 -0
  195. package/lib-commonjs/components/DialogSurface/index.js +18 -0
  196. package/lib-commonjs/components/DialogSurface/index.js.map +1 -0
  197. package/lib-commonjs/components/DialogSurface/renderDialogSurface.js +33 -0
  198. package/lib-commonjs/components/DialogSurface/renderDialogSurface.js.map +1 -0
  199. package/lib-commonjs/components/DialogSurface/useDialogSurface.js +99 -0
  200. package/lib-commonjs/components/DialogSurface/useDialogSurface.js.map +1 -0
  201. package/lib-commonjs/components/DialogSurface/useDialogSurfaceContextValues.js +16 -0
  202. package/lib-commonjs/components/DialogSurface/useDialogSurfaceContextValues.js.map +1 -0
  203. package/lib-commonjs/components/DialogSurface/useDialogSurfaceStyles.js +107 -0
  204. package/lib-commonjs/components/DialogSurface/useDialogSurfaceStyles.js.map +1 -0
  205. package/lib-commonjs/components/DialogTitle/DialogTitle.js +27 -0
  206. package/lib-commonjs/components/DialogTitle/DialogTitle.js.map +1 -0
  207. package/lib-commonjs/components/DialogTitle/DialogTitle.types.js +6 -0
  208. package/lib-commonjs/components/DialogTitle/DialogTitle.types.js.map +1 -0
  209. package/lib-commonjs/components/DialogTitle/index.js +18 -0
  210. package/lib-commonjs/components/DialogTitle/index.js.map +1 -0
  211. package/lib-commonjs/components/DialogTitle/renderDialogTitle.js +27 -0
  212. package/lib-commonjs/components/DialogTitle/renderDialogTitle.js.map +1 -0
  213. package/lib-commonjs/components/DialogTitle/useDialogTitle.js +64 -0
  214. package/lib-commonjs/components/DialogTitle/useDialogTitle.js.map +1 -0
  215. package/lib-commonjs/components/DialogTitle/useDialogTitleStyles.js +129 -0
  216. package/lib-commonjs/components/DialogTitle/useDialogTitleStyles.js.map +1 -0
  217. package/lib-commonjs/components/DialogTrigger/DialogTrigger.js +31 -0
  218. package/lib-commonjs/components/DialogTrigger/DialogTrigger.js.map +1 -0
  219. package/lib-commonjs/components/DialogTrigger/DialogTrigger.types.js +6 -0
  220. package/lib-commonjs/components/DialogTrigger/DialogTrigger.types.js.map +1 -0
  221. package/lib-commonjs/components/DialogTrigger/index.js +16 -0
  222. package/lib-commonjs/components/DialogTrigger/index.js.map +1 -0
  223. package/lib-commonjs/components/DialogTrigger/renderDialogTrigger.js +16 -0
  224. package/lib-commonjs/components/DialogTrigger/renderDialogTrigger.js.map +1 -0
  225. package/lib-commonjs/components/DialogTrigger/useDialogTrigger.js +60 -0
  226. package/lib-commonjs/components/DialogTrigger/useDialogTrigger.js.map +1 -0
  227. package/lib-commonjs/contexts/constants.js +17 -0
  228. package/lib-commonjs/contexts/constants.js.map +1 -0
  229. package/lib-commonjs/contexts/dialogContext.js +30 -0
  230. package/lib-commonjs/contexts/dialogContext.js.map +1 -0
  231. package/lib-commonjs/contexts/dialogSurfaceContext.js +21 -0
  232. package/lib-commonjs/contexts/dialogSurfaceContext.js.map +1 -0
  233. package/lib-commonjs/contexts/index.js +14 -0
  234. package/lib-commonjs/contexts/index.js.map +1 -0
  235. package/lib-commonjs/index.js +214 -0
  236. package/lib-commonjs/index.js.map +1 -0
  237. package/lib-commonjs/utils/index.js +14 -0
  238. package/lib-commonjs/utils/index.js.map +1 -0
  239. package/lib-commonjs/utils/isEscapeKeyDown.js +19 -0
  240. package/lib-commonjs/utils/isEscapeKeyDown.js.map +1 -0
  241. package/lib-commonjs/utils/useDisableBodyScroll.js +73 -0
  242. package/lib-commonjs/utils/useDisableBodyScroll.js.map +1 -0
  243. package/lib-commonjs/utils/useFocusFirstElement.js +49 -0
  244. package/lib-commonjs/utils/useFocusFirstElement.js.map +1 -0
  245. package/package.json +62 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,229 @@
1
+ # Change Log - @fluentui/react-dialog
2
+
3
+ This log was last generated on Fri, 07 Oct 2022 12:44:19 GMT and should not be manually modified.
4
+
5
+ <!-- Start content -->
6
+
7
+ ## [0.0.0-nightly-20221007-1237.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v0.0.0-nightly-20221007-1237.1)
8
+
9
+ Fri, 07 Oct 2022 12:44:19 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.0.0-beta.11..@fluentui/react-dialog_v0.0.0-nightly-20221007-1237.1)
11
+
12
+ ### Changes
13
+
14
+ - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com)
15
+ - Bump @fluentui/react-utilities to v0.0.0-nightly-20221007-1237.1 ([commit](https://github.com/microsoft/fluentui/commit/cb80d71825ddb9ebe5d06bb14b1c970f8633c4ec) by beachball)
16
+ - Bump @fluentui/keyboard-keys to v0.0.0-nightly-20221007-1237.1 ([commit](https://github.com/microsoft/fluentui/commit/cb80d71825ddb9ebe5d06bb14b1c970f8633c4ec) by beachball)
17
+ - Bump @fluentui/react-context-selector to v0.0.0-nightly-20221007-1237.1 ([commit](https://github.com/microsoft/fluentui/commit/cb80d71825ddb9ebe5d06bb14b1c970f8633c4ec) by beachball)
18
+ - Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20221007-1237.1 ([commit](https://github.com/microsoft/fluentui/commit/cb80d71825ddb9ebe5d06bb14b1c970f8633c4ec) by beachball)
19
+ - Bump @fluentui/react-aria to v0.0.0-nightly-20221007-1237.1 ([commit](https://github.com/microsoft/fluentui/commit/cb80d71825ddb9ebe5d06bb14b1c970f8633c4ec) by beachball)
20
+ - Bump @fluentui/react-tabster to v0.0.0-nightly-20221007-1237.1 ([commit](https://github.com/microsoft/fluentui/commit/cb80d71825ddb9ebe5d06bb14b1c970f8633c4ec) by beachball)
21
+ - Bump @fluentui/react-theme to v0.0.0-nightly-20221007-1237.1 ([commit](https://github.com/microsoft/fluentui/commit/cb80d71825ddb9ebe5d06bb14b1c970f8633c4ec) by beachball)
22
+ - Bump @fluentui/react-portal to v0.0.0-nightly-20221007-1237.1 ([commit](https://github.com/microsoft/fluentui/commit/cb80d71825ddb9ebe5d06bb14b1c970f8633c4ec) by beachball)
23
+ - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20221007-1237.1 ([commit](https://github.com/microsoft/fluentui/commit/cb80d71825ddb9ebe5d06bb14b1c970f8633c4ec) by beachball)
24
+
25
+ ## [9.0.0-beta.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.0.0-beta.11)
26
+
27
+ Mon, 03 Oct 2022 22:24:36 GMT
28
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.0.0-beta.10..@fluentui/react-dialog_v9.0.0-beta.11)
29
+
30
+ ### Changes
31
+
32
+ - feat: removes DialogSurface native dialog support ([PR #24979](https://github.com/microsoft/fluentui/pull/24979) by bernardo.sunderhus@gmail.com)
33
+ - Bump @fluentui/react-aria to v9.2.1 ([PR #25055](https://github.com/microsoft/fluentui/pull/25055) by beachball)
34
+ - Bump @fluentui/react-tabster to v9.1.2 ([PR #25055](https://github.com/microsoft/fluentui/pull/25055) by beachball)
35
+ - Bump @fluentui/react-portal to v9.0.6 ([PR #25055](https://github.com/microsoft/fluentui/pull/25055) by beachball)
36
+
37
+ ## [9.0.0-beta.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.0.0-beta.10)
38
+
39
+ Fri, 23 Sep 2022 10:32:29 GMT
40
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.0.0-beta.9..@fluentui/react-dialog_v9.0.0-beta.10)
41
+
42
+ ### Changes
43
+
44
+ - feat: implements DialogContent as a swap of DialogBody ([PR #24855](https://github.com/microsoft/fluentui/pull/24855) by bernardo.sunderhus@gmail.com)
45
+
46
+ ## [9.0.0-beta.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.0.0-beta.9)
47
+
48
+ Tue, 20 Sep 2022 20:55:44 GMT
49
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.0.0-beta.8..@fluentui/react-dialog_v9.0.0-beta.9)
50
+
51
+ ### Changes
52
+
53
+ - bugfix(react-dialog): Adds color style to DialogSurface ([PR #24832](https://github.com/microsoft/fluentui/pull/24832) by bernardo.sunderhus@gmail.com)
54
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.14 ([PR #24869](https://github.com/microsoft/fluentui/pull/24869) by beachball)
55
+
56
+ ## [9.0.0-beta.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.0.0-beta.8)
57
+
58
+ Thu, 15 Sep 2022 09:48:59 GMT
59
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.0.0-beta.7..@fluentui/react-dialog_v9.0.0-beta.8)
60
+
61
+ ### Changes
62
+
63
+ - chore(react-dialog): Updates trigger to use useARIAButtonProps ([PR #24177](https://github.com/microsoft/fluentui/pull/24177) by bernardo.sunderhus@gmail.com)
64
+ - chore: Update Griffel to latest version ([PR #24221](https://github.com/microsoft/fluentui/pull/24221) by olfedias@microsoft.com)
65
+ - chore(react-dialog): removes react-button max-width overrides ([PR #24674](https://github.com/microsoft/fluentui/pull/24674) by bernardo.sunderhus@gmail.com)
66
+ - feat: add scroll lock feature to Dialog ([PR #24375](https://github.com/microsoft/fluentui/pull/24375) by bernardo.sunderhus@gmail.com)
67
+ - feat(react-dialog): moves backdrop slot from Dialog to DialogSurface ([PR #24669](https://github.com/microsoft/fluentui/pull/24669) by bernardo.sunderhus@gmail.com)
68
+ - feat(react-dialog): adds proper style to make DialogBody responsive ([PR #24354](https://github.com/microsoft/fluentui/pull/24354) by bernardo.sunderhus@gmail.com)
69
+ - chore: renames overlay slot to backdrop ([PR #24220](https://github.com/microsoft/fluentui/pull/24220) by bernardo.sunderhus@gmail.com)
70
+ - bugfix: stops propagation on Escape key ([PR #24750](https://github.com/microsoft/fluentui/pull/24750) by bernardo.sunderhus@gmail.com)
71
+ - feat: Adds padding-right style to avoid jumping on scroll lock ([PR #24408](https://github.com/microsoft/fluentui/pull/24408) by bernardo.sunderhus@gmail.com)
72
+ - chore(react-dialog): removes document listener to Escape keydown ([PR #24668](https://github.com/microsoft/fluentui/pull/24668) by bernardo.sunderhus@gmail.com)
73
+ - feat(react-dialog): replace `closeButton` to a more generic `action` slot ([PR #24719](https://github.com/microsoft/fluentui/pull/24719) by bernardo.sunderhus@gmail.com)
74
+ - feat(react-dialog): 1st rule of ARIA for Dialog ([PR #24525](https://github.com/microsoft/fluentui/pull/24525) by bernardo.sunderhus@gmail.com)
75
+ - Bump @fluentui/react-utilities to v9.1.0 ([PR #24808](https://github.com/microsoft/fluentui/pull/24808) by beachball)
76
+ - Bump @fluentui/react-context-selector to v9.0.3 ([PR #24808](https://github.com/microsoft/fluentui/pull/24808) by beachball)
77
+ - Bump @fluentui/react-shared-contexts to v9.0.1 ([PR #24808](https://github.com/microsoft/fluentui/pull/24808) by beachball)
78
+ - Bump @fluentui/react-aria to v9.2.0 ([PR #24808](https://github.com/microsoft/fluentui/pull/24808) by beachball)
79
+ - Bump @fluentui/react-tabster to v9.1.1 ([PR #24808](https://github.com/microsoft/fluentui/pull/24808) by beachball)
80
+ - Bump @fluentui/react-theme to v9.1.0 ([PR #24808](https://github.com/microsoft/fluentui/pull/24808) by beachball)
81
+ - Bump @fluentui/react-portal to v9.0.5 ([PR #24808](https://github.com/microsoft/fluentui/pull/24808) by beachball)
82
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.13 ([PR #24808](https://github.com/microsoft/fluentui/pull/24808) by beachball)
83
+
84
+ ## [9.0.0-beta.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.0.0-beta.7)
85
+
86
+ Wed, 03 Aug 2022 16:03:47 GMT
87
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.0.0-beta.6..@fluentui/react-dialog_v9.0.0-beta.7)
88
+
89
+ ### Changes
90
+
91
+ - chore: adds aria-labelledby and aria-describedby attributes ([PR #24141](https://github.com/microsoft/fluentui/pull/24141) by bernardo.sunderhus@gmail.com)
92
+ - feat: adds react-dialog to react-components unstable ([PR #24140](https://github.com/microsoft/fluentui/pull/24140) by bernardo.sunderhus@gmail.com)
93
+ - Bump @fluentui/react-aria to v9.1.0 ([PR #24131](https://github.com/microsoft/fluentui/pull/24131) by beachball)
94
+ - Bump @fluentui/react-tabster to v9.1.0 ([PR #24131](https://github.com/microsoft/fluentui/pull/24131) by beachball)
95
+ - Bump @fluentui/react-portal to v9.0.4 ([PR #24131](https://github.com/microsoft/fluentui/pull/24131) by beachball)
96
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.12 ([PR #24131](https://github.com/microsoft/fluentui/pull/24131) by beachball)
97
+
98
+ ## [9.0.0-beta.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.0.0-beta.6)
99
+
100
+ Thu, 14 Jul 2022 21:21:13 GMT
101
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.0.0-beta.6..@fluentui/react-dialog_v9.0.0-beta.6)
102
+
103
+ ### Changes
104
+
105
+ - Bump @fluentui/react-utilities to v9.0.2 ([PR #23918](https://github.com/microsoft/fluentui/pull/23918) by beachball)
106
+
107
+ ## [9.0.0-beta.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.0.0-beta.6)
108
+
109
+ Thu, 14 Jul 2022 17:06:26 GMT
110
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.0.0-beta.6..@fluentui/react-dialog_v9.0.0-beta.6)
111
+
112
+ ### Changes
113
+
114
+ - Bump @fluentui/react-utilities to v9.0.1-0 ([PR #23897](https://github.com/microsoft/fluentui/pull/23897) by beachball)
115
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.11 ([PR #23897](https://github.com/microsoft/fluentui/pull/23897) by beachball)
116
+
117
+ ## [9.0.0-beta.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.0.0-beta.6)
118
+
119
+ Tue, 28 Jun 2022 17:39:54 GMT
120
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.0.0-beta.6..@fluentui/react-dialog_v9.0.0-beta.6)
121
+
122
+ ### Changes
123
+
124
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.10 ([PR #23754](https://github.com/microsoft/fluentui/pull/23754) by beachball)
125
+
126
+ ## [9.0.0-beta.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.0.0-beta.6)
127
+
128
+ Tue, 28 Jun 2022 15:14:23 GMT
129
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.0.0-beta.6..@fluentui/react-dialog_v9.0.0-beta.6)
130
+
131
+ ### Changes
132
+
133
+ - Bump @fluentui/react-utilities to v9.0.0 ([commit](https://github.com/microsoft/fluentui/commit/ba6c5d651559b91c815429c9a9357c4d5a390f3e) by beachball)
134
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.9 ([commit](https://github.com/microsoft/fluentui/commit/ba6c5d651559b91c815429c9a9357c4d5a390f3e) by beachball)
135
+
136
+ ## [9.0.0-beta.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.0.0-beta.6)
137
+
138
+ Tue, 31 May 2022 21:28:50 GMT
139
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.0.0-beta.6..@fluentui/react-dialog_v9.0.0-beta.6)
140
+
141
+ ### Changes
142
+
143
+ - Bump @fluentui/react-utilities to v9.0.0-rc.10 ([PR #23325](https://github.com/microsoft/fluentui/pull/23325) by beachball)
144
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.8 ([PR #23325](https://github.com/microsoft/fluentui/pull/23325) by beachball)
145
+
146
+ ## [9.0.0-beta.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.0.0-beta.6)
147
+
148
+ Mon, 23 May 2022 18:56:51 GMT
149
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.0.0-beta.6..@fluentui/react-dialog_v9.0.0-beta.6)
150
+
151
+ ### Changes
152
+
153
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.7 ([PR #23146](https://github.com/microsoft/fluentui/pull/23146) by beachball)
154
+
155
+ ## [9.0.0-beta.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.0.0-beta.6)
156
+
157
+ Mon, 23 May 2022 12:14:24 GMT
158
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.0.0-beta.6..@fluentui/react-dialog_v9.0.0-beta.6)
159
+
160
+ ### Changes
161
+
162
+ - Bump @fluentui/react-utilities to v9.0.0-rc.9 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
163
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.6 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
164
+
165
+ ## [9.0.0-beta.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.0.0-beta.6)
166
+
167
+ Thu, 05 May 2022 18:26:30 GMT
168
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.0.0-beta.6..@fluentui/react-dialog_v9.0.0-beta.6)
169
+
170
+ ### Changes
171
+
172
+ - Bump @fluentui/react-utilities to v9.0.0-rc.8 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
173
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.5 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
174
+
175
+ ## [9.0.0-beta.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.0.0-beta.6)
176
+
177
+ Wed, 04 May 2022 13:26:54 GMT
178
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.0.0-beta.6..@fluentui/react-dialog_v9.0.0-beta.6)
179
+
180
+ ### Changes
181
+
182
+ - Bump @fluentui/react-utilities to v9.0.0-rc.7 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
183
+
184
+ ## [9.0.0-beta.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.0.0-beta.6)
185
+
186
+ Tue, 19 Apr 2022 19:17:29 GMT
187
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.0.0-beta.6..@fluentui/react-dialog_v9.0.0-beta.6)
188
+
189
+ ### Changes
190
+
191
+ - Bump @fluentui/react-utilities to v9.0.0-rc.6 ([PR #21995](https://github.com/microsoft/fluentui/pull/21995) by beachball)
192
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.4 ([PR #21995](https://github.com/microsoft/fluentui/pull/21995) by beachball)
193
+
194
+ ## [9.0.0-beta.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.0.0-beta.6)
195
+
196
+ Fri, 04 Mar 2022 05:17:40 GMT
197
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.0.0-beta.6..@fluentui/react-dialog_v9.0.0-beta.6)
198
+
199
+ ### Changes
200
+
201
+ - Bump @fluentui/react-utilities to v9.0.0-rc.5 ([PR #21947](https://github.com/microsoft/fluentui/pull/21947) by beachball)
202
+
203
+ ## [9.0.0-beta.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.0.0-beta.6)
204
+
205
+ Tue, 01 Mar 2022 02:17:40 GMT
206
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.0.0-beta.6..@fluentui/react-dialog_v9.0.0-beta.6)
207
+
208
+ ### Changes
209
+
210
+ - Bump @fluentui/react-utilities to v9.0.0-rc.4 ([PR #21884](https://github.com/microsoft/fluentui/pull/21884) by beachball)
211
+
212
+ ## [9.0.0-beta.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.0.0-beta.6)
213
+
214
+ Fri, 18 Feb 2022 13:35:38 GMT
215
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.0.0-beta.5..@fluentui/react-dialog_v9.0.0-beta.6)
216
+
217
+ ### Changes
218
+
219
+ - Bump @fluentui/react-utilities to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
220
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
221
+
222
+ ## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.0.0-beta.5)
223
+
224
+ Thu, 10 Feb 2022 08:52:26 GMT
225
+
226
+ ### Changes
227
+
228
+ - Bump @fluentui/react-utilities to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
229
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
package/LICENSE ADDED
@@ -0,0 +1,15 @@
1
+ @fluentui/react-dialog
2
+
3
+ Copyright (c) Microsoft Corporation
4
+
5
+ All rights reserved.
6
+
7
+ MIT License
8
+
9
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ""Software""), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
14
+
15
+ Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license
package/README.md ADDED
@@ -0,0 +1,5 @@
1
+ # @fluentui/react-dialog
2
+
3
+ **React Dialog components for [Fluent UI React](https://developer.microsoft.com/en-us/fluentui)**
4
+
5
+ These are not production-ready components and **should never be used in product**. This space is useful for testing new components whose APIs might change before final release.