@marianmeres/stuic 2.1.28 → 2.1.29

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.
@@ -30,6 +30,7 @@
30
30
  //
31
31
  onOutside?: () => void;
32
32
  // onOutsideEnabled?: boolean;
33
+ noBackdropScrollLock?: boolean;
33
34
  }
34
35
 
35
36
  let {
@@ -48,6 +49,7 @@
48
49
  animOffset = "75vw",
49
50
  onEscape,
50
51
  onOutside,
52
+ noBackdropScrollLock,
51
53
  // onOutsideEnabled = true,
52
54
  }: Props = $props();
53
55
 
@@ -136,6 +138,7 @@
136
138
  fadeOutDuration={transitionDuration}
137
139
  {onEscape}
138
140
  onmousedown={() => onOutside?.()}
141
+ noScrollLock={noBackdropScrollLock}
139
142
  >
140
143
  <!-- svelte-ignore a11y_interactive_supports_focus -->
141
144
  <!-- svelte-ignore a11y_click_events_have_key_events -->
@@ -15,6 +15,7 @@ interface Props {
15
15
  animOffset?: string | number;
16
16
  onEscape?: () => void;
17
17
  onOutside?: () => void;
18
+ noBackdropScrollLock?: boolean;
18
19
  }
19
20
  declare const Drawer: import("svelte").Component<Props, {
20
21
  close: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marianmeres/stuic",
3
- "version": "2.1.28",
3
+ "version": "2.1.29",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",