@fluentui-react-native/apple-theme 0.18.15 → 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 +34 -1
- package/CHANGELOG.md +13 -2
- package/lib/appleHighContrast.macos.d.ts +1 -1
- package/lib/appleHighContrast.macos.d.ts.map +1 -1
- package/lib/appleHighContrast.macos.js +4 -4
- package/lib/appleHighContrast.macos.js.map +1 -1
- package/lib-commonjs/appleHighContrast.macos.d.ts +1 -1
- package/lib-commonjs/appleHighContrast.macos.d.ts.map +1 -1
- package/lib-commonjs/appleHighContrast.macos.js +4 -4
- package/lib-commonjs/appleHighContrast.macos.js.map +1 -1
- package/package.json +4 -4
- package/src/appleHighContrast.macos.ts +4 -4
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,40 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/apple-theme",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
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",
|
|
6
39
|
"tag": "@fluentui-react-native/apple-theme_v0.18.15",
|
|
7
40
|
"version": "0.18.15",
|
|
8
41
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,23 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/apple-theme
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
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
|
+
|
|
7
18
|
## 0.18.15
|
|
8
19
|
|
|
9
|
-
Fri, 03 Mar 2023 06:
|
|
20
|
+
Fri, 03 Mar 2023 06:47:26 GMT
|
|
10
21
|
|
|
11
22
|
### Patches
|
|
12
23
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleHighContrast.macos.d.ts","sourceRoot":"","sources":["../src/appleHighContrast.macos.ts"],"names":[],"mappings":"AAEA,wBAAgB,iBAAiB,CAAC,
|
|
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
|
-
|
|
2
|
-
export function setIsHighContrast(
|
|
3
|
-
|
|
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
|
|
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,
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleHighContrast.macos.d.ts","sourceRoot":"","sources":["../src/appleHighContrast.macos.ts"],"names":[],"mappings":"AAEA,wBAAgB,iBAAiB,CAAC,
|
|
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
|
|
5
|
-
function setIsHighContrast(
|
|
6
|
-
|
|
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
|
|
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,
|
|
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.
|
|
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.
|
|
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.
|
|
33
|
+
"@fluentui-react-native/experimental-appearance-additions": "^0.3.6",
|
|
34
34
|
"@fluentui-react-native/memo-cache": "^1.1.8",
|
|
35
35
|
"@fluentui-react-native/theme": ">=0.8.2 <1.0.0",
|
|
36
36
|
"@fluentui-react-native/theme-tokens": "^0.24.4",
|
|
37
37
|
"@fluentui-react-native/theme-types": ">=0.30.4 <1.0.0",
|
|
38
|
-
"@fluentui-react-native/theming-utils": "^0.23.
|
|
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
|
-
|
|
1
|
+
import { isHighContrast, setIsHighContrast as setIsHighContrastCore } from '@fluentui-react-native/theming-utils';
|
|
2
2
|
|
|
3
|
-
export function setIsHighContrast(
|
|
4
|
-
|
|
3
|
+
export function setIsHighContrast(newIsHighContrast: boolean) {
|
|
4
|
+
setIsHighContrastCore(newIsHighContrast);
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
export function getIsHighContrast() {
|
|
8
|
-
return
|
|
8
|
+
return isHighContrast();
|
|
9
9
|
}
|