@fluentui/react-theme 9.0.0-rc.7 → 9.0.0-rc.8
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 +16 -1
- package/CHANGELOG.md +11 -2
- package/{lib → dist}/tsdoc-metadata.json +0 -0
- package/package.json +2 -2
- package/lib/alias/darkColor.d.ts +0 -2
- package/lib/alias/darkColorPalette.d.ts +0 -2
- package/lib/alias/highContrastColor.d.ts +0 -2
- package/lib/alias/highContrastColorPalette.d.ts +0 -2
- package/lib/alias/lightColor.d.ts +0 -2
- package/lib/alias/lightColorPalette.d.ts +0 -2
- package/lib/alias/teamsDarkColor.d.ts +0 -2
- package/lib/alias/teamsDarkColorPalette.d.ts +0 -2
- package/lib/global/borderRadius.d.ts +0 -2
- package/lib/global/brandColors.d.ts +0 -4
- package/lib/global/colors.d.ts +0 -16
- package/lib/global/curves.d.ts +0 -2
- package/lib/global/durations.d.ts +0 -2
- package/lib/global/fonts.d.ts +0 -5
- package/lib/global/index.d.ts +0 -9
- package/lib/global/spacings.d.ts +0 -4
- package/lib/global/strokeWidths.d.ts +0 -2
- package/lib/global/typographyStyles.d.ts +0 -5
- package/lib/index.d.ts +0 -6
- package/lib/themeToTokensObject.d.ts +0 -10
- package/lib/themes/index.d.ts +0 -2
- package/lib/themes/teams/darkTheme.d.ts +0 -2
- package/lib/themes/teams/highContrastTheme.d.ts +0 -2
- package/lib/themes/teams/index.d.ts +0 -3
- package/lib/themes/teams/lightTheme.d.ts +0 -2
- package/lib/themes/web/darkTheme.d.ts +0 -2
- package/lib/themes/web/highContrastTheme.d.ts +0 -2
- package/lib/themes/web/index.d.ts +0 -3
- package/lib/themes/web/lightTheme.d.ts +0 -2
- package/lib/tokens.d.ts +0 -2
- package/lib/types.d.ts +0 -431
- package/lib/utils/createDarkTheme.d.ts +0 -2
- package/lib/utils/createHighContrastTheme.d.ts +0 -2
- package/lib/utils/createLightTheme.d.ts +0 -2
- package/lib/utils/createTeamsDarkTheme.d.ts +0 -2
- package/lib/utils/index.d.ts +0 -4
- package/lib/utils/shadows.d.ts +0 -3
- package/lib-commonjs/alias/darkColor.d.ts +0 -2
- package/lib-commonjs/alias/darkColorPalette.d.ts +0 -2
- package/lib-commonjs/alias/highContrastColor.d.ts +0 -2
- package/lib-commonjs/alias/highContrastColorPalette.d.ts +0 -2
- package/lib-commonjs/alias/lightColor.d.ts +0 -2
- package/lib-commonjs/alias/lightColorPalette.d.ts +0 -2
- package/lib-commonjs/alias/teamsDarkColor.d.ts +0 -2
- package/lib-commonjs/alias/teamsDarkColorPalette.d.ts +0 -2
- package/lib-commonjs/global/borderRadius.d.ts +0 -2
- package/lib-commonjs/global/brandColors.d.ts +0 -4
- package/lib-commonjs/global/colors.d.ts +0 -16
- package/lib-commonjs/global/curves.d.ts +0 -2
- package/lib-commonjs/global/durations.d.ts +0 -2
- package/lib-commonjs/global/fonts.d.ts +0 -5
- package/lib-commonjs/global/index.d.ts +0 -9
- package/lib-commonjs/global/spacings.d.ts +0 -4
- package/lib-commonjs/global/strokeWidths.d.ts +0 -2
- package/lib-commonjs/global/typographyStyles.d.ts +0 -5
- package/lib-commonjs/index.d.ts +0 -6
- package/lib-commonjs/themeToTokensObject.d.ts +0 -10
- package/lib-commonjs/themes/index.d.ts +0 -2
- package/lib-commonjs/themes/teams/darkTheme.d.ts +0 -2
- package/lib-commonjs/themes/teams/highContrastTheme.d.ts +0 -2
- package/lib-commonjs/themes/teams/index.d.ts +0 -3
- package/lib-commonjs/themes/teams/lightTheme.d.ts +0 -2
- package/lib-commonjs/themes/web/darkTheme.d.ts +0 -2
- package/lib-commonjs/themes/web/highContrastTheme.d.ts +0 -2
- package/lib-commonjs/themes/web/index.d.ts +0 -3
- package/lib-commonjs/themes/web/lightTheme.d.ts +0 -2
- package/lib-commonjs/tokens.d.ts +0 -2
- package/lib-commonjs/types.d.ts +0 -431
- package/lib-commonjs/utils/createDarkTheme.d.ts +0 -2
- package/lib-commonjs/utils/createHighContrastTheme.d.ts +0 -2
- package/lib-commonjs/utils/createLightTheme.d.ts +0 -2
- package/lib-commonjs/utils/createTeamsDarkTheme.d.ts +0 -2
- package/lib-commonjs/utils/index.d.ts +0 -4
- package/lib-commonjs/utils/shadows.d.ts +0 -3
package/CHANGELOG.json
CHANGED
@@ -2,7 +2,22 @@
|
|
2
2
|
"name": "@fluentui/react-theme",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
5
|
+
"date": "Mon, 23 May 2022 12:10:22 GMT",
|
6
|
+
"tag": "@fluentui/react-theme_v9.0.0-rc.8",
|
7
|
+
"version": "9.0.0-rc.8",
|
8
|
+
"comments": {
|
9
|
+
"prerelease": [
|
10
|
+
{
|
11
|
+
"author": "martinhochel@microsoft.com",
|
12
|
+
"package": "@fluentui/react-theme",
|
13
|
+
"commit": "e7b70cb06f4422e5574993fd2ad44d9073647417",
|
14
|
+
"comment": "feat: ship rolluped only dts"
|
15
|
+
}
|
16
|
+
]
|
17
|
+
}
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"date": "Thu, 05 May 2022 18:26:27 GMT",
|
6
21
|
"tag": "@fluentui/react-theme_v9.0.0-rc.7",
|
7
22
|
"version": "9.0.0-rc.7",
|
8
23
|
"comments": {
|
package/CHANGELOG.md
CHANGED
@@ -1,12 +1,21 @@
|
|
1
1
|
# Change Log - @fluentui/react-theme
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Mon, 23 May 2022 12:10:22 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.0.0-rc.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-rc.8)
|
8
|
+
|
9
|
+
Mon, 23 May 2022 12:10:22 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-rc.7..@fluentui/react-theme_v9.0.0-rc.8)
|
11
|
+
|
12
|
+
### Changes
|
13
|
+
|
14
|
+
- feat: ship rolluped only dts ([PR #22828](https://github.com/microsoft/fluentui/pull/22828) by martinhochel@microsoft.com)
|
15
|
+
|
7
16
|
## [9.0.0-rc.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-rc.7)
|
8
17
|
|
9
|
-
Thu, 05 May 2022 18:
|
18
|
+
Thu, 05 May 2022 18:26:27 GMT
|
10
19
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-rc.6..@fluentui/react-theme_v9.0.0-rc.7)
|
11
20
|
|
12
21
|
### Changes
|
File without changes
|
package/package.json
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-theme",
|
3
|
-
"version": "9.0.0-rc.
|
3
|
+
"version": "9.0.0-rc.8",
|
4
4
|
"description": "Fluent UI themes",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
7
|
-
"typings": "
|
7
|
+
"typings": "dist/index.d.ts",
|
8
8
|
"sideEffects": false,
|
9
9
|
"repository": {
|
10
10
|
"type": "git",
|
package/lib/alias/darkColor.d.ts
DELETED
package/lib/global/colors.d.ts
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
import type { GlobalSharedColors, Greys, AlphaColors } from '../types';
|
2
|
-
export declare const grey: Record<Greys, string>;
|
3
|
-
export declare const whiteAlpha: Record<AlphaColors, string>;
|
4
|
-
export declare const blackAlpha: Record<AlphaColors, string>;
|
5
|
-
export declare const grey14Alpha: Record<AlphaColors, string>;
|
6
|
-
export declare const white = "#ffffff";
|
7
|
-
export declare const black = "#000000";
|
8
|
-
export declare const hcHyperlink = "#ffff00";
|
9
|
-
export declare const hcHighlight = "#1aebff";
|
10
|
-
export declare const hcDisabled = "#3ff23f";
|
11
|
-
export declare const hcCanvas = "#000000";
|
12
|
-
export declare const hcCanvasText = "#ffffff";
|
13
|
-
export declare const hcHighlightText = "#000000";
|
14
|
-
export declare const hcButtonText = "#000000";
|
15
|
-
export declare const hcButtonFace = "#ffffff";
|
16
|
-
export declare const sharedColors: GlobalSharedColors;
|
package/lib/global/curves.d.ts
DELETED
package/lib/global/fonts.d.ts
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
import type { FontFamilyTokens, FontSizeTokens, FontWeightTokens, LineHeightTokens } from '../types';
|
2
|
-
export declare const fontSizes: FontSizeTokens;
|
3
|
-
export declare const lineHeights: LineHeightTokens;
|
4
|
-
export declare const fontWeights: FontWeightTokens;
|
5
|
-
export declare const fontFamilies: FontFamilyTokens;
|
package/lib/global/index.d.ts
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
export * from './borderRadius';
|
2
|
-
export * from './colors';
|
3
|
-
export * from './curves';
|
4
|
-
export * from './durations';
|
5
|
-
export * from './fonts';
|
6
|
-
export * from './spacings';
|
7
|
-
export * from './strokeWidths';
|
8
|
-
export * from './borderRadius';
|
9
|
-
export * from './typographyStyles';
|
package/lib/global/spacings.d.ts
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
import type { HorizontalSpacingTokens, SpacingTokens, VerticalSpacingTokens } from '../types';
|
2
|
-
export declare const spacings: SpacingTokens;
|
3
|
-
export declare const horizontalSpacings: HorizontalSpacingTokens;
|
4
|
-
export declare const verticalSpacings: VerticalSpacingTokens;
|
package/lib/index.d.ts
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
export { teamsDarkTheme, teamsHighContrastTheme, teamsLightTheme, webDarkTheme, webHighContrastTheme, webLightTheme, } from './themes/index';
|
2
|
-
export { createDarkTheme, createHighContrastTheme, createLightTheme, createTeamsDarkTheme } from './utils/index';
|
3
|
-
export { themeToTokensObject } from './themeToTokensObject';
|
4
|
-
export { tokens } from './tokens';
|
5
|
-
export { typographyStyles } from './global/index';
|
6
|
-
export type { Brands, BrandVariants, FontSizeTokens, FontWeightTokens, LineHeightTokens, BorderRadiusTokens, StrokeWidthTokens, SpacingTokens, HorizontalSpacingTokens, VerticalSpacingTokens, DurationTokens, CurveTokens, 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, TypographyStyle, TypographyStyles, } from './types';
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { Theme } from './types';
|
2
|
-
/**
|
3
|
-
* Programmatically generates a tokens to css variables mapping object from the keys in a theme.
|
4
|
-
* This helps with ease of use as a user of a custom theme does not have to manually construct this object, but it could
|
5
|
-
* affect tree-shaking since bundlers do not know the shape of the output.
|
6
|
-
*
|
7
|
-
* @param theme - Theme from which to get the keys to generate the tokens to css variables mapping object
|
8
|
-
* @returns Tokens to css variables mapping object corresponding to the passed theme
|
9
|
-
*/
|
10
|
-
export declare function themeToTokensObject<TTheme extends Theme>(theme: TTheme): Record<keyof TTheme, string>;
|
package/lib/themes/index.d.ts
DELETED
package/lib/tokens.d.ts
DELETED