Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Evolve create component API to separate out view and make options bag optional. * Change files. * Only use options displayName for Customizations. * Remove unnecessary check. * Another unnecessary check! :/
- Loading branch information
Showing
23 changed files
with
117 additions
and
83 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
common/changes/@uifabric/experiments/jg-evolve-create-component_2019-05-13-15-52.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@uifabric/experiments", | ||
"comment": "Support changes to createComponent API.", | ||
"type": "patch" | ||
} | ||
], | ||
"packageName": "@uifabric/experiments", | ||
"email": "jagore@microsoft.com" | ||
} |
11 changes: 11 additions & 0 deletions
11
common/changes/@uifabric/foundation/jg-evolve-create-component_2019-05-13-15-52.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@uifabric/foundation", | ||
"comment": "Evolve create component API to separate out view and make options bag optional.", | ||
"type": "minor" | ||
} | ||
], | ||
"packageName": "@uifabric/foundation", | ||
"email": "jagore@microsoft.com" | ||
} |
11 changes: 11 additions & 0 deletions
11
common/changes/@uifabric/react-cards/jg-evolve-create-component_2019-05-13-15-52.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@uifabric/react-cards", | ||
"comment": "Support changes to createComponent API.", | ||
"type": "patch" | ||
} | ||
], | ||
"packageName": "@uifabric/react-cards", | ||
"email": "jagore@microsoft.com" | ||
} |
11 changes: 11 additions & 0 deletions
11
common/changes/office-ui-fabric-react/jg-evolve-create-component_2019-05-13-15-52.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "office-ui-fabric-react", | ||
"comment": "Support changes to createComponent API.", | ||
"type": "patch" | ||
} | ||
], | ||
"packageName": "office-ui-fabric-react", | ||
"email": "jagore@microsoft.com" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 10 additions & 8 deletions
18
packages/experiments/src/components/CollapsibleSection/CollapsibleSectionTitle.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
import { createComponent } from '../../Foundation'; | ||
import { CollapsibleSectionTitleView as view } from './CollapsibleSectionTitle.view'; | ||
import { CollapsibleSectionTitleView } from './CollapsibleSectionTitle.view'; | ||
import { getStyles as styles } from './CollapsibleSectionTitle.styles'; | ||
import { ICollapsibleSectionTitleProps } from './CollapsibleSectionTitle.types'; | ||
|
||
export const CollapsibleSectionTitle: React.FunctionComponent<ICollapsibleSectionTitleProps> = createComponent({ | ||
displayName: 'CollapsibleSectionTitle', | ||
view, | ||
styles, | ||
factoryOptions: { | ||
defaultProp: 'text' | ||
export const CollapsibleSectionTitle: React.FunctionComponent<ICollapsibleSectionTitleProps> = createComponent( | ||
CollapsibleSectionTitleView, | ||
{ | ||
displayName: 'CollapsibleSectionTitle', | ||
styles, | ||
factoryOptions: { | ||
defaultProp: 'text' | ||
} | ||
} | ||
}); | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.