Skip to content

Commit

Permalink
update angular snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Feb 25, 2022
1 parent 902c9b0 commit 20563b8
Show file tree
Hide file tree
Showing 13 changed files with 73 additions and 73 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,98 +3,98 @@
exports[`Storyshots Welcome/ To Storybook To Storybook 1`] = `
<storybook-wrapper>
<storybook-welcome-component
_nghost-a-c45=""
_nghost-a-c44=""
>
<main
_ngcontent-a-c45=""
_ngcontent-a-c44=""
>
<h1
_ngcontent-a-c45=""
_ngcontent-a-c44=""
>
Welcome to storybook
</h1>
<p
_ngcontent-a-c45=""
_ngcontent-a-c44=""
>
This is a UI component dev environment for your app.
</p>
<p
_ngcontent-a-c45=""
_ngcontent-a-c44=""
>
We've added some basic stories inside the
<span
_ngcontent-a-c45=""
_ngcontent-a-c44=""
class="inline-code"
>
src/stories
</span>
directory.
<br
_ngcontent-a-c45=""
_ngcontent-a-c44=""
/>
A story is a single state of one or more UI components. You can have as many stories as you want.
<br
_ngcontent-a-c45=""
_ngcontent-a-c44=""
/>
(Basically a story is like a visual test case.)
</p>
<p
_ngcontent-a-c45=""
_ngcontent-a-c44=""
>
See these sample
<a
_ngcontent-a-c45=""
_ngcontent-a-c44=""
role="button"
tabindex="0"
>
stories
</a>
for a component called
<span
_ngcontent-a-c45=""
_ngcontent-a-c44=""
class="inline-code"
>
Button
</span>
.
</p>
<p
_ngcontent-a-c45=""
_ngcontent-a-c44=""
>
Just like that, you can add your own components as stories.
<br
_ngcontent-a-c45=""
_ngcontent-a-c44=""
/>
You can also edit those components and see changes right away.
<br
_ngcontent-a-c45=""
_ngcontent-a-c44=""
/>
(Try editing the
<span
_ngcontent-a-c45=""
_ngcontent-a-c44=""
class="inline-code"
>
Button
</span>
stories located at
<span
_ngcontent-a-c45=""
_ngcontent-a-c44=""
class="inline-code"
>
src/stories/index.js
</span>
.)
</p>
<p
_ngcontent-a-c45=""
_ngcontent-a-c44=""
>
Usually we create stories with smaller UI components in the app.
<br
_ngcontent-a-c45=""
_ngcontent-a-c44=""
/>
Have a look at the
<a
_ngcontent-a-c45=""
_ngcontent-a-c44=""
href="https://storybook.js.org/basics/writing-stories"
rel="noopener noreferrer"
target="_blank"
Expand All @@ -104,20 +104,20 @@ exports[`Storyshots Welcome/ To Storybook To Storybook 1`] = `
section in our documentation.
</p>
<p
_ngcontent-a-c45=""
_ngcontent-a-c44=""
class="note"
>
<b
_ngcontent-a-c45=""
_ngcontent-a-c44=""
>
NOTE:
</b>
<br
_ngcontent-a-c45=""
_ngcontent-a-c44=""
/>
Have a look at the
<span
_ngcontent-a-c45=""
_ngcontent-a-c44=""
class="inline-code"
>
.storybook/webpack.config.js
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
exports[`Storyshots Addons/Actions Component Output with ArgsTypes 1`] = `
<storybook-wrapper>
<storybook-button-component
_nghost-a-c48=""
_nghost-a-c47=""
ng-reflect-text="Button 🥁"
>
<button
_ngcontent-a-c48=""
_ngcontent-a-c47=""
>
Button 🥁
</button>
Expand All @@ -18,11 +18,11 @@ exports[`Storyshots Addons/Actions Component Output with ArgsTypes 1`] = `
exports[`Storyshots Addons/Actions Component Output with EventEmitter 1`] = `
<storybook-wrapper>
<storybook-button-component
_nghost-a-c48=""
_nghost-a-c47=""
ng-reflect-text="Button 🥁"
>
<button
_ngcontent-a-c48=""
_ngcontent-a-c47=""
>
Button 🥁
</button>
Expand All @@ -41,11 +41,11 @@ exports[`Storyshots Addons/Actions Story with template 1`] = `
exports[`Storyshots Addons/Actions Use action in method 1`] = `
<storybook-wrapper>
<storybook-button-component
_nghost-a-c48=""
_nghost-a-c47=""
ng-reflect-text="Button 🥁"
>
<button
_ngcontent-a-c48=""
_ngcontent-a-c47=""
>
Button 🥁
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
exports[`Storyshots Addons / Backgrounds Overridden 1`] = `
<storybook-wrapper>
<storybook-button-component
_nghost-a-c48=""
_nghost-a-c47=""
ng-reflect-text="This one should have different"
>
<button
_ngcontent-a-c48=""
_ngcontent-a-c47=""
>
This one should have different backgrounds
</button>
Expand All @@ -18,11 +18,11 @@ exports[`Storyshots Addons / Backgrounds Overridden 1`] = `
exports[`Storyshots Addons / Backgrounds With Component 1`] = `
<storybook-wrapper>
<storybook-button-component
_nghost-a-c48=""
_nghost-a-c47=""
ng-reflect-text="Button"
>
<button
_ngcontent-a-c48=""
_ngcontent-a-c47=""
>
Button
</button>
Expand All @@ -33,11 +33,11 @@ exports[`Storyshots Addons / Backgrounds With Component 1`] = `
exports[`Storyshots Addons / Backgrounds With Template 1`] = `
<storybook-wrapper>
<storybook-button-component
_nghost-a-c48=""
_nghost-a-c47=""
ng-reflect-text="Button"
>
<button
_ngcontent-a-c48=""
_ngcontent-a-c47=""
>
Button
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
exports[`Storyshots Addons/Docs with some emoji 1`] = `
<storybook-wrapper>
<storybook-button-component
_nghost-a-c48=""
_nghost-a-c47=""
ng-reflect-text="😀 😎 👍 💯"
>
<button
_ngcontent-a-c48=""
_ngcontent-a-c47=""
>
😀 😎 👍 💯
</button>
Expand All @@ -18,11 +18,11 @@ exports[`Storyshots Addons/Docs with some emoji 1`] = `
exports[`Storyshots Addons/Docs with text 1`] = `
<storybook-wrapper>
<storybook-button-component
_nghost-a-c48=""
_nghost-a-c47=""
ng-reflect-text="hello button"
>
<button
_ngcontent-a-c48=""
_ngcontent-a-c47=""
>
hello button
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
exports[`Storyshots Addons/Docs/SimpleButton with text 1`] = `
<storybook-wrapper>
<storybook-button-component
_nghost-a-c48=""
_nghost-a-c47=""
ng-reflect-text="Hello 👋"
>
<button
_ngcontent-a-c48=""
_ngcontent-a-c47=""
>
Hello 👋
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
exports[`Storyshots Addons/Docs/Iframe Basic 1`] = `
<storybook-wrapper>
<storybook-button-component
_nghost-a-c48=""
_nghost-a-c47=""
ng-reflect-text="Add 👾"
>
<button
_ngcontent-a-c48=""
_ngcontent-a-c47=""
>
Add 👾
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
exports[`Storyshots Addons/Links button with link to another story 1`] = `
<storybook-wrapper>
<storybook-button-component
_nghost-a-c48=""
_nghost-a-c47=""
ng-reflect-text="Go to Welcome Story"
>
<button
_ngcontent-a-c48=""
_ngcontent-a-c47=""
>
Go to Welcome Story
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
exports[`Storyshots Core / Parameters / All parameters All parameters passed to story 1`] = `
<storybook-wrapper>
<storybook-button-component
_nghost-a-c48=""
_nghost-a-c47=""
ng-reflect-text="Parameters are {
\\"docs\\": {
"
>
<button
_ngcontent-a-c48=""
_ngcontent-a-c47=""
>
Parameters are {
"docs": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
exports[`Storyshots Core / Parameters / Layout Centered 1`] = `
<storybook-wrapper>
<storybook-button-component
_nghost-a-c48=""
_nghost-a-c47=""
ng-reflect-text="Button"
>
<button
_ngcontent-a-c48=""
_ngcontent-a-c47=""
>
Button
</button>
Expand All @@ -18,11 +18,11 @@ exports[`Storyshots Core / Parameters / Layout Centered 1`] = `
exports[`Storyshots Core / Parameters / Layout Default 1`] = `
<storybook-wrapper>
<storybook-button-component
_nghost-a-c48=""
_nghost-a-c47=""
ng-reflect-text="Button"
>
<button
_ngcontent-a-c48=""
_ngcontent-a-c47=""
>
Button
</button>
Expand All @@ -36,12 +36,12 @@ exports[`Storyshots Core / Parameters / Layout Fullscreen 1`] = `
style="background-color: yellow;"
>
<storybook-button-component
_nghost-a-c48=""
_nghost-a-c47=""
ng-reflect-text="Button"
text="Button"
>
<button
_ngcontent-a-c48=""
_ngcontent-a-c47=""
>
Button
</button>
Expand All @@ -54,11 +54,11 @@ exports[`Storyshots Core / Parameters / Layout Fullscreen 1`] = `
exports[`Storyshots Core / Parameters / Layout None 1`] = `
<storybook-wrapper>
<storybook-button-component
_nghost-a-c48=""
_nghost-a-c47=""
ng-reflect-text="Button"
>
<button
_ngcontent-a-c48=""
_ngcontent-a-c47=""
>
Button
</button>
Expand All @@ -69,11 +69,11 @@ exports[`Storyshots Core / Parameters / Layout None 1`] = `
exports[`Storyshots Core / Parameters / Layout Padded 1`] = `
<storybook-wrapper>
<storybook-button-component
_nghost-a-c48=""
_nghost-a-c47=""
ng-reflect-text="Button"
>
<button
_ngcontent-a-c48=""
_ngcontent-a-c47=""
>
Button
</button>
Expand Down
Loading

0 comments on commit 20563b8

Please sign in to comment.