@fluentui/tokens 1.0.0-alpha.2 → 1.0.0-alpha.20

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 (230) hide show
  1. package/CHANGELOG.md +167 -2
  2. package/dist/index.d.ts +44 -2
  3. package/lib/alias/darkColor.js +169 -155
  4. package/lib/alias/darkColor.js.map +1 -1
  5. package/lib/alias/darkColorPalette.js +57 -32
  6. package/lib/alias/darkColorPalette.js.map +1 -1
  7. package/lib/alias/highContrastColor.js +169 -155
  8. package/lib/alias/highContrastColor.js.map +1 -1
  9. package/lib/alias/highContrastColorPalette.js +50 -29
  10. package/lib/alias/highContrastColorPalette.js.map +1 -1
  11. package/lib/alias/lightColor.js +169 -155
  12. package/lib/alias/lightColor.js.map +1 -1
  13. package/lib/alias/lightColorPalette.js +53 -29
  14. package/lib/alias/lightColorPalette.js.map +1 -1
  15. package/lib/alias/teamsDarkColor.js +169 -155
  16. package/lib/alias/teamsDarkColor.js.map +1 -1
  17. package/lib/global/borderRadius.js +6 -7
  18. package/lib/global/borderRadius.js.map +1 -1
  19. package/lib/global/brandColors.js +48 -49
  20. package/lib/global/brandColors.js.map +1 -1
  21. package/lib/global/colorPalette.js +41 -37
  22. package/lib/global/colorPalette.js.map +1 -1
  23. package/lib/global/colors.js +693 -675
  24. package/lib/global/colors.js.map +1 -1
  25. package/lib/global/curves.js +9 -10
  26. package/lib/global/curves.js.map +1 -1
  27. package/lib/global/durations.js +8 -8
  28. package/lib/global/durations.js.map +1 -1
  29. package/lib/global/fonts.js +27 -30
  30. package/lib/global/fonts.js.map +1 -1
  31. package/lib/global/index.js +8 -10
  32. package/lib/global/index.js.map +1 -1
  33. package/lib/global/spacings.js +33 -34
  34. package/lib/global/spacings.js.map +1 -1
  35. package/lib/global/strokeWidths.js +4 -5
  36. package/lib/global/strokeWidths.js.map +1 -1
  37. package/lib/global/typographyStyles.js +104 -107
  38. package/lib/global/typographyStyles.js.map +1 -1
  39. package/lib/index.js +5 -6
  40. package/lib/index.js.map +1 -1
  41. package/lib/sharedColorNames.js +60 -9
  42. package/lib/sharedColorNames.js.map +1 -1
  43. package/lib/statusColorMapping.js +5 -0
  44. package/lib/statusColorMapping.js.map +1 -0
  45. package/lib/themeToTokensObject.js +7 -11
  46. package/lib/themeToTokensObject.js.map +1 -1
  47. package/lib/themes/index.js +2 -3
  48. package/lib/themes/index.js.map +1 -1
  49. package/lib/themes/teams/darkTheme.js +3 -4
  50. package/lib/themes/teams/darkTheme.js.map +1 -1
  51. package/lib/themes/teams/highContrastTheme.js +2 -3
  52. package/lib/themes/teams/highContrastTheme.js.map +1 -1
  53. package/lib/themes/teams/index.js +3 -4
  54. package/lib/themes/teams/index.js.map +1 -1
  55. package/lib/themes/teams/lightTheme.js +3 -4
  56. package/lib/themes/teams/lightTheme.js.map +1 -1
  57. package/lib/themes/web/darkTheme.js +3 -4
  58. package/lib/themes/web/darkTheme.js.map +1 -1
  59. package/lib/themes/web/index.js +2 -3
  60. package/lib/themes/web/index.js.map +1 -1
  61. package/lib/themes/web/lightTheme.js +3 -4
  62. package/lib/themes/web/lightTheme.js.map +1 -1
  63. package/lib/tokens.js +523 -433
  64. package/lib/tokens.js.map +1 -1
  65. package/lib/types.js +1 -2
  66. package/lib/types.js.map +1 -1
  67. package/lib/utils/createDarkTheme.js +26 -25
  68. package/lib/utils/createDarkTheme.js.map +1 -1
  69. package/lib/utils/createHighContrastTheme.js +26 -25
  70. package/lib/utils/createHighContrastTheme.js.map +1 -1
  71. package/lib/utils/createLightTheme.js +26 -25
  72. package/lib/utils/createLightTheme.js.map +1 -1
  73. package/lib/utils/createTeamsDarkTheme.js +26 -25
  74. package/lib/utils/createTeamsDarkTheme.js.map +1 -1
  75. package/lib/utils/index.js +4 -5
  76. package/lib/utils/index.js.map +1 -1
  77. package/lib/utils/shadows.js +8 -9
  78. package/lib/utils/shadows.js.map +1 -1
  79. package/lib-commonjs/alias/darkColor.js +176 -162
  80. package/lib-commonjs/alias/darkColor.js.map +1 -1
  81. package/lib-commonjs/alias/darkColorPalette.js +84 -50
  82. package/lib-commonjs/alias/darkColorPalette.js.map +1 -1
  83. package/lib-commonjs/alias/highContrastColor.js +176 -162
  84. package/lib-commonjs/alias/highContrastColor.js.map +1 -1
  85. package/lib-commonjs/alias/highContrastColorPalette.js +68 -38
  86. package/lib-commonjs/alias/highContrastColorPalette.js.map +1 -1
  87. package/lib-commonjs/alias/lightColor.js +176 -162
  88. package/lib-commonjs/alias/lightColor.js.map +1 -1
  89. package/lib-commonjs/alias/lightColorPalette.js +72 -39
  90. package/lib-commonjs/alias/lightColorPalette.js.map +1 -1
  91. package/lib-commonjs/alias/teamsDarkColor.js +176 -162
  92. package/lib-commonjs/alias/teamsDarkColor.js.map +1 -1
  93. package/lib-commonjs/global/borderRadius.js +14 -11
  94. package/lib-commonjs/global/borderRadius.js.map +1 -1
  95. package/lib-commonjs/global/brandColors.js +69 -55
  96. package/lib-commonjs/global/brandColors.js.map +1 -1
  97. package/lib-commonjs/global/colorPalette.js +61 -44
  98. package/lib-commonjs/global/colorPalette.js.map +1 -1
  99. package/lib-commonjs/global/colors.js +1012 -794
  100. package/lib-commonjs/global/colors.js.map +1 -1
  101. package/lib-commonjs/global/curves.js +17 -14
  102. package/lib-commonjs/global/curves.js.map +1 -1
  103. package/lib-commonjs/global/durations.js +16 -12
  104. package/lib-commonjs/global/durations.js.map +1 -1
  105. package/lib-commonjs/global/fonts.js +52 -37
  106. package/lib-commonjs/global/fonts.js.map +1 -1
  107. package/lib-commonjs/global/index.js +245 -23
  108. package/lib-commonjs/global/index.js.map +1 -1
  109. package/lib-commonjs/global/spacings.js +51 -40
  110. package/lib-commonjs/global/spacings.js.map +1 -1
  111. package/lib-commonjs/global/strokeWidths.js +12 -9
  112. package/lib-commonjs/global/strokeWidths.js.map +1 -1
  113. package/lib-commonjs/global/typographyStyles.js +111 -114
  114. package/lib-commonjs/global/typographyStyles.js.map +1 -1
  115. package/lib-commonjs/index.js +51 -92
  116. package/lib-commonjs/index.js.map +1 -1
  117. package/lib-commonjs/sharedColorNames.js +82 -14
  118. package/lib-commonjs/sharedColorNames.js.map +1 -1
  119. package/lib-commonjs/statusColorMapping.js +15 -0
  120. package/lib-commonjs/statusColorMapping.js.map +1 -0
  121. package/lib-commonjs/themeToTokensObject.js +13 -23
  122. package/lib-commonjs/themeToTokensObject.js.map +1 -1
  123. package/lib-commonjs/themes/index.js +26 -9
  124. package/lib-commonjs/themes/index.js.map +1 -1
  125. package/lib-commonjs/themes/teams/darkTheme.js +10 -10
  126. package/lib-commonjs/themes/teams/darkTheme.js.map +1 -1
  127. package/lib-commonjs/themes/teams/highContrastTheme.js +9 -8
  128. package/lib-commonjs/themes/teams/highContrastTheme.js.map +1 -1
  129. package/lib-commonjs/themes/teams/index.js +21 -11
  130. package/lib-commonjs/themes/teams/index.js.map +1 -1
  131. package/lib-commonjs/themes/teams/lightTheme.js +10 -10
  132. package/lib-commonjs/themes/teams/lightTheme.js.map +1 -1
  133. package/lib-commonjs/themes/web/darkTheme.js +10 -10
  134. package/lib-commonjs/themes/web/darkTheme.js.map +1 -1
  135. package/lib-commonjs/themes/web/index.js +17 -9
  136. package/lib-commonjs/themes/web/index.js.map +1 -1
  137. package/lib-commonjs/themes/web/lightTheme.js +10 -10
  138. package/lib-commonjs/themes/web/lightTheme.js.map +1 -1
  139. package/lib-commonjs/tokens.js +531 -437
  140. package/lib-commonjs/tokens.js.map +1 -1
  141. package/lib-commonjs/types.js +1 -3
  142. package/lib-commonjs/types.js.map +1 -1
  143. package/lib-commonjs/utils/createDarkTheme.js +33 -38
  144. package/lib-commonjs/utils/createDarkTheme.js.map +1 -1
  145. package/lib-commonjs/utils/createHighContrastTheme.js +33 -38
  146. package/lib-commonjs/utils/createHighContrastTheme.js.map +1 -1
  147. package/lib-commonjs/utils/createLightTheme.js +33 -38
  148. package/lib-commonjs/utils/createLightTheme.js.map +1 -1
  149. package/lib-commonjs/utils/createTeamsDarkTheme.js +33 -38
  150. package/lib-commonjs/utils/createTeamsDarkTheme.js.map +1 -1
  151. package/lib-commonjs/utils/index.js +25 -13
  152. package/lib-commonjs/utils/index.js.map +1 -1
  153. package/lib-commonjs/utils/shadows.js +15 -15
  154. package/lib-commonjs/utils/shadows.js.map +1 -1
  155. package/package.json +11 -15
  156. package/CHANGELOG.json +0 -35
  157. package/lib-amd/alias/darkColor.js +0 -158
  158. package/lib-amd/alias/darkColor.js.map +0 -1
  159. package/lib-amd/alias/darkColorPalette.js +0 -47
  160. package/lib-amd/alias/darkColorPalette.js.map +0 -1
  161. package/lib-amd/alias/highContrastColor.js +0 -158
  162. package/lib-amd/alias/highContrastColor.js.map +0 -1
  163. package/lib-amd/alias/highContrastColorPalette.js +0 -37
  164. package/lib-amd/alias/highContrastColorPalette.js.map +0 -1
  165. package/lib-amd/alias/lightColor.js +0 -158
  166. package/lib-amd/alias/lightColor.js.map +0 -1
  167. package/lib-amd/alias/lightColorPalette.js +0 -38
  168. package/lib-amd/alias/lightColorPalette.js.map +0 -1
  169. package/lib-amd/alias/teamsDarkColor.js +0 -158
  170. package/lib-amd/alias/teamsDarkColor.js.map +0 -1
  171. package/lib-amd/global/borderRadius.js +0 -14
  172. package/lib-amd/global/borderRadius.js.map +0 -1
  173. package/lib-amd/global/brandColors.js +0 -60
  174. package/lib-amd/global/brandColors.js.map +0 -1
  175. package/lib-amd/global/colorPalette.js +0 -45
  176. package/lib-amd/global/colorPalette.js.map +0 -1
  177. package/lib-amd/global/colors.js +0 -793
  178. package/lib-amd/global/colors.js.map +0 -1
  179. package/lib-amd/global/curves.js +0 -17
  180. package/lib-amd/global/curves.js.map +0 -1
  181. package/lib-amd/global/durations.js +0 -15
  182. package/lib-amd/global/durations.js.map +0 -1
  183. package/lib-amd/global/fonts.js +0 -45
  184. package/lib-amd/global/fonts.js.map +0 -1
  185. package/lib-amd/global/index.js +0 -14
  186. package/lib-amd/global/index.js.map +0 -1
  187. package/lib-amd/global/spacings.js +0 -46
  188. package/lib-amd/global/spacings.js.map +0 -1
  189. package/lib-amd/global/strokeWidths.js +0 -12
  190. package/lib-amd/global/strokeWidths.js.map +0 -1
  191. package/lib-amd/global/typographyStyles.js +0 -113
  192. package/lib-amd/global/typographyStyles.js.map +0 -1
  193. package/lib-amd/index.js +0 -18
  194. package/lib-amd/index.js.map +0 -1
  195. package/lib-amd/sharedColorNames.js +0 -64
  196. package/lib-amd/sharedColorNames.js.map +0 -1
  197. package/lib-amd/themeToTokensObject.js +0 -24
  198. package/lib-amd/themeToTokensObject.js.map +0 -1
  199. package/lib-amd/themes/index.js +0 -7
  200. package/lib-amd/themes/index.js.map +0 -1
  201. package/lib-amd/themes/teams/darkTheme.js +0 -7
  202. package/lib-amd/themes/teams/darkTheme.js.map +0 -1
  203. package/lib-amd/themes/teams/highContrastTheme.js +0 -7
  204. package/lib-amd/themes/teams/highContrastTheme.js.map +0 -1
  205. package/lib-amd/themes/teams/index.js +0 -8
  206. package/lib-amd/themes/teams/index.js.map +0 -1
  207. package/lib-amd/themes/teams/lightTheme.js +0 -7
  208. package/lib-amd/themes/teams/lightTheme.js.map +0 -1
  209. package/lib-amd/themes/web/darkTheme.js +0 -7
  210. package/lib-amd/themes/web/darkTheme.js.map +0 -1
  211. package/lib-amd/themes/web/index.js +0 -7
  212. package/lib-amd/themes/web/index.js.map +0 -1
  213. package/lib-amd/themes/web/lightTheme.js +0 -7
  214. package/lib-amd/themes/web/lightTheme.js.map +0 -1
  215. package/lib-amd/tokens.js +0 -440
  216. package/lib-amd/tokens.js.map +0 -1
  217. package/lib-amd/types.js +0 -5
  218. package/lib-amd/types.js.map +0 -1
  219. package/lib-amd/utils/createDarkTheme.js +0 -11
  220. package/lib-amd/utils/createDarkTheme.js.map +0 -1
  221. package/lib-amd/utils/createHighContrastTheme.js +0 -11
  222. package/lib-amd/utils/createHighContrastTheme.js.map +0 -1
  223. package/lib-amd/utils/createLightTheme.js +0 -11
  224. package/lib-amd/utils/createLightTheme.js.map +0 -1
  225. package/lib-amd/utils/createTeamsDarkTheme.js +0 -11
  226. package/lib-amd/utils/createTeamsDarkTheme.js.map +0 -1
  227. package/lib-amd/utils/index.js +0 -9
  228. package/lib-amd/utils/index.js.map +0 -1
  229. package/lib-amd/utils/shadows.js +0 -19
  230. package/lib-amd/utils/shadows.js.map +0 -1
@@ -1,110 +1,107 @@
1
- import { tokens } from '../tokens';
1
+ import { tokens } from "../tokens.js";
2
2
  /**
3
3
  * Global typography styles (fontSize, fontWeight, and lineHeight)
4
- */
5
-
6
- export const typographyStyles = {
7
- body1: {
8
- fontFamily: tokens.fontFamilyBase,
9
- fontSize: tokens.fontSizeBase300,
10
- fontWeight: tokens.fontWeightRegular,
11
- lineHeight: tokens.lineHeightBase300
12
- },
13
- body1Strong: {
14
- fontFamily: tokens.fontFamilyBase,
15
- fontSize: tokens.fontSizeBase300,
16
- fontWeight: tokens.fontWeightSemibold,
17
- lineHeight: tokens.lineHeightBase300
18
- },
19
- body1Stronger: {
20
- fontFamily: tokens.fontFamilyBase,
21
- fontSize: tokens.fontSizeBase300,
22
- fontWeight: tokens.fontWeightBold,
23
- lineHeight: tokens.lineHeightBase300
24
- },
25
- body2: {
26
- fontFamily: tokens.fontFamilyBase,
27
- fontSize: tokens.fontSizeBase400,
28
- fontWeight: tokens.fontWeightRegular,
29
- lineHeight: tokens.lineHeightBase400
30
- },
31
- caption1: {
32
- fontFamily: tokens.fontFamilyBase,
33
- fontSize: tokens.fontSizeBase200,
34
- fontWeight: tokens.fontWeightRegular,
35
- lineHeight: tokens.lineHeightBase200
36
- },
37
- caption1Strong: {
38
- fontFamily: tokens.fontFamilyBase,
39
- fontSize: tokens.fontSizeBase200,
40
- fontWeight: tokens.fontWeightSemibold,
41
- lineHeight: tokens.lineHeightBase200
42
- },
43
- caption1Stronger: {
44
- fontFamily: tokens.fontFamilyBase,
45
- fontSize: tokens.fontSizeBase200,
46
- fontWeight: tokens.fontWeightBold,
47
- lineHeight: tokens.lineHeightBase200
48
- },
49
- caption2: {
50
- fontFamily: tokens.fontFamilyBase,
51
- fontSize: tokens.fontSizeBase100,
52
- fontWeight: tokens.fontWeightRegular,
53
- lineHeight: tokens.lineHeightBase100
54
- },
55
- caption2Strong: {
56
- fontFamily: tokens.fontFamilyBase,
57
- fontSize: tokens.fontSizeBase100,
58
- fontWeight: tokens.fontWeightSemibold,
59
- lineHeight: tokens.lineHeightBase100
60
- },
61
- subtitle1: {
62
- fontFamily: tokens.fontFamilyBase,
63
- fontSize: tokens.fontSizeBase500,
64
- fontWeight: tokens.fontWeightSemibold,
65
- lineHeight: tokens.lineHeightBase500
66
- },
67
- subtitle2: {
68
- fontFamily: tokens.fontFamilyBase,
69
- fontSize: tokens.fontSizeBase400,
70
- fontWeight: tokens.fontWeightSemibold,
71
- lineHeight: tokens.lineHeightBase400
72
- },
73
- subtitle2Stronger: {
74
- fontFamily: tokens.fontFamilyBase,
75
- fontSize: tokens.fontSizeBase400,
76
- fontWeight: tokens.fontWeightBold,
77
- lineHeight: tokens.lineHeightBase400
78
- },
79
- title1: {
80
- fontFamily: tokens.fontFamilyBase,
81
- fontSize: tokens.fontSizeHero800,
82
- fontWeight: tokens.fontWeightSemibold,
83
- lineHeight: tokens.lineHeightHero800
84
- },
85
- title2: {
86
- fontFamily: tokens.fontFamilyBase,
87
- fontSize: tokens.fontSizeHero700,
88
- fontWeight: tokens.fontWeightSemibold,
89
- lineHeight: tokens.lineHeightHero700
90
- },
91
- title3: {
92
- fontFamily: tokens.fontFamilyBase,
93
- fontSize: tokens.fontSizeBase600,
94
- fontWeight: tokens.fontWeightSemibold,
95
- lineHeight: tokens.lineHeightBase600
96
- },
97
- largeTitle: {
98
- fontFamily: tokens.fontFamilyBase,
99
- fontSize: tokens.fontSizeHero900,
100
- fontWeight: tokens.fontWeightSemibold,
101
- lineHeight: tokens.lineHeightHero900
102
- },
103
- display: {
104
- fontFamily: tokens.fontFamilyBase,
105
- fontSize: tokens.fontSizeHero1000,
106
- fontWeight: tokens.fontWeightSemibold,
107
- lineHeight: tokens.lineHeightHero1000
108
- }
4
+ */ export const typographyStyles = {
5
+ body1: {
6
+ fontFamily: tokens.fontFamilyBase,
7
+ fontSize: tokens.fontSizeBase300,
8
+ fontWeight: tokens.fontWeightRegular,
9
+ lineHeight: tokens.lineHeightBase300
10
+ },
11
+ body1Strong: {
12
+ fontFamily: tokens.fontFamilyBase,
13
+ fontSize: tokens.fontSizeBase300,
14
+ fontWeight: tokens.fontWeightSemibold,
15
+ lineHeight: tokens.lineHeightBase300
16
+ },
17
+ body1Stronger: {
18
+ fontFamily: tokens.fontFamilyBase,
19
+ fontSize: tokens.fontSizeBase300,
20
+ fontWeight: tokens.fontWeightBold,
21
+ lineHeight: tokens.lineHeightBase300
22
+ },
23
+ body2: {
24
+ fontFamily: tokens.fontFamilyBase,
25
+ fontSize: tokens.fontSizeBase400,
26
+ fontWeight: tokens.fontWeightRegular,
27
+ lineHeight: tokens.lineHeightBase400
28
+ },
29
+ caption1: {
30
+ fontFamily: tokens.fontFamilyBase,
31
+ fontSize: tokens.fontSizeBase200,
32
+ fontWeight: tokens.fontWeightRegular,
33
+ lineHeight: tokens.lineHeightBase200
34
+ },
35
+ caption1Strong: {
36
+ fontFamily: tokens.fontFamilyBase,
37
+ fontSize: tokens.fontSizeBase200,
38
+ fontWeight: tokens.fontWeightSemibold,
39
+ lineHeight: tokens.lineHeightBase200
40
+ },
41
+ caption1Stronger: {
42
+ fontFamily: tokens.fontFamilyBase,
43
+ fontSize: tokens.fontSizeBase200,
44
+ fontWeight: tokens.fontWeightBold,
45
+ lineHeight: tokens.lineHeightBase200
46
+ },
47
+ caption2: {
48
+ fontFamily: tokens.fontFamilyBase,
49
+ fontSize: tokens.fontSizeBase100,
50
+ fontWeight: tokens.fontWeightRegular,
51
+ lineHeight: tokens.lineHeightBase100
52
+ },
53
+ caption2Strong: {
54
+ fontFamily: tokens.fontFamilyBase,
55
+ fontSize: tokens.fontSizeBase100,
56
+ fontWeight: tokens.fontWeightSemibold,
57
+ lineHeight: tokens.lineHeightBase100
58
+ },
59
+ subtitle1: {
60
+ fontFamily: tokens.fontFamilyBase,
61
+ fontSize: tokens.fontSizeBase500,
62
+ fontWeight: tokens.fontWeightSemibold,
63
+ lineHeight: tokens.lineHeightBase500
64
+ },
65
+ subtitle2: {
66
+ fontFamily: tokens.fontFamilyBase,
67
+ fontSize: tokens.fontSizeBase400,
68
+ fontWeight: tokens.fontWeightSemibold,
69
+ lineHeight: tokens.lineHeightBase400
70
+ },
71
+ subtitle2Stronger: {
72
+ fontFamily: tokens.fontFamilyBase,
73
+ fontSize: tokens.fontSizeBase400,
74
+ fontWeight: tokens.fontWeightBold,
75
+ lineHeight: tokens.lineHeightBase400
76
+ },
77
+ title1: {
78
+ fontFamily: tokens.fontFamilyBase,
79
+ fontSize: tokens.fontSizeHero800,
80
+ fontWeight: tokens.fontWeightSemibold,
81
+ lineHeight: tokens.lineHeightHero800
82
+ },
83
+ title2: {
84
+ fontFamily: tokens.fontFamilyBase,
85
+ fontSize: tokens.fontSizeHero700,
86
+ fontWeight: tokens.fontWeightSemibold,
87
+ lineHeight: tokens.lineHeightHero700
88
+ },
89
+ title3: {
90
+ fontFamily: tokens.fontFamilyBase,
91
+ fontSize: tokens.fontSizeBase600,
92
+ fontWeight: tokens.fontWeightSemibold,
93
+ lineHeight: tokens.lineHeightBase600
94
+ },
95
+ largeTitle: {
96
+ fontFamily: tokens.fontFamilyBase,
97
+ fontSize: tokens.fontSizeHero900,
98
+ fontWeight: tokens.fontWeightSemibold,
99
+ lineHeight: tokens.lineHeightHero900
100
+ },
101
+ display: {
102
+ fontFamily: tokens.fontFamilyBase,
103
+ fontSize: tokens.fontSizeHero1000,
104
+ fontWeight: tokens.fontWeightSemibold,
105
+ lineHeight: tokens.lineHeightHero1000
106
+ }
109
107
  };
110
- //# sourceMappingURL=typographyStyles.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["packages/tokens/src/global/typographyStyles.ts"],"names":[],"mappings":"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","sourcesContent":["import { tokens } from '../tokens';\nimport { TypographyStyles } from '../types';\n\n/**\n * Global typography styles (fontSize, fontWeight, and lineHeight)\n */\nexport const typographyStyles: 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"],"sourceRoot":"../src/"}
1
+ {"version":3,"sources":["../src/global/typographyStyles.ts"],"sourcesContent":["import { tokens } from '../tokens';\nimport { TypographyStyles } from '../types';\n\n/**\n * Global typography styles (fontSize, fontWeight, and lineHeight)\n */\nexport const typographyStyles: 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"],"names":["tokens","typographyStyles","body1","fontFamily","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"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"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"}
package/lib/index.js CHANGED
@@ -1,6 +1,5 @@
1
- export { teamsDarkTheme, teamsHighContrastTheme, teamsLightTheme, webDarkTheme, 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
- //# sourceMappingURL=index.js.map
1
+ export { teamsDarkTheme, teamsHighContrastTheme, teamsLightTheme, webDarkTheme, webLightTheme } from "./themes/index.js";
2
+ export { createDarkTheme, createHighContrastTheme, createLightTheme, createTeamsDarkTheme } from "./utils/index.js";
3
+ export { themeToTokensObject } from "./themeToTokensObject.js";
4
+ export { tokens } from "./tokens.js";
5
+ export { typographyStyles } from "./global/index.js";
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["packages/tokens/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,eAAe,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AACtH,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAEjH,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC","sourcesContent":["export { teamsDarkTheme, teamsHighContrastTheme, teamsLightTheme, webDarkTheme, webLightTheme } from './themes/index';\nexport { createDarkTheme, createHighContrastTheme, createLightTheme, createTeamsDarkTheme } from './utils/index';\n\nexport { themeToTokensObject } from './themeToTokensObject';\nexport { tokens } from './tokens';\nexport { typographyStyles } from './global/index';\n\nexport type {\n Brands,\n BrandVariants,\n FontSizeTokens,\n FontWeightTokens,\n LineHeightTokens,\n BorderRadiusTokens,\n StrokeWidthTokens,\n SpacingTokens,\n HorizontalSpacingTokens,\n VerticalSpacingTokens,\n DurationTokens,\n CurveTokens,\n ShadowTokens,\n ShadowBrandTokens,\n FontFamilyTokens,\n ColorPaletteTokens,\n ColorPaletteDarkRed,\n ColorPaletteCranberry,\n ColorPaletteRed,\n ColorPaletteDarkOrange,\n ColorPalettePumpkin,\n ColorPalettePeach,\n ColorPaletteMarigold,\n ColorPaletteYellow,\n ColorPaletteGold,\n ColorPaletteBrass,\n ColorPaletteBrown,\n ColorPaletteForest,\n ColorPaletteSeafoam,\n ColorPaletteGreen,\n ColorPaletteLightGreen,\n ColorPaletteDarkGreen,\n ColorPaletteLightTeal,\n ColorPaletteTeal,\n ColorPaletteSteel,\n ColorPaletteBlue,\n ColorPaletteRoyalBlue,\n ColorPaletteCornflower,\n ColorPaletteNavy,\n ColorPaletteLavender,\n ColorPalettePurple,\n ColorPaletteGrape,\n ColorPaletteBerry,\n ColorPaletteLilac,\n ColorPalettePink,\n ColorPaletteMagenta,\n ColorPalettePlum,\n ColorPaletteBeige,\n ColorPaletteMink,\n ColorPalettePlatinum,\n ColorPaletteAnchor,\n ColorTokens,\n PartialTheme,\n Theme,\n TypographyStyle,\n TypographyStyles,\n} from './types';\n"]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { teamsDarkTheme, teamsHighContrastTheme, teamsLightTheme, webDarkTheme, webLightTheme } from './themes';\nexport { createDarkTheme, createHighContrastTheme, createLightTheme, createTeamsDarkTheme } from './utils';\n\nexport { themeToTokensObject } from './themeToTokensObject';\nexport { tokens } from './tokens';\nexport { typographyStyles } from './global';\n\nexport type {\n Brands,\n BrandVariants,\n FontSizeTokens,\n FontWeightTokens,\n LineHeightTokens,\n BorderRadiusTokens,\n StrokeWidthTokens,\n SpacingTokens,\n HorizontalSpacingTokens,\n VerticalSpacingTokens,\n DurationTokens,\n CurveTokens,\n ShadowTokens,\n ShadowBrandTokens,\n FontFamilyTokens,\n ColorPaletteTokens,\n ColorPaletteDarkRed,\n ColorPaletteCranberry,\n ColorPaletteRed,\n ColorPaletteDarkOrange,\n ColorPalettePumpkin,\n ColorPalettePeach,\n ColorPaletteMarigold,\n ColorPaletteYellow,\n ColorPaletteGold,\n ColorPaletteBrass,\n ColorPaletteBrown,\n ColorPaletteForest,\n ColorPaletteSeafoam,\n ColorPaletteGreen,\n ColorPaletteLightGreen,\n ColorPaletteDarkGreen,\n ColorPaletteLightTeal,\n ColorPaletteTeal,\n ColorPaletteSteel,\n ColorPaletteBlue,\n ColorPaletteRoyalBlue,\n ColorPaletteCornflower,\n ColorPaletteNavy,\n ColorPaletteLavender,\n ColorPalettePurple,\n ColorPaletteGrape,\n ColorPaletteBerry,\n ColorPaletteLilac,\n ColorPalettePink,\n ColorPaletteMagenta,\n ColorPalettePlum,\n ColorPaletteBeige,\n ColorPaletteMink,\n ColorPalettePlatinum,\n ColorPaletteAnchor,\n ColorTokens,\n PartialTheme,\n Theme,\n TypographyStyle,\n TypographyStyles,\n ZIndexTokens,\n} from './types';\n"],"names":["teamsDarkTheme","teamsHighContrastTheme","teamsLightTheme","webDarkTheme","webLightTheme","createDarkTheme","createHighContrastTheme","createLightTheme","createTeamsDarkTheme","themeToTokensObject","tokens","typographyStyles"],"rangeMappings":";;;;","mappings":"AAAA,SAASA,cAAc,EAAEC,sBAAsB,EAAEC,eAAe,EAAEC,YAAY,EAAEC,aAAa,QAAQ,oBAAW;AAChH,SAASC,eAAe,EAAEC,uBAAuB,EAAEC,gBAAgB,EAAEC,oBAAoB,QAAQ,mBAAU;AAE3G,SAASC,mBAAmB,QAAQ,2BAAwB;AAC5D,SAASC,MAAM,QAAQ,cAAW;AAClC,SAASC,gBAAgB,QAAQ,oBAAW"}
@@ -1,9 +1,60 @@
1
- /* Names of colors used in shared color palette alias tokens for status. */
2
- export const statusSharedColorNames = ['red', 'green', 'darkOrange', 'yellow', 'berry', 'lightGreen', 'marigold'];
3
- /* Names of colors used in shared color palette alias tokens for persona. */
4
-
5
- export 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'];
6
- /* Names of colors not used in alias tokens but produced by token pipeline as global color tokens. */
7
-
8
- export const unusedSharedColorNames = ['burgundy', 'bronze', 'orange', 'darkBrown', 'lime', 'darkTeal', 'cyan', 'lightBlue', 'darkBlue', 'darkPurple', 'orchid', 'hotPink', 'silver', 'charcoal'];
9
- //# sourceMappingURL=sharedColorNames.js.map
1
+ /* Names of colors used in shared color palette alias tokens for status. */ export const statusSharedColorNames = [
2
+ 'red',
3
+ 'green',
4
+ 'darkOrange',
5
+ 'yellow',
6
+ 'berry',
7
+ 'lightGreen',
8
+ 'marigold'
9
+ ];
10
+ /* Names of colors used in shared color palette alias tokens for persona. */ export const personaSharedColorNames = [
11
+ 'darkRed',
12
+ 'cranberry',
13
+ 'pumpkin',
14
+ 'peach',
15
+ 'gold',
16
+ 'brass',
17
+ 'brown',
18
+ 'forest',
19
+ 'seafoam',
20
+ 'darkGreen',
21
+ 'lightTeal',
22
+ 'teal',
23
+ 'steel',
24
+ 'blue',
25
+ 'royalBlue',
26
+ 'cornflower',
27
+ 'navy',
28
+ 'lavender',
29
+ 'purple',
30
+ 'grape',
31
+ 'lilac',
32
+ 'pink',
33
+ 'magenta',
34
+ 'plum',
35
+ 'beige',
36
+ 'mink',
37
+ 'platinum',
38
+ 'anchor'
39
+ ];
40
+ /* List of global colors which semantic alias status tokens map to */ export const mappedStatusColorNames = [
41
+ 'cranberry',
42
+ 'green',
43
+ 'orange'
44
+ ];
45
+ /* Names of colors not used in alias tokens but produced by token pipeline as global color tokens. */ export const unusedSharedColorNames = [
46
+ 'burgundy',
47
+ 'bronze',
48
+ 'orange',
49
+ 'darkBrown',
50
+ 'lime',
51
+ 'darkTeal',
52
+ 'cyan',
53
+ 'lightBlue',
54
+ 'darkBlue',
55
+ 'darkPurple',
56
+ 'orchid',
57
+ 'hotPink',
58
+ 'silver',
59
+ 'charcoal'
60
+ ];
@@ -1 +1 @@
1
- {"version":3,"sources":["packages/tokens/src/sharedColorNames.ts"],"names":[],"mappings":"AAAA;AACA,OAAO,MAAM,sBAAsB,GAAG,CACpC,KADoC,EAEpC,OAFoC,EAGpC,YAHoC,EAIpC,QAJoC,EAKpC,OALoC,EAMpC,YANoC,EAOpC,UAPoC,CAA/B;AAUP;;AACA,OAAO,MAAM,uBAAuB,GAAG,CACrC,SADqC,EAErC,WAFqC,EAGrC,SAHqC,EAIrC,OAJqC,EAKrC,MALqC,EAMrC,OANqC,EAOrC,OAPqC,EAQrC,QARqC,EASrC,SATqC,EAUrC,WAVqC,EAWrC,WAXqC,EAYrC,MAZqC,EAarC,OAbqC,EAcrC,MAdqC,EAerC,WAfqC,EAgBrC,YAhBqC,EAiBrC,MAjBqC,EAkBrC,UAlBqC,EAmBrC,QAnBqC,EAoBrC,OApBqC,EAqBrC,OArBqC,EAsBrC,MAtBqC,EAuBrC,SAvBqC,EAwBrC,MAxBqC,EAyBrC,OAzBqC,EA0BrC,MA1BqC,EA2BrC,UA3BqC,EA4BrC,QA5BqC,CAAhC;AA+BP;;AACA,OAAO,MAAM,sBAAsB,GAAG,CACpC,UADoC,EAEpC,QAFoC,EAGpC,QAHoC,EAIpC,WAJoC,EAKpC,MALoC,EAMpC,UANoC,EAOpC,MAPoC,EAQpC,WARoC,EASpC,UAToC,EAUpC,YAVoC,EAWpC,QAXoC,EAYpC,SAZoC,EAapC,QAboC,EAcpC,UAdoC,CAA/B","sourcesContent":["/* Names of colors used in shared color palette alias tokens for status. */\nexport const statusSharedColorNames = [\n 'red',\n 'green',\n 'darkOrange',\n 'yellow',\n 'berry',\n 'lightGreen',\n 'marigold',\n] as const;\n\n/* Names of colors used in shared color palette alias tokens for persona. */\nexport const personaSharedColorNames = [\n 'darkRed',\n 'cranberry',\n 'pumpkin',\n 'peach',\n 'gold',\n 'brass',\n 'brown',\n 'forest',\n 'seafoam',\n 'darkGreen',\n 'lightTeal',\n 'teal',\n 'steel',\n 'blue',\n 'royalBlue',\n 'cornflower',\n 'navy',\n 'lavender',\n 'purple',\n 'grape',\n 'lilac',\n 'pink',\n 'magenta',\n 'plum',\n 'beige',\n 'mink',\n 'platinum',\n 'anchor',\n] as const;\n\n/* Names of colors not used in alias tokens but produced by token pipeline as global color tokens. */\nexport const unusedSharedColorNames = [\n 'burgundy',\n 'bronze',\n 'orange',\n 'darkBrown',\n 'lime',\n 'darkTeal',\n 'cyan',\n 'lightBlue',\n 'darkBlue',\n 'darkPurple',\n 'orchid',\n 'hotPink',\n 'silver',\n 'charcoal',\n] as const;\n"],"sourceRoot":"../src/"}
1
+ {"version":3,"sources":["../src/sharedColorNames.ts"],"sourcesContent":["/* Names of colors used in shared color palette alias tokens for status. */\nexport const statusSharedColorNames = [\n 'red',\n 'green',\n 'darkOrange',\n 'yellow',\n 'berry',\n 'lightGreen',\n 'marigold',\n] as const;\n\n/* Names of colors used in shared color palette alias tokens for persona. */\nexport const personaSharedColorNames = [\n 'darkRed',\n 'cranberry',\n 'pumpkin',\n 'peach',\n 'gold',\n 'brass',\n 'brown',\n 'forest',\n 'seafoam',\n 'darkGreen',\n 'lightTeal',\n 'teal',\n 'steel',\n 'blue',\n 'royalBlue',\n 'cornflower',\n 'navy',\n 'lavender',\n 'purple',\n 'grape',\n 'lilac',\n 'pink',\n 'magenta',\n 'plum',\n 'beige',\n 'mink',\n 'platinum',\n 'anchor',\n] as const;\n\n/* List of global colors which semantic alias status tokens map to */\nexport const mappedStatusColorNames = ['cranberry', 'green', 'orange'] as const;\n\n/* Names of colors not used in alias tokens but produced by token pipeline as global color tokens. */\nexport const unusedSharedColorNames = [\n 'burgundy',\n 'bronze',\n 'orange',\n 'darkBrown',\n 'lime',\n 'darkTeal',\n 'cyan',\n 'lightBlue',\n 'darkBlue',\n 'darkPurple',\n 'orchid',\n 'hotPink',\n 'silver',\n 'charcoal',\n] as const;\n"],"names":["statusSharedColorNames","personaSharedColorNames","mappedStatusColorNames","unusedSharedColorNames"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,yEAAyE,GACzE,OAAO,MAAMA,yBAAyB;IACpC;IACA;IACA;IACA;IACA;IACA;IACA;CACD,CAAU;AAEX,0EAA0E,GAC1E,OAAO,MAAMC,0BAA0B;IACrC;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;CACD,CAAU;AAEX,mEAAmE,GACnE,OAAO,MAAMC,yBAAyB;IAAC;IAAa;IAAS;CAAS,CAAU;AAEhF,mGAAmG,GACnG,OAAO,MAAMC,yBAAyB;IACpC;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;CACD,CAAU"}
@@ -0,0 +1,5 @@
1
+ export const statusColorMapping = {
2
+ success: 'green',
3
+ warning: 'orange',
4
+ danger: 'cranberry'
5
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/statusColorMapping.ts"],"sourcesContent":["import { MappedStatusColorNames } from './types';\n\nexport const statusColorMapping: Record<string, MappedStatusColorNames> = {\n success: 'green',\n warning: 'orange',\n danger: 'cranberry',\n};\n"],"names":["statusColorMapping","success","warning","danger"],"rangeMappings":";;;;","mappings":"AAEA,OAAO,MAAMA,qBAA6D;IACxEC,SAAS;IACTC,SAAS;IACTC,QAAQ;AACV,EAAE"}
@@ -5,15 +5,11 @@
5
5
  *
6
6
  * @param theme - Theme from which to get the keys to generate the tokens to css variables mapping object
7
7
  * @returns Tokens to css variables mapping object corresponding to the passed theme
8
- */
9
- export function themeToTokensObject(theme) {
10
- const tokens = {};
11
- const keys = Object.keys(theme);
12
-
13
- for (const key of keys) {
14
- tokens[key] = `var(--${key})`;
15
- }
16
-
17
- return tokens;
8
+ */ export function themeToTokensObject(theme) {
9
+ const tokens = {};
10
+ const keys = Object.keys(theme);
11
+ for (const key of keys){
12
+ tokens[key] = `var(--${String(key)})`;
13
+ }
14
+ return tokens;
18
15
  }
19
- //# sourceMappingURL=themeToTokensObject.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["packages/tokens/src/themeToTokensObject.ts"],"names":[],"mappings":"AAEA;;;;;;;AAOG;AACH,OAAM,SAAU,mBAAV,CAAoD,KAApD,EAAiE;EACrE,MAAM,MAAM,GAAG,EAAf;EACA,MAAM,IAAI,GAAG,MAAM,CAAC,IAAP,CAAY,KAAZ,CAAb;;EACA,KAAK,MAAM,GAAX,IAAkB,IAAlB,EAAwB;IACtB,MAAM,CAAC,GAAD,CAAN,GAAc,SAAS,GAAG,GAA1B;EACD;;EACD,OAAO,MAAP;AACD","sourcesContent":["import { Theme } from './types';\n\n/**\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 */\nexport function themeToTokensObject<TTheme extends Theme>(theme: TTheme): Record<keyof TTheme, string> {\n const tokens = {} as Record<keyof TTheme, string>;\n const keys = Object.keys(theme) as (keyof TTheme)[];\n for (const key of keys) {\n tokens[key] = `var(--${key})`;\n }\n return tokens;\n}\n"],"sourceRoot":"../src/"}
1
+ {"version":3,"sources":["../src/themeToTokensObject.ts"],"sourcesContent":["import { Theme } from './types';\n\n/**\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 */\nexport function themeToTokensObject<TTheme extends Theme>(theme: TTheme): Record<keyof TTheme, string> {\n const tokens = {} as Record<keyof TTheme, string>;\n const keys = Object.keys(theme) as (keyof TTheme)[];\n for (const key of keys) {\n tokens[key] = `var(--${String(key)})`;\n }\n return tokens;\n}\n"],"names":["themeToTokensObject","theme","tokens","keys","Object","key","String"],"rangeMappings":";;;;;;;;;;;;;;","mappings":"AAEA;;;;;;;CAOC,GACD,OAAO,SAASA,oBAA0CC,KAAa;IACrE,MAAMC,SAAS,CAAC;IAChB,MAAMC,OAAOC,OAAOD,IAAI,CAACF;IACzB,KAAK,MAAMI,OAAOF,KAAM;QACtBD,MAAM,CAACG,IAAI,GAAG,CAAC,MAAM,EAAEC,OAAOD,KAAK,CAAC,CAAC;IACvC;IACA,OAAOH;AACT"}
@@ -1,3 +1,2 @@
1
- export * from './teams/index';
2
- export * from './web/index';
3
- //# sourceMappingURL=index.js.map
1
+ export { teamsDarkTheme, teamsHighContrastTheme, teamsLightTheme } from "./teams/index.js";
2
+ export { webDarkTheme, webLightTheme } from "./web/index.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["packages/tokens/src/themes/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC","sourcesContent":["export * from './teams/index';\nexport * from './web/index';\n"]}
1
+ {"version":3,"sources":["../src/themes/index.ts"],"sourcesContent":["export { teamsDarkTheme, teamsHighContrastTheme, teamsLightTheme } from './teams/index';\nexport { webDarkTheme, webLightTheme } from './web/index';\n"],"names":["teamsDarkTheme","teamsHighContrastTheme","teamsLightTheme","webDarkTheme","webLightTheme"],"rangeMappings":";","mappings":"AAAA,SAASA,cAAc,EAAEC,sBAAsB,EAAEC,eAAe,QAAQ,mBAAgB;AACxF,SAASC,YAAY,EAAEC,aAAa,QAAQ,iBAAc"}
@@ -1,4 +1,3 @@
1
- import { createTeamsDarkTheme } from '../../utils/createTeamsDarkTheme';
2
- import { brandTeams } from '../../global/brandColors';
3
- export const teamsDarkTheme = /*#__PURE__*/createTeamsDarkTheme(brandTeams);
4
- //# sourceMappingURL=darkTheme.js.map
1
+ import { createTeamsDarkTheme } from "../../utils/createTeamsDarkTheme.js";
2
+ import { brandTeams } from "../../global/brandColors.js";
3
+ export const teamsDarkTheme = createTeamsDarkTheme(brandTeams);
@@ -1 +1 @@
1
- {"version":3,"sources":["packages/tokens/src/themes/teams/darkTheme.ts"],"names":[],"mappings":"AAAA,SAAS,oBAAT,QAAqC,kCAArC;AACA,SAAS,UAAT,QAA2B,0BAA3B;AAGA,OAAO,MAAM,cAAc,gBAAU,oBAAoB,CAAC,UAAD,CAAlD","sourcesContent":["import { createTeamsDarkTheme } from '../../utils/createTeamsDarkTheme';\nimport { brandTeams } from '../../global/brandColors';\nimport type { Theme } from '../../types';\n\nexport const teamsDarkTheme: Theme = createTeamsDarkTheme(brandTeams);\n"],"sourceRoot":"../src/"}
1
+ {"version":3,"sources":["../src/themes/teams/darkTheme.ts"],"sourcesContent":["import { createTeamsDarkTheme } from '../../utils/createTeamsDarkTheme';\nimport { brandTeams } from '../../global/brandColors';\nimport type { Theme } from '../../types';\n\nexport const teamsDarkTheme: Theme = createTeamsDarkTheme(brandTeams);\n"],"names":["createTeamsDarkTheme","brandTeams","teamsDarkTheme"],"rangeMappings":";;","mappings":"AAAA,SAASA,oBAAoB,QAAQ,sCAAmC;AACxE,SAASC,UAAU,QAAQ,8BAA2B;AAGtD,OAAO,MAAMC,iBAAwBF,qBAAqBC,YAAY"}
@@ -1,3 +1,2 @@
1
- import { createHighContrastTheme } from '../../utils/createHighContrastTheme';
2
- export const teamsHighContrastTheme = /*#__PURE__*/createHighContrastTheme();
3
- //# sourceMappingURL=highContrastTheme.js.map
1
+ import { createHighContrastTheme } from "../../utils/createHighContrastTheme.js";
2
+ export const teamsHighContrastTheme = createHighContrastTheme();
@@ -1 +1 @@
1
- {"version":3,"sources":["packages/tokens/src/themes/teams/highContrastTheme.ts"],"names":[],"mappings":"AAAA,SAAS,uBAAT,QAAwC,qCAAxC;AAGA,OAAO,MAAM,sBAAsB,gBAAU,uBAAuB,EAA7D","sourcesContent":["import { createHighContrastTheme } from '../../utils/createHighContrastTheme';\nimport type { Theme } from '../../types';\n\nexport const teamsHighContrastTheme: Theme = createHighContrastTheme();\n"],"sourceRoot":"../src/"}
1
+ {"version":3,"sources":["../src/themes/teams/highContrastTheme.ts"],"sourcesContent":["import { createHighContrastTheme } from '../../utils/createHighContrastTheme';\nimport type { Theme } from '../../types';\n\nexport const teamsHighContrastTheme: Theme = createHighContrastTheme();\n"],"names":["createHighContrastTheme","teamsHighContrastTheme"],"rangeMappings":";","mappings":"AAAA,SAASA,uBAAuB,QAAQ,yCAAsC;AAG9E,OAAO,MAAMC,yBAAgCD,0BAA0B"}
@@ -1,4 +1,3 @@
1
- export * from './lightTheme';
2
- export * from './darkTheme';
3
- export * from './highContrastTheme';
4
- //# sourceMappingURL=index.js.map
1
+ export { teamsLightTheme } from "./lightTheme.js";
2
+ export { teamsDarkTheme } from "./darkTheme.js";
3
+ export { teamsHighContrastTheme } from "./highContrastTheme.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["packages/tokens/src/themes/teams/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC","sourcesContent":["export * from './lightTheme';\nexport * from './darkTheme';\nexport * from './highContrastTheme';\n"]}
1
+ {"version":3,"sources":["../src/themes/teams/index.ts"],"sourcesContent":["export { teamsLightTheme } from './lightTheme';\nexport { teamsDarkTheme } from './darkTheme';\nexport { teamsHighContrastTheme } from './highContrastTheme';\n"],"names":["teamsLightTheme","teamsDarkTheme","teamsHighContrastTheme"],"rangeMappings":";;","mappings":"AAAA,SAASA,eAAe,QAAQ,kBAAe;AAC/C,SAASC,cAAc,QAAQ,iBAAc;AAC7C,SAASC,sBAAsB,QAAQ,yBAAsB"}
@@ -1,4 +1,3 @@
1
- import { createLightTheme } from '../../utils/createLightTheme';
2
- import { brandTeams } from '../../global/brandColors';
3
- export const teamsLightTheme = /*#__PURE__*/createLightTheme(brandTeams);
4
- //# sourceMappingURL=lightTheme.js.map
1
+ import { createLightTheme } from "../../utils/createLightTheme.js";
2
+ import { brandTeams } from "../../global/brandColors.js";
3
+ export const teamsLightTheme = createLightTheme(brandTeams);
@@ -1 +1 @@
1
- {"version":3,"sources":["packages/tokens/src/themes/teams/lightTheme.ts"],"names":[],"mappings":"AAAA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,UAAT,QAA2B,0BAA3B;AAGA,OAAO,MAAM,eAAe,gBAAU,gBAAgB,CAAC,UAAD,CAA/C","sourcesContent":["import { createLightTheme } from '../../utils/createLightTheme';\nimport { brandTeams } from '../../global/brandColors';\nimport type { Theme } from '../../types';\n\nexport const teamsLightTheme: Theme = createLightTheme(brandTeams);\n"],"sourceRoot":"../src/"}
1
+ {"version":3,"sources":["../src/themes/teams/lightTheme.ts"],"sourcesContent":["import { createLightTheme } from '../../utils/createLightTheme';\nimport { brandTeams } from '../../global/brandColors';\nimport type { Theme } from '../../types';\n\nexport const teamsLightTheme: Theme = createLightTheme(brandTeams);\n"],"names":["createLightTheme","brandTeams","teamsLightTheme"],"rangeMappings":";;","mappings":"AAAA,SAASA,gBAAgB,QAAQ,kCAA+B;AAChE,SAASC,UAAU,QAAQ,8BAA2B;AAGtD,OAAO,MAAMC,kBAAyBF,iBAAiBC,YAAY"}
@@ -1,4 +1,3 @@
1
- import { createDarkTheme } from '../../utils/createDarkTheme';
2
- import { brandWeb } from '../../global/brandColors';
3
- export const webDarkTheme = /*#__PURE__*/createDarkTheme(brandWeb);
4
- //# sourceMappingURL=darkTheme.js.map
1
+ import { createDarkTheme } from "../../utils/createDarkTheme.js";
2
+ import { brandWeb } from "../../global/brandColors.js";
3
+ export const webDarkTheme = createDarkTheme(brandWeb);
@@ -1 +1 @@
1
- {"version":3,"sources":["packages/tokens/src/themes/web/darkTheme.ts"],"names":[],"mappings":"AAAA,SAAS,eAAT,QAAgC,6BAAhC;AACA,SAAS,QAAT,QAAyB,0BAAzB;AAGA,OAAO,MAAM,YAAY,gBAAU,eAAe,CAAC,QAAD,CAA3C","sourcesContent":["import { createDarkTheme } from '../../utils/createDarkTheme';\nimport { brandWeb } from '../../global/brandColors';\nimport type { Theme } from '../../types';\n\nexport const webDarkTheme: Theme = createDarkTheme(brandWeb);\n"],"sourceRoot":"../src/"}
1
+ {"version":3,"sources":["../src/themes/web/darkTheme.ts"],"sourcesContent":["import { createDarkTheme } from '../../utils/createDarkTheme';\nimport { brandWeb } from '../../global/brandColors';\nimport type { Theme } from '../../types';\n\nexport const webDarkTheme: Theme = createDarkTheme(brandWeb);\n"],"names":["createDarkTheme","brandWeb","webDarkTheme"],"rangeMappings":";;","mappings":"AAAA,SAASA,eAAe,QAAQ,iCAA8B;AAC9D,SAASC,QAAQ,QAAQ,8BAA2B;AAGpD,OAAO,MAAMC,eAAsBF,gBAAgBC,UAAU"}
@@ -1,3 +1,2 @@
1
- export * from './lightTheme';
2
- export * from './darkTheme';
3
- //# sourceMappingURL=index.js.map
1
+ export { webLightTheme } from "./lightTheme.js";
2
+ export { webDarkTheme } from "./darkTheme.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["packages/tokens/src/themes/web/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC","sourcesContent":["export * from './lightTheme';\nexport * from './darkTheme';\n"]}
1
+ {"version":3,"sources":["../src/themes/web/index.ts"],"sourcesContent":["export { webLightTheme } from './lightTheme';\nexport { webDarkTheme } from './darkTheme';\n"],"names":["webLightTheme","webDarkTheme"],"rangeMappings":";","mappings":"AAAA,SAASA,aAAa,QAAQ,kBAAe;AAC7C,SAASC,YAAY,QAAQ,iBAAc"}
@@ -1,4 +1,3 @@
1
- import { createLightTheme } from '../../utils/createLightTheme';
2
- import { brandWeb } from '../../global/brandColors';
3
- export const webLightTheme = /*#__PURE__*/createLightTheme(brandWeb);
4
- //# sourceMappingURL=lightTheme.js.map
1
+ import { createLightTheme } from "../../utils/createLightTheme.js";
2
+ import { brandWeb } from "../../global/brandColors.js";
3
+ export const webLightTheme = createLightTheme(brandWeb);
@@ -1 +1 @@
1
- {"version":3,"sources":["packages/tokens/src/themes/web/lightTheme.ts"],"names":[],"mappings":"AAAA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,QAAT,QAAyB,0BAAzB;AAGA,OAAO,MAAM,aAAa,gBAAU,gBAAgB,CAAC,QAAD,CAA7C","sourcesContent":["import { createLightTheme } from '../../utils/createLightTheme';\nimport { brandWeb } from '../../global/brandColors';\nimport type { Theme } from '../../types';\n\nexport const webLightTheme: Theme = createLightTheme(brandWeb);\n"],"sourceRoot":"../src/"}
1
+ {"version":3,"sources":["../src/themes/web/lightTheme.ts"],"sourcesContent":["import { createLightTheme } from '../../utils/createLightTheme';\nimport { brandWeb } from '../../global/brandColors';\nimport type { Theme } from '../../types';\n\nexport const webLightTheme: Theme = createLightTheme(brandWeb);\n"],"names":["createLightTheme","brandWeb","webLightTheme"],"rangeMappings":";;","mappings":"AAAA,SAASA,gBAAgB,QAAQ,kCAA+B;AAChE,SAASC,QAAQ,QAAQ,8BAA2B;AAGpD,OAAO,MAAMC,gBAAuBF,iBAAiBC,UAAU"}