@fluentui-react-native/focus-trap-zone 0.12.6 → 0.12.8
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.json +42 -1
- package/CHANGELOG.md +10 -2
- package/eslint.config.js +3 -0
- package/lib/FocusTrapZone.js +4 -15
- package/lib/FocusTrapZone.js.map +1 -1
- package/lib/__tests__/FocusTrapZone.test.js +5 -5
- package/lib/__tests__/FocusTrapZone.test.js.map +1 -1
- package/lib-commonjs/FocusTrapZone.js +7 -18
- package/lib-commonjs/FocusTrapZone.js.map +1 -1
- package/lib-commonjs/FocusTrapZoneNativeComponent.js +1 -13
- package/lib-commonjs/FocusTrapZoneNativeComponent.js.map +1 -1
- package/lib-commonjs/__tests__/FocusTrapZone.test.js +8 -8
- package/lib-commonjs/__tests__/FocusTrapZone.test.js.map +1 -1
- package/package.json +18 -6
- package/.eslintrc.js +0 -3
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,48 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/focus-trap-zone",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Fri, 11 Jul 2025 19:50:55 GMT",
|
|
6
|
+
"version": "0.12.8",
|
|
7
|
+
"tag": "@fluentui-react-native/focus-trap-zone_v0.12.8",
|
|
8
|
+
"comments": {
|
|
9
|
+
"none": [
|
|
10
|
+
{
|
|
11
|
+
"author": "sanajmi@microsoft.com",
|
|
12
|
+
"package": "@fluentui-react-native/focus-trap-zone",
|
|
13
|
+
"commit": "405ca368dc3f2963bfc252a1952b1e14ff503499",
|
|
14
|
+
"comment": "fix: run `beachball sync` to sync package versions with NPM"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "ruaraki@microsoft.com",
|
|
18
|
+
"package": "@fluentui-react-native/focus-trap-zone",
|
|
19
|
+
"commit": "a245202877ef7f2be9ab5f0e1356b2270957e693",
|
|
20
|
+
"comment": "Run bump-versions"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "jasonmo@microsoft.com",
|
|
24
|
+
"package": "@fluentui-react-native/focus-trap-zone",
|
|
25
|
+
"commit": "54087dca787180bbf34630470cd0d06e88366b30",
|
|
26
|
+
"comment": "update eslint to 9.x and use new flat config format with security rules"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "4123478+tido64@users.noreply.github.com",
|
|
30
|
+
"package": "@fluentui-react-native/focus-trap-zone",
|
|
31
|
+
"commit": "79bb06f6bbfd0a36f9d2ef371f4857be9660f027",
|
|
32
|
+
"comment": "Fixed `align-deps` warnings"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"patch": [
|
|
36
|
+
{
|
|
37
|
+
"author": "jasonmo@microsoft.com",
|
|
38
|
+
"package": "@fluentui-react-native/focus-trap-zone",
|
|
39
|
+
"commit": "479b93cea460a26df70c55b5d3335927ed374713",
|
|
40
|
+
"comment": "update builds to use node16 settings and modern export maps"
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"date": "Thu, 10 Jul 2025 19:20:22 GMT",
|
|
6
47
|
"version": "0.12.6",
|
|
7
48
|
"tag": "@fluentui-react-native/focus-trap-zone_v0.12.6",
|
|
8
49
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/focus-trap-zone
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Fri, 11 Jul 2025 19:50:55 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.12.8
|
|
8
|
+
|
|
9
|
+
Fri, 11 Jul 2025 19:50:55 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- update builds to use node16 settings and modern export maps (jasonmo@microsoft.com)
|
|
14
|
+
|
|
7
15
|
## 0.12.6
|
|
8
16
|
|
|
9
|
-
Thu,
|
|
17
|
+
Thu, 10 Jul 2025 19:20:22 GMT
|
|
10
18
|
|
|
11
19
|
### Patches
|
|
12
20
|
|
package/eslint.config.js
ADDED
package/lib/FocusTrapZone.js
CHANGED
|
@@ -3,17 +3,6 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
* @format
|
|
5
5
|
*/
|
|
6
|
-
var __assign = (this && this.__assign) || function () {
|
|
7
|
-
__assign = Object.assign || function(t) {
|
|
8
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
9
|
-
s = arguments[i];
|
|
10
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
11
|
-
t[p] = s[p];
|
|
12
|
-
}
|
|
13
|
-
return t;
|
|
14
|
-
};
|
|
15
|
-
return __assign.apply(this, arguments);
|
|
16
|
-
};
|
|
17
6
|
import { useViewCommandFocus } from '@fluentui-react-native/interactive-hooks';
|
|
18
7
|
import { composable } from '@uifabricshared/foundation-composable';
|
|
19
8
|
import { mergeSettings } from '@uifabricshared/foundation-settings';
|
|
@@ -21,11 +10,11 @@ import RCTFocusTrapZone from './FocusTrapZoneNativeComponent';
|
|
|
21
10
|
export function filterOutComponentRef(propName) {
|
|
22
11
|
return propName !== 'componentRef';
|
|
23
12
|
}
|
|
24
|
-
export
|
|
25
|
-
usePrepareProps:
|
|
26
|
-
|
|
13
|
+
export const FocusTrapZone = composable({
|
|
14
|
+
usePrepareProps: (userProps, useStyling) => {
|
|
15
|
+
const ftzRef = useViewCommandFocus(userProps.componentRef);
|
|
27
16
|
return {
|
|
28
|
-
slotProps: mergeSettings(useStyling(userProps), { root:
|
|
17
|
+
slotProps: mergeSettings(useStyling(userProps), { root: { ...userProps, ref: ftzRef } }),
|
|
29
18
|
};
|
|
30
19
|
},
|
|
31
20
|
slots: {
|
package/lib/FocusTrapZone.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FocusTrapZone.js","sourceRoot":"","sources":["../src/FocusTrapZone.ts"],"names":[],"mappings":"AAAA;;;;GAIG
|
|
1
|
+
{"version":3,"file":"FocusTrapZone.js","sourceRoot":"","sources":["../src/FocusTrapZone.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAE/E,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAGpE,OAAO,gBAAgB,MAAM,gCAAgC,CAAC;AAE9D,MAAM,UAAU,qBAAqB,CAAC,QAAgB;IACpD,OAAO,QAAQ,KAAK,cAAc,CAAC;AACrC,CAAC;AAED,MAAM,CAAC,MAAM,aAAa,GAAG,UAAU,CAAqB;IAC1D,eAAe,EAAE,CAAC,SAA8B,EAAE,UAA2C,EAAE,EAAE;QAC/F,MAAM,MAAM,GAAG,mBAAmB,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;QAC3D,OAAO;YACL,SAAS,EAAE,aAAa,CAA0B,UAAU,CAAC,SAAS,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,CAAC;SAClH,CAAC;IACJ,CAAC;IACD,KAAK,EAAE;QACL,IAAI,EAAE,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,EAAE,qBAAqB,EAAE;KACpE;CACF,CAAC,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import * as renderer from 'react-test-renderer';
|
|
3
3
|
import { FocusTrapZone } from '..';
|
|
4
|
-
it('FocusTrapZone default props',
|
|
5
|
-
|
|
4
|
+
it('FocusTrapZone default props', () => {
|
|
5
|
+
const tree = renderer.create(React.createElement(FocusTrapZone, null)).toJSON();
|
|
6
6
|
expect(tree).toMatchSnapshot();
|
|
7
7
|
});
|
|
8
|
-
it('FocusTrapZone all props props',
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
it('FocusTrapZone all props props', () => {
|
|
9
|
+
const ref = { current: null };
|
|
10
|
+
const tree = renderer
|
|
11
11
|
.create(React.createElement(FocusTrapZone, { componentRef: ref, disableFirstFocus: true, disabled: true, ignoreExternalFocusing: true, focusPreviouslyFocusedInnerElement: true }))
|
|
12
12
|
.toJSON();
|
|
13
13
|
expect(tree).toMatchSnapshot();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FocusTrapZone.test.js","sourceRoot":"","sources":["../../src/__tests__/FocusTrapZone.test.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAEhD,OAAO,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AAEnC,EAAE,CAAC,6BAA6B,EAAE;
|
|
1
|
+
{"version":3,"file":"FocusTrapZone.test.js","sourceRoot":"","sources":["../../src/__tests__/FocusTrapZone.test.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAEhD,OAAO,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AAEnC,EAAE,CAAC,6BAA6B,EAAE,GAAG,EAAE;IACrC,MAAM,IAAI,GAAG,QAAQ,CAAC,MAAM,CAAC,oBAAC,aAAa,OAAG,CAAC,CAAC,MAAM,EAAE,CAAC;IACzD,MAAM,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,CAAC;AACjC,CAAC,CAAC,CAAC;AAEH,EAAE,CAAC,+BAA+B,EAAE,GAAG,EAAE;IACvC,MAAM,GAAG,GAAgC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC3D,MAAM,IAAI,GAAG,QAAQ;SAClB,MAAM,CAAC,oBAAC,aAAa,IAAC,YAAY,EAAE,GAAG,EAAE,iBAAiB,QAAC,QAAQ,QAAC,sBAAsB,QAAC,kCAAkC,SAAG,CAAC;SACjI,MAAM,EAAE,CAAC;IACZ,MAAM,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,CAAC;AACjC,CAAC,CAAC,CAAC"}
|
|
@@ -4,35 +4,24 @@
|
|
|
4
4
|
* Licensed under the MIT License.
|
|
5
5
|
* @format
|
|
6
6
|
*/
|
|
7
|
-
var __assign = (this && this.__assign) || function () {
|
|
8
|
-
__assign = Object.assign || function(t) {
|
|
9
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
10
|
-
s = arguments[i];
|
|
11
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
12
|
-
t[p] = s[p];
|
|
13
|
-
}
|
|
14
|
-
return t;
|
|
15
|
-
};
|
|
16
|
-
return __assign.apply(this, arguments);
|
|
17
|
-
};
|
|
18
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
19
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
20
9
|
};
|
|
21
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
11
|
exports.FocusTrapZone = exports.filterOutComponentRef = void 0;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
12
|
+
const interactive_hooks_1 = require("@fluentui-react-native/interactive-hooks");
|
|
13
|
+
const foundation_composable_1 = require("@uifabricshared/foundation-composable");
|
|
14
|
+
const foundation_settings_1 = require("@uifabricshared/foundation-settings");
|
|
15
|
+
const FocusTrapZoneNativeComponent_1 = __importDefault(require("./FocusTrapZoneNativeComponent"));
|
|
27
16
|
function filterOutComponentRef(propName) {
|
|
28
17
|
return propName !== 'componentRef';
|
|
29
18
|
}
|
|
30
19
|
exports.filterOutComponentRef = filterOutComponentRef;
|
|
31
20
|
exports.FocusTrapZone = (0, foundation_composable_1.composable)({
|
|
32
|
-
usePrepareProps:
|
|
33
|
-
|
|
21
|
+
usePrepareProps: (userProps, useStyling) => {
|
|
22
|
+
const ftzRef = (0, interactive_hooks_1.useViewCommandFocus)(userProps.componentRef);
|
|
34
23
|
return {
|
|
35
|
-
slotProps: (0, foundation_settings_1.mergeSettings)(useStyling(userProps), { root:
|
|
24
|
+
slotProps: (0, foundation_settings_1.mergeSettings)(useStyling(userProps), { root: { ...userProps, ref: ftzRef } }),
|
|
36
25
|
};
|
|
37
26
|
},
|
|
38
27
|
slots: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FocusTrapZone.js","sourceRoot":"","sources":["../src/FocusTrapZone.ts"],"names":[],"mappings":";AAAA;;;;GAIG
|
|
1
|
+
{"version":3,"file":"FocusTrapZone.js","sourceRoot":"","sources":["../src/FocusTrapZone.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;AAEH,gFAA+E;AAE/E,iFAAmE;AACnE,6EAAoE;AAGpE,kGAA8D;AAE9D,SAAgB,qBAAqB,CAAC,QAAgB;IACpD,OAAO,QAAQ,KAAK,cAAc,CAAC;AACrC,CAAC;AAFD,sDAEC;AAEY,QAAA,aAAa,GAAG,IAAA,kCAAU,EAAqB;IAC1D,eAAe,EAAE,CAAC,SAA8B,EAAE,UAA2C,EAAE,EAAE;QAC/F,MAAM,MAAM,GAAG,IAAA,uCAAmB,EAAC,SAAS,CAAC,YAAY,CAAC,CAAC;QAC3D,OAAO;YACL,SAAS,EAAE,IAAA,mCAAa,EAA0B,UAAU,CAAC,SAAS,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,CAAC;SAClH,CAAC;IACJ,CAAC;IACD,KAAK,EAAE;QACL,IAAI,EAAE,EAAE,QAAQ,EAAE,sCAAgB,EAAE,MAAM,EAAE,qBAAqB,EAAE;KACpE;CACF,CAAC,CAAC"}
|
|
@@ -1,13 +1 @@
|
|
|
1
|
-
"
|
|
2
|
-
/**
|
|
3
|
-
* Copyright (c) Microsoft Corporation.
|
|
4
|
-
* Licensed under the MIT License.
|
|
5
|
-
* @format
|
|
6
|
-
*/
|
|
7
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
|
-
};
|
|
10
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
var codegenNativeComponent_1 = __importDefault(require("react-native/Libraries/Utilities/codegenNativeComponent"));
|
|
12
|
-
exports.default = (0, codegenNativeComponent_1.default)('RCTFocusTrapZone');
|
|
13
|
-
//# sourceMappingURL=FocusTrapZoneNativeComponent.js.map
|
|
1
|
+
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=exports.__INTERNAL_VIEW_CONFIG=void 0;var _codegenNativeComponent=_interopRequireDefault(require("react-native/Libraries/Utilities/codegenNativeComponent"));var NativeComponentRegistry=require('react-native/Libraries/NativeComponent/NativeComponentRegistry');var nativeComponentName='RCTFocusTrapZone';var __INTERNAL_VIEW_CONFIG=exports.__INTERNAL_VIEW_CONFIG={uiViewClassName:'RCTFocusTrapZone',validAttributes:{disabled:true,disableFirstFocus:true,focusPreviouslyFocusedInnerElement:true,ignoreExternalFocusing:true,forceFocusInsideTrap:true}};var _default=exports.default=NativeComponentRegistry.get(nativeComponentName,function(){return __INTERNAL_VIEW_CONFIG;});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FocusTrapZoneNativeComponent.js","sourceRoot":"","sources":["../src/FocusTrapZoneNativeComponent.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;AAIH,
|
|
1
|
+
{"version":3,"file":"FocusTrapZoneNativeComponent.js","sourceRoot":"","sources":["../src/FocusTrapZoneNativeComponent.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;AAIH,qHAA6F;AAgC7F,kBAAe,IAAA,gCAAsB,EAAc,kBAAkB,CAA+B,CAAC"}
|
|
@@ -23,16 +23,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
it('FocusTrapZone default props',
|
|
30
|
-
|
|
26
|
+
const React = __importStar(require("react"));
|
|
27
|
+
const renderer = __importStar(require("react-test-renderer"));
|
|
28
|
+
const __1 = require("..");
|
|
29
|
+
it('FocusTrapZone default props', () => {
|
|
30
|
+
const tree = renderer.create(React.createElement(__1.FocusTrapZone, null)).toJSON();
|
|
31
31
|
expect(tree).toMatchSnapshot();
|
|
32
32
|
});
|
|
33
|
-
it('FocusTrapZone all props props',
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
it('FocusTrapZone all props props', () => {
|
|
34
|
+
const ref = { current: null };
|
|
35
|
+
const tree = renderer
|
|
36
36
|
.create(React.createElement(__1.FocusTrapZone, { componentRef: ref, disableFirstFocus: true, disabled: true, ignoreExternalFocusing: true, focusPreviouslyFocusedInnerElement: true }))
|
|
37
37
|
.toJSON();
|
|
38
38
|
expect(tree).toMatchSnapshot();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FocusTrapZone.test.js","sourceRoot":"","sources":["../../src/__tests__/FocusTrapZone.test.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"FocusTrapZone.test.js","sourceRoot":"","sources":["../../src/__tests__/FocusTrapZone.test.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAG/B,8DAAgD;AAEhD,0BAAmC;AAEnC,EAAE,CAAC,6BAA6B,EAAE,GAAG,EAAE;IACrC,MAAM,IAAI,GAAG,QAAQ,CAAC,MAAM,CAAC,oBAAC,iBAAa,OAAG,CAAC,CAAC,MAAM,EAAE,CAAC;IACzD,MAAM,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,CAAC;AACjC,CAAC,CAAC,CAAC;AAEH,EAAE,CAAC,+BAA+B,EAAE,GAAG,EAAE;IACvC,MAAM,GAAG,GAAgC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC3D,MAAM,IAAI,GAAG,QAAQ;SAClB,MAAM,CAAC,oBAAC,iBAAa,IAAC,YAAY,EAAE,GAAG,EAAE,iBAAiB,QAAC,QAAQ,QAAC,sBAAsB,QAAC,kCAAkC,SAAG,CAAC;SACjI,MAAM,EAAE,CAAC;IACZ,MAAM,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,CAAC;AACjC,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/focus-trap-zone",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.8",
|
|
4
4
|
"description": "A cross-platform FocusTrapZone component using the Fluent Design System",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./lib/index.js",
|
|
10
|
+
"require": "./lib-commonjs/index.js",
|
|
11
|
+
"types": "./lib/index.d.ts"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
7
14
|
"typings": "lib/index.d.ts",
|
|
8
15
|
"scripts": {
|
|
9
16
|
"build": "fluentui-scripts build",
|
|
@@ -22,10 +29,10 @@
|
|
|
22
29
|
"directory": "packages/components/FocusTrapZone"
|
|
23
30
|
},
|
|
24
31
|
"dependencies": {
|
|
25
|
-
"@fluentui-react-native/adapters": "0.13.
|
|
26
|
-
"@fluentui-react-native/interactive-hooks": "0.27.
|
|
27
|
-
"@uifabricshared/foundation-composable": "0.13.
|
|
28
|
-
"@uifabricshared/foundation-settings": "0.15.
|
|
32
|
+
"@fluentui-react-native/adapters": "0.13.3",
|
|
33
|
+
"@fluentui-react-native/interactive-hooks": "0.27.7",
|
|
34
|
+
"@uifabricshared/foundation-composable": "0.13.4",
|
|
35
|
+
"@uifabricshared/foundation-settings": "0.15.4"
|
|
29
36
|
},
|
|
30
37
|
"devDependencies": {
|
|
31
38
|
"@babel/core": "^7.20.0",
|
|
@@ -36,7 +43,9 @@
|
|
|
36
43
|
"@react-native/metro-config": "^0.74.0",
|
|
37
44
|
"@types/react": "~18.2.0",
|
|
38
45
|
"react": "18.2.0",
|
|
39
|
-
"react-native": "^0.74.0"
|
|
46
|
+
"react-native": "^0.74.0",
|
|
47
|
+
"react-native-macos": "^0.74.0",
|
|
48
|
+
"react-native-windows": "^0.74.0"
|
|
40
49
|
},
|
|
41
50
|
"peerDependencies": {
|
|
42
51
|
"@office-iss/react-native-win32": "^0.74.0",
|
|
@@ -62,9 +71,12 @@
|
|
|
62
71
|
]
|
|
63
72
|
},
|
|
64
73
|
"capabilities": [
|
|
74
|
+
"babel-preset-react-native",
|
|
65
75
|
"core",
|
|
66
76
|
"core-android",
|
|
67
77
|
"core-ios",
|
|
78
|
+
"core-macos",
|
|
79
|
+
"core-windows",
|
|
68
80
|
"react"
|
|
69
81
|
]
|
|
70
82
|
}
|
package/.eslintrc.js
DELETED