@fluentui/react-theme 0.0.0-nightlyecca467a8920220110.1 → 0.0.0-nightlyf6116328d620220124.1
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 +30 -4
- package/CHANGELOG.md +6 -5
- package/dist/react-theme.d.ts +0 -2
- package/lib/utils/index.d.ts +0 -1
- package/lib/utils/index.js +0 -1
- package/lib/utils/index.js.map +1 -1
- package/lib-commonjs/utils/index.d.ts +0 -1
- package/lib-commonjs/utils/index.js +0 -10
- package/lib-commonjs/utils/index.js.map +1 -1
- package/package.json +3 -3
- package/lib/utils/mergeThemes.d.ts +0 -2
- package/lib/utils/mergeThemes.js +0 -15
- package/lib/utils/mergeThemes.js.map +0 -1
- package/lib-commonjs/utils/mergeThemes.d.ts +0 -2
- package/lib-commonjs/utils/mergeThemes.js +0 -24
- package/lib-commonjs/utils/mergeThemes.js.map +0 -1
package/CHANGELOG.json
CHANGED
@@ -2,15 +2,15 @@
|
|
2
2
|
"name": "@fluentui/react-theme",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "Mon,
|
6
|
-
"tag": "@fluentui/react-theme_v0.0.0-
|
7
|
-
"version": "0.0.0-
|
5
|
+
"date": "Mon, 24 Jan 2022 04:14:10 GMT",
|
6
|
+
"tag": "@fluentui/react-theme_v0.0.0-nightlyf6116328d620220124.1",
|
7
|
+
"version": "0.0.0-nightlyf6116328d620220124.1",
|
8
8
|
"comments": {
|
9
9
|
"prerelease": [
|
10
10
|
{
|
11
11
|
"author": "email not defined",
|
12
12
|
"package": "@fluentui/react-theme",
|
13
|
-
"commit": "
|
13
|
+
"commit": "7e40e770b133f0e9b5a0ba356e78ea25a8647941",
|
14
14
|
"comment": "Release nightly v9"
|
15
15
|
},
|
16
16
|
{
|
@@ -31,6 +31,12 @@
|
|
31
31
|
"commit": "d7479a7414e636731b678aebb6bf6295fd607fda",
|
32
32
|
"comment": "Extend brand ramp from 13 to 16 tokens"
|
33
33
|
},
|
34
|
+
{
|
35
|
+
"author": "martinhochel@microsoft.com",
|
36
|
+
"package": "@fluentui/react-theme",
|
37
|
+
"commit": "1dba2fca2365f1a748505896679ae160a6fec270",
|
38
|
+
"comment": "remove mergeThemes API"
|
39
|
+
},
|
34
40
|
{
|
35
41
|
"author": "bsunderhus@microsoft.com",
|
36
42
|
"package": "@fluentui/react-theme",
|
@@ -43,6 +49,26 @@
|
|
43
49
|
"commit": "8985d65f0aac448c6766d27800922224555be0f4",
|
44
50
|
"comment": "feat(react-theme) Add border1 color token for shared colors"
|
45
51
|
}
|
52
|
+
],
|
53
|
+
"none": [
|
54
|
+
{
|
55
|
+
"author": "olfedias@microsoft.com",
|
56
|
+
"package": "@fluentui/react-theme",
|
57
|
+
"commit": "c061e98be4b4a718c72a144a1f60bb5515824612",
|
58
|
+
"comment": "remove inline-style-expand-shorthand from tsconfigs"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"author": "miroslav.stastny@microsoft.com",
|
62
|
+
"package": "@fluentui/react-theme",
|
63
|
+
"commit": "636b848aa2323fd5d450e2206a71afad93aaa578",
|
64
|
+
"comment": "chore(react-theme) Add theme tokens bundle size fixture"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"author": "martinhochel@microsoft.com",
|
68
|
+
"package": "@fluentui/react-theme",
|
69
|
+
"commit": "8dfa712156b70414205b87b5b6d099367b0c297d",
|
70
|
+
"comment": "chore: use storybook runner for all vNext packages"
|
71
|
+
}
|
46
72
|
]
|
47
73
|
}
|
48
74
|
},
|
package/CHANGELOG.md
CHANGED
@@ -1,20 +1,21 @@
|
|
1
1
|
# Change Log - @fluentui/react-theme
|
2
2
|
|
3
|
-
This log was last generated on Mon,
|
3
|
+
This log was last generated on Mon, 24 Jan 2022 04:14:10 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.0.0-
|
7
|
+
## [0.0.0-nightlyf6116328d620220124.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v0.0.0-nightlyf6116328d620220124.1)
|
8
8
|
|
9
|
-
Mon,
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-beta.4..@fluentui/react-theme_v0.0.0-
|
9
|
+
Mon, 24 Jan 2022 04:14:10 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-beta.4..@fluentui/react-theme_v0.0.0-nightlyf6116328d620220124.1)
|
11
11
|
|
12
12
|
### Changes
|
13
13
|
|
14
|
-
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/
|
14
|
+
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/7e40e770b133f0e9b5a0ba356e78ea25a8647941) by email not defined)
|
15
15
|
- updating brand colors ([PR #20140](https://github.com/microsoft/fluentui/pull/20140) by andmarti@microsoft.com)
|
16
16
|
- feat: Export tokens as mapping to CSS variables ([PR #21026](https://github.com/microsoft/fluentui/pull/21026) by Humberto.Morimoto@microsoft.com)
|
17
17
|
- Extend brand ramp from 13 to 16 tokens ([PR #20884](https://github.com/microsoft/fluentui/pull/20884) by miroslav.stastny@microsoft.com)
|
18
|
+
- remove mergeThemes API ([PR #21278](https://github.com/microsoft/fluentui/pull/21278) by martinhochel@microsoft.com)
|
18
19
|
- Remove `themeToCSSVariables` function ([PR #20828](https://github.com/microsoft/fluentui/pull/20828) by bsunderhus@microsoft.com)
|
19
20
|
- feat(react-theme) Add border1 color token for shared colors ([PR #20963](https://github.com/microsoft/fluentui/pull/20963) by miroslav.stastny@microsoft.com)
|
20
21
|
|
package/dist/react-theme.d.ts
CHANGED
@@ -298,8 +298,6 @@ export declare type LineHeightTokens = {
|
|
298
298
|
lineHeightHero1000: string;
|
299
299
|
};
|
300
300
|
|
301
|
-
export declare function mergeThemes(a: Theme | undefined, b: PartialTheme | Theme | undefined): Theme;
|
302
|
-
|
303
301
|
export declare type PartialTheme = Partial<Theme>;
|
304
302
|
|
305
303
|
export declare type ShadowBrandTokens = {
|
package/lib/utils/index.d.ts
CHANGED
package/lib/utils/index.js
CHANGED
package/lib/utils/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC"}
|
@@ -3,7 +3,6 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.mergeThemes = void 0;
|
7
6
|
|
8
7
|
const tslib_1 = /*#__PURE__*/require("tslib");
|
9
8
|
|
@@ -14,13 +13,4 @@ tslib_1.__exportStar(require("./createDarkTheme"), exports);
|
|
14
13
|
tslib_1.__exportStar(require("./createTeamsDarkTheme"), exports);
|
15
14
|
|
16
15
|
tslib_1.__exportStar(require("./createHighContrastTheme"), exports);
|
17
|
-
|
18
|
-
var mergeThemes_1 = /*#__PURE__*/require("./mergeThemes");
|
19
|
-
|
20
|
-
Object.defineProperty(exports, "mergeThemes", {
|
21
|
-
enumerable: true,
|
22
|
-
get: function () {
|
23
|
-
return mergeThemes_1.mergeThemes;
|
24
|
-
}
|
25
|
-
});
|
26
16
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../src/utils/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"sources":["../../src/utils/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,oBAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,mBAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,wBAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,2BAAA,CAAA,EAAA,OAAA","sourceRoot":""}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-theme",
|
3
|
-
"version": "0.0.0-
|
3
|
+
"version": "0.0.0-nightlyf6116328d620220124.1",
|
4
4
|
"description": "Fluent UI themes",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -19,8 +19,8 @@
|
|
19
19
|
"just": "just-scripts",
|
20
20
|
"lint": "just-scripts lint",
|
21
21
|
"start": "yarn storybook",
|
22
|
-
"storybook": "
|
23
|
-
"test": "jest",
|
22
|
+
"storybook": "node ../../scripts/storybook/runner",
|
23
|
+
"test": "jest --passWithNoTests",
|
24
24
|
"docs": "api-extractor run --config=config/api-extractor.local.json --local",
|
25
25
|
"build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output ./dist/packages/react-theme/src && yarn docs",
|
26
26
|
"type-check": "tsc -b tsconfig.json"
|
package/lib/utils/mergeThemes.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../src/utils/mergeThemes.ts"],"names":[],"mappings":"AAEA,OAAM,SAAU,WAAV,CAAsB,CAAtB,EAA4C,CAA5C,EAA+E;AACnF;AACA,MAAI,CAAC,IAAI,CAAT,EAAY;AACV,WAAO,EAAE,GAAG,CAAL;AAAQ,SAAG;AAAX,KAAP;AACD;;AAED,MAAI,CAAJ,EAAO;AACL,WAAO,CAAP;AACD;;AAED,SAAO,CAAP;AACD","sourceRoot":""}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.mergeThemes = void 0;
|
7
|
-
|
8
|
-
function mergeThemes(a, b) {
|
9
|
-
// Merge impacts perf: we should like to avoid it if it's possible
|
10
|
-
if (a && b) {
|
11
|
-
return { ...a,
|
12
|
-
...b
|
13
|
-
};
|
14
|
-
}
|
15
|
-
|
16
|
-
if (a) {
|
17
|
-
return a;
|
18
|
-
}
|
19
|
-
|
20
|
-
return b;
|
21
|
-
}
|
22
|
-
|
23
|
-
exports.mergeThemes = mergeThemes;
|
24
|
-
//# sourceMappingURL=mergeThemes.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../src/utils/mergeThemes.ts"],"names":[],"mappings":";;;;;;;AAEA,SAAgB,WAAhB,CAA4B,CAA5B,EAAkD,CAAlD,EAAqF;AACnF;AACA,MAAI,CAAC,IAAI,CAAT,EAAY;AACV,WAAO,EAAE,GAAG,CAAL;AAAQ,SAAG;AAAX,KAAP;AACD;;AAED,MAAI,CAAJ,EAAO;AACL,WAAO,CAAP;AACD;;AAED,SAAO,CAAP;AACD;;AAXD,OAAA,CAAA,WAAA,GAAA,WAAA","sourceRoot":""}
|