Skip to content

Commit

Permalink
chore(release): 1.0.0-v1-release.20 [skip ci]nn# [1.0.0-v1-release.20](
Browse files Browse the repository at this point in the history
…v1.0.0-v1-release.19...v1.0.0-v1-release.20) (2020-09-22)

### Bug Fixes

* **button:** tweak margin of icon containers ([7f85160](7f85160))
* **button icon container:** add ability to style icon containers ([5755755](5755755))
* **textinput accepts styledtextarea:** textinput accepts styledtextarea ([9b2d106](9b2d106))
  • Loading branch information
semantic-release-bot committed Sep 22, 2020
1 parent 593f1ba commit 705425a
Show file tree
Hide file tree
Showing 52 changed files with 185 additions and 164 deletions.
9 changes: 9 additions & 0 deletions packages/hs-react-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# [1.0.0-v1-release.20](https://github.com/Headstorm/foundry-ui/compare/v1.0.0-v1-release.19...v1.0.0-v1-release.20) (2020-09-22)


### Bug Fixes

* **button:** tweak margin of icon containers ([7f85160](https://github.com/Headstorm/foundry-ui/commit/7f85160a815e052dd5f1ba0955f552fd3cf27a50))
* **button icon container:** add ability to style icon containers ([5755755](https://github.com/Headstorm/foundry-ui/commit/57557554c88788e5044fde8b42e223604efd1a70))
* **textinput accepts styledtextarea:** textinput accepts styledtextarea ([9b2d106](https://github.com/Headstorm/foundry-ui/commit/9b2d10632af10be2a8a0c509cee34c5bbfd72cdd))

# [1.0.0-v1-release.19](https://github.com/Headstorm/rasa-ui/compare/v1.0.0-v1-release.18...v1.0.0-v1-release.19) (2020-09-01)


Expand Down
2 changes: 1 addition & 1 deletion packages/hs-react-ui/coverage/badge-branches.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/hs-react-ui/coverage/badge-lines.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/hs-react-ui/coverage/badge-statements.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 37 additions & 16 deletions packages/hs-react-ui/coverage/components/Button/Button.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">components/B
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Statements</span>
<span class='fraction'>23/23</span>
<span class='fraction'>25/25</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">83.67% </span>
<span class="strong">84.31% </span>
<span class="quiet">Branches</span>
<span class='fraction'>41/49</span>
<span class='fraction'>43/51</span>
</div>


Expand All @@ -46,7 +46,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">components/B
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Lines</span>
<span class='fraction'>23/23</span>
<span class='fraction'>25/25</span>
</div>


Expand Down Expand Up @@ -291,7 +291,16 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">components/B
<a name='L232'></a><a href='#L232'>232</a>
<a name='L233'></a><a href='#L233'>233</a>
<a name='L234'></a><a href='#L234'>234</a>
<a name='L235'></a><a href='#L235'>235</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
<a name='L235'></a><a href='#L235'>235</a>
<a name='L236'></a><a href='#L236'>236</a>
<a name='L237'></a><a href='#L237'>237</a>
<a name='L238'></a><a href='#L238'>238</a>
<a name='L239'></a><a href='#L239'>239</a>
<a name='L240'></a><a href='#L240'>240</a>
<a name='L241'></a><a href='#L241'>241</a>
<a name='L242'></a><a href='#L242'>242</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
Expand Down Expand Up @@ -457,6 +466,8 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">components/B
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">39x</span>
<span class="cline-any cline-yes">39x</span>
<span class="cline-any cline-yes">39x</span>
Expand Down Expand Up @@ -524,6 +535,9 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">components/B
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import React, { ReactNode } from 'react';
import UnstyledIcon from '@mdi/react';
Expand Down Expand Up @@ -564,6 +578,8 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">components/B
&nbsp;
export type ButtonProps = {
StyledContainer?: string &amp; StyledComponentBase&lt;any, {}, ButtonContainerProps&gt;;
StyledLeftIconContainer?: StyledComponentBase&lt;any, {}&gt;;
StyledRightIconContainer?: StyledComponentBase&lt;any, {}&gt;;
containerProps?: SubcomponentPropsType;
iconPrefix?: string | JSX.Element;
iconSuffix?: string | JSX.Element;
Expand Down Expand Up @@ -660,18 +676,20 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">components/B
&nbsp;
const LeftIconContainer = styled(IconContainer)`
${({ hasContent }: { hasContent: boolean }) =&gt; `
${hasContent ? <span class="branch-0 cbranch-no" title="branch not covered" >'margin-right: 1em;' </span>: ''}
${hasContent ? <span class="branch-0 cbranch-no" title="branch not covered" >'margin-right: 0.75em;' </span>: ''}
`}
`;
&nbsp;
const RightIconContainer = styled(IconContainer)`
${({ hasContent }: { hasContent: boolean }) =&gt; `
${hasContent ? <span class="branch-0 cbranch-no" title="branch not covered" >'margin-left: 1em;' </span>: ''}
${hasContent ? <span class="branch-0 cbranch-no" title="branch not covered" >'margin-left: 0.75em;' </span>: ''}
`}
`;
&nbsp;
const Button = ({
StyledContainer = ButtonContainer,
StyledLeftIconContainer = LeftIconContainer,
StyledRightIconContainer = RightIconContainer,
containerProps = {},
iconPrefix,
iconSuffix,
Expand Down Expand Up @@ -716,26 +734,26 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">components/B
{!isProcessing &amp;&amp;
iconPrefix &amp;&amp;
(typeof iconPrefix === 'string' &amp;&amp; iconPrefix !== '' ? (
&lt;LeftIconContainer hasContent={hasContent}&gt;
&lt;StyledLeftIconContainer hasContent={hasContent}&gt;
&lt;UnstyledIcon path={iconPrefix} size="1rem" /&gt;
&lt;/LeftIconContainer&gt;
&lt;/StyledLeftIconContainer&gt;
) : (
&lt;LeftIconContainer&gt;{iconPrefix}&lt;/LeftIconContainer&gt;
&lt;StyledLeftIconContainer&gt;{iconPrefix}&lt;/StyledLeftIconContainer&gt;
))}
{isProcessing &amp;&amp; (
&lt;LeftIconContainer hasContent={hasContent}&gt;
&lt;StyledLeftIconContainer hasContent={hasContent}&gt;
&lt;UnstyledIcon path={mdiLoading} size="1rem" spin={1} /&gt;
&lt;/LeftIconContainer&gt;
&lt;/StyledLeftIconContainer&gt;
)}
{children}
&nbsp;
{iconSuffix &amp;&amp;
(typeof iconSuffix === 'string' ? (
&lt;RightIconContainer hasContent={hasContent}&gt;
&lt;StyledRightIconContainer hasContent={hasContent}&gt;
&lt;UnstyledIcon path={iconSuffix} size="1rem" /&gt;
&lt;/RightIconContainer&gt;
&lt;/StyledRightIconContainer&gt;
) : (
&lt;RightIconContainer hasContent={hasContent}&gt;{iconSuffix}&lt;/RightIconContainer&gt;
&lt;StyledRightIconContainer hasContent={hasContent}&gt;{iconSuffix}&lt;/StyledRightIconContainer&gt;
))}
&lt;/&gt;
);
Expand All @@ -758,6 +776,9 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">components/B
Button.Container = ButtonContainer;
Button.ButtonTypes = ButtonTypes;
Button.LoadingBar = StyledProgress;
Button.LeftIconContainer = LeftIconContainer;
Button.RightIconContainer = RightIconContainer;
&nbsp;
export default Button;
&nbsp;</pre></td></tr></table></pre>

Expand All @@ -766,7 +787,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">components/B
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Mon Sep 14 2020 09:55:11 GMT-0500 (Central Daylight Time)
at Tue Sep 22 2020 19:10:32 GMT+0000 (Coordinated Universal Time)
</div>
</div>
<script src="../../prettify.js"></script>
Expand Down
18 changes: 9 additions & 9 deletions packages/hs-react-ui/coverage/components/Button/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ <h1><a href="../../index.html">All files</a> components/Button</h1>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Statements</span>
<span class='fraction'>23/23</span>
<span class='fraction'>25/25</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">83.67% </span>
<span class="strong">84.31% </span>
<span class="quiet">Branches</span>
<span class='fraction'>41/49</span>
<span class='fraction'>43/51</span>
</div>


Expand All @@ -46,7 +46,7 @@ <h1><a href="../../index.html">All files</a> components/Button</h1>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Lines</span>
<span class='fraction'>23/23</span>
<span class='fraction'>25/25</span>
</div>


Expand Down Expand Up @@ -78,13 +78,13 @@ <h1><a href="../../index.html">All files</a> components/Button</h1>
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="23" class="abs high">23/23</td>
<td data-value="83.67" class="pct high">83.67%</td>
<td data-value="49" class="abs high">41/49</td>
<td data-value="25" class="abs high">25/25</td>
<td data-value="84.31" class="pct high">84.31%</td>
<td data-value="51" class="abs high">43/51</td>
<td data-value="66.67" class="pct medium">66.67%</td>
<td data-value="6" class="abs medium">4/6</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="23" class="abs high">23/23</td>
<td data-value="25" class="abs high">25/25</td>
</tr>

</tbody>
Expand All @@ -95,7 +95,7 @@ <h1><a href="../../index.html">All files</a> components/Button</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Mon Sep 14 2020 09:55:11 GMT-0500 (Central Daylight Time)
at Tue Sep 22 2020 19:10:32 GMT+0000 (Coordinated Universal Time)
</div>
</div>
<script src="../../prettify.js"></script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">components/C
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Mon Sep 14 2020 09:55:11 GMT-0500 (Central Daylight Time)
at Tue Sep 22 2020 19:10:32 GMT+0000 (Coordinated Universal Time)
</div>
</div>
<script src="../../prettify.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion packages/hs-react-ui/coverage/components/Card/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ <h1><a href="../../index.html">All files</a> components/Card</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Mon Sep 14 2020 09:55:11 GMT-0500 (Central Daylight Time)
at Tue Sep 22 2020 19:10:32 GMT+0000 (Coordinated Universal Time)
</div>
</div>
<script src="../../prettify.js"></script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">components/C
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Mon Sep 14 2020 09:55:11 GMT-0500 (Central Daylight Time)
at Tue Sep 22 2020 19:10:32 GMT+0000 (Coordinated Universal Time)
</div>
</div>
<script src="../../prettify.js"></script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ <h1><a href="../../index.html">All files</a> components/Checkbox</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Mon Sep 14 2020 09:55:11 GMT-0500 (Central Daylight Time)
at Tue Sep 22 2020 19:10:32 GMT+0000 (Coordinated Universal Time)
</div>
</div>
<script src="../../prettify.js"></script>
Expand Down
Loading

0 comments on commit 705425a

Please sign in to comment.