diff --git a/apps/www/registry/default/ui/breadcrumb.tsx b/apps/www/registry/default/ui/breadcrumb.tsx
index 71a5c325cdc..a612fc90e93 100644
--- a/apps/www/registry/default/ui/breadcrumb.tsx
+++ b/apps/www/registry/default/ui/breadcrumb.tsx
@@ -83,7 +83,7 @@ const BreadcrumbSeparator = ({
className={cn("[&>svg]:size-3.5", className)}
{...props}
>
- {children ?? }
+ {children ?? }
)
BreadcrumbSeparator.displayName = "BreadcrumbSeparator"
diff --git a/apps/www/registry/default/ui/calendar.tsx b/apps/www/registry/default/ui/calendar.tsx
index e04fe19511f..6bebe4cf147 100644
--- a/apps/www/registry/default/ui/calendar.tsx
+++ b/apps/www/registry/default/ui/calendar.tsx
@@ -20,17 +20,17 @@ function Calendar({
showOutsideDays={showOutsideDays}
className={cn("p-3", className)}
classNames={{
- months: "flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",
+ months: "flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0 rtl:space-x-reverse",
month: "space-y-4",
caption: "flex justify-center pt-1 relative items-center",
caption_label: "text-sm font-medium",
- nav: "space-x-1 flex items-center",
+ nav: "space-x-1 flex items-center rtl:space-x-reverse",
nav_button: cn(
buttonVariants({ variant: "outline" }),
"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"
),
- nav_button_previous: "absolute left-1",
- nav_button_next: "absolute right-1",
+ nav_button_previous: "absolute start-1",
+ nav_button_next: "absolute end-1",
table: "w-full border-collapse space-y-1",
head_row: "flex",
head_cell:
@@ -54,8 +54,8 @@ function Calendar({
...classNames,
}}
components={{
- IconLeft: ({ ...props }) => ,
- IconRight: ({ ...props }) => ,
+ IconLeft: ({ ...props }) => ,
+ IconRight: ({ ...props }) => ,
}}
{...props}
/>
diff --git a/apps/www/registry/default/ui/input-otp.tsx b/apps/www/registry/default/ui/input-otp.tsx
index f66fcfa0ddb..026665f3354 100644
--- a/apps/www/registry/default/ui/input-otp.tsx
+++ b/apps/www/registry/default/ui/input-otp.tsx
@@ -16,7 +16,7 @@ const InputOTP = React.forwardRef<
"flex items-center gap-2 has-[:disabled]:opacity-50",
containerClassName
)}
- className={cn("disabled:cursor-not-allowed", className)}
+ className={cn("disabled:cursor-not-allowed rtl:-mr-[40px]", className)}
{...props}
/>
))
@@ -41,7 +41,7 @@ const InputOTPSlot = React.forwardRef<
svg]:size-3.5", className)}
{...props}
>
- {children ??
}
+ {children ??
}
)
BreadcrumbSeparator.displayName = "BreadcrumbSeparator"
diff --git a/apps/www/registry/new-york/ui/calendar.tsx b/apps/www/registry/new-york/ui/calendar.tsx
index 85571a1ca01..0c19c6f21ff 100644
--- a/apps/www/registry/new-york/ui/calendar.tsx
+++ b/apps/www/registry/new-york/ui/calendar.tsx
@@ -20,17 +20,17 @@ function Calendar({
showOutsideDays={showOutsideDays}
className={cn("p-3", className)}
classNames={{
- months: "flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",
+ months: "flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0 rtl:space-x-reverse",
month: "space-y-4",
caption: "flex justify-center pt-1 relative items-center",
caption_label: "text-sm font-medium",
- nav: "space-x-1 flex items-center",
+ nav: "space-x-1 flex items-center rtl:space-x-reverse",
nav_button: cn(
buttonVariants({ variant: "outline" }),
"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"
),
- nav_button_previous: "absolute left-1",
- nav_button_next: "absolute right-1",
+ nav_button_previous: "absolute start-1",
+ nav_button_next: "absolute end-1",
table: "w-full border-collapse space-y-1",
head_row: "flex",
head_cell:
@@ -60,8 +60,8 @@ function Calendar({
...classNames,
}}
components={{
- IconLeft: ({ ...props }) =>
,
- IconRight: ({ ...props }) =>
,
+ IconLeft: ({ ...props }) =>
,
+ IconRight: ({ ...props }) =>
,
}}
{...props}
/>
diff --git a/apps/www/registry/new-york/ui/input-otp.tsx b/apps/www/registry/new-york/ui/input-otp.tsx
index 84d07209056..d29e02cd0c2 100644
--- a/apps/www/registry/new-york/ui/input-otp.tsx
+++ b/apps/www/registry/new-york/ui/input-otp.tsx
@@ -16,7 +16,7 @@ const InputOTP = React.forwardRef<
"flex items-center gap-2 has-[:disabled]:opacity-50",
containerClassName
)}
- className={cn("disabled:cursor-not-allowed", className)}
+ className={cn("disabled:cursor-not-allowed rtl:-mr-[40px]", className)}
{...props}
/>
))
@@ -41,7 +41,7 @@ const InputOTPSlot = React.forwardRef<