@fluentui/tokens 1.0.0-alpha.16 → 1.0.0-alpha.18

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 (133) hide show
  1. package/CHANGELOG.md +20 -2
  2. package/dist/index.d.ts +15 -1
  3. package/lib/alias/darkColor.js +1 -1
  4. package/lib/alias/darkColor.js.map +1 -1
  5. package/lib/alias/darkColorPalette.js +3 -3
  6. package/lib/alias/darkColorPalette.js.map +1 -1
  7. package/lib/alias/highContrastColor.js +1 -1
  8. package/lib/alias/highContrastColor.js.map +1 -1
  9. package/lib/alias/highContrastColorPalette.js +3 -3
  10. package/lib/alias/highContrastColorPalette.js.map +1 -1
  11. package/lib/alias/lightColor.js +1 -1
  12. package/lib/alias/lightColor.js.map +1 -1
  13. package/lib/alias/lightColorPalette.js +3 -3
  14. package/lib/alias/lightColorPalette.js.map +1 -1
  15. package/lib/alias/teamsDarkColor.js +1 -1
  16. package/lib/alias/teamsDarkColor.js.map +1 -1
  17. package/lib/global/borderRadius.js.map +1 -1
  18. package/lib/global/brandColors.js.map +1 -1
  19. package/lib/global/colorPalette.js +1 -1
  20. package/lib/global/colorPalette.js.map +1 -1
  21. package/lib/global/colors.js.map +1 -1
  22. package/lib/global/curves.js.map +1 -1
  23. package/lib/global/durations.js.map +1 -1
  24. package/lib/global/fonts.js.map +1 -1
  25. package/lib/global/index.js +9 -9
  26. package/lib/global/index.js.map +1 -1
  27. package/lib/global/spacings.js.map +1 -1
  28. package/lib/global/strokeWidths.js.map +1 -1
  29. package/lib/global/typographyStyles.js +1 -1
  30. package/lib/global/typographyStyles.js.map +1 -1
  31. package/lib/index.js +5 -5
  32. package/lib/index.js.map +1 -1
  33. package/lib/sharedColorNames.js.map +1 -1
  34. package/lib/statusColorMapping.js.map +1 -1
  35. package/lib/themeToTokensObject.js.map +1 -1
  36. package/lib/themes/index.js +2 -2
  37. package/lib/themes/index.js.map +1 -1
  38. package/lib/themes/teams/darkTheme.js +2 -2
  39. package/lib/themes/teams/darkTheme.js.map +1 -1
  40. package/lib/themes/teams/highContrastTheme.js +1 -1
  41. package/lib/themes/teams/highContrastTheme.js.map +1 -1
  42. package/lib/themes/teams/index.js +3 -3
  43. package/lib/themes/teams/index.js.map +1 -1
  44. package/lib/themes/teams/lightTheme.js +2 -2
  45. package/lib/themes/teams/lightTheme.js.map +1 -1
  46. package/lib/themes/web/darkTheme.js +2 -2
  47. package/lib/themes/web/darkTheme.js.map +1 -1
  48. package/lib/themes/web/index.js +2 -2
  49. package/lib/themes/web/index.js.map +1 -1
  50. package/lib/themes/web/lightTheme.js +2 -2
  51. package/lib/themes/web/lightTheme.js.map +1 -1
  52. package/lib/tokens.js +37 -1
  53. package/lib/tokens.js.map +1 -1
  54. package/lib/types.js.map +1 -1
  55. package/lib/utils/createDarkTheme.js +7 -7
  56. package/lib/utils/createDarkTheme.js.map +1 -1
  57. package/lib/utils/createHighContrastTheme.js +7 -7
  58. package/lib/utils/createHighContrastTheme.js.map +1 -1
  59. package/lib/utils/createLightTheme.js +7 -7
  60. package/lib/utils/createLightTheme.js.map +1 -1
  61. package/lib/utils/createTeamsDarkTheme.js +7 -7
  62. package/lib/utils/createTeamsDarkTheme.js.map +1 -1
  63. package/lib/utils/index.js +4 -4
  64. package/lib/utils/index.js.map +1 -1
  65. package/lib/utils/shadows.js.map +1 -1
  66. package/lib-commonjs/alias/darkColor.js +1 -1
  67. package/lib-commonjs/alias/darkColor.js.map +1 -1
  68. package/lib-commonjs/alias/darkColorPalette.js +3 -3
  69. package/lib-commonjs/alias/darkColorPalette.js.map +1 -1
  70. package/lib-commonjs/alias/highContrastColor.js +1 -1
  71. package/lib-commonjs/alias/highContrastColor.js.map +1 -1
  72. package/lib-commonjs/alias/highContrastColorPalette.js +3 -3
  73. package/lib-commonjs/alias/highContrastColorPalette.js.map +1 -1
  74. package/lib-commonjs/alias/lightColor.js +1 -1
  75. package/lib-commonjs/alias/lightColor.js.map +1 -1
  76. package/lib-commonjs/alias/lightColorPalette.js +3 -3
  77. package/lib-commonjs/alias/lightColorPalette.js.map +1 -1
  78. package/lib-commonjs/alias/teamsDarkColor.js +1 -1
  79. package/lib-commonjs/alias/teamsDarkColor.js.map +1 -1
  80. package/lib-commonjs/global/borderRadius.js.map +1 -1
  81. package/lib-commonjs/global/brandColors.js +4 -4
  82. package/lib-commonjs/global/brandColors.js.map +1 -1
  83. package/lib-commonjs/global/colorPalette.js +5 -5
  84. package/lib-commonjs/global/colorPalette.js.map +1 -1
  85. package/lib-commonjs/global/colors.js +123 -123
  86. package/lib-commonjs/global/colors.js.map +1 -1
  87. package/lib-commonjs/global/curves.js.map +1 -1
  88. package/lib-commonjs/global/durations.js.map +1 -1
  89. package/lib-commonjs/global/fonts.js +5 -5
  90. package/lib-commonjs/global/fonts.js.map +1 -1
  91. package/lib-commonjs/global/index.js +8 -8
  92. package/lib-commonjs/global/index.js.map +1 -1
  93. package/lib-commonjs/global/spacings.js.map +1 -1
  94. package/lib-commonjs/global/strokeWidths.js.map +1 -1
  95. package/lib-commonjs/global/typographyStyles.js +1 -1
  96. package/lib-commonjs/global/typographyStyles.js.map +1 -1
  97. package/lib-commonjs/index.js +20 -20
  98. package/lib-commonjs/index.js.map +1 -1
  99. package/lib-commonjs/sharedColorNames.js +4 -4
  100. package/lib-commonjs/sharedColorNames.js.map +1 -1
  101. package/lib-commonjs/statusColorMapping.js.map +1 -1
  102. package/lib-commonjs/themeToTokensObject.js.map +1 -1
  103. package/lib-commonjs/themes/index.js +2 -2
  104. package/lib-commonjs/themes/index.js.map +1 -1
  105. package/lib-commonjs/themes/teams/darkTheme.js +2 -2
  106. package/lib-commonjs/themes/teams/darkTheme.js.map +1 -1
  107. package/lib-commonjs/themes/teams/highContrastTheme.js +1 -1
  108. package/lib-commonjs/themes/teams/highContrastTheme.js.map +1 -1
  109. package/lib-commonjs/themes/teams/index.js +3 -3
  110. package/lib-commonjs/themes/teams/index.js.map +1 -1
  111. package/lib-commonjs/themes/teams/lightTheme.js +2 -2
  112. package/lib-commonjs/themes/teams/lightTheme.js.map +1 -1
  113. package/lib-commonjs/themes/web/darkTheme.js +2 -2
  114. package/lib-commonjs/themes/web/darkTheme.js.map +1 -1
  115. package/lib-commonjs/themes/web/index.js +2 -2
  116. package/lib-commonjs/themes/web/index.js.map +1 -1
  117. package/lib-commonjs/themes/web/lightTheme.js +2 -2
  118. package/lib-commonjs/themes/web/lightTheme.js.map +1 -1
  119. package/lib-commonjs/tokens.js +37 -1
  120. package/lib-commonjs/tokens.js.map +1 -1
  121. package/lib-commonjs/types.js.map +1 -1
  122. package/lib-commonjs/utils/createDarkTheme.js +7 -7
  123. package/lib-commonjs/utils/createDarkTheme.js.map +1 -1
  124. package/lib-commonjs/utils/createHighContrastTheme.js +7 -7
  125. package/lib-commonjs/utils/createHighContrastTheme.js.map +1 -1
  126. package/lib-commonjs/utils/createLightTheme.js +7 -7
  127. package/lib-commonjs/utils/createLightTheme.js.map +1 -1
  128. package/lib-commonjs/utils/createTeamsDarkTheme.js +7 -7
  129. package/lib-commonjs/utils/createTeamsDarkTheme.js.map +1 -1
  130. package/lib-commonjs/utils/index.js +4 -4
  131. package/lib-commonjs/utils/index.js.map +1 -1
  132. package/lib-commonjs/utils/shadows.js.map +1 -1
  133. package/package.json +5 -4
@@ -1 +1 @@
1
- {"version":3,"sources":["typographyStyles.js"],"sourcesContent":["import { tokens } from '../tokens';\n/**\n * Global typography styles (fontSize, fontWeight, and lineHeight)\n */ export 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"],"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":";;;;+BAGiBA;;;eAAAA;;;wBAHM;AAGZ,MAAMA,mBAAmB;IAChCC,OAAO;QACHC,YAAYC,cAAM,CAACC,cAAc;QACjCC,UAAUF,cAAM,CAACG,eAAe;QAChCC,YAAYJ,cAAM,CAACK,iBAAiB;QACpCC,YAAYN,cAAM,CAACO,iBAAiB;IACxC;IACAC,aAAa;QACTT,YAAYC,cAAM,CAACC,cAAc;QACjCC,UAAUF,cAAM,CAACG,eAAe;QAChCC,YAAYJ,cAAM,CAACS,kBAAkB;QACrCH,YAAYN,cAAM,CAACO,iBAAiB;IACxC;IACAG,eAAe;QACXX,YAAYC,cAAM,CAACC,cAAc;QACjCC,UAAUF,c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C,cAAc;QACjCC,UAAUF,cAAM,CAACa,eAAe;QAChCT,YAAYJ,cAAM,CAACS,kBAAkB;QACrCH,YAAYN,cAAM,CAACc,iBAAiB;IACxC;IACAc,mBAAmB;QACf7B,YAAYC,cAAM,CAACC,cAAc;QACjCC,UAAUF,cAAM,CAACa,eAAe;QAChCT,YAAYJ,cAAM,CAACW,cAAc;QACjCL,YAAYN,cAAM,CAACc,iBAAiB;IACxC;IACAe,QAAQ;QACJ9B,YAAYC,cAAM,CAACC,cAAc;QACjCC,UAAUF,cAAM,CAAC8B,eAAe;QAChC1B,YAAYJ,cAAM,CAACS,kBAAkB;QACrCH,YAAYN,cAAM,CAAC+B,iBAAiB;IACxC;IACAC,QAAQ;QACJjC,YAAYC,cAAM,CAACC,cAAc;QACjCC,UAAUF,cAAM,CAACiC,eAAe;QAChC7B,YAAYJ,cAAM,CAACS,kBAAkB;QACrCH,YAAYN,cAAM,CAACkC,iBAAiB;IACxC;IACAC,QAAQ;QACJpC,YAAYC,cAAM,CAACC,cAAc;QACjCC,UAAUF,cAAM,CAACoC,eAAe;QAChChC,YAAYJ,cAAM,CAACS,kBAAkB;QACrCH,YAAYN,cAAM,CAACqC,iBAAiB;IACxC;IACAC,YAAY;QACRvC,YAAYC,cAAM,CAACC,cAAc;QACjCC,UAAUF,cAAM,CAACuC,eAAe;QAChCnC,YAAYJ,cAAM,CAACS,kBAAkB;QACrCH,YAAYN,cAAM,CAACwC,iBAAiB;IACxC;IACAC,SAAS;QACL1C,YAAYC,cAAM,CAACC,cAAc;QACjCC,UAAUF,cAAM,CAAC0C,gBAAgB;QACjCtC,YAAYJ,cAAM,CAACS,kBAAkB;QACrCH,YAAYN,cAAM,CAAC2C,kBAAkB;IACzC;AACJ"}
1
+ {"version":3,"sources":["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":["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"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,cAAc;QACjCC,UAAUF,cAAAA,CAAOoC,eAAe;QAChChC,YAAYJ,cAAAA,CAAOS,kBAAkB;QACrCH,YAAYN,cAAAA,CAAOqC,iBAAiB;IACtC;IACAC,YAAY;QACVvC,YAAYC,cAAAA,CAAOC,cAAc;QACjCC,UAAUF,cAAAA,CAAOuC,eAAe;QAChCnC,YAAYJ,cAAAA,CAAOS,kBAAkB;QACrCH,YAAYN,cAAAA,CAAOwC,iBAAiB;IACtC;IACAC,SAAS;QACP1C,YAAYC,cAAAA,CAAOC,cAAc;QACjCC,UAAUF,cAAAA,CAAO0C,gBAAgB;QACjCtC,YAAYJ,cAAAA,CAAOS,kBAAkB;QACrCH,YAAYN,cAAAA,CAAO2C,kBAAkB;IACvC;AACF"}
@@ -9,21 +9,6 @@ function _export(target, all) {
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- teamsDarkTheme: function() {
13
- return _index.teamsDarkTheme;
14
- },
15
- teamsHighContrastTheme: function() {
16
- return _index.teamsHighContrastTheme;
17
- },
18
- teamsLightTheme: function() {
19
- return _index.teamsLightTheme;
20
- },
21
- webDarkTheme: function() {
22
- return _index.webDarkTheme;
23
- },
24
- webLightTheme: function() {
25
- return _index.webLightTheme;
26
- },
27
12
  createDarkTheme: function() {
28
13
  return _index1.createDarkTheme;
29
14
  },
@@ -36,6 +21,15 @@ _export(exports, {
36
21
  createTeamsDarkTheme: function() {
37
22
  return _index1.createTeamsDarkTheme;
38
23
  },
24
+ teamsDarkTheme: function() {
25
+ return _index.teamsDarkTheme;
26
+ },
27
+ teamsHighContrastTheme: function() {
28
+ return _index.teamsHighContrastTheme;
29
+ },
30
+ teamsLightTheme: function() {
31
+ return _index.teamsLightTheme;
32
+ },
39
33
  themeToTokensObject: function() {
40
34
  return _themeToTokensObject.themeToTokensObject;
41
35
  },
@@ -44,10 +38,16 @@ _export(exports, {
44
38
  },
45
39
  typographyStyles: function() {
46
40
  return _index2.typographyStyles;
41
+ },
42
+ webDarkTheme: function() {
43
+ return _index.webDarkTheme;
44
+ },
45
+ webLightTheme: function() {
46
+ return _index.webLightTheme;
47
47
  }
48
48
  });
49
- const _index = require("./themes/index");
50
- const _index1 = require("./utils/index");
51
- const _themeToTokensObject = require("./themeToTokensObject");
52
- const _tokens = require("./tokens");
53
- const _index2 = require("./global/index");
49
+ const _index = require("./themes/index.js");
50
+ const _index1 = require("./utils/index.js");
51
+ const _themeToTokensObject = require("./themeToTokensObject.js");
52
+ const _tokens = require("./tokens.js");
53
+ const _index2 = require("./global/index.js");
@@ -1 +1 @@
1
- {"version":3,"sources":["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"],"names":["teamsDarkTheme","teamsHighContrastTheme","teamsLightTheme","webDarkTheme","webLightTheme","createDarkTheme","createHighContrastTheme","createLightTheme","createTeamsDarkTheme","themeToTokensObject","tokens","typographyStyles"],"mappings":";;;;;;;;;;;IAASA,cAAc;eAAdA,qBAAc;;IAAEC,sBAAsB;eAAtBA,6BAAsB;;IAAEC,eAAe;eAAfA,sBAAe;;IAAEC,YAAY;eAAZA,mBAAY;;IAAEC,aAAa;eAAbA,oBAAa;;IACpFC,eAAe;eAAfA,uBAAe;;IAAEC,uBAAuB;eAAvBA,+BAAuB;;IAAEC,gBAAgB;eAAhBA,wBAAgB;;IAAEC,oBAAoB;eAApBA,4BAAoB;;IAChFC,mBAAmB;eAAnBA,wCAAmB;;IACnBC,MAAM;eAANA,cAAM;;IACNC,gBAAgB;eAAhBA,wBAAgB;;;uBAJ4E;wBACJ;qCAC7D;wBACb;wBACU"}
1
+ {"version":3,"sources":["index.ts"],"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 ZIndexTokens,\n} from './types';\n"],"names":["createDarkTheme","createHighContrastTheme","createLightTheme","createTeamsDarkTheme","teamsDarkTheme","teamsHighContrastTheme","teamsLightTheme","themeToTokensObject","tokens","typographyStyles","webDarkTheme","webLightTheme"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,eAAe;eAAfA,uBAAe;;IAAEC,uBAAuB;eAAvBA,+BAAuB;;IAAEC,gBAAgB;eAAhBA,wBAAgB;;IAAEC,oBAAoB;eAApBA,4BAAoB;;IADhFC,cAAc;eAAdA,qBAAc;;IAAEC,sBAAsB;eAAtBA,6BAAsB;;IAAEC,eAAe;eAAfA,sBAAe;;IAGvDC,mBAAmB;eAAnBA,wCAAmB;;IACnBC,MAAM;eAANA,cAAM;;IACNC,gBAAgB;eAAhBA,wBAAgB;;IALyCC,YAAY;eAAZA,mBAAY;;IAAEC,aAAa;eAAbA,oBAAa;;;uBAAQ;wBACJ;qCAE7D;wBACb;wBACU"}
@@ -9,14 +9,14 @@ function _export(target, all) {
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- statusSharedColorNames: function() {
13
- return statusSharedColorNames;
12
+ mappedStatusColorNames: function() {
13
+ return mappedStatusColorNames;
14
14
  },
15
15
  personaSharedColorNames: function() {
16
16
  return personaSharedColorNames;
17
17
  },
18
- mappedStatusColorNames: function() {
19
- return mappedStatusColorNames;
18
+ statusSharedColorNames: function() {
19
+ return statusSharedColorNames;
20
20
  },
21
21
  unusedSharedColorNames: function() {
22
22
  return unusedSharedColorNames;
@@ -1 +1 @@
1
- {"version":3,"sources":["sharedColorNames.js"],"sourcesContent":["/* Names of colors used in shared color palette alias tokens for status. */ export const statusSharedColorNames = [\n 'red',\n 'green',\n 'darkOrange',\n 'yellow',\n 'berry',\n 'lightGreen',\n 'marigold'\n];\n/* Names of colors used in shared color palette alias tokens for persona. */ export 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];\n/* List of global colors which semantic alias status tokens map to */ export const mappedStatusColorNames = [\n 'cranberry',\n 'green',\n 'orange'\n];\n/* Names of colors not used in alias tokens but produced by token pipeline as global color tokens. */ export 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];\n"],"names":["statusSharedColorNames","personaSharedColorNames","mappedStatusColorNames","unusedSharedColorNames"],"mappings":"AAAA,yEAAyE;;;;;;;;;;;IAAgBA,sBAAsB;eAAtBA;;IASCC,uBAAuB;eAAvBA;;IA8BPC,sBAAsB;eAAtBA;;IAKgCC,sBAAsB;eAAtBA;;;AA5ChC,MAAMH,yBAAyB;IAC9G;IACA;IACA;IACA;IACA;IACA;IACA;CACH;AACmF,MAAMC,0BAA0B;IAChH;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;CACH;AAC4E,MAAMC,yBAAyB;IACxG;IACA;IACA;CACH;AAC4G,MAAMC,yBAAyB;IACxI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;CACH"}
1
+ {"version":3,"sources":["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":["mappedStatusColorNames","personaSharedColorNames","statusSharedColorNames","unusedSharedColorNames"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,yEAAyE;;;;;;;;;;;IA4C5DA,sBAAAA;eAAAA;;IAhCAC,uBAAAA;eAAAA;;IAXAC,sBAAAA;eAAAA;;IA8CAC,sBAAAA;eAAAA;;;AA9CN,MAAMD,yBAAyB;IACpC;IACA;IACA;IACA;IACA;IACA;IACA;CACD;AAGM,MAAMD,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;AAGM,MAAMD,yBAAyB;IAAC;IAAa;IAAS;CAAS;AAG/D,MAAMG,yBAAyB;IACpC;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;CACD"}
@@ -1 +1 @@
1
- {"version":3,"sources":["statusColorMapping.js"],"sourcesContent":["export const statusColorMapping = {\n success: 'green',\n warning: 'orange',\n danger: 'cranberry'\n};\n"],"names":["statusColorMapping","success","warning","danger"],"mappings":";;;;+BAAaA;;;eAAAA;;;AAAN,MAAMA,qBAAqB;IAC9BC,SAAS;IACTC,SAAS;IACTC,QAAQ;AACZ"}
1
+ {"version":3,"sources":["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":";;;;+BAEaA;;;eAAAA;;;AAAN,MAAMA,qBAA6D;IACxEC,SAAS;IACTC,SAAS;IACTC,QAAQ;AACV"}
@@ -1 +1 @@
1
- {"version":3,"sources":["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(--${String(key)})`;\n }\n return tokens;\n}\n"],"names":["themeToTokensObject","theme","tokens","keys","Object","key","String"],"mappings":"AAAA;;;;;;;CAOC;;;;+BAAmBA;;;eAAAA;;;AAAT,SAASA,oBAAoBC,KAAK;IACzC,MAAMC,SAAS,CAAC;IAChB,MAAMC,OAAOC,OAAOD,IAAI,CAACF;IACzB,KAAK,MAAMI,OAAOF,KAAK;QACnBD,MAAM,CAACG,IAAI,GAAG,CAAC,MAAM,EAAEC,OAAOD,KAAK,CAAC,CAAC;IACzC;IACA,OAAOH;AACX"}
1
+ {"version":3,"sources":["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;;;;+BACeA;;;eAAAA;;;AAAT,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"}
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
5
  const _export_star = require("@swc/helpers/_/_export_star");
6
- _export_star._(require("./teams/index"), exports);
7
- _export_star._(require("./web/index"), exports);
6
+ _export_star._(require("./teams/index.js"), exports);
7
+ _export_star._(require("./web/index.js"), exports);
@@ -1 +1 @@
1
- {"version":3,"sources":["index.js"],"sourcesContent":["export * from './teams/index';\nexport * from './web/index';\n"],"names":[],"mappings":";;;;;uBAAc;uBACA"}
1
+ {"version":3,"sources":["index.ts"],"sourcesContent":["export * from './teams/index';\nexport * from './web/index';\n"],"names":[],"rangeMappings":";;;;;;","mappings":";;;;;uBAAc;uBACA"}
@@ -8,6 +8,6 @@ Object.defineProperty(exports, "teamsDarkTheme", {
8
8
  return teamsDarkTheme;
9
9
  }
10
10
  });
11
- const _createTeamsDarkTheme = require("../../utils/createTeamsDarkTheme");
12
- const _brandColors = require("../../global/brandColors");
11
+ const _createTeamsDarkTheme = require("../../utils/createTeamsDarkTheme.js");
12
+ const _brandColors = require("../../global/brandColors.js");
13
13
  const teamsDarkTheme = (0, _createTeamsDarkTheme.createTeamsDarkTheme)(_brandColors.brandTeams);
@@ -1 +1 @@
1
- {"version":3,"sources":["darkTheme.js"],"sourcesContent":["import { createTeamsDarkTheme } from '../../utils/createTeamsDarkTheme';\nimport { brandTeams } from '../../global/brandColors';\nexport const teamsDarkTheme = createTeamsDarkTheme(brandTeams);\n"],"names":["teamsDarkTheme","createTeamsDarkTheme","brandTeams"],"mappings":";;;;+BAEaA;;;eAAAA;;;sCAFwB;6BACV;AACpB,MAAMA,iBAAiBC,IAAAA,0CAAoB,EAACC,uBAAU"}
1
+ {"version":3,"sources":["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":["teamsDarkTheme","createTeamsDarkTheme","brandTeams"],"rangeMappings":";;;;;;;;;;;;","mappings":";;;;+BAIaA;;;eAAAA;;;sCAJwB;6BACV;AAGpB,MAAMA,iBAAwBC,IAAAA,0CAAAA,EAAqBC,uBAAAA"}
@@ -8,5 +8,5 @@ Object.defineProperty(exports, "teamsHighContrastTheme", {
8
8
  return teamsHighContrastTheme;
9
9
  }
10
10
  });
11
- const _createHighContrastTheme = require("../../utils/createHighContrastTheme");
11
+ const _createHighContrastTheme = require("../../utils/createHighContrastTheme.js");
12
12
  const teamsHighContrastTheme = (0, _createHighContrastTheme.createHighContrastTheme)();
@@ -1 +1 @@
1
- {"version":3,"sources":["highContrastTheme.js"],"sourcesContent":["import { createHighContrastTheme } from '../../utils/createHighContrastTheme';\nexport const teamsHighContrastTheme = createHighContrastTheme();\n"],"names":["teamsHighContrastTheme","createHighContrastTheme"],"mappings":";;;;+BACaA;;;eAAAA;;;yCAD2B;AACjC,MAAMA,yBAAyBC,IAAAA,gDAAuB"}
1
+ {"version":3,"sources":["highContrastTheme.ts"],"sourcesContent":["import { createHighContrastTheme } from '../../utils/createHighContrastTheme';\nimport type { Theme } from '../../types';\n\nexport const teamsHighContrastTheme: Theme = createHighContrastTheme();\n"],"names":["teamsHighContrastTheme","createHighContrastTheme"],"rangeMappings":";;;;;;;;;;;","mappings":";;;;+BAGaA;;;eAAAA;;;yCAH2B;AAGjC,MAAMA,yBAAgCC,IAAAA,gDAAAA"}
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
5
  const _export_star = require("@swc/helpers/_/_export_star");
6
- _export_star._(require("./lightTheme"), exports);
7
- _export_star._(require("./darkTheme"), exports);
8
- _export_star._(require("./highContrastTheme"), exports);
6
+ _export_star._(require("./lightTheme.js"), exports);
7
+ _export_star._(require("./darkTheme.js"), exports);
8
+ _export_star._(require("./highContrastTheme.js"), exports);
@@ -1 +1 @@
1
- {"version":3,"sources":["index.js"],"sourcesContent":["export * from './lightTheme';\nexport * from './darkTheme';\nexport * from './highContrastTheme';\n"],"names":[],"mappings":";;;;;uBAAc;uBACA;uBACA"}
1
+ {"version":3,"sources":["index.ts"],"sourcesContent":["export * from './lightTheme';\nexport * from './darkTheme';\nexport * from './highContrastTheme';\n"],"names":[],"rangeMappings":";;;;;;;","mappings":";;;;;uBAAc;uBACA;uBACA"}
@@ -8,6 +8,6 @@ Object.defineProperty(exports, "teamsLightTheme", {
8
8
  return teamsLightTheme;
9
9
  }
10
10
  });
11
- const _createLightTheme = require("../../utils/createLightTheme");
12
- const _brandColors = require("../../global/brandColors");
11
+ const _createLightTheme = require("../../utils/createLightTheme.js");
12
+ const _brandColors = require("../../global/brandColors.js");
13
13
  const teamsLightTheme = (0, _createLightTheme.createLightTheme)(_brandColors.brandTeams);
@@ -1 +1 @@
1
- {"version":3,"sources":["lightTheme.js"],"sourcesContent":["import { createLightTheme } from '../../utils/createLightTheme';\nimport { brandTeams } from '../../global/brandColors';\nexport const teamsLightTheme = createLightTheme(brandTeams);\n"],"names":["teamsLightTheme","createLightTheme","brandTeams"],"mappings":";;;;+BAEaA;;;eAAAA;;;kCAFoB;6BACN;AACpB,MAAMA,kBAAkBC,IAAAA,kCAAgB,EAACC,uBAAU"}
1
+ {"version":3,"sources":["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":["teamsLightTheme","createLightTheme","brandTeams"],"rangeMappings":";;;;;;;;;;;;","mappings":";;;;+BAIaA;;;eAAAA;;;kCAJoB;6BACN;AAGpB,MAAMA,kBAAyBC,IAAAA,kCAAAA,EAAiBC,uBAAAA"}
@@ -8,6 +8,6 @@ Object.defineProperty(exports, "webDarkTheme", {
8
8
  return webDarkTheme;
9
9
  }
10
10
  });
11
- const _createDarkTheme = require("../../utils/createDarkTheme");
12
- const _brandColors = require("../../global/brandColors");
11
+ const _createDarkTheme = require("../../utils/createDarkTheme.js");
12
+ const _brandColors = require("../../global/brandColors.js");
13
13
  const webDarkTheme = (0, _createDarkTheme.createDarkTheme)(_brandColors.brandWeb);
@@ -1 +1 @@
1
- {"version":3,"sources":["darkTheme.js"],"sourcesContent":["import { createDarkTheme } from '../../utils/createDarkTheme';\nimport { brandWeb } from '../../global/brandColors';\nexport const webDarkTheme = createDarkTheme(brandWeb);\n"],"names":["webDarkTheme","createDarkTheme","brandWeb"],"mappings":";;;;+BAEaA;;;eAAAA;;;iCAFmB;6BACP;AAClB,MAAMA,eAAeC,IAAAA,gCAAe,EAACC,qBAAQ"}
1
+ {"version":3,"sources":["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":["webDarkTheme","createDarkTheme","brandWeb"],"rangeMappings":";;;;;;;;;;;;","mappings":";;;;+BAIaA;;;eAAAA;;;iCAJmB;6BACP;AAGlB,MAAMA,eAAsBC,IAAAA,gCAAAA,EAAgBC,qBAAAA"}
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
5
  const _export_star = require("@swc/helpers/_/_export_star");
6
- _export_star._(require("./lightTheme"), exports);
7
- _export_star._(require("./darkTheme"), exports);
6
+ _export_star._(require("./lightTheme.js"), exports);
7
+ _export_star._(require("./darkTheme.js"), exports);
@@ -1 +1 @@
1
- {"version":3,"sources":["index.js"],"sourcesContent":["export * from './lightTheme';\nexport * from './darkTheme';\n"],"names":[],"mappings":";;;;;uBAAc;uBACA"}
1
+ {"version":3,"sources":["index.ts"],"sourcesContent":["export * from './lightTheme';\nexport * from './darkTheme';\n"],"names":[],"rangeMappings":";;;;;;","mappings":";;;;;uBAAc;uBACA"}
@@ -8,6 +8,6 @@ Object.defineProperty(exports, "webLightTheme", {
8
8
  return webLightTheme;
9
9
  }
10
10
  });
11
- const _createLightTheme = require("../../utils/createLightTheme");
12
- const _brandColors = require("../../global/brandColors");
11
+ const _createLightTheme = require("../../utils/createLightTheme.js");
12
+ const _brandColors = require("../../global/brandColors.js");
13
13
  const webLightTheme = (0, _createLightTheme.createLightTheme)(_brandColors.brandWeb);
@@ -1 +1 @@
1
- {"version":3,"sources":["lightTheme.js"],"sourcesContent":["import { createLightTheme } from '../../utils/createLightTheme';\nimport { brandWeb } from '../../global/brandColors';\nexport const webLightTheme = createLightTheme(brandWeb);\n"],"names":["webLightTheme","createLightTheme","brandWeb"],"mappings":";;;;+BAEaA;;;eAAAA;;;kCAFoB;6BACR;AAClB,MAAMA,gBAAgBC,IAAAA,kCAAgB,EAACC,qBAAQ"}
1
+ {"version":3,"sources":["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":["webLightTheme","createLightTheme","brandWeb"],"rangeMappings":";;;;;;;;;;;;","mappings":";;;;+BAIaA;;;eAAAA;;;kCAJoB;6BACR;AAGlB,MAAMA,gBAAuBC,IAAAA,kCAAAA,EAAiBC,qBAAAA"}
@@ -495,5 +495,41 @@ const tokens = {
495
495
  curveDecelerateMin: 'var(--curveDecelerateMin)',
496
496
  curveEasyEaseMax: 'var(--curveEasyEaseMax)',
497
497
  curveEasyEase: 'var(--curveEasyEase)',
498
- curveLinear: 'var(--curveLinear)'
498
+ curveLinear: 'var(--curveLinear)',
499
+ /**
500
+ * ZIndexes
501
+ * Special case where the tokens contain default values
502
+ * ZIndexes are not mandatory, so they are not included in the theme, but can be used as tokens with default values
503
+ */ /**
504
+ * Elevation 0
505
+ * Can be used for background elements, like surfaces
506
+ */ zIndexBackground: 'var(--zIndexBackground, 0)',
507
+ /**
508
+ * Elevation 2
509
+ * Can be used content that is on top of the background, like cards
510
+ */ zIndexContent: 'var(--zIndexContent, 1)',
511
+ /**
512
+ * Elevation 4
513
+ * Can be used for overlays, like the backdrop of a modal
514
+ */ zIndexOverlay: 'var(--zIndexOverlay, 1000)',
515
+ /**
516
+ * Elevation 8
517
+ * Can be used for popups, like modals and drawers
518
+ */ zIndexPopup: 'var(--zIndexPopup, 2000)',
519
+ /**
520
+ * Elevation 16
521
+ * Can be used for messages, like snackbars and toasts
522
+ */ zIndexMessages: 'var(--zIndexMessages, 3000)',
523
+ /**
524
+ * Elevation 28
525
+ * Can be used for floating elements, like dropdowns
526
+ */ zIndexFloating: 'var(--zIndexFloating, 4000)',
527
+ /**
528
+ * Elevation 64
529
+ * Can be used for high priority floating elements, like tooltips
530
+ */ zIndexPriority: 'var(--zIndexPriority, 5000)',
531
+ /**
532
+ * Special elevation
533
+ * Can be used for elements that need to be above everything else, like debug overlays
534
+ */ zIndexDebug: 'var(--zIndexDebug, 6000)'
499
535
  };