Releases: jahilldev/component-elements
Releases · jahilldev/component-elements
[email protected]
- Removed child html replacement prior to hydration, thanks @naltatis
[email protected]
- Fixed incorrect handling of whitespace with child HTML (see #29), thanks @freshly-pressed-trousers
[email protected], [email protected]
- Updated all dependencies to fix security vulnerabilities
- Fixed type issues introduced by latest
[email protected]
- Updated use of globals in tests (
globalThis
) - Update supported Node version to 16 LTS in
ci.yml
- Fixed webpack config for externals, preventing incorrect bundling of Preact
[email protected], [email protected]
- Fixed issue where children props were lost if custom element was moved in the DOM
- Fixed SSR error due to custom element being setup too early
[email protected], [email protected]
- Normalise string values provided to
slot
attributes, and convert to camelCase - Updated
README
with explicit info to avoid confusion
[email protected]
- Added v1 of
reactement
package - Added model of self closing tags to satisfy React's
createElement
function during HTML parse
[email protected]
- Converted project structure into monorepo
- Migrated common parse, element and model code to shared package
- Output ES6 by default, with sub folder ES5 for legacy, e.g
preactement/es5
- Dropped default file size by 24% 👍
1.6.7
1.6.5
- Fixed HTML parse errors when custom element has self closing HTML elements, e.g
<br>
. - Updated
README
with an important caveat to this parsing strategy