@fluentui-react-native/theme-types 0.39.2 → 0.39.4

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,48 @@
2
2
  "name": "@fluentui-react-native/theme-types",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 12 Jun 2025 03:17:15 GMT",
5
+ "date": "Fri, 11 Jul 2025 19:50:41 GMT",
6
+ "version": "0.39.4",
7
+ "tag": "@fluentui-react-native/theme-types_v0.39.4",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "jasonmo@microsoft.com",
12
+ "package": "@fluentui-react-native/theme-types",
13
+ "commit": "479b93cea460a26df70c55b5d3335927ed374713",
14
+ "comment": "update builds to use node16 settings and modern export maps"
15
+ }
16
+ ],
17
+ "none": [
18
+ {
19
+ "author": "4123478+tido64@users.noreply.github.com",
20
+ "package": "@fluentui-react-native/theme-types",
21
+ "commit": "79bb06f6bbfd0a36f9d2ef371f4857be9660f027",
22
+ "comment": "Fixed `align-deps` warnings"
23
+ },
24
+ {
25
+ "author": "ruaraki@microsoft.com",
26
+ "package": "@fluentui-react-native/theme-types",
27
+ "commit": "a245202877ef7f2be9ab5f0e1356b2270957e693",
28
+ "comment": "Run bump-versions"
29
+ },
30
+ {
31
+ "author": "jasonmo@microsoft.com",
32
+ "package": "@fluentui-react-native/theme-types",
33
+ "commit": "54087dca787180bbf34630470cd0d06e88366b30",
34
+ "comment": "update eslint to 9.x and use new flat config format with security rules"
35
+ },
36
+ {
37
+ "author": "sanajmi@microsoft.com",
38
+ "package": "@fluentui-react-native/theme-types",
39
+ "commit": "405ca368dc3f2963bfc252a1952b1e14ff503499",
40
+ "comment": "fix: run `beachball sync` to sync package versions with NPM"
41
+ }
42
+ ]
43
+ }
44
+ },
45
+ {
46
+ "date": "Thu, 10 Jul 2025 19:20:15 GMT",
6
47
  "version": "0.39.2",
7
48
  "tag": "@fluentui-react-native/theme-types_v0.39.2",
8
49
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,20 @@
1
1
  # Change Log - @fluentui-react-native/theme-types
2
2
 
3
- <!-- This log was last generated on Thu, 12 Jun 2025 03:17:15 GMT and should not be manually modified. -->
3
+ <!-- This log was last generated on Fri, 11 Jul 2025 19:50:41 GMT and should not be manually modified. -->
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.39.4
8
+
9
+ Fri, 11 Jul 2025 19:50:41 GMT
10
+
11
+ ### Patches
12
+
13
+ - update builds to use node16 settings and modern export maps (jasonmo@microsoft.com)
14
+
7
15
  ## 0.39.2
8
16
 
9
- Thu, 12 Jun 2025 03:17:15 GMT
17
+ Thu, 10 Jul 2025 19:20:15 GMT
10
18
 
11
19
  ### Patches
12
20
 
@@ -0,0 +1,3 @@
1
+ const baseConfig = require('@fluentui-react-native/eslint-config-rules');
2
+
3
+ module.exports = baseConfig;
package/lib/context.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
- export var ThemeContext = React.createContext(undefined);
3
- export var useTheme = function () { return React.useContext(ThemeContext); };
2
+ export const ThemeContext = React.createContext(undefined);
3
+ export const useTheme = () => React.useContext(ThemeContext);
4
4
  //# sourceMappingURL=context.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,CAAC,IAAM,YAAY,GAAG,KAAK,CAAC,aAAa,CAAQ,SAAS,CAAC,CAAC;AAClE,MAAM,CAAC,IAAM,QAAQ,GAAG,cAAM,OAAA,KAAK,CAAC,UAAU,CAAC,YAAY,CAAC,EAA9B,CAA8B,CAAC"}
1
+ {"version":3,"file":"context.js","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,CAAC,MAAM,YAAY,GAAG,KAAK,CAAC,aAAa,CAAQ,SAAS,CAAC,CAAC;AAClE,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC"}
@@ -24,8 +24,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.useTheme = exports.ThemeContext = void 0;
27
- var React = __importStar(require("react"));
27
+ const React = __importStar(require("react"));
28
28
  exports.ThemeContext = React.createContext(undefined);
29
- var useTheme = function () { return React.useContext(exports.ThemeContext); };
29
+ const useTheme = () => React.useContext(exports.ThemeContext);
30
30
  exports.useTheme = useTheme;
31
31
  //# sourceMappingURL=context.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA+B;AAIlB,QAAA,YAAY,GAAG,KAAK,CAAC,aAAa,CAAQ,SAAS,CAAC,CAAC;AAC3D,IAAM,QAAQ,GAAG,cAAM,OAAA,KAAK,CAAC,UAAU,CAAC,oBAAY,CAAC,EAA9B,CAA8B,CAAC;AAAhD,QAAA,QAAQ,YAAwC"}
1
+ {"version":3,"file":"context.js","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAIlB,QAAA,YAAY,GAAG,KAAK,CAAC,aAAa,CAAQ,SAAS,CAAC,CAAC;AAC3D,MAAM,QAAQ,GAAG,GAAG,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,oBAAY,CAAC,CAAC;AAAhD,QAAA,QAAQ,YAAwC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-react-native/theme-types",
3
- "version": "0.39.2",
3
+ "version": "0.39.4",
4
4
  "description": "Typing only package for fluentui-react-native theme types",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,6 +9,13 @@
9
9
  },
10
10
  "main": "lib-commonjs/index.js",
11
11
  "module": "lib/index.js",
12
+ "exports": {
13
+ ".": {
14
+ "import": "./lib/index.js",
15
+ "require": "./lib-commonjs/index.js",
16
+ "types": "./lib/index.d.ts"
17
+ }
18
+ },
12
19
  "typings": "lib/index.d.ts",
13
20
  "scripts": {
14
21
  "build": "fluentui-scripts build",
@@ -55,6 +62,7 @@
55
62
  ]
56
63
  },
57
64
  "capabilities": [
65
+ "babel-preset-react-native",
58
66
  "core",
59
67
  "core-android",
60
68
  "core-ios",