@uifabricshared/theming-react-native 0.13.15 → 0.13.18
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 +84 -3
- package/CHANGELOG.md +32 -2
- package/lib/index.d.ts +8 -6
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +4 -6
- package/lib/index.js.map +1 -1
- package/lib-commonjs/index.d.ts +8 -6
- package/lib-commonjs/index.d.ts.map +1 -1
- package/lib-commonjs/index.js +13 -17
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +5 -5
- package/src/index.ts +8 -6
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,88 @@
|
|
|
2
2
|
"name": "@uifabricshared/theming-react-native",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "Wed,
|
|
5
|
+
"date": "Wed, 06 Apr 2022 22:56:55 GMT",
|
|
6
|
+
"tag": "@uifabricshared/theming-react-native_v0.13.18",
|
|
7
|
+
"version": "0.13.18",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "beachball",
|
|
12
|
+
"package": "@uifabricshared/theming-react-native",
|
|
13
|
+
"comment": "Bump @fluentui-react-native/default-theme to v0.9.15",
|
|
14
|
+
"commit": "bcd4ac6dc74295095a0564905024ef32d6450cff"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@uifabricshared/theming-react-native",
|
|
19
|
+
"comment": "Bump @fluentui-react-native/win32-theme to v0.16.0",
|
|
20
|
+
"commit": "bcd4ac6dc74295095a0564905024ef32d6450cff"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"date": "Tue, 05 Apr 2022 20:05:50 GMT",
|
|
27
|
+
"tag": "@uifabricshared/theming-react-native_v0.13.17",
|
|
28
|
+
"version": "0.13.17",
|
|
29
|
+
"comments": {
|
|
30
|
+
"patch": [
|
|
31
|
+
{
|
|
32
|
+
"author": "beachball",
|
|
33
|
+
"package": "@uifabricshared/theming-react-native",
|
|
34
|
+
"comment": "Bump @fluentui-react-native/default-theme to v0.9.14",
|
|
35
|
+
"commit": "c183b7eb02925bf1d1284ad1b3c80c0f2e0c442f"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"author": "beachball",
|
|
39
|
+
"package": "@uifabricshared/theming-react-native",
|
|
40
|
+
"comment": "Bump @fluentui-react-native/win32-theme to v0.15.0",
|
|
41
|
+
"commit": "c183b7eb02925bf1d1284ad1b3c80c0f2e0c442f"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"date": "Thu, 31 Mar 2022 07:27:48 GMT",
|
|
48
|
+
"tag": "@uifabricshared/theming-react-native_v0.13.16",
|
|
49
|
+
"version": "0.13.16",
|
|
50
|
+
"comments": {
|
|
51
|
+
"patch": [
|
|
52
|
+
{
|
|
53
|
+
"author": "4123478+tido64@users.noreply.github.com",
|
|
54
|
+
"package": "@uifabricshared/theming-react-native",
|
|
55
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed",
|
|
56
|
+
"comment": "Ban `export *` in index files for better tree-shakeability"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"author": "beachball",
|
|
60
|
+
"package": "@uifabricshared/theming-react-native",
|
|
61
|
+
"comment": "Bump @fluentui-react-native/default-theme to v0.9.13",
|
|
62
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"author": "beachball",
|
|
66
|
+
"package": "@uifabricshared/theming-react-native",
|
|
67
|
+
"comment": "Bump @fluentui-react-native/win32-theme to v0.14.15",
|
|
68
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"author": "beachball",
|
|
72
|
+
"package": "@uifabricshared/theming-react-native",
|
|
73
|
+
"comment": "Bump @uifabricshared/theme-registry to v0.7.3",
|
|
74
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"author": "beachball",
|
|
78
|
+
"package": "@uifabricshared/theming-react-native",
|
|
79
|
+
"comment": "Bump @uifabricshared/theming-ramp to v0.16.6",
|
|
80
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"date": "Wed, 23 Mar 2022 17:24:05 GMT",
|
|
6
87
|
"tag": "@uifabricshared/theming-react-native_v0.13.15",
|
|
7
88
|
"version": "0.13.15",
|
|
8
89
|
"comments": {
|
|
@@ -11,13 +92,13 @@
|
|
|
11
92
|
"author": "beachball",
|
|
12
93
|
"package": "@uifabricshared/theming-react-native",
|
|
13
94
|
"comment": "Bump @fluentui-react-native/default-theme to v0.9.12",
|
|
14
|
-
"commit": "
|
|
95
|
+
"commit": "0a18d2f8bb6505c6c6e2445ff3ba62ac79334872"
|
|
15
96
|
},
|
|
16
97
|
{
|
|
17
98
|
"author": "beachball",
|
|
18
99
|
"package": "@uifabricshared/theming-react-native",
|
|
19
100
|
"comment": "Bump @fluentui-react-native/win32-theme to v0.14.14",
|
|
20
|
-
"commit": "
|
|
101
|
+
"commit": "0a18d2f8bb6505c6c6e2445ff3ba62ac79334872"
|
|
21
102
|
}
|
|
22
103
|
]
|
|
23
104
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,42 @@
|
|
|
1
1
|
# Change Log - @uifabricshared/theming-react-native
|
|
2
2
|
|
|
3
|
-
This log was last generated on Wed,
|
|
3
|
+
This log was last generated on Wed, 06 Apr 2022 22:56:55 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.13.18
|
|
8
|
+
|
|
9
|
+
Wed, 06 Apr 2022 22:56:55 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Bump @fluentui-react-native/default-theme to v0.9.15
|
|
14
|
+
- Bump @fluentui-react-native/win32-theme to v0.16.0
|
|
15
|
+
|
|
16
|
+
## 0.13.17
|
|
17
|
+
|
|
18
|
+
Tue, 05 Apr 2022 20:05:50 GMT
|
|
19
|
+
|
|
20
|
+
### Patches
|
|
21
|
+
|
|
22
|
+
- Bump @fluentui-react-native/default-theme to v0.9.14
|
|
23
|
+
- Bump @fluentui-react-native/win32-theme to v0.15.0
|
|
24
|
+
|
|
25
|
+
## 0.13.16
|
|
26
|
+
|
|
27
|
+
Thu, 31 Mar 2022 07:27:48 GMT
|
|
28
|
+
|
|
29
|
+
### Patches
|
|
30
|
+
|
|
31
|
+
- Ban `export *` in index files for better tree-shakeability (4123478+tido64@users.noreply.github.com)
|
|
32
|
+
- Bump @fluentui-react-native/default-theme to v0.9.13
|
|
33
|
+
- Bump @fluentui-react-native/win32-theme to v0.14.15
|
|
34
|
+
- Bump @uifabricshared/theme-registry to v0.7.3
|
|
35
|
+
- Bump @uifabricshared/theming-ramp to v0.16.6
|
|
36
|
+
|
|
7
37
|
## 0.13.15
|
|
8
38
|
|
|
9
|
-
Wed, 23 Mar 2022 17:
|
|
39
|
+
Wed, 23 Mar 2022 17:24:05 GMT
|
|
10
40
|
|
|
11
41
|
### Patches
|
|
12
42
|
|
package/lib/index.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export { addThemeRegistryListener, removeThemeRegistryListener, setTheme, getTheme, augmentPlatformTheme } from './Global';
|
|
2
|
-
export
|
|
2
|
+
export { IPartialTheme, ITheme } from './Theme.types';
|
|
3
|
+
export type { IThemeDefinition, ThemeRegistry } from './Theme.types';
|
|
3
4
|
export { IThemeLayerProps, ThemeLayer } from './ThemeLayer';
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
5
|
+
export { createPlatformThemeRegistry } from './platform';
|
|
6
|
+
export { ThemeProvider } from './ThemeProvider';
|
|
7
|
+
export type { IThemeProviderProps } from './ThemeProvider.types';
|
|
8
|
+
export { ThemeContext, ThemeRegistryContext, useTheme, useThemeRegistry } from './ThemeContext';
|
|
9
|
+
export { ThemingModuleHelper, getHostSettingsWin32 } from './NativeModule';
|
|
10
|
+
export type { IEventEmitter, IHostSettingsWin32, IPlatformThemeDefinition, IThemingModuleHelper } from './NativeModule';
|
|
9
11
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,2BAA2B,EAAE,QAAQ,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAC3H,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,2BAA2B,EAAE,QAAQ,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAC3H,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACtD,YAAY,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,EAAE,2BAA2B,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAChG,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAC3E,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
export { addThemeRegistryListener, removeThemeRegistryListener, setTheme, getTheme, augmentPlatformTheme } from './Global';
|
|
2
|
-
export * from './Theme.types';
|
|
3
2
|
export { ThemeLayer } from './ThemeLayer';
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export * from './NativeModule';
|
|
3
|
+
export { createPlatformThemeRegistry } from './platform';
|
|
4
|
+
export { ThemeProvider } from './ThemeProvider';
|
|
5
|
+
export { ThemeContext, ThemeRegistryContext, useTheme, useThemeRegistry } from './ThemeContext';
|
|
6
|
+
export { ThemingModuleHelper, getHostSettingsWin32 } from './NativeModule';
|
|
9
7
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,2BAA2B,EAAE,QAAQ,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,2BAA2B,EAAE,QAAQ,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAG3H,OAAO,EAAoB,UAAU,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,EAAE,2BAA2B,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAChG,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC"}
|
package/lib-commonjs/index.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export { addThemeRegistryListener, removeThemeRegistryListener, setTheme, getTheme, augmentPlatformTheme } from './Global';
|
|
2
|
-
export
|
|
2
|
+
export { IPartialTheme, ITheme } from './Theme.types';
|
|
3
|
+
export type { IThemeDefinition, ThemeRegistry } from './Theme.types';
|
|
3
4
|
export { IThemeLayerProps, ThemeLayer } from './ThemeLayer';
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
5
|
+
export { createPlatformThemeRegistry } from './platform';
|
|
6
|
+
export { ThemeProvider } from './ThemeProvider';
|
|
7
|
+
export type { IThemeProviderProps } from './ThemeProvider.types';
|
|
8
|
+
export { ThemeContext, ThemeRegistryContext, useTheme, useThemeRegistry } from './ThemeContext';
|
|
9
|
+
export { ThemingModuleHelper, getHostSettingsWin32 } from './NativeModule';
|
|
10
|
+
export type { IEventEmitter, IHostSettingsWin32, IPlatformThemeDefinition, IThemingModuleHelper } from './NativeModule';
|
|
9
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,2BAA2B,EAAE,QAAQ,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAC3H,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,2BAA2B,EAAE,QAAQ,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAC3H,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACtD,YAAY,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,EAAE,2BAA2B,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAChG,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAC3E,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC"}
|
package/lib-commonjs/index.js
CHANGED
|
@@ -1,28 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
exports.ThemeLayer = exports.augmentPlatformTheme = exports.getTheme = exports.setTheme = exports.removeThemeRegistryListener = exports.addThemeRegistryListener = void 0;
|
|
3
|
+
exports.getHostSettingsWin32 = exports.ThemingModuleHelper = exports.useThemeRegistry = exports.useTheme = exports.ThemeRegistryContext = exports.ThemeContext = exports.ThemeProvider = exports.createPlatformThemeRegistry = exports.ThemeLayer = exports.augmentPlatformTheme = exports.getTheme = exports.setTheme = exports.removeThemeRegistryListener = exports.addThemeRegistryListener = void 0;
|
|
14
4
|
var Global_1 = require("./Global");
|
|
15
5
|
Object.defineProperty(exports, "addThemeRegistryListener", { enumerable: true, get: function () { return Global_1.addThemeRegistryListener; } });
|
|
16
6
|
Object.defineProperty(exports, "removeThemeRegistryListener", { enumerable: true, get: function () { return Global_1.removeThemeRegistryListener; } });
|
|
17
7
|
Object.defineProperty(exports, "setTheme", { enumerable: true, get: function () { return Global_1.setTheme; } });
|
|
18
8
|
Object.defineProperty(exports, "getTheme", { enumerable: true, get: function () { return Global_1.getTheme; } });
|
|
19
9
|
Object.defineProperty(exports, "augmentPlatformTheme", { enumerable: true, get: function () { return Global_1.augmentPlatformTheme; } });
|
|
20
|
-
__exportStar(require("./Theme.types"), exports);
|
|
21
10
|
var ThemeLayer_1 = require("./ThemeLayer");
|
|
22
11
|
Object.defineProperty(exports, "ThemeLayer", { enumerable: true, get: function () { return ThemeLayer_1.ThemeLayer; } });
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
12
|
+
var platform_1 = require("./platform");
|
|
13
|
+
Object.defineProperty(exports, "createPlatformThemeRegistry", { enumerable: true, get: function () { return platform_1.createPlatformThemeRegistry; } });
|
|
14
|
+
var ThemeProvider_1 = require("./ThemeProvider");
|
|
15
|
+
Object.defineProperty(exports, "ThemeProvider", { enumerable: true, get: function () { return ThemeProvider_1.ThemeProvider; } });
|
|
16
|
+
var ThemeContext_1 = require("./ThemeContext");
|
|
17
|
+
Object.defineProperty(exports, "ThemeContext", { enumerable: true, get: function () { return ThemeContext_1.ThemeContext; } });
|
|
18
|
+
Object.defineProperty(exports, "ThemeRegistryContext", { enumerable: true, get: function () { return ThemeContext_1.ThemeRegistryContext; } });
|
|
19
|
+
Object.defineProperty(exports, "useTheme", { enumerable: true, get: function () { return ThemeContext_1.useTheme; } });
|
|
20
|
+
Object.defineProperty(exports, "useThemeRegistry", { enumerable: true, get: function () { return ThemeContext_1.useThemeRegistry; } });
|
|
21
|
+
var NativeModule_1 = require("./NativeModule");
|
|
22
|
+
Object.defineProperty(exports, "ThemingModuleHelper", { enumerable: true, get: function () { return NativeModule_1.ThemingModuleHelper; } });
|
|
23
|
+
Object.defineProperty(exports, "getHostSettingsWin32", { enumerable: true, get: function () { return NativeModule_1.getHostSettingsWin32; } });
|
|
28
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,mCAA2H;AAAlH,kHAAA,wBAAwB,OAAA;AAAE,qHAAA,2BAA2B,OAAA;AAAE,kGAAA,QAAQ,OAAA;AAAE,kGAAA,QAAQ,OAAA;AAAE,8GAAA,oBAAoB,OAAA;AAGxG,2CAA4D;AAAjC,wGAAA,UAAU,OAAA;AACrC,uCAAyD;AAAhD,uHAAA,2BAA2B,OAAA;AACpC,iDAAgD;AAAvC,8GAAA,aAAa,OAAA;AAEtB,+CAAgG;AAAvF,4GAAA,YAAY,OAAA;AAAE,oHAAA,oBAAoB,OAAA;AAAE,wGAAA,QAAQ,OAAA;AAAE,gHAAA,gBAAgB,OAAA;AACvE,+CAA2E;AAAlE,mHAAA,mBAAmB,OAAA;AAAE,oHAAA,oBAAoB,OAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uifabricshared/theming-react-native",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.18",
|
|
4
4
|
"description": "A library of functions which produce React Native styles from a Theme",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"author": "",
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@fluentui-react-native/default-theme": ">=0.9.
|
|
31
|
-
"@fluentui-react-native/win32-theme": ">=0.
|
|
32
|
-
"@uifabricshared/theme-registry": ">=0.7.
|
|
33
|
-
"@uifabricshared/theming-ramp": ">=0.16.
|
|
30
|
+
"@fluentui-react-native/default-theme": ">=0.9.15 <1.0.0",
|
|
31
|
+
"@fluentui-react-native/win32-theme": ">=0.16.0 <1.0.0",
|
|
32
|
+
"@uifabricshared/theme-registry": ">=0.7.3 <1.0.0",
|
|
33
|
+
"@uifabricshared/theming-ramp": ">=0.16.6 <1.0.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@fluentui-react-native/eslint-config-rules": "^0.1.1",
|
package/src/index.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export { addThemeRegistryListener, removeThemeRegistryListener, setTheme, getTheme, augmentPlatformTheme } from './Global';
|
|
2
|
-
export
|
|
2
|
+
export { IPartialTheme, ITheme } from './Theme.types';
|
|
3
|
+
export type { IThemeDefinition, ThemeRegistry } from './Theme.types';
|
|
3
4
|
export { IThemeLayerProps, ThemeLayer } from './ThemeLayer';
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
5
|
+
export { createPlatformThemeRegistry } from './platform';
|
|
6
|
+
export { ThemeProvider } from './ThemeProvider';
|
|
7
|
+
export type { IThemeProviderProps } from './ThemeProvider.types';
|
|
8
|
+
export { ThemeContext, ThemeRegistryContext, useTheme, useThemeRegistry } from './ThemeContext';
|
|
9
|
+
export { ThemingModuleHelper, getHostSettingsWin32 } from './NativeModule';
|
|
10
|
+
export type { IEventEmitter, IHostSettingsWin32, IPlatformThemeDefinition, IThemingModuleHelper } from './NativeModule';
|