= createContext<TooltipContextValue>('TooltipRoot') </script> <script setup lang="ts"> import { useTimeoutFn, useVModel } from '@vueuse/core' import { computed, inject, provide, ref, watch } from 'vue' import {
= createContext<TabsRootContext>('TabsRoot') import { ref, toRefs } from 'vue' import { useVModel } from '@vueuse/core' import { Primitive } from '@/Primitive' const props = withDefaults(defineProps<TabsRootProps>(), { const props = withDefaults(defineProps<TabsRootProps<T>>...
import { Icon } from '@iconify/vue' import { ref } from 'vue' import { NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuRoot, NavigationMenuTrigger, NavigationMenuViewport, } from 'radix-vue' import NavigationMenuListItem from...
So, when it comes down to Software Development Project, there will be some rigid requirements that you will have to figure out, especially on how to code. But luckily, you don’t have to create code from square one; another developer on the internet already has, and you can simply use ...
:data-disabled="context.disabled.value ? '' : undefined" :style="context.autoResize.value ? { display: 'inline-grid' } : undefined" > <slot /> </Primitive> </template> 29 changes: 29 additions & 0 deletions 29 packages/radix-vue/src/Editable/EditableCancelTrigger.vue Show comments ...
Vue port of Radix UI Primitives. An open-source UI component library for building high-quality, accessible design systems and web apps. - chore: fix eslint after updating · radix-vue/radix-vue@f8b49f4
import { createContext } from 'radix-vue' import type { DrawerDirection } from './types' export interface DrawerRootContext { open: Ref<boolean> @@ -15,10 +16,11 @@ export interface DrawerRootContext { snapPoints: Ref<(number | string)[] | undefined> keyboardIsOpen: Ref<boolean> activ...
import { createContext, useDirection, useFormControl } from '@/shared' import type { RovingFocusGroupProps } from '@/RovingFocus' import type { AcceptableValue } from '@/shared/types' import { useVModel } from '@vueuse/core' import { usePrimitiveElement } from '@/Primitive' import { ...
import { type Ref, computed, nextTick, ref, toRefs, watch } from 'vue' import type { DataOrientation, Direction } from '../shared/types' import type { PrimitiveProps } from '@/Primitive' import { createContext, useDirection, useForwardExpose } from '@/shared' @@ -13,7 +12,6 @@...
feat: createContext shared composables, updates Tooltip by @MellKam in #347 New Contributors @DamianGlowala made their first contribution in #342 @sdq-sts made their first contribution in #349 @edtorba made their first contribution in #272 Thanks for all the contributions guys!! Full Changelog...