@fluentui-react-native/framework 0.8.39 → 0.9.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.
package/CHANGELOG.json CHANGED
@@ -2,7 +2,28 @@
2
2
  "name": "@fluentui-react-native/framework",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 02 Feb 2023 01:27:10 GMT",
5
+ "date": "Fri, 03 Feb 2023 01:47:29 GMT",
6
+ "tag": "@fluentui-react-native/framework_v0.9.0",
7
+ "version": "0.9.0",
8
+ "comments": {
9
+ "minor": [
10
+ {
11
+ "author": "78454019+lyzhan7@users.noreply.github.com",
12
+ "package": "@fluentui-react-native/framework",
13
+ "commit": "952938b8a8daeea93be04aedace1a43fb5c29747",
14
+ "comment": "Revert \"Change default theme from a const object to a function that returns the object #2483\""
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui-react-native/framework",
19
+ "comment": "Bump @fluentui-react-native/default-theme to v0.17.0",
20
+ "commit": "83735cdac7bd038933e31191400008b3187e3eb1"
21
+ }
22
+ ]
23
+ }
24
+ },
25
+ {
26
+ "date": "Thu, 02 Feb 2023 01:29:39 GMT",
6
27
  "tag": "@fluentui-react-native/framework_v0.8.39",
7
28
  "version": "0.8.39",
8
29
  "comments": {
@@ -11,37 +32,37 @@
11
32
  "author": "beachball",
12
33
  "package": "@fluentui-react-native/framework",
13
34
  "comment": "Bump @fluentui-react-native/composition to v0.8.3",
14
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
35
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
15
36
  },
16
37
  {
17
38
  "author": "beachball",
18
39
  "package": "@fluentui-react-native/framework",
19
40
  "comment": "Bump @fluentui-react-native/default-theme to v0.16.29",
20
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
41
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
21
42
  },
22
43
  {
23
44
  "author": "beachball",
24
45
  "package": "@fluentui-react-native/framework",
25
46
  "comment": "Bump @fluentui-react-native/use-styling to v0.9.3",
26
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
47
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
27
48
  },
28
49
  {
29
50
  "author": "beachball",
30
51
  "package": "@fluentui-react-native/framework",
31
52
  "comment": "Bump @fluentui-react-native/use-slot to v0.3.3",
32
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
53
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
33
54
  },
34
55
  {
35
56
  "author": "beachball",
36
57
  "package": "@fluentui-react-native/framework",
37
58
  "comment": "Bump @fluentui-react-native/use-slots to v0.7.3",
38
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
59
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
39
60
  },
40
61
  {
41
62
  "author": "beachball",
42
63
  "package": "@fluentui-react-native/framework",
43
64
  "comment": "Bump @fluentui-react-native/use-tokens to v0.3.3",
44
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
65
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
45
66
  }
46
67
  ]
47
68
  }
package/CHANGELOG.md CHANGED
@@ -1,12 +1,21 @@
1
1
  # Change Log - @fluentui-react-native/framework
2
2
 
3
- This log was last generated on Thu, 02 Feb 2023 01:27:10 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 03 Feb 2023 01:47:29 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.9.0
8
+
9
+ Fri, 03 Feb 2023 01:47:29 GMT
10
+
11
+ ### Minor changes
12
+
13
+ - Revert "Change default theme from a const object to a function that returns the object #2483" (78454019+lyzhan7@users.noreply.github.com)
14
+ - Bump @fluentui-react-native/default-theme to v0.17.0
15
+
7
16
  ## 0.8.39
8
17
 
9
- Thu, 02 Feb 2023 01:27:10 GMT
18
+ Thu, 02 Feb 2023 01:29:39 GMT
10
19
 
11
20
  ### Patches
12
21
 
@@ -6,6 +6,6 @@ import { useTheme } from '@fluentui-react-native/theme-types';
6
6
  * @returns - a valid Theme object
7
7
  */
8
8
  export function useFluentTheme() {
9
- return useTheme() || defaultFluentTheme();
9
+ return useTheme() || defaultFluentTheme;
10
10
  }
11
11
  //# sourceMappingURL=useFluentTheme.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useFluentTheme.js","sourceRoot":"","sources":["../src/useFluentTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE1E,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAE9D;;;;GAIG;AACH,MAAM,UAAU,cAAc;IAC5B,OAAO,QAAQ,EAAE,IAAI,kBAAkB,EAAE,CAAC;AAC5C,CAAC"}
1
+ {"version":3,"file":"useFluentTheme.js","sourceRoot":"","sources":["../src/useFluentTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE1E,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAE9D;;;;GAIG;AACH,MAAM,UAAU,cAAc;IAC5B,OAAO,QAAQ,EAAE,IAAI,kBAAkB,CAAC;AAC1C,CAAC"}
@@ -9,7 +9,7 @@ var theme_types_1 = require("@fluentui-react-native/theme-types");
9
9
  * @returns - a valid Theme object
10
10
  */
11
11
  function useFluentTheme() {
12
- return (0, theme_types_1.useTheme)() || (0, default_theme_1.defaultFluentTheme)();
12
+ return (0, theme_types_1.useTheme)() || default_theme_1.defaultFluentTheme;
13
13
  }
14
14
  exports.useFluentTheme = useFluentTheme;
15
15
  //# sourceMappingURL=useFluentTheme.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useFluentTheme.js","sourceRoot":"","sources":["../src/useFluentTheme.ts"],"names":[],"mappings":";;;AAAA,sEAA0E;AAE1E,kEAA8D;AAE9D;;;;GAIG;AACH,SAAgB,cAAc;IAC5B,OAAO,IAAA,sBAAQ,GAAE,IAAI,IAAA,kCAAkB,GAAE,CAAC;AAC5C,CAAC;AAFD,wCAEC"}
1
+ {"version":3,"file":"useFluentTheme.js","sourceRoot":"","sources":["../src/useFluentTheme.ts"],"names":[],"mappings":";;;AAAA,sEAA0E;AAE1E,kEAA8D;AAE9D;;;;GAIG;AACH,SAAgB,cAAc;IAC5B,OAAO,IAAA,sBAAQ,GAAE,IAAI,kCAAkB,CAAC;AAC1C,CAAC;AAFD,wCAEC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-react-native/framework",
3
- "version": "0.8.39",
3
+ "version": "0.9.0",
4
4
  "description": "Component framework used by fluentui react native controls",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@fluentui-react-native/composition": ">=0.8.3 <1.0.0",
28
- "@fluentui-react-native/default-theme": ">=0.16.29 <1.0.0",
28
+ "@fluentui-react-native/default-theme": ">=0.17.0 <1.0.0",
29
29
  "@fluentui-react-native/immutable-merge": "^1.1.8",
30
30
  "@fluentui-react-native/merge-props": ">=0.5.2 <1.0.0",
31
31
  "@fluentui-react-native/theme-types": ">=0.30.2 <1.0.0",
@@ -8,5 +8,5 @@ import { useTheme } from '@fluentui-react-native/theme-types';
8
8
  * @returns - a valid Theme object
9
9
  */
10
10
  export function useFluentTheme(): Theme {
11
- return useTheme() || defaultFluentTheme();
11
+ return useTheme() || defaultFluentTheme;
12
12
  }