@fluentui/react-dialog 9.11.21 → 9.11.22
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.
- package/CHANGELOG.md +12 -1
- package/dist/index.d.ts +1 -2
- package/lib/components/DialogBackdropMotion.js +2 -23
- package/lib/components/DialogBackdropMotion.js.map +1 -1
- package/lib/contexts/dialogSurfaceContext.js +4 -4
- package/lib/contexts/dialogSurfaceContext.js.map +1 -1
- package/lib/utils/useDisableBodyScroll.js +3 -3
- package/lib/utils/useDisableBodyScroll.js.map +1 -1
- package/lib-commonjs/components/DialogBackdropMotion.js +2 -23
- package/lib-commonjs/components/DialogBackdropMotion.js.map +1 -1
- package/lib-commonjs/contexts/dialogSurfaceContext.js +5 -4
- package/lib-commonjs/contexts/dialogSurfaceContext.js.map +1 -1
- package/lib-commonjs/utils/useDisableBodyScroll.js +4 -3
- package/lib-commonjs/utils/useDisableBodyScroll.js.map +1 -1
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-dialog
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Thu, 28 Nov 2024 09:29:41 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [9.11.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.11.22)
|
|
8
|
+
|
|
9
|
+
Thu, 28 Nov 2024 09:29:41 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.11.20..@fluentui/react-dialog_v9.11.22)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- feat(motion): update DialogBackdropMotion to use createFadePresence API ([PR #33288](https://github.com/microsoft/fluentui/pull/33288) by olkatruk@microsoft.com)
|
|
15
|
+
- Bump @fluentui/react-motion to v9.6.2 ([PR #33331](https://github.com/microsoft/fluentui/pull/33331) by beachball)
|
|
16
|
+
- Bump @fluentui/react-motion-components-preview to v0.3.1 ([PR #33331](https://github.com/microsoft/fluentui/pull/33331) by beachball)
|
|
17
|
+
|
|
7
18
|
## [9.11.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.11.20)
|
|
8
19
|
|
|
9
20
|
Tue, 12 Nov 2024 09:31:25 GMT
|
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ import type { ForwardRefComponent } from '@fluentui/react-utilities';
|
|
|
9
9
|
import { JSXElementConstructor } from 'react';
|
|
10
10
|
import type { PortalProps } from '@fluentui/react-portal';
|
|
11
11
|
import type { PresenceMotionSlotProps } from '@fluentui/react-motion';
|
|
12
|
-
import { Provider } from 'react';
|
|
13
12
|
import * as React_2 from 'react';
|
|
14
13
|
import { ReactElement } from 'react';
|
|
15
14
|
import type { Slot } from '@fluentui/react-utilities';
|
|
@@ -245,7 +244,7 @@ export declare type DialogSurfaceElement = HTMLElement;
|
|
|
245
244
|
*/
|
|
246
245
|
export declare type DialogSurfaceProps = ComponentProps<Partial<DialogSurfaceSlots>> & Pick<PortalProps, 'mountNode'>;
|
|
247
246
|
|
|
248
|
-
export declare const DialogSurfaceProvider: Provider<boolean | undefined>;
|
|
247
|
+
export declare const DialogSurfaceProvider: React_2.Provider<boolean | undefined>;
|
|
249
248
|
|
|
250
249
|
export declare type DialogSurfaceSlots = {
|
|
251
250
|
/**
|
|
@@ -1,23 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
3
|
-
{
|
|
4
|
-
opacity: 0
|
|
5
|
-
},
|
|
6
|
-
{
|
|
7
|
-
opacity: 1
|
|
8
|
-
}
|
|
9
|
-
];
|
|
10
|
-
export const DialogBackdropMotion = createPresenceComponent({
|
|
11
|
-
enter: {
|
|
12
|
-
keyframes,
|
|
13
|
-
easing: motionTokens.curveLinear,
|
|
14
|
-
duration: motionTokens.durationGentle
|
|
15
|
-
},
|
|
16
|
-
exit: {
|
|
17
|
-
keyframes: [
|
|
18
|
-
...keyframes
|
|
19
|
-
].reverse(),
|
|
20
|
-
easing: motionTokens.curveLinear,
|
|
21
|
-
duration: motionTokens.durationGentle
|
|
22
|
-
}
|
|
23
|
-
});
|
|
1
|
+
import { FadeRelaxed } from '@fluentui/react-motion-components-preview';
|
|
2
|
+
export const DialogBackdropMotion = FadeRelaxed;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/DialogBackdropMotion.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"sources":["../src/components/DialogBackdropMotion.ts"],"sourcesContent":["import { FadeRelaxed } from '@fluentui/react-motion-components-preview';\n\nexport const DialogBackdropMotion = FadeRelaxed;\n"],"names":["FadeRelaxed","DialogBackdropMotion"],"rangeMappings":";","mappings":"AAAA,SAASA,WAAW,QAAQ,4CAA4C;AAExE,OAAO,MAAMC,uBAAuBD,YAAY"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
const defaultContextValue = false;
|
|
3
|
-
export const DialogSurfaceContext = createContext(undefined);
|
|
3
|
+
export const DialogSurfaceContext = React.createContext(undefined);
|
|
4
4
|
export const DialogSurfaceProvider = DialogSurfaceContext.Provider;
|
|
5
5
|
export const useDialogSurfaceContext_unstable = ()=>{
|
|
6
|
-
var
|
|
7
|
-
return (
|
|
6
|
+
var _React_useContext;
|
|
7
|
+
return (_React_useContext = React.useContext(DialogSurfaceContext)) !== null && _React_useContext !== void 0 ? _React_useContext : defaultContextValue;
|
|
8
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/contexts/dialogSurfaceContext.ts"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"sources":["../src/contexts/dialogSurfaceContext.ts"],"sourcesContent":["import * as React from 'react';\n\nexport type DialogSurfaceContextValue = boolean;\n\nconst defaultContextValue: DialogSurfaceContextValue = false;\n\nexport const DialogSurfaceContext = React.createContext<DialogSurfaceContextValue | undefined>(undefined);\n\nexport const DialogSurfaceProvider = DialogSurfaceContext.Provider;\n\nexport const useDialogSurfaceContext_unstable = () => React.useContext(DialogSurfaceContext) ?? defaultContextValue;\n"],"names":["React","defaultContextValue","DialogSurfaceContext","createContext","undefined","DialogSurfaceProvider","Provider","useDialogSurfaceContext_unstable","useContext"],"rangeMappings":";;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAI/B,MAAMC,sBAAiD;AAEvD,OAAO,MAAMC,uBAAuBF,MAAMG,aAAa,CAAwCC,WAAW;AAE1G,OAAO,MAAMC,wBAAwBH,qBAAqBI,QAAQ,CAAC;AAEnE,OAAO,MAAMC,mCAAmC;QAAMP;WAAAA,CAAAA,oBAAAA,MAAMQ,UAAU,CAACN,mCAAjBF,+BAAAA,oBAA0CC;AAAkB,EAAE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import { useFluent_unstable } from '@fluentui/react-shared-contexts';
|
|
2
|
-
import { useCallback } from 'react';
|
|
3
3
|
import { useBodyNoScrollStyles, useHTMLNoScrollStyles } from './useDisableBodyScroll.styles';
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
@@ -8,7 +8,7 @@ import { useBodyNoScrollStyles, useHTMLNoScrollStyles } from './useDisableBodySc
|
|
|
8
8
|
const htmlNoScrollStyles = useHTMLNoScrollStyles();
|
|
9
9
|
const bodyNoScrollStyles = useBodyNoScrollStyles();
|
|
10
10
|
const { targetDocument } = useFluent_unstable();
|
|
11
|
-
const disableBodyScroll = useCallback(()=>{
|
|
11
|
+
const disableBodyScroll = React.useCallback(()=>{
|
|
12
12
|
var _targetDocument_defaultView;
|
|
13
13
|
if (!targetDocument) {
|
|
14
14
|
return;
|
|
@@ -28,7 +28,7 @@ import { useBodyNoScrollStyles, useHTMLNoScrollStyles } from './useDisableBodySc
|
|
|
28
28
|
htmlNoScrollStyles,
|
|
29
29
|
bodyNoScrollStyles
|
|
30
30
|
]);
|
|
31
|
-
const enableBodyScroll = useCallback(()=>{
|
|
31
|
+
const enableBodyScroll = React.useCallback(()=>{
|
|
32
32
|
if (!targetDocument) {
|
|
33
33
|
return;
|
|
34
34
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/utils/useDisableBodyScroll.ts"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"sources":["../src/utils/useDisableBodyScroll.ts"],"sourcesContent":["import * as React from 'react';\nimport { useFluent_unstable } from '@fluentui/react-shared-contexts';\n\nimport { useBodyNoScrollStyles, useHTMLNoScrollStyles } from './useDisableBodyScroll.styles';\n\n/**\n * @internal\n * A React *hook* that disables body scrolling through `overflowY: hidden` CSS property\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"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,kBAAkB,QAAQ,kCAAkC;AAErE,SAASC,qBAAqB,EAAEC,qBAAqB,QAAQ,gCAAgC;AAE7F;;;CAGC,GACD,OAAO,SAASC;IAId,MAAMC,qBAAqBF;IAC3B,MAAMG,qBAAqBJ;IAC3B,MAAM,EAAEK,cAAc,EAAE,GAAGN;IAE3B,MAAMO,oBAAoBR,MAAMS,WAAW,CAAC;YAO0BF;QANpE,IAAI,CAACA,gBAAgB;YACnB;QACF;YAIoEA;QAHpE,MAAMG,+BACJ,+IAA+I;QAC/I,oJAAoJ;QACpJC,KAAKC,KAAK,CAACL,eAAeM,IAAI,CAACC,qBAAqB,GAAGC,MAAM,IAAKR,CAAAA,CAAAA,2CAAAA,8BAAAA,eAAeS,WAAW,cAA1BT,kDAAAA,4BAA4BU,WAAW,cAAvCV,qDAAAA,0CAA2C,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,MAAMS,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"}
|
|
@@ -8,26 +8,5 @@ Object.defineProperty(exports, "DialogBackdropMotion", {
|
|
|
8
8
|
return DialogBackdropMotion;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
{
|
|
14
|
-
opacity: 0
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
opacity: 1
|
|
18
|
-
}
|
|
19
|
-
];
|
|
20
|
-
const DialogBackdropMotion = (0, _reactmotion.createPresenceComponent)({
|
|
21
|
-
enter: {
|
|
22
|
-
keyframes,
|
|
23
|
-
easing: _reactmotion.motionTokens.curveLinear,
|
|
24
|
-
duration: _reactmotion.motionTokens.durationGentle
|
|
25
|
-
},
|
|
26
|
-
exit: {
|
|
27
|
-
keyframes: [
|
|
28
|
-
...keyframes
|
|
29
|
-
].reverse(),
|
|
30
|
-
easing: _reactmotion.motionTokens.curveLinear,
|
|
31
|
-
duration: _reactmotion.motionTokens.durationGentle
|
|
32
|
-
}
|
|
33
|
-
});
|
|
11
|
+
const _reactmotioncomponentspreview = require("@fluentui/react-motion-components-preview");
|
|
12
|
+
const DialogBackdropMotion = _reactmotioncomponentspreview.FadeRelaxed;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/DialogBackdropMotion.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"sources":["../src/components/DialogBackdropMotion.ts"],"sourcesContent":["import { FadeRelaxed } from '@fluentui/react-motion-components-preview';\n\nexport const DialogBackdropMotion = FadeRelaxed;\n"],"names":["DialogBackdropMotion","FadeRelaxed"],"rangeMappings":";;;;;;;;;;;","mappings":";;;;+BAEaA;;;eAAAA;;;8CAFe;AAErB,MAAMA,uBAAuBC,yCAAAA"}
|
|
@@ -19,11 +19,12 @@ _export(exports, {
|
|
|
19
19
|
return useDialogSurfaceContext_unstable;
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
|
-
const
|
|
22
|
+
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
|
|
23
|
+
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
|
|
23
24
|
const defaultContextValue = false;
|
|
24
|
-
const DialogSurfaceContext = /*#__PURE__*/
|
|
25
|
+
const DialogSurfaceContext = /*#__PURE__*/ _react.createContext(undefined);
|
|
25
26
|
const DialogSurfaceProvider = DialogSurfaceContext.Provider;
|
|
26
27
|
const useDialogSurfaceContext_unstable = ()=>{
|
|
27
|
-
var
|
|
28
|
-
return (
|
|
28
|
+
var _React_useContext;
|
|
29
|
+
return (_React_useContext = _react.useContext(DialogSurfaceContext)) !== null && _React_useContext !== void 0 ? _React_useContext : defaultContextValue;
|
|
29
30
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/contexts/dialogSurfaceContext.ts"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"sources":["../src/contexts/dialogSurfaceContext.ts"],"sourcesContent":["import * as React from 'react';\n\nexport type DialogSurfaceContextValue = boolean;\n\nconst defaultContextValue: DialogSurfaceContextValue = false;\n\nexport const DialogSurfaceContext = React.createContext<DialogSurfaceContextValue | undefined>(undefined);\n\nexport const DialogSurfaceProvider = DialogSurfaceContext.Provider;\n\nexport const useDialogSurfaceContext_unstable = () => React.useContext(DialogSurfaceContext) ?? defaultContextValue;\n"],"names":["DialogSurfaceContext","DialogSurfaceProvider","useDialogSurfaceContext_unstable","defaultContextValue","React","createContext","undefined","Provider","useContext"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAMaA,oBAAAA;eAAAA;;IAEAC,qBAAAA;eAAAA;;IAEAC,gCAAAA;eAAAA;;;;iEAVU;AAIvB,MAAMC,sBAAiD;AAEhD,MAAMH,qCAAuBI,OAAMC,aAAa,CAAwCC;AAExF,MAAML,wBAAwBD,qBAAqBO,QAAQ;AAE3D,MAAML,mCAAmC;QAAME;WAAAA,CAAAA,oBAAAA,OAAMI,UAAU,CAACR,qBAAAA,MAAAA,QAAjBI,sBAAAA,KAAAA,IAAAA,oBAA0CD;AAAkB"}
|
|
@@ -8,14 +8,15 @@ Object.defineProperty(exports, "useDisableBodyScroll", {
|
|
|
8
8
|
return useDisableBodyScroll;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
+
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
|
|
12
|
+
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
|
|
11
13
|
const _reactsharedcontexts = require("@fluentui/react-shared-contexts");
|
|
12
|
-
const _react = require("react");
|
|
13
14
|
const _useDisableBodyScrollstyles = require("./useDisableBodyScroll.styles");
|
|
14
15
|
function useDisableBodyScroll() {
|
|
15
16
|
const htmlNoScrollStyles = (0, _useDisableBodyScrollstyles.useHTMLNoScrollStyles)();
|
|
16
17
|
const bodyNoScrollStyles = (0, _useDisableBodyScrollstyles.useBodyNoScrollStyles)();
|
|
17
18
|
const { targetDocument } = (0, _reactsharedcontexts.useFluent_unstable)();
|
|
18
|
-
const disableBodyScroll =
|
|
19
|
+
const disableBodyScroll = _react.useCallback(()=>{
|
|
19
20
|
var _targetDocument_defaultView;
|
|
20
21
|
if (!targetDocument) {
|
|
21
22
|
return;
|
|
@@ -34,7 +35,7 @@ function useDisableBodyScroll() {
|
|
|
34
35
|
htmlNoScrollStyles,
|
|
35
36
|
bodyNoScrollStyles
|
|
36
37
|
]);
|
|
37
|
-
const enableBodyScroll =
|
|
38
|
+
const enableBodyScroll = _react.useCallback(()=>{
|
|
38
39
|
if (!targetDocument) {
|
|
39
40
|
return;
|
|
40
41
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/utils/useDisableBodyScroll.ts"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"sources":["../src/utils/useDisableBodyScroll.ts"],"sourcesContent":["import * as React from 'react';\nimport { useFluent_unstable } from '@fluentui/react-shared-contexts';\n\nimport { useBodyNoScrollStyles, useHTMLNoScrollStyles } from './useDisableBodyScroll.styles';\n\n/**\n * @internal\n * A React *hook* that disables body scrolling through `overflowY: hidden` CSS property\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":["useDisableBodyScroll","htmlNoScrollStyles","useHTMLNoScrollStyles","bodyNoScrollStyles","useBodyNoScrollStyles","targetDocument","useFluent_unstable","disableBodyScroll","React","useCallback","isHorizontalScrollbarVisible","Math","floor","body","getBoundingClientRect","height","defaultView","innerHeight","documentElement","classList","add","enableBodyScroll","remove"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BASgBA;;;eAAAA;;;;iEATO;qCACY;4CAE0B;AAMtD,SAASA;IAId,MAAMC,qBAAqBC,IAAAA,iDAAAA;IAC3B,MAAMC,qBAAqBC,IAAAA,iDAAAA;IAC3B,MAAM,EAAEC,cAAc,EAAE,GAAGC,IAAAA,uCAAAA;IAE3B,MAAMC,oBAAoBC,OAAMC,WAAW,CAAC;YAO0BJ;QANpE,IAAI,CAACA,gBAAgB;YACnB;QACF;YAIoEA;QAHpE,MAAMK,+BAEJ,oJAAoJ;QACpJC,KAAKC,KAAK,CAACP,eAAeQ,IAAI,CAACC,qBAAqB,GAAGC,MAAM,IAAKV,CAAAA,CAAAA,0CAAAA,CAAAA,8BAAAA,eAAeW,WAAW,AAAXA,MAAW,QAA1BX,gCAAAA,KAAAA,IAAAA,KAAAA,IAAAA,4BAA4BY,WAAW,AAAXA,MAAW,QAAvCZ,4CAAAA,KAAAA,IAAAA,0CAA2C,CAAA;QAC/G,IAAI,CAACK,8BAA8B;YACjC;QACF;QACAL,eAAea,eAAe,CAACC,SAAS,CAACC,GAAG,CAACnB;QAC7CI,eAAeQ,IAAI,CAACM,SAAS,CAACC,GAAG,CAACjB;QAClC;IACF,GAAG;QAACE;QAAgBJ;QAAoBE;KAAmB;IAE3D,MAAMkB,mBAAmBb,OAAMC,WAAW,CAAC;QACzC,IAAI,CAACJ,gBAAgB;YACnB;QACF;QACAA,eAAea,eAAe,CAACC,SAAS,CAACG,MAAM,CAACrB;QAChDI,eAAeQ,IAAI,CAACM,SAAS,CAACG,MAAM,CAACnB;IACvC,GAAG;QAACE;QAAgBJ;QAAoBE;KAAmB;IAE3D,OAAO;QACLI;QACAc;IACF;AACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-dialog",
|
|
3
|
-
"version": "9.11.
|
|
3
|
+
"version": "9.11.22",
|
|
4
4
|
"description": "Dialog component for Fluent UI React",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
"@fluentui/react-jsx-runtime": "^9.0.46",
|
|
29
29
|
"@fluentui/keyboard-keys": "^9.0.8",
|
|
30
30
|
"@fluentui/react-context-selector": "^9.1.69",
|
|
31
|
-
"@fluentui/react-motion": "^9.6.
|
|
31
|
+
"@fluentui/react-motion": "^9.6.2",
|
|
32
|
+
"@fluentui/react-motion-components-preview": "^0.3.1",
|
|
32
33
|
"@fluentui/react-shared-contexts": "^9.21.0",
|
|
33
34
|
"@fluentui/react-aria": "^9.13.9",
|
|
34
35
|
"@fluentui/react-icons": "^2.0.245",
|