@fluentui-react-native/focus-trap-zone 0.8.4 → 0.8.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 CHANGED
@@ -2,7 +2,109 @@
2
2
  "name": "@fluentui-react-native/focus-trap-zone",
3
3
  "entries": [
4
4
  {
5
- "date": "Fri, 17 Dec 2021 22:04:25 GMT",
5
+ "date": "Tue, 21 Dec 2021 20:54:12 GMT",
6
+ "tag": "@fluentui-react-native/focus-trap-zone_v0.8.8",
7
+ "version": "0.8.8",
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.8",
14
+ "commit": "a7d19d410d5714e2bdb61529d2687182061020a5"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Mon, 20 Dec 2021 22:56:01 GMT",
21
+ "tag": "@fluentui-react-native/focus-trap-zone_v0.8.7",
22
+ "version": "0.8.7",
23
+ "comments": {
24
+ "patch": [
25
+ {
26
+ "author": "ruaraki@microsoft.com",
27
+ "package": "@fluentui-react-native/focus-trap-zone",
28
+ "commit": "f4a5b4f5c9c190400e3e34c4a33b3ed30696d41e",
29
+ "comment": "Add repository property to all package.json files"
30
+ },
31
+ {
32
+ "author": "beachball",
33
+ "package": "@fluentui-react-native/focus-trap-zone",
34
+ "comment": "Bump @fluentui-react-native/adapters to v0.8.2",
35
+ "commit": "bc86b4fbf5f07c0bfbc950a1a99a3cf4b35807d1"
36
+ },
37
+ {
38
+ "author": "beachball",
39
+ "package": "@fluentui-react-native/focus-trap-zone",
40
+ "comment": "Bump @fluentui-react-native/component-cache to v1.3.1",
41
+ "commit": "bc86b4fbf5f07c0bfbc950a1a99a3cf4b35807d1"
42
+ },
43
+ {
44
+ "author": "beachball",
45
+ "package": "@fluentui-react-native/focus-trap-zone",
46
+ "comment": "Bump @fluentui-react-native/interactive-hooks to v0.11.7",
47
+ "commit": "bc86b4fbf5f07c0bfbc950a1a99a3cf4b35807d1"
48
+ },
49
+ {
50
+ "author": "beachball",
51
+ "package": "@fluentui-react-native/focus-trap-zone",
52
+ "comment": "Bump @uifabricshared/foundation-composable to v0.10.2",
53
+ "commit": "bc86b4fbf5f07c0bfbc950a1a99a3cf4b35807d1"
54
+ },
55
+ {
56
+ "author": "beachball",
57
+ "package": "@fluentui-react-native/focus-trap-zone",
58
+ "comment": "Bump @uifabricshared/foundation-settings to v0.11.2",
59
+ "commit": "bc86b4fbf5f07c0bfbc950a1a99a3cf4b35807d1"
60
+ }
61
+ ]
62
+ }
63
+ },
64
+ {
65
+ "date": "Sun, 19 Dec 2021 05:07:36 GMT",
66
+ "tag": "@fluentui-react-native/focus-trap-zone_v0.8.6",
67
+ "version": "0.8.6",
68
+ "comments": {
69
+ "patch": [
70
+ {
71
+ "author": "beachball",
72
+ "package": "@fluentui-react-native/focus-trap-zone",
73
+ "comment": "Bump @fluentui-react-native/interactive-hooks to v0.11.6",
74
+ "commit": "caa9260512544269d7e177c2d35f15b7f513965b"
75
+ }
76
+ ]
77
+ }
78
+ },
79
+ {
80
+ "date": "Sat, 18 Dec 2021 04:15:05 GMT",
81
+ "tag": "@fluentui-react-native/focus-trap-zone_v0.8.5",
82
+ "version": "0.8.5",
83
+ "comments": {
84
+ "patch": [
85
+ {
86
+ "author": "beachball",
87
+ "package": "@fluentui-react-native/focus-trap-zone",
88
+ "comment": "Bump @fluentui-react-native/interactive-hooks to v0.11.5",
89
+ "commit": "38fe241a385ecd1ce4e51b5bcba57a9dd0426789"
90
+ },
91
+ {
92
+ "author": "beachball",
93
+ "package": "@fluentui-react-native/focus-trap-zone",
94
+ "comment": "Bump @uifabricshared/foundation-composable to v0.10.1",
95
+ "commit": "38fe241a385ecd1ce4e51b5bcba57a9dd0426789"
96
+ },
97
+ {
98
+ "author": "beachball",
99
+ "package": "@fluentui-react-native/focus-trap-zone",
100
+ "comment": "Bump @uifabricshared/foundation-settings to v0.11.1",
101
+ "commit": "38fe241a385ecd1ce4e51b5bcba57a9dd0426789"
102
+ }
103
+ ]
104
+ }
105
+ },
106
+ {
107
+ "date": "Fri, 17 Dec 2021 22:06:58 GMT",
6
108
  "tag": "@fluentui-react-native/focus-trap-zone_v0.8.4",
7
109
  "version": "0.8.4",
8
110
  "comments": {
@@ -11,7 +113,7 @@
11
113
  "author": "beachball",
12
114
  "package": "@fluentui-react-native/focus-trap-zone",
13
115
  "comment": "Bump @fluentui-react-native/interactive-hooks to v0.11.4",
14
- "commit": "b9ea5eb1409f37305169f75398fa7f41229cefbd"
116
+ "commit": "9dc61df83605c035822518c18cc46fb5503dff70"
15
117
  }
16
118
  ]
17
119
  }
package/CHANGELOG.md CHANGED
@@ -1,12 +1,51 @@
1
1
  # Change Log - @fluentui-react-native/focus-trap-zone
2
2
 
3
- This log was last generated on Fri, 17 Dec 2021 22:04:25 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 21 Dec 2021 20:54:12 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.8.8
8
+
9
+ Tue, 21 Dec 2021 20:54:12 GMT
10
+
11
+ ### Patches
12
+
13
+ - Bump @fluentui-react-native/interactive-hooks to v0.11.8
14
+
15
+ ## 0.8.7
16
+
17
+ Mon, 20 Dec 2021 22:56:01 GMT
18
+
19
+ ### Patches
20
+
21
+ - Add repository property to all package.json files (ruaraki@microsoft.com)
22
+ - Bump @fluentui-react-native/adapters to v0.8.2
23
+ - Bump @fluentui-react-native/component-cache to v1.3.1
24
+ - Bump @fluentui-react-native/interactive-hooks to v0.11.7
25
+ - Bump @uifabricshared/foundation-composable to v0.10.2
26
+ - Bump @uifabricshared/foundation-settings to v0.11.2
27
+
28
+ ## 0.8.6
29
+
30
+ Sun, 19 Dec 2021 05:07:36 GMT
31
+
32
+ ### Patches
33
+
34
+ - Bump @fluentui-react-native/interactive-hooks to v0.11.6
35
+
36
+ ## 0.8.5
37
+
38
+ Sat, 18 Dec 2021 04:15:05 GMT
39
+
40
+ ### Patches
41
+
42
+ - Bump @fluentui-react-native/interactive-hooks to v0.11.5
43
+ - Bump @uifabricshared/foundation-composable to v0.10.1
44
+ - Bump @uifabricshared/foundation-settings to v0.11.1
45
+
7
46
  ## 0.8.4
8
47
 
9
- Fri, 17 Dec 2021 22:04:25 GMT
48
+ Fri, 17 Dec 2021 22:06:58 GMT
10
49
 
11
50
  ### Patches
12
51
 
@@ -1 +1,2 @@
1
+ export {};
1
2
  //# sourceMappingURL=FocusTrapZone.types.js.map
package/lib/index.js CHANGED
@@ -1,2 +1,3 @@
1
+ export * from './FocusTrapZone.types';
1
2
  export * from './FocusTrapZone';
2
3
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,iBAAiB,CAAC"}
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":";;;;;;;;;;;;;AACA,+EAAgF;AAChF,2EAAoE;AACpE,8EAA+E;AAC/E,0EAA+E;AAE/E,IAAM,gBAAgB,GAAG,uCAAqB,CAAC,kBAAkB,CAAC,CAAC;AAEnE,SAAgB,qBAAqB,CAAC,QAAgB;IACpD,OAAO,QAAQ,KAAK,cAAc,CAAC;AACrC,CAAC;AAFD,sDAEC;AAEY,QAAA,aAAa,GAAG,kCAAU,CAAqB;IAC1D,eAAe,EAAE,UAAC,SAA8B,EAAE,UAA2C;QAC3F,IAAM,MAAM,GAAG,uCAAmB,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;QAC3D,OAAO;YACL,SAAS,EAAE,mCAAa,CAA0B,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
+ {"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[k] = mod[k];
6
- result["default"] = mod;
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":";;;;;;;;;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"}
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"}
@@ -1,7 +1,15 @@
1
1
  "use strict";
2
- function __export(m) {
3
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
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
- __export(require("./FocusTrapZone"));
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":";;;;;AACA,qCAAgC"}
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.4",
3
+ "version": "0.8.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",
@@ -16,12 +16,17 @@
16
16
  "prettier": "fluentui-scripts prettier",
17
17
  "prettier-fix": "fluentui-scripts prettier --fix true"
18
18
  },
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "https://github.com/microsoft/fluentui-react-native.git",
22
+ "directory": "packages/components/FocusTrapZone"
23
+ },
19
24
  "dependencies": {
20
- "@fluentui-react-native/adapters": ">=0.8.1 <1.0.0",
21
- "@fluentui-react-native/component-cache": "^1.3.0",
22
- "@fluentui-react-native/interactive-hooks": ">=0.11.4 <1.0.0",
23
- "@uifabricshared/foundation-composable": ">=0.10.0 <1.0.0",
24
- "@uifabricshared/foundation-settings": ">=0.11.0 <1.0.0"
25
+ "@fluentui-react-native/adapters": ">=0.8.2 <1.0.0",
26
+ "@fluentui-react-native/component-cache": "^1.3.1",
27
+ "@fluentui-react-native/interactive-hooks": ">=0.11.8 <1.0.0",
28
+ "@uifabricshared/foundation-composable": ">=0.10.2 <1.0.0",
29
+ "@uifabricshared/foundation-settings": ">=0.11.2 <1.0.0"
25
30
  },
26
31
  "devDependencies": {
27
32
  "@fluentui-react-native/eslint-config-rules": "^0.1.1",