From 717564354364d65854b2d60c59362b4d1a62c4aa Mon Sep 17 00:00:00 2001 From: Shrinidhi Upadhyaya Date: Mon, 21 Oct 2024 20:06:00 +0200 Subject: [PATCH 1/3] fix(breadcrumbs): added separator rotation for RTL #2486 --- packages/core/theme/src/components/breadcrumbs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/theme/src/components/breadcrumbs.ts b/packages/core/theme/src/components/breadcrumbs.ts index b5b2e902b1..ca1ac08b6c 100644 --- a/packages/core/theme/src/components/breadcrumbs.ts +++ b/packages/core/theme/src/components/breadcrumbs.ts @@ -23,7 +23,7 @@ const breadcrumbItem = tv({ // focus ring ...dataFocusVisibleClasses, ], - separator: "text-default-400 px-1", + separator: "text-default-400 px-1 rtl:rotate-180", }, variants: { color: { From 0372a10de97c0dbea153a334ef8a55dfd92866ab Mon Sep 17 00:00:00 2001 From: Shrinidhi Upadhyaya Date: Tue, 22 Oct 2024 10:59:43 +0200 Subject: [PATCH 2/3] chore(changeset): added changeset --- .changeset/quick-geckos-punch.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/quick-geckos-punch.md diff --git a/.changeset/quick-geckos-punch.md b/.changeset/quick-geckos-punch.md new file mode 100644 index 0000000000..d858b07d93 --- /dev/null +++ b/.changeset/quick-geckos-punch.md @@ -0,0 +1,5 @@ +--- +"@nextui-org/theme": patch +--- + +separator icon RTL support in Breadcrumbs component (#2486) From ea726c71c9a8eca0c1e279c289fce842f2ce8f95 Mon Sep 17 00:00:00 2001 From: Shrinidhi Upadhyaya Date: Wed, 23 Oct 2024 22:24:39 +0200 Subject: [PATCH 3/3] fix(docs): removed unused Link import and merged classnames in dropdown --- apps/docs/content/components/dropdown/backdrop.ts | 2 +- apps/docs/content/components/dropdown/custom-items-styles.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/docs/content/components/dropdown/backdrop.ts b/apps/docs/content/components/dropdown/backdrop.ts index 797fee6953..e5acaa6714 100644 --- a/apps/docs/content/components/dropdown/backdrop.ts +++ b/apps/docs/content/components/dropdown/backdrop.ts @@ -1,4 +1,4 @@ -const App = `import {Dropdown, Link, DropdownTrigger, DropdownMenu, DropdownItem, Button} from "@nextui-org/react"; +const App = `import {Dropdown, DropdownTrigger, DropdownMenu, DropdownItem, Button} from "@nextui-org/react"; export default function App() { return ( diff --git a/apps/docs/content/components/dropdown/custom-items-styles.ts b/apps/docs/content/components/dropdown/custom-items-styles.ts index fde0ff2fa7..15127eb7cd 100644 --- a/apps/docs/content/components/dropdown/custom-items-styles.ts +++ b/apps/docs/content/components/dropdown/custom-items-styles.ts @@ -59,8 +59,7 @@ export default function App() {