@eslamdevui/ui 3.3.2-beta.3 → 3.3.4

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/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslamdevui/ui",
3
- "version": "3.3.2-beta.3",
3
+ "version": "3.3.4",
4
4
  "docs": "https://ui.nuxt.com/getting-started/installation/nuxt",
5
5
  "configKey": "ui",
6
6
  "compatibility": {
package/dist/module.mjs CHANGED
@@ -8,7 +8,7 @@ import 'tailwindcss/colors';
8
8
  import 'knitwork';
9
9
 
10
10
  const name = "@eslamdevui/ui";
11
- const version = "3.3.2-beta.3";
11
+ const version = "3.3.4";
12
12
 
13
13
  function generateProseComponentMap(components) {
14
14
  return components.reduce((map, component) => {
@@ -5,7 +5,7 @@ import theme from "#build/ui/changelog-versions";
5
5
  <script setup>
6
6
  import { computed } from "vue";
7
7
  import { Primitive } from "reka-ui";
8
- import { Motion, useScroll, useSpring } from "motion-v";
8
+ import { Motion, useScroll, useSpring, useTransform } from "motion-v";
9
9
  import { defu } from "defu";
10
10
  import { omit } from "../utils";
11
11
  import { useAppConfig } from "#imports";
@@ -23,8 +23,9 @@ const slots = defineSlots();
23
23
  const proxySlots = omit(slots, ["default", "indicator"]);
24
24
  const appConfig = useAppConfig();
25
25
  const springOptions = computed(() => defu(typeof props.indicatorMotion === "object" ? props.indicatorMotion : {}, { damping: 30, restDelta: 1e-3 }));
26
- const { scrollY } = useScroll();
27
- const height = useSpring(scrollY, springOptions);
26
+ const { scrollYProgress } = useScroll();
27
+ const y = useSpring(scrollYProgress, springOptions);
28
+ const height = useTransform(() => `${y.get() * 100}%`);
28
29
  const ui = computed(() => tv({ extend: tv(theme), ...appConfig.ui?.changelogVersions || {} })());
29
30
  </script>
30
31
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eslamdevui/ui",
3
3
  "description": "A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.",
4
- "version": "3.3.2-beta.3",
4
+ "version": "3.3.4",
5
5
  "packageManager": "pnpm@10.13.1",
6
6
  "repository": {
7
7
  "type": "git",