@fluentui-react-native/apple-theme 0.13.1 → 0.14.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 +52 -1
- package/CHANGELOG.md +27 -2
- package/README.md +1 -1
- package/lib/__tests__/apple-theme.test.d.ts +2 -0
- package/lib/__tests__/apple-theme.test.d.ts.map +1 -0
- package/lib/__tests__/apple-theme.test.js +79 -0
- package/lib/__tests__/apple-theme.test.js.map +1 -0
- package/lib-commonjs/__tests__/apple-theme.test.d.ts +2 -0
- package/lib-commonjs/__tests__/apple-theme.test.d.ts.map +1 -0
- package/lib-commonjs/__tests__/apple-theme.test.js +81 -0
- package/lib-commonjs/__tests__/apple-theme.test.js.map +1 -0
- package/package.json +3 -3
- package/src/__tests__/__snapshots__/apple-theme.test.ts.snap +1793 -0
- package/src/__tests__/apple-theme.test.ts +46 -0
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,58 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/apple-theme",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Thu, 01 Sep 2022 16:59:59 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/apple-theme_v0.14.0",
|
|
7
|
+
"version": "0.14.0",
|
|
8
|
+
"comments": {
|
|
9
|
+
"minor": [
|
|
10
|
+
{
|
|
11
|
+
"author": "nkhalil942@gmail.com",
|
|
12
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
13
|
+
"commit": "567d1903113eede5db9b04f1e93b9599fdfdaabd",
|
|
14
|
+
"comment": "Added unit tests"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Mon, 29 Aug 2022 23:21:44 GMT",
|
|
21
|
+
"tag": "@fluentui-react-native/apple-theme_v0.13.3",
|
|
22
|
+
"version": "0.13.3",
|
|
23
|
+
"comments": {
|
|
24
|
+
"patch": [
|
|
25
|
+
{
|
|
26
|
+
"author": "beachball",
|
|
27
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
28
|
+
"comment": "Bump @fluentui-react-native/default-theme to v0.15.0",
|
|
29
|
+
"commit": "370259af6f245b97a9a9129d8defbdd30a0bbd9d"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"author": "beachball",
|
|
33
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
34
|
+
"comment": "Bump @fluentui-react-native/theming-utils to v0.15.0",
|
|
35
|
+
"commit": "370259af6f245b97a9a9129d8defbdd30a0bbd9d"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"date": "Sun, 24 Jul 2022 01:24:23 GMT",
|
|
42
|
+
"tag": "@fluentui-react-native/apple-theme_v0.13.2",
|
|
43
|
+
"version": "0.13.2",
|
|
44
|
+
"comments": {
|
|
45
|
+
"patch": [
|
|
46
|
+
{
|
|
47
|
+
"author": "sanajmi@microsoft.com",
|
|
48
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
49
|
+
"commit": "74da6a6410babb413c05e7a5d6df23b1d9bc4ae1",
|
|
50
|
+
"comment": "Fix dead link"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"date": "Tue, 19 Jul 2022 18:10:02 GMT",
|
|
6
57
|
"tag": "@fluentui-react-native/apple-theme_v0.13.1",
|
|
7
58
|
"version": "0.13.1",
|
|
8
59
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,37 @@
|
|
|
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 Thu, 01 Sep 2022 16:59:59 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.14.0
|
|
8
|
+
|
|
9
|
+
Thu, 01 Sep 2022 16:59:59 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- Added unit tests (nkhalil942@gmail.com)
|
|
14
|
+
|
|
15
|
+
## 0.13.3
|
|
16
|
+
|
|
17
|
+
Mon, 29 Aug 2022 23:21:44 GMT
|
|
18
|
+
|
|
19
|
+
### Patches
|
|
20
|
+
|
|
21
|
+
- Bump @fluentui-react-native/default-theme to v0.15.0
|
|
22
|
+
- Bump @fluentui-react-native/theming-utils to v0.15.0
|
|
23
|
+
|
|
24
|
+
## 0.13.2
|
|
25
|
+
|
|
26
|
+
Sun, 24 Jul 2022 01:24:23 GMT
|
|
27
|
+
|
|
28
|
+
### Patches
|
|
29
|
+
|
|
30
|
+
- Fix dead link (sanajmi@microsoft.com)
|
|
31
|
+
|
|
7
32
|
## 0.13.1
|
|
8
33
|
|
|
9
|
-
Tue, 19 Jul 2022 18:
|
|
34
|
+
Tue, 19 Jul 2022 18:10:02 GMT
|
|
10
35
|
|
|
11
36
|
### Patches
|
|
12
37
|
|
package/README.md
CHANGED
|
@@ -9,4 +9,4 @@ Some heuristics followed in this theme:
|
|
|
9
9
|
- For most tokens, we default to prefer the apple system colors, using the FluentUI Apple Palette where it makes sense. These mappings are subject to change as we increment on the design.
|
|
10
10
|
- On apple platforms, there tends to not be a "hover" state for components such as Button, so those tokens are mapped to be identical to the rest state (normal state) tokens.
|
|
11
11
|
- Similarly, there is not a "checked" state for most components, so those tokens are mapped to the rest state tokens.
|
|
12
|
-
- The typography is designed to match the variants provided by the [Apple HIG](https://developer.apple.com/design/human-interface-guidelines/
|
|
12
|
+
- The typography is designed to match the variants provided by the [Apple HIG](https://developer.apple.com/design/human-interface-guidelines/foundations/typography/) for regular and "emphasized". As such, the "Semibold" variants do not always map to the semibold weight, but whatever weight the Apple HIG specifies.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apple-theme.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/apple-theme.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
11
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
12
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
13
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
14
|
+
function step(op) {
|
|
15
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
16
|
+
while (_) try {
|
|
17
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
18
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
19
|
+
switch (op[0]) {
|
|
20
|
+
case 0: case 1: t = op; break;
|
|
21
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
22
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
23
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
24
|
+
default:
|
|
25
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
26
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
27
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
28
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
29
|
+
if (t[2]) _.ops.pop();
|
|
30
|
+
_.trys.pop(); continue;
|
|
31
|
+
}
|
|
32
|
+
op = body.call(thisArg, _);
|
|
33
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
34
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
import { createAppleTheme } from '../createAppleTheme';
|
|
38
|
+
import { createMacOSColorAliasTokens, createMacOSShadowAliasTokens } from '../createMacOSAliasTokens';
|
|
39
|
+
import { getIsHighContrast, setIsHighContrast } from '../appleHighContrast.macos';
|
|
40
|
+
var macOsAliasTokensTable = [
|
|
41
|
+
['light', true],
|
|
42
|
+
['light', false],
|
|
43
|
+
['dark', true],
|
|
44
|
+
['dark', false],
|
|
45
|
+
['highContrast', null],
|
|
46
|
+
];
|
|
47
|
+
it('createAppleTheme test', function () {
|
|
48
|
+
var appleTheme = createAppleTheme().theme;
|
|
49
|
+
expect(appleTheme).toMatchSnapshot();
|
|
50
|
+
});
|
|
51
|
+
it('IsHighContrast test', function () {
|
|
52
|
+
setIsHighContrast(false);
|
|
53
|
+
expect(getIsHighContrast()).toBe(false);
|
|
54
|
+
setIsHighContrast(true);
|
|
55
|
+
expect(getIsHighContrast()).toBe(true);
|
|
56
|
+
});
|
|
57
|
+
it.concurrent.each(macOsAliasTokensTable)('createMacOSColorAliasTokens test mode: %s, isHighContrast: %p', function (mode, isHighContrast) { return __awaiter(void 0, void 0, void 0, function () {
|
|
58
|
+
return __generator(this, function (_a) {
|
|
59
|
+
if (mode === 'highContrast') {
|
|
60
|
+
expect(function () { return createMacOSColorAliasTokens(mode, isHighContrast); }).toThrow();
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
expect(createMacOSColorAliasTokens(mode, isHighContrast)).toMatchSnapshot();
|
|
64
|
+
}
|
|
65
|
+
return [2 /*return*/];
|
|
66
|
+
});
|
|
67
|
+
}); });
|
|
68
|
+
it.concurrent.each(macOsAliasTokensTable)('createMacOSShadowAliasTokens test mode: %s, isHighContrast: %p', function (mode, isHighContrast) { return __awaiter(void 0, void 0, void 0, function () {
|
|
69
|
+
return __generator(this, function (_a) {
|
|
70
|
+
if (mode === 'highContrast') {
|
|
71
|
+
expect(function () { return createMacOSShadowAliasTokens(mode, isHighContrast); }).toThrow();
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
expect(createMacOSShadowAliasTokens(mode, isHighContrast)).toMatchSnapshot();
|
|
75
|
+
}
|
|
76
|
+
return [2 /*return*/];
|
|
77
|
+
});
|
|
78
|
+
}); });
|
|
79
|
+
//# sourceMappingURL=apple-theme.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apple-theme.test.js","sourceRoot":"","sources":["../../src/__tests__/apple-theme.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AACtG,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAGlF,IAAM,qBAAqB,GAAmC;IAC5D,CAAC,OAAO,EAAE,IAAI,CAAC;IACf,CAAC,OAAO,EAAE,KAAK,CAAC;IAChB,CAAC,MAAM,EAAE,IAAI,CAAC;IACd,CAAC,MAAM,EAAE,KAAK,CAAC;IACf,CAAC,cAAc,EAAE,IAAI,CAA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
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apple-theme.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/apple-theme.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
+
function step(op) {
|
|
16
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
+
while (_) try {
|
|
18
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
+
switch (op[0]) {
|
|
21
|
+
case 0: case 1: t = op; break;
|
|
22
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
+
default:
|
|
26
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
+
if (t[2]) _.ops.pop();
|
|
31
|
+
_.trys.pop(); continue;
|
|
32
|
+
}
|
|
33
|
+
op = body.call(thisArg, _);
|
|
34
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
var createAppleTheme_1 = require("../createAppleTheme");
|
|
40
|
+
var createMacOSAliasTokens_1 = require("../createMacOSAliasTokens");
|
|
41
|
+
var appleHighContrast_macos_1 = require("../appleHighContrast.macos");
|
|
42
|
+
var macOsAliasTokensTable = [
|
|
43
|
+
['light', true],
|
|
44
|
+
['light', false],
|
|
45
|
+
['dark', true],
|
|
46
|
+
['dark', false],
|
|
47
|
+
['highContrast', null],
|
|
48
|
+
];
|
|
49
|
+
it('createAppleTheme test', function () {
|
|
50
|
+
var appleTheme = (0, createAppleTheme_1.createAppleTheme)().theme;
|
|
51
|
+
expect(appleTheme).toMatchSnapshot();
|
|
52
|
+
});
|
|
53
|
+
it('IsHighContrast test', function () {
|
|
54
|
+
(0, appleHighContrast_macos_1.setIsHighContrast)(false);
|
|
55
|
+
expect((0, appleHighContrast_macos_1.getIsHighContrast)()).toBe(false);
|
|
56
|
+
(0, appleHighContrast_macos_1.setIsHighContrast)(true);
|
|
57
|
+
expect((0, appleHighContrast_macos_1.getIsHighContrast)()).toBe(true);
|
|
58
|
+
});
|
|
59
|
+
it.concurrent.each(macOsAliasTokensTable)('createMacOSColorAliasTokens test mode: %s, isHighContrast: %p', function (mode, isHighContrast) { return __awaiter(void 0, void 0, void 0, function () {
|
|
60
|
+
return __generator(this, function (_a) {
|
|
61
|
+
if (mode === 'highContrast') {
|
|
62
|
+
expect(function () { return (0, createMacOSAliasTokens_1.createMacOSColorAliasTokens)(mode, isHighContrast); }).toThrow();
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
expect((0, createMacOSAliasTokens_1.createMacOSColorAliasTokens)(mode, isHighContrast)).toMatchSnapshot();
|
|
66
|
+
}
|
|
67
|
+
return [2 /*return*/];
|
|
68
|
+
});
|
|
69
|
+
}); });
|
|
70
|
+
it.concurrent.each(macOsAliasTokensTable)('createMacOSShadowAliasTokens test mode: %s, isHighContrast: %p', function (mode, isHighContrast) { return __awaiter(void 0, void 0, void 0, function () {
|
|
71
|
+
return __generator(this, function (_a) {
|
|
72
|
+
if (mode === 'highContrast') {
|
|
73
|
+
expect(function () { return (0, createMacOSAliasTokens_1.createMacOSShadowAliasTokens)(mode, isHighContrast); }).toThrow();
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
expect((0, createMacOSAliasTokens_1.createMacOSShadowAliasTokens)(mode, isHighContrast)).toMatchSnapshot();
|
|
77
|
+
}
|
|
78
|
+
return [2 /*return*/];
|
|
79
|
+
});
|
|
80
|
+
}); });
|
|
81
|
+
//# sourceMappingURL=apple-theme.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apple-theme.test.js","sourceRoot":"","sources":["../../src/__tests__/apple-theme.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wDAAuD;AACvD,oEAAsG;AACtG,sEAAkF;AAGlF,IAAM,qBAAqB,GAAmC;IAC5D,CAAC,OAAO,EAAE,IAAI,CAAC;IACf,CAAC,OAA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AlD,CAAkD,CAAC,CAAC,OAAO,EAAE,CAAC;SAC5E;aAAM;YACL,MAAM,CAAC,IAAA,qDAA4B,EAAC,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC,eAAe,EAAE,CAAC;SAC9E;;;KACF,CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/apple-theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
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.
|
|
30
|
+
"@fluentui-react-native/default-theme": ">=0.15.0 <1.0.0",
|
|
31
31
|
"@fluentui-react-native/design-tokens-macos": "^0.13.0",
|
|
32
32
|
"@fluentui-react-native/memo-cache": "^1.1.7",
|
|
33
33
|
"@fluentui-react-native/theme": ">=0.7.0 <1.0.0",
|
|
34
34
|
"@fluentui-react-native/theme-types": ">=0.18.0 <1.0.0",
|
|
35
|
-
"@fluentui-react-native/theming-utils": "^0.
|
|
35
|
+
"@fluentui-react-native/theming-utils": "^0.15.0",
|
|
36
36
|
"assert-never": "^1.2.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|