@fluentui-react-native/win32-theme 0.39.0 → 0.39.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.
- package/CHANGELOG.md +41 -0
- package/lib/NativeModule/_mocks_/getThemingModule.native.d.ts +1 -1
- package/lib/NativeModule/_mocks_/getThemingModule.native.js +2 -2
- package/lib/NativeModule/fallbackOfficeModule.d.ts +1 -1
- package/lib/NativeModule/fallbackOfficeModule.js +163 -163
- package/lib/NativeModule/getThemingModule.d.ts +1 -1
- package/lib/NativeModule/getThemingModule.js +2 -2
- package/lib/NativeModule/getThemingModule.native.d.ts +1 -1
- package/lib/NativeModule/getThemingModule.native.js +30 -28
- package/lib/NativeModule/hostThemeSetting.d.ts +1 -1
- package/lib/NativeModule/hostThemeSetting.js +3 -3
- package/lib/NativeModule/index.d.ts +2 -10
- package/lib/NativeModule/index.js +1 -1
- package/lib/NativeModule/officeThemingModule.d.ts +21 -21
- package/lib/NativeModule/officeThemingModule.js +1 -1
- package/lib/__tests__/win32-theme.test.d.ts +1 -1
- package/lib/__tests__/win32-theme.test.js +47 -47
- package/lib/createAliasesFromPalette.d.ts +1 -1
- package/lib/createAliasesFromPalette.js +56 -56
- package/lib/createBrandedThemeWithAlias.d.ts +1 -1
- package/lib/createBrandedThemeWithAlias.js +61 -56
- package/lib/createFontAliasTokens.d.ts +1 -1
- package/lib/createFontAliasTokens.js +3 -3
- package/lib/createOfficeAliasTokens.d.ts +1 -1
- package/lib/createOfficeAliasTokens.js +5 -5
- package/lib/createOfficeTheme.d.ts +1 -1
- package/lib/createOfficeTheme.js +46 -53
- package/lib/createPartialOfficeTheme.d.ts +1 -1
- package/lib/createPartialOfficeTheme.js +19 -22
- package/lib/getOfficeTokens.d.ts +227 -229
- package/lib/getOfficeTokens.js +26 -20
- package/lib/getThemeTypography.d.ts +1 -1
- package/lib/getThemeTypography.js +32 -32
- package/lib/highContrast/tokens-alias.d.ts +1 -1
- package/lib/highContrast/tokens-alias.js +11 -11
- package/lib/index.d.ts +2 -10
- package/lib/index.js +1 -1
- package/lib/paletteFromOfficeColors.d.ts +1 -1
- package/lib/paletteFromOfficeColors.js +114 -114
- package/lib-commonjs/NativeModule/_mocks_/getThemingModule.native.d.ts +1 -1
- package/lib-commonjs/NativeModule/_mocks_/getThemingModule.native.js +5 -5
- package/lib-commonjs/NativeModule/fallbackOfficeModule.d.ts +1 -1
- package/lib-commonjs/NativeModule/fallbackOfficeModule.js +165 -165
- package/lib-commonjs/NativeModule/getThemingModule.d.ts +1 -1
- package/lib-commonjs/NativeModule/getThemingModule.js +5 -5
- package/lib-commonjs/NativeModule/getThemingModule.native.d.ts +1 -1
- package/lib-commonjs/NativeModule/getThemingModule.native.js +35 -33
- package/lib-commonjs/NativeModule/hostThemeSetting.d.ts +1 -1
- package/lib-commonjs/NativeModule/hostThemeSetting.js +5 -5
- package/lib-commonjs/NativeModule/index.d.ts +2 -10
- package/lib-commonjs/NativeModule/index.js +8 -23
- package/lib-commonjs/NativeModule/officeThemingModule.d.ts +21 -21
- package/lib-commonjs/NativeModule/officeThemingModule.js +3 -3
- package/lib-commonjs/__tests__/win32-theme.test.d.ts +1 -1
- package/lib-commonjs/__tests__/win32-theme.test.js +57 -57
- package/lib-commonjs/createAliasesFromPalette.d.ts +1 -1
- package/lib-commonjs/createAliasesFromPalette.js +58 -58
- package/lib-commonjs/createBrandedThemeWithAlias.d.ts +1 -1
- package/lib-commonjs/createBrandedThemeWithAlias.js +64 -59
- package/lib-commonjs/createFontAliasTokens.d.ts +1 -1
- package/lib-commonjs/createFontAliasTokens.js +8 -8
- package/lib-commonjs/createOfficeAliasTokens.d.ts +1 -1
- package/lib-commonjs/createOfficeAliasTokens.js +10 -10
- package/lib-commonjs/createOfficeTheme.d.ts +1 -1
- package/lib-commonjs/createOfficeTheme.js +57 -66
- package/lib-commonjs/createPartialOfficeTheme.d.ts +1 -1
- package/lib-commonjs/createPartialOfficeTheme.js +22 -25
- package/lib-commonjs/getOfficeTokens.d.ts +227 -229
- package/lib-commonjs/getOfficeTokens.js +39 -35
- package/lib-commonjs/getThemeTypography.d.ts +1 -1
- package/lib-commonjs/getThemeTypography.js +36 -36
- package/lib-commonjs/highContrast/tokens-alias.d.ts +1 -1
- package/lib-commonjs/highContrast/tokens-alias.js +18 -20
- package/lib-commonjs/index.d.ts +2 -10
- package/lib-commonjs/index.js +23 -89
- package/lib-commonjs/paletteFromOfficeColors.d.ts +1 -1
- package/lib-commonjs/paletteFromOfficeColors.js +116 -116
- package/package.json +26 -25
- package/eslint.config.js +0 -3
package/package.json
CHANGED
|
@@ -1,72 +1,73 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/win32-theme",
|
|
3
|
-
"version": "0.39.
|
|
3
|
+
"version": "0.39.3",
|
|
4
4
|
"description": "Win32 office theme that works with the theming native module",
|
|
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/win32-theme"
|
|
10
12
|
},
|
|
11
|
-
"
|
|
12
|
-
"
|
|
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-
|
|
27
|
+
"build-core": "tsgo --outDir lib --module esnext --moduleResolution bundler",
|
|
27
28
|
"clean": "fluentui-scripts clean",
|
|
28
29
|
"depcheck": "fluentui-scripts depcheck",
|
|
29
|
-
"
|
|
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/default-theme": "0.27.
|
|
39
|
+
"@fluentui-react-native/default-theme": "0.27.3",
|
|
39
40
|
"@fluentui-react-native/design-tokens-win32": "^0.53.0",
|
|
40
|
-
"@fluentui-react-native/framework-base": "0.3.
|
|
41
|
-
"@fluentui-react-native/theme": "0.12.
|
|
42
|
-
"@fluentui-react-native/theme-tokens": "0.28.
|
|
43
|
-
"@fluentui-react-native/theme-types": "0.44.
|
|
44
|
-
"@fluentui-react-native/theming-utils": "0.27.
|
|
41
|
+
"@fluentui-react-native/framework-base": "0.3.3",
|
|
42
|
+
"@fluentui-react-native/theme": "0.12.3",
|
|
43
|
+
"@fluentui-react-native/theme-tokens": "0.28.3",
|
|
44
|
+
"@fluentui-react-native/theme-types": "0.44.3",
|
|
45
|
+
"@fluentui-react-native/theming-utils": "0.27.3"
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|
|
47
48
|
"@babel/core": "^7.20.0",
|
|
48
49
|
"@fluentui-react-native/babel-config": "0.1.1",
|
|
49
|
-
"@fluentui-react-native/
|
|
50
|
-
"@fluentui-react-native/jest-config": "0.1.1",
|
|
50
|
+
"@fluentui-react-native/jest-config": "0.1.0",
|
|
51
51
|
"@fluentui-react-native/kit-config": "0.1.2",
|
|
52
|
-
"@fluentui-react-native/
|
|
52
|
+
"@fluentui-react-native/lint-config-rules": "0.1.3",
|
|
53
|
+
"@fluentui-react-native/scripts": "0.1.0",
|
|
53
54
|
"@office-iss/react-native-win32": "^0.74.0",
|
|
54
55
|
"@react-native-community/cli": "^20.0.0",
|
|
55
56
|
"@react-native-community/cli-platform-android": "^20.0.0",
|
|
56
57
|
"@react-native-community/cli-platform-ios": "^20.0.0",
|
|
57
58
|
"@react-native/babel-preset": "^0.81.0",
|
|
58
59
|
"@react-native/metro-config": "^0.81.0",
|
|
59
|
-
"@types/react": "~19.1.
|
|
60
|
-
"react": "19.1.
|
|
61
|
-
"react-native": "^0.81.
|
|
60
|
+
"@types/react": "~19.1.4",
|
|
61
|
+
"react": "19.1.4",
|
|
62
|
+
"react-native": "^0.81.6",
|
|
62
63
|
"react-native-macos": "^0.81.0",
|
|
63
64
|
"react-native-windows": "^0.81.0"
|
|
64
65
|
},
|
|
65
66
|
"peerDependencies": {
|
|
66
67
|
"@office-iss/react-native-win32": "^0.74.0",
|
|
67
|
-
"@types/react": "~18.2.0 || ~19.0.0 || ~19.1.
|
|
68
|
-
"react": "18.2.0 || 19.0.0 || 19.1.
|
|
69
|
-
"react-native": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.
|
|
68
|
+
"@types/react": "~18.2.0 || ~19.0.0 || ~19.1.4",
|
|
69
|
+
"react": "18.2.0 || 19.0.0 || 19.1.4",
|
|
70
|
+
"react-native": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.6",
|
|
70
71
|
"react-native-macos": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0",
|
|
71
72
|
"react-native-windows": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0"
|
|
72
73
|
},
|
package/eslint.config.js
DELETED