Skip to content

Commit

Permalink
v0.4.0 -> v0.5.0 (#105)
Browse files Browse the repository at this point in the history
* feat #99 - Avatar component (#103)
* feat #100 - Notification component should take in configuration options (#103)
* feat #101 - Icon component should render svgs (#103)
* feat #92 - Theming (#97)
* fix #104 - Fix exported types for table and form (#97)
  • Loading branch information
nancy-dassana authored and github-actions committed Oct 20, 2020
1 parent 95b7cee commit 3849143
Show file tree
Hide file tree
Showing 7 changed files with 84 additions and 172 deletions.
38 changes: 0 additions & 38 deletions .storybook/Decorator.tsx

This file was deleted.

13 changes: 0 additions & 13 deletions .storybook/__tests__/Decorator.test.tsx

This file was deleted.

186 changes: 83 additions & 103 deletions src/__snapshots__/storybook.test.ts.snap
Expand Up @@ -212,24 +212,20 @@ exports[`Storyshots Input Default 1`] = `
className="light storyWrapper-0-2-2"
>
<div
className="decorator-0-2-5 decorator"
className="container-0-2-5 container-d0-0-2-8"
>
<div
className="container-0-2-6 container-d0-0-2-9"
>
<input
className="ant-input"
data-test="input"
disabled={false}
onBlur={[Function]}
onChange={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
placeholder=""
type="text"
value=""
/>
</div>
<input
className="ant-input"
data-test="input"
disabled={false}
onBlur={[Function]}
onChange={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
placeholder=""
type="text"
value=""
/>
</div>
</div>
`;
Expand All @@ -239,24 +235,20 @@ exports[`Storyshots Input Error 1`] = `
className="light storyWrapper-0-2-2"
>
<div
className="decorator-0-2-5 decorator"
className="container-0-2-5 container-d5-0-2-14"
>
<div
className="container-0-2-6 container-d5-0-2-15"
>
<input
className="ant-input error-0-2-7"
data-test="input"
disabled={false}
onBlur={[Function]}
onChange={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
placeholder=""
type="text"
value=""
/>
</div>
<input
className="ant-input error"
data-test="input"
disabled={false}
onBlur={[Function]}
onChange={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
placeholder=""
type="text"
value=""
/>
</div>
</div>
`;
Expand All @@ -266,24 +258,20 @@ exports[`Storyshots Input Full Width 1`] = `
className="light storyWrapper-0-2-2"
>
<div
className="decorator-0-2-5 decorator"
className="container-0-2-5 container-d4-0-2-13"
>
<div
className="container-0-2-6 container-d4-0-2-14"
>
<input
className="ant-input"
data-test="input"
disabled={false}
onBlur={[Function]}
onChange={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
placeholder=""
type="text"
value=""
/>
</div>
<input
className="ant-input"
data-test="input"
disabled={false}
onBlur={[Function]}
onChange={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
placeholder=""
type="text"
value=""
/>
</div>
</div>
`;
Expand All @@ -293,20 +281,16 @@ exports[`Storyshots Input Loading 1`] = `
className="light storyWrapper-0-2-2"
>
<div
className="decorator-0-2-5 decorator"
className="container-0-2-5 container-d3-0-2-11"
>
<div
className="container-0-2-6 container-d3-0-2-12"
className="inputSkeleton-0-2-7"
>
<div
className="inputSkeleton-0-2-8"
<span
className="container-0-2-3 container-d1-0-2-12"
>
<span
className="container-0-2-3 container-d1-0-2-13"
>
 
</span>
</div>
 
</span>
</div>
</div>
</div>
Expand All @@ -317,24 +301,20 @@ exports[`Storyshots Input Placeholder 1`] = `
className="light storyWrapper-0-2-2"
>
<div
className="decorator-0-2-5 decorator"
className="container-0-2-5 container-d1-0-2-9"
>
<div
className="container-0-2-6 container-d1-0-2-10"
>
<input
className="ant-input"
data-test="input"
disabled={false}
onBlur={[Function]}
onChange={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
placeholder="Search..."
type="text"
value=""
/>
</div>
<input
className="ant-input"
data-test="input"
disabled={false}
onBlur={[Function]}
onChange={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
placeholder="Search..."
type="text"
value=""
/>
</div>
</div>
`;
Expand Down Expand Up @@ -605,31 +585,31 @@ exports[`Storyshots Radio Group Loading 1`] = `
className="light storyWrapper-0-2-2"
>
<div
className="container-0-2-16"
className="container-0-2-15"
>
<div
className="skeletonButton-0-2-18"
className="skeletonButton-0-2-17"
>
<span
className="container-0-2-3 container-d2-0-2-19 skeleton-0-2-17"
className="container-0-2-3 container-d2-0-2-18 skeleton-0-2-16"
>
 
</span>
</div>
<div
className="skeletonButton-0-2-18"
className="skeletonButton-0-2-17"
>
<span
className="container-0-2-3 container-d3-0-2-20 skeleton-0-2-17"
className="container-0-2-3 container-d3-0-2-19 skeleton-0-2-16"
>
 
</span>
</div>
<div
className="skeletonButton-0-2-18"
className="skeletonButton-0-2-17"
>
<span
className="container-0-2-3 container-d4-0-2-21 skeleton-0-2-17"
className="container-0-2-3 container-d4-0-2-20 skeleton-0-2-16"
>
 
</span>
Expand Down Expand Up @@ -732,10 +712,10 @@ exports[`Storyshots Select Default 1`] = `
className="light storyWrapper-0-2-2"
>
<div
className="container-0-2-23 container-d0-0-2-27"
className="container-0-2-22 container-d0-0-2-26"
>
<div
className="ant-select dropdown-0-2-24 ant-select-single ant-select-show-arrow"
className="ant-select dropdown-0-2-23 ant-select-single ant-select-show-arrow"
data-test="select"
onBlur={[Function]}
onFocus={[Function]}
Expand Down Expand Up @@ -828,10 +808,10 @@ exports[`Storyshots Select Full Width 1`] = `
className="light storyWrapper-0-2-2"
>
<div
className="container-0-2-23 container-d2-0-2-29"
className="container-0-2-22 container-d2-0-2-28"
>
<div
className="ant-select dropdown-0-2-24 ant-select-single ant-select-show-arrow"
className="ant-select dropdown-0-2-23 ant-select-single ant-select-show-arrow"
data-test="select"
onBlur={[Function]}
onFocus={[Function]}
Expand Down Expand Up @@ -878,7 +858,7 @@ exports[`Storyshots Select Full Width 1`] = `
className="ant-select-selection-item"
>
<div
className="option-0-2-26"
className="option-0-2-25"
>
<span>
Lorem
Expand Down Expand Up @@ -929,10 +909,10 @@ exports[`Storyshots Select Icon 1`] = `
className="light storyWrapper-0-2-2"
>
<div
className="container-0-2-23 container-d1-0-2-28"
className="container-0-2-22 container-d1-0-2-27"
>
<div
className="ant-select dropdown-0-2-24 ant-select-single ant-select-show-arrow"
className="ant-select dropdown-0-2-23 ant-select-single ant-select-show-arrow"
data-test="select"
onBlur={[Function]}
onFocus={[Function]}
Expand Down Expand Up @@ -979,10 +959,10 @@ exports[`Storyshots Select Icon 1`] = `
className="ant-select-selection-item"
>
<div
className="option-0-2-26"
className="option-0-2-25"
>
<span
className="icon-0-2-25"
className="icon-0-2-24"
>
<svg
fill="#7E8083"
Expand Down Expand Up @@ -1041,10 +1021,10 @@ exports[`Storyshots Select Search 1`] = `
className="light storyWrapper-0-2-2"
>
<div
className="container-0-2-23 container-d3-0-2-30"
className="container-0-2-22 container-d3-0-2-29"
>
<div
className="ant-select dropdown-0-2-24 ant-select-single ant-select-show-arrow ant-select-show-search"
className="ant-select dropdown-0-2-23 ant-select-single ant-select-show-arrow ant-select-show-search"
data-test="select"
onBlur={[Function]}
onFocus={[Function]}
Expand Down Expand Up @@ -1137,7 +1117,7 @@ exports[`Storyshots Skeleton Circle 1`] = `
className="light storyWrapper-0-2-2"
>
<span
className="container-0-2-3 container-d6-0-2-32"
className="container-0-2-3 container-d6-0-2-31"
>
 
</span>
Expand All @@ -1149,27 +1129,27 @@ exports[`Storyshots Skeleton Count 1`] = `
className="light storyWrapper-0-2-2"
>
<span
className="container-0-2-3 container-d7-0-2-33"
className="container-0-2-3 container-d7-0-2-32"
>
 
</span>
<span
className="container-0-2-3 container-d7-0-2-33"
className="container-0-2-3 container-d7-0-2-32"
>
 
</span>
<span
className="container-0-2-3 container-d7-0-2-33"
className="container-0-2-3 container-d7-0-2-32"
>
 
</span>
<span
className="container-0-2-3 container-d7-0-2-33"
className="container-0-2-3 container-d7-0-2-32"
>
 
</span>
<span
className="container-0-2-3 container-d7-0-2-33"
className="container-0-2-3 container-d7-0-2-32"
>
 
</span>
Expand All @@ -1181,7 +1161,7 @@ exports[`Storyshots Skeleton Default 1`] = `
className="light storyWrapper-0-2-2"
>
<span
className="container-0-2-3 container-d5-0-2-31"
className="container-0-2-3 container-d5-0-2-30"
>
 
</span>
Expand Down

0 comments on commit 3849143

Please sign in to comment.