@fluentui/tokens 0.0.0-nightly-20230317-1454.1 → 0.0.0-nightly-20230321-0440.1

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 (150) hide show
  1. package/CHANGELOG.json +3 -3
  2. package/CHANGELOG.md +4 -4
  3. package/lib/alias/darkColor.js +21 -19
  4. package/lib/alias/darkColor.js.map +1 -1
  5. package/lib/alias/darkColorPalette.js +3 -2
  6. package/lib/alias/darkColorPalette.js.map +1 -1
  7. package/lib/alias/highContrastColor.js +14 -12
  8. package/lib/alias/highContrastColor.js.map +1 -1
  9. package/lib/alias/highContrastColorPalette.js +2 -2
  10. package/lib/alias/highContrastColorPalette.js.map +1 -1
  11. package/lib/alias/lightColor.js +21 -19
  12. package/lib/alias/lightColor.js.map +1 -1
  13. package/lib/alias/lightColorPalette.js +2 -2
  14. package/lib/alias/lightColorPalette.js.map +1 -1
  15. package/lib/alias/teamsDarkColor.js +21 -19
  16. package/lib/alias/teamsDarkColor.js.map +1 -1
  17. package/lib/global/borderRadius.js +6 -6
  18. package/lib/global/borderRadius.js.map +1 -1
  19. package/lib/global/brandColors.js.map +1 -1
  20. package/lib/global/colorPalette.js +1 -1
  21. package/lib/global/colorPalette.js.map +1 -1
  22. package/lib/global/colors.js +701 -699
  23. package/lib/global/colors.js.map +1 -1
  24. package/lib/global/curves.js +9 -9
  25. package/lib/global/curves.js.map +1 -1
  26. package/lib/global/durations.js +7 -7
  27. package/lib/global/durations.js.map +1 -1
  28. package/lib/global/fonts.js +20 -20
  29. package/lib/global/fonts.js.map +1 -1
  30. package/lib/global/index.js +9 -9
  31. package/lib/global/index.js.map +1 -1
  32. package/lib/global/spacings.js +11 -11
  33. package/lib/global/spacings.js.map +1 -1
  34. package/lib/global/strokeWidths.js +4 -4
  35. package/lib/global/strokeWidths.js.map +1 -1
  36. package/lib/global/typographyStyles.js +1 -1
  37. package/lib/global/typographyStyles.js.map +1 -1
  38. package/lib/index.js +5 -5
  39. package/lib/index.js.map +1 -1
  40. package/lib/sharedColorNames.js +4 -3
  41. package/lib/sharedColorNames.js.map +1 -1
  42. package/lib/themeToTokensObject.js +2 -1
  43. package/lib/themeToTokensObject.js.map +1 -1
  44. package/lib/themes/index.js +2 -2
  45. package/lib/themes/index.js.map +1 -1
  46. package/lib/themes/teams/darkTheme.js +2 -2
  47. package/lib/themes/teams/darkTheme.js.map +1 -1
  48. package/lib/themes/teams/highContrastTheme.js +1 -1
  49. package/lib/themes/teams/highContrastTheme.js.map +1 -1
  50. package/lib/themes/teams/index.js +3 -3
  51. package/lib/themes/teams/index.js.map +1 -1
  52. package/lib/themes/teams/lightTheme.js +2 -2
  53. package/lib/themes/teams/lightTheme.js.map +1 -1
  54. package/lib/themes/web/darkTheme.js +2 -2
  55. package/lib/themes/web/darkTheme.js.map +1 -1
  56. package/lib/themes/web/index.js +2 -2
  57. package/lib/themes/web/index.js.map +1 -1
  58. package/lib/themes/web/lightTheme.js +2 -2
  59. package/lib/themes/web/lightTheme.js.map +1 -1
  60. package/lib/tokens.js +387 -387
  61. package/lib/tokens.js.map +1 -1
  62. package/lib/types.js.map +1 -1
  63. package/lib/utils/createDarkTheme.js +8 -8
  64. package/lib/utils/createDarkTheme.js.map +1 -1
  65. package/lib/utils/createHighContrastTheme.js +8 -8
  66. package/lib/utils/createHighContrastTheme.js.map +1 -1
  67. package/lib/utils/createLightTheme.js +8 -8
  68. package/lib/utils/createLightTheme.js.map +1 -1
  69. package/lib/utils/createTeamsDarkTheme.js +8 -8
  70. package/lib/utils/createTeamsDarkTheme.js.map +1 -1
  71. package/lib/utils/index.js +4 -4
  72. package/lib/utils/index.js.map +1 -1
  73. package/lib/utils/shadows.js +1 -1
  74. package/lib/utils/shadows.js.map +1 -1
  75. package/lib-commonjs/alias/darkColor.js +159 -158
  76. package/lib-commonjs/alias/darkColor.js.map +1 -1
  77. package/lib-commonjs/alias/darkColorPalette.js +44 -46
  78. package/lib-commonjs/alias/darkColorPalette.js.map +1 -1
  79. package/lib-commonjs/alias/highContrastColor.js +159 -158
  80. package/lib-commonjs/alias/highContrastColor.js.map +1 -1
  81. package/lib-commonjs/alias/highContrastColorPalette.js +34 -37
  82. package/lib-commonjs/alias/highContrastColorPalette.js.map +1 -1
  83. package/lib-commonjs/alias/lightColor.js +159 -158
  84. package/lib-commonjs/alias/lightColor.js.map +1 -1
  85. package/lib-commonjs/alias/lightColorPalette.js +35 -38
  86. package/lib-commonjs/alias/lightColorPalette.js.map +1 -1
  87. package/lib-commonjs/alias/teamsDarkColor.js +159 -158
  88. package/lib-commonjs/alias/teamsDarkColor.js.map +1 -1
  89. package/lib-commonjs/global/borderRadius.js +11 -14
  90. package/lib-commonjs/global/borderRadius.js.map +1 -1
  91. package/lib-commonjs/global/brandColors.js +55 -65
  92. package/lib-commonjs/global/brandColors.js.map +1 -1
  93. package/lib-commonjs/global/colorPalette.js +42 -51
  94. package/lib-commonjs/global/colorPalette.js.map +1 -1
  95. package/lib-commonjs/global/colors.js +814 -883
  96. package/lib-commonjs/global/colors.js.map +1 -1
  97. package/lib-commonjs/global/curves.js +14 -17
  98. package/lib-commonjs/global/curves.js.map +1 -1
  99. package/lib-commonjs/global/durations.js +12 -15
  100. package/lib-commonjs/global/durations.js.map +1 -1
  101. package/lib-commonjs/global/fonts.js +39 -48
  102. package/lib-commonjs/global/fonts.js.map +1 -1
  103. package/lib-commonjs/global/index.js +12 -12
  104. package/lib-commonjs/global/index.js.map +1 -1
  105. package/lib-commonjs/global/spacings.js +40 -49
  106. package/lib-commonjs/global/spacings.js.map +1 -1
  107. package/lib-commonjs/global/strokeWidths.js +9 -12
  108. package/lib-commonjs/global/strokeWidths.js.map +1 -1
  109. package/lib-commonjs/global/typographyStyles.js +111 -111
  110. package/lib-commonjs/global/typographyStyles.js.map +1 -1
  111. package/lib-commonjs/index.js +81 -29
  112. package/lib-commonjs/index.js.map +1 -1
  113. package/lib-commonjs/sharedColorNames.js +10 -69
  114. package/lib-commonjs/sharedColorNames.js.map +1 -1
  115. package/lib-commonjs/themeToTokensObject.js +15 -16
  116. package/lib-commonjs/themeToTokensObject.js.map +1 -1
  117. package/lib-commonjs/themes/index.js +5 -6
  118. package/lib-commonjs/themes/index.js.map +1 -1
  119. package/lib-commonjs/themes/teams/darkTheme.js +6 -9
  120. package/lib-commonjs/themes/teams/darkTheme.js.map +1 -1
  121. package/lib-commonjs/themes/teams/highContrastTheme.js +5 -8
  122. package/lib-commonjs/themes/teams/highContrastTheme.js.map +1 -1
  123. package/lib-commonjs/themes/teams/index.js +6 -7
  124. package/lib-commonjs/themes/teams/index.js.map +1 -1
  125. package/lib-commonjs/themes/teams/lightTheme.js +6 -9
  126. package/lib-commonjs/themes/teams/lightTheme.js.map +1 -1
  127. package/lib-commonjs/themes/web/darkTheme.js +6 -9
  128. package/lib-commonjs/themes/web/darkTheme.js.map +1 -1
  129. package/lib-commonjs/themes/web/index.js +5 -6
  130. package/lib-commonjs/themes/web/index.js.map +1 -1
  131. package/lib-commonjs/themes/web/lightTheme.js +6 -9
  132. package/lib-commonjs/themes/web/lightTheme.js.map +1 -1
  133. package/lib-commonjs/tokens.js +440 -443
  134. package/lib-commonjs/tokens.js.map +1 -1
  135. package/lib-commonjs/types.js +2 -3
  136. package/lib-commonjs/types.js.map +1 -1
  137. package/lib-commonjs/utils/createDarkTheme.js +30 -32
  138. package/lib-commonjs/utils/createDarkTheme.js.map +1 -1
  139. package/lib-commonjs/utils/createHighContrastTheme.js +30 -32
  140. package/lib-commonjs/utils/createHighContrastTheme.js.map +1 -1
  141. package/lib-commonjs/utils/createLightTheme.js +30 -32
  142. package/lib-commonjs/utils/createLightTheme.js.map +1 -1
  143. package/lib-commonjs/utils/createTeamsDarkTheme.js +30 -32
  144. package/lib-commonjs/utils/createTeamsDarkTheme.js.map +1 -1
  145. package/lib-commonjs/utils/index.js +7 -8
  146. package/lib-commonjs/utils/index.js.map +1 -1
  147. package/lib-commonjs/utils/shadows.js +14 -16
  148. package/lib-commonjs/utils/shadows.js.map +1 -1
  149. package/package.json +4 -3
  150. package/.swcrc +0 -39
@@ -1,3 +1,3 @@
1
- export * from "./teams/index";
2
- export * from "./web/index";
1
+ export * from './teams/index';
2
+ export * from './web/index';
3
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["../../src/themes/index.ts"],"sourcesContent":["export * from './teams/index';\nexport * from './web/index';\n"],"mappings":"AAAA,cAAc;AACd,cAAc"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","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,4 +1,4 @@
1
- import { createTeamsDarkTheme } from "../../utils/createTeamsDarkTheme";
2
- import { brandTeams } from "../../global/brandColors";
1
+ import { createTeamsDarkTheme } from '../../utils/createTeamsDarkTheme';
2
+ import { brandTeams } from '../../global/brandColors';
3
3
  export const teamsDarkTheme = /*#__PURE__*/createTeamsDarkTheme(brandTeams);
4
4
  //# sourceMappingURL=darkTheme.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["createTeamsDarkTheme","brandTeams","teamsDarkTheme"],"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"],"mappings":"AAAA,SAASA,oBAAoB,QAAQ;AACrC,SAASC,UAAU,QAAQ;AAG3B,OAAO,MAAMC,cAAA,gBAAwBF,oBAAA,CAAqBC,UAAA"}
1
+ {"version":3,"names":["createTeamsDarkTheme","brandTeams","teamsDarkTheme"],"sources":["../../../../../../../../packages/tokens/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"],"mappings":"AAAA,SAASA,oBAAoB,QAAQ,kCAAkC;AACvE,SAASC,UAAU,QAAQ,0BAA0B;AAGrD,OAAO,MAAMC,cAAc,gBAAUF,oBAAoB,CAACC,UAAU,CAAC"}
@@ -1,3 +1,3 @@
1
- import { createHighContrastTheme } from "../../utils/createHighContrastTheme";
1
+ import { createHighContrastTheme } from '../../utils/createHighContrastTheme';
2
2
  export const teamsHighContrastTheme = /*#__PURE__*/createHighContrastTheme();
3
3
  //# sourceMappingURL=highContrastTheme.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["createHighContrastTheme","teamsHighContrastTheme"],"sources":["../../../src/themes/teams/highContrastTheme.ts"],"sourcesContent":["import { createHighContrastTheme } from '../../utils/createHighContrastTheme';\nimport type { Theme } from '../../types';\n\nexport const teamsHighContrastTheme: Theme = createHighContrastTheme();\n"],"mappings":"AAAA,SAASA,uBAAuB,QAAQ;AAGxC,OAAO,MAAMC,sBAAA,gBAAgCD,uBAAA"}
1
+ {"version":3,"names":["createHighContrastTheme","teamsHighContrastTheme"],"sources":["../../../../../../../../packages/tokens/src/themes/teams/highContrastTheme.ts"],"sourcesContent":["import { createHighContrastTheme } from '../../utils/createHighContrastTheme';\nimport type { Theme } from '../../types';\n\nexport const teamsHighContrastTheme: Theme = createHighContrastTheme();\n"],"mappings":"AAAA,SAASA,uBAAuB,QAAQ,qCAAqC;AAG7E,OAAO,MAAMC,sBAAsB,gBAAUD,uBAAuB,EAAE"}
@@ -1,4 +1,4 @@
1
- export * from "./lightTheme";
2
- export * from "./darkTheme";
3
- export * from "./highContrastTheme";
1
+ export * from './lightTheme';
2
+ export * from './darkTheme';
3
+ export * from './highContrastTheme';
4
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["../../../src/themes/teams/index.ts"],"sourcesContent":["export * from './lightTheme';\nexport * from './darkTheme';\nexport * from './highContrastTheme';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","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,4 +1,4 @@
1
- import { createLightTheme } from "../../utils/createLightTheme";
2
- import { brandTeams } from "../../global/brandColors";
1
+ import { createLightTheme } from '../../utils/createLightTheme';
2
+ import { brandTeams } from '../../global/brandColors';
3
3
  export const teamsLightTheme = /*#__PURE__*/createLightTheme(brandTeams);
4
4
  //# sourceMappingURL=lightTheme.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["createLightTheme","brandTeams","teamsLightTheme"],"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"],"mappings":"AAAA,SAASA,gBAAgB,QAAQ;AACjC,SAASC,UAAU,QAAQ;AAG3B,OAAO,MAAMC,eAAA,gBAAyBF,gBAAA,CAAiBC,UAAA"}
1
+ {"version":3,"names":["createLightTheme","brandTeams","teamsLightTheme"],"sources":["../../../../../../../../packages/tokens/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"],"mappings":"AAAA,SAASA,gBAAgB,QAAQ,8BAA8B;AAC/D,SAASC,UAAU,QAAQ,0BAA0B;AAGrD,OAAO,MAAMC,eAAe,gBAAUF,gBAAgB,CAACC,UAAU,CAAC"}
@@ -1,4 +1,4 @@
1
- import { createDarkTheme } from "../../utils/createDarkTheme";
2
- import { brandWeb } from "../../global/brandColors";
1
+ import { createDarkTheme } from '../../utils/createDarkTheme';
2
+ import { brandWeb } from '../../global/brandColors';
3
3
  export const webDarkTheme = /*#__PURE__*/createDarkTheme(brandWeb);
4
4
  //# sourceMappingURL=darkTheme.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["createDarkTheme","brandWeb","webDarkTheme"],"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"],"mappings":"AAAA,SAASA,eAAe,QAAQ;AAChC,SAASC,QAAQ,QAAQ;AAGzB,OAAO,MAAMC,YAAA,gBAAsBF,eAAA,CAAgBC,QAAA"}
1
+ {"version":3,"names":["createDarkTheme","brandWeb","webDarkTheme"],"sources":["../../../../../../../../packages/tokens/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"],"mappings":"AAAA,SAASA,eAAe,QAAQ,6BAA6B;AAC7D,SAASC,QAAQ,QAAQ,0BAA0B;AAGnD,OAAO,MAAMC,YAAY,gBAAUF,eAAe,CAACC,QAAQ,CAAC"}
@@ -1,3 +1,3 @@
1
- export * from "./lightTheme";
2
- export * from "./darkTheme";
1
+ export * from './lightTheme';
2
+ export * from './darkTheme';
3
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["../../../src/themes/web/index.ts"],"sourcesContent":["export * from './lightTheme';\nexport * from './darkTheme';\n"],"mappings":"AAAA,cAAc;AACd,cAAc"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","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,4 +1,4 @@
1
- import { createLightTheme } from "../../utils/createLightTheme";
2
- import { brandWeb } from "../../global/brandColors";
1
+ import { createLightTheme } from '../../utils/createLightTheme';
2
+ import { brandWeb } from '../../global/brandColors';
3
3
  export const webLightTheme = /*#__PURE__*/createLightTheme(brandWeb);
4
4
  //# sourceMappingURL=lightTheme.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["createLightTheme","brandWeb","webLightTheme"],"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"],"mappings":"AAAA,SAASA,gBAAgB,QAAQ;AACjC,SAASC,QAAQ,QAAQ;AAGzB,OAAO,MAAMC,aAAA,gBAAuBF,gBAAA,CAAiBC,QAAA"}
1
+ {"version":3,"names":["createLightTheme","brandWeb","webLightTheme"],"sources":["../../../../../../../../packages/tokens/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"],"mappings":"AAAA,SAASA,gBAAgB,QAAQ,8BAA8B;AAC/D,SAASC,QAAQ,QAAQ,0BAA0B;AAGnD,OAAO,MAAMC,aAAa,gBAAUF,gBAAgB,CAACC,QAAQ,CAAC"}