@fluentui-react-native/tester 0.58.13 → 0.58.16

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 (58) hide show
  1. package/CHANGELOG.json +256 -1
  2. package/CHANGELOG.md +61 -2
  3. package/lib/FluentTester/TestComponents/Button/ButtonHOCTestSection.js +1 -1
  4. package/lib/FluentTester/TestComponents/Button/ButtonHOCTestSection.js.map +1 -1
  5. package/lib/FluentTester/TestComponents/Button/ButtonIconTestSection.js +1 -1
  6. package/lib/FluentTester/TestComponents/Button/ButtonIconTestSection.js.map +1 -1
  7. package/lib/FluentTester/TestComponents/Button/ButtonShapeTestSection.js +1 -1
  8. package/lib/FluentTester/TestComponents/Button/ButtonShapeTestSection.js.map +1 -1
  9. package/lib/FluentTester/TestComponents/Button/ButtonSizeTestSection.js +1 -1
  10. package/lib/FluentTester/TestComponents/Button/ButtonSizeTestSection.js.map +1 -1
  11. package/lib/FluentTester/TestComponents/Button/E2EButtonTest.js +1 -1
  12. package/lib/FluentTester/TestComponents/Button/E2EButtonTest.js.map +1 -1
  13. package/lib/FluentTester/TestComponents/Button/ToggleButtonTestSection.js +1 -1
  14. package/lib/FluentTester/TestComponents/Button/ToggleButtonTestSection.js.map +1 -1
  15. package/lib/FluentTester/TestComponents/Drawer/DrawerTest.d.ts.map +1 -1
  16. package/lib/FluentTester/TestComponents/Drawer/DrawerTest.js +21 -6
  17. package/lib/FluentTester/TestComponents/Drawer/DrawerTest.js.map +1 -1
  18. package/lib/FluentTester/TestComponents/MenuButton/consts.d.ts +1 -1
  19. package/lib/FluentTester/TestComponents/MenuButton/consts.d.ts.map +1 -1
  20. package/lib/FluentTester/TestComponents/MenuButton/consts.js +2 -1
  21. package/lib/FluentTester/TestComponents/MenuButton/consts.js.map +1 -1
  22. package/lib/index.d.ts +1 -1
  23. package/lib/index.d.ts.map +1 -1
  24. package/lib/index.js +1 -1
  25. package/lib/index.js.map +1 -1
  26. package/lib-commonjs/FluentTester/TestComponents/Button/ButtonHOCTestSection.js +9 -9
  27. package/lib-commonjs/FluentTester/TestComponents/Button/ButtonHOCTestSection.js.map +1 -1
  28. package/lib-commonjs/FluentTester/TestComponents/Button/ButtonIconTestSection.js +15 -15
  29. package/lib-commonjs/FluentTester/TestComponents/Button/ButtonIconTestSection.js.map +1 -1
  30. package/lib-commonjs/FluentTester/TestComponents/Button/ButtonShapeTestSection.js +12 -12
  31. package/lib-commonjs/FluentTester/TestComponents/Button/ButtonShapeTestSection.js.map +1 -1
  32. package/lib-commonjs/FluentTester/TestComponents/Button/ButtonSizeTestSection.js +22 -22
  33. package/lib-commonjs/FluentTester/TestComponents/Button/ButtonSizeTestSection.js.map +1 -1
  34. package/lib-commonjs/FluentTester/TestComponents/Button/E2EButtonTest.js +5 -5
  35. package/lib-commonjs/FluentTester/TestComponents/Button/E2EButtonTest.js.map +1 -1
  36. package/lib-commonjs/FluentTester/TestComponents/Button/ToggleButtonTestSection.js +17 -17
  37. package/lib-commonjs/FluentTester/TestComponents/Button/ToggleButtonTestSection.js.map +1 -1
  38. package/lib-commonjs/FluentTester/TestComponents/Drawer/DrawerTest.d.ts.map +1 -1
  39. package/lib-commonjs/FluentTester/TestComponents/Drawer/DrawerTest.js +21 -6
  40. package/lib-commonjs/FluentTester/TestComponents/Drawer/DrawerTest.js.map +1 -1
  41. package/lib-commonjs/FluentTester/TestComponents/MenuButton/consts.d.ts +1 -1
  42. package/lib-commonjs/FluentTester/TestComponents/MenuButton/consts.d.ts.map +1 -1
  43. package/lib-commonjs/FluentTester/TestComponents/MenuButton/consts.js +2 -1
  44. package/lib-commonjs/FluentTester/TestComponents/MenuButton/consts.js.map +1 -1
  45. package/lib-commonjs/index.d.ts +1 -1
  46. package/lib-commonjs/index.d.ts.map +1 -1
  47. package/lib-commonjs/index.js +3 -2
  48. package/lib-commonjs/index.js.map +1 -1
  49. package/package.json +26 -25
  50. package/src/FluentTester/TestComponents/Button/ButtonHOCTestSection.tsx +1 -1
  51. package/src/FluentTester/TestComponents/Button/ButtonIconTestSection.tsx +1 -1
  52. package/src/FluentTester/TestComponents/Button/ButtonShapeTestSection.tsx +1 -1
  53. package/src/FluentTester/TestComponents/Button/ButtonSizeTestSection.tsx +1 -1
  54. package/src/FluentTester/TestComponents/Button/E2EButtonTest.tsx +1 -1
  55. package/src/FluentTester/TestComponents/Button/ToggleButtonTestSection.tsx +1 -1
  56. package/src/FluentTester/TestComponents/Drawer/DrawerTest.tsx +27 -6
  57. package/src/FluentTester/TestComponents/MenuButton/consts.ts +2 -1
  58. package/src/index.ts +1 -1
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ButtonIconTest = void 0;
4
4
  var tslib_1 = require("tslib");
5
- var button_1 = require("@fluentui-react-native/button");
5
+ var react_native_1 = require("@fluentui/react-native");
6
6
  var React = (0, tslib_1.__importStar)(require("react"));
7
- var react_native_1 = require("react-native");
7
+ var react_native_2 = require("react-native");
8
8
  var styles_1 = require("../Common/styles");
9
9
  var test_svg_1 = (0, tslib_1.__importDefault)(require("./test.svg"));
10
10
  var react_native_svg_1 = require("react-native-svg");
11
- var styles = react_native_1.StyleSheet.create({
11
+ var styles = react_native_2.StyleSheet.create({
12
12
  chevron: { paddingStart: 4 },
13
13
  });
14
14
  var ButtonIconTest = function () {
@@ -23,21 +23,21 @@ var ButtonIconTest = function () {
23
23
  src: test_svg_1.default,
24
24
  viewBox: '0 0 500 500',
25
25
  };
26
- var svgIconsEnabled = ['ios', 'macos', 'win32', 'android'].includes(react_native_1.Platform.OS);
26
+ var svgIconsEnabled = ['ios', 'macos', 'win32', 'android'].includes(react_native_2.Platform.OS);
27
27
  var chevronXml = "\n <svg width=\"12\" height=\"16\" viewBox=\"0 0 11 6\" color=\"#000\">\n <path fill='currentColor' d='M0.646447 0.646447C0.841709 0.451184 1.15829 0.451184 1.35355 0.646447L5.5 4.79289L9.64645 0.646447C9.84171 0.451185 10.1583 0.451185 10.3536 0.646447C10.5488 0.841709 10.5488 1.15829 10.3536 1.35355L5.85355 5.85355C5.65829 6.04882 5.34171 6.04882 5.14645 5.85355L0.646447 1.35355C0.451184 1.15829 0.451184 0.841709 0.646447 0.646447Z' />\n </svg>";
28
- return (React.createElement(react_native_1.View, { style: [styles_1.stackStyle, styles_1.commonTestStyles.view] },
29
- React.createElement(button_1.ButtonV1, { icon: { fontSource: (0, tslib_1.__assign)((0, tslib_1.__assign)({}, fontBuiltInProps), { fontSize: 32 }), color: '#060' }, style: styles_1.commonTestStyles.vmargin }, "Font icon"),
30
- React.createElement(button_1.ButtonV1, { icon: { fontSource: (0, tslib_1.__assign)((0, tslib_1.__assign)({}, fontBuiltInProps), { fontSize: 32 }), color: '#060' }, style: styles_1.commonTestStyles.vmargin, iconPosition: "after" }, "Icon after"),
31
- React.createElement(button_1.ButtonV1, { icon: { fontSource: fontBuiltInProps }, style: styles_1.commonTestStyles.vmargin }, "Font icon"),
32
- React.createElement(button_1.ButtonV1, { appearance: "primary", icon: { fontSource: fontBuiltInProps }, style: styles_1.commonTestStyles.vmargin }, "Font icon"),
28
+ return (React.createElement(react_native_2.View, { style: [styles_1.stackStyle, styles_1.commonTestStyles.view] },
29
+ React.createElement(react_native_1.ButtonV1, { icon: { fontSource: (0, tslib_1.__assign)((0, tslib_1.__assign)({}, fontBuiltInProps), { fontSize: 32 }), color: '#060' }, style: styles_1.commonTestStyles.vmargin }, "Font icon"),
30
+ React.createElement(react_native_1.ButtonV1, { icon: { fontSource: (0, tslib_1.__assign)((0, tslib_1.__assign)({}, fontBuiltInProps), { fontSize: 32 }), color: '#060' }, style: styles_1.commonTestStyles.vmargin, iconPosition: "after" }, "Icon after"),
31
+ React.createElement(react_native_1.ButtonV1, { icon: { fontSource: fontBuiltInProps }, style: styles_1.commonTestStyles.vmargin }, "Font icon"),
32
+ React.createElement(react_native_1.ButtonV1, { appearance: "primary", icon: { fontSource: fontBuiltInProps }, style: styles_1.commonTestStyles.vmargin }, "Font icon"),
33
33
  svgIconsEnabled && (React.createElement(React.Fragment, null,
34
- React.createElement(button_1.ButtonV1, { appearance: "primary", icon: { svgSource: svgProps, color: 'red' }, style: styles_1.commonTestStyles.vmargin }, "SVG"),
35
- React.createElement(button_1.ButtonV1, { icon: { svgSource: svgProps }, style: styles_1.commonTestStyles.vmargin }, "SVG"))),
36
- React.createElement(button_1.ButtonV1, { appearance: "primary", icon: testImage, style: styles_1.commonTestStyles.vmargin }, "PNG"),
37
- React.createElement(button_1.ButtonV1, { icon: testImage, style: styles_1.commonTestStyles.vmargin }, "PNG"),
38
- svgIconsEnabled && (React.createElement(button_1.ButtonV1, { style: styles_1.commonTestStyles.vmargin, icon: { svgSource: svgProps } },
34
+ React.createElement(react_native_1.ButtonV1, { appearance: "primary", icon: { svgSource: svgProps, color: 'red' }, style: styles_1.commonTestStyles.vmargin }, "SVG"),
35
+ React.createElement(react_native_1.ButtonV1, { icon: { svgSource: svgProps }, style: styles_1.commonTestStyles.vmargin }, "SVG"))),
36
+ React.createElement(react_native_1.ButtonV1, { appearance: "primary", icon: testImage, style: styles_1.commonTestStyles.vmargin }, "PNG"),
37
+ React.createElement(react_native_1.ButtonV1, { icon: testImage, style: styles_1.commonTestStyles.vmargin }, "PNG"),
38
+ svgIconsEnabled && (React.createElement(react_native_1.ButtonV1, { style: styles_1.commonTestStyles.vmargin, icon: { svgSource: svgProps } },
39
39
  "Icon Button and Chevron",
40
- React.createElement(react_native_1.View, { style: styles.chevron },
40
+ React.createElement(react_native_2.View, { style: styles.chevron },
41
41
  React.createElement(react_native_svg_1.SvgXml, { xml: chevronXml }))))));
42
42
  };
43
43
  exports.ButtonIconTest = ButtonIconTest;
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonIconTestSection.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/ButtonIconTestSection.tsx"],"names":[],"mappings":";;;;AAAA,wDAAmE;AACnE,wDAA+B;AAC/B,6CAA0D;AAC1D,2CAAgE;AAEhE,qEAAiC;AACj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AAI,EAAE,EAAE,UAAU,EAAE,gBAAgB,EAAE,EAAE,KAAK,EAAE,yBAAgB,CAAC,OAAO,gBAE3F;QACR,eAAe,IAAI,CAClB;YACE,oBAAC,iBAAM,IAAC,UAAU,EAAC,SAAS,EAAC,IAAI,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,yBAAgB,CAAC,OAAO,UAEhG;YACT,oBAAC,iBAAM,IAAC,IAAI,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAE,yBAAgB,CAAC,OAAO,UAE7D,CACR,CACJ;QACD,oBAAC,iBAAM,IAAC,UAAU,EAAC,SAAS,EAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,yBAAgB,CAAC,OAAO,UAEpE;QACT,oBAAC,iBAAM,IAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,yBAAgB,CAAC,OAAO,UAE/C;QACR,eAAe,IAAI,CAClB,oBAAC,iBAAM,IAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE;;YAEpE,oBAAC,mBAAI,IAAC,KAAK,EAAE,MAAM,CAAC,OAAO;gBACzB,oBAAC,yBAAM,IAAC,GAAG,EAAE,UAAU,GAAI,CACtB,CACA,CACV,CACI,CACR,CAAC;AACJ,CAAC,CAAC;AAjEW,QAAA,cAAc,kBAiEzB"}
1
+ {"version":3,"file":"ButtonIconTestSection.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/ButtonIconTestSection.tsx"],"names":[],"mappings":";;;;AAAA,uDAA4D;AAC5D,wDAA+B;AAC/B,6CAA0D;AAC1D,2CAAgE;AAEhE,qEAAiC;AACjC,qDAA0C;AAE1C,IAAM,MAAM,GAAG,yBAAU,CAAC,MAAM,CAAC;IAC/B,OAAO,EAAE,EAAE,YAAY,EAAE,CAAC,EAAE;CAC7B,CAAC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C,uBAAM,IAAC,UAAU,EAAC,SAAS,EAAC,IAAI,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,yBAAgB,CAAC,OAAO,UAEhG;YACT,oBAAC,uBAAM,IAAC,IAAI,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAE,yBAAgB,CAAC,OAAO,UAE7D,CACR,CACJ;QACD,oBAAC,uBAAM,IAAC,UAAU,EAAC,SAAS,EAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,yBAAgB,CAAC,OAAO,UAEpE;QACT,oBAAC,uBAAM,IAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,yBAAgB,CAAC,OAAO,UAE/C;QACR,eAAe,IAAI,CAClB,oBAAC,uBAAM,IAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE;;YAEpE,oBAAC,mBAAI,IAAC,KAAK,EAAE,MAAM,CAAC,OAAO;gBACzB,oBAAC,yBAAM,IAAC,GAAG,EAAE,UAAU,GAAI,CACtB,CACA,CACV,CACI,CACR,CAAC;AACJ,CAAC,CAAC;AAjEW,QAAA,cAAc,kBAiEzB"}
@@ -2,21 +2,21 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ButtonShapeTest = void 0;
4
4
  var tslib_1 = require("tslib");
5
- var button_1 = require("@fluentui-react-native/button");
5
+ var react_native_1 = require("@fluentui/react-native");
6
6
  var React = (0, tslib_1.__importStar)(require("react"));
7
- var react_native_1 = require("react-native");
7
+ var react_native_2 = require("react-native");
8
8
  var styles_1 = require("../Common/styles");
9
9
  var ButtonShapeTest = function () {
10
- return (React.createElement(react_native_1.View, { style: [styles_1.stackStyle, styles_1.commonTestStyles.view] },
11
- React.createElement(button_1.ButtonV1, { shape: "rounded", style: styles_1.commonTestStyles.vmargin }, "Default Rounded Button"),
12
- React.createElement(button_1.ButtonV1, { shape: "square", style: styles_1.commonTestStyles.vmargin }, "Square Button"),
13
- React.createElement(button_1.ButtonV1, { shape: "circular", style: styles_1.commonTestStyles.vmargin }, "Circular Button"),
14
- React.createElement(button_1.ButtonV1, { appearance: "primary", shape: "rounded", style: styles_1.commonTestStyles.vmargin }, "Primary Rounded Button"),
15
- React.createElement(button_1.ButtonV1, { appearance: "primary", shape: "square", style: styles_1.commonTestStyles.vmargin }, "Square Button"),
16
- React.createElement(button_1.ButtonV1, { appearance: "primary", shape: "circular", style: styles_1.commonTestStyles.vmargin }, "Circular Button"),
17
- React.createElement(button_1.CompoundButton, { secondaryContent: "rounded", shape: "rounded", style: styles_1.commonTestStyles.vmargin }, "Compound Button"),
18
- React.createElement(button_1.CompoundButton, { secondaryContent: "square", shape: "square", style: styles_1.commonTestStyles.vmargin }, "Compound Button"),
19
- React.createElement(button_1.CompoundButton, { secondaryContent: "circular", shape: "circular", style: styles_1.commonTestStyles.vmargin }, "Compound Button")));
10
+ return (React.createElement(react_native_2.View, { style: [styles_1.stackStyle, styles_1.commonTestStyles.view] },
11
+ React.createElement(react_native_1.ButtonV1, { shape: "rounded", style: styles_1.commonTestStyles.vmargin }, "Default Rounded Button"),
12
+ React.createElement(react_native_1.ButtonV1, { shape: "square", style: styles_1.commonTestStyles.vmargin }, "Square Button"),
13
+ React.createElement(react_native_1.ButtonV1, { shape: "circular", style: styles_1.commonTestStyles.vmargin }, "Circular Button"),
14
+ React.createElement(react_native_1.ButtonV1, { appearance: "primary", shape: "rounded", style: styles_1.commonTestStyles.vmargin }, "Primary Rounded Button"),
15
+ React.createElement(react_native_1.ButtonV1, { appearance: "primary", shape: "square", style: styles_1.commonTestStyles.vmargin }, "Square Button"),
16
+ React.createElement(react_native_1.ButtonV1, { appearance: "primary", shape: "circular", style: styles_1.commonTestStyles.vmargin }, "Circular Button"),
17
+ React.createElement(react_native_1.CompoundButton, { secondaryContent: "rounded", shape: "rounded", style: styles_1.commonTestStyles.vmargin }, "Compound Button"),
18
+ React.createElement(react_native_1.CompoundButton, { secondaryContent: "square", shape: "square", style: styles_1.commonTestStyles.vmargin }, "Compound Button"),
19
+ React.createElement(react_native_1.CompoundButton, { secondaryContent: "circular", shape: "circular", style: styles_1.commonTestStyles.vmargin }, "Compound Button")));
20
20
  };
21
21
  exports.ButtonShapeTest = ButtonShapeTest;
22
22
  //# sourceMappingURL=ButtonShapeTestSection.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonShapeTestSection.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/ButtonShapeTestSection.tsx"],"names":[],"mappings":";;;;AAAA,wDAAmF;AACnF,wDAA+B;AAC/B,6CAAoC;AACpC,2CAAgE;AAEzD,IAAM,eAAe,GAA4B;IACtD,OAAO,CACL,oBAAC,mBAAI,IAAC,KAAK,EAAE,CAAC,mBAAU,EAAE,yBAAgB,CAAC,IAAI,CAAC;QAC9C,oBAAC,iBAAM,IAAC,KAAK,EAAC,SAAS,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,6BAE9C;QACT,oBAAC,iBAAM,IAAC,KAAK,EAAC,QAAQ,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,oBAE7C;QACT,oBAAC,iBAAM,IAAC,KAAK,EAAC,UAAU,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,sBAE/C;QACT,oBAAC,iBAAM,IAAC,UAAU,EAAC,SAAS,EAAC,KAAK,EAAC,SAAS,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,6BAEnE;QACT,oBAAC,iBAAM,IAAC,UAAU,EAAC,SAAS,EAAC,KAAK,EAAC,QAAQ,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,oBAElE;QACT,oBAAC,iBAAM,IAAC,UAAU,EAAC,SAAS,EAAC,KAAK,EAAC,UAAU,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,sBAEpE;QACT,oBAAC,uBAAc,IAAC,gBAAgB,EAAC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K,EAAC,UAAU,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,sBAEpE;QACT,oBAAC,6BAAc,IAAC,gBAAgB,EAAC,SAAS,EAAC,KAAK,EAAC,SAAS,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,sBAEzE;QACjB,oBAAC,6BAAc,IAAC,gBAAgB,EAAC,QAAQ,EAAC,KAAK,EAAC,QAAQ,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,sBAEvE;QACjB,oBAAC,6BAAc,IAAC,gBAAgB,EAAC,UAAU,EAAC,KAAK,EAAC,UAAU,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,sBAE3E,CACZ,CACR,CAAC;AACJ,CAAC,CAAC;AAhCW,QAAA,eAAe,mBAgC1B"}
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ButtonSizeTest = void 0;
4
4
  var tslib_1 = require("tslib");
5
- var button_1 = require("@fluentui-react-native/button");
5
+ var react_native_1 = require("@fluentui/react-native");
6
6
  var React = (0, tslib_1.__importStar)(require("react"));
7
- var react_native_1 = require("react-native");
7
+ var react_native_2 = require("react-native");
8
8
  var styles_1 = require("../Common/styles");
9
9
  var test_svg_1 = (0, tslib_1.__importDefault)(require("./test.svg"));
10
10
  var ButtonSizeTest = function () {
@@ -12,28 +12,28 @@ var ButtonSizeTest = function () {
12
12
  src: test_svg_1.default,
13
13
  viewBox: '0 0 500 500',
14
14
  };
15
- var svgIconsEnabled = ['ios', 'macos', 'win32', 'android'].includes(react_native_1.Platform.OS);
16
- return (React.createElement(react_native_1.View, { style: [styles_1.stackStyle, styles_1.commonTestStyles.view] },
15
+ var svgIconsEnabled = ['ios', 'macos', 'win32', 'android'].includes(react_native_2.Platform.OS);
16
+ return (React.createElement(react_native_2.View, { style: [styles_1.stackStyle, styles_1.commonTestStyles.view] },
17
17
  svgIconsEnabled && (React.createElement(React.Fragment, null,
18
- React.createElement(button_1.ButtonV1, { iconOnly: true, size: "small", icon: { svgSource: svgProps }, accessibilityLabel: "Small size button with accessibility icon", style: styles_1.commonTestStyles.vmargin }),
19
- React.createElement(button_1.ButtonV1, { iconOnly: true, size: "medium", icon: { svgSource: svgProps }, accessibilityLabel: "Medium size button with accessibility icon", style: styles_1.commonTestStyles.vmargin }),
20
- React.createElement(button_1.ButtonV1, { iconOnly: true, size: "large", icon: { svgSource: svgProps }, accessibilityLabel: "Large size button with accessibility icon", style: styles_1.commonTestStyles.vmargin }),
21
- React.createElement(button_1.ButtonV1, { size: "small", icon: { svgSource: svgProps }, style: styles_1.commonTestStyles.vmargin }, "Small Button with icon"),
22
- React.createElement(button_1.ButtonV1, { size: "medium", icon: { svgSource: svgProps }, style: styles_1.commonTestStyles.vmargin }, "Medium Button with icon"),
23
- React.createElement(button_1.ButtonV1, { size: "large", icon: { svgSource: svgProps }, style: styles_1.commonTestStyles.vmargin }, "Large Button with icon"))),
24
- React.createElement(button_1.ButtonV1, { size: "small", style: styles_1.commonTestStyles.vmargin }, "Small"),
25
- React.createElement(button_1.ButtonV1, { size: "medium", style: styles_1.commonTestStyles.vmargin }, "Medium"),
26
- React.createElement(button_1.ButtonV1, { size: "large", style: styles_1.commonTestStyles.vmargin }, "Large"),
27
- React.createElement(button_1.ButtonV1, { loading: true, size: "small", style: styles_1.commonTestStyles.vmargin }, "Loading Button Small"),
28
- React.createElement(button_1.ButtonV1, { loading: true, size: "medium", style: styles_1.commonTestStyles.vmargin }, "Loading Button Medium"),
29
- React.createElement(button_1.ButtonV1, { loading: true, size: "large", style: styles_1.commonTestStyles.vmargin }, "Loading Button Large"),
30
- React.createElement(button_1.CompoundButton, { secondaryContent: "Small compound button", size: "small", style: styles_1.commonTestStyles.vmargin }, "Compound Button"),
31
- React.createElement(button_1.CompoundButton, { secondaryContent: "Medium compound button", size: "medium", style: styles_1.commonTestStyles.vmargin }, "Compound Button"),
32
- React.createElement(button_1.CompoundButton, { secondaryContent: "Large compound button", size: "large", style: styles_1.commonTestStyles.vmargin }, "Compound Button"),
18
+ React.createElement(react_native_1.ButtonV1, { iconOnly: true, size: "small", icon: { svgSource: svgProps }, accessibilityLabel: "Small size button with accessibility icon", style: styles_1.commonTestStyles.vmargin }),
19
+ React.createElement(react_native_1.ButtonV1, { iconOnly: true, size: "medium", icon: { svgSource: svgProps }, accessibilityLabel: "Medium size button with accessibility icon", style: styles_1.commonTestStyles.vmargin }),
20
+ React.createElement(react_native_1.ButtonV1, { iconOnly: true, size: "large", icon: { svgSource: svgProps }, accessibilityLabel: "Large size button with accessibility icon", style: styles_1.commonTestStyles.vmargin }),
21
+ React.createElement(react_native_1.ButtonV1, { size: "small", icon: { svgSource: svgProps }, style: styles_1.commonTestStyles.vmargin }, "Small Button with icon"),
22
+ React.createElement(react_native_1.ButtonV1, { size: "medium", icon: { svgSource: svgProps }, style: styles_1.commonTestStyles.vmargin }, "Medium Button with icon"),
23
+ React.createElement(react_native_1.ButtonV1, { size: "large", icon: { svgSource: svgProps }, style: styles_1.commonTestStyles.vmargin }, "Large Button with icon"))),
24
+ React.createElement(react_native_1.ButtonV1, { size: "small", style: styles_1.commonTestStyles.vmargin }, "Small"),
25
+ React.createElement(react_native_1.ButtonV1, { size: "medium", style: styles_1.commonTestStyles.vmargin }, "Medium"),
26
+ React.createElement(react_native_1.ButtonV1, { size: "large", style: styles_1.commonTestStyles.vmargin }, "Large"),
27
+ React.createElement(react_native_1.ButtonV1, { loading: true, size: "small", style: styles_1.commonTestStyles.vmargin }, "Loading Button Small"),
28
+ React.createElement(react_native_1.ButtonV1, { loading: true, size: "medium", style: styles_1.commonTestStyles.vmargin }, "Loading Button Medium"),
29
+ React.createElement(react_native_1.ButtonV1, { loading: true, size: "large", style: styles_1.commonTestStyles.vmargin }, "Loading Button Large"),
30
+ React.createElement(react_native_1.CompoundButton, { secondaryContent: "Small compound button", size: "small", style: styles_1.commonTestStyles.vmargin }, "Compound Button"),
31
+ React.createElement(react_native_1.CompoundButton, { secondaryContent: "Medium compound button", size: "medium", style: styles_1.commonTestStyles.vmargin }, "Compound Button"),
32
+ React.createElement(react_native_1.CompoundButton, { secondaryContent: "Large compound button", size: "large", style: styles_1.commonTestStyles.vmargin }, "Compound Button"),
33
33
  svgIconsEnabled && (React.createElement(React.Fragment, null,
34
- React.createElement(button_1.CompoundButton, { icon: { svgSource: svgProps }, secondaryContent: "SecondaryContent", size: "small", style: styles_1.commonTestStyles.vmargin }, "Content"),
35
- React.createElement(button_1.CompoundButton, { icon: { svgSource: svgProps }, secondaryContent: "SecondaryContent", size: "medium", style: styles_1.commonTestStyles.vmargin }, "Content"),
36
- React.createElement(button_1.CompoundButton, { icon: { svgSource: svgProps }, secondaryContent: "SecondaryContent", size: "large", style: styles_1.commonTestStyles.vmargin }, "Content")))));
34
+ React.createElement(react_native_1.CompoundButton, { icon: { svgSource: svgProps }, secondaryContent: "SecondaryContent", size: "small", style: styles_1.commonTestStyles.vmargin }, "Content"),
35
+ React.createElement(react_native_1.CompoundButton, { icon: { svgSource: svgProps }, secondaryContent: "SecondaryContent", size: "medium", style: styles_1.commonTestStyles.vmargin }, "Content"),
36
+ React.createElement(react_native_1.CompoundButton, { icon: { svgSource: svgProps }, secondaryContent: "SecondaryContent", size: "large", style: styles_1.commonTestStyles.vmargin }, "Content")))));
37
37
  };
38
38
  exports.ButtonSizeTest = ButtonSizeTest;
39
39
  //# sourceMappingURL=ButtonSizeTestSection.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonSizeTestSection.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/ButtonSizeTestSection.tsx"],"names":[],"mappings":";;;;AAAA,wDAAmF;AAEnF,wDAA+B;AAC/B,6CAA8C;AAC9C,2CAAgE;AAChE,qEAAiC;AAE1B,IAAM,cAAc,GAA4B;IACrD,IAAM,QAAQ,GAAiB;QAC7B,GAAG,EAAE,kBAAO;QACZ,OAAO,EAAE,aAAa;KACvB,CAAC;IACF,IAAM,eAAe,GAAG,CAAC,KAAK,EAAE,OAAO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AO,cAE/G;YACjB,oBAAC,uBAAc,IAAC,IAAI,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,gBAAgB,EAAC,kBAAkB,EAAC,IAAI,EAAC,OAAO,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,cAE9G,CAChB,CACJ,CACI,CACR,CAAC;AACJ,CAAC,CAAC;AApFW,QAAA,cAAc,kBAoFzB"}
1
+ {"version":3,"file":"ButtonSizeTestSection.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/ButtonSizeTestSection.tsx"],"names":[],"mappings":";;;;AAAA,uDAA4E;AAE5E,wDAA+B;AAC/B,6CAA8C;AAC9C,2CAAgE;AAChE,qEAAiC;AAE1B,IAAM,cAAc,GAA4B;IACrD,IAAM,QAAQ,GAAiB;QAC7B,GAAG,EAAE,kBAAO;QACZ,OAAO,EAAE,aAAa;KACvB,CAAC;IACF,IAAM,eAAe,GAAG,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC,QAAQ,CAAC,uBAAQ,CAAC,EAAY,CAAC,CAAC;IAC7F,OAAO,CACL,oBAAC,mBAAI,IAAC,KAAK,EAAE,CAAC,mBAAU,EAAE,yBAAgB,CAAC,IAAI,CAAC;QAC7C,eAAe,IAAI,CAClB;YACE,oBAAC,uBAAM,IACL,QAAQ,QACR,IAAI,EAAC,OAAO,EACZ,IAAI,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,EAC7B,kBAAkB,EAAC,2CAA2C,EAC9D,KAAK,EAAE,yBAAgB,CAAC,OAAO,GAC/B;YACF,oBAAC,uBAAM,IACL,QAAQ,QACR,IAAI,EAAC,QAAQ,EACb,IAAI,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,EAC7B,kBAAkB,EAAC,4CAA4C,EAC/D,KAAK,EAAE,yBAAgB,CAAC,OAAO,GAC/B;YACF,oBAAC,uBAAM,IACL,QAAQ,QACR,IAAI,EAAC,OAAO,EACZ,IA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AO,sBAEpF;QACjB,oBAAC,6BAAc,IAAC,gBAAgB,EAAC,wBAAwB,EAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,sBAEtF;QACjB,oBAAC,6BAAc,IAAC,gBAAgB,EAAC,uBAAuB,EAAC,IAAI,EAAC,OAAO,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,sBAEpF;QAChB,eAAe,IAAI,CAClB;YACE,oBAAC,6BAAc,IAAC,IAAI,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,gBAAgB,EAAC,kBAAkB,EAAC,IAAI,EAAC,OAAO,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,cAE9G;YACjB,oBAAC,6BAAc,IAAC,IAAI,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,gBAAgB,EAAC,kBAAkB,EAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,cAE/G;YACjB,oBAAC,6BAAc,IAAC,IAAI,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,gBAAgB,EAAC,kBAAkB,EAAC,IAAI,EAAC,OAAO,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,cAE9G,CAChB,CACJ,CACI,CACR,CAAC;AACJ,CAAC,CAAC;AApFW,QAAA,cAAc,kBAoFzB"}
@@ -4,10 +4,10 @@ exports.E2EButtonExperimentalTest = void 0;
4
4
  var tslib_1 = require("tslib");
5
5
  /* eslint-disable @typescript-eslint/no-var-requires */
6
6
  var react_native_1 = require("@fluentui/react-native");
7
- var button_1 = require("@fluentui-react-native/button");
7
+ var react_native_2 = require("@fluentui/react-native");
8
8
  var stack_1 = require("@fluentui-react-native/stack");
9
9
  var React = (0, tslib_1.__importStar)(require("react"));
10
- var react_native_2 = require("react-native");
10
+ var react_native_3 = require("react-native");
11
11
  var styles_1 = require("../Common/styles");
12
12
  var consts_1 = require("./consts");
13
13
  var E2EButtonExperimentalTest = function () {
@@ -15,10 +15,10 @@ var E2EButtonExperimentalTest = function () {
15
15
  var onClick = React.useCallback(function () {
16
16
  setButtonPressed(!buttonPressed);
17
17
  }, [buttonPressed]);
18
- return (React.createElement(react_native_2.View, null,
18
+ return (React.createElement(react_native_3.View, null,
19
19
  React.createElement(stack_1.Stack, { style: styles_1.stackStyle },
20
- React.createElement(button_1.ButtonV1, { testID: consts_1.BUTTON_TEST_COMPONENT, onClick: onClick, accessibilityLabel: consts_1.BUTTON_ACCESSIBILITY_LABEL }, "This is a button for E2E testing"),
21
- React.createElement(button_1.ButtonV1, { testID: consts_1.BUTTON_NO_A11Y_LABEL_COMPONENT, onClick: onClick }, consts_1.BUTTON_TEST_COMPONENT_LABEL),
20
+ React.createElement(react_native_2.ButtonV1, { testID: consts_1.BUTTON_TEST_COMPONENT, onClick: onClick, accessibilityLabel: consts_1.BUTTON_ACCESSIBILITY_LABEL }, "This is a button for E2E testing"),
21
+ React.createElement(react_native_2.ButtonV1, { testID: consts_1.BUTTON_NO_A11Y_LABEL_COMPONENT, onClick: onClick }, consts_1.BUTTON_TEST_COMPONENT_LABEL),
22
22
  buttonPressed ? React.createElement(react_native_1.Text, { testID: consts_1.BUTTON_ON_PRESS }, "Button Pressed") : null)));
23
23
  };
24
24
  exports.E2EButtonExperimentalTest = E2EButtonExperimentalTest;
@@ -1 +1 @@
1
- {"version":3,"file":"E2EButtonTest.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/E2EButtonTest.tsx"],"names":[],"mappings":";;;;AAAA,uDAAuD;AACvD,uDAA8C;AAC9C,wDAAmE;AACnE,sDAAqD;AACrD,wDAA+B;AAC/B,6CAAoC;AACpC,2CAA8C;AAC9C,mCAMkB;AAEX,IAAM,yBAAyB,GAA4B;IAC1D,IAAA,KAAoC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAxD,aAAa,QAAA,EAAE,gBAAgB,QAAyB,CAAC;IAEhE,IAAM,OAAO,GAAG,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mCAA0B,uCAE9F;YACT,oBAAC,uBAAM,IAAC,MAAM,EAAE,uCAA8B,EAAE,OAAO,EAAE,OAAO,IAC7D,oCAA2B,CACrB;YACR,aAAa,CAAC,CAAC,CAAC,oBAAC,mBAAI,IAAC,MAAM,EAAE,wBAAe,qBAAuB,CAAC,CAAC,CAAC,IAAI,CACtE,CACH,CACR,CAAC;AACJ,CAAC,CAAC;AApBW,QAAA,yBAAyB,6BAoBpC"}
@@ -2,12 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ToggleButtonTest = void 0;
4
4
  var tslib_1 = require("tslib");
5
- var button_1 = require("@fluentui-react-native/button");
6
5
  var react_native_1 = require("@fluentui/react-native");
6
+ var react_native_2 = require("@fluentui/react-native");
7
7
  var React = (0, tslib_1.__importStar)(require("react"));
8
- var react_native_2 = require("react-native");
8
+ var react_native_3 = require("react-native");
9
9
  var styles_1 = require("../Common/styles");
10
- var styles = react_native_2.StyleSheet.create({
10
+ var styles = react_native_3.StyleSheet.create({
11
11
  row: {
12
12
  flexDirection: 'row',
13
13
  },
@@ -20,20 +20,20 @@ var ToggleButtonTest = function () {
20
20
  var onDefaultClicked = React.useCallback(function () { return setDefaultChecked(!defaultChecked); }, [defaultChecked, setDefaultChecked]);
21
21
  var _b = React.useState(false), subtleChecked = _b[0], setSubtleChecked = _b[1];
22
22
  var onGhostClicked = React.useCallback(function () { return setSubtleChecked(!subtleChecked); }, [subtleChecked, setSubtleChecked]);
23
- return (React.createElement(react_native_2.View, { style: [styles_1.stackStyle, styles_1.commonTestStyles.view] },
24
- React.createElement(react_native_2.View, { style: styles.row },
25
- React.createElement(button_1.ToggleButton, { onClick: onDefaultClicked, checked: defaultChecked, style: styles_1.commonTestStyles.vmargin }, "Default Toggle"),
26
- React.createElement(react_native_1.Checkbox, { checked: defaultChecked, label: "Default Toggle is Checked", style: [styles_1.commonTestStyles.vmargin, styles.hmargin] })),
27
- React.createElement(button_1.ToggleButton, { checked: true, style: styles_1.commonTestStyles.vmargin }, "Checked Default Toggle"),
28
- React.createElement(button_1.ToggleButton, { checked: false, style: styles_1.commonTestStyles.vmargin }, "Unchecked Default Toggle"),
29
- React.createElement(button_1.ToggleButton, { appearance: "primary", style: styles_1.commonTestStyles.vmargin }, "Checked Primary Toggle"),
30
- React.createElement(button_1.ToggleButton, { disabled: true, defaultChecked: true, appearance: "primary", style: styles_1.commonTestStyles.vmargin }, "Checked Primary Toggle Disabled"),
31
- React.createElement(button_1.ToggleButton, { defaultChecked: true, appearance: "primary", style: styles_1.commonTestStyles.vmargin }, "Unchecked Primary Toggle"),
32
- React.createElement(react_native_2.View, { style: styles.row },
33
- React.createElement(button_1.ToggleButton, { appearance: "subtle", onClick: onGhostClicked, checked: subtleChecked, style: styles_1.commonTestStyles.vmargin }, "Subtle Toggle"),
34
- React.createElement(react_native_1.Checkbox, { checked: subtleChecked, label: "Subtle Toggle is Checked", style: [styles_1.commonTestStyles.vmargin, styles.hmargin] })),
35
- React.createElement(button_1.ToggleButton, { appearance: "subtle", checked: true, style: styles_1.commonTestStyles.vmargin }, "Checked Subtle Toggle"),
36
- React.createElement(button_1.ToggleButton, { appearance: "subtle", checked: false, style: styles_1.commonTestStyles.vmargin }, "Unchecked Subtle Toggle")));
23
+ return (React.createElement(react_native_3.View, { style: [styles_1.stackStyle, styles_1.commonTestStyles.view] },
24
+ React.createElement(react_native_3.View, { style: styles.row },
25
+ React.createElement(react_native_1.ToggleButton, { onClick: onDefaultClicked, checked: defaultChecked, style: styles_1.commonTestStyles.vmargin }, "Default Toggle"),
26
+ React.createElement(react_native_2.Checkbox, { checked: defaultChecked, label: "Default Toggle is Checked", style: [styles_1.commonTestStyles.vmargin, styles.hmargin] })),
27
+ React.createElement(react_native_1.ToggleButton, { checked: true, style: styles_1.commonTestStyles.vmargin }, "Checked Default Toggle"),
28
+ React.createElement(react_native_1.ToggleButton, { checked: false, style: styles_1.commonTestStyles.vmargin }, "Unchecked Default Toggle"),
29
+ React.createElement(react_native_1.ToggleButton, { appearance: "primary", style: styles_1.commonTestStyles.vmargin }, "Checked Primary Toggle"),
30
+ React.createElement(react_native_1.ToggleButton, { disabled: true, defaultChecked: true, appearance: "primary", style: styles_1.commonTestStyles.vmargin }, "Checked Primary Toggle Disabled"),
31
+ React.createElement(react_native_1.ToggleButton, { defaultChecked: true, appearance: "primary", style: styles_1.commonTestStyles.vmargin }, "Unchecked Primary Toggle"),
32
+ React.createElement(react_native_3.View, { style: styles.row },
33
+ React.createElement(react_native_1.ToggleButton, { appearance: "subtle", onClick: onGhostClicked, checked: subtleChecked, style: styles_1.commonTestStyles.vmargin }, "Subtle Toggle"),
34
+ React.createElement(react_native_2.Checkbox, { checked: subtleChecked, label: "Subtle Toggle is Checked", style: [styles_1.commonTestStyles.vmargin, styles.hmargin] })),
35
+ React.createElement(react_native_1.ToggleButton, { appearance: "subtle", checked: true, style: styles_1.commonTestStyles.vmargin }, "Checked Subtle Toggle"),
36
+ React.createElement(react_native_1.ToggleButton, { appearance: "subtle", checked: false, style: styles_1.commonTestStyles.vmargin }, "Unchecked Subtle Toggle")));
37
37
  };
38
38
  exports.ToggleButtonTest = ToggleButtonTest;
39
39
  //# sourceMappingURL=ToggleButtonTestSection.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ToggleButtonTestSection.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/ToggleButtonTestSection.tsx"],"names":[],"mappings":";;;;AAAA,wDAA6D;AAC7D,uDAAkD;AAClD,wDAA+B;AAC/B,6CAAgD;AAChD,2CAAgE;AAEhE,IAAM,MAAM,GAAG,yBAAU,CAAC,MAAM,CAAC;IAC/B,GAAG,EAAE;QACH,aAAa,EAAE,KAAK;KACrB;IACD,OAAO,EAAE;QACP,gBAAgB,EAAE,CAAC;KACpB;CACF,CAAC,CAAC;AAEI,IAAM,gBAAgB,GAA4B;IACjD,IAAA,KAAsC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,EAA1D,cAAc,QAAA,E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AC,OAAO,sCAE3E;QACf,oBAAC,qBAAY,IAAC,cAAc,QAAC,UAAU,EAAC,SAAS,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,+BAElE;QACf,oBAAC,mBAAI,IAAC,KAAK,EAAE,MAAM,CAAC,GAAG;YACrB,oBAAC,qBAAY,IAAC,UAAU,EAAC,QAAQ,EAAC,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,yBAAgB,CAAC,OAAO,oBAEnG;YACf,oBAAC,uBAAQ,IAAC,OAAO,EAAE,aAAa,EAAE,KAAK,EAAC,0BAA0B,EAAC,KAAK,EAAE,CAAC,yBAAgB,CAAC,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,GAAI,CACnH;QACP,oBAAC,qBAAY,IAAC,UAAU,EAAC,QAAQ,EAAC,OAAO,QAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,4BAE1D;QACf,oBAAC,qBAAY,IAAC,UAAU,EAAC,QAAQ,EAAC,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,yBAAgB,CAAC,OAAO,8BAElE,CACV,CACR,CAAC;AACJ,CAAC,CAAC;AA3CW,QAAA,gBAAgB,oBA2C3B"}
1
+ {"version":3,"file":"ToggleButtonTestSection.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/ToggleButtonTestSection.tsx"],"names":[],"mappings":";;;;AAAA,uDAAsD;AACtD,uDAAkD;AAClD,wDAA+B;AAC/B,6CAAgD;AAChD,2CAAgE;AAEhE,IAAM,MAAM,GAAG,yBAAU,CAAC,MAAM,CAAC;IAC/B,GAAG,EAAE;QACH,aAAa,EAAE,KAAK;KACrB;IACD,OAAO,EAAE;QACP,gBAAgB,EAAE,CAAC;KACpB;CACF,CAAC,CAAC;AAEI,IAAM,gBAAgB,GAA4B;IACjD,IAAA,KAAsC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,EAA1D,cAAc,QAAA,EAAE,iBAAiB,QAAyB,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f,oBAAC,2BAAY,IAAC,cAAc,QAAC,UAAU,EAAC,SAAS,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,+BAElE;QACf,oBAAC,mBAAI,IAAC,KAAK,EAAE,MAAM,CAAC,GAAG;YACrB,oBAAC,2BAAY,IAAC,UAAU,EAAC,QAAQ,EAAC,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,yBAAgB,CAAC,OAAO,oBAEnG;YACf,oBAAC,uBAAQ,IAAC,OAAO,EAAE,aAAa,EAAE,KAAK,EAAC,0BAA0B,EAAC,KAAK,EAAE,CAAC,yBAAgB,CAAC,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,GAAI,CACnH;QACP,oBAAC,2BAAY,IAAC,UAAU,EAAC,QAAQ,EAAC,OAAO,QAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,4BAE1D;QACf,oBAAC,2BAAY,IAAC,UAAU,EAAC,QAAQ,EAAC,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,yBAAgB,CAAC,OAAO,8BAElE,CACV,CACR,CAAC;AACJ,CAAC,CAAC;AA3CW,QAAA,gBAAgB,oBA2C3B"}
@@ -1 +1 @@
1
- {"version":3,"file":"DrawerTest.d.ts","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Drawer/DrawerTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAyB/B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAY9B,CAAC"}
1
+ {"version":3,"file":"DrawerTest.d.ts","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Drawer/DrawerTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA8C/B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAY9B,CAAC"}
@@ -3,22 +3,37 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DrawerTest = void 0;
4
4
  var tslib_1 = require("tslib");
5
5
  var React = (0, tslib_1.__importStar)(require("react"));
6
- var react_native_1 = require("react-native");
7
6
  var styles_1 = require("../Common/styles");
7
+ var react_native_1 = require("react-native");
8
+ var react_native_2 = require("@fluentui/react-native");
9
+ var experimental_button_1 = require("@fluentui-react-native/experimental-button");
10
+ var experimental_drawer_1 = require("@fluentui-react-native/experimental-drawer");
8
11
  var stack_1 = require("@fluentui-react-native/stack");
12
+ var icon_1 = require("@fluentui-react-native/icon");
9
13
  var consts_1 = require("./consts");
10
14
  var Test_1 = require("../Test");
11
- var react_native_2 = require("react-native");
12
- var basicDrawer = function () {
13
- console.log(react_native_2.NativeModules.DrawerModule);
15
+ var test_svg_1 = (0, tslib_1.__importDefault)(require("../Icon/assets/test.svg"));
16
+ var BasicDrawer = function () {
17
+ var stdBtnRef = React.useRef(null);
18
+ var svgProps = {
19
+ src: test_svg_1.default,
20
+ viewBox: '0 0 500 500',
21
+ };
14
22
  return (React.createElement(stack_1.Stack, { style: styles_1.stackStyle, gap: 5 },
15
- React.createElement(react_native_1.Text, null, "test to come")));
23
+ React.createElement(experimental_drawer_1.Drawer, null,
24
+ React.createElement(react_native_1.View, null,
25
+ React.createElement(react_native_1.Text, null, "Press for Drawer")),
26
+ React.createElement(react_native_1.View, { style: { padding: 20 } },
27
+ React.createElement(react_native_1.Text, null, "This is content inside Drawer"),
28
+ React.createElement(react_native_2.Link, { url: "https://www.bing.com/", content: "Click to navigate." }),
29
+ React.createElement(icon_1.Icon, { svgSource: svgProps, width: 100, height: 100, color: "blue" }),
30
+ React.createElement(experimental_button_1.Button, { componentRef: stdBtnRef }, "Press for Drawer")))));
16
31
  };
17
32
  var drawerSections = [
18
33
  {
19
34
  name: 'Basic Drawer',
20
35
  testID: consts_1.DRAWER_TESTPAGE,
21
- component: basicDrawer,
36
+ component: BasicDrawer,
22
37
  },
23
38
  ];
24
39
  var DrawerTest = function () {
@@ -1 +1 @@
1
- {"version":3,"file":"DrawerTest.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Drawer/DrawerTest.tsx"],"names":[],"mappings":";;;;AAAA,wDAA+B;AAC/B,6CAAoC;AACpC,2CAA8C;AAC9C,sDAAqD;AACrD,mCAA2C;AAC3C,gCAA4D;AAC5D,6CAA6C;AAE7C,IAAM,WAAW,GAA4B;IAC3C,OAAO,CAAC,GAAG,CAAC,4BAAa,CAAC,YAAY,CAAC,CAAC;IACxC,OAAO,CACL,oBAAC,aAAK,IAAC,KAAK,EAAE,mBAAU,EAAE,GAAG,EAAE,CAAC;QAC9B,oBAAC,mBAAI,uBAAoB,CACnB,CACT,CAAC;AACJ,CAAC,CAAC;AAEF,IAAM,cAAc,GAAkB;IACpC;QACE,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE,wBAAe;QACvB,SAAS,EAAE,WAAW;KACvB;CACF,CAAC;AAEK,IAAM,UAAU,GAA4B;IACjD,IAAM,MAAM,GAAmB;QAC7B,WAAW,EAAE,KAAK;QAClB,SAAS,EAAE,KAAK;QAChB,SAAS,EAAE,SAAS;QACpB,WAAW,EAAE,KAAK;QAClB,aAAa,EAAE,cAAc;KAC9B,CAAC;IAEF,IAAM,WAAW,GAAG,4FAA4F,CAAC;IAEjH,OAAO,oBAAC,WAAI,IAAC,IAAI,EAAC,aAAa,EAAC,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,GAAI,CAAC;AACzG,CAAC,CAAC;AAZW,QAAA,UAAU,cAYrB"}
1
+ {"version":3,"file":"DrawerTest.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Drawer/DrawerTest.tsx"],"names":[],"mappings":";;;;AAAA,wDAA+B;AAC/B,2CAA8C;AAC9C,6CAA0C;AAC1C,uDAA8C;AAC9C,kFAAoE;AACpE,kFAAoE;AACpE,sDAAqD;AACrD,oDAAiE;AACjE,mCAA2C;AAC3C,gCAA4D;AAE5D,kFAA8C;AAE9C,IAAM,WAAW,GAA4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,cAYrB"}
@@ -4,5 +4,5 @@ export declare const MENU_BUTTON_TEST_COMPONENT = "Menu_Button_Test_Component";
4
4
  export declare const MENU_BUTTON_ACCESSIBILITY_LABEL = "E2E testing Menu_Button accessibility label";
5
5
  export declare const MENU_ITEM_1_COMPONENT = "Menu_Item_1_Component";
6
6
  export declare const MENU_BUTTON_NO_A11Y_LABEL_COMPONENT = "Menu_Button_No_A11y_label_Component";
7
- export declare const MENU_BUTTON_TEST_COMPONENT_LABEL = "Test Menu_Button2 - No Accessibility Label";
7
+ export declare const MENU_BUTTON_TEST_COMPONENT_LABEL: any;
8
8
  //# sourceMappingURL=consts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/MenuButton/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,+BAA+B,CAAC;AACjE,eAAO,MAAM,oBAAoB,wBAAwB,CAAC;AAG1D,eAAO,MAAM,0BAA0B,+BAA+B,CAAC;AACvE,eAAO,MAAM,+BAA+B,gDAAgD,CAAC;AAC7F,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAG7D,eAAO,MAAM,mCAAmC,wCAAwC,CAAC;AACzF,eAAO,MAAM,gCAAgC,+CAA+C,CAAC"}
1
+ {"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/MenuButton/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,+BAA+B,CAAC;AACjE,eAAO,MAAM,oBAAoB,wBAAwB,CAAC;AAG1D,eAAO,MAAM,0BAA0B,+BAA+B,CAAC;AACvE,eAAO,MAAM,+BAA+B,gDAAgD,CAAC;AAC7F,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAG7D,eAAO,MAAM,mCAAmC,wCAAwC,CAAC;AAEzF,eAAO,MAAM,gCAAgC,KAAO,CAAC"}
@@ -9,5 +9,6 @@ exports.MENU_BUTTON_ACCESSIBILITY_LABEL = 'E2E testing Menu_Button accessibility
9
9
  exports.MENU_ITEM_1_COMPONENT = 'Menu_Item_1_Component'; // The first menu item component
10
10
  /* E2E Testing Menu_Button 2 */
11
11
  exports.MENU_BUTTON_NO_A11Y_LABEL_COMPONENT = 'Menu_Button_No_A11y_label_Component';
12
- exports.MENU_BUTTON_TEST_COMPONENT_LABEL = 'Test Menu_Button2 - No Accessibility Label'; // A component on each specific test page
12
+ // export const MENU_BUTTON_TEST_COMPONENT_LABEL = 'Test Menu_Button2 - No Accessibility Label'; // A component on each specific test page
13
+ exports.MENU_BUTTON_TEST_COMPONENT_LABEL = null;
13
14
  //# sourceMappingURL=consts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/MenuButton/consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,oBAAoB,GAAG,4BAA4B,CAAC;AACpD,QAAA,oBAAoB,GAAG,qBAAqB,CAAC;AAE1D,+BAA+B;AAClB,QAAA,0BAA0B,GAAG,4BAA4B,CAAC,CAAC,yCAAyC;AACpG,QAAA,+BAA+B,GAAG,6CAA6C,CAAC;AAChF,QAAA,qBAAqB,GAAG,uBAAuB,CAAC,CAAC,gCAAgC;AAE9F,+BAA+B;AAClB,QAAA,mCAAmC,GAAG,qCAAqC,CAAC;AAC5E,QAAA,gCAAgC,GAAG,4CAA4C,CAAC,CAAC,yCAAyC"}
1
+ {"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/MenuButton/consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,oBAAoB,GAAG,4BAA4B,CAAC;AACpD,QAAA,oBAAoB,GAAG,qBAAqB,CAAC;AAE1D,+BAA+B;AAClB,QAAA,0BAA0B,GAAG,4BAA4B,CAAC,CAAC,yCAAyC;AACpG,QAAA,+BAA+B,GAAG,6CAA6C,CAAC;AAChF,QAAA,qBAAqB,GAAG,uBAAuB,CAAC,CAAC,gCAAgC;AAE9F,+BAA+B;AAClB,QAAA,mCAAmC,GAAG,qCAAqC,CAAC;AACzF,0IAA0I;AAC7H,QAAA,gCAAgC,GAAG,IAAI,CAAC"}
@@ -1,2 +1,2 @@
1
- export * from './FluentTester';
1
+ export { FluentTesterApp } from './FluentTester';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- var tslib_1 = require("tslib");
4
- (0, tslib_1.__exportStar)(require("./FluentTester"), exports);
3
+ exports.FluentTesterApp = void 0;
4
+ var FluentTester_1 = require("./FluentTester");
5
+ Object.defineProperty(exports, "FluentTesterApp", { enumerable: true, get: function () { return FluentTester_1.FluentTesterApp; } });
5
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,8DAA+B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,+CAAiD;AAAxC,+GAAA,eAAe,OAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-react-native/tester",
3
- "version": "0.58.13",
3
+ "version": "0.58.16",
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>",
@@ -25,31 +25,32 @@
25
25
  "directory": "apps/fluent-tester"
26
26
  },
27
27
  "dependencies": {
28
- "@fluentui-react-native/android-theme": ">=0.5.5 <1.0.0",
29
- "@fluentui-react-native/apple-theme": ">=0.9.13 <1.0.0",
30
- "@fluentui-react-native/badge": ">=0.0.19 <1.0.0",
31
- "@fluentui-react-native/button": ">=0.22.9 <1.0.0",
32
- "@fluentui-react-native/default-theme": ">=0.9.12 <1.0.0",
33
- "@fluentui-react-native/experimental-activity-indicator": ">=0.5.17 <1.0.0",
34
- "@fluentui-react-native/experimental-avatar": ">=0.14.9 <1.0.0",
35
- "@fluentui-react-native/experimental-button": "0.15.9",
36
- "@fluentui-react-native/experimental-checkbox": "0.10.6",
28
+ "@fluentui-react-native/android-theme": ">=0.5.6 <1.0.0",
29
+ "@fluentui-react-native/apple-theme": ">=0.9.14 <1.0.0",
30
+ "@fluentui-react-native/badge": ">=0.0.21 <1.0.0",
31
+ "@fluentui-react-native/button": ">=0.22.11 <1.0.0",
32
+ "@fluentui-react-native/default-theme": ">=0.9.13 <1.0.0",
33
+ "@fluentui-react-native/experimental-activity-indicator": ">=0.5.18 <1.0.0",
34
+ "@fluentui-react-native/experimental-avatar": ">=0.14.10 <1.0.0",
35
+ "@fluentui-react-native/experimental-button": "0.15.11",
36
+ "@fluentui-react-native/experimental-checkbox": "0.10.8",
37
+ "@fluentui-react-native/experimental-drawer": ">=0.1.1 <1.0.0",
37
38
  "@fluentui-react-native/experimental-native-date-picker": ">=0.4.1 <1.0.0",
38
- "@fluentui-react-native/experimental-expander": "0.3.19",
39
- "@fluentui-react-native/experimental-menu-button": ">=0.3.21 <1.0.0",
40
- "@fluentui-react-native/experimental-shimmer": "0.6.21",
41
- "@fluentui-react-native/experimental-tabs": "0.4.30",
42
- "@fluentui-react-native/experimental-text": ">=0.7.18 <1.0.0",
43
- "@fluentui-react-native/framework": ">=0.7.18 <1.0.0",
44
- "@fluentui-react-native/icon": "0.11.13",
45
- "@fluentui-react-native/interactive-hooks": ">=0.14.4 <1.0.0",
46
- "@fluentui-react-native/stack": ">=0.6.18 <1.0.0",
47
- "@fluentui-react-native/theme": ">=0.6.5 <1.0.0",
48
- "@fluentui-react-native/theme-types": ">=0.14.0 <1.0.0",
49
- "@fluentui-react-native/themed-stylesheet": "^1.3.2",
50
- "@fluentui-react-native/theming-utils": ">=0.9.1 <1.0.0",
51
- "@fluentui-react-native/win32-theme": ">=0.14.14 <1.0.0",
52
- "@fluentui/react-native": ">=0.27.43 <1.0.0",
39
+ "@fluentui-react-native/experimental-expander": "0.3.20",
40
+ "@fluentui-react-native/experimental-menu-button": ">=0.3.23 <1.0.0",
41
+ "@fluentui-react-native/experimental-shimmer": "0.6.22",
42
+ "@fluentui-react-native/experimental-tabs": "0.4.32",
43
+ "@fluentui-react-native/experimental-text": ">=0.7.19 <1.0.0",
44
+ "@fluentui-react-native/framework": ">=0.7.19 <1.0.0",
45
+ "@fluentui-react-native/icon": "0.11.14",
46
+ "@fluentui-react-native/interactive-hooks": ">=0.14.6 <1.0.0",
47
+ "@fluentui-react-native/stack": ">=0.6.19 <1.0.0",
48
+ "@fluentui-react-native/theme": ">=0.6.6 <1.0.0",
49
+ "@fluentui-react-native/theme-types": ">=0.14.1 <1.0.0",
50
+ "@fluentui-react-native/themed-stylesheet": "^1.3.3",
51
+ "@fluentui-react-native/theming-utils": ">=0.9.2 <1.0.0",
52
+ "@fluentui-react-native/win32-theme": ">=0.14.15 <1.0.0",
53
+ "@fluentui/react-native": ">=0.28.1 <1.0.0",
53
54
  "@react-native-community/slider": "^4.2.0",
54
55
  "@react-native-menu/menu": "^0.1.2",
55
56
  "@react-native-picker/picker": "^2.2.1",
@@ -1,4 +1,4 @@
1
- import { ButtonV1 as Button } from '@fluentui-react-native/button';
1
+ import { ButtonV1 as Button } from '@fluentui/react-native';
2
2
  import { Text } from '@fluentui-react-native/experimental-text';
3
3
  import { Icon, SvgIconProps } from '@fluentui-react-native/icon';
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- import { ButtonV1 as Button } from '@fluentui-react-native/button';
1
+ import { ButtonV1 as Button } from '@fluentui/react-native';
2
2
  import * as React from 'react';
3
3
  import { Platform, View, StyleSheet } from 'react-native';
4
4
  import { commonTestStyles, stackStyle } from '../Common/styles';
@@ -1,4 +1,4 @@
1
- import { ButtonV1 as Button, CompoundButton } from '@fluentui-react-native/button';
1
+ import { ButtonV1 as Button, CompoundButton } from '@fluentui/react-native';
2
2
  import * as React from 'react';
3
3
  import { View } from 'react-native';
4
4
  import { commonTestStyles, stackStyle } from '../Common/styles';
@@ -1,4 +1,4 @@
1
- import { ButtonV1 as Button, CompoundButton } from '@fluentui-react-native/button';
1
+ import { ButtonV1 as Button, CompoundButton } from '@fluentui/react-native';
2
2
  import { SvgIconProps } from '@fluentui-react-native/icon';
3
3
  import * as React from 'react';
4
4
  import { Platform, View } from 'react-native';
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable @typescript-eslint/no-var-requires */
2
2
  import { Text } from '@fluentui/react-native';
3
- import { ButtonV1 as Button } from '@fluentui-react-native/button';
3
+ import { ButtonV1 as Button } from '@fluentui/react-native';
4
4
  import { Stack } from '@fluentui-react-native/stack';
5
5
  import * as React from 'react';
6
6
  import { View } from 'react-native';
@@ -1,4 +1,4 @@
1
- import { ToggleButton } from '@fluentui-react-native/button';
1
+ import { ToggleButton } from '@fluentui/react-native';
2
2
  import { Checkbox } from '@fluentui/react-native';
3
3
  import * as React from 'react';
4
4
  import { StyleSheet, View } from 'react-native';
@@ -1,16 +1,37 @@
1
1
  import * as React from 'react';
2
- import { Text } from 'react-native';
3
2
  import { stackStyle } from '../Common/styles';
3
+ import { View, Text } from 'react-native';
4
+ import { Link } from '@fluentui/react-native';
5
+ import { Button } from '@fluentui-react-native/experimental-button';
6
+ import { Drawer } from '@fluentui-react-native/experimental-drawer';
4
7
  import { Stack } from '@fluentui-react-native/stack';
8
+ import { Icon, SvgIconProps } from '@fluentui-react-native/icon';
5
9
  import { DRAWER_TESTPAGE } from './consts';
6
10
  import { Test, TestSection, PlatformStatus } from '../Test';
7
- import { NativeModules } from 'react-native';
8
11
 
9
- const basicDrawer: React.FunctionComponent = () => {
10
- console.log(NativeModules.DrawerModule);
12
+ import TestSvg from '../Icon/assets/test.svg';
13
+
14
+ const BasicDrawer: React.FunctionComponent = () => {
15
+ const stdBtnRef = React.useRef(null);
16
+
17
+ const svgProps: SvgIconProps = {
18
+ src: TestSvg,
19
+ viewBox: '0 0 500 500',
20
+ };
21
+
11
22
  return (
12
23
  <Stack style={stackStyle} gap={5}>
13
- <Text>test to come</Text>
24
+ <Drawer>
25
+ <View>
26
+ <Text>Press for Drawer</Text>
27
+ </View>
28
+ <View style={{ padding: 20 }}>
29
+ <Text>This is content inside Drawer</Text>
30
+ <Link url="https://www.bing.com/" content="Click to navigate." />
31
+ <Icon svgSource={svgProps} width={100} height={100} color="blue" />
32
+ <Button componentRef={stdBtnRef}>Press for Drawer</Button>
33
+ </View>
34
+ </Drawer>
14
35
  </Stack>
15
36
  );
16
37
  };
@@ -19,7 +40,7 @@ const drawerSections: TestSection[] = [
19
40
  {
20
41
  name: 'Basic Drawer',
21
42
  testID: DRAWER_TESTPAGE,
22
- component: basicDrawer,
43
+ component: BasicDrawer,
23
44
  },
24
45
  ];
25
46