this is the @magic-modules LightBox component.
it shows an image that floats within the surrounding text, and, when clicked, expands to show a bigger view of itself.
npm install --save-exact @magic-modules/light-box
LightBox('/img/img.png')
<LightBox
state
img="https://imgs.xkcd.com/comics/digital_data.png"
right="true"
width="389"
url="https://xkcd.com/"
text="comic by xkcd">
</LightBox>
first release.
- fix image sizes
- image hover has cursor: pointer
bump required node version to 14.2.0
change css to show full-width images on smaller resolutions
update readme
bump required node version to 14.15.4
...