@fluentui-react-native/apple-theme 0.18.14 → 0.18.16

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,85 @@
2
2
  "name": "@fluentui-react-native/apple-theme",
3
3
  "entries": [
4
4
  {
5
- "date": "Fri, 24 Feb 2023 20:36:22 GMT",
5
+ "date": "Tue, 07 Mar 2023 20:51:40 GMT",
6
+ "tag": "@fluentui-react-native/apple-theme_v0.18.16",
7
+ "version": "0.18.16",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "ruaraki@microsoft.com",
12
+ "package": "@fluentui-react-native/apple-theme",
13
+ "commit": "6c33cfe45061ab74b7eee11b78341c74f88f9473",
14
+ "comment": "Repoint current implementations of isHighContrast to new function"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui-react-native/apple-theme",
19
+ "comment": "Bump @fluentui-react-native/default-theme to v0.17.5",
20
+ "commit": "6c33cfe45061ab74b7eee11b78341c74f88f9473"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui-react-native/apple-theme",
25
+ "comment": "Bump @fluentui-react-native/experimental-appearance-additions to v0.3.6",
26
+ "commit": "6c33cfe45061ab74b7eee11b78341c74f88f9473"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui-react-native/apple-theme",
31
+ "comment": "Bump @fluentui-react-native/theming-utils to v0.23.7",
32
+ "commit": "6c33cfe45061ab74b7eee11b78341c74f88f9473"
33
+ }
34
+ ]
35
+ }
36
+ },
37
+ {
38
+ "date": "Fri, 03 Mar 2023 06:47:26 GMT",
39
+ "tag": "@fluentui-react-native/apple-theme_v0.18.15",
40
+ "version": "0.18.15",
41
+ "comments": {
42
+ "patch": [
43
+ {
44
+ "author": "beachball",
45
+ "package": "@fluentui-react-native/apple-theme",
46
+ "comment": "Bump @fluentui-react-native/default-theme to v0.17.4",
47
+ "commit": "4659b74650377d2f746a81a321346a481816a5af"
48
+ },
49
+ {
50
+ "author": "beachball",
51
+ "package": "@fluentui-react-native/apple-theme",
52
+ "comment": "Bump @fluentui-react-native/experimental-appearance-additions to v0.3.5",
53
+ "commit": "4659b74650377d2f746a81a321346a481816a5af"
54
+ },
55
+ {
56
+ "author": "beachball",
57
+ "package": "@fluentui-react-native/apple-theme",
58
+ "comment": "Bump @fluentui-react-native/theme to v0.8.2",
59
+ "commit": "4659b74650377d2f746a81a321346a481816a5af"
60
+ },
61
+ {
62
+ "author": "beachball",
63
+ "package": "@fluentui-react-native/apple-theme",
64
+ "comment": "Bump @fluentui-react-native/theme-tokens to v0.24.4",
65
+ "commit": "4659b74650377d2f746a81a321346a481816a5af"
66
+ },
67
+ {
68
+ "author": "beachball",
69
+ "package": "@fluentui-react-native/apple-theme",
70
+ "comment": "Bump @fluentui-react-native/theme-types to v0.30.4",
71
+ "commit": "4659b74650377d2f746a81a321346a481816a5af"
72
+ },
73
+ {
74
+ "author": "beachball",
75
+ "package": "@fluentui-react-native/apple-theme",
76
+ "comment": "Bump @fluentui-react-native/theming-utils to v0.23.6",
77
+ "commit": "4659b74650377d2f746a81a321346a481816a5af"
78
+ }
79
+ ]
80
+ }
81
+ },
82
+ {
83
+ "date": "Fri, 24 Feb 2023 20:39:57 GMT",
6
84
  "tag": "@fluentui-react-native/apple-theme_v0.18.14",
7
85
  "version": "0.18.14",
8
86
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,36 @@
1
1
  # Change Log - @fluentui-react-native/apple-theme
2
2
 
3
- This log was last generated on Fri, 24 Feb 2023 20:36:22 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 07 Mar 2023 20:51:40 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.18.16
8
+
9
+ Tue, 07 Mar 2023 20:51:40 GMT
10
+
11
+ ### Patches
12
+
13
+ - Repoint current implementations of isHighContrast to new function (ruaraki@microsoft.com)
14
+ - Bump @fluentui-react-native/default-theme to v0.17.5
15
+ - Bump @fluentui-react-native/experimental-appearance-additions to v0.3.6
16
+ - Bump @fluentui-react-native/theming-utils to v0.23.7
17
+
18
+ ## 0.18.15
19
+
20
+ Fri, 03 Mar 2023 06:47:26 GMT
21
+
22
+ ### Patches
23
+
24
+ - Bump @fluentui-react-native/default-theme to v0.17.4
25
+ - Bump @fluentui-react-native/experimental-appearance-additions to v0.3.5
26
+ - Bump @fluentui-react-native/theme to v0.8.2
27
+ - Bump @fluentui-react-native/theme-tokens to v0.24.4
28
+ - Bump @fluentui-react-native/theme-types to v0.30.4
29
+ - Bump @fluentui-react-native/theming-utils to v0.23.6
30
+
7
31
  ## 0.18.14
8
32
 
9
- Fri, 24 Feb 2023 20:36:22 GMT
33
+ Fri, 24 Feb 2023 20:39:57 GMT
10
34
 
11
35
  ### Patches
12
36
 
@@ -1,3 +1,3 @@
1
- export declare function setIsHighContrast(isHighContrast: boolean): void;
1
+ export declare function setIsHighContrast(newIsHighContrast: boolean): void;
2
2
  export declare function getIsHighContrast(): boolean;
3
3
  //# sourceMappingURL=appleHighContrast.macos.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"appleHighContrast.macos.d.ts","sourceRoot":"","sources":["../src/appleHighContrast.macos.ts"],"names":[],"mappings":"AAEA,wBAAgB,iBAAiB,CAAC,cAAc,EAAE,OAAO,QAExD;AAED,wBAAgB,iBAAiB,YAEhC"}
1
+ {"version":3,"file":"appleHighContrast.macos.d.ts","sourceRoot":"","sources":["../src/appleHighContrast.macos.ts"],"names":[],"mappings":"AAEA,wBAAgB,iBAAiB,CAAC,iBAAiB,EAAE,OAAO,QAE3D;AAED,wBAAgB,iBAAiB,YAEhC"}
@@ -1,8 +1,8 @@
1
- var isHighContrastEnabled = false;
2
- export function setIsHighContrast(isHighContrast) {
3
- isHighContrastEnabled = isHighContrast;
1
+ import { isHighContrast, setIsHighContrast as setIsHighContrastCore } from '@fluentui-react-native/theming-utils';
2
+ export function setIsHighContrast(newIsHighContrast) {
3
+ setIsHighContrastCore(newIsHighContrast);
4
4
  }
5
5
  export function getIsHighContrast() {
6
- return isHighContrastEnabled;
6
+ return isHighContrast();
7
7
  }
8
8
  //# sourceMappingURL=appleHighContrast.macos.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"appleHighContrast.macos.js","sourceRoot":"","sources":["../src/appleHighContrast.macos.ts"],"names":[],"mappings":"AAAA,IAAI,qBAAqB,GAAG,KAAK,CAAC;AAElC,MAAM,UAAU,iBAAiB,CAAC,cAAuB;IACvD,qBAAqB,GAAG,cAAc,CAAC;AACzC,CAAC;AAED,MAAM,UAAU,iBAAiB;IAC/B,OAAO,qBAAqB,CAAC;AAC/B,CAAC"}
1
+ {"version":3,"file":"appleHighContrast.macos.js","sourceRoot":"","sources":["../src/appleHighContrast.macos.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAElH,MAAM,UAAU,iBAAiB,CAAC,iBAA0B;IAC1D,qBAAqB,CAAC,iBAAiB,CAAC,CAAC;AAC3C,CAAC;AAED,MAAM,UAAU,iBAAiB;IAC/B,OAAO,cAAc,EAAE,CAAC;AAC1B,CAAC"}
@@ -1,3 +1,3 @@
1
- export declare function setIsHighContrast(isHighContrast: boolean): void;
1
+ export declare function setIsHighContrast(newIsHighContrast: boolean): void;
2
2
  export declare function getIsHighContrast(): boolean;
3
3
  //# sourceMappingURL=appleHighContrast.macos.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"appleHighContrast.macos.d.ts","sourceRoot":"","sources":["../src/appleHighContrast.macos.ts"],"names":[],"mappings":"AAEA,wBAAgB,iBAAiB,CAAC,cAAc,EAAE,OAAO,QAExD;AAED,wBAAgB,iBAAiB,YAEhC"}
1
+ {"version":3,"file":"appleHighContrast.macos.d.ts","sourceRoot":"","sources":["../src/appleHighContrast.macos.ts"],"names":[],"mappings":"AAEA,wBAAgB,iBAAiB,CAAC,iBAAiB,EAAE,OAAO,QAE3D;AAED,wBAAgB,iBAAiB,YAEhC"}
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getIsHighContrast = exports.setIsHighContrast = void 0;
4
- var isHighContrastEnabled = false;
5
- function setIsHighContrast(isHighContrast) {
6
- isHighContrastEnabled = isHighContrast;
4
+ var theming_utils_1 = require("@fluentui-react-native/theming-utils");
5
+ function setIsHighContrast(newIsHighContrast) {
6
+ (0, theming_utils_1.setIsHighContrast)(newIsHighContrast);
7
7
  }
8
8
  exports.setIsHighContrast = setIsHighContrast;
9
9
  function getIsHighContrast() {
10
- return isHighContrastEnabled;
10
+ return (0, theming_utils_1.isHighContrast)();
11
11
  }
12
12
  exports.getIsHighContrast = getIsHighContrast;
13
13
  //# sourceMappingURL=appleHighContrast.macos.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"appleHighContrast.macos.js","sourceRoot":"","sources":["../src/appleHighContrast.macos.ts"],"names":[],"mappings":";;;AAAA,IAAI,qBAAqB,GAAG,KAAK,CAAC;AAElC,SAAgB,iBAAiB,CAAC,cAAuB;IACvD,qBAAqB,GAAG,cAAc,CAAC;AACzC,CAAC;AAFD,8CAEC;AAED,SAAgB,iBAAiB;IAC/B,OAAO,qBAAqB,CAAC;AAC/B,CAAC;AAFD,8CAEC"}
1
+ {"version":3,"file":"appleHighContrast.macos.js","sourceRoot":"","sources":["../src/appleHighContrast.macos.ts"],"names":[],"mappings":";;;AAAA,sEAAkH;AAElH,SAAgB,iBAAiB,CAAC,iBAA0B;IAC1D,IAAA,iCAAqB,EAAC,iBAAiB,CAAC,CAAC;AAC3C,CAAC;AAFD,8CAEC;AAED,SAAgB,iBAAiB;IAC/B,OAAO,IAAA,8BAAc,GAAE,CAAC;AAC1B,CAAC;AAFD,8CAEC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-react-native/apple-theme",
3
- "version": "0.18.14",
3
+ "version": "0.18.16",
4
4
  "description": "A FluentUI React Native theme that pulls constants from FluentUI Apple",
5
5
  "license": "MIT",
6
6
  "author": "Microsoft <fluentuinativeowners@microsoft.com>",
@@ -27,15 +27,15 @@
27
27
  "directory": "packages/theming/apple-theme"
28
28
  },
29
29
  "dependencies": {
30
- "@fluentui-react-native/default-theme": ">=0.17.3 <1.0.0",
30
+ "@fluentui-react-native/default-theme": ">=0.17.5 <1.0.0",
31
31
  "@fluentui-react-native/design-tokens-ios": "^0.42.0",
32
32
  "@fluentui-react-native/design-tokens-macos": "^0.42.0",
33
- "@fluentui-react-native/experimental-appearance-additions": "^0.3.4",
33
+ "@fluentui-react-native/experimental-appearance-additions": "^0.3.6",
34
34
  "@fluentui-react-native/memo-cache": "^1.1.8",
35
- "@fluentui-react-native/theme": ">=0.8.1 <1.0.0",
36
- "@fluentui-react-native/theme-tokens": "^0.24.3",
37
- "@fluentui-react-native/theme-types": ">=0.30.3 <1.0.0",
38
- "@fluentui-react-native/theming-utils": "^0.23.5",
35
+ "@fluentui-react-native/theme": ">=0.8.2 <1.0.0",
36
+ "@fluentui-react-native/theme-tokens": "^0.24.4",
37
+ "@fluentui-react-native/theme-types": ">=0.30.4 <1.0.0",
38
+ "@fluentui-react-native/theming-utils": "^0.23.7",
39
39
  "assert-never": "^1.2.1"
40
40
  },
41
41
  "devDependencies": {
@@ -1,9 +1,9 @@
1
- let isHighContrastEnabled = false;
1
+ import { isHighContrast, setIsHighContrast as setIsHighContrastCore } from '@fluentui-react-native/theming-utils';
2
2
 
3
- export function setIsHighContrast(isHighContrast: boolean) {
4
- isHighContrastEnabled = isHighContrast;
3
+ export function setIsHighContrast(newIsHighContrast: boolean) {
4
+ setIsHighContrastCore(newIsHighContrast);
5
5
  }
6
6
 
7
7
  export function getIsHighContrast() {
8
- return isHighContrastEnabled;
8
+ return isHighContrast();
9
9
  }