@marianmeres/stuic 1.6.0 → 1.8.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.
@@ -8,7 +8,7 @@ const clog = createClog("HoverExpandableWidth");
8
8
  const dispatch = createEventDispatcher();
9
9
  export let shadowOpacity = 0.5;
10
10
  export let duration = 150;
11
- export let targetWidth = 300;
11
+ export let targetWidth = 256;
12
12
  let _class = "";
13
13
  export { _class as class };
14
14
  $:
@@ -95,7 +95,7 @@ $:
95
95
  on:mouseleave={_shrink}
96
96
  on:click
97
97
  aria-expanded={_isExpanded}
98
- class={twMerge(`${_class}`)}
98
+ class={twMerge(`overflow-x-hidden overflow-y-auto ${_class}`)}
99
99
  style="width: 100%; height: 100%; transition-duration: {duration}ms;"
100
100
  >
101
101
  <slot isExpanded={_isExpanded} inTransition={_isExpanding || _isShrinking} />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marianmeres/stuic",
3
- "version": "1.6.0",
3
+ "version": "1.8.0",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package",