@devalok/shilp-sutra 0.4.1 → 0.4.2
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/ui/card.d.ts +2 -2
- package/dist/ui/card.js +1 -1
- package/package.json +1 -1
package/dist/ui/card.d.ts
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
declare const cardVariants: (props?: ({
|
|
5
|
-
variant?: "flat" | "
|
|
5
|
+
variant?: "flat" | "outline" | "default" | "elevated" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
/**
|
|
8
8
|
* Props for Card — a general-purpose content container with 4 elevation/style variants and
|
|
9
9
|
* an optional interactive hover state.
|
|
10
10
|
*
|
|
11
11
|
* **Variants:** `default` (subtle border + shadow-01) | `elevated` (stronger shadow-02) |
|
|
12
|
-
* `
|
|
12
|
+
* `outline` (2px solid border, no shadow) | `flat` (filled background, no shadow)
|
|
13
13
|
*
|
|
14
14
|
* **Composition:** Use sub-components `<CardHeader>`, `<CardTitle>`, `<CardDescription>`,
|
|
15
15
|
* `<CardContent>`, and `<CardFooter>` for consistent internal spacing.
|
package/dist/ui/card.js
CHANGED
|
@@ -10,7 +10,7 @@ const l = i(
|
|
|
10
10
|
variant: {
|
|
11
11
|
default: "bg-layer-01 border border-border-subtle shadow-01",
|
|
12
12
|
elevated: "bg-layer-01 border border-border-subtle shadow-02",
|
|
13
|
-
|
|
13
|
+
outline: "bg-transparent border-2 border-border shadow-none",
|
|
14
14
|
flat: "bg-layer-02 border-none shadow-none"
|
|
15
15
|
}
|
|
16
16
|
},
|