From 4a983697aab6f8cac3441da1b4640731b8f30cc2 Mon Sep 17 00:00:00 2001 From: "David Z. Han" Date: Sat, 22 Oct 2016 17:54:20 -0400 Subject: [PATCH] style(Header): update docs to the latest standards (#725) --- ...ropExample.js => HeaderExampleIconProp.js} | 4 +-- ...rImageExample.js => HeaderExampleImage.js} | 4 +-- ...opExample.js => HeaderExampleImageProp.js} | 4 +-- ...conExample.js => HeaderExamplePlugIcon.js} | 4 +-- ...xample.js => HeaderExampleSettingsIcon.js} | 4 +-- ...erExample.js => HeaderExampleSubheader.js} | 4 +-- ...ample.js => HeaderExampleSubheaderProp.js} | 4 +-- .../Examples/elements/Header/Content/index.js | 26 ++++++++-------- ...ledExample.js => HeaderExampleDisabled.js} | 4 +-- .../Examples/elements/Header/States/index.js | 4 +-- ...dersExample.js => HeaderExampleContent.js} | 4 +-- ...HeadersExample.js => HeaderExamplePage.js} | 4 +-- ...xample.js => HeaderExampleSettingsIcon.js} | 4 +-- ...sExample.js => HeaderExampleSubheaders.js} | 4 +-- ...erExample.js => HeaderExampleUsersIcon.js} | 4 +-- .../Examples/elements/Header/Types/index.js | 20 ++++++------- ...hedExample.js => HeaderExampleAttached.js} | 4 +-- ...rBlockExample.js => HeaderExampleBlock.js} | 4 +-- ...oredExample.js => HeaderExampleColored.js} | 4 +-- ...ingExample.js => HeaderExampleDividing.js} | 4 +-- ...ingExample.js => HeaderExampleFloating.js} | 4 +-- ...tedExample.js => HeaderExampleInverted.js} | 4 +-- ...ample.js => HeaderExampleTextAlignment.js} | 4 +-- .../elements/Header/Variations/index.js | 30 +++++++++---------- 24 files changed, 80 insertions(+), 80 deletions(-) rename docs/app/Examples/elements/Header/Content/{HeaderIconPropExample.js => HeaderExampleIconProp.js} (63%) rename docs/app/Examples/elements/Header/Content/{HeaderImageExample.js => HeaderExampleImage.js} (76%) rename docs/app/Examples/elements/Header/Content/{HeaderImagePropExample.js => HeaderExampleImageProp.js} (70%) rename docs/app/Examples/elements/Header/Content/{HeaderPlugIconExample.js => HeaderExamplePlugIcon.js} (72%) rename docs/app/Examples/elements/Header/Content/{HeaderSettingsIconExample.js => HeaderExampleSettingsIcon.js} (77%) rename docs/app/Examples/elements/Header/Content/{HeaderSubheaderExample.js => HeaderExampleSubheader.js} (75%) rename docs/app/Examples/elements/Header/Content/{HeaderSubheaderPropExample.js => HeaderExampleSubheaderProp.js} (68%) rename docs/app/Examples/elements/Header/States/{HeaderDisabledExample.js => HeaderExampleDisabled.js} (63%) rename docs/app/Examples/elements/Header/Types/{HeaderContentHeadersExample.js => HeaderExampleContent.js} (78%) rename docs/app/Examples/elements/Header/Types/{HeaderPageHeadersExample.js => HeaderExamplePage.js} (80%) rename docs/app/Examples/elements/Header/Types/{HeaderSettingsIconHeaderExample.js => HeaderExampleSettingsIcon.js} (76%) rename docs/app/Examples/elements/Header/Types/{HeaderSubHeadersExample.js => HeaderExampleSubheaders.js} (64%) rename docs/app/Examples/elements/Header/Types/{HeaderUsersIconHeaderExample.js => HeaderExampleUsersIcon.js} (81%) rename docs/app/Examples/elements/Header/Variations/{HeaderAttachedExample.js => HeaderExampleAttached.js} (85%) rename docs/app/Examples/elements/Header/Variations/{HeaderBlockExample.js => HeaderExampleBlock.js} (64%) rename docs/app/Examples/elements/Header/Variations/{HeaderColoredExample.js => HeaderExampleColored.js} (90%) rename docs/app/Examples/elements/Header/Variations/{HeaderDividingExample.js => HeaderExampleDividing.js} (63%) rename docs/app/Examples/elements/Header/Variations/{HeaderFloatingExample.js => HeaderExampleFloating.js} (77%) rename docs/app/Examples/elements/Header/Variations/{HeaderInvertedExample.js => HeaderExampleInverted.js} (91%) rename docs/app/Examples/elements/Header/Variations/{HeaderTextAlignmentExample.js => HeaderExampleTextAlignment.js} (83%) diff --git a/docs/app/Examples/elements/Header/Content/HeaderIconPropExample.js b/docs/app/Examples/elements/Header/Content/HeaderExampleIconProp.js similarity index 63% rename from docs/app/Examples/elements/Header/Content/HeaderIconPropExample.js rename to docs/app/Examples/elements/Header/Content/HeaderExampleIconProp.js index 2e7e1ce8af..1232f5ce4a 100644 --- a/docs/app/Examples/elements/Header/Content/HeaderIconPropExample.js +++ b/docs/app/Examples/elements/Header/Content/HeaderExampleIconProp.js @@ -1,8 +1,8 @@ import React from 'react' import { Header } from 'semantic-ui-react' -const HeaderIconExample = () => ( +const HeaderExampleIconProp = () => (
) -export default HeaderIconExample +export default HeaderExampleIconProp diff --git a/docs/app/Examples/elements/Header/Content/HeaderImageExample.js b/docs/app/Examples/elements/Header/Content/HeaderExampleImage.js similarity index 76% rename from docs/app/Examples/elements/Header/Content/HeaderImageExample.js rename to docs/app/Examples/elements/Header/Content/HeaderExampleImage.js index e703b2aa90..e3e0351b55 100644 --- a/docs/app/Examples/elements/Header/Content/HeaderImageExample.js +++ b/docs/app/Examples/elements/Header/Content/HeaderExampleImage.js @@ -1,11 +1,11 @@ import React from 'react' import { Header, Image } from 'semantic-ui-react' -const HeaderImageExample = () => ( +const HeaderExampleImage = () => (
{' '}Patrick
) -export default HeaderImageExample +export default HeaderExampleImage diff --git a/docs/app/Examples/elements/Header/Content/HeaderImagePropExample.js b/docs/app/Examples/elements/Header/Content/HeaderExampleImageProp.js similarity index 70% rename from docs/app/Examples/elements/Header/Content/HeaderImagePropExample.js rename to docs/app/Examples/elements/Header/Content/HeaderExampleImageProp.js index d8b5d8b1a8..93e96a5e7a 100644 --- a/docs/app/Examples/elements/Header/Content/HeaderImagePropExample.js +++ b/docs/app/Examples/elements/Header/Content/HeaderExampleImageProp.js @@ -1,7 +1,7 @@ import React from 'react' import { Header } from 'semantic-ui-react' -const HeaderImageExample = () => ( +const HeaderExampleImageProp = () => (
( /> ) -export default HeaderImageExample +export default HeaderExampleImageProp diff --git a/docs/app/Examples/elements/Header/Content/HeaderPlugIconExample.js b/docs/app/Examples/elements/Header/Content/HeaderExamplePlugIcon.js similarity index 72% rename from docs/app/Examples/elements/Header/Content/HeaderPlugIconExample.js rename to docs/app/Examples/elements/Header/Content/HeaderExamplePlugIcon.js index d19219236a..aca05f50e7 100644 --- a/docs/app/Examples/elements/Header/Content/HeaderPlugIconExample.js +++ b/docs/app/Examples/elements/Header/Content/HeaderExamplePlugIcon.js @@ -1,7 +1,7 @@ import React from 'react' import { Header, Icon } from 'semantic-ui-react' -const HeaderIconExample = () => ( +const HeaderExamplePlugIcon = () => (
@@ -10,4 +10,4 @@ const HeaderIconExample = () => (
) -export default HeaderIconExample +export default HeaderExamplePlugIcon diff --git a/docs/app/Examples/elements/Header/Content/HeaderSettingsIconExample.js b/docs/app/Examples/elements/Header/Content/HeaderExampleSettingsIcon.js similarity index 77% rename from docs/app/Examples/elements/Header/Content/HeaderSettingsIconExample.js rename to docs/app/Examples/elements/Header/Content/HeaderExampleSettingsIcon.js index fad007b993..6634db9b65 100644 --- a/docs/app/Examples/elements/Header/Content/HeaderSettingsIconExample.js +++ b/docs/app/Examples/elements/Header/Content/HeaderExampleSettingsIcon.js @@ -1,7 +1,7 @@ import React from 'react' import { Header, Icon } from 'semantic-ui-react' -const HeaderIconExample = () => ( +const HeaderExampleSettingsIcon = () => (
@@ -13,4 +13,4 @@ const HeaderIconExample = () => (
) -export default HeaderIconExample +export default HeaderExampleSettingsIcon diff --git a/docs/app/Examples/elements/Header/Content/HeaderSubheaderExample.js b/docs/app/Examples/elements/Header/Content/HeaderExampleSubheader.js similarity index 75% rename from docs/app/Examples/elements/Header/Content/HeaderSubheaderExample.js rename to docs/app/Examples/elements/Header/Content/HeaderExampleSubheader.js index 49160789bb..fba78ac94c 100644 --- a/docs/app/Examples/elements/Header/Content/HeaderSubheaderExample.js +++ b/docs/app/Examples/elements/Header/Content/HeaderExampleSubheader.js @@ -1,7 +1,7 @@ import React from 'react' import { Header } from 'semantic-ui-react' -const HeaderSubheaderExample = () => ( +const HeaderExampleSubheader = () => (
Account Settings @@ -10,4 +10,4 @@ const HeaderSubheaderExample = () => (
) -export default HeaderSubheaderExample +export default HeaderExampleSubheader diff --git a/docs/app/Examples/elements/Header/Content/HeaderSubheaderPropExample.js b/docs/app/Examples/elements/Header/Content/HeaderExampleSubheaderProp.js similarity index 68% rename from docs/app/Examples/elements/Header/Content/HeaderSubheaderPropExample.js rename to docs/app/Examples/elements/Header/Content/HeaderExampleSubheaderProp.js index 52356edc71..d284fd055f 100644 --- a/docs/app/Examples/elements/Header/Content/HeaderSubheaderPropExample.js +++ b/docs/app/Examples/elements/Header/Content/HeaderExampleSubheaderProp.js @@ -1,8 +1,8 @@ import React from 'react' import { Header } from 'semantic-ui-react' -const HeaderSubheaderPropExample = () => ( +const HeaderExampleSubheaderProp = () => (
) -export default HeaderSubheaderPropExample +export default HeaderExampleSubheaderProp diff --git a/docs/app/Examples/elements/Header/Content/index.js b/docs/app/Examples/elements/Header/Content/index.js index 7e8920141f..3d7caa091f 100644 --- a/docs/app/Examples/elements/Header/Content/index.js +++ b/docs/app/Examples/elements/Header/Content/index.js @@ -6,33 +6,33 @@ const HeaderContentExamples = () => ( ) diff --git a/docs/app/Examples/elements/Header/States/HeaderDisabledExample.js b/docs/app/Examples/elements/Header/States/HeaderExampleDisabled.js similarity index 63% rename from docs/app/Examples/elements/Header/States/HeaderDisabledExample.js rename to docs/app/Examples/elements/Header/States/HeaderExampleDisabled.js index b3194e8b88..99aab795f9 100644 --- a/docs/app/Examples/elements/Header/States/HeaderDisabledExample.js +++ b/docs/app/Examples/elements/Header/States/HeaderExampleDisabled.js @@ -1,10 +1,10 @@ import React from 'react' import { Header } from 'semantic-ui-react' -const HeaderDisabledExample = () => ( +const HeaderExampleDisabled = () => (
Disabled Header
) -export default HeaderDisabledExample +export default HeaderExampleDisabled diff --git a/docs/app/Examples/elements/Header/States/index.js b/docs/app/Examples/elements/Header/States/index.js index d0945ce4d0..b4d63e446e 100644 --- a/docs/app/Examples/elements/Header/States/index.js +++ b/docs/app/Examples/elements/Header/States/index.js @@ -6,8 +6,8 @@ const HeaderStatesExamples = () => ( ) diff --git a/docs/app/Examples/elements/Header/Types/HeaderContentHeadersExample.js b/docs/app/Examples/elements/Header/Types/HeaderExampleContent.js similarity index 78% rename from docs/app/Examples/elements/Header/Types/HeaderContentHeadersExample.js rename to docs/app/Examples/elements/Header/Types/HeaderExampleContent.js index 52f376585c..84fa05c8fd 100644 --- a/docs/app/Examples/elements/Header/Types/HeaderContentHeadersExample.js +++ b/docs/app/Examples/elements/Header/Types/HeaderExampleContent.js @@ -1,7 +1,7 @@ import React from 'react' import { Header } from 'semantic-ui-react' -const HeaderContentHeadersExample = () => ( +const HeaderExampleContent = () => (
Huge Header
Large Header
@@ -11,4 +11,4 @@ const HeaderContentHeadersExample = () => (
) -export default HeaderContentHeadersExample +export default HeaderExampleContent diff --git a/docs/app/Examples/elements/Header/Types/HeaderPageHeadersExample.js b/docs/app/Examples/elements/Header/Types/HeaderExamplePage.js similarity index 80% rename from docs/app/Examples/elements/Header/Types/HeaderPageHeadersExample.js rename to docs/app/Examples/elements/Header/Types/HeaderExamplePage.js index dc6a1de027..0716b1edf3 100644 --- a/docs/app/Examples/elements/Header/Types/HeaderPageHeadersExample.js +++ b/docs/app/Examples/elements/Header/Types/HeaderExamplePage.js @@ -1,7 +1,7 @@ import React from 'react' import { Header } from 'semantic-ui-react' -const HeaderPageHeadersExamples = () => ( +const HeaderExamplePage = () => (
First Header
Second Header
@@ -12,4 +12,4 @@ const HeaderPageHeadersExamples = () => (
) -export default HeaderPageHeadersExamples +export default HeaderExamplePage diff --git a/docs/app/Examples/elements/Header/Types/HeaderSettingsIconHeaderExample.js b/docs/app/Examples/elements/Header/Types/HeaderExampleSettingsIcon.js similarity index 76% rename from docs/app/Examples/elements/Header/Types/HeaderSettingsIconHeaderExample.js rename to docs/app/Examples/elements/Header/Types/HeaderExampleSettingsIcon.js index d3dc9e5697..78bee12fcd 100644 --- a/docs/app/Examples/elements/Header/Types/HeaderSettingsIconHeaderExample.js +++ b/docs/app/Examples/elements/Header/Types/HeaderExampleSettingsIcon.js @@ -1,7 +1,7 @@ import React from 'react' import { Header, Icon } from 'semantic-ui-react' -const HeaderIconHeadersExample = () => ( +const HeaderExampleSettingsIcon = () => (
Account Settings @@ -11,4 +11,4 @@ const HeaderIconHeadersExample = () => (
) -export default HeaderIconHeadersExample +export default HeaderExampleSettingsIcon diff --git a/docs/app/Examples/elements/Header/Types/HeaderSubHeadersExample.js b/docs/app/Examples/elements/Header/Types/HeaderExampleSubheaders.js similarity index 64% rename from docs/app/Examples/elements/Header/Types/HeaderSubHeadersExample.js rename to docs/app/Examples/elements/Header/Types/HeaderExampleSubheaders.js index 808910179e..7b2f67dc0a 100644 --- a/docs/app/Examples/elements/Header/Types/HeaderSubHeadersExample.js +++ b/docs/app/Examples/elements/Header/Types/HeaderExampleSubheaders.js @@ -1,11 +1,11 @@ import React from 'react' import { Header } from 'semantic-ui-react' -const HeaderSubHeadersExample = () => ( +const HeaderExampleSubheaders = () => (
Price
$10.99
) -export default HeaderSubHeadersExample +export default HeaderExampleSubheaders diff --git a/docs/app/Examples/elements/Header/Types/HeaderUsersIconHeaderExample.js b/docs/app/Examples/elements/Header/Types/HeaderExampleUsersIcon.js similarity index 81% rename from docs/app/Examples/elements/Header/Types/HeaderUsersIconHeaderExample.js rename to docs/app/Examples/elements/Header/Types/HeaderExampleUsersIcon.js index 020a23e7cc..b55835b916 100644 --- a/docs/app/Examples/elements/Header/Types/HeaderUsersIconHeaderExample.js +++ b/docs/app/Examples/elements/Header/Types/HeaderExampleUsersIcon.js @@ -1,7 +1,7 @@ import React from 'react' import { Header, Icon, Image } from 'semantic-ui-react' -const HeaderIconHeadersExample = () => ( +const HeaderExampleUsersIcon = () => (
@@ -13,4 +13,4 @@ const HeaderIconHeadersExample = () => (
) -export default HeaderIconHeadersExample +export default HeaderExampleUsersIcon diff --git a/docs/app/Examples/elements/Header/Types/index.js b/docs/app/Examples/elements/Header/Types/index.js index 0eecb652b3..58ad92c50c 100644 --- a/docs/app/Examples/elements/Header/Types/index.js +++ b/docs/app/Examples/elements/Header/Types/index.js @@ -7,8 +7,8 @@ const HeaderTypesExamples = () => ( Page headings are sized using rem and are not affected by surrounding content size. @@ -16,8 +16,8 @@ const HeaderTypesExamples = () => ( Content headings are sized with em and are based on the font-size of their container. @@ -25,16 +25,16 @@ const HeaderTypesExamples = () => ( ) diff --git a/docs/app/Examples/elements/Header/Variations/HeaderAttachedExample.js b/docs/app/Examples/elements/Header/Variations/HeaderExampleAttached.js similarity index 85% rename from docs/app/Examples/elements/Header/Variations/HeaderAttachedExample.js rename to docs/app/Examples/elements/Header/Variations/HeaderExampleAttached.js index 1e336db878..b51ec5462b 100644 --- a/docs/app/Examples/elements/Header/Variations/HeaderAttachedExample.js +++ b/docs/app/Examples/elements/Header/Variations/HeaderExampleAttached.js @@ -1,7 +1,7 @@ import React from 'react' import { Header, Segment } from 'semantic-ui-react' -const HeaderAttachedExample = () => ( +const HeaderExampleAttached = () => (
Attached Header @@ -14,4 +14,4 @@ const HeaderAttachedExample = () => (
) -export default HeaderAttachedExample +export default HeaderExampleAttached diff --git a/docs/app/Examples/elements/Header/Variations/HeaderBlockExample.js b/docs/app/Examples/elements/Header/Variations/HeaderExampleBlock.js similarity index 64% rename from docs/app/Examples/elements/Header/Variations/HeaderBlockExample.js rename to docs/app/Examples/elements/Header/Variations/HeaderExampleBlock.js index a5960a9bb8..839de7e227 100644 --- a/docs/app/Examples/elements/Header/Variations/HeaderBlockExample.js +++ b/docs/app/Examples/elements/Header/Variations/HeaderExampleBlock.js @@ -1,10 +1,10 @@ import React from 'react' import { Header } from 'semantic-ui-react' -const HeaderBlockExample = () => ( +const HeaderExampleBlock = () => (
Block Header
) -export default HeaderBlockExample +export default HeaderExampleBlock diff --git a/docs/app/Examples/elements/Header/Variations/HeaderColoredExample.js b/docs/app/Examples/elements/Header/Variations/HeaderExampleColored.js similarity index 90% rename from docs/app/Examples/elements/Header/Variations/HeaderColoredExample.js rename to docs/app/Examples/elements/Header/Variations/HeaderExampleColored.js index b72eabf138..688f8b0693 100644 --- a/docs/app/Examples/elements/Header/Variations/HeaderColoredExample.js +++ b/docs/app/Examples/elements/Header/Variations/HeaderExampleColored.js @@ -1,7 +1,7 @@ import React from 'react' import { Header } from 'semantic-ui-react' -const HeaderColoredExample = () => ( +const HeaderExampleColored = () => (
Red
Orange
@@ -18,4 +18,4 @@ const HeaderColoredExample = () => (
) -export default HeaderColoredExample +export default HeaderExampleColored diff --git a/docs/app/Examples/elements/Header/Variations/HeaderDividingExample.js b/docs/app/Examples/elements/Header/Variations/HeaderExampleDividing.js similarity index 63% rename from docs/app/Examples/elements/Header/Variations/HeaderDividingExample.js rename to docs/app/Examples/elements/Header/Variations/HeaderExampleDividing.js index 65dd75f528..d49a96e4c6 100644 --- a/docs/app/Examples/elements/Header/Variations/HeaderDividingExample.js +++ b/docs/app/Examples/elements/Header/Variations/HeaderExampleDividing.js @@ -1,10 +1,10 @@ import React from 'react' import { Header } from 'semantic-ui-react' -const HeaderDividingExample = () => ( +const HeaderExampleDividing = () => (
Dividing Header
) -export default HeaderDividingExample +export default HeaderExampleDividing diff --git a/docs/app/Examples/elements/Header/Variations/HeaderFloatingExample.js b/docs/app/Examples/elements/Header/Variations/HeaderExampleFloating.js similarity index 77% rename from docs/app/Examples/elements/Header/Variations/HeaderFloatingExample.js rename to docs/app/Examples/elements/Header/Variations/HeaderExampleFloating.js index 1eb8b7a575..c1ad016823 100644 --- a/docs/app/Examples/elements/Header/Variations/HeaderFloatingExample.js +++ b/docs/app/Examples/elements/Header/Variations/HeaderExampleFloating.js @@ -1,7 +1,7 @@ import React from 'react' import { Header, Segment } from 'semantic-ui-react' -const HeaderFloatingExample = () => ( +const HeaderExampleFloating = () => (
Float Right @@ -12,4 +12,4 @@ const HeaderFloatingExample = () => ( ) -export default HeaderFloatingExample +export default HeaderExampleFloating diff --git a/docs/app/Examples/elements/Header/Variations/HeaderInvertedExample.js b/docs/app/Examples/elements/Header/Variations/HeaderExampleInverted.js similarity index 91% rename from docs/app/Examples/elements/Header/Variations/HeaderInvertedExample.js rename to docs/app/Examples/elements/Header/Variations/HeaderExampleInverted.js index b16d94e055..6df6e5ba27 100644 --- a/docs/app/Examples/elements/Header/Variations/HeaderInvertedExample.js +++ b/docs/app/Examples/elements/Header/Variations/HeaderExampleInverted.js @@ -1,7 +1,7 @@ import React from 'react' import { Header, Segment } from 'semantic-ui-react' -const HeaderInvertedExample = () => ( +const HeaderExampleInverted = () => (
Red
Orange
@@ -18,4 +18,4 @@ const HeaderInvertedExample = () => (
) -export default HeaderInvertedExample +export default HeaderExampleInverted diff --git a/docs/app/Examples/elements/Header/Variations/HeaderTextAlignmentExample.js b/docs/app/Examples/elements/Header/Variations/HeaderExampleTextAlignment.js similarity index 83% rename from docs/app/Examples/elements/Header/Variations/HeaderTextAlignmentExample.js rename to docs/app/Examples/elements/Header/Variations/HeaderExampleTextAlignment.js index f878763d7d..e86f35024c 100644 --- a/docs/app/Examples/elements/Header/Variations/HeaderTextAlignmentExample.js +++ b/docs/app/Examples/elements/Header/Variations/HeaderExampleTextAlignment.js @@ -1,7 +1,7 @@ import React from 'react' import { Header, Segment } from 'semantic-ui-react' -const HeaderTextAlignmentExample = () => ( +const HeaderExampleTextAlignment = () => (
Float Right @@ -18,4 +18,4 @@ const HeaderTextAlignmentExample = () => ( ) -export default HeaderTextAlignmentExample +export default HeaderExampleTextAlignment diff --git a/docs/app/Examples/elements/Header/Variations/index.js b/docs/app/Examples/elements/Header/Variations/index.js index 56c8a73bee..323af8bd38 100644 --- a/docs/app/Examples/elements/Header/Variations/index.js +++ b/docs/app/Examples/elements/Header/Variations/index.js @@ -7,41 +7,41 @@ const HeaderVariationsExamples = () => ( - Inverted headers use modified light versions of the site color scheme + Inverted headers use modified light versions of the site color scheme.