@fluentui/react-theme 9.0.0-alpha.9 → 9.0.0-beta.4
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 +486 -1
- package/CHANGELOG.md +197 -2
- package/dist/react-theme.d.ts +367 -0
- package/lib/alias/dark.d.ts +3 -0
- package/lib/alias/dark.js +155 -0
- package/lib/alias/dark.js.map +1 -0
- package/lib/alias/highContrast.d.ts +3 -0
- package/lib/alias/highContrast.js +155 -0
- package/lib/alias/highContrast.js.map +1 -0
- package/lib/alias/light.d.ts +3 -0
- package/lib/alias/light.js +155 -0
- package/lib/alias/light.js.map +1 -0
- package/lib/alias/teamsDark.d.ts +3 -0
- package/lib/alias/teamsDark.js +155 -0
- package/lib/alias/teamsDark.js.map +1 -0
- package/lib/global/borderRadius.d.ts +2 -2
- package/lib/global/borderRadius.js +7 -7
- package/lib/global/borderRadius.js.map +1 -1
- package/lib/global/brandColors.d.ts +3 -0
- package/lib/global/brandColors.js +33 -0
- package/lib/global/brandColors.js.map +1 -0
- package/lib/global/colors.d.ts +14 -60
- package/lib/global/colors.js +823 -835
- package/lib/global/colors.js.map +1 -1
- package/lib/global/fonts.d.ts +5 -6
- package/lib/global/fonts.js +32 -48
- package/lib/global/fonts.js.map +1 -1
- package/lib/global/index.d.ts +0 -1
- package/lib/global/index.js +0 -1
- package/lib/global/index.js.map +1 -1
- package/lib/global/strokeWidths.d.ts +2 -2
- package/lib/global/strokeWidths.js +5 -5
- package/lib/global/strokeWidths.js.map +1 -1
- package/lib/index.d.ts +2 -4
- package/lib/index.js +1 -3
- package/lib/index.js.map +1 -1
- package/lib/themes/index.js.map +1 -1
- package/lib/themes/teams/darkTheme.d.ts +1 -1
- package/lib/themes/teams/darkTheme.js +3 -30
- package/lib/themes/teams/darkTheme.js.map +1 -1
- package/lib/themes/teams/highContrastTheme.d.ts +1 -1
- package/lib/themes/teams/highContrastTheme.js +2 -13
- package/lib/themes/teams/highContrastTheme.js.map +1 -1
- package/lib/themes/teams/index.js.map +1 -1
- package/lib/themes/teams/lightTheme.d.ts +1 -1
- package/lib/themes/teams/lightTheme.js +3 -13
- package/lib/themes/teams/lightTheme.js.map +1 -1
- package/lib/themes/web/darkTheme.d.ts +1 -1
- package/lib/themes/web/darkTheme.js +3 -13
- package/lib/themes/web/darkTheme.js.map +1 -1
- package/lib/themes/web/highContrastTheme.d.ts +1 -1
- package/lib/themes/web/highContrastTheme.js +2 -13
- package/lib/themes/web/highContrastTheme.js.map +1 -1
- package/lib/themes/web/index.js.map +1 -1
- package/lib/themes/web/lightTheme.d.ts +1 -1
- package/lib/themes/web/lightTheme.js +3 -13
- package/lib/themes/web/lightTheme.js.map +1 -1
- package/lib/tsdoc-metadata.json +11 -0
- package/lib/types.d.ts +241 -164
- package/lib/types.js +1 -0
- package/lib/types.js.map +1 -1
- package/lib/utils/createDarkTheme.d.ts +2 -0
- package/lib/utils/createDarkTheme.js +18 -0
- package/lib/utils/createDarkTheme.js.map +1 -0
- package/lib/utils/createHighContrastTheme.d.ts +2 -0
- package/lib/utils/createHighContrastTheme.js +18 -0
- package/lib/utils/createHighContrastTheme.js.map +1 -0
- package/lib/utils/createLightTheme.d.ts +2 -0
- package/lib/utils/createLightTheme.js +18 -0
- package/lib/utils/createLightTheme.js.map +1 -0
- package/lib/utils/createTeamsDarkTheme.d.ts +2 -0
- package/lib/utils/createTeamsDarkTheme.js +18 -0
- package/lib/utils/createTeamsDarkTheme.js.map +1 -0
- package/lib/utils/index.d.ts +6 -0
- package/lib/utils/index.js +7 -0
- package/lib/utils/index.js.map +1 -0
- package/lib/utils/mergeThemes.d.ts +2 -8
- package/lib/utils/mergeThemes.js +12 -49
- package/lib/utils/mergeThemes.js.map +1 -1
- package/lib/utils/shadows.d.ts +3 -2
- package/lib/utils/shadows.js +9 -9
- package/lib/utils/shadows.js.map +1 -1
- package/lib/utils/themeToCSSVariables.d.ts +2 -2
- package/lib/utils/themeToCSSVariables.js +9 -19
- package/lib/utils/themeToCSSVariables.js.map +1 -1
- package/lib-commonjs/alias/dark.d.ts +3 -0
- package/lib-commonjs/alias/dark.js +165 -0
- package/lib-commonjs/alias/dark.js.map +1 -0
- package/lib-commonjs/alias/highContrast.d.ts +3 -0
- package/lib-commonjs/alias/highContrast.js +165 -0
- package/lib-commonjs/alias/highContrast.js.map +1 -0
- package/lib-commonjs/alias/light.d.ts +3 -0
- package/lib-commonjs/alias/light.js +165 -0
- package/lib-commonjs/alias/light.js.map +1 -0
- package/lib-commonjs/alias/teamsDark.d.ts +3 -0
- package/lib-commonjs/alias/teamsDark.js +165 -0
- package/lib-commonjs/alias/teamsDark.js.map +1 -0
- package/lib-commonjs/global/borderRadius.d.ts +2 -2
- package/lib-commonjs/global/borderRadius.js +11 -7
- package/lib-commonjs/global/borderRadius.js.map +1 -1
- package/lib-commonjs/global/brandColors.d.ts +3 -0
- package/lib-commonjs/global/brandColors.js +39 -0
- package/lib-commonjs/global/brandColors.js.map +1 -0
- package/lib-commonjs/global/colors.d.ts +14 -60
- package/lib-commonjs/global/colors.js +825 -833
- package/lib-commonjs/global/colors.js.map +1 -1
- package/lib-commonjs/global/fonts.d.ts +5 -6
- package/lib-commonjs/global/fonts.js +33 -45
- package/lib-commonjs/global/fonts.js.map +1 -1
- package/lib-commonjs/global/index.d.ts +0 -1
- package/lib-commonjs/global/index.js +10 -3
- package/lib-commonjs/global/index.js.map +1 -1
- package/lib-commonjs/global/strokeWidths.d.ts +2 -2
- package/lib-commonjs/global/strokeWidths.js +9 -5
- package/lib-commonjs/global/strokeWidths.js.map +1 -1
- package/lib-commonjs/index.d.ts +2 -4
- package/lib-commonjs/index.js +9 -6
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/themes/index.js +8 -2
- package/lib-commonjs/themes/index.js.map +1 -1
- package/lib-commonjs/themes/teams/darkTheme.d.ts +1 -1
- package/lib-commonjs/themes/teams/darkTheme.js +10 -30
- package/lib-commonjs/themes/teams/darkTheme.js.map +1 -1
- package/lib-commonjs/themes/teams/highContrastTheme.d.ts +1 -1
- package/lib-commonjs/themes/teams/highContrastTheme.js +9 -14
- package/lib-commonjs/themes/teams/highContrastTheme.js.map +1 -1
- package/lib-commonjs/themes/teams/index.js +9 -2
- package/lib-commonjs/themes/teams/index.js.map +1 -1
- package/lib-commonjs/themes/teams/lightTheme.d.ts +1 -1
- package/lib-commonjs/themes/teams/lightTheme.js +11 -14
- package/lib-commonjs/themes/teams/lightTheme.js.map +1 -1
- package/lib-commonjs/themes/web/darkTheme.d.ts +1 -1
- package/lib-commonjs/themes/web/darkTheme.js +11 -14
- package/lib-commonjs/themes/web/darkTheme.js.map +1 -1
- package/lib-commonjs/themes/web/highContrastTheme.d.ts +1 -1
- package/lib-commonjs/themes/web/highContrastTheme.js +9 -14
- package/lib-commonjs/themes/web/highContrastTheme.js.map +1 -1
- package/lib-commonjs/themes/web/index.js +9 -2
- package/lib-commonjs/themes/web/index.js.map +1 -1
- package/lib-commonjs/themes/web/lightTheme.d.ts +1 -1
- package/lib-commonjs/themes/web/lightTheme.js +11 -14
- package/lib-commonjs/themes/web/lightTheme.js.map +1 -1
- package/lib-commonjs/types.d.ts +241 -164
- package/lib-commonjs/types.js +4 -1
- package/lib-commonjs/types.js.map +1 -1
- package/lib-commonjs/utils/createDarkTheme.d.ts +2 -0
- package/lib-commonjs/utils/createDarkTheme.js +30 -0
- package/lib-commonjs/utils/createDarkTheme.js.map +1 -0
- package/lib-commonjs/utils/createHighContrastTheme.d.ts +2 -0
- package/lib-commonjs/utils/createHighContrastTheme.js +30 -0
- package/lib-commonjs/utils/createHighContrastTheme.js.map +1 -0
- package/lib-commonjs/utils/createLightTheme.d.ts +2 -0
- package/lib-commonjs/utils/createLightTheme.js +30 -0
- package/lib-commonjs/utils/createLightTheme.js.map +1 -0
- package/lib-commonjs/utils/createTeamsDarkTheme.d.ts +2 -0
- package/lib-commonjs/utils/createTeamsDarkTheme.js +30 -0
- package/lib-commonjs/utils/createTeamsDarkTheme.js.map +1 -0
- package/lib-commonjs/utils/index.d.ts +6 -0
- package/lib-commonjs/utils/index.js +28 -0
- package/lib-commonjs/utils/index.js.map +1 -0
- package/lib-commonjs/utils/mergeThemes.d.ts +2 -8
- package/lib-commonjs/utils/mergeThemes.js +19 -51
- package/lib-commonjs/utils/mergeThemes.js.map +1 -1
- package/lib-commonjs/utils/shadows.d.ts +3 -2
- package/lib-commonjs/utils/shadows.js +17 -11
- package/lib-commonjs/utils/shadows.js.map +1 -1
- package/lib-commonjs/utils/themeToCSSVariables.d.ts +2 -2
- package/lib-commonjs/utils/themeToCSSVariables.js +16 -20
- package/lib-commonjs/utils/themeToCSSVariables.js.map +1 -1
- package/package.json +11 -8
- package/just.config.ts +0 -3
- package/lib/global/utils.d.ts +0 -23
- package/lib/global/utils.js +0 -27
- package/lib/global/utils.js.map +0 -1
- package/lib/themes/teams/globalTheme.d.ts +0 -22
- package/lib/themes/teams/globalTheme.js +0 -3
- package/lib/themes/teams/globalTheme.js.map +0 -1
- package/lib/themes/web/globalTheme.d.ts +0 -22
- package/lib/themes/web/globalTheme.js +0 -3
- package/lib/themes/web/globalTheme.js.map +0 -1
- package/lib/utils/dark/colors.d.ts +0 -8
- package/lib/utils/dark/colors.js +0 -83
- package/lib/utils/dark/colors.js.map +0 -1
- package/lib/utils/dark/index.d.ts +0 -1
- package/lib/utils/dark/index.js +0 -2
- package/lib/utils/dark/index.js.map +0 -1
- package/lib/utils/highContrast/colors.d.ts +0 -6
- package/lib/utils/highContrast/colors.js +0 -83
- package/lib/utils/highContrast/colors.js.map +0 -1
- package/lib/utils/highContrast/index.d.ts +0 -1
- package/lib/utils/highContrast/index.js +0 -2
- package/lib/utils/highContrast/index.js.map +0 -1
- package/lib/utils/light/colors.d.ts +0 -8
- package/lib/utils/light/colors.js +0 -83
- package/lib/utils/light/colors.js.map +0 -1
- package/lib/utils/light/index.d.ts +0 -1
- package/lib/utils/light/index.js +0 -2
- package/lib/utils/light/index.js.map +0 -1
- package/lib-amd/global/borderRadius.d.ts +0 -2
- package/lib-amd/global/borderRadius.js +0 -13
- package/lib-amd/global/borderRadius.js.map +0 -1
- package/lib-amd/global/colors.d.ts +0 -61
- package/lib-amd/global/colors.js +0 -841
- package/lib-amd/global/colors.js.map +0 -1
- package/lib-amd/global/fonts.d.ts +0 -6
- package/lib-amd/global/fonts.js +0 -57
- package/lib-amd/global/fonts.js.map +0 -1
- package/lib-amd/global/index.d.ts +0 -5
- package/lib-amd/global/index.js +0 -10
- package/lib-amd/global/index.js.map +0 -1
- package/lib-amd/global/strokeWidths.d.ts +0 -2
- package/lib-amd/global/strokeWidths.js +0 -11
- package/lib-amd/global/strokeWidths.js.map +0 -1
- package/lib-amd/global/utils.d.ts +0 -23
- package/lib-amd/global/utils.js +0 -26
- package/lib-amd/global/utils.js.map +0 -1
- package/lib-amd/index.d.ts +0 -5
- package/lib-amd/index.js +0 -9
- package/lib-amd/index.js.map +0 -1
- package/lib-amd/themes/index.d.ts +0 -2
- package/lib-amd/themes/index.js +0 -7
- package/lib-amd/themes/index.js.map +0 -1
- package/lib-amd/themes/teams/darkTheme.d.ts +0 -2
- package/lib-amd/themes/teams/darkTheme.js +0 -30
- package/lib-amd/themes/teams/darkTheme.js.map +0 -1
- package/lib-amd/themes/teams/globalTheme.d.ts +0 -22
- package/lib-amd/themes/teams/globalTheme.js +0 -6
- package/lib-amd/themes/teams/globalTheme.js.map +0 -1
- package/lib-amd/themes/teams/highContrastTheme.d.ts +0 -2
- package/lib-amd/themes/teams/highContrastTheme.js +0 -13
- package/lib-amd/themes/teams/highContrastTheme.js.map +0 -1
- package/lib-amd/themes/teams/index.d.ts +0 -3
- package/lib-amd/themes/teams/index.js +0 -8
- package/lib-amd/themes/teams/index.js.map +0 -1
- package/lib-amd/themes/teams/lightTheme.d.ts +0 -2
- package/lib-amd/themes/teams/lightTheme.js +0 -13
- package/lib-amd/themes/teams/lightTheme.js.map +0 -1
- package/lib-amd/themes/web/darkTheme.d.ts +0 -2
- package/lib-amd/themes/web/darkTheme.js +0 -13
- package/lib-amd/themes/web/darkTheme.js.map +0 -1
- package/lib-amd/themes/web/globalTheme.d.ts +0 -22
- package/lib-amd/themes/web/globalTheme.js +0 -6
- package/lib-amd/themes/web/globalTheme.js.map +0 -1
- package/lib-amd/themes/web/highContrastTheme.d.ts +0 -2
- package/lib-amd/themes/web/highContrastTheme.js +0 -13
- package/lib-amd/themes/web/highContrastTheme.js.map +0 -1
- package/lib-amd/themes/web/index.d.ts +0 -3
- package/lib-amd/themes/web/index.js +0 -8
- package/lib-amd/themes/web/index.js.map +0 -1
- package/lib-amd/themes/web/lightTheme.d.ts +0 -2
- package/lib-amd/themes/web/lightTheme.js +0 -13
- package/lib-amd/themes/web/lightTheme.js.map +0 -1
- package/lib-amd/types.d.ts +0 -290
- package/lib-amd/types.js +0 -5
- package/lib-amd/types.js.map +0 -1
- package/lib-amd/utils/dark/colors.d.ts +0 -8
- package/lib-amd/utils/dark/colors.js +0 -87
- package/lib-amd/utils/dark/colors.js.map +0 -1
- package/lib-amd/utils/dark/index.d.ts +0 -1
- package/lib-amd/utils/dark/index.js +0 -6
- package/lib-amd/utils/dark/index.js.map +0 -1
- package/lib-amd/utils/highContrast/colors.d.ts +0 -6
- package/lib-amd/utils/highContrast/colors.js +0 -87
- package/lib-amd/utils/highContrast/colors.js.map +0 -1
- package/lib-amd/utils/highContrast/index.d.ts +0 -1
- package/lib-amd/utils/highContrast/index.js +0 -6
- package/lib-amd/utils/highContrast/index.js.map +0 -1
- package/lib-amd/utils/light/colors.d.ts +0 -8
- package/lib-amd/utils/light/colors.js +0 -87
- package/lib-amd/utils/light/colors.js.map +0 -1
- package/lib-amd/utils/light/index.d.ts +0 -1
- package/lib-amd/utils/light/index.js +0 -6
- package/lib-amd/utils/light/index.js.map +0 -1
- package/lib-amd/utils/mergeThemes.d.ts +0 -8
- package/lib-amd/utils/mergeThemes.js +0 -58
- package/lib-amd/utils/mergeThemes.js.map +0 -1
- package/lib-amd/utils/shadows.d.ts +0 -2
- package/lib-amd/utils/shadows.js +0 -16
- package/lib-amd/utils/shadows.js.map +0 -1
- package/lib-amd/utils/themeToCSSVariables.d.ts +0 -2
- package/lib-amd/utils/themeToCSSVariables.js +0 -27
- package/lib-amd/utils/themeToCSSVariables.js.map +0 -1
- package/lib-commonjs/global/utils.d.ts +0 -23
- package/lib-commonjs/global/utils.js +0 -29
- package/lib-commonjs/global/utils.js.map +0 -1
- package/lib-commonjs/themes/teams/globalTheme.d.ts +0 -22
- package/lib-commonjs/themes/teams/globalTheme.js +0 -5
- package/lib-commonjs/themes/teams/globalTheme.js.map +0 -1
- package/lib-commonjs/themes/web/globalTheme.d.ts +0 -22
- package/lib-commonjs/themes/web/globalTheme.js +0 -5
- package/lib-commonjs/themes/web/globalTheme.js.map +0 -1
- package/lib-commonjs/utils/dark/colors.d.ts +0 -8
- package/lib-commonjs/utils/dark/colors.js +0 -87
- package/lib-commonjs/utils/dark/colors.js.map +0 -1
- package/lib-commonjs/utils/dark/index.d.ts +0 -1
- package/lib-commonjs/utils/dark/index.js +0 -5
- package/lib-commonjs/utils/dark/index.js.map +0 -1
- package/lib-commonjs/utils/highContrast/colors.d.ts +0 -6
- package/lib-commonjs/utils/highContrast/colors.js +0 -87
- package/lib-commonjs/utils/highContrast/colors.js.map +0 -1
- package/lib-commonjs/utils/highContrast/index.d.ts +0 -1
- package/lib-commonjs/utils/highContrast/index.js +0 -5
- package/lib-commonjs/utils/highContrast/index.js.map +0 -1
- package/lib-commonjs/utils/light/colors.d.ts +0 -8
- package/lib-commonjs/utils/light/colors.js +0 -87
- package/lib-commonjs/utils/light/colors.js.map +0 -1
- package/lib-commonjs/utils/light/index.d.ts +0 -1
- package/lib-commonjs/utils/light/index.js +0 -5
- package/lib-commonjs/utils/light/index.js.map +0 -1
package/CHANGELOG.md
CHANGED
@@ -1,12 +1,207 @@
|
|
1
1
|
# Change Log - @fluentui/react-theme
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Thu, 25 Nov 2021 08:31:34 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-beta.4)
|
8
|
+
|
9
|
+
Thu, 25 Nov 2021 08:31:34 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-beta.3..@fluentui/react-theme_v9.0.0-beta.4)
|
11
|
+
|
12
|
+
### Changes
|
13
|
+
|
14
|
+
- feat(react-theme): update shadow design tokens ([PR #20604](https://github.com/microsoft/fluentui/pull/20604) by miroslav.stastny@microsoft.com)
|
15
|
+
|
16
|
+
## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-beta.3)
|
17
|
+
|
18
|
+
Fri, 12 Nov 2021 13:25:09 GMT
|
19
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-beta.2..@fluentui/react-theme_v9.0.0-beta.3)
|
20
|
+
|
21
|
+
### Changes
|
22
|
+
|
23
|
+
- Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
|
24
|
+
- feat(react-theme): add/update design tokens ([PR #20569](https://github.com/microsoft/fluentui/pull/20569) by miroslav.stastny@microsoft.com)
|
25
|
+
|
26
|
+
## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-beta.2)
|
27
|
+
|
28
|
+
Wed, 27 Oct 2021 12:14:23 GMT
|
29
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-beta.1..@fluentui/react-theme_v9.0.0-beta.2)
|
30
|
+
|
31
|
+
### Changes
|
32
|
+
|
33
|
+
- fix(reat-theme): Remove template literal types for color palette ([PR #20251](https://github.com/microsoft/fluentui/pull/20251) by lingfangao@hotmail.com)
|
34
|
+
- added styling of documentation ([PR #20193](https://github.com/microsoft/fluentui/pull/20193) by peter@draxler.ml)
|
35
|
+
|
36
|
+
## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-beta.1)
|
37
|
+
|
38
|
+
Wed, 06 Oct 2021 10:37:22 GMT
|
39
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.26..@fluentui/react-theme_v9.0.0-beta.1)
|
40
|
+
|
41
|
+
### Changes
|
42
|
+
|
43
|
+
- Bump all v9 components to beta prerelease tag ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by lingfangao@hotmail.com)
|
44
|
+
|
45
|
+
## [9.0.0-alpha.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.26)
|
46
|
+
|
47
|
+
Fri, 01 Oct 2021 14:13:08 GMT
|
48
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.24..@fluentui/react-theme_v9.0.0-alpha.26)
|
49
|
+
|
50
|
+
### Changes
|
51
|
+
|
52
|
+
- Bump v9 prerelease versions to rerelease ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by lingfangao@hotmail.com)
|
53
|
+
|
54
|
+
## [9.0.0-alpha.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.24)
|
55
|
+
|
56
|
+
Wed, 29 Sep 2021 08:06:11 GMT
|
57
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.23..@fluentui/react-theme_v9.0.0-alpha.24)
|
58
|
+
|
59
|
+
### Changes
|
60
|
+
|
61
|
+
- Use direct values in alias tokens ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by miroslav.stastny@microsoft.com)
|
62
|
+
|
63
|
+
## [9.0.0-alpha.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.23)
|
64
|
+
|
65
|
+
Tue, 21 Sep 2021 07:42:34 GMT
|
66
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.22..@fluentui/react-theme_v9.0.0-alpha.23)
|
67
|
+
|
68
|
+
### Changes
|
69
|
+
|
70
|
+
- Theme: Updating value of borderRadius global token. ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by Humberto.Morimoto@microsoft.com)
|
71
|
+
|
72
|
+
## [9.0.0-alpha.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.22)
|
73
|
+
|
74
|
+
Tue, 24 Aug 2021 07:34:48 GMT
|
75
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.21..@fluentui/react-theme_v9.0.0-alpha.22)
|
76
|
+
|
77
|
+
### Changes
|
78
|
+
|
79
|
+
- Updating TypeScript type-only imports/exports to use import/export type syntax. ([PR #19471](https://github.com/microsoft/fluentui/pull/19471) by dzearing@hotmail.com)
|
80
|
+
|
81
|
+
## [9.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.21)
|
82
|
+
|
83
|
+
Fri, 20 Aug 2021 07:37:28 GMT
|
84
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.20..@fluentui/react-theme_v9.0.0-alpha.21)
|
85
|
+
|
86
|
+
### Changes
|
87
|
+
|
88
|
+
- Update .npmignore ([PR #19441](https://github.com/microsoft/fluentui/pull/19441) by elcraig@microsoft.com)
|
89
|
+
|
90
|
+
## [9.0.0-alpha.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.20)
|
91
|
+
|
92
|
+
Tue, 03 Aug 2021 07:39:30 GMT
|
93
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.19..@fluentui/react-theme_v9.0.0-alpha.20)
|
94
|
+
|
95
|
+
### Patches
|
96
|
+
|
97
|
+
- Bump @fluentui/eslint-plugin to v1.3.3 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
|
98
|
+
- Bump @fluentui/scripts to v1.0.0 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
|
99
|
+
|
100
|
+
### Changes
|
101
|
+
|
102
|
+
- Enable exhaustive-deps rule for useIsomorphicLayoutEffect ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
|
103
|
+
|
104
|
+
## [9.0.0-alpha.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.19)
|
105
|
+
|
106
|
+
Mon, 26 Jul 2021 07:37:30 GMT
|
107
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.18..@fluentui/react-theme_v9.0.0-alpha.19)
|
108
|
+
|
109
|
+
### Changes
|
110
|
+
|
111
|
+
- Add global alpha tokens ([PR #19060](https://github.com/microsoft/fluentui/pull/19060) by miroslav.stastny@microsoft.com)
|
112
|
+
|
113
|
+
## [9.0.0-alpha.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.18)
|
114
|
+
|
115
|
+
Fri, 23 Jul 2021 07:38:19 GMT
|
116
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.17..@fluentui/react-theme_v9.0.0-alpha.18)
|
117
|
+
|
118
|
+
### Changes
|
119
|
+
|
120
|
+
- Update tokens ([PR #19041](https://github.com/microsoft/fluentui/pull/19041) by miroslav.stastny@microsoft.com)
|
121
|
+
|
122
|
+
## [9.0.0-alpha.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.17)
|
123
|
+
|
124
|
+
Fri, 09 Jul 2021 07:39:31 GMT
|
125
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.16..@fluentui/react-theme_v9.0.0-alpha.17)
|
126
|
+
|
127
|
+
### Patches
|
128
|
+
|
129
|
+
- Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
|
130
|
+
- Bump @fluentui/scripts to v1.0.0 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
|
131
|
+
|
132
|
+
## [9.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.16)
|
133
|
+
|
134
|
+
Fri, 02 Jul 2021 07:37:06 GMT
|
135
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.15..@fluentui/react-theme_v9.0.0-alpha.16)
|
136
|
+
|
137
|
+
### Changes
|
138
|
+
|
139
|
+
- chore(react-theme): Migrate to new DX ([PR #18655](https://github.com/microsoft/fluentui/pull/18655) by miroslav.stastny@microsoft.com)
|
140
|
+
|
141
|
+
## [9.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.15)
|
142
|
+
|
143
|
+
Mon, 07 Jun 2021 07:38:15 GMT
|
144
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.14..@fluentui/react-theme_v9.0.0-alpha.15)
|
145
|
+
|
146
|
+
### Patches
|
147
|
+
|
148
|
+
- Bump @fluentui/eslint-plugin to v1.3.1 ([PR #18437](https://github.com/microsoft/fluentui/pull/18437) by martinhochel@microsoft.com)
|
149
|
+
- Bump @fluentui/scripts to v1.0.0 ([PR #18437](https://github.com/microsoft/fluentui/pull/18437) by martinhochel@microsoft.com)
|
150
|
+
|
151
|
+
## [9.0.0-alpha.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.14)
|
152
|
+
|
153
|
+
Thu, 03 Jun 2021 07:36:03 GMT
|
154
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.13..@fluentui/react-theme_v9.0.0-alpha.14)
|
155
|
+
|
156
|
+
### Changes
|
157
|
+
|
158
|
+
- Update theme tokens ([PR #18321](https://github.com/microsoft/fluentui/pull/18321) by miroslav.stastny@microsoft.com)
|
159
|
+
|
160
|
+
## [9.0.0-alpha.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.13)
|
161
|
+
|
162
|
+
Thu, 20 May 2021 07:41:54 GMT
|
163
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.12..@fluentui/react-theme_v9.0.0-alpha.13)
|
164
|
+
|
165
|
+
### Patches
|
166
|
+
|
167
|
+
- Bump @fluentui/eslint-plugin to v1.3.0 ([PR #18024](https://github.com/microsoft/fluentui/pull/18024) by elcraig@microsoft.com)
|
168
|
+
- Bump @fluentui/scripts to v1.0.0 ([PR #18024](https://github.com/microsoft/fluentui/pull/18024) by elcraig@microsoft.com)
|
169
|
+
|
170
|
+
## [9.0.0-alpha.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.12)
|
171
|
+
|
172
|
+
Wed, 19 May 2021 07:34:20 GMT
|
173
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.11..@fluentui/react-theme_v9.0.0-alpha.12)
|
174
|
+
|
175
|
+
### Changes
|
176
|
+
|
177
|
+
- chore: add more Babel plugins ([PR #18037](https://github.com/microsoft/fluentui/pull/18037) by olfedias@microsoft.com)
|
178
|
+
|
179
|
+
## [9.0.0-alpha.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.11)
|
180
|
+
|
181
|
+
Thu, 13 May 2021 07:36:55 GMT
|
182
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.10..@fluentui/react-theme_v9.0.0-alpha.11)
|
183
|
+
|
184
|
+
### Changes
|
185
|
+
|
186
|
+
- perf: avoid deep merge in mergeThemes() if possible ([PR #18156](https://github.com/microsoft/fluentui/pull/18156) by olfedias@microsoft.com)
|
187
|
+
|
188
|
+
## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.10)
|
189
|
+
|
190
|
+
Fri, 30 Apr 2021 07:42:23 GMT
|
191
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.9..@fluentui/react-theme_v9.0.0-alpha.10)
|
192
|
+
|
193
|
+
### Patches
|
194
|
+
|
195
|
+
- Bump @fluentui/eslint-plugin to v1.2.0 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com)
|
196
|
+
- Bump @fluentui/scripts to v1.0.0 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com)
|
197
|
+
|
198
|
+
### Changes
|
199
|
+
|
200
|
+
- Upgrade to ts 4.0 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com)
|
201
|
+
|
7
202
|
## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.9)
|
8
203
|
|
9
|
-
Fri, 23 Apr 2021 07:
|
204
|
+
Fri, 23 Apr 2021 07:37:10 GMT
|
10
205
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.8..@fluentui/react-theme_v9.0.0-alpha.9)
|
11
206
|
|
12
207
|
### Patches
|
@@ -0,0 +1,367 @@
|
|
1
|
+
export declare type BorderRadiusTokens = {
|
2
|
+
borderRadiusNone: string;
|
3
|
+
borderRadiusSmall: string;
|
4
|
+
borderRadiusMedium: string;
|
5
|
+
borderRadiusLarge: string;
|
6
|
+
borderRadiusXLarge: string;
|
7
|
+
borderRadiusCircular: string;
|
8
|
+
};
|
9
|
+
|
10
|
+
export declare type BrandVariants = ColorVariants & {
|
11
|
+
shade60: string;
|
12
|
+
};
|
13
|
+
|
14
|
+
declare type ColorPaletteAnchor = 'colorPaletteAnchorBackground1' | 'colorPaletteAnchorBackground2' | 'colorPaletteAnchorBackground3' | 'colorPaletteAnchorForeground1' | 'colorPaletteAnchorForeground2' | 'colorPaletteAnchorForeground3' | 'colorPaletteAnchorBorderActive' | 'colorPaletteAnchorBorder2';
|
15
|
+
|
16
|
+
declare type ColorPaletteBeige = 'colorPaletteBeigeBackground1' | 'colorPaletteBeigeBackground2' | 'colorPaletteBeigeBackground3' | 'colorPaletteBeigeForeground1' | 'colorPaletteBeigeForeground2' | 'colorPaletteBeigeForeground3' | 'colorPaletteBeigeBorderActive' | 'colorPaletteBeigeBorder2';
|
17
|
+
|
18
|
+
declare type ColorPaletteBerry = 'colorPaletteBerryBackground1' | 'colorPaletteBerryBackground2' | 'colorPaletteBerryBackground3' | 'colorPaletteBerryForeground1' | 'colorPaletteBerryForeground2' | 'colorPaletteBerryForeground3' | 'colorPaletteBerryBorderActive' | 'colorPaletteBerryBorder2';
|
19
|
+
|
20
|
+
declare type ColorPaletteBlue = 'colorPaletteBlueBackground1' | 'colorPaletteBlueBackground2' | 'colorPaletteBlueBackground3' | 'colorPaletteBlueForeground1' | 'colorPaletteBlueForeground2' | 'colorPaletteBlueForeground3' | 'colorPaletteBlueBorderActive' | 'colorPaletteBlueBorder2';
|
21
|
+
|
22
|
+
declare type ColorPaletteBrass = 'colorPaletteBrassBackground1' | 'colorPaletteBrassBackground2' | 'colorPaletteBrassBackground3' | 'colorPaletteBrassForeground1' | 'colorPaletteBrassForeground2' | 'colorPaletteBrassForeground3' | 'colorPaletteBrassBorderActive' | 'colorPaletteBrassBorder2';
|
23
|
+
|
24
|
+
declare type ColorPaletteBronze = 'colorPaletteBronzeBackground1' | 'colorPaletteBronzeBackground2' | 'colorPaletteBronzeBackground3' | 'colorPaletteBronzeForeground1' | 'colorPaletteBronzeForeground2' | 'colorPaletteBronzeForeground3' | 'colorPaletteBronzeBorderActive' | 'colorPaletteBronzeBorder2';
|
25
|
+
|
26
|
+
declare type ColorPaletteBrown = 'colorPaletteBrownBackground1' | 'colorPaletteBrownBackground2' | 'colorPaletteBrownBackground3' | 'colorPaletteBrownForeground1' | 'colorPaletteBrownForeground2' | 'colorPaletteBrownForeground3' | 'colorPaletteBrownBorderActive' | 'colorPaletteBrownBorder2';
|
27
|
+
|
28
|
+
declare type ColorPaletteBurgundy = 'colorPaletteBurgundyBackground1' | 'colorPaletteBurgundyBackground2' | 'colorPaletteBurgundyBackground3' | 'colorPaletteBurgundyForeground1' | 'colorPaletteBurgundyForeground2' | 'colorPaletteBurgundyForeground3' | 'colorPaletteBurgundyBorderActive' | 'colorPaletteBurgundyBorder2';
|
29
|
+
|
30
|
+
declare type ColorPaletteCharcoal = 'colorPaletteCharcoalBackground1' | 'colorPaletteCharcoalBackground2' | 'colorPaletteCharcoalBackground3' | 'colorPaletteCharcoalForeground1' | 'colorPaletteCharcoalForeground2' | 'colorPaletteCharcoalForeground3' | 'colorPaletteCharcoalBorderActive' | 'colorPaletteCharcoalBorder2';
|
31
|
+
|
32
|
+
declare type ColorPaletteCornflower = 'colorPaletteCornflowerBackground1' | 'colorPaletteCornflowerBackground2' | 'colorPaletteCornflowerBackground3' | 'colorPaletteCornflowerForeground1' | 'colorPaletteCornflowerForeground2' | 'colorPaletteCornflowerForeground3' | 'colorPaletteCornflowerBorderActive' | 'colorPaletteCornflowerBorder2';
|
33
|
+
|
34
|
+
declare type ColorPaletteCranberry = 'colorPaletteCranberryBackground1' | 'colorPaletteCranberryBackground2' | 'colorPaletteCranberryBackground3' | 'colorPaletteCranberryForeground1' | 'colorPaletteCranberryForeground2' | 'colorPaletteCranberryForeground3' | 'colorPaletteCranberryBorderActive' | 'colorPaletteCranberryBorder2';
|
35
|
+
|
36
|
+
declare type ColorPaletteCyan = 'colorPaletteCyanBackground1' | 'colorPaletteCyanBackground2' | 'colorPaletteCyanBackground3' | 'colorPaletteCyanForeground1' | 'colorPaletteCyanForeground2' | 'colorPaletteCyanForeground3' | 'colorPaletteCyanBorderActive' | 'colorPaletteCyanBorder2';
|
37
|
+
|
38
|
+
declare type ColorPaletteDarkBlue = 'colorPaletteDarkBlueBackground1' | 'colorPaletteDarkBlueBackground2' | 'colorPaletteDarkBlueBackground3' | 'colorPaletteDarkBlueForeground1' | 'colorPaletteDarkBlueForeground2' | 'colorPaletteDarkBlueForeground3' | 'colorPaletteDarkBlueBorderActive' | 'colorPaletteDarkBlueBorder2';
|
39
|
+
|
40
|
+
declare type ColorPaletteDarkBrown = 'colorPaletteDarkBrownBackground1' | 'colorPaletteDarkBrownBackground2' | 'colorPaletteDarkBrownBackground3' | 'colorPaletteDarkBrownForeground1' | 'colorPaletteDarkBrownForeground2' | 'colorPaletteDarkBrownForeground3' | 'colorPaletteDarkBrownBorderActive' | 'colorPaletteDarkBrownBorder2';
|
41
|
+
|
42
|
+
declare type ColorPaletteDarkGreen = 'colorPaletteDarkGreenBackground1' | 'colorPaletteDarkGreenBackground2' | 'colorPaletteDarkGreenBackground3' | 'colorPaletteDarkGreenForeground1' | 'colorPaletteDarkGreenForeground2' | 'colorPaletteDarkGreenForeground3' | 'colorPaletteDarkGreenBorderActive' | 'colorPaletteDarkGreenBorder2';
|
43
|
+
|
44
|
+
declare type ColorPaletteDarkOrange = 'colorPaletteDarkOrangeBackground1' | 'colorPaletteDarkOrangeBackground2' | 'colorPaletteDarkOrangeBackground3' | 'colorPaletteDarkOrangeForeground1' | 'colorPaletteDarkOrangeForeground2' | 'colorPaletteDarkOrangeForeground3' | 'colorPaletteDarkOrangeBorderActive' | 'colorPaletteDarkOrangeBorder2';
|
45
|
+
|
46
|
+
declare type ColorPaletteDarkPurple = 'colorPaletteDarkPurpleBackground1' | 'colorPaletteDarkPurpleBackground2' | 'colorPaletteDarkPurpleBackground3' | 'colorPaletteDarkPurpleForeground1' | 'colorPaletteDarkPurpleForeground2' | 'colorPaletteDarkPurpleForeground3' | 'colorPaletteDarkPurpleBorderActive' | 'colorPaletteDarkPurpleBorder2';
|
47
|
+
|
48
|
+
declare type ColorPaletteDarkRed = 'colorPaletteDarkRedBackground1' | 'colorPaletteDarkRedBackground2' | 'colorPaletteDarkRedBackground3' | 'colorPaletteDarkRedForeground1' | 'colorPaletteDarkRedForeground2' | 'colorPaletteDarkRedForeground3' | 'colorPaletteDarkRedBorderActive' | 'colorPaletteDarkRedBorder2';
|
49
|
+
|
50
|
+
declare type ColorPaletteDarkTeal = 'colorPaletteDarkTealBackground1' | 'colorPaletteDarkTealBackground2' | 'colorPaletteDarkTealBackground3' | 'colorPaletteDarkTealForeground1' | 'colorPaletteDarkTealForeground2' | 'colorPaletteDarkTealForeground3' | 'colorPaletteDarkTealBorderActive' | 'colorPaletteDarkTealBorder2';
|
51
|
+
|
52
|
+
declare type ColorPaletteForest = 'colorPaletteForestBackground1' | 'colorPaletteForestBackground2' | 'colorPaletteForestBackground3' | 'colorPaletteForestForeground1' | 'colorPaletteForestForeground2' | 'colorPaletteForestForeground3' | 'colorPaletteForestBorderActive' | 'colorPaletteForestBorder2';
|
53
|
+
|
54
|
+
declare type ColorPaletteGold = 'colorPaletteGoldBackground1' | 'colorPaletteGoldBackground2' | 'colorPaletteGoldBackground3' | 'colorPaletteGoldForeground1' | 'colorPaletteGoldForeground2' | 'colorPaletteGoldForeground3' | 'colorPaletteGoldBorderActive' | 'colorPaletteGoldBorder2';
|
55
|
+
|
56
|
+
declare type ColorPaletteGrape = 'colorPaletteGrapeBackground1' | 'colorPaletteGrapeBackground2' | 'colorPaletteGrapeBackground3' | 'colorPaletteGrapeForeground1' | 'colorPaletteGrapeForeground2' | 'colorPaletteGrapeForeground3' | 'colorPaletteGrapeBorderActive' | 'colorPaletteGrapeBorder2';
|
57
|
+
|
58
|
+
declare type ColorPaletteGreen = 'colorPaletteGreenBackground1' | 'colorPaletteGreenBackground2' | 'colorPaletteGreenBackground3' | 'colorPaletteGreenForeground1' | 'colorPaletteGreenForeground2' | 'colorPaletteGreenForeground3' | 'colorPaletteGreenBorderActive' | 'colorPaletteGreenBorder2';
|
59
|
+
|
60
|
+
declare type ColorPaletteHotPink = 'colorPaletteHotPinkBackground1' | 'colorPaletteHotPinkBackground2' | 'colorPaletteHotPinkBackground3' | 'colorPaletteHotPinkForeground1' | 'colorPaletteHotPinkForeground2' | 'colorPaletteHotPinkForeground3' | 'colorPaletteHotPinkBorderActive' | 'colorPaletteHotPinkBorder2';
|
61
|
+
|
62
|
+
declare type ColorPaletteLavender = 'colorPaletteLavenderBackground1' | 'colorPaletteLavenderBackground2' | 'colorPaletteLavenderBackground3' | 'colorPaletteLavenderForeground1' | 'colorPaletteLavenderForeground2' | 'colorPaletteLavenderForeground3' | 'colorPaletteLavenderBorderActive' | 'colorPaletteLavenderBorder2';
|
63
|
+
|
64
|
+
declare type ColorPaletteLightBlue = 'colorPaletteLightBlueBackground1' | 'colorPaletteLightBlueBackground2' | 'colorPaletteLightBlueBackground3' | 'colorPaletteLightBlueForeground1' | 'colorPaletteLightBlueForeground2' | 'colorPaletteLightBlueForeground3' | 'colorPaletteLightBlueBorderActive' | 'colorPaletteLightBlueBorder2';
|
65
|
+
|
66
|
+
declare type ColorPaletteLightGreen = 'colorPaletteLightGreenBackground1' | 'colorPaletteLightGreenBackground2' | 'colorPaletteLightGreenBackground3' | 'colorPaletteLightGreenForeground1' | 'colorPaletteLightGreenForeground2' | 'colorPaletteLightGreenForeground3' | 'colorPaletteLightGreenBorderActive' | 'colorPaletteLightGreenBorder2';
|
67
|
+
|
68
|
+
declare type ColorPaletteLightTeal = 'colorPaletteLightTealBackground1' | 'colorPaletteLightTealBackground2' | 'colorPaletteLightTealBackground3' | 'colorPaletteLightTealForeground1' | 'colorPaletteLightTealForeground2' | 'colorPaletteLightTealForeground3' | 'colorPaletteLightTealBorderActive' | 'colorPaletteLightTealBorder2';
|
69
|
+
|
70
|
+
declare type ColorPaletteLilac = 'colorPaletteLilacBackground1' | 'colorPaletteLilacBackground2' | 'colorPaletteLilacBackground3' | 'colorPaletteLilacForeground1' | 'colorPaletteLilacForeground2' | 'colorPaletteLilacForeground3' | 'colorPaletteLilacBorderActive' | 'colorPaletteLilacBorder2';
|
71
|
+
|
72
|
+
declare type ColorPaletteLime = 'colorPaletteLimeBackground1' | 'colorPaletteLimeBackground2' | 'colorPaletteLimeBackground3' | 'colorPaletteLimeForeground1' | 'colorPaletteLimeForeground2' | 'colorPaletteLimeForeground3' | 'colorPaletteLimeBorderActive' | 'colorPaletteLimeBorder2';
|
73
|
+
|
74
|
+
declare type ColorPaletteMagenta = 'colorPaletteMagentaBackground1' | 'colorPaletteMagentaBackground2' | 'colorPaletteMagentaBackground3' | 'colorPaletteMagentaForeground1' | 'colorPaletteMagentaForeground2' | 'colorPaletteMagentaForeground3' | 'colorPaletteMagentaBorderActive' | 'colorPaletteMagentaBorder2';
|
75
|
+
|
76
|
+
declare type ColorPaletteMarigold = 'colorPaletteMarigoldBackground1' | 'colorPaletteMarigoldBackground2' | 'colorPaletteMarigoldBackground3' | 'colorPaletteMarigoldForeground1' | 'colorPaletteMarigoldForeground2' | 'colorPaletteMarigoldForeground3' | 'colorPaletteMarigoldBorderActive' | 'colorPaletteMarigoldBorder2';
|
77
|
+
|
78
|
+
declare type ColorPaletteMink = 'colorPaletteMinkBackground1' | 'colorPaletteMinkBackground2' | 'colorPaletteMinkBackground3' | 'colorPaletteMinkForeground1' | 'colorPaletteMinkForeground2' | 'colorPaletteMinkForeground3' | 'colorPaletteMinkBorderActive' | 'colorPaletteMinkBorder2';
|
79
|
+
|
80
|
+
declare type ColorPaletteNavy = 'colorPaletteNavyBackground1' | 'colorPaletteNavyBackground2' | 'colorPaletteNavyBackground3' | 'colorPaletteNavyForeground1' | 'colorPaletteNavyForeground2' | 'colorPaletteNavyForeground3' | 'colorPaletteNavyBorderActive' | 'colorPaletteNavyBorder2';
|
81
|
+
|
82
|
+
declare type ColorPaletteOrange = 'colorPaletteOrangeBackground1' | 'colorPaletteOrangeBackground2' | 'colorPaletteOrangeBackground3' | 'colorPaletteOrangeForeground1' | 'colorPaletteOrangeForeground2' | 'colorPaletteOrangeForeground3' | 'colorPaletteOrangeBorderActive' | 'colorPaletteOrangeBorder2';
|
83
|
+
|
84
|
+
declare type ColorPaletteOrchid = 'colorPaletteOrchidBackground1' | 'colorPaletteOrchidBackground2' | 'colorPaletteOrchidBackground3' | 'colorPaletteOrchidForeground1' | 'colorPaletteOrchidForeground2' | 'colorPaletteOrchidForeground3' | 'colorPaletteOrchidBorderActive' | 'colorPaletteOrchidBorder2';
|
85
|
+
|
86
|
+
declare type ColorPalettePeach = 'colorPalettePeachBackground1' | 'colorPalettePeachBackground2' | 'colorPalettePeachBackground3' | 'colorPalettePeachForeground1' | 'colorPalettePeachForeground2' | 'colorPalettePeachForeground3' | 'colorPalettePeachBorderActive' | 'colorPalettePeachBorder2';
|
87
|
+
|
88
|
+
declare type ColorPalettePink = 'colorPalettePinkBackground1' | 'colorPalettePinkBackground2' | 'colorPalettePinkBackground3' | 'colorPalettePinkForeground1' | 'colorPalettePinkForeground2' | 'colorPalettePinkForeground3' | 'colorPalettePinkBorderActive' | 'colorPalettePinkBorder2';
|
89
|
+
|
90
|
+
declare type ColorPalettePlatinum = 'colorPalettePlatinumBackground1' | 'colorPalettePlatinumBackground2' | 'colorPalettePlatinumBackground3' | 'colorPalettePlatinumForeground1' | 'colorPalettePlatinumForeground2' | 'colorPalettePlatinumForeground3' | 'colorPalettePlatinumBorderActive' | 'colorPalettePlatinumBorder2';
|
91
|
+
|
92
|
+
declare type ColorPalettePlum = 'colorPalettePlumBackground1' | 'colorPalettePlumBackground2' | 'colorPalettePlumBackground3' | 'colorPalettePlumForeground1' | 'colorPalettePlumForeground2' | 'colorPalettePlumForeground3' | 'colorPalettePlumBorderActive' | 'colorPalettePlumBorder2';
|
93
|
+
|
94
|
+
declare type ColorPalettePumpkin = 'colorPalettePumpkinBackground1' | 'colorPalettePumpkinBackground2' | 'colorPalettePumpkinBackground3' | 'colorPalettePumpkinForeground1' | 'colorPalettePumpkinForeground2' | 'colorPalettePumpkinForeground3' | 'colorPalettePumpkinBorderActive' | 'colorPalettePumpkinBorder2';
|
95
|
+
|
96
|
+
declare type ColorPalettePurple = 'colorPalettePurpleBackground1' | 'colorPalettePurpleBackground2' | 'colorPalettePurpleBackground3' | 'colorPalettePurpleForeground1' | 'colorPalettePurpleForeground2' | 'colorPalettePurpleForeground3' | 'colorPalettePurpleBorderActive' | 'colorPalettePurpleBorder2';
|
97
|
+
|
98
|
+
declare type ColorPaletteRed = 'colorPaletteRedBackground1' | 'colorPaletteRedBackground2' | 'colorPaletteRedBackground3' | 'colorPaletteRedForeground1' | 'colorPaletteRedForeground2' | 'colorPaletteRedForeground3' | 'colorPaletteRedBorderActive' | 'colorPaletteRedBorder2';
|
99
|
+
|
100
|
+
declare type ColorPaletteRoyalBlue = 'colorPaletteRoyalBlueBackground1' | 'colorPaletteRoyalBlueBackground2' | 'colorPaletteRoyalBlueBackground3' | 'colorPaletteRoyalBlueForeground1' | 'colorPaletteRoyalBlueForeground2' | 'colorPaletteRoyalBlueForeground3' | 'colorPaletteRoyalBlueBorderActive' | 'colorPaletteRoyalBlueBorder2';
|
101
|
+
|
102
|
+
declare type ColorPaletteSeafoam = 'colorPaletteSeafoamBackground1' | 'colorPaletteSeafoamBackground2' | 'colorPaletteSeafoamBackground3' | 'colorPaletteSeafoamForeground1' | 'colorPaletteSeafoamForeground2' | 'colorPaletteSeafoamForeground3' | 'colorPaletteSeafoamBorderActive' | 'colorPaletteSeafoamBorder2';
|
103
|
+
|
104
|
+
declare type ColorPaletteSilver = 'colorPaletteSilverBackground1' | 'colorPaletteSilverBackground2' | 'colorPaletteSilverBackground3' | 'colorPaletteSilverForeground1' | 'colorPaletteSilverForeground2' | 'colorPaletteSilverForeground3' | 'colorPaletteSilverBorderActive' | 'colorPaletteSilverBorder2';
|
105
|
+
|
106
|
+
declare type ColorPaletteSteel = 'colorPaletteSteelBackground1' | 'colorPaletteSteelBackground2' | 'colorPaletteSteelBackground3' | 'colorPaletteSteelForeground1' | 'colorPaletteSteelForeground2' | 'colorPaletteSteelForeground3' | 'colorPaletteSteelBorderActive' | 'colorPaletteSteelBorder2';
|
107
|
+
|
108
|
+
declare type ColorPaletteTeal = 'colorPaletteTealBackground1' | 'colorPaletteTealBackground2' | 'colorPaletteTealBackground3' | 'colorPaletteTealForeground1' | 'colorPaletteTealForeground2' | 'colorPaletteTealForeground3' | 'colorPaletteTealBorderActive' | 'colorPaletteTealBorder2';
|
109
|
+
|
110
|
+
export declare type ColorPaletteTokens = Record<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, string>;
|
111
|
+
|
112
|
+
declare type ColorPaletteYellow = 'colorPaletteYellowBackground1' | 'colorPaletteYellowBackground2' | 'colorPaletteYellowBackground3' | 'colorPaletteYellowForeground1' | 'colorPaletteYellowForeground2' | 'colorPaletteYellowForeground3' | 'colorPaletteYellowBorderActive' | 'colorPaletteYellowBorder2';
|
113
|
+
|
114
|
+
/**
|
115
|
+
* Design tokens for alias colors
|
116
|
+
*/
|
117
|
+
export declare type ColorTokens = {
|
118
|
+
colorNeutralForeground1: string;
|
119
|
+
colorNeutralForeground1Hover: string;
|
120
|
+
colorNeutralForeground1Pressed: string;
|
121
|
+
colorNeutralForeground1Selected: string;
|
122
|
+
colorNeutralForeground2: string;
|
123
|
+
colorNeutralForeground2Hover: string;
|
124
|
+
colorNeutralForeground2Pressed: string;
|
125
|
+
colorNeutralForeground2Selected: string;
|
126
|
+
colorNeutralForeground2BrandHover: string;
|
127
|
+
colorNeutralForeground2BrandPressed: string;
|
128
|
+
colorNeutralForeground2BrandSelected: string;
|
129
|
+
colorNeutralForeground3: string;
|
130
|
+
colorNeutralForeground3Hover: string;
|
131
|
+
colorNeutralForeground3Pressed: string;
|
132
|
+
colorNeutralForeground3Selected: string;
|
133
|
+
colorNeutralForeground3BrandHover: string;
|
134
|
+
colorNeutralForeground3BrandPressed: string;
|
135
|
+
colorNeutralForeground3BrandSelected: string;
|
136
|
+
colorNeutralForeground4: string;
|
137
|
+
colorNeutralForegroundDisabled: string;
|
138
|
+
colorNeutralForegroundInvertedDisabled: string;
|
139
|
+
colorBrandForegroundLink: string;
|
140
|
+
colorBrandForegroundLinkHover: string;
|
141
|
+
colorBrandForegroundLinkPressed: string;
|
142
|
+
colorBrandForegroundLinkSelected: string;
|
143
|
+
colorCompoundBrandForeground1: string;
|
144
|
+
colorCompoundBrandForeground1Hover: string;
|
145
|
+
colorCompoundBrandForeground1Pressed: string;
|
146
|
+
colorBrandForeground1: string;
|
147
|
+
colorBrandForeground2: string;
|
148
|
+
colorNeutralForegroundInverted: string;
|
149
|
+
colorNeutralForegroundInvertedHover: string;
|
150
|
+
colorNeutralForegroundInvertedPressed: string;
|
151
|
+
colorNeutralForegroundInvertedSelected: string;
|
152
|
+
colorNeutralForegroundOnBrand: string;
|
153
|
+
colorNeutralForegroundInvertedLink: string;
|
154
|
+
colorNeutralForegroundInvertedLinkHover: string;
|
155
|
+
colorNeutralForegroundInvertedLinkPressed: string;
|
156
|
+
colorNeutralForegroundInvertedLinkSelected: string;
|
157
|
+
colorBrandForegroundInverted: string;
|
158
|
+
colorBrandForegroundInvertedHover: string;
|
159
|
+
colorBrandForegroundInvertedPressed: string;
|
160
|
+
colorBrandForegroundOnLight: string;
|
161
|
+
colorBrandForegroundOnLightHover: string;
|
162
|
+
colorBrandForegroundOnLightPressed: string;
|
163
|
+
colorBrandForegroundOnLightSelected: string;
|
164
|
+
colorNeutralBackground1: string;
|
165
|
+
colorNeutralBackground1Hover: string;
|
166
|
+
colorNeutralBackground1Pressed: string;
|
167
|
+
colorNeutralBackground1Selected: string;
|
168
|
+
colorNeutralBackground2: string;
|
169
|
+
colorNeutralBackground2Hover: string;
|
170
|
+
colorNeutralBackground2Pressed: string;
|
171
|
+
colorNeutralBackground2Selected: string;
|
172
|
+
colorNeutralBackground3: string;
|
173
|
+
colorNeutralBackground3Hover: string;
|
174
|
+
colorNeutralBackground3Pressed: string;
|
175
|
+
colorNeutralBackground3Selected: string;
|
176
|
+
colorNeutralBackground4: string;
|
177
|
+
colorNeutralBackground4Hover: string;
|
178
|
+
colorNeutralBackground4Pressed: string;
|
179
|
+
colorNeutralBackground4Selected: string;
|
180
|
+
colorNeutralBackground5: string;
|
181
|
+
colorNeutralBackground5Hover: string;
|
182
|
+
colorNeutralBackground5Pressed: string;
|
183
|
+
colorNeutralBackground5Selected: string;
|
184
|
+
colorNeutralBackground6: string;
|
185
|
+
colorNeutralBackgroundInverted: string;
|
186
|
+
colorSubtleBackground: string;
|
187
|
+
colorSubtleBackgroundHover: string;
|
188
|
+
colorSubtleBackgroundPressed: string;
|
189
|
+
colorSubtleBackgroundSelected: string;
|
190
|
+
colorSubtleBackgroundLightAlphaHover: string;
|
191
|
+
colorSubtleBackgroundLightAlphaPressed: string;
|
192
|
+
colorSubtleBackgroundLightAlphaSelected: string;
|
193
|
+
colorSubtleBackgroundInverted: string;
|
194
|
+
colorSubtleBackgroundInvertedHover: string;
|
195
|
+
colorSubtleBackgroundInvertedPressed: string;
|
196
|
+
colorSubtleBackgroundInvertedSelected: string;
|
197
|
+
colorTransparentBackground: string;
|
198
|
+
colorTransparentBackgroundHover: string;
|
199
|
+
colorTransparentBackgroundPressed: string;
|
200
|
+
colorTransparentBackgroundSelected: string;
|
201
|
+
colorNeutralBackgroundDisabled: string;
|
202
|
+
colorNeutralBackgroundInvertedDisabled: string;
|
203
|
+
colorNeutralStencil1: string;
|
204
|
+
colorNeutralStencil2: string;
|
205
|
+
colorBrandBackground: string;
|
206
|
+
colorBrandBackgroundHover: string;
|
207
|
+
colorBrandBackgroundPressed: string;
|
208
|
+
colorBrandBackgroundSelected: string;
|
209
|
+
colorCompoundBrandBackground: string;
|
210
|
+
colorCompoundBrandBackgroundHover: string;
|
211
|
+
colorCompoundBrandBackgroundPressed: string;
|
212
|
+
colorBrandBackgroundStatic: string;
|
213
|
+
colorBrandBackground2: string;
|
214
|
+
colorBrandBackgroundInverted: string;
|
215
|
+
colorBrandBackgroundInvertedHover: string;
|
216
|
+
colorBrandBackgroundInvertedPressed: string;
|
217
|
+
colorBrandBackgroundInvertedSelected: string;
|
218
|
+
colorNeutralStrokeAccessible: string;
|
219
|
+
colorNeutralStrokeAccessibleHover: string;
|
220
|
+
colorNeutralStrokeAccessiblePressed: string;
|
221
|
+
colorNeutralStrokeAccessibleSelected: string;
|
222
|
+
colorNeutralStroke1: string;
|
223
|
+
colorNeutralStroke1Hover: string;
|
224
|
+
colorNeutralStroke1Pressed: string;
|
225
|
+
colorNeutralStroke1Selected: string;
|
226
|
+
colorNeutralStroke2: string;
|
227
|
+
colorNeutralStroke3: string;
|
228
|
+
colorNeutralStrokeOnBrand: string;
|
229
|
+
colorNeutralStrokeOnBrand2: string;
|
230
|
+
colorNeutralStrokeOnBrand2Hover: string;
|
231
|
+
colorNeutralStrokeOnBrand2Pressed: string;
|
232
|
+
colorNeutralStrokeOnBrand2Selected: string;
|
233
|
+
colorBrandStroke1: string;
|
234
|
+
colorBrandStroke2: string;
|
235
|
+
colorCompoundBrandStroke: string;
|
236
|
+
colorCompoundBrandStrokeHover: string;
|
237
|
+
colorCompoundBrandStrokePressed: string;
|
238
|
+
colorNeutralStrokeDisabled: string;
|
239
|
+
colorNeutralStrokeInvertedDisabled: string;
|
240
|
+
colorTransparentStroke: string;
|
241
|
+
colorTransparentStrokeInteractive: string;
|
242
|
+
colorTransparentStrokeDisabled: string;
|
243
|
+
colorStrokeFocus1: string;
|
244
|
+
colorStrokeFocus2: string;
|
245
|
+
colorNeutralShadowAmbient: string;
|
246
|
+
colorNeutralShadowKey: string;
|
247
|
+
colorNeutralShadowAmbientLighter: string;
|
248
|
+
colorNeutralShadowKeyLighter: string;
|
249
|
+
colorNeutralShadowAmbientDarker: string;
|
250
|
+
colorNeutralShadowKeyDarker: string;
|
251
|
+
colorBrandShadowAmbient: string;
|
252
|
+
colorBrandShadowKey: string;
|
253
|
+
};
|
254
|
+
|
255
|
+
/**
|
256
|
+
* Possible color variant values
|
257
|
+
*/
|
258
|
+
declare type ColorVariants = {
|
259
|
+
shade50: string;
|
260
|
+
shade40: string;
|
261
|
+
shade30: string;
|
262
|
+
shade20: string;
|
263
|
+
shade10: string;
|
264
|
+
primary: string;
|
265
|
+
tint10: string;
|
266
|
+
tint20: string;
|
267
|
+
tint30: string;
|
268
|
+
tint40: string;
|
269
|
+
tint50: string;
|
270
|
+
tint60: string;
|
271
|
+
};
|
272
|
+
|
273
|
+
export declare const createDarkTheme: (brand: BrandVariants) => Theme;
|
274
|
+
|
275
|
+
export declare const createHighContrastTheme: () => Theme;
|
276
|
+
|
277
|
+
export declare const createLightTheme: (brand: BrandVariants) => Theme;
|
278
|
+
|
279
|
+
export declare const createTeamsDarkTheme: (brand: BrandVariants) => Theme;
|
280
|
+
|
281
|
+
export declare type FontFamilyTokens = {
|
282
|
+
fontFamilyBase: string;
|
283
|
+
fontFamilyMonospace: string;
|
284
|
+
fontFamilyNumeric: string;
|
285
|
+
};
|
286
|
+
|
287
|
+
export declare type FontSizeTokens = {
|
288
|
+
fontSizeBase100: string;
|
289
|
+
fontSizeBase200: string;
|
290
|
+
fontSizeBase300: string;
|
291
|
+
fontSizeBase400: string;
|
292
|
+
fontSizeBase500: string;
|
293
|
+
fontSizeBase600: string;
|
294
|
+
fontSizeHero700: string;
|
295
|
+
fontSizeHero800: string;
|
296
|
+
fontSizeHero900: string;
|
297
|
+
fontSizeHero1000: string;
|
298
|
+
};
|
299
|
+
|
300
|
+
export declare type FontWeightTokens = {
|
301
|
+
fontWeightRegular: number;
|
302
|
+
fontWeightMedium: number;
|
303
|
+
fontWeightSemibold: number;
|
304
|
+
};
|
305
|
+
|
306
|
+
export declare type LineHeightTokens = {
|
307
|
+
lineHeightBase100: string;
|
308
|
+
lineHeightBase200: string;
|
309
|
+
lineHeightBase300: string;
|
310
|
+
lineHeightBase400: string;
|
311
|
+
lineHeightBase500: string;
|
312
|
+
lineHeightBase600: string;
|
313
|
+
lineHeightHero700: string;
|
314
|
+
lineHeightHero800: string;
|
315
|
+
lineHeightHero900: string;
|
316
|
+
lineHeightHero1000: string;
|
317
|
+
};
|
318
|
+
|
319
|
+
export declare function mergeThemes(a: Theme | undefined, b: PartialTheme | Theme | undefined): Theme;
|
320
|
+
|
321
|
+
export declare type PartialTheme = Partial<Theme>;
|
322
|
+
|
323
|
+
export declare type ShadowBrandTokens = {
|
324
|
+
shadow2Brand: string;
|
325
|
+
shadow4Brand: string;
|
326
|
+
shadow8Brand: string;
|
327
|
+
shadow16Brand: string;
|
328
|
+
shadow28Brand: string;
|
329
|
+
shadow64Brand: string;
|
330
|
+
};
|
331
|
+
|
332
|
+
/**
|
333
|
+
* Design tokens for shadow levels
|
334
|
+
*/
|
335
|
+
export declare type ShadowTokens = {
|
336
|
+
shadow2: string;
|
337
|
+
shadow4: string;
|
338
|
+
shadow8: string;
|
339
|
+
shadow16: string;
|
340
|
+
shadow28: string;
|
341
|
+
shadow64: string;
|
342
|
+
};
|
343
|
+
|
344
|
+
export declare type StrokeWidthTokens = {
|
345
|
+
strokeWidthThin: string;
|
346
|
+
strokeWidthThick: string;
|
347
|
+
strokeWidthThicker: string;
|
348
|
+
strokeWidthThickest: string;
|
349
|
+
};
|
350
|
+
|
351
|
+
export declare const teamsDarkTheme: Theme;
|
352
|
+
|
353
|
+
export declare const teamsHighContrastTheme: Theme;
|
354
|
+
|
355
|
+
export declare const teamsLightTheme: Theme;
|
356
|
+
|
357
|
+
export declare type Theme = FontSizeTokens & LineHeightTokens & BorderRadiusTokens & StrokeWidthTokens & ShadowTokens & ShadowBrandTokens & FontFamilyTokens & FontWeightTokens & ColorPaletteTokens & ColorTokens;
|
358
|
+
|
359
|
+
export declare function themeToCSSVariables(theme: Theme): Record<string, string | number>;
|
360
|
+
|
361
|
+
export declare const webDarkTheme: Theme;
|
362
|
+
|
363
|
+
export declare const webHighContrastTheme: Theme;
|
364
|
+
|
365
|
+
export declare const webLightTheme: Theme;
|
366
|
+
|
367
|
+
export { }
|