@fluentui/react-dialog 9.74.7-experimental.cli-api.20261006-ccaa611d58.0 → 9.75.0-experimental.css-modules.20261031-810ab07afb.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 (219) hide show
  1. package/CHANGELOG.md +48 -16
  2. package/README.md +12 -0
  3. package/lib/components/Dialog/Dialog.js.map +1 -1
  4. package/lib/components/Dialog/Dialog.types.js.map +1 -1
  5. package/lib/components/Dialog/index.js.map +1 -1
  6. package/lib/components/Dialog/renderDialog.js +2 -2
  7. package/lib/components/Dialog/renderDialog.js.map +1 -1
  8. package/lib/components/Dialog/useDialog.js.map +1 -1
  9. package/lib/components/Dialog/useDialogContextValues.js.map +1 -1
  10. package/lib/components/DialogActions/DialogActions.js.map +1 -1
  11. package/lib/components/DialogActions/DialogActions.module.css +47 -0
  12. package/lib/components/DialogActions/DialogActions.types.js.map +1 -1
  13. package/lib/components/DialogActions/index.js.map +1 -1
  14. package/lib/components/DialogActions/renderDialogActions.js +2 -2
  15. package/lib/components/DialogActions/renderDialogActions.js.map +1 -1
  16. package/lib/components/DialogActions/useDialogActions.js.map +1 -1
  17. package/lib/components/DialogActions/useDialogActionsStyles.styles.css.js +9 -0
  18. package/lib/components/DialogActions/useDialogActionsStyles.styles.css.js.map +1 -0
  19. package/lib/components/DialogActions/useDialogActionsStyles.styles.raw.css.js +9 -0
  20. package/lib/components/DialogActions/useDialogActionsStyles.styles.raw.css.js.map +1 -0
  21. package/lib/components/DialogActions/useDialogActionsStyles.styles.raw.js.map +1 -1
  22. package/lib/components/DialogBackdropMotion.js.map +1 -1
  23. package/lib/components/DialogBody/DialogBody.js.map +1 -1
  24. package/lib/components/DialogBody/DialogBody.module.css +19 -0
  25. package/lib/components/DialogBody/DialogBody.types.js.map +1 -1
  26. package/lib/components/DialogBody/index.js.map +1 -1
  27. package/lib/components/DialogBody/renderDialogBody.js +2 -2
  28. package/lib/components/DialogBody/renderDialogBody.js.map +1 -1
  29. package/lib/components/DialogBody/useDialogBody.js.map +1 -1
  30. package/lib/components/DialogBody/useDialogBodyStyles.styles.css.js +9 -0
  31. package/lib/components/DialogBody/useDialogBodyStyles.styles.css.js.map +1 -0
  32. package/lib/components/DialogBody/useDialogBodyStyles.styles.raw.css.js +9 -0
  33. package/lib/components/DialogBody/useDialogBodyStyles.styles.raw.css.js.map +1 -0
  34. package/lib/components/DialogBody/useDialogBodyStyles.styles.raw.js.map +1 -1
  35. package/lib/components/DialogContent/DialogContent.js.map +1 -1
  36. package/lib/components/DialogContent/DialogContent.module.css +20 -0
  37. package/lib/components/DialogContent/DialogContent.types.js.map +1 -1
  38. package/lib/components/DialogContent/index.js.map +1 -1
  39. package/lib/components/DialogContent/renderDialogContent.js +2 -2
  40. package/lib/components/DialogContent/renderDialogContent.js.map +1 -1
  41. package/lib/components/DialogContent/useDialogContent.js.map +1 -1
  42. package/lib/components/DialogContent/useDialogContentStyles.styles.css.js +9 -0
  43. package/lib/components/DialogContent/useDialogContentStyles.styles.css.js.map +1 -0
  44. package/lib/components/DialogContent/useDialogContentStyles.styles.raw.css.js +9 -0
  45. package/lib/components/DialogContent/useDialogContentStyles.styles.raw.css.js.map +1 -0
  46. package/lib/components/DialogContent/useDialogContentStyles.styles.raw.js.map +1 -1
  47. package/lib/components/DialogSurface/DialogSurface.js.map +1 -1
  48. package/lib/components/DialogSurface/DialogSurface.module.css +70 -0
  49. package/lib/components/DialogSurface/DialogSurface.types.js.map +1 -1
  50. package/lib/components/DialogSurface/index.js.map +1 -1
  51. package/lib/components/DialogSurface/renderDialogSurface.js +2 -2
  52. package/lib/components/DialogSurface/renderDialogSurface.js.map +1 -1
  53. package/lib/components/DialogSurface/useDialogSurface.js.map +1 -1
  54. package/lib/components/DialogSurface/useDialogSurfaceContextValues.js.map +1 -1
  55. package/lib/components/DialogSurface/useDialogSurfaceStyles.styles.css.js +15 -0
  56. package/lib/components/DialogSurface/useDialogSurfaceStyles.styles.css.js.map +1 -0
  57. package/lib/components/DialogSurface/useDialogSurfaceStyles.styles.raw.css.js +15 -0
  58. package/lib/components/DialogSurface/useDialogSurfaceStyles.styles.raw.css.js.map +1 -0
  59. package/lib/components/DialogSurface/useDialogSurfaceStyles.styles.raw.js.map +1 -1
  60. package/lib/components/DialogSurfaceMotion.js.map +1 -1
  61. package/lib/components/DialogTitle/DialogTitle.js.map +1 -1
  62. package/lib/components/DialogTitle/DialogTitle.module.css +64 -0
  63. package/lib/components/DialogTitle/DialogTitle.types.js.map +1 -1
  64. package/lib/components/DialogTitle/index.js.map +1 -1
  65. package/lib/components/DialogTitle/renderDialogTitle.js +2 -2
  66. package/lib/components/DialogTitle/renderDialogTitle.js.map +1 -1
  67. package/lib/components/DialogTitle/useDialogTitle.js.map +1 -1
  68. package/lib/components/DialogTitle/useDialogTitleStyles.styles.css.js +14 -0
  69. package/lib/components/DialogTitle/useDialogTitleStyles.styles.css.js.map +1 -0
  70. package/lib/components/DialogTitle/useDialogTitleStyles.styles.raw.css.js +14 -0
  71. package/lib/components/DialogTitle/useDialogTitleStyles.styles.raw.css.js.map +1 -0
  72. package/lib/components/DialogTitle/useDialogTitleStyles.styles.raw.js.map +1 -1
  73. package/lib/components/DialogTrigger/DialogTrigger.js.map +1 -1
  74. package/lib/components/DialogTrigger/DialogTrigger.types.js.map +1 -1
  75. package/lib/components/DialogTrigger/index.js.map +1 -1
  76. package/lib/components/DialogTrigger/renderDialogTrigger.js.map +1 -1
  77. package/lib/components/DialogTrigger/useDialogTrigger.js.map +1 -1
  78. package/lib/contexts/constants.js.map +1 -1
  79. package/lib/contexts/dialogBackdropContext.js.map +1 -1
  80. package/lib/contexts/dialogContext.js.map +1 -1
  81. package/lib/contexts/dialogSurfaceContext.js.map +1 -1
  82. package/lib/contexts/index.js.map +1 -1
  83. package/lib/utils/index.js.map +1 -1
  84. package/lib/utils/useDisableBodyScroll.js +2 -2
  85. package/lib/utils/useDisableBodyScroll.js.map +1 -1
  86. package/lib/utils/useDisableBodyScroll.module.css +11 -0
  87. package/lib/utils/useDisableBodyScroll.styles.css.js +3 -0
  88. package/lib/utils/useDisableBodyScroll.styles.css.js.map +1 -0
  89. package/lib/utils/useDisableBodyScroll.styles.raw.css.js +3 -0
  90. package/lib/utils/useDisableBodyScroll.styles.raw.css.js.map +1 -0
  91. package/lib/utils/useDisableBodyScroll.styles.raw.js.map +1 -1
  92. package/lib/utils/useFocusFirstElement.js.map +1 -1
  93. package/lib-commonjs/Dialog.cjs +5 -5
  94. package/lib-commonjs/DialogActions.cjs +6 -6
  95. package/lib-commonjs/DialogBody.cjs +6 -6
  96. package/lib-commonjs/DialogContent.cjs +6 -6
  97. package/lib-commonjs/DialogSurface.cjs +7 -7
  98. package/lib-commonjs/DialogTitle.cjs +7 -7
  99. package/lib-commonjs/DialogTrigger.cjs +4 -4
  100. package/lib-commonjs/components/Dialog/Dialog.cjs.map +1 -1
  101. package/lib-commonjs/components/Dialog/Dialog.types.cjs.map +1 -1
  102. package/lib-commonjs/components/Dialog/index.cjs +5 -5
  103. package/lib-commonjs/components/Dialog/index.cjs.map +1 -1
  104. package/lib-commonjs/components/Dialog/renderDialog.cjs.map +1 -1
  105. package/lib-commonjs/components/Dialog/useDialog.cjs.map +1 -1
  106. package/lib-commonjs/components/Dialog/useDialogContextValues.cjs.map +1 -1
  107. package/lib-commonjs/components/DialogActions/DialogActions.cjs.map +1 -1
  108. package/lib-commonjs/components/DialogActions/DialogActions.module.css +47 -0
  109. package/lib-commonjs/components/DialogActions/DialogActions.types.cjs.map +1 -1
  110. package/lib-commonjs/components/DialogActions/index.cjs +6 -6
  111. package/lib-commonjs/components/DialogActions/index.cjs.map +1 -1
  112. package/lib-commonjs/components/DialogActions/renderDialogActions.cjs.map +1 -1
  113. package/lib-commonjs/components/DialogActions/useDialogActions.cjs.map +1 -1
  114. package/lib-commonjs/components/DialogActions/useDialogActionsStyles.styles.cjs +3 -3
  115. package/lib-commonjs/components/DialogActions/useDialogActionsStyles.styles.cjs.map +1 -1
  116. package/lib-commonjs/components/DialogActions/useDialogActionsStyles.styles.css.cjs +28 -0
  117. package/lib-commonjs/components/DialogActions/useDialogActionsStyles.styles.css.cjs.map +1 -0
  118. package/lib-commonjs/components/DialogActions/useDialogActionsStyles.styles.raw.cjs +3 -3
  119. package/lib-commonjs/components/DialogActions/useDialogActionsStyles.styles.raw.cjs.map +1 -1
  120. package/lib-commonjs/components/DialogActions/useDialogActionsStyles.styles.raw.css.cjs +28 -0
  121. package/lib-commonjs/components/DialogActions/useDialogActionsStyles.styles.raw.css.cjs.map +1 -0
  122. package/lib-commonjs/components/DialogBackdropMotion.cjs.map +1 -1
  123. package/lib-commonjs/components/DialogBody/DialogBody.cjs.map +1 -1
  124. package/lib-commonjs/components/DialogBody/DialogBody.module.css +19 -0
  125. package/lib-commonjs/components/DialogBody/DialogBody.types.cjs.map +1 -1
  126. package/lib-commonjs/components/DialogBody/index.cjs +6 -6
  127. package/lib-commonjs/components/DialogBody/index.cjs.map +1 -1
  128. package/lib-commonjs/components/DialogBody/renderDialogBody.cjs.map +1 -1
  129. package/lib-commonjs/components/DialogBody/useDialogBody.cjs.map +1 -1
  130. package/lib-commonjs/components/DialogBody/useDialogBodyStyles.styles.cjs +3 -3
  131. package/lib-commonjs/components/DialogBody/useDialogBodyStyles.styles.cjs.map +1 -1
  132. package/lib-commonjs/components/DialogBody/useDialogBodyStyles.styles.css.cjs +28 -0
  133. package/lib-commonjs/components/DialogBody/useDialogBodyStyles.styles.css.cjs.map +1 -0
  134. package/lib-commonjs/components/DialogBody/useDialogBodyStyles.styles.raw.cjs +3 -3
  135. package/lib-commonjs/components/DialogBody/useDialogBodyStyles.styles.raw.cjs.map +1 -1
  136. package/lib-commonjs/components/DialogBody/useDialogBodyStyles.styles.raw.css.cjs +28 -0
  137. package/lib-commonjs/components/DialogBody/useDialogBodyStyles.styles.raw.css.cjs.map +1 -0
  138. package/lib-commonjs/components/DialogContent/DialogContent.cjs.map +1 -1
  139. package/lib-commonjs/components/DialogContent/DialogContent.module.css +20 -0
  140. package/lib-commonjs/components/DialogContent/DialogContent.types.cjs.map +1 -1
  141. package/lib-commonjs/components/DialogContent/index.cjs +6 -6
  142. package/lib-commonjs/components/DialogContent/index.cjs.map +1 -1
  143. package/lib-commonjs/components/DialogContent/renderDialogContent.cjs.map +1 -1
  144. package/lib-commonjs/components/DialogContent/useDialogContent.cjs.map +1 -1
  145. package/lib-commonjs/components/DialogContent/useDialogContentStyles.styles.cjs +3 -3
  146. package/lib-commonjs/components/DialogContent/useDialogContentStyles.styles.cjs.map +1 -1
  147. package/lib-commonjs/components/DialogContent/useDialogContentStyles.styles.css.cjs +28 -0
  148. package/lib-commonjs/components/DialogContent/useDialogContentStyles.styles.css.cjs.map +1 -0
  149. package/lib-commonjs/components/DialogContent/useDialogContentStyles.styles.raw.cjs +3 -3
  150. package/lib-commonjs/components/DialogContent/useDialogContentStyles.styles.raw.cjs.map +1 -1
  151. package/lib-commonjs/components/DialogContent/useDialogContentStyles.styles.raw.css.cjs +28 -0
  152. package/lib-commonjs/components/DialogContent/useDialogContentStyles.styles.raw.css.cjs.map +1 -0
  153. package/lib-commonjs/components/DialogSurface/DialogSurface.cjs.map +1 -1
  154. package/lib-commonjs/components/DialogSurface/DialogSurface.module.css +70 -0
  155. package/lib-commonjs/components/DialogSurface/DialogSurface.types.cjs.map +1 -1
  156. package/lib-commonjs/components/DialogSurface/index.cjs +7 -7
  157. package/lib-commonjs/components/DialogSurface/index.cjs.map +1 -1
  158. package/lib-commonjs/components/DialogSurface/renderDialogSurface.cjs.map +1 -1
  159. package/lib-commonjs/components/DialogSurface/useDialogSurface.cjs.map +1 -1
  160. package/lib-commonjs/components/DialogSurface/useDialogSurfaceContextValues.cjs.map +1 -1
  161. package/lib-commonjs/components/DialogSurface/useDialogSurfaceStyles.styles.cjs +3 -3
  162. package/lib-commonjs/components/DialogSurface/useDialogSurfaceStyles.styles.cjs.map +1 -1
  163. package/lib-commonjs/components/DialogSurface/useDialogSurfaceStyles.styles.css.cjs +34 -0
  164. package/lib-commonjs/components/DialogSurface/useDialogSurfaceStyles.styles.css.cjs.map +1 -0
  165. package/lib-commonjs/components/DialogSurface/useDialogSurfaceStyles.styles.raw.cjs +3 -3
  166. package/lib-commonjs/components/DialogSurface/useDialogSurfaceStyles.styles.raw.cjs.map +1 -1
  167. package/lib-commonjs/components/DialogSurface/useDialogSurfaceStyles.styles.raw.css.cjs +34 -0
  168. package/lib-commonjs/components/DialogSurface/useDialogSurfaceStyles.styles.raw.css.cjs.map +1 -0
  169. package/lib-commonjs/components/DialogSurfaceMotion.cjs.map +1 -1
  170. package/lib-commonjs/components/DialogTitle/DialogTitle.cjs.map +1 -1
  171. package/lib-commonjs/components/DialogTitle/DialogTitle.module.css +64 -0
  172. package/lib-commonjs/components/DialogTitle/DialogTitle.types.cjs.map +1 -1
  173. package/lib-commonjs/components/DialogTitle/index.cjs +7 -7
  174. package/lib-commonjs/components/DialogTitle/index.cjs.map +1 -1
  175. package/lib-commonjs/components/DialogTitle/renderDialogTitle.cjs.map +1 -1
  176. package/lib-commonjs/components/DialogTitle/useDialogTitle.cjs.map +1 -1
  177. package/lib-commonjs/components/DialogTitle/useDialogTitleStyles.styles.cjs +4 -4
  178. package/lib-commonjs/components/DialogTitle/useDialogTitleStyles.styles.cjs.map +1 -1
  179. package/lib-commonjs/components/DialogTitle/useDialogTitleStyles.styles.css.cjs +36 -0
  180. package/lib-commonjs/components/DialogTitle/useDialogTitleStyles.styles.css.cjs.map +1 -0
  181. package/lib-commonjs/components/DialogTitle/useDialogTitleStyles.styles.raw.cjs +4 -4
  182. package/lib-commonjs/components/DialogTitle/useDialogTitleStyles.styles.raw.cjs.map +1 -1
  183. package/lib-commonjs/components/DialogTitle/useDialogTitleStyles.styles.raw.css.cjs +36 -0
  184. package/lib-commonjs/components/DialogTitle/useDialogTitleStyles.styles.raw.css.cjs.map +1 -0
  185. package/lib-commonjs/components/DialogTrigger/DialogTrigger.cjs.map +1 -1
  186. package/lib-commonjs/components/DialogTrigger/DialogTrigger.types.cjs.map +1 -1
  187. package/lib-commonjs/components/DialogTrigger/index.cjs +4 -4
  188. package/lib-commonjs/components/DialogTrigger/index.cjs.map +1 -1
  189. package/lib-commonjs/components/DialogTrigger/renderDialogTrigger.cjs.map +1 -1
  190. package/lib-commonjs/components/DialogTrigger/useDialogTrigger.cjs.map +1 -1
  191. package/lib-commonjs/contexts/constants.cjs +7 -7
  192. package/lib-commonjs/contexts/constants.cjs.map +1 -1
  193. package/lib-commonjs/contexts/dialogBackdropContext.cjs +4 -4
  194. package/lib-commonjs/contexts/dialogBackdropContext.cjs.map +1 -1
  195. package/lib-commonjs/contexts/dialogContext.cjs +4 -4
  196. package/lib-commonjs/contexts/dialogContext.cjs.map +1 -1
  197. package/lib-commonjs/contexts/dialogSurfaceContext.cjs +4 -4
  198. package/lib-commonjs/contexts/dialogSurfaceContext.cjs.map +1 -1
  199. package/lib-commonjs/contexts/index.cjs +16 -16
  200. package/lib-commonjs/contexts/index.cjs.map +1 -1
  201. package/lib-commonjs/index.cjs +43 -43
  202. package/lib-commonjs/index.cjs.map +1 -1
  203. package/lib-commonjs/utils/index.cjs +3 -3
  204. package/lib-commonjs/utils/index.cjs.map +1 -1
  205. package/lib-commonjs/utils/useDisableBodyScroll.cjs +2 -2
  206. package/lib-commonjs/utils/useDisableBodyScroll.cjs.map +1 -1
  207. package/lib-commonjs/utils/useDisableBodyScroll.module.css +11 -0
  208. package/lib-commonjs/utils/useDisableBodyScroll.styles.cjs +3 -3
  209. package/lib-commonjs/utils/useDisableBodyScroll.styles.cjs.map +1 -1
  210. package/lib-commonjs/utils/useDisableBodyScroll.styles.css.cjs +22 -0
  211. package/lib-commonjs/utils/useDisableBodyScroll.styles.css.cjs.map +1 -0
  212. package/lib-commonjs/utils/useDisableBodyScroll.styles.raw.cjs +3 -3
  213. package/lib-commonjs/utils/useDisableBodyScroll.styles.raw.cjs.map +1 -1
  214. package/lib-commonjs/utils/useDisableBodyScroll.styles.raw.css.cjs +22 -0
  215. package/lib-commonjs/utils/useDisableBodyScroll.styles.raw.css.cjs.map +1 -0
  216. package/lib-commonjs/utils/useFocusFirstElement.cjs.map +1 -1
  217. package/package.json +19 -19
  218. package/dist/metadata/api/api-root.json +0 -1
  219. package/dist/metadata/index.json +0 -1
@@ -5,134 +5,134 @@ Object.defineProperty(exports, "__esModule", {
5
5
  function _export(target, all) {
6
6
  for(var name in all)Object.defineProperty(target, name, {
7
7
  enumerable: true,
8
- get: all[name]
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- DIALOG_FULLSCREEN_DIALOG_SCROLLBAR_OFFSET: function() {
12
+ get DIALOG_FULLSCREEN_DIALOG_SCROLLBAR_OFFSET () {
13
13
  return _constants.DIALOG_FULLSCREEN_DIALOG_SCROLLBAR_OFFSET;
14
14
  },
15
- DIALOG_MEDIA_QUERY_BREAKPOINT_SELECTOR: function() {
15
+ get DIALOG_MEDIA_QUERY_BREAKPOINT_SELECTOR () {
16
16
  return _constants.DIALOG_MEDIA_QUERY_BREAKPOINT_SELECTOR;
17
17
  },
18
- DIALOG_MEDIA_QUERY_SHORT_SCREEN: function() {
18
+ get DIALOG_MEDIA_QUERY_SHORT_SCREEN () {
19
19
  return _constants.DIALOG_MEDIA_QUERY_SHORT_SCREEN;
20
20
  },
21
- Dialog: function() {
21
+ get Dialog () {
22
22
  return _Dialog.Dialog;
23
23
  },
24
- DialogActions: function() {
24
+ get DialogActions () {
25
25
  return _DialogActions.DialogActions;
26
26
  },
27
- DialogBackdropProvider: function() {
27
+ get DialogBackdropProvider () {
28
28
  return _index.DialogBackdropProvider;
29
29
  },
30
- DialogBody: function() {
30
+ get DialogBody () {
31
31
  return _DialogBody.DialogBody;
32
32
  },
33
- DialogContent: function() {
33
+ get DialogContent () {
34
34
  return _DialogContent.DialogContent;
35
35
  },
36
- DialogProvider: function() {
36
+ get DialogProvider () {
37
37
  return _index.DialogProvider;
38
38
  },
39
- DialogSurface: function() {
39
+ get DialogSurface () {
40
40
  return _DialogSurface.DialogSurface;
41
41
  },
42
- DialogSurfaceProvider: function() {
42
+ get DialogSurfaceProvider () {
43
43
  return _index.DialogSurfaceProvider;
44
44
  },
45
- DialogTitle: function() {
45
+ get DialogTitle () {
46
46
  return _DialogTitle.DialogTitle;
47
47
  },
48
- DialogTrigger: function() {
48
+ get DialogTrigger () {
49
49
  return _DialogTrigger.DialogTrigger;
50
50
  },
51
- dialogActionsClassNames: function() {
51
+ get dialogActionsClassNames () {
52
52
  return _DialogActions.dialogActionsClassNames;
53
53
  },
54
- dialogBodyClassNames: function() {
54
+ get dialogBodyClassNames () {
55
55
  return _DialogBody.dialogBodyClassNames;
56
56
  },
57
- dialogContentClassNames: function() {
57
+ get dialogContentClassNames () {
58
58
  return _DialogContent.dialogContentClassNames;
59
59
  },
60
- dialogSurfaceClassNames: function() {
60
+ get dialogSurfaceClassNames () {
61
61
  return _DialogSurface.dialogSurfaceClassNames;
62
62
  },
63
- dialogTitleClassNames: function() {
63
+ get dialogTitleClassNames () {
64
64
  return _DialogTitle.dialogTitleClassNames;
65
65
  },
66
- renderDialogActions_unstable: function() {
66
+ get renderDialogActions_unstable () {
67
67
  return _DialogActions.renderDialogActions_unstable;
68
68
  },
69
- renderDialogBody_unstable: function() {
69
+ get renderDialogBody_unstable () {
70
70
  return _DialogBody.renderDialogBody_unstable;
71
71
  },
72
- renderDialogContent_unstable: function() {
72
+ get renderDialogContent_unstable () {
73
73
  return _DialogContent.renderDialogContent_unstable;
74
74
  },
75
- renderDialogSurface_unstable: function() {
75
+ get renderDialogSurface_unstable () {
76
76
  return _DialogSurface.renderDialogSurface_unstable;
77
77
  },
78
- renderDialogTitle_unstable: function() {
78
+ get renderDialogTitle_unstable () {
79
79
  return _DialogTitle.renderDialogTitle_unstable;
80
80
  },
81
- renderDialogTrigger_unstable: function() {
81
+ get renderDialogTrigger_unstable () {
82
82
  return _DialogTrigger.renderDialogTrigger_unstable;
83
83
  },
84
- renderDialog_unstable: function() {
84
+ get renderDialog_unstable () {
85
85
  return _Dialog.renderDialog_unstable;
86
86
  },
87
- useDialogActionsStyles_unstable: function() {
87
+ get useDialogActionsStyles_unstable () {
88
88
  return _DialogActions.useDialogActionsStyles_unstable;
89
89
  },
90
- useDialogActions_unstable: function() {
90
+ get useDialogActions_unstable () {
91
91
  return _DialogActions.useDialogActions_unstable;
92
92
  },
93
- useDialogBackdropContext_unstable: function() {
93
+ get useDialogBackdropContext_unstable () {
94
94
  return _index.useDialogBackdropContext_unstable;
95
95
  },
96
- useDialogBodyStyles_unstable: function() {
96
+ get useDialogBodyStyles_unstable () {
97
97
  return _DialogBody.useDialogBodyStyles_unstable;
98
98
  },
99
- useDialogBody_unstable: function() {
99
+ get useDialogBody_unstable () {
100
100
  return _DialogBody.useDialogBody_unstable;
101
101
  },
102
- useDialogContentStyles_unstable: function() {
102
+ get useDialogContentStyles_unstable () {
103
103
  return _DialogContent.useDialogContentStyles_unstable;
104
104
  },
105
- useDialogContent_unstable: function() {
105
+ get useDialogContent_unstable () {
106
106
  return _DialogContent.useDialogContent_unstable;
107
107
  },
108
- useDialogContextValues_unstable: function() {
108
+ get useDialogContextValues_unstable () {
109
109
  return _Dialog.useDialogContextValues_unstable;
110
110
  },
111
- useDialogContext_unstable: function() {
111
+ get useDialogContext_unstable () {
112
112
  return _index.useDialogContext_unstable;
113
113
  },
114
- useDialogSurfaceContextValues_unstable: function() {
114
+ get useDialogSurfaceContextValues_unstable () {
115
115
  return _DialogSurface.useDialogSurfaceContextValues_unstable;
116
116
  },
117
- useDialogSurfaceContext_unstable: function() {
117
+ get useDialogSurfaceContext_unstable () {
118
118
  return _index.useDialogSurfaceContext_unstable;
119
119
  },
120
- useDialogSurfaceStyles_unstable: function() {
120
+ get useDialogSurfaceStyles_unstable () {
121
121
  return _DialogSurface.useDialogSurfaceStyles_unstable;
122
122
  },
123
- useDialogSurface_unstable: function() {
123
+ get useDialogSurface_unstable () {
124
124
  return _DialogSurface.useDialogSurface_unstable;
125
125
  },
126
- useDialogTitleStyles_unstable: function() {
126
+ get useDialogTitleStyles_unstable () {
127
127
  return _DialogTitle.useDialogTitleStyles_unstable;
128
128
  },
129
- useDialogTitle_unstable: function() {
129
+ get useDialogTitle_unstable () {
130
130
  return _DialogTitle.useDialogTitle_unstable;
131
131
  },
132
- useDialogTrigger_unstable: function() {
132
+ get useDialogTrigger_unstable () {
133
133
  return _DialogTrigger.useDialogTrigger_unstable;
134
134
  },
135
- useDialog_unstable: function() {
135
+ get useDialog_unstable () {
136
136
  return _Dialog.useDialog_unstable;
137
137
  }
138
138
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { Dialog, renderDialog_unstable, useDialog_unstable, useDialogContextValues_unstable } from './Dialog';\nexport type {\n DialogContextValues,\n DialogSlots,\n DialogProps,\n DialogState,\n DialogModalType,\n DialogOpenChangeData,\n DialogOpenChangeEvent,\n DialogOpenChangeEventHandler,\n} from './Dialog';\n\nexport { DialogTrigger, useDialogTrigger_unstable, renderDialogTrigger_unstable } from './DialogTrigger';\nexport type {\n DialogTriggerProps,\n DialogTriggerChildProps,\n DialogTriggerState,\n DialogTriggerAction,\n} from './DialogTrigger';\n\nexport {\n DialogActions,\n dialogActionsClassNames,\n useDialogActions_unstable,\n useDialogActionsStyles_unstable,\n renderDialogActions_unstable,\n} from './DialogActions';\nexport type {\n DialogActionsProps,\n DialogActionsSlots,\n DialogActionsState,\n DialogActionsPosition,\n} from './DialogActions';\n\nexport {\n DialogBody,\n dialogBodyClassNames,\n useDialogBody_unstable,\n useDialogBodyStyles_unstable,\n renderDialogBody_unstable,\n} from './DialogBody';\nexport type { DialogBodyProps, DialogBodySlots, DialogBodyState } from './DialogBody';\n\nexport {\n DialogTitle,\n dialogTitleClassNames,\n useDialogTitle_unstable,\n useDialogTitleStyles_unstable,\n renderDialogTitle_unstable,\n} from './DialogTitle';\nexport type { DialogTitleProps, DialogTitleSlots, DialogTitleState } from './DialogTitle';\n\nexport {\n DialogSurface,\n dialogSurfaceClassNames,\n useDialogSurface_unstable,\n useDialogSurfaceStyles_unstable,\n useDialogSurfaceContextValues_unstable,\n renderDialogSurface_unstable,\n} from './DialogSurface';\nexport type {\n DialogBackdropSlotProps,\n DialogSurfaceProps,\n DialogSurfaceSlots,\n DialogSurfaceState,\n DialogSurfaceElement,\n DialogSurfaceContextValues,\n} from './DialogSurface';\n\nexport {\n DialogContent,\n dialogContentClassNames,\n useDialogContent_unstable,\n useDialogContentStyles_unstable,\n renderDialogContent_unstable,\n} from './DialogContent';\nexport type { DialogContentProps, DialogContentSlots, DialogContentState } from './DialogContent';\n\nexport {\n useDialogContext_unstable,\n useDialogSurfaceContext_unstable,\n DialogProvider,\n DialogSurfaceProvider,\n DialogBackdropProvider,\n useDialogBackdropContext_unstable,\n} from './contexts/index';\n\nexport type { DialogContextValue, DialogSurfaceContextValue, DialogBackdropContextValue } from './contexts/index';\n\nexport {\n DIALOG_MEDIA_QUERY_BREAKPOINT_SELECTOR,\n DIALOG_MEDIA_QUERY_SHORT_SCREEN,\n DIALOG_FULLSCREEN_DIALOG_SCROLLBAR_OFFSET,\n} from './contexts/constants';\n"],"names":["Dialog","renderDialog_unstable","useDialog_unstable","useDialogContextValues_unstable","DialogTrigger","useDialogTrigger_unstable","renderDialogTrigger_unstable","DialogActions","dialogActionsClassNames","useDialogActions_unstable","useDialogActionsStyles_unstable","renderDialogActions_unstable","DialogBody","dialogBodyClassNames","useDialogBody_unstable","useDialogBodyStyles_unstable","renderDialogBody_unstable","DialogTitle","dialogTitleClassNames","useDialogTitle_unstable","useDialogTitleStyles_unstable","renderDialogTitle_unstable","DialogSurface","dialogSurfaceClassNames","useDialogSurface_unstable","useDialogSurfaceStyles_unstable","useDialogSurfaceContextValues_unstable","renderDialogSurface_unstable","DialogContent","dialogContentClassNames","useDialogContent_unstable","useDialogContentStyles_unstable","renderDialogContent_unstable","useDialogContext_unstable","useDialogSurfaceContext_unstable","DialogProvider","DialogSurfaceProvider","DialogBackdropProvider","useDialogBackdropContext_unstable","DIALOG_MEDIA_QUERY_BREAKPOINT_SELECTOR","DIALOG_MEDIA_QUERY_SHORT_SCREEN","DIALOG_FULLSCREEN_DIALOG_SCROLLBAR_OFFSET"],"mappings":";;;;;;;;;;;IA4FEyC,yCAAyC;;;;eAFzCF,iDAAsC;;IACtCC,+BAA+B;;;;eA3FxBxC,cAAM;;;eAqBbO,4BAAa;;IA8Db8B,sBAAsB;;;;eAhDtBzB,sBAAU;;;eAmCVgB,4BAAa;;IAWbO,cAAc;;;;eA5Bdb,4BAAa;;;eA6Bbc,4BAAqB;;IAtCrBnB,WAAW;;;;eAhCJb,4BAAa;;IAUpBI,uBAAuB;;;;eAcvBK,gCAAoB;;;eAmCpBgB,sCAAuB;;2BAjBA;eAAvBN;;;eATAL,kCAAqB;;;eApBrBP,2CAA4B;;IAc5BK,yBAAyB;;;;eAmCzBgB,2CAA4B;;;eAhB5BL,2CAA4B;;;eAV5BN,uCAA0B;;gCApCmD;eAA5Bf;;;eAZlCL,6BAAqB;;IAwBpCS;6DAA+B;;6BADN;eAAzBD;;IA6DA6B;uDAAiC;;;eA9CjCvB,wCAA4B;;;eAD5BD,kCAAsB;;IAoCtBiB;6DAA+B;;;eAD/BD,wCAAyB;;;eAxEiC3B,uCAA+B;;IA+EzF8B;+CAAyB;;;eAtBzBP,qDAAsC;;IAuBtCQ,gCAAgC;;;;eAxBhCT,8CAA+B;;;eAD/BD,wCAAyB;;;eARzBJ,0CAA6B;;;eAD7BD,oCAAuB;;;eAlCDd,wCAAyB;;;eAZTH,0BAAkB;;;wBAAyC,cAAW;+BAYvB,qBAAkB;+BAclG,qBAAkB;4BAclB,kBAAe;6BASf,mBAAgB;+BAUhB,qBAAkB;+BAgBlB,qBAAkB;uBAUlB,sBAAmB;2BAQnB,0BAAuB"}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { Dialog, renderDialog_unstable, useDialog_unstable, useDialogContextValues_unstable } from './Dialog';\nexport type {\n DialogContextValues,\n DialogSlots,\n DialogProps,\n DialogState,\n DialogModalType,\n DialogOpenChangeData,\n DialogOpenChangeEvent,\n DialogOpenChangeEventHandler,\n} from './Dialog';\n\nexport { DialogTrigger, useDialogTrigger_unstable, renderDialogTrigger_unstable } from './DialogTrigger';\nexport type {\n DialogTriggerProps,\n DialogTriggerChildProps,\n DialogTriggerState,\n DialogTriggerAction,\n} from './DialogTrigger';\n\nexport {\n DialogActions,\n dialogActionsClassNames,\n useDialogActions_unstable,\n useDialogActionsStyles_unstable,\n renderDialogActions_unstable,\n} from './DialogActions';\nexport type {\n DialogActionsProps,\n DialogActionsSlots,\n DialogActionsState,\n DialogActionsPosition,\n} from './DialogActions';\n\nexport {\n DialogBody,\n dialogBodyClassNames,\n useDialogBody_unstable,\n useDialogBodyStyles_unstable,\n renderDialogBody_unstable,\n} from './DialogBody';\nexport type { DialogBodyProps, DialogBodySlots, DialogBodyState } from './DialogBody';\n\nexport {\n DialogTitle,\n dialogTitleClassNames,\n useDialogTitle_unstable,\n useDialogTitleStyles_unstable,\n renderDialogTitle_unstable,\n} from './DialogTitle';\nexport type { DialogTitleProps, DialogTitleSlots, DialogTitleState } from './DialogTitle';\n\nexport {\n DialogSurface,\n dialogSurfaceClassNames,\n useDialogSurface_unstable,\n useDialogSurfaceStyles_unstable,\n useDialogSurfaceContextValues_unstable,\n renderDialogSurface_unstable,\n} from './DialogSurface';\nexport type {\n DialogBackdropSlotProps,\n DialogSurfaceProps,\n DialogSurfaceSlots,\n DialogSurfaceState,\n DialogSurfaceElement,\n DialogSurfaceContextValues,\n} from './DialogSurface';\n\nexport {\n DialogContent,\n dialogContentClassNames,\n useDialogContent_unstable,\n useDialogContentStyles_unstable,\n renderDialogContent_unstable,\n} from './DialogContent';\nexport type { DialogContentProps, DialogContentSlots, DialogContentState } from './DialogContent';\n\nexport {\n useDialogContext_unstable,\n useDialogSurfaceContext_unstable,\n DialogProvider,\n DialogSurfaceProvider,\n DialogBackdropProvider,\n useDialogBackdropContext_unstable,\n} from './contexts/index';\n\nexport type { DialogContextValue, DialogSurfaceContextValue, DialogBackdropContextValue } from './contexts/index';\n\nexport {\n DIALOG_MEDIA_QUERY_BREAKPOINT_SELECTOR,\n DIALOG_MEDIA_QUERY_SHORT_SCREEN,\n DIALOG_FULLSCREEN_DIALOG_SCROLLBAR_OFFSET,\n} from './contexts/constants';\n"],"names":["Dialog","renderDialog_unstable","useDialog_unstable","useDialogContextValues_unstable","DialogTrigger","useDialogTrigger_unstable","renderDialogTrigger_unstable","DialogActions","dialogActionsClassNames","useDialogActions_unstable","useDialogActionsStyles_unstable","renderDialogActions_unstable","DialogBody","dialogBodyClassNames","useDialogBody_unstable","useDialogBodyStyles_unstable","renderDialogBody_unstable","DialogTitle","dialogTitleClassNames","useDialogTitle_unstable","useDialogTitleStyles_unstable","renderDialogTitle_unstable","DialogSurface","dialogSurfaceClassNames","useDialogSurface_unstable","useDialogSurfaceStyles_unstable","useDialogSurfaceContextValues_unstable","renderDialogSurface_unstable","DialogContent","dialogContentClassNames","useDialogContent_unstable","useDialogContentStyles_unstable","renderDialogContent_unstable","useDialogContext_unstable","useDialogSurfaceContext_unstable","DialogProvider","DialogSurfaceProvider","DialogBackdropProvider","useDialogBackdropContext_unstable","DIALOG_MEDIA_QUERY_BREAKPOINT_SELECTOR","DIALOG_MEDIA_QUERY_SHORT_SCREEN","DIALOG_FULLSCREEN_DIALOG_SCROLLBAR_OFFSET"],"mappings":";;;;;;;;;;;QA4FEyC;mEAAyC;;;eAFzCF,iDAAsC;;QACtCC;yDAA+B;;;eA3FxBxC,cAAM;;;eAqBbO,4BAAa;;;eA8Db8B,6BAAsB;;;eAhDtBzB,sBAAU;;;eAmCVgB,4BAAa;;;eAWbO,qBAAc;;QA5Bdb;2CAAa;;QA6Bbc;2CAAqB;;QAtCrBnB;uCAAW;;;eAhCJb,4BAAa;;;eAUpBI,sCAAuB;;;eAcvBK,gCAAoB;;;eAmCpBgB,sCAAuB;;;eAjBvBN,sCAAuB;;;eATvBL,kCAAqB;;;eApBrBP,2CAA4B;;QAc5BK;oDAAyB;;;eAmCzBgB,2CAA4B;;QAhB5BL;0DAA4B;;;eAV5BN,uCAA0B;;;eApCuBf,2CAA4B;;;eAZ9DL,6BAAqB;;;eAwBpCS,8CAA+B;;;eAD/BD,wCAAyB;;;eA6DzB6B,wCAAiC;;;eA9CjCvB,wCAA4B;;;eAD5BD,kCAAsB;;;eAoCtBiB,8CAA+B;;;eAD/BD,wCAAyB;;;eAxEiC3B,uCAA+B;;;eA+EzF8B,gCAAyB;;;eAtBzBP,qDAAsC;;;eAuBtCQ,uCAAgC;;;eAxBhCT,8CAA+B;;;eAD/BD,wCAAyB;;;eARzBJ,0CAA6B;;;eAD7BD,oCAAuB;;;eAlCDd,wCAAyB;;;eAZTH,0BAAkB;;;wBAAyC,cAAW;+BAYvB,qBAAkB;+BAclG,qBAAkB;4BAclB,kBAAe;6BASf,mBAAgB;+BAUhB,qBAAkB;+BAgBlB,qBAAkB;uBAUlB,sBAAmB;2BAQnB,0BAAuB"}
@@ -5,14 +5,14 @@ Object.defineProperty(exports, "__esModule", {
5
5
  function _export(target, all) {
6
6
  for(var name in all)Object.defineProperty(target, name, {
7
7
  enumerable: true,
8
- get: all[name]
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- useDisableBodyScroll: function() {
12
+ get useDisableBodyScroll () {
13
13
  return _useDisableBodyScroll.useDisableBodyScroll;
14
14
  },
15
- useFocusFirstElement: function() {
15
+ get useFocusFirstElement () {
16
16
  return _useFocusFirstElement.useFocusFirstElement;
17
17
  }
18
18
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/utils/index.ts"],"sourcesContent":["export { useDisableBodyScroll } from './useDisableBodyScroll';\nexport { useFocusFirstElement } from './useFocusFirstElement';\n"],"names":["useDisableBodyScroll","useFocusFirstElement"],"mappings":";;;;;;;;;;;;eAASA,0CAAoB;;;eACpBC,0CAAoB;;;sCADQ,4BAAyB;sCACzB,4BAAyB"}
1
+ {"version":3,"sources":["../../src/utils/index.ts"],"sourcesContent":["export { useDisableBodyScroll } from './useDisableBodyScroll';\nexport { useFocusFirstElement } from './useFocusFirstElement';\n"],"names":["useDisableBodyScroll","useFocusFirstElement"],"mappings":";;;;;;;;;;;;eAASA,0CAAoB;;;eACpBC,0CAAoB;;;sCADQ,4BAAyB;sCACzB,4BAAyB"}
@@ -18,13 +18,13 @@ function useDisableBodyScroll() {
18
18
  const bodyNoScrollStyles = (0, _useDisableBodyScrollstyles.useBodyNoScrollStyles)();
19
19
  const { targetDocument } = (0, _reactsharedcontexts.useFluent_unstable)();
20
20
  const disableBodyScroll = _react.useCallback(()=>{
21
+ var _ref;
21
22
  var _targetDocument_defaultView;
22
23
  if (!targetDocument) {
23
24
  return;
24
25
  }
25
- var _targetDocument_defaultView_innerHeight;
26
26
  const isHorizontalScrollbarVisible = // To properly compare the body clientHeight to the window innerHeight, manually round down the fractional value to match innerHeight's calculation.
27
- Math.floor(targetDocument.body.getBoundingClientRect().height) > ((_targetDocument_defaultView_innerHeight = (_targetDocument_defaultView = targetDocument.defaultView) === null || _targetDocument_defaultView === void 0 ? void 0 : _targetDocument_defaultView.innerHeight) !== null && _targetDocument_defaultView_innerHeight !== void 0 ? _targetDocument_defaultView_innerHeight : 0);
27
+ Math.floor(targetDocument.body.getBoundingClientRect().height) > ((_ref = (_targetDocument_defaultView = targetDocument.defaultView) === null || _targetDocument_defaultView === void 0 ? void 0 : _targetDocument_defaultView.innerHeight) !== null && _ref !== void 0 ? _ref : 0);
28
28
  if (!isHorizontalScrollbarVisible) {
29
29
  return;
30
30
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/utils/useDisableBodyScroll.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useFluent_unstable } from '@fluentui/react-shared-contexts';\n\nimport { useBodyNoScrollStyles, useHTMLNoScrollStyles } from './useDisableBodyScroll.styles';\n\n/**\n * A React *hook* that disables body scrolling through `overflowY: hidden` CSS property\n *\n * @internal\n */\nexport function useDisableBodyScroll(): {\n disableBodyScroll: () => void;\n enableBodyScroll: () => void;\n} {\n const htmlNoScrollStyles = useHTMLNoScrollStyles();\n const bodyNoScrollStyles = useBodyNoScrollStyles();\n const { targetDocument } = useFluent_unstable();\n\n const disableBodyScroll = React.useCallback(() => {\n if (!targetDocument) {\n return;\n }\n const isHorizontalScrollbarVisible =\n // When the window is a fractional height, `innerHeight` always rounds down but `clientHeight` rounds either up or down depending on the value.\n // To properly compare the body clientHeight to the window innerHeight, manually round down the fractional value to match innerHeight's calculation.\n Math.floor(targetDocument.body.getBoundingClientRect().height) > (targetDocument.defaultView?.innerHeight ?? 0);\n if (!isHorizontalScrollbarVisible) {\n return;\n }\n targetDocument.documentElement.classList.add(htmlNoScrollStyles);\n targetDocument.body.classList.add(bodyNoScrollStyles);\n return;\n }, [targetDocument, htmlNoScrollStyles, bodyNoScrollStyles]);\n\n const enableBodyScroll = React.useCallback(() => {\n if (!targetDocument) {\n return;\n }\n targetDocument.documentElement.classList.remove(htmlNoScrollStyles);\n targetDocument.body.classList.remove(bodyNoScrollStyles);\n }, [targetDocument, htmlNoScrollStyles, bodyNoScrollStyles]);\n\n return {\n disableBodyScroll,\n enableBodyScroll,\n };\n}\n"],"names":["React","useFluent_unstable","useBodyNoScrollStyles","useHTMLNoScrollStyles","useDisableBodyScroll","htmlNoScrollStyles","bodyNoScrollStyles","targetDocument","disableBodyScroll","useCallback","isHorizontalScrollbarVisible","Math","floor","body","getBoundingClientRect","height","defaultView","innerHeight","documentElement","classList","add","enableBodyScroll","remove"],"mappings":"AAAA;;;;;+BAYgBI;;;;;;;iEAVO,QAAQ;qCACI,kCAAkC;4CAER,mCAAgC;AAOtF;IAIL,MAAMC,yBAAqBF,iDAAAA;IAC3B,MAAMG,yBAAqBJ,iDAAAA;IAC3B,MAAM,EAAEK,cAAc,EAAE,OAAGN,uCAAAA;IAE3B,MAAMO,oBAAoBR,OAAMS,WAAW,CAAC;YAO0BF;QANpE,IAAI,CAACA,gBAAgB;YACnB;QACF;YAIoEA;QAHpE,MAAMG,+BACJ,AACA,+IAD+I,KACK;QACpJC,KAAKC,KAAK,CAACL,eAAeM,IAAI,CAACC,qBAAqB,GAAGC,MAAM,IAAKR,CAAAA,CAAAA,0CAAAA,CAAAA,8BAAAA,eAAeS,WAAAA,AAAW,MAAA,QAA1BT,gCAAAA,KAAAA,IAAAA,KAAAA,IAAAA,4BAA4BU,WAAAA,AAAW,MAAA,QAAvCV,4CAAAA,KAAAA,IAAAA,2CAA2C,CAAA;QAC/G,IAAI,CAACG,8BAA8B;YACjC;QACF;QACAH,eAAeW,eAAe,CAACC,SAAS,CAACC,GAAG,CAACf;QAC7CE,eAAeM,IAAI,CAACM,SAAS,CAACC,GAAG,CAACd;QAClC;IACF,GAAG;QAACC;QAAgBF;QAAoBC;KAAmB;IAE3D,MAAMe,mBAAmBrB,OAAMS,WAAW,CAAC;QACzC,IAAI,CAACF,gBAAgB;YACnB;QACF;QACAA,eAAeW,eAAe,CAACC,SAAS,CAACG,MAAM,CAACjB;QAChDE,eAAeM,IAAI,CAACM,SAAS,CAACG,MAAM,CAAChB;IACvC,GAAG;QAACC;QAAgBF;QAAoBC;KAAmB;IAE3D,OAAO;QACLE;QACAa;IACF;AACF"}
1
+ {"version":3,"sources":["../../src/utils/useDisableBodyScroll.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useFluent_unstable } from '@fluentui/react-shared-contexts';\n\nimport { useBodyNoScrollStyles, useHTMLNoScrollStyles } from './useDisableBodyScroll.styles';\n\n/**\n * A React *hook* that disables body scrolling through `overflowY: hidden` CSS property\n *\n * @internal\n */\nexport function useDisableBodyScroll(): {\n disableBodyScroll: () => void;\n enableBodyScroll: () => void;\n} {\n const htmlNoScrollStyles = useHTMLNoScrollStyles();\n const bodyNoScrollStyles = useBodyNoScrollStyles();\n const { targetDocument } = useFluent_unstable();\n\n const disableBodyScroll = React.useCallback(() => {\n if (!targetDocument) {\n return;\n }\n const isHorizontalScrollbarVisible =\n // When the window is a fractional height, `innerHeight` always rounds down but `clientHeight` rounds either up or down depending on the value.\n // To properly compare the body clientHeight to the window innerHeight, manually round down the fractional value to match innerHeight's calculation.\n Math.floor(targetDocument.body.getBoundingClientRect().height) > (targetDocument.defaultView?.innerHeight ?? 0);\n if (!isHorizontalScrollbarVisible) {\n return;\n }\n targetDocument.documentElement.classList.add(htmlNoScrollStyles);\n targetDocument.body.classList.add(bodyNoScrollStyles);\n return;\n }, [targetDocument, htmlNoScrollStyles, bodyNoScrollStyles]);\n\n const enableBodyScroll = React.useCallback(() => {\n if (!targetDocument) {\n return;\n }\n targetDocument.documentElement.classList.remove(htmlNoScrollStyles);\n targetDocument.body.classList.remove(bodyNoScrollStyles);\n }, [targetDocument, htmlNoScrollStyles, bodyNoScrollStyles]);\n\n return {\n disableBodyScroll,\n enableBodyScroll,\n };\n}\n"],"names":["React","useFluent_unstable","useBodyNoScrollStyles","useHTMLNoScrollStyles","useDisableBodyScroll","htmlNoScrollStyles","bodyNoScrollStyles","targetDocument","disableBodyScroll","useCallback","isHorizontalScrollbarVisible","Math","floor","body","getBoundingClientRect","height","defaultView","innerHeight","documentElement","classList","add","enableBodyScroll","remove"],"mappings":"AAAA;;;;;+BAYgBI;;;;;;;iEAVO,QAAQ;qCACI,kCAAkC;4CAER,mCAAgC;AAOtF;IAIL,MAAMC,yBAAqBF,iDAAAA;IAC3B,MAAMG,yBAAqBJ,iDAAAA;IAC3B,MAAM,EAAEK,cAAc,EAAE,OAAGN,uCAAAA;IAE3B,MAAMO,oBAAoBR,OAAMS,WAAW,CAAC;;YAO0BF;QANpE,IAAI,CAACA,gBAAgB;YACnB;QACF;QACA,MAAMG,+BACJ,AACA,+IAD+I,KACK;QACpJC,KAAKC,KAAK,CAACL,eAAeM,IAAI,CAACC,qBAAqB,GAAGC,MAAM,IAAA,CAAA,CAAA,OAAA,CAAKR,8BAAAA,eAAeS,WAAAA,AAAW,MAAA,QAA1BT,gCAAAA,KAAAA,IAAAA,KAAAA,IAAAA,4BAA4BU,WAAAA,AAAW,MAAA,QAAA,SAAA,KAAA,IAAA,QAAI;QAC/G,IAAI,CAACP,8BAA8B;YACjC;QACF;QACAH,eAAeW,eAAe,CAACC,SAAS,CAACC,GAAG,CAACf;QAC7CE,eAAeM,IAAI,CAACM,SAAS,CAACC,GAAG,CAACd;QAClC;IACF,GAAG;QAACC;QAAgBF;QAAoBC;KAAmB;IAE3D,MAAMe,mBAAmBrB,OAAMS,WAAW,CAAC;QACzC,IAAI,CAACF,gBAAgB;YACnB;QACF;QACAA,eAAeW,eAAe,CAACC,SAAS,CAACG,MAAM,CAACjB;QAChDE,eAAeM,IAAI,CAACM,SAAS,CAACG,MAAM,CAAChB;IACvC,GAAG;QAACC;QAAgBF;QAAoBC;KAAmB;IAE3D,OAAO;QACLE;QACAa;IACF;AACF"}
@@ -0,0 +1,11 @@
1
+ @layer fluentui {
2
+ .htmlNoScroll {
3
+ overflow-y: hidden;
4
+ overflow-y: clip;
5
+ scrollbar-gutter: stable;
6
+ }
7
+
8
+ .bodyNoScroll {
9
+ overflow-y: hidden;
10
+ }
11
+ }
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
6
6
  function _export(target, all) {
7
7
  for(var name in all)Object.defineProperty(target, name, {
8
8
  enumerable: true,
9
- get: all[name]
9
+ get: Object.getOwnPropertyDescriptor(all, name).get
10
10
  });
11
11
  }
12
12
  _export(exports, {
13
- useBodyNoScrollStyles: function() {
13
+ get useBodyNoScrollStyles () {
14
14
  return useBodyNoScrollStyles;
15
15
  },
16
- useHTMLNoScrollStyles: function() {
16
+ get useHTMLNoScrollStyles () {
17
17
  return useHTMLNoScrollStyles;
18
18
  }
19
19
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["useDisableBodyScroll.styles.js"],"sourcesContent":["'use client';\nimport { makeResetStyles } from \"@griffel/react\";\n// this style must be applied to the html element to disable scrolling\nexport const useHTMLNoScrollStyles = makeResetStyles({\n overflowY: [\n 'hidden',\n 'clip'\n ],\n scrollbarGutter: 'stable'\n});\nexport const useBodyNoScrollStyles = makeResetStyles({\n overflowY: 'hidden'\n});\n"],"names":["__resetStyles","useHTMLNoScrollStyles","useBodyNoScrollStyles"],"mappings":"AAAA,YAAY;;;;;;;;;;;;yBAUsB;;;yBAPA;;;;uBAFF,gBAAgB;AAEzC,MAAMC,wBAAqB,WAAA,OAAGD,oBAAA,EAAA,WAAA,MAAA;IAAA;CAMpC,CAAC;AACK,MAAME,wBAAqB,WAAA,OAAGF,oBAAA,EAAA,YAAA,MAAA;IAAA;CAEpC,CAAC"}
1
+ {"version":3,"sources":["useDisableBodyScroll.styles.js"],"sourcesContent":["'use client';\nimport { makeResetStyles } from \"@griffel/react\";\n// this style must be applied to the html element to disable scrolling\nexport const useHTMLNoScrollStyles = makeResetStyles({\n overflowY: [\n 'hidden',\n 'clip'\n ],\n scrollbarGutter: 'stable'\n});\nexport const useBodyNoScrollStyles = makeResetStyles({\n overflowY: 'hidden'\n});\n"],"names":["__resetStyles","useHTMLNoScrollStyles","useBodyNoScrollStyles"],"mappings":"AAAA,YAAY;;;;;;;;;;;;;;;;;;;uBACoB,gBAAgB;AAEzC,MAAMC,qBAAqB,GAAA,WAAA,OAAGD,oBAAA,EAAA,WAAA,MAAA;IAAA;CAMpC,CAAC;AACK,MAAME,qBAAqB,GAAA,WAAA,OAAGF,oBAAA,EAAA,YAAA,MAAA;IAAA;CAEpC,CAAC"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
+ });
10
+ }
11
+ _export(exports, {
12
+ get useBodyNoScrollStyles () {
13
+ return useBodyNoScrollStyles;
14
+ },
15
+ get useHTMLNoScrollStyles () {
16
+ return useHTMLNoScrollStyles;
17
+ }
18
+ });
19
+ const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
20
+ const _useDisableBodyScrollmodulecss = /*#__PURE__*/ _interop_require_default._(require("./useDisableBodyScroll.module.css"));
21
+ const useHTMLNoScrollStyles = ()=>_useDisableBodyScrollmodulecss.default.htmlNoScroll;
22
+ const useBodyNoScrollStyles = ()=>_useDisableBodyScrollmodulecss.default.bodyNoScroll;
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/utils/useDisableBodyScroll.styles.css.ts"],"sourcesContent":["import styles from './useDisableBodyScroll.module.css';\n\nexport const useHTMLNoScrollStyles = (): string => styles.htmlNoScroll;\n\nexport const useBodyNoScrollStyles = (): string => styles.bodyNoScroll;\n"],"names":["styles","useHTMLNoScrollStyles","htmlNoScroll","useBodyNoScrollStyles","bodyNoScroll"],"mappings":";;;;;;;;;;;;;;;;;;;wFAAmB,oCAAoC;AAEhD,MAAMC,wBAAwB,IAAcD,sCAAAA,CAAOE,YAAY,CAAC;AAEhE,MAAMC,wBAAwB,IAAcH,sCAAAA,CAAOI,YAAY,CAAC"}
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
6
6
  function _export(target, all) {
7
7
  for(var name in all)Object.defineProperty(target, name, {
8
8
  enumerable: true,
9
- get: all[name]
9
+ get: Object.getOwnPropertyDescriptor(all, name).get
10
10
  });
11
11
  }
12
12
  _export(exports, {
13
- useBodyNoScrollStyles: function() {
13
+ get useBodyNoScrollStyles () {
14
14
  return useBodyNoScrollStyles;
15
15
  },
16
- useHTMLNoScrollStyles: function() {
16
+ get useHTMLNoScrollStyles () {
17
17
  return useHTMLNoScrollStyles;
18
18
  }
19
19
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/utils/useDisableBodyScroll.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeResetStyles } from '@griffel/react';\n\n// this style must be applied to the html element to disable scrolling\nexport const useHTMLNoScrollStyles = makeResetStyles({\n overflowY: ['hidden', 'clip'],\n scrollbarGutter: 'stable',\n});\n\nexport const useBodyNoScrollStyles = makeResetStyles({\n overflowY: 'hidden',\n});\n"],"names":["makeResetStyles","useHTMLNoScrollStyles","overflowY","scrollbarGutter","useBodyNoScrollStyles"],"mappings":"AAAA;;;;;;;;;;;;yBAUaI;;;yBALAH;;;;uBAHmB,iBAAiB;AAG1C,MAAMA,4BAAwBD,sBAAAA,EAAgB;IACnDE,WAAW;QAAC;QAAU;KAAO;IAC7BC,iBAAiB;AACnB,GAAG;AAEI,MAAMC,4BAAwBJ,sBAAAA,EAAgB;IACnDE,WAAW;AACb,GAAG"}
1
+ {"version":3,"sources":["../../src/utils/useDisableBodyScroll.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeResetStyles } from '@griffel/react';\n\n// this style must be applied to the html element to disable scrolling\nexport const useHTMLNoScrollStyles = makeResetStyles({\n overflowY: ['hidden', 'clip'],\n scrollbarGutter: 'stable',\n});\n\nexport const useBodyNoScrollStyles = makeResetStyles({\n overflowY: 'hidden',\n});\n"],"names":["makeResetStyles","useHTMLNoScrollStyles","overflowY","scrollbarGutter","useBodyNoScrollStyles"],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;uBAEgC,iBAAiB;AAG1C,MAAMC,4BAAwBD,sBAAAA,EAAgB;IACnDE,WAAW;QAAC;QAAU;KAAO;IAC7BC,iBAAiB;AACnB,GAAG;AAEI,MAAMC,4BAAwBJ,sBAAAA,EAAgB;IACnDE,WAAW;AACb,GAAG"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
+ });
10
+ }
11
+ _export(exports, {
12
+ get useBodyNoScrollStyles () {
13
+ return useBodyNoScrollStyles;
14
+ },
15
+ get useHTMLNoScrollStyles () {
16
+ return useHTMLNoScrollStyles;
17
+ }
18
+ });
19
+ const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
20
+ const _useDisableBodyScrollmodulecss = /*#__PURE__*/ _interop_require_default._(require("./useDisableBodyScroll.module.css"));
21
+ const useHTMLNoScrollStyles = ()=>_useDisableBodyScrollmodulecss.default.htmlNoScroll;
22
+ const useBodyNoScrollStyles = ()=>_useDisableBodyScrollmodulecss.default.bodyNoScroll;
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/utils/useDisableBodyScroll.styles.css.ts"],"sourcesContent":["import styles from './useDisableBodyScroll.module.css';\n\nexport const useHTMLNoScrollStyles = (): string => styles.htmlNoScroll;\n\nexport const useBodyNoScrollStyles = (): string => styles.bodyNoScroll;\n"],"names":["styles","useHTMLNoScrollStyles","htmlNoScroll","useBodyNoScrollStyles","bodyNoScroll"],"mappings":";;;;;;;;;;;;;;;;;;;wFAAmB,oCAAoC;AAEhD,MAAMC,wBAAwB,IAAcD,sCAAAA,CAAOE,YAAY,CAAC;AAEhE,MAAMC,wBAAwB,IAAcH,sCAAAA,CAAOI,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/utils/useFocusFirstElement.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useFocusFinders } from '@fluentui/react-tabster';\nimport { useFluent_unstable } from '@fluentui/react-shared-contexts';\nimport type { DialogSurfaceElement } from '../DialogSurface';\nimport type { DialogModalType } from '../Dialog';\n\n/**\n * Focus first element on content when dialog is opened,\n */\nexport function useFocusFirstElement(\n open: boolean,\n modalType: DialogModalType,\n): React.RefObject<DialogSurfaceElement | null> {\n const { findFirstFocusable } = useFocusFinders();\n const { targetDocument } = useFluent_unstable();\n const dialogRef = React.useRef<DialogSurfaceElement | null>(null);\n\n React.useEffect(() => {\n if (!open) {\n return;\n }\n const element = dialogRef.current && findFirstFocusable(dialogRef.current);\n if (element) {\n element.focus();\n } else {\n dialogRef.current?.focus(); // https://github.com/microsoft/fluentui/issues/25150\n if (process.env.NODE_ENV === 'development') {\n // eslint-disable-next-line no-console\n console.warn(/** #__DE-INDENT__ */ `\n @fluentui/react-dialog [useFocusFirstElement]:\n A Dialog should have at least one focusable element inside DialogSurface.\n Please add at least a close button either on \\`DialogTitle\\` action slot or inside \\`DialogActions\\`\n `);\n }\n }\n }, [findFirstFocusable, open, modalType, targetDocument]);\n\n return dialogRef;\n}\n"],"names":["React","useFocusFinders","useFluent_unstable","useFocusFirstElement","open","modalType","findFirstFocusable","targetDocument","dialogRef","useRef","useEffect","element","current","focus","process","env","NODE_ENV","console","warn"],"mappings":"AAAA;;;;;+BAWgBG;;;;;;;iEATO,QAAQ;8BACC,0BAA0B;qCACvB,kCAAkC;AAO9D,8BACLC,IAAa,EACbC,SAA0B;IAE1B,MAAM,EAAEC,kBAAkB,EAAE,OAAGL,6BAAAA;IAC/B,MAAM,EAAEM,cAAc,EAAE,OAAGL,uCAAAA;IAC3B,MAAMM,YAAYR,OAAMS,MAAM,CAA8B;IAE5DT,OAAMU,SAAS,CAAC;QACd,IAAI,CAACN,MAAM;YACT;QACF;QACA,MAAMO,UAAUH,UAAUI,OAAO,IAAIN,mBAAmBE,UAAUI,OAAO;QACzE,IAAID,SAAS;YACXA,QAAQE,KAAK;QACf,OAAO;gBACLL;aAAAA,qBAAAA,UAAUI,OAAAA,AAAO,MAAA,QAAjBJ,uBAAAA,KAAAA,IAAAA,KAAAA,IAAAA,mBAAmBK,KAAK,IAAI,qDAAqD;YACjF,IAAIC,QAAQC,GAAG,CAACC,QAAQ,KAAK,eAAe;gBAC1C,sCAAsC;gBACtCC,QAAQC,IAAI,CAAuB,CAAC;;oGAIpC,CAAC;YACH;QACF;IACF,GAAG;QAACZ;QAAoBF;QAAMC;QAAWE;KAAe;IAExD,OAAOC;AACT"}
1
+ {"version":3,"sources":["../../src/utils/useFocusFirstElement.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useFocusFinders } from '@fluentui/react-tabster';\nimport { useFluent_unstable } from '@fluentui/react-shared-contexts';\nimport type { DialogSurfaceElement } from '../DialogSurface';\nimport type { DialogModalType } from '../Dialog';\n\n/**\n * Focus first element on content when dialog is opened,\n */\nexport function useFocusFirstElement(\n open: boolean,\n modalType: DialogModalType,\n): React.RefObject<DialogSurfaceElement | null> {\n const { findFirstFocusable } = useFocusFinders();\n const { targetDocument } = useFluent_unstable();\n const dialogRef = React.useRef<DialogSurfaceElement | null>(null);\n\n React.useEffect(() => {\n if (!open) {\n return;\n }\n const element = dialogRef.current && findFirstFocusable(dialogRef.current);\n if (element) {\n element.focus();\n } else {\n dialogRef.current?.focus(); // https://github.com/microsoft/fluentui/issues/25150\n if (process.env.NODE_ENV === 'development') {\n // eslint-disable-next-line no-console\n console.warn(/** #__DE-INDENT__ */ `\n @fluentui/react-dialog [useFocusFirstElement]:\n A Dialog should have at least one focusable element inside DialogSurface.\n Please add at least a close button either on \\`DialogTitle\\` action slot or inside \\`DialogActions\\`\n `);\n }\n }\n }, [findFirstFocusable, open, modalType, targetDocument]);\n\n return dialogRef;\n}\n"],"names":["React","useFocusFinders","useFluent_unstable","useFocusFirstElement","open","modalType","findFirstFocusable","targetDocument","dialogRef","useRef","useEffect","element","current","focus","process","env","NODE_ENV","console","warn"],"mappings":"AAAA;;;;;+BAWgBG;;;;;;;iEATO,QAAQ;8BACC,0BAA0B;qCACvB,kCAAkC;AAO9D,8BACLC,IAAa,EACbC,SAA0B;IAE1B,MAAM,EAAEC,kBAAkB,EAAE,OAAGL,6BAAAA;IAC/B,MAAM,EAAEM,cAAc,EAAE,OAAGL,uCAAAA;IAC3B,MAAMM,YAAYR,OAAMS,MAAM,CAA8B;IAE5DT,OAAMU,SAAS,CAAC;QACd,IAAI,CAACN,MAAM;YACT;QACF;QACA,MAAMO,UAAUH,UAAUI,OAAO,IAAIN,mBAAmBE,UAAUI,OAAO;QACzE,IAAID,SAAS;YACXA,QAAQE,KAAK;QACf,OAAO;gBACLL;aAAAA,qBAAAA,UAAUI,OAAAA,AAAO,MAAA,QAAjBJ,uBAAAA,KAAAA,IAAAA,KAAAA,IAAAA,mBAAmBK,KAAK,IAAI,qDAAqD;YACjF,IAAIC,QAAQC,GAAG,CAACC,QAAQ,KAAK,eAAe;gBAC1C,sCAAsC;gBACtCC,QAAQC,IAAI,CAAuB,CAAC;;oGAIpC,CAAC;YACH;QACF;IACF,GAAG;QAACZ;QAAoBF;QAAMC;QAAWE;KAAe;IAExD,OAAOC;AACT"}
package/package.json CHANGED
@@ -1,31 +1,34 @@
1
1
  {
2
2
  "name": "@fluentui/react-dialog",
3
- "version": "9.74.7-experimental.cli-api.20261006-ccaa611d58.0",
3
+ "version": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
4
4
  "description": "Dialog component for Fluent UI React",
5
5
  "main": "lib-commonjs/index.cjs",
6
6
  "module": "lib/index.js",
7
7
  "typings": "./dist/index.d.ts",
8
- "sideEffects": false,
8
+ "sideEffects": [
9
+ "**/*.css"
10
+ ],
9
11
  "repository": {
10
12
  "type": "git",
11
13
  "url": "https://github.com/microsoft/fluentui"
12
14
  },
13
15
  "license": "MIT",
14
16
  "dependencies": {
15
- "@fluentui/keyboard-keys": "9.74.7-experimental.cli-api.20261006-ccaa611d58.0",
16
- "@fluentui/react-aria": "9.74.7-experimental.cli-api.20261006-ccaa611d58.0",
17
- "@fluentui/react-context-selector": "9.74.7-experimental.cli-api.20261006-ccaa611d58.0",
17
+ "@fluentui/keyboard-keys": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
18
+ "@fluentui/react-aria": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
19
+ "@fluentui/react-context-selector": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
18
20
  "@fluentui/react-icons": "^2.0.245",
19
- "@fluentui/react-jsx-runtime": "9.74.7-experimental.cli-api.20261006-ccaa611d58.0",
20
- "@fluentui/react-motion": "9.74.7-experimental.cli-api.20261006-ccaa611d58.0",
21
- "@fluentui/react-motion-components-preview": "9.74.7-experimental.cli-api.20261006-ccaa611d58.0",
22
- "@fluentui/react-portal": "9.74.7-experimental.cli-api.20261006-ccaa611d58.0",
23
- "@fluentui/react-shared-contexts": "9.74.7-experimental.cli-api.20261006-ccaa611d58.0",
24
- "@fluentui/react-tabster": "9.74.7-experimental.cli-api.20261006-ccaa611d58.0",
25
- "@fluentui/react-theme": "9.74.7-experimental.cli-api.20261006-ccaa611d58.0",
26
- "@fluentui/react-utilities": "9.74.7-experimental.cli-api.20261006-ccaa611d58.0",
21
+ "@fluentui/react-jsx-runtime": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
22
+ "@fluentui/react-motion": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
23
+ "@fluentui/react-motion-components-preview": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
24
+ "@fluentui/react-portal": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
25
+ "@fluentui/react-shared-contexts": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
26
+ "@fluentui/react-tabster": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
27
+ "@fluentui/react-theme": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
28
+ "@fluentui/react-utilities": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
27
29
  "@griffel/react": "^1.5.32",
28
- "@swc/helpers": "^0.5.1"
30
+ "@swc/helpers": "^0.5.1",
31
+ "clsx": "^2.1.1"
29
32
  },
30
33
  "peerDependencies": {
31
34
  "@types/react": ">=16.14.0 <20.0.0",
@@ -48,7 +51,6 @@
48
51
  "default": "./lib-commonjs/index.cjs"
49
52
  }
50
53
  },
51
- "./metadata.json": "./dist/metadata/index.json",
52
54
  "./package.json": "./package.json"
53
55
  },
54
56
  "files": [
@@ -56,9 +58,7 @@
56
58
  "dist/*.d.ts",
57
59
  "dist/*.d.cts",
58
60
  "lib",
59
- "lib-commonjs",
60
- "dist/metadata"
61
+ "lib-commonjs"
61
62
  ],
62
- "type": "module",
63
- "fluentuiCatalog": "./metadata.json"
63
+ "type": "module"
64
64
  }