From b4042a2d1b03b61a436f9291e2402d8d3ddac77b Mon Sep 17 00:00:00 2001 From: Kamil Dzwonkowski Date: Tue, 21 Feb 2017 01:04:27 +0100 Subject: [PATCH] breaking(Popup): rename `positioning` to `position` (#1342) --- .../Components/ComponentDoc/ComponentProps.js | 2 +- docs/app/Components/IconSearch/IconSearch.js | 2 +- .../modules/Popup/Usage/PopupExampleClick.js | 2 +- .../Popup/Usage/PopupExampleControlled.js | 2 +- .../modules/Popup/Usage/PopupExampleNested.js | 4 ++-- .../Popup/Variations/PopupExampleOffset.js | 4 ++-- .../Popup/Variations/PopupExamplePosition.js | 16 +++++++-------- src/modules/Popup/Popup.js | 20 +++++++++---------- src/modules/Popup/index.d.ts | 4 ++-- test/specs/modules/Popup/Popup-test.js | 8 ++++---- 10 files changed, 32 insertions(+), 32 deletions(-) diff --git a/docs/app/Components/ComponentDoc/ComponentProps.js b/docs/app/Components/ComponentDoc/ComponentProps.js index 1c30341393..63772078d5 100644 --- a/docs/app/Components/ComponentDoc/ComponentProps.js +++ b/docs/app/Components/ComponentDoc/ComponentProps.js @@ -43,7 +43,7 @@ export default class ComponentProps extends Component { renderRequired = item => item.required && ( } content='Required' diff --git a/docs/app/Components/IconSearch/IconSearch.js b/docs/app/Components/IconSearch/IconSearch.js index b1469bd3a5..b779eb45cc 100644 --- a/docs/app/Components/IconSearch/IconSearch.js +++ b/docs/app/Components/IconSearch/IconSearch.js @@ -81,7 +81,7 @@ export default class IconSearch extends Component { closeOnDocumentClick={false} style={{ width: '8em', textAlign: 'center' }} size='mini' - positioning='top center' + position='top center' content={this.state.copied ? 'Copied!' : 'Click to copy'} trigger={( diff --git a/docs/app/Examples/modules/Popup/Usage/PopupExampleClick.js b/docs/app/Examples/modules/Popup/Usage/PopupExampleClick.js index 985e14bffa..d7cd61cf67 100644 --- a/docs/app/Examples/modules/Popup/Usage/PopupExampleClick.js +++ b/docs/app/Examples/modules/Popup/Usage/PopupExampleClick.js @@ -6,7 +6,7 @@ const PopupExampleClick = () => ( trigger={} /> @@ -95,7 +95,7 @@ describe('Popup', () => { wrapperMount( foo} /> @@ -106,13 +106,13 @@ describe('Popup', () => { }) }) - describe('positioning', () => { + describe('position', () => { POSITIONS.forEach(position => { it('is always within the viewport', () => { wrapperMount( foo} on='click' />