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/index.js
CHANGED
|
@@ -6140,7 +6140,7 @@ var TableHeader = ({
|
|
|
6140
6140
|
const sortState = header.column.getIsSorted();
|
|
6141
6141
|
const Icon = canSort ? getSortIcon(sortState) : null;
|
|
6142
6142
|
const isHovered = hoveredHeaderId === header.id;
|
|
6143
|
-
return /* @__PURE__ */ jsx(Table.Th, { bg: bgColor, w: header.
|
|
6143
|
+
return /* @__PURE__ */ jsx(Table.Th, { bg: bgColor, w: header.column.columnDef.size, children: /* @__PURE__ */ jsxs(
|
|
6144
6144
|
UnstyledButton,
|
|
6145
6145
|
{
|
|
6146
6146
|
style: {
|
|
@@ -6217,7 +6217,7 @@ var TableBody = ({
|
|
|
6217
6217
|
row.getVisibleCells().map((cell) => /* @__PURE__ */ jsx(
|
|
6218
6218
|
Table.Td,
|
|
6219
6219
|
{
|
|
6220
|
-
w: cell.column.
|
|
6220
|
+
w: cell.column.columnDef.size,
|
|
6221
6221
|
onClick: () => onRowClick?.(row.original),
|
|
6222
6222
|
children: /* @__PURE__ */ jsx(
|
|
6223
6223
|
Text,
|