Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
paragon
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
paragon
Commits
4d0806ae
Commit
4d0806ae
authored
Jul 07, 2017
by
Ari Rizzitano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update snapshots
parent
68b547b5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
111 additions
and
3 deletions
+111
-3
.storybook/__snapshots__/Storyshots.test.js.snap
+111
-3
No files found.
.storybook/__snapshots__/Storyshots.test.js.snap
View file @
4d0806ae
...
@@ -78,12 +78,12 @@ exports[`Storyshots CheckBox disabled 1`] = `
...
@@ -78,12 +78,12 @@ exports[`Storyshots CheckBox disabled 1`] = `
exports[`Storyshots Dropdown basic usage 1`] = `
exports[`Storyshots Dropdown basic usage 1`] = `
<div
<div
className="
paragon-component
dropdown"
className="dropdown"
>
>
<button
<button
aria-expanded={false}
aria-expanded={false}
aria-haspopup="true"
aria-haspopup="true"
className="btn
border-0 dropdown-toggle
btn-secondary"
className="btn
-borderless dropdown-toggle btn
btn-secondary"
onBlur={[Function]}
onBlur={[Function]}
onClick={[Function]}
onClick={[Function]}
onKeyDown={[Function]}
onKeyDown={[Function]}
...
@@ -153,6 +153,7 @@ exports[`Storyshots InputSelect basic usage 1`] = `
...
@@ -153,6 +153,7 @@ exports[`Storyshots InputSelect basic usage 1`] = `
name="fruits"
name="fruits"
onBlur={[Function]}
onBlur={[Function]}
onChange={[Function]}
onChange={[Function]}
type="select"
value="strawberry"
value="strawberry"
>
>
<option
<option
...
@@ -195,6 +196,7 @@ exports[`Storyshots InputSelect separate labels and values 1`] = `
...
@@ -195,6 +196,7 @@ exports[`Storyshots InputSelect separate labels and values 1`] = `
name="new-england-states"
name="new-england-states"
onBlur={[Function]}
onBlur={[Function]}
onChange={[Function]}
onChange={[Function]}
type="select"
value="RI"
value="RI"
>
>
<option
<option
...
@@ -247,6 +249,7 @@ exports[`Storyshots InputSelect separate option groups 1`] = `
...
@@ -247,6 +249,7 @@ exports[`Storyshots InputSelect separate option groups 1`] = `
name="northeast-states"
name="northeast-states"
onBlur={[Function]}
onBlur={[Function]}
onChange={[Function]}
onChange={[Function]}
type="select"
value="MD"
value="MD"
>
>
<optgroup
<optgroup
...
@@ -347,6 +350,7 @@ exports[`Storyshots InputSelect with validation 1`] = `
...
@@ -347,6 +350,7 @@ exports[`Storyshots InputSelect with validation 1`] = `
name="color"
name="color"
onBlur={[Function]}
onBlur={[Function]}
onChange={[Function]}
onChange={[Function]}
type="select"
value=""
value=""
>
>
<option
<option
...
@@ -448,6 +452,14 @@ exports[`Storyshots InputText validation 1`] = `
...
@@ -448,6 +452,14 @@ exports[`Storyshots InputText validation 1`] = `
exports[`Storyshots Paragon Welcome 1`] = `
exports[`Storyshots Paragon Welcome 1`] = `
<div
<div
className="css-jail"
style={
Object {
"fontFamily": "sans-serif",
}
}
>
<div
style={
style={
Object {
Object {
"fontFamily": "\\"Helvetica Neue\\", Helvetica, \\"Segoe UI\\", Arial, freesans, sans-serif",
"fontFamily": "\\"Helvetica Neue\\", Helvetica, \\"Segoe UI\\", Arial, freesans, sans-serif",
...
@@ -456,7 +468,7 @@ exports[`Storyshots Paragon Welcome 1`] = `
...
@@ -456,7 +468,7 @@ exports[`Storyshots Paragon Welcome 1`] = `
"maxWidth": 600,
"maxWidth": 600,
}
}
}
}
>
>
<h1>
<h1>
💎 Paragon
💎 Paragon
</h1>
</h1>
...
@@ -474,5 +486,101 @@ exports[`Storyshots Paragon Welcome 1`] = `
...
@@ -474,5 +486,101 @@ exports[`Storyshots Paragon Welcome 1`] = `
</a>
</a>
.
.
</p>
</p>
</div>
</div>
`;
exports[`Storyshots Tabs minimal usage 1`] = `
<div>
<ul
className="nav nav-tabs"
role="tablist"
>
<li
className="nav-item"
id="tab-label-tabInterface11-0"
>
<a
aria-controls="tab-panel-tabInterface11-0"
aria-selected={true}
className="nav-link active"
onClick={[Function]}
role="tab"
tabIndex={0}
>
Panel 1
</a>
</li>
<li
className="nav-item"
id="tab-label-tabInterface11-1"
>
<a
aria-controls="tab-panel-tabInterface11-1"
aria-selected={false}
className="nav-link"
onClick={[Function]}
role="tab"
tabIndex={-1}
>
Panel 2
</a>
</li>
<li
className="nav-item"
id="tab-label-tabInterface11-2"
>
<a
aria-controls="tab-panel-tabInterface11-2"
aria-selected={false}
className="nav-link"
onClick={[Function]}
role="tab"
tabIndex={-1}
>
Panel 3
</a>
</li>
</ul>
<div
className="tab-content"
>
<div
aria-hidden={false}
aria-labelledby="tab-label-tabInterface11-0"
className="tab-pane active"
id="tab-panel-tabInterface11-0"
role="tabpanel"
tabId={0}
>
<div>
Hello I am the first panel
</div>
</div>
<div
aria-hidden={true}
aria-labelledby="tab-label-tabInterface11-1"
className="tab-pane"
id="tab-panel-tabInterface11-1"
role="tabpanel"
tabId={1}
>
<div>
Hello I am the second panel
</div>
</div>
<div
aria-hidden={true}
aria-labelledby="tab-label-tabInterface11-2"
className="tab-pane"
id="tab-panel-tabInterface11-2"
role="tabpanel"
tabId={2}
>
<div>
Hello I am the third panel
</div>
</div>
</div>
</div>
</div>
`;
`;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment