@fluentui/react-theme 9.0.0-alpha.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +786 -0
- package/CHANGELOG.md +317 -0
- package/LICENSE +15 -0
- package/README.md +5 -0
- package/dist/react-theme.d.ts +425 -0
- package/lib/alias/dark.d.ts +3 -0
- package/lib/alias/dark.js +123 -0
- package/lib/alias/dark.js.map +1 -0
- package/lib/alias/highContrast.d.ts +3 -0
- package/lib/alias/highContrast.js +123 -0
- package/lib/alias/highContrast.js.map +1 -0
- package/lib/alias/light.d.ts +3 -0
- package/lib/alias/light.js +123 -0
- package/lib/alias/light.js.map +1 -0
- package/lib/alias/teamsDark.d.ts +3 -0
- package/lib/alias/teamsDark.js +123 -0
- package/lib/alias/teamsDark.js.map +1 -0
- package/lib/global/borderRadius.d.ts +2 -0
- package/lib/global/borderRadius.js +9 -0
- package/lib/global/borderRadius.js.map +1 -0
- package/lib/global/brandColors.d.ts +4 -0
- package/lib/global/brandColors.js +37 -0
- package/lib/global/brandColors.js.map +1 -0
- package/lib/global/colors.d.ts +15 -0
- package/lib/global/colors.js +825 -0
- package/lib/global/colors.js.map +1 -0
- package/lib/global/fonts.d.ts +6 -0
- package/lib/global/fonts.js +51 -0
- package/lib/global/fonts.js.map +1 -0
- package/lib/global/index.d.ts +5 -0
- package/lib/global/index.js +6 -0
- package/lib/global/index.js.map +1 -0
- package/lib/global/strokeWidths.d.ts +2 -0
- package/lib/global/strokeWidths.js +7 -0
- package/lib/global/strokeWidths.js.map +1 -0
- package/lib/global/utils.d.ts +2 -0
- package/lib/global/utils.js +37 -0
- package/lib/global/utils.js.map +1 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.js +5 -0
- package/lib/index.js.map +1 -0
- package/lib/themes/index.d.ts +2 -0
- package/lib/themes/index.js +3 -0
- package/lib/themes/index.js.map +1 -0
- package/lib/themes/teams/darkTheme.d.ts +2 -0
- package/lib/themes/teams/darkTheme.js +4 -0
- package/lib/themes/teams/darkTheme.js.map +1 -0
- package/lib/themes/teams/highContrastTheme.d.ts +2 -0
- package/lib/themes/teams/highContrastTheme.js +4 -0
- package/lib/themes/teams/highContrastTheme.js.map +1 -0
- package/lib/themes/teams/index.d.ts +3 -0
- package/lib/themes/teams/index.js +4 -0
- package/lib/themes/teams/index.js.map +1 -0
- package/lib/themes/teams/lightTheme.d.ts +2 -0
- package/lib/themes/teams/lightTheme.js +4 -0
- package/lib/themes/teams/lightTheme.js.map +1 -0
- package/lib/themes/web/darkTheme.d.ts +2 -0
- package/lib/themes/web/darkTheme.js +4 -0
- package/lib/themes/web/darkTheme.js.map +1 -0
- package/lib/themes/web/highContrastTheme.d.ts +2 -0
- package/lib/themes/web/highContrastTheme.js +4 -0
- package/lib/themes/web/highContrastTheme.js.map +1 -0
- package/lib/themes/web/index.d.ts +3 -0
- package/lib/themes/web/index.js +4 -0
- package/lib/themes/web/index.js.map +1 -0
- package/lib/themes/web/lightTheme.d.ts +2 -0
- package/lib/themes/web/lightTheme.js +4 -0
- package/lib/themes/web/lightTheme.js.map +1 -0
- package/lib/tsdoc-metadata.json +11 -0
- package/lib/types.d.ts +333 -0
- package/lib/types.js +2 -0
- package/lib/types.js.map +1 -0
- package/lib/utils/createDarkTheme.d.ts +2 -0
- package/lib/utils/createDarkTheme.js +17 -0
- package/lib/utils/createDarkTheme.js.map +1 -0
- package/lib/utils/createHighContrastTheme.d.ts +2 -0
- package/lib/utils/createHighContrastTheme.js +17 -0
- package/lib/utils/createHighContrastTheme.js.map +1 -0
- package/lib/utils/createLightTheme.d.ts +2 -0
- package/lib/utils/createLightTheme.js +17 -0
- package/lib/utils/createLightTheme.js.map +1 -0
- package/lib/utils/createTeamsDarkTheme.d.ts +2 -0
- package/lib/utils/createTeamsDarkTheme.js +17 -0
- package/lib/utils/createTeamsDarkTheme.js.map +1 -0
- package/lib/utils/index.d.ts +6 -0
- package/lib/utils/index.js +7 -0
- package/lib/utils/index.js.map +1 -0
- package/lib/utils/mergeThemes.d.ts +8 -0
- package/lib/utils/mergeThemes.js +71 -0
- package/lib/utils/mergeThemes.js.map +1 -0
- package/lib/utils/shadows.d.ts +2 -0
- package/lib/utils/shadows.js +11 -0
- package/lib/utils/shadows.js.map +1 -0
- package/lib/utils/themeToCSSVariables.d.ts +2 -0
- package/lib/utils/themeToCSSVariables.js +29 -0
- package/lib/utils/themeToCSSVariables.js.map +1 -0
- package/lib-amd/alias/dark.d.ts +3 -0
- package/lib-amd/alias/dark.js +129 -0
- package/lib-amd/alias/dark.js.map +1 -0
- package/lib-amd/alias/highContrast.d.ts +3 -0
- package/lib-amd/alias/highContrast.js +129 -0
- package/lib-amd/alias/highContrast.js.map +1 -0
- package/lib-amd/alias/light.d.ts +3 -0
- package/lib-amd/alias/light.js +129 -0
- package/lib-amd/alias/light.js.map +1 -0
- package/lib-amd/alias/teamsDark.d.ts +3 -0
- package/lib-amd/alias/teamsDark.js +129 -0
- package/lib-amd/alias/teamsDark.js.map +1 -0
- package/lib-amd/global/borderRadius.d.ts +2 -0
- package/lib-amd/global/borderRadius.js +14 -0
- package/lib-amd/global/borderRadius.js.map +1 -0
- package/lib-amd/global/brandColors.d.ts +4 -0
- package/lib-amd/global/brandColors.js +42 -0
- package/lib-amd/global/brandColors.js.map +1 -0
- package/lib-amd/global/colors.d.ts +15 -0
- package/lib-amd/global/colors.js +830 -0
- package/lib-amd/global/colors.js.map +1 -0
- package/lib-amd/global/fonts.d.ts +6 -0
- package/lib-amd/global/fonts.js +58 -0
- package/lib-amd/global/fonts.js.map +1 -0
- package/lib-amd/global/index.d.ts +5 -0
- package/lib-amd/global/index.js +10 -0
- package/lib-amd/global/index.js.map +1 -0
- package/lib-amd/global/strokeWidths.d.ts +2 -0
- package/lib-amd/global/strokeWidths.js +12 -0
- package/lib-amd/global/strokeWidths.js.map +1 -0
- package/lib-amd/global/utils.d.ts +2 -0
- package/lib-amd/global/utils.js +35 -0
- package/lib-amd/global/utils.js.map +1 -0
- package/lib-amd/index.d.ts +4 -0
- package/lib-amd/index.js +9 -0
- package/lib-amd/index.js.map +1 -0
- package/lib-amd/themes/index.d.ts +2 -0
- package/lib-amd/themes/index.js +7 -0
- package/lib-amd/themes/index.js.map +1 -0
- package/lib-amd/themes/teams/darkTheme.d.ts +2 -0
- package/lib-amd/themes/teams/darkTheme.js +7 -0
- package/lib-amd/themes/teams/darkTheme.js.map +1 -0
- package/lib-amd/themes/teams/highContrastTheme.d.ts +2 -0
- package/lib-amd/themes/teams/highContrastTheme.js +7 -0
- package/lib-amd/themes/teams/highContrastTheme.js.map +1 -0
- package/lib-amd/themes/teams/index.d.ts +3 -0
- package/lib-amd/themes/teams/index.js +8 -0
- package/lib-amd/themes/teams/index.js.map +1 -0
- package/lib-amd/themes/teams/lightTheme.d.ts +2 -0
- package/lib-amd/themes/teams/lightTheme.js +7 -0
- package/lib-amd/themes/teams/lightTheme.js.map +1 -0
- package/lib-amd/themes/web/darkTheme.d.ts +2 -0
- package/lib-amd/themes/web/darkTheme.js +7 -0
- package/lib-amd/themes/web/darkTheme.js.map +1 -0
- package/lib-amd/themes/web/highContrastTheme.d.ts +2 -0
- package/lib-amd/themes/web/highContrastTheme.js +7 -0
- package/lib-amd/themes/web/highContrastTheme.js.map +1 -0
- package/lib-amd/themes/web/index.d.ts +3 -0
- package/lib-amd/themes/web/index.js +8 -0
- package/lib-amd/themes/web/index.js.map +1 -0
- package/lib-amd/themes/web/lightTheme.d.ts +2 -0
- package/lib-amd/themes/web/lightTheme.js +7 -0
- package/lib-amd/themes/web/lightTheme.js.map +1 -0
- package/lib-amd/types.d.ts +333 -0
- package/lib-amd/types.js +5 -0
- package/lib-amd/types.js.map +1 -0
- package/lib-amd/utils/createDarkTheme.d.ts +2 -0
- package/lib-amd/utils/createDarkTheme.js +17 -0
- package/lib-amd/utils/createDarkTheme.js.map +1 -0
- package/lib-amd/utils/createHighContrastTheme.d.ts +2 -0
- package/lib-amd/utils/createHighContrastTheme.js +17 -0
- package/lib-amd/utils/createHighContrastTheme.js.map +1 -0
- package/lib-amd/utils/createLightTheme.d.ts +2 -0
- package/lib-amd/utils/createLightTheme.js +17 -0
- package/lib-amd/utils/createLightTheme.js.map +1 -0
- package/lib-amd/utils/createTeamsDarkTheme.d.ts +2 -0
- package/lib-amd/utils/createTeamsDarkTheme.js +17 -0
- package/lib-amd/utils/createTeamsDarkTheme.js.map +1 -0
- package/lib-amd/utils/index.d.ts +6 -0
- package/lib-amd/utils/index.js +12 -0
- package/lib-amd/utils/index.js.map +1 -0
- package/lib-amd/utils/mergeThemes.d.ts +8 -0
- package/lib-amd/utils/mergeThemes.js +66 -0
- package/lib-amd/utils/mergeThemes.js.map +1 -0
- package/lib-amd/utils/shadows.d.ts +2 -0
- package/lib-amd/utils/shadows.js +17 -0
- package/lib-amd/utils/shadows.js.map +1 -0
- package/lib-amd/utils/themeToCSSVariables.d.ts +2 -0
- package/lib-amd/utils/themeToCSSVariables.js +28 -0
- package/lib-amd/utils/themeToCSSVariables.js.map +1 -0
- package/lib-commonjs/alias/dark.d.ts +3 -0
- package/lib-commonjs/alias/dark.js +132 -0
- package/lib-commonjs/alias/dark.js.map +1 -0
- package/lib-commonjs/alias/highContrast.d.ts +3 -0
- package/lib-commonjs/alias/highContrast.js +132 -0
- package/lib-commonjs/alias/highContrast.js.map +1 -0
- package/lib-commonjs/alias/light.d.ts +3 -0
- package/lib-commonjs/alias/light.js +132 -0
- package/lib-commonjs/alias/light.js.map +1 -0
- package/lib-commonjs/alias/teamsDark.d.ts +3 -0
- package/lib-commonjs/alias/teamsDark.js +132 -0
- package/lib-commonjs/alias/teamsDark.js.map +1 -0
- package/lib-commonjs/global/borderRadius.d.ts +2 -0
- package/lib-commonjs/global/borderRadius.js +15 -0
- package/lib-commonjs/global/borderRadius.js.map +1 -0
- package/lib-commonjs/global/brandColors.d.ts +4 -0
- package/lib-commonjs/global/brandColors.js +43 -0
- package/lib-commonjs/global/brandColors.js.map +1 -0
- package/lib-commonjs/global/colors.d.ts +15 -0
- package/lib-commonjs/global/colors.js +831 -0
- package/lib-commonjs/global/colors.js.map +1 -0
- package/lib-commonjs/global/fonts.d.ts +6 -0
- package/lib-commonjs/global/fonts.js +57 -0
- package/lib-commonjs/global/fonts.js.map +1 -0
- package/lib-commonjs/global/index.d.ts +5 -0
- package/lib-commonjs/global/index.js +18 -0
- package/lib-commonjs/global/index.js.map +1 -0
- package/lib-commonjs/global/strokeWidths.d.ts +2 -0
- package/lib-commonjs/global/strokeWidths.js +13 -0
- package/lib-commonjs/global/strokeWidths.js.map +1 -0
- package/lib-commonjs/global/utils.d.ts +2 -0
- package/lib-commonjs/global/utils.js +51 -0
- package/lib-commonjs/global/utils.js.map +1 -0
- package/lib-commonjs/index.d.ts +4 -0
- package/lib-commonjs/index.js +16 -0
- package/lib-commonjs/index.js.map +1 -0
- package/lib-commonjs/themes/index.d.ts +2 -0
- package/lib-commonjs/themes/index.js +12 -0
- package/lib-commonjs/themes/index.js.map +1 -0
- package/lib-commonjs/themes/teams/darkTheme.d.ts +2 -0
- package/lib-commonjs/themes/teams/darkTheme.js +13 -0
- package/lib-commonjs/themes/teams/darkTheme.js.map +1 -0
- package/lib-commonjs/themes/teams/highContrastTheme.d.ts +2 -0
- package/lib-commonjs/themes/teams/highContrastTheme.js +13 -0
- package/lib-commonjs/themes/teams/highContrastTheme.js.map +1 -0
- package/lib-commonjs/themes/teams/index.d.ts +3 -0
- package/lib-commonjs/themes/teams/index.js +14 -0
- package/lib-commonjs/themes/teams/index.js.map +1 -0
- package/lib-commonjs/themes/teams/lightTheme.d.ts +2 -0
- package/lib-commonjs/themes/teams/lightTheme.js +13 -0
- package/lib-commonjs/themes/teams/lightTheme.js.map +1 -0
- package/lib-commonjs/themes/web/darkTheme.d.ts +2 -0
- package/lib-commonjs/themes/web/darkTheme.js +13 -0
- package/lib-commonjs/themes/web/darkTheme.js.map +1 -0
- package/lib-commonjs/themes/web/highContrastTheme.d.ts +2 -0
- package/lib-commonjs/themes/web/highContrastTheme.js +13 -0
- package/lib-commonjs/themes/web/highContrastTheme.js.map +1 -0
- package/lib-commonjs/themes/web/index.d.ts +3 -0
- package/lib-commonjs/themes/web/index.js +14 -0
- package/lib-commonjs/themes/web/index.js.map +1 -0
- package/lib-commonjs/themes/web/lightTheme.d.ts +2 -0
- package/lib-commonjs/themes/web/lightTheme.js +13 -0
- package/lib-commonjs/themes/web/lightTheme.js.map +1 -0
- package/lib-commonjs/types.d.ts +333 -0
- package/lib-commonjs/types.js +6 -0
- package/lib-commonjs/types.js.map +1 -0
- package/lib-commonjs/utils/createDarkTheme.d.ts +2 -0
- package/lib-commonjs/utils/createDarkTheme.js +30 -0
- package/lib-commonjs/utils/createDarkTheme.js.map +1 -0
- package/lib-commonjs/utils/createHighContrastTheme.d.ts +2 -0
- package/lib-commonjs/utils/createHighContrastTheme.js +30 -0
- package/lib-commonjs/utils/createHighContrastTheme.js.map +1 -0
- package/lib-commonjs/utils/createLightTheme.d.ts +2 -0
- package/lib-commonjs/utils/createLightTheme.js +30 -0
- package/lib-commonjs/utils/createLightTheme.js.map +1 -0
- package/lib-commonjs/utils/createTeamsDarkTheme.d.ts +2 -0
- package/lib-commonjs/utils/createTeamsDarkTheme.js +30 -0
- package/lib-commonjs/utils/createTeamsDarkTheme.js.map +1 -0
- package/lib-commonjs/utils/index.d.ts +6 -0
- package/lib-commonjs/utils/index.js +28 -0
- package/lib-commonjs/utils/index.js.map +1 -0
- package/lib-commonjs/utils/mergeThemes.d.ts +8 -0
- package/lib-commonjs/utils/mergeThemes.js +81 -0
- package/lib-commonjs/utils/mergeThemes.js.map +1 -0
- package/lib-commonjs/utils/shadows.d.ts +2 -0
- package/lib-commonjs/utils/shadows.js +20 -0
- package/lib-commonjs/utils/shadows.js.map +1 -0
- package/lib-commonjs/utils/themeToCSSVariables.d.ts +2 -0
- package/lib-commonjs/utils/themeToCSSVariables.js +38 -0
- package/lib-commonjs/utils/themeToCSSVariables.js.map +1 -0
- package/package.json +52 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["utils/shadows.ts"],"names":[],"mappings":";;;;;;;AAEA,SAAgB,uBAAhB,CAAwC,YAAxC,EAA8D,QAA9D,EAA8E;AAC5E,SAAO;AACL,IAAA,OAAO,EAAE,aAAW,YAAX,GAAuB,cAAvB,GAAsC,QAD1C;AAEL,IAAA,OAAO,EAAE,aAAW,YAAX,GAAuB,cAAvB,GAAsC,QAF1C;AAGL,IAAA,OAAO,EAAE,aAAW,YAAX,GAAuB,cAAvB,GAAsC,QAH1C;AAIL,IAAA,QAAQ,EAAE,aAAW,YAAX,GAAuB,eAAvB,GAAuC,QAJ5C;AAKL,IAAA,QAAQ,EAAE,aAAW,YAAX,GAAuB,gBAAvB,GAAwC,QAL7C;AAML,IAAA,QAAQ,EAAE,aAAW,YAAX,GAAuB,gBAAvB,GAAwC;AAN7C,GAAP;AAQD;;AATD,OAAA,CAAA,uBAAA,GAAA,uBAAA","sourcesContent":["import type { ShadowLevelTokens } from '../types';\n\nexport function createShadowLevelTokens(ambientColor: string, keyColor: string): ShadowLevelTokens {\n return {\n shadow2: `0 0 2px ${ambientColor}, 0 1px 2px ${keyColor}`,\n shadow4: `0 0 2px ${ambientColor}, 0 2px 4px ${keyColor}`,\n shadow8: `0 0 2px ${ambientColor}, 0 4px 8px ${keyColor}`,\n shadow16: `0 0 2px ${ambientColor}, 0 6px 16px ${keyColor}`,\n shadow28: `0 0 8px ${ambientColor}, 0 14px 28px ${keyColor}`,\n shadow64: `0 0 8px ${ambientColor}, 0 32px 64px ${keyColor}`,\n };\n}\n"],"sourceRoot":"../src/"}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.themeToCSSVariables = void 0;
|
7
|
+
|
8
|
+
function flattenThemeToCSSVariables( // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
9
|
+
themePart, parentKey, result) {
|
10
|
+
if (parentKey === void 0) {
|
11
|
+
parentKey = '';
|
12
|
+
}
|
13
|
+
|
14
|
+
if (result === void 0) {
|
15
|
+
result = {};
|
16
|
+
}
|
17
|
+
|
18
|
+
for (var propertyName in themePart) {
|
19
|
+
if (Object.prototype.hasOwnProperty.call(themePart, propertyName)) {
|
20
|
+
var variableName = parentKey ? parentKey + '-' + propertyName : "--" + propertyName;
|
21
|
+
|
22
|
+
if (typeof themePart[propertyName] === 'object') {
|
23
|
+
flattenThemeToCSSVariables(themePart[propertyName], variableName, result);
|
24
|
+
} else {
|
25
|
+
result[variableName] = themePart[propertyName];
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
return result;
|
31
|
+
}
|
32
|
+
|
33
|
+
function themeToCSSVariables(theme) {
|
34
|
+
return flattenThemeToCSSVariables(theme);
|
35
|
+
}
|
36
|
+
|
37
|
+
exports.themeToCSSVariables = themeToCSSVariables;
|
38
|
+
//# sourceMappingURL=themeToCSSVariables.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["utils/themeToCSSVariables.ts"],"names":[],"mappings":";;;;;;;AAEA,SAAS,0BAAT,EACE;AACA,SAFF,EAGE,SAHF,EAIE,MAJF,EAIqC;AADnC,MAAA,SAAA,KAAA,KAAA,CAAA,EAAA;AAAA,IAAA,SAAA,GAAA,EAAA;AAAsB;;AACtB,MAAA,MAAA,KAAA,KAAA,CAAA,EAAA;AAAA,IAAA,MAAA,GAAA,EAAA;AAAmC;;AAEnC,OAAK,IAAM,YAAX,IAA2B,SAA3B,EAAsC;AACpC,QAAI,MAAM,CAAC,SAAP,CAAiB,cAAjB,CAAgC,IAAhC,CAAqC,SAArC,EAAgD,YAAhD,CAAJ,EAAmE;AACjE,UAAM,YAAY,GAAG,SAAS,GAAG,SAAS,GAAG,GAAZ,GAAkB,YAArB,GAAoC,OAAK,YAAvE;;AAEA,UAAI,OAAO,SAAS,CAAC,YAAD,CAAhB,KAAmC,QAAvC,EAAiD;AAC/C,QAAA,0BAA0B,CAAC,SAAS,CAAC,YAAD,CAAV,EAA0B,YAA1B,EAAwC,MAAxC,CAA1B;AACD,OAFD,MAEO;AACL,QAAA,MAAM,CAAC,YAAD,CAAN,GAAuB,SAAS,CAAC,YAAD,CAAhC;AACD;AACF;AACF;;AACD,SAAO,MAAP;AACD;;AAED,SAAgB,mBAAhB,CAAoC,KAApC,EAAgD;AAC9C,SAAO,0BAA0B,CAAC,KAAD,CAAjC;AACD;;AAFD,OAAA,CAAA,mBAAA,GAAA,mBAAA","sourcesContent":["import type { Theme } from '../types';\n\nfunction flattenThemeToCSSVariables(\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n themePart: Record<string, any>,\n parentKey: string = '',\n result: Record<string, string> = {},\n) {\n for (const propertyName in themePart) {\n if (Object.prototype.hasOwnProperty.call(themePart, propertyName)) {\n const variableName = parentKey ? parentKey + '-' + propertyName : `--${propertyName}`;\n\n if (typeof themePart[propertyName] === 'object') {\n flattenThemeToCSSVariables(themePart[propertyName], variableName, result);\n } else {\n result[variableName] = themePart[propertyName];\n }\n }\n }\n return result;\n}\n\nexport function themeToCSSVariables(theme: Theme): Record<string, string> {\n return flattenThemeToCSSVariables(theme);\n}\n"],"sourceRoot":"../src/"}
|
package/package.json
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
{
|
2
|
+
"name": "@fluentui/react-theme",
|
3
|
+
"version": "9.0.0-alpha.23",
|
4
|
+
"description": "Fluent UI themes",
|
5
|
+
"main": "lib-commonjs/index.js",
|
6
|
+
"module": "lib/index.js",
|
7
|
+
"typings": "lib/index.d.ts",
|
8
|
+
"sideEffects": false,
|
9
|
+
"repository": {
|
10
|
+
"type": "git",
|
11
|
+
"url": "https://github.com/microsoft/fluentui"
|
12
|
+
},
|
13
|
+
"license": "MIT",
|
14
|
+
"scripts": {
|
15
|
+
"build": "just-scripts build",
|
16
|
+
"bundle-size": "bundle-size measure",
|
17
|
+
"clean": "just-scripts clean",
|
18
|
+
"code-style": "just-scripts code-style",
|
19
|
+
"just": "just-scripts",
|
20
|
+
"lint": "just-scripts lint",
|
21
|
+
"start": "storybook",
|
22
|
+
"storybook": "start-storybook",
|
23
|
+
"test": "jest",
|
24
|
+
"docs": "api-extractor run --config=config/api-extractor.local.json --local",
|
25
|
+
"build:local": "tsc -p . --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output dist/react-theme/src && yarn docs"
|
26
|
+
},
|
27
|
+
"devDependencies": {
|
28
|
+
"@fluentui/eslint-plugin": "*",
|
29
|
+
"@fluentui/scripts": "^1.0.0",
|
30
|
+
"@types/react": "16.9.42",
|
31
|
+
"@types/react-dom": "16.9.10",
|
32
|
+
"react": "16.8.6",
|
33
|
+
"react-dom": "16.8.6"
|
34
|
+
},
|
35
|
+
"dependencies": {
|
36
|
+
"tslib": "^2.1.0"
|
37
|
+
},
|
38
|
+
"peerDependencies": {
|
39
|
+
"@types/react": ">=16.8.0 <18.0.0",
|
40
|
+
"@types/react-dom": ">=16.8.0 <18.0.0",
|
41
|
+
"react": ">=16.8.0 <18.0.0",
|
42
|
+
"react-dom": ">=16.8.0 <18.0.0"
|
43
|
+
},
|
44
|
+
"beachball": {
|
45
|
+
"tag": "alpha",
|
46
|
+
"disallowedChangeTypes": [
|
47
|
+
"major",
|
48
|
+
"minor",
|
49
|
+
"patch"
|
50
|
+
]
|
51
|
+
}
|
52
|
+
}
|