@fluentui-react-native/tester 0.99.3 → 0.99.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +82 -2
- package/CHANGELOG.md +25 -2
- package/lib/theme/CustomThemes.d.ts.map +1 -1
- package/lib/theme/CustomThemes.js +1 -1
- package/lib/theme/CustomThemes.js.map +1 -1
- package/lib-commonjs/theme/CustomThemes.d.ts.map +1 -1
- package/lib-commonjs/theme/CustomThemes.js +1 -1
- package/lib-commonjs/theme/CustomThemes.js.map +1 -1
- package/metro.config.js +8 -1
- package/package.json +51 -28
- package/src/theme/CustomThemes.ts +1 -1
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,87 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/tester",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Tue, 04 Oct 2022 16:44:04 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/tester_v0.99.5",
|
|
7
|
+
"version": "0.99.5",
|
|
8
|
+
"comments": {
|
|
9
|
+
"none": [
|
|
10
|
+
{
|
|
11
|
+
"author": "4123478+tido64@users.noreply.github.com",
|
|
12
|
+
"package": "@fluentui-react-native/tester",
|
|
13
|
+
"commit": "2377d1bfa503e0092ebb4968d200afd5d11bbef6",
|
|
14
|
+
"comment": "chore: bump `@rnx-kit/cli` to 0.14.8"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"patch": [
|
|
18
|
+
{
|
|
19
|
+
"author": "ruaraki@microsoft.com",
|
|
20
|
+
"package": "@fluentui-react-native/tester",
|
|
21
|
+
"commit": "7f9e2a7554e8305e456c09bec3ccad393173af7d",
|
|
22
|
+
"comment": "Set default theme to Office for win32"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"date": "Mon, 03 Oct 2022 16:40:48 GMT",
|
|
29
|
+
"tag": "@fluentui-react-native/tester_v0.99.4",
|
|
30
|
+
"version": "0.99.4",
|
|
31
|
+
"comments": {
|
|
32
|
+
"patch": [
|
|
33
|
+
{
|
|
34
|
+
"author": "beachball",
|
|
35
|
+
"package": "@fluentui-react-native/tester",
|
|
36
|
+
"comment": "Bump @fluentui-react-native/experimental-avatar to v0.16.9",
|
|
37
|
+
"commit": "41bf5eac728b15d0385431869982018ef3341491"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"author": "beachball",
|
|
41
|
+
"package": "@fluentui-react-native/tester",
|
|
42
|
+
"comment": "Bump @fluentui-react-native/experimental-checkbox to v0.12.22",
|
|
43
|
+
"commit": "41bf5eac728b15d0385431869982018ef3341491"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"author": "beachball",
|
|
47
|
+
"package": "@fluentui-react-native/tester",
|
|
48
|
+
"comment": "Bump @fluentui-react-native/experimental-expander to v0.4.8",
|
|
49
|
+
"commit": "41bf5eac728b15d0385431869982018ef3341491"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"author": "beachball",
|
|
53
|
+
"package": "@fluentui-react-native/tester",
|
|
54
|
+
"comment": "Bump @fluentui-react-native/experimental-menu-button to v0.4.35",
|
|
55
|
+
"commit": "41bf5eac728b15d0385431869982018ef3341491"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"author": "beachball",
|
|
59
|
+
"package": "@fluentui-react-native/tester",
|
|
60
|
+
"comment": "Bump @fluentui-react-native/experimental-radio-group to v0.5.4",
|
|
61
|
+
"commit": "41bf5eac728b15d0385431869982018ef3341491"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"author": "beachball",
|
|
65
|
+
"package": "@fluentui-react-native/tester",
|
|
66
|
+
"comment": "Bump @fluentui-react-native/experimental-tabs to v0.5.20",
|
|
67
|
+
"commit": "41bf5eac728b15d0385431869982018ef3341491"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"author": "beachball",
|
|
71
|
+
"package": "@fluentui-react-native/tester",
|
|
72
|
+
"comment": "Bump @fluentui-react-native/menu to v1.0.41",
|
|
73
|
+
"commit": "41bf5eac728b15d0385431869982018ef3341491"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"author": "beachball",
|
|
77
|
+
"package": "@fluentui-react-native/tester",
|
|
78
|
+
"comment": "Bump @fluentui/react-native to v0.32.27",
|
|
79
|
+
"commit": "41bf5eac728b15d0385431869982018ef3341491"
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"date": "Fri, 30 Sep 2022 20:38:11 GMT",
|
|
6
86
|
"tag": "@fluentui-react-native/tester_v0.99.3",
|
|
7
87
|
"version": "0.99.3",
|
|
8
88
|
"comments": {
|
|
@@ -11,7 +91,7 @@
|
|
|
11
91
|
"author": "beachball",
|
|
12
92
|
"package": "@fluentui-react-native/tester",
|
|
13
93
|
"comment": "Bump @fluentui-react-native/experimental-radio-group to v0.5.3",
|
|
14
|
-
"commit": "
|
|
94
|
+
"commit": "45d33f2b8f5aba6293494a13cc92fd75715340e9"
|
|
15
95
|
}
|
|
16
96
|
]
|
|
17
97
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,35 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/tester
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Tue, 04 Oct 2022 16:44:04 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.99.5
|
|
8
|
+
|
|
9
|
+
Tue, 04 Oct 2022 16:44:04 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Set default theme to Office for win32 (ruaraki@microsoft.com)
|
|
14
|
+
|
|
15
|
+
## 0.99.4
|
|
16
|
+
|
|
17
|
+
Mon, 03 Oct 2022 16:40:48 GMT
|
|
18
|
+
|
|
19
|
+
### Patches
|
|
20
|
+
|
|
21
|
+
- Bump @fluentui-react-native/experimental-avatar to v0.16.9
|
|
22
|
+
- Bump @fluentui-react-native/experimental-checkbox to v0.12.22
|
|
23
|
+
- Bump @fluentui-react-native/experimental-expander to v0.4.8
|
|
24
|
+
- Bump @fluentui-react-native/experimental-menu-button to v0.4.35
|
|
25
|
+
- Bump @fluentui-react-native/experimental-radio-group to v0.5.4
|
|
26
|
+
- Bump @fluentui-react-native/experimental-tabs to v0.5.20
|
|
27
|
+
- Bump @fluentui-react-native/menu to v1.0.41
|
|
28
|
+
- Bump @fluentui/react-native to v0.32.27
|
|
29
|
+
|
|
7
30
|
## 0.99.3
|
|
8
31
|
|
|
9
|
-
Fri, 30 Sep 2022 20:
|
|
32
|
+
Fri, 30 Sep 2022 20:38:11 GMT
|
|
10
33
|
|
|
11
34
|
### Patches
|
|
12
35
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomThemes.d.ts","sourceRoot":"","sources":["../../src/theme/CustomThemes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAc,WAAW,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAc,UAAU,EAAE,MAAM,cAAc,CAAC;AAEtD,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAmBlE,eAAO,MAAM,gBAAgB;;;GAK5B,CAAC;AAEF,qBAAa,oBAAqB,SAAQ,cAAc;IACtD,OAAO,CAAC,UAAU,
|
|
1
|
+
{"version":3,"file":"CustomThemes.d.ts","sourceRoot":"","sources":["../../src/theme/CustomThemes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAc,WAAW,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAc,UAAU,EAAE,MAAM,cAAc,CAAC;AAEtD,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAmBlE,eAAO,MAAM,gBAAgB;;;GAK5B,CAAC;AAEF,qBAAa,oBAAqB,SAAQ,cAAc;IACtD,OAAO,CAAC,UAAU,CAAuE;IACzF,OAAO,CAAC,MAAM,CAA0B;IAExC,OAAO,CAAC,OAAO,CAAe;IAC9B,OAAO,CAAC,SAAS,CAAiB;;IAYlC,yCAAyC;IACzC,IAAW,SAAS,IAAI,UAAU,CAEjC;IACD,IAAW,SAAS,CAAC,QAAQ,EAAE,UAAU,EAKxC;IAED,mCAAmC;IACnC,IAAW,UAAU,IAAI,YAAY,CAAC,YAAY,CAAC,CAElD;IACD,IAAW,UAAU,CAAC,SAAS,EAAE,YAAY,CAAC,YAAY,CAAC,EAK1D;IAED,gCAAgC;IAChC,IAAW,KAAK,IAAI,WAAW,CAE9B;IACD,IAAW,KAAK,CAAC,QAAQ,EAAE,WAAW,EAKrC;CACF;AAED,eAAO,MAAM,WAAW,sBAA6B,CAAC"}
|
|
@@ -30,7 +30,7 @@ var TesterThemeReference = /** @class */ (function (_super) {
|
|
|
30
30
|
__extends(TesterThemeReference, _super);
|
|
31
31
|
function TesterThemeReference() {
|
|
32
32
|
var _this = _super.call(this, baseTheme, function (parent) { return applyTheme(parent, _this._themeName, _this.options.appearance); }, function (parent) { return applyBrand(parent, _this._themeName, _this._brand); }) || this;
|
|
33
|
-
_this._themeName = 'Default';
|
|
33
|
+
_this._themeName = Platform.OS === 'win32' ? 'Office' : 'Default';
|
|
34
34
|
_this._brand = 'Default';
|
|
35
35
|
_this.baseTheme = baseTheme;
|
|
36
36
|
_this.options = themeOptions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomThemes.js","sourceRoot":"","sources":["../../src/theme/CustomThemes.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,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I,CAAC,SAAS,CAAC,UAAU,EAAE,CAAC;aAC7B;QACH,CAAC;;;OANA;IASD,sBAAW,uCAAK;QADhB,gCAAgC;aAChC;YACE,OAAO,IAAI,CAAC,MAAM,CAAC;QACrB,CAAC;aACD,UAAiB,QAAqB;YACpC,IAAI,QAAQ,KAAK,IAAI,CAAC,MAAM,EAAE;gBAC5B,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC;gBACvB,IAAI,CAAC,UAAU,EAAE,CAAC;aACnB;QACH,CAAC;;;OANA;IAOH,2BAAC;AAAD,CAAC,AAjDD,CAA0C,cAAc,GAiDvD;;AAED,MAAM,CAAC,IAAM,WAAW,GAAG,IAAI,oBAAoB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomThemes.d.ts","sourceRoot":"","sources":["../../src/theme/CustomThemes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAc,WAAW,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAc,UAAU,EAAE,MAAM,cAAc,CAAC;AAEtD,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAmBlE,eAAO,MAAM,gBAAgB;;;GAK5B,CAAC;AAEF,qBAAa,oBAAqB,SAAQ,cAAc;IACtD,OAAO,CAAC,UAAU,
|
|
1
|
+
{"version":3,"file":"CustomThemes.d.ts","sourceRoot":"","sources":["../../src/theme/CustomThemes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAc,WAAW,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAc,UAAU,EAAE,MAAM,cAAc,CAAC;AAEtD,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAmBlE,eAAO,MAAM,gBAAgB;;;GAK5B,CAAC;AAEF,qBAAa,oBAAqB,SAAQ,cAAc;IACtD,OAAO,CAAC,UAAU,CAAuE;IACzF,OAAO,CAAC,MAAM,CAA0B;IAExC,OAAO,CAAC,OAAO,CAAe;IAC9B,OAAO,CAAC,SAAS,CAAiB;;IAYlC,yCAAyC;IACzC,IAAW,SAAS,IAAI,UAAU,CAEjC;IACD,IAAW,SAAS,CAAC,QAAQ,EAAE,UAAU,EAKxC;IAED,mCAAmC;IACnC,IAAW,UAAU,IAAI,YAAY,CAAC,YAAY,CAAC,CAElD;IACD,IAAW,UAAU,CAAC,SAAS,EAAE,YAAY,CAAC,YAAY,CAAC,EAK1D;IAED,gCAAgC;IAChC,IAAW,KAAK,IAAI,WAAW,CAE9B;IACD,IAAW,KAAK,CAAC,QAAQ,EAAE,WAAW,EAKrC;CACF;AAED,eAAO,MAAM,WAAW,sBAA6B,CAAC"}
|
|
@@ -33,7 +33,7 @@ var TesterThemeReference = /** @class */ (function (_super) {
|
|
|
33
33
|
(0, tslib_1.__extends)(TesterThemeReference, _super);
|
|
34
34
|
function TesterThemeReference() {
|
|
35
35
|
var _this = _super.call(this, baseTheme, function (parent) { return (0, applyTheme_1.applyTheme)(parent, _this._themeName, _this.options.appearance); }, function (parent) { return (0, applyBrand_1.applyBrand)(parent, _this._themeName, _this._brand); }) || this;
|
|
36
|
-
_this._themeName = 'Default';
|
|
36
|
+
_this._themeName = react_native_1.Platform.OS === 'win32' ? 'Office' : 'Default';
|
|
37
37
|
_this._brand = 'Default';
|
|
38
38
|
_this.baseTheme = baseTheme;
|
|
39
39
|
_this.options = themeOptions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomThemes.js","sourceRoot":"","sources":["../../src/theme/CustomThemes.ts"],"names":[],"mappings":";;;;AAAA,kEAAsE;AACtE,sEAA0E;AAC1E,sDAA8D;AAC9D,6CAAwC;AACxC,2CAAuD;AACvD,2CAAsD;AACtD,sEAA0E;AAG1E,IAAM,YAAY,GAAiB,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS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
8
|
const path = require('path');
|
|
9
|
-
const { defaultWatchFolders, exclusionList } = require('@rnx-kit/metro-config');
|
|
9
|
+
const { defaultWatchFolders, exclusionList, resolveUniqueModule } = require('@rnx-kit/metro-config');
|
|
10
10
|
const { getDefaultConfig } = require('metro-config');
|
|
11
11
|
|
|
12
|
+
const [reactIs, reactIsExcludePattern] = resolveUniqueModule('react-is');
|
|
13
|
+
|
|
12
14
|
const blockList = exclusionList([
|
|
13
15
|
/node_modules\/.*\/node_modules\/react-native\/.*/,
|
|
14
16
|
|
|
@@ -31,6 +33,8 @@ const blockList = exclusionList([
|
|
|
31
33
|
|
|
32
34
|
// Exclude build output directory
|
|
33
35
|
/.*\/apps\/fluent-tester\/dist\/.*/,
|
|
36
|
+
|
|
37
|
+
reactIsExcludePattern,
|
|
34
38
|
]);
|
|
35
39
|
|
|
36
40
|
module.exports = (async () => {
|
|
@@ -44,6 +48,9 @@ module.exports = (async () => {
|
|
|
44
48
|
sourceExts: [...sourceExts, 'svg'],
|
|
45
49
|
blacklistRE: blockList,
|
|
46
50
|
blockList,
|
|
51
|
+
extraNodeModules: {
|
|
52
|
+
'react-is': reactIs,
|
|
53
|
+
},
|
|
47
54
|
},
|
|
48
55
|
transformer: {
|
|
49
56
|
// This transformer selects between the regular transformer and svg transformer depending on the file type
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/tester",
|
|
3
|
-
"version": "0.99.
|
|
3
|
+
"version": "0.99.5",
|
|
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>",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"android": "react-native run-android",
|
|
13
13
|
"build": "fluentui-scripts build",
|
|
14
14
|
"bundle": "react-native rnx-bundle --dev false",
|
|
15
|
-
"bundle:android": "react-native rnx-bundle --dev false --platform android
|
|
15
|
+
"bundle:android": "react-native rnx-bundle --dev false --platform android",
|
|
16
16
|
"bundle:ios": "react-native rnx-bundle --dev false --platform ios",
|
|
17
17
|
"bundle:macos": "react-native rnx-bundle --dev false --platform macos",
|
|
18
18
|
"bundle:windows": "react-native rnx-bundle --dev false --platform windows",
|
|
@@ -44,21 +44,21 @@
|
|
|
44
44
|
"@fluentui-react-native/default-theme": ">=0.16.0 <1.0.0",
|
|
45
45
|
"@fluentui-react-native/dropdown": ">=0.4.4 <1.0.0",
|
|
46
46
|
"@fluentui-react-native/experimental-activity-indicator": ">=0.6.6 <1.0.0",
|
|
47
|
-
"@fluentui-react-native/experimental-avatar": ">=0.16.
|
|
47
|
+
"@fluentui-react-native/experimental-avatar": ">=0.16.9 <1.0.0",
|
|
48
48
|
"@fluentui-react-native/experimental-button": "0.16.30",
|
|
49
|
-
"@fluentui-react-native/experimental-checkbox": "0.12.
|
|
50
|
-
"@fluentui-react-native/experimental-expander": "0.4.
|
|
51
|
-
"@fluentui-react-native/experimental-menu-button": ">=0.4.
|
|
49
|
+
"@fluentui-react-native/experimental-checkbox": "0.12.22",
|
|
50
|
+
"@fluentui-react-native/experimental-expander": "0.4.8",
|
|
51
|
+
"@fluentui-react-native/experimental-menu-button": ">=0.4.35 <1.0.0",
|
|
52
52
|
"@fluentui-react-native/experimental-native-date-picker": ">=0.7.2 <1.0.0",
|
|
53
|
-
"@fluentui-react-native/experimental-radio-group": "^0.5.
|
|
53
|
+
"@fluentui-react-native/experimental-radio-group": "^0.5.4",
|
|
54
54
|
"@fluentui-react-native/experimental-shadow": "0.2.23",
|
|
55
55
|
"@fluentui-react-native/experimental-shimmer": "0.7.6",
|
|
56
|
-
"@fluentui-react-native/experimental-tabs": "0.5.
|
|
56
|
+
"@fluentui-react-native/experimental-tabs": "0.5.20",
|
|
57
57
|
"@fluentui-react-native/experimental-text": ">=0.11.8 <1.0.0",
|
|
58
58
|
"@fluentui-react-native/framework": ">=0.8.6 <1.0.0",
|
|
59
59
|
"@fluentui-react-native/icon": "0.13.11",
|
|
60
60
|
"@fluentui-react-native/interactive-hooks": ">=0.18.9 <1.0.0",
|
|
61
|
-
"@fluentui-react-native/menu": "^1.0.
|
|
61
|
+
"@fluentui-react-native/menu": "^1.0.41",
|
|
62
62
|
"@fluentui-react-native/merge-props": ">=0.5.1 <1.0.0",
|
|
63
63
|
"@fluentui-react-native/notification": "0.17.13",
|
|
64
64
|
"@fluentui-react-native/stack": ">=0.7.10 <1.0.0",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"@fluentui-react-native/themed-stylesheet": "^1.4.1",
|
|
70
70
|
"@fluentui-react-native/theming-utils": ">=0.16.0 <1.0.0",
|
|
71
71
|
"@fluentui-react-native/win32-theme": ">=0.21.4 <1.0.0",
|
|
72
|
-
"@fluentui/react-native": ">=0.32.
|
|
72
|
+
"@fluentui/react-native": ">=0.32.27 <1.0.0",
|
|
73
73
|
"@react-native-community/slider": "^4.2.0",
|
|
74
74
|
"@react-native-menu/menu": "^0.1.2",
|
|
75
75
|
"@react-native-picker/picker": "^2.2.1",
|
|
@@ -86,8 +86,8 @@
|
|
|
86
86
|
"@babel/runtime": "^7.8.0",
|
|
87
87
|
"@fluentui-react-native/eslint-config-rules": "^0.1.1",
|
|
88
88
|
"@fluentui-react-native/scripts": "^0.1.1",
|
|
89
|
-
"@rnx-kit/cli": "^0.
|
|
90
|
-
"@rnx-kit/metro-config": "^1.
|
|
89
|
+
"@rnx-kit/cli": "^0.14.8",
|
|
90
|
+
"@rnx-kit/metro-config": "^1.3.1",
|
|
91
91
|
"@types/jasmine": "3.5.10",
|
|
92
92
|
"@types/react": "^17.0.2",
|
|
93
93
|
"@types/react-native": "^0.68.0",
|
|
@@ -120,22 +120,45 @@
|
|
|
120
120
|
"rnx-kit": {
|
|
121
121
|
"reactNativeVersion": "^0.68",
|
|
122
122
|
"kitType": "app",
|
|
123
|
-
"bundle":
|
|
124
|
-
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
123
|
+
"bundle": [
|
|
124
|
+
{
|
|
125
|
+
"id": "main",
|
|
126
|
+
"entryFile": "index.js",
|
|
127
|
+
"assetsDest": "dist",
|
|
128
|
+
"targets": [
|
|
129
|
+
"android",
|
|
130
|
+
"ios",
|
|
131
|
+
"macos",
|
|
132
|
+
"windows"
|
|
133
|
+
],
|
|
134
|
+
"detectCyclicDependencies": {
|
|
135
|
+
"throwOnError": true
|
|
136
|
+
},
|
|
137
|
+
"detectDuplicateDependencies": {
|
|
138
|
+
"throwOnError": false
|
|
139
|
+
},
|
|
140
|
+
"typescriptValidation": false,
|
|
141
|
+
"platforms": {
|
|
142
|
+
"android": {
|
|
143
|
+
"bundleOutput": "dist/index.android.bundle",
|
|
144
|
+
"sourcemapOutput": "dist/index.android.bundle.map",
|
|
145
|
+
"assetsDest": "dist/res"
|
|
146
|
+
},
|
|
147
|
+
"ios": {
|
|
148
|
+
"bundleOutput": "dist/index.ios.jsbundle",
|
|
149
|
+
"sourcemapOutput": "dist/index.ios.jsbundle.map"
|
|
150
|
+
},
|
|
151
|
+
"macos": {
|
|
152
|
+
"bundleOutput": "dist/index.macos.jsbundle",
|
|
153
|
+
"sourcemapOutput": "dist/index.macos.jsbundle.map"
|
|
154
|
+
},
|
|
155
|
+
"windows": {
|
|
156
|
+
"bundleOutput": "dist/index.windows.bundle",
|
|
157
|
+
"sourcemapOutput": "dist/index.windows.bundle.map"
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
],
|
|
139
162
|
"capabilities": [
|
|
140
163
|
"core-android",
|
|
141
164
|
"core-ios",
|
|
@@ -32,7 +32,7 @@ export const lightnessOptions = [
|
|
|
32
32
|
];
|
|
33
33
|
|
|
34
34
|
export class TesterThemeReference extends ThemeReference {
|
|
35
|
-
private _themeName: ThemeNames = 'Default';
|
|
35
|
+
private _themeName: ThemeNames = Platform.OS === ('win32' as any) ? 'Office' : 'Default';
|
|
36
36
|
private _brand: OfficeBrand = 'Default';
|
|
37
37
|
|
|
38
38
|
private options: ThemeOptions;
|