v0.13.0
Overview
This release introduces support for parsing Import Attributes syntax and and a basic no-op DOM shim for CSSStyleSheet
(Constructable Stylesheets).
Changelog
https://github.com/ProjectEvergreen/wcc/issues?q=label%3A0.13.0
- Import Attributes syntax parsing
- Support Constructable Stylesheets (CSS Modules) in DOM Shim
- WCC dropping query params when loading module URLs
Breaking Changes
N / A
Known Issues
N / A
Diff
$ git diff 0.12.1 0.13.0 --stat
.eslintrc.cjs | 10 +
.nvmrc | 2 +-
docs/pages/docs.md | 6 +-
docs/pages/index.md | 1 +
package-lock.json | 1398 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
package.json | 13 +-
src/dom-shim.js | 12 +-
src/jsx-loader.js | 6 +-
src/wcc.js | 17 +-
test/cases/constructable-stylesheet/constructabe-stylesheet.spec.js | 38 ++
test/cases/constructable-stylesheet/src/components/header/header.js | 23 +
test/cases/constructable-stylesheet/src/pages/index.js | 10 +
test/cases/import-attributes/import-attributes.spec.js | 48 ++
test/cases/import-attributes/src/components/header/data.json | 3 +
test/cases/import-attributes/src/components/header/header.js | 17 +
test/cases/import-attributes/src/pages/index.js | 10 +
16 files changed, 1576 insertions(+), 38 deletions(-)