@fluentui-react-native/apple-theme 0.18.5 → 0.18.7
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 +100 -1
- package/CHANGELOG.md +27 -2
- package/lib/__tests__/apple-theme.test.js +1 -1
- package/lib/appleColors.ios.d.ts +1 -1
- package/lib/appleColors.ios.d.ts.map +1 -1
- package/lib/appleColors.macos.d.ts +1 -1
- package/lib/appleColors.macos.d.ts.map +1 -1
- package/lib/appleColors.types.ios.d.ts +2 -2
- package/lib/appleColors.types.ios.d.ts.map +1 -1
- package/lib/appleColors.types.macos.d.ts +2 -2
- package/lib/appleColors.types.macos.d.ts.map +1 -1
- package/lib/appleShadows.ios.d.ts +1 -1
- package/lib/appleShadows.ios.d.ts.map +1 -1
- package/lib/appleShadows.macos.d.ts +1 -1
- package/lib/appleShadows.macos.d.ts.map +1 -1
- package/lib/appleTheme.ios.d.ts +1 -1
- package/lib/appleTheme.ios.d.ts.map +1 -1
- package/lib/appleTheme.macos.d.ts +1 -1
- package/lib/appleTheme.macos.d.ts.map +1 -1
- package/lib/appleTypography.ios.d.ts +1 -1
- package/lib/appleTypography.ios.d.ts.map +1 -1
- package/lib/appleTypography.macos.d.ts +1 -1
- package/lib/appleTypography.macos.d.ts.map +1 -1
- package/lib/createFontAliasTokens.ios.d.ts +1 -1
- package/lib/createFontAliasTokens.ios.d.ts.map +1 -1
- package/lib/createMacOSAliasTokens.d.ts +2 -2
- package/lib/createMacOSAliasTokens.d.ts.map +1 -1
- package/lib/createiOSAliasTokens.d.ts +2 -2
- package/lib/createiOSAliasTokens.d.ts.map +1 -1
- package/lib/getMacOSTokens.d.ts +1 -1
- package/lib/getMacOSTokens.d.ts.map +1 -1
- package/lib-commonjs/__tests__/apple-theme.test.js +1 -1
- package/lib-commonjs/appleColors.ios.d.ts +1 -1
- package/lib-commonjs/appleColors.ios.d.ts.map +1 -1
- package/lib-commonjs/appleColors.macos.d.ts +1 -1
- package/lib-commonjs/appleColors.macos.d.ts.map +1 -1
- package/lib-commonjs/appleColors.types.ios.d.ts +2 -2
- package/lib-commonjs/appleColors.types.ios.d.ts.map +1 -1
- package/lib-commonjs/appleColors.types.macos.d.ts +2 -2
- package/lib-commonjs/appleColors.types.macos.d.ts.map +1 -1
- package/lib-commonjs/appleShadows.ios.d.ts +1 -1
- package/lib-commonjs/appleShadows.ios.d.ts.map +1 -1
- package/lib-commonjs/appleShadows.macos.d.ts +1 -1
- package/lib-commonjs/appleShadows.macos.d.ts.map +1 -1
- package/lib-commonjs/appleTheme.ios.d.ts +1 -1
- package/lib-commonjs/appleTheme.ios.d.ts.map +1 -1
- package/lib-commonjs/appleTheme.macos.d.ts +1 -1
- package/lib-commonjs/appleTheme.macos.d.ts.map +1 -1
- package/lib-commonjs/appleTypography.ios.d.ts +1 -1
- package/lib-commonjs/appleTypography.ios.d.ts.map +1 -1
- package/lib-commonjs/appleTypography.macos.d.ts +1 -1
- package/lib-commonjs/appleTypography.macos.d.ts.map +1 -1
- package/lib-commonjs/createFontAliasTokens.ios.d.ts +1 -1
- package/lib-commonjs/createFontAliasTokens.ios.d.ts.map +1 -1
- package/lib-commonjs/createMacOSAliasTokens.d.ts +2 -2
- package/lib-commonjs/createMacOSAliasTokens.d.ts.map +1 -1
- package/lib-commonjs/createiOSAliasTokens.d.ts +2 -2
- package/lib-commonjs/createiOSAliasTokens.d.ts.map +1 -1
- package/lib-commonjs/getMacOSTokens.d.ts +1 -1
- package/lib-commonjs/getMacOSTokens.d.ts.map +1 -1
- package/package.json +23 -17
- package/src/__tests__/apple-theme.test.ts +1 -1
- package/src/appleColors.ios.ts +2 -2
- package/src/appleColors.macos.ts +2 -2
- package/src/appleColors.types.ios.ts +1 -1
- package/src/appleColors.types.macos.ts +1 -1
- package/src/appleShadows.ios.ts +1 -1
- package/src/appleShadows.macos.ts +1 -1
- package/src/appleTheme.ios.ts +1 -1
- package/src/appleTheme.macos.ts +1 -1
- package/src/appleTypography.ios.ts +1 -1
- package/src/appleTypography.macos.ts +1 -1
- package/src/createAppleTheme.ios.ts +1 -1
- package/src/createAppleTheme.macos.ts +1 -1
- package/src/createFontAliasTokens.ios.ts +1 -1
- package/src/createMacOSAliasTokens.ts +2 -2
- package/src/createiOSAliasTokens.ts +2 -2
- package/src/getMacOSTokens.ts +1 -1
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,106 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/apple-theme",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Thu, 02 Feb 2023 01:27:10 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/apple-theme_v0.18.7",
|
|
7
|
+
"version": "0.18.7",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "beachball",
|
|
12
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
13
|
+
"comment": "Bump @fluentui-react-native/default-theme to v0.16.29",
|
|
14
|
+
"commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
19
|
+
"comment": "Bump @fluentui-react-native/experimental-appearance-additions to v0.2.3",
|
|
20
|
+
"commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
25
|
+
"comment": "Bump @fluentui-react-native/theme to v0.7.21",
|
|
26
|
+
"commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"date": "Wed, 01 Feb 2023 22:33:15 GMT",
|
|
33
|
+
"tag": "@fluentui-react-native/apple-theme_v0.18.6",
|
|
34
|
+
"version": "0.18.6",
|
|
35
|
+
"comments": {
|
|
36
|
+
"patch": [
|
|
37
|
+
{
|
|
38
|
+
"author": "30809111+acoates-ms@users.noreply.github.com",
|
|
39
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
40
|
+
"commit": "2d0138c80d7512b905fcf32583760bec2b911910",
|
|
41
|
+
"comment": "Enable @typescript-eslint/consistent-type-imports"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"author": "beachball",
|
|
45
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
46
|
+
"comment": "Bump @fluentui-react-native/default-theme to v0.16.28",
|
|
47
|
+
"commit": "2d0138c80d7512b905fcf32583760bec2b911910"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"author": "beachball",
|
|
51
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
52
|
+
"comment": "Bump @fluentui-react-native/experimental-appearance-additions to v0.2.2",
|
|
53
|
+
"commit": "2d0138c80d7512b905fcf32583760bec2b911910"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"author": "beachball",
|
|
57
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
58
|
+
"comment": "Bump @fluentui-react-native/memo-cache to v1.1.8",
|
|
59
|
+
"commit": "2d0138c80d7512b905fcf32583760bec2b911910"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"author": "beachball",
|
|
63
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
64
|
+
"comment": "Bump @fluentui-react-native/theme to v0.7.20",
|
|
65
|
+
"commit": "2d0138c80d7512b905fcf32583760bec2b911910"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"author": "beachball",
|
|
69
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
70
|
+
"comment": "Bump @fluentui-react-native/theme-tokens to v0.24.2",
|
|
71
|
+
"commit": "2d0138c80d7512b905fcf32583760bec2b911910"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"author": "beachball",
|
|
75
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
76
|
+
"comment": "Bump @fluentui-react-native/theme-types to v0.30.2",
|
|
77
|
+
"commit": "2d0138c80d7512b905fcf32583760bec2b911910"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"author": "beachball",
|
|
81
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
82
|
+
"comment": "Bump @fluentui-react-native/theming-utils to v0.23.2",
|
|
83
|
+
"commit": "2d0138c80d7512b905fcf32583760bec2b911910"
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"date": "Mon, 30 Jan 2023 15:17:29 GMT",
|
|
90
|
+
"tag": "@fluentui-react-native/apple-theme_v0.18.5",
|
|
91
|
+
"version": "0.18.5",
|
|
92
|
+
"comments": {
|
|
93
|
+
"none": [
|
|
94
|
+
{
|
|
95
|
+
"author": "4123478+tido64@users.noreply.github.com",
|
|
96
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
97
|
+
"commit": "4de4c2b37c835ebd9af015ff767f9dd68452f786",
|
|
98
|
+
"comment": "Migrate to align-deps"
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"date": "Mon, 30 Jan 2023 07:12:38 GMT",
|
|
6
105
|
"tag": "@fluentui-react-native/apple-theme_v0.18.5",
|
|
7
106
|
"version": "0.18.5",
|
|
8
107
|
"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, 02 Feb 2023 01:27:10 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.18.7
|
|
8
|
+
|
|
9
|
+
Thu, 02 Feb 2023 01:27:10 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Bump @fluentui-react-native/default-theme to v0.16.29
|
|
14
|
+
- Bump @fluentui-react-native/experimental-appearance-additions to v0.2.3
|
|
15
|
+
- Bump @fluentui-react-native/theme to v0.7.21
|
|
16
|
+
|
|
17
|
+
## 0.18.6
|
|
18
|
+
|
|
19
|
+
Wed, 01 Feb 2023 22:33:15 GMT
|
|
20
|
+
|
|
21
|
+
### Patches
|
|
22
|
+
|
|
23
|
+
- Enable @typescript-eslint/consistent-type-imports (30809111+acoates-ms@users.noreply.github.com)
|
|
24
|
+
- Bump @fluentui-react-native/default-theme to v0.16.28
|
|
25
|
+
- Bump @fluentui-react-native/experimental-appearance-additions to v0.2.2
|
|
26
|
+
- Bump @fluentui-react-native/memo-cache to v1.1.8
|
|
27
|
+
- Bump @fluentui-react-native/theme to v0.7.20
|
|
28
|
+
- Bump @fluentui-react-native/theme-tokens to v0.24.2
|
|
29
|
+
- Bump @fluentui-react-native/theme-types to v0.30.2
|
|
30
|
+
- Bump @fluentui-react-native/theming-utils to v0.23.2
|
|
31
|
+
|
|
7
32
|
## 0.18.5
|
|
8
33
|
|
|
9
|
-
Mon, 30 Jan 2023 07:
|
|
34
|
+
Mon, 30 Jan 2023 07:12:38 GMT
|
|
10
35
|
|
|
11
36
|
### Patches
|
|
12
37
|
|
|
@@ -13,7 +13,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
13
13
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
14
14
|
function step(op) {
|
|
15
15
|
if (f) throw new TypeError("Generator is already executing.");
|
|
16
|
-
while (_) try {
|
|
16
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
17
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
18
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
19
19
|
switch (op[0]) {
|
package/lib/appleColors.ios.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ThemeColorDefinition } from '@fluentui-react-native/theme-types';
|
|
1
|
+
import type { ThemeColorDefinition } from '@fluentui-react-native/theme-types';
|
|
2
2
|
/** Creates a palette of colors for the apple theme, using the appropriate FluentUI Apple Palette based on appearance */
|
|
3
3
|
export declare function paletteFromAppleColors(isLightMode: boolean, isElevated: boolean): ThemeColorDefinition;
|
|
4
4
|
//# sourceMappingURL=appleColors.ios.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleColors.ios.d.ts","sourceRoot":"","sources":["../src/appleColors.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"appleColors.ios.d.ts","sourceRoot":"","sources":["../src/appleColors.ios.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAwN/E,wHAAwH;AACxH,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,GAAG,oBAAoB,CAsOtG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ThemeColorDefinition, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
1
|
+
import type { ThemeColorDefinition, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
2
2
|
/** Creates a palette of colors for the apple theme, given the FluentUI Apple Palette and Apple Semantic Palette
|
|
3
3
|
* The fallback palette is loaded while we wait for the native theming module to load, or if the module is not found
|
|
4
4
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleColors.macos.d.ts","sourceRoot":"","sources":["../src/appleColors.macos.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AA+
|
|
1
|
+
{"version":3,"file":"appleColors.macos.d.ts","sourceRoot":"","sources":["../src/appleColors.macos.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AA+PlG;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,iBAAiB,GAAG,oBAAoB,CA2VlF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ColorValue } from 'react-native';
|
|
1
|
+
import type { ColorValue } from 'react-native';
|
|
2
2
|
/** Palette of colors defined in FluentUI Apple */
|
|
3
3
|
interface FluentUIApplePalette {
|
|
4
4
|
blue10: ColorValue;
|
|
@@ -123,6 +123,6 @@ interface FluentAppleButtonColors {
|
|
|
123
123
|
buttonTitleDisabled: ColorValue;
|
|
124
124
|
buttonTitleWithFilledBackground: ColorValue;
|
|
125
125
|
}
|
|
126
|
-
export
|
|
126
|
+
export type ApplePalette = FluentUIApplePalette & FluentAppleSemanticColors & FluentAppleButtonColors;
|
|
127
127
|
export {};
|
|
128
128
|
//# sourceMappingURL=appleColors.types.ios.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleColors.types.ios.d.ts","sourceRoot":"","sources":["../src/appleColors.types.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"appleColors.types.ios.d.ts","sourceRoot":"","sources":["../src/appleColors.types.ios.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,kDAAkD;AAClD,UAAU,oBAAoB;IAC5B,MAAM,EAAE,UAAU,CAAC;IACnB,aAAa,EAAE,UAAU,CAAC;IAC1B,aAAa,EAAE,UAAU,CAAC;IAC1B,iBAAiB,EAAE,UAAU,CAAC;IAC9B,wBAAwB,EAAE,UAAU,CAAC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AAC;IAC1B,wCAAwC;IACxC,YAAY,EAAE,UAAU,CAAC;IACzB,qFAAqF;IACrF,YAAY,EAAE,UAAU,CAAC;IAEzB;;;OAGG;IAEH,cAAc,EAAE,UAAU,CAAC;IAC3B,gBAAgB,EAAE,UAAU,CAAC;IAC7B,eAAe,EAAE,UAAU,CAAC;IAC5B,8CAA8C;IAC9C,iBAAiB,EAAE,UAAU,CAAC;IAE9B,gBAAgB,EAAE,UAAU,CAAC;IAC7B,kBAAkB,EAAE,UAAU,CAAC;IAC/B,iBAAiB,EAAE,UAAU,CAAC;CAC/B;AAED,uDAAuD;AACvD,UAAU,uBAAuB;IAC/B,gBAAgB,EAAE,UAAU,CAAC;IAC7B,6BAA6B,EAAE,UAAU,CAAC;IAC1C,8BAA8B,EAAE,UAAU,CAAC;IAC3C,oBAAoB,EAAE,UAAU,CAAC;IACjC,mBAAmB,EAAE,UAAU,CAAC;IAChC,+BAA+B,EAAE,UAAU,CAAC;CAC7C;AAED,MAAM,MAAM,YAAY,GAAG,oBAAoB,GAAG,yBAAyB,GAAG,uBAAuB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ColorValue } from 'react-native';
|
|
1
|
+
import type { ColorValue } from 'react-native';
|
|
2
2
|
/** Palette of Apple Platform Colors, defined at https://developer.apple.com/documentation/appkit/nscolor/ui_element_colors */
|
|
3
3
|
export interface AppleSemanticPalette {
|
|
4
4
|
/** The primary color to use for text labels */
|
|
@@ -150,6 +150,6 @@ interface FluentUIAppleBasePalette {
|
|
|
150
150
|
warningTint30: ColorValue;
|
|
151
151
|
warningTint40: ColorValue;
|
|
152
152
|
}
|
|
153
|
-
export
|
|
153
|
+
export type FluentUIApplePalette = FluentUIAppleBasePalette;
|
|
154
154
|
export {};
|
|
155
155
|
//# sourceMappingURL=appleColors.types.macos.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleColors.types.macos.d.ts","sourceRoot":"","sources":["../src/appleColors.types.macos.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"appleColors.types.macos.d.ts","sourceRoot":"","sources":["../src/appleColors.types.macos.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,8HAA8H;AAC9H,MAAM,WAAW,oBAAoB;IAGnC,+CAA+C;IAC/C,UAAU,EAAE,UAAU,CAAC;IAEvB,iDAAiD;IACjD,mBAAmB,EAAE,UAAU,CAAC;IAEhC,gDAAgD;IAChD,kBAAkB,EAAE,UAAU,CAAC;IAE/B,iEAAiE;IACjE,oBAAoB,EAAE,UAAU,CAAC;IAIjC,gCAAgC;IAChC,SAAS,EAAE,UAAU,CAAC;IAEtB,sEAAsE;IACtE,oBAAoB,EAAE,UAAU,CAAC;IAEjC,yCAAyC;IACzC,iBAAiB,EAAE,UAAU,CAAC;IAE9B,2DAA2D;IAC3D,mBAAmB,EAAE,UAAU,CAAC;IAEhC,2DAA2D;IAC3D,2BAA2B,EAAE,UAAU,CAAC;IAExC,mEAAmE;IACnE,2BAA2B,EAAE,UAAU,CAAC;IAExC,oEAAoE;IACpE,6BAA6B,EAAE,UAAU,CAAC;IAE1C,0EAA0E;IAC1E,uCAAuC,EAAE,UAAU,CAAC;IAIpD,iCAAiC;IACjC,SAAS,EAAE,UAAU,CAAC;IAEtB,4EAA4E;IAC5E,cAAc,EAAE,UAAU,CAAC;IAE3B,6EAA6E;IAC7E,8BAA8B,EAAE,UAAU,CAAC;IAE3C,6DAA6D;IAC7D,0CAA0C,EAAE,UAAU,CAAC;IAIvD,kDAAkD;IAClD,yBAAyB,EAAE,UAAU,CAAC;IAItC,iFAAiF;IACjF,SAAS,EAAE,UAAU,CAAC;IAEtB,iFAAiF;IACjF,eAAe,EAAE,UAAU,CAAC;IAE5B,gHAAgH;IAChH,oCAAoC,EAAE,UAAU,CAAC;IAEjD,gHAAgH;IACh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,UAAU,CAAC;IAC5B,KAAK,EAAE,UAAU,CAAC;IAClB,KAAK,EAAE,UAAU,CAAC;IAClB,cAAc,EAAE,UAAU,CAAC;IAC3B,cAAc,EAAE,UAAU,CAAC;IAC3B,cAAc,EAAE,UAAU,CAAC;IAC3B,cAAc,EAAE,UAAU,CAAC;IAC3B,aAAa,EAAE,UAAU,CAAC;IAC1B,aAAa,EAAE,UAAU,CAAC;IAC1B,aAAa,EAAE,UAAU,CAAC;IAC1B,aAAa,EAAE,UAAU,CAAC;IAC1B,cAAc,EAAE,UAAU,CAAC;IAC3B,cAAc,EAAE,UAAU,CAAC;IAC3B,cAAc,EAAE,UAAU,CAAC;IAC3B,cAAc,EAAE,UAAU,CAAC;IAC3B,aAAa,EAAE,UAAU,CAAC;IAC1B,aAAa,EAAE,UAAU,CAAC;IAC1B,aAAa,EAAE,UAAU,CAAC;IAC1B,aAAa,EAAE,UAAU,CAAC;CAC3B;AAED,MAAM,MAAM,oBAAoB,GAAG,wBAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleShadows.ios.d.ts","sourceRoot":"","sources":["../src/appleShadows.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"appleShadows.ios.d.ts","sourceRoot":"","sources":["../src/appleShadows.ios.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAKhF,wBAAgB,UAAU,IAAI,qBAAqB,CAIlD"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ThemeShadowDefinition, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
1
|
+
import type { ThemeShadowDefinition, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
2
2
|
export declare function fallbackAppleShadows(mode: AppearanceOptions): ThemeShadowDefinition;
|
|
3
3
|
//# sourceMappingURL=appleShadows.macos.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleShadows.macos.d.ts","sourceRoot":"","sources":["../src/appleShadows.macos.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"appleShadows.macos.d.ts","sourceRoot":"","sources":["../src/appleShadows.macos.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAInG,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,iBAAiB,GAAG,qBAAqB,CAEnF"}
|
package/lib/appleTheme.ios.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Theme } from '@fluentui-react-native/theme-types';
|
|
1
|
+
import type { Theme } from '@fluentui-react-native/theme-types';
|
|
2
2
|
declare function getBaseAppleThemeIOSWorker(isLightMode: boolean, isElevated: boolean): Theme;
|
|
3
3
|
export declare const getBaseAppleThemeIOS: typeof getBaseAppleThemeIOSWorker;
|
|
4
4
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleTheme.ios.d.ts","sourceRoot":"","sources":["../src/appleTheme.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAW,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"appleTheme.ios.d.ts","sourceRoot":"","sources":["../src/appleTheme.ios.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAW,MAAM,oCAAoC,CAAC;AAkIzE,iBAAS,0BAA0B,CAAC,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,GAAG,KAAK,CASpF;AAED,eAAO,MAAM,oBAAoB,mCAAsC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Spacing, Theme, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
1
|
+
import type { Spacing, Theme, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
2
2
|
export declare function appleSpacing(): Spacing;
|
|
3
3
|
export declare const appleComponents: {
|
|
4
4
|
Button: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleTheme.macos.d.ts","sourceRoot":"","sources":["../src/appleTheme.macos.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"appleTheme.macos.d.ts","sourceRoot":"","sources":["../src/appleTheme.macos.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAM5F,wBAAgB,YAAY,IAAI,OAAO,CAQtC;AAED,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwD3B,CAAC;AAEF,iBAAS,4BAA4B,CAAC,IAAI,EAAE,iBAAiB,GAAG,KAAK,CASpE;AAED,eAAO,MAAM,sBAAsB,qCAAwC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleTypography.ios.d.ts","sourceRoot":"","sources":["../src/appleTypography.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,UAAU,EAAY,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"appleTypography.ios.d.ts","sourceRoot":"","sources":["../src/appleTypography.ios.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAwC,UAAU,EAAY,MAAM,oCAAoC,CAAC;AAIrH,wBAAgB,eAAe,IAAI,UAAU,CAkD5C"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Typography } from '@fluentui-react-native/theme-types';
|
|
1
|
+
import type { Typography } from '@fluentui-react-native/theme-types';
|
|
2
2
|
/**
|
|
3
3
|
* The Typography is designed to match the styles defined in the Apple HIG:
|
|
4
4
|
* https://developer.apple.com/design/human-interface-guidelines/macos/visual-design/typography/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleTypography.macos.d.ts","sourceRoot":"","sources":["../src/appleTypography.macos.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,UAAU,EAAY,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"appleTypography.macos.d.ts","sourceRoot":"","sources":["../src/appleTypography.macos.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAwC,UAAU,EAAY,MAAM,oCAAoC,CAAC;AAErH;;;;;GAKG;AAEH,wBAAgB,uBAAuB,IAAI,UAAU,CA8DpD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Variants } from '@fluentui-react-native/theme-types';
|
|
1
|
+
import type { Variants } from '@fluentui-react-native/theme-types';
|
|
2
2
|
declare function createFontAliasTokensWorker(): Partial<Variants>;
|
|
3
3
|
export declare const createFontAliasTokens: typeof createFontAliasTokensWorker;
|
|
4
4
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createFontAliasTokens.ios.d.ts","sourceRoot":"","sources":["../src/createFontAliasTokens.ios.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"createFontAliasTokens.ios.d.ts","sourceRoot":"","sources":["../src/createFontAliasTokens.ios.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAInE,iBAAS,2BAA2B,IAAI,OAAO,CAAC,QAAQ,CAAC,CAExD;AAED,eAAO,MAAM,qBAAqB,oCAAuC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AliasColorTokens, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
2
|
-
import { ThemeShadowDefinition } from '@fluentui-react-native/theme-types/lib/Shadow.types';
|
|
1
|
+
import type { AliasColorTokens, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
2
|
+
import type { ThemeShadowDefinition } from '@fluentui-react-native/theme-types/lib/Shadow.types';
|
|
3
3
|
declare function createMacOSColorAliasTokensWorker(mode: AppearanceOptions, isHighContrast: boolean): AliasColorTokens;
|
|
4
4
|
export declare const createMacOSColorAliasTokens: typeof createMacOSColorAliasTokensWorker;
|
|
5
5
|
declare function createMacOSShadowAliasTokensWorker(mode: AppearanceOptions, isHighContrast: boolean): ThemeShadowDefinition;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createMacOSAliasTokens.d.ts","sourceRoot":"","sources":["../src/createMacOSAliasTokens.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"createMacOSAliasTokens.d.ts","sourceRoot":"","sources":["../src/createMacOSAliasTokens.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAG9F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qDAAqD,CAAC;AAEjG,iBAAS,iCAAiC,CAAC,IAAI,EAAE,iBAAiB,EAAE,cAAc,EAAE,OAAO,GAAG,gBAAgB,CAG7G;AAED,eAAO,MAAM,2BAA2B,0CAA6C,CAAC;AAEtF,iBAAS,kCAAkC,CAAC,IAAI,EAAE,iBAAiB,EAAE,cAAc,EAAE,OAAO,GAAG,qBAAqB,CAGnH;AAED,eAAO,MAAM,4BAA4B,2CAA8C,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AliasColorTokens, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
2
|
-
import { ThemeShadowDefinition } from '@fluentui-react-native/theme-types/lib/Shadow.types';
|
|
1
|
+
import type { AliasColorTokens, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
2
|
+
import type { ThemeShadowDefinition } from '@fluentui-react-native/theme-types/lib/Shadow.types';
|
|
3
3
|
declare function createiOSColorAliasTokensWorker(mode: AppearanceOptions): AliasColorTokens;
|
|
4
4
|
export declare const createiOSColorAliasTokens: typeof createiOSColorAliasTokensWorker;
|
|
5
5
|
declare function createiOSShadowAliasTokensWorker(mode: AppearanceOptions): ThemeShadowDefinition;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createiOSAliasTokens.d.ts","sourceRoot":"","sources":["../src/createiOSAliasTokens.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"createiOSAliasTokens.d.ts","sourceRoot":"","sources":["../src/createiOSAliasTokens.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAG9F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qDAAqD,CAAC;AAEjG,iBAAS,+BAA+B,CAAC,IAAI,EAAE,iBAAiB,GAAG,gBAAgB,CAGlF;AAED,eAAO,MAAM,yBAAyB,wCAA2C,CAAC;AAElF,iBAAS,gCAAgC,CAAC,IAAI,EAAE,iBAAiB,GAAG,qBAAqB,CAGxF;AAED,eAAO,MAAM,0BAA0B,yCAA4C,CAAC"}
|
package/lib/getMacOSTokens.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
1
|
+
import type { AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
2
2
|
export declare function getMacOSAliasTokens(mode: AppearanceOptions, isHighContrast: boolean): {
|
|
3
3
|
brandBackground: {
|
|
4
4
|
fillColorRest: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getMacOSTokens.d.ts","sourceRoot":"","sources":["../src/getMacOSTokens.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"getMacOSTokens.d.ts","sourceRoot":"","sources":["../src/getMacOSTokens.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAG5E,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,iBAAiB,EAAE,cAAc,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBnF;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,iBAAiB,EAAE,cAAc,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBpF"}
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
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
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ThemeColorDefinition } from '@fluentui-react-native/theme-types';
|
|
1
|
+
import type { ThemeColorDefinition } from '@fluentui-react-native/theme-types';
|
|
2
2
|
/** Creates a palette of colors for the apple theme, using the appropriate FluentUI Apple Palette based on appearance */
|
|
3
3
|
export declare function paletteFromAppleColors(isLightMode: boolean, isElevated: boolean): ThemeColorDefinition;
|
|
4
4
|
//# sourceMappingURL=appleColors.ios.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleColors.ios.d.ts","sourceRoot":"","sources":["../src/appleColors.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"appleColors.ios.d.ts","sourceRoot":"","sources":["../src/appleColors.ios.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAwN/E,wHAAwH;AACxH,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,GAAG,oBAAoB,CAsOtG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ThemeColorDefinition, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
1
|
+
import type { ThemeColorDefinition, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
2
2
|
/** Creates a palette of colors for the apple theme, given the FluentUI Apple Palette and Apple Semantic Palette
|
|
3
3
|
* The fallback palette is loaded while we wait for the native theming module to load, or if the module is not found
|
|
4
4
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleColors.macos.d.ts","sourceRoot":"","sources":["../src/appleColors.macos.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AA+
|
|
1
|
+
{"version":3,"file":"appleColors.macos.d.ts","sourceRoot":"","sources":["../src/appleColors.macos.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AA+PlG;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,iBAAiB,GAAG,oBAAoB,CA2VlF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ColorValue } from 'react-native';
|
|
1
|
+
import type { ColorValue } from 'react-native';
|
|
2
2
|
/** Palette of colors defined in FluentUI Apple */
|
|
3
3
|
interface FluentUIApplePalette {
|
|
4
4
|
blue10: ColorValue;
|
|
@@ -123,6 +123,6 @@ interface FluentAppleButtonColors {
|
|
|
123
123
|
buttonTitleDisabled: ColorValue;
|
|
124
124
|
buttonTitleWithFilledBackground: ColorValue;
|
|
125
125
|
}
|
|
126
|
-
export
|
|
126
|
+
export type ApplePalette = FluentUIApplePalette & FluentAppleSemanticColors & FluentAppleButtonColors;
|
|
127
127
|
export {};
|
|
128
128
|
//# sourceMappingURL=appleColors.types.ios.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleColors.types.ios.d.ts","sourceRoot":"","sources":["../src/appleColors.types.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"appleColors.types.ios.d.ts","sourceRoot":"","sources":["../src/appleColors.types.ios.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,kDAAkD;AAClD,UAAU,oBAAoB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IACxC,YAAY,EAAE,UAAU,CAAC;IACzB,wFAAwF;IACxF,YAAY,EAAE,UAAU,CAAC;IAEzB,iIAAiI;IACjI,WAAW,EAAE,UAAU,CAAC;IACxB,kFAAkF;IAClF,aAAa,EAAE,UAAU,CAAC;IAC1B,wCAAwC;IACxC,YAAY,EAAE,UAAU,CAAC;IACzB,qFAAqF;IACrF,YAAY,EAAE,UAAU,CAAC;IAEzB;;;OAGG;IAEH,cAAc,EAAE,UAAU,CAAC;IAC3B,gBAAgB,EAAE,UAAU,CAAC;IAC7B,eAAe,EAAE,UAAU,CAAC;IAC5B,8CAA8C;IAC9C,iBAAiB,EAAE,UAAU,CAAC;IAE9B,gBAAgB,EAAE,UAAU,CAAC;IAC7B,kBAAkB,EAAE,UAAU,CAAC;IAC/B,iBAAiB,EAAE,UAAU,CAAC;CAC/B;AAED,uDAAuD;AACvD,UAAU,uBAAuB;IAC/B,gBAAgB,EAAE,UAAU,CAAC;IAC7B,6BAA6B,EAAE,UAAU,CAAC;IAC1C,8BAA8B,EAAE,UAAU,CAAC;IAC3C,oBAAoB,EAAE,UAAU,CAAC;IACjC,mBAAmB,EAAE,UAAU,CAAC;IAChC,+BAA+B,EAAE,UAAU,CAAC;CAC7C;AAED,MAAM,MAAM,YAAY,GAAG,oBAAoB,GAAG,yBAAyB,GAAG,uBAAuB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ColorValue } from 'react-native';
|
|
1
|
+
import type { ColorValue } from 'react-native';
|
|
2
2
|
/** Palette of Apple Platform Colors, defined at https://developer.apple.com/documentation/appkit/nscolor/ui_element_colors */
|
|
3
3
|
export interface AppleSemanticPalette {
|
|
4
4
|
/** The primary color to use for text labels */
|
|
@@ -150,6 +150,6 @@ interface FluentUIAppleBasePalette {
|
|
|
150
150
|
warningTint30: ColorValue;
|
|
151
151
|
warningTint40: ColorValue;
|
|
152
152
|
}
|
|
153
|
-
export
|
|
153
|
+
export type FluentUIApplePalette = FluentUIAppleBasePalette;
|
|
154
154
|
export {};
|
|
155
155
|
//# sourceMappingURL=appleColors.types.macos.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleColors.types.macos.d.ts","sourceRoot":"","sources":["../src/appleColors.types.macos.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"appleColors.types.macos.d.ts","sourceRoot":"","sources":["../src/appleColors.types.macos.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,8HAA8H;AAC9H,MAAM,WAAW,oBAAoB;IAGnC,+CAA+C;IAC/C,UAAU,EAAE,UAAU,CAAC;IAEvB,iDAAiD;IACjD,mBAAmB,EAAE,UAAU,CAAC;IAEhC,gDAAgD;IAChD,kBAAkB,EAAE,UAAU,CAAC;IAE/B,iEAAiE;IACjE,oBAAoB,EAAE,UAAU,CAAC;IAIjC,gCAAgC;IAChC,SAAS,EAAE,UAAU,CAAC;IAEtB,sEAAsE;IACtE,oBAAoB,EAAE,UAAU,CAAC;IAEjC,yCAAyC;IACzC,iBAAiB,EAAE,UAAU,CAAC;IAE9B,2DAA2D;IAC3D,mBAAmB,EAAE,UAAU,CAAC;IAEhC,2DAA2D;IAC3D,2BAA2B,EAAE,UAAU,CAAC;IAExC,mEAAmE;IACnE,2BAA2B,EAAE,UAAU,CAAC;IAExC,oEAAoE;IACpE,6BAA6B,EAAE,UAAU,CAAC;IAE1C,0EAA0E;IAC1E,uCAAuC,EAAE,UAAU,CAAC;IAIpD,iCAAiC;IACjC,SAAS,EAAE,UAAU,CAAC;IAEtB,4EAA4E;IAC5E,cAAc,EAAE,UAAU,CAAC;IAE3B,6EAA6E;IAC7E,8BAA8B,EAAE,UAAU,CAAC;IAE3C,6DAA6D;IAC7D,0CAA0C,EAAE,UAAU,CAAC;IAIvD,kDAAkD;IAClD,yBAAyB,EAAE,UAAU,CAA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e,EAAE,UAAU,CAAC;IAC5B,YAAY,EAAE,UAAU,CAAC;IACzB,WAAW,EAAE,UAAU,CAAC;IACxB,eAAe,EAAE,UAAU,CAAC;IAC5B,WAAW,EAAE,UAAU,CAAC;IACxB,eAAe,EAAE,UAAU,CAAC;IAC5B,KAAK,EAAE,UAAU,CAAC;IAClB,KAAK,EAAE,UAAU,CAAC;IAClB,cAAc,EAAE,UAAU,CAAC;IAC3B,cAAc,EAAE,UAAU,CAAC;IAC3B,cAAc,EAAE,UAAU,CAAC;IAC3B,cAAc,EAAE,UAAU,CAAC;IAC3B,aAAa,EAAE,UAAU,CAAC;IAC1B,aAAa,EAAE,UAAU,CAAC;IAC1B,aAAa,EAAE,UAAU,CAAC;IAC1B,aAAa,EAAE,UAAU,CAAC;IAC1B,cAAc,EAAE,UAAU,CAAC;IAC3B,cAAc,EAAE,UAAU,CAAC;IAC3B,cAAc,EAAE,UAAU,CAAC;IAC3B,cAAc,EAAE,UAAU,CAAC;IAC3B,aAAa,EAAE,UAAU,CAAC;IAC1B,aAAa,EAAE,UAAU,CAAC;IAC1B,aAAa,EAAE,UAAU,CAAC;IAC1B,aAAa,EAAE,UAAU,CAAC;CAC3B;AAED,MAAM,MAAM,oBAAoB,GAAG,wBAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleShadows.ios.d.ts","sourceRoot":"","sources":["../src/appleShadows.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"appleShadows.ios.d.ts","sourceRoot":"","sources":["../src/appleShadows.ios.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAKhF,wBAAgB,UAAU,IAAI,qBAAqB,CAIlD"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ThemeShadowDefinition, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
1
|
+
import type { ThemeShadowDefinition, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
2
2
|
export declare function fallbackAppleShadows(mode: AppearanceOptions): ThemeShadowDefinition;
|
|
3
3
|
//# sourceMappingURL=appleShadows.macos.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleShadows.macos.d.ts","sourceRoot":"","sources":["../src/appleShadows.macos.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"appleShadows.macos.d.ts","sourceRoot":"","sources":["../src/appleShadows.macos.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAInG,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,iBAAiB,GAAG,qBAAqB,CAEnF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Theme } from '@fluentui-react-native/theme-types';
|
|
1
|
+
import type { Theme } from '@fluentui-react-native/theme-types';
|
|
2
2
|
declare function getBaseAppleThemeIOSWorker(isLightMode: boolean, isElevated: boolean): Theme;
|
|
3
3
|
export declare const getBaseAppleThemeIOS: typeof getBaseAppleThemeIOSWorker;
|
|
4
4
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleTheme.ios.d.ts","sourceRoot":"","sources":["../src/appleTheme.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAW,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"appleTheme.ios.d.ts","sourceRoot":"","sources":["../src/appleTheme.ios.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAW,MAAM,oCAAoC,CAAC;AAkIzE,iBAAS,0BAA0B,CAAC,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,GAAG,KAAK,CASpF;AAED,eAAO,MAAM,oBAAoB,mCAAsC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Spacing, Theme, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
1
|
+
import type { Spacing, Theme, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
2
2
|
export declare function appleSpacing(): Spacing;
|
|
3
3
|
export declare const appleComponents: {
|
|
4
4
|
Button: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleTheme.macos.d.ts","sourceRoot":"","sources":["../src/appleTheme.macos.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"appleTheme.macos.d.ts","sourceRoot":"","sources":["../src/appleTheme.macos.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAM5F,wBAAgB,YAAY,IAAI,OAAO,CAQtC;AAED,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwD3B,CAAC;AAEF,iBAAS,4BAA4B,CAAC,IAAI,EAAE,iBAAiB,GAAG,KAAK,CASpE;AAED,eAAO,MAAM,sBAAsB,qCAAwC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleTypography.ios.d.ts","sourceRoot":"","sources":["../src/appleTypography.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,UAAU,EAAY,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"appleTypography.ios.d.ts","sourceRoot":"","sources":["../src/appleTypography.ios.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAwC,UAAU,EAAY,MAAM,oCAAoC,CAAC;AAIrH,wBAAgB,eAAe,IAAI,UAAU,CAkD5C"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Typography } from '@fluentui-react-native/theme-types';
|
|
1
|
+
import type { Typography } from '@fluentui-react-native/theme-types';
|
|
2
2
|
/**
|
|
3
3
|
* The Typography is designed to match the styles defined in the Apple HIG:
|
|
4
4
|
* https://developer.apple.com/design/human-interface-guidelines/macos/visual-design/typography/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleTypography.macos.d.ts","sourceRoot":"","sources":["../src/appleTypography.macos.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,UAAU,EAAY,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"appleTypography.macos.d.ts","sourceRoot":"","sources":["../src/appleTypography.macos.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAwC,UAAU,EAAY,MAAM,oCAAoC,CAAC;AAErH;;;;;GAKG;AAEH,wBAAgB,uBAAuB,IAAI,UAAU,CA8DpD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Variants } from '@fluentui-react-native/theme-types';
|
|
1
|
+
import type { Variants } from '@fluentui-react-native/theme-types';
|
|
2
2
|
declare function createFontAliasTokensWorker(): Partial<Variants>;
|
|
3
3
|
export declare const createFontAliasTokens: typeof createFontAliasTokensWorker;
|
|
4
4
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createFontAliasTokens.ios.d.ts","sourceRoot":"","sources":["../src/createFontAliasTokens.ios.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"createFontAliasTokens.ios.d.ts","sourceRoot":"","sources":["../src/createFontAliasTokens.ios.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAInE,iBAAS,2BAA2B,IAAI,OAAO,CAAC,QAAQ,CAAC,CAExD;AAED,eAAO,MAAM,qBAAqB,oCAAuC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AliasColorTokens, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
2
|
-
import { ThemeShadowDefinition } from '@fluentui-react-native/theme-types/lib/Shadow.types';
|
|
1
|
+
import type { AliasColorTokens, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
2
|
+
import type { ThemeShadowDefinition } from '@fluentui-react-native/theme-types/lib/Shadow.types';
|
|
3
3
|
declare function createMacOSColorAliasTokensWorker(mode: AppearanceOptions, isHighContrast: boolean): AliasColorTokens;
|
|
4
4
|
export declare const createMacOSColorAliasTokens: typeof createMacOSColorAliasTokensWorker;
|
|
5
5
|
declare function createMacOSShadowAliasTokensWorker(mode: AppearanceOptions, isHighContrast: boolean): ThemeShadowDefinition;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createMacOSAliasTokens.d.ts","sourceRoot":"","sources":["../src/createMacOSAliasTokens.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"createMacOSAliasTokens.d.ts","sourceRoot":"","sources":["../src/createMacOSAliasTokens.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAG9F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qDAAqD,CAAC;AAEjG,iBAAS,iCAAiC,CAAC,IAAI,EAAE,iBAAiB,EAAE,cAAc,EAAE,OAAO,GAAG,gBAAgB,CAG7G;AAED,eAAO,MAAM,2BAA2B,0CAA6C,CAAC;AAEtF,iBAAS,kCAAkC,CAAC,IAAI,EAAE,iBAAiB,EAAE,cAAc,EAAE,OAAO,GAAG,qBAAqB,CAGnH;AAED,eAAO,MAAM,4BAA4B,2CAA8C,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AliasColorTokens, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
2
|
-
import { ThemeShadowDefinition } from '@fluentui-react-native/theme-types/lib/Shadow.types';
|
|
1
|
+
import type { AliasColorTokens, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
2
|
+
import type { ThemeShadowDefinition } from '@fluentui-react-native/theme-types/lib/Shadow.types';
|
|
3
3
|
declare function createiOSColorAliasTokensWorker(mode: AppearanceOptions): AliasColorTokens;
|
|
4
4
|
export declare const createiOSColorAliasTokens: typeof createiOSColorAliasTokensWorker;
|
|
5
5
|
declare function createiOSShadowAliasTokensWorker(mode: AppearanceOptions): ThemeShadowDefinition;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createiOSAliasTokens.d.ts","sourceRoot":"","sources":["../src/createiOSAliasTokens.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"createiOSAliasTokens.d.ts","sourceRoot":"","sources":["../src/createiOSAliasTokens.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAG9F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qDAAqD,CAAC;AAEjG,iBAAS,+BAA+B,CAAC,IAAI,EAAE,iBAAiB,GAAG,gBAAgB,CAGlF;AAED,eAAO,MAAM,yBAAyB,wCAA2C,CAAC;AAElF,iBAAS,gCAAgC,CAAC,IAAI,EAAE,iBAAiB,GAAG,qBAAqB,CAGxF;AAED,eAAO,MAAM,0BAA0B,yCAA4C,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
1
|
+
import type { AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
2
2
|
export declare function getMacOSAliasTokens(mode: AppearanceOptions, isHighContrast: boolean): {
|
|
3
3
|
brandBackground: {
|
|
4
4
|
fillColorRest: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getMacOSTokens.d.ts","sourceRoot":"","sources":["../src/getMacOSTokens.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"getMacOSTokens.d.ts","sourceRoot":"","sources":["../src/getMacOSTokens.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAG5E,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,iBAAiB,EAAE,cAAc,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBnF;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,iBAAiB,EAAE,cAAc,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBpF"}
|
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.7",
|
|
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.16.
|
|
30
|
+
"@fluentui-react-native/default-theme": ">=0.16.29 <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.2.
|
|
34
|
-
"@fluentui-react-native/memo-cache": "^1.1.
|
|
35
|
-
"@fluentui-react-native/theme": ">=0.7.
|
|
36
|
-
"@fluentui-react-native/theme-tokens": "^0.24.
|
|
37
|
-
"@fluentui-react-native/theme-types": ">=0.30.
|
|
38
|
-
"@fluentui-react-native/theming-utils": "^0.23.
|
|
33
|
+
"@fluentui-react-native/experimental-appearance-additions": "^0.2.3",
|
|
34
|
+
"@fluentui-react-native/memo-cache": "^1.1.8",
|
|
35
|
+
"@fluentui-react-native/theme": ">=0.7.21 <1.0.0",
|
|
36
|
+
"@fluentui-react-native/theme-tokens": "^0.24.2",
|
|
37
|
+
"@fluentui-react-native/theme-types": ">=0.30.2 <1.0.0",
|
|
38
|
+
"@fluentui-react-native/theming-utils": "^0.23.2",
|
|
39
39
|
"assert-never": "^1.2.1"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
@@ -53,15 +53,21 @@
|
|
|
53
53
|
"react-native-macos": "^0.68.0"
|
|
54
54
|
},
|
|
55
55
|
"rnx-kit": {
|
|
56
|
-
"reactNativeVersion": "^0.68",
|
|
57
|
-
"reactNativeDevVersion": "^0.68",
|
|
58
56
|
"kitType": "library",
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
57
|
+
"alignDeps": {
|
|
58
|
+
"presets": [
|
|
59
|
+
"microsoft/react-native"
|
|
60
|
+
],
|
|
61
|
+
"requirements": [
|
|
62
|
+
"react-native@0.68"
|
|
63
|
+
],
|
|
64
|
+
"capabilities": [
|
|
65
|
+
"core",
|
|
66
|
+
"core-android",
|
|
67
|
+
"core-ios",
|
|
68
|
+
"core-macos",
|
|
69
|
+
"react"
|
|
70
|
+
]
|
|
71
|
+
}
|
|
66
72
|
}
|
|
67
73
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createMacOSColorAliasTokens, createMacOSShadowAliasTokens } from '../createMacOSAliasTokens';
|
|
2
2
|
import { getIsHighContrast, setIsHighContrast } from '../appleHighContrast.macos';
|
|
3
|
-
import { AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
3
|
+
import type { AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
4
4
|
import { createAppleTheme } from '../createAppleTheme';
|
|
5
5
|
|
|
6
6
|
// For some reason the automatically mocked AccessibilityInfo object is the react-native version, not the
|
package/src/appleColors.ios.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ThemeColorDefinition } from '@fluentui-react-native/theme-types';
|
|
1
|
+
import type { ThemeColorDefinition } from '@fluentui-react-native/theme-types';
|
|
2
2
|
import { getCurrentAppearance } from '@fluentui-react-native/theming-utils';
|
|
3
3
|
import { Appearance } from 'react-native';
|
|
4
|
-
import { ApplePalette } from './appleColors.types.ios';
|
|
4
|
+
import type { ApplePalette } from './appleColors.types.ios';
|
|
5
5
|
import { createiOSColorAliasTokens } from './createiOSAliasTokens';
|
|
6
6
|
|
|
7
7
|
function getFluentUIAppleLightPalette(): ApplePalette {
|
package/src/appleColors.macos.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ThemeColorDefinition, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
2
|
-
import { AppleSemanticPalette, FluentUIApplePalette } from './appleColors.types.macos';
|
|
1
|
+
import type { ThemeColorDefinition, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
2
|
+
import type { AppleSemanticPalette, FluentUIApplePalette } from './appleColors.types.macos';
|
|
3
3
|
import { PlatformColor, DynamicColorMacOS, ColorWithSystemEffectMacOS } from 'react-native-macos';
|
|
4
4
|
import { createMacOSColorAliasTokens } from './createMacOSAliasTokens';
|
|
5
5
|
import { getIsHighContrast } from './appleHighContrast.macos';
|
package/src/appleShadows.ios.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ThemeShadowDefinition } from '@fluentui-react-native/theme-types';
|
|
1
|
+
import type { ThemeShadowDefinition } from '@fluentui-react-native/theme-types';
|
|
2
2
|
import { getCurrentAppearance } from '@fluentui-react-native/theming-utils';
|
|
3
3
|
import { Appearance } from 'react-native';
|
|
4
4
|
import { createiOSShadowAliasTokens } from './createiOSAliasTokens';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ThemeShadowDefinition, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
1
|
+
import type { ThemeShadowDefinition, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
2
2
|
import { getIsHighContrast } from './appleHighContrast.macos';
|
|
3
3
|
import { createMacOSShadowAliasTokens } from './createMacOSAliasTokens';
|
|
4
4
|
|
package/src/appleTheme.ios.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Theme, Spacing } from '@fluentui-react-native/theme-types';
|
|
1
|
+
import type { Theme, Spacing } from '@fluentui-react-native/theme-types';
|
|
2
2
|
import { paletteFromAppleColors } from './appleColors.ios';
|
|
3
3
|
import { appleTypography } from './appleTypography.ios';
|
|
4
4
|
import { iOSShadows } from './appleShadows.ios';
|
package/src/appleTheme.macos.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Spacing, Theme, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
1
|
+
import type { Spacing, Theme, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
2
2
|
import { fallbackApplePalette } from './appleColors.macos';
|
|
3
3
|
import { fallbackAppleShadows } from './appleShadows.macos';
|
|
4
4
|
import { fallbackAppleTypography } from './appleTypography.macos';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FontSize, FontSizes, FontWeightValue, Typography, Variants } from '@fluentui-react-native/theme-types';
|
|
1
|
+
import type { FontSize, FontSizes, FontWeightValue, Typography, Variants } from '@fluentui-react-native/theme-types';
|
|
2
2
|
import { createFontAliasTokens } from './createFontAliasTokens.ios';
|
|
3
3
|
|
|
4
4
|
// The sizes are taken for the Dynamic Type Size "Large", which is the system default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FontSize, FontSizes, FontWeightValue, Typography, Variants } from '@fluentui-react-native/theme-types';
|
|
1
|
+
import type { FontSize, FontSizes, FontWeightValue, Typography, Variants } from '@fluentui-react-native/theme-types';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The Typography is designed to match the styles defined in the Apple HIG:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NativeAppearanceAdditions } from '@fluentui-react-native/experimental-appearance-additions';
|
|
2
2
|
import { ThemeReference } from '@fluentui-react-native/theme';
|
|
3
|
-
import { Theme } from '@fluentui-react-native/theme-types';
|
|
3
|
+
import type { Theme } from '@fluentui-react-native/theme-types';
|
|
4
4
|
import { Appearance, NativeEventEmitter } from 'react-native';
|
|
5
5
|
import { getBaseAppleThemeIOS } from './appleTheme.ios';
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ThemeReference } from '@fluentui-react-native/theme';
|
|
2
|
-
import { Theme } from '@fluentui-react-native/theme-types';
|
|
2
|
+
import type { Theme } from '@fluentui-react-native/theme-types';
|
|
3
3
|
import { getCurrentAppearance } from '@fluentui-react-native/theming-utils';
|
|
4
4
|
import { Appearance } from 'react-native';
|
|
5
5
|
import { getBaseAppleThemeMacOS } from './appleTheme.macos';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import aliasTokens from '@fluentui-react-native/design-tokens-ios/light/tokens-aliases.json'; // Font alias tokens should be the same for all color styles
|
|
2
|
-
import { Variants } from '@fluentui-react-native/theme-types';
|
|
2
|
+
import type { Variants } from '@fluentui-react-native/theme-types';
|
|
3
3
|
import { memoize } from '@fluentui-react-native/memo-cache';
|
|
4
4
|
import { mapFontPipelineToTheme } from '@fluentui-react-native/theming-utils';
|
|
5
5
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { getMacOSAliasTokens, getMacOSShadowTokens } from './getMacOSTokens';
|
|
2
|
-
import { AliasColorTokens, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
2
|
+
import type { AliasColorTokens, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
3
3
|
import { mapPipelineToTheme, mapPipelineToShadow } from '@fluentui-react-native/theming-utils';
|
|
4
4
|
import { memoize } from '@fluentui-react-native/memo-cache';
|
|
5
|
-
import { ThemeShadowDefinition } from '@fluentui-react-native/theme-types/lib/Shadow.types';
|
|
5
|
+
import type { ThemeShadowDefinition } from '@fluentui-react-native/theme-types/lib/Shadow.types';
|
|
6
6
|
|
|
7
7
|
function createMacOSColorAliasTokensWorker(mode: AppearanceOptions, isHighContrast: boolean): AliasColorTokens {
|
|
8
8
|
const aliasTokens = getMacOSAliasTokens(mode, isHighContrast);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { getAliasTokens, getShadowTokens } from '@fluentui-react-native/theme-tokens';
|
|
2
|
-
import { AliasColorTokens, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
2
|
+
import type { AliasColorTokens, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
3
3
|
import { mapPipelineToTheme, mapPipelineToShadow } from '@fluentui-react-native/theming-utils';
|
|
4
4
|
import { memoize } from '@fluentui-react-native/memo-cache';
|
|
5
|
-
import { ThemeShadowDefinition } from '@fluentui-react-native/theme-types/lib/Shadow.types';
|
|
5
|
+
import type { ThemeShadowDefinition } from '@fluentui-react-native/theme-types/lib/Shadow.types';
|
|
6
6
|
|
|
7
7
|
function createiOSColorAliasTokensWorker(mode: AppearanceOptions): AliasColorTokens {
|
|
8
8
|
const aliasTokens = getAliasTokens(mode);
|
package/src/getMacOSTokens.ts
CHANGED
|
@@ -6,7 +6,7 @@ import macOSLightShadowTokens from '@fluentui-react-native/design-tokens-macos/l
|
|
|
6
6
|
import macOSDarkShadowTokens from '@fluentui-react-native/design-tokens-macos/dark/tokens-shadow.json';
|
|
7
7
|
import macOSLightHCShadowTokens from '@fluentui-react-native/design-tokens-macos/hclight/tokens-shadow.json';
|
|
8
8
|
import macOSDarkHCShadowTokens from '@fluentui-react-native/design-tokens-macos/hcdark/tokens-shadow.json';
|
|
9
|
-
import { AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
9
|
+
import type { AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
10
10
|
import { assertNever } from 'assert-never';
|
|
11
11
|
|
|
12
12
|
export function getMacOSAliasTokens(mode: AppearanceOptions, isHighContrast: boolean) {
|