@fluentui/tokens 1.0.0-alpha.3 → 1.0.0-alpha.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/.swcrc +30 -0
- package/CHANGELOG.json +22 -1
- package/CHANGELOG.md +12 -2
- package/lib/alias/darkColor.js +2 -4
- package/lib/alias/darkColor.js.map +1 -1
- package/lib/alias/darkColorPalette.js +1 -2
- package/lib/alias/darkColorPalette.js.map +1 -1
- package/lib/alias/highContrastColor.js +2 -4
- package/lib/alias/highContrastColor.js.map +1 -1
- package/lib/alias/highContrastColorPalette.js.map +1 -1
- package/lib/alias/lightColor.js +2 -4
- package/lib/alias/lightColor.js.map +1 -1
- package/lib/alias/lightColorPalette.js.map +1 -1
- package/lib/alias/teamsDarkColor.js +2 -4
- package/lib/alias/teamsDarkColor.js.map +1 -1
- package/lib/global/borderRadius.js.map +1 -1
- package/lib/global/brandColors.js.map +1 -1
- package/lib/global/colorPalette.js.map +1 -1
- package/lib/global/colors.js +1 -3
- package/lib/global/colors.js.map +1 -1
- package/lib/global/curves.js.map +1 -1
- package/lib/global/durations.js.map +1 -1
- package/lib/global/fonts.js.map +1 -1
- package/lib/global/index.js.map +1 -1
- package/lib/global/spacings.js.map +1 -1
- package/lib/global/strokeWidths.js.map +1 -1
- package/lib/global/typographyStyles.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/sharedColorNames.js +1 -2
- package/lib/sharedColorNames.js.map +1 -1
- package/lib/themeToTokensObject.js +1 -2
- package/lib/themeToTokensObject.js.map +1 -1
- package/lib/themes/index.js.map +1 -1
- package/lib/themes/teams/darkTheme.js.map +1 -1
- package/lib/themes/teams/highContrastTheme.js.map +1 -1
- package/lib/themes/teams/index.js.map +1 -1
- package/lib/themes/teams/lightTheme.js.map +1 -1
- package/lib/themes/web/darkTheme.js.map +1 -1
- package/lib/themes/web/index.js.map +1 -1
- package/lib/themes/web/lightTheme.js.map +1 -1
- package/lib/tokens.js.map +1 -1
- package/lib/types.js.map +1 -1
- package/lib/utils/createDarkTheme.js.map +1 -1
- package/lib/utils/createHighContrastTheme.js.map +1 -1
- package/lib/utils/createLightTheme.js.map +1 -1
- package/lib/utils/createTeamsDarkTheme.js.map +1 -1
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/shadows.js.map +1 -1
- package/lib-commonjs/alias/darkColor.js +158 -159
- package/lib-commonjs/alias/darkColor.js.map +1 -1
- package/lib-commonjs/alias/darkColorPalette.js +46 -44
- package/lib-commonjs/alias/darkColorPalette.js.map +1 -1
- package/lib-commonjs/alias/highContrastColor.js +158 -159
- package/lib-commonjs/alias/highContrastColor.js.map +1 -1
- package/lib-commonjs/alias/highContrastColorPalette.js +37 -34
- package/lib-commonjs/alias/highContrastColorPalette.js.map +1 -1
- package/lib-commonjs/alias/lightColor.js +158 -159
- package/lib-commonjs/alias/lightColor.js.map +1 -1
- package/lib-commonjs/alias/lightColorPalette.js +38 -35
- package/lib-commonjs/alias/lightColorPalette.js.map +1 -1
- package/lib-commonjs/alias/teamsDarkColor.js +158 -159
- package/lib-commonjs/alias/teamsDarkColor.js.map +1 -1
- package/lib-commonjs/global/borderRadius.js +14 -11
- package/lib-commonjs/global/borderRadius.js.map +1 -1
- package/lib-commonjs/global/brandColors.js +65 -55
- package/lib-commonjs/global/brandColors.js.map +1 -1
- package/lib-commonjs/global/colorPalette.js +51 -42
- package/lib-commonjs/global/colorPalette.js.map +1 -1
- package/lib-commonjs/global/colors.js +883 -814
- package/lib-commonjs/global/colors.js.map +1 -1
- package/lib-commonjs/global/curves.js +17 -14
- package/lib-commonjs/global/curves.js.map +1 -1
- package/lib-commonjs/global/durations.js +15 -12
- package/lib-commonjs/global/durations.js.map +1 -1
- package/lib-commonjs/global/fonts.js +48 -39
- package/lib-commonjs/global/fonts.js.map +1 -1
- package/lib-commonjs/global/index.js +12 -12
- package/lib-commonjs/global/index.js.map +1 -1
- package/lib-commonjs/global/spacings.js +49 -40
- package/lib-commonjs/global/spacings.js.map +1 -1
- package/lib-commonjs/global/strokeWidths.js +12 -9
- package/lib-commonjs/global/strokeWidths.js.map +1 -1
- package/lib-commonjs/global/typographyStyles.js +111 -111
- package/lib-commonjs/global/typographyStyles.js.map +1 -1
- package/lib-commonjs/index.js +29 -81
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/sharedColorNames.js +69 -10
- package/lib-commonjs/sharedColorNames.js.map +1 -1
- package/lib-commonjs/themeToTokensObject.js +16 -15
- package/lib-commonjs/themeToTokensObject.js.map +1 -1
- package/lib-commonjs/themes/index.js +6 -5
- package/lib-commonjs/themes/index.js.map +1 -1
- package/lib-commonjs/themes/teams/darkTheme.js +9 -6
- package/lib-commonjs/themes/teams/darkTheme.js.map +1 -1
- package/lib-commonjs/themes/teams/highContrastTheme.js +8 -5
- package/lib-commonjs/themes/teams/highContrastTheme.js.map +1 -1
- package/lib-commonjs/themes/teams/index.js +7 -6
- package/lib-commonjs/themes/teams/index.js.map +1 -1
- package/lib-commonjs/themes/teams/lightTheme.js +9 -6
- package/lib-commonjs/themes/teams/lightTheme.js.map +1 -1
- package/lib-commonjs/themes/web/darkTheme.js +9 -6
- package/lib-commonjs/themes/web/darkTheme.js.map +1 -1
- package/lib-commonjs/themes/web/index.js +6 -5
- package/lib-commonjs/themes/web/index.js.map +1 -1
- package/lib-commonjs/themes/web/lightTheme.js +9 -6
- package/lib-commonjs/themes/web/lightTheme.js.map +1 -1
- package/lib-commonjs/tokens.js +443 -440
- package/lib-commonjs/tokens.js.map +1 -1
- package/lib-commonjs/types.js +3 -2
- package/lib-commonjs/types.js.map +1 -1
- package/lib-commonjs/utils/createDarkTheme.js +32 -30
- package/lib-commonjs/utils/createDarkTheme.js.map +1 -1
- package/lib-commonjs/utils/createHighContrastTheme.js +32 -30
- package/lib-commonjs/utils/createHighContrastTheme.js.map +1 -1
- package/lib-commonjs/utils/createLightTheme.js +32 -30
- package/lib-commonjs/utils/createLightTheme.js.map +1 -1
- package/lib-commonjs/utils/createTeamsDarkTheme.js +32 -30
- package/lib-commonjs/utils/createTeamsDarkTheme.js.map +1 -1
- package/lib-commonjs/utils/index.js +8 -7
- package/lib-commonjs/utils/index.js.map +1 -1
- package/lib-commonjs/utils/shadows.js +15 -13
- package/lib-commonjs/utils/shadows.js.map +1 -1
- package/package.json +4 -3
- package/lib-amd/alias/darkColor.js +0 -161
- package/lib-amd/alias/darkColor.js.map +0 -1
- package/lib-amd/alias/darkColorPalette.js +0 -47
- package/lib-amd/alias/darkColorPalette.js.map +0 -1
- package/lib-amd/alias/highContrastColor.js +0 -161
- package/lib-amd/alias/highContrastColor.js.map +0 -1
- package/lib-amd/alias/highContrastColorPalette.js +0 -37
- package/lib-amd/alias/highContrastColorPalette.js.map +0 -1
- package/lib-amd/alias/lightColor.js +0 -161
- package/lib-amd/alias/lightColor.js.map +0 -1
- package/lib-amd/alias/lightColorPalette.js +0 -38
- package/lib-amd/alias/lightColorPalette.js.map +0 -1
- package/lib-amd/alias/teamsDarkColor.js +0 -161
- package/lib-amd/alias/teamsDarkColor.js.map +0 -1
- package/lib-amd/global/borderRadius.js +0 -14
- package/lib-amd/global/borderRadius.js.map +0 -1
- package/lib-amd/global/brandColors.js +0 -60
- package/lib-amd/global/brandColors.js.map +0 -1
- package/lib-amd/global/colorPalette.js +0 -45
- package/lib-amd/global/colorPalette.js.map +0 -1
- package/lib-amd/global/colors.js +0 -815
- package/lib-amd/global/colors.js.map +0 -1
- package/lib-amd/global/curves.js +0 -17
- package/lib-amd/global/curves.js.map +0 -1
- package/lib-amd/global/durations.js +0 -15
- package/lib-amd/global/durations.js.map +0 -1
- package/lib-amd/global/fonts.js +0 -45
- package/lib-amd/global/fonts.js.map +0 -1
- package/lib-amd/global/index.js +0 -14
- package/lib-amd/global/index.js.map +0 -1
- package/lib-amd/global/spacings.js +0 -46
- package/lib-amd/global/spacings.js.map +0 -1
- package/lib-amd/global/strokeWidths.js +0 -12
- package/lib-amd/global/strokeWidths.js.map +0 -1
- package/lib-amd/global/typographyStyles.js +0 -113
- package/lib-amd/global/typographyStyles.js.map +0 -1
- package/lib-amd/index.js +0 -18
- package/lib-amd/index.js.map +0 -1
- package/lib-amd/sharedColorNames.js +0 -64
- package/lib-amd/sharedColorNames.js.map +0 -1
- package/lib-amd/themeToTokensObject.js +0 -24
- package/lib-amd/themeToTokensObject.js.map +0 -1
- package/lib-amd/themes/index.js +0 -7
- package/lib-amd/themes/index.js.map +0 -1
- package/lib-amd/themes/teams/darkTheme.js +0 -7
- package/lib-amd/themes/teams/darkTheme.js.map +0 -1
- package/lib-amd/themes/teams/highContrastTheme.js +0 -7
- package/lib-amd/themes/teams/highContrastTheme.js.map +0 -1
- 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.js +0 -7
- package/lib-amd/themes/teams/lightTheme.js.map +0 -1
- package/lib-amd/themes/web/darkTheme.js +0 -7
- package/lib-amd/themes/web/darkTheme.js.map +0 -1
- package/lib-amd/themes/web/index.js +0 -7
- package/lib-amd/themes/web/index.js.map +0 -1
- package/lib-amd/themes/web/lightTheme.js +0 -7
- package/lib-amd/themes/web/lightTheme.js.map +0 -1
- package/lib-amd/tokens.js +0 -443
- package/lib-amd/tokens.js.map +0 -1
- package/lib-amd/types.js +0 -5
- package/lib-amd/types.js.map +0 -1
- package/lib-amd/utils/createDarkTheme.js +0 -11
- package/lib-amd/utils/createDarkTheme.js.map +0 -1
- package/lib-amd/utils/createHighContrastTheme.js +0 -11
- package/lib-amd/utils/createHighContrastTheme.js.map +0 -1
- package/lib-amd/utils/createLightTheme.js +0 -11
- package/lib-amd/utils/createLightTheme.js.map +0 -1
- package/lib-amd/utils/createTeamsDarkTheme.js +0 -11
- package/lib-amd/utils/createTeamsDarkTheme.js.map +0 -1
- package/lib-amd/utils/index.js +0 -9
- package/lib-amd/utils/index.js.map +0 -1
- package/lib-amd/utils/shadows.js +0 -19
- package/lib-amd/utils/shadows.js.map +0 -1
|
@@ -1,115 +1,115 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "typographyStyles", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: ()=>typographyStyles
|
|
5
8
|
});
|
|
6
|
-
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
lineHeight: tokens_1.tokens.lineHeightHero1000
|
|
113
|
-
}
|
|
114
|
-
};
|
|
9
|
+
const _tokens = require("../tokens");
|
|
10
|
+
const typographyStyles = {
|
|
11
|
+
body1: {
|
|
12
|
+
fontFamily: _tokens.tokens.fontFamilyBase,
|
|
13
|
+
fontSize: _tokens.tokens.fontSizeBase300,
|
|
14
|
+
fontWeight: _tokens.tokens.fontWeightRegular,
|
|
15
|
+
lineHeight: _tokens.tokens.lineHeightBase300
|
|
16
|
+
},
|
|
17
|
+
body1Strong: {
|
|
18
|
+
fontFamily: _tokens.tokens.fontFamilyBase,
|
|
19
|
+
fontSize: _tokens.tokens.fontSizeBase300,
|
|
20
|
+
fontWeight: _tokens.tokens.fontWeightSemibold,
|
|
21
|
+
lineHeight: _tokens.tokens.lineHeightBase300
|
|
22
|
+
},
|
|
23
|
+
body1Stronger: {
|
|
24
|
+
fontFamily: _tokens.tokens.fontFamilyBase,
|
|
25
|
+
fontSize: _tokens.tokens.fontSizeBase300,
|
|
26
|
+
fontWeight: _tokens.tokens.fontWeightBold,
|
|
27
|
+
lineHeight: _tokens.tokens.lineHeightBase300
|
|
28
|
+
},
|
|
29
|
+
body2: {
|
|
30
|
+
fontFamily: _tokens.tokens.fontFamilyBase,
|
|
31
|
+
fontSize: _tokens.tokens.fontSizeBase400,
|
|
32
|
+
fontWeight: _tokens.tokens.fontWeightRegular,
|
|
33
|
+
lineHeight: _tokens.tokens.lineHeightBase400
|
|
34
|
+
},
|
|
35
|
+
caption1: {
|
|
36
|
+
fontFamily: _tokens.tokens.fontFamilyBase,
|
|
37
|
+
fontSize: _tokens.tokens.fontSizeBase200,
|
|
38
|
+
fontWeight: _tokens.tokens.fontWeightRegular,
|
|
39
|
+
lineHeight: _tokens.tokens.lineHeightBase200
|
|
40
|
+
},
|
|
41
|
+
caption1Strong: {
|
|
42
|
+
fontFamily: _tokens.tokens.fontFamilyBase,
|
|
43
|
+
fontSize: _tokens.tokens.fontSizeBase200,
|
|
44
|
+
fontWeight: _tokens.tokens.fontWeightSemibold,
|
|
45
|
+
lineHeight: _tokens.tokens.lineHeightBase200
|
|
46
|
+
},
|
|
47
|
+
caption1Stronger: {
|
|
48
|
+
fontFamily: _tokens.tokens.fontFamilyBase,
|
|
49
|
+
fontSize: _tokens.tokens.fontSizeBase200,
|
|
50
|
+
fontWeight: _tokens.tokens.fontWeightBold,
|
|
51
|
+
lineHeight: _tokens.tokens.lineHeightBase200
|
|
52
|
+
},
|
|
53
|
+
caption2: {
|
|
54
|
+
fontFamily: _tokens.tokens.fontFamilyBase,
|
|
55
|
+
fontSize: _tokens.tokens.fontSizeBase100,
|
|
56
|
+
fontWeight: _tokens.tokens.fontWeightRegular,
|
|
57
|
+
lineHeight: _tokens.tokens.lineHeightBase100
|
|
58
|
+
},
|
|
59
|
+
caption2Strong: {
|
|
60
|
+
fontFamily: _tokens.tokens.fontFamilyBase,
|
|
61
|
+
fontSize: _tokens.tokens.fontSizeBase100,
|
|
62
|
+
fontWeight: _tokens.tokens.fontWeightSemibold,
|
|
63
|
+
lineHeight: _tokens.tokens.lineHeightBase100
|
|
64
|
+
},
|
|
65
|
+
subtitle1: {
|
|
66
|
+
fontFamily: _tokens.tokens.fontFamilyBase,
|
|
67
|
+
fontSize: _tokens.tokens.fontSizeBase500,
|
|
68
|
+
fontWeight: _tokens.tokens.fontWeightSemibold,
|
|
69
|
+
lineHeight: _tokens.tokens.lineHeightBase500
|
|
70
|
+
},
|
|
71
|
+
subtitle2: {
|
|
72
|
+
fontFamily: _tokens.tokens.fontFamilyBase,
|
|
73
|
+
fontSize: _tokens.tokens.fontSizeBase400,
|
|
74
|
+
fontWeight: _tokens.tokens.fontWeightSemibold,
|
|
75
|
+
lineHeight: _tokens.tokens.lineHeightBase400
|
|
76
|
+
},
|
|
77
|
+
subtitle2Stronger: {
|
|
78
|
+
fontFamily: _tokens.tokens.fontFamilyBase,
|
|
79
|
+
fontSize: _tokens.tokens.fontSizeBase400,
|
|
80
|
+
fontWeight: _tokens.tokens.fontWeightBold,
|
|
81
|
+
lineHeight: _tokens.tokens.lineHeightBase400
|
|
82
|
+
},
|
|
83
|
+
title1: {
|
|
84
|
+
fontFamily: _tokens.tokens.fontFamilyBase,
|
|
85
|
+
fontSize: _tokens.tokens.fontSizeHero800,
|
|
86
|
+
fontWeight: _tokens.tokens.fontWeightSemibold,
|
|
87
|
+
lineHeight: _tokens.tokens.lineHeightHero800
|
|
88
|
+
},
|
|
89
|
+
title2: {
|
|
90
|
+
fontFamily: _tokens.tokens.fontFamilyBase,
|
|
91
|
+
fontSize: _tokens.tokens.fontSizeHero700,
|
|
92
|
+
fontWeight: _tokens.tokens.fontWeightSemibold,
|
|
93
|
+
lineHeight: _tokens.tokens.lineHeightHero700
|
|
94
|
+
},
|
|
95
|
+
title3: {
|
|
96
|
+
fontFamily: _tokens.tokens.fontFamilyBase,
|
|
97
|
+
fontSize: _tokens.tokens.fontSizeBase600,
|
|
98
|
+
fontWeight: _tokens.tokens.fontWeightSemibold,
|
|
99
|
+
lineHeight: _tokens.tokens.lineHeightBase600
|
|
100
|
+
},
|
|
101
|
+
largeTitle: {
|
|
102
|
+
fontFamily: _tokens.tokens.fontFamilyBase,
|
|
103
|
+
fontSize: _tokens.tokens.fontSizeHero900,
|
|
104
|
+
fontWeight: _tokens.tokens.fontWeightSemibold,
|
|
105
|
+
lineHeight: _tokens.tokens.lineHeightHero900
|
|
106
|
+
},
|
|
107
|
+
display: {
|
|
108
|
+
fontFamily: _tokens.tokens.fontFamilyBase,
|
|
109
|
+
fontSize: _tokens.tokens.fontSizeHero1000,
|
|
110
|
+
fontWeight: _tokens.tokens.fontWeightSemibold,
|
|
111
|
+
lineHeight: _tokens.tokens.lineHeightHero1000
|
|
112
|
+
}
|
|
113
|
+
}; //# sourceMappingURL=typographyStyles.js.map
|
|
114
|
+
|
|
115
115
|
//# sourceMappingURL=typographyStyles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../lib/global/typographyStyles.js"],"sourcesContent":["import { tokens } from '../tokens';\n/**\n * Global typography styles (fontSize, fontWeight, and lineHeight)\n */\nexport const typographyStyles = {\n body1: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase300,\n fontWeight: tokens.fontWeightRegular,\n lineHeight: tokens.lineHeightBase300\n },\n body1Strong: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase300,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightBase300\n },\n body1Stronger: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase300,\n fontWeight: tokens.fontWeightBold,\n lineHeight: tokens.lineHeightBase300\n },\n body2: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase400,\n fontWeight: tokens.fontWeightRegular,\n lineHeight: tokens.lineHeightBase400\n },\n caption1: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase200,\n fontWeight: tokens.fontWeightRegular,\n lineHeight: tokens.lineHeightBase200\n },\n caption1Strong: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase200,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightBase200\n },\n caption1Stronger: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase200,\n fontWeight: tokens.fontWeightBold,\n lineHeight: tokens.lineHeightBase200\n },\n caption2: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase100,\n fontWeight: tokens.fontWeightRegular,\n lineHeight: tokens.lineHeightBase100\n },\n caption2Strong: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase100,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightBase100\n },\n subtitle1: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase500,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightBase500\n },\n subtitle2: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase400,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightBase400\n },\n subtitle2Stronger: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase400,\n fontWeight: tokens.fontWeightBold,\n lineHeight: tokens.lineHeightBase400\n },\n title1: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeHero800,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightHero800\n },\n title2: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeHero700,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightHero700\n },\n title3: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase600,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightBase600\n },\n largeTitle: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeHero900,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightHero900\n },\n display: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeHero1000,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightHero1000\n }\n};\n//# sourceMappingURL=typographyStyles.js.map"],"names":["typographyStyles","body1","fontFamily","tokens","fontFamilyBase","fontSize","fontSizeBase300","fontWeight","fontWeightRegular","lineHeight","lineHeightBase300","body1Strong","fontWeightSemibold","body1Stronger","fontWeightBold","body2","fontSizeBase400","lineHeightBase400","caption1","fontSizeBase200","lineHeightBase200","caption1Strong","caption1Stronger","caption2","fontSizeBase100","lineHeightBase100","caption2Strong","subtitle1","fontSizeBase500","lineHeightBase500","subtitle2","subtitle2Stronger","title1","fontSizeHero800","lineHeightHero800","title2","fontSizeHero700","lineHeightHero700","title3","fontSizeBase600","lineHeightBase600","largeTitle","fontSizeHero900","lineHeightHero900","display","fontSizeHero1000","lineHeightHero1000"],"mappings":"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"}
|
package/lib-commonjs/index.js
CHANGED
|
@@ -1,84 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
|
|
5
|
-
});
|
|
6
|
-
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
enumerable: true,
|
|
34
|
-
get: function () {
|
|
35
|
-
return index_1.webLightTheme;
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
var index_2 = /*#__PURE__*/require("./utils/index");
|
|
39
|
-
Object.defineProperty(exports, "createDarkTheme", {
|
|
40
|
-
enumerable: true,
|
|
41
|
-
get: function () {
|
|
42
|
-
return index_2.createDarkTheme;
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
Object.defineProperty(exports, "createHighContrastTheme", {
|
|
46
|
-
enumerable: true,
|
|
47
|
-
get: function () {
|
|
48
|
-
return index_2.createHighContrastTheme;
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
Object.defineProperty(exports, "createLightTheme", {
|
|
52
|
-
enumerable: true,
|
|
53
|
-
get: function () {
|
|
54
|
-
return index_2.createLightTheme;
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
Object.defineProperty(exports, "createTeamsDarkTheme", {
|
|
58
|
-
enumerable: true,
|
|
59
|
-
get: function () {
|
|
60
|
-
return index_2.createTeamsDarkTheme;
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
var themeToTokensObject_1 = /*#__PURE__*/require("./themeToTokensObject");
|
|
64
|
-
Object.defineProperty(exports, "themeToTokensObject", {
|
|
65
|
-
enumerable: true,
|
|
66
|
-
get: function () {
|
|
67
|
-
return themeToTokensObject_1.themeToTokensObject;
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
var tokens_1 = /*#__PURE__*/require("./tokens");
|
|
71
|
-
Object.defineProperty(exports, "tokens", {
|
|
72
|
-
enumerable: true,
|
|
73
|
-
get: function () {
|
|
74
|
-
return tokens_1.tokens;
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
var index_3 = /*#__PURE__*/require("./global/index");
|
|
78
|
-
Object.defineProperty(exports, "typographyStyles", {
|
|
79
|
-
enumerable: true,
|
|
80
|
-
get: function () {
|
|
81
|
-
return index_3.typographyStyles;
|
|
82
|
-
}
|
|
83
|
-
});
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: all[name]
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
teamsDarkTheme: ()=>_index.teamsDarkTheme,
|
|
13
|
+
teamsHighContrastTheme: ()=>_index.teamsHighContrastTheme,
|
|
14
|
+
teamsLightTheme: ()=>_index.teamsLightTheme,
|
|
15
|
+
webDarkTheme: ()=>_index.webDarkTheme,
|
|
16
|
+
webLightTheme: ()=>_index.webLightTheme,
|
|
17
|
+
createDarkTheme: ()=>_index1.createDarkTheme,
|
|
18
|
+
createHighContrastTheme: ()=>_index1.createHighContrastTheme,
|
|
19
|
+
createLightTheme: ()=>_index1.createLightTheme,
|
|
20
|
+
createTeamsDarkTheme: ()=>_index1.createTeamsDarkTheme,
|
|
21
|
+
themeToTokensObject: ()=>_themeToTokensObject.themeToTokensObject,
|
|
22
|
+
tokens: ()=>_tokens.tokens,
|
|
23
|
+
typographyStyles: ()=>_index2.typographyStyles
|
|
24
|
+
});
|
|
25
|
+
const _index = require("./themes/index");
|
|
26
|
+
const _index1 = require("./utils/index");
|
|
27
|
+
const _themeToTokensObject = require("./themeToTokensObject");
|
|
28
|
+
const _tokens = require("./tokens");
|
|
29
|
+
const _index2 = require("./global/index");
|
|
30
|
+
//# sourceMappingURL=index.js.map
|
|
31
|
+
|
|
84
32
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../lib/index.js"],"sourcesContent":["export { teamsDarkTheme, teamsHighContrastTheme, teamsLightTheme, webDarkTheme, webLightTheme } from './themes/index';\nexport { createDarkTheme, createHighContrastTheme, createLightTheme, createTeamsDarkTheme } from './utils/index';\nexport { themeToTokensObject } from './themeToTokensObject';\nexport { tokens } from './tokens';\nexport { typographyStyles } from './global/index';\n//# sourceMappingURL=index.js.map"],"names":["teamsDarkTheme","teamsHighContrastTheme","teamsLightTheme","webDarkTheme","webLightTheme","createDarkTheme","createHighContrastTheme","createLightTheme","createTeamsDarkTheme","themeToTokensObject","tokens","typographyStyles"],"mappings":";;;;;;;;;;;IAASA,cAAc,MAAdA,qBAAc;IAAEC,sBAAsB,MAAtBA,6BAAsB;IAAEC,eAAe,MAAfA,sBAAe;IAAEC,YAAY,MAAZA,mBAAY;IAAEC,aAAa,MAAbA,oBAAa;IACpFC,eAAe,MAAfA,uBAAe;IAAEC,uBAAuB,MAAvBA,+BAAuB;IAAEC,gBAAgB,MAAhBA,wBAAgB;IAAEC,oBAAoB,MAApBA,4BAAoB;IAChFC,mBAAmB,MAAnBA,wCAAmB;IACnBC,MAAM,MAANA,cAAM;IACNC,gBAAgB,MAAhBA,wBAAgB;;uBAJ4E;wBACJ;qCAC7D;wBACb;wBACU;CACjC,iCAAiC"}
|
|
@@ -1,13 +1,72 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
1
|
+
/* Names of colors used in shared color palette alias tokens for status. */ "use strict";
|
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: all[name]
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
statusSharedColorNames: ()=>statusSharedColorNames,
|
|
13
|
+
personaSharedColorNames: ()=>personaSharedColorNames,
|
|
14
|
+
unusedSharedColorNames: ()=>unusedSharedColorNames
|
|
5
15
|
});
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
16
|
+
const statusSharedColorNames = [
|
|
17
|
+
'red',
|
|
18
|
+
'green',
|
|
19
|
+
'darkOrange',
|
|
20
|
+
'yellow',
|
|
21
|
+
'berry',
|
|
22
|
+
'lightGreen',
|
|
23
|
+
'marigold'
|
|
24
|
+
];
|
|
25
|
+
const personaSharedColorNames = [
|
|
26
|
+
'darkRed',
|
|
27
|
+
'cranberry',
|
|
28
|
+
'pumpkin',
|
|
29
|
+
'peach',
|
|
30
|
+
'gold',
|
|
31
|
+
'brass',
|
|
32
|
+
'brown',
|
|
33
|
+
'forest',
|
|
34
|
+
'seafoam',
|
|
35
|
+
'darkGreen',
|
|
36
|
+
'lightTeal',
|
|
37
|
+
'teal',
|
|
38
|
+
'steel',
|
|
39
|
+
'blue',
|
|
40
|
+
'royalBlue',
|
|
41
|
+
'cornflower',
|
|
42
|
+
'navy',
|
|
43
|
+
'lavender',
|
|
44
|
+
'purple',
|
|
45
|
+
'grape',
|
|
46
|
+
'lilac',
|
|
47
|
+
'pink',
|
|
48
|
+
'magenta',
|
|
49
|
+
'plum',
|
|
50
|
+
'beige',
|
|
51
|
+
'mink',
|
|
52
|
+
'platinum',
|
|
53
|
+
'anchor'
|
|
54
|
+
];
|
|
55
|
+
const unusedSharedColorNames = [
|
|
56
|
+
'burgundy',
|
|
57
|
+
'bronze',
|
|
58
|
+
'orange',
|
|
59
|
+
'darkBrown',
|
|
60
|
+
'lime',
|
|
61
|
+
'darkTeal',
|
|
62
|
+
'cyan',
|
|
63
|
+
'lightBlue',
|
|
64
|
+
'darkBlue',
|
|
65
|
+
'darkPurple',
|
|
66
|
+
'orchid',
|
|
67
|
+
'hotPink',
|
|
68
|
+
'silver',
|
|
69
|
+
'charcoal'
|
|
70
|
+
]; //# sourceMappingURL=sharedColorNames.js.map
|
|
71
|
+
|
|
13
72
|
//# sourceMappingURL=sharedColorNames.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../lib/sharedColorNames.js"],"sourcesContent":["/* Names of colors used in shared color palette alias tokens for status. */export const statusSharedColorNames = ['red', 'green', 'darkOrange', 'yellow', 'berry', 'lightGreen', 'marigold'];\n/* Names of colors used in shared color palette alias tokens for persona. */\nexport const personaSharedColorNames = ['darkRed', 'cranberry', 'pumpkin', 'peach', 'gold', 'brass', 'brown', 'forest', 'seafoam', 'darkGreen', 'lightTeal', 'teal', 'steel', 'blue', 'royalBlue', 'cornflower', 'navy', 'lavender', 'purple', 'grape', 'lilac', 'pink', 'magenta', 'plum', 'beige', 'mink', 'platinum', 'anchor'];\n/* Names of colors not used in alias tokens but produced by token pipeline as global color tokens. */\nexport const unusedSharedColorNames = ['burgundy', 'bronze', 'orange', 'darkBrown', 'lime', 'darkTeal', 'cyan', 'lightBlue', 'darkBlue', 'darkPurple', 'orchid', 'hotPink', 'silver', 'charcoal'];\n//# sourceMappingURL=sharedColorNames.js.map"],"names":["statusSharedColorNames","personaSharedColorNames","unusedSharedColorNames"],"mappings":"AAAA,yEAAyE;;;;;;;;;;;IAAeA,sBAAsB,MAAtBA;IAE3EC,uBAAuB,MAAvBA;IAEAC,sBAAsB,MAAtBA;;AAJqE,MAAMF,yBAAyB;IAAC;IAAO;IAAS;IAAc;IAAU;IAAS;IAAc;CAAW;AAErL,MAAMC,0BAA0B;IAAC;IAAW;IAAa;IAAW;IAAS;IAAQ;IAAS;IAAS;IAAU;IAAW;IAAa;IAAa;IAAQ;IAAS;IAAQ;IAAa;IAAc;IAAQ;IAAY;IAAU;IAAS;IAAS;IAAQ;IAAW;IAAQ;IAAS;IAAQ;IAAY;CAAS;AAE3T,MAAMC,yBAAyB;IAAC;IAAY;IAAU;IAAU;IAAa;IAAQ;IAAY;IAAQ;IAAa;IAAY;IAAc;IAAU;IAAW;IAAU;CAAW,EACjM,4CAA4C"}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.themeToTokensObject = void 0;
|
|
7
1
|
/**
|
|
8
2
|
* Programmatically generates a tokens to css variables mapping object from the keys in a theme.
|
|
9
3
|
* This helps with ease of use as a user of a custom theme does not have to manually construct this object, but it could
|
|
@@ -11,14 +5,21 @@ exports.themeToTokensObject = void 0;
|
|
|
11
5
|
*
|
|
12
6
|
* @param theme - Theme from which to get the keys to generate the tokens to css variables mapping object
|
|
13
7
|
* @returns Tokens to css variables mapping object corresponding to the passed theme
|
|
14
|
-
*/
|
|
8
|
+
*/ "use strict";
|
|
9
|
+
Object.defineProperty(exports, "__esModule", {
|
|
10
|
+
value: true
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "themeToTokensObject", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: ()=>themeToTokensObject
|
|
15
|
+
});
|
|
15
16
|
function themeToTokensObject(theme) {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
|
|
17
|
+
const tokens = {};
|
|
18
|
+
const keys = Object.keys(theme);
|
|
19
|
+
for (const key of keys){
|
|
20
|
+
tokens[key] = `var(--${key})`;
|
|
21
|
+
}
|
|
22
|
+
return tokens;
|
|
23
|
+
} //# sourceMappingURL=themeToTokensObject.js.map
|
|
24
|
+
|
|
24
25
|
//# sourceMappingURL=themeToTokensObject.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../lib/themeToTokensObject.js"],"sourcesContent":["/**\n * Programmatically generates a tokens to css variables mapping object from the keys in a theme.\n * This helps with ease of use as a user of a custom theme does not have to manually construct this object, but it could\n * affect tree-shaking since bundlers do not know the shape of the output.\n *\n * @param theme - Theme from which to get the keys to generate the tokens to css variables mapping object\n * @returns Tokens to css variables mapping object corresponding to the passed theme\n */export function themeToTokensObject(theme) {\n const tokens = {};\n const keys = Object.keys(theme);\n for (const key of keys) {\n tokens[key] = `var(--${key})`;\n }\n return tokens;\n}\n//# sourceMappingURL=themeToTokensObject.js.map"],"names":["themeToTokensObject","theme","tokens","keys","Object","key"],"mappings":"AAAA;;;;;;;CAOC;;;;+BAAkBA;;aAAAA;;AAAT,SAASA,oBAAoBC,KAAK,EAAE;IAC5C,MAAMC,SAAS,CAAC;IAChB,MAAMC,OAAOC,OAAOD,IAAI,CAACF;IACzB,KAAK,MAAMI,OAAOF,KAAM;QACtBD,MAAM,CAACG,IAAI,GAAG,CAAC,MAAM,EAAEA,IAAI,CAAC,CAAC;IAC/B;IACA,OAAOH;AACT,EACA,+CAA+C"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
|
|
3
|
+
value: true
|
|
5
4
|
});
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
|
|
6
|
+
_exportStar(require("./teams/index"), exports);
|
|
7
|
+
_exportStar(require("./web/index"), exports);
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
9
|
+
|
|
9
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../lib/themes/index.js"],"sourcesContent":["export * from './teams/index';\nexport * from './web/index';\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;oBAAc;oBACA;CACd,iCAAiC"}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "teamsDarkTheme", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: ()=>teamsDarkTheme
|
|
5
8
|
});
|
|
6
|
-
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
|
|
9
|
+
const _createTeamsDarkTheme = require("../../utils/createTeamsDarkTheme");
|
|
10
|
+
const _brandColors = require("../../global/brandColors");
|
|
11
|
+
const teamsDarkTheme = /*#__PURE__*/ (0, _createTeamsDarkTheme.createTeamsDarkTheme)(_brandColors.brandTeams); //# sourceMappingURL=darkTheme.js.map
|
|
12
|
+
|
|
10
13
|
//# sourceMappingURL=darkTheme.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../../lib/themes/teams/darkTheme.js"],"sourcesContent":["import { createTeamsDarkTheme } from '../../utils/createTeamsDarkTheme';\nimport { brandTeams } from '../../global/brandColors';\nexport const teamsDarkTheme = /*#__PURE__*/createTeamsDarkTheme(brandTeams);\n//# sourceMappingURL=darkTheme.js.map"],"names":["teamsDarkTheme","createTeamsDarkTheme","brandTeams"],"mappings":";;;;+BAEaA;;aAAAA;;sCAFwB;6BACV;AACpB,MAAMA,iBAAiB,WAAW,GAAEC,IAAAA,0CAAoB,EAACC,uBAAU,GAC1E,qCAAqC"}
|