@discuss-ds/ui 0.23.0 → 0.24.0
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/CHANGELOG.md +6 -0
- package/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -937,7 +937,7 @@ interface TableCellTwoLinesProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
937
937
|
declare function TableCellTwoLines({ primary, secondary, avatar, className, ...props }: TableCellTwoLinesProps): React.JSX.Element;
|
|
938
938
|
|
|
939
939
|
declare const statCardVariants: (props?: ({
|
|
940
|
-
variant?: "default" | "subtle" | "warning" | null | undefined;
|
|
940
|
+
variant?: "default" | "subtle" | "destructive" | "success" | "warning" | null | undefined;
|
|
941
941
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
942
942
|
interface StatCardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>, VariantProps<typeof statCardVariants> {
|
|
943
943
|
label: React.ReactNode;
|
package/dist/index.d.ts
CHANGED
|
@@ -937,7 +937,7 @@ interface TableCellTwoLinesProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
937
937
|
declare function TableCellTwoLines({ primary, secondary, avatar, className, ...props }: TableCellTwoLinesProps): React.JSX.Element;
|
|
938
938
|
|
|
939
939
|
declare const statCardVariants: (props?: ({
|
|
940
|
-
variant?: "default" | "subtle" | "warning" | null | undefined;
|
|
940
|
+
variant?: "default" | "subtle" | "destructive" | "success" | "warning" | null | undefined;
|
|
941
941
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
942
942
|
interface StatCardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>, VariantProps<typeof statCardVariants> {
|
|
943
943
|
label: React.ReactNode;
|
package/dist/index.js
CHANGED
|
@@ -3423,7 +3423,9 @@ var statCardVariants = cva6("flex min-w-0 flex-col gap-2 rounded-md border p-3",
|
|
|
3423
3423
|
default: "border-border bg-transparent",
|
|
3424
3424
|
// A card tinted with the secondary background and no border, for stats on a white panel.
|
|
3425
3425
|
subtle: "border-transparent bg-secondary",
|
|
3426
|
-
warning: "border-warning-soft-border bg-warning-soft"
|
|
3426
|
+
warning: "border-warning-soft-border bg-warning-soft",
|
|
3427
|
+
success: "border-success-soft-border bg-success-soft",
|
|
3428
|
+
destructive: "border-destructive-soft-border bg-destructive-soft"
|
|
3427
3429
|
}
|
|
3428
3430
|
},
|
|
3429
3431
|
defaultVariants: { variant: "default" }
|