@surdeddd/bottom-sheet 0.2.0 → 0.4.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 (49) hide show
  1. package/README.md +51 -21
  2. package/dist/{BottomSheetEngine-CIT9Htti.d.cts → BottomSheetEngine-BJrH7qY3.d.cts} +105 -3
  3. package/dist/{BottomSheetEngine-Df9MwBbm.d.ts → BottomSheetEngine-L05jGZvU.d.ts} +105 -3
  4. package/dist/element.cjs +1170 -196
  5. package/dist/element.d.cts +29 -5
  6. package/dist/element.d.ts +29 -5
  7. package/dist/element.iife.global.js +2 -2
  8. package/dist/element.js +1170 -196
  9. package/dist/index.cjs +1051 -220
  10. package/dist/index.d.cts +18 -3
  11. package/dist/index.d.ts +18 -3
  12. package/dist/index.js +1049 -221
  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 +181 -37
  18. package/dist/overlay.d.cts +13 -0
  19. package/dist/overlay.d.ts +13 -0
  20. package/dist/overlay.js +181 -37
  21. package/dist/preact.d.cts +1 -1
  22. package/dist/preact.d.ts +1 -1
  23. package/dist/qwik.cjs +966 -195
  24. package/dist/qwik.d.cts +4 -2
  25. package/dist/qwik.d.ts +4 -2
  26. package/dist/qwik.js +967 -196
  27. package/dist/react.cjs +1242 -272
  28. package/dist/react.d.cts +47 -5
  29. package/dist/react.d.ts +47 -5
  30. package/dist/react.js +1242 -272
  31. package/dist/solid.cjs +992 -236
  32. package/dist/solid.d.cts +299 -4
  33. package/dist/solid.d.ts +299 -4
  34. package/dist/solid.js +993 -237
  35. package/dist/solid.source.jsx +3476 -0
  36. package/dist/styles.css +67 -66
  37. package/dist/svelte-core.cjs +3415 -0
  38. package/dist/svelte-core.js +3413 -0
  39. package/dist/svelte-src/BottomSheet.svelte +308 -0
  40. package/dist/svelte-src/index.js +2 -0
  41. package/dist/svelte.cjs +1034 -207
  42. package/dist/svelte.d.cts +121 -0
  43. package/dist/svelte.d.ts +28 -3
  44. package/dist/svelte.js +1035 -208
  45. package/dist/vue.cjs +1191 -205
  46. package/dist/vue.d.cts +127 -0
  47. package/dist/vue.d.ts +57 -4
  48. package/dist/vue.js +1192 -206
  49. package/package.json +105 -45
package/dist/qwik.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as _builder_io_qwik from '@builder.io/qwik';
2
2
  import { QRL } from '@builder.io/qwik';
3
- import { S as SnapPointDef, a as SheetMode, E as EngineState } from './BottomSheetEngine-CIT9Htti.cjs';
4
- export { b as EngineOptions, c as SnapPoint } from './BottomSheetEngine-CIT9Htti.cjs';
3
+ import { a as SnapPointDef, b as SheetMode, E as EngineState } from './BottomSheetEngine-BJrH7qY3.cjs';
4
+ export { c as EngineOptions, d as SnapPoint } from './BottomSheetEngine-BJrH7qY3.cjs';
5
5
  import './transform-jVfAikE9.cjs';
6
6
 
7
7
  type BottomSheetProps<TId extends string = string> = {
@@ -24,6 +24,8 @@ type BottomSheetProps<TId extends string = string> = {
24
24
  backdrop?: boolean;
25
25
  closeOnBackdrop?: boolean;
26
26
  ariaLabel?: string;
27
+ radius?: string | number;
28
+ maxHeight?: string | number;
27
29
  onSnap$?: QRL<(id: TId) => void>;
28
30
  onChange$?: QRL<(state: EngineState & {
29
31
  activeId: TId;
package/dist/qwik.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as _builder_io_qwik from '@builder.io/qwik';
2
2
  import { QRL } from '@builder.io/qwik';
3
- import { S as SnapPointDef, a as SheetMode, E as EngineState } from './BottomSheetEngine-Df9MwBbm.js';
4
- export { b as EngineOptions, c as SnapPoint } from './BottomSheetEngine-Df9MwBbm.js';
3
+ import { a as SnapPointDef, b as SheetMode, E as EngineState } from './BottomSheetEngine-L05jGZvU.js';
4
+ export { c as EngineOptions, d as SnapPoint } from './BottomSheetEngine-L05jGZvU.js';
5
5
  import './transform-jVfAikE9.js';
6
6
 
7
7
  type BottomSheetProps<TId extends string = string> = {
@@ -24,6 +24,8 @@ type BottomSheetProps<TId extends string = string> = {
24
24
  backdrop?: boolean;
25
25
  closeOnBackdrop?: boolean;
26
26
  ariaLabel?: string;
27
+ radius?: string | number;
28
+ maxHeight?: string | number;
27
29
  onSnap$?: QRL<(id: TId) => void>;
28
30
  onChange$?: QRL<(state: EngineState & {
29
31
  activeId: TId;