@fluentui-react-native/default-theme 0.26.5 → 0.26.7
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 +42 -3
- package/CHANGELOG.md +14 -3
- package/babel.config.js +1 -1
- 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 +7 -6
- package/src/createAliasTokens.ts +1 -1
- package/just.config.js +0 -3
package/CHANGELOG.json
CHANGED
|
@@ -2,9 +2,24 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/default-theme",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
6
|
-
"version": "0.26.
|
|
7
|
-
"tag": "@fluentui-react-native/default-theme_v0.26.
|
|
5
|
+
"date": "Wed, 16 Jul 2025 20:02:37 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",
|
|
21
|
+
"version": "0.26.6",
|
|
22
|
+
"tag": "@fluentui-react-native/default-theme_v0.26.6",
|
|
8
23
|
"comments": {
|
|
9
24
|
"none": [
|
|
10
25
|
{
|
|
@@ -30,9 +45,33 @@
|
|
|
30
45
|
"package": "@fluentui-react-native/default-theme",
|
|
31
46
|
"commit": "a245202877ef7f2be9ab5f0e1356b2270957e693",
|
|
32
47
|
"comment": "Run bump-versions"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"author": "jasonmo@microsoft.com",
|
|
51
|
+
"package": "@fluentui-react-native/default-theme",
|
|
52
|
+
"commit": "3e168e4363d1821818f219819d29532eace8d979",
|
|
53
|
+
"comment": "update scripts package to be fully js, use esm, and validate fully"
|
|
33
54
|
}
|
|
34
55
|
],
|
|
35
56
|
"patch": [
|
|
57
|
+
{
|
|
58
|
+
"author": "jasonmo@microsoft.com",
|
|
59
|
+
"package": "@fluentui-react-native/default-theme",
|
|
60
|
+
"commit": "3d36cc95620fdb938221cbe2c5ce002264108a50",
|
|
61
|
+
"comment": "fix repo linting with new configs and version, fixing linting errors as well"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"author": "sanajmi@microsoft.com",
|
|
65
|
+
"package": "@fluentui-react-native/default-theme",
|
|
66
|
+
"commit": "9cbe229ec7f6363d229dcaef506921b8d9f47d7d",
|
|
67
|
+
"comment": "fix: run beachball sync"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"author": "jasonmo@microsoft.com",
|
|
71
|
+
"package": "@fluentui-react-native/default-theme",
|
|
72
|
+
"commit": "6b4d59227b1e9bbbf25cc93a3502015f663b363e",
|
|
73
|
+
"comment": "add react-native entrypoints that ensure metro targets TS files rather than JS files for bundling"
|
|
74
|
+
},
|
|
36
75
|
{
|
|
37
76
|
"author": "jasonmo@microsoft.com",
|
|
38
77
|
"package": "@fluentui-react-native/default-theme",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,26 @@
|
|
|
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:02:37 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## 0.26.
|
|
7
|
+
## 0.26.7
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Wed, 16 Jul 2025 20:02:37 GMT
|
|
10
10
|
|
|
11
11
|
### Patches
|
|
12
12
|
|
|
13
|
+
- create common framework-base package to share common utiltities more broadly (jasonmo@microsoft.com)
|
|
14
|
+
|
|
15
|
+
## 0.26.6
|
|
16
|
+
|
|
17
|
+
Tue, 15 Jul 2025 23:27:23 GMT
|
|
18
|
+
|
|
19
|
+
### Patches
|
|
20
|
+
|
|
21
|
+
- fix repo linting with new configs and version, fixing linting errors as well (jasonmo@microsoft.com)
|
|
22
|
+
- fix: run beachball sync (sanajmi@microsoft.com)
|
|
23
|
+
- add react-native entrypoints that ensure metro targets TS files rather than JS files for bundling (jasonmo@microsoft.com)
|
|
13
24
|
- update builds to use node16 settings and modern export maps (jasonmo@microsoft.com)
|
|
14
25
|
|
|
15
26
|
## 0.26.3
|
package/babel.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
module.exports = require('@fluentui-react-native/scripts/babel.config');
|
|
1
|
+
module.exports = require('@fluentui-react-native/scripts/configs/babel.config');
|
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.7",
|
|
4
4
|
"description": "Typing only package for fluentui-react-native theme types",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"main": "lib-commonjs/index.js",
|
|
11
11
|
"module": "lib/index.js",
|
|
12
|
+
"react-native": "src/index.ts",
|
|
12
13
|
"exports": {
|
|
13
14
|
".": {
|
|
14
15
|
"import": "./lib/index.js",
|
|
@@ -34,11 +35,11 @@
|
|
|
34
35
|
"author": "",
|
|
35
36
|
"license": "MIT",
|
|
36
37
|
"dependencies": {
|
|
37
|
-
"@fluentui-react-native/
|
|
38
|
-
"@fluentui-react-native/theme": "0.11.
|
|
39
|
-
"@fluentui-react-native/theme-tokens": "0.27.
|
|
40
|
-
"@fluentui-react-native/theme-types": "0.39.
|
|
41
|
-
"@fluentui-react-native/theming-utils": "0.26.
|
|
38
|
+
"@fluentui-react-native/framework-base": "0.1.1",
|
|
39
|
+
"@fluentui-react-native/theme": "0.11.6",
|
|
40
|
+
"@fluentui-react-native/theme-tokens": "0.27.5",
|
|
41
|
+
"@fluentui-react-native/theme-types": "0.39.5",
|
|
42
|
+
"@fluentui-react-native/theming-utils": "0.26.5",
|
|
42
43
|
"assert-never": "^1.2.1"
|
|
43
44
|
},
|
|
44
45
|
"devDependencies": {
|
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';
|
package/just.config.js
DELETED