@nodeblocks/frontend-list-organization-block 0.2.0 → 0.2.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/index.esm.js
CHANGED
|
@@ -8273,7 +8273,7 @@ ListOrganizations.Action = (props) => {
|
|
|
8273
8273
|
input: {
|
|
8274
8274
|
endAdornment: (jsx(InputAdornment, { position: "end", children: jsx(SvgIcon, { children: jsx("path", { d: "M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" }) }) })),
|
|
8275
8275
|
},
|
|
8276
|
-
} }), jsx(Button, { size: "
|
|
8276
|
+
} }), jsx(Button, { size: "medium", variant: "outlined", onClick: onActionClick, sx: (theme) => ({ height: theme.spacing(5.5), px: 2 }), children: labels.actions.headerAction })] })) }));
|
|
8277
8277
|
};
|
|
8278
8278
|
ListOrganizations.Header = (props) => {
|
|
8279
8279
|
const { children, className } = deepMerge(useListOrganizationsContext(), props);
|
|
@@ -8347,9 +8347,10 @@ ListOrganizations.Table = (props) => {
|
|
|
8347
8347
|
})() }) }), jsx(TableCell, { sx: {
|
|
8348
8348
|
width: (theme) => theme.spacing(20),
|
|
8349
8349
|
textAlign: 'center',
|
|
8350
|
-
}, children: row.auditStatus === 'waiting_for_review' && (jsx(Box, { onClick: (e) => e.stopPropagation(), children: jsx(Button, { size: "
|
|
8350
|
+
}, children: row.auditStatus === 'waiting_for_review' && (jsx(Box, { onClick: (e) => e.stopPropagation(), children: jsx(Button, { size: "medium", variant: "outlined", onClick: () => onRowActionClick(row), sx: {
|
|
8351
8351
|
overflowWrap: 'break-word',
|
|
8352
8352
|
lineHeight: 1.2,
|
|
8353
|
+
px: 2,
|
|
8353
8354
|
}, children: labels.actions.rowAction }) })) })] }, row.id));
|
|
8354
8355
|
}) })] }) }), pagination && (jsx(Stack, { sx: { alignItems: 'center' }, children: jsx(Pagination, { count: pagination.totalPages, page: pagination.currentPage, onChange: (event, page) => pagination.onPageChange(page), className: pagination.className, variant: "outlined", shape: "rounded" }) }))] }));
|
|
8355
8356
|
};
|