@fluentui-react-native/apple-theme 0.9.12 → 0.9.15
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 +88 -1
- package/CHANGELOG.md +33 -2
- package/lib/appleColors.macos.js +2 -2
- package/lib/index.d.ts +3 -3
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +3 -3
- package/lib/index.js.map +1 -1
- package/lib-commonjs/appleColors.macos.js +2 -2
- package/lib-commonjs/index.d.ts +3 -3
- package/lib-commonjs/index.d.ts.map +1 -1
- package/lib-commonjs/index.js +8 -13
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +6 -6
- package/src/appleColors.macos.ts +2 -2
- package/src/index.ts +3 -3
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,94 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/apple-theme",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Mon, 04 Apr 2022 18:41:22 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/apple-theme_v0.9.15",
|
|
7
|
+
"version": "0.9.15",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "amchiu@microsoft.com",
|
|
12
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
13
|
+
"commit": "535124a01c7ebb054cbe871a72d042fb699c6601",
|
|
14
|
+
"comment": "Fix button styling"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Thu, 31 Mar 2022 07:27:47 GMT",
|
|
21
|
+
"tag": "@fluentui-react-native/apple-theme_v0.9.14",
|
|
22
|
+
"version": "0.9.14",
|
|
23
|
+
"comments": {
|
|
24
|
+
"patch": [
|
|
25
|
+
{
|
|
26
|
+
"author": "4123478+tido64@users.noreply.github.com",
|
|
27
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
28
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed",
|
|
29
|
+
"comment": "Ban `export *` in index files for better tree-shakeability"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"author": "beachball",
|
|
33
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
34
|
+
"comment": "Bump @fluentui-react-native/default-theme to v0.9.13",
|
|
35
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"author": "beachball",
|
|
39
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
40
|
+
"comment": "Bump @fluentui-react-native/theme to v0.6.6",
|
|
41
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"author": "beachball",
|
|
45
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
46
|
+
"comment": "Bump @fluentui-react-native/theme-tokens to v0.13.2",
|
|
47
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"author": "beachball",
|
|
51
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
52
|
+
"comment": "Bump @fluentui-react-native/theme-types to v0.14.1",
|
|
53
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"author": "beachball",
|
|
57
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
58
|
+
"comment": "Bump @fluentui-react-native/theming-utils to v0.9.2",
|
|
59
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"date": "Wed, 23 Mar 2022 17:24:05 GMT",
|
|
66
|
+
"tag": "@fluentui-react-native/apple-theme_v0.9.13",
|
|
67
|
+
"version": "0.9.13",
|
|
68
|
+
"comments": {
|
|
69
|
+
"patch": [
|
|
70
|
+
{
|
|
71
|
+
"author": "beachball",
|
|
72
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
73
|
+
"comment": "Bump @fluentui-react-native/default-theme to v0.9.12",
|
|
74
|
+
"commit": "0a18d2f8bb6505c6c6e2445ff3ba62ac79334872"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"author": "beachball",
|
|
78
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
79
|
+
"comment": "Bump @fluentui-react-native/theme-tokens to v0.13.1",
|
|
80
|
+
"commit": "0a18d2f8bb6505c6c6e2445ff3ba62ac79334872"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"author": "beachball",
|
|
84
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
85
|
+
"comment": "Bump @fluentui-react-native/theming-utils to v0.9.1",
|
|
86
|
+
"commit": "0a18d2f8bb6505c6c6e2445ff3ba62ac79334872"
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"date": "Wed, 09 Mar 2022 01:43:50 GMT",
|
|
6
93
|
"tag": "@fluentui-react-native/apple-theme_v0.9.12",
|
|
7
94
|
"version": "0.9.12",
|
|
8
95
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,43 @@
|
|
|
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 Mon, 04 Apr 2022 18:41:22 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.9.15
|
|
8
|
+
|
|
9
|
+
Mon, 04 Apr 2022 18:41:22 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Fix button styling (amchiu@microsoft.com)
|
|
14
|
+
|
|
15
|
+
## 0.9.14
|
|
16
|
+
|
|
17
|
+
Thu, 31 Mar 2022 07:27:47 GMT
|
|
18
|
+
|
|
19
|
+
### Patches
|
|
20
|
+
|
|
21
|
+
- Ban `export *` in index files for better tree-shakeability (4123478+tido64@users.noreply.github.com)
|
|
22
|
+
- Bump @fluentui-react-native/default-theme to v0.9.13
|
|
23
|
+
- Bump @fluentui-react-native/theme to v0.6.6
|
|
24
|
+
- Bump @fluentui-react-native/theme-tokens to v0.13.2
|
|
25
|
+
- Bump @fluentui-react-native/theme-types to v0.14.1
|
|
26
|
+
- Bump @fluentui-react-native/theming-utils to v0.9.2
|
|
27
|
+
|
|
28
|
+
## 0.9.13
|
|
29
|
+
|
|
30
|
+
Wed, 23 Mar 2022 17:24:05 GMT
|
|
31
|
+
|
|
32
|
+
### Patches
|
|
33
|
+
|
|
34
|
+
- Bump @fluentui-react-native/default-theme to v0.9.12
|
|
35
|
+
- Bump @fluentui-react-native/theme-tokens to v0.13.1
|
|
36
|
+
- Bump @fluentui-react-native/theming-utils to v0.9.1
|
|
37
|
+
|
|
7
38
|
## 0.9.12
|
|
8
39
|
|
|
9
|
-
Wed, 09 Mar 2022 01:43:
|
|
40
|
+
Wed, 09 Mar 2022 01:43:50 GMT
|
|
10
41
|
|
|
11
42
|
### Patches
|
|
12
43
|
|
package/lib/appleColors.macos.js
CHANGED
|
@@ -365,9 +365,9 @@ export function fallbackApplePalette() {
|
|
|
365
365
|
defaultHoveredBorder: fluentUIApple.neutralStroke2,
|
|
366
366
|
defaultHoveredContent: fluentUIApple.neutralForeground3,
|
|
367
367
|
defaultHoveredIcon: fluentUIApple.neutralForeground3,
|
|
368
|
-
defaultFocusedBackground: fluentUIApple.
|
|
368
|
+
defaultFocusedBackground: fluentUIApple.neutralBackground2,
|
|
369
369
|
defaultFocusedBorder: fluentUIApple.neutralStroke2,
|
|
370
|
-
defaultFocusedContent: fluentUIApple.
|
|
370
|
+
defaultFocusedContent: fluentUIApple.neutralForeground2,
|
|
371
371
|
defaultFocusedIcon: fluentUIApple.neutralForeground3,
|
|
372
372
|
defaultPressedBackground: fluentUIApple.neutralBackground2Pressed,
|
|
373
373
|
defaultPressedBorder: fluentUIApple.neutralStroke2,
|
package/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export { createAppleTheme } from './createAppleTheme';
|
|
2
|
+
export { createMacOSAliasTokens } from './createMacOSAliasTokens';
|
|
3
|
+
export { getIsHighContrast, setIsHighContrast } from './appleHighContrast.macos';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export { createAppleTheme } from './createAppleTheme';
|
|
2
|
+
export { createMacOSAliasTokens } from './createMacOSAliasTokens';
|
|
3
|
+
export { getIsHighContrast, setIsHighContrast } from './appleHighContrast.macos';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -369,9 +369,9 @@ function fallbackApplePalette() {
|
|
|
369
369
|
defaultHoveredBorder: fluentUIApple.neutralStroke2,
|
|
370
370
|
defaultHoveredContent: fluentUIApple.neutralForeground3,
|
|
371
371
|
defaultHoveredIcon: fluentUIApple.neutralForeground3,
|
|
372
|
-
defaultFocusedBackground: fluentUIApple.
|
|
372
|
+
defaultFocusedBackground: fluentUIApple.neutralBackground2,
|
|
373
373
|
defaultFocusedBorder: fluentUIApple.neutralStroke2,
|
|
374
|
-
defaultFocusedContent: fluentUIApple.
|
|
374
|
+
defaultFocusedContent: fluentUIApple.neutralForeground2,
|
|
375
375
|
defaultFocusedIcon: fluentUIApple.neutralForeground3,
|
|
376
376
|
defaultPressedBackground: fluentUIApple.neutralBackground2Pressed,
|
|
377
377
|
defaultPressedBorder: fluentUIApple.neutralStroke2,
|
package/lib-commonjs/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export { createAppleTheme } from './createAppleTheme';
|
|
2
|
+
export { createMacOSAliasTokens } from './createMacOSAliasTokens';
|
|
3
|
+
export { getIsHighContrast, setIsHighContrast } from './appleHighContrast.macos';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC"}
|
package/lib-commonjs/index.js
CHANGED
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
3
|
+
exports.setIsHighContrast = exports.getIsHighContrast = exports.createMacOSAliasTokens = exports.createAppleTheme = void 0;
|
|
4
|
+
var createAppleTheme_1 = require("./createAppleTheme");
|
|
5
|
+
Object.defineProperty(exports, "createAppleTheme", { enumerable: true, get: function () { return createAppleTheme_1.createAppleTheme; } });
|
|
6
|
+
var createMacOSAliasTokens_1 = require("./createMacOSAliasTokens");
|
|
7
|
+
Object.defineProperty(exports, "createMacOSAliasTokens", { enumerable: true, get: function () { return createMacOSAliasTokens_1.createMacOSAliasTokens; } });
|
|
8
|
+
var appleHighContrast_macos_1 = require("./appleHighContrast.macos");
|
|
9
|
+
Object.defineProperty(exports, "getIsHighContrast", { enumerable: true, get: function () { return appleHighContrast_macos_1.getIsHighContrast; } });
|
|
10
|
+
Object.defineProperty(exports, "setIsHighContrast", { enumerable: true, get: function () { return appleHighContrast_macos_1.setIsHighContrast; } });
|
|
16
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,uDAAsD;AAA7C,oHAAA,gBAAgB,OAAA;AACzB,mEAAkE;AAAzD,gIAAA,sBAAsB,OAAA;AAC/B,qEAAiF;AAAxE,4HAAA,iBAAiB,OAAA;AAAE,4HAAA,iBAAiB,OAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/apple-theme",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.15",
|
|
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,12 +27,12 @@
|
|
|
27
27
|
"directory": "packages/theming/apple-theme"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@fluentui-react-native/default-theme": ">=0.9.
|
|
30
|
+
"@fluentui-react-native/default-theme": ">=0.9.13 <1.0.0",
|
|
31
31
|
"@fluentui-react-native/memo-cache": "^1.1.7",
|
|
32
|
-
"@fluentui-react-native/theme": ">=0.6.
|
|
33
|
-
"@fluentui-react-native/theme-tokens": "^0.13.
|
|
34
|
-
"@fluentui-react-native/theme-types": ">=0.14.
|
|
35
|
-
"@fluentui-react-native/theming-utils": "^0.9.
|
|
32
|
+
"@fluentui-react-native/theme": ">=0.6.6 <1.0.0",
|
|
33
|
+
"@fluentui-react-native/theme-tokens": "^0.13.2",
|
|
34
|
+
"@fluentui-react-native/theme-types": ">=0.14.1 <1.0.0",
|
|
35
|
+
"@fluentui-react-native/theming-utils": "^0.9.2"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@fluentui-react-native/eslint-config-rules": "^0.1.1",
|
package/src/appleColors.macos.ts
CHANGED
|
@@ -396,9 +396,9 @@ export function fallbackApplePalette(): ThemeColorDefinition {
|
|
|
396
396
|
defaultHoveredContent: fluentUIApple.neutralForeground3,
|
|
397
397
|
defaultHoveredIcon: fluentUIApple.neutralForeground3, //GH:728 Icon doesn't support PlatformColor
|
|
398
398
|
|
|
399
|
-
defaultFocusedBackground: fluentUIApple.
|
|
399
|
+
defaultFocusedBackground: fluentUIApple.neutralBackground2,
|
|
400
400
|
defaultFocusedBorder: fluentUIApple.neutralStroke2,
|
|
401
|
-
defaultFocusedContent: fluentUIApple.
|
|
401
|
+
defaultFocusedContent: fluentUIApple.neutralForeground2,
|
|
402
402
|
defaultFocusedIcon: fluentUIApple.neutralForeground3, //GH:728 Icon doesn't support PlatformColor
|
|
403
403
|
|
|
404
404
|
defaultPressedBackground: fluentUIApple.neutralBackground2Pressed,
|
package/src/index.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export { createAppleTheme } from './createAppleTheme';
|
|
2
|
+
export { createMacOSAliasTokens } from './createMacOSAliasTokens';
|
|
3
|
+
export { getIsHighContrast, setIsHighContrast } from './appleHighContrast.macos';
|