Compare commits

...

3 Commits

Author SHA1 Message Date
Benjamin Canac
c88bb8c56b chore(release): v2.18.2 2024-07-25 17:43:46 +02:00
Benjamin Canac
aaabf61c01 chore(deps): refresh lock 2024-07-25 16:29:16 +02:00
Benjamin Canac
4fd1be2892 fix(Tabs): add missing UIcon import 2024-07-25 15:10:51 +02:00
4 changed files with 1429 additions and 2854 deletions

View File

@@ -1,5 +1,12 @@
# Changelog # Changelog
## [2.18.2](https://github.com/nuxt/ui/compare/v2.18.1...v2.18.2) (2024-07-25)
### Bug Fixes
* **Tabs:** add missing `UIcon` import ([4fd1be2](https://github.com/nuxt/ui/commit/4fd1be28922bf39584005c14982e5cd9a7d0c624))
## [2.18.1](https://github.com/nuxt/ui/compare/v2.18.0...v2.18.1) (2024-07-25) ## [2.18.1](https://github.com/nuxt/ui/compare/v2.18.0...v2.18.1) (2024-07-25)

View File

@@ -1,6 +1,6 @@
{ {
"name": "@nuxt/ui", "name": "@nuxt/ui",
"version": "2.18.1", "version": "2.18.2",
"packageManager": "pnpm@9.5.0", "packageManager": "pnpm@9.5.0",
"repository": "nuxt/ui", "repository": "nuxt/ui",
"homepage": "https://ui.nuxt.com", "homepage": "https://ui.nuxt.com",
@@ -37,7 +37,7 @@
"@headlessui/tailwindcss": "^0.2.1", "@headlessui/tailwindcss": "^0.2.1",
"@headlessui/vue": "^1.7.22", "@headlessui/vue": "^1.7.22",
"@iconify-json/heroicons": "^1.1.22", "@iconify-json/heroicons": "^1.1.22",
"@nuxt/icon": "^1.2.1", "@nuxt/icon": "^1.3.1",
"@nuxt/kit": "^3.12.4", "@nuxt/kit": "^3.12.4",
"@nuxtjs/color-mode": "^3.4.2", "@nuxtjs/color-mode": "^3.4.2",
"@nuxtjs/tailwindcss": "^6.12.1", "@nuxtjs/tailwindcss": "^6.12.1",
@@ -55,7 +55,7 @@
"pathe": "^1.1.2", "pathe": "^1.1.2",
"scule": "^1.3.0", "scule": "^1.3.0",
"tailwind-merge": "^2.4.0", "tailwind-merge": "^2.4.0",
"tailwindcss": "^3.4.6" "tailwindcss": "^3.4.7"
}, },
"devDependencies": { "devDependencies": {
"@nuxt/eslint-config": "^0.3.13", "@nuxt/eslint-config": "^0.3.13",
@@ -72,7 +72,7 @@
"valibot": "^0.36.0", "valibot": "^0.36.0",
"valibot30": "npm:valibot@0.30.0", "valibot30": "npm:valibot@0.30.0",
"valibot31": "npm:valibot@0.31.0", "valibot31": "npm:valibot@0.31.0",
"vitest": "^2.0.3", "vitest": "^2.0.4",
"vitest-environment-nuxt": "^1.0.0", "vitest-environment-nuxt": "^1.0.0",
"vue-tsc": "^2.0.29", "vue-tsc": "^2.0.29",
"yup": "^1.4.0", "yup": "^1.4.0",

4266
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -57,6 +57,7 @@ import { toRef, ref, watch, onMounted, defineComponent } from 'vue'
import type { PropType } from 'vue' import type { PropType } from 'vue'
import { TabGroup as HTabGroup, TabList as HTabList, Tab as HTab, TabPanels as HTabPanels, TabPanel as HTabPanel, provideUseId } from '@headlessui/vue' import { TabGroup as HTabGroup, TabList as HTabList, Tab as HTab, TabPanels as HTabPanels, TabPanel as HTabPanel, provideUseId } from '@headlessui/vue'
import { useResizeObserver } from '@vueuse/core' import { useResizeObserver } from '@vueuse/core'
import UIcon from '../elements/Icon.vue'
import { useUI } from '../../composables/useUI' import { useUI } from '../../composables/useUI'
import { mergeConfig } from '../../utils' import { mergeConfig } from '../../utils'
import type { TabItem, Strategy } from '../../types' import type { TabItem, Strategy } from '../../types'
@@ -69,6 +70,7 @@ const config = mergeConfig<typeof tabs>(appConfig.ui.strategy, appConfig.ui.tabs
export default defineComponent({ export default defineComponent({
components: { components: {
UIcon,
HTabGroup, HTabGroup,
HTabList, HTabList,
HTab, HTab,