babel-tailwind/src/__tests__/__snapshots__/styleObject.test.ts.snap
2024-07-31 19:18:53 -04:00

53 lines
1.1 KiB
Plaintext

// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`babel-tailwind > supports .hover, .focus, .active, .group-hover, .group-focus, .group-active 1`] = `
"// babel-tailwind:/Users/aet/Documents/Git/babel-tailwind/src/.temp-styleObject/index.tailwindStyle.js
var tw_12x0ow0 = {
"&:focus": {
fontWeight: "700"
}
};
var tw_m4tg46 = {
"&:active": {
fontWeight: "300"
}
};
var tw_rqrjo3 = {
"&:hover:active": {
padding: "0.5rem"
}
};
var tw_1qtvvjy = {
"&:hover": {
fontWeight: "600"
}
};
var style = [tw_1qtvvjy, tw_12x0ow0, tw_m4tg46, tw_rqrjo3];
export {
style
};"
`;
exports[`babel-tailwind > supports conversion into CSSProperties 1`] = `
"// babel-tailwind:/Users/aet/Documents/Git/babel-tailwind/src/.temp-styleObject/index.tailwindStyle.js
var tw_kt12th = {
padding: "0.5rem",
textAlign: "center",
"&:hover": {
fontWeight: "600"
},
"@media (min-width: 640px)": {
padding: "0.25rem"
}
};
import { jsx } from "react/jsx-runtime";
function Hello() {
return /* @__PURE__ */ jsx("div", { style: tw_kt12th, children: "Hello, world!" });
}
export {
Hello
};"
`;