Skip to content

Commit

Permalink
chore(release): 1.20.1 [skip ci]nn## [1.20.1](v1.20.0...v1.20.1) (202…
Browse files Browse the repository at this point in the history
…2-06-30)

### Bug Fixes

* **modal underlay:** set the default background color to a translucent black instead of opaque black ([8f625b5](8f625b5))
* **modal underlay:** use theme hook in subcomponent so the subcomponent is portable outside of Modal ([b50d70c](b50d70c))
  • Loading branch information
semantic-release-bot committed Jun 30, 2022
1 parent 29acd79 commit e158b0f
Show file tree
Hide file tree
Showing 63 changed files with 113 additions and 117 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## [1.20.1](https://github.com/Headstorm/foundry-ui/compare/v1.20.0...v1.20.1) (2022-06-30)


### Bug Fixes

* **modal underlay:** set the default background color to a translucent black instead of opaque black ([8f625b5](https://github.com/Headstorm/foundry-ui/commit/8f625b5da7bf89f32c44a3a87a91fea23682384b))
* **modal underlay:** use theme hook in subcomponent so the subcomponent is portable outside of Modal ([b50d70c](https://github.com/Headstorm/foundry-ui/commit/b50d70c533119695f0bf08bf32cbb28d084bbd2a))

# [1.20.0](https://github.com/Headstorm/foundry-ui/compare/v1.19.2...v1.20.0) (2022-06-24)


Expand Down
2 changes: 1 addition & 1 deletion coverage/badge-functions.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 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 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.
2 changes: 1 addition & 1 deletion coverage/components/Button/Button.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,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" rel="noopener noreferrer">istanbul</a>
at Fri Jun 24 2022 19:00:57 GMT+0000 (Coordinated Universal Time)
at Thu Jun 30 2022 18:03:33 GMT+0000 (Coordinated Universal Time)
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/components/Button/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,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" rel="noopener noreferrer">istanbul</a>
at Fri Jun 24 2022 19:00:57 GMT+0000 (Coordinated Universal Time)
at Thu Jun 30 2022 18:03:33 GMT+0000 (Coordinated Universal Time)
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/components/Card/Card.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,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" rel="noopener noreferrer">istanbul</a>
at Fri Jun 24 2022 19:00:57 GMT+0000 (Coordinated Universal Time)
at Thu Jun 30 2022 18:03:33 GMT+0000 (Coordinated Universal Time)
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/components/Card/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,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" rel="noopener noreferrer">istanbul</a>
at Fri Jun 24 2022 19:00:57 GMT+0000 (Coordinated Universal Time)
at Thu Jun 30 2022 18:03:33 GMT+0000 (Coordinated Universal Time)
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/components/Checkbox/Checkbox.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,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" rel="noopener noreferrer">istanbul</a>
at Fri Jun 24 2022 19:00:57 GMT+0000 (Coordinated Universal Time)
at Thu Jun 30 2022 18:03:33 GMT+0000 (Coordinated Universal Time)
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/components/Checkbox/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,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" rel="noopener noreferrer">istanbul</a>
at Fri Jun 24 2022 19:00:57 GMT+0000 (Coordinated Universal Time)
at Thu Jun 30 2022 18:03:33 GMT+0000 (Coordinated Universal Time)
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/components/Divider/Divider.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">components/D
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at Fri Jun 24 2022 19:00:57 GMT+0000 (Coordinated Universal Time)
at Thu Jun 30 2022 18:03:33 GMT+0000 (Coordinated Universal Time)
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/components/Divider/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h1><a href="../../index.html">All files</a> components/Divider</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at Fri Jun 24 2022 19:00:57 GMT+0000 (Coordinated Universal Time)
at Thu Jun 30 2022 18:03:33 GMT+0000 (Coordinated Universal Time)
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/components/Dropdown/Dropdown.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -3103,7 +3103,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">components/D
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at Fri Jun 24 2022 19:00:57 GMT+0000 (Coordinated Universal Time)
at Thu Jun 30 2022 18:03:33 GMT+0000 (Coordinated Universal Time)
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/components/Dropdown/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h1><a href="../../index.html">All files</a> components/Dropdown</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at Fri Jun 24 2022 19:00:57 GMT+0000 (Coordinated Universal Time)
at Thu Jun 30 2022 18:03:33 GMT+0000 (Coordinated Universal Time)
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">components/I
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at Fri Jun 24 2022 19:00:57 GMT+0000 (Coordinated Universal Time)
at Thu Jun 30 2022 18:03:33 GMT+0000 (Coordinated Universal Time)
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/components/InteractionFeedback/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h1><a href="../../index.html">All files</a> components/InteractionFeedback</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at Fri Jun 24 2022 19:00:57 GMT+0000 (Coordinated Universal Time)
at Thu Jun 30 2022 18:03:33 GMT+0000 (Coordinated Universal Time)
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/components/Label/Label.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">components/L
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at Fri Jun 24 2022 19:00:57 GMT+0000 (Coordinated Universal Time)
at Thu Jun 30 2022 18:03:33 GMT+0000 (Coordinated Universal Time)
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/components/Label/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h1><a href="../../index.html">All files</a> components/Label</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at Fri Jun 24 2022 19:00:57 GMT+0000 (Coordinated Universal Time)
at Thu Jun 30 2022 18:03:33 GMT+0000 (Coordinated Universal Time)
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
46 changes: 17 additions & 29 deletions coverage/components/Modal/Modal.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">components/M
<div class='clearfix'>

<div class='fl pad1y space-right2'>
<span class="strong">57.81% </span>
<span class="strong">57.14% </span>
<span class="quiet">Statements</span>
<span class='fraction'>37/64</span>
<span class='fraction'>36/63</span>
</div>


Expand All @@ -37,16 +37,16 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">components/M


<div class='fl pad1y space-right2'>
<span class="strong">40% </span>
<span class="strong">36.84% </span>
<span class="quiet">Functions</span>
<span class='fraction'>8/20</span>
<span class='fraction'>7/19</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">58.06% </span>
<span class="strong">57.37% </span>
<span class="quiet">Lines</span>
<span class='fraction'>36/62</span>
<span class='fraction'>35/61</span>
</div>


Expand Down Expand Up @@ -386,11 +386,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">components/M
<a name='L321'></a><a href='#L321'>321</a>
<a name='L322'></a><a href='#L322'>322</a>
<a name='L323'></a><a href='#L323'>323</a>
<a name='L324'></a><a href='#L324'>324</a>
<a name='L325'></a><a href='#L325'>325</a>
<a name='L326'></a><a href='#L326'>326</a>
<a name='L327'></a><a href='#L327'>327</a>
<a name='L328'></a><a href='#L328'>328</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
<a name='L324'></a><a href='#L324'>324</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>
Expand All @@ -413,10 +409,6 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">components/M
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</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>
<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 @@ -735,23 +727,19 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">components/M
import Button from '../Button/Button';
import { AnimatedDiv } from '../../htmlElements';
import { SubcomponentPropsType, StyledSubcomponentType } from '../commonTypes';
import { FoundryColorsType, useAnalytics, useTheme } from '../../context';
import { useAnalytics, useTheme } from '../../context';
&nbsp;
const Underlay = styled(AnimatedDiv)&lt;{
colors: FoundryColorsType;
}&gt;`
${({ colors }) =&gt; `
height: 100%;
width: 100%;
const Underlay = styled(AnimatedDiv)`
height: 100%;
width: 100%;
&nbsp;
background-color: ${colors.black};
background-color: rgba(0, 0, 0, 0.5);
&nbsp;
position: fixed;
top: 0;
left: 0;
position: fixed;
top: 0;
left: 0;
&nbsp;
z-index: 1000;
`}
z-index: 1000;
`;
&nbsp;
const Container = styled(AnimatedDiv)`
Expand Down Expand Up @@ -1051,7 +1039,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">components/M
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at Fri Jun 24 2022 19:00:57 GMT+0000 (Coordinated Universal Time)
at Thu Jun 30 2022 18:03:33 GMT+0000 (Coordinated Universal Time)
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
Loading

0 comments on commit e158b0f

Please sign in to comment.