@fluentui-react-native/tester 0.84.3 → 0.85.2
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 +64 -1
- package/CHANGELOG.md +29 -2
- package/lib/FluentTester.d.ts +0 -2
- package/lib/FluentTester.d.ts.map +1 -1
- package/lib/FluentTester.js +4 -2
- package/lib/FluentTester.js.map +1 -1
- package/lib/FluentTesterApp.d.ts.map +1 -1
- package/lib/FluentTesterApp.js +1 -2
- package/lib/FluentTesterApp.js.map +1 -1
- package/lib/TestComponents/Badge/CounterBadgeTest.d.ts.map +1 -1
- package/lib/TestComponents/Badge/CounterBadgeTest.js +3 -0
- package/lib/TestComponents/Badge/CounterBadgeTest.js.map +1 -1
- package/lib/TestComponents/index.d.ts +1 -0
- package/lib/TestComponents/index.d.ts.map +1 -1
- package/lib/testPages.d.ts.map +1 -1
- package/lib/testPages.js +164 -98
- package/lib/testPages.js.map +1 -1
- package/lib-commonjs/FluentTester.d.ts +0 -2
- package/lib-commonjs/FluentTester.d.ts.map +1 -1
- package/lib-commonjs/FluentTester.js +4 -2
- package/lib-commonjs/FluentTester.js.map +1 -1
- package/lib-commonjs/FluentTesterApp.d.ts.map +1 -1
- package/lib-commonjs/FluentTesterApp.js +1 -2
- package/lib-commonjs/FluentTesterApp.js.map +1 -1
- package/lib-commonjs/TestComponents/Badge/CounterBadgeTest.d.ts.map +1 -1
- package/lib-commonjs/TestComponents/Badge/CounterBadgeTest.js +3 -0
- package/lib-commonjs/TestComponents/Badge/CounterBadgeTest.js.map +1 -1
- package/lib-commonjs/TestComponents/index.d.ts +1 -0
- package/lib-commonjs/TestComponents/index.d.ts.map +1 -1
- package/lib-commonjs/testPages.d.ts.map +1 -1
- package/lib-commonjs/testPages.js +154 -88
- package/lib-commonjs/testPages.js.map +1 -1
- package/package.json +5 -5
- package/src/FluentTester.tsx +4 -4
- package/src/FluentTesterApp.tsx +1 -2
- package/src/TestComponents/Badge/CounterBadgeTest.tsx +3 -0
- package/src/TestComponents/index.ts +1 -0
- package/src/testPages.ts +164 -98
- package/lib/testPages.android.d.ts +0 -3
- package/lib/testPages.android.d.ts.map +0 -1
- package/lib/testPages.android.js +0 -147
- package/lib/testPages.android.js.map +0 -1
- package/lib/testPages.ios.d.ts +0 -3
- package/lib/testPages.ios.d.ts.map +0 -1
- package/lib/testPages.ios.js +0 -140
- package/lib/testPages.ios.js.map +0 -1
- package/lib/testPages.macos.d.ts +0 -3
- package/lib/testPages.macos.d.ts.map +0 -1
- package/lib/testPages.macos.js +0 -176
- package/lib/testPages.macos.js.map +0 -1
- package/lib/testPages.web.d.ts +0 -3
- package/lib/testPages.web.d.ts.map +0 -1
- package/lib/testPages.web.js +0 -93
- package/lib/testPages.web.js.map +0 -1
- package/lib/testPages.win32.d.ts +0 -3
- package/lib/testPages.win32.d.ts.map +0 -1
- package/lib/testPages.win32.js +0 -185
- package/lib/testPages.win32.js.map +0 -1
- package/lib/testPages.windows.d.ts +0 -7
- package/lib/testPages.windows.d.ts.map +0 -1
- package/lib/testPages.windows.js +0 -106
- package/lib/testPages.windows.js.map +0 -1
- package/lib-commonjs/testPages.android.d.ts +0 -3
- package/lib-commonjs/testPages.android.d.ts.map +0 -1
- package/lib-commonjs/testPages.android.js +0 -150
- package/lib-commonjs/testPages.android.js.map +0 -1
- package/lib-commonjs/testPages.ios.d.ts +0 -3
- package/lib-commonjs/testPages.ios.d.ts.map +0 -1
- package/lib-commonjs/testPages.ios.js +0 -143
- package/lib-commonjs/testPages.ios.js.map +0 -1
- package/lib-commonjs/testPages.macos.d.ts +0 -3
- package/lib-commonjs/testPages.macos.d.ts.map +0 -1
- package/lib-commonjs/testPages.macos.js +0 -179
- package/lib-commonjs/testPages.macos.js.map +0 -1
- package/lib-commonjs/testPages.web.d.ts +0 -3
- package/lib-commonjs/testPages.web.d.ts.map +0 -1
- package/lib-commonjs/testPages.web.js +0 -96
- package/lib-commonjs/testPages.web.js.map +0 -1
- package/lib-commonjs/testPages.win32.d.ts +0 -3
- package/lib-commonjs/testPages.win32.d.ts.map +0 -1
- package/lib-commonjs/testPages.win32.js +0 -188
- package/lib-commonjs/testPages.win32.js.map +0 -1
- package/lib-commonjs/testPages.windows.d.ts +0 -7
- package/lib-commonjs/testPages.windows.d.ts.map +0 -1
- package/lib-commonjs/testPages.windows.js +0 -109
- package/lib-commonjs/testPages.windows.js.map +0 -1
- package/src/testPages.android.ts +0 -148
- package/src/testPages.ios.ts +0 -141
- package/src/testPages.macos.ts +0 -177
- package/src/testPages.web.ts +0 -94
- package/src/testPages.win32.ts +0 -186
- package/src/testPages.windows.ts +0 -106
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,70 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/tester",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Thu, 11 Aug 2022 22:48:59 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/tester_v0.85.2",
|
|
7
|
+
"version": "0.85.2",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "beachball",
|
|
12
|
+
"package": "@fluentui-react-native/tester",
|
|
13
|
+
"comment": "Bump @fluentui-react-native/switch to v0.5.0",
|
|
14
|
+
"commit": "25f9f2b38dc274bb43b5231c4a6ee4d88a555ce9"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Thu, 11 Aug 2022 11:02:07 GMT",
|
|
21
|
+
"tag": "@fluentui-react-native/tester_v0.85.1",
|
|
22
|
+
"version": "0.85.1",
|
|
23
|
+
"comments": {
|
|
24
|
+
"patch": [
|
|
25
|
+
{
|
|
26
|
+
"author": "vkozlova@microsoft.com",
|
|
27
|
+
"package": "@fluentui-react-native/tester",
|
|
28
|
+
"commit": "302daa476f246fc9383fe9009309e7d6190ec88b",
|
|
29
|
+
"comment": "Added dot to the CounterBadge"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"author": "beachball",
|
|
33
|
+
"package": "@fluentui-react-native/tester",
|
|
34
|
+
"comment": "Bump @fluentui-react-native/avatar to v1.1.36",
|
|
35
|
+
"commit": "302daa476f246fc9383fe9009309e7d6190ec88b"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"author": "beachball",
|
|
39
|
+
"package": "@fluentui-react-native/tester",
|
|
40
|
+
"comment": "Bump @fluentui-react-native/badge to v0.1.20",
|
|
41
|
+
"commit": "302daa476f246fc9383fe9009309e7d6190ec88b"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"date": "Wed, 10 Aug 2022 23:40:09 GMT",
|
|
48
|
+
"tag": "@fluentui-react-native/tester_v0.85.0",
|
|
49
|
+
"version": "0.85.0",
|
|
50
|
+
"comments": {
|
|
51
|
+
"minor": [
|
|
52
|
+
{
|
|
53
|
+
"author": "joannaquu@gmail.com",
|
|
54
|
+
"package": "@fluentui-react-native/tester",
|
|
55
|
+
"commit": "40c9267d69d210d9b2bcbc5ee7d56038c5e40a65",
|
|
56
|
+
"comment": "combine testPages"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"author": "beachball",
|
|
60
|
+
"package": "@fluentui-react-native/tester",
|
|
61
|
+
"comment": "Bump @fluentui-react-native/experimental-native-date-picker to v0.7.0",
|
|
62
|
+
"commit": "40c9267d69d210d9b2bcbc5ee7d56038c5e40a65"
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"date": "Wed, 10 Aug 2022 22:24:35 GMT",
|
|
6
69
|
"tag": "@fluentui-react-native/tester_v0.84.3",
|
|
7
70
|
"version": "0.84.3",
|
|
8
71
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,39 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/tester
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Thu, 11 Aug 2022 22:48:59 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.85.2
|
|
8
|
+
|
|
9
|
+
Thu, 11 Aug 2022 22:48:59 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Bump @fluentui-react-native/switch to v0.5.0
|
|
14
|
+
|
|
15
|
+
## 0.85.1
|
|
16
|
+
|
|
17
|
+
Thu, 11 Aug 2022 11:02:07 GMT
|
|
18
|
+
|
|
19
|
+
### Patches
|
|
20
|
+
|
|
21
|
+
- Added dot to the CounterBadge (vkozlova@microsoft.com)
|
|
22
|
+
- Bump @fluentui-react-native/avatar to v1.1.36
|
|
23
|
+
- Bump @fluentui-react-native/badge to v0.1.20
|
|
24
|
+
|
|
25
|
+
## 0.85.0
|
|
26
|
+
|
|
27
|
+
Wed, 10 Aug 2022 23:40:09 GMT
|
|
28
|
+
|
|
29
|
+
### Minor changes
|
|
30
|
+
|
|
31
|
+
- combine testPages (joannaquu@gmail.com)
|
|
32
|
+
- Bump @fluentui-react-native/experimental-native-date-picker to v0.7.0
|
|
33
|
+
|
|
7
34
|
## 0.84.3
|
|
8
35
|
|
|
9
|
-
Wed, 10 Aug 2022 22:24:
|
|
36
|
+
Wed, 10 Aug 2022 22:24:35 GMT
|
|
10
37
|
|
|
11
38
|
### Patches
|
|
12
39
|
|
package/lib/FluentTester.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { TestDescription } from './TestComponents';
|
|
3
2
|
export interface FluentTesterProps {
|
|
4
3
|
initialTest?: string;
|
|
5
4
|
enableSinglePaneView?: boolean;
|
|
6
|
-
enabledTests: TestDescription[];
|
|
7
5
|
}
|
|
8
6
|
export declare const FluentTester: React.FunctionComponent<FluentTesterProps>;
|
|
9
7
|
//# sourceMappingURL=FluentTester.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FluentTester.d.ts","sourceRoot":"","sources":["../src/FluentTester.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"FluentTester.d.ts","sourceRoot":"","sources":["../src/FluentTester.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAiB/B,MAAM,WAAW,iBAAiB;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AA8BD,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAsLnE,CAAC"}
|
package/lib/FluentTester.js
CHANGED
|
@@ -8,6 +8,7 @@ import { BASE_TESTPAGE } from './TestComponents/Common/consts';
|
|
|
8
8
|
import { fluentTesterStyles, mobileStyles } from './TestComponents/Common/styles';
|
|
9
9
|
import { useTheme } from '@fluentui-react-native/theme-types';
|
|
10
10
|
import { ThemePickers } from './theme/ThemePickers';
|
|
11
|
+
import { tests } from './testPages';
|
|
11
12
|
// uncomment the below lines to enable message spy
|
|
12
13
|
/**
|
|
13
14
|
import MessageQueue from 'react-native/Libraries/BatchedBridge/MessageQueue';
|
|
@@ -42,8 +43,9 @@ var TestListSeparator = Separator.customize(function (t) { return ({
|
|
|
42
43
|
separatorWidth: 2,
|
|
43
44
|
}); });
|
|
44
45
|
export var FluentTester = function (props) {
|
|
45
|
-
//
|
|
46
|
-
var
|
|
46
|
+
// filters and sorts tests alphabetically
|
|
47
|
+
var filteredTestComponents = tests.filter(function (test) { return test.platforms.includes(Platform.OS); });
|
|
48
|
+
var sortedTestComponents = filteredTestComponents.sort(function (a, b) { return a.name.localeCompare(b.name); });
|
|
47
49
|
var initialTest = props.initialTest, enableSinglePaneView = props.enableSinglePaneView;
|
|
48
50
|
var initialSelectedTestIndex = sortedTestComponents.findIndex(function (description) {
|
|
49
51
|
return description.name === initialTest;
|
package/lib/FluentTester.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FluentTester.js","sourceRoot":"","sources":["../src/FluentTester.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EAAE,QAAQ,IAAI,MAAM,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,IAAI,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"FluentTester.js","sourceRoot":"","sources":["../src/FluentTester.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EAAE,QAAQ,IAAI,MAAM,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,IAAI,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AACrG,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,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C,IAAI,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,IACrB,QAAQ,CAAC,EAAE,KAAM,OAAe,CAAC,CAAC,CAAC,CAClC,oBAAC,aAAa,IAAC,KAAK,EAAE,YAAY,CAAC,IAAI;QACrC,oBAAC,aAAa,OAAG,CACH,CACjB,CAAC,CAAC,CAAC,CACF,oBAAC,QAAQ,IAAC,KAAK,EAAE,YAAY,CAAC,IAAI;QAChC,oBAAC,aAAa,OAAG,CACR,CACZ,CACI,CACR,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FluentTesterApp.d.ts","sourceRoot":"","sources":["../src/FluentTesterApp.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAgB,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"FluentTesterApp.d.ts","sourceRoot":"","sources":["../src/FluentTesterApp.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAgB,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAgCjE,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAYtE,CAAC"}
|
package/lib/FluentTesterApp.js
CHANGED
|
@@ -4,7 +4,6 @@ import { ThemeProvider } from '@fluentui-react-native/theme';
|
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { Platform, useWindowDimensions } from 'react-native';
|
|
6
6
|
import { FluentTester } from './FluentTester';
|
|
7
|
-
import { tests } from './testPages';
|
|
8
7
|
import { testerTheme } from './theme/index';
|
|
9
8
|
/**
|
|
10
9
|
* Hook that "guesses" our Size Class on iOS based on our window width.
|
|
@@ -40,6 +39,6 @@ export var FluentTesterApp = function (props) {
|
|
|
40
39
|
// If on iPad we are presented in a Split View or Slide Over context, show the single pane view.
|
|
41
40
|
var shouldShowSinglePane = isMobile || (!isMobile && sizeClass === 'compact');
|
|
42
41
|
return (React.createElement(ThemeProvider, { theme: testerTheme },
|
|
43
|
-
React.createElement(FluentTester, __assign({
|
|
42
|
+
React.createElement(FluentTester, __assign({ enableSinglePaneView: shouldShowSinglePane }, props))));
|
|
44
43
|
};
|
|
45
44
|
//# sourceMappingURL=FluentTesterApp.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FluentTesterApp.js","sourceRoot":"","sources":["../src/FluentTesterApp.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAqB,MAAM,gBAAgB,CAAC;AACjE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"FluentTesterApp.js","sourceRoot":"","sources":["../src/FluentTesterApp.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAqB,MAAM,gBAAgB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C;;;;;;;;GAQG;AACH,IAAM,0BAA0B,GAAuB;IACrD,IAAI,QAAQ,CAAC,EAAE,KAAK,KAAK,EAAE;QACzB;;;WAGG;QACH,sDAAsD;QACtD,IAAM,KAAK,GAAG,mBAAmB,EAAE,CAAC,KAAK,CAAC;QAC1C,IAAI,QAAQ,CAAC,KAAK,IAAI,KAAK,GAAG,GAAG,EAAE;YACjC,OAAO,SAAS,CAAC;SAClB;aAAM;YACL,OAAO,SAAS,CAAC;SAClB;KACF;SAAM;QACL,OAAO,SAAS,CAAC;KAClB;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,eAAe,GAA+C,UAAC,KAAK;IAC/E,IAAM,SAAS,GAAG,0BAA0B,EAAE,CAAC;IAC/C,IAAM,QAAQ,GAAG,QAAQ,CAAC,EAAE,IAAI,SAAS,IAAI,CAAC,QAAQ,CAAC,EAAE,KAAK,KAAK,IAAI,QAAQ,CAAC,KAAK,KAAK,KAAK,CAAC,CAAC;IAEjG,gGAAgG;IAChG,IAAM,oBAAoB,GAAG,QAAQ,IAAI,CAAC,CAAC,QAAQ,IAAI,SAAS,KAAK,SAAS,CAAC,CAAC;IAEhF,OAAO,CACL,oBAAC,aAAa,IAAC,KAAK,EAAE,WAAW;QAC/B,oBAAC,YAAY,aAAC,oBAAoB,EAAE,oBAAoB,IAAM,KAAK,EAAI,CACzD,CACjB,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CounterBadgeTest.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/Badge/CounterBadgeTest.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"CounterBadgeTest.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/Badge/CounterBadgeTest.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,iBAyBpC,CAAC"}
|
|
@@ -10,6 +10,9 @@ export var CounterBadgeTest = function () {
|
|
|
10
10
|
};
|
|
11
11
|
var svgIconsEnabled = ['ios', 'macos', 'win32', 'android'].includes(Platform.OS);
|
|
12
12
|
return (React.createElement(View, null,
|
|
13
|
+
React.createElement(Text, null, "Dot badge"),
|
|
14
|
+
React.createElement(CounterBadge, { count: 13, dot: true }),
|
|
15
|
+
React.createElement(CounterBadge, { count: 0, dot: true }),
|
|
13
16
|
React.createElement(Text, null, "Here should be no Badge:"),
|
|
14
17
|
React.createElement(CounterBadge, { count: 0 }),
|
|
15
18
|
React.createElement(Text, null, "And here is the Badge with showZero = true"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CounterBadgeTest.js","sourceRoot":"","sources":["../../../src/TestComponents/Badge/CounterBadgeTest.tsx"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,OAAO,OAAO,MAAM,uCAAuC,CAAC;AAE5D,MAAM,CAAC,IAAM,gBAAgB,GAA4B;IACvD,IAAM,QAAQ,GAAiB;QAC7B,GAAG,EAAE,OAAO;QACZ,OAAO,EAAE,aAAa;KACvB,CAAC;IAEF,IAAM,eAAe,GAAG,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAY,CAAC,CAAC;IAE7F,OAAO,CACL,oBAAC,IAAI;QACH,oBAAC,IAAI,mCAAgC;QACrC,oBAAC,YAAY,IAAC,KAAK,EAAE,CAAC,GAAiB;QACvC,oBAAC,IAAI,qDAAkD;QACvD,oBAAC,YAAY,IAAC,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,IAAI,GAAiB;QACvD,oBAAC,YAAY,IAAC,KAAK,EAAC,aAAa,EAAC,KAAK,EAAE,GAAG,GAAiB;QAC7D,oBAAC,YAAY,IAAC,KAAK,EAAC,WAAW,EAAC,aAAa,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,GAAiB;QAChF,oBAAC,YAAY,IAAC,KAAK,EAAC,QAAQ,EA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YAAY,IAAC,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,IAAI,GAAiB;QACvD,oBAAC,YAAY,IAAC,KAAK,EAAC,aAAa,EAAC,KAAK,EAAE,GAAG,GAAiB;QAC7D,oBAAC,YAAY,IAAC,KAAK,EAAC,WAAW,EAAC,aAAa,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,GAAiB;QAChF,oBAAC,YAAY,IAAC,KAAK,EAAC,QAAQ,EAAC,aAAa,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,GAAiB;QAC9E,oBAAC,YAAY,IAAC,KAAK,EAAE,EAAE,GAAiB;QACxC,oBAAC,YAAY,IAAC,KAAK,EAAE,EAAE,mBAA6B;QACnD,eAAe,IAAI,oBAAC,YAAY,IAAC,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,YAAY,EAAC,OAAO,GAAG,CAC9F,CACR,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/TestComponents/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,oBAAY,eAAe,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC;IACnC,QAAQ,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/TestComponents/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,oBAAY,eAAe,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC;IACnC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC"}
|
package/lib/testPages.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testPages.d.ts","sourceRoot":"","sources":["../src/testPages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"testPages.d.ts","sourceRoot":"","sources":["../src/testPages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAoCnD,eAAO,MAAM,KAAK,EAAE,eAAe,EAoNlC,CAAC"}
|
package/lib/testPages.js
CHANGED
|
@@ -1,182 +1,248 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ActivityIndicatorTest, HOMEPAGE_ACTIVITY_INDICATOR_BUTTON } from './TestComponents/ActivityIndicator';
|
|
2
|
+
import { AvatarTest, NativeAvatarTest, HOMEPAGE_AVATAR_BUTTON, HOMEPAGE_NATIVE_AVATAR_BUTTON } from './TestComponents/Avatar';
|
|
2
3
|
import { BadgeTest, HOMEPAGE_BADGE_BUTTON } from './TestComponents/Badge';
|
|
3
4
|
import { ButtonTest, HOMEPAGE_BUTTON_BUTTON } from './TestComponents/Button';
|
|
4
|
-
import { CheckboxTest, HOMEPAGE_CHECKBOX_BUTTON } from './TestComponents/Checkbox';
|
|
5
|
-
import { FocusTrapTest, HOMEPAGE_FOCUSTRAPZONE_BUTTON } from './TestComponents/FocusTrapZone';
|
|
6
|
-
import { HOMEPAGE_LINK_BUTTON, LinkTest } from './TestComponents/Link';
|
|
7
|
-
import { HOMEPAGE_PERSONA_BUTTON, PersonaTest } from './TestComponents/Persona';
|
|
8
|
-
import { HOMEPAGE_PERSONACOIN_BUTTON, PersonaCoinTest } from './TestComponents/PersonaCoin';
|
|
9
|
-
import { HOMEPAGE_PRESSABLE_BUTTON, PressableTest } from './TestComponents/Pressable';
|
|
10
|
-
import { HOMEPAGE_RADIOGROUP_BUTTON, RadioGroupTest } from './TestComponents/RadioGroup';
|
|
11
|
-
import { HOMEPAGE_SEPARATOR_BUTTON, SeparatorTest } from './TestComponents/Separator';
|
|
12
|
-
import { HOMEPAGE_SHADOW_BUTTON, ShadowTest } from './TestComponents/Shadow';
|
|
13
|
-
import { HOMEPAGE_SHIMMER_BUTTON, ShimmerTest } from './TestComponents/Shimmer';
|
|
14
|
-
import { HOMEPAGE_SVG_BUTTON, SvgTest } from './TestComponents/Svg';
|
|
15
|
-
import { HOMEPAGE_TEXT_BUTTON, TextTest } from './TestComponents/Text';
|
|
16
|
-
import { HOMEPAGE_THEME_BUTTON, ThemeTest } from './TestComponents/Theme';
|
|
17
|
-
import { HOMEPAGE_FOCUSZONE_BUTTON, FocusZoneTest } from './TestComponents/FocusZone';
|
|
18
|
-
import { HOMEPAGE_ICON_BUTTON, IconTest } from './TestComponents/Icon';
|
|
19
5
|
import { CalloutTest, HOMEPAGE_CALLOUT_BUTTON } from './TestComponents/Callout';
|
|
6
|
+
import { CheckboxTest, HOMEPAGE_CHECKBOX_BUTTON } from './TestComponents/Checkbox';
|
|
7
|
+
import { ExperimentalCheckboxTest, HOMEPAGE_CHECKBOX_EXPERIMENTAL_BUTTON } from './TestComponents/CheckboxExperimental';
|
|
20
8
|
import { ContextualMenuTest, HOMEPAGE_CONTEXTUALMENU_BUTTON } from './TestComponents/ContextualMenu';
|
|
21
|
-
import {
|
|
9
|
+
import { NativeDatePickerTest, HOMEPAGE_NATIVEDATEPICKER_BUTTON } from './TestComponents/NativeDatePicker';
|
|
10
|
+
// import { DrawerTest, HOMEPAGE_DRAWER_BUTTON } from './TestComponents/Drawer';
|
|
11
|
+
// import { ExpanderTest, HOMEPAGE_EXPANDER_BUTTON } from './TestComponents/Expander';
|
|
12
|
+
import { FocusTrapTest, HOMEPAGE_FOCUSTRAPZONE_BUTTON } from './TestComponents/FocusTrapZone';
|
|
13
|
+
import { FocusZoneTest, HOMEPAGE_FOCUSZONE_BUTTON } from './TestComponents/FocusZone';
|
|
14
|
+
import { IconTest, HOMEPAGE_ICON_BUTTON } from './TestComponents/Icon';
|
|
15
|
+
import { LinkTest, HOMEPAGE_LINK_BUTTON } from './TestComponents/Link';
|
|
16
|
+
import { MenuTest, HOMEPAGE_MENU_BUTTON } from './TestComponents/Menu';
|
|
22
17
|
import { MenuButtonTest, HOMEPAGE_MENUBUTTON_BUTTON } from './TestComponents/MenuButton';
|
|
23
|
-
import { HOMEPAGE_TOKEN_BUTTON, TokenTest } from './TestComponents/Tokens';
|
|
24
|
-
import { ExpanderTest, HOMEPAGE_EXPANDER_BUTTON } from './TestComponents/Expander';
|
|
25
|
-
import { HOMEPAGE_CHECKBOX_EXPERIMENTAL_BUTTON, ExperimentalCheckboxTest } from './TestComponents/CheckboxExperimental';
|
|
26
|
-
import { HOMEPAGE_EXPERIMENTAL_TEXT_BUTTON, TextExperimentalTest } from './TestComponents/TextExperimental';
|
|
27
18
|
import { ExperimentalMenuButtonTest, HOMEPAGE_EXPERIMENTAL_MENU_BUTTON } from './TestComponents/MenuButtonExperimental';
|
|
28
|
-
import { MenuTest, HOMEPAGE_MENU_BUTTON } from './TestComponents/Menu';
|
|
29
19
|
import { NotificationTest, HOMEPAGE_NOTIFICATION_BUTTON } from './TestComponents/Notification';
|
|
20
|
+
import { PersonaTest, HOMEPAGE_PERSONA_BUTTON } from './TestComponents/Persona';
|
|
21
|
+
import { PersonaCoinTest, HOMEPAGE_PERSONACOIN_BUTTON } from './TestComponents/PersonaCoin';
|
|
22
|
+
import { PressableTest, HOMEPAGE_PRESSABLE_BUTTON } from './TestComponents/Pressable';
|
|
23
|
+
import { RadioGroupTest, HOMEPAGE_RADIOGROUP_BUTTON } from './TestComponents/RadioGroup';
|
|
24
|
+
import { SeparatorTest, HOMEPAGE_SEPARATOR_BUTTON } from './TestComponents/Separator';
|
|
25
|
+
import { ShadowTest, HOMEPAGE_SHADOW_BUTTON } from './TestComponents/Shadow';
|
|
26
|
+
import { ShimmerTest, HOMEPAGE_SHIMMER_BUTTON } from './TestComponents/Shimmer';
|
|
27
|
+
import { SvgTest, HOMEPAGE_SVG_BUTTON } from './TestComponents/Svg';
|
|
28
|
+
import { SwitchTest, HOMEPAGE_SWITCH_BUTTON } from './TestComponents/Switch';
|
|
29
|
+
import { TabsTest, HOMEPAGE_TABS_BUTTON } from './TestComponents/Tabs';
|
|
30
|
+
import { ExperimentalTabsTest, HOMEPAGE_EXPERIMENTAL_TABS_BUTTON } from './TestComponents/TabsExperimental';
|
|
31
|
+
import { TextTest, HOMEPAGE_TEXT_BUTTON } from './TestComponents/Text';
|
|
32
|
+
import { TextExperimentalTest, HOMEPAGE_EXPERIMENTAL_TEXT_BUTTON } from './TestComponents/TextExperimental';
|
|
33
|
+
import { ThemeTest, HOMEPAGE_THEME_BUTTON } from './TestComponents/Theme';
|
|
34
|
+
import { TokenTest, HOMEPAGE_TOKEN_BUTTON } from './TestComponents/Tokens';
|
|
30
35
|
export var tests = [
|
|
31
36
|
{
|
|
32
|
-
name: 'ActivityIndicator
|
|
37
|
+
name: 'ActivityIndicator',
|
|
33
38
|
component: ActivityIndicatorTest,
|
|
34
39
|
testPage: HOMEPAGE_ACTIVITY_INDICATOR_BUTTON,
|
|
40
|
+
platforms: ['android', 'ios', 'macos', 'web', 'win32', 'windows'],
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
name: 'Avatar',
|
|
44
|
+
component: AvatarTest,
|
|
45
|
+
testPage: HOMEPAGE_AVATAR_BUTTON,
|
|
46
|
+
platforms: ['android', 'ios', 'macos', 'web', 'win32', 'windows'],
|
|
35
47
|
},
|
|
36
48
|
{
|
|
37
|
-
name: 'Avatar
|
|
49
|
+
name: 'Avatar (Native)',
|
|
38
50
|
component: NativeAvatarTest,
|
|
39
51
|
testPage: HOMEPAGE_NATIVE_AVATAR_BUTTON,
|
|
52
|
+
platforms: ['ios', 'macos'],
|
|
40
53
|
},
|
|
41
54
|
{
|
|
42
|
-
name: 'Badge
|
|
55
|
+
name: 'Badge',
|
|
43
56
|
component: BadgeTest,
|
|
44
57
|
testPage: HOMEPAGE_BADGE_BUTTON,
|
|
58
|
+
platforms: ['android', 'ios', 'macos', 'web', 'win32', 'windows'],
|
|
45
59
|
},
|
|
46
60
|
{
|
|
47
|
-
name: 'Button
|
|
61
|
+
name: 'Button',
|
|
48
62
|
component: ButtonTest,
|
|
49
63
|
testPage: HOMEPAGE_BUTTON_BUTTON,
|
|
64
|
+
platforms: ['android', 'ios', 'macos', 'web', 'win32', 'windows'],
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
name: 'Callout',
|
|
68
|
+
component: CalloutTest,
|
|
69
|
+
testPage: HOMEPAGE_CALLOUT_BUTTON,
|
|
70
|
+
platforms: ['android', 'macos', 'win32', 'windows'],
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
name: 'Checkbox',
|
|
74
|
+
component: CheckboxTest,
|
|
75
|
+
testPage: HOMEPAGE_CHECKBOX_BUTTON,
|
|
76
|
+
platforms: ['android', 'ios', 'macos', 'web', 'win32', 'windows'],
|
|
50
77
|
},
|
|
51
78
|
{
|
|
52
|
-
name: '
|
|
79
|
+
name: 'Checkbox (Experimental)',
|
|
80
|
+
component: ExperimentalCheckboxTest,
|
|
81
|
+
testPage: HOMEPAGE_CHECKBOX_EXPERIMENTAL_BUTTON,
|
|
82
|
+
platforms: ['android', 'ios', 'macos', 'win32'], // 'windows': GH#935: Temporarily disabling while SVGs don't work in windows
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
name: 'ContextualMenu',
|
|
86
|
+
component: ContextualMenuTest,
|
|
87
|
+
testPage: HOMEPAGE_CONTEXTUALMENU_BUTTON,
|
|
88
|
+
platforms: ['android', 'macos', 'win32'],
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
name: 'Date Picker (Native)',
|
|
92
|
+
component: NativeDatePickerTest,
|
|
93
|
+
testPage: HOMEPAGE_NATIVEDATEPICKER_BUTTON,
|
|
94
|
+
platforms: ['ios'],
|
|
95
|
+
},
|
|
96
|
+
// {
|
|
97
|
+
// name: 'Drawer',
|
|
98
|
+
// component: DrawerTest,
|
|
99
|
+
// testPage: HOMEPAGE_DRAWER_BUTTON,
|
|
100
|
+
// platforms: ['android'],
|
|
101
|
+
// },
|
|
102
|
+
// GH##1027 Temporarily disabling while the test doesn't load
|
|
103
|
+
// {
|
|
104
|
+
// name: 'Expander',
|
|
105
|
+
// component: ExpanderTest,
|
|
106
|
+
// testPage: HOMEPAGE_EXPANDER_BUTTON,
|
|
107
|
+
// platforms: ['windows'],
|
|
108
|
+
// },
|
|
109
|
+
{
|
|
110
|
+
name: 'Focus Trap Zone',
|
|
53
111
|
component: FocusTrapTest,
|
|
54
112
|
testPage: HOMEPAGE_FOCUSTRAPZONE_BUTTON,
|
|
113
|
+
platforms: ['android', 'win32'],
|
|
55
114
|
},
|
|
56
115
|
{
|
|
57
|
-
name: 'FocusZone
|
|
116
|
+
name: 'FocusZone',
|
|
58
117
|
component: FocusZoneTest,
|
|
59
118
|
testPage: HOMEPAGE_FOCUSZONE_BUTTON,
|
|
119
|
+
platforms: ['macos', 'win32'],
|
|
60
120
|
},
|
|
61
121
|
{
|
|
62
|
-
name: 'Icon
|
|
122
|
+
name: 'Icon',
|
|
63
123
|
component: IconTest,
|
|
64
124
|
testPage: HOMEPAGE_ICON_BUTTON,
|
|
125
|
+
platforms: ['android', 'ios', 'macos', 'win32'],
|
|
65
126
|
},
|
|
66
127
|
{
|
|
67
|
-
name: '
|
|
68
|
-
component: PressableTest,
|
|
69
|
-
testPage: HOMEPAGE_PRESSABLE_BUTTON,
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
name: 'Link Test',
|
|
128
|
+
name: 'Link',
|
|
73
129
|
component: LinkTest,
|
|
74
130
|
testPage: HOMEPAGE_LINK_BUTTON,
|
|
131
|
+
platforms: ['android', 'ios', 'macos', 'web', 'win32', 'windows'],
|
|
75
132
|
},
|
|
76
133
|
{
|
|
77
|
-
name: '
|
|
78
|
-
component:
|
|
79
|
-
testPage:
|
|
80
|
-
|
|
81
|
-
{
|
|
82
|
-
name: 'Separator Test',
|
|
83
|
-
component: SeparatorTest,
|
|
84
|
-
testPage: HOMEPAGE_SEPARATOR_BUTTON,
|
|
134
|
+
name: 'Menu',
|
|
135
|
+
component: MenuTest,
|
|
136
|
+
testPage: HOMEPAGE_MENU_BUTTON,
|
|
137
|
+
platforms: ['macos', 'win32'],
|
|
85
138
|
},
|
|
86
139
|
{
|
|
87
|
-
name: '
|
|
88
|
-
component:
|
|
89
|
-
testPage:
|
|
140
|
+
name: 'MenuButton',
|
|
141
|
+
component: MenuButtonTest,
|
|
142
|
+
testPage: HOMEPAGE_MENUBUTTON_BUTTON,
|
|
143
|
+
platforms: ['macos', 'win32'],
|
|
90
144
|
},
|
|
91
145
|
{
|
|
92
|
-
name: '
|
|
93
|
-
component:
|
|
94
|
-
testPage:
|
|
146
|
+
name: 'MenuButton (Experimental)',
|
|
147
|
+
component: ExperimentalMenuButtonTest,
|
|
148
|
+
testPage: HOMEPAGE_EXPERIMENTAL_MENU_BUTTON,
|
|
149
|
+
platforms: ['macos', 'win32'],
|
|
95
150
|
},
|
|
96
151
|
{
|
|
97
|
-
name: '
|
|
98
|
-
component:
|
|
99
|
-
testPage:
|
|
152
|
+
name: 'Notification',
|
|
153
|
+
component: NotificationTest,
|
|
154
|
+
testPage: HOMEPAGE_NOTIFICATION_BUTTON,
|
|
155
|
+
platforms: ['android', 'ios'],
|
|
100
156
|
},
|
|
101
157
|
{
|
|
102
|
-
name: '
|
|
103
|
-
component:
|
|
104
|
-
testPage:
|
|
158
|
+
name: 'Persona',
|
|
159
|
+
component: PersonaTest,
|
|
160
|
+
testPage: HOMEPAGE_PERSONA_BUTTON,
|
|
161
|
+
platforms: ['android', 'ios', 'macos', 'web', 'win32', 'windows'],
|
|
105
162
|
},
|
|
106
163
|
{
|
|
107
|
-
name: 'PersonaCoin
|
|
164
|
+
name: 'PersonaCoin',
|
|
108
165
|
component: PersonaCoinTest,
|
|
109
166
|
testPage: HOMEPAGE_PERSONACOIN_BUTTON,
|
|
167
|
+
platforms: ['android', 'ios', 'macos', 'web', 'win32', 'windows'],
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
name: 'Pressable',
|
|
171
|
+
component: PressableTest,
|
|
172
|
+
testPage: HOMEPAGE_PRESSABLE_BUTTON,
|
|
173
|
+
platforms: ['android', 'ios', 'macos', 'web', 'win32', 'windows'],
|
|
110
174
|
},
|
|
111
175
|
{
|
|
112
|
-
name: 'RadioGroup
|
|
176
|
+
name: 'RadioGroup',
|
|
113
177
|
component: RadioGroupTest,
|
|
114
178
|
testPage: HOMEPAGE_RADIOGROUP_BUTTON,
|
|
179
|
+
platforms: ['android', 'ios', 'macos', 'web', 'win32'],
|
|
115
180
|
},
|
|
116
181
|
{
|
|
117
|
-
name: '
|
|
118
|
-
component:
|
|
119
|
-
testPage:
|
|
182
|
+
name: 'Separator',
|
|
183
|
+
component: SeparatorTest,
|
|
184
|
+
testPage: HOMEPAGE_SEPARATOR_BUTTON,
|
|
185
|
+
platforms: ['android', 'ios', 'macos', 'web', 'win32', 'windows'],
|
|
120
186
|
},
|
|
121
187
|
{
|
|
122
|
-
name: '
|
|
123
|
-
component:
|
|
124
|
-
testPage:
|
|
188
|
+
name: 'Shadow',
|
|
189
|
+
component: ShadowTest,
|
|
190
|
+
testPage: HOMEPAGE_SHADOW_BUTTON,
|
|
191
|
+
platforms: ['ios', 'macos', 'win32'],
|
|
125
192
|
},
|
|
126
193
|
{
|
|
127
|
-
name: '
|
|
128
|
-
component:
|
|
129
|
-
testPage:
|
|
194
|
+
name: 'Shimmer',
|
|
195
|
+
component: ShimmerTest,
|
|
196
|
+
testPage: HOMEPAGE_SHIMMER_BUTTON,
|
|
197
|
+
platforms: ['android', 'ios', 'macos', 'win32'],
|
|
130
198
|
},
|
|
131
199
|
{
|
|
132
|
-
name: 'Svg
|
|
200
|
+
name: 'Svg',
|
|
133
201
|
component: SvgTest,
|
|
134
202
|
testPage: HOMEPAGE_SVG_BUTTON,
|
|
203
|
+
platforms: ['android', 'ios', 'macos', 'win32'],
|
|
135
204
|
},
|
|
136
205
|
{
|
|
137
|
-
name: '
|
|
138
|
-
component:
|
|
139
|
-
testPage:
|
|
140
|
-
|
|
141
|
-
{
|
|
142
|
-
name: 'ContextualMenu Test',
|
|
143
|
-
component: ContextualMenuTest,
|
|
144
|
-
testPage: HOMEPAGE_CONTEXTUALMENU_BUTTON,
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
name: 'ActivityIndicator Test',
|
|
148
|
-
component: ActivityIndicatorTest,
|
|
149
|
-
testPage: HOMEPAGE_ACTIVITY_INDICATOR_BUTTON,
|
|
206
|
+
name: 'Switch',
|
|
207
|
+
component: SwitchTest,
|
|
208
|
+
testPage: HOMEPAGE_SWITCH_BUTTON,
|
|
209
|
+
platforms: ['win32'],
|
|
150
210
|
},
|
|
151
211
|
{
|
|
152
|
-
name: '
|
|
153
|
-
component:
|
|
154
|
-
testPage:
|
|
212
|
+
name: 'Tabs',
|
|
213
|
+
component: TabsTest,
|
|
214
|
+
testPage: HOMEPAGE_TABS_BUTTON,
|
|
215
|
+
platforms: ['macos', 'win32', 'windows'],
|
|
155
216
|
},
|
|
156
217
|
{
|
|
157
|
-
name: '
|
|
158
|
-
component:
|
|
159
|
-
testPage:
|
|
218
|
+
name: 'Tabs (Experimental)',
|
|
219
|
+
component: ExperimentalTabsTest,
|
|
220
|
+
testPage: HOMEPAGE_EXPERIMENTAL_TABS_BUTTON,
|
|
221
|
+
platforms: ['macos', 'win32', 'windows'],
|
|
160
222
|
},
|
|
161
223
|
{
|
|
162
|
-
name: '
|
|
163
|
-
component:
|
|
164
|
-
testPage:
|
|
224
|
+
name: 'Text',
|
|
225
|
+
component: TextTest,
|
|
226
|
+
testPage: HOMEPAGE_TEXT_BUTTON,
|
|
227
|
+
platforms: ['android', 'ios', 'macos', 'web', 'win32', 'windows'],
|
|
165
228
|
},
|
|
166
229
|
{
|
|
167
|
-
name: 'Experimental
|
|
168
|
-
component:
|
|
169
|
-
testPage:
|
|
230
|
+
name: 'Text (Experimental)',
|
|
231
|
+
component: TextExperimentalTest,
|
|
232
|
+
testPage: HOMEPAGE_EXPERIMENTAL_TEXT_BUTTON,
|
|
233
|
+
platforms: ['android', 'ios', 'macos', 'web', 'win32', 'windows'],
|
|
170
234
|
},
|
|
171
235
|
{
|
|
172
|
-
name: '
|
|
173
|
-
component:
|
|
174
|
-
testPage:
|
|
236
|
+
name: 'Theme',
|
|
237
|
+
component: ThemeTest,
|
|
238
|
+
testPage: HOMEPAGE_THEME_BUTTON,
|
|
239
|
+
platforms: ['android', 'ios', 'macos', 'web', 'win32', 'windows'],
|
|
175
240
|
},
|
|
176
241
|
{
|
|
177
|
-
name: '
|
|
178
|
-
component:
|
|
179
|
-
testPage:
|
|
242
|
+
name: 'Tokens',
|
|
243
|
+
component: TokenTest,
|
|
244
|
+
testPage: HOMEPAGE_TOKEN_BUTTON,
|
|
245
|
+
platforms: ['android', 'ios', 'macos', 'web', 'win32', 'windows'],
|
|
180
246
|
},
|
|
181
247
|
];
|
|
182
248
|
//# sourceMappingURL=testPages.js.map
|