@hashrytech/quick-components-kit 0.17.7 → 0.17.8

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.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @hashrytech/quick-components-kit
2
2
 
3
+ ## 0.17.8
4
+
5
+ ### Patch Changes
6
+
7
+ - patch: removing overflow-y-auto from drawer
8
+
3
9
  ## 0.17.7
4
10
 
5
11
  ### Patch Changes
@@ -123,7 +123,7 @@ A flexible, accessible slide-in drawer component for Svelte 5 using Tailwind CSS
123
123
  <Portal class="fixed z-50">
124
124
  <Overlay {transitionDuration} {disableBodyScroll} class={overlayClasses} onclick={handleOverlayClick} />
125
125
  <div bind:this={drawerElement} use:trapFocus role="dialog" aria-modal="true" aria-label={ariaLabel} tabindex={open ? 0 : -1} aria-hidden={!open}
126
- class={twMerge("fixed bg-white overflow-y-auto focus:outline-none", postionClasses[position], props.class)}
126
+ class={twMerge("fixed bg-white focus:outline-none", postionClasses[position], props.class)}
127
127
  in:fly={transitionProperties}
128
128
  out:fly={transitionProperties}
129
129
  use:onKeydown={{key: "Escape", callback: handleKeydown}}>
@@ -53,6 +53,7 @@
53
53
 
54
54
  function handleOverlayClick() {
55
55
  if(clickOutsideClose) {
56
+ console.log("click outside close");
56
57
  closeModal();
57
58
  }
58
59
  }
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/hashrytech/quick-components-kit.git"
7
7
  },
8
- "version": "0.17.7",
8
+ "version": "0.17.8",
9
9
  "license": "MIT",
10
10
  "author": "Hashry Tech",
11
11
  "files": [