@k2b/ui 0.37.0 → 0.38.1
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/browser/layout/AppWorkspace.js +252 -238
- package/dist/browser/layout/AppWorkspace.js.map +1 -1
- package/dist/ssr/layout/AppWorkspace.js +58 -50
- package/dist/ssr/layout/AppWorkspace.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/layout/AppWorkspace.d.ts +6 -0
- package/package.json +1 -1
|
@@ -235,6 +235,12 @@ export type AppWorkspaceSidebarItemProps = {
|
|
|
235
235
|
contextMeta?: JSX.Element;
|
|
236
236
|
/** Passive second line; keep controls in actions or preview. */
|
|
237
237
|
description?: JSX.Element;
|
|
238
|
+
/**
|
|
239
|
+
* A third line with the one fact about the row that needs attention, such as "3 deliveries failed". `noteTone`
|
|
240
|
+
* colours it; the words carry the meaning, the colour only repeats it.
|
|
241
|
+
*/
|
|
242
|
+
note?: JSX.Element;
|
|
243
|
+
noteTone?: "neutral" | "warning" | "danger";
|
|
238
244
|
/** Interactive details, also reachable through a dedicated button. */
|
|
239
245
|
preview?: {
|
|
240
246
|
label: string;
|