From 94ea75f4417c56ba60c6251ccb542a3bcb2c42e5 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Thu, 15 May 2025 15:30:02 +0200 Subject: [PATCH 1/3] docs(content): update badges --- docs/content/3.components/navigation-menu.md | 6 +++--- docs/content/3.components/slider.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/content/3.components/navigation-menu.md b/docs/content/3.components/navigation-menu.md index f7b286bd..d5179692 100644 --- a/docs/content/3.components/navigation-menu.md +++ b/docs/content/3.components/navigation-menu.md @@ -21,10 +21,10 @@ Use the `items` prop as an array of objects with the following properties: - `icon?: string`{lang="ts-type"} - `avatar?: AvatarProps`{lang="ts-type"} - `badge?: string | number | BadgeProps`{lang="ts-type"} -- `tooltip?: TooltipProps`{lang="ts-type"} :badge{label="Soon"} +- `tooltip?: TooltipProps`{lang="ts-type"} - `trailingIcon?: string`{lang="ts-type"} - `type?: 'label' | 'link'`{lang="ts-type"} -- `collapsible?: boolean`{lang="ts-type"} :badge{label="Soon"} +- `collapsible?: boolean`{lang="ts-type"} - `defaultOpen?: boolean`{lang="ts-type"} - `open?: boolean`{lang="ts-type"} - `value?: string`{lang="ts-type"} @@ -885,7 +885,7 @@ You can inspect the DOM to see each item's content being rendered. ## Examples -### With tooltips in items :badge{label="Soon" class="align-text-top"} +### With tooltips in items :badge{label="New" class="align-text-top"} You can use the `tooltip` property to display a [Tooltip](/components/tooltip) around an item. This can be useful when the menu is collapsed. diff --git a/docs/content/3.components/slider.md b/docs/content/3.components/slider.md index 465f821b..28784be3 100644 --- a/docs/content/3.components/slider.md +++ b/docs/content/3.components/slider.md @@ -136,7 +136,7 @@ props: --- :: -### Tooltip :badge{label="Soon" class="align-text-top"} +### Tooltip :badge{label="New" class="align-text-top"} Use the `tooltip` prop to display a [Tooltip](/components/tooltip) around the Slider thumbs with the current value. You can set it to `true` for default behavior or pass an object to customize it with any property from the [Tooltip](/components/tooltip#props) component. From 79aa161c6dc37c8c84d882a1800e2db325806de5 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Thu, 15 May 2025 15:42:25 +0200 Subject: [PATCH 2/3] docs(showcase): remove submit button --- docs/app/pages/showcase.vue | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/docs/app/pages/showcase.vue b/docs/app/pages/showcase.vue index 007a341d..7569a8b0 100644 --- a/docs/app/pages/showcase.vue +++ b/docs/app/pages/showcase.vue @@ -67,17 +67,6 @@ defineOgImageComponent('Docs', { - -
- -
From d29e1481f2dbaeae196a44b2c084160186e88f47 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Thu, 15 May 2025 15:57:54 +0200 Subject: [PATCH 3/3] chore(deps): update `@nuxt/ui-pro` --- docs/package.json | 2 +- pnpm-lock.yaml | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/package.json b/docs/package.json index d1c9be85..db5869d4 100644 --- a/docs/package.json +++ b/docs/package.json @@ -11,7 +11,7 @@ "@nuxt/content": "^3.5.1", "@nuxt/image": "^1.10.0", "@nuxt/ui": "latest", - "@nuxt/ui-pro": "https://pkg.pr.new/@nuxt/ui-pro@a30de4d", + "@nuxt/ui-pro": "^3.1.2", "@nuxthub/core": "^0.8.27", "@nuxtjs/plausible": "^1.2.0", "@octokit/rest": "^21.1.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9d82c0d7..ab1b4357 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -249,8 +249,8 @@ importers: specifier: workspace:* version: link:.. '@nuxt/ui-pro': - specifier: https://pkg.pr.new/@nuxt/ui-pro@a30de4d - version: https://pkg.pr.new/@nuxt/ui-pro@a30de4d(@babel/parser@7.27.2)(joi@17.13.3)(magicast@0.3.5)(superstruct@2.0.2)(typescript@5.8.3)(valibot@1.1.0(typescript@5.8.3))(vue@3.5.14(typescript@5.8.3))(yup@1.6.1)(zod@3.24.4) + specifier: ^3.1.2 + version: 3.1.2(@babel/parser@7.27.2)(joi@17.13.3)(magicast@0.3.5)(superstruct@2.0.2)(typescript@5.8.3)(valibot@1.1.0(typescript@5.8.3))(vue@3.5.14(typescript@5.8.3))(yup@1.6.1)(zod@3.24.4) '@nuxthub/core': specifier: ^0.8.27 version: 0.8.27(db0@0.3.2(better-sqlite3@11.10.0))(ioredis@5.6.1)(magicast@0.3.5)(vite@6.3.5(@types/node@22.15.17)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(yaml@2.7.1)) @@ -1398,9 +1398,8 @@ packages: vitest: optional: true - '@nuxt/ui-pro@https://pkg.pr.new/@nuxt/ui-pro@a30de4d': - resolution: {tarball: https://pkg.pr.new/@nuxt/ui-pro@a30de4d} - version: 3.1.1 + '@nuxt/ui-pro@3.1.2': + resolution: {integrity: sha512-oGpmtCcAX0pEPbkWmX5bvvIZ8t3PWKqmxIYbuGJ9aCEMtM6+zS5g1LNBTl7RygyrWPV+sG+lF3r6OMytSnZPZQ==} peerDependencies: joi: ^17.13.0 superstruct: ^2.0.0 @@ -9068,7 +9067,7 @@ snapshots: - typescript - yaml - '@nuxt/ui-pro@https://pkg.pr.new/@nuxt/ui-pro@a30de4d(@babel/parser@7.27.2)(joi@17.13.3)(magicast@0.3.5)(superstruct@2.0.2)(typescript@5.8.3)(valibot@1.1.0(typescript@5.8.3))(vue@3.5.14(typescript@5.8.3))(yup@1.6.1)(zod@3.24.4)': + '@nuxt/ui-pro@3.1.2(@babel/parser@7.27.2)(joi@17.13.3)(magicast@0.3.5)(superstruct@2.0.2)(typescript@5.8.3)(valibot@1.1.0(typescript@5.8.3))(vue@3.5.14(typescript@5.8.3))(yup@1.6.1)(zod@3.24.4)': dependencies: '@ai-sdk/vue': 1.2.12(vue@3.5.14(typescript@5.8.3))(zod@3.24.4) '@nuxt/kit': 3.17.3(magicast@0.3.5)