@whydrf/nava-icon-web-components 1.0.2 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -59,7 +59,7 @@ When you import the package in a `<script type="module">`, only the icons actual
|
|
|
59
59
|
**Important:** Tree shaking only works with **static imports** in a module context. If you dynamically add icon elements at runtime (via `document.createElement`), all icons will be included because the bundler can't trace them.
|
|
60
60
|
|
|
61
61
|
```html
|
|
62
|
-
<!--
|
|
62
|
+
<!-- ✓ Tree-shakeable — only home and search are bundled -->
|
|
63
63
|
<script type="module">
|
|
64
64
|
import '@whydrf/nava-icon-web-components'
|
|
65
65
|
</script>
|
|
@@ -164,7 +164,7 @@ You can theme icons using CSS custom properties that inherit through the Shadow
|
|
|
164
164
|
| **Weather** | `sun`, `moon`, `cloud`, `droplet`, `wind`, `umbrella` |
|
|
165
165
|
| **Shopping** | `cart`, `credit-card`, `bag`, `tag`, `badge`, `diamond` |
|
|
166
166
|
|
|
167
|
-
Browse all 950+ icons with live preview at [**
|
|
167
|
+
Browse all 950+ icons with live preview at [**Nava Icons Docs**](https://vahidghadiri.github.io/Nava-icon/).
|
|
168
168
|
|
|
169
169
|
## Accessibility
|
|
170
170
|
|