Skip to content

Commit

Permalink
cherrypick of variants pr (#15375)
Browse files Browse the repository at this point in the history
* cherrypick

* theme typings

* updating tests

* Change files
  • Loading branch information
dzearing authored Oct 6, 2020
1 parent ccc3a5a commit ad2fdb0
Show file tree
Hide file tree
Showing 59 changed files with 2,106 additions and 3,153 deletions.
12 changes: 8 additions & 4 deletions apps/vr-tests/src/stories/ThemeProvider.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,16 @@ storiesOf('ThemeProvider', module)
<PrimaryButton>Customized styles</PrimaryButton>
</ThemeProvider>
))
.addStory('Use tokens on new button', () => (
.addStory('Use variants on new button', () => (
<ThemeProvider
theme={{
tokens: {
button: {
background: 'yellow',
components: {
Button: {
variants: {
root: {
background: 'yellow',
},
},
},
},
}}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "patch",
"comment": "Updating examples.",
"packageName": "@fluentui/examples",
"email": "[email protected]",
"dependentChangeType": "patch",
"date": "2020-09-25T15:11:20.981Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "minor",
"comment": "Updating styling to use variants.",
"packageName": "@fluentui/react-button",
"email": "[email protected]",
"dependentChangeType": "patch",
"date": "2020-09-21T18:35:57.969Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "patch",
"comment": "Updating examples.",
"packageName": "@fluentui/react-examples",
"email": "[email protected]",
"dependentChangeType": "patch",
"date": "2020-09-28T15:14:06.563Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "patch",
"comment": "Example updates.",
"packageName": "@fluentui/react-internal",
"email": "[email protected]",
"dependentChangeType": "patch",
"date": "2020-10-01T21:55:14.101Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "patch",
"comment": "ThemeProvider: RecursivePartial now correctly works.",
"packageName": "@fluentui/react-theme-provider",
"email": "[email protected]",
"dependentChangeType": "patch",
"date": "2020-08-17T14:55:51.573Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "patch",
"comment": "Updating theme used in stories",
"packageName": "@fluentui/storybook",
"email": "[email protected]",
"dependentChangeType": "patch",
"date": "2020-09-30T19:03:38.253Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "minor",
"comment": "Updating typings to add `Variants`.",
"packageName": "@fluentui/theme",
"email": "[email protected]",
"dependentChangeType": "patch",
"date": "2020-09-21T18:36:16.186Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "patch",
"comment": "getId now can take in a blank string as prefix.",
"packageName": "@uifabric/utilities",
"email": "[email protected]",
"dependentChangeType": "patch",
"date": "2020-09-30T19:03:48.112Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "patch",
"comment": "Example updates.",
"packageName": "office-ui-fabric-react",
"email": "[email protected]",
"dependentChangeType": "patch",
"date": "2020-10-06T15:02:45.739Z"
}
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export interface IButtonProps
menuProps?: IContextualMenuProps;

/**
* Callback that runs after Button's contextualmenu was closed (removed from the DOM)
* Callback that runs after Button's contextual menu was closed (removed from the DOM)
*/
onAfterMenuDismiss?: () => void;

Expand Down
Loading

0 comments on commit ad2fdb0

Please sign in to comment.