@rufous/ui 0.3.55 → 0.3.56
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/main.cjs +1 -1
- package/dist/main.css +3 -0
- package/dist/main.d.cts +6 -0
- package/dist/main.d.ts +6 -0
- package/dist/main.js +1 -1
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -6198,7 +6198,7 @@ function DataGrid({
|
|
|
6198
6198
|
"td",
|
|
6199
6199
|
{
|
|
6200
6200
|
key: `${item.id}-${colField}`,
|
|
6201
|
-
className: `dg-td${col.pinned === "left" ? " pinned-left" : col.pinned === "right" ? " pinned-right" : ""}${col.editable ? " dg-td--editable" : ""} ${col.cellClassName || ""}`,
|
|
6201
|
+
className: `dg-td${col.pinned === "left" ? " pinned-left" : col.pinned === "right" ? " pinned-right" : ""}${col.editable ? " dg-td--editable" : ""}${col.disablePadding ? " dg-td--no-padding" : ""} ${col.cellClassName || ""}`,
|
|
6202
6202
|
style: { width, minWidth: width, maxWidth: width, left: leftOffset, right: rightOffset, flex: col.flex },
|
|
6203
6203
|
onDoubleClick: () => onCellDoubleClick?.({ row: item, field: colField, value: item[col.field || ""] }),
|
|
6204
6204
|
onClick: col.editable ? () => {
|
package/dist/main.css
CHANGED
package/dist/main.d.cts
CHANGED
|
@@ -1295,6 +1295,12 @@ interface Column<T> {
|
|
|
1295
1295
|
}) => void;
|
|
1296
1296
|
headerClassName?: string;
|
|
1297
1297
|
cellClassName?: string;
|
|
1298
|
+
/**
|
|
1299
|
+
* When true, the body cell renders with no padding so the renderer can use
|
|
1300
|
+
* the full column width (e.g. for clickable rows, full-bleed media, status
|
|
1301
|
+
* bars). Header padding is unaffected.
|
|
1302
|
+
*/
|
|
1303
|
+
disablePadding?: boolean;
|
|
1298
1304
|
hideable?: boolean;
|
|
1299
1305
|
disableColumnMenu?: boolean;
|
|
1300
1306
|
isExportable?: boolean;
|
package/dist/main.d.ts
CHANGED
|
@@ -1295,6 +1295,12 @@ interface Column<T> {
|
|
|
1295
1295
|
}) => void;
|
|
1296
1296
|
headerClassName?: string;
|
|
1297
1297
|
cellClassName?: string;
|
|
1298
|
+
/**
|
|
1299
|
+
* When true, the body cell renders with no padding so the renderer can use
|
|
1300
|
+
* the full column width (e.g. for clickable rows, full-bleed media, status
|
|
1301
|
+
* bars). Header padding is unaffected.
|
|
1302
|
+
*/
|
|
1303
|
+
disablePadding?: boolean;
|
|
1298
1304
|
hideable?: boolean;
|
|
1299
1305
|
disableColumnMenu?: boolean;
|
|
1300
1306
|
isExportable?: boolean;
|
package/dist/main.js
CHANGED
|
@@ -5930,7 +5930,7 @@ function DataGrid({
|
|
|
5930
5930
|
"td",
|
|
5931
5931
|
{
|
|
5932
5932
|
key: `${item.id}-${colField}`,
|
|
5933
|
-
className: `dg-td${col.pinned === "left" ? " pinned-left" : col.pinned === "right" ? " pinned-right" : ""}${col.editable ? " dg-td--editable" : ""} ${col.cellClassName || ""}`,
|
|
5933
|
+
className: `dg-td${col.pinned === "left" ? " pinned-left" : col.pinned === "right" ? " pinned-right" : ""}${col.editable ? " dg-td--editable" : ""}${col.disablePadding ? " dg-td--no-padding" : ""} ${col.cellClassName || ""}`,
|
|
5934
5934
|
style: { width, minWidth: width, maxWidth: width, left: leftOffset, right: rightOffset, flex: col.flex },
|
|
5935
5935
|
onDoubleClick: () => onCellDoubleClick?.({ row: item, field: colField, value: item[col.field || ""] }),
|
|
5936
5936
|
onClick: col.editable ? () => {
|