New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@fluentui/react-theme

Package Overview
Dependencies
Maintainers
13
Versions
817
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui/react-theme - npm Package Compare versions

Comparing version 0.0.0-nightly6a6e258c4020220125.1 to 0.0.0-nightly6faffd280a20220221.1

lib-commonjs/themeToTokensObject.d.ts

78

CHANGELOG.json

@@ -5,5 +5,5 @@ {

{
"date": "Tue, 25 Jan 2022 04:17:21 GMT",
"tag": "@fluentui/react-theme_v0.0.0-nightly6a6e258c4020220125.1",
"version": "0.0.0-nightly6a6e258c4020220125.1",
"date": "Mon, 21 Feb 2022 04:15:31 GMT",
"tag": "@fluentui/react-theme_v0.0.0-nightly6faffd280a20220221.1",
"version": "0.0.0-nightly6faffd280a20220221.1",
"comments": {

@@ -14,4 +14,34 @@ "prerelease": [

"package": "@fluentui/react-theme",
"commit": "1d41ec351a6d5902e871c87fcbaacf8db8ecb40d",
"commit": "01ee61722cce4da8e5deb9a2ab00f4e27fc01cfd",
"comment": "Release nightly v9"
}
]
}
},
{
"date": "Fri, 18 Feb 2022 13:35:36 GMT",
"tag": "@fluentui/react-theme_v9.0.0-rc.3",
"version": "9.0.0-rc.3",
"comments": {
"prerelease": [
{
"author": "lingfangao@hotmail.com",
"package": "@fluentui/react-theme",
"commit": "1aa9e691fcccd9a64168cea7941c0f1e71fa1d14",
"comment": "fix: Source maps contain original source code"
}
]
}
},
{
"date": "Thu, 10 Feb 2022 08:51:02 GMT",
"tag": "@fluentui/react-theme_v9.0.0-rc.1",
"version": "9.0.0-rc.1",
"comments": {
"none": [
{
"author": "olfedias@microsoft.com",
"package": "@fluentui/react-theme",
"commit": "c061e98be4b4a718c72a144a1f60bb5515824612",
"comment": "remove inline-style-expand-shorthand from tsconfigs"
},

@@ -21,2 +51,16 @@ {

"package": "@fluentui/react-theme",
"commit": "636b848aa2323fd5d450e2206a71afad93aaa578",
"comment": "chore(react-theme) Add theme tokens bundle size fixture"
},
{
"author": "martinhochel@microsoft.com",
"package": "@fluentui/react-theme",
"commit": "8dfa712156b70414205b87b5b6d099367b0c297d",
"comment": "chore: use storybook runner for all vNext packages"
}
],
"prerelease": [
{
"author": "miroslav.stastny@microsoft.com",
"package": "@fluentui/react-theme",
"commit": "fa3937813e6587d90ab5c43579321004fc37d6e9",

@@ -50,2 +94,8 @@ "comment": "feat(react-theme): Add colorNeutralForeground1Static token"

{
"author": "Humberto.Morimoto@microsoft.com",
"package": "@fluentui/react-theme",
"commit": "1c2a4410205d3c86bc885fb74d6aede75d9bd99d",
"comment": "Theme: Adding function to programmatically generate tokens object based on a theme."
},
{
"author": "bsunderhus@microsoft.com",

@@ -61,22 +111,8 @@ "package": "@fluentui/react-theme",

"comment": "feat(react-theme) Add border1 color token for shared colors"
}
],
"none": [
{
"author": "olfedias@microsoft.com",
"package": "@fluentui/react-theme",
"commit": "c061e98be4b4a718c72a144a1f60bb5515824612",
"comment": "remove inline-style-expand-shorthand from tsconfigs"
},
{
"author": "miroslav.stastny@microsoft.com",
"author": "lingfangao@hotmail.com",
"package": "@fluentui/react-theme",
"commit": "636b848aa2323fd5d450e2206a71afad93aaa578",
"comment": "chore(react-theme) Add theme tokens bundle size fixture"
},
{
"author": "martinhochel@microsoft.com",
"package": "@fluentui/react-theme",
"commit": "8dfa712156b70414205b87b5b6d099367b0c297d",
"comment": "chore: use storybook runner for all vNext packages"
"commit": "c00913d50e2dd15bbfbb0757cefe43b192ff1d7f",
"comment": "Bump Fluent UI packages to 9.0.0-rc"
}

@@ -83,0 +119,0 @@ ]

# Change Log - @fluentui/react-theme
This log was last generated on Tue, 25 Jan 2022 04:17:21 GMT and should not be manually modified.
This log was last generated on Mon, 21 Feb 2022 04:15:31 GMT and should not be manually modified.
<!-- Start content -->
## [0.0.0-nightly6a6e258c4020220125.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v0.0.0-nightly6a6e258c4020220125.1)
## [0.0.0-nightly6faffd280a20220221.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v0.0.0-nightly6faffd280a20220221.1)
Tue, 25 Jan 2022 04:17:21 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-beta.4..@fluentui/react-theme_v0.0.0-nightly6a6e258c4020220125.1)
Mon, 21 Feb 2022 04:15:31 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-rc.3..@fluentui/react-theme_v0.0.0-nightly6faffd280a20220221.1)
### Changes
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/1d41ec351a6d5902e871c87fcbaacf8db8ecb40d) by email not defined)
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/01ee61722cce4da8e5deb9a2ab00f4e27fc01cfd) by email not defined)
## [9.0.0-rc.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-rc.3)
Fri, 18 Feb 2022 13:35:36 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-rc.1..@fluentui/react-theme_v9.0.0-rc.3)
### Changes
- fix: Source maps contain original source code ([PR #21690](https://github.com/microsoft/fluentui/pull/21690) by lingfangao@hotmail.com)
## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-rc.1)
Thu, 10 Feb 2022 08:51:02 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-beta.4..@fluentui/react-theme_v9.0.0-rc.1)
### Changes
- feat(react-theme): Add colorNeutralForeground1Static token ([PR #21385](https://github.com/microsoft/fluentui/pull/21385) by miroslav.stastny@microsoft.com)

@@ -20,4 +37,6 @@ - updating brand colors ([PR #20140](https://github.com/microsoft/fluentui/pull/20140) by andmarti@microsoft.com)

- remove mergeThemes API ([PR #21278](https://github.com/microsoft/fluentui/pull/21278) by martinhochel@microsoft.com)
- Theme: Adding function to programmatically generate tokens object based on a theme. ([PR #21548](https://github.com/microsoft/fluentui/pull/21548) by Humberto.Morimoto@microsoft.com)
- Remove `themeToCSSVariables` function ([PR #20828](https://github.com/microsoft/fluentui/pull/20828) by bsunderhus@microsoft.com)
- feat(react-theme) Add border1 color token for shared colors ([PR #20963](https://github.com/microsoft/fluentui/pull/20963) by miroslav.stastny@microsoft.com)
- Bump Fluent UI packages to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com)

@@ -24,0 +43,0 @@ ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-beta.4)

@@ -340,2 +340,12 @@ export declare type BorderRadiusTokens = {

/**
* Programmatically generates a tokens to css variables mapping object from the keys in a theme.
* This helps with ease of use as a user of a custom theme does not have to manually construct this object, but it could
* affect tree-shaking since bundlers do not know the shape of the output.
*
* @param theme - Theme from which to get the keys to generate the tokens to css variables mapping object
* @returns Tokens to css variables mapping object corresponding to the passed theme
*/
export declare function themeToTokensObject<TTheme extends Theme>(theme: TTheme): Record<keyof TTheme, string>;
export declare const tokens: Record<keyof Theme, string>;

@@ -342,0 +352,0 @@

export * from './themes/index';
export * from './utils/index';
export { themeToTokensObject } from './themeToTokensObject';
export { tokens } from './tokens';
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';

@@ -6,3 +6,3 @@ "use strict";

});
exports.tokens = void 0;
exports.tokens = exports.themeToTokensObject = void 0;

@@ -15,2 +15,11 @@ const tslib_1 = /*#__PURE__*/require("tslib");

var themeToTokensObject_1 = /*#__PURE__*/require("./themeToTokensObject");
Object.defineProperty(exports, "themeToTokensObject", {
enumerable: true,
get: function () {
return themeToTokensObject_1.themeToTokensObject;
}
});
var tokens_1 = /*#__PURE__*/require("./tokens");

@@ -17,0 +26,0 @@

export * from './themes/index';
export * from './utils/index';
export { themeToTokensObject } from './themeToTokensObject';
export { tokens } from './tokens';
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';
export * from './themes/index';
export * from './utils/index';
export { themeToTokensObject } from './themeToTokensObject';
export { tokens } from './tokens';
//# sourceMappingURL=index.js.map
{
"name": "@fluentui/react-theme",
"version": "0.0.0-nightly6a6e258c4020220125.1",
"version": "0.0.0-nightly6faffd280a20220221.1",
"description": "Fluent UI themes",

@@ -5,0 +5,0 @@ "main": "lib-commonjs/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc