@marianmeres/stuic 1.4.0 → 1.5.0

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.
@@ -6,7 +6,7 @@ import { windowSize } from "../../utils/window-size.js";
6
6
  import { twMerge } from "tailwind-merge";
7
7
  const clog = createClog("HoverExpandableWidth");
8
8
  const dispatch = createEventDispatcher();
9
- export let shadowOpacity = 0.8;
9
+ export let shadowOpacity = 0.5;
10
10
  export let transitionDuration = 150;
11
11
  export let targetWidth = 300;
12
12
  let _class = "";
@@ -36,7 +36,7 @@ const _expand = () => {
36
36
  left: box.left,
37
37
  right: w.width - box.right
38
38
  };
39
- el.style.boxShadow = `8px 0 16px -8px rgb(0 0 0 / ${shadowOpacity})`;
39
+ el.style.boxShadow = `16px 0 24px -16px rgb(0 0 0 / ${shadowOpacity})`;
40
40
  el.style.zIndex = `1`;
41
41
  el.style.top = `${pos.top}px`;
42
42
  el.style.right = `${pos.right}px`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marianmeres/stuic",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package",