@kws3/ui 4.1.2 → 4.1.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/CHANGELOG.mdx CHANGED
@@ -1,3 +1,7 @@
1
+ # 4.1.3
2
+ - Ensure transitions are global for `Modal`, `CardModal` and `ActionSheet` components
3
+ - `InfiniteList` - do not fake a scroll event on a resize event, fixes loading bugs
4
+
1
5
  # 4.1.2
2
6
  - `MultiSelect` - fixed issue where raw object were initially outputted (if provided)
3
7
  - `SearchableSelect and `MultiSelect` (Async): resolved issue with the 'active' class not attaching to the most matched item in dropdown options
@@ -25,6 +29,9 @@
25
29
  - add svelte 4 compatibility
26
30
 
27
31
  --------------
32
+ # 2.3.3
33
+ - `InfiniteList` - do not fake a scroll event on a resize event, fixes loading bugs
34
+
28
35
  # 2.3.2
29
36
  - `MultiSelect` - fixed issue where raw object were initially outputted (if provided)
30
37
  - `SearchableSelect and `MultiSelect` (Async): resolved issue with the 'active' class not attaching to the most matched item in dropdown options
@@ -23,11 +23,11 @@ If `false` , the component won't have a close button, and will not close on clic
23
23
  class="modal kws-action-sheet-outer {klass} {is_active ? 'is-active' : ''}"
24
24
  {style}>
25
25
  {#if is_active}<div
26
- transition:fade={{ duration: transitionDuration }}
26
+ transition:fade|global={{ duration: transitionDuration }}
27
27
  class="modal-background"
28
28
  on:click={clickOutside} />
29
29
  <div
30
- transition:fly={{
30
+ transition:fly|global={{
31
31
  duration: transitionDuration,
32
32
  y: 300,
33
33
  delay: transitionDelay,
@@ -31,11 +31,11 @@ Only visible when the
31
31
  -->
32
32
  <div class="modal {klass} {is_active ? 'is-active' : ''}" {style} data-cy={cy}>
33
33
  {#if is_active}<div
34
- transition:fade={{ duration: transitionDuration }}
34
+ transition:fade|global={{ duration: transitionDuration }}
35
35
  class="modal-background"
36
36
  on:click={clickOutside} />
37
37
  <div
38
- transition:scale={{
38
+ transition:scale|global={{
39
39
  duration: transitionDuration,
40
40
  // @ts-ignore
41
41
  from: 0.8,
@@ -131,6 +131,5 @@ while more items are loading
131
131
 
132
132
  const resize = () => {
133
133
  viewport_height = viewport.offsetHeight;
134
- handle_scroll();
135
134
  };
136
135
  </script>
@@ -23,11 +23,11 @@ Only programmatic closing is possible, Default: `true`
23
23
 
24
24
  <div class="modal {klass} {is_active ? 'is-active' : ''}" {style} data-cy={cy}>
25
25
  {#if is_active}<div
26
- transition:fade={{ duration: transitionDuration }}
26
+ transition:fade|global={{ duration: transitionDuration }}
27
27
  class="modal-background"
28
28
  on:click={clickOutside} />
29
29
  <div
30
- transition:scale={{
30
+ transition:scale|global={{
31
31
  duration: transitionDuration,
32
32
  // @ts-ignore
33
33
  from: 0.8,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kws3/ui",
3
- "version": "4.1.2",
3
+ "version": "4.1.3",
4
4
  "description": "UI components for use with Svelte v3 applications.",
5
5
  "main": "index.js",
6
6
  "svelte": "index.js",
@@ -35,5 +35,5 @@
35
35
  "devDependencies": {
36
36
  "typescript": "^5.0.4"
37
37
  },
38
- "gitHead": "1f27bb086a10679e03f1657dd1f86800fffe1ab5"
38
+ "gitHead": "4fd2b4a801628800fc5498495277ad45b40a01c6"
39
39
  }