@hilum/ui 3.6.11 → 3.6.12
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 -0
- package/dist/index.js.map +1 -1
- package/llms.txt +1 -1
- package/package.json +1 -1
- package/src/components/card.tsx +2 -0
package/dist/index.d.ts
CHANGED
|
@@ -456,7 +456,7 @@ interface CardHeadingProps {
|
|
|
456
456
|
declare function CardHeading({ title, description, actions, children, className }: CardHeadingProps): react_jsx_runtime.JSX.Element;
|
|
457
457
|
|
|
458
458
|
declare const cardVariants: (props?: ({
|
|
459
|
-
variant?: "default" | "ghost" | "muted" | "responsive" | null | undefined;
|
|
459
|
+
variant?: "default" | "ghost" | "muted" | "outlined" | "elevated" | "responsive" | null | undefined;
|
|
460
460
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
461
461
|
interface CardProps extends React.ComponentProps<"div">, VariantProps<typeof cardVariants> {
|
|
462
462
|
}
|
package/dist/index.js
CHANGED
|
@@ -3657,6 +3657,8 @@ var cardVariants = cva(["rounded-xl", motionClasses], {
|
|
|
3657
3657
|
variants: {
|
|
3658
3658
|
variant: {
|
|
3659
3659
|
default: "bg-card shadow-natural",
|
|
3660
|
+
outlined: "border border-border bg-card shadow-natural",
|
|
3661
|
+
elevated: "border border-border bg-card shadow-elevated",
|
|
3660
3662
|
muted: "bg-muted shadow-natural",
|
|
3661
3663
|
ghost: "bg-transparent",
|
|
3662
3664
|
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"
|