Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 33 additions & 33 deletions apps/www/__registry__/index.tsx

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"dependencies": {
"@ai-sdk/openai": "^1.3.23",
"@ai-sdk/react": "^1.2.12",
"@base-ui-components/react": "1.0.0-beta.4",
"@base-ui/react": "1.2.0",
"@floating-ui/dom": "^1.7.3",
"@floating-ui/react": "^0.27.15",
"@headlessui/react": "^2.2.6",
Expand Down
2 changes: 1 addition & 1 deletion apps/www/registry/components/base/tooltip/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function TooltipProvider({ delay = 0, ...props }: TooltipProviderProps) {
}

type TooltipProps = TooltipPrimitiveProps & {
delay?: TooltipPrimitiveProps['delay'];
delay?: TooltipProviderProps['delay'];
};

function Tooltip({ delay = 0, ...props }: TooltipProps) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import * as React from 'react';
import { LucideIcon } from 'lucide-react';
import { motion, AnimatePresence, type Transition } from 'motion/react';
import { ContextMenu } from '@base-ui-components/react/context-menu';
import { ContextMenu } from '@base-ui/react/context-menu';
import { cn } from '@workspace/ui/lib/utils';

type RadialMenuProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dependencies": [
"motion",
"lucide-react",
"@base-ui-components/react"
"@base-ui/react"
],
"registryDependencies": [],
"files": [
Expand Down
2 changes: 1 addition & 1 deletion apps/www/registry/primitives/base/accordion/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client';

import * as React from 'react';
import { Accordion as AccordionPrimitive } from '@base-ui-components/react/accordion';
import { Accordion as AccordionPrimitive } from '@base-ui/react/accordion';
import { AnimatePresence, motion, type HTMLMotionProps } from 'motion/react';

import { getStrictContext } from '@/registry/lib/get-strict-context';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "registry:ui",
"title": "Base Accordion",
"description": "An easily stylable accordion component.",
"dependencies": ["motion", "@base-ui-components/react"],
"dependencies": ["motion", "@base-ui/react"],
"registryDependencies": [
"@animate-ui/lib-get-strict-context",
"@animate-ui/hooks-use-controlled-state"
Expand Down
2 changes: 1 addition & 1 deletion apps/www/registry/primitives/base/alert-dialog/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client';

import * as React from 'react';
import { AlertDialog as AlertDialogPrimitive } from '@base-ui-components/react/alert-dialog';
import { AlertDialog as AlertDialogPrimitive } from '@base-ui/react/alert-dialog';
import { AnimatePresence, motion, type HTMLMotionProps } from 'motion/react';

import { useControlledState } from '@/registry/hooks/use-controlled-state';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "registry:ui",
"title": "Base Alert Dialog",
"description": "A dialog that requires user response to proceed.",
"dependencies": ["motion", "@base-ui-components/react"],
"dependencies": ["motion", "@base-ui/react"],
"registryDependencies": [
"@animate-ui/hooks-use-controlled-state",
"@animate-ui/lib-get-strict-context"
Expand Down
2 changes: 1 addition & 1 deletion apps/www/registry/primitives/base/checkbox/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client';

import * as React from 'react';
import { Checkbox as CheckboxPrimitive } from '@base-ui-components/react/checkbox';
import { Checkbox as CheckboxPrimitive } from '@base-ui/react/checkbox';
import {
motion,
type HTMLMotionProps,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "registry:ui",
"title": "Base Checkbox",
"description": "An easily stylable checkbox component.",
"dependencies": ["motion", "@base-ui-components/react"],
"dependencies": ["motion", "@base-ui/react"],
"registryDependencies": [
"@animate-ui/lib-get-strict-context",
"@animate-ui/hooks-use-controlled-state"
Expand Down
2 changes: 1 addition & 1 deletion apps/www/registry/primitives/base/collapsible/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client';

import * as React from 'react';
import { Collapsible as CollapsiblePrimitive } from '@base-ui-components/react/collapsible';
import { Collapsible as CollapsiblePrimitive } from '@base-ui/react/collapsible';
import { AnimatePresence, motion, type HTMLMotionProps } from 'motion/react';

import { getStrictContext } from '@/registry/lib/get-strict-context';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "registry:ui",
"title": "Base Collapsible",
"description": "A collapsible panel controlled by a button.",
"dependencies": ["motion", "@base-ui-components/react"],
"dependencies": ["motion", "@base-ui/react"],
"registryDependencies": [
"@animate-ui/lib-get-strict-context",
"@animate-ui/hooks-use-controlled-state"
Expand Down
2 changes: 1 addition & 1 deletion apps/www/registry/primitives/base/dialog/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client';

import * as React from 'react';
import { Dialog as DialogPrimitive } from '@base-ui-components/react/dialog';
import { Dialog as DialogPrimitive } from '@base-ui/react/dialog';
import { AnimatePresence, motion, type HTMLMotionProps } from 'motion/react';

import { useControlledState } from '@/registry/hooks/use-controlled-state';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "registry:ui",
"title": "Base Dialog",
"description": "A popup that opens on top of the entire page.",
"dependencies": ["motion", "@base-ui-components/react"],
"dependencies": ["motion", "@base-ui/react"],
"registryDependencies": [
"@animate-ui/hooks-use-controlled-state",
"@animate-ui/lib-get-strict-context"
Expand Down
2 changes: 1 addition & 1 deletion apps/www/registry/primitives/base/menu/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client';

import * as React from 'react';
import { Menu as MenuPrimitive } from '@base-ui-components/react/menu';
import { Menu as MenuPrimitive } from '@base-ui/react/menu';
import { AnimatePresence, motion, type HTMLMotionProps } from 'motion/react';

import {
Expand Down
2 changes: 1 addition & 1 deletion apps/www/registry/primitives/base/menu/registry-item.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "registry:ui",
"title": "Base Menu",
"description": "A list of actions in a dropdown, enhanced with keyboard navigation.",
"dependencies": ["motion", "@base-ui-components/react"],
"dependencies": ["motion", "@base-ui/react"],
"registryDependencies": [
"@animate-ui/primitives-effects-highlight",
"@animate-ui/lib-get-strict-context",
Expand Down
2 changes: 1 addition & 1 deletion apps/www/registry/primitives/base/popover/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client';

import * as React from 'react';
import { Popover as PopoverPrimitive } from '@base-ui-components/react/popover';
import { Popover as PopoverPrimitive } from '@base-ui/react/popover';
import { AnimatePresence, motion, type HTMLMotionProps } from 'motion/react';

import { getStrictContext } from '@/registry/lib/get-strict-context';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "registry:ui",
"title": "Base Popover",
"description": "An accessible popup anchored to a button.",
"dependencies": ["motion", "@base-ui-components/react"],
"dependencies": ["motion", "@base-ui/react"],
"registryDependencies": [
"@animate-ui/lib-get-strict-context",
"@animate-ui/hooks-use-controlled-state"
Expand Down
2 changes: 1 addition & 1 deletion apps/www/registry/primitives/base/preview-card/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client';

import * as React from 'react';
import { PreviewCard as PreviewCardPrimitive } from '@base-ui-components/react/preview-card';
import { PreviewCard as PreviewCardPrimitive } from '@base-ui/react/preview-card';
import {
AnimatePresence,
motion,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "registry:ui",
"title": "Base Preview Card",
"description": "A popup that appears when a link is hovered, showing a preview for sighted users.",
"dependencies": ["motion", "@base-ui-components/react"],
"dependencies": ["motion", "@base-ui/react"],
"registryDependencies": [
"@animate-ui/lib-get-strict-context",
"@animate-ui/hooks-use-controlled-state"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "registry:ui",
"title": "Base Preview Link Card",
"description": "Displays a preview image of a link when hovered.",
"dependencies": ["motion", "@base-ui-components/react"],
"dependencies": ["motion", "@base-ui/react"],
"registryDependencies": [
"@animate-ui/primitives-base-preview-card",
"@animate-ui/lib-get-strict-context"
Expand Down
2 changes: 1 addition & 1 deletion apps/www/registry/primitives/base/progress/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client';

import * as React from 'react';
import { Progress as ProgressPrimitives } from '@base-ui-components/react/progress';
import { Progress as ProgressPrimitives } from '@base-ui/react/progress';
import { motion } from 'motion/react';

import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "registry:ui",
"title": "Base Progress",
"description": "Displays the status of a task that takes a long time.",
"dependencies": ["motion", "@base-ui-components/react"],
"dependencies": ["motion", "@base-ui/react"],
"registryDependencies": [
"@animate-ui/lib-get-strict-context",
"@animate-ui/primitives-texts-counting-number"
Expand Down
4 changes: 2 additions & 2 deletions apps/www/registry/primitives/base/radio/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use client';

import * as React from 'react';
import { RadioGroup as RadioGroupPrimitive } from '@base-ui-components/react/radio-group';
import { Radio as RadioPrimitive } from '@base-ui-components/react/radio';
import { RadioGroup as RadioGroupPrimitive } from '@base-ui/react/radio-group';
import { Radio as RadioPrimitive } from '@base-ui/react/radio';
import { AnimatePresence, motion, type HTMLMotionProps } from 'motion/react';

import { getStrictContext } from '@/registry/lib/get-strict-context';
Expand Down
2 changes: 1 addition & 1 deletion apps/www/registry/primitives/base/radio/registry-item.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "registry:ui",
"title": "Base Radio",
"description": "An easily stylable radio button component.",
"dependencies": ["motion", "@base-ui-components/react"],
"dependencies": ["motion", "@base-ui/react"],
"registryDependencies": [
"@animate-ui/lib-get-strict-context",
"@animate-ui/hooks-use-controlled-state"
Expand Down
2 changes: 1 addition & 1 deletion apps/www/registry/primitives/base/switch/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client';

import * as React from 'react';
import { Switch as SwitchPrimitives } from '@base-ui-components/react/switch';
import { Switch as SwitchPrimitives } from '@base-ui/react/switch';
import {
motion,
type TargetAndTransition,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "registry:ui",
"title": "Base Switch",
"description": "A control that indicates whether a setting is on or off.",
"dependencies": ["motion", "@base-ui-components/react"],
"dependencies": ["motion", "@base-ui/react"],
"registryDependencies": [
"@animate-ui/lib-get-strict-context",
"@animate-ui/hooks-use-controlled-state"
Expand Down
2 changes: 1 addition & 1 deletion apps/www/registry/primitives/base/tabs/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client';

import * as React from 'react';
import { Tabs as TabsPrimitive } from '@base-ui-components/react/tabs';
import { Tabs as TabsPrimitive } from '@base-ui/react/tabs';
import {
motion,
AnimatePresence,
Expand Down
2 changes: 1 addition & 1 deletion apps/www/registry/primitives/base/tabs/registry-item.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "registry:ui",
"title": "Base Tabs",
"description": "A component for toggling between related panels on the same page.",
"dependencies": ["motion", "@base-ui-components/react"],
"dependencies": ["motion", "@base-ui/react"],
"registryDependencies": [
"@animate-ui/primitives-effects-auto-height",
"@animate-ui/primitives-effects-highlight",
Expand Down
4 changes: 2 additions & 2 deletions apps/www/registry/primitives/base/toggle-group/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use client';

import * as React from 'react';
import { Toggle as TogglePrimitive } from '@base-ui-components/react/toggle';
import { ToggleGroup as ToggleGroupPrimitive } from '@base-ui-components/react/toggle-group';
import { Toggle as TogglePrimitive } from '@base-ui/react/toggle';
import { ToggleGroup as ToggleGroupPrimitive } from '@base-ui/react/toggle-group';
import { AnimatePresence, motion, type HTMLMotionProps } from 'motion/react';

import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "registry:ui",
"title": "Base Toggle Group",
"description": "Provides a shared state to a series of toggle buttons.",
"dependencies": ["motion", "@base-ui-components/react"],
"dependencies": ["motion", "@base-ui/react"],
"registryDependencies": [
"@animate-ui/lib-get-strict-context",
"@animate-ui/hooks-use-controlled-state",
Expand Down
2 changes: 1 addition & 1 deletion apps/www/registry/primitives/base/toggle/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client';

import * as React from 'react';
import { Toggle as TogglePrimitive } from '@base-ui-components/react/toggle';
import { Toggle as TogglePrimitive } from '@base-ui/react/toggle';
import { motion, AnimatePresence, type HTMLMotionProps } from 'motion/react';

import { getStrictContext } from '@/registry/lib/get-strict-context';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "registry:ui",
"title": "Base Toggle",
"description": "A two-state button that can be on or off.",
"dependencies": ["motion", "@base-ui-components/react"],
"dependencies": ["motion", "@base-ui/react"],
"registryDependencies": [
"@animate-ui/lib-get-strict-context",
"@animate-ui/hooks-use-controlled-state"
Expand Down
2 changes: 1 addition & 1 deletion apps/www/registry/primitives/base/tooltip/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client';

import * as React from 'react';
import { Tooltip as TooltipPrimitive } from '@base-ui-components/react/tooltip';
import { Tooltip as TooltipPrimitive } from '@base-ui/react/tooltip';
import {
AnimatePresence,
motion,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "registry:ui",
"title": "Base Tooltip",
"description": "A popup that appears when an element is hovered or focused, showing a hint for sighted users.",
"dependencies": ["motion", "@base-ui-components/react"],
"dependencies": ["motion", "@base-ui/react"],
"registryDependencies": [
"@animate-ui/lib-get-strict-context",
"@animate-ui/hooks-use-controlled-state"
Expand Down
Loading