This commit is contained in:
shadcn
2026-01-30 22:14:48 +04:00
parent 728d8af275
commit afa2a7adf2
3 changed files with 5 additions and 4 deletions

View File

@@ -66,7 +66,7 @@ export function DatePickerRtl() {
: undefined
return (
<Popover dir={dir}>
<Popover>
<PopoverTrigger
render={
<Button

View File

@@ -66,7 +66,7 @@ export function DatePickerRtl() {
: undefined
return (
<Popover dir={dir}>
<Popover>
<PopoverTrigger asChild>
<Button
variant="outline"

View File

@@ -1,9 +1,10 @@
import { describe, expect, test } from "vitest"
import { transform } from "."
import { createConfig } from "../get-config"
import { transformCleanup } from "./transform-cleanup"
const testConfig = {
const testConfig = createConfig({
tailwind: {
baseColor: "neutral",
},
@@ -11,7 +12,7 @@ const testConfig = {
components: "@/components",
utils: "@/lib/utils",
},
}
})
describe("transformCleanup", () => {
test("removes cn-rtl-flip marker from className string", async () => {