@fluentui-react-native/win32-theme 0.34.9 → 0.34.11
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.json +16 -1
- package/CHANGELOG.md +10 -2
- package/lib/createFontAliasTokens.js +1 -1
- package/lib/createFontAliasTokens.js.map +1 -1
- package/lib/createOfficeAliasTokens.js +1 -1
- package/lib/createOfficeAliasTokens.js.map +1 -1
- package/lib-commonjs/createFontAliasTokens.js +2 -2
- package/lib-commonjs/createFontAliasTokens.js.map +1 -1
- package/lib-commonjs/createOfficeAliasTokens.js +3 -3
- package/lib-commonjs/createOfficeAliasTokens.js.map +1 -1
- package/package.json +4 -4
- package/src/createFontAliasTokens.ts +1 -1
- package/src/createOfficeAliasTokens.ts +1 -1
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,22 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/win32-theme",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Wed, 16 Jul 2025 20:06:44 GMT",
|
|
6
|
+
"version": "0.34.10",
|
|
7
|
+
"tag": "@fluentui-react-native/win32-theme_v0.34.10",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "jasonmo@microsoft.com",
|
|
12
|
+
"package": "@fluentui-react-native/win32-theme",
|
|
13
|
+
"commit": "6ed0a256caf94e287c6a9120ec5d0458bd5c7bfc",
|
|
14
|
+
"comment": "create common framework-base package to share common utiltities more broadly"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Tue, 15 Jul 2025 23:26:48 GMT",
|
|
6
21
|
"version": "0.34.9",
|
|
7
22
|
"tag": "@fluentui-react-native/win32-theme_v0.34.9",
|
|
8
23
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/win32-theme
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Wed, 16 Jul 2025 20:06:44 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.34.10
|
|
8
|
+
|
|
9
|
+
Wed, 16 Jul 2025 20:06:44 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- create common framework-base package to share common utiltities more broadly (jasonmo@microsoft.com)
|
|
14
|
+
|
|
7
15
|
## 0.34.9
|
|
8
16
|
|
|
9
|
-
Tue, 15 Jul 2025 23:
|
|
17
|
+
Tue, 15 Jul 2025 23:26:48 GMT
|
|
10
18
|
|
|
11
19
|
### Patches
|
|
12
20
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { memoize } from '@fluentui-react-native/
|
|
1
|
+
import { memoize } from '@fluentui-react-native/framework-base';
|
|
2
2
|
import { mapFontPipelineToTheme } from '@fluentui-react-native/theming-utils';
|
|
3
3
|
import { getOfficeAliasTokens } from './getOfficeTokens';
|
|
4
4
|
function createFontAliasTokensWorker() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createFontAliasTokens.js","sourceRoot":"","sources":["../src/createFontAliasTokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"createFontAliasTokens.js","sourceRoot":"","sources":["../src/createFontAliasTokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAEhE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAE9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEzD,SAAS,2BAA2B;IAClC,MAAM,WAAW,GAAG,oBAAoB,CAAC,UAAU,CAAC,CAAC;IACrD,OAAO,sBAAsB,CAAC,WAAW,CAAC,CAAC;AAC7C,CAAC;AAED,MAAM,CAAC,MAAM,qBAAqB,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { memoize } from '@fluentui-react-native/
|
|
1
|
+
import { memoize } from '@fluentui-react-native/framework-base';
|
|
2
2
|
import { mapPipelineToShadow, mapPipelineToTheme } from '@fluentui-react-native/theming-utils';
|
|
3
3
|
import { getOfficeAliasTokens, getOfficeShadowTokens } from './getOfficeTokens';
|
|
4
4
|
function createOfficeColorAliasTokensWorker(officeTheme) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createOfficeAliasTokens.js","sourceRoot":"","sources":["../src/createOfficeAliasTokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"createOfficeAliasTokens.js","sourceRoot":"","sources":["../src/createOfficeAliasTokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAEhE,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/F,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAEhF,SAAS,kCAAkC,CAAC,WAAmB;IAC7D,MAAM,WAAW,GAAG,oBAAoB,CAAC,WAAW,CAAC,CAAC;IACtD,OAAO,kBAAkB,CAAC,WAAW,CAAC,CAAC;AACzC,CAAC;AAED,MAAM,CAAC,MAAM,4BAA4B,GAAG,OAAO,CAAC,kCAAkC,CAAC,CAAC;AAExF,SAAS,mCAAmC,CAAC,WAAmB;IAC9D,MAAM,WAAW,GAAG,qBAAqB,CAAC,WAAW,CAAC,CAAC;IACvD,OAAO,mBAAmB,CAAC,WAAW,CAAC,CAAC;AAC1C,CAAC;AAED,MAAM,CAAC,MAAM,6BAA6B,GAAG,OAAO,CAAC,mCAAmC,CAAC,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createFontAliasTokens = void 0;
|
|
4
|
-
const
|
|
4
|
+
const framework_base_1 = require("@fluentui-react-native/framework-base");
|
|
5
5
|
const theming_utils_1 = require("@fluentui-react-native/theming-utils");
|
|
6
6
|
const getOfficeTokens_1 = require("./getOfficeTokens");
|
|
7
7
|
function createFontAliasTokensWorker() {
|
|
8
8
|
const aliasTokens = (0, getOfficeTokens_1.getOfficeAliasTokens)('Colorful');
|
|
9
9
|
return (0, theming_utils_1.mapFontPipelineToTheme)(aliasTokens);
|
|
10
10
|
}
|
|
11
|
-
exports.createFontAliasTokens = (0,
|
|
11
|
+
exports.createFontAliasTokens = (0, framework_base_1.memoize)(createFontAliasTokensWorker);
|
|
12
12
|
//# sourceMappingURL=createFontAliasTokens.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createFontAliasTokens.js","sourceRoot":"","sources":["../src/createFontAliasTokens.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"createFontAliasTokens.js","sourceRoot":"","sources":["../src/createFontAliasTokens.ts"],"names":[],"mappings":";;;AAAA,0EAAgE;AAEhE,wEAA8E;AAE9E,uDAAyD;AAEzD,SAAS,2BAA2B;IAClC,MAAM,WAAW,GAAG,IAAA,sCAAoB,EAAC,UAAU,CAAC,CAAC;IACrD,OAAO,IAAA,sCAAsB,EAAC,WAAW,CAAC,CAAC;AAC7C,CAAC;AAEY,QAAA,qBAAqB,GAAG,IAAA,wBAAO,EAAC,2BAA2B,CAAC,CAAC"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createOfficeShadowAliasTokens = exports.createOfficeColorAliasTokens = void 0;
|
|
4
|
-
const
|
|
4
|
+
const framework_base_1 = require("@fluentui-react-native/framework-base");
|
|
5
5
|
const theming_utils_1 = require("@fluentui-react-native/theming-utils");
|
|
6
6
|
const getOfficeTokens_1 = require("./getOfficeTokens");
|
|
7
7
|
function createOfficeColorAliasTokensWorker(officeTheme) {
|
|
8
8
|
const aliasTokens = (0, getOfficeTokens_1.getOfficeAliasTokens)(officeTheme);
|
|
9
9
|
return (0, theming_utils_1.mapPipelineToTheme)(aliasTokens);
|
|
10
10
|
}
|
|
11
|
-
exports.createOfficeColorAliasTokens = (0,
|
|
11
|
+
exports.createOfficeColorAliasTokens = (0, framework_base_1.memoize)(createOfficeColorAliasTokensWorker);
|
|
12
12
|
function createOfficeShadowAliasTokensWorker(officeTheme) {
|
|
13
13
|
const aliasTokens = (0, getOfficeTokens_1.getOfficeShadowTokens)(officeTheme);
|
|
14
14
|
return (0, theming_utils_1.mapPipelineToShadow)(aliasTokens);
|
|
15
15
|
}
|
|
16
|
-
exports.createOfficeShadowAliasTokens = (0,
|
|
16
|
+
exports.createOfficeShadowAliasTokens = (0, framework_base_1.memoize)(createOfficeShadowAliasTokensWorker);
|
|
17
17
|
//# sourceMappingURL=createOfficeAliasTokens.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createOfficeAliasTokens.js","sourceRoot":"","sources":["../src/createOfficeAliasTokens.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"createOfficeAliasTokens.js","sourceRoot":"","sources":["../src/createOfficeAliasTokens.ts"],"names":[],"mappings":";;;AAAA,0EAAgE;AAEhE,wEAA+F;AAE/F,uDAAgF;AAEhF,SAAS,kCAAkC,CAAC,WAAmB;IAC7D,MAAM,WAAW,GAAG,IAAA,sCAAoB,EAAC,WAAW,CAAC,CAAC;IACtD,OAAO,IAAA,kCAAkB,EAAC,WAAW,CAAC,CAAC;AACzC,CAAC;AAEY,QAAA,4BAA4B,GAAG,IAAA,wBAAO,EAAC,kCAAkC,CAAC,CAAC;AAExF,SAAS,mCAAmC,CAAC,WAAmB;IAC9D,MAAM,WAAW,GAAG,IAAA,uCAAqB,EAAC,WAAW,CAAC,CAAC;IACvD,OAAO,IAAA,mCAAmB,EAAC,WAAW,CAAC,CAAC;AAC1C,CAAC;AAEY,QAAA,6BAA6B,GAAG,IAAA,wBAAO,EAAC,mCAAmC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/win32-theme",
|
|
3
|
-
"version": "0.34.
|
|
3
|
+
"version": "0.34.11",
|
|
4
4
|
"description": "Win32 office theme that works with the theming native module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"author": "",
|
|
36
36
|
"license": "MIT",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@fluentui-react-native/default-theme": "0.26.
|
|
38
|
+
"@fluentui-react-native/default-theme": "0.26.8",
|
|
39
39
|
"@fluentui-react-native/design-tokens-win32": "^0.53.0",
|
|
40
|
-
"@fluentui-react-native/
|
|
41
|
-
"@fluentui-react-native/theme": "0.11.
|
|
40
|
+
"@fluentui-react-native/framework-base": "0.1.2",
|
|
41
|
+
"@fluentui-react-native/theme": "0.11.7",
|
|
42
42
|
"@fluentui-react-native/theme-tokens": "0.27.5",
|
|
43
43
|
"@fluentui-react-native/theme-types": "0.39.5",
|
|
44
44
|
"@fluentui-react-native/theming-utils": "0.26.5",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { memoize } from '@fluentui-react-native/
|
|
1
|
+
import { memoize } from '@fluentui-react-native/framework-base';
|
|
2
2
|
import type { Variants } from '@fluentui-react-native/theme-types';
|
|
3
3
|
import { mapFontPipelineToTheme } from '@fluentui-react-native/theming-utils';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { memoize } from '@fluentui-react-native/
|
|
1
|
+
import { memoize } from '@fluentui-react-native/framework-base';
|
|
2
2
|
import type { AliasColorTokens, ThemeShadowDefinition } from '@fluentui-react-native/theme-types';
|
|
3
3
|
import { mapPipelineToShadow, mapPipelineToTheme } from '@fluentui-react-native/theming-utils';
|
|
4
4
|
|