@hilum/ui 3.5.2 → 3.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/card.tsx +2 -0
package/dist/index.d.ts
CHANGED
|
@@ -398,7 +398,7 @@ interface CardHeadingProps {
|
|
|
398
398
|
declare function CardHeading({ title, description, actions, children, className }: CardHeadingProps): react_jsx_runtime.JSX.Element;
|
|
399
399
|
|
|
400
400
|
declare const cardVariants: (props?: ({
|
|
401
|
-
variant?: "default" | "ghost" | "muted" | null | undefined;
|
|
401
|
+
variant?: "default" | "ghost" | "muted" | "responsive" | null | undefined;
|
|
402
402
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
403
403
|
interface CardProps extends React.ComponentProps<"div">, VariantProps<typeof cardVariants> {
|
|
404
404
|
}
|
package/dist/index.js
CHANGED
|
@@ -3532,7 +3532,8 @@ var cardVariants = cva(["rounded-xl", motionClasses], {
|
|
|
3532
3532
|
variant: {
|
|
3533
3533
|
default: "bg-card shadow-natural",
|
|
3534
3534
|
muted: "bg-muted shadow-natural",
|
|
3535
|
-
ghost: "bg-transparent"
|
|
3535
|
+
ghost: "bg-transparent",
|
|
3536
|
+
responsive: "border border-border bg-card p-5 shadow-natural sm:rounded-xl max-sm:rounded-none max-sm:border-x-0 max-sm:border-y max-sm:bg-transparent max-sm:px-0 max-sm:py-5 max-sm:shadow-none"
|
|
3536
3537
|
}
|
|
3537
3538
|
},
|
|
3538
3539
|
defaultVariants: {
|