@fluentui-react-native/theme-types 0.39.1 → 0.39.3

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,72 @@
2
2
  "name": "@fluentui-react-native/theme-types",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 29 Jan 2025 23:39:19 GMT",
5
+ "date": "Thu, 10 Jul 2025 20:30:30 GMT",
6
+ "version": "0.39.3",
7
+ "tag": "@fluentui-react-native/theme-types_v0.39.3",
8
+ "comments": {
9
+ "none": [
10
+ {
11
+ "author": "ruaraki@microsoft.com",
12
+ "package": "@fluentui-react-native/theme-types",
13
+ "commit": "a245202877ef7f2be9ab5f0e1356b2270957e693",
14
+ "comment": "Run bump-versions"
15
+ },
16
+ {
17
+ "author": "jasonmo@microsoft.com",
18
+ "package": "@fluentui-react-native/theme-types",
19
+ "commit": "54087dca787180bbf34630470cd0d06e88366b30",
20
+ "comment": "update eslint to 9.x and use new flat config format with security rules"
21
+ },
22
+ {
23
+ "author": "4123478+tido64@users.noreply.github.com",
24
+ "package": "@fluentui-react-native/theme-types",
25
+ "commit": "79bb06f6bbfd0a36f9d2ef371f4857be9660f027",
26
+ "comment": "Fixed `align-deps` warnings"
27
+ }
28
+ ],
29
+ "patch": [
30
+ {
31
+ "author": "jasonmo@microsoft.com",
32
+ "package": "@fluentui-react-native/theme-types",
33
+ "commit": "479b93cea460a26df70c55b5d3335927ed374713",
34
+ "comment": "update builds to use node16 settings and modern export maps"
35
+ }
36
+ ]
37
+ }
38
+ },
39
+ {
40
+ "date": "Thu, 10 Jul 2025 19:20:15 GMT",
41
+ "version": "0.39.2",
42
+ "tag": "@fluentui-react-native/theme-types_v0.39.2",
43
+ "comments": {
44
+ "patch": [
45
+ {
46
+ "author": "4123478+tido64@users.noreply.github.com",
47
+ "package": "@fluentui-react-native/theme-types",
48
+ "commit": "24b9abab3370f008afd2dbb304751fc9af6bec4a",
49
+ "comment": "Add support for React Native 0.74"
50
+ }
51
+ ]
52
+ }
53
+ },
54
+ {
55
+ "date": "Wed, 11 Jun 2025 19:34:47 GMT",
56
+ "version": "0.39.1",
57
+ "tag": "@fluentui-react-native/theme-types_v0.39.1",
58
+ "comments": {
59
+ "none": [
60
+ {
61
+ "author": "4123478+tido64@users.noreply.github.com",
62
+ "package": "@fluentui-react-native/theme-types",
63
+ "commit": "2342b87a20e5a584bd2073c8c5a266f0aa48c8bb",
64
+ "comment": "Added missing dev dependencies"
65
+ }
66
+ ]
67
+ }
68
+ },
69
+ {
70
+ "date": "Wed, 29 Jan 2025 23:43:54 GMT",
6
71
  "version": "0.39.1",
7
72
  "tag": "@fluentui-react-native/theme-types_v0.39.1",
8
73
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,28 @@
1
1
  # Change Log - @fluentui-react-native/theme-types
2
2
 
3
- <!-- This log was last generated on Wed, 29 Jan 2025 23:39:19 GMT and should not be manually modified. -->
3
+ <!-- This log was last generated on Thu, 10 Jul 2025 20:30:30 GMT and should not be manually modified. -->
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.39.3
8
+
9
+ Thu, 10 Jul 2025 20:30:30 GMT
10
+
11
+ ### Patches
12
+
13
+ - update builds to use node16 settings and modern export maps (jasonmo@microsoft.com)
14
+
15
+ ## 0.39.2
16
+
17
+ Thu, 10 Jul 2025 19:20:15 GMT
18
+
19
+ ### Patches
20
+
21
+ - Add support for React Native 0.74 (4123478+tido64@users.noreply.github.com)
22
+
7
23
  ## 0.39.1
8
24
 
9
- Wed, 29 Jan 2025 23:39:19 GMT
25
+ Wed, 29 Jan 2025 23:43:54 GMT
10
26
 
11
27
  ### Patches
12
28
 
@@ -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.1",
3
+ "version": "0.39.3",
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",
@@ -27,17 +34,18 @@
27
34
  "author": "",
28
35
  "license": "MIT",
29
36
  "devDependencies": {
37
+ "@babel/core": "^7.20.0",
30
38
  "@fluentui-react-native/eslint-config-rules": "0.1.1",
31
39
  "@fluentui-react-native/scripts": "0.1.1",
32
- "@react-native/babel-preset": "^0.73.0",
33
- "@react-native/metro-config": "^0.73.0",
40
+ "@react-native/babel-preset": "^0.74.0",
41
+ "@react-native/metro-config": "^0.74.0",
34
42
  "@types/react": "^18.2.0",
35
43
  "react": "18.2.0",
36
- "react-native": "^0.73.0"
44
+ "react-native": "^0.74.0"
37
45
  },
38
46
  "peerDependencies": {
39
47
  "react": "18.2.0",
40
- "react-native": "^0.73.0"
48
+ "react-native": "^0.73.0 || ^0.74.0"
41
49
  },
42
50
  "rnx-kit": {
43
51
  "kitType": "library",
@@ -45,10 +53,16 @@
45
53
  "presets": [
46
54
  "microsoft/react-native"
47
55
  ],
48
- "requirements": [
49
- "react-native@0.73"
50
- ],
56
+ "requirements": {
57
+ "development": [
58
+ "react-native@0.74"
59
+ ],
60
+ "production": [
61
+ "react-native@0.73 || 0.74"
62
+ ]
63
+ },
51
64
  "capabilities": [
65
+ "babel-preset-react-native",
52
66
  "core",
53
67
  "core-android",
54
68
  "core-ios",