@fluentui/react-theme 0.0.0-nightlyb8537fb52c20211129.1 → 0.0.0-nightlyd3bf09bf8120211201.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,16 +2,28 @@
2
2
  "name": "@fluentui/react-theme",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 29 Nov 2021 04:13:44 GMT",
6
- "tag": "@fluentui/react-theme_v0.0.0-nightlyb8537fb52c20211129.1",
7
- "version": "0.0.0-nightlyb8537fb52c20211129.1",
5
+ "date": "Wed, 01 Dec 2021 04:25:40 GMT",
6
+ "tag": "@fluentui/react-theme_v0.0.0-nightlyd3bf09bf8120211201.1",
7
+ "version": "0.0.0-nightlyd3bf09bf8120211201.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
+ {
11
+ "author": "email not defined",
12
+ "package": "@fluentui/react-theme",
13
+ "commit": "40bec5fdab524f928e775fb2ed002822255eb2a7",
14
+ "comment": "Release nightly v9"
15
+ },
10
16
  {
11
17
  "author": "andmarti@microsoft.com",
12
18
  "package": "@fluentui/react-theme",
13
19
  "commit": "3ca42a594827a2ce3d5d18fcd4a399c92fda3bd7",
14
20
  "comment": "updating brand colors"
21
+ },
22
+ {
23
+ "author": "bsunderhus@microsoft.com",
24
+ "package": "@fluentui/react-theme",
25
+ "commit": "c9a03954ffd5d1a85284fb36ef4cd103ed8aa927",
26
+ "comment": "Remove `themeToCSSVariables` function"
15
27
  }
16
28
  ]
17
29
  }
package/CHANGELOG.md CHANGED
@@ -1,17 +1,19 @@
1
1
  # Change Log - @fluentui/react-theme
2
2
 
3
- This log was last generated on Mon, 29 Nov 2021 04:13:44 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 01 Dec 2021 04:25:40 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightlyb8537fb52c20211129.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v0.0.0-nightlyb8537fb52c20211129.1)
7
+ ## [0.0.0-nightlyd3bf09bf8120211201.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v0.0.0-nightlyd3bf09bf8120211201.1)
8
8
 
9
- Mon, 29 Nov 2021 04:13:44 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-beta.4..@fluentui/react-theme_v0.0.0-nightlyb8537fb52c20211129.1)
9
+ Wed, 01 Dec 2021 04:25:40 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-beta.4..@fluentui/react-theme_v0.0.0-nightlyd3bf09bf8120211201.1)
11
11
 
12
12
  ### Changes
13
13
 
14
+ - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by email not defined)
14
15
  - updating brand colors ([PR #20140](https://github.com/microsoft/fluentui/pull/20140) by andmarti@microsoft.com)
16
+ - Remove `themeToCSSVariables` function ([PR #20828](https://github.com/microsoft/fluentui/pull/20828) by bsunderhus@microsoft.com)
15
17
 
16
18
  ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-beta.4)
17
19
 
@@ -356,8 +356,6 @@ export declare const teamsLightTheme: Theme;
356
356
 
357
357
  export declare type Theme = FontSizeTokens & LineHeightTokens & BorderRadiusTokens & StrokeWidthTokens & ShadowTokens & ShadowBrandTokens & FontFamilyTokens & FontWeightTokens & ColorPaletteTokens & ColorTokens;
358
358
 
359
- export declare function themeToCSSVariables(theme: Theme): Record<string, string | number>;
360
-
361
359
  export declare const webDarkTheme: Theme;
362
360
 
363
361
  export declare const webHighContrastTheme: Theme;
@@ -3,4 +3,3 @@ export * from './createDarkTheme';
3
3
  export * from './createTeamsDarkTheme';
4
4
  export * from './createHighContrastTheme';
5
5
  export { mergeThemes } from './mergeThemes';
6
- export * from './themeToCSSVariables';
@@ -3,5 +3,4 @@ export * from './createDarkTheme';
3
3
  export * from './createTeamsDarkTheme';
4
4
  export * from './createHighContrastTheme';
5
5
  export { mergeThemes } from './mergeThemes';
6
- export * from './themeToCSSVariables';
7
6
  //# sourceMappingURL=index.js.map
@@ -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;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,cAAc,uBAAuB,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;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
@@ -3,4 +3,3 @@ export * from './createDarkTheme';
3
3
  export * from './createTeamsDarkTheme';
4
4
  export * from './createHighContrastTheme';
5
5
  export { mergeThemes } from './mergeThemes';
6
- export * from './themeToCSSVariables';
@@ -23,6 +23,4 @@ Object.defineProperty(exports, "mergeThemes", {
23
23
  return mergeThemes_1.mergeThemes;
24
24
  }
25
25
  });
26
-
27
- tslib_1.__exportStar(require("./themeToCSSVariables"), exports);
28
26
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
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;;AAEA,IAAA,aAAA,gBAAA,OAAA,CAAA,eAAA,CAAA;;AAAS,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,aAAA,EAAA;AAAA,EAAA,UAAA,EAAA,IAAA;AAAA,EAAA,GAAA,EAAA,YAAA;AAAA,WAAA,aAAA,CAAA,WAAA;AAAW;AAAX,CAAA;;AACT,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,uBAAA,CAAA,EAAA,OAAA","sourceRoot":""}
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;;AAEA,IAAA,aAAA,gBAAA,OAAA,CAAA,eAAA,CAAA;;AAAS,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,aAAA,EAAA;AAAA,EAAA,UAAA,EAAA,IAAA;AAAA,EAAA,GAAA,EAAA,YAAA;AAAA,WAAA,aAAA,CAAA,WAAA;AAAW;AAAX,CAAA","sourceRoot":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-theme",
3
- "version": "0.0.0-nightlyb8537fb52c20211129.1",
3
+ "version": "0.0.0-nightlyd3bf09bf8120211201.1",
4
4
  "description": "Fluent UI themes",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -1,2 +0,0 @@
1
- import type { Theme } from '../types';
2
- export declare function themeToCSSVariables(theme: Theme): Record<string, string | number>;
@@ -1,12 +0,0 @@
1
- export function themeToCSSVariables(theme) {
2
- const result = {};
3
-
4
- for (const propertyName in theme) {
5
- if (Object.prototype.hasOwnProperty.call(theme, propertyName)) {
6
- result[`--${propertyName}`] = theme[propertyName];
7
- }
8
- }
9
-
10
- return result;
11
- }
12
- //# sourceMappingURL=themeToCSSVariables.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/utils/themeToCSSVariables.ts"],"names":[],"mappings":"AAEA,OAAM,SAAU,mBAAV,CAA8B,KAA9B,EAA0C;AAC9C,QAAM,MAAM,GAA2C,EAAvD;;AAEA,OAAK,MAAM,YAAX,IAA2B,KAA3B,EAAkC;AAChC,QAAI,MAAM,CAAC,SAAP,CAAiB,cAAjB,CAAgC,IAAhC,CAAqC,KAArC,EAA4C,YAA5C,CAAJ,EAA+D;AAC7D,MAAA,MAAM,CAAC,KAAK,YAAY,EAAlB,CAAN,GAA8B,KAAK,CAAC,YAAD,CAAnC;AACD;AACF;;AAED,SAAO,MAAP;AACD","sourceRoot":""}
@@ -1,2 +0,0 @@
1
- import type { Theme } from '../types';
2
- export declare function themeToCSSVariables(theme: Theme): Record<string, string | number>;
@@ -1,21 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.themeToCSSVariables = void 0;
7
-
8
- function themeToCSSVariables(theme) {
9
- const result = {};
10
-
11
- for (const propertyName in theme) {
12
- if (Object.prototype.hasOwnProperty.call(theme, propertyName)) {
13
- result[`--${propertyName}`] = theme[propertyName];
14
- }
15
- }
16
-
17
- return result;
18
- }
19
-
20
- exports.themeToCSSVariables = themeToCSSVariables;
21
- //# sourceMappingURL=themeToCSSVariables.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/utils/themeToCSSVariables.ts"],"names":[],"mappings":";;;;;;;AAEA,SAAgB,mBAAhB,CAAoC,KAApC,EAAgD;AAC9C,QAAM,MAAM,GAA2C,EAAvD;;AAEA,OAAK,MAAM,YAAX,IAA2B,KAA3B,EAAkC;AAChC,QAAI,MAAM,CAAC,SAAP,CAAiB,cAAjB,CAAgC,IAAhC,CAAqC,KAArC,EAA4C,YAA5C,CAAJ,EAA+D;AAC7D,MAAA,MAAM,CAAC,KAAK,YAAY,EAAlB,CAAN,GAA8B,KAAK,CAAC,YAAD,CAAnC;AACD;AACF;;AAED,SAAO,MAAP;AACD;;AAVD,OAAA,CAAA,mBAAA,GAAA,mBAAA","sourceRoot":""}