Open k35o opened 5 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
pandabox-z5kx | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 31, 2024 3:14am |
We noticed that the type of values not included in CssProperties
, such as textStyle
, is broken, although from existing.
The type below will be any
.
{
textStyle?: ConditionalValue<UtilityValues["textStyle"] | CssProperties["textStyle"]>
}
I had to fix it in a separate issue or pr.
And, incidentally, that did not happen with the first way it was implemented.
if (strictTokenProps.includes(prop)) {
const longhand = ctx.utility.shorthands.get(prop);
return `${prop}?: ConditionalValue<${value} | CssProperties["${longhand || prop}"]>`;
};
return match;
Close https://github.com/astahmer/pandabox/issues/54