@fluentui-react-native/default-theme 0.26.17 → 0.27.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.md +41 -1
- package/lib/__tests__/default-theme.test.d.ts +1 -1
- package/lib/__tests__/default-theme.test.js +22 -22
- package/lib/__tests__/default-theme.test.js.map +1 -1
- package/lib/createAliasTokens.d.ts +1 -1
- package/lib/createAliasTokens.js +5 -5
- package/lib/createAliasTokens.js.map +1 -1
- package/lib/createDefaultTheme.d.ts +1 -1
- package/lib/createDefaultTheme.js +21 -21
- package/lib/createDefaultTheme.js.map +1 -1
- package/lib/defaultColors.d.ts +1 -1
- package/lib/defaultColors.js +254 -254
- package/lib/defaultColors.js.map +1 -1
- package/lib/defaultTheme.d.ts +1 -1
- package/lib/defaultTheme.js +86 -86
- package/lib/defaultTheme.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/stockWebPalette.d.ts +1 -1
- package/lib/stockWebPalette.js +92 -89
- package/lib/stockWebPalette.js.map +1 -1
- package/lib/stockWebPalette.macos.d.ts +1 -1
- package/lib/stockWebPalette.macos.d.ts.map +1 -1
- package/lib/stockWebPalette.macos.js +70 -68
- package/lib/stockWebPalette.macos.js.map +1 -1
- package/lib/stockWebPalette.win32.d.ts +1 -1
- package/lib/stockWebPalette.win32.d.ts.map +1 -1
- package/lib/stockWebPalette.win32.js +70 -68
- package/lib/stockWebPalette.win32.js.map +1 -1
- package/lib-commonjs/__tests__/default-theme.test.d.ts +1 -1
- package/lib-commonjs/__tests__/default-theme.test.js +27 -27
- package/lib-commonjs/__tests__/default-theme.test.js.map +1 -1
- package/lib-commonjs/createAliasTokens.d.ts +1 -1
- package/lib-commonjs/createAliasTokens.js +10 -10
- package/lib-commonjs/createAliasTokens.js.map +1 -1
- package/lib-commonjs/createDefaultTheme.d.ts +1 -1
- package/lib-commonjs/createDefaultTheme.js +34 -33
- package/lib-commonjs/createDefaultTheme.js.map +1 -1
- package/lib-commonjs/defaultColors.d.ts +1 -1
- package/lib-commonjs/defaultColors.js +259 -260
- package/lib-commonjs/defaultColors.js.map +1 -1
- package/lib-commonjs/defaultTheme.d.ts +1 -1
- package/lib-commonjs/defaultTheme.js +95 -95
- package/lib-commonjs/defaultTheme.js.map +1 -1
- package/lib-commonjs/index.d.ts +1 -1
- package/lib-commonjs/index.js +30 -10
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/stockWebPalette.d.ts +1 -1
- package/lib-commonjs/stockWebPalette.js +99 -97
- package/lib-commonjs/stockWebPalette.js.map +1 -1
- package/lib-commonjs/stockWebPalette.macos.d.ts +1 -1
- package/lib-commonjs/stockWebPalette.macos.d.ts.map +1 -1
- package/lib-commonjs/stockWebPalette.macos.js +77 -76
- package/lib-commonjs/stockWebPalette.macos.js.map +1 -1
- package/lib-commonjs/stockWebPalette.win32.d.ts +1 -1
- package/lib-commonjs/stockWebPalette.win32.d.ts.map +1 -1
- package/lib-commonjs/stockWebPalette.win32.js +77 -76
- package/lib-commonjs/stockWebPalette.win32.js.map +1 -1
- package/package.json +55 -55
- package/src/stockWebPalette.macos.ts +0 -1
- package/src/stockWebPalette.win32.ts +0 -1
|
@@ -1,80 +1,81 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports,
|
|
3
|
-
exports.
|
|
4
|
-
|
|
5
|
-
const theme_tokens_1 = require(
|
|
6
|
-
const createAliasTokens_1 = require(
|
|
7
|
-
const defaultColors_1 = require(
|
|
1
|
+
'use strict';
|
|
2
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
|
+
exports.getStockWebPalette = getStockWebPalette;
|
|
4
|
+
exports.getStockWebDarkPalette = getStockWebDarkPalette;
|
|
5
|
+
const theme_tokens_1 = require('@fluentui-react-native/theme-tokens');
|
|
6
|
+
const createAliasTokens_1 = require('./createAliasTokens');
|
|
7
|
+
const defaultColors_1 = require('./defaultColors');
|
|
8
8
|
function getStockWebPalette() {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
9
|
+
return {
|
|
10
|
+
...(0, defaultColors_1.paletteFromFabricColors)({
|
|
11
|
+
black: theme_tokens_1.globalTokens.color.black,
|
|
12
|
+
neutralDark: '#201f1e',
|
|
13
|
+
neutralPrimary: '#323130',
|
|
14
|
+
neutralPrimaryAlt: '#3b3a39',
|
|
15
|
+
neutralSecondary: '#605e5c',
|
|
16
|
+
neutralSecondaryAlt: '#8a8886',
|
|
17
|
+
neutralTertiary: '#a19f9d',
|
|
18
|
+
neutralTertiaryAlt: '#c8c6c4',
|
|
19
|
+
neutralQuaternary: '#d2d0ce',
|
|
20
|
+
neutralQuaternaryAlt: '#e1dfdd',
|
|
21
|
+
neutralLight: '#edebe9',
|
|
22
|
+
neutralLighter: '#f3f2f1',
|
|
23
|
+
neutralLighterAlt: '#faf9f8',
|
|
24
|
+
white: theme_tokens_1.globalTokens.color.white,
|
|
25
|
+
// Shared Colors
|
|
26
|
+
red: theme_tokens_1.globalTokens.color.red.primary,
|
|
27
|
+
redDark: theme_tokens_1.globalTokens.color.burgundy.primary,
|
|
28
|
+
themeDarker: theme_tokens_1.globalTokens.color.brand.shade40,
|
|
29
|
+
themeDark: theme_tokens_1.globalTokens.color.brand.shade20,
|
|
30
|
+
themeDarkAlt: theme_tokens_1.globalTokens.color.brand.shade10,
|
|
31
|
+
themePrimary: theme_tokens_1.globalTokens.color.brand.primary,
|
|
32
|
+
themeSecondary: '#2b88d8',
|
|
33
|
+
themeTertiary: '#71afe5',
|
|
34
|
+
themeLight: theme_tokens_1.globalTokens.color.brand.tint40,
|
|
35
|
+
themeLighter: theme_tokens_1.globalTokens.color.brand.tint50,
|
|
36
|
+
themeLighterAlt: theme_tokens_1.globalTokens.color.brand.tint60,
|
|
37
|
+
accent: theme_tokens_1.globalTokens.color.brand.primary,
|
|
38
|
+
blackTranslucent40: 'rgba(0,0,0,.4)',
|
|
39
|
+
}),
|
|
40
|
+
...(0, createAliasTokens_1.createColorAliasTokens)('light'),
|
|
41
|
+
};
|
|
42
42
|
}
|
|
43
|
-
exports.getStockWebPalette = getStockWebPalette;
|
|
44
43
|
function getStockWebDarkPalette() {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
44
|
+
return {
|
|
45
|
+
...(0, defaultColors_1.paletteFromFabricColors)(
|
|
46
|
+
{
|
|
47
|
+
// colors taken from fluentui DarkCustomizations.ts
|
|
48
|
+
themeDarker: '#82c7ff',
|
|
49
|
+
themeDark: theme_tokens_1.globalTokens.color.brand.tint30,
|
|
50
|
+
themeDarkAlt: theme_tokens_1.globalTokens.color.brand.tint20,
|
|
51
|
+
themePrimary: theme_tokens_1.globalTokens.color.brand.tint10,
|
|
52
|
+
themeSecondary: theme_tokens_1.globalTokens.color.brand.primary,
|
|
53
|
+
themeTertiary: '#235a85',
|
|
54
|
+
themeLight: theme_tokens_1.globalTokens.color.brand.shade30,
|
|
55
|
+
themeLighter: theme_tokens_1.globalTokens.color.brand.shade50,
|
|
56
|
+
themeLighterAlt: theme_tokens_1.globalTokens.color.brand.shade60,
|
|
57
|
+
black: theme_tokens_1.globalTokens.color.white,
|
|
58
|
+
neutralDark: '#faf9f8',
|
|
59
|
+
neutralPrimary: '#f3f2f1',
|
|
60
|
+
neutralPrimaryAlt: '#c8c6c4',
|
|
61
|
+
neutralSecondary: '#a19f9d',
|
|
62
|
+
neutralSecondaryAlt: '#979693',
|
|
63
|
+
neutralTertiary: '#797775',
|
|
64
|
+
neutralTertiaryAlt: '#484644',
|
|
65
|
+
neutralQuaternary: '#3b3a39',
|
|
66
|
+
neutralQuaternaryAlt: '#323130',
|
|
67
|
+
neutralLight: '#292827',
|
|
68
|
+
neutralLighter: '#252423',
|
|
69
|
+
neutralLighterAlt: '#201f1e',
|
|
70
|
+
white: '#1b1a19',
|
|
71
|
+
red: theme_tokens_1.globalTokens.color.red.primary,
|
|
72
|
+
accent: theme_tokens_1.globalTokens.color.brand.primary,
|
|
73
|
+
redDark: '#f1707b',
|
|
74
|
+
blackTranslucent40: 'rgba(0,0,0,.4)',
|
|
75
|
+
},
|
|
76
|
+
true,
|
|
77
|
+
),
|
|
78
|
+
...(0, createAliasTokens_1.createColorAliasTokens)('dark'),
|
|
79
|
+
};
|
|
78
80
|
}
|
|
79
|
-
|
|
80
|
-
//# sourceMappingURL=stockWebPalette.macos.js.map
|
|
81
|
+
//# sourceMappingURL=stockWebPalette.macos.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stockWebPalette.macos.js","sourceRoot":"","sources":["../src/stockWebPalette.macos.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"stockWebPalette.macos.js","sourceRoot":"","sources":["../src/stockWebPalette.macos.ts"],"names":[],"mappings":";;;;AAAA,sEAAmE;AAGnE,2DAA6D;AAC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;KAClC,CAAC;AAAA,CACH"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ThemeColorDefinition } from '@fluentui-react-native/theme-types';
|
|
2
2
|
export declare function getStockWebPalette(): ThemeColorDefinition;
|
|
3
3
|
export declare function getStockWebDarkPalette(): ThemeColorDefinition;
|
|
4
|
-
//# sourceMappingURL=stockWebPalette.win32.d.ts.map
|
|
4
|
+
//# sourceMappingURL=stockWebPalette.win32.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stockWebPalette.win32.d.ts","sourceRoot":"","sources":["../src/stockWebPalette.win32.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"stockWebPalette.win32.d.ts","sourceRoot":"","sources":["../src/stockWebPalette.win32.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAK/E,wBAAgB,kBAAkB,IAAI,oBAAoB,CAmCzD;AAED,wBAAgB,sBAAsB,IAAI,oBAAoB,CAqC7D"}
|
|
@@ -1,80 +1,81 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports,
|
|
3
|
-
exports.
|
|
4
|
-
|
|
5
|
-
const theme_tokens_1 = require(
|
|
6
|
-
const createAliasTokens_1 = require(
|
|
7
|
-
const defaultColors_1 = require(
|
|
1
|
+
'use strict';
|
|
2
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
|
+
exports.getStockWebPalette = getStockWebPalette;
|
|
4
|
+
exports.getStockWebDarkPalette = getStockWebDarkPalette;
|
|
5
|
+
const theme_tokens_1 = require('@fluentui-react-native/theme-tokens');
|
|
6
|
+
const createAliasTokens_1 = require('./createAliasTokens');
|
|
7
|
+
const defaultColors_1 = require('./defaultColors');
|
|
8
8
|
function getStockWebPalette() {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
9
|
+
return {
|
|
10
|
+
...(0, defaultColors_1.paletteFromFabricColors)({
|
|
11
|
+
black: theme_tokens_1.globalTokens.color.black,
|
|
12
|
+
neutralDark: '#201f1e',
|
|
13
|
+
neutralPrimary: '#323130',
|
|
14
|
+
neutralPrimaryAlt: '#3b3a39',
|
|
15
|
+
neutralSecondary: '#605e5c',
|
|
16
|
+
neutralSecondaryAlt: '#8a8886',
|
|
17
|
+
neutralTertiary: '#a19f9d',
|
|
18
|
+
neutralTertiaryAlt: '#c8c6c4',
|
|
19
|
+
neutralQuaternary: '#d2d0ce',
|
|
20
|
+
neutralQuaternaryAlt: '#e1dfdd',
|
|
21
|
+
neutralLight: '#edebe9',
|
|
22
|
+
neutralLighter: '#f3f2f1',
|
|
23
|
+
neutralLighterAlt: '#faf9f8',
|
|
24
|
+
white: theme_tokens_1.globalTokens.color.white,
|
|
25
|
+
// Shared Colors
|
|
26
|
+
red: theme_tokens_1.globalTokens.color.red.primary,
|
|
27
|
+
redDark: theme_tokens_1.globalTokens.color.burgundy.primary,
|
|
28
|
+
themeDarker: theme_tokens_1.globalTokens.color.brand.shade40,
|
|
29
|
+
themeDark: theme_tokens_1.globalTokens.color.brand.shade20,
|
|
30
|
+
themeDarkAlt: theme_tokens_1.globalTokens.color.brand.shade10,
|
|
31
|
+
themePrimary: theme_tokens_1.globalTokens.color.brand.primary,
|
|
32
|
+
themeSecondary: '#2b88d8',
|
|
33
|
+
themeTertiary: '#71afe5',
|
|
34
|
+
themeLight: theme_tokens_1.globalTokens.color.brand.tint40,
|
|
35
|
+
themeLighter: theme_tokens_1.globalTokens.color.brand.tint50,
|
|
36
|
+
themeLighterAlt: theme_tokens_1.globalTokens.color.brand.tint60,
|
|
37
|
+
accent: theme_tokens_1.globalTokens.color.brand.primary,
|
|
38
|
+
blackTranslucent40: 'rgba(0,0,0,.4)',
|
|
39
|
+
}),
|
|
40
|
+
...(0, createAliasTokens_1.createColorAliasTokens)('light'),
|
|
41
|
+
};
|
|
42
42
|
}
|
|
43
|
-
exports.getStockWebPalette = getStockWebPalette;
|
|
44
43
|
function getStockWebDarkPalette() {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
44
|
+
return {
|
|
45
|
+
...(0, defaultColors_1.paletteFromFabricColors)(
|
|
46
|
+
{
|
|
47
|
+
// colors taken from fluentui DarkCustomizations.ts
|
|
48
|
+
themeDarker: '#82c7ff',
|
|
49
|
+
themeDark: theme_tokens_1.globalTokens.color.brand.tint30,
|
|
50
|
+
themeDarkAlt: theme_tokens_1.globalTokens.color.brand.tint20,
|
|
51
|
+
themePrimary: theme_tokens_1.globalTokens.color.brand.tint10,
|
|
52
|
+
themeSecondary: theme_tokens_1.globalTokens.color.brand.primary,
|
|
53
|
+
themeTertiary: '#235a85',
|
|
54
|
+
themeLight: theme_tokens_1.globalTokens.color.brand.shade30,
|
|
55
|
+
themeLighter: theme_tokens_1.globalTokens.color.brand.shade50,
|
|
56
|
+
themeLighterAlt: theme_tokens_1.globalTokens.color.brand.shade60,
|
|
57
|
+
black: theme_tokens_1.globalTokens.color.white,
|
|
58
|
+
neutralDark: '#faf9f8',
|
|
59
|
+
neutralPrimary: '#f3f2f1',
|
|
60
|
+
neutralPrimaryAlt: '#c8c6c4',
|
|
61
|
+
neutralSecondary: '#a19f9d',
|
|
62
|
+
neutralSecondaryAlt: '#979693',
|
|
63
|
+
neutralTertiary: '#797775',
|
|
64
|
+
neutralTertiaryAlt: '#484644',
|
|
65
|
+
neutralQuaternary: '#3b3a39',
|
|
66
|
+
neutralQuaternaryAlt: '#323130',
|
|
67
|
+
neutralLight: '#292827',
|
|
68
|
+
neutralLighter: '#252423',
|
|
69
|
+
neutralLighterAlt: '#201f1e',
|
|
70
|
+
white: '#1b1a19',
|
|
71
|
+
red: theme_tokens_1.globalTokens.color.red.primary,
|
|
72
|
+
accent: theme_tokens_1.globalTokens.color.brand.primary,
|
|
73
|
+
redDark: '#f1707b',
|
|
74
|
+
blackTranslucent40: 'rgba(0,0,0,.4)',
|
|
75
|
+
},
|
|
76
|
+
true,
|
|
77
|
+
),
|
|
78
|
+
...(0, createAliasTokens_1.createColorAliasTokens)('dark'),
|
|
79
|
+
};
|
|
78
80
|
}
|
|
79
|
-
|
|
80
|
-
//# sourceMappingURL=stockWebPalette.win32.js.map
|
|
81
|
+
//# sourceMappingURL=stockWebPalette.win32.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stockWebPalette.win32.js","sourceRoot":"","sources":["../src/stockWebPalette.win32.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"stockWebPalette.win32.js","sourceRoot":"","sources":["../src/stockWebPalette.win32.ts"],"names":[],"mappings":";;;;AAAA,sEAAmE;AAGnE,2DAA6D;AAC7D,mDAA0D;AAE1D,8BAA2D;IACzD,OAAO;QACL,GAAG,IAAA,uCAAuB,EAAC;YACzB,KAAK,EAAE,2BAAY,CAAC,KAAK,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native/default-theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "Typing only package for fluentui-react-native theme types",
|
|
5
|
+
"keywords": [],
|
|
5
6
|
"repository": {
|
|
6
7
|
"type": "git",
|
|
7
8
|
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
|
8
9
|
"directory": "packages/theming/default-theme"
|
|
9
10
|
},
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"react-native": "src/index.ts",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"author": "",
|
|
13
13
|
"exports": {
|
|
14
14
|
".": {
|
|
15
|
+
"types": "./lib/index.d.ts",
|
|
15
16
|
"import": "./lib/index.js",
|
|
16
|
-
"require": "./lib-commonjs/index.js"
|
|
17
|
-
"types": "./lib/index.d.ts"
|
|
17
|
+
"require": "./lib-commonjs/index.js"
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
|
-
"
|
|
20
|
+
"main": "lib-commonjs/index.js",
|
|
21
|
+
"module": "lib/index.js",
|
|
22
|
+
"types": "lib/index.d.ts",
|
|
21
23
|
"scripts": {
|
|
22
24
|
"build": "fluentui-scripts build",
|
|
23
|
-
"
|
|
25
|
+
"build-cjs": "tsgo --outDir lib-commonjs",
|
|
26
|
+
"build-esm": "tsgo --outDir lib --module esnext --moduleResolution bundler",
|
|
24
27
|
"clean": "fluentui-scripts clean",
|
|
25
28
|
"depcheck": "fluentui-scripts depcheck",
|
|
26
29
|
"lint": "fluentui-scripts eslint",
|
|
30
|
+
"lint-package": "fluentui-scripts lint-package",
|
|
31
|
+
"prettier": "fluentui-scripts prettier",
|
|
27
32
|
"start": "fluentui-scripts dev",
|
|
28
33
|
"start-test": "fluentui-scripts jest-watch",
|
|
29
34
|
"test": "fluentui-scripts jest",
|
|
30
|
-
"update-snapshots": "fluentui-scripts jest -u"
|
|
31
|
-
"prettier": "fluentui-scripts prettier",
|
|
32
|
-
"prettier-fix": "fluentui-scripts prettier --fix true"
|
|
35
|
+
"update-snapshots": "fluentui-scripts jest -u"
|
|
33
36
|
},
|
|
34
|
-
"keywords": [],
|
|
35
|
-
"author": "",
|
|
36
|
-
"license": "MIT",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@fluentui-react-native/framework-base": "0.
|
|
39
|
-
"@fluentui-react-native/theme": "0.
|
|
40
|
-
"@fluentui-react-native/theme-tokens": "0.
|
|
41
|
-
"@fluentui-react-native/theme-types": "0.
|
|
42
|
-
"@fluentui-react-native/theming-utils": "0.
|
|
38
|
+
"@fluentui-react-native/framework-base": "0.3.0",
|
|
39
|
+
"@fluentui-react-native/theme": "0.12.0",
|
|
40
|
+
"@fluentui-react-native/theme-tokens": "0.28.0",
|
|
41
|
+
"@fluentui-react-native/theme-types": "0.44.0",
|
|
42
|
+
"@fluentui-react-native/theming-utils": "0.27.0",
|
|
43
43
|
"assert-never": "^1.2.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
@@ -47,37 +47,45 @@
|
|
|
47
47
|
"@fluentui-react-native/babel-config": "0.1.1",
|
|
48
48
|
"@fluentui-react-native/eslint-config-rules": "0.1.1",
|
|
49
49
|
"@fluentui-react-native/jest-config": "0.1.1",
|
|
50
|
-
"@fluentui-react-native/
|
|
50
|
+
"@fluentui-react-native/kit-config": "0.1.2",
|
|
51
|
+
"@fluentui-react-native/scripts": "0.1.2",
|
|
51
52
|
"@office-iss/react-native-win32": "^0.74.0",
|
|
52
|
-
"@react-native/
|
|
53
|
-
"@react-native/
|
|
54
|
-
"@
|
|
55
|
-
"react": "
|
|
56
|
-
"react-native": "^0.
|
|
57
|
-
"react
|
|
58
|
-
"react
|
|
53
|
+
"@react-native-community/cli": "^20.0.0",
|
|
54
|
+
"@react-native-community/cli-platform-android": "^20.0.0",
|
|
55
|
+
"@react-native-community/cli-platform-ios": "^20.0.0",
|
|
56
|
+
"@react-native/babel-preset": "^0.81.0",
|
|
57
|
+
"@react-native/metro-config": "^0.81.0",
|
|
58
|
+
"@types/react": "~19.1.0",
|
|
59
|
+
"react": "19.1.0",
|
|
60
|
+
"react-native": "^0.81.0",
|
|
61
|
+
"react-native-macos": "^0.81.0",
|
|
62
|
+
"react-native-windows": "^0.81.0"
|
|
59
63
|
},
|
|
60
64
|
"peerDependencies": {
|
|
61
65
|
"@office-iss/react-native-win32": "^0.74.0",
|
|
62
|
-
"react": "18.2.0",
|
|
63
|
-
"react
|
|
64
|
-
"react-native
|
|
65
|
-
"react-native-
|
|
66
|
+
"@types/react": "~18.2.0 || ~19.0.0 || ~19.1.0",
|
|
67
|
+
"react": "18.2.0 || 19.0.0 || 19.1.0",
|
|
68
|
+
"react-native": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0",
|
|
69
|
+
"react-native-macos": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0",
|
|
70
|
+
"react-native-windows": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0"
|
|
71
|
+
},
|
|
72
|
+
"peerDependenciesMeta": {
|
|
73
|
+
"@office-iss/react-native-win32": {
|
|
74
|
+
"optional": true
|
|
75
|
+
},
|
|
76
|
+
"@types/react": {
|
|
77
|
+
"optional": true
|
|
78
|
+
},
|
|
79
|
+
"react-native-macos": {
|
|
80
|
+
"optional": true
|
|
81
|
+
},
|
|
82
|
+
"react-native-windows": {
|
|
83
|
+
"optional": true
|
|
84
|
+
}
|
|
66
85
|
},
|
|
67
86
|
"rnx-kit": {
|
|
68
87
|
"kitType": "library",
|
|
69
88
|
"alignDeps": {
|
|
70
|
-
"presets": [
|
|
71
|
-
"microsoft/react-native"
|
|
72
|
-
],
|
|
73
|
-
"requirements": {
|
|
74
|
-
"development": [
|
|
75
|
-
"react-native@0.74"
|
|
76
|
-
],
|
|
77
|
-
"production": [
|
|
78
|
-
"react-native@0.73 || 0.74"
|
|
79
|
-
]
|
|
80
|
-
},
|
|
81
89
|
"capabilities": [
|
|
82
90
|
"babel-preset-react-native",
|
|
83
91
|
"core",
|
|
@@ -85,19 +93,11 @@
|
|
|
85
93
|
"core-ios",
|
|
86
94
|
"core-macos",
|
|
87
95
|
"core-windows",
|
|
88
|
-
"react"
|
|
96
|
+
"react",
|
|
97
|
+
"tools-core",
|
|
98
|
+
"tools-jest"
|
|
89
99
|
]
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
"peerDependenciesMeta": {
|
|
93
|
-
"@office-iss/react-native-win32": {
|
|
94
|
-
"optional": true
|
|
95
100
|
},
|
|
96
|
-
"react-native-
|
|
97
|
-
"optional": true
|
|
98
|
-
},
|
|
99
|
-
"react-native-windows": {
|
|
100
|
-
"optional": true
|
|
101
|
-
}
|
|
101
|
+
"extends": "@fluentui-react-native/kit-config"
|
|
102
102
|
}
|
|
103
|
-
}
|
|
103
|
+
}
|