@fluentui-react-native/tester 0.128.2 → 0.129.0
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 +271 -1
- package/CHANGELOG.md +53 -2
- package/docs/android.md +7 -16
- package/docs/ios.md +7 -16
- package/docs/macos.md +7 -16
- package/docs/windows.md +7 -16
- package/lib/fluent-tester/src/FluentTester.js +1 -1
- package/lib/fluent-tester/src/FluentTester.js.map +1 -1
- package/lib/fluent-tester/src/FluentTesterApp.d.ts.map +1 -1
- package/lib/fluent-tester/src/FluentTesterApp.js +3 -30
- package/lib/fluent-tester/src/FluentTesterApp.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/ColorTokens/ColorTokenTest.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/ColorTokens/ColorTokenTest.js +111 -23
- package/lib/fluent-tester/src/TestComponents/ColorTokens/ColorTokenTest.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/FluentTester.js +1 -1
- package/lib-commonjs/fluent-tester/src/FluentTester.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/FluentTesterApp.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/FluentTesterApp.js +2 -29
- package/lib-commonjs/fluent-tester/src/FluentTesterApp.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/ColorTokens/ColorTokenTest.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/ColorTokens/ColorTokenTest.js +109 -21
- package/lib-commonjs/fluent-tester/src/TestComponents/ColorTokens/ColorTokenTest.js.map +1 -1
- package/package.json +74 -60
- package/src/FluentTester.tsx +1 -1
- package/src/FluentTesterApp.tsx +3 -31
- package/src/TestComponents/ColorTokens/ColorTokenTest.tsx +147 -24
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { View, StyleSheet } from 'react-native';
|
|
3
|
+
import { View, StyleSheet, Platform } from 'react-native';
|
|
4
4
|
import { useTheme } from '@fluentui-react-native/theme-types';
|
|
5
5
|
import { themedStyleSheet } from '@fluentui-react-native/themed-stylesheet';
|
|
6
6
|
import { getCurrentAppearance } from '@fluentui-react-native/theming-utils';
|
|
7
7
|
import { createOfficeAliasTokens } from '@fluentui-react-native/win32-theme';
|
|
8
8
|
import { createAliasTokens } from '@fluentui-react-native/default-theme';
|
|
9
9
|
import { commonTestStyles } from '../Common/styles';
|
|
10
|
-
import { Text } from '@fluentui/react-native';
|
|
10
|
+
import { Text, ToggleButton } from '@fluentui/react-native';
|
|
11
11
|
import { Test } from '../Test';
|
|
12
12
|
import { COLORTOKENS_TEST_COMPONENT, COLORTOKEN_TESTPAGE } from '../../../../E2E/src/ColorTokens/consts';
|
|
13
13
|
import { testProps } from '../Common/TestProps';
|
|
14
|
+
import { globalTokens } from '@fluentui-react-native/theme-tokens';
|
|
15
|
+
import Svg, { G, Path } from 'react-native-svg';
|
|
14
16
|
var getThemedStyles = themedStyleSheet(function (theme) {
|
|
15
17
|
return {
|
|
16
18
|
swatch: {
|
|
@@ -28,27 +30,43 @@ var styles = StyleSheet.create({
|
|
|
28
30
|
alignItems: 'center',
|
|
29
31
|
marginVertical: 5,
|
|
30
32
|
},
|
|
31
|
-
pickerContainer: {
|
|
32
|
-
flexDirection: 'row',
|
|
33
|
-
justifyContent: 'space-evenly',
|
|
34
|
-
},
|
|
35
33
|
stackStyle: {
|
|
36
34
|
borderWidth: 2,
|
|
37
35
|
padding: 12,
|
|
38
36
|
margin: 8,
|
|
39
37
|
},
|
|
38
|
+
statusView: {
|
|
39
|
+
flexDirection: 'row',
|
|
40
|
+
alignItems: 'center',
|
|
41
|
+
justifyContent: 'space-between',
|
|
42
|
+
margin: 8,
|
|
43
|
+
},
|
|
44
|
+
// Needed to ensure that with the button is toggled on, the top of the newly shown
|
|
45
|
+
// content is visible so the user knows to scroll down
|
|
46
|
+
toggleButtonAreaPadding: {
|
|
47
|
+
paddingBottom: 10,
|
|
48
|
+
},
|
|
40
49
|
});
|
|
41
|
-
var getSwatchColorStyle = function (
|
|
42
|
-
styles[
|
|
43
|
-
return styles[
|
|
50
|
+
var getSwatchColorStyle = function (colorName, colorValue) {
|
|
51
|
+
styles[colorName] = styles[colorName] || { backgroundColor: colorValue };
|
|
52
|
+
return styles[colorName];
|
|
44
53
|
};
|
|
45
54
|
var ColorToken = function (p) {
|
|
55
|
+
var _a;
|
|
56
|
+
if (p.colorValue === undefined) {
|
|
57
|
+
console.warn('Color token ' + p.colorName + ' is undefined');
|
|
58
|
+
}
|
|
46
59
|
var themedStyles = getThemedStyles(useTheme());
|
|
47
60
|
return (React.createElement(View, { style: styles.swatchItem },
|
|
48
|
-
React.createElement(View, __assign({ style: [getSwatchColorStyle(p.
|
|
49
|
-
React.createElement(Text, null, p.
|
|
61
|
+
React.createElement(View, __assign({ style: [getSwatchColorStyle(p.colorName, p.colorValue), themedStyles.swatch] }, testProps(COLORTOKENS_TEST_COMPONENT))),
|
|
62
|
+
React.createElement(Text, null, p.colorName + ' (' + ((_a = p.colorValue) === null || _a === void 0 ? void 0 : _a.toString()) + ')')));
|
|
63
|
+
};
|
|
64
|
+
var getSwatch = function (item) {
|
|
65
|
+
var colorValue = item.colorValue, colorName = item.colorName;
|
|
66
|
+
return React.createElement(ColorToken, { key: colorName, colorValue: colorValue, colorName: colorName });
|
|
50
67
|
};
|
|
51
|
-
|
|
68
|
+
/// Alias color tokens
|
|
69
|
+
var AliasColorTokensSwatchList = function () {
|
|
52
70
|
var theme = useTheme();
|
|
53
71
|
var isOfficeTheme = theme.name === 'White' ||
|
|
54
72
|
theme.name === 'Colorful' ||
|
|
@@ -58,26 +76,96 @@ var AliasTokensSwatchList = function () {
|
|
|
58
76
|
var aliasColorTokens = isOfficeTheme
|
|
59
77
|
? createOfficeAliasTokens(theme.name)
|
|
60
78
|
: createAliasTokens(getCurrentAppearance(theme.host.appearance, 'light'));
|
|
61
|
-
var aggregator = React.useCallback(function (
|
|
62
|
-
return {
|
|
79
|
+
var aggregator = React.useCallback(function (colorName) {
|
|
80
|
+
return { colorName: colorName, colorValue: aliasColorTokens[colorName] };
|
|
63
81
|
}, [aliasColorTokens]);
|
|
64
82
|
var flattenArray = React.useCallback(function () {
|
|
65
83
|
return Object.keys(aliasColorTokens).map(aggregator);
|
|
66
84
|
}, [aliasColorTokens, aggregator]);
|
|
67
|
-
var
|
|
68
|
-
var renderSwatch = React.useCallback(
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
85
|
+
var aliasColorTokensAsArray = React.useMemo(flattenArray, [flattenArray]);
|
|
86
|
+
var renderSwatch = React.useCallback(getSwatch, []);
|
|
87
|
+
return (React.createElement(View, { style: commonTestStyles.view },
|
|
88
|
+
React.createElement(View, { style: styles.stackStyle }, aliasColorTokensAsArray.map(function (item) { return renderSwatch(item); }))));
|
|
89
|
+
};
|
|
90
|
+
/// Global color tokens - neutral
|
|
91
|
+
var globalNeutralColorNamesSortedDarkToLight = Object.keys(globalTokens.color)
|
|
92
|
+
.filter(function (globalColorName) { return globalColorName.includes('grey') || globalColorName === 'black' || globalColorName === 'white'; })
|
|
93
|
+
.sort(function (color1, color2) {
|
|
94
|
+
var color1hex = globalTokens.color[color1];
|
|
95
|
+
var color2hex = globalTokens.color[color2];
|
|
96
|
+
// All global color tokens are hex based colors, so we can make the assumption that ordering the hex values alphabetically
|
|
97
|
+
// will order the colors from dark to light
|
|
98
|
+
return color1hex === color2hex ? 0 : color1hex < color2hex ? -1 : 1;
|
|
99
|
+
});
|
|
100
|
+
var globalNeutralColorTokensAsArray = globalNeutralColorNamesSortedDarkToLight.map(function (colorName) {
|
|
101
|
+
return {
|
|
102
|
+
colorName: colorName,
|
|
103
|
+
colorValue: globalTokens.color[colorName],
|
|
104
|
+
};
|
|
105
|
+
});
|
|
106
|
+
var GlobalNeutralColorTokensSwatchList = function () {
|
|
107
|
+
var renderSwatch = React.useCallback(getSwatch, []);
|
|
72
108
|
return (React.createElement(View, { style: commonTestStyles.view },
|
|
73
|
-
React.createElement(
|
|
74
|
-
|
|
109
|
+
React.createElement(View, { style: styles.stackStyle }, globalNeutralColorTokensAsArray.map(function (item) { return renderSwatch(item); }))));
|
|
110
|
+
};
|
|
111
|
+
/// Global color tokens - shared
|
|
112
|
+
var globalSharedColorNames = Object.keys(globalTokens.color).filter(function (key) { return globalTokens.color[key].primary !== undefined; });
|
|
113
|
+
var globalSharedColorVariantsSortedDarkToLight = Object.keys(globalTokens.color.red).sort(function (color1, color2) {
|
|
114
|
+
var color1hex = globalTokens.color.red[color1];
|
|
115
|
+
var color2hex = globalTokens.color.red[color2];
|
|
116
|
+
// All global color tokens are hex based colors, so we can make the assumption that ordering the hex values alphabetically
|
|
117
|
+
// will order the colors from dark to light
|
|
118
|
+
return color1hex === color2hex ? 0 : color1hex < color2hex ? -1 : 1;
|
|
119
|
+
});
|
|
120
|
+
var globalSharedColorTokensAsArray = globalSharedColorNames
|
|
121
|
+
.map(function (sharedColorName) {
|
|
122
|
+
return globalSharedColorVariantsSortedDarkToLight.map(function (variant) {
|
|
123
|
+
return {
|
|
124
|
+
colorName: sharedColorName + '.' + variant,
|
|
125
|
+
colorValue: globalTokens.color[sharedColorName][variant],
|
|
126
|
+
};
|
|
127
|
+
});
|
|
128
|
+
})
|
|
129
|
+
.reduce(function (accumulator, sharedColor) { return accumulator.concat(sharedColor); });
|
|
130
|
+
var GlobalSharedColorTokensSwatchList = function () {
|
|
131
|
+
var renderSwatch = React.useCallback(getSwatch, []);
|
|
132
|
+
var _a = React.useState(false), showGlobalSharedColors = _a[0], setShowGlobalSharedColors = _a[1];
|
|
133
|
+
var toggleSvg = function () {
|
|
134
|
+
var plusPath = 'M6.5 1.75C6.5 1.33579 6.16421 1 5.75 1C5.33579 1 5 1.33579 5 1.75V5H1.75C1.33579 5 1 5.33579 1 5.75C1 6.16421 1.33579 6.5 1.75 6.5H5V9.75C5 10.1642 5.33579 10.5 5.75 10.5C6.16421 10.5 6.5 10.1642 6.5 9.75V6.5H9.75C10.1642 6.5 10.5 6.16421 10.5 5.75C10.5 5.33579 10.1642 5 9.75 5H6.5V1.75Z';
|
|
135
|
+
var minusPath = 'M2.75 5.25h6.5s0.75 0 0.75 0.75v0s0 0.75 -0.75 0.75h-6.5s-0.75 0 -0.75 -0.75v0s0 -0.75 0.75 -0.75';
|
|
136
|
+
var path = showGlobalSharedColors ? minusPath : plusPath;
|
|
137
|
+
return (React.createElement(Svg, null,
|
|
138
|
+
React.createElement(G, null,
|
|
139
|
+
React.createElement(Path, { d: path, fill: "black" }))));
|
|
140
|
+
};
|
|
141
|
+
var svgProps = { src: toggleSvg };
|
|
142
|
+
var plusCodepoint = 0x2795;
|
|
143
|
+
var minusCodepoint = 0x2796;
|
|
144
|
+
var fontIconProps = {
|
|
145
|
+
codepoint: showGlobalSharedColors ? minusCodepoint : plusCodepoint,
|
|
146
|
+
fontSize: 10,
|
|
147
|
+
};
|
|
148
|
+
var toggleIconProps = Platform.OS === 'windows' ? { fontSource: fontIconProps } : { svgSource: svgProps, width: 12, height: 12 };
|
|
149
|
+
return (React.createElement(View, { style: styles.toggleButtonAreaPadding },
|
|
150
|
+
React.createElement(View, { style: styles.statusView },
|
|
151
|
+
React.createElement(Text, { variant: "subheaderStandard" }, "Show color tokens"),
|
|
152
|
+
React.createElement(ToggleButton, { iconOnly: true, icon: toggleIconProps, onClick: function () { return setShowGlobalSharedColors(!showGlobalSharedColors); } })),
|
|
153
|
+
showGlobalSharedColors && (React.createElement(View, { style: commonTestStyles.view },
|
|
154
|
+
React.createElement(View, { style: styles.stackStyle }, globalSharedColorTokensAsArray.map(function (item) { return renderSwatch(item); }))))));
|
|
75
155
|
};
|
|
76
156
|
var themeSections = [
|
|
77
157
|
{
|
|
78
158
|
name: 'Alias Color Tokens',
|
|
79
159
|
testID: COLORTOKEN_TESTPAGE,
|
|
80
|
-
component: function () { return React.createElement(
|
|
160
|
+
component: function () { return React.createElement(AliasColorTokensSwatchList, null); },
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
name: 'Global Color Tokens - Neutral Colors',
|
|
164
|
+
component: function () { return React.createElement(GlobalNeutralColorTokensSwatchList, null); },
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
name: 'Global Color Tokens - Shared Colors',
|
|
168
|
+
component: function () { return React.createElement(GlobalSharedColorTokensSwatchList, null); },
|
|
81
169
|
},
|
|
82
170
|
];
|
|
83
171
|
export var ColorTokensTest = function () {
|
|
@@ -88,7 +176,7 @@ export var ColorTokensTest = function () {
|
|
|
88
176
|
macosStatus: 'Backlog',
|
|
89
177
|
androidStatus: 'Experimental',
|
|
90
178
|
};
|
|
91
|
-
var description = 'Alias tokens given from token pipeline.
|
|
179
|
+
var description = 'Alias and global tokens given from token pipeline. Used to style components.';
|
|
92
180
|
return React.createElement(Test, { name: "Color Tokens Test", description: description, sections: themeSections, status: status });
|
|
93
181
|
};
|
|
94
182
|
//# sourceMappingURL=ColorTokenTest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorTokenTest.js","sourceRoot":"","sources":["../../../../../src/TestComponents/ColorTokens/ColorTokenTest.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAa,UAAU,EAAc,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"ColorTokenTest.js","sourceRoot":"","sources":["../../../../../src/TestComponents/ColorTokens/ColorTokenTest.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAa,UAAU,EAAc,QAAQ,EAAE,MAAM,cAAc,CAAC;AACjF,OAAO,EAAE,QAAQ,EAAS,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC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ACzB,oBAAC,IAAI,IAAC,KAAK,EAAE,gBAAgB,CAAC,IAAI;YAChC,oBAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,UAAU,IAAG,8BAA8B,CAAC,GAAG,CAAC,UAAC,IAAI,IAAK,OAAA,YAAY,CAAC,IAAI,CAAC,EAAlB,CAAkB,CAAC,CAAQ,CACpG,CACR,CACI,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,IAAM,aAAa,GAAkB;IACnC;QACE,IAAI,EAAE,oBAAoB;QAC1B,MAAM,EAAE,mBAAmB;QAC3B,SAAS,EAAE,cAAM,OAAA,oBAAC,0BAA0B,OAAG,EAA9B,CAA8B;KAChD;IACD;QACE,IAAI,EAAE,sCAAsC;QAC5C,SAAS,EAAE,cAAM,OAAA,oBAAC,kCAAkC,OAAG,EAAtC,CAAsC;KACxD;IACD;QACE,IAAI,EAAE,qCAAqC;QAC3C,SAAS,EAAE,cAAM,OAAA,oBAAC,iCAAiC,OAAG,EAArC,CAAqC;KACvD;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,eAAe,GAA4B;IACtD,IAAM,MAAM,GAAmB;QAC7B,WAAW,EAAE,MAAM;QACnB,SAAS,EAAE,SAAS;QACpB,SAAS,EAAE,cAAc;QACzB,WAAW,EAAE,SAAS;QACtB,aAAa,EAAE,cAAc;KAC9B,CAAC;IAEF,IAAM,WAAW,GAAG,8EAA8E,CAAC;IAEnG,OAAO,oBAAC,IAAI,IAAC,IAAI,EAAC,mBAAmB,EAAC,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,GAAI,CAAC;AAC9G,CAAC,CAAC"}
|
|
@@ -17,7 +17,7 @@ var TestProps_1 = require("./TestComponents/Common/TestProps");
|
|
|
17
17
|
var getThemedStyles = (0, themed_stylesheet_1.themedStyleSheet)(function (t) {
|
|
18
18
|
return {
|
|
19
19
|
root: {
|
|
20
|
-
backgroundColor: t.colors.
|
|
20
|
+
backgroundColor: t.colors.neutralBackground1,
|
|
21
21
|
flex: 1,
|
|
22
22
|
flexGrow: 1,
|
|
23
23
|
flexDirection: 'column',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FluentTester.js","sourceRoot":"","sources":["../../../src/FluentTester.tsx"],"names":[],"mappings":";;;;AACA,uDAAyD;AACzD,wDAAmE;AACnE,8EAA4E;AAC5E,wDAA+B;AAC/B,6CAAkH;AAClH,sDAA0H;AAC1H,yDAAkF;AAClF,kEAA8D;AAC9D,qDAAoD;AACpD,yCAAoC;AACpC,sDAAwD;AACxD,+DAA8D;AAkB9D,IAAM,eAAe,GAAG,IAAA,oCAAgB,EAAC,UAAC,CAAQ;IAChD,OAAO;QACL,IAAI,EAAE;YACJ,eAAe,EAAE,CAAC,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"FluentTester.js","sourceRoot":"","sources":["../../../src/FluentTester.tsx"],"names":[],"mappings":";;;;AACA,uDAAyD;AACzD,wDAAmE;AACnE,8EAA4E;AAC5E,wDAA+B;AAC/B,6CAAkH;AAClH,sDAA0H;AAC1H,yDAAkF;AAClF,kEAA8D;AAC9D,qDAAoD;AACpD,yCAAoC;AACpC,sDAAwD;AACxD,+DAA8D;AAkB9D,IAAM,eAAe,GAAG,IAAA,oCAAgB,EAAC,UAAC,CAAQ;IAChD,OAAO;QACL,IAAI,EAAE;YACJ,eAAe,EAAE,CAAC,CAAC,MAAM,CAAC,kBAAkB;YAC5C,IAAI,EAAE,CAAC;YACP,QAAQ,EAAE,CAAC;YACX,aAAa,EAAE,QAAQ;YACvB,cAAc,EAAE,YAAY;YAC5B,UAAU,EAAE,SAAS;YACrB,OAAO,EAAE,CAAC;SACX;QACD,aAAa,EAAE;YACb,WAAW,EAAE,CAAC,CAAC,MAAM,CAAC,WAAW;YACjC,WAAW,EAAE,GAAG;SACjB;KACF,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,IAAM,cAAc,GAA4B;IAC9C,OAAO,oBAAC,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KAAK,EAAE,YAAY,CAAC,aAAa,GAAI,CAC3C,CACR,CAAC;YACJ,CAAC,CAAC,CACS,CACR,CACR,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,IAAM,iBAAiB,GAA4B;QACjD,OAAO,CACL,oBAAC,yBAAU,0BACT,qBAAqB,EAAE,2BAAkB,CAAC,WAAW,IAEjD,IAAA,qBAAS,EAAC,sCAA6B,CAAC;YAE5C,oBAAC,aAAa,OAAG,CACN,CACd,CAAC;IACJ,CAAC,CAAC;IAEF,OAAO;IACL,8GAA8G;IAC9G,oBAAC,QAAQ,0BACP,KAAK,EAAE,YAAY,CAAC,IAAI,EACxB,UAAU,EAAE,uBAAQ,CAAC,EAAE,KAAK,KAAK,IAE7B,IAAA,qBAAS,EAAC,kBAAS,CAAC;QAExB,oBAAC,MAAM,IAAC,oBAAoB,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,CAAC,cAAc,EAAE,sBAAsB,EAAE,WAAW,GAAI;QACjI,oBAAC,eAAe,OAAG;QACnB,oBAAC,mBAAI,IAAC,KAAK,EAAE,2BAAkB,CAAC,QAAQ;YACrC,oBAAoB,CAAC,CAAC,CAAC,oBAAC,cAAc,OAAG,CAAC,CAAC,CAAC,oBAAC,QAAQ,OAAG;YACxD,oBAAoB,IAAI,oBAAC,iBAAiB,OAAG,CACzC,CACE,CACZ,CAAC;AACJ,CAAC,CAAC;AAlIW,QAAA,YAAY,gBAkIvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FluentTesterApp.d.ts","sourceRoot":"","sources":["../../../src/FluentTesterApp.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAgB,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"FluentTesterApp.d.ts","sourceRoot":"","sources":["../../../src/FluentTesterApp.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAgB,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAIjE,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAYtE,CAAC"}
|
|
@@ -7,36 +7,9 @@ var React = (0, tslib_1.__importStar)(require("react"));
|
|
|
7
7
|
var react_native_1 = require("react-native");
|
|
8
8
|
var FluentTester_1 = require("./FluentTester");
|
|
9
9
|
var index_1 = require("./theme/index");
|
|
10
|
-
|
|
11
|
-
* Hook that "guesses" our Size Class on iOS based on our window width.
|
|
12
|
-
* Note: this is hacky and should not be used.
|
|
13
|
-
*
|
|
14
|
-
* For more information about Size Classes, see the following:
|
|
15
|
-
* https://developer.apple.com/documentation/uikit/uitraitcollection
|
|
16
|
-
* https://developer.apple.com/design/human-interface-guidelines/foundations/layout/#platform-considerations
|
|
17
|
-
* @returns SizeClassIOS: enum determining our size class
|
|
18
|
-
*/
|
|
19
|
-
var useSizeClassIOS_DO_NOT_USE = function () {
|
|
20
|
-
if (react_native_1.Platform.OS === 'ios') {
|
|
21
|
-
/**
|
|
22
|
-
* Technically this violates the rules of hooks (calling hooks inside conditions) but Platform.OS checks are pretty non-conditional.
|
|
23
|
-
* This is necessary because useWindowDimensions() does not work in win32.
|
|
24
|
-
*/
|
|
25
|
-
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
26
|
-
var width = (0, react_native_1.useWindowDimensions)().width;
|
|
27
|
-
if (react_native_1.Platform.isPad && width > 375) {
|
|
28
|
-
return 'regular';
|
|
29
|
-
}
|
|
30
|
-
else {
|
|
31
|
-
return 'compact';
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
else {
|
|
35
|
-
return undefined;
|
|
36
|
-
}
|
|
37
|
-
};
|
|
10
|
+
var experimental_appearance_additions_1 = require("@fluentui-react-native/experimental-appearance-additions");
|
|
38
11
|
var FluentTesterApp = function (props) {
|
|
39
|
-
var sizeClass =
|
|
12
|
+
var sizeClass = (0, experimental_appearance_additions_1.useHorizontalSizeClass)();
|
|
40
13
|
var isMobile = react_native_1.Platform.OS === 'android' || (react_native_1.Platform.OS === 'ios' && react_native_1.Platform.isPad === false);
|
|
41
14
|
// If on iPad we are presented in a Split View or Slide Over context, show the single pane view.
|
|
42
15
|
var shouldShowSinglePane = isMobile || (!isMobile && sizeClass === 'compact');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FluentTesterApp.js","sourceRoot":"","sources":["../../../src/FluentTesterApp.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;AAEb,sDAA6D;AAC7D,wDAA+B;AAC/B,
|
|
1
|
+
{"version":3,"file":"FluentTesterApp.js","sourceRoot":"","sources":["../../../src/FluentTesterApp.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;AAEb,sDAA6D;AAC7D,wDAA+B;AAC/B,6CAAwC;AACxC,+CAAiE;AACjE,uCAA4C;AAC5C,8GAAkG;AAE3F,IAAM,eAAe,GAA+C,UAAC,KAAK;IAC/E,IAAM,SAAS,GAAG,IAAA,0DAAsB,GAAE,CAAC;IAC3C,IAAM,QAAQ,GAAG,uBAAQ,CAAC,EAAE,KAAK,SAAS,IAAI,CAAC,uBAAQ,CAAC,EAAE,KAAK,KAAK,IAAI,uBAAQ,CAAC,KAAK,KAAK,KAAK,CAAC,CAAC;IAElG,gGAAgG;IAChG,IAAM,oBAAoB,GAAG,QAAQ,IAAI,CAAC,CAAC,QAAQ,IAAI,SAAS,KAAK,SAAS,CAAC,CAAC;IAEhF,OAAO,CACL,oBAAC,qBAAa,IAAC,KAAK,EAAE,mBAAW;QAC/B,oBAAC,2BAAY,0BAAC,oBAAoB,EAAE,oBAAoB,IAAM,KAAK,EAAI,CACzD,CACjB,CAAC;AACJ,CAAC,CAAC;AAZW,QAAA,eAAe,mBAY1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorTokenTest.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/ColorTokens/ColorTokenTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ColorTokenTest.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/ColorTokens/ColorTokenTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAqO/B,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAYnC,CAAC"}
|
|
@@ -14,6 +14,8 @@ var react_native_2 = require("@fluentui/react-native");
|
|
|
14
14
|
var Test_1 = require("../Test");
|
|
15
15
|
var consts_1 = require("../../../../E2E/src/ColorTokens/consts");
|
|
16
16
|
var TestProps_1 = require("../Common/TestProps");
|
|
17
|
+
var theme_tokens_1 = require("@fluentui-react-native/theme-tokens");
|
|
18
|
+
var react_native_svg_1 = (0, tslib_1.__importStar)(require("react-native-svg"));
|
|
17
19
|
var getThemedStyles = (0, themed_stylesheet_1.themedStyleSheet)(function (theme) {
|
|
18
20
|
return {
|
|
19
21
|
swatch: {
|
|
@@ -31,27 +33,43 @@ var styles = react_native_1.StyleSheet.create({
|
|
|
31
33
|
alignItems: 'center',
|
|
32
34
|
marginVertical: 5,
|
|
33
35
|
},
|
|
34
|
-
pickerContainer: {
|
|
35
|
-
flexDirection: 'row',
|
|
36
|
-
justifyContent: 'space-evenly',
|
|
37
|
-
},
|
|
38
36
|
stackStyle: {
|
|
39
37
|
borderWidth: 2,
|
|
40
38
|
padding: 12,
|
|
41
39
|
margin: 8,
|
|
42
40
|
},
|
|
41
|
+
statusView: {
|
|
42
|
+
flexDirection: 'row',
|
|
43
|
+
alignItems: 'center',
|
|
44
|
+
justifyContent: 'space-between',
|
|
45
|
+
margin: 8,
|
|
46
|
+
},
|
|
47
|
+
// Needed to ensure that with the button is toggled on, the top of the newly shown
|
|
48
|
+
// content is visible so the user knows to scroll down
|
|
49
|
+
toggleButtonAreaPadding: {
|
|
50
|
+
paddingBottom: 10,
|
|
51
|
+
},
|
|
43
52
|
});
|
|
44
|
-
var getSwatchColorStyle = function (
|
|
45
|
-
styles[
|
|
46
|
-
return styles[
|
|
53
|
+
var getSwatchColorStyle = function (colorName, colorValue) {
|
|
54
|
+
styles[colorName] = styles[colorName] || { backgroundColor: colorValue };
|
|
55
|
+
return styles[colorName];
|
|
47
56
|
};
|
|
48
57
|
var ColorToken = function (p) {
|
|
58
|
+
var _a;
|
|
59
|
+
if (p.colorValue === undefined) {
|
|
60
|
+
console.warn('Color token ' + p.colorName + ' is undefined');
|
|
61
|
+
}
|
|
49
62
|
var themedStyles = getThemedStyles((0, theme_types_1.useTheme)());
|
|
50
63
|
return (React.createElement(react_native_1.View, { style: styles.swatchItem },
|
|
51
|
-
React.createElement(react_native_1.View, (0, tslib_1.__assign)({ style: [getSwatchColorStyle(p.
|
|
52
|
-
React.createElement(react_native_2.Text, null, p.
|
|
64
|
+
React.createElement(react_native_1.View, (0, tslib_1.__assign)({ style: [getSwatchColorStyle(p.colorName, p.colorValue), themedStyles.swatch] }, (0, TestProps_1.testProps)(consts_1.COLORTOKENS_TEST_COMPONENT))),
|
|
65
|
+
React.createElement(react_native_2.Text, null, p.colorName + ' (' + ((_a = p.colorValue) === null || _a === void 0 ? void 0 : _a.toString()) + ')')));
|
|
66
|
+
};
|
|
67
|
+
var getSwatch = function (item) {
|
|
68
|
+
var colorValue = item.colorValue, colorName = item.colorName;
|
|
69
|
+
return React.createElement(ColorToken, { key: colorName, colorValue: colorValue, colorName: colorName });
|
|
53
70
|
};
|
|
54
|
-
|
|
71
|
+
/// Alias color tokens
|
|
72
|
+
var AliasColorTokensSwatchList = function () {
|
|
55
73
|
var theme = (0, theme_types_1.useTheme)();
|
|
56
74
|
var isOfficeTheme = theme.name === 'White' ||
|
|
57
75
|
theme.name === 'Colorful' ||
|
|
@@ -61,26 +79,96 @@ var AliasTokensSwatchList = function () {
|
|
|
61
79
|
var aliasColorTokens = isOfficeTheme
|
|
62
80
|
? (0, win32_theme_1.createOfficeAliasTokens)(theme.name)
|
|
63
81
|
: (0, default_theme_1.createAliasTokens)((0, theming_utils_1.getCurrentAppearance)(theme.host.appearance, 'light'));
|
|
64
|
-
var aggregator = React.useCallback(function (
|
|
65
|
-
return {
|
|
82
|
+
var aggregator = React.useCallback(function (colorName) {
|
|
83
|
+
return { colorName: colorName, colorValue: aliasColorTokens[colorName] };
|
|
66
84
|
}, [aliasColorTokens]);
|
|
67
85
|
var flattenArray = React.useCallback(function () {
|
|
68
86
|
return Object.keys(aliasColorTokens).map(aggregator);
|
|
69
87
|
}, [aliasColorTokens, aggregator]);
|
|
70
|
-
var
|
|
71
|
-
var renderSwatch = React.useCallback(
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
88
|
+
var aliasColorTokensAsArray = React.useMemo(flattenArray, [flattenArray]);
|
|
89
|
+
var renderSwatch = React.useCallback(getSwatch, []);
|
|
90
|
+
return (React.createElement(react_native_1.View, { style: styles_1.commonTestStyles.view },
|
|
91
|
+
React.createElement(react_native_1.View, { style: styles.stackStyle }, aliasColorTokensAsArray.map(function (item) { return renderSwatch(item); }))));
|
|
92
|
+
};
|
|
93
|
+
/// Global color tokens - neutral
|
|
94
|
+
var globalNeutralColorNamesSortedDarkToLight = Object.keys(theme_tokens_1.globalTokens.color)
|
|
95
|
+
.filter(function (globalColorName) { return globalColorName.includes('grey') || globalColorName === 'black' || globalColorName === 'white'; })
|
|
96
|
+
.sort(function (color1, color2) {
|
|
97
|
+
var color1hex = theme_tokens_1.globalTokens.color[color1];
|
|
98
|
+
var color2hex = theme_tokens_1.globalTokens.color[color2];
|
|
99
|
+
// All global color tokens are hex based colors, so we can make the assumption that ordering the hex values alphabetically
|
|
100
|
+
// will order the colors from dark to light
|
|
101
|
+
return color1hex === color2hex ? 0 : color1hex < color2hex ? -1 : 1;
|
|
102
|
+
});
|
|
103
|
+
var globalNeutralColorTokensAsArray = globalNeutralColorNamesSortedDarkToLight.map(function (colorName) {
|
|
104
|
+
return {
|
|
105
|
+
colorName: colorName,
|
|
106
|
+
colorValue: theme_tokens_1.globalTokens.color[colorName],
|
|
107
|
+
};
|
|
108
|
+
});
|
|
109
|
+
var GlobalNeutralColorTokensSwatchList = function () {
|
|
110
|
+
var renderSwatch = React.useCallback(getSwatch, []);
|
|
75
111
|
return (React.createElement(react_native_1.View, { style: styles_1.commonTestStyles.view },
|
|
76
|
-
React.createElement(
|
|
77
|
-
|
|
112
|
+
React.createElement(react_native_1.View, { style: styles.stackStyle }, globalNeutralColorTokensAsArray.map(function (item) { return renderSwatch(item); }))));
|
|
113
|
+
};
|
|
114
|
+
/// Global color tokens - shared
|
|
115
|
+
var globalSharedColorNames = Object.keys(theme_tokens_1.globalTokens.color).filter(function (key) { return theme_tokens_1.globalTokens.color[key].primary !== undefined; });
|
|
116
|
+
var globalSharedColorVariantsSortedDarkToLight = Object.keys(theme_tokens_1.globalTokens.color.red).sort(function (color1, color2) {
|
|
117
|
+
var color1hex = theme_tokens_1.globalTokens.color.red[color1];
|
|
118
|
+
var color2hex = theme_tokens_1.globalTokens.color.red[color2];
|
|
119
|
+
// All global color tokens are hex based colors, so we can make the assumption that ordering the hex values alphabetically
|
|
120
|
+
// will order the colors from dark to light
|
|
121
|
+
return color1hex === color2hex ? 0 : color1hex < color2hex ? -1 : 1;
|
|
122
|
+
});
|
|
123
|
+
var globalSharedColorTokensAsArray = globalSharedColorNames
|
|
124
|
+
.map(function (sharedColorName) {
|
|
125
|
+
return globalSharedColorVariantsSortedDarkToLight.map(function (variant) {
|
|
126
|
+
return {
|
|
127
|
+
colorName: sharedColorName + '.' + variant,
|
|
128
|
+
colorValue: theme_tokens_1.globalTokens.color[sharedColorName][variant],
|
|
129
|
+
};
|
|
130
|
+
});
|
|
131
|
+
})
|
|
132
|
+
.reduce(function (accumulator, sharedColor) { return accumulator.concat(sharedColor); });
|
|
133
|
+
var GlobalSharedColorTokensSwatchList = function () {
|
|
134
|
+
var renderSwatch = React.useCallback(getSwatch, []);
|
|
135
|
+
var _a = React.useState(false), showGlobalSharedColors = _a[0], setShowGlobalSharedColors = _a[1];
|
|
136
|
+
var toggleSvg = function () {
|
|
137
|
+
var plusPath = 'M6.5 1.75C6.5 1.33579 6.16421 1 5.75 1C5.33579 1 5 1.33579 5 1.75V5H1.75C1.33579 5 1 5.33579 1 5.75C1 6.16421 1.33579 6.5 1.75 6.5H5V9.75C5 10.1642 5.33579 10.5 5.75 10.5C6.16421 10.5 6.5 10.1642 6.5 9.75V6.5H9.75C10.1642 6.5 10.5 6.16421 10.5 5.75C10.5 5.33579 10.1642 5 9.75 5H6.5V1.75Z';
|
|
138
|
+
var minusPath = 'M2.75 5.25h6.5s0.75 0 0.75 0.75v0s0 0.75 -0.75 0.75h-6.5s-0.75 0 -0.75 -0.75v0s0 -0.75 0.75 -0.75';
|
|
139
|
+
var path = showGlobalSharedColors ? minusPath : plusPath;
|
|
140
|
+
return (React.createElement(react_native_svg_1.default, null,
|
|
141
|
+
React.createElement(react_native_svg_1.G, null,
|
|
142
|
+
React.createElement(react_native_svg_1.Path, { d: path, fill: "black" }))));
|
|
143
|
+
};
|
|
144
|
+
var svgProps = { src: toggleSvg };
|
|
145
|
+
var plusCodepoint = 0x2795;
|
|
146
|
+
var minusCodepoint = 0x2796;
|
|
147
|
+
var fontIconProps = {
|
|
148
|
+
codepoint: showGlobalSharedColors ? minusCodepoint : plusCodepoint,
|
|
149
|
+
fontSize: 10,
|
|
150
|
+
};
|
|
151
|
+
var toggleIconProps = react_native_1.Platform.OS === 'windows' ? { fontSource: fontIconProps } : { svgSource: svgProps, width: 12, height: 12 };
|
|
152
|
+
return (React.createElement(react_native_1.View, { style: styles.toggleButtonAreaPadding },
|
|
153
|
+
React.createElement(react_native_1.View, { style: styles.statusView },
|
|
154
|
+
React.createElement(react_native_2.Text, { variant: "subheaderStandard" }, "Show color tokens"),
|
|
155
|
+
React.createElement(react_native_2.ToggleButton, { iconOnly: true, icon: toggleIconProps, onClick: function () { return setShowGlobalSharedColors(!showGlobalSharedColors); } })),
|
|
156
|
+
showGlobalSharedColors && (React.createElement(react_native_1.View, { style: styles_1.commonTestStyles.view },
|
|
157
|
+
React.createElement(react_native_1.View, { style: styles.stackStyle }, globalSharedColorTokensAsArray.map(function (item) { return renderSwatch(item); }))))));
|
|
78
158
|
};
|
|
79
159
|
var themeSections = [
|
|
80
160
|
{
|
|
81
161
|
name: 'Alias Color Tokens',
|
|
82
162
|
testID: consts_1.COLORTOKEN_TESTPAGE,
|
|
83
|
-
component: function () { return React.createElement(
|
|
163
|
+
component: function () { return React.createElement(AliasColorTokensSwatchList, null); },
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
name: 'Global Color Tokens - Neutral Colors',
|
|
167
|
+
component: function () { return React.createElement(GlobalNeutralColorTokensSwatchList, null); },
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
name: 'Global Color Tokens - Shared Colors',
|
|
171
|
+
component: function () { return React.createElement(GlobalSharedColorTokensSwatchList, null); },
|
|
84
172
|
},
|
|
85
173
|
];
|
|
86
174
|
var ColorTokensTest = function () {
|
|
@@ -91,7 +179,7 @@ var ColorTokensTest = function () {
|
|
|
91
179
|
macosStatus: 'Backlog',
|
|
92
180
|
androidStatus: 'Experimental',
|
|
93
181
|
};
|
|
94
|
-
var description = 'Alias tokens given from token pipeline.
|
|
182
|
+
var description = 'Alias and global tokens given from token pipeline. Used to style components.';
|
|
95
183
|
return React.createElement(Test_1.Test, { name: "Color Tokens Test", description: description, sections: themeSections, status: status });
|
|
96
184
|
};
|
|
97
185
|
exports.ColorTokensTest = ColorTokensTest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorTokenTest.js","sourceRoot":"","sources":["../../../../../src/TestComponents/ColorTokens/ColorTokenTest.tsx"],"names":[],"mappings":";;;;AAAA,wDAA+B;AAC/B,
|
|
1
|
+
{"version":3,"file":"ColorTokenTest.js","sourceRoot":"","sources":["../../../../../src/TestComponents/ColorTokens/ColorTokenTest.ts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