@surdeddd/bottom-sheet 0.3.0 → 0.4.1

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 (45) hide show
  1. package/dist/{BottomSheetEngine-CAymrH-P.d.cts → BottomSheetEngine-BJrH7qY3.d.cts} +39 -3
  2. package/dist/{BottomSheetEngine-DcqcuudN.d.ts → BottomSheetEngine-L05jGZvU.d.ts} +39 -3
  3. package/dist/element.cjs +490 -91
  4. package/dist/element.d.cts +23 -4
  5. package/dist/element.d.ts +23 -4
  6. package/dist/element.iife.global.js +2 -2
  7. package/dist/element.js +490 -91
  8. package/dist/index.cjs +347 -80
  9. package/dist/index.d.cts +3 -2
  10. package/dist/index.d.ts +3 -2
  11. package/dist/index.js +347 -80
  12. package/dist/integrations/formik.d.cts +1 -1
  13. package/dist/integrations/formik.d.ts +1 -1
  14. package/dist/integrations/react-hook-form.d.cts +1 -1
  15. package/dist/integrations/react-hook-form.d.ts +1 -1
  16. package/dist/overlay.cjs +13 -2
  17. package/dist/overlay.js +13 -2
  18. package/dist/preact.d.cts +1 -1
  19. package/dist/preact.d.ts +1 -1
  20. package/dist/qwik.cjs +358 -81
  21. package/dist/qwik.d.cts +4 -2
  22. package/dist/qwik.d.ts +4 -2
  23. package/dist/qwik.js +358 -81
  24. package/dist/react.cjs +451 -89
  25. package/dist/react.d.cts +29 -4
  26. package/dist/react.d.ts +29 -4
  27. package/dist/react.js +451 -89
  28. package/dist/solid.cjs +347 -80
  29. package/dist/solid.d.cts +38 -2
  30. package/dist/solid.d.ts +38 -2
  31. package/dist/solid.js +347 -80
  32. package/dist/solid.source.jsx +347 -80
  33. package/dist/styles.css +68 -55
  34. package/dist/svelte-core.cjs +352 -80
  35. package/dist/svelte-core.js +352 -80
  36. package/dist/svelte-src/BottomSheet.svelte +113 -15
  37. package/dist/svelte.cjs +474 -133
  38. package/dist/svelte.d.cts +21 -0
  39. package/dist/svelte.d.ts +21 -0
  40. package/dist/svelte.js +474 -133
  41. package/dist/vue.cjs +610 -109
  42. package/dist/vue.d.cts +51 -2
  43. package/dist/vue.d.ts +51 -2
  44. package/dist/vue.js +611 -110
  45. package/package.json +8 -8
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 { a as SnapPointDef, b as SheetMode, E as EngineState } from './BottomSheetEngine-CAymrH-P.cjs';
4
- export { c as EngineOptions, d as SnapPoint } from './BottomSheetEngine-CAymrH-P.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 { a as SnapPointDef, b as SheetMode, E as EngineState } from './BottomSheetEngine-DcqcuudN.js';
4
- export { c as EngineOptions, d as SnapPoint } from './BottomSheetEngine-DcqcuudN.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;