@loomidev/bottom-nav 0.9.0 → 0.10.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 +10 -1
- package/package.json +9 -5
package/README.md
CHANGED
|
@@ -99,7 +99,8 @@ inset island instead of an edge-to-edge dock.
|
|
|
99
99
|
|
|
100
100
|
Icons render through `<loomi-icon>`. Set `icon-source` on the parent to change the icon
|
|
101
101
|
set for every item at once, or on an individual `<loomi-bottom-nav-item>` to override just
|
|
102
|
-
that one:
|
|
102
|
+
that one. The `iconsax` and `untitledui` sets are opt-in: import each one you use once,
|
|
103
|
+
with `import "@loomidev/icons/iconsax";`.
|
|
103
104
|
|
|
104
105
|
```html
|
|
105
106
|
<loomi-bottom-nav icon-source="iconsax" active="home">
|
|
@@ -236,6 +237,14 @@ loomi-bottom-nav {
|
|
|
236
237
|
}
|
|
237
238
|
```
|
|
238
239
|
|
|
240
|
+
<!-- bundle-size:start -->
|
|
241
|
+
|
|
242
|
+
## Bundle size
|
|
243
|
+
|
|
244
|
+
About **9.5 KB** minified and gzipped, including its styles and the shared `@loomidev/core` and `@loomidev/theme` code, and excluding `lit`. Icons load one at a time, on first use, and aren't included. Importing `@loomidev/icons/all` to load every Heroicon up front makes it 82.4 KB. Measured by `pnpm check:bundle-size`.
|
|
245
|
+
|
|
246
|
+
<!-- bundle-size:end -->
|
|
247
|
+
|
|
239
248
|
## Dependencies
|
|
240
249
|
|
|
241
250
|
- `@loomidev/core`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loomidev/bottom-nav",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "<loomi-bottom-nav>/<loomi-bottom-nav-item> — a mobile bottom navigation bar with badges, active-state styles, and framework-agnostic routing.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -19,6 +19,10 @@
|
|
|
19
19
|
"dist",
|
|
20
20
|
"custom-elements.json"
|
|
21
21
|
],
|
|
22
|
+
"sideEffects": [
|
|
23
|
+
"./dist/index.js",
|
|
24
|
+
"./dist/loomi-*.js"
|
|
25
|
+
],
|
|
22
26
|
"exports": {
|
|
23
27
|
".": {
|
|
24
28
|
"types": "./dist/index.d.ts",
|
|
@@ -30,9 +34,9 @@
|
|
|
30
34
|
}
|
|
31
35
|
},
|
|
32
36
|
"dependencies": {
|
|
33
|
-
"@loomidev/core": "^0.
|
|
34
|
-
"@loomidev/icon": "^0.
|
|
35
|
-
"@loomidev/icons": "^0.
|
|
37
|
+
"@loomidev/core": "^0.10.0",
|
|
38
|
+
"@loomidev/icon": "^0.10.0",
|
|
39
|
+
"@loomidev/icons": "^0.10.0"
|
|
36
40
|
},
|
|
37
41
|
"peerDependencies": {
|
|
38
42
|
"lit": "^3.0.0"
|
|
@@ -42,7 +46,7 @@
|
|
|
42
46
|
"lit": "^3.3.3",
|
|
43
47
|
"tailwindcss": "^4.3.3",
|
|
44
48
|
"typescript": "^5.6.3",
|
|
45
|
-
"@loomidev/theme": "^0.
|
|
49
|
+
"@loomidev/theme": "^0.10.0"
|
|
46
50
|
},
|
|
47
51
|
"keywords": [
|
|
48
52
|
"web-components",
|