IIIF-Commons / thumbnail-panel

https://thumbnail-panel.netlify.app
MIT License
3 stars 1 forks source link

Web components #36

Closed stephenwf closed 1 year ago

stephenwf commented 1 year ago

CodeSandbox example: https://codesandbox.io/s/thumbnail-panel-wc-gofzr7?file=/index.html

bundle size ends up being:

dist/web-components/style.css      0.35 kB │ gzip:  0.17 kB
dist/web-components/index.umd.js  68.60 kB │ gzip: 21.50 kB │ map: 252.62 kB

So 78Kb (21kB gzip) with zero dependencies, not too bad!

codesandbox[bot] commented 1 year ago

CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders | Preview

netlify[bot] commented 1 year ago

Deploy Preview for thumbnail-panel ready!

Name Link
Latest commit 633156bf6cf70c47968bbd163684299783e1d314
Latest deploy log https://app.netlify.com/sites/thumbnail-panel/deploys/646cc33967eb8f00083af45e
Deploy Preview https://deploy-preview-36--thumbnail-panel.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

codesandbox-ci[bot] commented 1 year ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.