Add a git attributes file for line ending settings (#180)
* bump beachball version to one with prepublish fix * update beachball hook to use new prepublish strategy * add gitattributes for auto text line endings * update values * renormalize files * Change files
This commit is contained in:
Родитель
4392f30963
Коммит
dc062498d6
|
@ -0,0 +1,2 @@
|
|||
# Set the default line ending behavior for text, in case people don't have core.autocrlf set.
|
||||
* text=auto
|
|
@ -13,7 +13,7 @@ const brandColors = {
|
|||
Word: ['#E3ECFA', '#A5B9D1', '#7DA3C6', '#4A78B0', '#3C65A4', '#2B579A', '#124078', '#002050'],
|
||||
Excel: ['#E9F5EE', '#9FCDB3', '#6EB38A', '#4E9668', '#3F8159', '#217346', '#0E5C2F', '#004B1C'],
|
||||
Powerpoint: ['#FCF0ED', '#FDC9B5', '#ED9583', '#E86E58', '#C75033', '#B7472A', '#A92B1A', '#740912'],
|
||||
Outlook: ['#CCE3F5', '#B3D6F2', '#69AFE5', '#2488D8', '#0078D7', '#106EBE', '#1664A7', '#135995'],
|
||||
Outlook: ['#CCE3F5', '#B3D6F2', '#69AFE5', '#2488D8', '#0078D7', '#106EBE', '#1664A7', '#135995']
|
||||
};
|
||||
|
||||
// This IProcessTheme takes the parent theme and shims in the brand colors selected in the RadioGroup
|
||||
|
@ -56,28 +56,28 @@ const getThemedStyles = themedStyleSheet((theme: ITheme) => {
|
|||
height: 20,
|
||||
marginRight: 5,
|
||||
borderWidth: 2,
|
||||
borderColor: theme.colors.bodyText,
|
||||
borderColor: theme.colors.bodyText
|
||||
},
|
||||
extraLargeStandardEmphasis: {
|
||||
color: hostSettings ? hostSettings.palette.TextEmphasis : theme.colors.bodyText,
|
||||
fontSize: theme.typography.sizes.header,
|
||||
fontWeight: theme.typography.weights.regular,
|
||||
fontFamily: theme.typography.families.primary,
|
||||
fontFamily: theme.typography.families.primary
|
||||
} as TextStyle,
|
||||
largeStandard: {
|
||||
color: theme.colors.bodyText,
|
||||
fontSize: theme.typography.sizes.body,
|
||||
fontWeight: theme.typography.weights.regular,
|
||||
fontFamily: theme.typography.families.primary,
|
||||
marginBottom: 5,
|
||||
marginBottom: 5
|
||||
} as TextStyle,
|
||||
stackStyle: {
|
||||
borderWidth: 2,
|
||||
borderColor: theme.colors.focusBorder,
|
||||
padding: 12,
|
||||
margin: 8,
|
||||
backgroundColor: theme.colors.background,
|
||||
},
|
||||
backgroundColor: theme.colors.background
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
|
@ -85,12 +85,12 @@ const styles = StyleSheet.create({
|
|||
swatchItem: {
|
||||
flexDirection: 'row',
|
||||
alignItems: 'center',
|
||||
marginVertical: 5,
|
||||
marginVertical: 5
|
||||
},
|
||||
pickerContainer: {
|
||||
flexDirection: 'row',
|
||||
justifyContent: 'space-evenly',
|
||||
},
|
||||
justifyContent: 'space-evenly'
|
||||
}
|
||||
});
|
||||
|
||||
const Panel: React.FunctionComponent = () => {
|
||||
|
@ -138,7 +138,9 @@ const SwatchList: React.FunctionComponent = () => {
|
|||
);
|
||||
|
||||
const flattenArray = React.useCallback(() => {
|
||||
return Object.keys(hostSettings.palette).sort().map(aggregator);
|
||||
return Object.keys(hostSettings.palette)
|
||||
.sort()
|
||||
.map(aggregator);
|
||||
}, [hostSettings.palette, aggregator]);
|
||||
|
||||
const paletteAsArray = React.useMemo(flattenArray, [flattenArray]);
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "renormalize files",
|
||||
"packageName": "@fluentui/react-native",
|
||||
"email": "jasonmo@microsoft.com",
|
||||
"dependentChangeType": "patch",
|
||||
"date": "2020-04-24T07:22:23.897Z"
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "renormalize files",
|
||||
"packageName": "@fluentui-react-native/adapters",
|
||||
"email": "jasonmo@microsoft.com",
|
||||
"dependentChangeType": "patch",
|
||||
"date": "2020-04-24T07:22:24.990Z"
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "renormalize files",
|
||||
"packageName": "@fluentui-react-native/build-tools",
|
||||
"email": "jasonmo@microsoft.com",
|
||||
"dependentChangeType": "patch",
|
||||
"date": "2020-04-24T07:22:26.061Z"
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "renormalize files",
|
||||
"packageName": "@fluentui-react-native/button",
|
||||
"email": "jasonmo@microsoft.com",
|
||||
"dependentChangeType": "patch",
|
||||
"date": "2020-04-24T07:22:04.618Z"
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "renormalize files",
|
||||
"packageName": "@fluentui-react-native/callout",
|
||||
"email": "jasonmo@microsoft.com",
|
||||
"dependentChangeType": "patch",
|
||||
"date": "2020-04-24T07:22:06.521Z"
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "renormalize files",
|
||||
"packageName": "@fluentui-react-native/checkbox",
|
||||
"email": "jasonmo@microsoft.com",
|
||||
"dependentChangeType": "patch",
|
||||
"date": "2020-04-24T07:22:07.762Z"
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "renormalize files",
|
||||
"packageName": "@fluentui-react-native/focus-trap-zone",
|
||||
"email": "jasonmo@microsoft.com",
|
||||
"dependentChangeType": "patch",
|
||||
"date": "2020-04-24T07:22:08.906Z"
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "renormalize files",
|
||||
"packageName": "@fluentui-react-native/link",
|
||||
"email": "jasonmo@microsoft.com",
|
||||
"dependentChangeType": "patch",
|
||||
"date": "2020-04-24T07:22:10.072Z"
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "renormalize files",
|
||||
"packageName": "@fluentui-react-native/persona",
|
||||
"email": "jasonmo@microsoft.com",
|
||||
"dependentChangeType": "patch",
|
||||
"date": "2020-04-24T07:22:11.164Z"
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "renormalize files",
|
||||
"packageName": "@fluentui-react-native/persona-coin",
|
||||
"email": "jasonmo@microsoft.com",
|
||||
"dependentChangeType": "patch",
|
||||
"date": "2020-04-24T07:22:12.343Z"
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "renormalize files",
|
||||
"packageName": "@fluentui-react-native/pressable",
|
||||
"email": "jasonmo@microsoft.com",
|
||||
"dependentChangeType": "patch",
|
||||
"date": "2020-04-24T07:22:13.471Z"
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "renormalize files",
|
||||
"packageName": "@fluentui-react-native/radio-group",
|
||||
"email": "jasonmo@microsoft.com",
|
||||
"dependentChangeType": "patch",
|
||||
"date": "2020-04-24T07:22:14.685Z"
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "renormalize files",
|
||||
"packageName": "@fluentui-react-native/separator",
|
||||
"email": "jasonmo@microsoft.com",
|
||||
"dependentChangeType": "patch",
|
||||
"date": "2020-04-24T07:22:15.929Z"
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "renormalize files",
|
||||
"packageName": "@fluentui-react-native/text",
|
||||
"email": "jasonmo@microsoft.com",
|
||||
"dependentChangeType": "patch",
|
||||
"date": "2020-04-24T07:22:17.203Z"
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "renormalize files",
|
||||
"packageName": "@fluentui-react-native/tokens",
|
||||
"email": "jasonmo@microsoft.com",
|
||||
"dependentChangeType": "patch",
|
||||
"date": "2020-04-24T07:22:27.125Z"
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "renormalize files",
|
||||
"packageName": "@uifabricshared/foundation-compose",
|
||||
"email": "jasonmo@microsoft.com",
|
||||
"dependentChangeType": "patch",
|
||||
"date": "2020-04-24T07:22:18.346Z"
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "renormalize files",
|
||||
"packageName": "@uifabricshared/themed-stylesheet",
|
||||
"email": "jasonmo@microsoft.com",
|
||||
"dependentChangeType": "patch",
|
||||
"date": "2020-04-24T07:22:19.672Z"
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "renormalize files",
|
||||
"packageName": "@uifabricshared/theming-ramp",
|
||||
"email": "jasonmo@microsoft.com",
|
||||
"dependentChangeType": "patch",
|
||||
"date": "2020-04-24T07:22:21.671Z"
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "renormalize files",
|
||||
"packageName": "@uifabricshared/theming-react-native",
|
||||
"email": "jasonmo@microsoft.com",
|
||||
"dependentChangeType": "patch",
|
||||
"date": "2020-04-24T07:22:22.676Z"
|
||||
}
|
Загрузка…
Ссылка в новой задаче