@fluentui-react-native/tester 0.168.6 → 0.168.7

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 (24) hide show
  1. package/CHANGELOG.json +15 -0
  2. package/CHANGELOG.md +9 -1
  3. package/lib/fluent-tester/src/TestComponents/Tooltip/TooltipDefault.d.ts.map +1 -1
  4. package/lib/fluent-tester/src/TestComponents/Tooltip/TooltipDefault.js +3 -2
  5. package/lib/fluent-tester/src/TestComponents/Tooltip/TooltipDefault.js.map +1 -1
  6. package/lib/fluent-tester/src/TestComponents/Tooltip/TooltipPosition.d.ts.map +1 -1
  7. package/lib/fluent-tester/src/TestComponents/Tooltip/TooltipPosition.js +3 -3
  8. package/lib/fluent-tester/src/TestComponents/Tooltip/TooltipPosition.js.map +1 -1
  9. package/lib/fluent-tester/src/TestComponents/Tooltip/TooltipTest.d.ts.map +1 -1
  10. package/lib/fluent-tester/src/TestComponents/Tooltip/TooltipTest.js +6 -5
  11. package/lib/fluent-tester/src/TestComponents/Tooltip/TooltipTest.js.map +1 -1
  12. package/lib-commonjs/fluent-tester/src/TestComponents/Tooltip/TooltipDefault.d.ts.map +1 -1
  13. package/lib-commonjs/fluent-tester/src/TestComponents/Tooltip/TooltipDefault.js +3 -2
  14. package/lib-commonjs/fluent-tester/src/TestComponents/Tooltip/TooltipDefault.js.map +1 -1
  15. package/lib-commonjs/fluent-tester/src/TestComponents/Tooltip/TooltipPosition.d.ts.map +1 -1
  16. package/lib-commonjs/fluent-tester/src/TestComponents/Tooltip/TooltipPosition.js +3 -3
  17. package/lib-commonjs/fluent-tester/src/TestComponents/Tooltip/TooltipPosition.js.map +1 -1
  18. package/lib-commonjs/fluent-tester/src/TestComponents/Tooltip/TooltipTest.d.ts.map +1 -1
  19. package/lib-commonjs/fluent-tester/src/TestComponents/Tooltip/TooltipTest.js +6 -5
  20. package/lib-commonjs/fluent-tester/src/TestComponents/Tooltip/TooltipTest.js.map +1 -1
  21. package/package.json +2 -2
  22. package/src/TestComponents/Tooltip/TooltipDefault.tsx +3 -2
  23. package/src/TestComponents/Tooltip/TooltipPosition.tsx +4 -3
  24. package/src/TestComponents/Tooltip/TooltipTest.tsx +6 -5
package/CHANGELOG.json CHANGED
@@ -1,6 +1,21 @@
1
1
  {
2
2
  "name": "@fluentui-react-native/tester",
3
3
  "entries": [
4
+ {
5
+ "date": "Wed, 08 May 2024 16:20:42 GMT",
6
+ "version": "0.168.7",
7
+ "tag": "@fluentui-react-native/tester_v0.168.7",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "gulnazsayed@microsoft.com",
12
+ "package": "@fluentui-react-native/tester",
13
+ "commit": "16a8753cb5e4e15b7baa1182e60ef3e6c7cd8d4e",
14
+ "comment": "added accessibilityDescription to test"
15
+ }
16
+ ]
17
+ }
18
+ },
4
19
  {
5
20
  "date": "Thu, 25 Apr 2024 17:25:56 GMT",
6
21
  "version": "0.168.4",
package/CHANGELOG.md CHANGED
@@ -1,9 +1,17 @@
1
1
  # Change Log - @fluentui-react-native/tester
2
2
 
3
- This log was last generated on Thu, 25 Apr 2024 17:25:56 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 08 May 2024 16:20:42 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.168.7
8
+
9
+ Wed, 08 May 2024 16:20:42 GMT
10
+
11
+ ### Patches
12
+
13
+ - added accessibilityDescription to test (gulnazsayed@microsoft.com)
14
+
7
15
  ## 0.168.4
8
16
 
9
17
  Thu, 25 Apr 2024 17:25:56 GMT
@@ -1 +1 @@
1
- {"version":3,"file":"TooltipDefault.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Tooltip/TooltipDefault.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAQlC,CAAC"}
1
+ {"version":3,"file":"TooltipDefault.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Tooltip/TooltipDefault.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBASlC,CAAC"}
@@ -3,8 +3,9 @@ import { View } from 'react-native';
3
3
  import { ButtonV1 } from '@fluentui-react-native/button';
4
4
  import { Tooltip } from '@fluentui-react-native/tooltip';
5
5
  export var TooltipDefault = function () {
6
+ var defaultContent = 'Tooltip shows relative to mouse cursor.';
6
7
  return (React.createElement(View, null,
7
- React.createElement(Tooltip, { content: "Tooltip should show under mouse cursor" },
8
- React.createElement(ButtonV1, null, "Test"))));
8
+ React.createElement(Tooltip, { content: defaultContent },
9
+ React.createElement(ButtonV1, { accessibilityDescription: defaultContent }, "Default Tooltip"))));
9
10
  };
10
11
  //# sourceMappingURL=TooltipDefault.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TooltipDefault.js","sourceRoot":"","sources":["../../../../../src/TestComponents/Tooltip/TooltipDefault.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAEzD,MAAM,CAAC,IAAM,cAAc,GAA4B;IACrD,OAAO,CACL,oBAAC,IAAI;QACH,oBAAC,OAAO,IAAC,OAAO,EAAC,wCAAwC;YACvD,oBAAC,QAAQ,eAAgB,CACjB,CACL,CACR,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"TooltipDefault.js","sourceRoot":"","sources":["../../../../../src/TestComponents/Tooltip/TooltipDefault.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAEzD,MAAM,CAAC,IAAM,cAAc,GAA4B;IACrD,IAAM,cAAc,GAAG,yCAAyC,CAAC;IACjE,OAAO,CACL,oBAAC,IAAI;QACH,oBAAC,OAAO,IAAC,OAAO,EAAE,cAAc;YAC9B,oBAAC,QAAQ,IAAC,wBAAwB,EAAE,cAAc,sBAA4B,CACtE,CACL,CACR,CAAC;AACJ,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TooltipPosition.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Tooltip/TooltipPosition.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAcnC,CAAC"}
1
+ {"version":3,"file":"TooltipPosition.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Tooltip/TooltipPosition.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAenC,CAAC"}
@@ -5,9 +5,9 @@ import { Tooltip } from '@fluentui-react-native/tooltip';
5
5
  export var TooltipPosition = function () {
6
6
  var topCenterRef = React.useRef(null);
7
7
  return (React.createElement(View, null,
8
- React.createElement(Tooltip, { content: "Test", positioning: "topCenter" },
9
- React.createElement(ButtonV1, null, "No Target + TopCenter")),
10
8
  React.createElement(Tooltip, { content: "Test", positioning: "topCenter", target: topCenterRef },
11
- React.createElement(ButtonV1, { componentRef: topCenterRef }, "Target + TopCenter"))));
9
+ React.createElement(ButtonV1, { componentRef: topCenterRef }, "Target + TopCenter")),
10
+ React.createElement(Tooltip, { content: "Test", positioning: "topCenter", target: 'test' },
11
+ React.createElement(ButtonV1, { nativeID: 'test' }, "Target + TopCenter"))));
12
12
  };
13
13
  //# sourceMappingURL=TooltipPosition.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TooltipPosition.js","sourceRoot":"","sources":["../../../../../src/TestComponents/Tooltip/TooltipPosition.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAEzD,MAAM,CAAC,IAAM,eAAe,GAA4B;IACtD,IAAM,YAAY,GAAG,KAAK,CAAC,MAAM,CAAO,IAAI,CAAC,CAAC;IAE9C,OAAO,CACL,oBAAC,IAAI;QACH,oBAAC,OAAO,IAAC,OAAO,EAAC,MAAM,EAAC,WAAW,EAAC,WAAW;YAC7C,oBAAC,QAAQ,gCAAiC,CAClC;QACV,oBAAC,OAAO,IAAC,OAAO,EAAC,MAAM,EAAC,WAAW,EAAC,WAAW,EAAC,MAAM,EAAE,YAAY;YAClE,oBAAC,QAAQ,IAAC,YAAY,EAAE,YAAY,yBAA+B,CAC3D,CAEL,CACR,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"TooltipPosition.js","sourceRoot":"","sources":["../../../../../src/TestComponents/Tooltip/TooltipPosition.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAEzD,MAAM,CAAC,IAAM,eAAe,GAA4B;IACtD,IAAM,YAAY,GAAG,KAAK,CAAC,MAAM,CAAO,IAAI,CAAC,CAAC;IAE9C,OAAO,CACL,oBAAC,IAAI;QAEH,oBAAC,OAAO,IAAC,OAAO,EAAC,MAAM,EAAC,WAAW,EAAC,WAAW,EAAC,MAAM,EAAE,YAAY;YAClE,oBAAC,QAAQ,IAAC,YAAY,EAAE,YAAY,yBAA+B,CAC3D;QACV,oBAAC,OAAO,IAAC,OAAO,EAAC,MAAM,EAAC,WAAW,EAAC,WAAW,EAAC,MAAM,EAAE,MAAM;YAC5D,oBAAC,QAAQ,IAAC,QAAQ,EAAE,MAAM,yBAA+B,CACjD,CAEL,CACR,CAAC;AACJ,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TooltipTest.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Tooltip/TooltipTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAoB/B,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,iBAa/B,CAAC"}
1
+ {"version":3,"file":"TooltipTest.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Tooltip/TooltipTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAqB/B,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,iBAa/B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { TooltipDefault } from './TooltipDefault';
3
- import { TooltipPosition } from './TooltipPosition';
3
+ // import { TooltipPosition } from './TooltipPosition';
4
4
  import { TOOLTIP_TESTPAGE } from '../../../../E2E/src/Tooltip/consts';
5
5
  import { Test } from '../Test';
6
6
  var tooltipSections = [
@@ -9,10 +9,11 @@ var tooltipSections = [
9
9
  testID: TOOLTIP_TESTPAGE,
10
10
  component: TooltipDefault,
11
11
  },
12
- {
13
- name: 'Target + Positioning',
14
- component: TooltipPosition,
15
- },
12
+ // In Progress - Implementation for custom positioning and anchoring is not completed in the native module.
13
+ // {
14
+ // name: 'Target + Positioning',
15
+ // component: TooltipPosition,
16
+ // },
16
17
  ];
17
18
  export var TooltipTest = function () {
18
19
  var status = {
@@ -1 +1 @@
1
- {"version":3,"file":"TooltipTest.js","sourceRoot":"","sources":["../../../../../src/TestComponents/Tooltip/TooltipTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAG/B,IAAM,eAAe,GAAkB;IACrC;QACE,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,gBAAgB;QACxB,SAAS,EAAE,cAAc;KAC1B;IACD;QACE,IAAI,EAAE,sBAAsB;QAC5B,SAAS,EAAE,eAAe;KAC3B;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,WAAW,GAA4B;IAClD,IAAM,MAAM,GAAmB;QAC7B,WAAW,EAAE,cAAc;QAC3B,SAAS,EAAE,SAAS;QACpB,SAAS,EAAE,SAAS;QACpB,WAAW,EAAE,SAAS;QACtB,aAAa,EAAE,SAAS;KACzB,CAAC;IAEF,IAAM,WAAW,GACf,qIAAqI,CAAC;IAExI,OAAO,oBAAC,IAAI,IAAC,IAAI,EAAC,cAAc,EAAC,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,GAAI,CAAC;AAC3G,CAAC,CAAC"}
1
+ {"version":3,"file":"TooltipTest.js","sourceRoot":"","sources":["../../../../../src/TestComponents/Tooltip/TooltipTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,uDAAuD;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAG/B,IAAM,eAAe,GAAkB;IACrC;QACE,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,gBAAgB;QACxB,SAAS,EAAE,cAAc;KAC1B;IACD,2GAA2G;IAC3G,IAAI;IACJ,kCAAkC;IAClC,gCAAgC;IAChC,KAAK;CACN,CAAC;AAEF,MAAM,CAAC,IAAM,WAAW,GAA4B;IAClD,IAAM,MAAM,GAAmB;QAC7B,WAAW,EAAE,cAAc;QAC3B,SAAS,EAAE,SAAS;QACpB,SAAS,EAAE,SAAS;QACpB,WAAW,EAAE,SAAS;QACtB,aAAa,EAAE,SAAS;KACzB,CAAC;IAEF,IAAM,WAAW,GACf,qIAAqI,CAAC;IAExI,OAAO,oBAAC,IAAI,IAAC,IAAI,EAAC,cAAc,EAAC,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,GAAI,CAAC;AAC3G,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TooltipDefault.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Tooltip/TooltipDefault.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAQlC,CAAC"}
1
+ {"version":3,"file":"TooltipDefault.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Tooltip/TooltipDefault.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBASlC,CAAC"}
@@ -7,9 +7,10 @@ var react_native_1 = require("react-native");
7
7
  var button_1 = require("@fluentui-react-native/button");
8
8
  var tooltip_1 = require("@fluentui-react-native/tooltip");
9
9
  var TooltipDefault = function () {
10
+ var defaultContent = 'Tooltip shows relative to mouse cursor.';
10
11
  return (React.createElement(react_native_1.View, null,
11
- React.createElement(tooltip_1.Tooltip, { content: "Tooltip should show under mouse cursor" },
12
- React.createElement(button_1.ButtonV1, null, "Test"))));
12
+ React.createElement(tooltip_1.Tooltip, { content: defaultContent },
13
+ React.createElement(button_1.ButtonV1, { accessibilityDescription: defaultContent }, "Default Tooltip"))));
13
14
  };
14
15
  exports.TooltipDefault = TooltipDefault;
15
16
  //# sourceMappingURL=TooltipDefault.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TooltipDefault.js","sourceRoot":"","sources":["../../../../../src/TestComponents/Tooltip/TooltipDefault.tsx"],"names":[],"mappings":";;;;AAAA,mDAA+B;AAC/B,6CAAoC;AAEpC,wDAAyD;AACzD,0DAAyD;AAElD,IAAM,cAAc,GAA4B;IACrD,OAAO,CACL,oBAAC,mBAAI;QACH,oBAAC,iBAAO,IAAC,OAAO,EAAC,wCAAwC;YACvD,oBAAC,iBAAQ,eAAgB,CACjB,CACL,CACR,CAAC;AACJ,CAAC,CAAC;AARW,QAAA,cAAc,kBAQzB"}
1
+ {"version":3,"file":"TooltipDefault.js","sourceRoot":"","sources":["../../../../../src/TestComponents/Tooltip/TooltipDefault.tsx"],"names":[],"mappings":";;;;AAAA,mDAA+B;AAC/B,6CAAoC;AAEpC,wDAAyD;AACzD,0DAAyD;AAElD,IAAM,cAAc,GAA4B;IACrD,IAAM,cAAc,GAAG,yCAAyC,CAAC;IACjE,OAAO,CACL,oBAAC,mBAAI;QACH,oBAAC,iBAAO,IAAC,OAAO,EAAE,cAAc;YAC9B,oBAAC,iBAAQ,IAAC,wBAAwB,EAAE,cAAc,sBAA4B,CACtE,CACL,CACR,CAAC;AACJ,CAAC,CAAC;AATW,QAAA,cAAc,kBASzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"TooltipPosition.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Tooltip/TooltipPosition.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAcnC,CAAC"}
1
+ {"version":3,"file":"TooltipPosition.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Tooltip/TooltipPosition.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAenC,CAAC"}
@@ -9,10 +9,10 @@ var tooltip_1 = require("@fluentui-react-native/tooltip");
9
9
  var TooltipPosition = function () {
10
10
  var topCenterRef = React.useRef(null);
11
11
  return (React.createElement(react_native_1.View, null,
12
- React.createElement(tooltip_1.Tooltip, { content: "Test", positioning: "topCenter" },
13
- React.createElement(button_1.ButtonV1, null, "No Target + TopCenter")),
14
12
  React.createElement(tooltip_1.Tooltip, { content: "Test", positioning: "topCenter", target: topCenterRef },
15
- React.createElement(button_1.ButtonV1, { componentRef: topCenterRef }, "Target + TopCenter"))));
13
+ React.createElement(button_1.ButtonV1, { componentRef: topCenterRef }, "Target + TopCenter")),
14
+ React.createElement(tooltip_1.Tooltip, { content: "Test", positioning: "topCenter", target: 'test' },
15
+ React.createElement(button_1.ButtonV1, { nativeID: 'test' }, "Target + TopCenter"))));
16
16
  };
17
17
  exports.TooltipPosition = TooltipPosition;
18
18
  //# sourceMappingURL=TooltipPosition.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TooltipPosition.js","sourceRoot":"","sources":["../../../../../src/TestComponents/Tooltip/TooltipPosition.tsx"],"names":[],"mappings":";;;;AAAA,mDAA+B;AAC/B,6CAAoC;AAEpC,wDAAyD;AACzD,0DAAyD;AAElD,IAAM,eAAe,GAA4B;IACtD,IAAM,YAAY,GAAG,KAAK,CAAC,MAAM,CAAO,IAAI,CAAC,CAAC;IAE9C,OAAO,CACL,oBAAC,mBAAI;QACH,oBAAC,iBAAO,IAAC,OAAO,EAAC,MAAM,EAAC,WAAW,EAAC,WAAW;YAC7C,oBAAC,iBAAQ,gCAAiC,CAClC;QACV,oBAAC,iBAAO,IAAC,OAAO,EAAC,MAAM,EAAC,WAAW,EAAC,WAAW,EAAC,MAAM,EAAE,YAAY;YAClE,oBAAC,iBAAQ,IAAC,YAAY,EAAE,YAAY,yBAA+B,CAC3D,CAEL,CACR,CAAC;AACJ,CAAC,CAAC;AAdW,QAAA,eAAe,mBAc1B"}
1
+ {"version":3,"file":"TooltipPosition.js","sourceRoot":"","sources":["../../../../../src/TestComponents/Tooltip/TooltipPosition.tsx"],"names":[],"mappings":";;;;AAAA,mDAA+B;AAC/B,6CAAoC;AAEpC,wDAAyD;AACzD,0DAAyD;AAElD,IAAM,eAAe,GAA4B;IACtD,IAAM,YAAY,GAAG,KAAK,CAAC,MAAM,CAAO,IAAI,CAAC,CAAC;IAE9C,OAAO,CACL,oBAAC,mBAAI;QAEH,oBAAC,iBAAO,IAAC,OAAO,EAAC,MAAM,EAAC,WAAW,EAAC,WAAW,EAAC,MAAM,EAAE,YAAY;YAClE,oBAAC,iBAAQ,IAAC,YAAY,EAAE,YAAY,yBAA+B,CAC3D;QACV,oBAAC,iBAAO,IAAC,OAAO,EAAC,MAAM,EAAC,WAAW,EAAC,WAAW,EAAC,MAAM,EAAE,MAAM;YAC5D,oBAAC,iBAAQ,IAAC,QAAQ,EAAE,MAAM,yBAA+B,CACjD,CAEL,CACR,CAAC;AACJ,CAAC,CAAC;AAfW,QAAA,eAAe,mBAe1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"TooltipTest.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Tooltip/TooltipTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAoB/B,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,iBAa/B,CAAC"}
1
+ {"version":3,"file":"TooltipTest.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Tooltip/TooltipTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAqB/B,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,iBAa/B,CAAC"}
@@ -4,7 +4,7 @@ exports.TooltipTest = void 0;
4
4
  var tslib_1 = require("tslib");
5
5
  var React = tslib_1.__importStar(require("react"));
6
6
  var TooltipDefault_1 = require("./TooltipDefault");
7
- var TooltipPosition_1 = require("./TooltipPosition");
7
+ // import { TooltipPosition } from './TooltipPosition';
8
8
  var consts_1 = require("../../../../E2E/src/Tooltip/consts");
9
9
  var Test_1 = require("../Test");
10
10
  var tooltipSections = [
@@ -13,10 +13,11 @@ var tooltipSections = [
13
13
  testID: consts_1.TOOLTIP_TESTPAGE,
14
14
  component: TooltipDefault_1.TooltipDefault,
15
15
  },
16
- {
17
- name: 'Target + Positioning',
18
- component: TooltipPosition_1.TooltipPosition,
19
- },
16
+ // In Progress - Implementation for custom positioning and anchoring is not completed in the native module.
17
+ // {
18
+ // name: 'Target + Positioning',
19
+ // component: TooltipPosition,
20
+ // },
20
21
  ];
21
22
  var TooltipTest = function () {
22
23
  var status = {
@@ -1 +1 @@
1
- {"version":3,"file":"TooltipTest.js","sourceRoot":"","sources":["../../../../../src/TestComponents/Tooltip/TooltipTest.tsx"],"names":[],"mappings":";;;;AAAA,mDAA+B;AAE/B,mDAAkD;AAClD,qDAAoD;AACpD,6DAAsE;AACtE,gCAA+B;AAG/B,IAAM,eAAe,GAAkB;IACrC;QACE,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,yBAAgB;QACxB,SAAS,EAAE,+BAAc;KAC1B;IACD;QACE,IAAI,EAAE,sBAAsB;QAC5B,SAAS,EAAE,iCAAe;KAC3B;CACF,CAAC;AAEK,IAAM,WAAW,GAA4B;IAClD,IAAM,MAAM,GAAmB;QAC7B,WAAW,EAAE,cAAc;QAC3B,SAAS,EAAE,SAAS;QACpB,SAAS,EAAE,SAAS;QACpB,WAAW,EAAE,SAAS;QACtB,aAAa,EAAE,SAAS;KACzB,CAAC;IAEF,IAAM,WAAW,GACf,qIAAqI,CAAC;IAExI,OAAO,oBAAC,WAAI,IAAC,IAAI,EAAC,cAAc,EAAC,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,GAAI,CAAC;AAC3G,CAAC,CAAC;AAbW,QAAA,WAAW,eAatB"}
1
+ {"version":3,"file":"TooltipTest.js","sourceRoot":"","sources":["../../../../../src/TestComponents/Tooltip/TooltipTest.tsx"],"names":[],"mappings":";;;;AAAA,mDAA+B;AAE/B,mDAAkD;AAClD,uDAAuD;AACvD,6DAAsE;AACtE,gCAA+B;AAG/B,IAAM,eAAe,GAAkB;IACrC;QACE,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,yBAAgB;QACxB,SAAS,EAAE,+BAAc;KAC1B;IACD,2GAA2G;IAC3G,IAAI;IACJ,kCAAkC;IAClC,gCAAgC;IAChC,KAAK;CACN,CAAC;AAEK,IAAM,WAAW,GAA4B;IAClD,IAAM,MAAM,GAAmB;QAC7B,WAAW,EAAE,cAAc;QAC3B,SAAS,EAAE,SAAS;QACpB,SAAS,EAAE,SAAS;QACpB,WAAW,EAAE,SAAS;QACtB,aAAa,EAAE,SAAS;KACzB,CAAC;IAEF,IAAM,WAAW,GACf,qIAAqI,CAAC;IAExI,OAAO,oBAAC,WAAI,IAAC,IAAI,EAAC,cAAc,EAAC,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,GAAI,CAAC;AAC3G,CAAC,CAAC;AAbW,QAAA,WAAW,eAatB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-react-native/tester",
3
- "version": "0.168.6",
3
+ "version": "0.168.7",
4
4
  "description": "A test app to test FluentUI React Native Components during development",
5
5
  "license": "MIT",
6
6
  "author": "Microsoft <fluentuinativeowners@microsoft.com>",
@@ -72,7 +72,7 @@
72
72
  "@fluentui-react-native/theme-types": "0.39.0",
73
73
  "@fluentui-react-native/themed-stylesheet": "1.7.0",
74
74
  "@fluentui-react-native/theming-utils": "0.26.0",
75
- "@fluentui-react-native/tooltip": "0.3.2",
75
+ "@fluentui-react-native/tooltip": "0.4.0",
76
76
  "@fluentui-react-native/vibrancy-view": "0.2.1",
77
77
  "@fluentui-react-native/win32-theme": "0.34.1",
78
78
  "@fluentui/react-native": "0.41.4",
@@ -5,10 +5,11 @@ import { ButtonV1 } from '@fluentui-react-native/button';
5
5
  import { Tooltip } from '@fluentui-react-native/tooltip';
6
6
 
7
7
  export const TooltipDefault: React.FunctionComponent = () => {
8
+ const defaultContent = 'Tooltip shows relative to mouse cursor.';
8
9
  return (
9
10
  <View>
10
- <Tooltip content="Tooltip should show under mouse cursor">
11
- <ButtonV1>Test</ButtonV1>
11
+ <Tooltip content={defaultContent}>
12
+ <ButtonV1 accessibilityDescription={defaultContent}>Default Tooltip</ButtonV1>
12
13
  </Tooltip>
13
14
  </View>
14
15
  );
@@ -9,12 +9,13 @@ export const TooltipPosition: React.FunctionComponent = () => {
9
9
 
10
10
  return (
11
11
  <View>
12
- <Tooltip content="Test" positioning="topCenter">
13
- <ButtonV1>No Target + TopCenter</ButtonV1>
14
- </Tooltip>
12
+ {/* In Progress - Implementation for custom positioning and anchoring is not completed in the native module. */}
15
13
  <Tooltip content="Test" positioning="topCenter" target={topCenterRef}>
16
14
  <ButtonV1 componentRef={topCenterRef}>Target + TopCenter</ButtonV1>
17
15
  </Tooltip>
16
+ <Tooltip content="Test" positioning="topCenter" target={'test'}>
17
+ <ButtonV1 nativeID={'test'}>Target + TopCenter</ButtonV1>
18
+ </Tooltip>
18
19
  {/* Adding more tests as follow-up*/}
19
20
  </View>
20
21
  );
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
 
3
3
  import { TooltipDefault } from './TooltipDefault';
4
- import { TooltipPosition } from './TooltipPosition';
4
+ // import { TooltipPosition } from './TooltipPosition';
5
5
  import { TOOLTIP_TESTPAGE } from '../../../../E2E/src/Tooltip/consts';
6
6
  import { Test } from '../Test';
7
7
  import type { TestSection, PlatformStatus } from '../Test';
@@ -12,10 +12,11 @@ const tooltipSections: TestSection[] = [
12
12
  testID: TOOLTIP_TESTPAGE,
13
13
  component: TooltipDefault,
14
14
  },
15
- {
16
- name: 'Target + Positioning',
17
- component: TooltipPosition,
18
- },
15
+ // In Progress - Implementation for custom positioning and anchoring is not completed in the native module.
16
+ // {
17
+ // name: 'Target + Positioning',
18
+ // component: TooltipPosition,
19
+ // },
19
20
  ];
20
21
 
21
22
  export const TooltipTest: React.FunctionComponent = () => {