@fluentui-react-native/default-theme 0.26.6 → 0.26.8
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/createAliasTokens.js +1 -1
- package/lib/createAliasTokens.js.map +1 -1
- package/lib-commonjs/createAliasTokens.js +3 -3
- package/lib-commonjs/createAliasTokens.js.map +1 -1
- package/package.json +3 -3
- package/src/createAliasTokens.ts +1 -1
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,22 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/default-theme",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Wed, 16 Jul 2025 20:06:45 GMT",
|
|
6
|
+
"version": "0.26.7",
|
|
7
|
+
"tag": "@fluentui-react-native/default-theme_v0.26.7",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "jasonmo@microsoft.com",
|
|
12
|
+
"package": "@fluentui-react-native/default-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:27:23 GMT",
|
|
6
21
|
"version": "0.26.6",
|
|
7
22
|
"tag": "@fluentui-react-native/default-theme_v0.26.6",
|
|
8
23
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/default-theme
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Wed, 16 Jul 2025 20:06:45 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.26.7
|
|
8
|
+
|
|
9
|
+
Wed, 16 Jul 2025 20:06:45 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- create common framework-base package to share common utiltities more broadly (jasonmo@microsoft.com)
|
|
14
|
+
|
|
7
15
|
## 0.26.6
|
|
8
16
|
|
|
9
|
-
Tue, 15 Jul 2025 23:
|
|
17
|
+
Tue, 15 Jul 2025 23:27:23 GMT
|
|
10
18
|
|
|
11
19
|
### Patches
|
|
12
20
|
|
package/lib/createAliasTokens.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { memoize } from '@fluentui-react-native/
|
|
1
|
+
import { memoize } from '@fluentui-react-native/framework-base';
|
|
2
2
|
import { getAliasTokens, getShadowTokens } from '@fluentui-react-native/theme-tokens';
|
|
3
3
|
import { mapPipelineToShadow, mapPipelineToTheme } from '@fluentui-react-native/theming-utils';
|
|
4
4
|
function createColorAliasTokensWorker(mode) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createAliasTokens.js","sourceRoot":"","sources":["../src/createAliasTokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"createAliasTokens.js","sourceRoot":"","sources":["../src/createAliasTokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAEtF,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/F,SAAS,4BAA4B,CAAC,IAAuB;IAC3D,MAAM,WAAW,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;IACzC,OAAO,kBAAkB,CAAC,WAAW,CAAC,CAAC;AACzC,CAAC;AAED,MAAM,CAAC,MAAM,sBAAsB,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC;AAE5E,SAAS,6BAA6B,CAAC,IAAuB;IAC5D,MAAM,WAAW,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IAC1C,OAAO,mBAAmB,CAAC,WAAW,CAAC,CAAC;AAC1C,CAAC;AAED,MAAM,CAAC,MAAM,uBAAuB,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAAC"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createShadowAliasTokens = exports.createColorAliasTokens = void 0;
|
|
4
|
-
const
|
|
4
|
+
const framework_base_1 = require("@fluentui-react-native/framework-base");
|
|
5
5
|
const theme_tokens_1 = require("@fluentui-react-native/theme-tokens");
|
|
6
6
|
const theming_utils_1 = require("@fluentui-react-native/theming-utils");
|
|
7
7
|
function createColorAliasTokensWorker(mode) {
|
|
8
8
|
const aliasTokens = (0, theme_tokens_1.getAliasTokens)(mode);
|
|
9
9
|
return (0, theming_utils_1.mapPipelineToTheme)(aliasTokens);
|
|
10
10
|
}
|
|
11
|
-
exports.createColorAliasTokens = (0,
|
|
11
|
+
exports.createColorAliasTokens = (0, framework_base_1.memoize)(createColorAliasTokensWorker);
|
|
12
12
|
function createShadowAliasTokensWorker(mode) {
|
|
13
13
|
const aliasTokens = (0, theme_tokens_1.getShadowTokens)(mode);
|
|
14
14
|
return (0, theming_utils_1.mapPipelineToShadow)(aliasTokens);
|
|
15
15
|
}
|
|
16
|
-
exports.createShadowAliasTokens = (0,
|
|
16
|
+
exports.createShadowAliasTokens = (0, framework_base_1.memoize)(createShadowAliasTokensWorker);
|
|
17
17
|
//# sourceMappingURL=createAliasTokens.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createAliasTokens.js","sourceRoot":"","sources":["../src/createAliasTokens.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"createAliasTokens.js","sourceRoot":"","sources":["../src/createAliasTokens.ts"],"names":[],"mappings":";;;AAAA,0EAAgE;AAChE,sEAAsF;AAEtF,wEAA+F;AAE/F,SAAS,4BAA4B,CAAC,IAAuB;IAC3D,MAAM,WAAW,GAAG,IAAA,6BAAc,EAAC,IAAI,CAAC,CAAC;IACzC,OAAO,IAAA,kCAAkB,EAAC,WAAW,CAAC,CAAC;AACzC,CAAC;AAEY,QAAA,sBAAsB,GAAG,IAAA,wBAAO,EAAC,4BAA4B,CAAC,CAAC;AAE5E,SAAS,6BAA6B,CAAC,IAAuB;IAC5D,MAAM,WAAW,GAAG,IAAA,8BAAe,EAAC,IAAI,CAAC,CAAC;IAC1C,OAAO,IAAA,mCAAmB,EAAC,WAAW,CAAC,CAAC;AAC1C,CAAC;AAEY,QAAA,uBAAuB,GAAG,IAAA,wBAAO,EAAC,6BAA6B,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/default-theme",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.8",
|
|
4
4
|
"description": "Typing only package for fluentui-react-native theme types",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"author": "",
|
|
36
36
|
"license": "MIT",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@fluentui-react-native/
|
|
39
|
-
"@fluentui-react-native/theme": "0.11.
|
|
38
|
+
"@fluentui-react-native/framework-base": "0.1.2",
|
|
39
|
+
"@fluentui-react-native/theme": "0.11.7",
|
|
40
40
|
"@fluentui-react-native/theme-tokens": "0.27.5",
|
|
41
41
|
"@fluentui-react-native/theme-types": "0.39.5",
|
|
42
42
|
"@fluentui-react-native/theming-utils": "0.26.5",
|
package/src/createAliasTokens.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { memoize } from '@fluentui-react-native/
|
|
1
|
+
import { memoize } from '@fluentui-react-native/framework-base';
|
|
2
2
|
import { getAliasTokens, getShadowTokens } from '@fluentui-react-native/theme-tokens';
|
|
3
3
|
import type { AliasColorTokens, AppearanceOptions, ThemeShadowDefinition } from '@fluentui-react-native/theme-types';
|
|
4
4
|
import { mapPipelineToShadow, mapPipelineToTheme } from '@fluentui-react-native/theming-utils';
|