@loomidev/drawer 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.
Files changed (2) hide show
  1. package/README.md +8 -0
  2. package/package.json +8 -4
package/README.md CHANGED
@@ -390,6 +390,14 @@ Frameworks such as Next.js, Nuxt, SvelteKit, and Astro sometimes render HTML on
390
390
 
391
391
  <!-- END loomi-framework-guide -->
392
392
 
393
+ <!-- bundle-size:start -->
394
+
395
+ ## Bundle size
396
+
397
+ About **22.8 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 95.7 KB. Measured by `pnpm check:bundle-size`.
398
+
399
+ <!-- bundle-size:end -->
400
+
393
401
  ## Dependencies
394
402
 
395
403
  - `@loomidev/core`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loomidev/drawer",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "<loomi-drawer> — a sliding edge panel with optional backdrop, focus trap, and customizable animations.",
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,8 +34,8 @@
30
34
  }
31
35
  },
32
36
  "dependencies": {
33
- "@loomidev/core": "^0.9.0",
34
- "@loomidev/icon": "^0.9.0"
37
+ "@loomidev/core": "^0.10.0",
38
+ "@loomidev/icon": "^0.10.0"
35
39
  },
36
40
  "peerDependencies": {
37
41
  "lit": "^3.0.0"
@@ -41,7 +45,7 @@
41
45
  "lit": "^3.3.3",
42
46
  "tailwindcss": "^4.3.3",
43
47
  "typescript": "^5.6.3",
44
- "@loomidev/theme": "^0.9.0"
48
+ "@loomidev/theme": "^0.10.0"
45
49
  },
46
50
  "keywords": [
47
51
  "web-components",