@danxbot/ui 15.32.5 → 15.32.6
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/index.js +1499 -1506
- package/dist/index.js.map +1 -1
- package/dist/types/components/Progress.d.ts +1 -1
- package/dist/types/components/Table.d.ts +4 -4
- package/package.json +1 -1
|
@@ -355,7 +355,7 @@ interface ProgressRingBase extends VariantProps<typeof ring> {
|
|
|
355
355
|
*/
|
|
356
356
|
showValue?: boolean;
|
|
357
357
|
/**
|
|
358
|
-
* DX-4062
|
|
358
|
+
* DX-4062 — opt-in done state: at 100% or more the centre shows a green check
|
|
359
359
|
* (the library's `check` icon) instead of "100%". Below 100% nothing changes.
|
|
360
360
|
* Off by default so no existing ring changes; it takes the place of the
|
|
361
361
|
* number, so it has no effect with `showValue={false}`.
|
|
@@ -94,14 +94,14 @@ export interface DataTableProps<TData> {
|
|
|
94
94
|
getRowClassName?: (row: TData, index: number) => string | undefined;
|
|
95
95
|
onRowClick?: (row: TData) => void;
|
|
96
96
|
/**
|
|
97
|
-
* DX-4062
|
|
97
|
+
* DX-4062 — opt-in column span. Called for every body cell with its row and
|
|
98
98
|
* column id; return how many columns the cell covers (including its own) and
|
|
99
99
|
* the table renders it with that `colSpan` and drops the cells it covers.
|
|
100
100
|
* Return `undefined` or `1` for an ordinary cell. A span past the last column
|
|
101
101
|
* is clamped to it.
|
|
102
102
|
*
|
|
103
|
-
* For a row that says one thing across several columns
|
|
104
|
-
* both Person and Agent
|
|
103
|
+
* For a row that says one thing across several columns — "None yet" under
|
|
104
|
+
* both Person and Agent — which a per-column cell cannot express. Header
|
|
105
105
|
* cells are not affected. Off by default: no existing table changes.
|
|
106
106
|
*/
|
|
107
107
|
getCellSpan?: (row: TData, columnId: string) => number | undefined;
|
|
@@ -111,7 +111,7 @@ export interface DataTableProps<TData> {
|
|
|
111
111
|
getRowId?: (row: TData, index: number) => string;
|
|
112
112
|
}
|
|
113
113
|
/**
|
|
114
|
-
* DX-4062
|
|
114
|
+
* DX-4062 — the cells a row actually renders once spans are applied: a cell
|
|
115
115
|
* with span N is kept (carrying N) and the N-1 cells after it are dropped.
|
|
116
116
|
* Exported for its test only; not part of the public surface.
|
|
117
117
|
*/
|