@fluentui-react-native/default-theme 0.27.0 → 0.27.3

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.
Files changed (42) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/lib/__tests__/default-theme.test.d.ts +1 -1
  3. package/lib/__tests__/default-theme.test.js +22 -22
  4. package/lib/createAliasTokens.d.ts +1 -1
  5. package/lib/createAliasTokens.js +5 -5
  6. package/lib/createDefaultTheme.d.ts +1 -1
  7. package/lib/createDefaultTheme.js +21 -21
  8. package/lib/defaultColors.d.ts +1 -1
  9. package/lib/defaultColors.js +254 -254
  10. package/lib/defaultTheme.d.ts +1 -1
  11. package/lib/defaultTheme.js +86 -86
  12. package/lib/index.d.ts +1 -1
  13. package/lib/index.js +1 -1
  14. package/lib/stockWebPalette.d.ts +1 -1
  15. package/lib/stockWebPalette.js +89 -92
  16. package/lib/stockWebPalette.js.map +1 -1
  17. package/lib/stockWebPalette.macos.d.ts +1 -1
  18. package/lib/stockWebPalette.macos.js +67 -70
  19. package/lib/stockWebPalette.win32.d.ts +1 -1
  20. package/lib/stockWebPalette.win32.js +67 -70
  21. package/lib-commonjs/__tests__/default-theme.test.d.ts +1 -1
  22. package/lib-commonjs/__tests__/default-theme.test.js +27 -27
  23. package/lib-commonjs/createAliasTokens.d.ts +1 -1
  24. package/lib-commonjs/createAliasTokens.js +10 -10
  25. package/lib-commonjs/createDefaultTheme.d.ts +1 -1
  26. package/lib-commonjs/createDefaultTheme.js +31 -33
  27. package/lib-commonjs/defaultColors.d.ts +1 -1
  28. package/lib-commonjs/defaultColors.js +257 -257
  29. package/lib-commonjs/defaultTheme.d.ts +1 -1
  30. package/lib-commonjs/defaultTheme.js +93 -93
  31. package/lib-commonjs/index.d.ts +1 -1
  32. package/lib-commonjs/index.js +10 -30
  33. package/lib-commonjs/stockWebPalette.d.ts +1 -1
  34. package/lib-commonjs/stockWebPalette.js +94 -97
  35. package/lib-commonjs/stockWebPalette.js.map +1 -1
  36. package/lib-commonjs/stockWebPalette.macos.d.ts +1 -1
  37. package/lib-commonjs/stockWebPalette.macos.js +72 -75
  38. package/lib-commonjs/stockWebPalette.win32.d.ts +1 -1
  39. package/lib-commonjs/stockWebPalette.win32.js +72 -75
  40. package/package.json +25 -24
  41. package/src/stockWebPalette.ts +20 -20
  42. package/eslint.config.js +0 -3
@@ -1,81 +1,78 @@
1
- 'use strict';
2
- Object.defineProperty(exports, '__esModule', { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getStockWebPalette = getStockWebPalette;
4
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');
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
- 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
- };
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
43
  function getStockWebDarkPalette() {
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
- };
44
+ return {
45
+ ...(0, defaultColors_1.paletteFromFabricColors)({
46
+ // colors taken from fluentui DarkCustomizations.ts
47
+ themeDarker: '#82c7ff',
48
+ themeDark: theme_tokens_1.globalTokens.color.brand.tint30,
49
+ themeDarkAlt: theme_tokens_1.globalTokens.color.brand.tint20,
50
+ themePrimary: theme_tokens_1.globalTokens.color.brand.tint10,
51
+ themeSecondary: theme_tokens_1.globalTokens.color.brand.primary,
52
+ themeTertiary: '#235a85',
53
+ themeLight: theme_tokens_1.globalTokens.color.brand.shade30,
54
+ themeLighter: theme_tokens_1.globalTokens.color.brand.shade50,
55
+ themeLighterAlt: theme_tokens_1.globalTokens.color.brand.shade60,
56
+ black: theme_tokens_1.globalTokens.color.white,
57
+ neutralDark: '#faf9f8',
58
+ neutralPrimary: '#f3f2f1',
59
+ neutralPrimaryAlt: '#c8c6c4',
60
+ neutralSecondary: '#a19f9d',
61
+ neutralSecondaryAlt: '#979693',
62
+ neutralTertiary: '#797775',
63
+ neutralTertiaryAlt: '#484644',
64
+ neutralQuaternary: '#3b3a39',
65
+ neutralQuaternaryAlt: '#323130',
66
+ neutralLight: '#292827',
67
+ neutralLighter: '#252423',
68
+ neutralLighterAlt: '#201f1e',
69
+ white: '#1b1a19',
70
+ red: theme_tokens_1.globalTokens.color.red.primary,
71
+ accent: theme_tokens_1.globalTokens.color.brand.primary,
72
+ redDark: '#f1707b',
73
+ blackTranslucent40: 'rgba(0,0,0,.4)',
74
+ }, true),
75
+ ...(0, createAliasTokens_1.createColorAliasTokens)('dark'),
76
+ };
80
77
  }
81
- //# sourceMappingURL=stockWebPalette.macos.js.map
78
+ //# sourceMappingURL=stockWebPalette.macos.js.map
@@ -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,81 +1,78 @@
1
- 'use strict';
2
- Object.defineProperty(exports, '__esModule', { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getStockWebPalette = getStockWebPalette;
4
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');
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
- 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
- };
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
43
  function getStockWebDarkPalette() {
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
- };
44
+ return {
45
+ ...(0, defaultColors_1.paletteFromFabricColors)({
46
+ // colors taken from fluentui DarkCustomizations.ts
47
+ themeDarker: '#82c7ff',
48
+ themeDark: theme_tokens_1.globalTokens.color.brand.tint30,
49
+ themeDarkAlt: theme_tokens_1.globalTokens.color.brand.tint20,
50
+ themePrimary: theme_tokens_1.globalTokens.color.brand.tint10,
51
+ themeSecondary: theme_tokens_1.globalTokens.color.brand.primary,
52
+ themeTertiary: '#235a85',
53
+ themeLight: theme_tokens_1.globalTokens.color.brand.shade30,
54
+ themeLighter: theme_tokens_1.globalTokens.color.brand.shade50,
55
+ themeLighterAlt: theme_tokens_1.globalTokens.color.brand.shade60,
56
+ black: theme_tokens_1.globalTokens.color.white,
57
+ neutralDark: '#faf9f8',
58
+ neutralPrimary: '#f3f2f1',
59
+ neutralPrimaryAlt: '#c8c6c4',
60
+ neutralSecondary: '#a19f9d',
61
+ neutralSecondaryAlt: '#979693',
62
+ neutralTertiary: '#797775',
63
+ neutralTertiaryAlt: '#484644',
64
+ neutralQuaternary: '#3b3a39',
65
+ neutralQuaternaryAlt: '#323130',
66
+ neutralLight: '#292827',
67
+ neutralLighter: '#252423',
68
+ neutralLighterAlt: '#201f1e',
69
+ white: '#1b1a19',
70
+ red: theme_tokens_1.globalTokens.color.red.primary,
71
+ accent: theme_tokens_1.globalTokens.color.brand.primary,
72
+ redDark: '#f1707b',
73
+ blackTranslucent40: 'rgba(0,0,0,.4)',
74
+ }, true),
75
+ ...(0, createAliasTokens_1.createColorAliasTokens)('dark'),
76
+ };
80
77
  }
81
- //# sourceMappingURL=stockWebPalette.win32.js.map
78
+ //# sourceMappingURL=stockWebPalette.win32.js.map
package/package.json CHANGED
@@ -1,71 +1,72 @@
1
1
  {
2
2
  "name": "@fluentui-react-native/default-theme",
3
- "version": "0.27.0",
3
+ "version": "0.27.3",
4
4
  "description": "Typing only package for fluentui-react-native theme types",
5
5
  "keywords": [],
6
+ "license": "MIT",
7
+ "author": "",
6
8
  "repository": {
7
9
  "type": "git",
8
10
  "url": "https://github.com/microsoft/fluentui-react-native.git",
9
11
  "directory": "packages/theming/default-theme"
10
12
  },
11
- "license": "MIT",
12
- "author": "",
13
+ "main": "lib-commonjs/index.js",
14
+ "module": "lib/index.js",
15
+ "types": "lib/index.d.ts",
13
16
  "exports": {
14
17
  ".": {
15
18
  "types": "./lib/index.d.ts",
16
19
  "import": "./lib/index.js",
17
- "require": "./lib-commonjs/index.js"
20
+ "require": "./lib-commonjs/index.js",
21
+ "default": "./src/index.ts"
18
22
  }
19
23
  },
20
- "main": "lib-commonjs/index.js",
21
- "module": "lib/index.js",
22
- "types": "lib/index.d.ts",
23
24
  "scripts": {
24
25
  "build": "fluentui-scripts build",
25
26
  "build-cjs": "tsgo --outDir lib-commonjs",
26
- "build-esm": "tsgo --outDir lib --module esnext --moduleResolution bundler",
27
+ "build-core": "tsgo --outDir lib --module esnext --moduleResolution bundler",
27
28
  "clean": "fluentui-scripts clean",
28
29
  "depcheck": "fluentui-scripts depcheck",
29
- "lint": "fluentui-scripts eslint",
30
+ "format": "fluentui-scripts format",
31
+ "lint": "fluentui-scripts lint",
30
32
  "lint-package": "fluentui-scripts lint-package",
31
- "prettier": "fluentui-scripts prettier",
32
33
  "start": "fluentui-scripts dev",
33
34
  "start-test": "fluentui-scripts jest-watch",
34
35
  "test": "fluentui-scripts jest",
35
36
  "update-snapshots": "fluentui-scripts jest -u"
36
37
  },
37
38
  "dependencies": {
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",
39
+ "@fluentui-react-native/framework-base": "0.3.3",
40
+ "@fluentui-react-native/theme": "0.12.3",
41
+ "@fluentui-react-native/theme-tokens": "0.28.3",
42
+ "@fluentui-react-native/theme-types": "0.44.3",
43
+ "@fluentui-react-native/theming-utils": "0.27.3",
43
44
  "assert-never": "^1.2.1"
44
45
  },
45
46
  "devDependencies": {
46
47
  "@babel/core": "^7.20.0",
47
48
  "@fluentui-react-native/babel-config": "0.1.1",
48
- "@fluentui-react-native/eslint-config-rules": "0.1.1",
49
- "@fluentui-react-native/jest-config": "0.1.1",
49
+ "@fluentui-react-native/jest-config": "0.1.0",
50
50
  "@fluentui-react-native/kit-config": "0.1.2",
51
- "@fluentui-react-native/scripts": "0.1.2",
51
+ "@fluentui-react-native/lint-config-rules": "0.1.3",
52
+ "@fluentui-react-native/scripts": "0.1.0",
52
53
  "@office-iss/react-native-win32": "^0.74.0",
53
54
  "@react-native-community/cli": "^20.0.0",
54
55
  "@react-native-community/cli-platform-android": "^20.0.0",
55
56
  "@react-native-community/cli-platform-ios": "^20.0.0",
56
57
  "@react-native/babel-preset": "^0.81.0",
57
58
  "@react-native/metro-config": "^0.81.0",
58
- "@types/react": "~19.1.0",
59
- "react": "19.1.0",
60
- "react-native": "^0.81.0",
59
+ "@types/react": "~19.1.4",
60
+ "react": "19.1.4",
61
+ "react-native": "^0.81.6",
61
62
  "react-native-macos": "^0.81.0",
62
63
  "react-native-windows": "^0.81.0"
63
64
  },
64
65
  "peerDependencies": {
65
66
  "@office-iss/react-native-win32": "^0.74.0",
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",
67
+ "@types/react": "~18.2.0 || ~19.0.0 || ~19.1.4",
68
+ "react": "18.2.0 || 19.0.0 || 19.1.4",
69
+ "react-native": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.6",
69
70
  "react-native-macos": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0",
70
71
  "react-native-windows": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0"
71
72
  },
@@ -26,28 +26,28 @@ export function getStockWebPalette(): ThemeColorDefinition {
26
26
  red: globalTokens.color.red.primary,
27
27
  redDark: globalTokens.color.burgundy.primary,
28
28
 
29
- // @ts-ignore
29
+ // @ts-expect-error
30
30
  accent: globalTokens.color.brand80,
31
31
  blackTranslucent40: 'rgba(0,0,0,.4)',
32
32
 
33
33
  // Colors to be deprecated
34
- // @ts-ignore
34
+ // @ts-expect-error
35
35
  themeDarker: globalTokens.color.brand40,
36
- // @ts-ignore
36
+ // @ts-expect-error
37
37
  themeDark: globalTokens.color.brand60,
38
- // @ts-ignore
38
+ // @ts-expect-error
39
39
  themeDarkAlt: globalTokens.color.brand70,
40
- // @ts-ignore
40
+ // @ts-expect-error
41
41
  themePrimary: globalTokens.color.brand80,
42
- // @ts-ignore
42
+ // @ts-expect-error
43
43
  themeSecondary: globalTokens.color.brand90,
44
- // @ts-ignore
44
+ // @ts-expect-error
45
45
  themeTertiary: globalTokens.color.brand120,
46
- // @ts-ignore
46
+ // @ts-expect-error
47
47
  themeLight: globalTokens.color.brand140,
48
- // @ts-ignore
48
+ // @ts-expect-error
49
49
  themeLighter: globalTokens.color.brand150,
50
- // @ts-ignore
50
+ // @ts-expect-error
51
51
  themeLighterAlt: globalTokens.color.brand160,
52
52
  }),
53
53
  ...createColorAliasTokens('light'),
@@ -74,29 +74,29 @@ export function getStockWebDarkPalette(): ThemeColorDefinition {
74
74
  neutralLighterAlt: '#201f1e',
75
75
  white: '#1b1a19',
76
76
  red: globalTokens.color.red.primary,
77
- // @ts-ignore
77
+ // @ts-expect-error
78
78
  accent: globalTokens.color.brand40,
79
79
  redDark: '#f1707b',
80
80
  blackTranslucent40: 'rgba(0,0,0,.4)',
81
81
 
82
82
  // Colors to be deprecated
83
- // @ts-ignore
83
+ // @ts-expect-error
84
84
  themeDarker: globalTokens.color.brand110,
85
- // @ts-ignore
85
+ // @ts-expect-error
86
86
  themeDark: globalTokens.color.brand100,
87
- // @ts-ignore
87
+ // @ts-expect-error
88
88
  themeDarkAlt: globalTokens.color.brand100,
89
- // @ts-ignore
89
+ // @ts-expect-error
90
90
  themePrimary: globalTokens.color.brand90,
91
- // @ts-ignore
91
+ // @ts-expect-error
92
92
  themeSecondary: globalTokens.color.brand90,
93
- // @ts-ignore
93
+ // @ts-expect-error
94
94
  themeTertiary: globalTokens.color.brand60,
95
- // @ts-ignore
95
+ // @ts-expect-error
96
96
  themeLight: globalTokens.color.brand50,
97
- // @ts-ignore
97
+ // @ts-expect-error
98
98
  themeLighter: globalTokens.color.brand40,
99
- // @ts-ignore
99
+ // @ts-expect-error
100
100
  themeLighterAlt: globalTokens.color.brand30,
101
101
  },
102
102
  true,
package/eslint.config.js DELETED
@@ -1,3 +0,0 @@
1
- const baseConfig = require('@fluentui-react-native/eslint-config-rules');
2
-
3
- module.exports = baseConfig;