From 57eee6bdb323c29b84cdaec8b1808b0a3c9297c4 Mon Sep 17 00:00:00 2001 From: Andrew Lisowski Date: Fri, 2 Nov 2018 12:06:49 -0700 Subject: [PATCH 1/3] Update Node.js --- addons/info/src/components/Node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/info/src/components/Node.js b/addons/info/src/components/Node.js index c4f850a68ae6..1ce58f3cfd53 100644 --- a/addons/info/src/components/Node.js +++ b/addons/info/src/components/Node.js @@ -5,7 +5,7 @@ import Props from './Props'; const stylesheet = { containerStyle: {}, tagStyle: { - color: '#777', + color: '#444', }, }; From da697cb526836f4b9afe9b01ae11d21978efe594 Mon Sep 17 00:00:00 2001 From: Andrew Lisowski Date: Fri, 2 Nov 2018 17:03:07 -0700 Subject: [PATCH 2/3] Update PropVal.js --- addons/info/src/components/PropVal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/info/src/components/PropVal.js b/addons/info/src/components/PropVal.js index d95e4fdd581d..d8be746e52e5 100644 --- a/addons/info/src/components/PropVal.js +++ b/addons/info/src/components/PropVal.js @@ -33,7 +33,7 @@ const getValueStyles = (codeColors = {}) => ({ }, empty: { - color: '#777', + color: '#444', }, }); From 9dce87a8588c8b5b79df9ef5dc1f450d6fc067d8 Mon Sep 17 00:00:00 2001 From: Hypnosphi Date: Sun, 4 Nov 2018 01:24:23 +0400 Subject: [PATCH 3/3] Update storyshots --- .../info/src/__snapshots__/index.test.js.snap | 60 ++++----- .../__snapshots__/index.stories.storyshot | 40 +++--- .../addon-info.stories.storyshot | 120 +++++++++--------- 3 files changed, 110 insertions(+), 110 deletions(-) diff --git a/addons/info/src/__snapshots__/index.test.js.snap b/addons/info/src/__snapshots__/index.test.js.snap index ea00c1e013da..f0b9089b1ec7 100644 --- a/addons/info/src/__snapshots__/index.test.js.snap +++ b/addons/info/src/__snapshots__/index.test.js.snap @@ -356,7 +356,7 @@ exports[`addon Info should render and external markdown 1`] = ` @@ -400,7 +400,7 @@ exports[`addon Info should render and external markdown 1`] = ` @@ -427,7 +427,7 @@ exports[`addon Info should render and external markdown 1`] = ` @@ -455,7 +455,7 @@ exports[`addon Info should render and external markdown 1`] = ` @@ -481,7 +481,7 @@ exports[`addon Info should render and external markdown 1`] = ` @@ -529,7 +529,7 @@ exports[`addon Info should render and external markdown 1`] = ` @@ -663,7 +663,7 @@ exports[`addon Info should render and external markdown 1`] = ` "color": "#a11", }, "empty": Object { - "color": "#777", + "color": "#444", }, "func": Object { "color": "#170", @@ -724,7 +724,7 @@ exports[`addon Info should render and external markdown 1`] = ` "color": "#a11", }, "empty": Object { - "color": "#777", + "color": "#444", }, "func": Object { "color": "#170", @@ -789,7 +789,7 @@ exports[`addon Info should render and external markdown 1`] = ` "color": "#a11", }, "empty": Object { - "color": "#777", + "color": "#444", }, "func": Object { "color": "#170", @@ -884,7 +884,7 @@ exports[`addon Info should render and external markdown 1`] = ` "color": "#a11", }, "empty": Object { - "color": "#777", + "color": "#444", }, "func": Object { "color": "#170", @@ -933,7 +933,7 @@ exports[`addon Info should render and external markdown 1`] = ` "color": "#a11", }, "empty": Object { - "color": "#777", + "color": "#444", }, "func": Object { "color": "#170", @@ -986,7 +986,7 @@ exports[`addon Info should render and external markdown 1`] = ` "color": "#a11", }, "empty": Object { - "color": "#777", + "color": "#444", }, "func": Object { "color": "#170", @@ -1039,7 +1039,7 @@ exports[`addon Info should render and external markdown 1`] = ` "color": "#a11", }, "empty": Object { - "color": "#777", + "color": "#444", }, "func": Object { "color": "#170", @@ -1180,7 +1180,7 @@ exports[`addon Info should render and external markdown 1`] = ` @@ -1199,7 +1199,7 @@ exports[`addon Info should render and external markdown 1`] = ` @@ -1767,7 +1767,7 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" @@ -1811,7 +1811,7 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" @@ -1838,7 +1838,7 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" @@ -1866,7 +1866,7 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" @@ -1892,7 +1892,7 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" @@ -1940,7 +1940,7 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" @@ -2074,7 +2074,7 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" "color": "#a11", }, "empty": Object { - "color": "#777", + "color": "#444", }, "func": Object { "color": "#170", @@ -2135,7 +2135,7 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" "color": "#a11", }, "empty": Object { - "color": "#777", + "color": "#444", }, "func": Object { "color": "#170", @@ -2200,7 +2200,7 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" "color": "#a11", }, "empty": Object { - "color": "#777", + "color": "#444", }, "func": Object { "color": "#170", @@ -2295,7 +2295,7 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" "color": "#a11", }, "empty": Object { - "color": "#777", + "color": "#444", }, "func": Object { "color": "#170", @@ -2344,7 +2344,7 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" "color": "#a11", }, "empty": Object { - "color": "#777", + "color": "#444", }, "func": Object { "color": "#170", @@ -2397,7 +2397,7 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" "color": "#a11", }, "empty": Object { - "color": "#777", + "color": "#444", }, "func": Object { "color": "#170", @@ -2450,7 +2450,7 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" "color": "#a11", }, "empty": Object { - "color": "#777", + "color": "#444", }, "func": Object { "color": "#170", @@ -2591,7 +2591,7 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" @@ -2610,7 +2610,7 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" diff --git a/examples/cra-kitchen-sink/src/stories/__snapshots__/index.stories.storyshot b/examples/cra-kitchen-sink/src/stories/__snapshots__/index.stories.storyshot index fea266b2dc3e..73f2c0518ecd 100644 --- a/examples/cra-kitchen-sink/src/stories/__snapshots__/index.stories.storyshot +++ b/examples/cra-kitchen-sink/src/stories/__snapshots__/index.stories.storyshot @@ -100,13 +100,13 @@ exports[`Storyshots Button addons composition 1`] = ` style="padding-left:18px;padding-right:3px" > <div > @@ -115,14 +115,14 @@ exports[`Storyshots Button addons composition 1`] = ` style="padding-left:33px;padding-right:3px" >
click the @@ -131,13 +131,13 @@ exports[`Storyshots Button addons composition 1`] = ` style="padding-left:33px;padding-right:3px" > <InfoButton /> @@ -146,7 +146,7 @@ exports[`Storyshots Button addons composition 1`] = ` style="padding-left:33px;padding-right:3px" > label in top right for info about " @@ -155,7 +155,7 @@ exports[`Storyshots Button addons composition 1`] = ` style="padding-left:33px;padding-right:3px" > addons composition @@ -164,7 +164,7 @@ exports[`Storyshots Button addons composition 1`] = ` style="padding-left:33px;padding-right:3px" > " @@ -173,7 +173,7 @@ exports[`Storyshots Button addons composition 1`] = ` style="padding-left:18px;padding-right:3px" > </div> @@ -304,13 +304,13 @@ exports[`Storyshots Button with new info 1`] = ` style="padding-left:18px;padding-right:3px" > <Container > @@ -319,14 +319,14 @@ exports[`Storyshots Button with new info 1`] = ` style="padding-left:33px;padding-right:3px" >
click the @@ -335,13 +335,13 @@ exports[`Storyshots Button with new info 1`] = ` style="padding-left:33px;padding-right:3px" > <InfoButton /> @@ -350,7 +350,7 @@ exports[`Storyshots Button with new info 1`] = ` style="padding-left:33px;padding-right:3px" > label in top right for info about " @@ -359,7 +359,7 @@ exports[`Storyshots Button with new info 1`] = ` style="padding-left:33px;padding-right:3px" > with new info @@ -368,7 +368,7 @@ exports[`Storyshots Button with new info 1`] = ` style="padding-left:33px;padding-right:3px" > " @@ -377,7 +377,7 @@ exports[`Storyshots Button with new info 1`] = ` style="padding-left:18px;padding-right:3px" > </Container> diff --git a/examples/official-storybook/stories/__snapshots__/addon-info.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-info.stories.storyshot index 3b8a0976911a..1d305e7e003b 100644 --- a/examples/official-storybook/stories/__snapshots__/addon-info.stories.storyshot +++ b/examples/official-storybook/stories/__snapshots__/addon-info.stories.storyshot @@ -67,7 +67,7 @@ exports[`Storyshots Addons|Info.Decorator Use Info as story decorator 1`] = ` style="padding-left:18px;padding-right:3px" > <BaseButton @@ -93,7 +93,7 @@ exports[`Storyshots Addons|Info.Decorator Use Info as story decorator 1`] = ` /> @@ -353,13 +353,13 @@ exports[`Storyshots Addons|Info.GitHub issues #1814 1`] = ` style="padding-left:18px;padding-right:3px" > <div > @@ -368,13 +368,13 @@ exports[`Storyshots Addons|Info.GitHub issues #1814 1`] = ` style="padding-left:33px;padding-right:3px" > <Unknown /> @@ -383,13 +383,13 @@ exports[`Storyshots Addons|Info.GitHub issues #1814 1`] = ` style="padding-left:33px;padding-right:3px" > <Unknown /> @@ -398,7 +398,7 @@ exports[`Storyshots Addons|Info.GitHub issues #1814 1`] = ` style="padding-left:18px;padding-right:3px" > </div> @@ -539,7 +539,7 @@ exports[`Storyshots Addons|Info.JSX Displays JSX in description 1`] = ` style="padding-left:18px;padding-right:3px" > <BaseButton @@ -583,7 +583,7 @@ exports[`Storyshots Addons|Info.JSX Displays JSX in description 1`] = ` /> @@ -872,7 +872,7 @@ exports[`Storyshots Addons|Info.Markdown Displays Markdown in description 1`] = style="padding-left:18px;padding-right:3px" > <BaseButton @@ -916,7 +916,7 @@ exports[`Storyshots Addons|Info.Markdown Displays Markdown in description 1`] = /> @@ -1174,7 +1174,7 @@ exports[`Storyshots Addons|Info.Markdown From external Markdown file 1`] = ` style="padding-left:18px;padding-right:3px" > <BaseButton @@ -1218,7 +1218,7 @@ exports[`Storyshots Addons|Info.Markdown From external Markdown file 1`] = ` /> @@ -1488,7 +1488,7 @@ exports[`Storyshots Addons|Info.Markdown From internal Markdown file 1`] = ` style="padding-left:18px;padding-right:3px" > <BaseButton @@ -1532,7 +1532,7 @@ exports[`Storyshots Addons|Info.Markdown From internal Markdown file 1`] = ` /> @@ -1781,7 +1781,7 @@ exports[`Storyshots Addons|Info.Options.TableComponent Use a custom component fo style="padding-left:18px;padding-right:3px" > <BaseButton @@ -1807,7 +1807,7 @@ exports[`Storyshots Addons|Info.Options.TableComponent Use a custom component fo /> @@ -1979,7 +1979,7 @@ exports[`Storyshots Addons|Info.Options.excludedPropTypes Excludes propTypes tha style="padding-left:18px;padding-right:3px" > <BaseButton @@ -2005,7 +2005,7 @@ exports[`Storyshots Addons|Info.Options.excludedPropTypes Excludes propTypes tha /> @@ -2224,7 +2224,7 @@ exports[`Storyshots Addons|Info.Options.header Shows or hides Info Addon header style="padding-left:18px;padding-right:3px" > <BaseButton @@ -2250,7 +2250,7 @@ exports[`Storyshots Addons|Info.Options.header Shows or hides Info Addon header /> @@ -2497,7 +2497,7 @@ exports[`Storyshots Addons|Info.Options.inline Inlines component inside story 1` style="padding-left:18px;padding-right:3px" > <BaseButton @@ -2523,7 +2523,7 @@ exports[`Storyshots Addons|Info.Options.inline Inlines component inside story 1` /> @@ -2769,7 +2769,7 @@ exports[`Storyshots Addons|Info.Options.maxPropsIntoLine === 0 Object and array style="padding-left:18px;padding-right:3px" > <BaseButton @@ -3495,7 +3495,7 @@ exports[`Storyshots Addons|Info.Options.maxPropsIntoLine === 0 Object and array /> @@ -3741,7 +3741,7 @@ exports[`Storyshots Addons|Info.Options.maxPropsIntoLine === 3 Object and array style="padding-left:18px;padding-right:3px" > <BaseButton @@ -4283,7 +4283,7 @@ exports[`Storyshots Addons|Info.Options.maxPropsIntoLine === 3 Object and array /> @@ -4540,7 +4540,7 @@ exports[`Storyshots Addons|Info.Options.propTables Shows additional component pr style="padding-left:18px;padding-right:3px" > <BaseButton @@ -4566,7 +4566,7 @@ exports[`Storyshots Addons|Info.Options.propTables Shows additional component pr /> @@ -4936,13 +4936,13 @@ exports[`Storyshots Addons|Info.Options.propTablesExclude Exclude component from style="padding-left:18px;padding-right:3px" > <div > @@ -4951,7 +4951,7 @@ exports[`Storyshots Addons|Info.Options.propTablesExclude Exclude component from style="padding-left:33px;padding-right:3px" > <BaseButton @@ -4977,7 +4977,7 @@ exports[`Storyshots Addons|Info.Options.propTablesExclude Exclude component from /> @@ -4986,7 +4986,7 @@ exports[`Storyshots Addons|Info.Options.propTablesExclude Exclude component from style="padding-left:33px;padding-right:3px" > <FlowTypeButton @@ -5012,7 +5012,7 @@ exports[`Storyshots Addons|Info.Options.propTablesExclude Exclude component from /> @@ -5021,7 +5021,7 @@ exports[`Storyshots Addons|Info.Options.propTablesExclude Exclude component from style="padding-left:18px;padding-right:3px" > </div> @@ -5491,7 +5491,7 @@ exports[`Storyshots Addons|Info.Options.styles Extend info styles with an object style="padding-left:18px;padding-right:3px" > <BaseButton @@ -5517,7 +5517,7 @@ exports[`Storyshots Addons|Info.Options.styles Extend info styles with an object /> @@ -5766,7 +5766,7 @@ exports[`Storyshots Addons|Info.Options.styles Full control over styles using a style="padding-left:18px;padding-right:3px" > <BaseButton @@ -5792,7 +5792,7 @@ exports[`Storyshots Addons|Info.Options.styles Full control over styles using a /> @@ -6089,7 +6089,7 @@ exports[`Storyshots Addons|Info.Parameters Overwrite the parameters with markdow style="padding-left:18px;padding-right:3px" > <BaseButton @@ -6133,7 +6133,7 @@ exports[`Storyshots Addons|Info.Parameters Overwrite the parameters with markdow /> @@ -6391,7 +6391,7 @@ exports[`Storyshots Addons|Info.Parameters Overwrite the text parameter with mar style="padding-left:18px;padding-right:3px" > <BaseButton @@ -6435,7 +6435,7 @@ exports[`Storyshots Addons|Info.Parameters Overwrite the text parameter with mar /> @@ -6681,7 +6681,7 @@ exports[`Storyshots Addons|Info.Parameters Overwriting and extending the paramet style="padding-left:18px;padding-right:3px" > <BaseButton @@ -6707,7 +6707,7 @@ exports[`Storyshots Addons|Info.Parameters Overwriting and extending the paramet /> @@ -6928,7 +6928,7 @@ exports[`Storyshots Addons|Info.Parameters Using paramaters across all stories 1 style="padding-left:18px;padding-right:3px" > <BaseButton @@ -6954,7 +6954,7 @@ exports[`Storyshots Addons|Info.Parameters Using paramaters across all stories 1 /> @@ -7211,7 +7211,7 @@ exports[`Storyshots Addons|Info.React Docgen Comments from Flow declarations 1`] style="padding-left:18px;padding-right:3px" > <FlowTypeButton @@ -7255,7 +7255,7 @@ exports[`Storyshots Addons|Info.React Docgen Comments from Flow declarations 1`] /> @@ -7463,7 +7463,7 @@ exports[`Storyshots Addons|Info.React Docgen Comments from PropType declarations style="padding-left:18px;padding-right:3px" > <DocgenButton @@ -7708,7 +7708,7 @@ exports[`Storyshots Addons|Info.React Docgen Comments from PropType declarations /> @@ -8401,7 +8401,7 @@ exports[`Storyshots Addons|Info.React Docgen Comments from component declaration style="padding-left:18px;padding-right:3px" > <BaseButton @@ -8445,7 +8445,7 @@ exports[`Storyshots Addons|Info.React Docgen Comments from component declaration /> @@ -8705,7 +8705,7 @@ exports[`Storyshots Addons|Info.React Docgen Comments from named export componen style="padding-left:18px;padding-right:3px" > <NamedExportButton @@ -8749,7 +8749,7 @@ exports[`Storyshots Addons|Info.React Docgen Comments from named export componen /> @@ -9038,7 +9038,7 @@ exports[`Storyshots Addons|Info.deprecated Displays Markdown in description 1`] style="padding-left:18px;padding-right:3px" > <BaseButton @@ -9082,7 +9082,7 @@ exports[`Storyshots Addons|Info.deprecated Displays Markdown in description 1`] />