@fluentui-react-native/default-theme 0.26.2 → 0.26.4

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 +66 -1
  2. package/CHANGELOG.md +18 -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 +35 -17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-react-native/default-theme",
3
- "version": "0.26.2",
3
+ "version": "0.26.4",
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,29 +34,32 @@
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.1",
32
- "@fluentui-react-native/theme-tokens": "0.27.1",
33
- "@fluentui-react-native/theme-types": "0.39.1",
34
- "@fluentui-react-native/theming-utils": "0.26.1",
37
+ "@fluentui-react-native/memo-cache": "1.3.4",
38
+ "@fluentui-react-native/theme": "0.11.3",
39
+ "@fluentui-react-native/theme-tokens": "0.27.3",
40
+ "@fluentui-react-native/theme-types": "0.39.3",
41
+ "@fluentui-react-native/theming-utils": "0.26.3",
35
42
  "assert-never": "^1.2.1"
36
43
  },
37
44
  "devDependencies": {
45
+ "@babel/core": "^7.20.0",
38
46
  "@fluentui-react-native/eslint-config-rules": "0.1.1",
39
47
  "@fluentui-react-native/scripts": "0.1.1",
40
- "@office-iss/react-native-win32": "^0.73.0",
41
- "@react-native/babel-preset": "^0.73.0",
42
- "@react-native/metro-config": "^0.73.0",
48
+ "@office-iss/react-native-win32": "^0.74.0",
49
+ "@react-native/babel-preset": "^0.74.0",
50
+ "@react-native/metro-config": "^0.74.0",
43
51
  "@types/react": "^18.2.0",
44
52
  "react": "18.2.0",
45
- "react-native": "^0.73.0"
53
+ "react-native": "^0.74.0",
54
+ "react-native-macos": "^0.74.0",
55
+ "react-native-windows": "^0.74.0"
46
56
  },
47
57
  "peerDependencies": {
48
- "@office-iss/react-native-win32": "^0.73.0",
58
+ "@office-iss/react-native-win32": "^0.74.0",
49
59
  "react": "18.2.0",
50
- "react-native": "^0.73.0",
51
- "react-native-macos": "^0.73.0",
52
- "react-native-windows": "^0.73.0"
60
+ "react-native": "^0.73.0 || ^0.74.0",
61
+ "react-native-macos": "^0.73.0 || ^0.74.0",
62
+ "react-native-windows": "^0.73.0 || ^0.74.0"
53
63
  },
54
64
  "rnx-kit": {
55
65
  "kitType": "library",
@@ -57,13 +67,21 @@
57
67
  "presets": [
58
68
  "microsoft/react-native"
59
69
  ],
60
- "requirements": [
61
- "react-native@0.73"
62
- ],
70
+ "requirements": {
71
+ "development": [
72
+ "react-native@0.74"
73
+ ],
74
+ "production": [
75
+ "react-native@0.73 || 0.74"
76
+ ]
77
+ },
63
78
  "capabilities": [
79
+ "babel-preset-react-native",
64
80
  "core",
65
81
  "core-android",
66
82
  "core-ios",
83
+ "core-macos",
84
+ "core-windows",
67
85
  "react"
68
86
  ]
69
87
  }