@abyss-project/commons-front-core 9.3.2 → 9.3.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/components/data/KeyValueList/KeyValueList.d.ts +10 -2
- package/dist/index.js +1886 -1859
- package/package.json +1 -1
|
@@ -8,6 +8,14 @@ export interface KeyValueItem {
|
|
|
8
8
|
}
|
|
9
9
|
export interface KeyValueListProps {
|
|
10
10
|
items: KeyValueItem[];
|
|
11
|
+
/**
|
|
12
|
+
* Below 768 px, sets each label above its value, both aligned left: for long values (an
|
|
13
|
+
* address, a URL) that would otherwise squeeze the label until its words break.
|
|
14
|
+
*/
|
|
15
|
+
stackOnMobile?: boolean;
|
|
11
16
|
}
|
|
12
|
-
/**
|
|
13
|
-
|
|
17
|
+
/**
|
|
18
|
+
* Label and value pairs of a detail panel (`.kv`): label muted on the left, value on the right,
|
|
19
|
+
* or the label above the value below 768 px with `stackOnMobile`.
|
|
20
|
+
*/
|
|
21
|
+
export declare function KeyValueList({ items, stackOnMobile, }: KeyValueListProps): import("react/jsx-runtime").JSX.Element;
|