@fluentui-react-native/focus-trap-zone 0.8.1 → 0.8.5
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 +90 -3
- package/CHANGELOG.md +36 -2
- package/lib/FocusTrapZone.types.js +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib-commonjs/FocusTrapZone.js +5 -4
- package/lib-commonjs/FocusTrapZone.js.map +1 -1
- package/lib-commonjs/__tests__/FocusTrapZone.test.js +14 -2
- package/lib-commonjs/__tests__/FocusTrapZone.test.js.map +1 -1
- package/lib-commonjs/index.js +12 -4
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,94 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/focus-trap-zone",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Sat, 18 Dec 2021 04:11:32 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/focus-trap-zone_v0.8.5",
|
|
7
|
+
"version": "0.8.5",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "beachball",
|
|
12
|
+
"package": "@fluentui-react-native/focus-trap-zone",
|
|
13
|
+
"comment": "Bump @fluentui-react-native/interactive-hooks to v0.11.5",
|
|
14
|
+
"commit": "38fe241a385ecd1ce4e51b5bcba57a9dd0426789"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@fluentui-react-native/focus-trap-zone",
|
|
19
|
+
"comment": "Bump @uifabricshared/foundation-composable to v0.10.1",
|
|
20
|
+
"commit": "38fe241a385ecd1ce4e51b5bcba57a9dd0426789"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@fluentui-react-native/focus-trap-zone",
|
|
25
|
+
"comment": "Bump @uifabricshared/foundation-settings to v0.11.1",
|
|
26
|
+
"commit": "38fe241a385ecd1ce4e51b5bcba57a9dd0426789"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"date": "Fri, 17 Dec 2021 22:06:58 GMT",
|
|
33
|
+
"tag": "@fluentui-react-native/focus-trap-zone_v0.8.4",
|
|
34
|
+
"version": "0.8.4",
|
|
35
|
+
"comments": {
|
|
36
|
+
"patch": [
|
|
37
|
+
{
|
|
38
|
+
"author": "beachball",
|
|
39
|
+
"package": "@fluentui-react-native/focus-trap-zone",
|
|
40
|
+
"comment": "Bump @fluentui-react-native/interactive-hooks to v0.11.4",
|
|
41
|
+
"commit": "9dc61df83605c035822518c18cc46fb5503dff70"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"date": "Fri, 17 Dec 2021 19:53:21 GMT",
|
|
48
|
+
"tag": "@fluentui-react-native/focus-trap-zone_v0.8.3",
|
|
49
|
+
"version": "0.8.3",
|
|
50
|
+
"comments": {
|
|
51
|
+
"patch": [
|
|
52
|
+
{
|
|
53
|
+
"author": "beachball",
|
|
54
|
+
"package": "@fluentui-react-native/focus-trap-zone",
|
|
55
|
+
"comment": "Bump @fluentui-react-native/interactive-hooks to v0.11.3",
|
|
56
|
+
"commit": "3012e075ca89e36931357442679b73d20540af8b"
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"date": "Fri, 17 Dec 2021 01:26:42 GMT",
|
|
63
|
+
"tag": "@fluentui-react-native/focus-trap-zone_v0.8.2",
|
|
64
|
+
"version": "0.8.2",
|
|
65
|
+
"comments": {
|
|
66
|
+
"patch": [
|
|
67
|
+
{
|
|
68
|
+
"author": "beachball",
|
|
69
|
+
"package": "@fluentui-react-native/focus-trap-zone",
|
|
70
|
+
"comment": "Bump @fluentui-react-native/interactive-hooks to v0.11.2",
|
|
71
|
+
"commit": "511aeb31982a5fb9dd2f7196c0c7217cc4a3dbc6"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"date": "Thu, 16 Dec 2021 23:00:57 GMT",
|
|
78
|
+
"tag": "@fluentui-react-native/focus-trap-zone_v0.8.1",
|
|
79
|
+
"version": "0.8.1",
|
|
80
|
+
"comments": {
|
|
81
|
+
"none": [
|
|
82
|
+
{
|
|
83
|
+
"author": "dannyvv@microsoft.com",
|
|
84
|
+
"package": "@fluentui-react-native/focus-trap-zone",
|
|
85
|
+
"commit": "25b3989739737bc598a5d699a941af4c0b4a421f",
|
|
86
|
+
"comment": "📦 applying package updates ***NO_CI***"
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"date": "Thu, 16 Dec 2021 19:10:27 GMT",
|
|
6
93
|
"tag": "@fluentui-react-native/focus-trap-zone_v0.8.1",
|
|
7
94
|
"version": "0.8.1",
|
|
8
95
|
"comments": {
|
|
@@ -17,13 +104,13 @@
|
|
|
17
104
|
"author": "beachball",
|
|
18
105
|
"package": "@fluentui-react-native/focus-trap-zone",
|
|
19
106
|
"comment": "Bump @fluentui-react-native/adapters to v0.8.1",
|
|
20
|
-
"commit": "
|
|
107
|
+
"commit": "6a9f067ae2510481b6ff3512c10c08e7de84f86e"
|
|
21
108
|
},
|
|
22
109
|
{
|
|
23
110
|
"author": "beachball",
|
|
24
111
|
"package": "@fluentui-react-native/focus-trap-zone",
|
|
25
112
|
"comment": "Bump @fluentui-react-native/interactive-hooks to v0.11.1",
|
|
26
|
-
"commit": "
|
|
113
|
+
"commit": "6a9f067ae2510481b6ff3512c10c08e7de84f86e"
|
|
27
114
|
}
|
|
28
115
|
]
|
|
29
116
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,46 @@
|
|
|
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 Sat, 18 Dec 2021 04:11:32 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.8.5
|
|
8
|
+
|
|
9
|
+
Sat, 18 Dec 2021 04:11:32 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Bump @fluentui-react-native/interactive-hooks to v0.11.5
|
|
14
|
+
- Bump @uifabricshared/foundation-composable to v0.10.1
|
|
15
|
+
- Bump @uifabricshared/foundation-settings to v0.11.1
|
|
16
|
+
|
|
17
|
+
## 0.8.4
|
|
18
|
+
|
|
19
|
+
Fri, 17 Dec 2021 22:06:58 GMT
|
|
20
|
+
|
|
21
|
+
### Patches
|
|
22
|
+
|
|
23
|
+
- Bump @fluentui-react-native/interactive-hooks to v0.11.4
|
|
24
|
+
|
|
25
|
+
## 0.8.3
|
|
26
|
+
|
|
27
|
+
Fri, 17 Dec 2021 19:53:21 GMT
|
|
28
|
+
|
|
29
|
+
### Patches
|
|
30
|
+
|
|
31
|
+
- Bump @fluentui-react-native/interactive-hooks to v0.11.3
|
|
32
|
+
|
|
33
|
+
## 0.8.2
|
|
34
|
+
|
|
35
|
+
Fri, 17 Dec 2021 01:26:42 GMT
|
|
36
|
+
|
|
37
|
+
### Patches
|
|
38
|
+
|
|
39
|
+
- Bump @fluentui-react-native/interactive-hooks to v0.11.2
|
|
40
|
+
|
|
7
41
|
## 0.8.1
|
|
8
42
|
|
|
9
|
-
Thu, 16 Dec 2021
|
|
43
|
+
Thu, 16 Dec 2021 19:10:27 GMT
|
|
10
44
|
|
|
11
45
|
### Patches
|
|
12
46
|
|
package/lib/index.js
CHANGED
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC"}
|
|
@@ -11,20 +11,21 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.FocusTrapZone = exports.filterOutComponentRef = void 0;
|
|
14
15
|
var foundation_composable_1 = require("@uifabricshared/foundation-composable");
|
|
15
16
|
var foundation_settings_1 = require("@uifabricshared/foundation-settings");
|
|
16
17
|
var interactive_hooks_1 = require("@fluentui-react-native/interactive-hooks");
|
|
17
18
|
var component_cache_1 = require("@fluentui-react-native/component-cache");
|
|
18
|
-
var RCTFocusTrapZone = component_cache_1.ensureNativeComponent('RCTFocusTrapZone');
|
|
19
|
+
var RCTFocusTrapZone = (0, component_cache_1.ensureNativeComponent)('RCTFocusTrapZone');
|
|
19
20
|
function filterOutComponentRef(propName) {
|
|
20
21
|
return propName !== 'componentRef';
|
|
21
22
|
}
|
|
22
23
|
exports.filterOutComponentRef = filterOutComponentRef;
|
|
23
|
-
exports.FocusTrapZone = foundation_composable_1.composable({
|
|
24
|
+
exports.FocusTrapZone = (0, foundation_composable_1.composable)({
|
|
24
25
|
usePrepareProps: function (userProps, useStyling) {
|
|
25
|
-
var ftzRef = interactive_hooks_1.useViewCommandFocus(userProps.componentRef);
|
|
26
|
+
var ftzRef = (0, interactive_hooks_1.useViewCommandFocus)(userProps.componentRef);
|
|
26
27
|
return {
|
|
27
|
-
slotProps: foundation_settings_1.mergeSettings(useStyling(userProps), { root: __assign(__assign({}, userProps), { ref: ftzRef }) }),
|
|
28
|
+
slotProps: (0, foundation_settings_1.mergeSettings)(useStyling(userProps), { root: __assign(__assign({}, userProps), { ref: ftzRef }) }),
|
|
28
29
|
};
|
|
29
30
|
},
|
|
30
31
|
slots: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FocusTrapZone.js","sourceRoot":"","sources":["../src/FocusTrapZone.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FocusTrapZone.js","sourceRoot":"","sources":["../src/FocusTrapZone.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,+EAAgF;AAChF,2EAAoE;AACpE,8EAA+E;AAC/E,0EAA+E;AAE/E,IAAM,gBAAgB,GAAG,IAAA,uCAAqB,EAAC,kBAAkB,CAAC,CAAC;AAEnE,SAAgB,qBAAqB,CAAC,QAAgB;IACpD,OAAO,QAAQ,KAAK,cAAc,CAAC;AACrC,CAAC;AAFD,sDAEC;AAEY,QAAA,aAAa,GAAG,IAAA,kCAAU,EAAqB;IAC1D,eAAe,EAAE,UAAC,SAA8B,EAAE,UAA2C;QAC3F,IAAM,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,wBAAO,SAAS,KAAE,GAAG,EAAE,MAAM,GAAE,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,9 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
+
}) : function(o, v) {
|
|
12
|
+
o["default"] = v;
|
|
13
|
+
});
|
|
2
14
|
var __importStar = (this && this.__importStar) || function (mod) {
|
|
3
15
|
if (mod && mod.__esModule) return mod;
|
|
4
16
|
var result = {};
|
|
5
|
-
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result
|
|
6
|
-
result
|
|
17
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
+
__setModuleDefault(result, mod);
|
|
7
19
|
return result;
|
|
8
20
|
};
|
|
9
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FocusTrapZone.test.js","sourceRoot":"","sources":["../../src/__tests__/FocusTrapZone.test.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FocusTrapZone.test.js","sourceRoot":"","sources":["../../src/__tests__/FocusTrapZone.test.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,2CAA+B;AAC/B,wBAAmC;AACnC,4DAAgD;AAGhD,EAAE,CAAC,6BAA6B,EAAE;IAChC,IAAM,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;IAClC,IAAM,GAAG,GAAgC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC3D,IAAM,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/lib-commonjs/index.js
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
}
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
5
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
|
|
13
|
+
__exportStar(require("./FocusTrapZone.types"), exports);
|
|
14
|
+
__exportStar(require("./FocusTrapZone"), exports);
|
|
7
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wDAAsC;AACtC,kDAAgC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/focus-trap-zone",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.5",
|
|
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",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@fluentui-react-native/adapters": ">=0.8.1 <1.0.0",
|
|
21
21
|
"@fluentui-react-native/component-cache": "^1.3.0",
|
|
22
|
-
"@fluentui-react-native/interactive-hooks": ">=0.11.
|
|
23
|
-
"@uifabricshared/foundation-composable": ">=0.10.
|
|
24
|
-
"@uifabricshared/foundation-settings": ">=0.11.
|
|
22
|
+
"@fluentui-react-native/interactive-hooks": ">=0.11.5 <1.0.0",
|
|
23
|
+
"@uifabricshared/foundation-composable": ">=0.10.1 <1.0.0",
|
|
24
|
+
"@uifabricshared/foundation-settings": ">=0.11.1 <1.0.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@fluentui-react-native/eslint-config-rules": "^0.1.1",
|