@fluentui-react-native/default-theme 0.26.3 → 0.26.5

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 (36) hide show
  1. package/CHANGELOG.json +42 -1
  2. package/CHANGELOG.md +10 -2
  3. package/eslint.config.js +3 -0
  4. package/lib/__tests__/default-theme.test.js +22 -68
  5. package/lib/__tests__/default-theme.test.js.map +1 -1
  6. package/lib/createAliasTokens.js +4 -4
  7. package/lib/createAliasTokens.js.map +1 -1
  8. package/lib/createDefaultTheme.js +4 -5
  9. package/lib/createDefaultTheme.js.map +1 -1
  10. package/lib/defaultColors.js +126 -13
  11. package/lib/defaultColors.js.map +1 -1
  12. package/lib/defaultTheme.js +5 -5
  13. package/lib/defaultTheme.js.map +1 -1
  14. package/lib/stockWebPalette.js +88 -93
  15. package/lib/stockWebPalette.js.map +1 -1
  16. package/lib/stockWebPalette.macos.js +66 -71
  17. package/lib/stockWebPalette.macos.js.map +1 -1
  18. package/lib/stockWebPalette.win32.js +66 -71
  19. package/lib/stockWebPalette.win32.js.map +1 -1
  20. package/lib-commonjs/__tests__/default-theme.test.js +25 -71
  21. package/lib-commonjs/__tests__/default-theme.test.js.map +1 -1
  22. package/lib-commonjs/createAliasTokens.js +5 -5
  23. package/lib-commonjs/createAliasTokens.js.map +1 -1
  24. package/lib-commonjs/createDefaultTheme.js +9 -10
  25. package/lib-commonjs/createDefaultTheme.js.map +1 -1
  26. package/lib-commonjs/defaultColors.js +127 -14
  27. package/lib-commonjs/defaultColors.js.map +1 -1
  28. package/lib-commonjs/defaultTheme.js +7 -7
  29. package/lib-commonjs/defaultTheme.js.map +1 -1
  30. package/lib-commonjs/stockWebPalette.js +91 -96
  31. package/lib-commonjs/stockWebPalette.js.map +1 -1
  32. package/lib-commonjs/stockWebPalette.macos.js +69 -74
  33. package/lib-commonjs/stockWebPalette.macos.js.map +1 -1
  34. package/lib-commonjs/stockWebPalette.win32.js +69 -74
  35. package/lib-commonjs/stockWebPalette.win32.js.map +1 -1
  36. package/package.json +19 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-react-native/default-theme",
3
- "version": "0.26.3",
3
+ "version": "0.26.5",
4
4
  "description": "Typing only package for fluentui-react-native theme types",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,6 +9,13 @@
9
9
  },
10
10
  "main": "lib-commonjs/index.js",
11
11
  "module": "lib/index.js",
12
+ "exports": {
13
+ ".": {
14
+ "import": "./lib/index.js",
15
+ "require": "./lib-commonjs/index.js",
16
+ "types": "./lib/index.d.ts"
17
+ }
18
+ },
12
19
  "typings": "lib/index.d.ts",
13
20
  "scripts": {
14
21
  "build": "fluentui-scripts build",
@@ -27,11 +34,11 @@
27
34
  "author": "",
28
35
  "license": "MIT",
29
36
  "dependencies": {
30
- "@fluentui-react-native/memo-cache": "1.3.3",
31
- "@fluentui-react-native/theme": "0.11.2",
32
- "@fluentui-react-native/theme-tokens": "0.27.2",
33
- "@fluentui-react-native/theme-types": "0.39.2",
34
- "@fluentui-react-native/theming-utils": "0.26.2",
37
+ "@fluentui-react-native/memo-cache": "1.3.5",
38
+ "@fluentui-react-native/theme": "0.11.4",
39
+ "@fluentui-react-native/theme-tokens": "0.27.4",
40
+ "@fluentui-react-native/theme-types": "0.39.4",
41
+ "@fluentui-react-native/theming-utils": "0.26.4",
35
42
  "assert-never": "^1.2.1"
36
43
  },
37
44
  "devDependencies": {
@@ -43,7 +50,9 @@
43
50
  "@react-native/metro-config": "^0.74.0",
44
51
  "@types/react": "^18.2.0",
45
52
  "react": "18.2.0",
46
- "react-native": "^0.74.0"
53
+ "react-native": "^0.74.0",
54
+ "react-native-macos": "^0.74.0",
55
+ "react-native-windows": "^0.74.0"
47
56
  },
48
57
  "peerDependencies": {
49
58
  "@office-iss/react-native-win32": "^0.74.0",
@@ -67,9 +76,12 @@
67
76
  ]
68
77
  },
69
78
  "capabilities": [
79
+ "babel-preset-react-native",
70
80
  "core",
71
81
  "core-android",
72
82
  "core-ios",
83
+ "core-macos",
84
+ "core-windows",
73
85
  "react"
74
86
  ]
75
87
  }