CHANGELOG 3.10.5
🚀 Added
- Added scoped version #429 #427
- Added custom element version
- Reduced 1kb on final bundle (without gzip)
🩹 Fixed
- Fixed invalid import path on scoped version and custom element version (fixed in >= 3.10.3) #429 (comment)
- Fixed typescript declarations (fixed in >= 3.10.4)
- Fixed some header and footer bevaviors (fixed in >= 3.10.5)
⚠️ Breaking changes
- None
SCOPED VERSION
Applied on child elements of <* class="beer">...</*>
.
<link href="https://cdn.jsdelivr.net/npm/beercss@3.10.5/dist/cdn/beer.scoped.min.css" rel="stylesheet" />
<script type="module" src="https://cdn.jsdelivr.net/npm/beercss@3.10.5/dist/cdn/beer.min.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/material-dynamic-colors@1.1.2/dist/cdn/material-dynamic-colors.min.js"></script>
npm i beercss
npm i material-dynamic-colors
import "beercss/scoped";
import "material-dynamic-colors";
CUSTOM ELEMENT VERSION
Applied on child elements of <beer-css>...</beer-css>
.
<script type="module" src="https://cdn.jsdelivr.net/npm/beercss@3.10.5/dist/cdn/beer.custom-element.min.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/material-dynamic-colors@1.1.2/dist/cdn/material-dynamic-colors.min.js"></script>
npm i beercss
npm i material-dynamic-colors
import "beercss/custom-element";
import "material-dynamic-colors";