erp-pos-ecommerce-shared 0.2.16 → 0.2.17
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.js +2 -2
- package/dist/components.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/components.js
CHANGED
|
@@ -1381,7 +1381,7 @@ var TableHeader = ({
|
|
|
1381
1381
|
const sortState = header.column.getIsSorted();
|
|
1382
1382
|
const Icon = canSort ? getSortIcon(sortState) : null;
|
|
1383
1383
|
const isHovered = hoveredHeaderId === header.id;
|
|
1384
|
-
return /* @__PURE__ */ jsx(Table.Th, { bg: bgColor, w: header.
|
|
1384
|
+
return /* @__PURE__ */ jsx(Table.Th, { bg: bgColor, w: header.column.columnDef.size, children: /* @__PURE__ */ jsxs(
|
|
1385
1385
|
UnstyledButton,
|
|
1386
1386
|
{
|
|
1387
1387
|
style: {
|
|
@@ -1458,7 +1458,7 @@ var TableBody = ({
|
|
|
1458
1458
|
row.getVisibleCells().map((cell) => /* @__PURE__ */ jsx(
|
|
1459
1459
|
Table.Td,
|
|
1460
1460
|
{
|
|
1461
|
-
w: cell.column.
|
|
1461
|
+
w: cell.column.columnDef.size,
|
|
1462
1462
|
onClick: () => onRowClick?.(row.original),
|
|
1463
1463
|
children: /* @__PURE__ */ jsx(
|
|
1464
1464
|
Text,
|