mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-02 05:08:03 +01:00
chore(deps): update all non-major dependencies (v2) (#4442)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { sub, format, isSameDay, type Duration } from 'date-fns'
|
import { sub, format, isSameDay } from 'date-fns'
|
||||||
|
import type { Duration } from 'date-fns'
|
||||||
|
|
||||||
const ranges = [
|
const ranges = [
|
||||||
{ label: 'Last 7 days', duration: { days: 7 } },
|
{ label: 'Last 7 days', duration: { days: 7 } },
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { object, string, nonempty, type Infer } from 'superstruct'
|
import { object, string, nonempty } from 'superstruct'
|
||||||
|
import type { Infer } from 'superstruct'
|
||||||
import type { FormSubmitEvent } from '#ui/types'
|
import type { FormSubmitEvent } from '#ui/types'
|
||||||
|
|
||||||
const schema = object({
|
const schema = object({
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { object, string, type InferType } from 'yup'
|
import { object, string } from 'yup'
|
||||||
|
import type { InferType } from 'yup'
|
||||||
import type { FormSubmitEvent } from '#ui/types'
|
import type { FormSubmitEvent } from '#ui/types'
|
||||||
|
|
||||||
const schema = object({
|
const schema = object({
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
"@nuxt/ui-pro": "^1.8.0",
|
"@nuxt/ui-pro": "^1.8.0",
|
||||||
"@nuxtjs/plausible": "^1.2.0",
|
"@nuxtjs/plausible": "^1.2.0",
|
||||||
"@octokit/rest": "^21.1.1",
|
"@octokit/rest": "^21.1.1",
|
||||||
"@vueuse/nuxt": "^13.4.0",
|
"@vueuse/nuxt": "^13.5.0",
|
||||||
"date-fns": "^4.1.0",
|
"date-fns": "^4.1.0",
|
||||||
"joi": "^17.13.3",
|
"joi": "^17.13.3",
|
||||||
"nuxt": "^3.17.6",
|
"nuxt": "^3.17.6",
|
||||||
|
|||||||
20
package.json
20
package.json
@@ -54,9 +54,9 @@
|
|||||||
"@tailwindcss/container-queries": "^0.1.1",
|
"@tailwindcss/container-queries": "^0.1.1",
|
||||||
"@tailwindcss/forms": "^0.5.10",
|
"@tailwindcss/forms": "^0.5.10",
|
||||||
"@tailwindcss/typography": "^0.5.16",
|
"@tailwindcss/typography": "^0.5.16",
|
||||||
"@vueuse/core": "^13.4.0",
|
"@vueuse/core": "^13.5.0",
|
||||||
"@vueuse/integrations": "^13.4.0",
|
"@vueuse/integrations": "^13.5.0",
|
||||||
"@vueuse/math": "^13.4.0",
|
"@vueuse/math": "^13.5.0",
|
||||||
"defu": "^6.1.4",
|
"defu": "^6.1.4",
|
||||||
"fuse.js": "^7.1.0",
|
"fuse.js": "^7.1.0",
|
||||||
"ohash": "^2.0.11",
|
"ohash": "^2.0.11",
|
||||||
@@ -66,19 +66,19 @@
|
|||||||
"tailwindcss": "^3.4.17"
|
"tailwindcss": "^3.4.17"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@nuxt/eslint-config": "^1.4.1",
|
"@nuxt/eslint-config": "^1.5.0",
|
||||||
"@nuxt/module-builder": "^1.0.1",
|
"@nuxt/module-builder": "^1.0.1",
|
||||||
"@nuxt/test-utils": "^3.19.1",
|
"@nuxt/test-utils": "^3.19.2",
|
||||||
"@release-it/conventional-changelog": "^10.0.1",
|
"@release-it/conventional-changelog": "^10.0.1",
|
||||||
"@vue/test-utils": "^2.4.6",
|
"@vue/test-utils": "^2.4.6",
|
||||||
"eslint": "^9.30.0",
|
"eslint": "^9.30.1",
|
||||||
"happy-dom": "^18.0.1",
|
"happy-dom": "^18.0.1",
|
||||||
"nuxt": "^3.17.6",
|
"nuxt": "^3.17.6",
|
||||||
"release-it": "^19.0.3",
|
"release-it": "^19.0.3",
|
||||||
"typescript": "^5.8.3",
|
"typescript": "^5.8.3",
|
||||||
"vitest": "^3.2.4",
|
"vitest": "^3.2.4",
|
||||||
"vitest-environment-nuxt": "^1.0.1",
|
"vitest-environment-nuxt": "^1.0.1",
|
||||||
"vue-tsc": "^2.2.10"
|
"vue-tsc": "^2.2.12"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"joi": "^17.13.0",
|
"joi": "^17.13.0",
|
||||||
@@ -108,9 +108,9 @@
|
|||||||
"@nuxt/ui": "workspace:*",
|
"@nuxt/ui": "workspace:*",
|
||||||
"@nuxt/content": "2.13.2",
|
"@nuxt/content": "2.13.2",
|
||||||
"@nuxtjs/mdc": "0.9.0",
|
"@nuxtjs/mdc": "0.9.0",
|
||||||
"@vueuse/core": "^13.4.0",
|
"@vueuse/core": "^13.5.0",
|
||||||
"@vueuse/integrations": "^13.4.0",
|
"@vueuse/integrations": "^13.5.0",
|
||||||
"@vueuse/math": "^13.4.0",
|
"@vueuse/math": "^13.5.0",
|
||||||
"@vueuse/nuxt": "13.1.0",
|
"@vueuse/nuxt": "13.1.0",
|
||||||
"chokidar": "3.6.0"
|
"chokidar": "3.6.0"
|
||||||
}
|
}
|
||||||
|
|||||||
812
pnpm-lock.yaml
generated
812
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -33,7 +33,8 @@
|
|||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { isEqual, diff } from 'ohash/utils'
|
import { isEqual, diff } from 'ohash/utils'
|
||||||
import { type PropType, defineComponent } from 'vue'
|
import { defineComponent } from 'vue'
|
||||||
|
import type { PropType } from 'vue'
|
||||||
import { nuxtLinkProps } from '../../utils'
|
import { nuxtLinkProps } from '../../utils'
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
|||||||
@@ -5,7 +5,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { provide, ref, type PropType, defineComponent, onUnmounted, onMounted, readonly } from 'vue'
|
import { provide, ref, defineComponent, onUnmounted, onMounted, readonly } from 'vue'
|
||||||
|
import type { PropType } from 'vue'
|
||||||
import { useEventBus } from '@vueuse/core'
|
import { useEventBus } from '@vueuse/core'
|
||||||
import type { ValidationError as JoiError, Schema as JoiSchema } from 'joi'
|
import type { ValidationError as JoiError, Schema as JoiSchema } from 'joi'
|
||||||
import type { ObjectSchema as YupObjectSchema, ValidationError as YupError } from 'yup'
|
import type { ObjectSchema as YupObjectSchema, ValidationError as YupError } from 'yup'
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import { ref, type Ref, onMounted, onUnmounted } from 'vue'
|
import { ref, onMounted, onUnmounted } from 'vue'
|
||||||
|
import type { Ref } from 'vue'
|
||||||
|
|
||||||
export const useCarouselScroll = (el: Ref<HTMLElement>) => {
|
export const useCarouselScroll = (el: Ref<HTMLElement>) => {
|
||||||
const x = ref<number>(0)
|
const x = ref<number>(0)
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import { inject, ref, computed } from 'vue'
|
import { inject, ref, computed } from 'vue'
|
||||||
import { type UseEventBusReturn, useDebounceFn } from '@vueuse/core'
|
import { useDebounceFn } from '@vueuse/core'
|
||||||
|
import type { UseEventBusReturn } from '@vueuse/core'
|
||||||
import type { FormEvent, FormEventType, InjectedFormGroupValue } from '../types/form'
|
import type { FormEvent, FormEventType, InjectedFormGroupValue } from '../types/form'
|
||||||
|
|
||||||
type InputProps = {
|
type InputProps = {
|
||||||
|
|||||||
24
src/runtime/types/component.d.ts
vendored
24
src/runtime/types/component.d.ts
vendored
@@ -1,14 +1,14 @@
|
|||||||
export type ComponentProps<T> =
|
export type ComponentProps<T>
|
||||||
T extends new () => { $props: infer P } ? NonNullable<P> :
|
= T extends new () => { $props: infer P } ? NonNullable<P>
|
||||||
T extends (props: infer P, ...args: any) => any ? P :
|
: T extends (props: infer P, ...args: any) => any ? P
|
||||||
{}
|
: {}
|
||||||
|
|
||||||
export type ComponentSlots<T> =
|
export type ComponentSlots<T>
|
||||||
T extends new () => { $slots: infer S } ? NonNullable<S> :
|
= T extends new () => { $slots: infer S } ? NonNullable<S>
|
||||||
T extends (props: any, ctx: { slots: infer S, attrs: any, emit: any }, ...args: any) => any ? NonNullable<S> :
|
: T extends (props: any, ctx: { slots: infer S, attrs: any, emit: any }, ...args: any) => any ? NonNullable<S>
|
||||||
{}
|
: {}
|
||||||
|
|
||||||
export type ComponentEmit<T> =
|
export type ComponentEmit<T>
|
||||||
T extends new () => { $emit: infer E } ? NonNullable<E> :
|
= T extends new () => { $emit: infer E } ? NonNullable<E>
|
||||||
T extends (props: any, ctx: { slots: any, attrs: any, emit: infer E }, ...args: any) => any ? NonNullable<E> :
|
: T extends (props: any, ctx: { slots: any, attrs: any, emit: infer E }, ...args: any) => any ? NonNullable<E>
|
||||||
{}
|
: {}
|
||||||
|
|||||||
4
src/runtime/types/utils.d.ts
vendored
4
src/runtime/types/utils.d.ts
vendored
@@ -18,8 +18,8 @@ export type NestedKeyOf<ObjectType extends Record<string, any>> = {
|
|||||||
: Key
|
: Key
|
||||||
}[keyof ObjectType]
|
}[keyof ObjectType]
|
||||||
|
|
||||||
type DeepKey<T, Keys extends string[]> =
|
type DeepKey<T, Keys extends string[]>
|
||||||
Keys extends [infer First, ...infer Rest]
|
= Keys extends [infer First, ...infer Rest]
|
||||||
? First extends keyof T
|
? First extends keyof T
|
||||||
? Rest extends string[]
|
? Rest extends string[]
|
||||||
? DeepKey<T[First], Rest>
|
? DeepKey<T[First], Rest>
|
||||||
|
|||||||
Reference in New Issue
Block a user