@surdeddd/bottom-sheet 0.23.3 → 0.24.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 +513 -525
- package/README.ru.md +685 -0
- package/dist/{BottomSheetCore-COvILxmR.d.ts → BottomSheetCore-B_r4KCQL.d.cts} +48 -12
- package/dist/{BottomSheetCore-CaJwHnxY.d.cts → BottomSheetCore-B_r4KCQL.d.ts} +48 -12
- package/dist/{BottomSheetEngine-C_1aPJsU.d.cts → BottomSheetEngine-0F7mjyvF.d.cts} +1 -1
- package/dist/{BottomSheetEngine-CsgCcCSO.d.ts → BottomSheetEngine-CJV_DDrM.d.ts} +1 -1
- package/dist/core.cjs +810 -436
- package/dist/core.d.cts +2 -3
- package/dist/core.d.ts +2 -3
- package/dist/core.js +810 -436
- package/dist/debug.d.cts +3 -3
- package/dist/debug.d.ts +3 -3
- package/dist/{default-features-BJx7J0NH.d.ts → default-features-4Xwv6aVt.d.ts} +4 -2
- package/dist/{default-features-CTJb8Wdk.d.cts → default-features-DX2NOxP6.d.cts} +4 -2
- package/dist/element.cjs +1428 -699
- package/dist/element.d.cts +15 -5
- package/dist/element.d.ts +15 -5
- package/dist/element.iife.global.js +2 -2
- package/dist/element.js +1428 -699
- package/dist/features.cjs +334 -190
- package/dist/features.d.cts +3 -4
- package/dist/features.d.ts +3 -4
- package/dist/features.js +334 -191
- package/dist/{index-CXN7t3rr.d.ts → index-2shlxhcG.d.cts} +3 -2
- package/dist/{index-BBrJJjy5.d.cts → index-CNCRQnpc.d.ts} +3 -2
- package/dist/index.cjs +1129 -631
- package/dist/index.d.cts +13 -7
- package/dist/index.d.ts +13 -7
- package/dist/index.js +1129 -632
- package/dist/integrations/formik.cjs +21 -10
- package/dist/integrations/formik.d.cts +3 -3
- package/dist/integrations/formik.d.ts +3 -3
- package/dist/integrations/formik.js +22 -11
- package/dist/integrations/react-hook-form.cjs +21 -12
- package/dist/integrations/react-hook-form.d.cts +3 -3
- package/dist/integrations/react-hook-form.d.ts +3 -3
- package/dist/integrations/react-hook-form.js +21 -12
- package/dist/option-keys-DItuAjUw.d.cts +6 -0
- package/dist/option-keys-a5DYNwwO.d.ts +6 -0
- package/dist/overlay.cjs +386 -189
- package/dist/overlay.d.cts +3 -4
- package/dist/overlay.d.ts +3 -4
- package/dist/overlay.js +386 -189
- package/dist/preact.d.cts +3 -4
- package/dist/preact.d.ts +3 -4
- package/dist/qwik-lib/index.qwik.cjs +1306 -671
- package/dist/qwik-lib/index.qwik.mjs +1306 -671
- package/dist/qwik.cjs +1326 -701
- package/dist/qwik.d.cts +14 -30
- package/dist/qwik.d.ts +14 -30
- package/dist/qwik.js +1326 -701
- package/dist/react.cjs +1373 -750
- package/dist/react.d.cts +31 -14
- package/dist/react.d.ts +31 -14
- package/dist/react.js +1375 -752
- package/dist/solid.cjs +1332 -727
- package/dist/solid.d.cts +13 -437
- package/dist/solid.d.ts +13 -437
- package/dist/solid.js +1334 -729
- package/dist/solid.source.jsx +1374 -751
- package/dist/styles.css +20 -6
- package/dist/svelte-core.cjs +1211 -676
- package/dist/svelte-core.js +1207 -677
- package/dist/svelte-src/BottomSheet.svelte +102 -59
- package/dist/svelte.cjs +1324 -707
- package/dist/svelte.d.cts +45 -25
- package/dist/svelte.d.ts +45 -25
- package/dist/svelte.js +1324 -707
- package/dist/vue.cjs +1354 -773
- package/dist/vue.d.cts +20 -3
- package/dist/vue.d.ts +20 -3
- package/dist/vue.js +1354 -773
- package/dist/webgl.cjs +38 -7
- package/dist/webgl.d.cts +3 -3
- package/dist/webgl.d.ts +3 -3
- package/dist/webgl.js +38 -7
- package/llms.txt +330 -0
- package/package.json +62 -42
- package/dist/transform-jVfAikE9.d.cts +0 -3
- package/dist/transform-jVfAikE9.d.ts +0 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@surdeddd/bottom-sheet",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.24.0",
|
|
4
|
+
"description": "Bottom sheet, drawer and modal sheet with snap points, spring physics and touch gestures. One engine for React, Vue 3, Svelte 5, Solid, Qwik, Preact and a <bottom-sheet> web component. Accessible, SSR-safe, no dependencies.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Surdeddd",
|
|
@@ -9,28 +9,45 @@
|
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "git+https://github.com/Surdeddd/BottomSheet.git"
|
|
11
11
|
},
|
|
12
|
-
"homepage": "https://
|
|
12
|
+
"homepage": "https://bottom-sheet-demo-ashy.vercel.app",
|
|
13
13
|
"bugs": {
|
|
14
14
|
"url": "https://github.com/Surdeddd/BottomSheet/issues"
|
|
15
15
|
},
|
|
16
16
|
"keywords": [
|
|
17
17
|
"bottom-sheet",
|
|
18
|
-
"
|
|
18
|
+
"bottomsheet",
|
|
19
|
+
"sheet",
|
|
19
20
|
"drawer",
|
|
20
|
-
"
|
|
21
|
-
"
|
|
21
|
+
"modal",
|
|
22
|
+
"modal-sheet",
|
|
23
|
+
"action-sheet",
|
|
24
|
+
"slide-up-panel",
|
|
25
|
+
"swipeable",
|
|
26
|
+
"draggable",
|
|
27
|
+
"snap-points",
|
|
28
|
+
"gesture",
|
|
29
|
+
"touch",
|
|
30
|
+
"mobile",
|
|
31
|
+
"spring",
|
|
22
32
|
"react",
|
|
33
|
+
"react-component",
|
|
23
34
|
"vue",
|
|
35
|
+
"vue3",
|
|
24
36
|
"svelte",
|
|
37
|
+
"svelte5",
|
|
25
38
|
"solid-js",
|
|
26
39
|
"qwik",
|
|
27
40
|
"preact",
|
|
28
41
|
"lit",
|
|
42
|
+
"angular",
|
|
29
43
|
"web-component",
|
|
44
|
+
"custom-element",
|
|
45
|
+
"headless",
|
|
46
|
+
"framework-agnostic",
|
|
47
|
+
"typescript",
|
|
30
48
|
"ssr",
|
|
31
49
|
"a11y",
|
|
32
|
-
"
|
|
33
|
-
"gesture",
|
|
50
|
+
"accessibility",
|
|
34
51
|
"pointer-events"
|
|
35
52
|
],
|
|
36
53
|
"sideEffects": [
|
|
@@ -45,6 +62,8 @@
|
|
|
45
62
|
"main": "./dist/index.cjs",
|
|
46
63
|
"module": "./dist/index.js",
|
|
47
64
|
"types": "./dist/index.d.ts",
|
|
65
|
+
"unpkg": "./dist/element.iife.global.js",
|
|
66
|
+
"jsdelivr": "./dist/element.iife.global.js",
|
|
48
67
|
"qwik": "./dist/qwik-lib/index.qwik.mjs",
|
|
49
68
|
"exports": {
|
|
50
69
|
".": {
|
|
@@ -240,37 +259,37 @@
|
|
|
240
259
|
{
|
|
241
260
|
"name": "core (engine + types)",
|
|
242
261
|
"path": "dist/index.js",
|
|
243
|
-
"limit": "
|
|
262
|
+
"limit": "25.66 KB",
|
|
244
263
|
"gzip": true
|
|
245
264
|
},
|
|
246
265
|
{
|
|
247
266
|
"name": "react adapter",
|
|
248
267
|
"path": "dist/react.js",
|
|
249
|
-
"limit": "
|
|
268
|
+
"limit": "33.26 KB",
|
|
250
269
|
"gzip": true
|
|
251
270
|
},
|
|
252
271
|
{
|
|
253
272
|
"name": "vue adapter",
|
|
254
273
|
"path": "dist/vue.js",
|
|
255
|
-
"limit": "
|
|
274
|
+
"limit": "28.94 KB",
|
|
256
275
|
"gzip": true
|
|
257
276
|
},
|
|
258
277
|
{
|
|
259
278
|
"name": "svelte adapter",
|
|
260
279
|
"path": "dist/svelte.js",
|
|
261
|
-
"limit": "
|
|
280
|
+
"limit": "28.48 KB",
|
|
262
281
|
"gzip": true
|
|
263
282
|
},
|
|
264
283
|
{
|
|
265
284
|
"name": "solid adapter",
|
|
266
285
|
"path": "dist/solid.js",
|
|
267
|
-
"limit": "
|
|
286
|
+
"limit": "27.41 KB",
|
|
268
287
|
"gzip": true
|
|
269
288
|
},
|
|
270
289
|
{
|
|
271
290
|
"name": "qwik adapter",
|
|
272
291
|
"path": "dist/qwik.js",
|
|
273
|
-
"limit": "
|
|
292
|
+
"limit": "27.44 KB",
|
|
274
293
|
"gzip": true
|
|
275
294
|
},
|
|
276
295
|
{
|
|
@@ -285,19 +304,19 @@
|
|
|
285
304
|
{
|
|
286
305
|
"name": "web component (self-contained)",
|
|
287
306
|
"path": "dist/element.js",
|
|
288
|
-
"limit": "
|
|
307
|
+
"limit": "33.35 KB",
|
|
289
308
|
"gzip": true
|
|
290
309
|
},
|
|
291
310
|
{
|
|
292
311
|
"name": "web component (IIFE / CDN)",
|
|
293
312
|
"path": "dist/element.iife.global.js",
|
|
294
|
-
"limit": "
|
|
313
|
+
"limit": "32.85 KB",
|
|
295
314
|
"gzip": true
|
|
296
315
|
},
|
|
297
316
|
{
|
|
298
317
|
"name": "overlay (subpath)",
|
|
299
318
|
"path": "dist/overlay.js",
|
|
300
|
-
"limit": "
|
|
319
|
+
"limit": "8.39 KB",
|
|
301
320
|
"gzip": true
|
|
302
321
|
},
|
|
303
322
|
{
|
|
@@ -309,13 +328,13 @@
|
|
|
309
328
|
{
|
|
310
329
|
"name": "slim core (subpath, no optional features)",
|
|
311
330
|
"path": "dist/core.js",
|
|
312
|
-
"limit": "
|
|
331
|
+
"limit": "21.88 KB",
|
|
313
332
|
"gzip": true
|
|
314
333
|
},
|
|
315
334
|
{
|
|
316
335
|
"name": "features (subpath)",
|
|
317
336
|
"path": "dist/features.js",
|
|
318
|
-
"limit": "
|
|
337
|
+
"limit": "4.21 KB",
|
|
319
338
|
"gzip": true
|
|
320
339
|
},
|
|
321
340
|
{
|
|
@@ -329,6 +348,7 @@
|
|
|
329
348
|
"dist",
|
|
330
349
|
"!dist/**/*.map",
|
|
331
350
|
"README.md",
|
|
351
|
+
"llms.txt",
|
|
332
352
|
"LICENSE"
|
|
333
353
|
],
|
|
334
354
|
"scripts": {
|
|
@@ -348,6 +368,8 @@
|
|
|
348
368
|
"bench": "vitest bench",
|
|
349
369
|
"bench:check": "node ./scripts/bench-check.mjs",
|
|
350
370
|
"check:qwik-ssr": "node ./scripts/qwik-ssr-check.mjs",
|
|
371
|
+
"check:qwik-client": "node ./scripts/qwik-client-check.mjs",
|
|
372
|
+
"check:types": "tsc -p type-tests",
|
|
351
373
|
"size": "size-limit",
|
|
352
374
|
"docs:api": "typedoc",
|
|
353
375
|
"lhci": "lhci autorun --config=./lighthouserc.json",
|
|
@@ -399,49 +421,47 @@
|
|
|
399
421
|
}
|
|
400
422
|
},
|
|
401
423
|
"overrides": {
|
|
402
|
-
"postcss": "^8.5.23"
|
|
403
|
-
"seroval": "^1.5.6",
|
|
404
|
-
"seroval-plugins": "^1.5.6"
|
|
424
|
+
"postcss": "^8.5.23"
|
|
405
425
|
},
|
|
406
426
|
"devDependencies": {
|
|
407
427
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
408
428
|
"@axe-core/playwright": "^4.12.1",
|
|
409
|
-
"@builder.io/qwik": "^1.20.
|
|
429
|
+
"@builder.io/qwik": "^1.20.1",
|
|
410
430
|
"@lhci/cli": "^0.15.1",
|
|
411
|
-
"@playwright/test": "^1.
|
|
412
|
-
"@size-limit/preset-small-lib": "^
|
|
431
|
+
"@playwright/test": "^1.63.0",
|
|
432
|
+
"@size-limit/preset-small-lib": "^14.0.0",
|
|
413
433
|
"@sveltejs/vite-plugin-svelte": "^6.2.4",
|
|
414
434
|
"@types/node": "^20.19.43",
|
|
415
|
-
"@types/react": "^
|
|
416
|
-
"@types/react-dom": "^
|
|
417
|
-
"@types/three": "^0.
|
|
435
|
+
"@types/react": "^19.3.0",
|
|
436
|
+
"@types/react-dom": "^19.3.0",
|
|
437
|
+
"@types/three": "^0.186.0",
|
|
418
438
|
"@vitejs/plugin-react": "^5.2.0",
|
|
419
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
439
|
+
"@vitejs/plugin-vue": "^6.0.10",
|
|
420
440
|
"@vitest/coverage-v8": "^4.1.10",
|
|
421
441
|
"esbuild-plugin-solid": "^0.6.0",
|
|
422
|
-
"esbuild-svelte": "0.9.
|
|
442
|
+
"esbuild-svelte": "0.9.5",
|
|
423
443
|
"fast-check": "^4.9.0",
|
|
424
|
-
"happy-dom": "^
|
|
444
|
+
"happy-dom": "^21.0.4",
|
|
425
445
|
"husky": "^9.1.7",
|
|
426
446
|
"lit": "^3.3.3",
|
|
427
|
-
"motion": "^
|
|
447
|
+
"motion": "^14.6.0",
|
|
428
448
|
"patch-package": "^8.0.1",
|
|
429
|
-
"publint": "^0.3.
|
|
430
|
-
"react": "^
|
|
431
|
-
"react-dom": "^
|
|
449
|
+
"publint": "^0.3.24",
|
|
450
|
+
"react": "^19.3.0",
|
|
451
|
+
"react-dom": "^19.3.0",
|
|
432
452
|
"rolldown": "^1.2.8",
|
|
433
|
-
"size-limit": "^
|
|
434
|
-
"solid-js": "^1.9.
|
|
435
|
-
"svelte": "^5.
|
|
436
|
-
"three": "^0.
|
|
437
|
-
"tsup": "^
|
|
453
|
+
"size-limit": "^14.0.0",
|
|
454
|
+
"solid-js": "^1.9.15",
|
|
455
|
+
"svelte": "^5.57.1",
|
|
456
|
+
"three": "^0.186.1",
|
|
457
|
+
"tsup": "^9.0.0",
|
|
438
458
|
"typedoc": "^0.28.20",
|
|
439
459
|
"typescript": "^5.9.3",
|
|
440
460
|
"unplugin-vue": "^7.2.0",
|
|
441
|
-
"vite": "^7.3.
|
|
461
|
+
"vite": "^7.3.7",
|
|
442
462
|
"vite-plugin-solid": "^2.11.14",
|
|
443
463
|
"vitest": "^4.1.10",
|
|
444
|
-
"vue": "^3.5.
|
|
464
|
+
"vue": "^3.5.43",
|
|
445
465
|
"vue-tsc": "^3.3.9"
|
|
446
466
|
},
|
|
447
467
|
"engines": {
|