-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ordered-list): Remove Text component wrapper in OrderedList and …
…OrderedList.Item and set size u
- Loading branch information
Showing
7 changed files
with
39 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,6 @@ | ||
``` | ||
<OrderedList> | ||
<OrderedList.Item>Nunc condimentum non est sed rutrum. Donec porta torto mattis velit fermentum iaculis</OrderedList.Item> | ||
<OrderedList.Item> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit | ||
<OrderedList listStyle="upper-alpha" size="medium"> | ||
<OrderedList.Item>Quisque tincidunt dolor</OrderedList.Item> | ||
<OrderedList.Item>Nunc condimentum non est sed rutrum. Donec porta tortor mattis velit</OrderedList.Item> | ||
</OrderedList> | ||
</OrderedList.Item> | ||
<OrderedList.Item> | ||
Non est sed rutrum | ||
</OrderedList.Item> | ||
<OrderedList.Item> | ||
Donec porta tortor mattis velit | ||
</OrderedList.Item> | ||
</OrderedList> | ||
<OrderedList listStyle="upperAlpha" size="medium"> | ||
<OrderedList.Item>Quisque tincidunt dolor</OrderedList.Item> | ||
<OrderedList.Item>Nunc condimentum non est sed rutrum. Donec porta tortor mattis velit</OrderedList.Item> | ||
</OrderedList> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 12 additions & 32 deletions
44
src/components/Lists/OrderedList/__tests__/__snapshots__/OrderedList.spec.jsx.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,20 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`<OrderedList /> renders 1`] = ` | ||
<span | ||
<ol | ||
class=" | ||
base | ||
baseFont | ||
color | ||
decimal | ||
" | ||
> | ||
<ol | ||
class=" | ||
decimal | ||
" | ||
<li | ||
class="undefined" | ||
> | ||
<li> | ||
<span | ||
class=" | ||
base | ||
baseFont | ||
color | ||
" | ||
> | ||
Lorem ipsum | ||
</span> | ||
</li> | ||
<li> | ||
<span | ||
class=" | ||
base | ||
baseFont | ||
color | ||
" | ||
> | ||
Dolor sit amet | ||
</span> | ||
</li> | ||
</ol> | ||
</span> | ||
Lorem ipsum | ||
</li> | ||
<li | ||
class="undefined" | ||
> | ||
Dolor sit amet | ||
</li> | ||
</ol> | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters