Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sparkle] - refacto: deprecate citation #9342

Merged
merged 9 commits into from
Dec 16, 2024
Merged
4 changes: 2 additions & 2 deletions sparkle/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sparkle/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dust-tt/sparkle",
"version": "0.2.340",
"version": "0.2.341",
"scripts": {
"build": "rm -rf dist && npm run tailwind && npm run build:esm && npm run build:cjs",
"tailwind": "tailwindcss -i ./src/styles/tailwind.css -o dist/sparkle.css",
Expand Down
8 changes: 4 additions & 4 deletions sparkle/src/components/CardButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ const CARD_BUTTON_SIZES = ["sm", "md", "lg"] as const;
type CardButtonSizeType = (typeof CARD_BUTTON_SIZES)[number];

const sizeVariants: Record<CardButtonSizeType, string> = {
sm: "s-p-3 s-rounded-xl",
md: "s-p-4 s-rounded-2xl",
lg: "s-p-5 s-rounded-3xl",
sm: "s-px-3 s-rounded-xl",
md: "s-px-4 s-rounded-2xl",
lg: "s-px-5 s-rounded-3xl",
};

const cardButtonVariants = cva(
"s-flex s-text-left s-group s-border s-overflow-hidden s-text-foreground",
"s-flex s-text-left s-justify-center s-group s-border s-overflow-hidden s-text-foreground",
{
variants: {
variant: variantClasses,
Expand Down
Loading
Loading