wx-svelte-core 2.5.0 → 2.5.3

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.3",
4
4
  "description": "SVAR Svelte Core - Svelte UI library of 20+ components and form controls",
5
5
  "productTag": "core",
6
6
  "productTrial": false,
@@ -33,8 +33,8 @@
33
33
  },
34
34
  "homepage": "https://svar.dev/svelte/core/",
35
35
  "dependencies": {
36
- "@svar-ui/core-locales": "2.5.0",
37
- "@svar-ui/lib-dom": "0.12.1",
36
+ "@svar-ui/core-locales": "2.5.3",
37
+ "@svar-ui/lib-dom": "0.12.2",
38
38
  "@svar-ui/lib-svelte": "0.5.2"
39
39
  },
40
40
  "files": [
@@ -12,7 +12,7 @@
12
12
 
13
13
  <style>
14
14
  .wx-modal {
15
- position: absolute;
15
+ position: fixed;
16
16
  z-index: var(--wx-modal-z-index);
17
17
  top: 0;
18
18
  left: 0;
@@ -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,17 @@
1
+ ## Version 2.5.3
2
+
3
+ ### Fixes
4
+
5
+ - ModalArea size is incorrect in a long scrollable container
6
+ - Week numbers are incorrect from locale-base `%w` helper
7
+
8
+ ## Version 2.5.1
9
+
10
+ ### Fixes
11
+
12
+ - SideArea: incorrect height in a relatively positioned container
13
+ - Popup: trackScroll error while scrolling
14
+
1
15
  ## 2.5.0
2
16
 
3
17
  ### New features