= createContext<TooltipContextValue>('TooltipRoot') import { useTimeoutFn, useVModel } from '@vueuse/core' import { computed, inject, provide, ref, watch } from 'vue' import { computed, ref, watch } from 'vue' import { PopperRoot } from '@/Popper' import { useId } from '@...
= 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 { ...
7 changes: 7 additions & 0 deletions 7 packages/radix-vue/src/RadioGroup/RadioGroupItem.vue Original file line numberDiff line numberDiff line change @@ -2,8 +2,12 @@ import type { ComputedRef } from 'vue' import type { RadioProps } from './Radio.vue' import { createContext, ...
Vue port of Radix UI Primitives. An open-source UI component library for building high-quality, accessible design systems and web apps. - feat: Context menu 2/3 (#293) · radix-vue/radix-vue@682a5e1