@fluentui-react-native/win32-theme 0.27.10 → 0.28.0
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 +46 -1
- package/CHANGELOG.md +15 -2
- package/lib/NativeModule/getThemingModule.native.d.ts.map +1 -1
- package/lib/NativeModule/getThemingModule.native.js.map +1 -1
- package/lib-commonjs/NativeModule/getThemingModule.native.d.ts.map +1 -1
- package/lib-commonjs/NativeModule/getThemingModule.native.js.map +1 -1
- package/package.json +11 -10
- package/src/NativeModule/getThemingModule.native.ts +3 -1
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,52 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/win32-theme",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Thu, 09 Nov 2023 02:32:37 GMT",
|
|
6
|
+
"version": "0.28.0",
|
|
7
|
+
"tag": "@fluentui-react-native/win32-theme_v0.28.0",
|
|
8
|
+
"comments": {
|
|
9
|
+
"minor": [
|
|
10
|
+
{
|
|
11
|
+
"author": "30809111+acoates-ms@users.noreply.github.com",
|
|
12
|
+
"package": "@fluentui-react-native/win32-theme",
|
|
13
|
+
"commit": "4a6a9cd63396c6e8fc6ffbfec7137652928e40ef",
|
|
14
|
+
"comment": "Update to react-native 0.72"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@fluentui-react-native/win32-theme",
|
|
19
|
+
"comment": "Bump @fluentui-react-native/default-theme to v0.20.0",
|
|
20
|
+
"commit": "not available"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@fluentui-react-native/win32-theme",
|
|
25
|
+
"comment": "Bump @fluentui-react-native/theme to v0.10.0",
|
|
26
|
+
"commit": "not available"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "beachball",
|
|
30
|
+
"package": "@fluentui-react-native/win32-theme",
|
|
31
|
+
"comment": "Bump @fluentui-react-native/theme-tokens to v0.26.0",
|
|
32
|
+
"commit": "not available"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"author": "beachball",
|
|
36
|
+
"package": "@fluentui-react-native/win32-theme",
|
|
37
|
+
"comment": "Bump @fluentui-react-native/theme-types to v0.33.0",
|
|
38
|
+
"commit": "not available"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"author": "beachball",
|
|
42
|
+
"package": "@fluentui-react-native/win32-theme",
|
|
43
|
+
"comment": "Bump @fluentui-react-native/theming-utils to v0.25.0",
|
|
44
|
+
"commit": "not available"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"date": "Tue, 07 Nov 2023 20:20:36 GMT",
|
|
6
51
|
"version": "0.27.10",
|
|
7
52
|
"tag": "@fluentui-react-native/win32-theme_v0.27.10",
|
|
8
53
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,25 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/win32-theme
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Thu, 09 Nov 2023 02:32:37 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.28.0
|
|
8
|
+
|
|
9
|
+
Thu, 09 Nov 2023 02:32:37 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- Update to react-native 0.72 (30809111+acoates-ms@users.noreply.github.com)
|
|
14
|
+
- Bump @fluentui-react-native/default-theme to v0.20.0
|
|
15
|
+
- Bump @fluentui-react-native/theme to v0.10.0
|
|
16
|
+
- Bump @fluentui-react-native/theme-tokens to v0.26.0
|
|
17
|
+
- Bump @fluentui-react-native/theme-types to v0.33.0
|
|
18
|
+
- Bump @fluentui-react-native/theming-utils to v0.25.0
|
|
19
|
+
|
|
7
20
|
## 0.27.10
|
|
8
21
|
|
|
9
|
-
Tue, 07 Nov 2023 20:
|
|
22
|
+
Tue, 07 Nov 2023 20:20:36 GMT
|
|
10
23
|
|
|
11
24
|
### Patches
|
|
12
25
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getThemingModule.native.d.ts","sourceRoot":"","sources":["../../src/NativeModule/getThemingModule.native.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAuB,MAAM,cAAc,CAAC;AAIvE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"getThemingModule.native.d.ts","sourceRoot":"","sources":["../../src/NativeModule/getThemingModule.native.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAuB,MAAM,cAAc,CAAC;AAIvE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAiBjE,wBAAgB,gBAAgB,IAAI,CAAC,mBAAmB,EAAE,kBAAkB,GAAG,SAAS,CAAC,CAgBxF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getThemingModule.native.js","sourceRoot":"","sources":["../../src/NativeModule/getThemingModule.native.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEvE,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAClF,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"getThemingModule.native.js","sourceRoot":"","sources":["../../src/NativeModule/getThemingModule.native.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEvE,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAClF,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAYhE,SAAS,iBAAiB;IACxB,IAAM,QAAQ,GAAG,OAAO,IAAI,SAAS,IAAI,SAAS,CAAC,SAAS,KAAK,SAAS,CAAC;IAC3E,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8EAA8E,CAAC,CAAC,CAAC;IACvH,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,MAAM,UAAU,gBAAgB;IAC9B,IAAM,MAAM,GAAG,mBAAmB,CAAC,GAAG,CAAuB,SAAS,CAAC,CAAC;IACxE,oEAAoE;IACpE,IAAI,MAAM,EAAE;QACV,IAAI,CAAC,cAAc,EAAE;YACnB,kEAAkE;YAClE,iCAAiC;YACjC,0BAA0B,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC;YAC3D,cAAc,GAAG,IAAI,CAAC;SACvB;QACD,iFAAiF;QACjF,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAAC,uBAAM,MAAM,KAAE,UAAU,EAAE,kBAAkB,IAAG,CAAC,CAAC,MAAM,EAAE,IAAI,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC;KACvH;IAED,oCAAoC;IACpC,OAAO,CAAC,oBAAoB,EAAE,SAAS,CAAC,CAAC;AAC3C,CAAC;AAED,IAAI,cAAc,GAAG,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getThemingModule.native.d.ts","sourceRoot":"","sources":["../../src/NativeModule/getThemingModule.native.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAuB,MAAM,cAAc,CAAC;AAIvE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"getThemingModule.native.d.ts","sourceRoot":"","sources":["../../src/NativeModule/getThemingModule.native.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAuB,MAAM,cAAc,CAAC;AAIvE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAiBjE,wBAAgB,gBAAgB,IAAI,CAAC,mBAAmB,EAAE,kBAAkB,GAAG,SAAS,CAAC,CAgBxF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getThemingModule.native.js","sourceRoot":"","sources":["../../src/NativeModule/getThemingModule.native.ts"],"names":[],"mappings":";;;;AACA,6CAAuE;AAEvE,+DAAkF;AAClF,uDAAgE;
|
|
1
|
+
{"version":3,"file":"getThemingModule.native.js","sourceRoot":"","sources":["../../src/NativeModule/getThemingModule.native.ts"],"names":[],"mappings":";;;;AACA,6CAAuE;AAEvE,+DAAkF;AAClF,uDAAgE;AAYhE,SAAS,iBAAiB;IACxB,IAAM,QAAQ,GAAG,OAAO,IAAI,SAAS,IAAI,SAAS,CAAC,SAAS,KAAK,SAAS,CAAC;IAC3E,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8EAA8E,CAAC,CAAC,CAAC;IACvH,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,SAAgB,gBAAgB;IAC9B,IAAM,MAAM,GAAG,kCAAmB,CAAC,GAAG,CAAuB,SAAS,CAAC,CAAC;IACxE,oEAAoE;IACpE,IAAI,MAAM,EAAE;QACV,IAAI,CAAC,cAAc,EAAE;YACnB,kEAAkE;YAClE,iCAAiC;YACjC,IAAA,6CAA0B,EAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC;YAC3D,cAAc,GAAG,IAAI,CAAC;SACvB;QACD,iFAAiF;QACjF,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAAC,uCAAM,MAAM,KAAE,UAAU,EAAE,yCAAkB,IAAG,CAAC,CAAC,MAAM,EAAE,IAAI,iCAAkB,CAAC,MAAM,CAAC,CAAC,CAAC;KACvH;IAED,oCAAoC;IACpC,OAAO,CAAC,2CAAoB,EAAE,SAAS,CAAC,CAAC;AAC3C,CAAC;AAhBD,4CAgBC;AAED,IAAI,cAAc,GAAG,KAAK,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/win32-theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"description": "Win32 office theme that works with the theming native module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -27,26 +27,27 @@
|
|
|
27
27
|
"author": "",
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@fluentui-react-native/default-theme": ">=0.
|
|
30
|
+
"@fluentui-react-native/default-theme": ">=0.20.0 <1.0.0",
|
|
31
31
|
"@fluentui-react-native/design-tokens-win32": "^0.53.0",
|
|
32
32
|
"@fluentui-react-native/memo-cache": "^1.3.1",
|
|
33
|
-
"@fluentui-react-native/theme": ">=0.
|
|
34
|
-
"@fluentui-react-native/theme-tokens": ">=0.
|
|
35
|
-
"@fluentui-react-native/theme-types": ">=0.
|
|
36
|
-
"@fluentui-react-native/theming-utils": ">=0.
|
|
33
|
+
"@fluentui-react-native/theme": ">=0.10.0 <1.0.0",
|
|
34
|
+
"@fluentui-react-native/theme-tokens": ">=0.26.0 <1.0.0",
|
|
35
|
+
"@fluentui-react-native/theme-types": ">=0.33.0 <1.0.0",
|
|
36
|
+
"@fluentui-react-native/theming-utils": ">=0.25.0 <1.0.0",
|
|
37
37
|
"tslib": "^2.3.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@fluentui-react-native/eslint-config-rules": "^0.1.1",
|
|
41
41
|
"@fluentui-react-native/scripts": "^0.1.1",
|
|
42
|
-
"@office-iss/react-native-win32": "^0.
|
|
42
|
+
"@office-iss/react-native-win32": "^0.72.0",
|
|
43
|
+
"@react-native/metro-config": "^0.72.0",
|
|
43
44
|
"@types/react": "^18.2.0",
|
|
44
45
|
"react": "18.2.0",
|
|
45
|
-
"react-native": "^0.
|
|
46
|
+
"react-native": "^0.72.0"
|
|
46
47
|
},
|
|
47
48
|
"peerDependencies": {
|
|
48
49
|
"react": "18.2.0",
|
|
49
|
-
"react-native": "^0.
|
|
50
|
+
"react-native": "^0.72.0"
|
|
50
51
|
},
|
|
51
52
|
"rnx-kit": {
|
|
52
53
|
"kitType": "library",
|
|
@@ -55,7 +56,7 @@
|
|
|
55
56
|
"microsoft/react-native"
|
|
56
57
|
],
|
|
57
58
|
"requirements": [
|
|
58
|
-
"react-native@0.
|
|
59
|
+
"react-native@0.72"
|
|
59
60
|
],
|
|
60
61
|
"capabilities": [
|
|
61
62
|
"core",
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { DeviceEventEmitter, TurboModule } from 'react-native';
|
|
2
2
|
import { NativeEventEmitter, TurboModuleRegistry } from 'react-native';
|
|
3
3
|
|
|
4
4
|
import { fallbackGetPalette, fallbackOfficeModule } from './fallbackOfficeModule';
|
|
5
5
|
import { setCurrentHostThemeSetting } from './hostThemeSetting';
|
|
6
6
|
import type { OfficeThemingModule } from './officeThemingModule';
|
|
7
7
|
|
|
8
|
+
type EventSubscriptionVendor = typeof DeviceEventEmitter.sharedSubscriber;
|
|
9
|
+
|
|
8
10
|
/**
|
|
9
11
|
* If we have a userAgent string, let's assume we're web debugging. __DEV__ is for developer bundles. Currently,
|
|
10
12
|
* react-native only polyfills navigator with { product: 'ReactNative', geolocation: NativeModules.Geolocation }
|