@uifabricshared/theming-react-native 0.14.5 → 0.15.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.
Files changed (126) hide show
  1. package/CHANGELOG.json +49 -1
  2. package/CHANGELOG.md +21 -2
  3. package/lib/BaselinePlatformDefaults.d.ts +3 -0
  4. package/lib/BaselinePlatformDefaults.d.ts.map +1 -1
  5. package/lib/BaselinePlatformDefaults.js +3 -0
  6. package/lib/BaselinePlatformDefaults.js.map +1 -1
  7. package/lib/Global.d.ts +7 -0
  8. package/lib/Global.d.ts.map +1 -1
  9. package/lib/Global.js +7 -0
  10. package/lib/Global.js.map +1 -1
  11. package/lib/NativeModule/ThemingModule.d.ts +3 -0
  12. package/lib/NativeModule/ThemingModule.d.ts.map +1 -1
  13. package/lib/NativeModule/ThemingModule.js +3 -0
  14. package/lib/NativeModule/ThemingModule.js.map +1 -1
  15. package/lib/NativeModule/ThemingModule.types.d.ts +12 -0
  16. package/lib/NativeModule/ThemingModule.types.d.ts.map +1 -1
  17. package/lib/NativeModule/ThemingModuleHelpers.d.ts +6 -0
  18. package/lib/NativeModule/ThemingModuleHelpers.d.ts.map +1 -1
  19. package/lib/NativeModule/ThemingModuleHelpers.js +6 -0
  20. package/lib/NativeModule/ThemingModuleHelpers.js.map +1 -1
  21. package/lib/NativeModule/getHostSettings.d.ts +3 -0
  22. package/lib/NativeModule/getHostSettings.d.ts.map +1 -1
  23. package/lib/NativeModule/getHostSettings.js +3 -0
  24. package/lib/NativeModule/getHostSettings.js.map +1 -1
  25. package/lib/Theme.types.d.ts +9 -0
  26. package/lib/Theme.types.d.ts.map +1 -1
  27. package/lib/ThemeContext.d.ts +9 -0
  28. package/lib/ThemeContext.d.ts.map +1 -1
  29. package/lib/ThemeContext.js +9 -0
  30. package/lib/ThemeContext.js.map +1 -1
  31. package/lib/ThemeLayer.d.ts +2 -0
  32. package/lib/ThemeLayer.d.ts.map +1 -1
  33. package/lib/ThemeLayer.js +1 -0
  34. package/lib/ThemeLayer.js.map +1 -1
  35. package/lib/ThemeProvider.d.ts +3 -0
  36. package/lib/ThemeProvider.d.ts.map +1 -1
  37. package/lib/ThemeProvider.js +3 -0
  38. package/lib/ThemeProvider.js.map +1 -1
  39. package/lib/ThemeProvider.types.d.ts +3 -0
  40. package/lib/ThemeProvider.types.d.ts.map +1 -1
  41. package/lib/index.d.ts +30 -0
  42. package/lib/index.d.ts.map +1 -1
  43. package/lib/index.js +18 -0
  44. package/lib/index.js.map +1 -1
  45. package/lib/platform/PlatformDefaults.d.ts +3 -0
  46. package/lib/platform/PlatformDefaults.d.ts.map +1 -1
  47. package/lib/platform/PlatformDefaults.js +3 -0
  48. package/lib/platform/PlatformDefaults.js.map +1 -1
  49. package/lib/platform/PlatformDefaults.native.d.ts +3 -0
  50. package/lib/platform/PlatformDefaults.native.d.ts.map +1 -1
  51. package/lib/platform/PlatformDefaults.native.js +3 -0
  52. package/lib/platform/PlatformDefaults.native.js.map +1 -1
  53. package/lib-commonjs/BaselinePlatformDefaults.d.ts +3 -0
  54. package/lib-commonjs/BaselinePlatformDefaults.d.ts.map +1 -1
  55. package/lib-commonjs/BaselinePlatformDefaults.js +3 -0
  56. package/lib-commonjs/BaselinePlatformDefaults.js.map +1 -1
  57. package/lib-commonjs/Global.d.ts +7 -0
  58. package/lib-commonjs/Global.d.ts.map +1 -1
  59. package/lib-commonjs/Global.js +7 -0
  60. package/lib-commonjs/Global.js.map +1 -1
  61. package/lib-commonjs/NativeModule/ThemingModule.d.ts +3 -0
  62. package/lib-commonjs/NativeModule/ThemingModule.d.ts.map +1 -1
  63. package/lib-commonjs/NativeModule/ThemingModule.js +3 -0
  64. package/lib-commonjs/NativeModule/ThemingModule.js.map +1 -1
  65. package/lib-commonjs/NativeModule/ThemingModule.types.d.ts +12 -0
  66. package/lib-commonjs/NativeModule/ThemingModule.types.d.ts.map +1 -1
  67. package/lib-commonjs/NativeModule/ThemingModuleHelpers.d.ts +6 -0
  68. package/lib-commonjs/NativeModule/ThemingModuleHelpers.d.ts.map +1 -1
  69. package/lib-commonjs/NativeModule/ThemingModuleHelpers.js +6 -0
  70. package/lib-commonjs/NativeModule/ThemingModuleHelpers.js.map +1 -1
  71. package/lib-commonjs/NativeModule/getHostSettings.d.ts +3 -0
  72. package/lib-commonjs/NativeModule/getHostSettings.d.ts.map +1 -1
  73. package/lib-commonjs/NativeModule/getHostSettings.js +3 -0
  74. package/lib-commonjs/NativeModule/getHostSettings.js.map +1 -1
  75. package/lib-commonjs/Theme.types.d.ts +9 -0
  76. package/lib-commonjs/Theme.types.d.ts.map +1 -1
  77. package/lib-commonjs/ThemeContext.d.ts +9 -0
  78. package/lib-commonjs/ThemeContext.d.ts.map +1 -1
  79. package/lib-commonjs/ThemeContext.js +9 -0
  80. package/lib-commonjs/ThemeContext.js.map +1 -1
  81. package/lib-commonjs/ThemeLayer.d.ts +2 -0
  82. package/lib-commonjs/ThemeLayer.d.ts.map +1 -1
  83. package/lib-commonjs/ThemeLayer.js +1 -0
  84. package/lib-commonjs/ThemeLayer.js.map +1 -1
  85. package/lib-commonjs/ThemeProvider.d.ts +3 -0
  86. package/lib-commonjs/ThemeProvider.d.ts.map +1 -1
  87. package/lib-commonjs/ThemeProvider.js +3 -0
  88. package/lib-commonjs/ThemeProvider.js.map +1 -1
  89. package/lib-commonjs/ThemeProvider.types.d.ts +3 -0
  90. package/lib-commonjs/ThemeProvider.types.d.ts.map +1 -1
  91. package/lib-commonjs/index.d.ts +30 -0
  92. package/lib-commonjs/index.d.ts.map +1 -1
  93. package/lib-commonjs/index.js +18 -0
  94. package/lib-commonjs/index.js.map +1 -1
  95. package/lib-commonjs/platform/PlatformDefaults.d.ts +3 -0
  96. package/lib-commonjs/platform/PlatformDefaults.d.ts.map +1 -1
  97. package/lib-commonjs/platform/PlatformDefaults.js +3 -0
  98. package/lib-commonjs/platform/PlatformDefaults.js.map +1 -1
  99. package/lib-commonjs/platform/PlatformDefaults.native.d.ts +3 -0
  100. package/lib-commonjs/platform/PlatformDefaults.native.d.ts.map +1 -1
  101. package/lib-commonjs/platform/PlatformDefaults.native.js +3 -0
  102. package/lib-commonjs/platform/PlatformDefaults.native.js.map +1 -1
  103. package/package.json +5 -5
  104. package/src/BaselinePlatformDefaults.ts +3 -0
  105. package/src/Global.ts +7 -0
  106. package/src/NativeModule/ThemingModule.ts +3 -0
  107. package/src/NativeModule/ThemingModule.types.ts +12 -0
  108. package/src/NativeModule/ThemingModuleHelpers.ts +6 -0
  109. package/src/NativeModule/getHostSettings.ts +3 -0
  110. package/src/Theme.types.ts +11 -0
  111. package/src/ThemeContext.ts +9 -0
  112. package/src/ThemeLayer.tsx +2 -0
  113. package/src/ThemeProvider.tsx +3 -0
  114. package/src/ThemeProvider.types.ts +3 -0
  115. package/src/index.ts +30 -0
  116. package/src/platform/PlatformDefaults.native.ts +3 -0
  117. package/src/platform/PlatformDefaults.ts +3 -0
  118. package/lib/TSUtils.d.ts +0 -13
  119. package/lib/TSUtils.d.ts.map +0 -1
  120. package/lib/TSUtils.js +0 -10
  121. package/lib/TSUtils.js.map +0 -1
  122. package/lib-commonjs/TSUtils.d.ts +0 -13
  123. package/lib-commonjs/TSUtils.d.ts.map +0 -1
  124. package/lib-commonjs/TSUtils.js +0 -14
  125. package/lib-commonjs/TSUtils.js.map +0 -1
  126. package/src/TSUtils.ts +0 -25
@@ -1,3 +1,6 @@
1
1
  import { IThemingModuleHelper } from '../NativeModule';
2
+ /**
3
+ * @deprecated
4
+ */
2
5
  export declare function createPlatformThemeRegistry(_themeId?: string, _module?: IThemingModuleHelper): import("@uifabricshared/theme-registry").IThemeRegistry<import("@uifabricshared/theming-ramp").ITheme, import("@uifabricshared/theming-ramp").IPartialTheme>;
3
6
  //# sourceMappingURL=PlatformDefaults.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlatformDefaults.d.ts","sourceRoot":"","sources":["../../src/platform/PlatformDefaults.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,wBAAgB,2BAA2B,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,oBAAoB,gKAE5F"}
1
+ {"version":3,"file":"PlatformDefaults.d.ts","sourceRoot":"","sources":["../../src/platform/PlatformDefaults.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,oBAAoB,gKAE5F"}
@@ -1,6 +1,9 @@
1
1
  import { getBaselinePlatformTheme } from '../BaselinePlatformDefaults';
2
2
  import { createThemeRegistry } from '@uifabricshared/theme-registry';
3
3
  import { resolvePartialTheme } from '@uifabricshared/theming-ramp';
4
+ /**
5
+ * @deprecated
6
+ */
4
7
  export function createPlatformThemeRegistry(_themeId, _module) {
5
8
  return createThemeRegistry(getBaselinePlatformTheme(), resolvePartialTheme);
6
9
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PlatformDefaults.js","sourceRoot":"","sources":["../../src/platform/PlatformDefaults.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAGnE,MAAM,UAAU,2BAA2B,CAAC,QAAiB,EAAE,OAA8B;IAC3F,OAAO,mBAAmB,CAAC,wBAAwB,EAAE,EAAE,mBAAmB,CAAC,CAAC;AAC9E,CAAC"}
1
+ {"version":3,"file":"PlatformDefaults.js","sourceRoot":"","sources":["../../src/platform/PlatformDefaults.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAGnE;;GAEG;AACH,MAAM,UAAU,2BAA2B,CAAC,QAAiB,EAAE,OAA8B;IAC3F,OAAO,mBAAmB,CAAC,wBAAwB,EAAE,EAAE,mBAAmB,CAAC,CAAC;AAC9E,CAAC"}
@@ -1,3 +1,6 @@
1
1
  import { IThemingModuleHelper } from '../NativeModule';
2
+ /**
3
+ * @deprecated
4
+ */
2
5
  export declare function createPlatformThemeRegistry(platformThemeId?: string, module?: IThemingModuleHelper): import("@uifabricshared/theme-registry").IThemeRegistry<import("@uifabricshared/theming-ramp").ITheme, import("@uifabricshared/theming-ramp").IPartialTheme>;
3
6
  //# sourceMappingURL=PlatformDefaults.native.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlatformDefaults.native.d.ts","sourceRoot":"","sources":["../../src/platform/PlatformDefaults.native.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAI5E,wBAAgB,2BAA2B,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,MAAM,GAAE,oBAA0C,gKAMvH"}
1
+ {"version":3,"file":"PlatformDefaults.native.d.ts","sourceRoot":"","sources":["../../src/platform/PlatformDefaults.native.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAI5E;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,MAAM,GAAE,oBAA0C,gKAMvH"}
@@ -1,6 +1,9 @@
1
1
  import { ThemingModuleHelper } from '../NativeModule';
2
2
  import { createThemeRegistry } from '@uifabricshared/theme-registry';
3
3
  import { resolvePartialTheme } from '@uifabricshared/theming-ramp';
4
+ /**
5
+ * @deprecated
6
+ */
4
7
  export function createPlatformThemeRegistry(platformThemeId, module) {
5
8
  if (module === void 0) { module = ThemingModuleHelper; }
6
9
  var registry = createThemeRegistry(module.getPlatformDefaults(platformThemeId), resolvePartialTheme);
@@ -1 +1 @@
1
- {"version":3,"file":"PlatformDefaults.native.js","sourceRoot":"","sources":["../../src/platform/PlatformDefaults.native.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAwB,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEnE,MAAM,UAAU,2BAA2B,CAAC,eAAwB,EAAE,MAAkD;IAAlD,uBAAA,EAAA,4BAAkD;IACtH,IAAM,QAAQ,GAAG,mBAAmB,CAAC,MAAM,CAAC,mBAAmB,CAAC,eAAe,CAAC,EAAE,mBAAmB,CAAC,CAAC;IACvG,MAAM,CAAC,WAAW,CAAC;QACjB,QAAQ,CAAC,sBAAsB,CAAC,MAAM,CAAC,mBAAmB,CAAC,eAAe,CAAC,CAAC,CAAC;IAC/E,CAAC,CAAC,CAAC;IACH,OAAO,QAAQ,CAAC;AAClB,CAAC"}
1
+ {"version":3,"file":"PlatformDefaults.native.js","sourceRoot":"","sources":["../../src/platform/PlatformDefaults.native.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAwB,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEnE;;GAEG;AACH,MAAM,UAAU,2BAA2B,CAAC,eAAwB,EAAE,MAAkD;IAAlD,uBAAA,EAAA,4BAAkD;IACtH,IAAM,QAAQ,GAAG,mBAAmB,CAAC,MAAM,CAAC,mBAAmB,CAAC,eAAe,CAAC,EAAE,mBAAmB,CAAC,CAAC;IACvG,MAAM,CAAC,WAAW,CAAC;QACjB,QAAQ,CAAC,sBAAsB,CAAC,MAAM,CAAC,mBAAmB,CAAC,eAAe,CAAC,CAAC,CAAC;IAC/E,CAAC,CAAC,CAAC;IACH,OAAO,QAAQ,CAAC;AAClB,CAAC"}
@@ -1,3 +1,6 @@
1
1
  import { ITheme } from '@uifabricshared/theming-ramp';
2
+ /**
3
+ * @deprecated
4
+ */
2
5
  export declare function getBaselinePlatformTheme(): ITheme;
3
6
  //# sourceMappingURL=BaselinePlatformDefaults.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BaselinePlatformDefaults.d.ts","sourceRoot":"","sources":["../src/BaselinePlatformDefaults.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAGtD,wBAAgB,wBAAwB,IAAI,MAAM,CAEjD"}
1
+ {"version":3,"file":"BaselinePlatformDefaults.d.ts","sourceRoot":"","sources":["../src/BaselinePlatformDefaults.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAGtD;;GAEG;AACH,wBAAgB,wBAAwB,IAAI,MAAM,CAEjD"}
@@ -2,6 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getBaselinePlatformTheme = void 0;
4
4
  var default_theme_1 = require("@fluentui-react-native/default-theme");
5
+ /**
6
+ * @deprecated
7
+ */
5
8
  function getBaselinePlatformTheme() {
6
9
  return default_theme_1.defaultFluentTheme;
7
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"BaselinePlatformDefaults.js","sourceRoot":"","sources":["../src/BaselinePlatformDefaults.ts"],"names":[],"mappings":";;;AACA,sEAA0E;AAE1E,SAAgB,wBAAwB;IACtC,OAAO,kCAAkB,CAAC;AAC5B,CAAC;AAFD,4DAEC"}
1
+ {"version":3,"file":"BaselinePlatformDefaults.js","sourceRoot":"","sources":["../src/BaselinePlatformDefaults.ts"],"names":[],"mappings":";;;AACA,sEAA0E;AAE1E;;GAEG;AACH,SAAgB,wBAAwB;IACtC,OAAO,kCAAkB,CAAC;AAC5B,CAAC;AAFD,4DAEC"}
@@ -3,6 +3,7 @@ import { IProcessTheme, IThemeEventListener } from '@uifabricshared/theme-regist
3
3
  /**
4
4
  * Ensure that `_registry` is set. If not, create it using a native module to
5
5
  * provide platform defaults.
6
+ * @deprecated
6
7
  */
7
8
  export declare function getThemeRegistry(): ThemeRegistry;
8
9
  /**
@@ -14,6 +15,7 @@ export declare function getThemeRegistry(): ThemeRegistry;
14
15
  * The react tree may contain <ThemeLayer> controls which are tightly bound to
15
16
  * `_registry`. Changing `_registry` while the app is running will disrupt
16
17
  * theming, causing undefined behavior.
18
+ * @deprecated
17
19
  */
18
20
  export declare function setThemeRegistry(registry: ThemeRegistry): void;
19
21
  /**
@@ -21,21 +23,25 @@ export declare function setThemeRegistry(registry: ThemeRegistry): void;
21
23
  * @param definition - partial theme definition or processing function that defines the theme
22
24
  * @param name - name of the theme, undefined or '' for default
23
25
  * @param parent - parent theme to depend on, if unspecified this will pull from the default theme
26
+ * @deprecated
24
27
  */
25
28
  export declare function setTheme(definition: IPartialTheme | IProcessTheme<ITheme, IPartialTheme>, name?: string, parent?: string): void;
26
29
  /**
27
30
  * Register a theme event listener
28
31
  * @param listener - theme event listener to add
32
+ * @deprecated
29
33
  */
30
34
  export declare function addThemeRegistryListener(listener: IThemeEventListener): void;
31
35
  /**
32
36
  * Unregister a theme event listener
33
37
  * @param listener - theme event listener to remove
38
+ * @deprecated
34
39
  */
35
40
  export declare function removeThemeRegistryListener(listener: IThemeEventListener): void;
36
41
  /**
37
42
  * Get a theme by name
38
43
  * @param name - name of the theme. Undefined or '' will resolve to the default theme
44
+ * @deprecated
39
45
  */
40
46
  export declare function getTheme(name?: string): ITheme;
41
47
  /**
@@ -44,6 +50,7 @@ export declare function getTheme(name?: string): ITheme;
44
50
  *
45
51
  * @param definition - properties to add to the platform theme. Note that this will invalidate every theme and cause rerenders
46
52
  * if this is not done in the boot sequence.
53
+ * @deprecated
47
54
  */
48
55
  export declare function augmentPlatformTheme(definition: IPartialTheme): void;
49
56
  //# sourceMappingURL=Global.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Global.d.ts","sourceRoot":"","sources":["../src/Global.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAErE,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAIpF;;;GAGG;AACH,wBAAgB,gBAAgB,IAAI,aAAa,CAKhD;AAED;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,aAAa,GAAG,IAAI,CAE9D;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,UAAU,EAAE,aAAa,GAAG,aAAa,CAAC,MAAM,EAAE,aAAa,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAE/H;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,QAAQ,EAAE,mBAAmB,GAAG,IAAI,CAE5E;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,QAAQ,EAAE,mBAAmB,GAAG,IAAI,CAE/E;AAED;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAE9C;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,aAAa,GAAG,IAAI,CAEpE"}
1
+ {"version":3,"file":"Global.d.ts","sourceRoot":"","sources":["../src/Global.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAErE,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAIpF;;;;GAIG;AACH,wBAAgB,gBAAgB,IAAI,aAAa,CAKhD;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,aAAa,GAAG,IAAI,CAE9D;AAED;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,UAAU,EAAE,aAAa,GAAG,aAAa,CAAC,MAAM,EAAE,aAAa,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAE/H;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,QAAQ,EAAE,mBAAmB,GAAG,IAAI,CAE5E;AAED;;;;GAIG;AACH,wBAAgB,2BAA2B,CAAC,QAAQ,EAAE,mBAAmB,GAAG,IAAI,CAE/E;AAED;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAE9C;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,aAAa,GAAG,IAAI,CAEpE"}
@@ -6,6 +6,7 @@ var _registry;
6
6
  /**
7
7
  * Ensure that `_registry` is set. If not, create it using a native module to
8
8
  * provide platform defaults.
9
+ * @deprecated
9
10
  */
10
11
  function getThemeRegistry() {
11
12
  if (!_registry) {
@@ -23,6 +24,7 @@ exports.getThemeRegistry = getThemeRegistry;
23
24
  * The react tree may contain <ThemeLayer> controls which are tightly bound to
24
25
  * `_registry`. Changing `_registry` while the app is running will disrupt
25
26
  * theming, causing undefined behavior.
27
+ * @deprecated
26
28
  */
27
29
  function setThemeRegistry(registry) {
28
30
  _registry = registry;
@@ -33,6 +35,7 @@ exports.setThemeRegistry = setThemeRegistry;
33
35
  * @param definition - partial theme definition or processing function that defines the theme
34
36
  * @param name - name of the theme, undefined or '' for default
35
37
  * @param parent - parent theme to depend on, if unspecified this will pull from the default theme
38
+ * @deprecated
36
39
  */
37
40
  function setTheme(definition, name, parent) {
38
41
  return getThemeRegistry().setTheme(definition, name, parent);
@@ -41,6 +44,7 @@ exports.setTheme = setTheme;
41
44
  /**
42
45
  * Register a theme event listener
43
46
  * @param listener - theme event listener to add
47
+ * @deprecated
44
48
  */
45
49
  function addThemeRegistryListener(listener) {
46
50
  return getThemeRegistry().addEventListener(listener);
@@ -49,6 +53,7 @@ exports.addThemeRegistryListener = addThemeRegistryListener;
49
53
  /**
50
54
  * Unregister a theme event listener
51
55
  * @param listener - theme event listener to remove
56
+ * @deprecated
52
57
  */
53
58
  function removeThemeRegistryListener(listener) {
54
59
  return getThemeRegistry().removeEventListener(listener);
@@ -57,6 +62,7 @@ exports.removeThemeRegistryListener = removeThemeRegistryListener;
57
62
  /**
58
63
  * Get a theme by name
59
64
  * @param name - name of the theme. Undefined or '' will resolve to the default theme
65
+ * @deprecated
60
66
  */
61
67
  function getTheme(name) {
62
68
  return getThemeRegistry().getTheme(name);
@@ -68,6 +74,7 @@ exports.getTheme = getTheme;
68
74
  *
69
75
  * @param definition - properties to add to the platform theme. Note that this will invalidate every theme and cause rerenders
70
76
  * if this is not done in the boot sequence.
77
+ * @deprecated
71
78
  */
72
79
  function augmentPlatformTheme(definition) {
73
80
  getThemeRegistry().updatePlatformDefaults(definition);
@@ -1 +1 @@
1
- {"version":3,"file":"Global.js","sourceRoot":"","sources":["../src/Global.ts"],"names":[],"mappings":";;;AACA,uCAAyD;AAGzD,IAAI,SAAwB,CAAC;AAE7B;;;GAGG;AACH,SAAgB,gBAAgB;IAC9B,IAAI,CAAC,SAAS,EAAE;QACd,SAAS,GAAG,IAAA,sCAA2B,GAAE,CAAC;KAC3C;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AALD,4CAKC;AAED;;;;;;;;;GASG;AACH,SAAgB,gBAAgB,CAAC,QAAuB;IACtD,SAAS,GAAG,QAAQ,CAAC;AACvB,CAAC;AAFD,4CAEC;AAED;;;;;GAKG;AACH,SAAgB,QAAQ,CAAC,UAAgE,EAAE,IAAa,EAAE,MAAe;IACvH,OAAO,gBAAgB,EAAE,CAAC,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;AAC/D,CAAC;AAFD,4BAEC;AAED;;;GAGG;AACH,SAAgB,wBAAwB,CAAC,QAA6B;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H,SAAgB,2BAA2B,CAAC,QAA6B;IACvE,OAAO,gBAAgB,EAAE,CAAC,mBAAmB,CAAC,QAAQ,CAAC,CAAC;AAC1D,CAAC;AAFD,kEAEC;AAED;;;;GAIG;AACH,SAAgB,QAAQ,CAAC,IAAa;IACpC,OAAO,gBAAgB,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAC3C,CAAC;AAFD,4BAEC;AAED;;;;;;;GAOG;AACH,SAAgB,oBAAoB,CAAC,UAAyB;IAC5D,gBAAgB,EAAE,CAAC,sBAAsB,CAAC,UAAU,CAAC,CAAC;AACxD,CAAC;AAFD,oDAEC"}
@@ -1,2 +1,5 @@
1
+ /**
2
+ * @deprecated
3
+ */
1
4
  export declare const ThemingModuleHelper: import("./ThemingModule.types").IThemingModuleHelper;
2
5
  //# sourceMappingURL=ThemingModule.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThemingModule.d.ts","sourceRoot":"","sources":["../../src/NativeModule/ThemingModule.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,mBAAmB,sDAAmD,CAAC"}
1
+ {"version":3,"file":"ThemingModule.d.ts","sourceRoot":"","sources":["../../src/NativeModule/ThemingModule.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,eAAO,MAAM,mBAAmB,sDAAmD,CAAC"}
@@ -3,5 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ThemingModuleHelper = void 0;
4
4
  var ThemingModuleHelpers_1 = require("./ThemingModuleHelpers");
5
5
  var win32_theme_1 = require("@fluentui-react-native/win32-theme");
6
+ /**
7
+ * @deprecated
8
+ */
6
9
  exports.ThemingModuleHelper = ThemingModuleHelpers_1.createThemingModuleHelper.apply(void 0, (0, win32_theme_1.getThemingModule)());
7
10
  //# sourceMappingURL=ThemingModule.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThemingModule.js","sourceRoot":"","sources":["../../src/NativeModule/ThemingModule.ts"],"names":[],"mappings":";;;AAAA,+DAAmE;AACnE,kEAAsE;AAEzD,QAAA,mBAAmB,GAAG,gDAAyB,eAAI,IAAA,8BAAgB,GAAE,EAAE"}
1
+ {"version":3,"file":"ThemingModule.js","sourceRoot":"","sources":["../../src/NativeModule/ThemingModule.ts"],"names":[],"mappings":";;;AAAA,+DAAmE;AACnE,kEAAsE;AAEtE;;GAEG;AACU,QAAA,mBAAmB,GAAG,gDAAyB,eAAI,IAAA,8BAAgB,GAAE,EAAE"}
@@ -1,10 +1,19 @@
1
1
  import { ITheme, IPartialTheme, OfficePalette as IOfficePalette } from '@uifabricshared/theming-ramp';
2
2
  import { IProcessTheme } from '@uifabricshared/theme-registry';
3
3
  import { PlatformDefaultsChangedCallback } from '@fluentui-react-native/win32-theme';
4
+ /**
5
+ * @deprecated
6
+ */
4
7
  export interface IEventEmitter {
5
8
  addListener: (event: string, PlatformDefaultsChangedCallback: any) => void;
6
9
  }
10
+ /**
11
+ * @deprecated
12
+ */
7
13
  export declare type IPlatformThemeDefinition = IPartialTheme | IProcessTheme<ITheme, IPartialTheme>;
14
+ /**
15
+ * @deprecated
16
+ */
8
17
  export interface IThemingModuleHelper {
9
18
  /**
10
19
  * Gets a complete platform theme suitable for using with a Theme Registry
@@ -17,6 +26,9 @@ export interface IThemingModuleHelper {
17
26
  getPlatformThemeDefinition: (themeId?: string) => IPlatformThemeDefinition;
18
27
  addListener: (listener: PlatformDefaultsChangedCallback) => void;
19
28
  }
29
+ /**
30
+ * @deprecated
31
+ */
20
32
  export declare type IHostSettingsWin32 = {
21
33
  palette: IOfficePalette;
22
34
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ThemingModule.types.d.ts","sourceRoot":"","sources":["../../src/NativeModule/ThemingModule.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,IAAI,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACtG,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAA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AC,EAAE,MAAM,KAAK,wBAAwB,CAAC;IAC3E,WAAW,EAAE,CAAC,QAAQ,EAAE,+BAA+B,KAAK,IAAI,CAAC;CAClE;AAED;;GAEG;AACH,oBAAY,kBAAkB,GAAG;IAC/B,OAAO,EAAE,cAAc,CAAC;CACzB,CAAC"}
@@ -4,7 +4,13 @@ import { OfficeThemingModule } from '@fluentui-react-native/win32-theme';
4
4
  declare type PaletteCache = {
5
5
  [key: string]: OfficePalette;
6
6
  };
7
+ /**
8
+ * @deprecated
9
+ */
7
10
  export declare function translateOfficeTheme(module: OfficeThemingModule, cache: PaletteCache, id?: string, themeName?: string): import("@uifabricshared/theming-ramp").IPartialTheme;
11
+ /**
12
+ * @deprecated
13
+ */
8
14
  export declare function createThemingModuleHelper(themingModule?: OfficeThemingModule, emitter?: IEventEmitter): IThemingModuleHelper;
9
15
  export {};
10
16
  //# sourceMappingURL=ThemingModuleHelpers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThemingModuleHelpers.d.ts","sourceRoot":"","sources":["../../src/NativeModule/ThemingModuleHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC1F,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE5E,OAAO,EACL,mBAAmB,EAKpB,MAAM,oCAAoC,CAAC;AAE5C,aAAK,YAAY,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAA;CAAE,CAAC;AAyBrD,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,mBAAmB,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,wDAGrH;AAED,wBAAgB,yBAAyB,CAAC,aAAa,CAAC,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,oBAAoB,CAuB5H"}
1
+ {"version":3,"file":"ThemingModuleHelpers.d.ts","sourceRoot":"","sources":["../../src/NativeModule/ThemingModuleHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC1F,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE5E,OAAO,EACL,mBAAmB,EAKpB,MAAM,oCAAoC,CAAC;AAE5C,aAAK,YAAY,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAA;CAAE,CAAC;AAyBrD;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,mBAAmB,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,wDAGrH;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,aAAa,CAAC,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,oBAAoB,CAuB5H"}
@@ -23,11 +23,17 @@ function ensurePalette(module, paletteCache, palette) {
23
23
  }
24
24
  return paletteCache[key] || {};
25
25
  }
26
+ /**
27
+ * @deprecated
28
+ */
26
29
  function translateOfficeTheme(module, cache, id, themeName) {
27
30
  var palette = ensurePalette(module, cache, id);
28
31
  return (0, win32_theme_1.createPartialOfficeTheme)(module, themeName, palette);
29
32
  }
30
33
  exports.translateOfficeTheme = translateOfficeTheme;
34
+ /**
35
+ * @deprecated
36
+ */
31
37
  function createThemingModuleHelper(themingModule, emitter) {
32
38
  themingModule || console.error('No NativeModule for Theming found');
33
39
  var paletteCache = {};
@@ -1 +1 @@
1
- {"version":3,"file":"ThemingModuleHelpers.js","sourceRoot":"","sources":["../../src/NativeModule/ThemingModuleHelpers.ts"],"names":[],"mappings":";;;AAAA,6DAA0F;AAE1F,wEAAuE;AACvE,kEAM4C;AAI5C,SAAS,WAAW,CAAC,OAAqC;IACxD,OAAQ,OAAwB,CAAC,OAAO,KAAK,SAAS,CAAC;AACzD,CAAC;A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ACpC,OAAO,IAAA,kCAAmB,EAAC,IAAA,mDAAwB,GAAE,EAAE,oBAAoB,CAAC,aAAa,EAAE,YAAY,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC;QACjI,CAAC;QACD,0BAA0B,EAAE,UAAC,OAAgB;YAC3C,OAAO,UAAC,OAAe;gBACrB,oBAAoB,CAAC,aAAa,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;gBAC3D,OAAO,oBAAoB,CAAC,aAAa,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;YACpE,CAAC,CAAC;QACJ,CAAC;QACD,WAAW,EAAE,UAAC,QAAyC;YACrD,OAAO,IAAI,OAAO,CAAC,WAAW,CAAC,2BAA2B,EAAE,QAAQ,CAAC,CAAC;QACxE,CAAC;KACF,CAAC;AACJ,CAAC;AAvBD,8DAuBC"}
@@ -1,3 +1,6 @@
1
1
  import { ITheme } from '../Theme.types';
2
+ /**
3
+ * @deprecated
4
+ */
2
5
  export declare function getHostSettingsWin32(theme: ITheme): ITheme['host'] | undefined;
3
6
  //# sourceMappingURL=getHostSettings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getHostSettings.d.ts","sourceRoot":"","sources":["../../src/NativeModule/getHostSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,GAAG,SAAS,CAE9E"}
1
+ {"version":3,"file":"getHostSettings.d.ts","sourceRoot":"","sources":["../../src/NativeModule/getHostSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,GAAG,SAAS,CAE9E"}
@@ -1,6 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getHostSettingsWin32 = void 0;
4
+ /**
5
+ * @deprecated
6
+ */
4
7
  function getHostSettingsWin32(theme) {
5
8
  var _a;
6
9
  return ((_a = theme.host) === null || _a === void 0 ? void 0 : _a.palette) ? theme.host : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"getHostSettings.js","sourceRoot":"","sources":["../../src/NativeModule/getHostSettings.ts"],"names":[],"mappings":";;;AAEA,SAAgB,oBAAoB,CAAC,KAAa;;IAChD,OAAO,CAAA,MAAA,KAAK,CAAC,IAAI,0CAAE,OAAO,EAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;AACtD,CAAC;AAFD,oDAEC"}
1
+ {"version":3,"file":"getHostSettings.js","sourceRoot":"","sources":["../../src/NativeModule/getHostSettings.ts"],"names":[],"mappings":";;;AAEA;;GAEG;AACH,SAAgB,oBAAoB,CAAC,KAAa;;IAChD,OAAO,CAAA,MAAA,KAAK,CAAC,IAAI,0CAAE,OAAO,EAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;AACtD,CAAC;AAFD,oDAEC"}
@@ -1,6 +1,15 @@
1
1
  import { IThemeRegistry, IProcessTheme } from '@uifabricshared/theme-registry';
2
2
  import { ITheme, IPartialTheme } from '@uifabricshared/theming-ramp';
3
+ /**
4
+ * @deprecated
5
+ */
3
6
  export { ITheme, IPartialTheme } from '@uifabricshared/theming-ramp';
7
+ /**
8
+ * @deprecated
9
+ */
4
10
  export declare type IThemeDefinition = IPartialTheme | IProcessTheme<ITheme, IPartialTheme>;
11
+ /**
12
+ * @deprecated
13
+ */
5
14
  export declare type ThemeRegistry = IThemeRegistry<ITheme, IPartialTheme>;
6
15
  //# sourceMappingURL=Theme.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Theme.types.d.ts","sourceRoot":"","sources":["../src/Theme.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AACrE,oBAAY,gBAAgB,GAAG,aAAa,GAAG,aAAa,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;AACpF,oBAAY,aAAa,GAAG,cAAc,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC"}
1
+ {"version":3,"file":"Theme.types.d.ts","sourceRoot":"","sources":["../src/Theme.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAErE;;GAEG;AACH,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAErE;;GAEG;AACH,oBAAY,gBAAgB,GAAG,aAAa,GAAG,aAAa,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;AAEpF;;GAEG;AACH,oBAAY,aAAa,GAAG,cAAc,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC"}
@@ -1,6 +1,15 @@
1
1
  import * as React from 'react';
2
2
  import { ThemeRegistry } from './Theme.types';
3
+ /**
4
+ * @deprecated
5
+ */
3
6
  export { ThemeContext, useTheme } from '@uifabricshared/theming-ramp';
7
+ /**
8
+ * @deprecated
9
+ */
4
10
  export declare const ThemeRegistryContext: React.Context<ThemeRegistry>;
11
+ /**
12
+ * @deprecated
13
+ */
5
14
  export declare const useThemeRegistry: () => ThemeRegistry;
6
15
  //# sourceMappingURL=ThemeContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeContext.d.ts","sourceRoot":"","sources":["../src/ThemeContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAEtE,eAAO,MAAM,oBAAoB,8BAAgD,CAAC;AAClF,eAAO,MAAM,gBAAgB,qBAA+C,CAAC"}
1
+ {"version":3,"file":"ThemeContext.d.ts","sourceRoot":"","sources":["../src/ThemeContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C;;GAEG;AACH,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,oBAAoB,8BAAgD,CAAC;AAClF;;GAEG;AACH,eAAO,MAAM,gBAAgB,qBAA+C,CAAC"}
@@ -21,10 +21,19 @@ var __importStar = (this && this.__importStar) || function (mod) {
21
21
  Object.defineProperty(exports, "__esModule", { value: true });
22
22
  exports.useThemeRegistry = exports.ThemeRegistryContext = exports.useTheme = exports.ThemeContext = void 0;
23
23
  var React = __importStar(require("react"));
24
+ /**
25
+ * @deprecated
26
+ */
24
27
  var theming_ramp_1 = require("@uifabricshared/theming-ramp");
25
28
  Object.defineProperty(exports, "ThemeContext", { enumerable: true, get: function () { return theming_ramp_1.ThemeContext; } });
26
29
  Object.defineProperty(exports, "useTheme", { enumerable: true, get: function () { return theming_ramp_1.useTheme; } });
30
+ /**
31
+ * @deprecated
32
+ */
27
33
  exports.ThemeRegistryContext = React.createContext(undefined);
34
+ /**
35
+ * @deprecated
36
+ */
28
37
  var useThemeRegistry = function () { return React.useContext(exports.ThemeRegistryContext); };
29
38
  exports.useThemeRegistry = useThemeRegistry;
30
39
  //# sourceMappingURL=ThemeContext.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeContext.js","sourceRoot":"","sources":["../src/ThemeContext.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA+B;AAE/B,6DAAsE;AAA7D,4GAAA,YAAY,OAAA;AAAE,wGAAA,QAAQ,OAAA;AAElB,QAAA,oBAAoB,GAAG,KAAK,CAAC,aAAa,CAAgB,SAAS,CAAC,CAAC;AAC3E,IAAM,gBAAgB,GAAG,cAAM,OAAA,KAAK,CAAC,UAAU,CAAC,4BAAoB,CAAC,EAAtC,CAAsC,CAAC;AAAhE,QAAA,gBAAgB,oBAAgD"}
1
+ {"version":3,"file":"ThemeContext.js","sourceRoot":"","sources":["../src/ThemeContext.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA+B;AAE/B;;GAEG;AACH,6DAAsE;AAA7D,4GAAA,YAAY,OAAA;AAAE,wGAAA,QAAQ,OAAA;AAE/B;;GAEG;AACU,QAAA,oBAAoB,GAAG,KAAK,CAAC,aAAa,CAAgB,SAAS,CAAC,CAAC;AAClF;;GAEG;AACI,IAAM,gBAAgB,GAAG,cAAM,OAAA,KAAK,CAAC,UAAU,CAAC,4BAAoB,CAAC,EAAtC,CAAsC,CAAC;AAAhE,QAAA,gBAAgB,oBAAgD"}
@@ -3,6 +3,7 @@ import { IThemeEventListener } from '@uifabricshared/theme-registry';
3
3
  import { ITheme } from './Theme.types';
4
4
  /**
5
5
  * props for the ThemeLayer
6
+ * @deprecated
6
7
  */
7
8
  export interface IThemeLayerProps {
8
9
  /**
@@ -41,6 +42,7 @@ export interface IThemeLayerProps {
41
42
  * The work of registering for updates will be done automatically. The highest level `ThemeLayer` in
42
43
  * consumer mode will automatically register and act like a provider to ensure renders happen on theme
43
44
  * change
45
+ * @deprecated
44
46
  */
45
47
  export declare class ThemeLayer extends React.Component<IThemeLayerProps> {
46
48
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeLayer.d.ts","sourceRoot":"","sources":["../src/ThemeLayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE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C1D,YAAY,EAAE,mBAAmB,CAAC,cAAc,CAAC,CAKtD;IAEF,uDAAuD;IAChD,oBAAoB,IAAI,IAAI;IAO5B,MAAM,IAAI,GAAG,CAAC,OAAO;IAoB5B,yFAAyF;IACzF,OAAO,CAAC,2BAA2B,CAKjC;CACH"}
@@ -62,6 +62,7 @@ var theming_ramp_1 = require("@uifabricshared/theming-ramp");
62
62
  * The work of registering for updates will be done automatically. The highest level `ThemeLayer` in
63
63
  * consumer mode will automatically register and act like a provider to ensure renders happen on theme
64
64
  * change
65
+ * @deprecated
65
66
  */
66
67
  var ThemeLayer = /** @class */ (function (_super) {
67
68
  __extends(ThemeLayer, _super);
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeLayer.js","sourceRoot":"","sources":["../src/ThemeLayer.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA+B;AAE/B,mCAA2F;AAE3F,6DAA4D;AAoB5D;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH;IAAgC,8BAAiC;IAAjE;QAAA,qEAkDC;QA3CC,iEAAiE;QAC1D,kBAAY,GAAwC,UAAC,IAAY;YACtE,2DAA2D;YAC3D,IAAI,IAAI,KAAK,KAAI,CAAC,gBAAgB,EAAE;gBAClC,KAAI,CAAC,WAAW,EAAE,CAAC;aACpB;QACH,CAAC,CAAC;QA8BF,yFAAyF;QACjF,iCAA2B,GAAG,UAAC,SAAiB;YACtD,IAAI,KAAI,CAAC,gBAAgB,KAAK,SAAS,EAAE;gBACvC,IAAA,iCAAwB,EAAC,KAAI,CAAC,CAAC;aAChC;YACD,KAAI,CAAC,gBAAgB,GAAG,SAAS,CAAC;QACpC,CAAC,CAAC;;IACJ,CAAC;IAnCC,uDAAuD;IAChD,yCAAoB,GAA3B;QACE,IAAI,IAAI,CAAC,gBAAgB,KAAK,SAAS,EAAE;YACvC,IAAA,oCAA2B,EAAC,IAAI,CAAC,CAAC;YAClC,IAAI,CAAC,g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
+ * @deprecated
5
+ */
3
6
  export declare const ThemeProvider: React.FunctionComponent<IThemeProviderProps>;
4
7
  //# sourceMappingURL=ThemeProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../src/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAM5D,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,iBAAiB,CAAC,mBAAmB,CA6BtE,CAAC"}
1
+ {"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../src/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAM5D;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,iBAAiB,CAAC,mBAAmB,CA6BtE,CAAC"}
@@ -24,6 +24,9 @@ var React = __importStar(require("react"));
24
24
  var ThemeContext_1 = require("./ThemeContext");
25
25
  var Global_1 = require("./Global");
26
26
  var theming_ramp_1 = require("@uifabricshared/theming-ramp");
27
+ /**
28
+ * @deprecated
29
+ */
27
30
  var ThemeProvider = function (props) {
28
31
  var registryFromProps = props.registry, _a = props.theme, themeName = _a === void 0 ? '' : _a, children = props.children;
29
32
  var defaultRegistry = (0, ThemeContext_1.useThemeRegistry)();
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeProvider.js","sourceRoot":"","sources":["../src/ThemeProvider.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA+B;AAE/B,+CAAwE;AAExE,mCAA4C;AAC5C,6DAA4D;AAErD,IAAM,aAAa,GAAiD,UAAC,KAA0B;IAC5F,IAAU,iBAAiB,GAAsC,KAAK,SAA3C,EAAE,KAAoC,KAAK,MAApB,EAAd,SAA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iC,CACzG,CAAC,CAAC,CAAC,CACF,aAAa,CACd,CAAC;AACJ,CAAC,CAAC;AA7BW,QAAA,aAAa,iBA6BxB"}
@@ -1,5 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import { ThemeRegistry } from './Theme.types';
3
+ /**
4
+ * @deprecated
5
+ */
3
6
  export interface IThemeProviderProps extends React.PropsWithChildren<{}> {
4
7
  theme?: string;
5
8
  registry?: ThemeRegistry;
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeProvider.types.d.ts","sourceRoot":"","sources":["../src/ThemeProvider.types.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,iBAAiB,CAAC,EAAE,CAAC;IACtE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,aAAa,CAAC;CAC1B"}
1
+ {"version":3,"file":"ThemeProvider.types.d.ts","sourceRoot":"","sources":["../src/ThemeProvider.types.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,iBAAiB,CAAC,EAAE,CAAC;IACtE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,aAAa,CAAC;CAC1B"}
@@ -1,11 +1,41 @@
1
+ /**
2
+ * @deprecated
3
+ */
1
4
  export { addThemeRegistryListener, removeThemeRegistryListener, setTheme, getTheme, augmentPlatformTheme } from './Global';
5
+ /**
6
+ * @deprecated
7
+ */
2
8
  export { IPartialTheme, ITheme } from './Theme.types';
9
+ /**
10
+ * @deprecated
11
+ */
3
12
  export type { IThemeDefinition, ThemeRegistry } from './Theme.types';
13
+ /**
14
+ * @deprecated
15
+ */
4
16
  export { IThemeLayerProps, ThemeLayer } from './ThemeLayer';
17
+ /**
18
+ * @deprecated
19
+ */
5
20
  export { createPlatformThemeRegistry } from './platform';
21
+ /**
22
+ * @deprecated
23
+ */
6
24
  export { ThemeProvider } from './ThemeProvider';
25
+ /**
26
+ * @deprecated
27
+ */
7
28
  export type { IThemeProviderProps } from './ThemeProvider.types';
29
+ /**
30
+ * @deprecated
31
+ */
8
32
  export { ThemeContext, ThemeRegistryContext, useTheme, useThemeRegistry } from './ThemeContext';
33
+ /**
34
+ * @deprecated
35
+ */
9
36
  export { ThemingModuleHelper, getHostSettingsWin32 } from './NativeModule';
37
+ /**
38
+ * @deprecated
39
+ */
10
40
  export type { IEventEmitter, IHostSettingsWin32, IPlatformThemeDefinition, IThemingModuleHelper } from './NativeModule';
11
41
  //# 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,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
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,wBAAwB,EAAE,2BAA2B,EAAE,QAAQ,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAC3H;;GAEG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACtD;;GAEG;AACH,YAAY,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACrE;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC5D;;GAEG;AACH,OAAO,EAAE,2BAA2B,EAAE,MAAM,YAAY,CAAC;AACzD;;GAEG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD;;GAEG;AACH,YAAY,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE;;GAEG;AACH,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAChG;;GAEG;AACH,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAC3E;;GAEG;AACH,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1,23 +1,41 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
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;
4
+ /**
5
+ * @deprecated
6
+ */
4
7
  var Global_1 = require("./Global");
5
8
  Object.defineProperty(exports, "addThemeRegistryListener", { enumerable: true, get: function () { return Global_1.addThemeRegistryListener; } });
6
9
  Object.defineProperty(exports, "removeThemeRegistryListener", { enumerable: true, get: function () { return Global_1.removeThemeRegistryListener; } });
7
10
  Object.defineProperty(exports, "setTheme", { enumerable: true, get: function () { return Global_1.setTheme; } });
8
11
  Object.defineProperty(exports, "getTheme", { enumerable: true, get: function () { return Global_1.getTheme; } });
9
12
  Object.defineProperty(exports, "augmentPlatformTheme", { enumerable: true, get: function () { return Global_1.augmentPlatformTheme; } });
13
+ /**
14
+ * @deprecated
15
+ */
10
16
  var ThemeLayer_1 = require("./ThemeLayer");
11
17
  Object.defineProperty(exports, "ThemeLayer", { enumerable: true, get: function () { return ThemeLayer_1.ThemeLayer; } });
18
+ /**
19
+ * @deprecated
20
+ */
12
21
  var platform_1 = require("./platform");
13
22
  Object.defineProperty(exports, "createPlatformThemeRegistry", { enumerable: true, get: function () { return platform_1.createPlatformThemeRegistry; } });
23
+ /**
24
+ * @deprecated
25
+ */
14
26
  var ThemeProvider_1 = require("./ThemeProvider");
15
27
  Object.defineProperty(exports, "ThemeProvider", { enumerable: true, get: function () { return ThemeProvider_1.ThemeProvider; } });
28
+ /**
29
+ * @deprecated
30
+ */
16
31
  var ThemeContext_1 = require("./ThemeContext");
17
32
  Object.defineProperty(exports, "ThemeContext", { enumerable: true, get: function () { return ThemeContext_1.ThemeContext; } });
18
33
  Object.defineProperty(exports, "ThemeRegistryContext", { enumerable: true, get: function () { return ThemeContext_1.ThemeRegistryContext; } });
19
34
  Object.defineProperty(exports, "useTheme", { enumerable: true, get: function () { return ThemeContext_1.useTheme; } });
20
35
  Object.defineProperty(exports, "useThemeRegistry", { enumerable: true, get: function () { return ThemeContext_1.useThemeRegistry; } });
36
+ /**
37
+ * @deprecated
38
+ */
21
39
  var NativeModule_1 = require("./NativeModule");
22
40
  Object.defineProperty(exports, "ThemingModuleHelper", { enumerable: true, get: function () { return NativeModule_1.ThemingModuleHelper; } });
23
41
  Object.defineProperty(exports, "getHostSettingsWin32", { enumerable: true, get: function () { return NativeModule_1.getHostSettingsWin32; } });