@fluentui/tokens 0.0.0-nightly-20230321-0440.1 → 0.0.0-nightly-20230324-0422.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 (123) hide show
  1. package/.swcrc +30 -0
  2. package/CHANGELOG.json +24 -3
  3. package/CHANGELOG.md +14 -4
  4. package/lib/alias/darkColor.js +2 -4
  5. package/lib/alias/darkColor.js.map +1 -1
  6. package/lib/alias/darkColorPalette.js +1 -2
  7. package/lib/alias/darkColorPalette.js.map +1 -1
  8. package/lib/alias/highContrastColor.js +2 -4
  9. package/lib/alias/highContrastColor.js.map +1 -1
  10. package/lib/alias/highContrastColorPalette.js.map +1 -1
  11. package/lib/alias/lightColor.js +2 -4
  12. package/lib/alias/lightColor.js.map +1 -1
  13. package/lib/alias/lightColorPalette.js.map +1 -1
  14. package/lib/alias/teamsDarkColor.js +2 -4
  15. package/lib/alias/teamsDarkColor.js.map +1 -1
  16. package/lib/global/borderRadius.js.map +1 -1
  17. package/lib/global/brandColors.js.map +1 -1
  18. package/lib/global/colorPalette.js.map +1 -1
  19. package/lib/global/colors.js +1 -3
  20. package/lib/global/colors.js.map +1 -1
  21. package/lib/global/curves.js.map +1 -1
  22. package/lib/global/durations.js.map +1 -1
  23. package/lib/global/fonts.js.map +1 -1
  24. package/lib/global/index.js.map +1 -1
  25. package/lib/global/spacings.js.map +1 -1
  26. package/lib/global/strokeWidths.js.map +1 -1
  27. package/lib/global/typographyStyles.js.map +1 -1
  28. package/lib/index.js.map +1 -1
  29. package/lib/sharedColorNames.js +1 -2
  30. package/lib/sharedColorNames.js.map +1 -1
  31. package/lib/themeToTokensObject.js +1 -2
  32. package/lib/themeToTokensObject.js.map +1 -1
  33. package/lib/themes/index.js.map +1 -1
  34. package/lib/themes/teams/darkTheme.js.map +1 -1
  35. package/lib/themes/teams/highContrastTheme.js.map +1 -1
  36. package/lib/themes/teams/index.js.map +1 -1
  37. package/lib/themes/teams/lightTheme.js.map +1 -1
  38. package/lib/themes/web/darkTheme.js.map +1 -1
  39. package/lib/themes/web/index.js.map +1 -1
  40. package/lib/themes/web/lightTheme.js.map +1 -1
  41. package/lib/tokens.js.map +1 -1
  42. package/lib/types.js.map +1 -1
  43. package/lib/utils/createDarkTheme.js.map +1 -1
  44. package/lib/utils/createHighContrastTheme.js.map +1 -1
  45. package/lib/utils/createLightTheme.js.map +1 -1
  46. package/lib/utils/createTeamsDarkTheme.js.map +1 -1
  47. package/lib/utils/index.js.map +1 -1
  48. package/lib/utils/shadows.js.map +1 -1
  49. package/lib-commonjs/alias/darkColor.js +158 -159
  50. package/lib-commonjs/alias/darkColor.js.map +1 -1
  51. package/lib-commonjs/alias/darkColorPalette.js +46 -44
  52. package/lib-commonjs/alias/darkColorPalette.js.map +1 -1
  53. package/lib-commonjs/alias/highContrastColor.js +158 -159
  54. package/lib-commonjs/alias/highContrastColor.js.map +1 -1
  55. package/lib-commonjs/alias/highContrastColorPalette.js +37 -34
  56. package/lib-commonjs/alias/highContrastColorPalette.js.map +1 -1
  57. package/lib-commonjs/alias/lightColor.js +158 -159
  58. package/lib-commonjs/alias/lightColor.js.map +1 -1
  59. package/lib-commonjs/alias/lightColorPalette.js +38 -35
  60. package/lib-commonjs/alias/lightColorPalette.js.map +1 -1
  61. package/lib-commonjs/alias/teamsDarkColor.js +158 -159
  62. package/lib-commonjs/alias/teamsDarkColor.js.map +1 -1
  63. package/lib-commonjs/global/borderRadius.js +14 -11
  64. package/lib-commonjs/global/borderRadius.js.map +1 -1
  65. package/lib-commonjs/global/brandColors.js +65 -55
  66. package/lib-commonjs/global/brandColors.js.map +1 -1
  67. package/lib-commonjs/global/colorPalette.js +51 -42
  68. package/lib-commonjs/global/colorPalette.js.map +1 -1
  69. package/lib-commonjs/global/colors.js +883 -814
  70. package/lib-commonjs/global/colors.js.map +1 -1
  71. package/lib-commonjs/global/curves.js +17 -14
  72. package/lib-commonjs/global/curves.js.map +1 -1
  73. package/lib-commonjs/global/durations.js +15 -12
  74. package/lib-commonjs/global/durations.js.map +1 -1
  75. package/lib-commonjs/global/fonts.js +48 -39
  76. package/lib-commonjs/global/fonts.js.map +1 -1
  77. package/lib-commonjs/global/index.js +12 -12
  78. package/lib-commonjs/global/index.js.map +1 -1
  79. package/lib-commonjs/global/spacings.js +49 -40
  80. package/lib-commonjs/global/spacings.js.map +1 -1
  81. package/lib-commonjs/global/strokeWidths.js +12 -9
  82. package/lib-commonjs/global/strokeWidths.js.map +1 -1
  83. package/lib-commonjs/global/typographyStyles.js +111 -111
  84. package/lib-commonjs/global/typographyStyles.js.map +1 -1
  85. package/lib-commonjs/index.js +29 -81
  86. package/lib-commonjs/index.js.map +1 -1
  87. package/lib-commonjs/sharedColorNames.js +69 -10
  88. package/lib-commonjs/sharedColorNames.js.map +1 -1
  89. package/lib-commonjs/themeToTokensObject.js +16 -15
  90. package/lib-commonjs/themeToTokensObject.js.map +1 -1
  91. package/lib-commonjs/themes/index.js +6 -5
  92. package/lib-commonjs/themes/index.js.map +1 -1
  93. package/lib-commonjs/themes/teams/darkTheme.js +9 -6
  94. package/lib-commonjs/themes/teams/darkTheme.js.map +1 -1
  95. package/lib-commonjs/themes/teams/highContrastTheme.js +8 -5
  96. package/lib-commonjs/themes/teams/highContrastTheme.js.map +1 -1
  97. package/lib-commonjs/themes/teams/index.js +7 -6
  98. package/lib-commonjs/themes/teams/index.js.map +1 -1
  99. package/lib-commonjs/themes/teams/lightTheme.js +9 -6
  100. package/lib-commonjs/themes/teams/lightTheme.js.map +1 -1
  101. package/lib-commonjs/themes/web/darkTheme.js +9 -6
  102. package/lib-commonjs/themes/web/darkTheme.js.map +1 -1
  103. package/lib-commonjs/themes/web/index.js +6 -5
  104. package/lib-commonjs/themes/web/index.js.map +1 -1
  105. package/lib-commonjs/themes/web/lightTheme.js +9 -6
  106. package/lib-commonjs/themes/web/lightTheme.js.map +1 -1
  107. package/lib-commonjs/tokens.js +443 -440
  108. package/lib-commonjs/tokens.js.map +1 -1
  109. package/lib-commonjs/types.js +3 -2
  110. package/lib-commonjs/types.js.map +1 -1
  111. package/lib-commonjs/utils/createDarkTheme.js +32 -30
  112. package/lib-commonjs/utils/createDarkTheme.js.map +1 -1
  113. package/lib-commonjs/utils/createHighContrastTheme.js +32 -30
  114. package/lib-commonjs/utils/createHighContrastTheme.js.map +1 -1
  115. package/lib-commonjs/utils/createLightTheme.js +32 -30
  116. package/lib-commonjs/utils/createLightTheme.js.map +1 -1
  117. package/lib-commonjs/utils/createTeamsDarkTheme.js +32 -30
  118. package/lib-commonjs/utils/createTeamsDarkTheme.js.map +1 -1
  119. package/lib-commonjs/utils/index.js +8 -7
  120. package/lib-commonjs/utils/index.js.map +1 -1
  121. package/lib-commonjs/utils/shadows.js +15 -13
  122. package/lib-commonjs/utils/shadows.js.map +1 -1
  123. package/package.json +3 -3
@@ -1,9 +1,12 @@
1
1
  "use strict";
2
-
3
2
  Object.defineProperty(exports, "__esModule", {
4
- value: true
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "teamsHighContrastTheme", {
6
+ enumerable: true,
7
+ get: ()=>teamsHighContrastTheme
5
8
  });
6
- exports.teamsHighContrastTheme = void 0;
7
- const createHighContrastTheme_1 = /*#__PURE__*/require("../../utils/createHighContrastTheme");
8
- exports.teamsHighContrastTheme = /*#__PURE__*/createHighContrastTheme_1.createHighContrastTheme();
9
+ const _createHighContrastTheme = require("../../utils/createHighContrastTheme");
10
+ const teamsHighContrastTheme = /*#__PURE__*/ (0, _createHighContrastTheme.createHighContrastTheme)(); //# sourceMappingURL=highContrastTheme.js.map
11
+
9
12
  //# sourceMappingURL=highContrastTheme.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["createHighContrastTheme_1","require","exports","teamsHighContrastTheme","createHighContrastTheme"],"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,MAAAA,yBAAA,gBAAAC,OAAA;AAGaC,OAAA,CAAAC,sBAAsB,gBAAUH,yBAAA,CAAAI,uBAAuB,EAAE"}
1
+ {"version":3,"sources":["../../../lib/themes/teams/highContrastTheme.js"],"sourcesContent":["import { createHighContrastTheme } from '../../utils/createHighContrastTheme';\nexport const teamsHighContrastTheme = /*#__PURE__*/createHighContrastTheme();\n//# sourceMappingURL=highContrastTheme.js.map"],"names":["teamsHighContrastTheme","createHighContrastTheme"],"mappings":";;;;+BACaA;;aAAAA;;yCAD2B;AACjC,MAAMA,yBAAyB,WAAW,GAAEC,IAAAA,gDAAuB,KAC1E,6CAA6C"}
@@ -1,10 +1,11 @@
1
1
  "use strict";
2
-
3
2
  Object.defineProperty(exports, "__esModule", {
4
- value: true
3
+ value: true
5
4
  });
6
- const tslib_1 = /*#__PURE__*/require("tslib");
7
- tslib_1.__exportStar(require("./lightTheme"), exports);
8
- tslib_1.__exportStar(require("./darkTheme"), exports);
9
- tslib_1.__exportStar(require("./highContrastTheme"), exports);
5
+ const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
+ _exportStar(require("./lightTheme"), exports);
7
+ _exportStar(require("./darkTheme"), exports);
8
+ _exportStar(require("./highContrastTheme"), exports);
9
+ //# sourceMappingURL=index.js.map
10
+
10
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["tslib_1","__exportStar","require","exports"],"sources":["../../../../../../../../packages/tokens/src/themes/teams/index.ts"],"sourcesContent":["export * from './lightTheme';\nexport * from './darkTheme';\nexport * from './highContrastTheme';\n"],"mappings":";;;;;;AAAAA,OAAA,CAAAC,YAAA,CAAAC,OAAA,kBAAAC,OAAA;AACAH,OAAA,CAAAC,YAAA,CAAAC,OAAA,iBAAAC,OAAA;AACAH,OAAA,CAAAC,YAAA,CAAAC,OAAA,yBAAAC,OAAA"}
1
+ {"version":3,"sources":["../../../lib/themes/teams/index.js"],"sourcesContent":["export * from './lightTheme';\nexport * from './darkTheme';\nexport * from './highContrastTheme';\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;oBAAc;oBACA;oBACA;CACd,iCAAiC"}
@@ -1,10 +1,13 @@
1
1
  "use strict";
2
-
3
2
  Object.defineProperty(exports, "__esModule", {
4
- value: true
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "teamsLightTheme", {
6
+ enumerable: true,
7
+ get: ()=>teamsLightTheme
5
8
  });
6
- exports.teamsLightTheme = void 0;
7
- const createLightTheme_1 = /*#__PURE__*/require("../../utils/createLightTheme");
8
- const brandColors_1 = /*#__PURE__*/require("../../global/brandColors");
9
- exports.teamsLightTheme = /*#__PURE__*/createLightTheme_1.createLightTheme(brandColors_1.brandTeams);
9
+ const _createLightTheme = require("../../utils/createLightTheme");
10
+ const _brandColors = require("../../global/brandColors");
11
+ const teamsLightTheme = /*#__PURE__*/ (0, _createLightTheme.createLightTheme)(_brandColors.brandTeams); //# sourceMappingURL=lightTheme.js.map
12
+
10
13
  //# sourceMappingURL=lightTheme.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["createLightTheme_1","require","brandColors_1","exports","teamsLightTheme","createLightTheme","brandTeams"],"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,MAAAA,kBAAA,gBAAAC,OAAA;AACA,MAAAC,aAAA,gBAAAD,OAAA;AAGaE,OAAA,CAAAC,eAAe,gBAAUJ,kBAAA,CAAAK,gBAAgB,CAACH,aAAA,CAAAI,UAAU,CAAC"}
1
+ {"version":3,"sources":["../../../lib/themes/teams/lightTheme.js"],"sourcesContent":["import { createLightTheme } from '../../utils/createLightTheme';\nimport { brandTeams } from '../../global/brandColors';\nexport const teamsLightTheme = /*#__PURE__*/createLightTheme(brandTeams);\n//# sourceMappingURL=lightTheme.js.map"],"names":["teamsLightTheme","createLightTheme","brandTeams"],"mappings":";;;;+BAEaA;;aAAAA;;kCAFoB;6BACN;AACpB,MAAMA,kBAAkB,WAAW,GAAEC,IAAAA,kCAAgB,EAACC,uBAAU,GACvE,sCAAsC"}
@@ -1,10 +1,13 @@
1
1
  "use strict";
2
-
3
2
  Object.defineProperty(exports, "__esModule", {
4
- value: true
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "webDarkTheme", {
6
+ enumerable: true,
7
+ get: ()=>webDarkTheme
5
8
  });
6
- exports.webDarkTheme = void 0;
7
- const createDarkTheme_1 = /*#__PURE__*/require("../../utils/createDarkTheme");
8
- const brandColors_1 = /*#__PURE__*/require("../../global/brandColors");
9
- exports.webDarkTheme = /*#__PURE__*/createDarkTheme_1.createDarkTheme(brandColors_1.brandWeb);
9
+ const _createDarkTheme = require("../../utils/createDarkTheme");
10
+ const _brandColors = require("../../global/brandColors");
11
+ const webDarkTheme = /*#__PURE__*/ (0, _createDarkTheme.createDarkTheme)(_brandColors.brandWeb); //# sourceMappingURL=darkTheme.js.map
12
+
10
13
  //# sourceMappingURL=darkTheme.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["createDarkTheme_1","require","brandColors_1","exports","webDarkTheme","createDarkTheme","brandWeb"],"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,MAAAA,iBAAA,gBAAAC,OAAA;AACA,MAAAC,aAAA,gBAAAD,OAAA;AAGaE,OAAA,CAAAC,YAAY,gBAAUJ,iBAAA,CAAAK,eAAe,CAACH,aAAA,CAAAI,QAAQ,CAAC"}
1
+ {"version":3,"sources":["../../../lib/themes/web/darkTheme.js"],"sourcesContent":["import { createDarkTheme } from '../../utils/createDarkTheme';\nimport { brandWeb } from '../../global/brandColors';\nexport const webDarkTheme = /*#__PURE__*/createDarkTheme(brandWeb);\n//# sourceMappingURL=darkTheme.js.map"],"names":["webDarkTheme","createDarkTheme","brandWeb"],"mappings":";;;;+BAEaA;;aAAAA;;iCAFmB;6BACP;AAClB,MAAMA,eAAe,WAAW,GAAEC,IAAAA,gCAAe,EAACC,qBAAQ,GACjE,qCAAqC"}
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
-
3
2
  Object.defineProperty(exports, "__esModule", {
4
- value: true
3
+ value: true
5
4
  });
6
- const tslib_1 = /*#__PURE__*/require("tslib");
7
- tslib_1.__exportStar(require("./lightTheme"), exports);
8
- tslib_1.__exportStar(require("./darkTheme"), exports);
5
+ const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
+ _exportStar(require("./lightTheme"), exports);
7
+ _exportStar(require("./darkTheme"), exports);
8
+ //# sourceMappingURL=index.js.map
9
+
9
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["tslib_1","__exportStar","require","exports"],"sources":["../../../../../../../../packages/tokens/src/themes/web/index.ts"],"sourcesContent":["export * from './lightTheme';\nexport * from './darkTheme';\n"],"mappings":";;;;;;AAAAA,OAAA,CAAAC,YAAA,CAAAC,OAAA,kBAAAC,OAAA;AACAH,OAAA,CAAAC,YAAA,CAAAC,OAAA,iBAAAC,OAAA"}
1
+ {"version":3,"sources":["../../../lib/themes/web/index.js"],"sourcesContent":["export * from './lightTheme';\nexport * from './darkTheme';\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;oBAAc;oBACA;CACd,iCAAiC"}
@@ -1,10 +1,13 @@
1
1
  "use strict";
2
-
3
2
  Object.defineProperty(exports, "__esModule", {
4
- value: true
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "webLightTheme", {
6
+ enumerable: true,
7
+ get: ()=>webLightTheme
5
8
  });
6
- exports.webLightTheme = void 0;
7
- const createLightTheme_1 = /*#__PURE__*/require("../../utils/createLightTheme");
8
- const brandColors_1 = /*#__PURE__*/require("../../global/brandColors");
9
- exports.webLightTheme = /*#__PURE__*/createLightTheme_1.createLightTheme(brandColors_1.brandWeb);
9
+ const _createLightTheme = require("../../utils/createLightTheme");
10
+ const _brandColors = require("../../global/brandColors");
11
+ const webLightTheme = /*#__PURE__*/ (0, _createLightTheme.createLightTheme)(_brandColors.brandWeb); //# sourceMappingURL=lightTheme.js.map
12
+
10
13
  //# sourceMappingURL=lightTheme.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["createLightTheme_1","require","brandColors_1","exports","webLightTheme","createLightTheme","brandWeb"],"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,MAAAA,kBAAA,gBAAAC,OAAA;AACA,MAAAC,aAAA,gBAAAD,OAAA;AAGaE,OAAA,CAAAC,aAAa,gBAAUJ,kBAAA,CAAAK,gBAAgB,CAACH,aAAA,CAAAI,QAAQ,CAAC"}
1
+ {"version":3,"sources":["../../../lib/themes/web/lightTheme.js"],"sourcesContent":["import { createLightTheme } from '../../utils/createLightTheme';\nimport { brandWeb } from '../../global/brandColors';\nexport const webLightTheme = /*#__PURE__*/createLightTheme(brandWeb);\n//# sourceMappingURL=lightTheme.js.map"],"names":["webLightTheme","createLightTheme","brandWeb"],"mappings":";;;;+BAEaA;;aAAAA;;kCAFoB;6BACR;AAClB,MAAMA,gBAAgB,WAAW,GAAEC,IAAAA,kCAAgB,EAACC,qBAAQ,GACnE,sCAAsC"}