wx-svelte-core 2.5.0 → 2.5.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wx-svelte-core",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "description": "SVAR Svelte Core - Svelte UI library of 20+ components and form controls",
5
5
  "productTag": "core",
6
6
  "productTrial": false,
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "homepage": "https://svar.dev/svelte/core/",
35
35
  "dependencies": {
36
- "@svar-ui/core-locales": "2.5.0",
36
+ "@svar-ui/core-locales": "2.5.1",
37
37
  "@svar-ui/lib-dom": "0.12.1",
38
38
  "@svar-ui/lib-svelte": "0.5.2"
39
39
  },
@@ -41,7 +41,7 @@
41
41
  }
42
42
 
43
43
  function onScroll(e) {
44
- if (oncancel && e.target !== portal && !self.contains(e.target))
44
+ if (oncancel && e.target !== portal && self && !self.contains(e.target))
45
45
  oncancel(e);
46
46
  }
47
47
 
@@ -23,6 +23,7 @@
23
23
  border-radius: var(--wx-modal-border-radius);
24
24
  min-width: var(--wx-modal-width);
25
25
  height: 100vh;
26
+ max-height: 100%;
26
27
  }
27
28
  .wx-sidearea.wx-pos-right {
28
29
  right: 0;
package/whatsnew.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## Version 2.5.1
2
+
3
+ ### Fixes
4
+
5
+ - SideArea: incorrect height in a relatively positioned container
6
+ - Popup: trackScroll error while scrolling
7
+
1
8
  ## 2.5.0
2
9
 
3
10
  ### New features