@fluentui/react-theme 0.0.0-nightly65dd5f749420211213.1 → 0.0.0-nightly8dfa71215620220118.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 CHANGED
@@ -2,15 +2,15 @@
2
2
  "name": "@fluentui/react-theme",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 13 Dec 2021 04:16:35 GMT",
6
- "tag": "@fluentui/react-theme_v0.0.0-nightly65dd5f749420211213.1",
7
- "version": "0.0.0-nightly65dd5f749420211213.1",
5
+ "date": "Tue, 18 Jan 2022 04:14:42 GMT",
6
+ "tag": "@fluentui/react-theme_v0.0.0-nightly8dfa71215620220118.1",
7
+ "version": "0.0.0-nightly8dfa71215620220118.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
11
11
  "author": "email not defined",
12
12
  "package": "@fluentui/react-theme",
13
- "commit": "77618a4c1c41ffdcf3d5d21ea90d20af614da6f1",
13
+ "commit": "88cddfc0c80b8e37df557740279661f628c46698",
14
14
  "comment": "Release nightly v9"
15
15
  },
16
16
  {
@@ -19,12 +19,24 @@
19
19
  "commit": "3ca42a594827a2ce3d5d18fcd4a399c92fda3bd7",
20
20
  "comment": "updating brand colors"
21
21
  },
22
+ {
23
+ "author": "Humberto.Morimoto@microsoft.com",
24
+ "package": "@fluentui/react-theme",
25
+ "commit": "b382d0421440e0854673a7967137d6c667544f91",
26
+ "comment": "feat: Export tokens as mapping to CSS variables"
27
+ },
22
28
  {
23
29
  "author": "miroslav.stastny@microsoft.com",
24
30
  "package": "@fluentui/react-theme",
25
31
  "commit": "d7479a7414e636731b678aebb6bf6295fd607fda",
26
32
  "comment": "Extend brand ramp from 13 to 16 tokens"
27
33
  },
34
+ {
35
+ "author": "martinhochel@microsoft.com",
36
+ "package": "@fluentui/react-theme",
37
+ "commit": "1dba2fca2365f1a748505896679ae160a6fec270",
38
+ "comment": "remove mergeThemes API"
39
+ },
28
40
  {
29
41
  "author": "bsunderhus@microsoft.com",
30
42
  "package": "@fluentui/react-theme",
@@ -37,6 +49,20 @@
37
49
  "commit": "8985d65f0aac448c6766d27800922224555be0f4",
38
50
  "comment": "feat(react-theme) Add border1 color token for shared colors"
39
51
  }
52
+ ],
53
+ "none": [
54
+ {
55
+ "author": "miroslav.stastny@microsoft.com",
56
+ "package": "@fluentui/react-theme",
57
+ "commit": "636b848aa2323fd5d450e2206a71afad93aaa578",
58
+ "comment": "chore(react-theme) Add theme tokens bundle size fixture"
59
+ },
60
+ {
61
+ "author": "martinhochel@microsoft.com",
62
+ "package": "@fluentui/react-theme",
63
+ "commit": "8dfa712156b70414205b87b5b6d099367b0c297d",
64
+ "comment": "chore: use storybook runner for all vNext packages"
65
+ }
40
66
  ]
41
67
  }
42
68
  },
package/CHANGELOG.md CHANGED
@@ -1,19 +1,21 @@
1
1
  # Change Log - @fluentui/react-theme
2
2
 
3
- This log was last generated on Mon, 13 Dec 2021 04:16:35 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 18 Jan 2022 04:14:42 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly65dd5f749420211213.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v0.0.0-nightly65dd5f749420211213.1)
7
+ ## [0.0.0-nightly8dfa71215620220118.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v0.0.0-nightly8dfa71215620220118.1)
8
8
 
9
- Mon, 13 Dec 2021 04:16:35 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-beta.4..@fluentui/react-theme_v0.0.0-nightly65dd5f749420211213.1)
9
+ Tue, 18 Jan 2022 04:14:42 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-beta.4..@fluentui/react-theme_v0.0.0-nightly8dfa71215620220118.1)
11
11
 
12
12
  ### Changes
13
13
 
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/77618a4c1c41ffdcf3d5d21ea90d20af614da6f1) by email not defined)
14
+ - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/88cddfc0c80b8e37df557740279661f628c46698) by email not defined)
15
15
  - updating brand colors ([PR #20140](https://github.com/microsoft/fluentui/pull/20140) by andmarti@microsoft.com)
16
+ - feat: Export tokens as mapping to CSS variables ([PR #21026](https://github.com/microsoft/fluentui/pull/21026) by Humberto.Morimoto@microsoft.com)
16
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)
17
19
  - Remove `themeToCSSVariables` function ([PR #20828](https://github.com/microsoft/fluentui/pull/20828) by bsunderhus@microsoft.com)
18
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)
19
21
 
@@ -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 = {
@@ -338,6 +336,8 @@ export declare const teamsLightTheme: Theme;
338
336
 
339
337
  export declare type Theme = FontSizeTokens & LineHeightTokens & BorderRadiusTokens & StrokeWidthTokens & ShadowTokens & ShadowBrandTokens & FontFamilyTokens & FontWeightTokens & ColorPaletteTokens & ColorTokens;
340
338
 
339
+ export declare const tokens: Record<keyof Theme, string>;
340
+
341
341
  export declare const webDarkTheme: Theme;
342
342
 
343
343
  export declare const webHighContrastTheme: Theme;
package/lib/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from './themes/index';
2
2
  export * from './utils/index';
3
+ export { tokens } from './tokens';
3
4
  export type { Brands, BrandVariants, FontSizeTokens, FontWeightTokens, LineHeightTokens, BorderRadiusTokens, StrokeWidthTokens, ShadowTokens, ShadowBrandTokens, FontFamilyTokens, ColorPaletteTokens, ColorPaletteDarkRed, ColorPaletteBurgundy, ColorPaletteCranberry, ColorPaletteRed, ColorPaletteDarkOrange, ColorPaletteBronze, ColorPalettePumpkin, ColorPaletteOrange, ColorPalettePeach, ColorPaletteMarigold, ColorPaletteYellow, ColorPaletteGold, ColorPaletteBrass, ColorPaletteBrown, ColorPaletteDarkBrown, ColorPaletteLime, ColorPaletteForest, ColorPaletteSeafoam, ColorPaletteLightGreen, ColorPaletteGreen, ColorPaletteDarkGreen, ColorPaletteLightTeal, ColorPaletteTeal, ColorPaletteDarkTeal, ColorPaletteCyan, ColorPaletteSteel, ColorPaletteLightBlue, ColorPaletteBlue, ColorPaletteRoyalBlue, ColorPaletteDarkBlue, ColorPaletteCornflower, ColorPaletteNavy, ColorPaletteLavender, ColorPalettePurple, ColorPaletteDarkPurple, ColorPaletteOrchid, ColorPaletteGrape, ColorPaletteBerry, ColorPaletteLilac, ColorPalettePink, ColorPaletteHotPink, ColorPaletteMagenta, ColorPalettePlum, ColorPaletteBeige, ColorPaletteMink, ColorPaletteSilver, ColorPalettePlatinum, ColorPaletteAnchor, ColorPaletteCharcoal, ColorTokens, PartialTheme, Theme, } from './types';
package/lib/index.js CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from './themes/index';
2
2
  export * from './utils/index';
3
+ export { tokens } from './tokens';
3
4
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAE9B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { Theme } from './types';
2
+ export declare const tokens: Record<keyof Theme, string>;