@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.
Files changed (78) hide show
  1. package/CHANGELOG.json +16 -1
  2. package/CHANGELOG.md +11 -2
  3. package/{lib → dist}/tsdoc-metadata.json +0 -0
  4. package/package.json +2 -2
  5. package/lib/alias/darkColor.d.ts +0 -2
  6. package/lib/alias/darkColorPalette.d.ts +0 -2
  7. package/lib/alias/highContrastColor.d.ts +0 -2
  8. package/lib/alias/highContrastColorPalette.d.ts +0 -2
  9. package/lib/alias/lightColor.d.ts +0 -2
  10. package/lib/alias/lightColorPalette.d.ts +0 -2
  11. package/lib/alias/teamsDarkColor.d.ts +0 -2
  12. package/lib/alias/teamsDarkColorPalette.d.ts +0 -2
  13. package/lib/global/borderRadius.d.ts +0 -2
  14. package/lib/global/brandColors.d.ts +0 -4
  15. package/lib/global/colors.d.ts +0 -16
  16. package/lib/global/curves.d.ts +0 -2
  17. package/lib/global/durations.d.ts +0 -2
  18. package/lib/global/fonts.d.ts +0 -5
  19. package/lib/global/index.d.ts +0 -9
  20. package/lib/global/spacings.d.ts +0 -4
  21. package/lib/global/strokeWidths.d.ts +0 -2
  22. package/lib/global/typographyStyles.d.ts +0 -5
  23. package/lib/index.d.ts +0 -6
  24. package/lib/themeToTokensObject.d.ts +0 -10
  25. package/lib/themes/index.d.ts +0 -2
  26. package/lib/themes/teams/darkTheme.d.ts +0 -2
  27. package/lib/themes/teams/highContrastTheme.d.ts +0 -2
  28. package/lib/themes/teams/index.d.ts +0 -3
  29. package/lib/themes/teams/lightTheme.d.ts +0 -2
  30. package/lib/themes/web/darkTheme.d.ts +0 -2
  31. package/lib/themes/web/highContrastTheme.d.ts +0 -2
  32. package/lib/themes/web/index.d.ts +0 -3
  33. package/lib/themes/web/lightTheme.d.ts +0 -2
  34. package/lib/tokens.d.ts +0 -2
  35. package/lib/types.d.ts +0 -431
  36. package/lib/utils/createDarkTheme.d.ts +0 -2
  37. package/lib/utils/createHighContrastTheme.d.ts +0 -2
  38. package/lib/utils/createLightTheme.d.ts +0 -2
  39. package/lib/utils/createTeamsDarkTheme.d.ts +0 -2
  40. package/lib/utils/index.d.ts +0 -4
  41. package/lib/utils/shadows.d.ts +0 -3
  42. package/lib-commonjs/alias/darkColor.d.ts +0 -2
  43. package/lib-commonjs/alias/darkColorPalette.d.ts +0 -2
  44. package/lib-commonjs/alias/highContrastColor.d.ts +0 -2
  45. package/lib-commonjs/alias/highContrastColorPalette.d.ts +0 -2
  46. package/lib-commonjs/alias/lightColor.d.ts +0 -2
  47. package/lib-commonjs/alias/lightColorPalette.d.ts +0 -2
  48. package/lib-commonjs/alias/teamsDarkColor.d.ts +0 -2
  49. package/lib-commonjs/alias/teamsDarkColorPalette.d.ts +0 -2
  50. package/lib-commonjs/global/borderRadius.d.ts +0 -2
  51. package/lib-commonjs/global/brandColors.d.ts +0 -4
  52. package/lib-commonjs/global/colors.d.ts +0 -16
  53. package/lib-commonjs/global/curves.d.ts +0 -2
  54. package/lib-commonjs/global/durations.d.ts +0 -2
  55. package/lib-commonjs/global/fonts.d.ts +0 -5
  56. package/lib-commonjs/global/index.d.ts +0 -9
  57. package/lib-commonjs/global/spacings.d.ts +0 -4
  58. package/lib-commonjs/global/strokeWidths.d.ts +0 -2
  59. package/lib-commonjs/global/typographyStyles.d.ts +0 -5
  60. package/lib-commonjs/index.d.ts +0 -6
  61. package/lib-commonjs/themeToTokensObject.d.ts +0 -10
  62. package/lib-commonjs/themes/index.d.ts +0 -2
  63. package/lib-commonjs/themes/teams/darkTheme.d.ts +0 -2
  64. package/lib-commonjs/themes/teams/highContrastTheme.d.ts +0 -2
  65. package/lib-commonjs/themes/teams/index.d.ts +0 -3
  66. package/lib-commonjs/themes/teams/lightTheme.d.ts +0 -2
  67. package/lib-commonjs/themes/web/darkTheme.d.ts +0 -2
  68. package/lib-commonjs/themes/web/highContrastTheme.d.ts +0 -2
  69. package/lib-commonjs/themes/web/index.d.ts +0 -3
  70. package/lib-commonjs/themes/web/lightTheme.d.ts +0 -2
  71. package/lib-commonjs/tokens.d.ts +0 -2
  72. package/lib-commonjs/types.d.ts +0 -431
  73. package/lib-commonjs/utils/createDarkTheme.d.ts +0 -2
  74. package/lib-commonjs/utils/createHighContrastTheme.d.ts +0 -2
  75. package/lib-commonjs/utils/createLightTheme.d.ts +0 -2
  76. package/lib-commonjs/utils/createTeamsDarkTheme.d.ts +0 -2
  77. package/lib-commonjs/utils/index.d.ts +0 -4
  78. 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": "Thu, 05 May 2022 18:24:34 GMT",
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 Thu, 05 May 2022 18:24:34 GMT and should not be manually modified.
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:24:34 GMT
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.7",
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": "lib/index.d.ts",
7
+ "typings": "dist/index.d.ts",
8
8
  "sideEffects": false,
9
9
  "repository": {
10
10
  "type": "git",
@@ -1,2 +0,0 @@
1
- import type { BrandVariants, ColorTokens } from '../types';
2
- export declare const generateColorTokens: (brand: BrandVariants) => ColorTokens;
@@ -1,2 +0,0 @@
1
- import { ColorPaletteTokens } from '../types';
2
- export declare const colorPaletteTokens: ColorPaletteTokens;
@@ -1,2 +0,0 @@
1
- import type { ColorTokens } from '../types';
2
- export declare const generateColorTokens: () => ColorTokens;
@@ -1,2 +0,0 @@
1
- import { ColorPaletteTokens } from '../types';
2
- export declare const colorPaletteTokens: ColorPaletteTokens;
@@ -1,2 +0,0 @@
1
- import type { BrandVariants, ColorTokens } from '../types';
2
- export declare const generateColorTokens: (brand: BrandVariants) => ColorTokens;
@@ -1,2 +0,0 @@
1
- import { ColorPaletteTokens } from '../types';
2
- export declare const colorPaletteTokens: ColorPaletteTokens;
@@ -1,2 +0,0 @@
1
- import type { BrandVariants, ColorTokens } from '../types';
2
- export declare const generateColorTokens: (brand: BrandVariants) => ColorTokens;
@@ -1,2 +0,0 @@
1
- import { ColorPaletteTokens } from '../types';
2
- export declare const colorPaletteTokens: ColorPaletteTokens;
@@ -1,2 +0,0 @@
1
- import type { BorderRadiusTokens } from '../types';
2
- export declare const borderRadius: BorderRadiusTokens;
@@ -1,4 +0,0 @@
1
- import type { BrandVariants } from '../types';
2
- export declare const brandWeb: BrandVariants;
3
- export declare const brandTeams: BrandVariants;
4
- export declare const brandOffice: BrandVariants;
@@ -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;
@@ -1,2 +0,0 @@
1
- import type { CurveTokens } from '../types';
2
- export declare const curves: CurveTokens;
@@ -1,2 +0,0 @@
1
- import type { DurationTokens } from '../types';
2
- export declare const durations: DurationTokens;
@@ -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;
@@ -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';
@@ -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;
@@ -1,2 +0,0 @@
1
- import type { StrokeWidthTokens } from '../types';
2
- export declare const strokeWidths: StrokeWidthTokens;
@@ -1,5 +0,0 @@
1
- import { TypographyStyles } from '../types';
2
- /**
3
- * Global typography styles (fontSize, fontWeight, and lineHeight)
4
- */
5
- export declare const typographyStyles: TypographyStyles;
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>;
@@ -1,2 +0,0 @@
1
- export * from './teams/index';
2
- export * from './web/index';
@@ -1,2 +0,0 @@
1
- import type { Theme } from '../../types';
2
- export declare const teamsDarkTheme: Theme;
@@ -1,2 +0,0 @@
1
- import type { Theme } from '../../types';
2
- export declare const teamsHighContrastTheme: Theme;
@@ -1,3 +0,0 @@
1
- export * from './lightTheme';
2
- export * from './darkTheme';
3
- export * from './highContrastTheme';
@@ -1,2 +0,0 @@
1
- import type { Theme } from '../../types';
2
- export declare const teamsLightTheme: Theme;
@@ -1,2 +0,0 @@
1
- import type { Theme } from '../../types';
2
- export declare const webDarkTheme: Theme;
@@ -1,2 +0,0 @@
1
- import type { Theme } from '../../types';
2
- export declare const webHighContrastTheme: Theme;
@@ -1,3 +0,0 @@
1
- export * from './lightTheme';
2
- export * from './darkTheme';
3
- export * from './highContrastTheme';
@@ -1,2 +0,0 @@
1
- import type { Theme } from '../../types';
2
- export declare const webLightTheme: Theme;
package/lib/tokens.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import type { Theme } from './types';
2
- export declare const tokens: Record<keyof Theme, string>;