@surdeddd/bottom-sheet 0.9.1 → 0.11.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 (50) hide show
  1. package/README.md +126 -83
  2. package/dist/{BottomSheetEngine-CBRcBwV-.d.ts → BottomSheetEngine-DRjCU73e.d.ts} +6 -5
  3. package/dist/{BottomSheetEngine-BcyruNP1.d.cts → BottomSheetEngine-DzsIwD28.d.cts} +6 -5
  4. package/dist/element.cjs +388 -222
  5. package/dist/element.d.cts +1 -1
  6. package/dist/element.d.ts +1 -1
  7. package/dist/element.iife.global.js +2 -2
  8. package/dist/element.js +388 -222
  9. package/dist/index.cjs +389 -266
  10. package/dist/index.d.cts +2 -2
  11. package/dist/index.d.ts +2 -2
  12. package/dist/index.js +389 -266
  13. package/dist/integrations/formik.d.cts +1 -1
  14. package/dist/integrations/formik.d.ts +1 -1
  15. package/dist/integrations/react-hook-form.d.cts +1 -1
  16. package/dist/integrations/react-hook-form.d.ts +1 -1
  17. package/dist/overlay.cjs +191 -58
  18. package/dist/overlay.d.cts +4 -3
  19. package/dist/overlay.d.ts +4 -3
  20. package/dist/overlay.js +191 -58
  21. package/dist/preact.d.cts +2 -1
  22. package/dist/preact.d.ts +2 -1
  23. package/dist/qwik.cjs +396 -211
  24. package/dist/qwik.d.cts +11 -2
  25. package/dist/qwik.d.ts +11 -2
  26. package/dist/qwik.js +396 -211
  27. package/dist/react.cjs +500 -332
  28. package/dist/react.d.cts +26 -4
  29. package/dist/react.d.ts +26 -4
  30. package/dist/react.js +500 -332
  31. package/dist/solid.cjs +362 -210
  32. package/dist/solid.d.cts +14 -4
  33. package/dist/solid.d.ts +14 -4
  34. package/dist/solid.js +362 -210
  35. package/dist/solid.source.jsx +362 -210
  36. package/dist/styles.css +17 -1
  37. package/dist/svelte-core.cjs +345 -208
  38. package/dist/svelte-core.js +345 -208
  39. package/dist/svelte-src/BottomSheet.svelte +6 -0
  40. package/dist/svelte.cjs +359 -220
  41. package/dist/svelte.d.cts +2 -0
  42. package/dist/svelte.d.ts +2 -0
  43. package/dist/svelte.js +359 -220
  44. package/dist/teleport-7uYNiEAT.d.cts +3 -0
  45. package/dist/teleport-7uYNiEAT.d.ts +3 -0
  46. package/dist/vue.cjs +353 -209
  47. package/dist/vue.d.cts +3 -1
  48. package/dist/vue.d.ts +3 -1
  49. package/dist/vue.js +353 -209
  50. package/package.json +11 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@surdeddd/bottom-sheet",
3
- "version": "0.9.1",
3
+ "version": "0.11.0",
4
4
  "description": "Universal, headless bottom sheet — framework-agnostic core with React, Vue 3, Svelte, Solid, Qwik, Preact, Lit and Custom Element adapters. Pointer Events, snap points, momentum, a11y, SSR-safe.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -175,19 +175,19 @@
175
175
  {
176
176
  "name": "core (engine + types)",
177
177
  "path": "dist/index.js",
178
- "limit": "22 KB",
178
+ "limit": "22.5 KB",
179
179
  "gzip": true
180
180
  },
181
181
  {
182
182
  "name": "react adapter",
183
183
  "path": "dist/react.js",
184
- "limit": "25.5 KB",
184
+ "limit": "26 KB",
185
185
  "gzip": true
186
186
  },
187
187
  {
188
188
  "name": "vue adapter",
189
189
  "path": "dist/vue.js",
190
- "limit": "21.5 KB",
190
+ "limit": "22 KB",
191
191
  "gzip": true
192
192
  },
193
193
  {
@@ -199,13 +199,13 @@
199
199
  {
200
200
  "name": "solid adapter",
201
201
  "path": "dist/solid.js",
202
- "limit": "20 KB",
202
+ "limit": "20.5 KB",
203
203
  "gzip": true
204
204
  },
205
205
  {
206
206
  "name": "qwik adapter",
207
207
  "path": "dist/qwik.js",
208
- "limit": "19.5 KB",
208
+ "limit": "20.5 KB",
209
209
  "gzip": true
210
210
  },
211
211
  {
@@ -220,19 +220,19 @@
220
220
  {
221
221
  "name": "web component (self-contained)",
222
222
  "path": "dist/element.js",
223
- "limit": "24.5 KB",
223
+ "limit": "25 KB",
224
224
  "gzip": true
225
225
  },
226
226
  {
227
227
  "name": "web component (IIFE / CDN)",
228
228
  "path": "dist/element.iife.global.js",
229
- "limit": "24 KB",
229
+ "limit": "25 KB",
230
230
  "gzip": true
231
231
  },
232
232
  {
233
233
  "name": "overlay (subpath)",
234
234
  "path": "dist/overlay.js",
235
- "limit": "6.5 KB",
235
+ "limit": "7 KB",
236
236
  "gzip": true
237
237
  }
238
238
  ],
@@ -254,6 +254,8 @@
254
254
  "typecheck": "tsc --noEmit",
255
255
  "test": "vitest run",
256
256
  "test:watch": "vitest",
257
+ "e2e": "playwright test --project=mobile-chrome",
258
+ "docs:check": "node ./scripts/docs-check.mjs",
257
259
  "bench": "vitest bench",
258
260
  "size": "size-limit",
259
261
  "docs:api": "typedoc",