@uifabricshared/theming-react-native 0.13.14 → 0.13.17

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 CHANGED
@@ -2,7 +2,88 @@
2
2
  "name": "@uifabricshared/theming-react-native",
3
3
  "entries": [
4
4
  {
5
- "date": "Fri, 04 Mar 2022 23:41:59 GMT",
5
+ "date": "Tue, 05 Apr 2022 20:04:12 GMT",
6
+ "tag": "@uifabricshared/theming-react-native_v0.13.17",
7
+ "version": "0.13.17",
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.14",
14
+ "commit": "c183b7eb02925bf1d1284ad1b3c80c0f2e0c442f"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@uifabricshared/theming-react-native",
19
+ "comment": "Bump @fluentui-react-native/win32-theme to v0.15.0",
20
+ "commit": "c183b7eb02925bf1d1284ad1b3c80c0f2e0c442f"
21
+ }
22
+ ]
23
+ }
24
+ },
25
+ {
26
+ "date": "Thu, 31 Mar 2022 07:27:48 GMT",
27
+ "tag": "@uifabricshared/theming-react-native_v0.13.16",
28
+ "version": "0.13.16",
29
+ "comments": {
30
+ "patch": [
31
+ {
32
+ "author": "4123478+tido64@users.noreply.github.com",
33
+ "package": "@uifabricshared/theming-react-native",
34
+ "commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed",
35
+ "comment": "Ban `export *` in index files for better tree-shakeability"
36
+ },
37
+ {
38
+ "author": "beachball",
39
+ "package": "@uifabricshared/theming-react-native",
40
+ "comment": "Bump @fluentui-react-native/default-theme to v0.9.13",
41
+ "commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
42
+ },
43
+ {
44
+ "author": "beachball",
45
+ "package": "@uifabricshared/theming-react-native",
46
+ "comment": "Bump @fluentui-react-native/win32-theme to v0.14.15",
47
+ "commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
48
+ },
49
+ {
50
+ "author": "beachball",
51
+ "package": "@uifabricshared/theming-react-native",
52
+ "comment": "Bump @uifabricshared/theme-registry to v0.7.3",
53
+ "commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
54
+ },
55
+ {
56
+ "author": "beachball",
57
+ "package": "@uifabricshared/theming-react-native",
58
+ "comment": "Bump @uifabricshared/theming-ramp to v0.16.6",
59
+ "commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
60
+ }
61
+ ]
62
+ }
63
+ },
64
+ {
65
+ "date": "Wed, 23 Mar 2022 17:24:05 GMT",
66
+ "tag": "@uifabricshared/theming-react-native_v0.13.15",
67
+ "version": "0.13.15",
68
+ "comments": {
69
+ "patch": [
70
+ {
71
+ "author": "beachball",
72
+ "package": "@uifabricshared/theming-react-native",
73
+ "comment": "Bump @fluentui-react-native/default-theme to v0.9.12",
74
+ "commit": "0a18d2f8bb6505c6c6e2445ff3ba62ac79334872"
75
+ },
76
+ {
77
+ "author": "beachball",
78
+ "package": "@uifabricshared/theming-react-native",
79
+ "comment": "Bump @fluentui-react-native/win32-theme to v0.14.14",
80
+ "commit": "0a18d2f8bb6505c6c6e2445ff3ba62ac79334872"
81
+ }
82
+ ]
83
+ }
84
+ },
85
+ {
86
+ "date": "Fri, 04 Mar 2022 23:43:10 GMT",
6
87
  "tag": "@uifabricshared/theming-react-native_v0.13.14",
7
88
  "version": "0.13.14",
8
89
  "comments": {
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 Fri, 04 Mar 2022 23:41:59 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 05 Apr 2022 20:04:12 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.13.17
8
+
9
+ Tue, 05 Apr 2022 20:04:12 GMT
10
+
11
+ ### Patches
12
+
13
+ - Bump @fluentui-react-native/default-theme to v0.9.14
14
+ - Bump @fluentui-react-native/win32-theme to v0.15.0
15
+
16
+ ## 0.13.16
17
+
18
+ Thu, 31 Mar 2022 07:27:48 GMT
19
+
20
+ ### Patches
21
+
22
+ - Ban `export *` in index files for better tree-shakeability (4123478+tido64@users.noreply.github.com)
23
+ - Bump @fluentui-react-native/default-theme to v0.9.13
24
+ - Bump @fluentui-react-native/win32-theme to v0.14.15
25
+ - Bump @uifabricshared/theme-registry to v0.7.3
26
+ - Bump @uifabricshared/theming-ramp to v0.16.6
27
+
28
+ ## 0.13.15
29
+
30
+ Wed, 23 Mar 2022 17:24:05 GMT
31
+
32
+ ### Patches
33
+
34
+ - Bump @fluentui-react-native/default-theme to v0.9.12
35
+ - Bump @fluentui-react-native/win32-theme to v0.14.14
36
+
7
37
  ## 0.13.14
8
38
 
9
- Fri, 04 Mar 2022 23:41:59 GMT
39
+ Fri, 04 Mar 2022 23:43:10 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 * from './Theme.types';
2
+ export { IPartialTheme, ITheme } from './Theme.types';
3
+ export type { IThemeDefinition, ThemeRegistry } from './Theme.types';
3
4
  export { IThemeLayerProps, ThemeLayer } from './ThemeLayer';
4
- export * from './platform';
5
- export * from './ThemeProvider';
6
- export * from './ThemeProvider.types';
7
- export * from './ThemeContext';
8
- export * from './NativeModule';
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,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC5D,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC"}
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 * from './platform';
5
- export * from './ThemeProvider';
6
- export * from './ThemeProvider.types';
7
- export * from './ThemeContext';
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;AAC3H,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAoB,UAAU,EAAE,MAAM,cAAc,CAAC;AAC5D,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,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"}
@@ -1,9 +1,11 @@
1
1
  export { addThemeRegistryListener, removeThemeRegistryListener, setTheme, getTheme, augmentPlatformTheme } from './Global';
2
- export * from './Theme.types';
2
+ export { IPartialTheme, ITheme } from './Theme.types';
3
+ export type { IThemeDefinition, ThemeRegistry } from './Theme.types';
3
4
  export { IThemeLayerProps, ThemeLayer } from './ThemeLayer';
4
- export * from './platform';
5
- export * from './ThemeProvider';
6
- export * from './ThemeProvider.types';
7
- export * from './ThemeContext';
8
- export * from './NativeModule';
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,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC5D,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC"}
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"}
@@ -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
- __exportStar(require("./platform"), exports);
24
- __exportStar(require("./ThemeProvider"), exports);
25
- __exportStar(require("./ThemeProvider.types"), exports);
26
- __exportStar(require("./ThemeContext"), exports);
27
- __exportStar(require("./NativeModule"), exports);
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":";;;;;;;;;;;;;AAAA,mCAA2H;AAAlH,kHAAA,wBAAwB,OAAA;AAAE,qHAAA,2BAA2B,OAAA;AAAE,kGAAA,QAAQ,OAAA;AAAE,kGAAA,QAAQ,OAAA;AAAE,8GAAA,oBAAoB,OAAA;AACxG,gDAA8B;AAC9B,2CAA4D;AAAjC,wGAAA,UAAU,OAAA;AACrC,6CAA2B;AAC3B,kDAAgC;AAChC,wDAAsC;AACtC,iDAA+B;AAC/B,iDAA+B"}
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.14",
3
+ "version": "0.13.17",
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.11 <1.0.0",
31
- "@fluentui-react-native/win32-theme": ">=0.14.13 <1.0.0",
32
- "@uifabricshared/theme-registry": ">=0.7.2 <1.0.0",
33
- "@uifabricshared/theming-ramp": ">=0.16.5 <1.0.0"
30
+ "@fluentui-react-native/default-theme": ">=0.9.14 <1.0.0",
31
+ "@fluentui-react-native/win32-theme": ">=0.15.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 * from './Theme.types';
2
+ export { IPartialTheme, ITheme } from './Theme.types';
3
+ export type { IThemeDefinition, ThemeRegistry } from './Theme.types';
3
4
  export { IThemeLayerProps, ThemeLayer } from './ThemeLayer';
4
- export * from './platform';
5
- export * from './ThemeProvider';
6
- export * from './ThemeProvider.types';
7
- export * from './ThemeContext';
8
- export * from './NativeModule';
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';