@almadar/ui 5.3.1 → 5.5.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/dist/avl/index.cjs +341 -165
- package/dist/avl/index.js +341 -165
- package/dist/components/atoms/Card.d.ts +7 -0
- package/dist/components/index.cjs +341 -165
- package/dist/components/index.js +341 -165
- package/dist/components/molecules/ButtonGroup.d.ts +10 -0
- package/dist/components/molecules/DataGrid.d.ts +5 -0
- package/dist/components/molecules/DataList.d.ts +5 -0
- package/dist/components/molecules/EmptyState.d.ts +3 -0
- package/dist/components/molecules/FilterGroup.d.ts +7 -0
- package/dist/components/molecules/Modal.d.ts +7 -0
- package/dist/components/molecules/StatDisplay.d.ts +3 -0
- package/dist/components/organisms/Chart.d.ts +20 -1
- package/dist/components/organisms/DataTable.d.ts +4 -1
- package/dist/components/organisms/Header.d.ts +3 -0
- package/dist/components/organisms/Timeline.d.ts +7 -0
- package/dist/docs/index.cjs +11 -0
- package/dist/docs/index.d.cts +7 -0
- package/dist/docs/index.js +11 -0
- package/dist/marketing/index.cjs +11 -0
- package/dist/marketing/index.d.cts +7 -0
- package/dist/marketing/index.js +11 -0
- package/dist/providers/index.cjs +341 -165
- package/dist/providers/index.js +341 -165
- package/dist/runtime/index.cjs +341 -165
- package/dist/runtime/index.js +341 -165
- package/package.json +1 -1
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
export type CardShadow = "none" | "sm" | "md" | "lg";
|
|
3
|
+
/**
|
|
4
|
+
* Layer 2 visual treatment for the card pattern — orthogonal to the semantic
|
|
5
|
+
* `variant` (which conveys role / state).
|
|
6
|
+
*/
|
|
7
|
+
export type CardLook = "elevated" | "flat-bordered" | "borderless-divider" | "ticket" | "invoice" | "chip" | "tile-image-first";
|
|
3
8
|
export interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
9
|
variant?: "default" | "bordered" | "elevated" | "interactive";
|
|
5
10
|
padding?: "none" | "sm" | "md" | "lg";
|
|
@@ -9,6 +14,8 @@ export interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
9
14
|
subtitle?: string;
|
|
10
15
|
/** Shadow size override */
|
|
11
16
|
shadow?: CardShadow;
|
|
17
|
+
/** Layer 2 visual treatment — orthogonal to the semantic variant. */
|
|
18
|
+
look?: CardLook;
|
|
12
19
|
/** Card content */
|
|
13
20
|
children?: React.ReactNode;
|
|
14
21
|
}
|